{"part_id": "threaded_462c9bb4_0000", "family": "threaded", "tier": 2, "seed": 1177328564, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "0409fbb76a21fd28", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 6340.0, "surface_area": 3320.0, "principal_moments": [168000.0, 895000.0, 895000.0], "n_faces": 130, "n_edges": 328, "n_vertices": 200}, "dimensions": {"lines": ["ACME 5/8 external thread, 39.7 mm long."], "text": "ACME 5/8 external thread, 39.7 mm long."}, "params": {"thread_size": {"type": "enum", "default": "5/8", "choices": ["1/4", "5/16", "3/8", "1/2", "5/8", "3/4", "7/8", "1", "1 1/4", "1 1/2"], "group": "Thread", "label": "Size designation"}, "thread_len": {"type": "float", "default": 39.7, "min": 15.9, "max": 79.4, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328564 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"thread_size\": {\"type\": 'enum', \"default\": '5/8', \"choices\": ['1/4', '5/16', '3/8', '1/2', '5/8', '3/4', '7/8', '1', '1 1/4', '1 1/2'], \"group\": 'Thread', \"label\": 'Size designation'},\n    \"thread_len\": {\"type\": 'float', \"default\": 39.7, \"min\": 15.9, \"max\": 79.4, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.AcmeThread(size=p[\"thread_size\"], length=p[\"thread_len\"], external=True, end_finishes=(\"fade\", \"fade\"))\n    _r = _thr.min_radius if hasattr(_thr, 'min_radius') else _thr.root_radius\n    _shank = _bd.Cylinder(radius=_r, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = _shank + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9bb5_0001", "family": "plate", "tier": 3, "seed": 1177328565, "symmetry": "mirror_xy", "op_count": 3, "ir_hash": "f1893bc06ec78f89", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 23700.0, "surface_area": 7710.0, "principal_moments": [2660000.0, 7930000.0, 9990000.0], "n_faces": 17, "n_edges": 38, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 65 \u00d7 36 \u00d7 10 mm (W\u00d7D\u00d7H).", "Four \u00d85.3 mm countersunk holes (82\u00b0) at the corners, 45.5 \u00d7 25.2 mm spacing.", "Boss \u00d818.3 mm \u00d7 6.7 mm tall on top face with a \u00d84.3 mm bore."], "text": "Rectangular body, 65 \u00d7 36 \u00d7 10 mm (W\u00d7D\u00d7H). Four \u00d85.3 mm countersunk holes (82\u00b0) at the corners, 45.5 \u00d7 25.2 mm spacing. Boss \u00d818.3 mm \u00d7 6.7 mm tall on top face with a \u00d84.3 mm bore."}, "params": {"plate_w": {"type": "float", "default": 65, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 36.0, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 8.1, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "cs_angle": {"type": "float", "default": 82.0, "min": 60.0, "max": 120.0, "step": 15.0, "group": "Holes", "label": "Countersink angle (\u00b0)"}, "boss_d": {"type": "float", "default": 18.3, "min": 9.2, "max": 36.6, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 6.7, "min": 2.7, "max": 16.8, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}, "boss_bore_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 12.8, "step": 0.1, "group": "Boss", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328565 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 65, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 36.0, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 8.1, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"cs_angle\": {\"type\": 'float', \"default\": 82.0, \"min\": 60.0, \"max\": 120.0, \"step\": 15.0, \"group\": 'Holes', \"label\": 'Countersink angle (\u00b0)'},\n    \"boss_d\": {\"type\": 'float', \"default\": 18.3, \"min\": 9.2, \"max\": 36.6, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 6.7, \"min\": 2.7, \"max\": 16.8, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n    \"boss_bore_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 12.8, \"step\": 0.1, \"group\": 'Boss', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().cskHole(p[\"hole_d\"], p[\"hole_d\"] * 2, p[\"cs_angle\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .hole(p[\"boss_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462c9bb6_0002", "family": "gear", "tier": 0, "seed": 1177328566, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "0572ae32e3ea1988", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 19800.0, "surface_area": 8020.0, "principal_moments": [4320000.0, 4320000.0, 8460000.0], "n_faces": 236, "n_edges": 702, "n_vertices": 468}, "dimensions": {"lines": ["Spur gear, module 1.5 mm, 39 teeth (pitch \u00d858.5 mm), face width 7.4 mm."], "text": "Spur gear, module 1.5 mm, 39 teeth (pitch \u00d858.5 mm), face width 7.4 mm."}, "params": {"module": {"type": "float", "default": 1.5, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 39, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 7.4, "min": 3.0, "max": 18.5, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328566 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 1.5, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 39, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 7.4, \"min\": 3.0, \"max\": 18.5, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462c9bb7_0003", "family": "block", "tier": 1, "seed": 1177328567, "symmetry": "radial", "op_count": 2, "ir_hash": "c0f7db97d2aac8d6", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 38600.0, "surface_area": 12000.0, "principal_moments": [6340000.0, 14099999.999999998, 18000000.0], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Rectangular body, 40 \u00d7 18.3 \u00d7 63.3 mm (W\u00d7D\u00d7H).", "Four \u00d88.4 mm holes on a \u00d824 mm bolt circle."], "text": "Rectangular body, 40 \u00d7 18.3 \u00d7 63.3 mm (W\u00d7D\u00d7H). Four \u00d88.4 mm holes on a \u00d824 mm bolt circle."}, "params": {"block_w": {"type": "float", "default": 40, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 18.3, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 63.3, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "bolt_d": {"type": "float", "default": 8.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 12.0, "min": 8.0, "max": 18.0, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 4, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328567 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 40, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 18.3, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 63.3, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 12.0, \"min\": 8.0, \"max\": 18.0, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 4, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462c9bb8_0004", "family": "revolved", "tier": 1, "seed": 1177328568, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "d42edc40e42e2a14", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 19000.0, "surface_area": 6030.0, "principal_moments": [1040000.0, 7620000.0, 7620000.0], "n_faces": 8, "n_edges": 14, "n_vertices": 8}, "dimensions": {"lines": ["Revolved body, \u00d820 mm \u00d7 67.3 mm tall with \u00d86.3 mm bore.", "Chamfer 1 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d820 mm \u00d7 67.3 mm tall with \u00d86.3 mm bore. Chamfer 1 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 20, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 67.3, "min": 20.2, "max": 201.9, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 6.3, "min": 2.0, "max": 14.0, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "end_chamfer": {"type": "float", "default": 1.0, "min": 0.1, "max": 3.0, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328568 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 20, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 67.3, \"min\": 20.2, \"max\": 201.9, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 6.3, \"min\": 2.0, \"max\": 14.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 1.0, \"min\": 0.1, \"max\": 3.0, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462c9bb9_0005", "family": "gear", "tier": 0, "seed": 1177328569, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "4a057eef5868ab88", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 2460.0, "surface_area": 1630.0, "principal_moments": [81600.0, 81600.0, 143000.0], "n_faces": 104, "n_edges": 306, "n_vertices": 204}, "dimensions": {"lines": ["Spur gear, module 1.25 mm, 17 teeth (pitch \u00d821.25 mm), face width 7.1 mm."], "text": "Spur gear, module 1.25 mm, 17 teeth (pitch \u00d821.25 mm), face width 7.1 mm."}, "params": {"module": {"type": "float", "default": 1.25, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 17, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 7.1, "min": 2.8, "max": 17.8, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328569 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 1.25, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 17, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 7.1, \"min\": 2.8, \"max\": 17.8, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462c9bba_0006", "family": "gear", "tier": 0, "seed": 1177328570, "symmetry": "none", "op_count": 1, "ir_hash": "fde185f08e3e6df6", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 11900.0, "surface_area": 5410.0, "principal_moments": [1670000.0, 1670000.0, 3240000.0], "n_faces": 188, "n_edges": 558, "n_vertices": 372}, "dimensions": {"lines": ["Spur gear, module 1.5 mm, 31 teeth (pitch \u00d846.5 mm), face width 7.1 mm."], "text": "Spur gear, module 1.5 mm, 31 teeth (pitch \u00d846.5 mm), face width 7.1 mm."}, "params": {"module": {"type": "float", "default": 1.5, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 31, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 7.1, "min": 2.8, "max": 17.8, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328570 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 1.5, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 31, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 7.1, \"min\": 2.8, \"max\": 17.8, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462c9bbb_0007", "family": "swept", "tier": 1, "seed": 1177328571, "symmetry": "none", "op_count": 1, "ir_hash": "4b60256a0e86b5a1", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 1780.0, "surface_area": 1160.0, "principal_moments": [17800.0, 379000.0, 387000.0], "n_faces": 3, "n_edges": 3, "n_vertices": 2}, "dimensions": {"lines": ["\u00d86.6 mm circular section swept along a curved path, ~45 mm span."], "text": "\u00d86.6 mm circular section swept along a curved path, ~45 mm span."}, "params": {"path_w": {"type": "float", "default": 30.0, "min": 15.0, "max": 54.0, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 45, "min": 22.5, "max": 81.0, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_d": {"type": "float", "default": 6.6, "min": 3.3, "max": 11.9, "step": 1.0, "group": "Section", "label": "Section diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328571 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 30.0, \"min\": 15.0, \"max\": 54.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 45, \"min\": 22.5, \"max\": 81.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_d\": {\"type\": 'float', \"default\": 6.6, \"min\": 3.3, \"max\": 11.9, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.276), (p[\"path_w\"] * 0.0368, p[\"path_h\"] * 0.4462), (p[\"path_w\"] * 0.0868, p[\"path_h\"] * 0.8536), (p[\"path_w\"] * 0.4706, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').circle(p[\"sweep_d\"] / 2).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462c9bbc_0008", "family": "tapped", "tier": 1, "seed": 1177328572, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "8a7509905e5e5030", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 2820.0, "surface_area": 1550.0, "principal_moments": [85400.0, 117000.0, 117000.0], "n_faces": 183, "n_edges": 497, "n_vertices": 316}, "dimensions": {"lines": ["One M5x0.8 tapped hole in a cylinder."], "text": "One M5x0.8 tapped hole in a cylinder."}, "params": {"major_d": {"type": "float", "default": 5.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 0.8, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 17.8, "min": 6.0, "max": 32.0, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "body_d": {"type": "float", "default": 14.9, "min": 9.0, "max": 23.8, "step": 1.0, "group": "Body", "label": "Outer \u00d8 (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328572 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 0.8, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 17.8, \"min\": 6.0, \"max\": 32.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"body_d\": {\"type\": 'float', \"default\": 14.9, \"min\": 9.0, \"max\": 23.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer \u00d8 (mm)'},\n}\n\n\ndef build(p):\n\n    _W = _D = p[\"body_d\"]\n    _H = p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Cylinder(radius=_W / 2, height=_H)\n    _locs = [(0.0, 0.0)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462c9bbd_0009", "family": "swept", "tier": 0, "seed": 1177328573, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "0e4d63ea118fbc54", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 2070.0, "surface_area": 1900.0, "principal_moments": [126000.0, 1210000.0, 1330000.0], "n_faces": 3, "n_edges": 3, "n_vertices": 2}, "dimensions": {"lines": ["\u00d86.4 mm circular section swept along a curved path, ~75 mm span."], "text": "\u00d86.4 mm circular section swept along a curved path, ~75 mm span."}, "params": {"path_w": {"type": "float", "default": 50, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 75, "min": 37.5, "max": 135.0, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_d": {"type": "float", "default": 6.4, "min": 3.2, "max": 11.5, "step": 1.0, "group": "Section", "label": "Section diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328573 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 50, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 75, \"min\": 37.5, \"max\": 135.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.2, \"max\": 11.5, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.3438, p[\"path_h\"] * 0.5056), (p[\"path_w\"] * 0.4927, p[\"path_h\"] * 0.6071), (p[\"path_w\"] * 0.4758, p[\"path_h\"] * 0.6484), (p[\"path_w\"] * 0.4766, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').circle(p[\"sweep_d\"] / 2).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462c9bbe_0010", "family": "swept", "tier": 1, "seed": 1177328574, "symmetry": "none", "op_count": 1, "ir_hash": "bbca6bcadf63be4d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 9350.0, "surface_area": 2730.0, "principal_moments": [308000.0, 1760000.0, 1760000.0], "n_faces": 3, "n_edges": 3, "n_vertices": 2}, "dimensions": {"lines": ["\u00d816.3 mm circular section swept along a curved path, ~45 mm span."], "text": "\u00d816.3 mm circular section swept along a curved path, ~45 mm span."}, "params": {"path_w": {"type": "float", "default": 40, "min": 20.0, "max": 72.0, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 45, "min": 22.5, "max": 81.0, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_d": {"type": "float", "default": 16.3, "min": 8.2, "max": 29.3, "step": 1.0, "group": "Section", "label": "Section diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328574 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 40, \"min\": 20.0, \"max\": 72.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 45, \"min\": 22.5, \"max\": 81.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_d\": {\"type\": 'float', \"default\": 16.3, \"min\": 8.2, \"max\": 29.3, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.5366), (p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.6907), (p[\"path_w\"] * 0.0854, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').circle(p[\"sweep_d\"] / 2).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462c9bbf_0011", "family": "swept", "tier": 0, "seed": 1177328575, "symmetry": "none", "op_count": 1, "ir_hash": "ab89a406f9af38be", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 13800.0, "surface_area": 3640.0, "principal_moments": [637000.0, 3760000.0, 3860000.0], "n_faces": 3, "n_edges": 3, "n_vertices": 2}, "dimensions": {"lines": ["\u00d817.7 mm circular section swept along a curved path, ~45 mm span."], "text": "\u00d817.7 mm circular section swept along a curved path, ~45 mm span."}, "params": {"path_w": {"type": "float", "default": 40, "min": 20.0, "max": 72.0, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 45, "min": 22.5, "max": 81.0, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_d": {"type": "float", "default": 17.7, "min": 8.8, "max": 31.9, "step": 1.0, "group": "Section", "label": "Section diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328575 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 40, \"min\": 20.0, \"max\": 72.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 45, \"min\": 22.5, \"max\": 81.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_d\": {\"type\": 'float', \"default\": 17.7, \"min\": 8.8, \"max\": 31.9, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.2781, p[\"path_h\"] * 0.288), (p[\"path_w\"] * 0.3251, p[\"path_h\"] * 0.3094), (p[\"path_w\"] * 0.6659, p[\"path_h\"] * 0.8102), (p[\"path_w\"] * 0.5675, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').circle(p[\"sweep_d\"] / 2).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462c9bc0_0012", "family": "enclosure", "tier": 1, "seed": 1177328576, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "d875de334b8dd257", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 92700.0, "surface_area": 46200.0, "principal_moments": [85700000.0, 100000000.0, 150000000.0], "n_faces": 11, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 88.72 \u00d7 35.7 \u00d7 87.7 mm (W\u00d7D\u00d7H).", "Hollowed to 4.1 mm wall thickness, open at top face."], "text": "Rectangular body, 88.72 \u00d7 35.7 \u00d7 87.7 mm (W\u00d7D\u00d7H). Hollowed to 4.1 mm wall thickness, open at top face."}, "params": {"enc_w": {"type": "float", "default": 88.72, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 35.7, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 87.7, "min": 35.1, "max": 175.4, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 4.1, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328576 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 88.72, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 35.7, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 87.7, \"min\": 35.1, \"max\": 175.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 4.1, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462c9bc1_0013", "family": "gear", "tier": 1, "seed": 1177328577, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "c3c128316a035d28", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 71800.0, "surface_area": 17800.0, "principal_moments": [31299999.999999996, 31299999.999999996, 59899999.99999999], "n_faces": 195, "n_edges": 579, "n_vertices": 386}, "dimensions": {"lines": ["Spur gear, module 2.5 mm, 32 teeth (pitch \u00d880 mm), face width 15 mm, \u00d815.7 mm bore."], "text": "Spur gear, module 2.5 mm, 32 teeth (pitch \u00d880 mm), face width 15 mm, \u00d815.7 mm bore."}, "params": {"module": {"type": "float", "default": 2.5, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 32, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 15.0, "min": 6.0, "max": 37.5, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "bore_d": {"type": "float", "default": 15.7, "min": 2.0, "max": 44.2, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328577 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 2.5, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 32, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 15.0, \"min\": 6.0, \"max\": 37.5, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 15.7, \"min\": 2.0, \"max\": 44.2, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462c9bc2_0014", "family": "ribbed", "tier": 1, "seed": 1177328578, "symmetry": "none", "op_count": 2, "ir_hash": "035aae0fb734c3f4", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 9220.0, "surface_area": 5780.0, "principal_moments": [955000.0, 1620000.0, 1760000.0], "n_faces": 30, "n_edges": 72, "n_vertices": 44}, "dimensions": {"lines": ["Rectangular body, 36.94 \u00d7 23 \u00d7 5 mm (W\u00d7D\u00d7H).", "Three ribs, 3.3 mm thick, 17 mm tall."], "text": "Rectangular body, 36.94 \u00d7 23 \u00d7 5 mm (W\u00d7D\u00d7H). Three ribs, 3.3 mm thick, 17 mm tall."}, "params": {"base_w": {"type": "float", "default": 36.94, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 23.0, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 5.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 3, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 17.0, "min": 6.8, "max": 34.0, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 3.3, "min": 1.0, "max": 8.2, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328578 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 36.94, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 23.0, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 3, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 17.0, \"min\": 6.8, \"max\": 34.0, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 3.3, \"min\": 1.0, \"max\": 8.2, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462c9bc3_0015", "family": "bracket", "tier": 2, "seed": 1177328579, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "f25f82a42043fad5", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 32800.0, "surface_area": 10500.0, "principal_moments": [7720000.0, 25999999.999999996, 31299999.999999996], "n_faces": 15, "n_edges": 41, "n_vertices": 26}, "dimensions": {"lines": ["L-bracket: base leg 76.48 mm, vertical leg 79.4 mm, 22.5 mm wide, 8 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg; 11.1 mm corner gusset."], "text": "L-bracket: base leg 76.48 mm, vertical leg 79.4 mm, 22.5 mm wide, 8 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg; 11.1 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 76.48, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 79.4, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 22.5, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 8.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 9.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 11.1, "min": 4.0, "max": 11.2, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328579 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 76.48, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 79.4, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 22.5, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 9.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 11.1, \"min\": 4.0, \"max\": 11.2, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462c9bc4_0016", "family": "gear", "tier": 3, "seed": 1177328580, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "911a9ed06dbb356e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 57100.0, "surface_area": 16500.0, "principal_moments": [19700000.0, 19700000.0, 36600000.0], "n_faces": 149, "n_edges": 438, "n_vertices": 292}, "dimensions": {"lines": ["Cycloid gear, module 3 mm, 24 teeth (pitch \u00d872 mm), face width 14 mm, \u00d811.8 mm bore, \u00d821.2 mm \u00d7 11.9 mm hub."], "text": "Cycloid gear, module 3 mm, 24 teeth (pitch \u00d872 mm), face width 14 mm, \u00d811.8 mm bore, \u00d821.2 mm \u00d7 11.9 mm hub."}, "params": {"module": {"type": "float", "default": 3.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 24, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 14.0, "min": 5.6, "max": 35.0, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "bore_d": {"type": "float", "default": 11.8, "min": 2.0, "max": 38.7, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}, "hub_d": {"type": "float", "default": 21.2, "min": 16.5, "max": 36.0, "step": 1.0, "group": "Hub", "label": "Hub diameter (mm)"}, "hub_h": {"type": "float", "default": 11.9, "min": 3.6, "max": 23.8, "step": 0.5, "group": "Hub", "label": "Hub height (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328580 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 3.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 24, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 14.0, \"min\": 5.6, \"max\": 35.0, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 11.8, \"min\": 2.0, \"max\": 38.7, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n    \"hub_d\": {\"type\": 'float', \"default\": 21.2, \"min\": 16.5, \"max\": 36.0, \"step\": 1.0, \"group\": 'Hub', \"label\": 'Hub diameter (mm)'},\n    \"hub_h\": {\"type\": 'float', \"default\": 11.9, \"min\": 3.6, \"max\": 23.8, \"step\": 0.5, \"group\": 'Hub', \"label\": 'Hub height (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.CycloidGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"hub_d\"] / 2).extrude(p[\"hub_h\"])\n    )\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462c9bc5_0017", "family": "bracket", "tier": 2, "seed": 1177328581, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "937821dac5a2b2c8", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 22200.0, "surface_area": 12800.0, "principal_moments": [9000000.0, 10500000.0, 13599999.999999998], "n_faces": 19, "n_edges": 51, "n_vertices": 34}, "dimensions": {"lines": ["C-channel bracket: base leg 45 mm, vertical leg 51.3 mm, 40 mm wide, 4 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg; 3.2 mm corner gusset."], "text": "C-channel bracket: base leg 45 mm, vertical leg 51.3 mm, 40 mm wide, 4 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg; 3.2 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 45, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 51.3, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 40, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 4.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 3.2, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328581 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 45, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 51.3, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 40, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl / 2, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bl - _bt, _bt).lineTo(_bl - _bt - _g, _bt)\n                    .lineTo(_bl - _bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462c9bc6_0018", "family": "sketched", "tier": 1, "seed": 1177328582, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "e30f8241817c9bbd", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 66100.0, "surface_area": 19500.0, "principal_moments": [22000000.0, 22400000.0, 22400000.0], "n_faces": 7, "n_edges": 11, "n_vertices": 6}, "dimensions": {"lines": ["Revolved organic body from a freeform sketched section (7 segments: 5 straight, 2 curves), ~40.689 \u00d7 45 mm half-silhouette."], "text": "Revolved organic body from a freeform sketched section (7 segments: 5 straight, 2 curves), ~40.689 \u00d7 45 mm half-silhouette."}, "params": {"sk_r": {"type": "float", "default": 45.0, "min": 22.5, "max": 81.0, "step": 1.0, "group": "Sketch", "label": "Max radius (mm)"}, "sk_h": {"type": "float", "default": 45, "min": 22.5, "max": 81.0, "step": 1.0, "group": "Sketch", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328582 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_r\": {\"type\": 'float', \"default\": 45.0, \"min\": 22.5, \"max\": 81.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Max radius (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 45, \"min\": 22.5, \"max\": 81.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XZ').moveTo(p[\"sk_r\"] * 0.4649, p[\"sk_h\"] * 0.0).lineTo(p[\"sk_r\"] * 0.2831, p[\"sk_h\"] * 0.2576).lineTo(p[\"sk_r\"] * 0.6174, p[\"sk_h\"] * 0.6807).bezier([(p[\"sk_r\"] * 0.6174, p[\"sk_h\"] * 0.6807), (p[\"sk_r\"] * 0.7468, p[\"sk_h\"] * 0.7097), (p[\"sk_r\"] * 0.5229, p[\"sk_h\"] * 0.7387)]).bezier([(p[\"sk_r\"] * 0.5229, p[\"sk_h\"] * 0.7387), (p[\"sk_r\"] * 0.4416, p[\"sk_h\"] * 0.7566), (p[\"sk_r\"] * 0.1779, p[\"sk_h\"] * 0.7745)]).lineTo(p[\"sk_r\"] * 0.9042, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.0, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.0, p[\"sk_h\"] * 0.0).close().revolve())\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462c9bc7_0019", "family": "compound", "tier": 1, "seed": 1177328583, "symmetry": "none", "op_count": 2, "ir_hash": "e63a779924618643", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 104000.0, "surface_area": 16300.0, "principal_moments": [41500000.0, 41500000.0, 45699999.99999999], "n_faces": 15, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Lofted body through 2 sections: \u00d870 mm circular section \u2192 41 \u00d7 41 mm rectangular section.", "6-sided polygon section, 27.2 mm across corners attachment, 22.3 mm long, from top face with a \u00d810.2 mm bore."], "text": "Lofted body through 2 sections: \u00d870 mm circular section \u2192 41 \u00d7 41 mm rectangular section. 6-sided polygon section, 27.2 mm across corners attachment, 22.3 mm long, from top face with a \u00d810.2 mm bore."}, "params": {"adapter_base": {"type": "float", "default": 70, "min": 42.0, "max": 105.0, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "adapter_top": {"type": "float", "default": 41.0, "min": 20.5, "max": 70, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "adapter_h": {"type": "float", "default": 36.4, "min": 14.6, "max": 72.8, "step": 1.0, "group": "Body", "label": "Transition height (mm)"}, "neck_sides": {"type": "int", "default": 6, "min": 3, "max": 8, "step": 1, "group": "Neck", "label": "Neck sides"}, "neck_r": {"type": "float", "default": 13.6, "min": 6.8, "max": 20.5, "step": 1.0, "group": "Neck", "label": "Neck circumradius (mm)"}, "neck_l": {"type": "float", "default": 22.3, "min": 8.9, "max": 55.8, "step": 1.0, "group": "Neck", "label": "Neck length (mm)"}, "neck_bore": {"type": "float", "default": 10.2, "min": 2.0, "max": 17.0, "step": 0.5, "group": "Neck", "label": "Neck bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328583 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"adapter_base\": {\"type\": 'float', \"default\": 70, \"min\": 42.0, \"max\": 105.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"adapter_top\": {\"type\": 'float', \"default\": 41.0, \"min\": 20.5, \"max\": 70, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"adapter_h\": {\"type\": 'float', \"default\": 36.4, \"min\": 14.6, \"max\": 72.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Transition height (mm)'},\n    \"neck_sides\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Neck', \"label\": 'Neck sides'},\n    \"neck_r\": {\"type\": 'float', \"default\": 13.6, \"min\": 6.8, \"max\": 20.5, \"step\": 1.0, \"group\": 'Neck', \"label\": 'Neck circumradius (mm)'},\n    \"neck_l\": {\"type\": 'float', \"default\": 22.3, \"min\": 8.9, \"max\": 55.8, \"step\": 1.0, \"group\": 'Neck', \"label\": 'Neck length (mm)'},\n    \"neck_bore\": {\"type\": 'float', \"default\": 10.2, \"min\": 2.0, \"max\": 17.0, \"step\": 0.5, \"group\": 'Neck', \"label\": 'Neck bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .circle(p[\"adapter_base\"] / 2)\n        .workplane(offset=p[\"adapter_h\"])\n        .rect(p[\"adapter_top\"], p[\"adapter_top\"])\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"neck_sides\"], p[\"neck_r\"] * 2).extrude(p[\"neck_l\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"neck_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462c9bc8_0020", "family": "profiled", "tier": 2, "seed": 1177328584, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "6fd2d618863fbdd8", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 89800.0, "surface_area": 13000.0, "principal_moments": [13799999.999999998, 73600000.0, 73600000.0], "n_faces": 7, "n_edges": 15, "n_vertices": 10}, "dimensions": {"lines": ["5-sided polygon section, 40 mm across corners, extruded 94.4 mm thick."], "text": "5-sided polygon section, 40 mm across corners, extruded 94.4 mm thick."}, "params": {"circ_r": {"type": "float", "default": 20, "min": 10.0, "max": 40.0, "step": 1.0, "group": "Profile", "label": "Circumscribed radius (mm)"}, "n_sides": {"type": "int", "default": 5, "min": 3, "max": 8, "step": 1, "group": "Profile", "label": "Sides"}, "length": {"type": "float", "default": 94.4, "min": 28.3, "max": 283.2, "step": 5.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328584 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"circ_r\": {\"type\": 'float', \"default\": 20, \"min\": 10.0, \"max\": 40.0, \"step\": 1.0, \"group\": 'Profile', \"label\": 'Circumscribed radius (mm)'},\n    \"n_sides\": {\"type\": 'int', \"default\": 5, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Profile', \"label\": 'Sides'},\n    \"length\": {\"type\": 'float', \"default\": 94.4, \"min\": 28.3, \"max\": 283.2, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').polygon(p[\"n_sides\"], p[\"circ_r\"] * 2).extrude(p[\"length\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9bc9_0021", "family": "plate", "tier": 3, "seed": 1177328585, "symmetry": "mirror_xy", "op_count": 4, "ir_hash": "d6a4f6c6f4e084df", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 19200.0, "surface_area": 6480.0, "principal_moments": [1620000.0, 5560000.0, 6720000.0], "n_faces": 17, "n_edges": 42, "n_vertices": 28}, "dimensions": {"lines": ["Rectangular body, 60.64 \u00d7 30.6 \u00d7 10 mm (W\u00d7D\u00d7H).", "Four \u00d85.3 mm holes at the corners, 42.448 \u00d7 21.42 mm spacing.", "Fillet radius 1.175 mm on vertical edges.", "Boss \u00d822 mm \u00d7 4.5 mm tall on top face with a \u00d84.3 mm bore."], "text": "Rectangular body, 60.64 \u00d7 30.6 \u00d7 10 mm (W\u00d7D\u00d7H). Four \u00d85.3 mm holes at the corners, 42.448 \u00d7 21.42 mm spacing. Fillet radius 1.175 mm on vertical edges. Boss \u00d822 mm \u00d7 4.5 mm tall on top face with a \u00d84.3 mm bore."}, "params": {"plate_w": {"type": "float", "default": 60.64, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 30.6, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 6.9, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}, "boss_d": {"type": "float", "default": 22.0, "min": 11.0, "max": 44.0, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 4.5, "min": 1.8, "max": 11.2, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}, "boss_bore_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 15.4, "step": 0.1, "group": "Boss", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328585 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 60.64, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 30.6, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 6.9, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n    \"boss_d\": {\"type\": 'float', \"default\": 22.0, \"min\": 11.0, \"max\": 44.0, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 4.5, \"min\": 1.8, \"max\": 11.2, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n    \"boss_bore_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 15.4, \"step\": 0.1, \"group\": 'Boss', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"plate_w\"], p[\"plate_d\"]) * 0.03839526971049202)\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .hole(p[\"boss_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462c9bca_0022", "family": "compound", "tier": 1, "seed": 1177328586, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "b0707080e5cc7a7d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 114000.0, "surface_area": 16000.0, "principal_moments": [36200000.0, 52499999.99999999, 52499999.99999999], "n_faces": 24, "n_edges": 63, "n_vertices": 41}, "dimensions": {"lines": ["Rectangular body, 60 \u00d7 43.4 \u00d7 43.7 mm (W\u00d7D\u00d7H).", "6-sided polygon section, 9 mm across corners attachment, 9 mm long, from right face with a \u00d83.6 mm bore.", "6-sided polygon section, 9 mm across corners attachment, 9 mm long, from front face with a \u00d83.6 mm bore."], "text": "Rectangular body, 60 \u00d7 43.4 \u00d7 43.7 mm (W\u00d7D\u00d7H). 6-sided polygon section, 9 mm across corners attachment, 9 mm long, from right face with a \u00d83.6 mm bore. 6-sided polygon section, 9 mm across corners attachment, 9 mm long, from front face with a \u00d83.6 mm bore."}, "params": {"block_w": {"type": "float", "default": 60, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body width (mm)"}, "block_d": {"type": "float", "default": 43.4, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body depth (mm)"}, "block_h": {"type": "float", "default": 43.7, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body height (mm)"}, "port_sides": {"type": "int", "default": 6, "min": 3, "max": 8, "step": 1, "group": "Ports", "label": "Ports sides"}, "port_r": {"type": "float", "default": 4.5, "min": 2.2, "max": 9.8, "step": 1.0, "group": "Ports", "label": "Ports circumradius (mm)"}, "port_len": {"type": "float", "default": 9.0, "min": 1.9, "max": 23.4, "step": 1.0, "group": "Ports", "label": "Port boss length (mm)"}, "port_bore": {"type": "float", "default": 3.6, "min": 2.0, "max": 5.6, "step": 0.5, "group": "Ports", "label": "Port bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328586 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 60, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 43.4, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 43.7, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body height (mm)'},\n    \"port_sides\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Ports', \"label\": 'Ports sides'},\n    \"port_r\": {\"type\": 'float', \"default\": 4.5, \"min\": 2.2, \"max\": 9.8, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Ports circumradius (mm)'},\n    \"port_len\": {\"type\": 'float', \"default\": 9.0, \"min\": 1.9, \"max\": 23.4, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Port boss length (mm)'},\n    \"port_bore\": {\"type\": 'float', \"default\": 3.6, \"min\": 2.0, \"max\": 5.6, \"step\": 0.5, \"group\": 'Ports', \"label\": 'Port bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"port_sides\"], p[\"port_r\"] * 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"port_sides\"], p[\"port_r\"] * 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462c9bcb_0023", "family": "profiled", "tier": 1, "seed": 1177328587, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "b1a7e28d049eef3b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 57400.0, "surface_area": 10900.0, "principal_moments": [4790000.0, 75500000.0, 77700000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["30 \u00d7 17.59 mm slot section, extruded 124.5 mm thick."], "text": "30 \u00d7 17.59 mm slot section, extruded 124.5 mm thick."}, "params": {"slot_len": {"type": "float", "default": 30, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Profile", "label": "Slot length (mm)"}, "slot_w": {"type": "float", "default": 17.59, "min": 8.8, "max": 35.2, "step": 0.5, "group": "Profile", "label": "Slot width (mm)"}, "length": {"type": "float", "default": 124.5, "min": 37.4, "max": 373.5, "step": 5.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328587 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"slot_len\": {\"type\": 'float', \"default\": 30, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Profile', \"label\": 'Slot length (mm)'},\n    \"slot_w\": {\"type\": 'float', \"default\": 17.59, \"min\": 8.8, \"max\": 35.2, \"step\": 0.5, \"group\": 'Profile', \"label\": 'Slot width (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 124.5, \"min\": 37.4, \"max\": 373.5, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').slot2D(p[\"slot_len\"], p[\"slot_w\"]).extrude(p[\"length\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462c9bcc_0024", "family": "ribbed", "tier": 2, "seed": 1177328588, "symmetry": "none", "op_count": 2, "ir_hash": "0b72d211be270b35", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 11100.0, "surface_area": 10400.0, "principal_moments": [1360000.0, 1950000.0, 2160000.0], "n_faces": 54, "n_edges": 132, "n_vertices": 80}, "dimensions": {"lines": ["Rectangular body, 40 \u00d7 20.2 \u00d7 4 mm (W\u00d7D\u00d7H).", "Six ribs, 2.1 mm thick, 19.6 mm tall."], "text": "Rectangular body, 40 \u00d7 20.2 \u00d7 4 mm (W\u00d7D\u00d7H). Six ribs, 2.1 mm thick, 19.6 mm tall."}, "params": {"base_w": {"type": "float", "default": 40, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 20.2, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 4.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 6, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 19.6, "min": 7.8, "max": 39.2, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 2.1, "min": 1.0, "max": 5.2, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328588 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 40, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 20.2, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 6, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 19.6, \"min\": 7.8, \"max\": 39.2, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 2.1, \"min\": 1.0, \"max\": 5.2, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462c9bcd_0025", "family": "swept", "tier": 1, "seed": 1177328589, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "e18eb498bd9e26ff", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 3420.0, "surface_area": 1930.0, "principal_moments": [94600.0, 1310000.0, 1380000.0], "n_faces": 3, "n_edges": 3, "n_vertices": 2}, "dimensions": {"lines": ["\u00d87.6 mm circular section swept along a curved path, ~56.63 mm span."], "text": "\u00d87.6 mm circular section swept along a curved path, ~56.63 mm span."}, "params": {"path_w": {"type": "float", "default": 56.63, "min": 28.3, "max": 101.9, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 55, "min": 27.5, "max": 99.0, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_d": {"type": "float", "default": 7.6, "min": 3.8, "max": 13.7, "step": 1.0, "group": "Section", "label": "Section diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328589 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 56.63, \"min\": 28.3, \"max\": 101.9, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 55, \"min\": 27.5, \"max\": 99.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_d\": {\"type\": 'float', \"default\": 7.6, \"min\": 3.8, \"max\": 13.7, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.1405, p[\"path_h\"] * 0.4507), (p[\"path_w\"] * 0.2185, p[\"path_h\"] * 0.4663), (p[\"path_w\"] * 0.5939, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').circle(p[\"sweep_d\"] / 2).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462c9bce_0026", "family": "compound", "tier": 1, "seed": 1177328590, "symmetry": "none", "op_count": 2, "ir_hash": "a7d5e6e226a0c394", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 113000.0, "surface_area": 17000.0, "principal_moments": [40000000.0, 55299999.99999999, 55299999.99999999], "n_faces": 10, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["Lofted body through 2 sections: \u00d865 mm circular section \u2192 28.1 \u00d7 28.1 mm rectangular section.", "\u00d817.3 mm circular section attachment, 20.8 mm long, from top face with a \u00d89.4 mm bore."], "text": "Lofted body through 2 sections: \u00d865 mm circular section \u2192 28.1 \u00d7 28.1 mm rectangular section. \u00d817.3 mm circular section attachment, 20.8 mm long, from top face with a \u00d89.4 mm bore."}, "params": {"adapter_base": {"type": "float", "default": 65, "min": 39.0, "max": 97.5, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "adapter_top": {"type": "float", "default": 28.1, "min": 14.1, "max": 65, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "adapter_h": {"type": "float", "default": 59.2, "min": 23.7, "max": 118.4, "step": 1.0, "group": "Body", "label": "Transition height (mm)"}, "neck_d": {"type": "float", "default": 17.3, "min": 6.9, "max": 28.1, "step": 1.0, "group": "Neck", "label": "Neck diameter (mm)"}, "neck_l": {"type": "float", "default": 20.8, "min": 8.3, "max": 52.0, "step": 1.0, "group": "Neck", "label": "Neck length (mm)"}, "neck_bore": {"type": "float", "default": 9.4, "min": 2.0, "max": 12.5, "step": 0.5, "group": "Neck", "label": "Neck bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328590 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"adapter_base\": {\"type\": 'float', \"default\": 65, \"min\": 39.0, \"max\": 97.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"adapter_top\": {\"type\": 'float', \"default\": 28.1, \"min\": 14.1, \"max\": 65, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"adapter_h\": {\"type\": 'float', \"default\": 59.2, \"min\": 23.7, \"max\": 118.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Transition height (mm)'},\n    \"neck_d\": {\"type\": 'float', \"default\": 17.3, \"min\": 6.9, \"max\": 28.1, \"step\": 1.0, \"group\": 'Neck', \"label\": 'Neck diameter (mm)'},\n    \"neck_l\": {\"type\": 'float', \"default\": 20.8, \"min\": 8.3, \"max\": 52.0, \"step\": 1.0, \"group\": 'Neck', \"label\": 'Neck length (mm)'},\n    \"neck_bore\": {\"type\": 'float', \"default\": 9.4, \"min\": 2.0, \"max\": 12.5, \"step\": 0.5, \"group\": 'Neck', \"label\": 'Neck bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .circle(p[\"adapter_base\"] / 2)\n        .workplane(offset=p[\"adapter_h\"])\n        .rect(p[\"adapter_top\"], p[\"adapter_top\"])\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"neck_d\"] / 2).extrude(p[\"neck_l\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"neck_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462c9bcf_0027", "family": "compound", "tier": 1, "seed": 1177328591, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "87088bc8f3f5eab1", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 118000.0, "surface_area": 17200.0, "principal_moments": [38700000.0, 57099999.99999999, 58699999.99999999], "n_faces": 14, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["Rectangular body, 60 \u00d7 43.4 \u00d7 45.3 mm (W\u00d7D\u00d7H).", "6-sided polygon section, 13 mm across corners attachment, 25.2 mm long, from left face with a \u00d86.2 mm bore."], "text": "Rectangular body, 60 \u00d7 43.4 \u00d7 45.3 mm (W\u00d7D\u00d7H). 6-sided polygon section, 13 mm across corners attachment, 25.2 mm long, from left face with a \u00d86.2 mm bore."}, "params": {"block_w": {"type": "float", "default": 60, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 43.4, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 45.3, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "spig_sides": {"type": "int", "default": 6, "min": 3, "max": 8, "step": 1, "group": "Spigot", "label": "Spigot sides"}, "spig_r": {"type": "float", "default": 6.5, "min": 3.2, "max": 15.2, "step": 1.0, "group": "Spigot", "label": "Spigot circumradius (mm)"}, "spig_len": {"type": "float", "default": 25.2, "min": 3.4, "max": 45.0, "step": 1.0, "group": "Spigot", "label": "Spigot length (mm)"}, "spig_bore": {"type": "float", "default": 6.2, "min": 2.0, "max": 8.1, "step": 0.5, "group": "Spigot", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328591 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 60, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 43.4, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 45.3, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"spig_sides\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Spigot', \"label\": 'Spigot sides'},\n    \"spig_r\": {\"type\": 'float', \"default\": 6.5, \"min\": 3.2, \"max\": 15.2, \"step\": 1.0, \"group\": 'Spigot', \"label\": 'Spigot circumradius (mm)'},\n    \"spig_len\": {\"type\": 'float', \"default\": 25.2, \"min\": 3.4, \"max\": 45.0, \"step\": 1.0, \"group\": 'Spigot', \"label\": 'Spigot length (mm)'},\n    \"spig_bore\": {\"type\": 'float', \"default\": 6.2, \"min\": 2.0, \"max\": 8.1, \"step\": 0.5, \"group\": 'Spigot', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"spig_sides\"], p[\"spig_r\"] * 2).extrude(p[\"spig_len\"])\n    )\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"spig_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462c9bd0_0028", "family": "bracket", "tier": 2, "seed": 1177328592, "symmetry": "none", "op_count": 1, "ir_hash": "24e36d8e11e60b49", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 14000.0, "surface_area": 6910.0, "principal_moments": [2070000.0, 9110000.0, 10300000.0], "n_faces": 14, "n_edges": 37, "n_vertices": 24}, "dimensions": {"lines": ["L-bracket: base leg 75.85 mm, vertical leg 52 mm, 20 mm wide, 5 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg; 6.9 mm corner gusset."], "text": "L-bracket: base leg 75.85 mm, vertical leg 52 mm, 20 mm wide, 5 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg; 6.9 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 75.85, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 52.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 20, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 5.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 8.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 6.9, "min": 2.5, "max": 10.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328592 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 75.85, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 52.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 20, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 8.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 6.9, \"min\": 2.5, \"max\": 10.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462c9bd1_0029", "family": "profiled", "tier": 1, "seed": 1177328593, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "443682998a380471", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 32900.0, "surface_area": 8510.0, "principal_moments": [2360000.0, 22500000.0, 22500000.0], "n_faces": 5, "n_edges": 9, "n_vertices": 6}, "dimensions": {"lines": ["3-sided polygon section, 33.86 mm across corners, extruded 88.3 mm thick."], "text": "3-sided polygon section, 33.86 mm across corners, extruded 88.3 mm thick."}, "params": {"circ_r": {"type": "float", "default": 16.93, "min": 8.5, "max": 33.9, "step": 1.0, "group": "Profile", "label": "Circumscribed radius (mm)"}, "n_sides": {"type": "int", "default": 3, "min": 3, "max": 8, "step": 1, "group": "Profile", "label": "Sides"}, "length": {"type": "float", "default": 88.3, "min": 26.5, "max": 264.9, "step": 5.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328593 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"circ_r\": {\"type\": 'float', \"default\": 16.93, \"min\": 8.5, \"max\": 33.9, \"step\": 1.0, \"group\": 'Profile', \"label\": 'Circumscribed radius (mm)'},\n    \"n_sides\": {\"type\": 'int', \"default\": 3, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Profile', \"label\": 'Sides'},\n    \"length\": {\"type\": 'float', \"default\": 88.3, \"min\": 26.5, \"max\": 264.9, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').polygon(p[\"n_sides\"], p[\"circ_r\"] * 2).extrude(p[\"length\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462c9bd2_0030", "family": "bracket", "tier": 1, "seed": 1177328594, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "fc82880a3aaca407", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 25700.0, "surface_area": 10600.0, "principal_moments": [6740000.0, 15899999.999999998, 16099999.999999998], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["L-bracket: base leg 57 mm, vertical leg 57.3 mm, 40 mm wide, 6 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."], "text": "L-bracket: base leg 57 mm, vertical leg 57.3 mm, 40 mm wide, 6 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 57.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 57.3, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 40, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 6.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328594 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 57.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 57.3, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 40, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462c9bd3_0031", "family": "block", "tier": 2, "seed": 1177328595, "symmetry": "mirror_xy", "op_count": 3, "ir_hash": "5b3ca20b057edb1e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 21400.0, "surface_area": 7470.0, "principal_moments": [2810000.0, 3820000.0, 4760000.0], "n_faces": 20, "n_edges": 57, "n_vertices": 38}, "dimensions": {"lines": ["Rectangular body, 37.58 \u00d7 21.4 \u00d7 32.6 mm (W\u00d7D\u00d7H).", "Seven \u00d82.1 mm holes in two staggered rows, 9.4 \u00d7 8.3 mm pitch.", "Pocket 19.8 \u00d7 12.4 mm, 17.4 mm deep, in top face."], "text": "Rectangular body, 37.58 \u00d7 21.4 \u00d7 32.6 mm (W\u00d7D\u00d7H). Seven \u00d82.1 mm holes in two staggered rows, 9.4 \u00d7 8.3 mm pitch. Pocket 19.8 \u00d7 12.4 mm, 17.4 mm deep, in top face."}, "params": {"block_w": {"type": "float", "default": 37.58, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 21.4, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 32.6, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 2.1, "min": 2.0, "max": 2.1, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 4, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}, "pocket_w": {"type": "float", "default": 19.8, "min": 9.9, "max": 30.1, "step": 1.0, "group": "Pocket", "label": "Pocket width (mm)"}, "pocket_d": {"type": "float", "default": 12.4, "min": 6.2, "max": 17.1, "step": 1.0, "group": "Pocket", "label": "Pocket depth (mm)"}, "pocket_h": {"type": "float", "default": 17.4, "min": 7.0, "max": 27.7, "step": 0.5, "group": "Pocket", "label": "Pocket height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328595 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 37.58, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 21.4, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 32.6, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 2.1, \"min\": 2.0, \"max\": 2.1, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 4, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n    \"pocket_w\": {\"type\": 'float', \"default\": 19.8, \"min\": 9.9, \"max\": 30.1, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket width (mm)'},\n    \"pocket_d\": {\"type\": 'float', \"default\": 12.4, \"min\": 6.2, \"max\": 17.1, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket depth (mm)'},\n    \"pocket_h\": {\"type\": 'float', \"default\": 17.4, \"min\": 7.0, \"max\": 27.7, \"step\": 0.5, \"group\": 'Pocket', \"label\": 'Pocket height (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 9.4\n    _ssy = 8.3\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"pocket_w\"], p[\"pocket_d\"])\n        .cutBlind(-p[\"pocket_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462c9bd4_0032", "family": "sketched", "tier": 0, "seed": 1177328596, "symmetry": "none", "op_count": 1, "ir_hash": "9281a2c405978135", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 25900.0, "surface_area": 5340.0, "principal_moments": [3020000.0, 4480000.0, 6010000.0], "n_faces": 9, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["freeform sketched section (7 segments: 3 straight, 2 arcs, 2 curves), ~46.074 \u00d7 39.32 mm, extruded 18.55 mm thick."], "text": "freeform sketched section (7 segments: 3 straight, 2 arcs, 2 curves), ~46.074 \u00d7 39.32 mm, extruded 18.55 mm thick."}, "params": {"sk_w": {"type": "float", "default": 55, "min": 27.5, "max": 99.0, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 50, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "sk_t": {"type": "float", "default": 18.55, "min": 7.4, "max": 40.8, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328596 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 55, \"min\": 27.5, \"max\": 99.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 50, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"sk_t\": {\"type\": 'float', \"default\": 18.55, \"min\": 7.4, \"max\": 40.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.472, p[\"sk_h\"] * 0.0312).lineTo(p[\"sk_w\"] * 0.3177, p[\"sk_h\"] * 0.3395).threePointArc((p[\"sk_w\"] * 0.1734, p[\"sk_h\"] * 0.4207), (p[\"sk_w\"] * -0.0094, p[\"sk_h\"] * 0.3907)).lineTo(p[\"sk_w\"] * -0.3607, p[\"sk_h\"] * 0.0718).bezier([(p[\"sk_w\"] * -0.3607, p[\"sk_h\"] * 0.0718), (p[\"sk_w\"] * -0.399, p[\"sk_h\"] * -0.0551), (p[\"sk_w\"] * -0.3657, p[\"sk_h\"] * -0.1834)]).threePointArc((p[\"sk_w\"] * -0.3053, p[\"sk_h\"] * -0.3139), (p[\"sk_w\"] * -0.1921, p[\"sk_h\"] * -0.3957)).lineTo(p[\"sk_w\"] * 0.3137, p[\"sk_h\"] * -0.3155).bezier([(p[\"sk_w\"] * 0.3137, p[\"sk_h\"] * -0.3155), (p[\"sk_w\"] * 0.4142, p[\"sk_h\"] * -0.1519), (p[\"sk_w\"] * 0.472, p[\"sk_h\"] * 0.0312)]).close().extrude(p[\"sk_t\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9bd5_0033", "family": "plate", "tier": 1, "seed": 1177328597, "symmetry": "none", "op_count": 2, "ir_hash": "71bd91e5f068da04", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 63100.0, "surface_area": 15500.0, "principal_moments": [13199999.999999998, 64699999.99999999, 76400000.0], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["Rectangular body, 110 \u00d7 48.7 \u00d7 12 mm (W\u00d7D\u00d7H).", "Seven \u00d84.3 mm holes in two staggered rows, 27.5 \u00d7 26.7 mm pitch."], "text": "Rectangular body, 110 \u00d7 48.7 \u00d7 12 mm (W\u00d7D\u00d7H). Seven \u00d84.3 mm holes in two staggered rows, 27.5 \u00d7 26.7 mm pitch."}, "params": {"plate_w": {"type": "float", "default": 110, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 48.7, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 4.9, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 4, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328597 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 110, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 48.7, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 4.9, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 4, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 27.5\n    _ssy = 26.7\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462c9bd6_0034", "family": "tapped", "tier": 1, "seed": 1177328598, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "102d631b7e93a217", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 10300.0, "surface_area": 3810.0, "principal_moments": [915000.0, 915000.0, 1200000.0], "n_faces": 128, "n_edges": 356, "n_vertices": 230}, "dimensions": {"lines": ["One M12x1.75 tapped hole in a cylinder."], "text": "One M12x1.75 tapped hole in a cylinder."}, "params": {"major_d": {"type": "float", "default": 12.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 1.75, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 19.2, "min": 14.4, "max": 34.6, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "body_d": {"type": "float", "default": 28.4, "min": 21.6, "max": 45.4, "step": 1.0, "group": "Body", "label": "Outer \u00d8 (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328598 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 12.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.75, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 19.2, \"min\": 14.4, \"max\": 34.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"body_d\": {\"type\": 'float', \"default\": 28.4, \"min\": 21.6, \"max\": 45.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer \u00d8 (mm)'},\n}\n\n\ndef build(p):\n\n    _W = _D = p[\"body_d\"]\n    _H = p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Cylinder(radius=_W / 2, height=_H)\n    _locs = [(0.0, 0.0)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462c9bd7_0035", "family": "block", "tier": 2, "seed": 1177328599, "symmetry": "none", "op_count": 3, "ir_hash": "f1c2a5f5a8701943", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 204000.0, "surface_area": 37800.0, "principal_moments": [121000000.0, 158000000.0, 160000000.0], "n_faces": 27, "n_edges": 72, "n_vertices": 48}, "dimensions": {"lines": ["Rectangular body, 73.83 \u00d7 57.6 \u00d7 61.8 mm (W\u00d7D\u00d7H).", "Four 10.1 mm square holes at the corners, 51.681 \u00d7 40.32 mm spacing.", "Pocket 37.9 \u00d7 32.5 mm, 27.2 mm deep, in top face."], "text": "Rectangular body, 73.83 \u00d7 57.6 \u00d7 61.8 mm (W\u00d7D\u00d7H). Four 10.1 mm square holes at the corners, 51.681 \u00d7 40.32 mm spacing. Pocket 37.9 \u00d7 32.5 mm, 27.2 mm deep, in top face."}, "params": {"block_w": {"type": "float", "default": 73.83, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 57.6, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 61.8, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 10.1, "min": 2.0, "max": 16.8, "step": 0.5, "group": "Holes", "label": "Square hole size (mm)"}, "pocket_w": {"type": "float", "default": 37.9, "min": 18.9, "max": 59.1, "step": 1.0, "group": "Pocket", "label": "Pocket width (mm)"}, "pocket_d": {"type": "float", "default": 32.5, "min": 16.2, "max": 46.1, "step": 1.0, "group": "Pocket", "label": "Pocket depth (mm)"}, "pocket_h": {"type": "float", "default": 27.2, "min": 10.9, "max": 52.5, "step": 0.5, "group": "Pocket", "label": "Pocket height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328599 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 73.83, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 57.6, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 61.8, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 10.1, \"min\": 2.0, \"max\": 16.8, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Square hole size (mm)'},\n    \"pocket_w\": {\"type\": 'float', \"default\": 37.9, \"min\": 18.9, \"max\": 59.1, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket width (mm)'},\n    \"pocket_d\": {\"type\": 'float', \"default\": 32.5, \"min\": 16.2, \"max\": 46.1, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket depth (mm)'},\n    \"pocket_h\": {\"type\": 'float', \"default\": 27.2, \"min\": 10.9, \"max\": 52.5, \"step\": 0.5, \"group\": 'Pocket', \"label\": 'Pocket height (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().rect(p[\"hole_d\"], p[\"hole_d\"]).cutThruAll()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"pocket_w\"], p[\"pocket_d\"])\n        .cutBlind(-p[\"pocket_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462c9bd8_0036", "family": "ribbed", "tier": 1, "seed": 1177328600, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "538d7241ce5eb9e7", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 28000.0, "surface_area": 11100.0, "principal_moments": [4770000.0, 7630000.0, 10900000.0], "n_faces": 46, "n_edges": 112, "n_vertices": 68}, "dimensions": {"lines": ["Rectangular body, 54.57 \u00d7 40.1 \u00d7 8 mm (W\u00d7D\u00d7H).", "Five ribs, 4.6 mm thick, 10.5 mm tall."], "text": "Rectangular body, 54.57 \u00d7 40.1 \u00d7 8 mm (W\u00d7D\u00d7H). Five ribs, 4.6 mm thick, 10.5 mm tall."}, "params": {"base_w": {"type": "float", "default": 54.57, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 40.1, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 8.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 5, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 10.5, "min": 4.2, "max": 21.0, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 4.6, "min": 1.0, "max": 11.5, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328600 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 54.57, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 40.1, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 5, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 10.5, \"min\": 4.2, \"max\": 21.0, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 4.6, \"min\": 1.0, \"max\": 11.5, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462c9bd9_0037", "family": "bracket", "tier": 2, "seed": 1177328601, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "bdd619722325dbf1", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 42400.0, "surface_area": 13200.0, "principal_moments": [14799999.999999998, 15999999.999999998, 26899999.999999996], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Z-bracket: base leg 35 mm, vertical leg 39.6 mm, top leg 30.3 mm, 60 mm wide, 8 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg; 7.4 mm corner gusset."], "text": "Z-bracket: base leg 35 mm, vertical leg 39.6 mm, top leg 30.3 mm, 60 mm wide, 8 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg; 7.4 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 35, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 39.6, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 60.0, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 8.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 30.3, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}, "gusset_t": {"type": "float", "default": 7.4, "min": 4.0, "max": 24.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328601 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 35, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 39.6, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 60.0, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 30.3, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 7.4, \"min\": 4.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _tl, _vl) * 0.4 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(0, _vl - _bt).lineTo(-_g, _vl - _bt)\n                    .lineTo(0, _vl - _bt - _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462c9bda_0038", "family": "compound", "tier": 1, "seed": 1177328602, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "ff96c60b63f5be7a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 8790.0, "surface_area": 4110.0, "principal_moments": [801000.0, 1010000.0, 1020000.0], "n_faces": 10, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["5-sided polygon section, 32.82 mm across corners, extruded 10.1 mm thick.", "\u00d817.1 mm circular section attachment, 20 mm long, from top face with a \u00d89.8 mm bore."], "text": "5-sided polygon section, 32.82 mm across corners, extruded 10.1 mm thick. \u00d817.1 mm circular section attachment, 20 mm long, from top face with a \u00d89.8 mm bore."}, "params": {"base_sides": {"type": "int", "default": 5, "min": 3, "max": 8, "step": 1, "group": "Base", "label": "Base sides"}, "base_r": {"type": "float", "default": 16.41, "min": 9.8, "max": 26.3, "step": 1.0, "group": "Base", "label": "Base circumradius (mm)"}, "base_h": {"type": "float", "default": 10.1, "min": 4.0, "max": 25.2, "step": 1.0, "group": "Base", "label": "Base height (mm)"}, "col_d": {"type": "float", "default": 17.1, "min": 8.6, "max": 21.2, "step": 1.0, "group": "Column", "label": "Column diameter (mm)"}, "col_h": {"type": "float", "default": 20.0, "min": 6.0, "max": 50.0, "step": 1.0, "group": "Column", "label": "Column height (mm)"}, "col_bore": {"type": "float", "default": 9.8, "min": 2.0, "max": 12.3, "step": 0.5, "group": "Column", "label": "Column bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328602 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_sides\": {\"type\": 'int', \"default\": 5, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Base', \"label\": 'Base sides'},\n    \"base_r\": {\"type\": 'float', \"default\": 16.41, \"min\": 9.8, \"max\": 26.3, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base circumradius (mm)'},\n    \"base_h\": {\"type\": 'float', \"default\": 10.1, \"min\": 4.0, \"max\": 25.2, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base height (mm)'},\n    \"col_d\": {\"type\": 'float', \"default\": 17.1, \"min\": 8.6, \"max\": 21.2, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column diameter (mm)'},\n    \"col_h\": {\"type\": 'float', \"default\": 20.0, \"min\": 6.0, \"max\": 50.0, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column height (mm)'},\n    \"col_bore\": {\"type\": 'float', \"default\": 9.8, \"min\": 2.0, \"max\": 12.3, \"step\": 0.5, \"group\": 'Column', \"label\": 'Column bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').polygon(p[\"base_sides\"], p[\"base_r\"] * 2).extrude(p[\"base_h\"]))\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"col_d\"] / 2).extrude(p[\"col_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"col_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462c9bdb_0039", "family": "block", "tier": 2, "seed": 1177328603, "symmetry": "none", "op_count": 3, "ir_hash": "2551a7597af8cdbf", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 471000.0, "surface_area": 42900.0, "principal_moments": [435000000.0, 473000000.0, 605000000.0], "n_faces": 17, "n_edges": 45, "n_vertices": 30}, "dimensions": {"lines": ["Rectangular body, 85 \u00d7 62 \u00d7 90.5 mm (W\u00d7D\u00d7H).", "Seven \u00d83.2 mm holes in two staggered rows, 21.2 \u00d7 20.2 mm pitch.", "Fillet radius 3.015 mm on vertical edges."], "text": "Rectangular body, 85 \u00d7 62 \u00d7 90.5 mm (W\u00d7D\u00d7H). Seven \u00d83.2 mm holes in two staggered rows, 21.2 \u00d7 20.2 mm pitch. Fillet radius 3.015 mm on vertical edges."}, "params": {"block_w": {"type": "float", "default": 85, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 62.0, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 90.5, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 6.2, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 4, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328603 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 85, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 62.0, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 90.5, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 6.2, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 4, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 21.2\n    _ssy = 20.2\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"block_w\"], p[\"block_d\"]) * 0.04863598863087494)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462c9bdc_0040", "family": "tapped", "tier": 0, "seed": 1177328604, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "2f9c6ca06d5258fd", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 13800.0, "surface_area": 4210.0, "principal_moments": [1350000.0, 1350000.0, 2040000.0], "n_faces": 118, "n_edges": 320, "n_vertices": 204}, "dimensions": {"lines": ["One M8x1.25 tapped hole in a plate."], "text": "One M8x1.25 tapped hole in a plate."}, "params": {"major_d": {"type": "float", "default": 8.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 1.25, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 17.1, "min": 9.6, "max": 30.8, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "plate_w": {"type": "float", "default": 29.1, "min": 17.5, "max": 46.6, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 29.1, "min": 17.5, "max": 46.6, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328604 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.25, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 17.1, \"min\": 9.6, \"max\": 30.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"plate_w\": {\"type\": 'float', \"default\": 29.1, \"min\": 17.5, \"max\": 46.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 29.1, \"min\": 17.5, \"max\": 46.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n}\n\n\ndef build(p):\n\n    _W, _D, _H = p[\"plate_w\"], p[\"plate_d\"], p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Box(_W, _D, _H)\n    _locs = [(0.0, 0.0)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9bdd_0041", "family": "plate", "tier": 1, "seed": 1177328605, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "d8b5555ae6bf6cfc", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 21700.0, "surface_area": 7560.0, "principal_moments": [3940000.0, 6560000.0, 10300000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 60 \u00d7 46.2 \u00d7 8 mm (W\u00d7D\u00d7H).", "Four \u00d84.3 mm holes at the corners, 42 \u00d7 32.34 mm spacing."], "text": "Rectangular body, 60 \u00d7 46.2 \u00d7 8 mm (W\u00d7D\u00d7H). Four \u00d84.3 mm holes at the corners, 42 \u00d7 32.34 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 60, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 46.2, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 10.4, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328605 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 60, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 46.2, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 10.4, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462c9bde_0042", "family": "compound", "tier": 1, "seed": 1177328606, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "0e4be3e977a5528c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 10400.0, "surface_area": 3990.0, "principal_moments": [1010000.0, 1010000.0, 1310000.0], "n_faces": 13, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["8-sided polygon section, 36.04 mm across corners, extruded 9.2 mm thick.", "\u00d815 mm circular section attachment, 15.2 mm long, from top face with a \u00d86.3 mm bore."], "text": "8-sided polygon section, 36.04 mm across corners, extruded 9.2 mm thick. \u00d815 mm circular section attachment, 15.2 mm long, from top face with a \u00d86.3 mm bore."}, "params": {"base_sides": {"type": "int", "default": 8, "min": 3, "max": 8, "step": 1, "group": "Base", "label": "Base sides"}, "base_r": {"type": "float", "default": 18.02, "min": 10.8, "max": 28.8, "step": 1.0, "group": "Base", "label": "Base circumradius (mm)"}, "base_h": {"type": "float", "default": 9.2, "min": 3.7, "max": 23.0, "step": 1.0, "group": "Base", "label": "Base height (mm)"}, "col_d": {"type": "float", "default": 15.0, "min": 7.5, "max": 26.6, "step": 1.0, "group": "Column", "label": "Column diameter (mm)"}, "col_h": {"type": "float", "default": 15.2, "min": 4.6, "max": 38.0, "step": 1.0, "group": "Column", "label": "Column height (mm)"}, "col_bore": {"type": "float", "default": 6.3, "min": 2.0, "max": 10.8, "step": 0.5, "group": "Column", "label": "Column bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328606 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_sides\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Base', \"label\": 'Base sides'},\n    \"base_r\": {\"type\": 'float', \"default\": 18.02, \"min\": 10.8, \"max\": 28.8, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base circumradius (mm)'},\n    \"base_h\": {\"type\": 'float', \"default\": 9.2, \"min\": 3.7, \"max\": 23.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base height (mm)'},\n    \"col_d\": {\"type\": 'float', \"default\": 15.0, \"min\": 7.5, \"max\": 26.6, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column diameter (mm)'},\n    \"col_h\": {\"type\": 'float', \"default\": 15.2, \"min\": 4.6, \"max\": 38.0, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column height (mm)'},\n    \"col_bore\": {\"type\": 'float', \"default\": 6.3, \"min\": 2.0, \"max\": 10.8, \"step\": 0.5, \"group\": 'Column', \"label\": 'Column bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').polygon(p[\"base_sides\"], p[\"base_r\"] * 2).extrude(p[\"base_h\"]))\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"col_d\"] / 2).extrude(p[\"col_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"col_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462c9be0_0044", "family": "lofted", "tier": 1, "seed": 1177328608, "symmetry": "none", "op_count": 2, "ir_hash": "3f2136df084fcb2c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 185000.0, "surface_area": 26900.0, "principal_moments": [112000000.0, 137000000.0, 137000000.0], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["Lofted body through 2 sections: 67.91 \u00d7 67.91 mm rectangular section \u2192 6-sided polygon section, 46.3 mm across corners.", "One \u00d824.7 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 2 sections: 67.91 \u00d7 67.91 mm rectangular section \u2192 6-sided polygon section, 46.3 mm across corners. One \u00d824.7 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 67.91, "min": 34.0, "max": 108.7, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 46.3, "min": 18.5, "max": 81.5, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 77.6, "min": 31.0, "max": 155.2, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_bore_d": {"type": "float", "default": 24.7, "min": 2.0, "max": 37.0, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328608 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 67.91, \"min\": 34.0, \"max\": 108.7, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 46.3, \"min\": 18.5, \"max\": 81.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 77.6, \"min\": 31.0, \"max\": 155.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 24.7, \"min\": 2.0, \"max\": 37.0, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .rect(p[\"loft_base\"], p[\"loft_base\"])\n        .workplane(offset=p[\"loft_h\"])\n        .polygon(6, p[\"loft_top\"] * 0.5 * 2)\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462c9be1_0045", "family": "enclosure", "tier": 2, "seed": 1177328609, "symmetry": "mirror_xy", "op_count": 4, "ir_hash": "41d627e858a30ccf", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 83100.0, "surface_area": 36300.0, "principal_moments": [77200000.0, 78700000.0, 117000000.0], "n_faces": 23, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 75 \u00d7 73.9 \u00d7 48.5 mm (W\u00d7D\u00d7H).", "Hollowed to 4.7 mm wall thickness, open at top face.", "Four \u00d84.3 mm holes at the corners, 52.5 \u00d7 51.73 mm spacing.", "Fillet radius 4.363 mm on vertical edges."], "text": "Rectangular body, 75 \u00d7 73.9 \u00d7 48.5 mm (W\u00d7D\u00d7H). Hollowed to 4.7 mm wall thickness, open at top face. Four \u00d84.3 mm holes at the corners, 52.5 \u00d7 51.73 mm spacing. Fillet radius 4.363 mm on vertical edges."}, "params": {"enc_w": {"type": "float", "default": 75, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 73.9, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 48.5, "min": 19.4, "max": 97.0, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 4.7, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328609 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 75, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 73.9, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 48.5, \"min\": 19.4, \"max\": 97.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 4.7, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"enc_w\"] * 0.7, p[\"enc_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"enc_w\"], p[\"enc_d\"]) * 0.059034018783114)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9be2_0046", "family": "plate", "tier": 1, "seed": 1177328610, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "283f6a96527ca978", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 2190.0, "surface_area": 1920.0, "principal_moments": [86600.0, 221000.0, 304000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 35 \u00d7 21.8 \u00d7 3 mm (W\u00d7D\u00d7H).", "Four \u00d83.2 mm holes at the corners, 24.5 \u00d7 15.26 mm spacing."], "text": "Rectangular body, 35 \u00d7 21.8 \u00d7 3 mm (W\u00d7D\u00d7H). Four \u00d83.2 mm holes at the corners, 24.5 \u00d7 15.26 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 35, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 21.8, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 3.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 4.9, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328610 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 35, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 21.8, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 3.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 4.9, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462c9be3_0047", "family": "revolved", "tier": 0, "seed": 1177328611, "symmetry": "radial", "op_count": 1, "ir_hash": "d3078671edc86343", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 6260.0, "surface_area": 3540.0, "principal_moments": [276000.0, 754000.0, 754000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d817.14 mm \u00d7 40.7 mm tall."], "text": "Revolved body, \u00d817.14 mm \u00d7 40.7 mm tall."}, "params": {"outer_d": {"type": "float", "default": 17.14, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 40.7, "min": 12.2, "max": 122.1, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328611 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 17.14, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 40.7, \"min\": 12.2, \"max\": 122.1, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462c9be4_0048", "family": "gear", "tier": 1, "seed": 1177328612, "symmetry": "none", "op_count": 1, "ir_hash": "399706b42092a58b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 7480.0, "surface_area": 3560.0, "principal_moments": [522000.0, 522000.0, 889000.0], "n_faces": 93, "n_edges": 273, "n_vertices": 182}, "dimensions": {"lines": ["Spur gear, module 2 mm, 15 teeth (pitch \u00d830 mm), face width 11.1 mm, \u00d84.3 mm bore."], "text": "Spur gear, module 2 mm, 15 teeth (pitch \u00d830 mm), face width 11.1 mm, \u00d84.3 mm bore."}, "params": {"module": {"type": "float", "default": 2.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 15, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 11.1, "min": 4.4, "max": 27.8, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "bore_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328612 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 2.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 15, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 11.1, \"min\": 4.4, \"max\": 27.8, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462c9be5_0049", "family": "enclosure", "tier": 3, "seed": 1177328613, "symmetry": "mirror_x", "op_count": 4, "ir_hash": "a03c7bcb4040c8ee", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 165000.0, "surface_area": 79300.0, "principal_moments": [293000000.0, 395000000.0, 503000000.0], "n_faces": 23, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 120 \u00d7 93.3 \u00d7 73.7 mm (W\u00d7D\u00d7H).", "Hollowed to 4.2 mm wall thickness, open at top face.", "Four \u00d810.5 mm holes at the corners, 84 \u00d7 65.31 mm spacing.", "Fillet radius 6.538 mm on vertical edges."], "text": "Rectangular body, 120 \u00d7 93.3 \u00d7 73.7 mm (W\u00d7D\u00d7H). Hollowed to 4.2 mm wall thickness, open at top face. Four \u00d810.5 mm holes at the corners, 84 \u00d7 65.31 mm spacing. Fillet radius 6.538 mm on vertical edges."}, "params": {"enc_w": {"type": "float", "default": 120.0, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 93.3, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 73.7, "min": 29.5, "max": 147.4, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 4.2, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}, "hole_d": {"type": "float", "default": 10.5, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328613 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 120.0, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 93.3, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 73.7, \"min\": 29.5, \"max\": 147.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 4.2, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 10.5, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"enc_w\"] * 0.7, p[\"enc_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"enc_w\"], p[\"enc_d\"]) * 0.07007173220523666)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462c9be6_0050", "family": "block", "tier": 2, "seed": 1177328614, "symmetry": "none", "op_count": 3, "ir_hash": "cd6740f76ef4aba8", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 1780.0, "surface_area": 1520.0, "principal_moments": [36400.0, 67900.0, 82100.0], "n_faces": 15, "n_edges": 48, "n_vertices": 32}, "dimensions": {"lines": ["Rectangular body, 19.15 \u00d7 8.4 \u00d7 13.7 mm (W\u00d7D\u00d7H).", "Four \u00d81.9 mm holes at the corners, 13.405 \u00d7 5.88 mm spacing.", "Pocket 12.6 \u00d7 4.6 mm, 4.6 mm deep, in top face."], "text": "Rectangular body, 19.15 \u00d7 8.4 \u00d7 13.7 mm (W\u00d7D\u00d7H). Four \u00d81.9 mm holes at the corners, 13.405 \u00d7 5.88 mm spacing. Pocket 12.6 \u00d7 4.6 mm, 4.6 mm deep, in top face."}, "params": {"block_w": {"type": "float", "default": 19.15, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 8.4, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 13.7, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 1.9, "min": 2.0, "max": 1.9, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "pocket_w": {"type": "float", "default": 12.6, "min": 6.3, "max": 15.3, "step": 1.0, "group": "Pocket", "label": "Pocket width (mm)"}, "pocket_d": {"type": "float", "default": 4.6, "min": 2.3, "max": 6.7, "step": 1.0, "group": "Pocket", "label": "Pocket depth (mm)"}, "pocket_h": {"type": "float", "default": 4.6, "min": 1.8, "max": 11.6, "step": 0.5, "group": "Pocket", "label": "Pocket height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328614 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 19.15, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 13.7, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 1.9, \"min\": 2.0, \"max\": 1.9, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"pocket_w\": {\"type\": 'float', \"default\": 12.6, \"min\": 6.3, \"max\": 15.3, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket width (mm)'},\n    \"pocket_d\": {\"type\": 'float', \"default\": 4.6, \"min\": 2.3, \"max\": 6.7, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket depth (mm)'},\n    \"pocket_h\": {\"type\": 'float', \"default\": 4.6, \"min\": 1.8, \"max\": 11.6, \"step\": 0.5, \"group\": 'Pocket', \"label\": 'Pocket height (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"pocket_w\"], p[\"pocket_d\"])\n        .cutBlind(-p[\"pocket_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462c9be7_0051", "family": "flanged", "tier": 3, "seed": 1177328615, "symmetry": "none", "op_count": 2, "ir_hash": "42c558b9972c8baf", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 646000.0, "surface_area": 89500.0, "principal_moments": [1420000000.0, 1420000000.0, 2590000000.0], "n_faces": 12, "n_edges": 27, "n_vertices": 18}, "dimensions": {"lines": ["Revolved body, \u00d8100 mm \u00d7 50.1 mm tall with \u00d844.9 mm bore, \u00d8201.6 mm \u00d7 14 mm flange.", "Six \u00d88.4 mm holes on a \u00d8121 mm bolt circle."], "text": "Revolved body, \u00d8100 mm \u00d7 50.1 mm tall with \u00d844.9 mm bore, \u00d8201.6 mm \u00d7 14 mm flange. Six \u00d88.4 mm holes on a \u00d8121 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 100.0, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 50.1, "min": 15.0, "max": 125.2, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 44.9, "min": 2.0, "max": 70.0, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 201.6, "min": 130.0, "max": 300.0, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 14.0, "min": 4.2, "max": 20.0, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 8.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 60.5, "min": 40.3, "max": 90.7, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 6, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328615 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 100.0, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 50.1, \"min\": 15.0, \"max\": 125.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 44.9, \"min\": 2.0, \"max\": 70.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 201.6, \"min\": 130.0, \"max\": 300.0, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 14.0, \"min\": 4.2, \"max\": 20.0, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 60.5, \"min\": 40.3, \"max\": 90.7, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462c9be8_0052", "family": "bracket", "tier": 1, "seed": 1177328616, "symmetry": "none", "op_count": 1, "ir_hash": "c94901078075199e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 5910.0, "surface_area": 3210.0, "principal_moments": [457000.0, 802000.0, 1020000.0], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["C-channel bracket: base leg 30 mm, vertical leg 25 mm, 15.12 mm wide, 6 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."], "text": "C-channel bracket: base leg 30 mm, vertical leg 25 mm, 15.12 mm wide, 6 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 30, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 25.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 15.12, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 6.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 6.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328616 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 30, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 25.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 15.12, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 6.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9be9_0053", "family": "plate", "tier": 0, "seed": 1177328617, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "4aa64db41de7605f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 92000.0, "surface_area": 22200.0, "principal_moments": [63799999.99999999, 79500000.0, 142000000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 101.38 \u00d7 90.7 \u00d7 10 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 101.38 \u00d7 90.7 \u00d7 10 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 101.38, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 90.7, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328617 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 101.38, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 90.7, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462c9bea_0054", "family": "profiled", "tier": 0, "seed": 1177328618, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "cd129ef7535e6efd", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 33900.0, "surface_area": 7440.0, "principal_moments": [1900000.0, 27299999.999999996, 27299999.999999996], "n_faces": 8, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["6-sided polygon section, 23.22 mm across corners, extruded 96.7 mm thick."], "text": "6-sided polygon section, 23.22 mm across corners, extruded 96.7 mm thick."}, "params": {"circ_r": {"type": "float", "default": 11.61, "min": 5.8, "max": 23.2, "step": 1.0, "group": "Profile", "label": "Circumscribed radius (mm)"}, "n_sides": {"type": "int", "default": 6, "min": 3, "max": 8, "step": 1, "group": "Profile", "label": "Sides"}, "length": {"type": "float", "default": 96.7, "min": 29.0, "max": 290.1, "step": 5.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328618 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"circ_r\": {\"type\": 'float', \"default\": 11.61, \"min\": 5.8, \"max\": 23.2, \"step\": 1.0, \"group\": 'Profile', \"label\": 'Circumscribed radius (mm)'},\n    \"n_sides\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Profile', \"label\": 'Sides'},\n    \"length\": {\"type\": 'float', \"default\": 96.7, \"min\": 29.0, \"max\": 290.1, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').polygon(p[\"n_sides\"], p[\"circ_r\"] * 2).extrude(p[\"length\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462c9beb_0055", "family": "compound", "tier": 2, "seed": 1177328619, "symmetry": "none", "op_count": 5, "ir_hash": "24f6c44600e704bc", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 123000.0, "surface_area": 20100.0, "principal_moments": [44400000.0, 58199999.99999999, 75500000.0], "n_faces": 20, "n_edges": 47, "n_vertices": 30}, "dimensions": {"lines": ["Rectangular body, 65 \u00d7 54.5 \u00d7 36 mm (W\u00d7D\u00d7H).", "\u00d811.4 mm circular section attachment, 6 mm long, from right face with a \u00d86.9 mm bore.", "\u00d811.4 mm circular section attachment, 6 mm long, from back face with a \u00d86.9 mm bore.", "\u00d811.4 mm circular section attachment, 6 mm long, from left face with a \u00d86.9 mm bore.", "Four \u00d85.3 mm holes at the corners, 45.5 \u00d7 38.15 mm spacing."], "text": "Rectangular body, 65 \u00d7 54.5 \u00d7 36 mm (W\u00d7D\u00d7H). \u00d811.4 mm circular section attachment, 6 mm long, from right face with a \u00d86.9 mm bore. \u00d811.4 mm circular section attachment, 6 mm long, from back face with a \u00d86.9 mm bore. \u00d811.4 mm circular section attachment, 6 mm long, from left face with a \u00d86.9 mm bore. Four \u00d85.3 mm holes at the corners, 45.5 \u00d7 38.15 mm spacing."}, "params": {"block_w": {"type": "float", "default": 65, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body width (mm)"}, "block_d": {"type": "float", "default": 54.5, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body depth (mm)"}, "block_h": {"type": "float", "default": 36.0, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body height (mm)"}, "port_d": {"type": "float", "default": 11.4, "min": 4.6, "max": 16.2, "step": 1.0, "group": "Ports", "label": "Ports diameter (mm)"}, "port_len": {"type": "float", "default": 6.0, "min": 2.9, "max": 34.2, "step": 1.0, "group": "Ports", "label": "Port boss length (mm)"}, "port_bore": {"type": "float", "default": 6.9, "min": 2.0, "max": 8.2, "step": 0.5, "group": "Ports", "label": "Port bore diameter (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 12.3, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328619 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 65, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 54.5, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 36.0, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body height (mm)'},\n    \"port_d\": {\"type\": 'float', \"default\": 11.4, \"min\": 4.6, \"max\": 16.2, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Ports diameter (mm)'},\n    \"port_len\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.9, \"max\": 34.2, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Port boss length (mm)'},\n    \"port_bore\": {\"type\": 'float', \"default\": 6.9, \"min\": 2.0, \"max\": 8.2, \"step\": 0.5, \"group\": 'Ports', \"label\": 'Port bore diameter (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 12.3, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462c9bec_0056", "family": "threaded", "tier": 2, "seed": 1177328620, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "c995ecd952287429", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 11600.0, "surface_area": 4230.0, "principal_moments": [688000.0, 1310000.0, 1320000.0], "n_faces": 70, "n_edges": 176, "n_vertices": 108}, "dimensions": {"lines": ["Tr 24x5 external thread, 32.5 mm long."], "text": "Tr 24x5 external thread, 32.5 mm long."}, "params": {"thread_size": {"type": "enum", "default": "24x5", "choices": ["8x1.5", "10x2", "12x3", "14x3", "16x4", "18x4", "20x4", "24x5", "28x5", "30x6", "36x6", "40x7"], "group": "Thread", "label": "Size designation"}, "thread_len": {"type": "float", "default": 32.5, "min": 13.0, "max": 65.0, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328620 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"thread_size\": {\"type\": 'enum', \"default\": '24x5', \"choices\": ['8x1.5', '10x2', '12x3', '14x3', '16x4', '18x4', '20x4', '24x5', '28x5', '30x6', '36x6', '40x7'], \"group\": 'Thread', \"label\": 'Size designation'},\n    \"thread_len\": {\"type\": 'float', \"default\": 32.5, \"min\": 13.0, \"max\": 65.0, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.MetricTrapezoidalThread(size=p[\"thread_size\"], length=p[\"thread_len\"], external=True, end_finishes=(\"fade\", \"fade\"))\n    _r = _thr.min_radius if hasattr(_thr, 'min_radius') else _thr.root_radius\n    _shank = _bd.Cylinder(radius=_r, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = _shank + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462c9bed_0057", "family": "bracket", "tier": 2, "seed": 1177328621, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "0355bdb786e9fb8f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 29800.0, "surface_area": 11600.0, "principal_moments": [8680000.0, 13499999.999999998, 16599999.999999998], "n_faces": 14, "n_edges": 37, "n_vertices": 24}, "dimensions": {"lines": ["L-bracket: base leg 48.35 mm, vertical leg 52.3 mm, 50 mm wide, 6 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 7.2 mm corner gusset."], "text": "L-bracket: base leg 48.35 mm, vertical leg 52.3 mm, 50 mm wide, 6 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 7.2 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 48.35, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 52.3, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 50, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 6.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 7.2, "min": 3.0, "max": 18.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328621 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 48.35, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 52.3, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 50, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 7.2, \"min\": 3.0, \"max\": 18.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462c9bee_0058", "family": "enclosure", "tier": 2, "seed": 1177328622, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "06a42190292b5c8d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 43300.0, "surface_area": 19000.0, "principal_moments": [16099999.999999998, 19600000.0, 25299999.999999996], "n_faces": 19, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 55 \u00d7 30.6 \u00d7 51.8 mm (W\u00d7D\u00d7H).", "Hollowed to 5.1 mm wall thickness, open at top face.", "Four \u00d83.2 mm holes at the corners, 38.5 \u00d7 21.42 mm spacing."], "text": "Rectangular body, 55 \u00d7 30.6 \u00d7 51.8 mm (W\u00d7D\u00d7H). Hollowed to 5.1 mm wall thickness, open at top face. Four \u00d83.2 mm holes at the corners, 38.5 \u00d7 21.42 mm spacing."}, "params": {"enc_w": {"type": "float", "default": 55, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 30.6, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 51.8, "min": 20.7, "max": 103.6, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 5.1, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 6.9, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328622 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 55, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 30.6, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 51.8, \"min\": 20.7, \"max\": 103.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 5.1, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 6.9, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"enc_w\"] * 0.7, p[\"enc_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462c9bef_0059", "family": "bracket", "tier": 1, "seed": 1177328623, "symmetry": "none", "op_count": 1, "ir_hash": "23cc0ceb01c47c28", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 41900.0, "surface_area": 16300.0, "principal_moments": [19200000.0, 22300000.0, 25599999.999999996], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["C-channel bracket: base leg 47.62 mm, vertical leg 44 mm, 56.7 mm wide, 6 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."], "text": "C-channel bracket: base leg 47.62 mm, vertical leg 44 mm, 56.7 mm wide, 6 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 47.62, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 44.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 56.7, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 6.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328623 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 47.62, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 44.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 56.7, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462c9bf0_0060", "family": "gear", "tier": 0, "seed": 1177328624, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "f4eb4562e996ee12", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 198000.0, "surface_area": 30600.0, "principal_moments": [127000000.0, 127000000.0, 227000000.0], "n_faces": 116, "n_edges": 342, "n_vertices": 228}, "dimensions": {"lines": ["Spur gear, module 5 mm, 19 teeth (pitch \u00d895 mm), face width 28.4 mm."], "text": "Spur gear, module 5 mm, 19 teeth (pitch \u00d895 mm), face width 28.4 mm."}, "params": {"module": {"type": "float", "default": 5.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 19, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 28.4, "min": 11.4, "max": 71.0, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328624 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 5.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 19, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 28.4, \"min\": 11.4, \"max\": 71.0, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462c9bf1_0061", "family": "bracket", "tier": 1, "seed": 1177328625, "symmetry": "none", "op_count": 1, "ir_hash": "fd87879f9104739f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 20100.0, "surface_area": 8730.0, "principal_moments": [4800000.0, 16499999.999999998, 19200000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["L-bracket: base leg 65 mm, vertical leg 75.6 mm, 25 mm wide, 6 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."], "text": "L-bracket: base leg 65 mm, vertical leg 75.6 mm, 25 mm wide, 6 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 65, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 75.6, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 25, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 6.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328625 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 65, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 75.6, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 25, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462c9bf2_0062", "family": "flanged", "tier": 2, "seed": 1177328626, "symmetry": "mirror_xy", "op_count": 3, "ir_hash": "c465e7130d202d14", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 228000.0, "surface_area": 45200.0, "principal_moments": [224000000.0, 224000000.0, 366000000.0], "n_faces": 22, "n_edges": 47, "n_vertices": 28}, "dimensions": {"lines": ["Revolved body, \u00d870 mm \u00d7 43.7 mm tall with \u00d827 mm bore, \u00d8140.8 mm \u00d7 7.4 mm flange.", "Six \u00d86.4 mm holes on a \u00d884.4 mm bolt circle.", "Chamfer 0.5 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d870 mm \u00d7 43.7 mm tall with \u00d827 mm bore, \u00d8140.8 mm \u00d7 7.4 mm flange. Six \u00d86.4 mm holes on a \u00d884.4 mm bolt circle. Chamfer 0.5 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 70, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 43.7, "min": 13.1, "max": 109.2, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 27.0, "min": 2.0, "max": 49.0, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 140.8, "min": 91.0, "max": 210.0, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 7.4, "min": 2.2, "max": 17.5, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 42.2, "min": 28.2, "max": 63.4, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 6, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}, "end_chamfer": {"type": "float", "default": 0.5, "min": 0.1, "max": 2.0, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328626 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 70, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 43.7, \"min\": 13.1, \"max\": 109.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 27.0, \"min\": 2.0, \"max\": 49.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 140.8, \"min\": 91.0, \"max\": 210.0, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 7.4, \"min\": 2.2, \"max\": 17.5, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 42.2, \"min\": 28.2, \"max\": 63.4, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.5, \"min\": 0.1, \"max\": 2.0, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462c9bf3_0063", "family": "bracket", "tier": 2, "seed": 1177328627, "symmetry": "none", "op_count": 1, "ir_hash": "bf6f7c4edc6bbdad", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 25800.0, "surface_area": 10500.0, "principal_moments": [5500000.0, 11399999.999999998, 15199999.999999998], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Z-bracket: base leg 37.88 mm, vertical leg 28.8 mm, top leg 40.1 mm, 46.12 mm wide, 6 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg; 6.7 mm corner gusset."], "text": "Z-bracket: base leg 37.88 mm, vertical leg 28.8 mm, top leg 40.1 mm, 46.12 mm wide, 6 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg; 6.7 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 37.88, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 28.8, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 46.12, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 6.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 40.1, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}, "gusset_t": {"type": "float", "default": 6.7, "min": 3.0, "max": 18.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328627 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 37.88, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 28.8, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 46.12, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 40.1, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 6.7, \"min\": 3.0, \"max\": 18.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _tl, _vl) * 0.4 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(0, _vl - _bt).lineTo(-_g, _vl - _bt)\n                    .lineTo(0, _vl - _bt - _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9bf4_0064", "family": "plate", "tier": 0, "seed": 1177328628, "symmetry": "none", "op_count": 1, "ir_hash": "258d9f6a812fcd57", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 113000.0, "surface_area": 23400.0, "principal_moments": [78000000.0, 102000000.0, 178000000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 103.75 \u00d7 90.4 \u00d7 12 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 103.75 \u00d7 90.4 \u00d7 12 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 103.75, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 90.4, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328628 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 103.75, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 90.4, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462c9bf5_0065", "family": "ribbed", "tier": 1, "seed": 1177328629, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "b07ffd645936a98f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 34200.0, "surface_area": 23400.0, "principal_moments": [11000000.0, 17200000.0, 24999999.999999996], "n_faces": 54, "n_edges": 132, "n_vertices": 80}, "dimensions": {"lines": ["Rectangular body, 76.68 \u00d7 48.8 \u00d7 3 mm (W\u00d7D\u00d7H).", "Six ribs, 3.3 mm thick, 18.9 mm tall."], "text": "Rectangular body, 76.68 \u00d7 48.8 \u00d7 3 mm (W\u00d7D\u00d7H). Six ribs, 3.3 mm thick, 18.9 mm tall."}, "params": {"base_w": {"type": "float", "default": 76.68, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 48.8, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 3.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 6, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 18.9, "min": 7.6, "max": 37.8, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 3.3, "min": 1.0, "max": 8.2, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328629 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 76.68, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 48.8, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 6, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 18.9, \"min\": 7.6, \"max\": 37.8, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 3.3, \"min\": 1.0, \"max\": 8.2, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462c9bf6_0066", "family": "gear", "tier": 0, "seed": 1177328630, "symmetry": "none", "op_count": 1, "ir_hash": "7b4a265bbf5f7eed", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 5220.0, "surface_area": 3170.0, "principal_moments": [439000.0, 439000.0, 854000.0], "n_faces": 146, "n_edges": 432, "n_vertices": 288}, "dimensions": {"lines": ["Spur gear, module 1.5 mm, 24 teeth (pitch \u00d836 mm), face width 5.2 mm."], "text": "Spur gear, module 1.5 mm, 24 teeth (pitch \u00d836 mm), face width 5.2 mm."}, "params": {"module": {"type": "float", "default": 1.5, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 24, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 5.2, "min": 2.1, "max": 13.0, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328630 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 1.5, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 24, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 5.2, \"min\": 2.1, \"max\": 13.0, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462c9bf7_0067", "family": "compound", "tier": 3, "seed": 1177328631, "symmetry": "mirror_xy", "op_count": 4, "ir_hash": "7e6914b36823ad1a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 71700.0, "surface_area": 15300.0, "principal_moments": [10700000.0, 63499999.99999999, 63499999.99999999], "n_faces": 17, "n_edges": 37, "n_vertices": 24}, "dimensions": {"lines": ["\u00d836.63 mm circular section, extruded 54.7 mm thick.", "\u00d821.4 mm circular section attachment, 49 mm long, from top face.", "8-sided polygon section, 15.2 mm across corners attachment, 16.6 mm long, from top face with a \u00d88.1 mm bore.", "Chamfer 1.3 mm on bottom edges."], "text": "\u00d836.63 mm circular section, extruded 54.7 mm thick. \u00d821.4 mm circular section attachment, 49 mm long, from top face. 8-sided polygon section, 15.2 mm across corners attachment, 16.6 mm long, from top face with a \u00d88.1 mm bore. Chamfer 1.3 mm on bottom edges."}, "params": {"shaft_d": {"type": "float", "default": 36.63, "min": 18.3, "max": 65.9, "step": 1.0, "group": "Body", "label": "Shaft diameter (mm)"}, "shaft_len": {"type": "float", "default": 54.7, "min": 21.9, "max": 109.4, "step": 1.0, "group": "Body", "label": "Shaft length (mm)"}, "step_d": {"type": "float", "default": 21.4, "min": 10.7, "max": 33.0, "step": 1.0, "group": "Step", "label": "Step diameter (mm)"}, "step_len": {"type": "float", "default": 49.0, "min": 14.7, "max": 122.5, "step": 1.0, "group": "Step", "label": "Step length (mm)"}, "head_sides": {"type": "int", "default": 8, "min": 3, "max": 8, "step": 1, "group": "Head", "label": "Drive head sides"}, "head_r": {"type": "float", "default": 7.6, "min": 4.6, "max": 10.3, "step": 1.0, "group": "Head", "label": "Drive head circumradius (mm)"}, "head_len": {"type": "float", "default": 16.6, "min": 5.0, "max": 33.2, "step": 1.0, "group": "Head", "label": "Drive head length (mm)"}, "axial_bore": {"type": "float", "default": 8.1, "min": 2.0, "max": 10.1, "step": 0.5, "group": "Bore", "label": "Axial bore diameter (mm)"}, "chamfer_d": {"type": "float", "default": 1.3, "min": 0.5, "max": 3.0, "step": 0.5, "group": "Body", "label": "Chamfer distance (mm)"}, "chamfered": {"type": "bool", "default": true, "group": "Body", "label": "Chamfer edges"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328631 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"shaft_d\": {\"type\": 'float', \"default\": 36.63, \"min\": 18.3, \"max\": 65.9, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft diameter (mm)'},\n    \"shaft_len\": {\"type\": 'float', \"default\": 54.7, \"min\": 21.9, \"max\": 109.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft length (mm)'},\n    \"step_d\": {\"type\": 'float', \"default\": 21.4, \"min\": 10.7, \"max\": 33.0, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step diameter (mm)'},\n    \"step_len\": {\"type\": 'float', \"default\": 49.0, \"min\": 14.7, \"max\": 122.5, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step length (mm)'},\n    \"head_sides\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Head', \"label\": 'Drive head sides'},\n    \"head_r\": {\"type\": 'float', \"default\": 7.6, \"min\": 4.6, \"max\": 10.3, \"step\": 1.0, \"group\": 'Head', \"label\": 'Drive head circumradius (mm)'},\n    \"head_len\": {\"type\": 'float', \"default\": 16.6, \"min\": 5.0, \"max\": 33.2, \"step\": 1.0, \"group\": 'Head', \"label\": 'Drive head length (mm)'},\n    \"axial_bore\": {\"type\": 'float', \"default\": 8.1, \"min\": 2.0, \"max\": 10.1, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Axial bore diameter (mm)'},\n    \"chamfer_d\": {\"type\": 'float', \"default\": 1.3, \"min\": 0.5, \"max\": 3.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Chamfer distance (mm)'},\n    \"chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Chamfer edges'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').circle(p[\"shaft_d\"] / 2).extrude(p[\"shaft_len\"]))\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"step_d\"] / 2).extrude(p[\"step_len\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"head_sides\"], p[\"head_r\"] * 2).extrude(p[\"head_len\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"axial_bore\"])\n    )\n    if p[\"chamfered\"]:\n        result = result.edges('<Z').chamfer(p[\"chamfer_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462c9bf8_0068", "family": "block", "tier": 1, "seed": 1177328632, "symmetry": "none", "op_count": 2, "ir_hash": "aa7309a1274596c2", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 13500.0, "surface_area": 4360.0, "principal_moments": [1240000.0, 1270000.0, 1910000.0], "n_faces": 11, "n_edges": 27, "n_vertices": 18}, "dimensions": {"lines": ["Rectangular body, 28.86 \u00d7 16.4 \u00d7 29.3 mm (W\u00d7D\u00d7H).", "Five \u00d81.7 mm holes in two staggered rows, 10.8 \u00d7 11.2 mm pitch."], "text": "Rectangular body, 28.86 \u00d7 16.4 \u00d7 29.3 mm (W\u00d7D\u00d7H). Five \u00d81.7 mm holes in two staggered rows, 10.8 \u00d7 11.2 mm pitch."}, "params": {"block_w": {"type": "float", "default": 28.86, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 16.4, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 29.3, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 1.7, "min": 2.0, "max": 1.6, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 3, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328632 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 28.86, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 16.4, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 29.3, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 1.7, \"min\": 2.0, \"max\": 1.6, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 3, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 10.8\n    _ssy = 11.2\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462c9bf9_0069", "family": "flanged", "tier": 1, "seed": 1177328633, "symmetry": "radial", "op_count": 2, "ir_hash": "b2f8b55d932c730b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 320000.0, "surface_area": 64600.0, "principal_moments": [490000000.0, 490000000.0, 512000000.0], "n_faces": 18, "n_edges": 45, "n_vertices": 30}, "dimensions": {"lines": ["Revolved body, \u00d865 mm \u00d7 84.3 mm tall with \u00d831.1 mm bore, \u00d8155.3 mm \u00d7 6.8 mm flange.", "Twelve \u00d85.3 mm holes on a \u00d893.2 mm bolt circle."], "text": "Revolved body, \u00d865 mm \u00d7 84.3 mm tall with \u00d831.1 mm bore, \u00d8155.3 mm \u00d7 6.8 mm flange. Twelve \u00d85.3 mm holes on a \u00d893.2 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 65, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 84.3, "min": 25.3, "max": 210.8, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 31.1, "min": 2.0, "max": 45.5, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 155.3, "min": 84.5, "max": 195.0, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 6.8, "min": 2.0, "max": 33.7, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 46.6, "min": 31.1, "max": 69.9, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 12, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328633 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 65, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 84.3, \"min\": 25.3, \"max\": 210.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 31.1, \"min\": 2.0, \"max\": 45.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 155.3, \"min\": 84.5, \"max\": 195.0, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 6.8, \"min\": 2.0, \"max\": 33.7, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 46.6, \"min\": 31.1, \"max\": 69.9, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 12, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462c9bfa_0070", "family": "swept", "tier": 1, "seed": 1177328634, "symmetry": "none", "op_count": 1, "ir_hash": "8dccfce32a0e0093", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 5460.0, "surface_area": 5840.0, "principal_moments": [723000.0, 6560000.0, 7100000.0], "n_faces": 3, "n_edges": 3, "n_vertices": 2}, "dimensions": {"lines": ["\u00d816.5 mm circular section swept along a curved path, ~110 mm span."], "text": "\u00d816.5 mm circular section swept along a curved path, ~110 mm span."}, "params": {"path_w": {"type": "float", "default": 75, "min": 37.5, "max": 135.0, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 110.0, "min": 55.0, "max": 198.0, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_d": {"type": "float", "default": 16.5, "min": 8.2, "max": 29.7, "step": 1.0, "group": "Section", "label": "Section diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328634 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 75, \"min\": 37.5, \"max\": 135.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 110.0, \"min\": 55.0, \"max\": 198.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_d\": {\"type\": 'float', \"default\": 16.5, \"min\": 8.2, \"max\": 29.7, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.3907, p[\"path_h\"] * 0.3611), (p[\"path_w\"] * 0.1961, p[\"path_h\"] * 0.7213), (p[\"path_w\"] * 0.2751, p[\"path_h\"] * 0.7711), (p[\"path_w\"] * 0.6031, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').circle(p[\"sweep_d\"] / 2).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462c9bfb_0071", "family": "swept", "tier": 1, "seed": 1177328635, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "210267e1154460dd", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 15300.0, "surface_area": 5090.0, "principal_moments": [821000.0, 7800000.0, 8310000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["17.9 \u00d7 10.9 mm rectangular section swept along a curved path, ~60 mm span."], "text": "17.9 \u00d7 10.9 mm rectangular section swept along a curved path, ~60 mm span."}, "params": {"path_w": {"type": "float", "default": 59.89, "min": 29.9, "max": 107.8, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 60, "min": 30.0, "max": 108.0, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_a": {"type": "float", "default": 17.9, "min": 8.9, "max": 32.2, "step": 1.0, "group": "Section", "label": "Section width (mm)"}, "sweep_b": {"type": "float", "default": 10.9, "min": 5.5, "max": 19.6, "step": 1.0, "group": "Section", "label": "Section depth (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328635 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 59.89, \"min\": 29.9, \"max\": 107.8, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 60, \"min\": 30.0, \"max\": 108.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_a\": {\"type\": 'float', \"default\": 17.9, \"min\": 8.9, \"max\": 32.2, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section width (mm)'},\n    \"sweep_b\": {\"type\": 'float', \"default\": 10.9, \"min\": 5.5, \"max\": 19.6, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section depth (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.0114, p[\"path_h\"] * 0.2592), (p[\"path_w\"] * 0.4248, p[\"path_h\"] * 0.4064), (p[\"path_w\"] * 0.4372, p[\"path_h\"] * 0.4139), (p[\"path_w\"] * 0.6751, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').rect(p[\"sweep_a\"], p[\"sweep_b\"]).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462c9bfc_0072", "family": "lofted", "tier": 1, "seed": 1177328636, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "285d093b7f066b7e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 98500.0, "surface_area": 16200.0, "principal_moments": [38800000.0, 38900000.0, 52299999.99999999], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["Lofted body through 2 sections: 67.45 \u00d7 67.45 mm rectangular section \u2192 6-sided polygon section, 37.5 mm across corners.", "One \u00d817.1 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 2 sections: 67.45 \u00d7 67.45 mm rectangular section \u2192 6-sided polygon section, 37.5 mm across corners. One \u00d817.1 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 67.45, "min": 33.7, "max": 107.9, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 37.5, "min": 15.0, "max": 80.9, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 43.2, "min": 17.3, "max": 86.4, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_bore_d": {"type": "float", "default": 17.1, "min": 2.0, "max": 30.0, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328636 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 67.45, \"min\": 33.7, \"max\": 107.9, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 37.5, \"min\": 15.0, \"max\": 80.9, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 43.2, \"min\": 17.3, \"max\": 86.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 17.1, \"min\": 2.0, \"max\": 30.0, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .rect(p[\"loft_base\"], p[\"loft_base\"])\n        .workplane(offset=p[\"loft_h\"])\n        .polygon(6, p[\"loft_top\"] * 0.5 * 2)\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462c9bfd_0073", "family": "threaded", "tier": 1, "seed": 1177328637, "symmetry": "none", "op_count": 1, "ir_hash": "f23acd843fc26be6", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 2960.0, "surface_area": 2220.0, "principal_moments": [96100.0, 194000.0, 194000.0], "n_faces": 159, "n_edges": 431, "n_vertices": 274}, "dimensions": {"lines": ["M8x1.25 internal thread, 24.4 mm long."], "text": "M8x1.25 internal thread, 24.4 mm long."}, "params": {"major_d": {"type": "float", "default": 8.0, "min": 4.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Major diameter (mm)"}, "pitch": {"type": "float", "default": 1.25, "min": 0.62, "max": 2.5, "step": 0.05, "group": "Thread", "label": "Pitch (mm)"}, "thread_len": {"type": "float", "default": 24.4, "min": 9.8, "max": 48.8, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328637 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 8.0, \"min\": 4.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Major diameter (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.25, \"min\": 0.62, \"max\": 2.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Pitch (mm)'},\n    \"thread_len\": {\"type\": 'float', \"default\": 24.4, \"min\": 9.8, \"max\": 48.8, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.IsoThread(major_diameter=p[\"major_d\"], pitch=p[\"pitch\"], length=p[\"thread_len\"], external=False, end_finishes=(\"fade\", \"fade\"))\n    _body = _bd.Cylinder(radius=(p[\"major_d\"]) * 0.9, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _bore = _bd.Cylinder(radius=(p[\"major_d\"]) / 2, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = (_body - _bore) + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462c9bfe_0074", "family": "flanged", "tier": 1, "seed": 1177328638, "symmetry": "radial", "op_count": 2, "ir_hash": "ef36e73a20d82ac8", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 682000.0, "surface_area": 93800.0, "principal_moments": [1180000000.0, 1690000000.0, 1690000000.0], "n_faces": 10, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["Revolved body, \u00d890 mm \u00d7 128.1 mm tall with \u00d848.1 mm bore, \u00d8159.6 mm \u00d7 7.3 mm flange.", "Four \u00d83.2 mm holes on a \u00d895.8 mm bolt circle."], "text": "Revolved body, \u00d890 mm \u00d7 128.1 mm tall with \u00d848.1 mm bore, \u00d8159.6 mm \u00d7 7.3 mm flange. Four \u00d83.2 mm holes on a \u00d895.8 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 90, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 128.1, "min": 38.4, "max": 320.2, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 48.1, "min": 2.0, "max": 63.0, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 159.6, "min": 117.0, "max": 270.0, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 7.3, "min": 2.2, "max": 51.2, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 47.9, "min": 31.9, "max": 71.8, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 4, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328638 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 90, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 128.1, \"min\": 38.4, \"max\": 320.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 48.1, \"min\": 2.0, \"max\": 63.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 159.6, \"min\": 117.0, \"max\": 270.0, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 7.3, \"min\": 2.2, \"max\": 51.2, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 47.9, \"min\": 31.9, \"max\": 71.8, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 4, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462c9bff_0075", "family": "flanged", "tier": 1, "seed": 1177328639, "symmetry": "radial", "op_count": 2, "ir_hash": "072261a53888a3bb", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 99200.0, "surface_area": 25700.0, "principal_moments": [51299999.99999999, 65499999.99999999, 65499999.99999999], "n_faces": 12, "n_edges": 27, "n_vertices": 18}, "dimensions": {"lines": ["Revolved body, \u00d845 mm \u00d7 62.8 mm tall with \u00d821.4 mm bore, \u00d888.9 mm \u00d7 4.8 mm flange.", "Six \u00d83.2 mm holes on a \u00d853.4 mm bolt circle."], "text": "Revolved body, \u00d845 mm \u00d7 62.8 mm tall with \u00d821.4 mm bore, \u00d888.9 mm \u00d7 4.8 mm flange. Six \u00d83.2 mm holes on a \u00d853.4 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 45, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 62.8, "min": 18.8, "max": 157.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 21.4, "min": 2.0, "max": 31.5, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 88.9, "min": 58.5, "max": 135.0, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 4.8, "min": 1.4, "max": 25.1, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 26.7, "min": 17.8, "max": 40.0, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 6, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328639 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 45, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 62.8, \"min\": 18.8, \"max\": 157.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 21.4, \"min\": 2.0, \"max\": 31.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 88.9, \"min\": 58.5, \"max\": 135.0, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 4.8, \"min\": 1.4, \"max\": 25.1, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 26.7, \"min\": 17.8, \"max\": 40.0, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462c9c00_0076", "family": "sketched", "tier": 1, "seed": 1177328640, "symmetry": "none", "op_count": 1, "ir_hash": "a8d0b75063604da7", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 41100.0, "surface_area": 12600.0, "principal_moments": [8480000.0, 8480000.0, 13799999.999999998], "n_faces": 6, "n_edges": 9, "n_vertices": 5}, "dimensions": {"lines": ["Revolved organic body from a freeform sketched section (6 segments: 5 straight, 1 arc), ~30.845 \u00d7 25 mm half-silhouette."], "text": "Revolved organic body from a freeform sketched section (6 segments: 5 straight, 1 arc), ~30.845 \u00d7 25 mm half-silhouette."}, "params": {"sk_r": {"type": "float", "default": 35, "min": 17.5, "max": 63.0, "step": 1.0, "group": "Sketch", "label": "Max radius (mm)"}, "sk_h": {"type": "float", "default": 25, "min": 12.5, "max": 45.0, "step": 1.0, "group": "Sketch", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328640 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_r\": {\"type\": 'float', \"default\": 35, \"min\": 17.5, \"max\": 63.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Max radius (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 25, \"min\": 12.5, \"max\": 45.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XZ').moveTo(p[\"sk_r\"] * 0.1341, p[\"sk_h\"] * 0.0).threePointArc((p[\"sk_r\"] * 0.474, p[\"sk_h\"] * 0.1616), (p[\"sk_r\"] * 0.8813, p[\"sk_h\"] * 0.3231)).lineTo(p[\"sk_r\"] * 0.1806, p[\"sk_h\"] * 0.3321).lineTo(p[\"sk_r\"] * 0.8019, p[\"sk_h\"] * 0.5585).lineTo(p[\"sk_r\"] * 0.7663, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.0, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.0, p[\"sk_h\"] * 0.0).close().revolve())\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9c01_0077", "family": "plate", "tier": 1, "seed": 1177328641, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "7d881ec30aa24d92", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 20300.0, "surface_area": 6310.0, "principal_moments": [1280000.0, 8400000.0, 9200000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 70 \u00d7 25 \u00d7 12 mm (W\u00d7D\u00d7H).", "Four \u00d84.3 mm holes at the corners, 49 \u00d7 17.5 mm spacing."], "text": "Rectangular body, 70 \u00d7 25 \u00d7 12 mm (W\u00d7D\u00d7H). Four \u00d84.3 mm holes at the corners, 49 \u00d7 17.5 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 70, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 25.0, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 5.6, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328641 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 70, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 25.0, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 5.6, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462c9c02_0078", "family": "block", "tier": 2, "seed": 1177328642, "symmetry": "none", "op_count": 3, "ir_hash": "08c05eea9011805d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 281000.0, "surface_area": 32800.0, "principal_moments": [179000000.0, 265000000.0, 386000000.0], "n_faces": 19, "n_edges": 48, "n_vertices": 32}, "dimensions": {"lines": ["Rectangular body, 80 \u00d7 35.5 \u00d7 100 mm (W\u00d7D\u00d7H).", "Five \u00d83.2 mm holes in two staggered rows, 30 \u00d7 33.2 mm pitch.", "Boss \u00d813.6 mm \u00d7 7.5 mm tall on top face with a \u00d83.2 mm bore."], "text": "Rectangular body, 80 \u00d7 35.5 \u00d7 100 mm (W\u00d7D\u00d7H). Five \u00d83.2 mm holes in two staggered rows, 30 \u00d7 33.2 mm pitch. Boss \u00d813.6 mm \u00d7 7.5 mm tall on top face with a \u00d83.2 mm bore."}, "params": {"block_w": {"type": "float", "default": 80, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 35.5, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 100.0, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 3.6, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 3, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}, "boss_d": {"type": "float", "default": 13.6, "min": 6.8, "max": 27.2, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 7.5, "min": 3.0, "max": 18.8, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}, "boss_bore_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 9.5, "step": 0.1, "group": "Boss", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328642 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 80, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 35.5, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 100.0, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 3.6, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 3, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n    \"boss_d\": {\"type\": 'float', \"default\": 13.6, \"min\": 6.8, \"max\": 27.2, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 7.5, \"min\": 3.0, \"max\": 18.8, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n    \"boss_bore_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 9.5, \"step\": 0.1, \"group\": 'Boss', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 30.0\n    _ssy = 33.2\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .hole(p[\"boss_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462c9c03_0079", "family": "bracket", "tier": 3, "seed": 1177328643, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "cf090e4f19436591", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 39800.0, "surface_area": 15700.0, "principal_moments": [12799999.999999998, 26599999.999999996, 33900000.0], "n_faces": 22, "n_edges": 54, "n_vertices": 36}, "dimensions": {"lines": ["Z-bracket: base leg 48.94 mm, vertical leg 43.9 mm, top leg 39.3 mm, 55 mm wide, 6 mm thick; 2 \u00d7 \u00d84.3 mm holes per leg; 5.6 mm corner gusset."], "text": "Z-bracket: base leg 48.94 mm, vertical leg 43.9 mm, top leg 39.3 mm, 55 mm wide, 6 mm thick; 2 \u00d7 \u00d84.3 mm holes per leg; 5.6 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 48.94, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 43.9, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 55, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 6.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 39.3, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 2, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}, "gusset_t": {"type": "float", "default": 5.6, "min": 3.0, "max": 18.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328643 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 48.94, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 43.9, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 55, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 39.3, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 2, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 5.6, \"min\": 3.0, \"max\": 18.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _tl, _vl) * 0.4 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(0, _vl - _bt).lineTo(-_g, _vl - _bt)\n                    .lineTo(0, _vl - _bt - _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462c9c04_0080", "family": "revolved", "tier": 0, "seed": 1177328644, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "68599d36ec9fbc1a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 143000.0, "surface_area": 32800.0, "principal_moments": [36000000.0, 243000000.0, 243000000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d840.97 mm \u00d7 162.7 mm tall."], "text": "Revolved body, \u00d840.97 mm \u00d7 162.7 mm tall."}, "params": {"outer_d": {"type": "float", "default": 40.97, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 162.7, "min": 48.8, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328644 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 40.97, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 162.7, \"min\": 48.8, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462c9c05_0081", "family": "revolved", "tier": 1, "seed": 1177328645, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "4c39a51f7a6bc64b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 49300.0, "surface_area": 14900.0, "principal_moments": [7360000.0, 29799999.999999996, 29799999.999999996], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d831.56 mm \u00d7 94.5 mm tall."], "text": "Revolved body, \u00d831.56 mm \u00d7 94.5 mm tall."}, "params": {"outer_d": {"type": "float", "default": 31.56, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 94.5, "min": 28.3, "max": 283.5, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328645 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 31.56, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 94.5, \"min\": 28.3, \"max\": 283.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462c9c06_0082", "family": "gear", "tier": 1, "seed": 1177328646, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "67c95dca2177ffec", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 4050.0, "surface_area": 2470.0, "principal_moments": [219000.0, 219000.0, 403000.0], "n_faces": 135, "n_edges": 399, "n_vertices": 266}, "dimensions": {"lines": ["Spur gear, module 1.25 mm, 22 teeth (pitch \u00d827.5 mm), face width 7.2 mm, \u00d85.3 mm bore."], "text": "Spur gear, module 1.25 mm, 22 teeth (pitch \u00d827.5 mm), face width 7.2 mm, \u00d85.3 mm bore."}, "params": {"module": {"type": "float", "default": 1.25, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 22, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 7.2, "min": 2.9, "max": 18.0, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "bore_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 14.6, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328646 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 1.25, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 22, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 7.2, \"min\": 2.9, \"max\": 18.0, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 14.6, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462c9c07_0083", "family": "block", "tier": 2, "seed": 1177328647, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "52adcf24096e006c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 19200.0, "surface_area": 6500.0, "principal_moments": [1760000.0, 2990000.0, 3110000.0], "n_faces": 14, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 25 \u00d7 23.3 \u00d7 36.8 mm (W\u00d7D\u00d7H).", "Four \u00d84.3 mm holes at the corners, 17.5 \u00d7 16.31 mm spacing.", "Fillet radius 1.462 mm on vertical edges."], "text": "Rectangular body, 25 \u00d7 23.3 \u00d7 36.8 mm (W\u00d7D\u00d7H). Four \u00d84.3 mm holes at the corners, 17.5 \u00d7 16.31 mm spacing. Fillet radius 1.462 mm on vertical edges."}, "params": {"block_w": {"type": "float", "default": 25, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 23.3, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 36.8, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 5.2, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328647 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 25, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 23.3, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 36.8, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 5.2, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"block_w\"], p[\"block_d\"]) * 0.06275747806810165)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462c9c08_0084", "family": "compound", "tier": 3, "seed": 1177328648, "symmetry": "mirror_xy", "op_count": 5, "ir_hash": "aa09241f61c2eee2", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 59100.0, "surface_area": 21700.0, "principal_moments": [36800000.0, 45200000.0, 56599999.99999999], "n_faces": 29, "n_edges": 65, "n_vertices": 39}, "dimensions": {"lines": ["Rectangular body, 100 \u00d7 86.1 \u00d7 5 mm (W\u00d7D\u00d7H).", "\u00d822.2 mm circular section attachment, 49 mm long, from top face.", "Four \u00d85.3 mm holes at the corners, 70 \u00d7 60.27 mm spacing.", "Fillet radius 7.126 mm on vertical edges.", "Chamfer 3 mm on the >Z or <Z edges."], "text": "Rectangular body, 100 \u00d7 86.1 \u00d7 5 mm (W\u00d7D\u00d7H). \u00d822.2 mm circular section attachment, 49 mm long, from top face. Four \u00d85.3 mm holes at the corners, 70 \u00d7 60.27 mm spacing. Fillet radius 7.126 mm on vertical edges. Chamfer 3 mm on the >Z or <Z edges."}, "params": {"base_w": {"type": "float", "default": 100, "min": 30.0, "max": 160.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 86.1, "min": 25.0, "max": 160.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_h": {"type": "float", "default": 5.0, "min": 3.0, "max": 30.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "col_d": {"type": "float", "default": 22.2, "min": 8.9, "max": 43.0, "step": 1.0, "group": "Column", "label": "Column diameter (mm)"}, "col_h": {"type": "float", "default": 49.0, "min": 14.7, "max": 147.0, "step": 1.0, "group": "Column", "label": "Column height (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}, "chamfer_d": {"type": "float", "default": 3.0, "min": 0.5, "max": 3.0, "step": 0.5, "group": "Body", "label": "Chamfer distance (mm)"}, "chamfered": {"type": "bool", "default": true, "group": "Body", "label": "Chamfer edges"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328648 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 100, \"min\": 30.0, \"max\": 160.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 86.1, \"min\": 25.0, \"max\": 160.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_h\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 30.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"col_d\": {\"type\": 'float', \"default\": 22.2, \"min\": 8.9, \"max\": 43.0, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column diameter (mm)'},\n    \"col_h\": {\"type\": 'float', \"default\": 49.0, \"min\": 14.7, \"max\": 147.0, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n    \"chamfer_d\": {\"type\": 'float', \"default\": 3.0, \"min\": 0.5, \"max\": 3.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Chamfer distance (mm)'},\n    \"chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Chamfer edges'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_h\"])\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"col_d\"] / 2).extrude(p[\"col_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"base_w\"] * 0.7, p[\"base_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"base_w\"], p[\"base_d\"]) * 0.08276442093188482)\n    if p[\"chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"chamfer_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462c9c09_0085", "family": "compound", "tier": 1, "seed": 1177328649, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "8bbf61312c398186", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 6260.0, "surface_area": 2780.0, "principal_moments": [351000.0, 460000.0, 460000.0], "n_faces": 6, "n_edges": 9, "n_vertices": 6}, "dimensions": {"lines": ["\u00d820.48 mm circular section, extruded 19.9 mm thick.", "\u00d811.6 mm circular section attachment, 8 mm long, from top face with a \u00d87.2 mm bore."], "text": "\u00d820.48 mm circular section, extruded 19.9 mm thick. \u00d811.6 mm circular section attachment, 8 mm long, from top face with a \u00d87.2 mm bore."}, "params": {"shaft_d": {"type": "float", "default": 20.48, "min": 10.2, "max": 36.9, "step": 1.0, "group": "Body", "label": "Shaft diameter (mm)"}, "shaft_len": {"type": "float", "default": 19.9, "min": 8.0, "max": 39.8, "step": 1.0, "group": "Body", "label": "Shaft length (mm)"}, "step_d": {"type": "float", "default": 11.6, "min": 5.8, "max": 18.4, "step": 1.0, "group": "Step", "label": "Step diameter (mm)"}, "step_len": {"type": "float", "default": 8.0, "min": 2.4, "max": 20.0, "step": 1.0, "group": "Step", "label": "Step length (mm)"}, "axial_bore": {"type": "float", "default": 7.2, "min": 2.0, "max": 8.4, "step": 0.5, "group": "Bore", "label": "Axial bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328649 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"shaft_d\": {\"type\": 'float', \"default\": 20.48, \"min\": 10.2, \"max\": 36.9, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft diameter (mm)'},\n    \"shaft_len\": {\"type\": 'float', \"default\": 19.9, \"min\": 8.0, \"max\": 39.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft length (mm)'},\n    \"step_d\": {\"type\": 'float', \"default\": 11.6, \"min\": 5.8, \"max\": 18.4, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step diameter (mm)'},\n    \"step_len\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.4, \"max\": 20.0, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step length (mm)'},\n    \"axial_bore\": {\"type\": 'float', \"default\": 7.2, \"min\": 2.0, \"max\": 8.4, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Axial bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').circle(p[\"shaft_d\"] / 2).extrude(p[\"shaft_len\"]))\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"step_d\"] / 2).extrude(p[\"step_len\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"axial_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462c9c0a_0086", "family": "block", "tier": 1, "seed": 1177328650, "symmetry": "none", "op_count": 2, "ir_hash": "e8c2631c60a4494a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 313000.0, "surface_area": 35600.0, "principal_moments": [199000000.0, 285000000.0, 379000000.0], "n_faces": 22, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 95 \u00d7 45.2 \u00d7 74.8 mm (W\u00d7D\u00d7H).", "Four 5.2 mm square holes at the corners, 66.5 \u00d7 31.64 mm spacing."], "text": "Rectangular body, 95 \u00d7 45.2 \u00d7 74.8 mm (W\u00d7D\u00d7H). Four 5.2 mm square holes at the corners, 66.5 \u00d7 31.64 mm spacing."}, "params": {"block_w": {"type": "float", "default": 95, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 45.2, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 74.8, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 5.2, "min": 2.0, "max": 13.2, "step": 0.5, "group": "Holes", "label": "Square hole size (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328650 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 95, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 45.2, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 74.8, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.2, \"min\": 2.0, \"max\": 13.2, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Square hole size (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().rect(p[\"hole_d\"], p[\"hole_d\"]).cutThruAll()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462c9c0b_0087", "family": "profiled", "tier": 2, "seed": 1177328651, "symmetry": "none", "op_count": 1, "ir_hash": "51ac2fa92033513a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 266000.0, "surface_area": 39600.0, "principal_moments": [53799999.99999999, 2000000000.0, 2040000000.0], "n_faces": 8, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["freeform sketched section (6 segments: 2 straight, 2 arcs, 2 curves), ~56.304 \u00d7 22.6 mm, extruded 300 mm thick."], "text": "freeform sketched section (6 segments: 2 straight, 2 arcs, 2 curves), ~56.304 \u00d7 22.6 mm, extruded 300 mm thick."}, "params": {"sk_w": {"type": "float", "default": 60.0, "min": 30.0, "max": 108.0, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 25.47, "min": 12.7, "max": 45.8, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "length": {"type": "float", "default": 300.0, "min": 90.0, "max": 900.0, "step": 5.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328651 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 60.0, \"min\": 30.0, \"max\": 108.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 25.47, \"min\": 12.7, \"max\": 45.8, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 300.0, \"min\": 90.0, \"max\": 900.0, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.4827, p[\"sk_h\"] * 0.0099).threePointArc((p[\"sk_w\"] * 0.3729, p[\"sk_h\"] * 0.2676), (p[\"sk_w\"] * 0.1216, p[\"sk_h\"] * 0.4322)).threePointArc((p[\"sk_w\"] * -0.0661, p[\"sk_h\"] * 0.4456), (p[\"sk_w\"] * -0.2337, p[\"sk_h\"] * 0.3336)).spline([(p[\"sk_w\"] * -0.2337, p[\"sk_h\"] * 0.3336), (p[\"sk_w\"] * -0.3586, p[\"sk_h\"] * 0.2341), (p[\"sk_w\"] * -0.4557, p[\"sk_h\"] * 0.1073)]).spline([(p[\"sk_w\"] * -0.4557, p[\"sk_h\"] * 0.1073), (p[\"sk_w\"] * -0.357, p[\"sk_h\"] * -0.199), (p[\"sk_w\"] * -0.1623, p[\"sk_h\"] * -0.4551)]).lineTo(p[\"sk_w\"] * 0.2585, p[\"sk_h\"] * -0.287).lineTo(p[\"sk_w\"] * 0.4827, p[\"sk_h\"] * 0.0099).close().extrude(p[\"length\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462c9c0c_0088", "family": "tapped", "tier": 3, "seed": 1177328652, "symmetry": "none", "op_count": 1, "ir_hash": "809c4b18415fb226", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 48000.0, "surface_area": 12800.0, "principal_moments": [13699999.999999998, 26499999.999999996, 39400000.0], "n_faces": 490, "n_edges": 1344, "n_vertices": 856}, "dimensions": {"lines": ["Four M4x0.7 tapped holes in a plate."], "text": "Four M4x0.7 tapped holes in a plate."}, "params": {"major_d": {"type": "float", "default": 4.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 0.7, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 10.4, "min": 4.8, "max": 18.7, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "plate_w": {"type": "float", "default": 80.71, "min": 48.4, "max": 129.1, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 57.7, "min": 34.6, "max": 92.3, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328652 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 4.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 0.7, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 10.4, \"min\": 4.8, \"max\": 18.7, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"plate_w\": {\"type\": 'float', \"default\": 80.71, \"min\": 48.4, \"max\": 129.1, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 57.7, \"min\": 34.6, \"max\": 92.3, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n}\n\n\ndef build(p):\n\n    _W, _D, _H = p[\"plate_w\"], p[\"plate_d\"], p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Box(_W, _D, _H)\n    _sx, _sy = p[\"plate_w\"] * 0.6, p[\"plate_d\"] * 0.6\n    _locs = [(_xx, _yy) for _xx in (-_sx / 2, _sx / 2) for _yy in (-_sy / 2, _sy / 2)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462c9c0d_0089", "family": "profiled", "tier": 0, "seed": 1177328653, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "7fae1fed77542621", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 250000.0, "surface_area": 30800.0, "principal_moments": [52099999.99999999, 859000000.0, 859000000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["4-sided polygon section, 50 mm across corners, extruded 200 mm thick."], "text": "4-sided polygon section, 50 mm across corners, extruded 200 mm thick."}, "params": {"circ_r": {"type": "float", "default": 25.0, "min": 12.5, "max": 50.0, "step": 1.0, "group": "Profile", "label": "Circumscribed radius (mm)"}, "n_sides": {"type": "int", "default": 4, "min": 3, "max": 8, "step": 1, "group": "Profile", "label": "Sides"}, "length": {"type": "float", "default": 200.0, "min": 60.0, "max": 600.0, "step": 5.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328653 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"circ_r\": {\"type\": 'float', \"default\": 25.0, \"min\": 12.5, \"max\": 50.0, \"step\": 1.0, \"group\": 'Profile', \"label\": 'Circumscribed radius (mm)'},\n    \"n_sides\": {\"type\": 'int', \"default\": 4, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Profile', \"label\": 'Sides'},\n    \"length\": {\"type\": 'float', \"default\": 200.0, \"min\": 60.0, \"max\": 600.0, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').polygon(p[\"n_sides\"], p[\"circ_r\"] * 2).extrude(p[\"length\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462c9c0e_0090", "family": "ribbed", "tier": 1, "seed": 1177328654, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "06c2cf27739dbfdd", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 41900.0, "surface_area": 15200.0, "principal_moments": [11499999.999999998, 24399999.999999996, 34200000.0], "n_faces": 30, "n_edges": 72, "n_vertices": 44}, "dimensions": {"lines": ["Rectangular body, 80 \u00d7 53.1 \u00d7 8 mm (W\u00d7D\u00d7H).", "Three ribs, 3.9 mm thick, 10.6 mm tall."], "text": "Rectangular body, 80 \u00d7 53.1 \u00d7 8 mm (W\u00d7D\u00d7H). Three ribs, 3.9 mm thick, 10.6 mm tall."}, "params": {"base_w": {"type": "float", "default": 80, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 53.1, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 8.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 3, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 10.6, "min": 4.2, "max": 21.2, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 3.9, "min": 1.0, "max": 9.8, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328654 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 80, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 53.1, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 3, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 10.6, \"min\": 4.2, \"max\": 21.2, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 3.9, \"min\": 1.0, \"max\": 9.8, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462c9c0f_0091", "family": "tapped", "tier": 1, "seed": 1177328655, "symmetry": "none", "op_count": 1, "ir_hash": "eb015ae9b2d574dd", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 1740.0, "surface_area": 1090.0, "principal_moments": [38500.0, 50600.0, 50600.0], "n_faces": 172, "n_edges": 468, "n_vertices": 298}, "dimensions": {"lines": ["One M4x0.7 tapped hole in a cylinder."], "text": "One M4x0.7 tapped hole in a cylinder."}, "params": {"major_d": {"type": "float", "default": 4.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 0.7, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 14.7, "min": 4.8, "max": 26.5, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "body_d": {"type": "float", "default": 12.8, "min": 7.2, "max": 20.5, "step": 1.0, "group": "Body", "label": "Outer \u00d8 (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328655 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 4.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 0.7, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 14.7, \"min\": 4.8, \"max\": 26.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"body_d\": {\"type\": 'float', \"default\": 12.8, \"min\": 7.2, \"max\": 20.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer \u00d8 (mm)'},\n}\n\n\ndef build(p):\n\n    _W = _D = p[\"body_d\"]\n    _H = p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Cylinder(radius=_W / 2, height=_H)\n    _locs = [(0.0, 0.0)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462c9c10_0092", "family": "enclosure", "tier": 1, "seed": 1177328656, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "6e388b8a3365f2b7", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 20000.0, "surface_area": 9260.0, "principal_moments": [3650000.0, 4230000.0, 6500000.0], "n_faces": 11, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 42.27 \u00d7 17.3 \u00d7 40.6 mm (W\u00d7D\u00d7H).", "Hollowed to 4.6 mm wall thickness, open at top face."], "text": "Rectangular body, 42.27 \u00d7 17.3 \u00d7 40.6 mm (W\u00d7D\u00d7H). Hollowed to 4.6 mm wall thickness, open at top face."}, "params": {"enc_w": {"type": "float", "default": 42.27, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 17.3, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 40.6, "min": 16.2, "max": 81.2, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 4.6, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328656 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 42.27, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 17.3, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 40.6, \"min\": 16.2, \"max\": 81.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 4.6, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462c9c11_0093", "family": "block", "tier": 2, "seed": 1177328657, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "e5a44f9a9ae4c49c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 9510.0, "surface_area": 5420.0, "principal_moments": [511000.0, 1330000.0, 1470000.0], "n_faces": 15, "n_edges": 48, "n_vertices": 32}, "dimensions": {"lines": ["Rectangular body, 20.06 \u00d7 15.1 \u00d7 40 mm (W\u00d7D\u00d7H).", "Four \u00d83.2 mm holes at the corners, 14.042 \u00d7 10.57 mm spacing.", "Pocket 12.2 \u00d7 8.7 mm, 12.5 mm deep, in top face."], "text": "Rectangular body, 20.06 \u00d7 15.1 \u00d7 40 mm (W\u00d7D\u00d7H). Four \u00d83.2 mm holes at the corners, 14.042 \u00d7 10.57 mm spacing. Pocket 12.2 \u00d7 8.7 mm, 12.5 mm deep, in top face."}, "params": {"block_w": {"type": "float", "default": 20.06, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 15.1, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 40.0, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 3.4, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "pocket_w": {"type": "float", "default": 12.2, "min": 6.1, "max": 16.0, "step": 1.0, "group": "Pocket", "label": "Pocket width (mm)"}, "pocket_d": {"type": "float", "default": 8.7, "min": 4.3, "max": 12.1, "step": 1.0, "group": "Pocket", "label": "Pocket depth (mm)"}, "pocket_h": {"type": "float", "default": 12.5, "min": 5.0, "max": 34.0, "step": 0.5, "group": "Pocket", "label": "Pocket height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328657 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 20.06, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 15.1, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 40.0, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 3.4, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"pocket_w\": {\"type\": 'float', \"default\": 12.2, \"min\": 6.1, \"max\": 16.0, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket width (mm)'},\n    \"pocket_d\": {\"type\": 'float', \"default\": 8.7, \"min\": 4.3, \"max\": 12.1, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket depth (mm)'},\n    \"pocket_h\": {\"type\": 'float', \"default\": 12.5, \"min\": 5.0, \"max\": 34.0, \"step\": 0.5, \"group\": 'Pocket', \"label\": 'Pocket height (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"pocket_w\"], p[\"pocket_d\"])\n        .cutBlind(-p[\"pocket_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462c9c12_0094", "family": "revolved", "tier": 2, "seed": 1177328658, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "f5d0bbb933843415", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 177000.0, "surface_area": 25300.0, "principal_moments": [113000000.0, 123000000.0, 123000000.0], "n_faces": 4, "n_edges": 6, "n_vertices": 4}, "dimensions": {"lines": ["Revolved body, \u00d865 mm \u00d7 67.4 mm tall with \u00d829.7 mm bore."], "text": "Revolved body, \u00d865 mm \u00d7 67.4 mm tall with \u00d829.7 mm bore."}, "params": {"outer_d": {"type": "float", "default": 65, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 67.4, "min": 20.2, "max": 202.2, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 29.7, "min": 2.0, "max": 45.5, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328658 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 65, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 67.4, \"min\": 20.2, \"max\": 202.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 29.7, \"min\": 2.0, \"max\": 45.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462c9c13_0095", "family": "tapped", "tier": 2, "seed": 1177328659, "symmetry": "none", "op_count": 1, "ir_hash": "bf6ef2bdefce6282", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 96300.0, "surface_area": 17400.0, "principal_moments": [35500000.0, 50999999.99999999, 80100000.0], "n_faces": 650, "n_edges": 1784, "n_vertices": 1136}, "dimensions": {"lines": ["Four M6x1 tapped holes in a plate."], "text": "Four M6x1 tapped holes in a plate."}, "params": {"major_d": {"type": "float", "default": 6.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 1.0, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 20.0, "min": 7.2, "max": 36.0, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "plate_w": {"type": "float", "default": 77.25, "min": 46.4, "max": 123.6, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 63.5, "min": 38.1, "max": 101.6, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328659 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.0, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 20.0, \"min\": 7.2, \"max\": 36.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"plate_w\": {\"type\": 'float', \"default\": 77.25, \"min\": 46.4, \"max\": 123.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 63.5, \"min\": 38.1, \"max\": 101.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n}\n\n\ndef build(p):\n\n    _W, _D, _H = p[\"plate_w\"], p[\"plate_d\"], p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Box(_W, _D, _H)\n    _sx, _sy = p[\"plate_w\"] * 0.6, p[\"plate_d\"] * 0.6\n    _locs = [(_xx, _yy) for _xx in (-_sx / 2, _sx / 2) for _yy in (-_sy / 2, _sy / 2)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462c9c14_0096", "family": "revolved", "tier": 2, "seed": 1177328660, "symmetry": "none", "op_count": 2, "ir_hash": "039c778f36fe38b3", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 499000.0, "surface_area": 61800.0, "principal_moments": [653000000.0, 653000000.0, 922000000.0], "n_faces": 11, "n_edges": 17, "n_vertices": 11}, "dimensions": {"lines": ["Revolved body, \u00d870 mm \u00d7 93.3 mm tall with \u00d8133.6 mm \u00d7 26 mm flange, 5.1 mm-wide groove 4.05 mm deep.", "Chamfer 1 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d870 mm \u00d7 93.3 mm tall with \u00d8133.6 mm \u00d7 26 mm flange, 5.1 mm-wide groove 4.05 mm deep. Chamfer 1 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 70, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 93.3, "min": 28.0, "max": 279.9, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "flange_d": {"type": "float", "default": 133.6, "min": 84.0, "max": 210.0, "step": 1.0, "group": "Body", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 26.0, "min": 7.8, "max": 46.6, "step": 0.5, "group": "Body", "label": "Flange height (mm)"}, "groove_depth": {"type": "float", "default": 4.05, "min": 1.62, "max": 12.15, "step": 0.1, "group": "Body", "label": "Groove depth (mm)"}, "groove_w": {"type": "float", "default": 5.1, "min": 2.04, "max": 15.3, "step": 0.2, "group": "Body", "label": "Groove width (mm)"}, "groove_pos": {"type": "float", "default": 63.0, "min": 14.0, "max": 79.3, "step": 1.0, "group": "Body", "label": "Groove position (mm)"}, "end_chamfer": {"type": "float", "default": 1.0, "min": 0.1, "max": 3.0, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328660 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 70, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 93.3, \"min\": 28.0, \"max\": 279.9, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 133.6, \"min\": 84.0, \"max\": 210.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 26.0, \"min\": 7.8, \"max\": 46.6, \"step\": 0.5, \"group\": 'Body', \"label\": 'Flange height (mm)'},\n    \"groove_depth\": {\"type\": 'float', \"default\": 4.05, \"min\": 1.62, \"max\": 12.15, \"step\": 0.1, \"group\": 'Body', \"label\": 'Groove depth (mm)'},\n    \"groove_w\": {\"type\": 'float', \"default\": 5.1, \"min\": 2.04, \"max\": 15.3, \"step\": 0.2, \"group\": 'Body', \"label\": 'Groove width (mm)'},\n    \"groove_pos\": {\"type\": 'float', \"default\": 63.0, \"min\": 14.0, \"max\": 79.3, \"step\": 1.0, \"group\": 'Body', \"label\": 'Groove position (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 1.0, \"min\": 0.1, \"max\": 3.0, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"groove_pos\"] - p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2 - p[\"groove_depth\"], p[\"groove_pos\"] - p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2 - p[\"groove_depth\"], p[\"groove_pos\"] + p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2, p[\"groove_pos\"] + p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9c15_0097", "family": "plate", "tier": 2, "seed": 1177328661, "symmetry": "none", "op_count": 2, "ir_hash": "df2c514ef79ce58c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 39400.0, "surface_area": 13600.0, "principal_moments": [9290000.0, 31499999.999999996, 40300000.0], "n_faces": 22, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 100 \u00d7 53.9 \u00d7 8 mm (W\u00d7D\u00d7H).", "Four 15.8 \u00d7 8.4 mm slots at the corners, 70 \u00d7 37.73 mm spacing."], "text": "Rectangular body, 100 \u00d7 53.9 \u00d7 8 mm (W\u00d7D\u00d7H). Four 15.8 \u00d7 8.4 mm slots at the corners, 70 \u00d7 37.73 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 100, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 53.9, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 8.4, "min": 2.0, "max": 12.1, "step": 0.5, "group": "Holes", "label": "Slot width (mm)"}, "hole_slot_len": {"type": "float", "default": 15.8, "min": 12.6, "max": 16.2, "step": 0.5, "group": "Holes", "label": "Slot length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328661 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 100, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 53.9, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 2.0, \"max\": 12.1, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Slot width (mm)'},\n    \"hole_slot_len\": {\"type\": 'float', \"default\": 15.8, \"min\": 12.6, \"max\": 16.2, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Slot length (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().slot2D(p[\"hole_slot_len\"], p[\"hole_d\"]).cutThruAll()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462c9c17_0099", "family": "revolved", "tier": 0, "seed": 1177328663, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "046c4fa69a2cf42e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 19800.0, "surface_area": 6290.0, "principal_moments": [3410000.0, 3410000.0, 6010000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d845.04 mm \u00d7 18.6 mm tall."], "text": "Revolved body, \u00d845.04 mm \u00d7 18.6 mm tall."}, "params": {"outer_d": {"type": "float", "default": 45.04, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 18.6, "min": 5.6, "max": 55.8, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328663 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 45.04, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 18.6, \"min\": 5.6, \"max\": 55.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462c9c18_0100", "family": "sketched", "tier": 0, "seed": 1177328664, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "7a8ecf9e8464532c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 15800.0, "surface_area": 3880.0, "principal_moments": [1330000.0, 1930000.0, 2210000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["freeform sketched section (4 segments: 3 straight, 1 curve), ~35.21 \u00d7 43.162 mm, extruded 20 mm thick."], "text": "freeform sketched section (4 segments: 3 straight, 1 curve), ~35.21 \u00d7 43.162 mm, extruded 20 mm thick."}, "params": {"sk_w": {"type": "float", "default": 50, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 52.74, "min": 26.4, "max": 94.9, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "sk_t": {"type": "float", "default": 20, "min": 8.0, "max": 44.0, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328664 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 50, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 52.74, \"min\": 26.4, \"max\": 94.9, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"sk_t\": {\"type\": 'float', \"default\": 20, \"min\": 8.0, \"max\": 44.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.314, p[\"sk_h\"] * -0.0823).bezier([(p[\"sk_w\"] * 0.314, p[\"sk_h\"] * -0.0823), (p[\"sk_w\"] * 0.2142, p[\"sk_h\"] * 0.2156), (p[\"sk_w\"] * -0.0196, p[\"sk_h\"] * 0.4255)]).lineTo(p[\"sk_w\"] * -0.3902, p[\"sk_h\"] * -0.0392).lineTo(p[\"sk_w\"] * 0.1953, p[\"sk_h\"] * -0.3929).lineTo(p[\"sk_w\"] * 0.314, p[\"sk_h\"] * -0.0823).close().extrude(p[\"sk_t\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462c9c19_0101", "family": "revolved", "tier": 2, "seed": 1177328665, "symmetry": "none", "op_count": 1, "ir_hash": "ad188ad54e4fd133", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 268000.0, "surface_area": 44700.0, "principal_moments": [130000000.0, 612000000.0, 612000000.0], "n_faces": 4, "n_edges": 6, "n_vertices": 4}, "dimensions": {"lines": ["Revolved body, \u00d855 mm \u00d7 156.4 mm tall with \u00d829 mm bore."], "text": "Revolved body, \u00d855 mm \u00d7 156.4 mm tall with \u00d829 mm bore."}, "params": {"outer_d": {"type": "float", "default": 55, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 156.4, "min": 46.9, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 29.0, "min": 2.0, "max": 38.5, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328665 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 55, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 156.4, \"min\": 46.9, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 29.0, \"min\": 2.0, \"max\": 38.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462c9c1a_0102", "family": "revolved", "tier": 0, "seed": 1177328666, "symmetry": "none", "op_count": 1, "ir_hash": "7927fdfc0f2e2b91", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 111000.0, "surface_area": 21300.0, "principal_moments": [47399999.99999999, 59899999.99999999, 59899999.99999999], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d853.39 mm \u00d7 74.2 mm tall."], "text": "Revolved body, \u00d853.39 mm \u00d7 74.2 mm tall."}, "params": {"outer_d": {"type": "float", "default": 53.39, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 74.2, "min": 22.3, "max": 222.6, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328666 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 53.39, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 74.2, \"min\": 22.3, \"max\": 222.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462c9c1b_0103", "family": "revolved", "tier": 0, "seed": 1177328667, "symmetry": "none", "op_count": 1, "ir_hash": "3ef1896e8b7eeed9", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 41300.0, "surface_area": 10100.0, "principal_moments": [10100000.0, 10100000.0, 14699999.999999998], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d848.73 mm \u00d7 33.2 mm tall."], "text": "Revolved body, \u00d848.73 mm \u00d7 33.2 mm tall."}, "params": {"outer_d": {"type": "float", "default": 48.73, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 33.2, "min": 10.0, "max": 99.6, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328667 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 48.73, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 33.2, \"min\": 10.0, \"max\": 99.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462c9c1c_0104", "family": "revolved", "tier": 0, "seed": 1177328668, "symmetry": "none", "op_count": 1, "ir_hash": "408a99842253a391", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 51800.0, "surface_area": 14400.0, "principal_moments": [9510000.0, 24799999.999999996, 24799999.999999996], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d835 mm \u00d7 80.7 mm tall."], "text": "Revolved body, \u00d835 mm \u00d7 80.7 mm tall."}, "params": {"outer_d": {"type": "float", "default": 35, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 80.7, "min": 24.2, "max": 242.1, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328668 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 35, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 80.7, \"min\": 24.2, \"max\": 242.1, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462c9c1d_0105", "family": "gear", "tier": 0, "seed": 1177328669, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "d8c42f448a304c17", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 12400.0, "surface_area": 4950.0, "principal_moments": [1360000.0, 1360000.0, 2510000.0], "n_faces": 122, "n_edges": 360, "n_vertices": 240}, "dimensions": {"lines": ["Spur gear, module 2 mm, 20 teeth (pitch \u00d840 mm), face width 10 mm."], "text": "Spur gear, module 2 mm, 20 teeth (pitch \u00d840 mm), face width 10 mm."}, "params": {"module": {"type": "float", "default": 2.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 20, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 10.0, "min": 4.0, "max": 25.0, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328669 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 2.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 20, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 10.0, \"min\": 4.0, \"max\": 25.0, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462c9c1e_0106", "family": "profiled", "tier": 1, "seed": 1177328670, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "ee0108796ebcc5a7", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 32400.0, "surface_area": 6450.0, "principal_moments": [2350000.0, 14899999.999999998, 14899999.999999998], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["8-sided polygon section, 25.34 mm across corners, extruded 71.4 mm thick."], "text": "8-sided polygon section, 25.34 mm across corners, extruded 71.4 mm thick."}, "params": {"circ_r": {"type": "float", "default": 12.67, "min": 6.3, "max": 25.3, "step": 1.0, "group": "Profile", "label": "Circumscribed radius (mm)"}, "n_sides": {"type": "int", "default": 8, "min": 3, "max": 8, "step": 1, "group": "Profile", "label": "Sides"}, "length": {"type": "float", "default": 71.4, "min": 21.4, "max": 214.2, "step": 5.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328670 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"circ_r\": {\"type\": 'float', \"default\": 12.67, \"min\": 6.3, \"max\": 25.3, \"step\": 1.0, \"group\": 'Profile', \"label\": 'Circumscribed radius (mm)'},\n    \"n_sides\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Profile', \"label\": 'Sides'},\n    \"length\": {\"type\": 'float', \"default\": 71.4, \"min\": 21.4, \"max\": 214.2, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').polygon(p[\"n_sides\"], p[\"circ_r\"] * 2).extrude(p[\"length\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9c1f_0107", "family": "plate", "tier": 0, "seed": 1177328671, "symmetry": "none", "op_count": 1, "ir_hash": "ce5e23e9b1326dd5", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 32200.0, "surface_area": 12600.0, "principal_moments": [7190000.0, 29399999.999999996, 36400000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 104.51 \u00d7 51.4 \u00d7 6 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 104.51 \u00d7 51.4 \u00d7 6 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 104.51, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 51.4, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 6.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328671 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 104.51, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 51.4, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462c9c20_0108", "family": "enclosure", "tier": 1, "seed": 1177328672, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "bbdaf0d0aed20fa1", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 53800.0, "surface_area": 29100.0, "principal_moments": [30999999.999999996, 41700000.0, 50499999.99999999], "n_faces": 11, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 69.38 \u00d7 37.9 \u00d7 61.6 mm (W\u00d7D\u00d7H).", "Hollowed to 3.8 mm wall thickness, open at top face."], "text": "Rectangular body, 69.38 \u00d7 37.9 \u00d7 61.6 mm (W\u00d7D\u00d7H). Hollowed to 3.8 mm wall thickness, open at top face."}, "params": {"enc_w": {"type": "float", "default": 69.38, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 37.9, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 61.6, "min": 24.6, "max": 123.2, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 3.8, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328672 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 69.38, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 37.9, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 61.6, \"min\": 24.6, \"max\": 123.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 3.8, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462c9c21_0109", "family": "sketched", "tier": 1, "seed": 1177328673, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "33298f1824f16b8b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 34400.0, "surface_area": 11000.0, "principal_moments": [8480000.0, 8480000.0, 9210000.0], "n_faces": 8, "n_edges": 13, "n_vertices": 7}, "dimensions": {"lines": ["Revolved organic body from a freeform sketched section (8 segments: 4 straight, 2 arcs, 2 curves), ~28.506 \u00d7 29.66 mm half-silhouette."], "text": "Revolved organic body from a freeform sketched section (8 segments: 4 straight, 2 arcs, 2 curves), ~28.506 \u00d7 29.66 mm half-silhouette."}, "params": {"sk_r": {"type": "float", "default": 30, "min": 15.0, "max": 54.0, "step": 1.0, "group": "Sketch", "label": "Max radius (mm)"}, "sk_h": {"type": "float", "default": 29.66, "min": 14.8, "max": 53.4, "step": 1.0, "group": "Sketch", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328673 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_r\": {\"type\": 'float', \"default\": 30, \"min\": 15.0, \"max\": 54.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Max radius (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 29.66, \"min\": 14.8, \"max\": 53.4, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XZ').moveTo(p[\"sk_r\"] * 0.9502, p[\"sk_h\"] * 0.0).spline([(p[\"sk_r\"] * 0.9502, p[\"sk_h\"] * 0.0), (p[\"sk_r\"] * 0.9376, p[\"sk_h\"] * 0.0941), (p[\"sk_r\"] * 0.733, p[\"sk_h\"] * 0.1881)]).bezier([(p[\"sk_r\"] * 0.733, p[\"sk_h\"] * 0.1881), (p[\"sk_r\"] * 0.5235, p[\"sk_h\"] * 0.2304), (p[\"sk_r\"] * 0.3509, p[\"sk_h\"] * 0.2726)]).lineTo(p[\"sk_r\"] * 0.3877, p[\"sk_h\"] * 0.5028).lineTo(p[\"sk_r\"] * 0.1596, p[\"sk_h\"] * 0.5881).threePointArc((p[\"sk_r\"] * 0.2785, p[\"sk_h\"] * 0.5942), (p[\"sk_r\"] * 0.5, p[\"sk_h\"] * 0.6003)).threePointArc((p[\"sk_r\"] * 0.6721, p[\"sk_h\"] * 0.8001), (p[\"sk_r\"] * 0.8588, p[\"sk_h\"] * 1.0)).lineTo(p[\"sk_r\"] * 0.0, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.0, p[\"sk_h\"] * 0.0).close().revolve())\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462c9c22_0110", "family": "compound", "tier": 1, "seed": 1177328674, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "03df911070f944df", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 63200.0, "surface_area": 10000.0, "principal_moments": [12999999.999999998, 20100000.0, 24899999.999999996], "n_faces": 10, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["Rectangular body, 55 \u00d7 41.1 \u00d7 27.9 mm (W\u00d7D\u00d7H).", "\u00d85.3 mm circular section attachment, 4 mm long, from right face.", "\u00d85.3 mm circular section attachment, 4 mm long, from back face."], "text": "Rectangular body, 55 \u00d7 41.1 \u00d7 27.9 mm (W\u00d7D\u00d7H). \u00d85.3 mm circular section attachment, 4 mm long, from right face. \u00d85.3 mm circular section attachment, 4 mm long, from back face."}, "params": {"block_w": {"type": "float", "default": 55, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body width (mm)"}, "block_d": {"type": "float", "default": 41.1, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body depth (mm)"}, "block_h": {"type": "float", "default": 27.9, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body height (mm)"}, "port_d": {"type": "float", "default": 5.3, "min": 2.1, "max": 12.6, "step": 1.0, "group": "Ports", "label": "Ports diameter (mm)"}, "port_len": {"type": "float", "default": 4.0, "min": 1.3, "max": 15.9, "step": 1.0, "group": "Ports", "label": "Port boss length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328674 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 55, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 41.1, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 27.9, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body height (mm)'},\n    \"port_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.1, \"max\": 12.6, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Ports diameter (mm)'},\n    \"port_len\": {\"type\": 'float', \"default\": 4.0, \"min\": 1.3, \"max\": 15.9, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Port boss length (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462c9c23_0111", "family": "block", "tier": 2, "seed": 1177328675, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "6b0953ba7651c6e1", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 118000.0, "surface_area": 20600.0, "principal_moments": [33299999.999999996, 69700000.0, 83500000.0], "n_faces": 14, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 50 \u00d7 32.2 \u00d7 78.1 mm (W\u00d7D\u00d7H).", "Four \u00d85.3 mm holes at the corners, 35 \u00d7 22.54 mm spacing.", "Fillet radius 3.654 mm on vertical edges."], "text": "Rectangular body, 50 \u00d7 32.2 \u00d7 78.1 mm (W\u00d7D\u00d7H). Four \u00d85.3 mm holes at the corners, 35 \u00d7 22.54 mm spacing. Fillet radius 3.654 mm on vertical edges."}, "params": {"block_w": {"type": "float", "default": 50, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 32.2, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 78.1, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 7.2, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328675 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 50, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 32.2, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 78.1, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 7.2, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"block_w\"], p[\"block_d\"]) * 0.11347629194478809)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462c9c24_0112", "family": "compound", "tier": 2, "seed": 1177328676, "symmetry": "mirror_xy", "op_count": 5, "ir_hash": "5c208bb950e806ea", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 55900.0, "surface_area": 10900.0, "principal_moments": [13399999.999999998, 13499999.999999998, 19700000.0], "n_faces": 14, "n_edges": 27, "n_vertices": 18}, "dimensions": {"lines": ["Rectangular body, 45 \u00d7 46 \u00d7 28 mm (W\u00d7D\u00d7H).", "\u00d89.3 mm circular section attachment, 5.2 mm long, from back face.", "\u00d89.3 mm circular section attachment, 5.2 mm long, from front face.", "\u00d89.3 mm circular section attachment, 5.2 mm long, from right face.", "Four \u00d88.4 mm holes at the corners, 31.5 \u00d7 32.2 mm spacing."], "text": "Rectangular body, 45 \u00d7 46 \u00d7 28 mm (W\u00d7D\u00d7H). \u00d89.3 mm circular section attachment, 5.2 mm long, from back face. \u00d89.3 mm circular section attachment, 5.2 mm long, from front face. \u00d89.3 mm circular section attachment, 5.2 mm long, from right face. Four \u00d88.4 mm holes at the corners, 31.5 \u00d7 32.2 mm spacing."}, "params": {"block_w": {"type": "float", "default": 45, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body width (mm)"}, "block_d": {"type": "float", "default": 46.0, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body depth (mm)"}, "block_h": {"type": "float", "default": 28.0, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body height (mm)"}, "port_d": {"type": "float", "default": 9.3, "min": 3.7, "max": 12.6, "step": 1.0, "group": "Ports", "label": "Ports diameter (mm)"}, "port_len": {"type": "float", "default": 5.2, "min": 2.3, "max": 27.9, "step": 1.0, "group": "Ports", "label": "Port boss length (mm)"}, "hole_d": {"type": "float", "default": 8.4, "min": 2.0, "max": 10.1, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328676 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 45, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 46.0, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 28.0, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body height (mm)'},\n    \"port_d\": {\"type\": 'float', \"default\": 9.3, \"min\": 3.7, \"max\": 12.6, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Ports diameter (mm)'},\n    \"port_len\": {\"type\": 'float', \"default\": 5.2, \"min\": 2.3, \"max\": 27.9, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Port boss length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 2.0, \"max\": 10.1, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462c9c25_0113", "family": "revolved", "tier": 1, "seed": 1177328677, "symmetry": "none", "op_count": 2, "ir_hash": "4516614f8e39a94f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 29900.0, "surface_area": 11100.0, "principal_moments": [2800000.0, 16199999.999999998, 16199999.999999998], "n_faces": 5, "n_edges": 8, "n_vertices": 5}, "dimensions": {"lines": ["Revolved body, \u00d825 mm \u00d7 91.5 mm tall.", "Chamfer 0.8 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d825 mm \u00d7 91.5 mm tall. Chamfer 0.8 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 25, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 91.5, "min": 27.4, "max": 274.5, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "end_chamfer": {"type": "float", "default": 0.8, "min": 0.1, "max": 2.4, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328677 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 25, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 91.5, \"min\": 27.4, \"max\": 274.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.8, \"min\": 0.1, \"max\": 2.4, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462c9c26_0114", "family": "lofted", "tier": 1, "seed": 1177328678, "symmetry": "none", "op_count": 2, "ir_hash": "784d063bbbf92791", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 118000.0, "surface_area": 19400.0, "principal_moments": [60099999.99999999, 60099999.99999999, 62799999.99999999], "n_faces": 9, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["Lofted body through 2 sections: \u00d870 mm circular section \u2192 6-sided polygon section, 48.6 mm across corners.", "One \u00d825.6 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 2 sections: \u00d870 mm circular section \u2192 6-sided polygon section, 48.6 mm across corners. One \u00d825.6 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 70.0, "min": 35.0, "max": 112.0, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 48.6, "min": 19.4, "max": 84.0, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 56.5, "min": 22.6, "max": 113.0, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_bore_d": {"type": "float", "default": 25.6, "min": 2.0, "max": 38.9, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328678 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 70.0, \"min\": 35.0, \"max\": 112.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 48.6, \"min\": 19.4, \"max\": 84.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 56.5, \"min\": 22.6, \"max\": 113.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 25.6, \"min\": 2.0, \"max\": 38.9, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .circle(p[\"loft_base\"] / 2)\n        .workplane(offset=p[\"loft_h\"])\n        .polygon(6, p[\"loft_top\"] * 0.5 * 2)\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462c9c27_0115", "family": "bracket", "tier": 1, "seed": 1177328679, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "de3cb38423ef3e67", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 12600.0, "surface_area": 7940.0, "principal_moments": [5120000.0, 6950000.0, 11300000.0], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["C-channel bracket: base leg 55 mm, vertical leg 59.9 mm, 19.13 mm wide, 4 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."], "text": "C-channel bracket: base leg 55 mm, vertical leg 59.9 mm, 19.13 mm wide, 4 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 55, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 59.9, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 19.13, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 4.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 7.7, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328679 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 55, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 59.9, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 19.13, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 7.7, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462c9c28_0116", "family": "enclosure", "tier": 2, "seed": 1177328680, "symmetry": "mirror_xy", "op_count": 3, "ir_hash": "b7f50ba60f180efd", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 9820.0, "surface_area": 6380.0, "principal_moments": [980000.0, 1740000.0, 1920000.0], "n_faces": 19, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 36.59 \u00d7 18.6 \u00d7 25.3 mm (W\u00d7D\u00d7H).", "Hollowed to 3.9 mm wall thickness, open at top face.", "Four \u00d83.2 mm holes at the corners, 25.613 \u00d7 13.02 mm spacing."], "text": "Rectangular body, 36.59 \u00d7 18.6 \u00d7 25.3 mm (W\u00d7D\u00d7H). Hollowed to 3.9 mm wall thickness, open at top face. Four \u00d83.2 mm holes at the corners, 25.613 \u00d7 13.02 mm spacing."}, "params": {"enc_w": {"type": "float", "default": 36.59, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 18.6, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 25.3, "min": 10.1, "max": 50.6, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 3.9, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 4.2, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328680 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 36.59, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 18.6, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 25.3, \"min\": 10.1, \"max\": 50.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 3.9, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 4.2, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"enc_w\"] * 0.7, p[\"enc_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462c9c29_0117", "family": "lofted", "tier": 0, "seed": 1177328681, "symmetry": "none", "op_count": 1, "ir_hash": "12a9c8a31235777c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 58200.0, "surface_area": 9090.0, "principal_moments": [14499999.999999998, 14499999.999999998, 16800000.0], "n_faces": 7, "n_edges": 15, "n_vertices": 10}, "dimensions": {"lines": ["Lofted body through 2 sections: \u00d860 mm circular section \u2192 22 \u00d7 22 mm rectangular section."], "text": "Lofted body through 2 sections: \u00d860 mm circular section \u2192 22 \u00d7 22 mm rectangular section."}, "params": {"loft_base": {"type": "float", "default": 60, "min": 30.0, "max": 96.0, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 22.0, "min": 8.8, "max": 72.0, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 38.8, "min": 15.5, "max": 77.6, "step": 1.0, "group": "Body", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328681 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 60, \"min\": 30.0, \"max\": 96.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 22.0, \"min\": 8.8, \"max\": 72.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 38.8, \"min\": 15.5, \"max\": 77.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .circle(p[\"loft_base\"] / 2)\n        .workplane(offset=p[\"loft_h\"])\n        .rect(p[\"loft_top\"], p[\"loft_top\"])\n        .loft(combine=True)\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462c9c2a_0118", "family": "tapped", "tier": 0, "seed": 1177328682, "symmetry": "none", "op_count": 1, "ir_hash": "3b0cd1ea7827fb07", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 20700.0, "surface_area": 6320.0, "principal_moments": [3040000.0, 3040000.0, 3820000.0], "n_faces": 196, "n_edges": 556, "n_vertices": 362}, "dimensions": {"lines": ["One M16x2 tapped hole in a cylinder."], "text": "One M16x2 tapped hole in a cylinder."}, "params": {"major_d": {"type": "float", "default": 16.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 2.0, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 25.6, "min": 19.2, "max": 46.1, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "body_d": {"type": "float", "default": 35.4, "min": 28.8, "max": 56.6, "step": 1.0, "group": "Body", "label": "Outer \u00d8 (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328682 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 16.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 2.0, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 25.6, \"min\": 19.2, \"max\": 46.1, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"body_d\": {\"type\": 'float', \"default\": 35.4, \"min\": 28.8, \"max\": 56.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer \u00d8 (mm)'},\n}\n\n\ndef build(p):\n\n    _W = _D = p[\"body_d\"]\n    _H = p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Cylinder(radius=_W / 2, height=_H)\n    _locs = [(0.0, 0.0)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9c2b_0119", "family": "plate", "tier": 2, "seed": 1177328683, "symmetry": "radial", "op_count": 3, "ir_hash": "36d37cf65d88c499", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 1400.0, "surface_area": 1170.0, "principal_moments": [24200.0, 105000.0, 126000.0], "n_faces": 20, "n_edges": 54, "n_vertices": 36}, "dimensions": {"lines": ["Rectangular body, 30 \u00d7 13.2 \u00d7 4 mm (W\u00d7D\u00d7H).", "Four \u00d85.3 mm holes on a \u00d818 mm bolt circle.", "Chamfer 0.7 mm on vertical edges."], "text": "Rectangular body, 30 \u00d7 13.2 \u00d7 4 mm (W\u00d7D\u00d7H). Four \u00d85.3 mm holes on a \u00d818 mm bolt circle. Chamfer 0.7 mm on vertical edges."}, "params": {"plate_w": {"type": "float", "default": 30, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 13.2, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 4.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "bolt_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 9.0, "min": 6.0, "max": 13.5, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 4, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}, "chamfer_d": {"type": "float", "default": 0.7, "min": 0.5, "max": 1.6, "step": 0.5, "group": "Body", "label": "Chamfer distance (mm)"}, "chamfered": {"type": "bool", "default": true, "group": "Body", "label": "Chamfer edges"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328683 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 30, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 13.2, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 4.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 9.0, \"min\": 6.0, \"max\": 13.5, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 4, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n    \"chamfer_d\": {\"type\": 'float', \"default\": 0.7, \"min\": 0.5, \"max\": 1.6, \"step\": 0.5, \"group\": 'Body', \"label\": 'Chamfer distance (mm)'},\n    \"chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Chamfer edges'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    if p[\"chamfered\"]:\n        result = result.edges('|Z').chamfer(p[\"chamfer_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462c9c2c_0120", "family": "compound", "tier": 2, "seed": 1177328684, "symmetry": "none", "op_count": 5, "ir_hash": "2c97630bf96df41d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 101000.0, "surface_area": 15900.0, "principal_moments": [28799999.999999996, 42600000.0, 48299999.99999999], "n_faces": 41, "n_edges": 110, "n_vertices": 72}, "dimensions": {"lines": ["Rectangular body, 60.43 \u00d7 45.4 \u00d7 37.1 mm (W\u00d7D\u00d7H).", "8-sided polygon section, 6.8 mm across corners attachment, 7.4 mm long, from back face with a \u00d82.9 mm bore.", "8-sided polygon section, 6.8 mm across corners attachment, 7.4 mm long, from right face with a \u00d82.9 mm bore.", "8-sided polygon section, 6.8 mm across corners attachment, 7.4 mm long, from left face with a \u00d82.9 mm bore.", "Four \u00d84.3 mm holes at the corners, 42.301 \u00d7 31.78 mm spacing."], "text": "Rectangular body, 60.43 \u00d7 45.4 \u00d7 37.1 mm (W\u00d7D\u00d7H). 8-sided polygon section, 6.8 mm across corners attachment, 7.4 mm long, from back face with a \u00d82.9 mm bore. 8-sided polygon section, 6.8 mm across corners attachment, 7.4 mm long, from right face with a \u00d82.9 mm bore. 8-sided polygon section, 6.8 mm across corners attachment, 7.4 mm long, from left face with a \u00d82.9 mm bore. Four \u00d84.3 mm holes at the corners, 42.301 \u00d7 31.78 mm spacing."}, "params": {"block_w": {"type": "float", "default": 60.43, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body width (mm)"}, "block_d": {"type": "float", "default": 45.4, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body depth (mm)"}, "block_h": {"type": "float", "default": 37.1, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body height (mm)"}, "port_sides": {"type": "int", "default": 8, "min": 3, "max": 8, "step": 1, "group": "Ports", "label": "Ports sides"}, "port_r": {"type": "float", "default": 3.4, "min": 1.7, "max": 8.3, "step": 1.0, "group": "Ports", "label": "Ports circumradius (mm)"}, "port_len": {"type": "float", "default": 7.4, "min": 1.6, "max": 18.8, "step": 1.0, "group": "Ports", "label": "Port boss length (mm)"}, "port_bore": {"type": "float", "default": 2.9, "min": 2.0, "max": 4.5, "step": 0.5, "group": "Ports", "label": "Port bore diameter (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 10.2, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328684 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 60.43, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 45.4, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 37.1, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body height (mm)'},\n    \"port_sides\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Ports', \"label\": 'Ports sides'},\n    \"port_r\": {\"type\": 'float', \"default\": 3.4, \"min\": 1.7, \"max\": 8.3, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Ports circumradius (mm)'},\n    \"port_len\": {\"type\": 'float', \"default\": 7.4, \"min\": 1.6, \"max\": 18.8, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Port boss length (mm)'},\n    \"port_bore\": {\"type\": 'float', \"default\": 2.9, \"min\": 2.0, \"max\": 4.5, \"step\": 0.5, \"group\": 'Ports', \"label\": 'Port bore diameter (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 10.2, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"port_sides\"], p[\"port_r\"] * 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"port_sides\"], p[\"port_r\"] * 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"port_sides\"], p[\"port_r\"] * 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462c9c2d_0121", "family": "threaded", "tier": 2, "seed": 1177328685, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "887b74d3784d84a4", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 458.0, "surface_area": 668.0, "principal_moments": [3700.0, 10400.0, 10400.0], "n_faces": 175, "n_edges": 475, "n_vertices": 302}, "dimensions": {"lines": ["M4x0.7 internal thread, 15 mm long."], "text": "M4x0.7 internal thread, 15 mm long."}, "params": {"major_d": {"type": "float", "default": 4.0, "min": 4.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Major diameter (mm)"}, "pitch": {"type": "float", "default": 0.7, "min": 0.35, "max": 1.4, "step": 0.05, "group": "Thread", "label": "Pitch (mm)"}, "thread_len": {"type": "float", "default": 15.0, "min": 6.0, "max": 30.0, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328685 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 4.0, \"min\": 4.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Major diameter (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 0.7, \"min\": 0.35, \"max\": 1.4, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Pitch (mm)'},\n    \"thread_len\": {\"type\": 'float', \"default\": 15.0, \"min\": 6.0, \"max\": 30.0, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.IsoThread(major_diameter=p[\"major_d\"], pitch=p[\"pitch\"], length=p[\"thread_len\"], external=False, end_finishes=(\"fade\", \"fade\"))\n    _body = _bd.Cylinder(radius=(p[\"major_d\"]) * 0.9, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _bore = _bd.Cylinder(radius=(p[\"major_d\"]) / 2, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = (_body - _bore) + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462c9c2e_0122", "family": "revolved", "tier": 1, "seed": 1177328686, "symmetry": "radial", "op_count": 1, "ir_hash": "034b5aa04a24f7f1", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 1010.0, "surface_area": 998.0, "principal_moments": [15200.0, 29900.0, 29900.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d810 mm \u00d7 19.3 mm tall."], "text": "Revolved body, \u00d810 mm \u00d7 19.3 mm tall."}, "params": {"outer_d": {"type": "float", "default": 10, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 19.3, "min": 5.8, "max": 57.9, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328686 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 10, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 19.3, \"min\": 5.8, \"max\": 57.9, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462c9c2f_0123", "family": "ribbed", "tier": 3, "seed": 1177328687, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "5961089bff2f8034", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 88700.0, "surface_area": 24500.0, "principal_moments": [50999999.99999999, 77200000.0, 123000000.0], "n_faces": 16, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 95 \u00d7 81.5 \u00d7 10 mm (W\u00d7D\u00d7H).", "Two ribs, 4.3 mm thick, 17.2 mm tall."], "text": "Rectangular body, 95 \u00d7 81.5 \u00d7 10 mm (W\u00d7D\u00d7H). Two ribs, 4.3 mm thick, 17.2 mm tall."}, "params": {"base_w": {"type": "float", "default": 95, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 81.5, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 10.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 2, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 17.2, "min": 6.9, "max": 34.4, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 4.3, "min": 1.0, "max": 10.8, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328687 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 95, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 81.5, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 2, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 17.2, \"min\": 6.9, \"max\": 34.4, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 4.3, \"min\": 1.0, \"max\": 10.8, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462c9c30_0124", "family": "sketched", "tier": 0, "seed": 1177328688, "symmetry": "none", "op_count": 1, "ir_hash": "100a20c87d3df0bc", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 56000.0, "surface_area": 9110.0, "principal_moments": [8420000.0, 21600000.0, 24199999.999999996], "n_faces": 9, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["freeform sketched section (7 segments: 3 straight, 2 arcs, 2 curves), ~37.29 \u00d7 67.117 mm, extruded 25.07 mm thick."], "text": "freeform sketched section (7 segments: 3 straight, 2 arcs, 2 curves), ~37.29 \u00d7 67.117 mm, extruded 25.07 mm thick."}, "params": {"sk_w": {"type": "float", "default": 55, "min": 27.5, "max": 99.0, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 84.69, "min": 42.3, "max": 152.4, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "sk_t": {"type": "float", "default": 25.07, "min": 10.0, "max": 55.2, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328688 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 55, \"min\": 27.5, \"max\": 99.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 84.69, \"min\": 42.3, \"max\": 152.4, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"sk_t\": {\"type\": 'float', \"default\": 25.07, \"min\": 10.0, \"max\": 55.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.3466, p[\"sk_h\"] * -0.0226).lineTo(p[\"sk_w\"] * 0.3824, p[\"sk_h\"] * 0.2641).bezier([(p[\"sk_w\"] * 0.3824, p[\"sk_h\"] * 0.2641), (p[\"sk_w\"] * 0.1142, p[\"sk_h\"] * 0.4171), (p[\"sk_w\"] * -0.1945, p[\"sk_h\"] * 0.4243)]).lineTo(p[\"sk_w\"] * -0.2857, p[\"sk_h\"] * 0.2431).spline([(p[\"sk_w\"] * -0.2857, p[\"sk_h\"] * 0.2431), (p[\"sk_w\"] * -0.3181, p[\"sk_h\"] * 0.0587), (p[\"sk_w\"] * -0.2956, p[\"sk_h\"] * -0.127)]).threePointArc((p[\"sk_w\"] * -0.2091, p[\"sk_h\"] * -0.2949), (p[\"sk_w\"] * -0.0465, p[\"sk_h\"] * -0.3682)).threePointArc((p[\"sk_w\"] * 0.1707, p[\"sk_h\"] * -0.4111), (p[\"sk_w\"] * 0.3515, p[\"sk_h\"] * -0.3394)).lineTo(p[\"sk_w\"] * 0.3466, p[\"sk_h\"] * -0.0226).close().extrude(p[\"sk_t\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462c9c31_0125", "family": "threaded", "tier": 1, "seed": 1177328689, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "1d7680e3524788fc", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 455.0, "surface_area": 678.0, "principal_moments": [1180.0, 30900.0, 30900.0], "n_faces": 360, "n_edges": 926, "n_vertices": 568}, "dimensions": {"lines": ["M5x0.8 external thread, 28.4 mm long."], "text": "M5x0.8 external thread, 28.4 mm long."}, "params": {"major_d": {"type": "float", "default": 5.0, "min": 4.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Major diameter (mm)"}, "pitch": {"type": "float", "default": 0.8, "min": 0.4, "max": 1.6, "step": 0.05, "group": "Thread", "label": "Pitch (mm)"}, "thread_len": {"type": "float", "default": 28.4, "min": 11.4, "max": 56.8, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328689 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 5.0, \"min\": 4.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Major diameter (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 0.8, \"min\": 0.4, \"max\": 1.6, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Pitch (mm)'},\n    \"thread_len\": {\"type\": 'float', \"default\": 28.4, \"min\": 11.4, \"max\": 56.8, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.IsoThread(major_diameter=p[\"major_d\"], pitch=p[\"pitch\"], length=p[\"thread_len\"], external=True, end_finishes=(\"fade\", \"fade\"))\n    _r = _thr.min_radius if hasattr(_thr, 'min_radius') else _thr.root_radius\n    _shank = _bd.Cylinder(radius=_r, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = _shank + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462c9c32_0126", "family": "flanged", "tier": 2, "seed": 1177328690, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "29bfe3524dba5f0f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 54100.0, "surface_area": 16500.0, "principal_moments": [20100000.0, 20100000.0, 29199999.999999996], "n_faces": 13, "n_edges": 42, "n_vertices": 28}, "dimensions": {"lines": ["Revolved body, \u00d844.37 mm \u00d7 32.9 mm tall with \u00d822.9 mm bore, \u00d877.3 mm \u00d7 5.9 mm flange.", "Four \u00d86.4 mm holes on a \u00d846.4 mm bolt circle."], "text": "Revolved body, \u00d844.37 mm \u00d7 32.9 mm tall with \u00d822.9 mm bore, \u00d877.3 mm \u00d7 5.9 mm flange. Four \u00d86.4 mm holes on a \u00d846.4 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 44.37, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 32.9, "min": 9.9, "max": 82.2, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 22.9, "min": 2.0, "max": 31.1, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 77.3, "min": 57.7, "max": 133.1, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 5.9, "min": 1.8, "max": 13.2, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 23.2, "min": 15.5, "max": 34.8, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 4, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328690 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 44.37, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 32.9, \"min\": 9.9, \"max\": 82.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 22.9, \"min\": 2.0, \"max\": 31.1, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 77.3, \"min\": 57.7, \"max\": 133.1, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 5.9, \"min\": 1.8, \"max\": 13.2, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 23.2, \"min\": 15.5, \"max\": 34.8, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 4, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462c9c33_0127", "family": "bracket", "tier": 1, "seed": 1177328691, "symmetry": "none", "op_count": 1, "ir_hash": "8228bb1de835d2a1", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 21400.0, "surface_area": 12100.0, "principal_moments": [5700000.0, 11599999.999999998, 14899999.999999998], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Z-bracket: base leg 44.65 mm, vertical leg 38.5 mm, top leg 32.4 mm, 50 mm wide, 4 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."], "text": "Z-bracket: base leg 44.65 mm, vertical leg 38.5 mm, top leg 32.4 mm, 50 mm wide, 4 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 44.65, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 38.5, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 50, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 4.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 32.4, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328691 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 44.65, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 38.5, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 50, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 32.4, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462c9c34_0128", "family": "block", "tier": 1, "seed": 1177328692, "symmetry": "none", "op_count": 2, "ir_hash": "070318238f74a976", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 13000.0, "surface_area": 4430.0, "principal_moments": [968000.0, 1450000.0, 1760000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 32.73 \u00d7 24.8 \u00d7 17.3 mm (W\u00d7D\u00d7H).", "Four \u00d84.3 mm holes at the corners, 22.911 \u00d7 17.36 mm spacing."], "text": "Rectangular body, 32.73 \u00d7 24.8 \u00d7 17.3 mm (W\u00d7D\u00d7H). Four \u00d84.3 mm holes at the corners, 22.911 \u00d7 17.36 mm spacing."}, "params": {"block_w": {"type": "float", "default": 32.73, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 24.8, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 17.3, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 5.6, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328692 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 32.73, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 24.8, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 17.3, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 5.6, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462c9c35_0129", "family": "gear", "tier": 2, "seed": 1177328693, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "159d72111a2ed2df", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 357000.0, "surface_area": 52100.0, "principal_moments": [489000000.0, 489000000.0, 944000000.0], "n_faces": 171, "n_edges": 507, "n_vertices": 338}, "dimensions": {"lines": ["Spur gear, module 5 mm, 28 teeth (pitch \u00d8140 mm), face width 23.7 mm, \u00d828.7 mm bore."], "text": "Spur gear, module 5 mm, 28 teeth (pitch \u00d8140 mm), face width 23.7 mm, \u00d828.7 mm bore."}, "params": {"module": {"type": "float", "default": 5.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 28, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 23.7, "min": 9.5, "max": 59.2, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "profile_shift": {"type": "float", "default": 0.2, "min": -0.5, "max": 0.7, "step": 0.05, "group": "Gear", "label": "Profile shift"}, "root_fillet": {"type": "float", "default": 0.51, "min": 0.0, "max": 2.5, "step": 0.05, "group": "Gear", "label": "Root fillet (mm)"}, "bore_d": {"type": "float", "default": 28.7, "min": 2.0, "max": 76.5, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328693 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 5.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 28, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 23.7, \"min\": 9.5, \"max\": 59.2, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"profile_shift\": {\"type\": 'float', \"default\": 0.2, \"min\": -0.5, \"max\": 0.7, \"step\": 0.05, \"group\": 'Gear', \"label\": 'Profile shift'},\n    \"root_fillet\": {\"type\": 'float', \"default\": 0.51, \"min\": 0.0, \"max\": 2.5, \"step\": 0.05, \"group\": 'Gear', \"label\": 'Root fillet (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 28.7, \"min\": 2.0, \"max\": 76.5, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"], profile_shift=p[\"profile_shift\"], root_fillet=p[\"root_fillet\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462c9c36_0130", "family": "sketched", "tier": 0, "seed": 1177328694, "symmetry": "none", "op_count": 1, "ir_hash": "47069a55dffb8aa4", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 23200.0, "surface_area": 5590.0, "principal_moments": [2040000.0, 6150000.0, 7440000.0], "n_faces": 9, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["freeform sketched section (7 segments: 2 straight, 1 arc, 4 curves), ~67.066 \u00d7 34.402 mm, extruded 13.97 mm thick."], "text": "freeform sketched section (7 segments: 2 straight, 1 arc, 4 curves), ~67.066 \u00d7 34.402 mm, extruded 13.97 mm thick."}, "params": {"sk_w": {"type": "float", "default": 81.43, "min": 40.7, "max": 146.6, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 45, "min": 22.5, "max": 81.0, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "sk_t": {"type": "float", "default": 13.97, "min": 5.6, "max": 30.7, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328694 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 81.43, \"min\": 40.7, \"max\": 146.6, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 45, \"min\": 22.5, \"max\": 81.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"sk_t\": {\"type\": 'float', \"default\": 13.97, \"min\": 5.6, \"max\": 30.7, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.4724, p[\"sk_h\"] * 0.0951).bezier([(p[\"sk_w\"] * 0.4724, p[\"sk_h\"] * 0.0951), (p[\"sk_w\"] * 0.3595, p[\"sk_h\"] * 0.2924), (p[\"sk_w\"] * 0.1627, p[\"sk_h\"] * 0.406)]).bezier([(p[\"sk_w\"] * 0.1627, p[\"sk_h\"] * 0.406), (p[\"sk_w\"] * 0.0759, p[\"sk_h\"] * 0.4497), (p[\"sk_w\"] * -0.0209, p[\"sk_h\"] * 0.4421)]).threePointArc((p[\"sk_w\"] * -0.2025, p[\"sk_h\"] * 0.3129), (p[\"sk_w\"] * -0.3194, p[\"sk_h\"] * 0.1026)).bezier([(p[\"sk_w\"] * -0.3194, p[\"sk_h\"] * 0.1026), (p[\"sk_w\"] * -0.376, p[\"sk_h\"] * -0.0445), (p[\"sk_w\"] * -0.3512, p[\"sk_h\"] * -0.2001)]).lineTo(p[\"sk_w\"] * 0.0175, p[\"sk_h\"] * -0.3224).spline([(p[\"sk_w\"] * 0.0175, p[\"sk_h\"] * -0.3224), (p[\"sk_w\"] * 0.1094, p[\"sk_h\"] * -0.3425), (p[\"sk_w\"] * 0.1992, p[\"sk_h\"] * -0.3142)]).lineTo(p[\"sk_w\"] * 0.4724, p[\"sk_h\"] * 0.0951).close().extrude(p[\"sk_t\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462c9c37_0131", "family": "flanged", "tier": 1, "seed": 1177328695, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "1d78a3e1b8c4a441", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 463000.0, "surface_area": 75400.0, "principal_moments": [747000000.0, 747000000.0, 1140000000.0], "n_faces": 10, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["Revolved body, \u00d880.1 mm \u00d7 63.4 mm tall with \u00d826.1 mm bore, \u00d8182.2 mm \u00d7 8.5 mm flange.", "Four \u00d86.4 mm holes on a \u00d8109.4 mm bolt circle."], "text": "Revolved body, \u00d880.1 mm \u00d7 63.4 mm tall with \u00d826.1 mm bore, \u00d8182.2 mm \u00d7 8.5 mm flange. Four \u00d86.4 mm holes on a \u00d8109.4 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 80.1, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 63.4, "min": 19.0, "max": 158.5, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 26.1, "min": 2.0, "max": 56.1, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 182.2, "min": 104.1, "max": 240.3, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 8.5, "min": 2.5, "max": 25.4, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 54.7, "min": 36.4, "max": 82.0, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 4, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328695 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 80.1, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 63.4, \"min\": 19.0, \"max\": 158.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 26.1, \"min\": 2.0, \"max\": 56.1, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 182.2, \"min\": 104.1, \"max\": 240.3, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 8.5, \"min\": 2.5, \"max\": 25.4, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 54.7, \"min\": 36.4, \"max\": 82.0, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 4, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462c9c38_0132", "family": "lofted", "tier": 1, "seed": 1177328696, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "1b1fa1366ebba46a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 18900.0, "surface_area": 5420.0, "principal_moments": [2310000.0, 2900000.0, 2900000.0], "n_faces": 9, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["Lofted body through 2 sections: \u00d836.64 mm circular section \u2192 6-sided polygon section, 18.2 mm across corners.", "One \u00d89.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 2 sections: \u00d836.64 mm circular section \u2192 6-sided polygon section, 18.2 mm across corners. One \u00d89.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 36.64, "min": 18.3, "max": 58.6, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 18.2, "min": 7.3, "max": 44.0, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 36.8, "min": 14.7, "max": 73.6, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_bore_d": {"type": "float", "default": 9.3, "min": 2.0, "max": 14.6, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328696 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 36.64, \"min\": 18.3, \"max\": 58.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 18.2, \"min\": 7.3, \"max\": 44.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 36.8, \"min\": 14.7, \"max\": 73.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 9.3, \"min\": 2.0, \"max\": 14.6, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .circle(p[\"loft_base\"] / 2)\n        .workplane(offset=p[\"loft_h\"])\n        .polygon(6, p[\"loft_top\"] * 0.5 * 2)\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9c39_0133", "family": "plate", "tier": 0, "seed": 1177328697, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "1b54e2d2b351530f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 1340.0, "surface_area": 1150.0, "principal_moments": [34700.0, 74000.0, 107000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 25.6 \u00d7 17.4 \u00d7 3 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 25.6 \u00d7 17.4 \u00d7 3 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 25.6, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 17.4, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 3.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328697 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 25.6, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 17.4, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 3.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462c9c3a_0134", "family": "compound", "tier": 1, "seed": 1177328698, "symmetry": "none", "op_count": 3, "ir_hash": "c2bd10057ef87c71", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 150000.0, "surface_area": 21600.0, "principal_moments": [71500000.0, 74900000.0, 75800000.0], "n_faces": 14, "n_edges": 34, "n_vertices": 22}, "dimensions": {"lines": ["Rectangular body, 55 \u00d7 51.8 \u00d7 53.4 mm (W\u00d7D\u00d7H).", "\u00d814.4 mm circular section attachment, 15.4 mm long, from back face with a \u00d88.4 mm bore.", "\u00d814.4 mm circular section attachment, 15.4 mm long, from left face with a \u00d88.4 mm bore."], "text": "Rectangular body, 55 \u00d7 51.8 \u00d7 53.4 mm (W\u00d7D\u00d7H). \u00d814.4 mm circular section attachment, 15.4 mm long, from back face with a \u00d88.4 mm bore. \u00d814.4 mm circular section attachment, 15.4 mm long, from left face with a \u00d88.4 mm bore."}, "params": {"block_w": {"type": "float", "default": 55, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body width (mm)"}, "block_d": {"type": "float", "default": 51.8, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body depth (mm)"}, "block_h": {"type": "float", "default": 53.4, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body height (mm)"}, "port_d": {"type": "float", "default": 14.4, "min": 5.8, "max": 23.3, "step": 1.0, "group": "Ports", "label": "Ports diameter (mm)"}, "port_len": {"type": "float", "default": 15.4, "min": 3.6, "max": 43.2, "step": 1.0, "group": "Ports", "label": "Port boss length (mm)"}, "port_bore": {"type": "float", "default": 8.4, "min": 2.0, "max": 10.4, "step": 0.5, "group": "Ports", "label": "Port bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328698 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 55, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 51.8, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 53.4, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body height (mm)'},\n    \"port_d\": {\"type\": 'float', \"default\": 14.4, \"min\": 5.8, \"max\": 23.3, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Ports diameter (mm)'},\n    \"port_len\": {\"type\": 'float', \"default\": 15.4, \"min\": 3.6, \"max\": 43.2, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Port boss length (mm)'},\n    \"port_bore\": {\"type\": 'float', \"default\": 8.4, \"min\": 2.0, \"max\": 10.4, \"step\": 0.5, \"group\": 'Ports', \"label\": 'Port bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462c9c3b_0135", "family": "threaded", "tier": 0, "seed": 1177328699, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "a7dddb4b61bd5e83", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 275.0, "surface_area": 419.0, "principal_moments": [714.0, 7050.0, 7050.0], "n_faces": 220, "n_edges": 562, "n_vertices": 344}, "dimensions": {"lines": ["M5x0.8 external thread, 17.2 mm long."], "text": "M5x0.8 external thread, 17.2 mm long."}, "params": {"major_d": {"type": "float", "default": 5.0, "min": 4.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Major diameter (mm)"}, "pitch": {"type": "float", "default": 0.8, "min": 0.4, "max": 1.6, "step": 0.05, "group": "Thread", "label": "Pitch (mm)"}, "thread_len": {"type": "float", "default": 17.2, "min": 6.9, "max": 34.4, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328699 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 5.0, \"min\": 4.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Major diameter (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 0.8, \"min\": 0.4, \"max\": 1.6, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Pitch (mm)'},\n    \"thread_len\": {\"type\": 'float', \"default\": 17.2, \"min\": 6.9, \"max\": 34.4, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.IsoThread(major_diameter=p[\"major_d\"], pitch=p[\"pitch\"], length=p[\"thread_len\"], external=True, end_finishes=(\"fade\", \"fade\"))\n    _r = _thr.min_radius if hasattr(_thr, 'min_radius') else _thr.root_radius\n    _shank = _bd.Cylinder(radius=_r, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = _shank + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462c9c3c_0136", "family": "lofted", "tier": 1, "seed": 1177328700, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "d75bb552434a0816", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 85300.0, "surface_area": 14000.0, "principal_moments": [28999999.999999996, 28999999.999999996, 40500000.0], "n_faces": 8, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["Lofted body through 2 sections: 66.45 \u00d7 66.45 mm rectangular section \u2192 \u00d828.2 mm circular section.", "One \u00d810 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 2 sections: 66.45 \u00d7 66.45 mm rectangular section \u2192 \u00d828.2 mm circular section. One \u00d810 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 66.45, "min": 33.2, "max": 106.3, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 28.2, "min": 11.3, "max": 79.7, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 39.4, "min": 15.8, "max": 78.8, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_bore_d": {"type": "float", "default": 10.0, "min": 2.0, "max": 22.6, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328700 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 66.45, \"min\": 33.2, \"max\": 106.3, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 28.2, \"min\": 11.3, \"max\": 79.7, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 39.4, \"min\": 15.8, \"max\": 78.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 22.6, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .rect(p[\"loft_base\"], p[\"loft_base\"])\n        .workplane(offset=p[\"loft_h\"])\n        .circle(p[\"loft_top\"] / 2)\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462c9c3d_0137", "family": "bracket", "tier": 1, "seed": 1177328701, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "5e39573ff8500206", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 8170.0, "surface_area": 6300.0, "principal_moments": [1540000.0, 1660000.0, 2170000.0], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["C-channel bracket: base leg 30 mm, vertical leg 25 mm, 38.12 mm wide, 3 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."], "text": "C-channel bracket: base leg 30 mm, vertical leg 25 mm, 38.12 mm wide, 3 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 30, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 25.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 38.12, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 3.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328701 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 30, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 25.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 38.12, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462c9c3e_0138", "family": "tapped", "tier": 0, "seed": 1177328702, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "7676fa503ca7f830", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 38500.0, "surface_area": 8570.0, "principal_moments": [7760000.0, 7760000.0, 11300000.0], "n_faces": 196, "n_edges": 556, "n_vertices": 362}, "dimensions": {"lines": ["One M16x2 tapped hole in a cylinder."], "text": "One M16x2 tapped hole in a cylinder."}, "params": {"major_d": {"type": "float", "default": 16.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 2.0, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 25.6, "min": 19.2, "max": 46.1, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "body_d": {"type": "float", "default": 46.2, "min": 28.8, "max": 73.9, "step": 1.0, "group": "Body", "label": "Outer \u00d8 (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328702 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 16.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 2.0, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 25.6, \"min\": 19.2, \"max\": 46.1, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"body_d\": {\"type\": 'float', \"default\": 46.2, \"min\": 28.8, \"max\": 73.9, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer \u00d8 (mm)'},\n}\n\n\ndef build(p):\n\n    _W = _D = p[\"body_d\"]\n    _H = p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Cylinder(radius=_W / 2, height=_H)\n    _locs = [(0.0, 0.0)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462c9c3f_0139", "family": "bracket", "tier": 2, "seed": 1177328703, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "644cbd635658c2d5", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 20500.0, "surface_area": 11900.0, "principal_moments": [3900000.0, 30699999.999999996, 32599999.999999996], "n_faces": 18, "n_edges": 48, "n_vertices": 32}, "dimensions": {"lines": ["Z-bracket: base leg 72.22 mm, vertical leg 57.7 mm, top leg 67.8 mm, 25 mm wide, 4 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg; 4.4 mm corner gusset."], "text": "Z-bracket: base leg 72.22 mm, vertical leg 57.7 mm, top leg 67.8 mm, 25 mm wide, 4 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg; 4.4 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 72.22, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 57.7, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 25, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 4.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 67.8, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}, "gusset_t": {"type": "float", "default": 4.4, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328703 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 72.22, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 57.7, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 25, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 67.8, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 4.4, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _tl, _vl) * 0.4 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(0, _vl - _bt).lineTo(-_g, _vl - _bt)\n                    .lineTo(0, _vl - _bt - _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462c9c40_0140", "family": "bracket", "tier": 3, "seed": 1177328704, "symmetry": "none", "op_count": 1, "ir_hash": "342c53d955448485", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 38500.0, "surface_area": 17300.0, "principal_moments": [12099999.999999998, 40200000.0, 43800000.0], "n_faces": 18, "n_edges": 48, "n_vertices": 32}, "dimensions": {"lines": ["Z-bracket: base leg 63.85 mm, vertical leg 52.8 mm, top leg 43.6 mm, 50 mm wide, 5 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 6.4 mm corner gusset."], "text": "Z-bracket: base leg 63.85 mm, vertical leg 52.8 mm, top leg 43.6 mm, 50 mm wide, 5 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 6.4 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 63.85, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 52.8, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 50, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 5.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 43.6, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}, "gusset_t": {"type": "float", "default": 6.4, "min": 2.5, "max": 15.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328704 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 63.85, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 52.8, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 50, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 43.6, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.5, \"max\": 15.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _tl, _vl) * 0.4 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(0, _vl - _bt).lineTo(-_g, _vl - _bt)\n                    .lineTo(0, _vl - _bt - _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462c9c41_0141", "family": "compound", "tier": 2, "seed": 1177328705, "symmetry": "mirror_xy", "op_count": 4, "ir_hash": "f352b7564c5bea4e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 47900.0, "surface_area": 12200.0, "principal_moments": [9420000.0, 12699999.999999998, 15099999.999999998], "n_faces": 22, "n_edges": 66, "n_vertices": 44}, "dimensions": {"lines": ["Rectangular body, 47.72 \u00d7 29.1 \u00d7 38.2 mm (W\u00d7D\u00d7H).", "28.8 \u00d7 23.9 mm rectangular section attachment, 3 mm long, from left face.", "Four \u00d85.3 mm holes at the corners, 17.28 \u00d7 14.34 mm spacing on the <X face.", "Pocket 19.4 \u00d7 17.3 mm, 20 mm deep, in top face."], "text": "Rectangular body, 47.72 \u00d7 29.1 \u00d7 38.2 mm (W\u00d7D\u00d7H). 28.8 \u00d7 23.9 mm rectangular section attachment, 3 mm long, from left face. Four \u00d85.3 mm holes at the corners, 17.28 \u00d7 14.34 mm spacing on the <X face. Pocket 19.4 \u00d7 17.3 mm, 20 mm deep, in top face."}, "params": {"block_w": {"type": "float", "default": 47.72, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 29.1, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 38.2, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "tab_a": {"type": "float", "default": 28.8, "min": 11.5, "max": 46.1, "step": 1.0, "group": "Tab", "label": "Tab width (mm)"}, "tab_b": {"type": "float", "default": 23.9, "min": 9.6, "max": 38.2, "step": 1.0, "group": "Tab", "label": "Tab height (mm)"}, "tab_t": {"type": "float", "default": 3.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Tab", "label": "Tab thickness (mm)"}, "tab_hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 5.3, "step": 0.1, "group": "Tab", "label": "Tab hole diameter (mm)"}, "pocket_w": {"type": "float", "default": 19.4, "min": 9.7, "max": 38.2, "step": 1.0, "group": "Pocket", "label": "Pocket width (mm)"}, "pocket_d": {"type": "float", "default": 17.3, "min": 8.7, "max": 23.3, "step": 1.0, "group": "Pocket", "label": "Pocket depth (mm)"}, "pocket_h": {"type": "float", "default": 20.0, "min": 8.0, "max": 32.5, "step": 0.5, "group": "Pocket", "label": "Pocket height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328705 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 47.72, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 29.1, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 38.2, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"tab_a\": {\"type\": 'float', \"default\": 28.8, \"min\": 11.5, \"max\": 46.1, \"step\": 1.0, \"group\": 'Tab', \"label\": 'Tab width (mm)'},\n    \"tab_b\": {\"type\": 'float', \"default\": 23.9, \"min\": 9.6, \"max\": 38.2, \"step\": 1.0, \"group\": 'Tab', \"label\": 'Tab height (mm)'},\n    \"tab_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Tab', \"label\": 'Tab thickness (mm)'},\n    \"tab_hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 5.3, \"step\": 0.1, \"group\": 'Tab', \"label\": 'Tab hole diameter (mm)'},\n    \"pocket_w\": {\"type\": 'float', \"default\": 19.4, \"min\": 9.7, \"max\": 38.2, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket width (mm)'},\n    \"pocket_d\": {\"type\": 'float', \"default\": 17.3, \"min\": 8.7, \"max\": 23.3, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket depth (mm)'},\n    \"pocket_h\": {\"type\": 'float', \"default\": 20.0, \"min\": 8.0, \"max\": 32.5, \"step\": 0.5, \"group\": 'Pocket', \"label\": 'Pocket height (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .rect(p[\"tab_a\"], p[\"tab_b\"]).extrude(p[\"tab_t\"])\n    )\n    result = (\n        result.faces('<X').workplane()\n        .rect(p[\"tab_a\"] * 0.6, p[\"tab_b\"] * 0.6, forConstruction=True)\n        .vertices().hole(p[\"tab_hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"pocket_w\"], p[\"pocket_d\"])\n        .cutBlind(-p[\"pocket_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9c42_0142", "family": "plate", "tier": 1, "seed": 1177328706, "symmetry": "radial", "op_count": 2, "ir_hash": "9ac0e17f76de780a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 1250.0, "surface_area": 1050.0, "principal_moments": [19500.0, 68600.0, 82800.0], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Rectangular body, 25 \u00d7 12.1 \u00d7 5 mm (W\u00d7D\u00d7H).", "Four \u00d85.3 mm holes on a \u00d815 mm bolt circle."], "text": "Rectangular body, 25 \u00d7 12.1 \u00d7 5 mm (W\u00d7D\u00d7H). Four \u00d85.3 mm holes on a \u00d815 mm bolt circle."}, "params": {"plate_w": {"type": "float", "default": 25, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 12.1, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 5.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "bolt_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 7.5, "min": 5.0, "max": 11.2, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 4, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328706 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 25, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 12.1, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 5.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 7.5, \"min\": 5.0, \"max\": 11.2, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 4, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462c9c43_0143", "family": "profiled", "tier": 2, "seed": 1177328707, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "0ec77d04cd492417", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 6560.0, "surface_area": 2340.0, "principal_moments": [139000.0, 1400000.0, 1400000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["8-sided polygon section, 13.72 mm across corners, extruded 49.3 mm thick."], "text": "8-sided polygon section, 13.72 mm across corners, extruded 49.3 mm thick."}, "params": {"circ_r": {"type": "float", "default": 6.86, "min": 3.4, "max": 13.7, "step": 1.0, "group": "Profile", "label": "Circumscribed radius (mm)"}, "n_sides": {"type": "int", "default": 8, "min": 3, "max": 8, "step": 1, "group": "Profile", "label": "Sides"}, "length": {"type": "float", "default": 49.3, "min": 14.8, "max": 147.9, "step": 5.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328707 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"circ_r\": {\"type\": 'float', \"default\": 6.86, \"min\": 3.4, \"max\": 13.7, \"step\": 1.0, \"group\": 'Profile', \"label\": 'Circumscribed radius (mm)'},\n    \"n_sides\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Profile', \"label\": 'Sides'},\n    \"length\": {\"type\": 'float', \"default\": 49.3, \"min\": 14.8, \"max\": 147.9, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').polygon(p[\"n_sides\"], p[\"circ_r\"] * 2).extrude(p[\"length\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462c9c44_0144", "family": "sketched", "tier": 2, "seed": 1177328708, "symmetry": "none", "op_count": 3, "ir_hash": "d51445c37fb9b1ad", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 73300.0, "surface_area": 12500.0, "principal_moments": [18200000.0, 30599999.999999996, 43200000.0], "n_faces": 13, "n_edges": 27, "n_vertices": 18}, "dimensions": {"lines": ["freeform sketched section (6 segments: 1 straight, 3 arcs, 2 curves), ~77.733 \u00d7 56.148 mm, extruded 20 mm thick.", "One \u00d85.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch.", "Boss \u00d817.2 mm \u00d7 9.2 mm tall on top face with a \u00d84.3 mm bore."], "text": "freeform sketched section (6 segments: 1 straight, 3 arcs, 2 curves), ~77.733 \u00d7 56.148 mm, extruded 20 mm thick. One \u00d85.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch. Boss \u00d817.2 mm \u00d7 9.2 mm tall on top face with a \u00d84.3 mm bore."}, "params": {"sk_w": {"type": "float", "default": 85, "min": 42.5, "max": 153.0, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 76.33, "min": 38.2, "max": 137.4, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "sk_t": {"type": "float", "default": 20, "min": 8.0, "max": 44.0, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "sk_hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 10.6, "step": 0.5, "group": "Holes", "label": "Hole diameter (mm)"}, "boss_d": {"type": "float", "default": 17.2, "min": 8.6, "max": 34.4, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 9.2, "min": 3.7, "max": 23.0, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}, "boss_bore_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 12.0, "step": 0.1, "group": "Boss", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328708 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 85, \"min\": 42.5, \"max\": 153.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 76.33, \"min\": 38.2, \"max\": 137.4, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"sk_t\": {\"type\": 'float', \"default\": 20, \"min\": 8.0, \"max\": 44.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"sk_hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 10.6, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"boss_d\": {\"type\": 'float', \"default\": 17.2, \"min\": 8.6, \"max\": 34.4, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 9.2, \"min\": 3.7, \"max\": 23.0, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n    \"boss_bore_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 12.0, \"step\": 0.1, \"group\": 'Boss', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.4782, p[\"sk_h\"] * -0.0597).spline([(p[\"sk_w\"] * 0.4782, p[\"sk_h\"] * -0.0597), (p[\"sk_w\"] * 0.414, p[\"sk_h\"] * 0.1424), (p[\"sk_w\"] * 0.259, p[\"sk_h\"] * 0.2872)]).spline([(p[\"sk_w\"] * 0.259, p[\"sk_h\"] * 0.2872), (p[\"sk_w\"] * 0.0178, p[\"sk_h\"] * 0.3642), (p[\"sk_w\"] * -0.2331, p[\"sk_h\"] * 0.33)]).lineTo(p[\"sk_w\"] * -0.4363, p[\"sk_h\"] * 0.0666).threePointArc((p[\"sk_w\"] * -0.4205, p[\"sk_h\"] * -0.197), (p[\"sk_w\"] * -0.2774, p[\"sk_h\"] * -0.4056)).threePointArc((p[\"sk_w\"] * -0.0374, p[\"sk_h\"] * -0.4011), (p[\"sk_w\"] * 0.2112, p[\"sk_h\"] * -0.3082)).threePointArc((p[\"sk_w\"] * 0.4008, p[\"sk_h\"] * -0.2115), (p[\"sk_w\"] * 0.4782, p[\"sk_h\"] * -0.0597)).close().extrude(p[\"sk_t\"]))\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"sk_hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .hole(p[\"boss_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462c9c45_0145", "family": "threaded", "tier": 0, "seed": 1177328709, "symmetry": "none", "op_count": 1, "ir_hash": "923e0e504cf15df4", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 692.0, "surface_area": 682.0, "principal_moments": [4610.0, 18500.0, 18500.0], "n_faces": 140, "n_edges": 354, "n_vertices": 216}, "dimensions": {"lines": ["M8x1.25 external thread, 16.9 mm long."], "text": "M8x1.25 external thread, 16.9 mm long."}, "params": {"major_d": {"type": "float", "default": 8.0, "min": 4.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Major diameter (mm)"}, "pitch": {"type": "float", "default": 1.25, "min": 0.62, "max": 2.5, "step": 0.05, "group": "Thread", "label": "Pitch (mm)"}, "thread_len": {"type": "float", "default": 16.9, "min": 6.8, "max": 33.8, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328709 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 8.0, \"min\": 4.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Major diameter (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.25, \"min\": 0.62, \"max\": 2.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Pitch (mm)'},\n    \"thread_len\": {\"type\": 'float', \"default\": 16.9, \"min\": 6.8, \"max\": 33.8, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.IsoThread(major_diameter=p[\"major_d\"], pitch=p[\"pitch\"], length=p[\"thread_len\"], external=True, end_finishes=(\"fade\", \"fade\"))\n    _r = _thr.min_radius if hasattr(_thr, 'min_radius') else _thr.root_radius\n    _shank = _bd.Cylinder(radius=_r, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = _shank + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462c9c46_0146", "family": "bracket", "tier": 3, "seed": 1177328710, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "4d7a8a8c419d0ab0", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 7920.0, "surface_area": 5520.0, "principal_moments": [1200000.0, 4490000.0, 5400000.0], "n_faces": 26, "n_edges": 92, "n_vertices": 56}, "dimensions": {"lines": ["C-channel bracket: base leg 60 mm, vertical leg 38.2 mm, 15 mm wide, 4 mm thick; 2 \u00d7 \u00d84.3 mm holes per leg; 3.6 mm corner gusset."], "text": "C-channel bracket: base leg 60 mm, vertical leg 38.2 mm, 15 mm wide, 4 mm thick; 2 \u00d7 \u00d84.3 mm holes per leg; 3.6 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 60, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 38.2, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 15.0, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 4.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 6.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 2, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 3.6, "min": 2.0, "max": 7.5, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328710 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 60, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 38.2, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 15.0, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 6.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 2, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 3.6, \"min\": 2.0, \"max\": 7.5, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl / 2, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bl - _bt, _bt).lineTo(_bl - _bt - _g, _bt)\n                    .lineTo(_bl - _bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462c9c47_0147", "family": "compound", "tier": 2, "seed": 1177328711, "symmetry": "mirror_xy", "op_count": 5, "ir_hash": "8541333362fc1b7d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 20000.0, "surface_area": 6410.0, "principal_moments": [2230000.0, 2860000.0, 2990000.0], "n_faces": 21, "n_edges": 49, "n_vertices": 31}, "dimensions": {"lines": ["Rectangular body, 32.83 \u00d7 26.1 \u00d7 24.8 mm (W\u00d7D\u00d7H).", "\u00d87.1 mm circular section attachment, 4.5 mm long, from left face with a \u00d84.4 mm bore.", "\u00d87.1 mm circular section attachment, 4.5 mm long, from front face with a \u00d84.4 mm bore.", "\u00d87.1 mm circular section attachment, 4.5 mm long, from back face with a \u00d84.4 mm bore.", "Four \u00d84.3 mm holes at the corners, 22.981 \u00d7 18.27 mm spacing."], "text": "Rectangular body, 32.83 \u00d7 26.1 \u00d7 24.8 mm (W\u00d7D\u00d7H). \u00d87.1 mm circular section attachment, 4.5 mm long, from left face with a \u00d84.4 mm bore. \u00d87.1 mm circular section attachment, 4.5 mm long, from front face with a \u00d84.4 mm bore. \u00d87.1 mm circular section attachment, 4.5 mm long, from back face with a \u00d84.4 mm bore. Four \u00d84.3 mm holes at the corners, 22.981 \u00d7 18.27 mm spacing."}, "params": {"block_w": {"type": "float", "default": 32.83, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body width (mm)"}, "block_d": {"type": "float", "default": 26.1, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body depth (mm)"}, "block_h": {"type": "float", "default": 24.8, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body height (mm)"}, "port_d": {"type": "float", "default": 7.1, "min": 2.8, "max": 11.2, "step": 1.0, "group": "Ports", "label": "Ports diameter (mm)"}, "port_len": {"type": "float", "default": 4.5, "min": 1.8, "max": 21.3, "step": 1.0, "group": "Ports", "label": "Port boss length (mm)"}, "port_bore": {"type": "float", "default": 4.4, "min": 2.0, "max": 5.1, "step": 0.5, "group": "Ports", "label": "Port bore diameter (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 5.9, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328711 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 32.83, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 26.1, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 24.8, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body height (mm)'},\n    \"port_d\": {\"type\": 'float', \"default\": 7.1, \"min\": 2.8, \"max\": 11.2, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Ports diameter (mm)'},\n    \"port_len\": {\"type\": 'float', \"default\": 4.5, \"min\": 1.8, \"max\": 21.3, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Port boss length (mm)'},\n    \"port_bore\": {\"type\": 'float', \"default\": 4.4, \"min\": 2.0, \"max\": 5.1, \"step\": 0.5, \"group\": 'Ports', \"label\": 'Port bore diameter (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 5.9, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462c9c48_0148", "family": "sketched", "tier": 0, "seed": 1177328712, "symmetry": "none", "op_count": 1, "ir_hash": "9c4a8ca2757c646c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 138000.0, "surface_area": 24800.0, "principal_moments": [57599999.99999999, 81000000.0, 81000000.0], "n_faces": 7, "n_edges": 12, "n_vertices": 7}, "dimensions": {"lines": ["Revolved organic body from a freeform sketched section (6 segments: 4 straight, 1 arc, 1 curve), ~30.877 \u00d7 65 mm half-silhouette."], "text": "Revolved organic body from a freeform sketched section (6 segments: 4 straight, 1 arc, 1 curve), ~30.877 \u00d7 65 mm half-silhouette."}, "params": {"sk_r": {"type": "float", "default": 39.98, "min": 20.0, "max": 72.0, "step": 1.0, "group": "Sketch", "label": "Max radius (mm)"}, "sk_h": {"type": "float", "default": 65, "min": 32.5, "max": 117.0, "step": 1.0, "group": "Sketch", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328712 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_r\": {\"type\": 'float', \"default\": 39.98, \"min\": 20.0, \"max\": 72.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Max radius (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 65, \"min\": 32.5, \"max\": 117.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XZ').moveTo(p[\"sk_r\"] * 0.8674, p[\"sk_h\"] * 0.0).threePointArc((p[\"sk_r\"] * 0.6864, p[\"sk_h\"] * 0.2583), (p[\"sk_r\"] * 0.7061, p[\"sk_h\"] * 0.5165)).bezier([(p[\"sk_r\"] * 0.7061, p[\"sk_h\"] * 0.5165), (p[\"sk_r\"] * 0.6087, p[\"sk_h\"] * 0.6439), (p[\"sk_r\"] * 0.5709, p[\"sk_h\"] * 0.7714)]).lineTo(p[\"sk_r\"] * 0.4174, p[\"sk_h\"] * 0.8884).lineTo(p[\"sk_r\"] * 0.9397, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.1674, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.1674, p[\"sk_h\"] * 0.0).close().revolve())\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462c9c49_0149", "family": "ribbed", "tier": 1, "seed": 1177328713, "symmetry": "none", "op_count": 2, "ir_hash": "65b60fc21e85118d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 81900.0, "surface_area": 24500.0, "principal_moments": [39100000.0, 51699999.99999999, 86900000.0], "n_faces": 36, "n_edges": 84, "n_vertices": 56}, "dimensions": {"lines": ["Rectangular body, 86.32 \u00d7 75 \u00d7 10 mm (W\u00d7D\u00d7H).", "Six ribs, 4.4 mm thick, 9.4 mm tall."], "text": "Rectangular body, 86.32 \u00d7 75 \u00d7 10 mm (W\u00d7D\u00d7H). Six ribs, 4.4 mm thick, 9.4 mm tall."}, "params": {"base_w": {"type": "float", "default": 86.32, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 75.0, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 10.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 6, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 9.4, "min": 3.8, "max": 18.8, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 4.4, "min": 1.0, "max": 11.0, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328713 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 86.32, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 75.0, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 6, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 9.4, \"min\": 3.8, \"max\": 18.8, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 4.4, \"min\": 1.0, \"max\": 11.0, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462c9c4a_0150", "family": "swept", "tier": 2, "seed": 1177328714, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "3619f2298d982803", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 17700.0, "surface_area": 5990.0, "principal_moments": [1070000.0, 14899999.999999998, 15599999.999999998], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["19.6 \u00d7 10.5 mm rectangular section swept along a curved path, ~80 mm span."], "text": "19.6 \u00d7 10.5 mm rectangular section swept along a curved path, ~80 mm span."}, "params": {"path_w": {"type": "float", "default": 80.0, "min": 40.0, "max": 144.0, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 65, "min": 32.5, "max": 117.0, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_a": {"type": "float", "default": 19.6, "min": 9.8, "max": 35.3, "step": 1.0, "group": "Section", "label": "Section width (mm)"}, "sweep_b": {"type": "float", "default": 10.5, "min": 5.2, "max": 18.9, "step": 1.0, "group": "Section", "label": "Section depth (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328714 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 80.0, \"min\": 40.0, \"max\": 144.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 65, \"min\": 32.5, \"max\": 117.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_a\": {\"type\": 'float', \"default\": 19.6, \"min\": 9.8, \"max\": 35.3, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section width (mm)'},\n    \"sweep_b\": {\"type\": 'float', \"default\": 10.5, \"min\": 5.2, \"max\": 18.9, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section depth (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.4201, p[\"path_h\"] * 0.2963), (p[\"path_w\"] * 0.7095, p[\"path_h\"] * 0.4528), (p[\"path_w\"] * 0.8323, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').rect(p[\"sweep_a\"], p[\"sweep_b\"]).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462c9c4b_0151", "family": "gear", "tier": 1, "seed": 1177328715, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "077778e8a54ce473", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 37300.0, "surface_area": 10600.0, "principal_moments": [7890000.0, 7890000.0, 13099999.999999998], "n_faces": 63, "n_edges": 183, "n_vertices": 122}, "dimensions": {"lines": ["Spur gear, module 5 mm, 10 teeth (pitch \u00d850 mm), face width 20.6 mm, \u00d88.9 mm bore."], "text": "Spur gear, module 5 mm, 10 teeth (pitch \u00d850 mm), face width 20.6 mm, \u00d88.9 mm bore."}, "params": {"module": {"type": "float", "default": 5.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 10, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 20.6, "min": 8.2, "max": 51.5, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "bore_d": {"type": "float", "default": 8.9, "min": 2.0, "max": 22.5, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328715 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 5.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 10, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 20.6, \"min\": 8.2, \"max\": 51.5, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 8.9, \"min\": 2.0, \"max\": 22.5, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462c9c4c_0152", "family": "flanged", "tier": 1, "seed": 1177328716, "symmetry": "none", "op_count": 2, "ir_hash": "b2d71a31ce55598c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 60600.0, "surface_area": 20300.0, "principal_moments": [26899999.999999996, 26899999.999999996, 29699999.999999996], "n_faces": 18, "n_edges": 45, "n_vertices": 30}, "dimensions": {"lines": ["Revolved body, \u00d840.7 mm \u00d7 44.1 mm tall with \u00d818.9 mm bore, \u00d887 mm \u00d7 3.5 mm flange.", "Twelve \u00d84.3 mm holes on a \u00d852.2 mm bolt circle."], "text": "Revolved body, \u00d840.7 mm \u00d7 44.1 mm tall with \u00d818.9 mm bore, \u00d887 mm \u00d7 3.5 mm flange. Twelve \u00d84.3 mm holes on a \u00d852.2 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 40.7, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 44.1, "min": 13.2, "max": 110.2, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 18.9, "min": 2.0, "max": 28.5, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 87.0, "min": 52.9, "max": 122.1, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 3.5, "min": 1.1, "max": 17.6, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 26.1, "min": 17.4, "max": 39.1, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 12, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328716 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 40.7, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 44.1, \"min\": 13.2, \"max\": 110.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 18.9, \"min\": 2.0, \"max\": 28.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 87.0, \"min\": 52.9, \"max\": 122.1, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 3.5, \"min\": 1.1, \"max\": 17.6, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 26.1, \"min\": 17.4, \"max\": 39.1, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 12, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9c4d_0153", "family": "plate", "tier": 0, "seed": 1177328717, "symmetry": "radial", "op_count": 1, "ir_hash": "18f79d06e8eeb365", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 12600.0, "surface_area": 4140.0, "principal_moments": [568000.0, 3890000.0, 4240000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 60 \u00d7 21 \u00d7 10 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 60 \u00d7 21 \u00d7 10 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 60, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 21.0, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328717 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 60, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 21.0, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9c4e_0154", "family": "plate", "tier": 1, "seed": 1177328718, "symmetry": "none", "op_count": 2, "ir_hash": "1524a99f666c703b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 45600.0, "surface_area": 15700.0, "principal_moments": [9910000.0, 52299999.99999999, 61799999.99999999], "n_faces": 18, "n_edges": 48, "n_vertices": 32}, "dimensions": {"lines": ["Rectangular body, 117.33 \u00d7 50.8 \u00d7 8 mm (W\u00d7D\u00d7H).", "Twelve \u00d85.3 mm holes in a 4\u00d73 grid, 31.3 \u00d7 20.3 mm pitch."], "text": "Rectangular body, 117.33 \u00d7 50.8 \u00d7 8 mm (W\u00d7D\u00d7H). Twelve \u00d85.3 mm holes in a 4\u00d73 grid, 31.3 \u00d7 20.3 mm pitch."}, "params": {"plate_w": {"type": "float", "default": 117.33, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 50.8, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 6.1, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 4, "min": 1, "max": 4, "step": 1, "group": "Holes", "label": "Holes across"}, "hole_ny": {"type": "int", "default": 3, "min": 1, "max": 4, "step": 1, "group": "Holes", "label": "Holes deep"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328718 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 117.33, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 50.8, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 6.1, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 4, \"min\": 1, \"max\": 4, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes across'},\n    \"hole_ny\": {\"type\": 'int', \"default\": 3, \"min\": 1, \"max\": 4, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes deep'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(31.3, 20.3, p[\"hole_nx\"], p[\"hole_ny\"])\n        .hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462c9c4f_0155", "family": "tapped", "tier": 0, "seed": 1177328719, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "5b9f1da66679773b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 6580.0, "surface_area": 2650.0, "principal_moments": [409000.0, 409000.0, 479000.0], "n_faces": 119, "n_edges": 321, "n_vertices": 204}, "dimensions": {"lines": ["One M8x1.25 tapped hole in a cylinder."], "text": "One M8x1.25 tapped hole in a cylinder."}, "params": {"major_d": {"type": "float", "default": 8.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 1.25, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 17.6, "min": 9.6, "max": 31.7, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "body_d": {"type": "float", "default": 23.0, "min": 14.4, "max": 36.8, "step": 1.0, "group": "Body", "label": "Outer \u00d8 (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328719 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.25, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 17.6, \"min\": 9.6, \"max\": 31.7, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"body_d\": {\"type\": 'float', \"default\": 23.0, \"min\": 14.4, \"max\": 36.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer \u00d8 (mm)'},\n}\n\n\ndef build(p):\n\n    _W = _D = p[\"body_d\"]\n    _H = p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Cylinder(radius=_W / 2, height=_H)\n    _locs = [(0.0, 0.0)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462c9c50_0156", "family": "block", "tier": 1, "seed": 1177328720, "symmetry": "none", "op_count": 2, "ir_hash": "a25707c62b2d7434", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 1140.0, "surface_area": 1040.0, "principal_moments": [22400.0, 23200.0, 39000.0], "n_faces": 14, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 15 \u00d7 6.1 \u00d7 14.2 mm (W\u00d7D\u00d7H).", "Four \u00d81.9 mm holes at the corners, 10.5 \u00d7 4.27 mm spacing."], "text": "Rectangular body, 15 \u00d7 6.1 \u00d7 14.2 mm (W\u00d7D\u00d7H). Four \u00d81.9 mm holes at the corners, 10.5 \u00d7 4.27 mm spacing."}, "params": {"block_w": {"type": "float", "default": 15.0, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 6.1, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 14.2, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 1.9, "min": 2.0, "max": 1.4, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328720 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 15.0, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 6.1, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 14.2, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 1.9, \"min\": 2.0, \"max\": 1.4, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462c9c51_0157", "family": "gear", "tier": 2, "seed": 1177328721, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "108d3fc25d74d021", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 4870.0, "surface_area": 3450.0, "principal_moments": [504000.0, 504000.0, 995000.0], "n_faces": 237, "n_edges": 705, "n_vertices": 470}, "dimensions": {"lines": ["Spur gear, module 1 mm, 39 teeth (pitch \u00d839 mm), face width 4 mm, \u00d86.1 mm bore."], "text": "Spur gear, module 1 mm, 39 teeth (pitch \u00d839 mm), face width 4 mm, \u00d86.1 mm bore."}, "params": {"module": {"type": "float", "default": 1.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 39, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 4.0, "min": 1.6, "max": 10.0, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "profile_shift": {"type": "float", "default": 0.49, "min": -0.5, "max": 0.7, "step": 0.05, "group": "Gear", "label": "Profile shift"}, "root_fillet": {"type": "float", "default": 0.23, "min": 0.0, "max": 0.5, "step": 0.05, "group": "Gear", "label": "Root fillet (mm)"}, "bore_d": {"type": "float", "default": 6.1, "min": 2.0, "max": 21.9, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328721 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 1.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 39, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 4.0, \"min\": 1.6, \"max\": 10.0, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"profile_shift\": {\"type\": 'float', \"default\": 0.49, \"min\": -0.5, \"max\": 0.7, \"step\": 0.05, \"group\": 'Gear', \"label\": 'Profile shift'},\n    \"root_fillet\": {\"type\": 'float', \"default\": 0.23, \"min\": 0.0, \"max\": 0.5, \"step\": 0.05, \"group\": 'Gear', \"label\": 'Root fillet (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 6.1, \"min\": 2.0, \"max\": 21.9, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"], profile_shift=p[\"profile_shift\"], root_fillet=p[\"root_fillet\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462c9c52_0158", "family": "revolved", "tier": 2, "seed": 1177328722, "symmetry": "radial", "op_count": 1, "ir_hash": "e12eb5398edfdc8c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 1190.0, "surface_area": 799.0, "principal_moments": [24300.0, 25700.0, 25700.0], "n_faces": 4, "n_edges": 6, "n_vertices": 4}, "dimensions": {"lines": ["Revolved body, \u00d812.1 mm \u00d7 11.7 mm tall with \u00d84.1 mm bore."], "text": "Revolved body, \u00d812.1 mm \u00d7 11.7 mm tall with \u00d84.1 mm bore."}, "params": {"outer_d": {"type": "float", "default": 12.1, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 11.7, "min": 3.5, "max": 35.1, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 4.1, "min": 2.0, "max": 8.5, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328722 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 12.1, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 11.7, \"min\": 3.5, \"max\": 35.1, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 4.1, \"min\": 2.0, \"max\": 8.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462c9c53_0159", "family": "swept", "tier": 1, "seed": 1177328723, "symmetry": "none", "op_count": 1, "ir_hash": "0c075ca966a4d75a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 7470.0, "surface_area": 2840.0, "principal_moments": [338000.0, 2320000.0, 2500000.0], "n_faces": 3, "n_edges": 3, "n_vertices": 2}, "dimensions": {"lines": ["\u00d812.7 mm circular section swept along a curved path, ~52.87 mm span."], "text": "\u00d812.7 mm circular section swept along a curved path, ~52.87 mm span."}, "params": {"path_w": {"type": "float", "default": 52.87, "min": 26.4, "max": 95.2, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 50.7, "min": 25.4, "max": 91.3, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_d": {"type": "float", "default": 12.7, "min": 6.3, "max": 22.9, "step": 1.0, "group": "Section", "label": "Section diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328723 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 52.87, \"min\": 26.4, \"max\": 95.2, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 50.7, \"min\": 25.4, \"max\": 91.3, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_d\": {\"type\": 'float', \"default\": 12.7, \"min\": 6.3, \"max\": 22.9, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.6044), (p[\"path_w\"] * 0.3963, p[\"path_h\"] * 0.826), (p[\"path_w\"] * 0.5094, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').circle(p[\"sweep_d\"] / 2).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462c9c54_0160", "family": "lofted", "tier": 1, "seed": 1177328724, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "39172e63fd1985f8", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 38000.0, "surface_area": 8260.0, "principal_moments": [6510000.0, 9650000.0, 9650000.0], "n_faces": 9, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["Lofted body through 2 sections: \u00d844.92 mm circular section \u2192 6-sided polygon section, 18.9 mm across corners.", "One \u00d88.7 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 2 sections: \u00d844.92 mm circular section \u2192 6-sided polygon section, 18.9 mm across corners. One \u00d88.7 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 44.92, "min": 22.5, "max": 71.9, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 18.9, "min": 7.6, "max": 53.9, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 50.8, "min": 20.3, "max": 101.6, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_bore_d": {"type": "float", "default": 8.7, "min": 2.0, "max": 15.1, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328724 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 44.92, \"min\": 22.5, \"max\": 71.9, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 18.9, \"min\": 7.6, \"max\": 53.9, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 50.8, \"min\": 20.3, \"max\": 101.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 8.7, \"min\": 2.0, \"max\": 15.1, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .circle(p[\"loft_base\"] / 2)\n        .workplane(offset=p[\"loft_h\"])\n        .polygon(6, p[\"loft_top\"] * 0.5 * 2)\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462c9c55_0161", "family": "compound", "tier": 1, "seed": 1177328725, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "5573a87be5c81b8b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 249000.0, "surface_area": 29700.0, "principal_moments": [149000000.0, 223000000.0, 223000000.0], "n_faces": 14, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["Lofted body through 2 sections: 75 \u00d7 75 mm rectangular section \u2192 \u00d840.9 mm circular section.", "5-sided polygon section, 29.8 mm across corners attachment, 32.4 mm long, from top face with a \u00d811.1 mm bore."], "text": "Lofted body through 2 sections: 75 \u00d7 75 mm rectangular section \u2192 \u00d840.9 mm circular section. 5-sided polygon section, 29.8 mm across corners attachment, 32.4 mm long, from top face with a \u00d811.1 mm bore."}, "params": {"adapter_base": {"type": "float", "default": 75, "min": 45.0, "max": 112.5, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "adapter_top": {"type": "float", "default": 40.9, "min": 20.4, "max": 75, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "adapter_h": {"type": "float", "default": 74.9, "min": 30.0, "max": 149.8, "step": 1.0, "group": "Body", "label": "Transition height (mm)"}, "neck_sides": {"type": "int", "default": 5, "min": 3, "max": 8, "step": 1, "group": "Neck", "label": "Neck sides"}, "neck_r": {"type": "float", "default": 14.9, "min": 7.5, "max": 20.4, "step": 1.0, "group": "Neck", "label": "Neck circumradius (mm)"}, "neck_l": {"type": "float", "default": 32.4, "min": 13.0, "max": 81.0, "step": 1.0, "group": "Neck", "label": "Neck length (mm)"}, "neck_bore": {"type": "float", "default": 11.1, "min": 2.0, "max": 17.4, "step": 0.5, "group": "Neck", "label": "Neck bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328725 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"adapter_base\": {\"type\": 'float', \"default\": 75, \"min\": 45.0, \"max\": 112.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"adapter_top\": {\"type\": 'float', \"default\": 40.9, \"min\": 20.4, \"max\": 75, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"adapter_h\": {\"type\": 'float', \"default\": 74.9, \"min\": 30.0, \"max\": 149.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Transition height (mm)'},\n    \"neck_sides\": {\"type\": 'int', \"default\": 5, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Neck', \"label\": 'Neck sides'},\n    \"neck_r\": {\"type\": 'float', \"default\": 14.9, \"min\": 7.5, \"max\": 20.4, \"step\": 1.0, \"group\": 'Neck', \"label\": 'Neck circumradius (mm)'},\n    \"neck_l\": {\"type\": 'float', \"default\": 32.4, \"min\": 13.0, \"max\": 81.0, \"step\": 1.0, \"group\": 'Neck', \"label\": 'Neck length (mm)'},\n    \"neck_bore\": {\"type\": 'float', \"default\": 11.1, \"min\": 2.0, \"max\": 17.4, \"step\": 0.5, \"group\": 'Neck', \"label\": 'Neck bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .rect(p[\"adapter_base\"], p[\"adapter_base\"])\n        .workplane(offset=p[\"adapter_h\"])\n        .circle(p[\"adapter_top\"] / 2)\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"neck_sides\"], p[\"neck_r\"] * 2).extrude(p[\"neck_l\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"neck_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462c9c56_0162", "family": "gear", "tier": 0, "seed": 1177328726, "symmetry": "none", "op_count": 1, "ir_hash": "5825a52736f302d5", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 18600.0, "surface_area": 6240.0, "principal_moments": [2400000.0, 2400000.0, 4060000.0], "n_faces": 62, "n_edges": 180, "n_vertices": 120}, "dimensions": {"lines": ["Spur gear, module 4 mm, 10 teeth (pitch \u00d840 mm), face width 15.5 mm."], "text": "Spur gear, module 4 mm, 10 teeth (pitch \u00d840 mm), face width 15.5 mm."}, "params": {"module": {"type": "float", "default": 4.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 10, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 15.5, "min": 6.2, "max": 38.8, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328726 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 4.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 10, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 15.5, \"min\": 6.2, \"max\": 38.8, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462c9c57_0163", "family": "compound", "tier": 2, "seed": 1177328727, "symmetry": "none", "op_count": 4, "ir_hash": "dfbe191e2a025173", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 74900.0, "surface_area": 14500.0, "principal_moments": [18000000.0, 26799999.999999996, 27499999.999999996], "n_faces": 17, "n_edges": 42, "n_vertices": 28}, "dimensions": {"lines": ["Rectangular body, 55 \u00d7 33.2 \u00d7 39.1 mm (W\u00d7D\u00d7H).", "42.6 \u00d7 34.9 mm rectangular section attachment, 5 mm long, from back face.", "Four \u00d84.3 mm holes at the corners, 25.56 \u00d7 20.94 mm spacing on the >Y face.", "Four \u00d85.3 mm holes at the corners, 38.5 \u00d7 23.24 mm spacing."], "text": "Rectangular body, 55 \u00d7 33.2 \u00d7 39.1 mm (W\u00d7D\u00d7H). 42.6 \u00d7 34.9 mm rectangular section attachment, 5 mm long, from back face. Four \u00d84.3 mm holes at the corners, 25.56 \u00d7 20.94 mm spacing on the >Y face. Four \u00d85.3 mm holes at the corners, 38.5 \u00d7 23.24 mm spacing."}, "params": {"block_w": {"type": "float", "default": 55, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 33.2, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 39.1, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "tab_a": {"type": "float", "default": 42.6, "min": 17.0, "max": 68.2, "step": 1.0, "group": "Tab", "label": "Tab width (mm)"}, "tab_b": {"type": "float", "default": 34.9, "min": 14.0, "max": 55.8, "step": 1.0, "group": "Tab", "label": "Tab height (mm)"}, "tab_t": {"type": "float", "default": 5.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Tab", "label": "Tab thickness (mm)"}, "tab_hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 7.7, "step": 0.1, "group": "Tab", "label": "Tab hole diameter (mm)"}, "block_hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 7.5, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328727 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 55, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 33.2, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 39.1, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"tab_a\": {\"type\": 'float', \"default\": 42.6, \"min\": 17.0, \"max\": 68.2, \"step\": 1.0, \"group\": 'Tab', \"label\": 'Tab width (mm)'},\n    \"tab_b\": {\"type\": 'float', \"default\": 34.9, \"min\": 14.0, \"max\": 55.8, \"step\": 1.0, \"group\": 'Tab', \"label\": 'Tab height (mm)'},\n    \"tab_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Tab', \"label\": 'Tab thickness (mm)'},\n    \"tab_hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 7.7, \"step\": 0.1, \"group\": 'Tab', \"label\": 'Tab hole diameter (mm)'},\n    \"block_hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 7.5, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .rect(p[\"tab_a\"], p[\"tab_b\"]).extrude(p[\"tab_t\"])\n    )\n    result = (\n        result.faces('>Y').workplane()\n        .rect(p[\"tab_a\"] * 0.6, p[\"tab_b\"] * 0.6, forConstruction=True)\n        .vertices().hole(p[\"tab_hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"block_hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462c9c58_0164", "family": "gear", "tier": 0, "seed": 1177328728, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "9660d4111e9e0430", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 9150.0, "surface_area": 4770.0, "principal_moments": [1190000.0, 1190000.0, 2320000.0], "n_faces": 218, "n_edges": 648, "n_vertices": 432}, "dimensions": {"lines": ["Spur gear, module 1.25 mm, 36 teeth (pitch \u00d845 mm), face width 5.8 mm."], "text": "Spur gear, module 1.25 mm, 36 teeth (pitch \u00d845 mm), face width 5.8 mm."}, "params": {"module": {"type": "float", "default": 1.25, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 36, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 5.8, "min": 2.3, "max": 14.5, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328728 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 1.25, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 36, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 5.8, \"min\": 2.3, \"max\": 14.5, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462c9c59_0165", "family": "enclosure", "tier": 3, "seed": 1177328729, "symmetry": "mirror_xy", "op_count": 4, "ir_hash": "7454cdb32efa7cb1", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 104000.0, "surface_area": 37400.0, "principal_moments": [64299999.99999999, 90000000.0, 117000000.0], "n_faces": 42, "n_edges": 124, "n_vertices": 85}, "dimensions": {"lines": ["Rectangular body, 85.08 \u00d7 39.8 \u00d7 62.6 mm (W\u00d7D\u00d7H).", "Hollowed to 5.3 mm wall thickness, open at top face.", "Four \u00d85.3 mm holes at the corners, 59.556 \u00d7 27.86 mm spacing.", "Fillet radius 3.159 mm on vertical edges."], "text": "Rectangular body, 85.08 \u00d7 39.8 \u00d7 62.6 mm (W\u00d7D\u00d7H). Hollowed to 5.3 mm wall thickness, open at top face. Four \u00d85.3 mm holes at the corners, 59.556 \u00d7 27.86 mm spacing. Fillet radius 3.159 mm on vertical edges."}, "params": {"enc_w": {"type": "float", "default": 85.08, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 39.8, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 62.6, "min": 25.0, "max": 125.2, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 5.3, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 9.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328729 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 85.08, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 39.8, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 62.6, \"min\": 25.0, \"max\": 125.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 9.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"enc_w\"] * 0.7, p[\"enc_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"enc_w\"], p[\"enc_d\"]) * 0.07937139128812853)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9c5a_0166", "family": "plate", "tier": 0, "seed": 1177328730, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "bd2ba192d2879efb", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 30300.0, "surface_area": 7780.0, "principal_moments": [2670000.0, 18000000.0, 19900000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 83.57 \u00d7 30.2 \u00d7 12 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 83.57 \u00d7 30.2 \u00d7 12 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 83.57, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 30.2, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328730 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 83.57, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 30.2, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9c5b_0167", "family": "plate", "tier": 1, "seed": 1177328731, "symmetry": "radial", "op_count": 2, "ir_hash": "0d21302443bcf42d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 75200.0, "surface_area": 17000.0, "principal_moments": [18400000.0, 89800000.0, 106000000.0], "n_faces": 8, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["Rectangular body, 119.17 \u00d7 52.8 \u00d7 12 mm (W\u00d7D\u00d7H).", "Four \u00d84.3 mm holes on a \u00d871.6 mm bolt circle."], "text": "Rectangular body, 119.17 \u00d7 52.8 \u00d7 12 mm (W\u00d7D\u00d7H). Four \u00d84.3 mm holes on a \u00d871.6 mm bolt circle."}, "params": {"plate_w": {"type": "float", "default": 119.17, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 52.8, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "bolt_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 35.8, "min": 23.8, "max": 53.6, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 4, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328731 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 119.17, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 52.8, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 35.8, \"min\": 23.8, \"max\": 53.6, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 4, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462c9c5c_0168", "family": "compound", "tier": 2, "seed": 1177328732, "symmetry": "mirror_x", "op_count": 5, "ir_hash": "c72b113edcaef6fc", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 349000.0, "surface_area": 36400.0, "principal_moments": [276000000.0, 283000000.0, 331000000.0], "n_faces": 20, "n_edges": 47, "n_vertices": 30}, "dimensions": {"lines": ["Rectangular body, 75 \u00d7 74.1 \u00d7 62.7 mm (W\u00d7D\u00d7H).", "\u00d813.7 mm circular section attachment, 15.7 mm long, from right face with a \u00d85.8 mm bore.", "\u00d813.7 mm circular section attachment, 15.7 mm long, from back face with a \u00d85.8 mm bore.", "\u00d813.7 mm circular section attachment, 15.7 mm long, from left face with a \u00d85.8 mm bore.", "Four \u00d83.2 mm holes at the corners, 52.5 \u00d7 51.87 mm spacing."], "text": "Rectangular body, 75 \u00d7 74.1 \u00d7 62.7 mm (W\u00d7D\u00d7H). \u00d813.7 mm circular section attachment, 15.7 mm long, from right face with a \u00d85.8 mm bore. \u00d813.7 mm circular section attachment, 15.7 mm long, from back face with a \u00d85.8 mm bore. \u00d813.7 mm circular section attachment, 15.7 mm long, from left face with a \u00d85.8 mm bore. Four \u00d83.2 mm holes at the corners, 52.5 \u00d7 51.87 mm spacing."}, "params": {"block_w": {"type": "float", "default": 75, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body width (mm)"}, "block_d": {"type": "float", "default": 74.1, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body depth (mm)"}, "block_h": {"type": "float", "default": 62.7, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body height (mm)"}, "port_d": {"type": "float", "default": 13.7, "min": 5.5, "max": 28.2, "step": 1.0, "group": "Ports", "label": "Ports diameter (mm)"}, "port_len": {"type": "float", "default": 15.7, "min": 3.4, "max": 41.1, "step": 1.0, "group": "Ports", "label": "Port boss length (mm)"}, "port_bore": {"type": "float", "default": 5.8, "min": 2.0, "max": 9.9, "step": 0.5, "group": "Ports", "label": "Port bore diameter (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328732 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 75, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 74.1, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 62.7, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body height (mm)'},\n    \"port_d\": {\"type\": 'float', \"default\": 13.7, \"min\": 5.5, \"max\": 28.2, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Ports diameter (mm)'},\n    \"port_len\": {\"type\": 'float', \"default\": 15.7, \"min\": 3.4, \"max\": 41.1, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Port boss length (mm)'},\n    \"port_bore\": {\"type\": 'float', \"default\": 5.8, \"min\": 2.0, \"max\": 9.9, \"step\": 0.5, \"group\": 'Ports', \"label\": 'Port bore diameter (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462c9c5d_0169", "family": "bracket", "tier": 1, "seed": 1177328733, "symmetry": "none", "op_count": 1, "ir_hash": "2ceaa44ddb1a492d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 12100.0, "surface_area": 9050.0, "principal_moments": [2640000.0, 3730000.0, 4070000.0], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["C-channel bracket: base leg 27.62 mm, vertical leg 30.5 mm, 50 mm wide, 3 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."], "text": "C-channel bracket: base leg 27.62 mm, vertical leg 30.5 mm, 50 mm wide, 3 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 27.62, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 30.5, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 50, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 3.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328733 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 27.62, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 30.5, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 50, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462c9c5f_0171", "family": "sketched", "tier": 1, "seed": 1177328735, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "4d94f72455258780", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 30300.0, "surface_area": 12100.0, "principal_moments": [7920000.0, 7920000.0, 9160000.0], "n_faces": 6, "n_edges": 9, "n_vertices": 5}, "dimensions": {"lines": ["Revolved organic body from a freeform sketched section (6 segments: 4 straight, 1 arc, 1 curve), ~29.649 \u00d7 30 mm half-silhouette."], "text": "Revolved organic body from a freeform sketched section (6 segments: 4 straight, 1 arc, 1 curve), ~29.649 \u00d7 30 mm half-silhouette."}, "params": {"sk_r": {"type": "float", "default": 30, "min": 15.0, "max": 54.0, "step": 1.0, "group": "Sketch", "label": "Max radius (mm)"}, "sk_h": {"type": "float", "default": 30, "min": 15.0, "max": 54.0, "step": 1.0, "group": "Sketch", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328735 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_r\": {\"type\": 'float', \"default\": 30, \"min\": 15.0, \"max\": 54.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Max radius (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 30, \"min\": 15.0, \"max\": 54.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XZ').moveTo(p[\"sk_r\"] * 0.9883, p[\"sk_h\"] * 0.0).spline([(p[\"sk_r\"] * 0.9883, p[\"sk_h\"] * 0.0), (p[\"sk_r\"] * 0.9506, p[\"sk_h\"] * 0.1005), (p[\"sk_r\"] * 0.5753, p[\"sk_h\"] * 0.201)]).lineTo(p[\"sk_r\"] * 0.1417, p[\"sk_h\"] * 0.8839).lineTo(p[\"sk_r\"] * 0.6529, p[\"sk_h\"] * 0.9005).threePointArc((p[\"sk_r\"] * 0.8845, p[\"sk_h\"] * 0.9503), (p[\"sk_r\"] * 0.958, p[\"sk_h\"] * 1.0)).lineTo(p[\"sk_r\"] * 0.0, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.0, p[\"sk_h\"] * 0.0).close().revolve())\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462c9c60_0172", "family": "compound", "tier": 1, "seed": 1177328736, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "ebf46f5abb006079", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 12300.0, "surface_area": 6370.0, "principal_moments": [2110000.0, 3100000.0, 3440000.0], "n_faces": 13, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Rectangular body, 50 \u00d7 37.1 \u00d7 6 mm (W\u00d7D\u00d7H).", "\u00d88 mm circular section attachment, 38 mm long, from top face with a \u00d83.4 mm bore.", "Four \u00d84.3 mm holes at the corners, 35 \u00d7 25.97 mm spacing."], "text": "Rectangular body, 50 \u00d7 37.1 \u00d7 6 mm (W\u00d7D\u00d7H). \u00d88 mm circular section attachment, 38 mm long, from top face with a \u00d83.4 mm bore. Four \u00d84.3 mm holes at the corners, 35 \u00d7 25.97 mm spacing."}, "params": {"base_w": {"type": "float", "default": 50, "min": 30.0, "max": 160.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 37.1, "min": 25.0, "max": 160.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_h": {"type": "float", "default": 6.0, "min": 3.0, "max": 30.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "col_d": {"type": "float", "default": 8.0, "min": 3.2, "max": 18.6, "step": 1.0, "group": "Column", "label": "Column diameter (mm)"}, "col_h": {"type": "float", "default": 38.0, "min": 11.4, "max": 114.0, "step": 1.0, "group": "Column", "label": "Column height (mm)"}, "col_bore": {"type": "float", "default": 3.4, "min": 2.0, "max": 5.8, "step": 0.5, "group": "Column", "label": "Column bore diameter (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 8.3, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328736 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 50, \"min\": 30.0, \"max\": 160.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 37.1, \"min\": 25.0, \"max\": 160.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_h\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 30.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"col_d\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.2, \"max\": 18.6, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column diameter (mm)'},\n    \"col_h\": {\"type\": 'float', \"default\": 38.0, \"min\": 11.4, \"max\": 114.0, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column height (mm)'},\n    \"col_bore\": {\"type\": 'float', \"default\": 3.4, \"min\": 2.0, \"max\": 5.8, \"step\": 0.5, \"group\": 'Column', \"label\": 'Column bore diameter (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 8.3, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_h\"])\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"col_d\"] / 2).extrude(p[\"col_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"col_bore\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"base_w\"] * 0.7, p[\"base_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462c9c61_0173", "family": "bracket", "tier": 1, "seed": 1177328737, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "fa560f9847c568f7", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 33000.0, "surface_area": 15100.0, "principal_moments": [12999999.999999998, 29699999.999999996, 30699999.999999996], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["L-bracket: base leg 69.05 mm, vertical leg 67.1 mm, 50.46 mm wide, 5 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."], "text": "L-bracket: base leg 69.05 mm, vertical leg 67.1 mm, 50.46 mm wide, 5 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 69.05, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 67.1, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 50.46, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 5.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328737 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 69.05, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 67.1, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 50.46, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462c9c62_0174", "family": "revolved", "tier": 1, "seed": 1177328738, "symmetry": "radial", "op_count": 2, "ir_hash": "8b2cdfa74a33238a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 372000.0, "surface_area": 52700.0, "principal_moments": [349000000.0, 673000000.0, 673000000.0], "n_faces": 8, "n_edges": 14, "n_vertices": 8}, "dimensions": {"lines": ["Revolved body, \u00d875 mm \u00d7 126.9 mm tall with \u00d843.5 mm bore.", "Chamfer 0.9 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d875 mm \u00d7 126.9 mm tall with \u00d843.5 mm bore. Chamfer 0.9 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 75, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 126.9, "min": 38.1, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 43.5, "min": 2.0, "max": 52.5, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "end_chamfer": {"type": "float", "default": 0.9, "min": 0.1, "max": 2.7, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328738 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 75, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 126.9, \"min\": 38.1, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 43.5, \"min\": 2.0, \"max\": 52.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.9, \"min\": 0.1, \"max\": 2.7, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462c9c63_0175", "family": "block", "tier": 1, "seed": 1177328739, "symmetry": "radial", "op_count": 2, "ir_hash": "406c408fbbb42083", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 17900.0, "surface_area": 5690.0, "principal_moments": [1950000.0, 2270000.0, 2470000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 30 \u00d7 24.1 \u00d7 26.9 mm (W\u00d7D\u00d7H).", "Four \u00d84.3 mm holes on a \u00d818 mm bolt circle."], "text": "Rectangular body, 30 \u00d7 24.1 \u00d7 26.9 mm (W\u00d7D\u00d7H). Four \u00d84.3 mm holes on a \u00d818 mm bolt circle."}, "params": {"block_w": {"type": "float", "default": 30, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 24.1, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 26.9, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "bolt_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 9.0, "min": 6.0, "max": 13.5, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 4, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328739 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 30, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 24.1, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 26.9, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 9.0, \"min\": 6.0, \"max\": 13.5, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 4, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462c9c64_0176", "family": "threaded", "tier": 1, "seed": 1177328740, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "4cd50a8e54d88e7c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 715.0, "surface_area": 1010.0, "principal_moments": [5780.0, 35400.0, 35400.0], "n_faces": 271, "n_edges": 739, "n_vertices": 470}, "dimensions": {"lines": ["M4x0.7 internal thread, 23.4 mm long."], "text": "M4x0.7 internal thread, 23.4 mm long."}, "params": {"major_d": {"type": "float", "default": 4.0, "min": 4.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Major diameter (mm)"}, "pitch": {"type": "float", "default": 0.7, "min": 0.35, "max": 1.4, "step": 0.05, "group": "Thread", "label": "Pitch (mm)"}, "thread_len": {"type": "float", "default": 23.4, "min": 9.4, "max": 46.8, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328740 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 4.0, \"min\": 4.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Major diameter (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 0.7, \"min\": 0.35, \"max\": 1.4, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Pitch (mm)'},\n    \"thread_len\": {\"type\": 'float', \"default\": 23.4, \"min\": 9.4, \"max\": 46.8, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.IsoThread(major_diameter=p[\"major_d\"], pitch=p[\"pitch\"], length=p[\"thread_len\"], external=False, end_finishes=(\"fade\", \"fade\"))\n    _body = _bd.Cylinder(radius=(p[\"major_d\"]) * 0.9, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _bore = _bd.Cylinder(radius=(p[\"major_d\"]) / 2, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = (_body - _bore) + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462c9c65_0177", "family": "profiled", "tier": 0, "seed": 1177328741, "symmetry": "none", "op_count": 1, "ir_hash": "3d329d5a9380d9a8", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 192000.0, "surface_area": 23000.0, "principal_moments": [34900000.0, 476000000.0, 476000000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["8-sided polygon section, 40.1 mm across corners, extruded 169.1 mm thick."], "text": "8-sided polygon section, 40.1 mm across corners, extruded 169.1 mm thick."}, "params": {"circ_r": {"type": "float", "default": 20.05, "min": 10.0, "max": 40.1, "step": 1.0, "group": "Profile", "label": "Circumscribed radius (mm)"}, "n_sides": {"type": "int", "default": 8, "min": 3, "max": 8, "step": 1, "group": "Profile", "label": "Sides"}, "length": {"type": "float", "default": 169.1, "min": 50.7, "max": 507.3, "step": 5.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328741 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"circ_r\": {\"type\": 'float', \"default\": 20.05, \"min\": 10.0, \"max\": 40.1, \"step\": 1.0, \"group\": 'Profile', \"label\": 'Circumscribed radius (mm)'},\n    \"n_sides\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Profile', \"label\": 'Sides'},\n    \"length\": {\"type\": 'float', \"default\": 169.1, \"min\": 50.7, \"max\": 507.3, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').polygon(p[\"n_sides\"], p[\"circ_r\"] * 2).extrude(p[\"length\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462c9c66_0178", "family": "block", "tier": 2, "seed": 1177328742, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "ca10b0cb611cb56b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 43700.0, "surface_area": 15200.0, "principal_moments": [6670000.0, 16800000.0, 20800000.0], "n_faces": 25, "n_edges": 66, "n_vertices": 44}, "dimensions": {"lines": ["Rectangular body, 40 \u00d7 19.7 \u00d7 64.2 mm (W\u00d7D\u00d7H).", "Four 5.2 mm square holes at the corners, 28 \u00d7 13.79 mm spacing.", "Boss \u00d813 mm \u00d7 4.5 mm tall on top face with a \u00d83.2 mm bore."], "text": "Rectangular body, 40 \u00d7 19.7 \u00d7 64.2 mm (W\u00d7D\u00d7H). Four 5.2 mm square holes at the corners, 28 \u00d7 13.79 mm spacing. Boss \u00d813 mm \u00d7 4.5 mm tall on top face with a \u00d83.2 mm bore."}, "params": {"block_w": {"type": "float", "default": 40, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 19.7, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 64.2, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 5.2, "min": 2.0, "max": 5.8, "step": 0.5, "group": "Holes", "label": "Square hole size (mm)"}, "boss_d": {"type": "float", "default": 13.0, "min": 6.5, "max": 26.0, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 4.5, "min": 1.8, "max": 11.2, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}, "boss_bore_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 9.1, "step": 0.1, "group": "Boss", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328742 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 40, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 19.7, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 64.2, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.2, \"min\": 2.0, \"max\": 5.8, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Square hole size (mm)'},\n    \"boss_d\": {\"type\": 'float', \"default\": 13.0, \"min\": 6.5, \"max\": 26.0, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 4.5, \"min\": 1.8, \"max\": 11.2, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n    \"boss_bore_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 9.1, \"step\": 0.1, \"group\": 'Boss', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().rect(p[\"hole_d\"], p[\"hole_d\"]).cutThruAll()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .hole(p[\"boss_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462c9c67_0179", "family": "ribbed", "tier": 1, "seed": 1177328743, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "cace3dfd744c395b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 8460.0, "surface_area": 5910.0, "principal_moments": [939000.0, 1650000.0, 2380000.0], "n_faces": 30, "n_edges": 72, "n_vertices": 44}, "dimensions": {"lines": ["Rectangular body, 45.07 \u00d7 33.7 \u00d7 4 mm (W\u00d7D\u00d7H).", "Three ribs, 2.3 mm thick, 9.6 mm tall."], "text": "Rectangular body, 45.07 \u00d7 33.7 \u00d7 4 mm (W\u00d7D\u00d7H). Three ribs, 2.3 mm thick, 9.6 mm tall."}, "params": {"base_w": {"type": "float", "default": 45.07, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 33.7, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 4.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 3, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 9.6, "min": 3.8, "max": 19.2, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 2.3, "min": 1.0, "max": 5.8, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328743 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 45.07, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 33.7, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 3, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 9.6, \"min\": 3.8, \"max\": 19.2, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 2.3, \"min\": 1.0, \"max\": 5.8, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462c9c68_0180", "family": "revolved", "tier": 2, "seed": 1177328744, "symmetry": "none", "op_count": 1, "ir_hash": "72d2ffd4d68e87d0", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 2370.0, "surface_area": 1630.0, "principal_moments": [79900.0, 96800.0, 96800.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d815 mm \u00d7 20.1 mm tall."], "text": "Revolved body, \u00d815 mm \u00d7 20.1 mm tall."}, "params": {"outer_d": {"type": "float", "default": 15, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 20.1, "min": 6.0, "max": 60.3, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328744 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 15, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 20.1, \"min\": 6.0, \"max\": 60.3, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462c9c69_0181", "family": "block", "tier": 1, "seed": 1177328745, "symmetry": "none", "op_count": 2, "ir_hash": "3d9b2234388954e0", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 245000.0, "surface_area": 29900.0, "principal_moments": [145000000.0, 167000000.0, 182000000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 71.77 \u00d7 63.4 \u00d7 56.5 mm (W\u00d7D\u00d7H).", "Four \u00d88.4 mm holes at the corners, 50.239 \u00d7 44.38 mm spacing."], "text": "Rectangular body, 71.77 \u00d7 63.4 \u00d7 56.5 mm (W\u00d7D\u00d7H). Four \u00d88.4 mm holes at the corners, 50.239 \u00d7 44.38 mm spacing."}, "params": {"block_w": {"type": "float", "default": 71.77, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 63.4, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 56.5, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 8.4, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328745 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 71.77, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 63.4, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 56.5, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462c9c6a_0182", "family": "bracket", "tier": 2, "seed": 1177328746, "symmetry": "none", "op_count": 1, "ir_hash": "d553a92c00cbee39", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 8050.0, "surface_area": 4220.0, "principal_moments": [801000.0, 1370000.0, 1670000.0], "n_faces": 14, "n_edges": 37, "n_vertices": 24}, "dimensions": {"lines": ["L-bracket: base leg 35 mm, vertical leg 26.1 mm, 28.71 mm wide, 5 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg; 4.9 mm corner gusset."], "text": "L-bracket: base leg 35 mm, vertical leg 26.1 mm, 28.71 mm wide, 5 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg; 4.9 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 35, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 26.1, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 28.71, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 5.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 4.9, "min": 2.5, "max": 14.4, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328746 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 35, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 26.1, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 28.71, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 4.9, \"min\": 2.5, \"max\": 14.4, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462c9c6b_0183", "family": "lofted", "tier": 3, "seed": 1177328747, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "f377fe1bd676273a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 13100.0, "surface_area": 4140.0, "principal_moments": [1350000.0, 1350000.0, 1800000.0], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["Lofted body through 3 sections: 6-sided polygon section, 40 mm across corners \u2192 \u00d829.9 mm circular section \u2192 19.8 \u00d7 19.8 mm rectangular section.", "One \u00d811.1 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 3 sections: 6-sided polygon section, 40 mm across corners \u2192 \u00d829.9 mm circular section \u2192 19.8 \u00d7 19.8 mm rectangular section. One \u00d811.1 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 40, "min": 20.0, "max": 64.0, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 19.8, "min": 7.9, "max": 48.0, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 21.4, "min": 8.6, "max": 42.8, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_mid": {"type": "float", "default": 29.9, "min": 9.9, "max": 48.0, "step": 1.0, "group": "Body", "label": "Mid size (mm)"}, "loft_bore_d": {"type": "float", "default": 11.1, "min": 2.0, "max": 15.8, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328747 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 40, \"min\": 20.0, \"max\": 64.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 19.8, \"min\": 7.9, \"max\": 48.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 21.4, \"min\": 8.6, \"max\": 42.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_mid\": {\"type\": 'float', \"default\": 29.9, \"min\": 9.9, \"max\": 48.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Mid size (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 11.1, \"min\": 2.0, \"max\": 15.8, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .polygon(6, p[\"loft_base\"] * 0.5 * 2)\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .circle(p[\"loft_mid\"] / 2)\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .rect(p[\"loft_top\"], p[\"loft_top\"])\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9c6c_0184", "family": "plate", "tier": 1, "seed": 1177328748, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "001cca4a4133b809", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 5740.0, "surface_area": 2550.0, "principal_moments": [238000.0, 467000.0, 609000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 30 \u00d7 20.2 \u00d7 10 mm (W\u00d7D\u00d7H).", "Four \u00d83.2 mm holes at the corners, 21 \u00d7 14.14 mm spacing."], "text": "Rectangular body, 30 \u00d7 20.2 \u00d7 10 mm (W\u00d7D\u00d7H). Four \u00d83.2 mm holes at the corners, 21 \u00d7 14.14 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 30, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 20.2, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 4.5, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328748 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 30, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 20.2, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 4.5, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462c9c6d_0185", "family": "swept", "tier": 0, "seed": 1177328749, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "78947d8912fceafb", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 15800.0, "surface_area": 5070.0, "principal_moments": [464000.0, 16399999.999999998, 16399999.999999998], "n_faces": 3, "n_edges": 3, "n_vertices": 2}, "dimensions": {"lines": ["\u00d814.2 mm circular section swept along a curved path, ~108.44 mm span."], "text": "\u00d814.2 mm circular section swept along a curved path, ~108.44 mm span."}, "params": {"path_w": {"type": "float", "default": 37.46, "min": 18.7, "max": 67.4, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 108.44, "min": 54.2, "max": 195.2, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_d": {"type": "float", "default": 14.2, "min": 7.1, "max": 25.6, "step": 1.0, "group": "Section", "label": "Section diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328749 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 37.46, \"min\": 18.7, \"max\": 67.4, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 108.44, \"min\": 54.2, \"max\": 195.2, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_d\": {\"type\": 'float', \"default\": 14.2, \"min\": 7.1, \"max\": 25.6, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.2435), (p[\"path_w\"] * 0.2808, p[\"path_h\"] * 0.436), (p[\"path_w\"] * 0.3226, p[\"path_h\"] * 0.5654), (p[\"path_w\"] * 0.4599, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').circle(p[\"sweep_d\"] / 2).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462c9c6e_0186", "family": "compound", "tier": 1, "seed": 1177328750, "symmetry": "mirror_xy", "op_count": 3, "ir_hash": "56e147b40598bb38", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 76400.0, "surface_area": 34000.0, "principal_moments": [72100000.0, 125000000.0, 139000000.0], "n_faces": 13, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Rectangular body, 105.97 \u00d7 86.4 \u00d7 5 mm (W\u00d7D\u00d7H).", "\u00d824.5 mm circular section attachment, 110.8 mm long, from top face with a \u00d815 mm bore.", "Four \u00d88.4 mm holes at the corners, 74.179 \u00d7 60.48 mm spacing."], "text": "Rectangular body, 105.97 \u00d7 86.4 \u00d7 5 mm (W\u00d7D\u00d7H). \u00d824.5 mm circular section attachment, 110.8 mm long, from top face with a \u00d815 mm bore. Four \u00d88.4 mm holes at the corners, 74.179 \u00d7 60.48 mm spacing."}, "params": {"base_w": {"type": "float", "default": 105.97, "min": 30.0, "max": 160.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 86.4, "min": 25.0, "max": 160.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_h": {"type": "float", "default": 5.0, "min": 3.0, "max": 30.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "col_d": {"type": "float", "default": 24.5, "min": 9.8, "max": 43.2, "step": 1.0, "group": "Column", "label": "Column diameter (mm)"}, "col_h": {"type": "float", "default": 110.8, "min": 33.2, "max": 332.4, "step": 1.0, "group": "Column", "label": "Column height (mm)"}, "col_bore": {"type": "float", "default": 15.0, "min": 2.0, "max": 17.6, "step": 0.5, "group": "Column", "label": "Column bore diameter (mm)"}, "hole_d": {"type": "float", "default": 8.4, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328750 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 105.97, \"min\": 30.0, \"max\": 160.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 86.4, \"min\": 25.0, \"max\": 160.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_h\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 30.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"col_d\": {\"type\": 'float', \"default\": 24.5, \"min\": 9.8, \"max\": 43.2, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column diameter (mm)'},\n    \"col_h\": {\"type\": 'float', \"default\": 110.8, \"min\": 33.2, \"max\": 332.4, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column height (mm)'},\n    \"col_bore\": {\"type\": 'float', \"default\": 15.0, \"min\": 2.0, \"max\": 17.6, \"step\": 0.5, \"group\": 'Column', \"label\": 'Column bore diameter (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_h\"])\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"col_d\"] / 2).extrude(p[\"col_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"col_bore\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"base_w\"] * 0.7, p[\"base_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9c6f_0187", "family": "plate", "tier": 1, "seed": 1177328751, "symmetry": "none", "op_count": 2, "ir_hash": "fd113135fbee4d87", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 38600.0, "surface_area": 13100.0, "principal_moments": [9120000.0, 29099999.999999996, 37800000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 96.49 \u00d7 53.6 \u00d7 8 mm (W\u00d7D\u00d7H).", "Four \u00d810.5 mm holes at the corners, 67.543 \u00d7 37.52 mm spacing."], "text": "Rectangular body, 96.49 \u00d7 53.6 \u00d7 8 mm (W\u00d7D\u00d7H). Four \u00d810.5 mm holes at the corners, 67.543 \u00d7 37.52 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 96.49, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 53.6, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 10.5, "min": 2.0, "max": 12.1, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328751 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 96.49, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 53.6, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 10.5, \"min\": 2.0, \"max\": 12.1, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462c9c70_0188", "family": "compound", "tier": 1, "seed": 1177328752, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "aacd42f39ee67543", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 53100.0, "surface_area": 10300.0, "principal_moments": [13699999.999999998, 13699999.999999998, 14399999.999999998], "n_faces": 15, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Lofted body through 2 sections: \u00d855.18 mm circular section \u2192 32.5 \u00d7 32.5 mm rectangular section.", "6-sided polygon section, 18.6 mm across corners attachment, 21.9 mm long, from top face with a \u00d86.7 mm bore."], "text": "Lofted body through 2 sections: \u00d855.18 mm circular section \u2192 32.5 \u00d7 32.5 mm rectangular section. 6-sided polygon section, 18.6 mm across corners attachment, 21.9 mm long, from top face with a \u00d86.7 mm bore."}, "params": {"adapter_base": {"type": "float", "default": 55.18, "min": 33.1, "max": 82.8, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "adapter_top": {"type": "float", "default": 32.5, "min": 16.2, "max": 55.2, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "adapter_h": {"type": "float", "default": 29.6, "min": 11.8, "max": 59.2, "step": 1.0, "group": "Body", "label": "Transition height (mm)"}, "neck_sides": {"type": "int", "default": 6, "min": 3, "max": 8, "step": 1, "group": "Neck", "label": "Neck sides"}, "neck_r": {"type": "float", "default": 9.3, "min": 4.7, "max": 16.2, "step": 1.0, "group": "Neck", "label": "Neck circumradius (mm)"}, "neck_l": {"type": "float", "default": 21.9, "min": 8.8, "max": 54.8, "step": 1.0, "group": "Neck", "label": "Neck length (mm)"}, "neck_bore": {"type": "float", "default": 6.7, "min": 2.0, "max": 11.6, "step": 0.5, "group": "Neck", "label": "Neck bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328752 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"adapter_base\": {\"type\": 'float', \"default\": 55.18, \"min\": 33.1, \"max\": 82.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"adapter_top\": {\"type\": 'float', \"default\": 32.5, \"min\": 16.2, \"max\": 55.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"adapter_h\": {\"type\": 'float', \"default\": 29.6, \"min\": 11.8, \"max\": 59.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Transition height (mm)'},\n    \"neck_sides\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Neck', \"label\": 'Neck sides'},\n    \"neck_r\": {\"type\": 'float', \"default\": 9.3, \"min\": 4.7, \"max\": 16.2, \"step\": 1.0, \"group\": 'Neck', \"label\": 'Neck circumradius (mm)'},\n    \"neck_l\": {\"type\": 'float', \"default\": 21.9, \"min\": 8.8, \"max\": 54.8, \"step\": 1.0, \"group\": 'Neck', \"label\": 'Neck length (mm)'},\n    \"neck_bore\": {\"type\": 'float', \"default\": 6.7, \"min\": 2.0, \"max\": 11.6, \"step\": 0.5, \"group\": 'Neck', \"label\": 'Neck bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .circle(p[\"adapter_base\"] / 2)\n        .workplane(offset=p[\"adapter_h\"])\n        .rect(p[\"adapter_top\"], p[\"adapter_top\"])\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"neck_sides\"], p[\"neck_r\"] * 2).extrude(p[\"neck_l\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"neck_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462c9c71_0189", "family": "sketched", "tier": 2, "seed": 1177328753, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "0cd17b57d68ead5e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 62800.0, "surface_area": 14700.0, "principal_moments": [16699999.999999998, 16699999.999999998, 27099999.999999996], "n_faces": 7, "n_edges": 11, "n_vertices": 6}, "dimensions": {"lines": ["Revolved organic body from a freeform sketched section (7 segments: 4 straight, 3 curves), ~37.794 \u00d7 31.93 mm half-silhouette."], "text": "Revolved organic body from a freeform sketched section (7 segments: 4 straight, 3 curves), ~37.794 \u00d7 31.93 mm half-silhouette."}, "params": {"sk_r": {"type": "float", "default": 39.88, "min": 19.9, "max": 71.8, "step": 1.0, "group": "Sketch", "label": "Max radius (mm)"}, "sk_h": {"type": "float", "default": 31.93, "min": 16.0, "max": 57.5, "step": 1.0, "group": "Sketch", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328753 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_r\": {\"type\": 'float', \"default\": 39.88, \"min\": 19.9, \"max\": 71.8, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Max radius (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 31.93, \"min\": 16.0, \"max\": 57.5, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XZ').moveTo(p[\"sk_r\"] * 0.3665, p[\"sk_h\"] * 0.0).bezier([(p[\"sk_r\"] * 0.3665, p[\"sk_h\"] * 0.0), (p[\"sk_r\"] * 0.279, p[\"sk_h\"] * 0.1296), (p[\"sk_r\"] * 0.3184, p[\"sk_h\"] * 0.2592)]).lineTo(p[\"sk_r\"] * 0.7212, p[\"sk_h\"] * 0.5227).spline([(p[\"sk_r\"] * 0.7212, p[\"sk_h\"] * 0.5227), (p[\"sk_r\"] * 0.7639, p[\"sk_h\"] * 0.5985), (p[\"sk_r\"] * 0.9477, p[\"sk_h\"] * 0.6743)]).lineTo(p[\"sk_r\"] * 0.6581, p[\"sk_h\"] * 0.9237).spline([(p[\"sk_r\"] * 0.6581, p[\"sk_h\"] * 0.9237), (p[\"sk_r\"] * 0.7025, p[\"sk_h\"] * 0.9618), (p[\"sk_r\"] * 0.8894, p[\"sk_h\"] * 1.0)]).lineTo(p[\"sk_r\"] * 0.0, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.0, p[\"sk_h\"] * 0.0).close().revolve())\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9c72_0190", "family": "plate", "tier": 1, "seed": 1177328754, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "b019e52a7b22f9b2", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 42000.0, "surface_area": 12600.0, "principal_moments": [8050000.0, 30699999.999999996, 38100000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 95 \u00d7 47.9 \u00d7 10 mm (W\u00d7D\u00d7H).", "Four \u00d810.5 mm holes at the corners, 66.5 \u00d7 33.53 mm spacing."], "text": "Rectangular body, 95 \u00d7 47.9 \u00d7 10 mm (W\u00d7D\u00d7H). Four \u00d810.5 mm holes at the corners, 66.5 \u00d7 33.53 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 95, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 47.9, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 10.5, "min": 2.0, "max": 10.8, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328754 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 95, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 47.9, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 10.5, \"min\": 2.0, \"max\": 10.8, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462c9c73_0191", "family": "revolved", "tier": 0, "seed": 1177328755, "symmetry": "radial", "op_count": 1, "ir_hash": "45edaf13191953af", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 17600.0, "surface_area": 6840.0, "principal_moments": [1690000.0, 3760000.0, 3760000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d825.29 mm \u00d7 52.7 mm tall."], "text": "Revolved body, \u00d825.29 mm \u00d7 52.7 mm tall."}, "params": {"outer_d": {"type": "float", "default": 25.29, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 52.7, "min": 15.8, "max": 158.1, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328755 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 25.29, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 52.7, \"min\": 15.8, \"max\": 158.1, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462c9c74_0192", "family": "flanged", "tier": 1, "seed": 1177328756, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "9068f66fa5598b0c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 87000.0, "surface_area": 23300.0, "principal_moments": [40600000.0, 40600000.0, 61799999.99999999], "n_faces": 29, "n_edges": 114, "n_vertices": 76}, "dimensions": {"lines": ["Revolved body, \u00d853.2 mm \u00d7 35.7 mm tall with \u00d822.7 mm bore, \u00d885.8 mm \u00d7 9.1 mm flange.", "Twelve \u00d86.4 mm holes on a \u00d851.4 mm bolt circle."], "text": "Revolved body, \u00d853.2 mm \u00d7 35.7 mm tall with \u00d822.7 mm bore, \u00d885.8 mm \u00d7 9.1 mm flange. Twelve \u00d86.4 mm holes on a \u00d851.4 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 53.2, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 35.7, "min": 10.7, "max": 89.2, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 22.7, "min": 2.0, "max": 37.2, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 85.8, "min": 69.2, "max": 159.6, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 9.1, "min": 2.7, "max": 14.3, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 25.7, "min": 17.2, "max": 38.6, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 12, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328756 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 53.2, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 35.7, \"min\": 10.7, \"max\": 89.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 22.7, \"min\": 2.0, \"max\": 37.2, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 85.8, \"min\": 69.2, \"max\": 159.6, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 9.1, \"min\": 2.7, \"max\": 14.3, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 25.7, \"min\": 17.2, \"max\": 38.6, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 12, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462c9c75_0193", "family": "tapped", "tier": 2, "seed": 1177328757, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "10dc3d7dbb7eb568", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 1360.0, "surface_area": 1060.0, "principal_moments": [20900.0, 46300.0, 46300.0], "n_faces": 207, "n_edges": 563, "n_vertices": 358}, "dimensions": {"lines": ["One M4x0.7 tapped hole in a cylinder."], "text": "One M4x0.7 tapped hole in a cylinder."}, "params": {"major_d": {"type": "float", "default": 4.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 0.7, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 17.8, "min": 4.8, "max": 32.0, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "body_d": {"type": "float", "default": 10.5, "min": 7.2, "max": 16.8, "step": 1.0, "group": "Body", "label": "Outer \u00d8 (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328757 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 4.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 0.7, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 17.8, \"min\": 4.8, \"max\": 32.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"body_d\": {\"type\": 'float', \"default\": 10.5, \"min\": 7.2, \"max\": 16.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer \u00d8 (mm)'},\n}\n\n\ndef build(p):\n\n    _W = _D = p[\"body_d\"]\n    _H = p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Cylinder(radius=_W / 2, height=_H)\n    _locs = [(0.0, 0.0)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9c77_0195", "family": "plate", "tier": 0, "seed": 1177328759, "symmetry": "radial", "op_count": 1, "ir_hash": "b5a175b0ca2c53e0", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 66400.0, "surface_area": 16700.0, "principal_moments": [18500000.0, 75600000.0, 92999999.99999999], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 116.47 \u00d7 57 \u00d7 10 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 116.47 \u00d7 57 \u00d7 10 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 116.47, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 57.0, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328759 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 116.47, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 57.0, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462c9c78_0196", "family": "bracket", "tier": 1, "seed": 1177328760, "symmetry": "none", "op_count": 1, "ir_hash": "2fe46592eb579290", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 2500.0, "surface_area": 2240.0, "principal_moments": [152000.0, 432000.0, 484000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["L-bracket: base leg 30.31 mm, vertical leg 32.6 mm, 15 mm wide, 3 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."], "text": "L-bracket: base leg 30.31 mm, vertical leg 32.6 mm, 15 mm wide, 3 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 30.31, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 32.6, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 15.0, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 3.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 6.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328760 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 30.31, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 32.6, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 15.0, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 6.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9c79_0197", "family": "plate", "tier": 3, "seed": 1177328761, "symmetry": "mirror_xy", "op_count": 3, "ir_hash": "178487fe7c5a1cdf", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 27300.0, "surface_area": 14500.0, "principal_moments": [7290000.0, 26899999.999999996, 34000000.0], "n_faces": 23, "n_edges": 48, "n_vertices": 32}, "dimensions": {"lines": ["Rectangular body, 105 \u00d7 54.6 \u00d7 6 mm (W\u00d7D\u00d7H).", "Four \u00d86.4 mm counterbored holes (\u00d812.8 mm \u00d7 5.1 mm counterbore) at the corners, 73.5 \u00d7 38.22 mm spacing.", "Pocket 53.8 \u00d7 29.1 mm, 2.8 mm deep, in top face."], "text": "Rectangular body, 105 \u00d7 54.6 \u00d7 6 mm (W\u00d7D\u00d7H). Four \u00d86.4 mm counterbored holes (\u00d812.8 mm \u00d7 5.1 mm counterbore) at the corners, 73.5 \u00d7 38.22 mm spacing. Pocket 53.8 \u00d7 29.1 mm, 2.8 mm deep, in top face."}, "params": {"plate_w": {"type": "float", "default": 105, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 54.6, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 6.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 12.3, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "cb_d": {"type": "float", "default": 12.8, "min": 9.6, "max": 19.2, "step": 0.5, "group": "Holes", "label": "Counterbore diameter (mm)"}, "cb_depth": {"type": "float", "default": 5.1, "min": 2.5, "max": 10.2, "step": 0.5, "group": "Holes", "label": "Counterbore depth (mm)"}, "pocket_w": {"type": "float", "default": 53.8, "min": 26.9, "max": 84.0, "step": 1.0, "group": "Pocket", "label": "Pocket width (mm)"}, "pocket_d": {"type": "float", "default": 29.1, "min": 14.6, "max": 43.7, "step": 1.0, "group": "Pocket", "label": "Pocket depth (mm)"}, "pocket_h": {"type": "float", "default": 2.8, "min": 1.1, "max": 5.1, "step": 0.5, "group": "Pocket", "label": "Pocket height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328761 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 105, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 54.6, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 12.3, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"cb_d\": {\"type\": 'float', \"default\": 12.8, \"min\": 9.6, \"max\": 19.2, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Counterbore diameter (mm)'},\n    \"cb_depth\": {\"type\": 'float', \"default\": 5.1, \"min\": 2.5, \"max\": 10.2, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Counterbore depth (mm)'},\n    \"pocket_w\": {\"type\": 'float', \"default\": 53.8, \"min\": 26.9, \"max\": 84.0, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket width (mm)'},\n    \"pocket_d\": {\"type\": 'float', \"default\": 29.1, \"min\": 14.6, \"max\": 43.7, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket depth (mm)'},\n    \"pocket_h\": {\"type\": 'float', \"default\": 2.8, \"min\": 1.1, \"max\": 5.1, \"step\": 0.5, \"group\": 'Pocket', \"label\": 'Pocket height (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().cboreHole(p[\"hole_d\"], p[\"cb_d\"], p[\"cb_depth\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"pocket_w\"], p[\"pocket_d\"])\n        .cutBlind(-p[\"pocket_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462c9c7a_0198", "family": "revolved", "tier": 2, "seed": 1177328762, "symmetry": "none", "op_count": 2, "ir_hash": "3f94048c2f85efdd", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 45600.0, "surface_area": 11200.0, "principal_moments": [11499999.999999998, 12999999.999999998, 12999999.999999998], "n_faces": 5, "n_edges": 8, "n_vertices": 5}, "dimensions": {"lines": ["Revolved body, \u00d841.08 mm \u00d7 51.8 mm tall.", "Chamfer 1.3 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d841.08 mm \u00d7 51.8 mm tall. Chamfer 1.3 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 41.08, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 51.8, "min": 15.5, "max": 155.4, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "end_chamfer": {"type": "float", "default": 1.3, "min": 0.1, "max": 3.9, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328762 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 41.08, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 51.8, \"min\": 15.5, \"max\": 155.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 1.3, \"min\": 0.1, \"max\": 3.9, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462c9c7b_0199", "family": "compound", "tier": 3, "seed": 1177328763, "symmetry": "mirror_xy", "op_count": 3, "ir_hash": "0b384b3152ea8f95", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 26500.0, "surface_area": 5490.0, "principal_moments": [1990000.0, 8120000.0, 8120000.0], "n_faces": 6, "n_edges": 8, "n_vertices": 5}, "dimensions": {"lines": ["\u00d825.95 mm circular section, extruded 43.4 mm thick.", "\u00d814.8 mm circular section attachment, 22.4 mm long, from top face.", "Chamfer 2.9 mm on bottom edges."], "text": "\u00d825.95 mm circular section, extruded 43.4 mm thick. \u00d814.8 mm circular section attachment, 22.4 mm long, from top face. Chamfer 2.9 mm on bottom edges."}, "params": {"shaft_d": {"type": "float", "default": 25.95, "min": 13.0, "max": 46.7, "step": 1.0, "group": "Body", "label": "Shaft diameter (mm)"}, "shaft_len": {"type": "float", "default": 43.4, "min": 17.4, "max": 86.8, "step": 1.0, "group": "Body", "label": "Shaft length (mm)"}, "step_d": {"type": "float", "default": 14.8, "min": 7.4, "max": 23.4, "step": 1.0, "group": "Step", "label": "Step diameter (mm)"}, "step_len": {"type": "float", "default": 22.4, "min": 6.7, "max": 56.0, "step": 1.0, "group": "Step", "label": "Step length (mm)"}, "chamfer_d": {"type": "float", "default": 2.9, "min": 0.5, "max": 3.0, "step": 0.5, "group": "Body", "label": "Chamfer distance (mm)"}, "chamfered": {"type": "bool", "default": true, "group": "Body", "label": "Chamfer edges"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328763 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"shaft_d\": {\"type\": 'float', \"default\": 25.95, \"min\": 13.0, \"max\": 46.7, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft diameter (mm)'},\n    \"shaft_len\": {\"type\": 'float', \"default\": 43.4, \"min\": 17.4, \"max\": 86.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft length (mm)'},\n    \"step_d\": {\"type\": 'float', \"default\": 14.8, \"min\": 7.4, \"max\": 23.4, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step diameter (mm)'},\n    \"step_len\": {\"type\": 'float', \"default\": 22.4, \"min\": 6.7, \"max\": 56.0, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step length (mm)'},\n    \"chamfer_d\": {\"type\": 'float', \"default\": 2.9, \"min\": 0.5, \"max\": 3.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Chamfer distance (mm)'},\n    \"chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Chamfer edges'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').circle(p[\"shaft_d\"] / 2).extrude(p[\"shaft_len\"]))\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"step_d\"] / 2).extrude(p[\"step_len\"])\n    )\n    if p[\"chamfered\"]:\n        result = result.edges('<Z').chamfer(p[\"chamfer_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9c7c_0200", "family": "plate", "tier": 0, "seed": 1177328764, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "f5470bbe9d1acef0", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 23800.0, "surface_area": 10900.0, "principal_moments": [7040000.0, 12699999.999999998, 19700000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 80 \u00d7 59.4 \u00d7 5 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 80 \u00d7 59.4 \u00d7 5 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 80, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 59.4, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 5.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328764 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 80, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 59.4, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 5.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462c9c7d_0201", "family": "flanged", "tier": 2, "seed": 1177328765, "symmetry": "radial", "op_count": 3, "ir_hash": "d7f016b013e76692", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 73300.0, "surface_area": 19400.0, "principal_moments": [34800000.0, 34800000.0, 36800000.0], "n_faces": 32, "n_edges": 80, "n_vertices": 47}, "dimensions": {"lines": ["Revolved body, \u00d843.12 mm \u00d7 48.1 mm tall with \u00d822.1 mm bore, \u00d877.1 mm \u00d7 7.1 mm flange.", "Four \u00d85.3 mm holes on a \u00d846.2 mm bolt circle.", "Chamfer 0.6 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d843.12 mm \u00d7 48.1 mm tall with \u00d822.1 mm bore, \u00d877.1 mm \u00d7 7.1 mm flange. Four \u00d85.3 mm holes on a \u00d846.2 mm bolt circle. Chamfer 0.6 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 43.12, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 48.1, "min": 14.4, "max": 120.2, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 22.1, "min": 2.0, "max": 30.2, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 77.1, "min": 56.1, "max": 129.4, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 7.1, "min": 2.1, "max": 19.2, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 23.1, "min": 15.4, "max": 34.7, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 4, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}, "end_chamfer": {"type": "float", "default": 0.6, "min": 0.1, "max": 2.0, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328765 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 43.12, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 48.1, \"min\": 14.4, \"max\": 120.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 22.1, \"min\": 2.0, \"max\": 30.2, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 77.1, \"min\": 56.1, \"max\": 129.4, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 7.1, \"min\": 2.1, \"max\": 19.2, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 23.1, \"min\": 15.4, \"max\": 34.7, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 4, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.6, \"min\": 0.1, \"max\": 2.0, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9c7e_0202", "family": "plate", "tier": 0, "seed": 1177328766, "symmetry": "none", "op_count": 1, "ir_hash": "a62bde004da6746a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 50100.0, "surface_area": 11800.0, "principal_moments": [7220000.0, 46699999.99999999, 52699999.99999999], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 105 \u00d7 39.8 \u00d7 12 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 105 \u00d7 39.8 \u00d7 12 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 105, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 39.8, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328766 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 105, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 39.8, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462c9c7f_0203", "family": "ribbed", "tier": 2, "seed": 1177328767, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "b2dba576760e31c8", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 19000.0, "surface_area": 8020.0, "principal_moments": [2850000.0, 3990000.0, 4750000.0], "n_faces": 21, "n_edges": 48, "n_vertices": 32}, "dimensions": {"lines": ["Rectangular body, 40.77 \u00d7 34.5 \u00d7 8 mm (W\u00d7D\u00d7H).", "Three ribs, 4.4 mm thick, 18 mm tall."], "text": "Rectangular body, 40.77 \u00d7 34.5 \u00d7 8 mm (W\u00d7D\u00d7H). Three ribs, 4.4 mm thick, 18 mm tall."}, "params": {"base_w": {"type": "float", "default": 40.77, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 34.5, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 8.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 3, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 18.0, "min": 7.2, "max": 36.0, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 4.4, "min": 1.0, "max": 11.0, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328767 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 40.77, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 34.5, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 3, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 18.0, \"min\": 7.2, \"max\": 36.0, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 4.4, \"min\": 1.0, \"max\": 11.0, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462c9c80_0204", "family": "gear", "tier": 1, "seed": 1177328768, "symmetry": "none", "op_count": 1, "ir_hash": "c71bc49f37c376cf", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 187000.0, "surface_area": 39000.0, "principal_moments": [215000000.0, 215000000.0, 423000000.0], "n_faces": 201, "n_edges": 597, "n_vertices": 398}, "dimensions": {"lines": ["Spur gear, module 4 mm, 33 teeth (pitch \u00d8132 mm), face width 14.3 mm, \u00d825.4 mm bore."], "text": "Spur gear, module 4 mm, 33 teeth (pitch \u00d8132 mm), face width 14.3 mm, \u00d825.4 mm bore."}, "params": {"module": {"type": "float", "default": 4.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 33, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 14.3, "min": 5.7, "max": 35.8, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "bore_d": {"type": "float", "default": 25.4, "min": 2.0, "max": 73.2, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328768 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 4.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 33, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 14.3, \"min\": 5.7, \"max\": 35.8, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 25.4, \"min\": 2.0, \"max\": 73.2, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462c9c81_0205", "family": "bracket", "tier": 2, "seed": 1177328769, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "b4f69a3432dd45d5", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 29500.0, "surface_area": 12000.0, "principal_moments": [9180000.0, 14999999.999999998, 16299999.999999998], "n_faces": 19, "n_edges": 51, "n_vertices": 34}, "dimensions": {"lines": ["C-channel bracket: base leg 50 mm, vertical leg 42.7 mm, 40 mm wide, 6 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg; 8.3 mm corner gusset."], "text": "C-channel bracket: base leg 50 mm, vertical leg 42.7 mm, 40 mm wide, 6 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg; 8.3 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 50, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 42.7, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 40, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 6.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 8.3, "min": 3.0, "max": 18.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328769 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 50, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 42.7, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 40, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 8.3, \"min\": 3.0, \"max\": 18.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl / 2, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bl - _bt, _bt).lineTo(_bl - _bt - _g, _bt)\n                    .lineTo(_bl - _bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462c9c82_0206", "family": "lofted", "tier": 1, "seed": 1177328770, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "4de2a8995ae84d2b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 78700.0, "surface_area": 13800.0, "principal_moments": [26899999.999999996, 28999999.999999996, 28999999.999999996], "n_faces": 8, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["Lofted body through 2 sections: \u00d857.52 mm circular section \u2192 32.6 \u00d7 32.6 mm rectangular section.", "One \u00d816.9 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 2 sections: \u00d857.52 mm circular section \u2192 32.6 \u00d7 32.6 mm rectangular section. One \u00d816.9 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 57.52, "min": 28.8, "max": 92.0, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 32.6, "min": 13.0, "max": 69.0, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 50.5, "min": 20.2, "max": 101.0, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_bore_d": {"type": "float", "default": 16.9, "min": 2.0, "max": 26.1, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328770 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 57.52, \"min\": 28.8, \"max\": 92.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 32.6, \"min\": 13.0, \"max\": 69.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 50.5, \"min\": 20.2, \"max\": 101.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 16.9, \"min\": 2.0, \"max\": 26.1, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .circle(p[\"loft_base\"] / 2)\n        .workplane(offset=p[\"loft_h\"])\n        .rect(p[\"loft_top\"], p[\"loft_top\"])\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462c9c83_0207", "family": "profiled", "tier": 0, "seed": 1177328771, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "661aee1859100c72", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 399000.0, "surface_area": 41800.0, "principal_moments": [91399999.99999999, 2740000000.0, 2760000000.0], "n_faces": 8, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["freeform sketched section (6 segments: 2 straight, 3 arcs, 1 curve), ~40.095 \u00d7 45.354 mm, extruded 285.2 mm thick."], "text": "freeform sketched section (6 segments: 2 straight, 3 arcs, 1 curve), ~40.095 \u00d7 45.354 mm, extruded 285.2 mm thick."}, "params": {"sk_w": {"type": "float", "default": 50, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 48.58, "min": 24.3, "max": 87.4, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "length": {"type": "float", "default": 285.2, "min": 85.6, "max": 855.6, "step": 5.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328771 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 50, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 48.58, \"min\": 24.3, \"max\": 87.4, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 285.2, \"min\": 85.6, \"max\": 855.6, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.335, p[\"sk_h\"] * 0.0866).threePointArc((p[\"sk_w\"] * 0.273, p[\"sk_h\"] * 0.285), (p[\"sk_w\"] * 0.1649, p[\"sk_h\"] * 0.4337)).lineTo(p[\"sk_w\"] * -0.1117, p[\"sk_h\"] * 0.4638).threePointArc((p[\"sk_w\"] * -0.3742, p[\"sk_h\"] * 0.2662), (p[\"sk_w\"] * -0.4589, p[\"sk_h\"] * -0.0363)).lineTo(p[\"sk_w\"] * -0.0765, p[\"sk_h\"] * -0.4698).threePointArc((p[\"sk_w\"] * 0.1414, p[\"sk_h\"] * -0.4302), (p[\"sk_w\"] * 0.343, p[\"sk_h\"] * -0.3222)).spline([(p[\"sk_w\"] * 0.343, p[\"sk_h\"] * -0.3222), (p[\"sk_w\"] * 0.3777, p[\"sk_h\"] * -0.117), (p[\"sk_w\"] * 0.335, p[\"sk_h\"] * 0.0866)]).close().extrude(p[\"length\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462c9c84_0208", "family": "revolved", "tier": 1, "seed": 1177328772, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "e4574bdc31a7e2b9", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 100000.0, "surface_area": 22600.0, "principal_moments": [35200000.0, 85000000.0, 85000000.0], "n_faces": 8, "n_edges": 14, "n_vertices": 8}, "dimensions": {"lines": ["Revolved body, \u00d846.01 mm \u00d7 90 mm tall with \u00d826.5 mm bore.", "Chamfer 0.4 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d846.01 mm \u00d7 90 mm tall with \u00d826.5 mm bore. Chamfer 0.4 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 46.01, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 90.0, "min": 27.0, "max": 270.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 26.5, "min": 2.0, "max": 32.2, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "end_chamfer": {"type": "float", "default": 0.4, "min": 0.1, "max": 1.2, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328772 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 46.01, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 90.0, \"min\": 27.0, \"max\": 270.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 26.5, \"min\": 2.0, \"max\": 32.2, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.4, \"min\": 0.1, \"max\": 1.2, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462c9c85_0209", "family": "tapped", "tier": 0, "seed": 1177328773, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "a32dc95c6e6817fd", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 31500.0, "surface_area": 7510.0, "principal_moments": [5790000.0, 5790000.0, 9650000.0], "n_faces": 131, "n_edges": 365, "n_vertices": 236}, "dimensions": {"lines": ["One M12x1.75 tapped hole in a plate."], "text": "One M12x1.75 tapped hole in a plate."}, "params": {"major_d": {"type": "float", "default": 12.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 1.75, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 19.2, "min": 14.4, "max": 34.6, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "plate_w": {"type": "float", "default": 41.7, "min": 25.0, "max": 66.7, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 41.7, "min": 25.0, "max": 66.7, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328773 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 12.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.75, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 19.2, \"min\": 14.4, \"max\": 34.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"plate_w\": {\"type\": 'float', \"default\": 41.7, \"min\": 25.0, \"max\": 66.7, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 41.7, \"min\": 25.0, \"max\": 66.7, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n}\n\n\ndef build(p):\n\n    _W, _D, _H = p[\"plate_w\"], p[\"plate_d\"], p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Box(_W, _D, _H)\n    _locs = [(0.0, 0.0)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462c9c86_0210", "family": "tapped", "tier": 1, "seed": 1177328774, "symmetry": "none", "op_count": 1, "ir_hash": "cc7e2ffbf8bb19f9", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 61800.0, "surface_area": 13000.0, "principal_moments": [18200000.0, 20300000.0, 34900000.0], "n_faces": 614, "n_edges": 1684, "n_vertices": 1072}, "dimensions": {"lines": ["Four M6x1 tapped holes in a plate."], "text": "Four M6x1 tapped holes in a plate."}, "params": {"major_d": {"type": "float", "default": 6.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 1.0, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 18.7, "min": 7.2, "max": 33.7, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "plate_w": {"type": "float", "default": 60, "min": 36.0, "max": 96.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 56.6, "min": 34.0, "max": 90.6, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328774 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.0, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 18.7, \"min\": 7.2, \"max\": 33.7, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"plate_w\": {\"type\": 'float', \"default\": 60, \"min\": 36.0, \"max\": 96.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 56.6, \"min\": 34.0, \"max\": 90.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n}\n\n\ndef build(p):\n\n    _W, _D, _H = p[\"plate_w\"], p[\"plate_d\"], p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Box(_W, _D, _H)\n    _sx, _sy = p[\"plate_w\"] * 0.6, p[\"plate_d\"] * 0.6\n    _locs = [(_xx, _yy) for _xx in (-_sx / 2, _sx / 2) for _yy in (-_sy / 2, _sy / 2)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462c9c87_0211", "family": "compound", "tier": 1, "seed": 1177328775, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "44bf3f0b38a3d437", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 78800.0, "surface_area": 14800.0, "principal_moments": [22899999.999999996, 24799999.999999996, 28299999.999999996], "n_faces": 15, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 40 \u00d7 48.6 \u00d7 38.9 mm (W\u00d7D\u00d7H).", "31.7 \u00d7 29.2 mm rectangular section attachment, 8 mm long, from right face.", "Four \u00d85.3 mm holes at the corners, 19.02 \u00d7 17.52 mm spacing on the >X face."], "text": "Rectangular body, 40 \u00d7 48.6 \u00d7 38.9 mm (W\u00d7D\u00d7H). 31.7 \u00d7 29.2 mm rectangular section attachment, 8 mm long, from right face. Four \u00d85.3 mm holes at the corners, 19.02 \u00d7 17.52 mm spacing on the >X face."}, "params": {"block_w": {"type": "float", "default": 40, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 48.6, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 38.9, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "tab_a": {"type": "float", "default": 31.7, "min": 12.7, "max": 50.7, "step": 1.0, "group": "Tab", "label": "Tab width (mm)"}, "tab_b": {"type": "float", "default": 29.2, "min": 11.7, "max": 46.7, "step": 1.0, "group": "Tab", "label": "Tab height (mm)"}, "tab_t": {"type": "float", "default": 8.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Tab", "label": "Tab thickness (mm)"}, "tab_hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 6.4, "step": 0.1, "group": "Tab", "label": "Tab hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328775 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 40, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 48.6, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 38.9, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"tab_a\": {\"type\": 'float', \"default\": 31.7, \"min\": 12.7, \"max\": 50.7, \"step\": 1.0, \"group\": 'Tab', \"label\": 'Tab width (mm)'},\n    \"tab_b\": {\"type\": 'float', \"default\": 29.2, \"min\": 11.7, \"max\": 46.7, \"step\": 1.0, \"group\": 'Tab', \"label\": 'Tab height (mm)'},\n    \"tab_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Tab', \"label\": 'Tab thickness (mm)'},\n    \"tab_hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 6.4, \"step\": 0.1, \"group\": 'Tab', \"label\": 'Tab hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .rect(p[\"tab_a\"], p[\"tab_b\"]).extrude(p[\"tab_t\"])\n    )\n    result = (\n        result.faces('>X').workplane()\n        .rect(p[\"tab_a\"] * 0.6, p[\"tab_b\"] * 0.6, forConstruction=True)\n        .vertices().hole(p[\"tab_hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462c9c88_0212", "family": "revolved", "tier": 2, "seed": 1177328776, "symmetry": "radial", "op_count": 2, "ir_hash": "b891d05a1391e0c0", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 261000.0, "surface_area": 39500.0, "principal_moments": [190000000.0, 262000000.0, 262000000.0], "n_faces": 9, "n_edges": 14, "n_vertices": 9}, "dimensions": {"lines": ["Revolved body, \u00d869.85 mm \u00d7 103.8 mm tall with 5.43 mm-wide groove 3.49 mm deep.", "Chamfer 1 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d869.85 mm \u00d7 103.8 mm tall with 5.43 mm-wide groove 3.49 mm deep. Chamfer 1 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 69.85, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 103.8, "min": 31.1, "max": 311.4, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "groove_depth": {"type": "float", "default": 3.49, "min": 1.4, "max": 10.47, "step": 0.1, "group": "Body", "label": "Groove depth (mm)"}, "groove_w": {"type": "float", "default": 5.43, "min": 2.17, "max": 16.29, "step": 0.2, "group": "Body", "label": "Groove width (mm)"}, "groove_pos": {"type": "float", "default": 63.3, "min": 15.6, "max": 88.2, "step": 1.0, "group": "Body", "label": "Groove position (mm)"}, "end_chamfer": {"type": "float", "default": 1.0, "min": 0.1, "max": 3.0, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328776 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 69.85, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 103.8, \"min\": 31.1, \"max\": 311.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"groove_depth\": {\"type\": 'float', \"default\": 3.49, \"min\": 1.4, \"max\": 10.47, \"step\": 0.1, \"group\": 'Body', \"label\": 'Groove depth (mm)'},\n    \"groove_w\": {\"type\": 'float', \"default\": 5.43, \"min\": 2.17, \"max\": 16.29, \"step\": 0.2, \"group\": 'Body', \"label\": 'Groove width (mm)'},\n    \"groove_pos\": {\"type\": 'float', \"default\": 63.3, \"min\": 15.6, \"max\": 88.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Groove position (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 1.0, \"min\": 0.1, \"max\": 3.0, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"groove_pos\"] - p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2 - p[\"groove_depth\"], p[\"groove_pos\"] - p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2 - p[\"groove_depth\"], p[\"groove_pos\"] + p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2, p[\"groove_pos\"] + p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462c9c89_0213", "family": "block", "tier": 1, "seed": 1177328777, "symmetry": "radial", "op_count": 2, "ir_hash": "f0ee387b2b657af2", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 119000.0, "surface_area": 18100.0, "principal_moments": [50299999.99999999, 51199999.99999999, 85700000.0], "n_faces": 8, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["Rectangular body, 66.24 \u00d7 28 \u00d7 65.5 mm (W\u00d7D\u00d7H).", "Six \u00d85.3 mm holes on a \u00d839.8 mm bolt circle."], "text": "Rectangular body, 66.24 \u00d7 28 \u00d7 65.5 mm (W\u00d7D\u00d7H). Six \u00d85.3 mm holes on a \u00d839.8 mm bolt circle."}, "params": {"block_w": {"type": "float", "default": 66.24, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 28.0, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 65.5, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "bolt_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 19.9, "min": 13.2, "max": 29.8, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 6, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328777 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 66.24, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 28.0, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 65.5, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 19.9, \"min\": 13.2, \"max\": 29.8, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462c9c8a_0214", "family": "flanged", "tier": 2, "seed": 1177328778, "symmetry": "none", "op_count": 2, "ir_hash": "85e2deb04428f96f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 706000.0, "surface_area": 92000.0, "principal_moments": [1650000000.0, 1650000000.0, 1670000000.0], "n_faces": 10, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["Revolved body, \u00d880 mm \u00d7 108.4 mm tall with \u00d834.1 mm bore, \u00d8178.8 mm \u00d7 13 mm flange.", "Four \u00d85.3 mm holes on a \u00d8107.2 mm bolt circle."], "text": "Revolved body, \u00d880 mm \u00d7 108.4 mm tall with \u00d834.1 mm bore, \u00d8178.8 mm \u00d7 13 mm flange. Four \u00d85.3 mm holes on a \u00d8107.2 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 80, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 108.4, "min": 32.5, "max": 271.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 34.1, "min": 2.0, "max": 56.0, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 178.8, "min": 104.0, "max": 240.0, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 13.0, "min": 3.9, "max": 43.4, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 53.6, "min": 35.8, "max": 80.5, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 4, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328778 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 80, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 108.4, \"min\": 32.5, \"max\": 271.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 34.1, \"min\": 2.0, \"max\": 56.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 178.8, \"min\": 104.0, \"max\": 240.0, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 13.0, \"min\": 3.9, \"max\": 43.4, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 53.6, \"min\": 35.8, \"max\": 80.5, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 4, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462c9c8b_0215", "family": "threaded", "tier": 3, "seed": 1177328779, "symmetry": "none", "op_count": 1, "ir_hash": "ee6eb43f7c4dea7c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 8400.0, "surface_area": 3910.0, "principal_moments": [281000.0, 1330000.0, 1330000.0], "n_faces": 110, "n_edges": 280, "n_vertices": 172}, "dimensions": {"lines": ["Tr 18x4 external thread, 42 mm long."], "text": "Tr 18x4 external thread, 42 mm long."}, "params": {"thread_size": {"type": "enum", "default": "18x4", "choices": ["8x1.5", "10x2", "12x3", "14x3", "16x4", "18x4", "20x4", "24x5", "28x5", "30x6", "36x6", "40x7"], "group": "Thread", "label": "Size designation"}, "thread_len": {"type": "float", "default": 42.0, "min": 16.8, "max": 84.0, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328779 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"thread_size\": {\"type\": 'enum', \"default\": '18x4', \"choices\": ['8x1.5', '10x2', '12x3', '14x3', '16x4', '18x4', '20x4', '24x5', '28x5', '30x6', '36x6', '40x7'], \"group\": 'Thread', \"label\": 'Size designation'},\n    \"thread_len\": {\"type\": 'float', \"default\": 42.0, \"min\": 16.8, \"max\": 84.0, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.MetricTrapezoidalThread(size=p[\"thread_size\"], length=p[\"thread_len\"], external=True, end_finishes=(\"fade\", \"fade\"))\n    _r = _thr.min_radius if hasattr(_thr, 'min_radius') else _thr.root_radius\n    _shank = _bd.Cylinder(radius=_r, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = _shank + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462c9c8c_0216", "family": "gear", "tier": 2, "seed": 1177328780, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "c7dd972a80e161cc", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 345000.0, "surface_area": 49200.0, "principal_moments": [501000000.0, 501000000.0, 977000000.0], "n_faces": 148, "n_edges": 438, "n_vertices": 292}, "dimensions": {"lines": ["Spur gear, module 5 mm, 29 teeth (pitch \u00d8145 mm), face width 21 mm, \u00d828.1 mm bore."], "text": "Spur gear, module 5 mm, 29 teeth (pitch \u00d8145 mm), face width 21 mm, \u00d828.1 mm bore."}, "params": {"module": {"type": "float", "default": 5.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 29, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 21.0, "min": 8.4, "max": 52.5, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "profile_shift": {"type": "float", "default": 0.0, "min": -0.5, "max": 0.7, "step": 0.05, "group": "Gear", "label": "Profile shift"}, "root_fillet": {"type": "float", "default": 0.94, "min": 0.0, "max": 2.5, "step": 0.05, "group": "Gear", "label": "Root fillet (mm)"}, "bore_d": {"type": "float", "default": 28.1, "min": 2.0, "max": 79.5, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328780 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 5.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 29, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 21.0, \"min\": 8.4, \"max\": 52.5, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"profile_shift\": {\"type\": 'float', \"default\": 0.0, \"min\": -0.5, \"max\": 0.7, \"step\": 0.05, \"group\": 'Gear', \"label\": 'Profile shift'},\n    \"root_fillet\": {\"type\": 'float', \"default\": 0.94, \"min\": 0.0, \"max\": 2.5, \"step\": 0.05, \"group\": 'Gear', \"label\": 'Root fillet (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 28.1, \"min\": 2.0, \"max\": 79.5, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"], profile_shift=p[\"profile_shift\"], root_fillet=p[\"root_fillet\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462c9c8d_0217", "family": "block", "tier": 3, "seed": 1177328781, "symmetry": "radial", "op_count": 6, "ir_hash": "3e51340a66affb32", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 3610.0, "surface_area": 3940.0, "principal_moments": [203000.0, 212000.0, 309000.0], "n_faces": 31, "n_edges": 102, "n_vertices": 68}, "dimensions": {"lines": ["Rectangular body, 20 \u00d7 13.6 \u00d7 22.8 mm (W\u00d7D\u00d7H).", "Eight \u00d84.3 mm holes on a \u00d812 mm bolt circle.", "Fillet radius 0.755 mm on vertical edges.", "Fillet radius 0.872 mm on vertical edges (optional, off by default).", "One \u00d85.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch on the <Y face.", "\u00d84 mm circular section attachment, 4 mm long, from left face with a \u00d82 mm bore."], "text": "Rectangular body, 20 \u00d7 13.6 \u00d7 22.8 mm (W\u00d7D\u00d7H). Eight \u00d84.3 mm holes on a \u00d812 mm bolt circle. Fillet radius 0.755 mm on vertical edges. Fillet radius 0.872 mm on vertical edges (optional, off by default). One \u00d85.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch on the <Y face. \u00d84 mm circular section attachment, 4 mm long, from left face with a \u00d82 mm bore."}, "params": {"block_w": {"type": "float", "default": 20, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 13.6, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 22.8, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "bolt_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 6.0, "min": 4.0, "max": 9.0, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 8, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}, "filleted2": {"type": "bool", "default": false, "group": "Body", "label": "Fillet corners"}, "face_hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 9.5, "step": 0.5, "group": "Holes", "label": "Side hole diameter (mm)"}, "side_tube_d": {"type": "float", "default": 4.0, "min": 1.6, "max": 6.8, "step": 1.0, "group": "Side Tube", "label": "Side tube diameter (mm)"}, "side_tube_len": {"type": "float", "default": 4.0, "min": 1.2, "max": 12.0, "step": 1.0, "group": "Side Tube", "label": "Side tube length (mm)"}, "side_bore_d": {"type": "float", "default": 2.0, "min": 2.0, "max": 3.0, "step": 0.5, "group": "Side Tube", "label": "Side bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328781 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 20, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 13.6, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 22.8, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 6.0, \"min\": 4.0, \"max\": 9.0, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n    \"filleted2\": {\"type\": 'bool', \"default\": False, \"group\": 'Body', \"label\": 'Fillet corners'},\n    \"face_hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 9.5, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Side hole diameter (mm)'},\n    \"side_tube_d\": {\"type\": 'float', \"default\": 4.0, \"min\": 1.6, \"max\": 6.8, \"step\": 1.0, \"group\": 'Side Tube', \"label\": 'Side tube diameter (mm)'},\n    \"side_tube_len\": {\"type\": 'float', \"default\": 4.0, \"min\": 1.2, \"max\": 12.0, \"step\": 1.0, \"group\": 'Side Tube', \"label\": 'Side tube length (mm)'},\n    \"side_bore_d\": {\"type\": 'float', \"default\": 2.0, \"min\": 2.0, \"max\": 3.0, \"step\": 0.5, \"group\": 'Side Tube', \"label\": 'Side bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"block_w\"], p[\"block_d\"]) * 0.05550342012094531)\n    if p[\"filleted2\"]:\n        result = result.edges('|Z').fillet(min(p[\"block_w\"], p[\"block_d\"]) * 0.06411542963193637)\n    result = (\n        result.faces('<Y').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"face_hole_d\"])\n    )\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"side_tube_d\"] / 2).extrude(p[\"side_tube_len\"])\n    )\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"side_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462c9c8e_0218", "family": "gear", "tier": 1, "seed": 1177328782, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "e93df20718850884", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 62700.0, "surface_area": 14900.0, "principal_moments": [16900000.0, 16900000.0, 21700000.0], "n_faces": 63, "n_edges": 183, "n_vertices": 122}, "dimensions": {"lines": ["Spur gear, module 5 mm, 10 teeth (pitch \u00d850 mm), face width 34 mm, \u00d86 mm bore."], "text": "Spur gear, module 5 mm, 10 teeth (pitch \u00d850 mm), face width 34 mm, \u00d86 mm bore."}, "params": {"module": {"type": "float", "default": 5.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 10, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 34.0, "min": 13.6, "max": 85.0, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "bore_d": {"type": "float", "default": 6.0, "min": 2.0, "max": 22.5, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328782 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 5.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 10, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 34.0, \"min\": 13.6, \"max\": 85.0, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 22.5, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462c9c8f_0219", "family": "tapped", "tier": 2, "seed": 1177328783, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "c7ca0061b6c67c62", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 109000.0, "surface_area": 23200.0, "principal_moments": [40000000.0, 62999999.99999999, 91199999.99999999], "n_faces": 778, "n_edges": 2224, "n_vertices": 1448}, "dimensions": {"lines": ["Four M16x2 tapped holes in a plate."], "text": "Four M16x2 tapped holes in a plate."}, "params": {"major_d": {"type": "float", "default": 16.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 2.0, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 25.6, "min": 19.2, "max": 46.1, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "plate_w": {"type": "float", "default": 80, "min": 48.0, "max": 128.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 61.9, "min": 37.1, "max": 99.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328783 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 16.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 2.0, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 25.6, \"min\": 19.2, \"max\": 46.1, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"plate_w\": {\"type\": 'float', \"default\": 80, \"min\": 48.0, \"max\": 128.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 61.9, \"min\": 37.1, \"max\": 99.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n}\n\n\ndef build(p):\n\n    _W, _D, _H = p[\"plate_w\"], p[\"plate_d\"], p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Box(_W, _D, _H)\n    _sx, _sy = p[\"plate_w\"] * 0.6, p[\"plate_d\"] * 0.6\n    _locs = [(_xx, _yy) for _xx in (-_sx / 2, _sx / 2) for _yy in (-_sy / 2, _sy / 2)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462c9c90_0220", "family": "sketched", "tier": 1, "seed": 1177328784, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "f3f6f86af43f083f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 22100.0, "surface_area": 5610.0, "principal_moments": [2450000.0, 3350000.0, 3350000.0], "n_faces": 8, "n_edges": 13, "n_vertices": 7}, "dimensions": {"lines": ["Revolved organic body from a freeform sketched section (8 segments: 5 straight, 2 arcs, 1 curve), ~16.382 \u00d7 37.37 mm half-silhouette."], "text": "Revolved organic body from a freeform sketched section (8 segments: 5 straight, 2 arcs, 1 curve), ~16.382 \u00d7 37.37 mm half-silhouette."}, "params": {"sk_r": {"type": "float", "default": 17.05, "min": 8.5, "max": 30.7, "step": 1.0, "group": "Sketch", "label": "Max radius (mm)"}, "sk_h": {"type": "float", "default": 37.37, "min": 18.7, "max": 67.3, "step": 1.0, "group": "Sketch", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328784 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_r\": {\"type\": 'float', \"default\": 17.05, \"min\": 8.5, \"max\": 30.7, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Max radius (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 37.37, \"min\": 18.7, \"max\": 67.3, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XZ').moveTo(p[\"sk_r\"] * 0.6257, p[\"sk_h\"] * 0.0).lineTo(p[\"sk_r\"] * 0.9608, p[\"sk_h\"] * 0.1796).lineTo(p[\"sk_r\"] * 0.8176, p[\"sk_h\"] * 0.7473).threePointArc((p[\"sk_r\"] * 0.5372, p[\"sk_h\"] * 0.7785), (p[\"sk_r\"] * 0.2018, p[\"sk_h\"] * 0.8097)).bezier([(p[\"sk_r\"] * 0.2018, p[\"sk_h\"] * 0.8097), (p[\"sk_r\"] * 0.2134, p[\"sk_h\"] * 0.8643), (p[\"sk_r\"] * 0.1936, p[\"sk_h\"] * 0.9188)]).threePointArc((p[\"sk_r\"] * 0.5402, p[\"sk_h\"] * 0.9308), (p[\"sk_r\"] * 0.9324, p[\"sk_h\"] * 0.9428)).lineTo(p[\"sk_r\"] * 0.9441, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.0, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.0, p[\"sk_h\"] * 0.0).close().revolve())\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462c9c92_0222", "family": "lofted", "tier": 2, "seed": 1177328786, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "34fb9ecc9587e312", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 29500.0, "surface_area": 6940.0, "principal_moments": [4230000.0, 6030000.0, 6030000.0], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["Lofted body through 3 sections: 33.45 \u00d7 33.45 mm rectangular section \u2192 27.2 \u00d7 27.2 mm rectangular section \u2192 6-sided polygon section, 20.9 mm across corners.", "One \u00d87.5 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 3 sections: 33.45 \u00d7 33.45 mm rectangular section \u2192 27.2 \u00d7 27.2 mm rectangular section \u2192 6-sided polygon section, 20.9 mm across corners. One \u00d87.5 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 33.45, "min": 16.7, "max": 53.5, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 20.9, "min": 8.4, "max": 40.1, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 43.2, "min": 17.3, "max": 86.4, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_mid": {"type": "float", "default": 27.2, "min": 10.4, "max": 40.1, "step": 1.0, "group": "Body", "label": "Mid size (mm)"}, "loft_bore_d": {"type": "float", "default": 7.5, "min": 2.0, "max": 16.7, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328786 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 33.45, \"min\": 16.7, \"max\": 53.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 20.9, \"min\": 8.4, \"max\": 40.1, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 43.2, \"min\": 17.3, \"max\": 86.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_mid\": {\"type\": 'float', \"default\": 27.2, \"min\": 10.4, \"max\": 40.1, \"step\": 1.0, \"group\": 'Body', \"label\": 'Mid size (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 7.5, \"min\": 2.0, \"max\": 16.7, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .rect(p[\"loft_base\"], p[\"loft_base\"])\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .rect(p[\"loft_mid\"], p[\"loft_mid\"])\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .polygon(6, p[\"loft_top\"] * 0.5 * 2)\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462c9c93_0223", "family": "bracket", "tier": 2, "seed": 1177328787, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "1dc0e57e40922f6f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 10800.0, "surface_area": 4960.0, "principal_moments": [1180000.0, 2300000.0, 2340000.0], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["C-channel bracket: base leg 35 mm, vertical leg 25 mm, 25 mm wide, 6 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 8.4 mm corner gusset."], "text": "C-channel bracket: base leg 35 mm, vertical leg 25 mm, 25 mm wide, 6 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 8.4 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 35, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 25.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 25, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 6.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 8.4, "min": 3.0, "max": 12.5, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328787 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 35, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 25.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 25, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 8.4, \"min\": 3.0, \"max\": 12.5, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl / 2, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bl - _bt, _bt).lineTo(_bl - _bt - _g, _bt)\n                    .lineTo(_bl - _bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462c9c94_0224", "family": "block", "tier": 1, "seed": 1177328788, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "1b2d72297557e812", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 305000.0, "surface_area": 38600.0, "principal_moments": [215000000.0, 289000000.0, 434000000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 85 \u00d7 37.4 \u00d7 100 mm (W\u00d7D\u00d7H).", "Four \u00d86.4 mm holes at the corners, 59.5 \u00d7 26.18 mm spacing."], "text": "Rectangular body, 85 \u00d7 37.4 \u00d7 100 mm (W\u00d7D\u00d7H). Four \u00d86.4 mm holes at the corners, 59.5 \u00d7 26.18 mm spacing."}, "params": {"block_w": {"type": "float", "default": 85, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 37.4, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 100.0, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 8.4, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328788 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 85, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 37.4, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 100.0, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 8.4, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462c9c95_0225", "family": "ribbed", "tier": 1, "seed": 1177328789, "symmetry": "none", "op_count": 2, "ir_hash": "d93a8b9457145f01", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 9540.0, "surface_area": 6160.0, "principal_moments": [809000.0, 1640000.0, 2260000.0], "n_faces": 54, "n_edges": 132, "n_vertices": 80}, "dimensions": {"lines": ["Rectangular body, 45 \u00d7 25.1 \u00d7 5 mm (W\u00d7D\u00d7H).", "Six ribs, 3 mm thick, 6 mm tall."], "text": "Rectangular body, 45 \u00d7 25.1 \u00d7 5 mm (W\u00d7D\u00d7H). Six ribs, 3 mm thick, 6 mm tall."}, "params": {"base_w": {"type": "float", "default": 45, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 25.1, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 5.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 6, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 6.0, "min": 2.4, "max": 12.0, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 3.0, "min": 1.0, "max": 7.5, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328789 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 45, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 25.1, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 6, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.4, \"max\": 12.0, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 1.0, \"max\": 7.5, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462c9c96_0226", "family": "enclosure", "tier": 1, "seed": 1177328790, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "6d486ed9bb1fca08", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 19700.0, "surface_area": 8710.0, "principal_moments": [3730000.0, 4730000.0, 4930000.0], "n_faces": 11, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 36.95 \u00d7 29.3 \u00d7 31 mm (W\u00d7D\u00d7H).", "Hollowed to 4.9 mm wall thickness, open at top face."], "text": "Rectangular body, 36.95 \u00d7 29.3 \u00d7 31 mm (W\u00d7D\u00d7H). Hollowed to 4.9 mm wall thickness, open at top face."}, "params": {"enc_w": {"type": "float", "default": 36.95, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 29.3, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 31.0, "min": 12.4, "max": 62.0, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 4.9, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328790 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 36.95, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 29.3, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 31.0, \"min\": 12.4, \"max\": 62.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 4.9, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462c9c97_0227", "family": "bracket", "tier": 1, "seed": 1177328791, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "dd73dce10d76b5f4", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 12300.0, "surface_area": 4330.0, "principal_moments": [1340000.0, 1580000.0, 2270000.0], "n_faces": 8, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["L-bracket: base leg 25 mm, vertical leg 26.8 mm, 35 mm wide, 8 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."], "text": "L-bracket: base leg 25 mm, vertical leg 26.8 mm, 35 mm wide, 8 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 25.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 26.8, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 35, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 8.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328791 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 25.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 26.8, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 35, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462c9c98_0228", "family": "enclosure", "tier": 1, "seed": 1177328792, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "9cb27b74e62cf151", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 47400.0, "surface_area": 33300.0, "principal_moments": [33199999.999999996, 39300000.0, 50399999.99999999], "n_faces": 11, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 69.58 \u00d7 39.3 \u00d7 68.9 mm (W\u00d7D\u00d7H).", "Hollowed to 2.9 mm wall thickness, open at top face."], "text": "Rectangular body, 69.58 \u00d7 39.3 \u00d7 68.9 mm (W\u00d7D\u00d7H). Hollowed to 2.9 mm wall thickness, open at top face."}, "params": {"enc_w": {"type": "float", "default": 69.58, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 39.3, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 68.9, "min": 27.6, "max": 137.8, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 2.9, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328792 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 69.58, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 39.3, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 68.9, \"min\": 27.6, \"max\": 137.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 2.9, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462c9c99_0229", "family": "enclosure", "tier": 2, "seed": 1177328793, "symmetry": "mirror_xy", "op_count": 4, "ir_hash": "5cc7c2f83722618b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 125000.0, "surface_area": 50300.0, "principal_moments": [109000000.0, 231000000.0, 260000000.0], "n_faces": 23, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 115.55 \u00d7 62.9 \u00d7 56.3 mm (W\u00d7D\u00d7H).", "Hollowed to 5.1 mm wall thickness, open at top face.", "Four \u00d84.3 mm holes at the corners, 80.885 \u00d7 44.03 mm spacing.", "Fillet radius 3.459 mm on vertical edges."], "text": "Rectangular body, 115.55 \u00d7 62.9 \u00d7 56.3 mm (W\u00d7D\u00d7H). Hollowed to 5.1 mm wall thickness, open at top face. Four \u00d84.3 mm holes at the corners, 80.885 \u00d7 44.03 mm spacing. Fillet radius 3.459 mm on vertical edges."}, "params": {"enc_w": {"type": "float", "default": 115.55, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 62.9, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 56.3, "min": 22.5, "max": 112.6, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 5.1, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328793 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 115.55, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 62.9, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 56.3, \"min\": 22.5, \"max\": 112.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 5.1, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"enc_w\"] * 0.7, p[\"enc_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"enc_w\"], p[\"enc_d\"]) * 0.054996678778132344)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462c9c9a_0230", "family": "bracket", "tier": 1, "seed": 1177328794, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "c4e32161975ff38b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 29500.0, "surface_area": 9310.0, "principal_moments": [4610000.0, 9740000.0, 11200000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["C-channel bracket: base leg 30 mm, vertical leg 25 mm, 57.57 mm wide, 8 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."], "text": "C-channel bracket: base leg 30 mm, vertical leg 25 mm, 57.57 mm wide, 8 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 30, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 25.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 57.57, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 8.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328794 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 30, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 25.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 57.57, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462c9c9b_0231", "family": "ribbed", "tier": 2, "seed": 1177328795, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "ecad4678443715c8", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 8950.0, "surface_area": 7270.0, "principal_moments": [1350000.0, 3390000.0, 4120000.0], "n_faces": 22, "n_edges": 52, "n_vertices": 32}, "dimensions": {"lines": ["Rectangular body, 54.71 \u00d7 32 \u00d7 3 mm (W\u00d7D\u00d7H).", "Two ribs, 2.5 mm thick, 16.9 mm tall."], "text": "Rectangular body, 54.71 \u00d7 32 \u00d7 3 mm (W\u00d7D\u00d7H). Two ribs, 2.5 mm thick, 16.9 mm tall."}, "params": {"base_w": {"type": "float", "default": 54.71, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 32.0, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 3.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 2, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 16.9, "min": 6.8, "max": 33.8, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 2.5, "min": 1.0, "max": 6.2, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328795 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 54.71, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 32.0, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 2, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 16.9, \"min\": 6.8, \"max\": 33.8, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 2.5, \"min\": 1.0, \"max\": 6.2, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462c9c9c_0232", "family": "revolved", "tier": 2, "seed": 1177328796, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "f2d86c548abcba2d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 84200.0, "surface_area": 15500.0, "principal_moments": [19200000.0, 51299999.99999999, 51299999.99999999], "n_faces": 4, "n_edges": 6, "n_vertices": 4}, "dimensions": {"lines": ["Revolved body, \u00d840.12 mm \u00d7 77.1 mm tall with \u00d814.8 mm bore."], "text": "Revolved body, \u00d840.12 mm \u00d7 77.1 mm tall with \u00d814.8 mm bore."}, "params": {"outer_d": {"type": "float", "default": 40.12, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 77.1, "min": 23.1, "max": 231.3, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 14.8, "min": 2.0, "max": 28.1, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328796 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 40.12, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 77.1, \"min\": 23.1, \"max\": 231.3, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 14.8, \"min\": 2.0, \"max\": 28.1, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462c9c9d_0233", "family": "block", "tier": 2, "seed": 1177328797, "symmetry": "radial", "op_count": 3, "ir_hash": "c49b2ccf363dab1d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 279000.0, "surface_area": 52400.0, "principal_moments": [221000000.0, 291000000.0, 393000000.0], "n_faces": 27, "n_edges": 90, "n_vertices": 60}, "dimensions": {"lines": ["Rectangular body, 76.45 \u00d7 47.5 \u00d7 100 mm (W\u00d7D\u00d7H).", "Twelve \u00d85.3 mm holes on a \u00d845.8 mm bolt circle.", "Pocket 43.4 \u00d7 26 mm, 56.3 mm deep, in top face."], "text": "Rectangular body, 76.45 \u00d7 47.5 \u00d7 100 mm (W\u00d7D\u00d7H). Twelve \u00d85.3 mm holes on a \u00d845.8 mm bolt circle. Pocket 43.4 \u00d7 26 mm, 56.3 mm deep, in top face."}, "params": {"block_w": {"type": "float", "default": 76.45, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 47.5, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 100.0, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "bolt_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 22.9, "min": 15.3, "max": 34.4, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 12, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}, "pocket_w": {"type": "float", "default": 43.4, "min": 21.7, "max": 61.2, "step": 1.0, "group": "Pocket", "label": "Pocket width (mm)"}, "pocket_d": {"type": "float", "default": 26.0, "min": 13.0, "max": 38.0, "step": 1.0, "group": "Pocket", "label": "Pocket depth (mm)"}, "pocket_h": {"type": "float", "default": 56.3, "min": 22.5, "max": 85.0, "step": 0.5, "group": "Pocket", "label": "Pocket height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328797 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 76.45, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 47.5, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 100.0, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 22.9, \"min\": 15.3, \"max\": 34.4, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 12, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n    \"pocket_w\": {\"type\": 'float', \"default\": 43.4, \"min\": 21.7, \"max\": 61.2, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket width (mm)'},\n    \"pocket_d\": {\"type\": 'float', \"default\": 26.0, \"min\": 13.0, \"max\": 38.0, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket depth (mm)'},\n    \"pocket_h\": {\"type\": 'float', \"default\": 56.3, \"min\": 22.5, \"max\": 85.0, \"step\": 0.5, \"group\": 'Pocket', \"label\": 'Pocket height (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"pocket_w\"], p[\"pocket_d\"])\n        .cutBlind(-p[\"pocket_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462c9c9e_0234", "family": "bracket", "tier": 2, "seed": 1177328798, "symmetry": "none", "op_count": 1, "ir_hash": "fd85c3a68500f6ef", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 23700.0, "surface_area": 8210.0, "principal_moments": [2760000.0, 10900000.0, 12099999.999999998], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Z-bracket: base leg 40.67 mm, vertical leg 29 mm, top leg 41.8 mm, 31.45 mm wide, 8 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg; 8.9 mm corner gusset."], "text": "Z-bracket: base leg 40.67 mm, vertical leg 29 mm, top leg 41.8 mm, 31.45 mm wide, 8 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg; 8.9 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 40.67, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 29.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 31.45, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 8.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 41.8, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}, "gusset_t": {"type": "float", "default": 8.9, "min": 4.0, "max": 15.7, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328798 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 40.67, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 29.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 31.45, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 41.8, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 8.9, \"min\": 4.0, \"max\": 15.7, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _tl, _vl) * 0.4 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(0, _vl - _bt).lineTo(-_g, _vl - _bt)\n                    .lineTo(0, _vl - _bt - _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462c9c9f_0235", "family": "bracket", "tier": 2, "seed": 1177328799, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "85d3cee3668b630e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 30800.0, "surface_area": 10000.0, "principal_moments": [6480000.0, 16199999.999999998, 16699999.999999998], "n_faces": 14, "n_edges": 37, "n_vertices": 24}, "dimensions": {"lines": ["L-bracket: base leg 56.75 mm, vertical leg 55.2 mm, 35 mm wide, 8 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 7.3 mm corner gusset."], "text": "L-bracket: base leg 56.75 mm, vertical leg 55.2 mm, 35 mm wide, 8 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 7.3 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 56.75, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 55.2, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 35, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 8.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 7.3, "min": 4.0, "max": 17.5, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328799 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 56.75, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 55.2, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 35, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 7.3, \"min\": 4.0, \"max\": 17.5, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462c9ca0_0236", "family": "block", "tier": 2, "seed": 1177328800, "symmetry": "mirror_xy", "op_count": 3, "ir_hash": "1dc5c96ebea59f76", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 274000.0, "surface_area": 40200.0, "principal_moments": [204000000.0, 263000000.0, 392000000.0], "n_faces": 15, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 81.51 \u00d7 38.8 \u00d7 99 mm (W\u00d7D\u00d7H).", "Four \u00d83.2 mm holes at the corners, 57.057 \u00d7 27.16 mm spacing.", "Pocket 37 \u00d7 17.1 mm, 56.9 mm deep, in top face."], "text": "Rectangular body, 81.51 \u00d7 38.8 \u00d7 99 mm (W\u00d7D\u00d7H). Four \u00d83.2 mm holes at the corners, 57.057 \u00d7 27.16 mm spacing. Pocket 37 \u00d7 17.1 mm, 56.9 mm deep, in top face."}, "params": {"block_w": {"type": "float", "default": 81.51, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 38.8, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 99.0, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 8.7, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "pocket_w": {"type": "float", "default": 37.0, "min": 18.5, "max": 65.2, "step": 1.0, "group": "Pocket", "label": "Pocket width (mm)"}, "pocket_d": {"type": "float", "default": 17.1, "min": 8.6, "max": 31.0, "step": 1.0, "group": "Pocket", "label": "Pocket depth (mm)"}, "pocket_h": {"type": "float", "default": 56.9, "min": 22.8, "max": 84.1, "step": 0.5, "group": "Pocket", "label": "Pocket height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328800 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 81.51, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 38.8, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 99.0, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 8.7, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"pocket_w\": {\"type\": 'float', \"default\": 37.0, \"min\": 18.5, \"max\": 65.2, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket width (mm)'},\n    \"pocket_d\": {\"type\": 'float', \"default\": 17.1, \"min\": 8.6, \"max\": 31.0, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket depth (mm)'},\n    \"pocket_h\": {\"type\": 'float', \"default\": 56.9, \"min\": 22.8, \"max\": 84.1, \"step\": 0.5, \"group\": 'Pocket', \"label\": 'Pocket height (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"pocket_w\"], p[\"pocket_d\"])\n        .cutBlind(-p[\"pocket_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9ca1_0237", "family": "plate", "tier": 1, "seed": 1177328801, "symmetry": "radial", "op_count": 2, "ir_hash": "e15a9f30f68859db", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 12900.0, "surface_area": 5690.0, "principal_moments": [882000.0, 6530000.0, 7340000.0], "n_faces": 8, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["Rectangular body, 77.7 \u00d7 27.9 \u00d7 6 mm (W\u00d7D\u00d7H).", "Eight \u00d83.2 mm holes on a \u00d846.6 mm bolt circle."], "text": "Rectangular body, 77.7 \u00d7 27.9 \u00d7 6 mm (W\u00d7D\u00d7H). Eight \u00d83.2 mm holes on a \u00d846.6 mm bolt circle."}, "params": {"plate_w": {"type": "float", "default": 77.7, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 27.9, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 6.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "bolt_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 23.3, "min": 15.5, "max": 35.0, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 8, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328801 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 77.7, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 27.9, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 23.3, \"min\": 15.5, \"max\": 35.0, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462c9ca2_0238", "family": "compound", "tier": 2, "seed": 1177328802, "symmetry": "none", "op_count": 2, "ir_hash": "bdd23bb278ca2b31", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 28700.0, "surface_area": 8630.0, "principal_moments": [4460000.0, 8520000.0, 8520000.0], "n_faces": 13, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["8-sided polygon section, 40 mm across corners, extruded 19.3 mm thick.", "\u00d820.1 mm circular section attachment, 36.8 mm long, from top face with a \u00d810.5 mm bore."], "text": "8-sided polygon section, 40 mm across corners, extruded 19.3 mm thick. \u00d820.1 mm circular section attachment, 36.8 mm long, from top face with a \u00d810.5 mm bore."}, "params": {"base_sides": {"type": "int", "default": 8, "min": 3, "max": 8, "step": 1, "group": "Base", "label": "Base sides"}, "base_r": {"type": "float", "default": 20, "min": 12.0, "max": 32.0, "step": 1.0, "group": "Base", "label": "Base circumradius (mm)"}, "base_h": {"type": "float", "default": 19.3, "min": 7.7, "max": 48.2, "step": 1.0, "group": "Base", "label": "Base height (mm)"}, "col_d": {"type": "float", "default": 20.1, "min": 10.1, "max": 29.6, "step": 1.0, "group": "Column", "label": "Column diameter (mm)"}, "col_h": {"type": "float", "default": 36.8, "min": 11.0, "max": 92.0, "step": 1.0, "group": "Column", "label": "Column height (mm)"}, "col_bore": {"type": "float", "default": 10.5, "min": 2.0, "max": 14.5, "step": 0.5, "group": "Column", "label": "Column bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328802 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_sides\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Base', \"label\": 'Base sides'},\n    \"base_r\": {\"type\": 'float', \"default\": 20, \"min\": 12.0, \"max\": 32.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base circumradius (mm)'},\n    \"base_h\": {\"type\": 'float', \"default\": 19.3, \"min\": 7.7, \"max\": 48.2, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base height (mm)'},\n    \"col_d\": {\"type\": 'float', \"default\": 20.1, \"min\": 10.1, \"max\": 29.6, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column diameter (mm)'},\n    \"col_h\": {\"type\": 'float', \"default\": 36.8, \"min\": 11.0, \"max\": 92.0, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column height (mm)'},\n    \"col_bore\": {\"type\": 'float', \"default\": 10.5, \"min\": 2.0, \"max\": 14.5, \"step\": 0.5, \"group\": 'Column', \"label\": 'Column bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').polygon(p[\"base_sides\"], p[\"base_r\"] * 2).extrude(p[\"base_h\"]))\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"col_d\"] / 2).extrude(p[\"col_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"col_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462c9ca3_0239", "family": "threaded", "tier": 2, "seed": 1177328803, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "8e1552cbd4191c1b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 14000.0, "surface_area": 6880.0, "principal_moments": [1030000.0, 3610000.0, 3610000.0], "n_faces": 351, "n_edges": 987, "n_vertices": 638}, "dimensions": {"lines": ["M12x1.75 internal thread, 51.6 mm long."], "text": "M12x1.75 internal thread, 51.6 mm long."}, "params": {"major_d": {"type": "float", "default": 12.0, "min": 4.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Major diameter (mm)"}, "pitch": {"type": "float", "default": 1.75, "min": 0.88, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Pitch (mm)"}, "thread_len": {"type": "float", "default": 51.6, "min": 20.6, "max": 103.2, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328803 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 12.0, \"min\": 4.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Major diameter (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.75, \"min\": 0.88, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Pitch (mm)'},\n    \"thread_len\": {\"type\": 'float', \"default\": 51.6, \"min\": 20.6, \"max\": 103.2, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.IsoThread(major_diameter=p[\"major_d\"], pitch=p[\"pitch\"], length=p[\"thread_len\"], external=False, end_finishes=(\"fade\", \"fade\"))\n    _body = _bd.Cylinder(radius=(p[\"major_d\"]) * 0.9, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _bore = _bd.Cylinder(radius=(p[\"major_d\"]) / 2, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = (_body - _bore) + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462c9ca4_0240", "family": "swept", "tier": 2, "seed": 1177328804, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "91e3b6026bdc5f1b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 19600.0, "surface_area": 5070.0, "principal_moments": [882000.0, 11899999.999999998, 12099999.999999998], "n_faces": 3, "n_edges": 3, "n_vertices": 2}, "dimensions": {"lines": ["\u00d817 mm circular section swept along a curved path, ~78.91 mm span."], "text": "\u00d817 mm circular section swept along a curved path, ~78.91 mm span."}, "params": {"path_w": {"type": "float", "default": 75, "min": 37.5, "max": 135.0, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 78.91, "min": 39.5, "max": 142.0, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_d": {"type": "float", "default": 17.0, "min": 8.5, "max": 30.6, "step": 1.0, "group": "Section", "label": "Section diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328804 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 75, \"min\": 37.5, \"max\": 135.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 78.91, \"min\": 39.5, \"max\": 142.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_d\": {\"type\": 'float', \"default\": 17.0, \"min\": 8.5, \"max\": 30.6, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.3085), (p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.5563), (p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.648), (p[\"path_w\"] * 0.2437, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').circle(p[\"sweep_d\"] / 2).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462c9ca5_0241", "family": "flanged", "tier": 1, "seed": 1177328805, "symmetry": "none", "op_count": 2, "ir_hash": "6377bb38f6d59ab5", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 91500.0, "surface_area": 24100.0, "principal_moments": [56699999.99999999, 56699999.99999999, 58499999.99999999], "n_faces": 12, "n_edges": 27, "n_vertices": 18}, "dimensions": {"lines": ["Revolved body, \u00d838.77 mm \u00d7 55.8 mm tall with \u00d816.2 mm bore, \u00d892 mm \u00d7 6.9 mm flange.", "Six \u00d84.3 mm holes on a \u00d855.2 mm bolt circle."], "text": "Revolved body, \u00d838.77 mm \u00d7 55.8 mm tall with \u00d816.2 mm bore, \u00d892 mm \u00d7 6.9 mm flange. Six \u00d84.3 mm holes on a \u00d855.2 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 38.77, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 55.8, "min": 16.7, "max": 139.5, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 16.2, "min": 2.0, "max": 27.1, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 92.0, "min": 50.4, "max": 116.3, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 6.9, "min": 2.1, "max": 22.3, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 27.6, "min": 18.4, "max": 41.4, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 6, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328805 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 38.77, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 55.8, \"min\": 16.7, \"max\": 139.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 16.2, \"min\": 2.0, \"max\": 27.1, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 92.0, \"min\": 50.4, \"max\": 116.3, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 6.9, \"min\": 2.1, \"max\": 22.3, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 27.6, \"min\": 18.4, \"max\": 41.4, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462c9ca6_0242", "family": "revolved", "tier": 1, "seed": 1177328806, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "8de9405def4bb0e8", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 651.0, "surface_area": 780.0, "principal_moments": [6290.0, 18200.0, 18200.0], "n_faces": 5, "n_edges": 7, "n_vertices": 5}, "dimensions": {"lines": ["Revolved body, \u00d86 mm \u00d7 21 mm tall with \u00d89.7 mm \u00d7 5.6 mm flange."], "text": "Revolved body, \u00d86 mm \u00d7 21 mm tall with \u00d89.7 mm \u00d7 5.6 mm flange."}, "params": {"outer_d": {"type": "float", "default": 6.0, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 21.0, "min": 6.3, "max": 63.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "flange_d": {"type": "float", "default": 9.7, "min": 7.2, "max": 18.0, "step": 1.0, "group": "Body", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 5.6, "min": 1.7, "max": 10.5, "step": 0.5, "group": "Body", "label": "Flange height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328806 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 6.0, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 21.0, \"min\": 6.3, \"max\": 63.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 9.7, \"min\": 7.2, \"max\": 18.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 5.6, \"min\": 1.7, \"max\": 10.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Flange height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9ca7_0243", "family": "plate", "tier": 1, "seed": 1177328807, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "39bbce482cf84648", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 46500.0, "surface_area": 12700.0, "principal_moments": [8070000.0, 43000000.0, 50299999.99999999], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 105 \u00d7 44.6 \u00d7 10 mm (W\u00d7D\u00d7H).", "Four \u00d83.2 mm holes at the corners, 73.5 \u00d7 31.22 mm spacing."], "text": "Rectangular body, 105 \u00d7 44.6 \u00d7 10 mm (W\u00d7D\u00d7H). Four \u00d83.2 mm holes at the corners, 73.5 \u00d7 31.22 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 105, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 44.6, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328807 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 105, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 44.6, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462c9ca8_0244", "family": "revolved", "tier": 2, "seed": 1177328808, "symmetry": "radial", "op_count": 2, "ir_hash": "4adf4d627997304c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 6430.0, "surface_area": 3830.0, "principal_moments": [285000.0, 1190000.0, 1190000.0], "n_faces": 8, "n_edges": 14, "n_vertices": 8}, "dimensions": {"lines": ["Revolved body, \u00d816.42 mm \u00d7 44.3 mm tall with \u00d89.2 mm bore.", "Chamfer 0.3 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d816.42 mm \u00d7 44.3 mm tall with \u00d89.2 mm bore. Chamfer 0.3 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 16.42, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 44.3, "min": 13.3, "max": 132.9, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 9.2, "min": 2.0, "max": 11.5, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "end_chamfer": {"type": "float", "default": 0.3, "min": 0.1, "max": 0.9, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328808 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 16.42, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 44.3, \"min\": 13.3, \"max\": 132.9, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 9.2, \"min\": 2.0, \"max\": 11.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.3, \"min\": 0.1, \"max\": 0.9, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462c9ca9_0245", "family": "compound", "tier": 2, "seed": 1177328809, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "446a083762b88013", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 56500.0, "surface_area": 9960.0, "principal_moments": [12199999.999999998, 20600000.0, 20600000.0], "n_faces": 9, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["Lofted body through 3 sections: 50 \u00d7 50 mm rectangular section \u2192 \u00d841.1 mm circular section \u2192 \u00d832.2 mm circular section.", "\u00d824.5 mm circular section attachment, 28.4 mm long, from top face."], "text": "Lofted body through 3 sections: 50 \u00d7 50 mm rectangular section \u2192 \u00d841.1 mm circular section \u2192 \u00d832.2 mm circular section. \u00d824.5 mm circular section attachment, 28.4 mm long, from top face."}, "params": {"adapter_base": {"type": "float", "default": 50, "min": 30.0, "max": 75.0, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "adapter_top": {"type": "float", "default": 32.2, "min": 16.1, "max": 50, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "adapter_h": {"type": "float", "default": 30.0, "min": 12.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Transition height (mm)"}, "adapter_mid": {"type": "float", "default": 41.1, "min": 16.1, "max": 50, "step": 1.0, "group": "Body", "label": "Mid size (mm)"}, "neck_d": {"type": "float", "default": 24.5, "min": 9.8, "max": 32.2, "step": 1.0, "group": "Neck", "label": "Neck diameter (mm)"}, "neck_l": {"type": "float", "default": 28.4, "min": 11.4, "max": 71.0, "step": 1.0, "group": "Neck", "label": "Neck length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328809 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"adapter_base\": {\"type\": 'float', \"default\": 50, \"min\": 30.0, \"max\": 75.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"adapter_top\": {\"type\": 'float', \"default\": 32.2, \"min\": 16.1, \"max\": 50, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"adapter_h\": {\"type\": 'float', \"default\": 30.0, \"min\": 12.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Transition height (mm)'},\n    \"adapter_mid\": {\"type\": 'float', \"default\": 41.1, \"min\": 16.1, \"max\": 50, \"step\": 1.0, \"group\": 'Body', \"label\": 'Mid size (mm)'},\n    \"neck_d\": {\"type\": 'float', \"default\": 24.5, \"min\": 9.8, \"max\": 32.2, \"step\": 1.0, \"group\": 'Neck', \"label\": 'Neck diameter (mm)'},\n    \"neck_l\": {\"type\": 'float', \"default\": 28.4, \"min\": 11.4, \"max\": 71.0, \"step\": 1.0, \"group\": 'Neck', \"label\": 'Neck length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .rect(p[\"adapter_base\"], p[\"adapter_base\"])\n        .workplane(offset=p[\"adapter_h\"] * 0.5)\n        .circle(p[\"adapter_mid\"] / 2)\n        .workplane(offset=p[\"adapter_h\"] * 0.5)\n        .circle(p[\"adapter_top\"] / 2)\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"neck_d\"] / 2).extrude(p[\"neck_l\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462c9caa_0246", "family": "gear", "tier": 2, "seed": 1177328810, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "92d87233da97d117", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 170000.0, "surface_area": 30200.0, "principal_moments": [112000000.0, 112000000.0, 206000000.0], "n_faces": 131, "n_edges": 387, "n_vertices": 258}, "dimensions": {"lines": ["Helical gear, module 6 mm, 16 teeth (pitch \u00d896 mm), face width 25.1 mm, 11\u00b0 helix, \u00d816.9 mm bore."], "text": "Helical gear, module 6 mm, 16 teeth (pitch \u00d896 mm), face width 25.1 mm, 11\u00b0 helix, \u00d816.9 mm bore."}, "params": {"module": {"type": "float", "default": 6.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 16, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 25.1, "min": 10.0, "max": 62.8, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "helix_angle": {"type": "float", "default": 11.0, "min": 5.0, "max": 40.0, "step": 1.0, "group": "Gear", "label": "Helix angle (deg)"}, "profile_shift": {"type": "float", "default": -0.18, "min": -0.5, "max": 0.7, "step": 0.05, "group": "Gear", "label": "Profile shift"}, "root_fillet": {"type": "float", "default": 1.26, "min": 0.0, "max": 3.0, "step": 0.05, "group": "Gear", "label": "Root fillet (mm)"}, "bore_d": {"type": "float", "default": 16.9, "min": 2.0, "max": 48.6, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328810 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 6.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 16, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 25.1, \"min\": 10.0, \"max\": 62.8, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"helix_angle\": {\"type\": 'float', \"default\": 11.0, \"min\": 5.0, \"max\": 40.0, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Helix angle (deg)'},\n    \"profile_shift\": {\"type\": 'float', \"default\": -0.18, \"min\": -0.5, \"max\": 0.7, \"step\": 0.05, \"group\": 'Gear', \"label\": 'Profile shift'},\n    \"root_fillet\": {\"type\": 'float', \"default\": 1.26, \"min\": 0.0, \"max\": 3.0, \"step\": 0.05, \"group\": 'Gear', \"label\": 'Root fillet (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 16.9, \"min\": 2.0, \"max\": 48.6, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.HelicalGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"], helix_angle=math.radians(p[\"helix_angle\"]), herringbone=False, profile_shift=p[\"profile_shift\"], root_fillet=p[\"root_fillet\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462c9cab_0247", "family": "swept", "tier": 1, "seed": 1177328811, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "88c8a3dcfc505f4a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 23400.0, "surface_area": 6350.0, "principal_moments": [1010000.0, 25799999.999999996, 26099999.999999996], "n_faces": 3, "n_edges": 3, "n_vertices": 2}, "dimensions": {"lines": ["\u00d816.3 mm circular section swept along a curved path, ~100.81 mm span."], "text": "\u00d816.3 mm circular section swept along a curved path, ~100.81 mm span."}, "params": {"path_w": {"type": "float", "default": 49.36, "min": 24.7, "max": 88.8, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 100.81, "min": 50.4, "max": 181.5, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_d": {"type": "float", "default": 16.3, "min": 8.2, "max": 29.3, "step": 1.0, "group": "Section", "label": "Section diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328811 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 49.36, \"min\": 24.7, \"max\": 88.8, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 100.81, \"min\": 50.4, \"max\": 181.5, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_d\": {\"type\": 'float', \"default\": 16.3, \"min\": 8.2, \"max\": 29.3, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.1062, p[\"path_h\"] * 0.2499), (p[\"path_w\"] * 0.4826, p[\"path_h\"] * 0.4418), (p[\"path_w\"] * 0.5336, p[\"path_h\"] * 0.5765), (p[\"path_w\"] * 0.9708, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').circle(p[\"sweep_d\"] / 2).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462c9cac_0248", "family": "flanged", "tier": 2, "seed": 1177328812, "symmetry": "radial", "op_count": 2, "ir_hash": "db154cba40675cbb", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 313000.0, "surface_area": 59100.0, "principal_moments": [414000000.0, 436000000.0, 436000000.0], "n_faces": 14, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["Revolved body, \u00d871.42 mm \u00d7 84.8 mm tall with \u00d837.8 mm bore, \u00d8139.1 mm \u00d7 6.4 mm flange.", "Eight \u00d88.4 mm holes on a \u00d883.4 mm bolt circle."], "text": "Revolved body, \u00d871.42 mm \u00d7 84.8 mm tall with \u00d837.8 mm bore, \u00d8139.1 mm \u00d7 6.4 mm flange. Eight \u00d88.4 mm holes on a \u00d883.4 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 71.42, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 84.8, "min": 25.4, "max": 212.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 37.8, "min": 2.0, "max": 50.0, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 139.1, "min": 92.8, "max": 214.3, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 6.4, "min": 1.9, "max": 33.9, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 8.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 41.7, "min": 27.8, "max": 62.6, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 8, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328812 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 71.42, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 84.8, \"min\": 25.4, \"max\": 212.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 37.8, \"min\": 2.0, \"max\": 50.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 139.1, \"min\": 92.8, \"max\": 214.3, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 6.4, \"min\": 1.9, \"max\": 33.9, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 41.7, \"min\": 27.8, \"max\": 62.6, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9cad_0249", "family": "plate", "tier": 2, "seed": 1177328813, "symmetry": "radial", "op_count": 3, "ir_hash": "431668b0ac46dddc", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 10200.0, "surface_area": 3970.0, "principal_moments": [441000.0, 2670000.0, 2940000.0], "n_faces": 28, "n_edges": 78, "n_vertices": 52}, "dimensions": {"lines": ["Rectangular body, 55 \u00d7 20.3 \u00d7 10 mm (W\u00d7D\u00d7H).", "Eight \u00d86.4 mm holes on a \u00d833 mm bolt circle.", "Fillet radius 1.319 mm on vertical edges."], "text": "Rectangular body, 55 \u00d7 20.3 \u00d7 10 mm (W\u00d7D\u00d7H). Eight \u00d86.4 mm holes on a \u00d833 mm bolt circle. Fillet radius 1.319 mm on vertical edges."}, "params": {"plate_w": {"type": "float", "default": 55, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 20.3, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "bolt_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 16.5, "min": 11.0, "max": 24.8, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 8, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328813 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 55, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 20.3, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 16.5, \"min\": 11.0, \"max\": 24.8, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"plate_w\"], p[\"plate_d\"]) * 0.06496822537108674)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462c9cae_0250", "family": "revolved", "tier": 0, "seed": 1177328814, "symmetry": "radial", "op_count": 1, "ir_hash": "64b24a6983459626", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 340000.0, "surface_area": 58200.0, "principal_moments": [154000000.0, 1010000000.0, 1010000000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d854.94 mm \u00d7 214.9 mm tall."], "text": "Revolved body, \u00d854.94 mm \u00d7 214.9 mm tall."}, "params": {"outer_d": {"type": "float", "default": 54.94, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 214.9, "min": 64.5, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328814 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 54.94, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 214.9, \"min\": 64.5, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462c9caf_0251", "family": "tapped", "tier": 2, "seed": 1177328815, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "6fc851b26e63fce3", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 1360.0, "surface_area": 922.0, "principal_moments": [27900.0, 31600.0, 31600.0], "n_faces": 148, "n_edges": 402, "n_vertices": 256}, "dimensions": {"lines": ["One M4x0.7 tapped hole in a cylinder."], "text": "One M4x0.7 tapped hole in a cylinder."}, "params": {"major_d": {"type": "float", "default": 4.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 0.7, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 12.5, "min": 4.8, "max": 22.5, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "body_d": {"type": "float", "default": 12.3, "min": 7.2, "max": 19.7, "step": 1.0, "group": "Body", "label": "Outer \u00d8 (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328815 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 4.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 0.7, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 12.5, \"min\": 4.8, \"max\": 22.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"body_d\": {\"type\": 'float', \"default\": 12.3, \"min\": 7.2, \"max\": 19.7, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer \u00d8 (mm)'},\n}\n\n\ndef build(p):\n\n    _W = _D = p[\"body_d\"]\n    _H = p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Cylinder(radius=_W / 2, height=_H)\n    _locs = [(0.0, 0.0)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462c9cb0_0252", "family": "lofted", "tier": 1, "seed": 1177328816, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "95f340a97edc3984", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 57500.0, "surface_area": 10900.0, "principal_moments": [16399999.999999998, 16399999.999999998, 17000000.0], "n_faces": 9, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["Lofted body through 2 sections: \u00d851.95 mm circular section \u2192 6-sided polygon section, 41.5 mm across corners.", "One \u00d816.2 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 2 sections: \u00d851.95 mm circular section \u2192 6-sided polygon section, 41.5 mm across corners. One \u00d816.2 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 51.95, "min": 26.0, "max": 83.1, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 41.5, "min": 16.6, "max": 62.3, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 41.4, "min": 16.6, "max": 82.8, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_bore_d": {"type": "float", "default": 16.2, "min": 2.0, "max": 33.2, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328816 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 51.95, \"min\": 26.0, \"max\": 83.1, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 41.5, \"min\": 16.6, \"max\": 62.3, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 41.4, \"min\": 16.6, \"max\": 82.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 16.2, \"min\": 2.0, \"max\": 33.2, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .circle(p[\"loft_base\"] / 2)\n        .workplane(offset=p[\"loft_h\"])\n        .polygon(6, p[\"loft_top\"] * 0.5 * 2)\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462c9cb1_0253", "family": "ribbed", "tier": 2, "seed": 1177328817, "symmetry": "none", "op_count": 2, "ir_hash": "296dd85d9894bf6c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 6650.0, "surface_area": 4640.0, "principal_moments": [582000.0, 782000.0, 926000.0], "n_faces": 30, "n_edges": 72, "n_vertices": 44}, "dimensions": {"lines": ["Rectangular body, 30.16 \u00d7 16.3 \u00d7 8 mm (W\u00d7D\u00d7H).", "Three ribs, 2.1 mm thick, 17.9 mm tall."], "text": "Rectangular body, 30.16 \u00d7 16.3 \u00d7 8 mm (W\u00d7D\u00d7H). Three ribs, 2.1 mm thick, 17.9 mm tall."}, "params": {"base_w": {"type": "float", "default": 30.16, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 16.3, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 8.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 3, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 17.9, "min": 7.2, "max": 35.8, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 2.1, "min": 1.0, "max": 5.2, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328817 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 30.16, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 16.3, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 3, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 17.9, \"min\": 7.2, \"max\": 35.8, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 2.1, \"min\": 1.0, \"max\": 5.2, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462c9cb2_0254", "family": "bracket", "tier": 2, "seed": 1177328818, "symmetry": "none", "op_count": 1, "ir_hash": "5b63b992fde62d39", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 26000.0, "surface_area": 9320.0, "principal_moments": [6690000.0, 12599999.999999998, 16499999.999999998], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["C-channel bracket: base leg 55 mm, vertical leg 46.3 mm, 25 mm wide, 8 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg; 10.8 mm corner gusset."], "text": "C-channel bracket: base leg 55 mm, vertical leg 46.3 mm, 25 mm wide, 8 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg; 10.8 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 55, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 46.3, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 25, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 8.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 10.8, "min": 4.0, "max": 12.5, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328818 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 55, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 46.3, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 25, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 10.8, \"min\": 4.0, \"max\": 12.5, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl / 2, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bl - _bt, _bt).lineTo(_bl - _bt - _g, _bt)\n                    .lineTo(_bl - _bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462c9cb3_0255", "family": "compound", "tier": 3, "seed": 1177328819, "symmetry": "mirror_xy", "op_count": 3, "ir_hash": "15dc4873539f1fb5", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 34400.0, "surface_area": 7520.0, "principal_moments": [6880000.0, 8180000.0, 8270000.0], "n_faces": 14, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["5-sided polygon section, 53.26 mm across corners, extruded 13.6 mm thick.", "\u00d822.5 mm circular section attachment, 29 mm long, from top face.", "Fillet radius 1.91 mm on vertical edges."], "text": "5-sided polygon section, 53.26 mm across corners, extruded 13.6 mm thick. \u00d822.5 mm circular section attachment, 29 mm long, from top face. Fillet radius 1.91 mm on vertical edges."}, "params": {"base_sides": {"type": "int", "default": 5, "min": 3, "max": 8, "step": 1, "group": "Base", "label": "Base sides"}, "base_r": {"type": "float", "default": 26.63, "min": 16.0, "max": 42.6, "step": 1.0, "group": "Base", "label": "Base circumradius (mm)"}, "base_h": {"type": "float", "default": 13.6, "min": 5.4, "max": 34.0, "step": 1.0, "group": "Base", "label": "Base height (mm)"}, "col_d": {"type": "float", "default": 22.5, "min": 11.2, "max": 34.5, "step": 1.0, "group": "Column", "label": "Column diameter (mm)"}, "col_h": {"type": "float", "default": 29.0, "min": 8.7, "max": 72.5, "step": 1.0, "group": "Column", "label": "Column height (mm)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328819 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_sides\": {\"type\": 'int', \"default\": 5, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Base', \"label\": 'Base sides'},\n    \"base_r\": {\"type\": 'float', \"default\": 26.63, \"min\": 16.0, \"max\": 42.6, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base circumradius (mm)'},\n    \"base_h\": {\"type\": 'float', \"default\": 13.6, \"min\": 5.4, \"max\": 34.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base height (mm)'},\n    \"col_d\": {\"type\": 'float', \"default\": 22.5, \"min\": 11.2, \"max\": 34.5, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column diameter (mm)'},\n    \"col_h\": {\"type\": 'float', \"default\": 29.0, \"min\": 8.7, \"max\": 72.5, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column height (mm)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').polygon(p[\"base_sides\"], p[\"base_r\"] * 2).extrude(p[\"base_h\"]))\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"col_d\"] / 2).extrude(p[\"col_h\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"base_r\"], p[\"base_r\"]) * 0.07173278360483437)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462c9cb4_0256", "family": "lofted", "tier": 1, "seed": 1177328820, "symmetry": "none", "op_count": 2, "ir_hash": "aea08e90a3d7de36", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 29300.0, "surface_area": 7530.0, "principal_moments": [5530000.0, 5530000.0, 6720000.0], "n_faces": 9, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["Lofted body through 2 sections: \u00d848.47 mm circular section \u2192 6-sided polygon section, 26.7 mm across corners.", "One \u00d815.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 2 sections: \u00d848.47 mm circular section \u2192 6-sided polygon section, 26.7 mm across corners. One \u00d815.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 48.47, "min": 24.2, "max": 77.6, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 26.7, "min": 10.7, "max": 58.2, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 32.7, "min": 13.1, "max": 65.4, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_bore_d": {"type": "float", "default": 15.3, "min": 2.0, "max": 21.4, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328820 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 48.47, \"min\": 24.2, \"max\": 77.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 26.7, \"min\": 10.7, \"max\": 58.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 32.7, \"min\": 13.1, \"max\": 65.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 15.3, \"min\": 2.0, \"max\": 21.4, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .circle(p[\"loft_base\"] / 2)\n        .workplane(offset=p[\"loft_h\"])\n        .polygon(6, p[\"loft_top\"] * 0.5 * 2)\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462c9cb5_0257", "family": "lofted", "tier": 1, "seed": 1177328821, "symmetry": "none", "op_count": 2, "ir_hash": "5e06e5c9a89586da", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 88500.0, "surface_area": 16100.0, "principal_moments": [36100000.0, 36100000.0, 45100000.0], "n_faces": 8, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["Lofted body through 2 sections: 60 \u00d7 60 mm rectangular section \u2192 \u00d842.7 mm circular section.", "One \u00d824.5 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 2 sections: 60 \u00d7 60 mm rectangular section \u2192 \u00d842.7 mm circular section. One \u00d824.5 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 60, "min": 30.0, "max": 96.0, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 42.7, "min": 17.1, "max": 72.0, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 44.8, "min": 17.9, "max": 89.6, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_bore_d": {"type": "float", "default": 24.5, "min": 2.0, "max": 34.2, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328821 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 60, \"min\": 30.0, \"max\": 96.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 42.7, \"min\": 17.1, \"max\": 72.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 44.8, \"min\": 17.9, \"max\": 89.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 24.5, \"min\": 2.0, \"max\": 34.2, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .rect(p[\"loft_base\"], p[\"loft_base\"])\n        .workplane(offset=p[\"loft_h\"])\n        .circle(p[\"loft_top\"] / 2)\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462c9cb6_0258", "family": "swept", "tier": 1, "seed": 1177328822, "symmetry": "none", "op_count": 1, "ir_hash": "a89e070c2779ac31", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 28700.0, "surface_area": 7390.0, "principal_moments": [3110000.0, 18400000.0, 20500000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["19.6 \u00d7 15 mm rectangular section swept along a curved path, ~80 mm span."], "text": "19.6 \u00d7 15 mm rectangular section swept along a curved path, ~80 mm span."}, "params": {"path_w": {"type": "float", "default": 60, "min": 30.0, "max": 108.0, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 80, "min": 40.0, "max": 144.0, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_a": {"type": "float", "default": 19.6, "min": 9.8, "max": 35.3, "step": 1.0, "group": "Section", "label": "Section width (mm)"}, "sweep_b": {"type": "float", "default": 15.0, "min": 7.5, "max": 27.0, "step": 1.0, "group": "Section", "label": "Section depth (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328822 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 60, \"min\": 30.0, \"max\": 108.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 80, \"min\": 40.0, \"max\": 144.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_a\": {\"type\": 'float', \"default\": 19.6, \"min\": 9.8, \"max\": 35.3, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section width (mm)'},\n    \"sweep_b\": {\"type\": 'float', \"default\": 15.0, \"min\": 7.5, \"max\": 27.0, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section depth (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.2319), (p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.6796), (p[\"path_w\"] * 0.4354, p[\"path_h\"] * 0.8779), (p[\"path_w\"] * 0.5743, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').rect(p[\"sweep_a\"], p[\"sweep_b\"]).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462c9cb7_0259", "family": "sketched", "tier": 1, "seed": 1177328823, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "5b9300d381fc9ad7", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 11500.0, "surface_area": 4980.0, "principal_moments": [865000.0, 3920000.0, 4720000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["freeform sketched section (7 segments: 4 straight, 3 curves), ~74.025 \u00d7 36.69 mm, extruded 6 mm thick.", "One \u00d84.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "freeform sketched section (7 segments: 4 straight, 3 curves), ~74.025 \u00d7 36.69 mm, extruded 6 mm thick. One \u00d84.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"sk_w": {"type": "float", "default": 90.0, "min": 45.0, "max": 162.0, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 45.38, "min": 22.7, "max": 81.7, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "sk_t": {"type": "float", "default": 6.0, "min": 2.4, "max": 13.2, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "sk_hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 8.6, "step": 0.5, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328823 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 90.0, \"min\": 45.0, \"max\": 162.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 45.38, \"min\": 22.7, \"max\": 81.7, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"sk_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.4, \"max\": 13.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"sk_hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 8.6, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.4122, p[\"sk_h\"] * -0.0999).bezier([(p[\"sk_w\"] * 0.4122, p[\"sk_h\"] * -0.0999), (p[\"sk_w\"] * 0.3861, p[\"sk_h\"] * 0.0635), (p[\"sk_w\"] * 0.3217, p[\"sk_h\"] * 0.2159)]).lineTo(p[\"sk_w\"] * -0.0626, p[\"sk_h\"] * 0.4037).bezier([(p[\"sk_w\"] * -0.0626, p[\"sk_h\"] * 0.4037), (p[\"sk_w\"] * -0.2331, p[\"sk_h\"] * 0.3379), (p[\"sk_w\"] * -0.3762, p[\"sk_h\"] * 0.2242)]).lineTo(p[\"sk_w\"] * -0.4103, p[\"sk_h\"] * -0.1518).bezier([(p[\"sk_w\"] * -0.4103, p[\"sk_h\"] * -0.1518), (p[\"sk_w\"] * -0.2919, p[\"sk_h\"] * -0.3035), (p[\"sk_w\"] * -0.1283, p[\"sk_h\"] * -0.4048)]).lineTo(p[\"sk_w\"] * 0.2966, p[\"sk_h\"] * -0.2543).lineTo(p[\"sk_w\"] * 0.4122, p[\"sk_h\"] * -0.0999).close().extrude(p[\"sk_t\"]))\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"sk_hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462c9cb8_0260", "family": "bracket", "tier": 1, "seed": 1177328824, "symmetry": "none", "op_count": 1, "ir_hash": "9a8cea67c833a13b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 46000.0, "surface_area": 14400.0, "principal_moments": [16399999.999999998, 32799999.999999996, 35700000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["L-bracket: base leg 60 mm, vertical leg 64 mm, 50 mm wide, 8 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."], "text": "L-bracket: base leg 60 mm, vertical leg 64 mm, 50 mm wide, 8 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 60, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 64.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 50, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 8.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328824 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 60, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 64.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 50, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462c9cb9_0261", "family": "revolved", "tier": 2, "seed": 1177328825, "symmetry": "radial", "op_count": 1, "ir_hash": "a5a37d476bd8f304", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 182000.0, "surface_area": 36500.0, "principal_moments": [60699999.99999999, 292000000.0, 292000000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d847.19 mm \u00d7 155.8 mm tall."], "text": "Revolved body, \u00d847.19 mm \u00d7 155.8 mm tall."}, "params": {"outer_d": {"type": "float", "default": 47.19, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 155.8, "min": 46.7, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328825 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 47.19, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 155.8, \"min\": 46.7, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462c9cba_0262", "family": "bracket", "tier": 2, "seed": 1177328826, "symmetry": "none", "op_count": 1, "ir_hash": "f9e4735ce02fcbbe", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 34200.0, "surface_area": 13800.0, "principal_moments": [11100000.0, 37000000.0, 43600000.0], "n_faces": 15, "n_edges": 49, "n_vertices": 30}, "dimensions": {"lines": ["L-bracket: base leg 81.74 mm, vertical leg 90 mm, 30 mm wide, 6 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg; 6.2 mm corner gusset."], "text": "L-bracket: base leg 81.74 mm, vertical leg 90 mm, 30 mm wide, 6 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg; 6.2 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 81.74, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 90.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 30, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 6.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 6.2, "min": 3.0, "max": 15.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328826 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 81.74, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 90.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 30, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 6.2, \"min\": 3.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462c9cbb_0263", "family": "threaded", "tier": 3, "seed": 1177328827, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "ff4ef533fb98d585", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 10500.0, "surface_area": 4870.0, "principal_moments": [289000.0, 3370000.0, 3370000.0], "n_faces": 542, "n_edges": 1492, "n_vertices": 952}, "dimensions": {"lines": ["M16x2 external thread, 61 mm long."], "text": "M16x2 external thread, 61 mm long."}, "params": {"major_d": {"type": "float", "default": 16.0, "min": 4.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Major diameter (mm)"}, "pitch": {"type": "float", "default": 2.0, "min": 1.0, "max": 4.0, "step": 0.05, "group": "Thread", "label": "Pitch (mm)"}, "thread_len": {"type": "float", "default": 61.0, "min": 24.4, "max": 122.0, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328827 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 16.0, \"min\": 4.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Major diameter (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 2.0, \"min\": 1.0, \"max\": 4.0, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Pitch (mm)'},\n    \"thread_len\": {\"type\": 'float', \"default\": 61.0, \"min\": 24.4, \"max\": 122.0, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.IsoThread(major_diameter=p[\"major_d\"], pitch=p[\"pitch\"], length=p[\"thread_len\"], external=True, end_finishes=(\"fade\", \"fade\"))\n    _r = _thr.min_radius if hasattr(_thr, 'min_radius') else _thr.root_radius\n    _shank = _bd.Cylinder(radius=_r, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = _shank + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462c9cbc_0264", "family": "compound", "tier": 3, "seed": 1177328828, "symmetry": "mirror_x", "op_count": 4, "ir_hash": "03daaaa2fc4d7d62", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 141000.0, "surface_area": 18800.0, "principal_moments": [26599999.999999996, 227000000.0, 227000000.0], "n_faces": 13, "n_edges": 26, "n_vertices": 17}, "dimensions": {"lines": ["\u00d842.12 mm circular section, extruded 80 mm thick.", "\u00d822.8 mm circular section attachment, 66.5 mm long, from top face.", "6-sided polygon section, 17.2 mm across corners attachment, 14.4 mm long, from top face.", "Chamfer 0.8 mm on bottom edges."], "text": "\u00d842.12 mm circular section, extruded 80 mm thick. \u00d822.8 mm circular section attachment, 66.5 mm long, from top face. 6-sided polygon section, 17.2 mm across corners attachment, 14.4 mm long, from top face. Chamfer 0.8 mm on bottom edges."}, "params": {"shaft_d": {"type": "float", "default": 42.12, "min": 21.1, "max": 75.8, "step": 1.0, "group": "Body", "label": "Shaft diameter (mm)"}, "shaft_len": {"type": "float", "default": 80.0, "min": 32.0, "max": 160.0, "step": 1.0, "group": "Body", "label": "Shaft length (mm)"}, "step_d": {"type": "float", "default": 22.8, "min": 11.4, "max": 37.9, "step": 1.0, "group": "Step", "label": "Step diameter (mm)"}, "step_len": {"type": "float", "default": 66.5, "min": 19.9, "max": 166.2, "step": 1.0, "group": "Step", "label": "Step length (mm)"}, "head_sides": {"type": "int", "default": 6, "min": 3, "max": 8, "step": 1, "group": "Head", "label": "Drive head sides"}, "head_r": {"type": "float", "default": 8.6, "min": 5.2, "max": 10.9, "step": 1.0, "group": "Head", "label": "Drive head circumradius (mm)"}, "head_len": {"type": "float", "default": 14.4, "min": 4.3, "max": 28.8, "step": 1.0, "group": "Head", "label": "Drive head length (mm)"}, "chamfer_d": {"type": "float", "default": 0.8, "min": 0.5, "max": 3.0, "step": 0.5, "group": "Body", "label": "Chamfer distance (mm)"}, "chamfered": {"type": "bool", "default": true, "group": "Body", "label": "Chamfer edges"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328828 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"shaft_d\": {\"type\": 'float', \"default\": 42.12, \"min\": 21.1, \"max\": 75.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft diameter (mm)'},\n    \"shaft_len\": {\"type\": 'float', \"default\": 80.0, \"min\": 32.0, \"max\": 160.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft length (mm)'},\n    \"step_d\": {\"type\": 'float', \"default\": 22.8, \"min\": 11.4, \"max\": 37.9, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step diameter (mm)'},\n    \"step_len\": {\"type\": 'float', \"default\": 66.5, \"min\": 19.9, \"max\": 166.2, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step length (mm)'},\n    \"head_sides\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Head', \"label\": 'Drive head sides'},\n    \"head_r\": {\"type\": 'float', \"default\": 8.6, \"min\": 5.2, \"max\": 10.9, \"step\": 1.0, \"group\": 'Head', \"label\": 'Drive head circumradius (mm)'},\n    \"head_len\": {\"type\": 'float', \"default\": 14.4, \"min\": 4.3, \"max\": 28.8, \"step\": 1.0, \"group\": 'Head', \"label\": 'Drive head length (mm)'},\n    \"chamfer_d\": {\"type\": 'float', \"default\": 0.8, \"min\": 0.5, \"max\": 3.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Chamfer distance (mm)'},\n    \"chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Chamfer edges'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').circle(p[\"shaft_d\"] / 2).extrude(p[\"shaft_len\"]))\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"step_d\"] / 2).extrude(p[\"step_len\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"head_sides\"], p[\"head_r\"] * 2).extrude(p[\"head_len\"])\n    )\n    if p[\"chamfered\"]:\n        result = result.edges('<Z').chamfer(p[\"chamfer_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462c9cbd_0265", "family": "swept", "tier": 1, "seed": 1177328829, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "eab830e6796ca68b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 18700.0, "surface_area": 4740.0, "principal_moments": [909000.0, 8690000.0, 8870000.0], "n_faces": 3, "n_edges": 3, "n_vertices": 2}, "dimensions": {"lines": ["\u00d817.6 mm circular section swept along a curved path, ~70 mm span."], "text": "\u00d817.6 mm circular section swept along a curved path, ~70 mm span."}, "params": {"path_w": {"type": "float", "default": 70, "min": 35.0, "max": 126.0, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 55, "min": 27.5, "max": 99.0, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_d": {"type": "float", "default": 17.6, "min": 8.8, "max": 31.7, "step": 1.0, "group": "Section", "label": "Section diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328829 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 70, \"min\": 35.0, \"max\": 126.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 55, \"min\": 27.5, \"max\": 99.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_d\": {\"type\": 'float', \"default\": 17.6, \"min\": 8.8, \"max\": 31.7, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.0773, p[\"path_h\"] * 0.2395), (p[\"path_w\"] * 0.4028, p[\"path_h\"] * 0.4567), (p[\"path_w\"] * 0.5959, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').circle(p[\"sweep_d\"] / 2).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462c9cbe_0266", "family": "ribbed", "tier": 2, "seed": 1177328830, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "0b4f8e79e5f4ad7a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 10800.0, "surface_area": 6200.0, "principal_moments": [1470000.0, 3370000.0, 4220000.0], "n_faces": 22, "n_edges": 52, "n_vertices": 32}, "dimensions": {"lines": ["Rectangular body, 47.07 \u00d7 33.3 \u00d7 3 mm (W\u00d7D\u00d7H).", "Two ribs, 5.7 mm thick, 14.3 mm tall."], "text": "Rectangular body, 47.07 \u00d7 33.3 \u00d7 3 mm (W\u00d7D\u00d7H). Two ribs, 5.7 mm thick, 14.3 mm tall."}, "params": {"base_w": {"type": "float", "default": 47.07, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 33.3, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 3.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 2, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 14.3, "min": 5.7, "max": 28.6, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 5.7, "min": 1.0, "max": 14.2, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328830 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 47.07, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 33.3, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 2, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 14.3, \"min\": 5.7, \"max\": 28.6, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 5.7, \"min\": 1.0, \"max\": 14.2, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462c9cbf_0267", "family": "flanged", "tier": 2, "seed": 1177328831, "symmetry": "radial", "op_count": 2, "ir_hash": "b8990d1bacd33158", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 34000.0, "surface_area": 14200.0, "principal_moments": [9100000.0, 12599999.999999998, 12599999.999999998], "n_faces": 29, "n_edges": 114, "n_vertices": 76}, "dimensions": {"lines": ["Revolved body, \u00d833.16 mm \u00d7 48.6 mm tall with \u00d815.5 mm bore, \u00d862.1 mm \u00d7 4.5 mm flange.", "Twelve \u00d88.4 mm holes on a \u00d837.2 mm bolt circle."], "text": "Revolved body, \u00d833.16 mm \u00d7 48.6 mm tall with \u00d815.5 mm bore, \u00d862.1 mm \u00d7 4.5 mm flange. Twelve \u00d88.4 mm holes on a \u00d837.2 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 33.16, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 48.6, "min": 14.6, "max": 121.5, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 15.5, "min": 2.0, "max": 23.2, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 62.1, "min": 43.1, "max": 99.5, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 4.5, "min": 1.3, "max": 19.4, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 8.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 18.6, "min": 12.4, "max": 27.9, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 12, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328831 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 33.16, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 48.6, \"min\": 14.6, \"max\": 121.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 15.5, \"min\": 2.0, \"max\": 23.2, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 62.1, \"min\": 43.1, \"max\": 99.5, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 4.5, \"min\": 1.3, \"max\": 19.4, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 18.6, \"min\": 12.4, \"max\": 27.9, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 12, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462c9cc0_0268", "family": "lofted", "tier": 0, "seed": 1177328832, "symmetry": "none", "op_count": 1, "ir_hash": "3120446f47516801", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 13100.0, "surface_area": 3170.0, "principal_moments": [1010000.0, 1360000.0, 1360000.0], "n_faces": 8, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["Lofted body through 2 sections: 6-sided polygon section, 31.4 mm across corners \u2192 \u00d819.7 mm circular section."], "text": "Lofted body through 2 sections: 6-sided polygon section, 31.4 mm across corners \u2192 \u00d819.7 mm circular section."}, "params": {"loft_base": {"type": "float", "default": 31.4, "min": 15.7, "max": 50.2, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 19.7, "min": 7.9, "max": 37.7, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 28.4, "min": 11.4, "max": 56.8, "step": 1.0, "group": "Body", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328832 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 31.4, \"min\": 15.7, \"max\": 50.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 19.7, \"min\": 7.9, \"max\": 37.7, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 28.4, \"min\": 11.4, \"max\": 56.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .polygon(6, p[\"loft_base\"] * 0.5 * 2)\n        .workplane(offset=p[\"loft_h\"])\n        .circle(p[\"loft_top\"] / 2)\n        .loft(combine=True)\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462c9cc1_0269", "family": "swept", "tier": 1, "seed": 1177328833, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "d864f93e8083ce44", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 10600.0, "surface_area": 4160.0, "principal_moments": [557000.0, 4030000.0, 4260000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["18.7 \u00d7 13.5 mm rectangular section swept along a curved path, ~65 mm span."], "text": "18.7 \u00d7 13.5 mm rectangular section swept along a curved path, ~65 mm span."}, "params": {"path_w": {"type": "float", "default": 57.23, "min": 28.6, "max": 103.0, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 65, "min": 32.5, "max": 117.0, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_a": {"type": "float", "default": 18.7, "min": 9.3, "max": 33.7, "step": 1.0, "group": "Section", "label": "Section width (mm)"}, "sweep_b": {"type": "float", "default": 13.5, "min": 6.8, "max": 24.3, "step": 1.0, "group": "Section", "label": "Section depth (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328833 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 57.23, \"min\": 28.6, \"max\": 103.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 65, \"min\": 32.5, \"max\": 117.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_a\": {\"type\": 'float', \"default\": 18.7, \"min\": 9.3, \"max\": 33.7, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section width (mm)'},\n    \"sweep_b\": {\"type\": 'float', \"default\": 13.5, \"min\": 6.8, \"max\": 24.3, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section depth (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.2166, p[\"path_h\"] * 0.4728), (p[\"path_w\"] * 0.0239, p[\"path_h\"] * 0.7852), (p[\"path_w\"] * 0.0, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').rect(p[\"sweep_a\"], p[\"sweep_b\"]).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462c9cc2_0270", "family": "flanged", "tier": 1, "seed": 1177328834, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "b6060f6c2b4de8f8", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 76600.0, "surface_area": 23100.0, "principal_moments": [39100000.0, 39100000.0, 60699999.99999999], "n_faces": 18, "n_edges": 45, "n_vertices": 30}, "dimensions": {"lines": ["Revolved body, \u00d842.69 mm \u00d7 35.3 mm tall with \u00d816.5 mm bore, \u00d899.1 mm \u00d7 5.5 mm flange.", "Twelve \u00d84.3 mm holes on a \u00d859.4 mm bolt circle."], "text": "Revolved body, \u00d842.69 mm \u00d7 35.3 mm tall with \u00d816.5 mm bore, \u00d899.1 mm \u00d7 5.5 mm flange. Twelve \u00d84.3 mm holes on a \u00d859.4 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 42.69, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 35.3, "min": 10.6, "max": 88.2, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 16.5, "min": 2.0, "max": 29.9, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 99.1, "min": 55.5, "max": 128.1, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 5.5, "min": 1.6, "max": 14.1, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 29.7, "min": 19.8, "max": 44.6, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 12, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328834 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 42.69, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 35.3, \"min\": 10.6, \"max\": 88.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 16.5, \"min\": 2.0, \"max\": 29.9, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 99.1, \"min\": 55.5, \"max\": 128.1, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 5.5, \"min\": 1.6, \"max\": 14.1, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 29.7, \"min\": 19.8, \"max\": 44.6, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 12, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462c9cc3_0271", "family": "revolved", "tier": 0, "seed": 1177328835, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "e2751c5e279f9d96", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 101000.0, "surface_area": 25200.0, "principal_moments": [22100000.0, 118000000.0, 118000000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d838.11 mm \u00d7 133.3 mm tall."], "text": "Revolved body, \u00d838.11 mm \u00d7 133.3 mm tall."}, "params": {"outer_d": {"type": "float", "default": 38.11, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 133.3, "min": 40.0, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328835 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 38.11, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 133.3, \"min\": 40.0, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462c9cc4_0272", "family": "bracket", "tier": 1, "seed": 1177328836, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "edb0e58cbb496794", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 16000.0, "surface_area": 11800.0, "principal_moments": [5760000.0, 7100000.0, 7420000.0], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["C-channel bracket: base leg 40 mm, vertical leg 42.7 mm, 45 mm wide, 3 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."], "text": "C-channel bracket: base leg 40 mm, vertical leg 42.7 mm, 45 mm wide, 3 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 40, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 42.7, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 45, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 3.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328836 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 40, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 42.7, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 45, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462c9cc5_0273", "family": "gear", "tier": 1, "seed": 1177328837, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "7854a6421d4e06e7", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 8660.0, "surface_area": 3910.0, "principal_moments": [670000.0, 670000.0, 1160000.0], "n_faces": 99, "n_edges": 291, "n_vertices": 194}, "dimensions": {"lines": ["Spur gear, module 2 mm, 16 teeth (pitch \u00d832 mm), face width 11.2 mm, \u00d84 mm bore."], "text": "Spur gear, module 2 mm, 16 teeth (pitch \u00d832 mm), face width 11.2 mm, \u00d84 mm bore."}, "params": {"module": {"type": "float", "default": 2.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 16, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 11.2, "min": 4.5, "max": 28.0, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "bore_d": {"type": "float", "default": 4.0, "min": 2.0, "max": 16.2, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328837 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 2.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 16, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 11.2, \"min\": 4.5, \"max\": 28.0, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 4.0, \"min\": 2.0, \"max\": 16.2, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462c9cc6_0274", "family": "bracket", "tier": 1, "seed": 1177328838, "symmetry": "none", "op_count": 1, "ir_hash": "310add27ad6f62f3", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 52700.0, "surface_area": 23800.0, "principal_moments": [22300000.0, 94499999.99999999, 97999999.99999999], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Z-bracket: base leg 70 mm, vertical leg 69.2 mm, top leg 67.4 mm, 53.98 mm wide, 5 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."], "text": "Z-bracket: base leg 70 mm, vertical leg 69.2 mm, top leg 67.4 mm, 53.98 mm wide, 5 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 70, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 69.2, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 53.98, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 5.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 67.4, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328838 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 70, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 69.2, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 53.98, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 67.4, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462c9cc7_0275", "family": "profiled", "tier": 0, "seed": 1177328839, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "14a124fa40f9aa39", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 169000.0, "surface_area": 44700.0, "principal_moments": [63699999.99999999, 486000000.0, 486000000.0], "n_faces": 4, "n_edges": 6, "n_vertices": 4}, "dimensions": {"lines": ["Revolved body, \u00d845.89 mm \u00d7 179.5 mm tall with \u00d830.1 mm bore."], "text": "Revolved body, \u00d845.89 mm \u00d7 179.5 mm tall with \u00d830.1 mm bore."}, "params": {"outer_d": {"type": "float", "default": 45.89, "min": 22.9, "max": 91.8, "step": 1.0, "group": "Profile", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 179.5, "min": 53.9, "max": 538.5, "step": 5.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 30.1, "min": 2.0, "max": 36.7, "step": 0.5, "group": "Profile", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328839 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 45.89, \"min\": 22.9, \"max\": 91.8, \"step\": 1.0, \"group\": 'Profile', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 179.5, \"min\": 53.9, \"max\": 538.5, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 30.1, \"min\": 2.0, \"max\": 36.7, \"step\": 0.5, \"group\": 'Profile', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462c9cc8_0276", "family": "bracket", "tier": 1, "seed": 1177328840, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "17d7954710cdd319", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 12100.0, "surface_area": 9670.0, "principal_moments": [3450000.0, 29799999.999999996, 32599999.999999996], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Z-bracket: base leg 80 mm, vertical leg 80.3 mm, top leg 87.4 mm, 16.75 mm wide, 3 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."], "text": "Z-bracket: base leg 80 mm, vertical leg 80.3 mm, top leg 87.4 mm, 16.75 mm wide, 3 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 80, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 80.3, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 16.75, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 3.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 87.4, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 6.7, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328840 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 80, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 80.3, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 16.75, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 87.4, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 6.7, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462c9cc9_0277", "family": "flanged", "tier": 1, "seed": 1177328841, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "b2c08c86e7adf940", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 656000.0, "surface_area": 78100.0, "principal_moments": [1170000000.0, 1340000000.0, 1340000000.0], "n_faces": 10, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["Revolved body, \u00d880 mm \u00d7 108.1 mm tall with \u00d831.2 mm bore, \u00d8154.7 mm \u00d7 14.3 mm flange.", "Four \u00d86.4 mm holes on a \u00d892.8 mm bolt circle."], "text": "Revolved body, \u00d880 mm \u00d7 108.1 mm tall with \u00d831.2 mm bore, \u00d8154.7 mm \u00d7 14.3 mm flange. Four \u00d86.4 mm holes on a \u00d892.8 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 80, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 108.1, "min": 32.4, "max": 270.2, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 31.2, "min": 2.0, "max": 56.0, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 154.7, "min": 104.0, "max": 240.0, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 14.3, "min": 4.3, "max": 43.2, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 46.4, "min": 30.9, "max": 69.6, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 4, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328841 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 80, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 108.1, \"min\": 32.4, \"max\": 270.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 31.2, \"min\": 2.0, \"max\": 56.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 154.7, \"min\": 104.0, \"max\": 240.0, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 14.3, \"min\": 4.3, \"max\": 43.2, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 46.4, \"min\": 30.9, \"max\": 69.6, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 4, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462c9cca_0278", "family": "swept", "tier": 0, "seed": 1177328842, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "f5034a22f1c75f47", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 13500.0, "surface_area": 5050.0, "principal_moments": [3080000.0, 5550000.0, 8310000.0], "n_faces": 3, "n_edges": 3, "n_vertices": 2}, "dimensions": {"lines": ["\u00d813.8 mm circular section swept along a curved path, ~68.19 mm span."], "text": "\u00d813.8 mm circular section swept along a curved path, ~68.19 mm span."}, "params": {"path_w": {"type": "float", "default": 56.16, "min": 28.1, "max": 101.1, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 68.19, "min": 34.1, "max": 122.7, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_d": {"type": "float", "default": 13.8, "min": 6.9, "max": 24.8, "step": 1.0, "group": "Section", "label": "Section diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328842 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 56.16, \"min\": 28.1, \"max\": 101.1, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 68.19, \"min\": 34.1, \"max\": 122.7, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_d\": {\"type\": 'float', \"default\": 13.8, \"min\": 6.9, \"max\": 24.8, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.0406, p[\"path_h\"] * 0.7845), (p[\"path_w\"] * 0.2916, p[\"path_h\"] * 0.8226), (p[\"path_w\"] * 0.2627, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').circle(p[\"sweep_d\"] / 2).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462c9ccb_0279", "family": "compound", "tier": 1, "seed": 1177328843, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "047b908a987ad96b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 67700.0, "surface_area": 26500.0, "principal_moments": [58399999.99999999, 62999999.99999999, 87900000.0], "n_faces": 18, "n_edges": 45, "n_vertices": 30}, "dimensions": {"lines": ["Rectangular body, 95 \u00d7 100.1 \u00d7 6 mm (W\u00d7D\u00d7H).", "6-sided polygon section, 18.6 mm across corners attachment, 64.3 mm long, from top face with a \u00d86.7 mm bore.", "Four \u00d88.4 mm holes at the corners, 66.5 \u00d7 70.07 mm spacing."], "text": "Rectangular body, 95 \u00d7 100.1 \u00d7 6 mm (W\u00d7D\u00d7H). 6-sided polygon section, 18.6 mm across corners attachment, 64.3 mm long, from top face with a \u00d86.7 mm bore. Four \u00d88.4 mm holes at the corners, 66.5 \u00d7 70.07 mm spacing."}, "params": {"base_w": {"type": "float", "default": 95, "min": 30.0, "max": 160.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 100.1, "min": 25.0, "max": 160.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_h": {"type": "float", "default": 6.0, "min": 3.0, "max": 30.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "col_sides": {"type": "int", "default": 6, "min": 3, "max": 8, "step": 1, "group": "Column", "label": "Column sides"}, "col_r": {"type": "float", "default": 9.3, "min": 4.7, "max": 23.8, "step": 1.0, "group": "Column", "label": "Column circumradius (mm)"}, "col_h": {"type": "float", "default": 64.3, "min": 19.3, "max": 192.9, "step": 1.0, "group": "Column", "label": "Column height (mm)"}, "col_bore": {"type": "float", "default": 6.7, "min": 2.0, "max": 11.6, "step": 0.5, "group": "Column", "label": "Column bore diameter (mm)"}, "hole_d": {"type": "float", "default": 8.4, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328843 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 95, \"min\": 30.0, \"max\": 160.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 100.1, \"min\": 25.0, \"max\": 160.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_h\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 30.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"col_sides\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Column', \"label\": 'Column sides'},\n    \"col_r\": {\"type\": 'float', \"default\": 9.3, \"min\": 4.7, \"max\": 23.8, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column circumradius (mm)'},\n    \"col_h\": {\"type\": 'float', \"default\": 64.3, \"min\": 19.3, \"max\": 192.9, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column height (mm)'},\n    \"col_bore\": {\"type\": 'float', \"default\": 6.7, \"min\": 2.0, \"max\": 11.6, \"step\": 0.5, \"group\": 'Column', \"label\": 'Column bore diameter (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_h\"])\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"col_sides\"], p[\"col_r\"] * 2).extrude(p[\"col_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"col_bore\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"base_w\"] * 0.7, p[\"base_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462c9ccc_0280", "family": "bracket", "tier": 3, "seed": 1177328844, "symmetry": "none", "op_count": 1, "ir_hash": "4c4b249e8b321a61", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 13600.0, "surface_area": 7430.0, "principal_moments": [3110000.0, 6850000.0, 9050000.0], "n_faces": 26, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["C-channel bracket: base leg 55 mm, vertical leg 45 mm, 20 mm wide, 5 mm thick; 2 \u00d7 \u00d84.3 mm holes per leg; 5.7 mm corner gusset."], "text": "C-channel bracket: base leg 55 mm, vertical leg 45 mm, 20 mm wide, 5 mm thick; 2 \u00d7 \u00d84.3 mm holes per leg; 5.7 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 55, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 45.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 20, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 5.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 8.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 2, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 5.7, "min": 2.5, "max": 10.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328844 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 55, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 45.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 20, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 8.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 2, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 5.7, \"min\": 2.5, \"max\": 10.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl / 2, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bl - _bt, _bt).lineTo(_bl - _bt - _g, _bt)\n                    .lineTo(_bl - _bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462c9ccd_0281", "family": "ribbed", "tier": 1, "seed": 1177328845, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "cce25cdfcb02c20a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 10800.0, "surface_area": 5840.0, "principal_moments": [1440000.0, 2450000.0, 3140000.0], "n_faces": 16, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 40 \u00d7 36.2 \u00d7 4 mm (W\u00d7D\u00d7H).", "Two ribs, 5 mm thick, 15.8 mm tall."], "text": "Rectangular body, 40 \u00d7 36.2 \u00d7 4 mm (W\u00d7D\u00d7H). Two ribs, 5 mm thick, 15.8 mm tall."}, "params": {"base_w": {"type": "float", "default": 40, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 36.2, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 4.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 2, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 15.8, "min": 6.3, "max": 31.6, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 5.0, "min": 1.0, "max": 12.5, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328845 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 40, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 36.2, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 2, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 15.8, \"min\": 6.3, \"max\": 31.6, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 1.0, \"max\": 12.5, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462c9cce_0282", "family": "flanged", "tier": 2, "seed": 1177328846, "symmetry": "radial", "op_count": 3, "ir_hash": "c625ccba2dcdc75c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 131000.0, "surface_area": 36800.0, "principal_moments": [115000000.0, 115000000.0, 204000000.0], "n_faces": 22, "n_edges": 47, "n_vertices": 28}, "dimensions": {"lines": ["Revolved body, \u00d855.37 mm \u00d7 34.6 mm tall with \u00d827.1 mm bore, \u00d8132.4 mm \u00d7 6 mm flange.", "Six \u00d85.3 mm holes on a \u00d879.4 mm bolt circle.", "Chamfer 0.6 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d855.37 mm \u00d7 34.6 mm tall with \u00d827.1 mm bore, \u00d8132.4 mm \u00d7 6 mm flange. Six \u00d85.3 mm holes on a \u00d879.4 mm bolt circle. Chamfer 0.6 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 55.37, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 34.6, "min": 10.4, "max": 86.5, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 27.1, "min": 2.0, "max": 38.8, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 132.4, "min": 72.0, "max": 166.1, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 6.0, "min": 1.8, "max": 13.8, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 39.7, "min": 26.5, "max": 59.6, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 6, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}, "end_chamfer": {"type": "float", "default": 0.6, "min": 0.1, "max": 2.0, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328846 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 55.37, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 34.6, \"min\": 10.4, \"max\": 86.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 27.1, \"min\": 2.0, \"max\": 38.8, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 132.4, \"min\": 72.0, \"max\": 166.1, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 6.0, \"min\": 1.8, \"max\": 13.8, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 39.7, \"min\": 26.5, \"max\": 59.6, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.6, \"min\": 0.1, \"max\": 2.0, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462c9ccf_0283", "family": "compound", "tier": 2, "seed": 1177328847, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "3120cac2b8765f3e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 1570.0, "surface_area": 1290.0, "principal_moments": [48800.0, 57500.0, 58300.0], "n_faces": 10, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["5-sided polygon section, 20 mm across corners, extruded 4.7 mm thick.", "\u00d88.9 mm circular section attachment, 11.9 mm long, from top face with a \u00d84.7 mm bore."], "text": "5-sided polygon section, 20 mm across corners, extruded 4.7 mm thick. \u00d88.9 mm circular section attachment, 11.9 mm long, from top face with a \u00d84.7 mm bore."}, "params": {"base_sides": {"type": "int", "default": 5, "min": 3, "max": 8, "step": 1, "group": "Base", "label": "Base sides"}, "base_r": {"type": "float", "default": 10.0, "min": 6.0, "max": 16.0, "step": 1.0, "group": "Base", "label": "Base circumradius (mm)"}, "base_h": {"type": "float", "default": 4.7, "min": 1.9, "max": 11.8, "step": 1.0, "group": "Base", "label": "Base height (mm)"}, "col_d": {"type": "float", "default": 8.9, "min": 4.5, "max": 12.9, "step": 1.0, "group": "Column", "label": "Column diameter (mm)"}, "col_h": {"type": "float", "default": 11.9, "min": 3.6, "max": 29.8, "step": 1.0, "group": "Column", "label": "Column height (mm)"}, "col_bore": {"type": "float", "default": 4.7, "min": 2.0, "max": 6.4, "step": 0.5, "group": "Column", "label": "Column bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328847 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_sides\": {\"type\": 'int', \"default\": 5, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Base', \"label\": 'Base sides'},\n    \"base_r\": {\"type\": 'float', \"default\": 10.0, \"min\": 6.0, \"max\": 16.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base circumradius (mm)'},\n    \"base_h\": {\"type\": 'float', \"default\": 4.7, \"min\": 1.9, \"max\": 11.8, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base height (mm)'},\n    \"col_d\": {\"type\": 'float', \"default\": 8.9, \"min\": 4.5, \"max\": 12.9, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column diameter (mm)'},\n    \"col_h\": {\"type\": 'float', \"default\": 11.9, \"min\": 3.6, \"max\": 29.8, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column height (mm)'},\n    \"col_bore\": {\"type\": 'float', \"default\": 4.7, \"min\": 2.0, \"max\": 6.4, \"step\": 0.5, \"group\": 'Column', \"label\": 'Column bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').polygon(p[\"base_sides\"], p[\"base_r\"] * 2).extrude(p[\"base_h\"]))\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"col_d\"] / 2).extrude(p[\"col_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"col_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462c9cd0_0284", "family": "bracket", "tier": 1, "seed": 1177328848, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "95f70a880b9e17c2", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 30500.0, "surface_area": 14700.0, "principal_moments": [6080000.0, 63799999.99999999, 65399999.99999999], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Z-bracket: base leg 85.95 mm, vertical leg 51.9 mm, top leg 80.1 mm, 29.48 mm wide, 5 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."], "text": "Z-bracket: base leg 85.95 mm, vertical leg 51.9 mm, top leg 80.1 mm, 29.48 mm wide, 5 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 85.95, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 51.9, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 29.48, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 5.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 80.1, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328848 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 85.95, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 51.9, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 29.48, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 80.1, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462c9cd1_0285", "family": "bracket", "tier": 3, "seed": 1177328849, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "ee03420f8293667a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 60900.0, "surface_area": 27200.0, "principal_moments": [48899999.99999999, 80900000.0, 99699999.99999999], "n_faces": 19, "n_edges": 51, "n_vertices": 34}, "dimensions": {"lines": ["C-channel bracket: base leg 80 mm, vertical leg 73.5 mm, 55 mm wide, 5 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 4.7 mm corner gusset."], "text": "C-channel bracket: base leg 80 mm, vertical leg 73.5 mm, 55 mm wide, 5 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 4.7 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 80, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 73.5, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 55, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 5.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 4.7, "min": 2.5, "max": 15.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328849 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 80, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 73.5, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 55, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 4.7, \"min\": 2.5, \"max\": 15.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl / 2, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bl - _bt, _bt).lineTo(_bl - _bt - _g, _bt)\n                    .lineTo(_bl - _bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462c9cd2_0286", "family": "tapped", "tier": 2, "seed": 1177328850, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "e4c53e80334de88c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 11000.0, "surface_area": 3660.0, "principal_moments": [946000.0, 946000.0, 1350000.0], "n_faces": 95, "n_edges": 335, "n_vertices": 242}, "dimensions": {"lines": ["One M10x1.5 tapped hole in a cylinder."], "text": "One M10x1.5 tapped hole in a cylinder."}, "params": {"major_d": {"type": "float", "default": 10.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 1.5, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 17.3, "min": 12.0, "max": 31.1, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "body_d": {"type": "float", "default": 29.9, "min": 18.0, "max": 47.8, "step": 1.0, "group": "Body", "label": "Outer \u00d8 (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328850 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 10.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.5, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 17.3, \"min\": 12.0, \"max\": 31.1, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"body_d\": {\"type\": 'float', \"default\": 29.9, \"min\": 18.0, \"max\": 47.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer \u00d8 (mm)'},\n}\n\n\ndef build(p):\n\n    _W = _D = p[\"body_d\"]\n    _H = p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Cylinder(radius=_W / 2, height=_H)\n    _locs = [(0.0, 0.0)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462c9cd3_0287", "family": "bracket", "tier": 1, "seed": 1177328851, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "01e778cb213117e7", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 46400.0, "surface_area": 21000.0, "principal_moments": [17800000.0, 62299999.99999999, 68000000.0], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Z-bracket: base leg 59.16 mm, vertical leg 58.5 mm, top leg 62.3 mm, 55.01 mm wide, 5 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."], "text": "Z-bracket: base leg 59.16 mm, vertical leg 58.5 mm, top leg 62.3 mm, 55.01 mm wide, 5 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 59.16, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 58.5, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 55.01, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 5.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 62.3, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328851 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 59.16, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 58.5, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 55.01, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 62.3, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462c9cd4_0288", "family": "revolved", "tier": 1, "seed": 1177328852, "symmetry": "none", "op_count": 2, "ir_hash": "1788d6725a288053", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 96900.0, "surface_area": 19700.0, "principal_moments": [33800000.0, 53099999.99999999, 53099999.99999999], "n_faces": 5, "n_edges": 8, "n_vertices": 5}, "dimensions": {"lines": ["Revolved body, \u00d848.29 mm \u00d7 79.5 mm tall.", "Chamfer 1.4 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d848.29 mm \u00d7 79.5 mm tall. Chamfer 1.4 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 48.29, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 79.5, "min": 23.8, "max": 238.5, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "end_chamfer": {"type": "float", "default": 1.4, "min": 0.1, "max": 4.2, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328852 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 48.29, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 79.5, \"min\": 23.8, \"max\": 238.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 1.4, \"min\": 0.1, \"max\": 4.2, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462c9cd5_0289", "family": "lofted", "tier": 2, "seed": 1177328853, "symmetry": "none", "op_count": 2, "ir_hash": "9420cab479f46a2f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 27600.0, "surface_area": 6010.0, "principal_moments": [4300000.0, 4550000.0, 4550000.0], "n_faces": 9, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["Lofted body through 3 sections: 6-sided polygon section, 45.56 mm across corners \u2192 \u00d832.2 mm circular section \u2192 \u00d818.8 mm circular section.", "One \u00d86.7 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 3 sections: 6-sided polygon section, 45.56 mm across corners \u2192 \u00d832.2 mm circular section \u2192 \u00d818.8 mm circular section. One \u00d86.7 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 45.56, "min": 22.8, "max": 72.9, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 18.8, "min": 7.5, "max": 54.7, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 35.4, "min": 14.2, "max": 70.8, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_mid": {"type": "float", "default": 32.2, "min": 9.4, "max": 54.7, "step": 1.0, "group": "Body", "label": "Mid size (mm)"}, "loft_bore_d": {"type": "float", "default": 6.7, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328853 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 45.56, \"min\": 22.8, \"max\": 72.9, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 18.8, \"min\": 7.5, \"max\": 54.7, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 35.4, \"min\": 14.2, \"max\": 70.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_mid\": {\"type\": 'float', \"default\": 32.2, \"min\": 9.4, \"max\": 54.7, \"step\": 1.0, \"group\": 'Body', \"label\": 'Mid size (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 6.7, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .polygon(6, p[\"loft_base\"] * 0.5 * 2)\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .circle(p[\"loft_mid\"] / 2)\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .circle(p[\"loft_top\"] / 2)\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462c9cd6_0290", "family": "swept", "tier": 0, "seed": 1177328854, "symmetry": "none", "op_count": 1, "ir_hash": "59511bc7eff8ce1d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 21500.0, "surface_area": 5530.0, "principal_moments": [766000.0, 16699999.999999998, 16699999.999999998], "n_faces": 3, "n_edges": 3, "n_vertices": 2}, "dimensions": {"lines": ["\u00d816.9 mm circular section swept along a curved path, ~95.63 mm span."], "text": "\u00d816.9 mm circular section swept along a curved path, ~95.63 mm span."}, "params": {"path_w": {"type": "float", "default": 35, "min": 17.5, "max": 63.0, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 95.63, "min": 47.8, "max": 172.1, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_d": {"type": "float", "default": 16.9, "min": 8.4, "max": 30.4, "step": 1.0, "group": "Section", "label": "Section diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328854 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 35, \"min\": 17.5, \"max\": 63.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 95.63, \"min\": 47.8, \"max\": 172.1, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_d\": {\"type\": 'float', \"default\": 16.9, \"min\": 8.4, \"max\": 30.4, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.4196), (p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.5286), (p[\"path_w\"] * 0.0, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').circle(p[\"sweep_d\"] / 2).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462c9cd7_0291", "family": "compound", "tier": 2, "seed": 1177328855, "symmetry": "mirror_xy", "op_count": 3, "ir_hash": "8fca95cf0401a4cd", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 7930.0, "surface_area": 3760.0, "principal_moments": [628000.0, 889000.0, 889000.0], "n_faces": 17, "n_edges": 42, "n_vertices": 28}, "dimensions": {"lines": ["6-sided polygon section, 29.28 mm across corners, extruded 11.4 mm thick.", "\u00d813.6 mm circular section attachment, 21.8 mm long, from top face with a \u00d87.8 mm bore.", "Fillet radius 0.784 mm on vertical edges."], "text": "6-sided polygon section, 29.28 mm across corners, extruded 11.4 mm thick. \u00d813.6 mm circular section attachment, 21.8 mm long, from top face with a \u00d87.8 mm bore. Fillet radius 0.784 mm on vertical edges."}, "params": {"base_sides": {"type": "int", "default": 6, "min": 3, "max": 8, "step": 1, "group": "Base", "label": "Base sides"}, "base_r": {"type": "float", "default": 14.64, "min": 8.8, "max": 23.4, "step": 1.0, "group": "Base", "label": "Base circumradius (mm)"}, "base_h": {"type": "float", "default": 11.4, "min": 4.6, "max": 28.5, "step": 1.0, "group": "Base", "label": "Base height (mm)"}, "col_d": {"type": "float", "default": 13.6, "min": 6.8, "max": 20.3, "step": 1.0, "group": "Column", "label": "Column diameter (mm)"}, "col_h": {"type": "float", "default": 21.8, "min": 6.5, "max": 54.5, "step": 1.0, "group": "Column", "label": "Column height (mm)"}, "col_bore": {"type": "float", "default": 7.8, "min": 2.0, "max": 9.8, "step": 0.5, "group": "Column", "label": "Column bore diameter (mm)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328855 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_sides\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Base', \"label\": 'Base sides'},\n    \"base_r\": {\"type\": 'float', \"default\": 14.64, \"min\": 8.8, \"max\": 23.4, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base circumradius (mm)'},\n    \"base_h\": {\"type\": 'float', \"default\": 11.4, \"min\": 4.6, \"max\": 28.5, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base height (mm)'},\n    \"col_d\": {\"type\": 'float', \"default\": 13.6, \"min\": 6.8, \"max\": 20.3, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column diameter (mm)'},\n    \"col_h\": {\"type\": 'float', \"default\": 21.8, \"min\": 6.5, \"max\": 54.5, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column height (mm)'},\n    \"col_bore\": {\"type\": 'float', \"default\": 7.8, \"min\": 2.0, \"max\": 9.8, \"step\": 0.5, \"group\": 'Column', \"label\": 'Column bore diameter (mm)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').polygon(p[\"base_sides\"], p[\"base_r\"] * 2).extrude(p[\"base_h\"]))\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"col_d\"] / 2).extrude(p[\"col_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"col_bore\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"base_r\"], p[\"base_r\"]) * 0.053534951847755766)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462c9cd8_0292", "family": "bracket", "tier": 2, "seed": 1177328856, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "4461f84af406bd3f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 42500.0, "surface_area": 13600.0, "principal_moments": [15599999.999999998, 16299999.999999998, 17300000.0], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["C-channel bracket: base leg 38.25 mm, vertical leg 42.7 mm, 50 mm wide, 8 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg; 10.6 mm corner gusset."], "text": "C-channel bracket: base leg 38.25 mm, vertical leg 42.7 mm, 50 mm wide, 8 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg; 10.6 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 38.25, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 42.7, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 50, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 8.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 10.6, "min": 4.0, "max": 24.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328856 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 38.25, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 42.7, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 50, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 10.6, \"min\": 4.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl / 2, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bl - _bt, _bt).lineTo(_bl - _bt - _g, _bt)\n                    .lineTo(_bl - _bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462c9cd9_0293", "family": "tapped", "tier": 0, "seed": 1177328857, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "1eb1b79bd47a74e0", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 6180.0, "surface_area": 2680.0, "principal_moments": [386000.0, 386000.0, 510000.0], "n_faces": 91, "n_edges": 317, "n_vertices": 228}, "dimensions": {"lines": ["One M10x1.5 tapped hole in a cylinder."], "text": "One M10x1.5 tapped hole in a cylinder."}, "params": {"major_d": {"type": "float", "default": 10.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 1.5, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 16.0, "min": 12.0, "max": 28.8, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "body_d": {"type": "float", "default": 24.0, "min": 18.0, "max": 38.4, "step": 1.0, "group": "Body", "label": "Outer \u00d8 (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328857 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 10.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.5, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 16.0, \"min\": 12.0, \"max\": 28.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"body_d\": {\"type\": 'float', \"default\": 24.0, \"min\": 18.0, \"max\": 38.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer \u00d8 (mm)'},\n}\n\n\ndef build(p):\n\n    _W = _D = p[\"body_d\"]\n    _H = p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Cylinder(radius=_W / 2, height=_H)\n    _locs = [(0.0, 0.0)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462c9cda_0294", "family": "compound", "tier": 1, "seed": 1177328858, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "4787b211ede5cb1e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 44400.0, "surface_area": 10100.0, "principal_moments": [9570000.0, 12399999.999999998, 12399999.999999998], "n_faces": 10, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["5-sided polygon section, 50 mm across corners, extruded 24.9 mm thick.", "\u00d823.1 mm circular section attachment, 27.6 mm long, from top face with a \u00d810 mm bore."], "text": "5-sided polygon section, 50 mm across corners, extruded 24.9 mm thick. \u00d823.1 mm circular section attachment, 27.6 mm long, from top face with a \u00d810 mm bore."}, "params": {"base_sides": {"type": "int", "default": 5, "min": 3, "max": 8, "step": 1, "group": "Base", "label": "Base sides"}, "base_r": {"type": "float", "default": 25, "min": 15.0, "max": 40.0, "step": 1.0, "group": "Base", "label": "Base circumradius (mm)"}, "base_h": {"type": "float", "default": 24.9, "min": 10.0, "max": 62.2, "step": 1.0, "group": "Base", "label": "Base height (mm)"}, "col_d": {"type": "float", "default": 23.1, "min": 11.6, "max": 32.4, "step": 1.0, "group": "Column", "label": "Column diameter (mm)"}, "col_h": {"type": "float", "default": 27.6, "min": 8.3, "max": 69.0, "step": 1.0, "group": "Column", "label": "Column height (mm)"}, "col_bore": {"type": "float", "default": 10.0, "min": 2.0, "max": 16.6, "step": 0.5, "group": "Column", "label": "Column bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328858 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_sides\": {\"type\": 'int', \"default\": 5, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Base', \"label\": 'Base sides'},\n    \"base_r\": {\"type\": 'float', \"default\": 25, \"min\": 15.0, \"max\": 40.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base circumradius (mm)'},\n    \"base_h\": {\"type\": 'float', \"default\": 24.9, \"min\": 10.0, \"max\": 62.2, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base height (mm)'},\n    \"col_d\": {\"type\": 'float', \"default\": 23.1, \"min\": 11.6, \"max\": 32.4, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column diameter (mm)'},\n    \"col_h\": {\"type\": 'float', \"default\": 27.6, \"min\": 8.3, \"max\": 69.0, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column height (mm)'},\n    \"col_bore\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 16.6, \"step\": 0.5, \"group\": 'Column', \"label\": 'Column bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').polygon(p[\"base_sides\"], p[\"base_r\"] * 2).extrude(p[\"base_h\"]))\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"col_d\"] / 2).extrude(p[\"col_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"col_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462c9cdb_0295", "family": "ribbed", "tier": 1, "seed": 1177328859, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "be967f7c7200f1db", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 31300.0, "surface_area": 11100.0, "principal_moments": [6120000.0, 14099999.999999998, 19200000.0], "n_faces": 30, "n_edges": 72, "n_vertices": 44}, "dimensions": {"lines": ["Rectangular body, 70 \u00d7 43.2 \u00d7 8 mm (W\u00d7D\u00d7H).", "Three ribs, 5.5 mm thick, 7.7 mm tall."], "text": "Rectangular body, 70 \u00d7 43.2 \u00d7 8 mm (W\u00d7D\u00d7H). Three ribs, 5.5 mm thick, 7.7 mm tall."}, "params": {"base_w": {"type": "float", "default": 70, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 43.2, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 8.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 3, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 7.7, "min": 3.1, "max": 15.4, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 5.5, "min": 1.0, "max": 13.8, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328859 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 70, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 43.2, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 3, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 7.7, \"min\": 3.1, \"max\": 15.4, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 5.5, \"min\": 1.0, \"max\": 13.8, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462c9cdc_0296", "family": "revolved", "tier": 1, "seed": 1177328860, "symmetry": "none", "op_count": 1, "ir_hash": "c4b631cb827d1b81", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 4170.0, "surface_area": 2490.0, "principal_moments": [232000.0, 311000.0, 311000.0], "n_faces": 4, "n_edges": 6, "n_vertices": 4}, "dimensions": {"lines": ["Revolved body, \u00d818.28 mm \u00d7 23.7 mm tall with \u00d810.5 mm bore."], "text": "Revolved body, \u00d818.28 mm \u00d7 23.7 mm tall with \u00d810.5 mm bore."}, "params": {"outer_d": {"type": "float", "default": 18.28, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 23.7, "min": 7.1, "max": 71.1, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 10.5, "min": 2.0, "max": 12.8, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328860 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 18.28, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 23.7, \"min\": 7.1, \"max\": 71.1, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 10.5, \"min\": 2.0, \"max\": 12.8, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462c9cdd_0297", "family": "lofted", "tier": 0, "seed": 1177328861, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "47f6bbb5b566a219", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 34600.0, "surface_area": 6150.0, "principal_moments": [4620000.0, 7960000.0, 7960000.0], "n_faces": 8, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["Lofted body through 2 sections: \u00d840 mm circular section \u2192 6-sided polygon section, 22.3 mm across corners."], "text": "Lofted body through 2 sections: \u00d840 mm circular section \u2192 6-sided polygon section, 22.3 mm across corners."}, "params": {"loft_base": {"type": "float", "default": 40, "min": 20.0, "max": 64.0, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 22.3, "min": 8.9, "max": 48.0, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 46.8, "min": 18.7, "max": 93.6, "step": 1.0, "group": "Body", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328861 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 40, \"min\": 20.0, \"max\": 64.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 22.3, \"min\": 8.9, \"max\": 48.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 46.8, \"min\": 18.7, \"max\": 93.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .circle(p[\"loft_base\"] / 2)\n        .workplane(offset=p[\"loft_h\"])\n        .polygon(6, p[\"loft_top\"] * 0.5 * 2)\n        .loft(combine=True)\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462c9cde_0298", "family": "compound", "tier": 1, "seed": 1177328862, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "d22ab6378759a84c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 226000.0, "surface_area": 25400.0, "principal_moments": [50699999.99999999, 550000000.0, 550000000.0], "n_faces": 5, "n_edges": 6, "n_vertices": 4}, "dimensions": {"lines": ["\u00d845.97 mm circular section, extruded 96.2 mm thick.", "\u00d832.2 mm circular section attachment, 80.9 mm long, from top face."], "text": "\u00d845.97 mm circular section, extruded 96.2 mm thick. \u00d832.2 mm circular section attachment, 80.9 mm long, from top face."}, "params": {"shaft_d": {"type": "float", "default": 45.97, "min": 23.0, "max": 82.7, "step": 1.0, "group": "Body", "label": "Shaft diameter (mm)"}, "shaft_len": {"type": "float", "default": 96.2, "min": 38.5, "max": 192.4, "step": 1.0, "group": "Body", "label": "Shaft length (mm)"}, "step_d": {"type": "float", "default": 32.2, "min": 16.1, "max": 41.4, "step": 1.0, "group": "Step", "label": "Step diameter (mm)"}, "step_len": {"type": "float", "default": 80.9, "min": 24.3, "max": 202.2, "step": 1.0, "group": "Step", "label": "Step length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328862 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"shaft_d\": {\"type\": 'float', \"default\": 45.97, \"min\": 23.0, \"max\": 82.7, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft diameter (mm)'},\n    \"shaft_len\": {\"type\": 'float', \"default\": 96.2, \"min\": 38.5, \"max\": 192.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft length (mm)'},\n    \"step_d\": {\"type\": 'float', \"default\": 32.2, \"min\": 16.1, \"max\": 41.4, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step diameter (mm)'},\n    \"step_len\": {\"type\": 'float', \"default\": 80.9, \"min\": 24.3, \"max\": 202.2, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').circle(p[\"shaft_d\"] / 2).extrude(p[\"shaft_len\"]))\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"step_d\"] / 2).extrude(p[\"step_len\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462c9cdf_0299", "family": "bracket", "tier": 3, "seed": 1177328863, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "8835acc8e1985b4b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 15100.0, "surface_area": 8900.0, "principal_moments": [2610000.0, 10500000.0, 11000000.0], "n_faces": 17, "n_edges": 55, "n_vertices": 34}, "dimensions": {"lines": ["L-bracket: base leg 75 mm, vertical leg 47.5 mm, 30 mm wide, 4 mm thick; 2 \u00d7 \u00d85.3 mm holes per leg; 4.9 mm corner gusset."], "text": "L-bracket: base leg 75 mm, vertical leg 47.5 mm, 30 mm wide, 4 mm thick; 2 \u00d7 \u00d85.3 mm holes per leg; 4.9 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 75, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 47.5, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 30, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 4.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 2, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 4.9, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328863 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 75, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 47.5, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 30, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 2, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 4.9, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9ce0_0300", "family": "plate", "tier": 2, "seed": 1177328864, "symmetry": "none", "op_count": 3, "ir_hash": "7a20a441197d355d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 45900.0, "surface_area": 14600.0, "principal_moments": [10900000.0, 45999999.99999999, 56399999.99999999], "n_faces": 14, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 109.95 \u00d7 53.1 \u00d7 8 mm (W\u00d7D\u00d7H).", "Four \u00d85.3 mm holes at the corners, 76.965 \u00d7 37.17 mm spacing.", "Fillet radius 3.808 mm on vertical edges."], "text": "Rectangular body, 109.95 \u00d7 53.1 \u00d7 8 mm (W\u00d7D\u00d7H). Four \u00d85.3 mm holes at the corners, 76.965 \u00d7 37.17 mm spacing. Fillet radius 3.808 mm on vertical edges."}, "params": {"plate_w": {"type": "float", "default": 109.95, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 53.1, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 11.9, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328864 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 109.95, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 53.1, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 11.9, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"plate_w\"], p[\"plate_d\"]) * 0.07171882206583773)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462c9ce1_0301", "family": "revolved", "tier": 0, "seed": 1177328865, "symmetry": "none", "op_count": 1, "ir_hash": "3b32b07940b7fc25", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 2060.0, "surface_area": 1640.0, "principal_moments": [47000.0, 106000.0, 106000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d812.33 mm \u00d7 25.9 mm tall."], "text": "Revolved body, \u00d812.33 mm \u00d7 25.9 mm tall."}, "params": {"outer_d": {"type": "float", "default": 12.33, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 25.9, "min": 7.8, "max": 77.7, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328865 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 12.33, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 25.9, \"min\": 7.8, \"max\": 77.7, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462c9ce2_0302", "family": "swept", "tier": 1, "seed": 1177328866, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "86bfc1c9a5ae72c1", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 7730.0, "surface_area": 2860.0, "principal_moments": [409000.0, 1610000.0, 1860000.0], "n_faces": 3, "n_edges": 3, "n_vertices": 2}, "dimensions": {"lines": ["\u00d812.8 mm circular section swept along a curved path, ~69.36 mm span."], "text": "\u00d812.8 mm circular section swept along a curved path, ~69.36 mm span."}, "params": {"path_w": {"type": "float", "default": 69.36, "min": 34.7, "max": 124.8, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 40.0, "min": 20.0, "max": 72.0, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_d": {"type": "float", "default": 12.8, "min": 6.4, "max": 23.0, "step": 1.0, "group": "Section", "label": "Section diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328866 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 69.36, \"min\": 34.7, \"max\": 124.8, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 40.0, \"min\": 20.0, \"max\": 72.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_d\": {\"type\": 'float', \"default\": 12.8, \"min\": 6.4, \"max\": 23.0, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.488), (p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.6635), (p[\"path_w\"] * 0.3669, p[\"path_h\"] * 0.7381), (p[\"path_w\"] * 0.3816, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').circle(p[\"sweep_d\"] / 2).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462c9ce3_0303", "family": "compound", "tier": 2, "seed": 1177328867, "symmetry": "mirror_xy", "op_count": 3, "ir_hash": "3067aeabacf852bf", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 177000.0, "surface_area": 20800.0, "principal_moments": [40300000.0, 261000000.0, 261000000.0], "n_faces": 14, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["\u00d845.76 mm circular section, extruded 85.3 mm thick.", "\u00d828.8 mm circular section attachment, 48.9 mm long, from top face.", "8-sided polygon section, 23.2 mm across corners attachment, 12.1 mm long, from top face."], "text": "\u00d845.76 mm circular section, extruded 85.3 mm thick. \u00d828.8 mm circular section attachment, 48.9 mm long, from top face. 8-sided polygon section, 23.2 mm across corners attachment, 12.1 mm long, from top face."}, "params": {"shaft_d": {"type": "float", "default": 45.76, "min": 22.9, "max": 82.4, "step": 1.0, "group": "Body", "label": "Shaft diameter (mm)"}, "shaft_len": {"type": "float", "default": 85.3, "min": 34.1, "max": 170.6, "step": 1.0, "group": "Body", "label": "Shaft length (mm)"}, "step_d": {"type": "float", "default": 28.8, "min": 14.4, "max": 41.2, "step": 1.0, "group": "Step", "label": "Step diameter (mm)"}, "step_len": {"type": "float", "default": 48.9, "min": 14.7, "max": 122.2, "step": 1.0, "group": "Step", "label": "Step length (mm)"}, "head_sides": {"type": "int", "default": 8, "min": 3, "max": 8, "step": 1, "group": "Head", "label": "Drive head sides"}, "head_r": {"type": "float", "default": 11.6, "min": 7.0, "max": 13.8, "step": 1.0, "group": "Head", "label": "Drive head circumradius (mm)"}, "head_len": {"type": "float", "default": 12.1, "min": 3.6, "max": 24.2, "step": 1.0, "group": "Head", "label": "Drive head length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328867 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"shaft_d\": {\"type\": 'float', \"default\": 45.76, \"min\": 22.9, \"max\": 82.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft diameter (mm)'},\n    \"shaft_len\": {\"type\": 'float', \"default\": 85.3, \"min\": 34.1, \"max\": 170.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft length (mm)'},\n    \"step_d\": {\"type\": 'float', \"default\": 28.8, \"min\": 14.4, \"max\": 41.2, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step diameter (mm)'},\n    \"step_len\": {\"type\": 'float', \"default\": 48.9, \"min\": 14.7, \"max\": 122.2, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step length (mm)'},\n    \"head_sides\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Head', \"label\": 'Drive head sides'},\n    \"head_r\": {\"type\": 'float', \"default\": 11.6, \"min\": 7.0, \"max\": 13.8, \"step\": 1.0, \"group\": 'Head', \"label\": 'Drive head circumradius (mm)'},\n    \"head_len\": {\"type\": 'float', \"default\": 12.1, \"min\": 3.6, \"max\": 24.2, \"step\": 1.0, \"group\": 'Head', \"label\": 'Drive head length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').circle(p[\"shaft_d\"] / 2).extrude(p[\"shaft_len\"]))\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"step_d\"] / 2).extrude(p[\"step_len\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"head_sides\"], p[\"head_r\"] * 2).extrude(p[\"head_len\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9ce4_0304", "family": "plate", "tier": 1, "seed": 1177328868, "symmetry": "none", "op_count": 2, "ir_hash": "b166b14883e1be86", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 19700.0, "surface_area": 9040.0, "principal_moments": [1980000.0, 16299999.999999998, 18100000.0], "n_faces": 42, "n_edges": 120, "n_vertices": 80}, "dimensions": {"lines": ["Rectangular body, 100 \u00d7 34.4 \u00d7 6 mm (W\u00d7D\u00d7H).", "Nine 6.1 \u00d7 3.2 mm slots in a 3\u00d73 grid, 40 \u00d7 13.8 mm pitch."], "text": "Rectangular body, 100 \u00d7 34.4 \u00d7 6 mm (W\u00d7D\u00d7H). Nine 6.1 \u00d7 3.2 mm slots in a 3\u00d73 grid, 40 \u00d7 13.8 mm pitch."}, "params": {"plate_w": {"type": "float", "default": 100, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 34.4, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 6.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 4.1, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 3, "min": 1, "max": 4, "step": 1, "group": "Holes", "label": "Holes across"}, "hole_ny": {"type": "int", "default": 3, "min": 1, "max": 4, "step": 1, "group": "Holes", "label": "Holes deep"}, "hole_slot_len": {"type": "float", "default": 6.1, "min": 4.8, "max": 9.7, "step": 0.5, "group": "Holes", "label": "Slot length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328868 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 100, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 34.4, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 4.1, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 3, \"min\": 1, \"max\": 4, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes across'},\n    \"hole_ny\": {\"type\": 'int', \"default\": 3, \"min\": 1, \"max\": 4, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes deep'},\n    \"hole_slot_len\": {\"type\": 'float', \"default\": 6.1, \"min\": 4.8, \"max\": 9.7, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Slot length (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(40.0, 13.8, p[\"hole_nx\"], p[\"hole_ny\"])\n        .slot2D(p[\"hole_slot_len\"], p[\"hole_d\"]).cutThruAll()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462c9ce5_0305", "family": "ribbed", "tier": 1, "seed": 1177328869, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "4c3e8286eb3162ae", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 19100.0, "surface_area": 10500.0, "principal_moments": [3760000.0, 5870000.0, 7940000.0], "n_faces": 21, "n_edges": 48, "n_vertices": 32}, "dimensions": {"lines": ["Rectangular body, 53.26 \u00d7 43 \u00d7 5 mm (W\u00d7D\u00d7H).", "Three ribs, 3.3 mm thick, 18.1 mm tall."], "text": "Rectangular body, 53.26 \u00d7 43 \u00d7 5 mm (W\u00d7D\u00d7H). Three ribs, 3.3 mm thick, 18.1 mm tall."}, "params": {"base_w": {"type": "float", "default": 53.26, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 43.0, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 5.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 3, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 18.1, "min": 7.2, "max": 36.2, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 3.3, "min": 1.0, "max": 8.2, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328869 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 53.26, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 43.0, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 3, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 18.1, \"min\": 7.2, \"max\": 36.2, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 3.3, \"min\": 1.0, \"max\": 8.2, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462c9ce6_0306", "family": "swept", "tier": 0, "seed": 1177328870, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "f2b9123c4db95fce", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 5610.0, "surface_area": 2750.0, "principal_moments": [50600.0, 4590000.0, 4590000.0], "n_faces": 3, "n_edges": 3, "n_vertices": 2}, "dimensions": {"lines": ["\u00d88.5 mm circular section swept along a curved path, ~98.82 mm span."], "text": "\u00d88.5 mm circular section swept along a curved path, ~98.82 mm span."}, "params": {"path_w": {"type": "float", "default": 60, "min": 30.0, "max": 108.0, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 98.82, "min": 49.4, "max": 177.9, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_d": {"type": "float", "default": 8.5, "min": 4.2, "max": 15.3, "step": 1.0, "group": "Section", "label": "Section diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328870 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 60, \"min\": 30.0, \"max\": 108.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 98.82, \"min\": 49.4, \"max\": 177.9, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_d\": {\"type\": 'float', \"default\": 8.5, \"min\": 4.2, \"max\": 15.3, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.3239), (p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.4686), (p[\"path_w\"] * 0.0, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').circle(p[\"sweep_d\"] / 2).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462c9ce7_0307", "family": "revolved", "tier": 2, "seed": 1177328871, "symmetry": "none", "op_count": 2, "ir_hash": "e7c3a62137d0c6a1", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 6960.0, "surface_area": 3250.0, "principal_moments": [217000.0, 1350000.0, 1350000.0], "n_faces": 12, "n_edges": 20, "n_vertices": 12}, "dimensions": {"lines": ["Revolved body, \u00d815 mm \u00d7 46.2 mm tall with \u00d85.3 mm bore, 3 mm-wide groove 0.94 mm deep.", "Chamfer 1 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d815 mm \u00d7 46.2 mm tall with \u00d85.3 mm bore, 3 mm-wide groove 0.94 mm deep. Chamfer 1 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 15, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 46.2, "min": 13.9, "max": 138.6, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 10.5, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "groove_depth": {"type": "float", "default": 0.94, "min": 0.38, "max": 2.82, "step": 0.1, "group": "Body", "label": "Groove depth (mm)"}, "groove_w": {"type": "float", "default": 3.0, "min": 1.2, "max": 9.0, "step": 0.2, "group": "Body", "label": "Groove width (mm)"}, "groove_pos": {"type": "float", "default": 26.1, "min": 6.9, "max": 39.3, "step": 1.0, "group": "Body", "label": "Groove position (mm)"}, "end_chamfer": {"type": "float", "default": 1.0, "min": 0.1, "max": 3.0, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328871 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 15, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 46.2, \"min\": 13.9, \"max\": 138.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 10.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"groove_depth\": {\"type\": 'float', \"default\": 0.94, \"min\": 0.38, \"max\": 2.82, \"step\": 0.1, \"group\": 'Body', \"label\": 'Groove depth (mm)'},\n    \"groove_w\": {\"type\": 'float', \"default\": 3.0, \"min\": 1.2, \"max\": 9.0, \"step\": 0.2, \"group\": 'Body', \"label\": 'Groove width (mm)'},\n    \"groove_pos\": {\"type\": 'float', \"default\": 26.1, \"min\": 6.9, \"max\": 39.3, \"step\": 1.0, \"group\": 'Body', \"label\": 'Groove position (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 1.0, \"min\": 0.1, \"max\": 3.0, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"groove_pos\"] - p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2 - p[\"groove_depth\"], p[\"groove_pos\"] - p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2 - p[\"groove_depth\"], p[\"groove_pos\"] + p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2, p[\"groove_pos\"] + p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462c9ce8_0308", "family": "flanged", "tier": 2, "seed": 1177328872, "symmetry": "radial", "op_count": 2, "ir_hash": "035ccb4df11a7a63", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 151000.0, "surface_area": 36600.0, "principal_moments": [130000000.0, 130000000.0, 214000000.0], "n_faces": 12, "n_edges": 27, "n_vertices": 18}, "dimensions": {"lines": ["Revolved body, \u00d856.33 mm \u00d7 42.1 mm tall with \u00d829.2 mm bore, \u00d8124.9 mm \u00d7 7.7 mm flange.", "Six \u00d85.3 mm holes on a \u00d875 mm bolt circle."], "text": "Revolved body, \u00d856.33 mm \u00d7 42.1 mm tall with \u00d829.2 mm bore, \u00d8124.9 mm \u00d7 7.7 mm flange. Six \u00d85.3 mm holes on a \u00d875 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 56.33, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 42.1, "min": 12.6, "max": 105.2, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 29.2, "min": 2.0, "max": 39.4, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 124.9, "min": 73.2, "max": 169.0, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 7.7, "min": 2.3, "max": 16.8, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 37.5, "min": 25.0, "max": 56.2, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 6, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328872 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 56.33, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 42.1, \"min\": 12.6, \"max\": 105.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 29.2, \"min\": 2.0, \"max\": 39.4, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 124.9, \"min\": 73.2, \"max\": 169.0, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 7.7, \"min\": 2.3, \"max\": 16.8, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 37.5, \"min\": 25.0, \"max\": 56.2, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462c9ce9_0309", "family": "ribbed", "tier": 2, "seed": 1177328873, "symmetry": "mirror_xy", "op_count": 3, "ir_hash": "1339863ad12c67f6", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 9540.0, "surface_area": 5700.0, "principal_moments": [681000.0, 1010000.0, 1190000.0], "n_faces": 46, "n_edges": 128, "n_vertices": 80}, "dimensions": {"lines": ["Rectangular body, 30 \u00d7 19.1 \u00d7 3 mm (W\u00d7D\u00d7H).", "Four ribs, 5.9 mm thick, 14.8 mm tall.", "Four \u00d83.2 mm holes at the corners, 21 \u00d7 13.37 mm spacing."], "text": "Rectangular body, 30 \u00d7 19.1 \u00d7 3 mm (W\u00d7D\u00d7H). Four ribs, 5.9 mm thick, 14.8 mm tall. Four \u00d83.2 mm holes at the corners, 21 \u00d7 13.37 mm spacing."}, "params": {"base_w": {"type": "float", "default": 30.0, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 19.1, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 3.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 4, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 14.8, "min": 5.9, "max": 29.6, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 5.9, "min": 1.0, "max": 14.8, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 4.3, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328873 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 30.0, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 19.1, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 4, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 14.8, \"min\": 5.9, \"max\": 29.6, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 5.9, \"min\": 1.0, \"max\": 14.8, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 4.3, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"base_w\"] * 0.7, p[\"base_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462c9cea_0310", "family": "flanged", "tier": 2, "seed": 1177328874, "symmetry": "none", "op_count": 3, "ir_hash": "b2cf19afaee8954d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 822000.0, "surface_area": 107000.0, "principal_moments": [2320000000.0, 2320000000.0, 2340000000.0], "n_faces": 26, "n_edges": 57, "n_vertices": 34}, "dimensions": {"lines": ["Revolved body, \u00d883.37 mm \u00d7 120.3 mm tall with \u00d842.5 mm bore, \u00d8189.9 mm \u00d7 14.8 mm flange.", "Eight \u00d84.3 mm holes on a \u00d8114 mm bolt circle.", "Chamfer 0.6 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d883.37 mm \u00d7 120.3 mm tall with \u00d842.5 mm bore, \u00d8189.9 mm \u00d7 14.8 mm flange. Eight \u00d84.3 mm holes on a \u00d8114 mm bolt circle. Chamfer 0.6 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 83.37, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 120.3, "min": 36.1, "max": 300.8, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 42.5, "min": 2.0, "max": 58.4, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 189.9, "min": 108.4, "max": 250.1, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 14.8, "min": 4.4, "max": 48.1, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 57.0, "min": 38.0, "max": 85.5, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 8, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}, "end_chamfer": {"type": "float", "default": 0.6, "min": 0.1, "max": 2.0, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328874 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 83.37, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 120.3, \"min\": 36.1, \"max\": 300.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 42.5, \"min\": 2.0, \"max\": 58.4, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 189.9, \"min\": 108.4, \"max\": 250.1, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 14.8, \"min\": 4.4, \"max\": 48.1, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 57.0, \"min\": 38.0, \"max\": 85.5, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.6, \"min\": 0.1, \"max\": 2.0, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462c9ceb_0311", "family": "swept", "tier": 2, "seed": 1177328875, "symmetry": "none", "op_count": 1, "ir_hash": "9561ccea519e124a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 7050.0, "surface_area": 3810.0, "principal_moments": [337000.0, 2390000.0, 2600000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["12.5 \u00d7 10.5 mm rectangular section swept along a curved path, ~59.39 mm span."], "text": "12.5 \u00d7 10.5 mm rectangular section swept along a curved path, ~59.39 mm span."}, "params": {"path_w": {"type": "float", "default": 58.37, "min": 29.2, "max": 105.1, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 59.39, "min": 29.7, "max": 106.9, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_a": {"type": "float", "default": 12.5, "min": 6.2, "max": 22.5, "step": 1.0, "group": "Section", "label": "Section width (mm)"}, "sweep_b": {"type": "float", "default": 10.5, "min": 5.2, "max": 18.9, "step": 1.0, "group": "Section", "label": "Section depth (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328875 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 58.37, \"min\": 29.2, \"max\": 105.1, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 59.39, \"min\": 29.7, \"max\": 106.9, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_a\": {\"type\": 'float', \"default\": 12.5, \"min\": 6.2, \"max\": 22.5, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section width (mm)'},\n    \"sweep_b\": {\"type\": 'float', \"default\": 10.5, \"min\": 5.2, \"max\": 18.9, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section depth (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.12, p[\"path_h\"] * 0.3645), (p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.3932), (p[\"path_w\"] * 0.1319, p[\"path_h\"] * 0.611), (p[\"path_w\"] * 0.3456, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').rect(p[\"sweep_a\"], p[\"sweep_b\"]).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9cec_0312", "family": "plate", "tier": 2, "seed": 1177328876, "symmetry": "mirror_xy", "op_count": 3, "ir_hash": "f9cf8ff5e22ce57b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 68400.0, "surface_area": 16800.0, "principal_moments": [21000000.0, 56099999.99999999, 75500000.0], "n_faces": 14, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 100 \u00d7 60.5 \u00d7 12 mm (W\u00d7D\u00d7H).", "Four \u00d810.5 mm holes at the corners, 70 \u00d7 42.35 mm spacing.", "Fillet radius 1.906 mm on vertical edges."], "text": "Rectangular body, 100 \u00d7 60.5 \u00d7 12 mm (W\u00d7D\u00d7H). Four \u00d810.5 mm holes at the corners, 70 \u00d7 42.35 mm spacing. Fillet radius 1.906 mm on vertical edges."}, "params": {"plate_w": {"type": "float", "default": 100, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 60.5, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 10.5, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328876 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 100, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 60.5, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 10.5, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"plate_w\"], p[\"plate_d\"]) * 0.03149991376603093)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462c9ced_0313", "family": "block", "tier": 1, "seed": 1177328877, "symmetry": "none", "op_count": 2, "ir_hash": "ad7b807f6edee430", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 346000.0, "surface_area": 50500.0, "principal_moments": [301000000.0, 331000000.0, 546000000.0], "n_faces": 22, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 97.28 \u00d7 39.8 \u00d7 100 mm (W\u00d7D\u00d7H).", "Four 10.1 mm square holes at the corners, 68.096 \u00d7 27.86 mm spacing."], "text": "Rectangular body, 97.28 \u00d7 39.8 \u00d7 100 mm (W\u00d7D\u00d7H). Four 10.1 mm square holes at the corners, 68.096 \u00d7 27.86 mm spacing."}, "params": {"block_w": {"type": "float", "default": 97.28, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 39.8, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 100.0, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 10.1, "min": 2.0, "max": 11.6, "step": 0.5, "group": "Holes", "label": "Square hole size (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328877 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 97.28, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 39.8, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 100.0, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 10.1, \"min\": 2.0, \"max\": 11.6, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Square hole size (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().rect(p[\"hole_d\"], p[\"hole_d\"]).cutThruAll()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9cee_0314", "family": "plate", "tier": 1, "seed": 1177328878, "symmetry": "none", "op_count": 2, "ir_hash": "f0268b65e400b1d7", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 1250.0, "surface_area": 1080.0, "principal_moments": [19600.0, 67600.0, 83900.0], "n_faces": 15, "n_edges": 39, "n_vertices": 26}, "dimensions": {"lines": ["Rectangular body, 25 \u00d7 13 \u00d7 4 mm (W\u00d7D\u00d7H).", "Nine \u00d81.3 mm holes in two staggered rows, 4.7 \u00d7 5.3 mm pitch."], "text": "Rectangular body, 25 \u00d7 13 \u00d7 4 mm (W\u00d7D\u00d7H). Nine \u00d81.3 mm holes in two staggered rows, 4.7 \u00d7 5.3 mm pitch."}, "params": {"plate_w": {"type": "float", "default": 25, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 13.0, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 4.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 1.3, "min": 2.0, "max": 1.3, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 5, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328878 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 25, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 13.0, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 4.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 1.3, \"min\": 2.0, \"max\": 1.3, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 5, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 4.7\n    _ssy = 5.3\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462c9cef_0315", "family": "compound", "tier": 1, "seed": 1177328879, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "f5ac192b7fcee040", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 79900.0, "surface_area": 12300.0, "principal_moments": [23199999.999999996, 23999999.999999996, 30199999.999999996], "n_faces": 13, "n_edges": 26, "n_vertices": 17}, "dimensions": {"lines": ["Rectangular body, 47.93 \u00d7 35.7 \u00d7 46.9 mm (W\u00d7D\u00d7H).", "\u00d86.7 mm circular section attachment, 6.6 mm long, from left face with a \u00d84 mm bore.", "\u00d86.7 mm circular section attachment, 6.6 mm long, from right face with a \u00d84 mm bore."], "text": "Rectangular body, 47.93 \u00d7 35.7 \u00d7 46.9 mm (W\u00d7D\u00d7H). \u00d86.7 mm circular section attachment, 6.6 mm long, from left face with a \u00d84 mm bore. \u00d86.7 mm circular section attachment, 6.6 mm long, from right face with a \u00d84 mm bore."}, "params": {"block_w": {"type": "float", "default": 47.93, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body width (mm)"}, "block_d": {"type": "float", "default": 35.7, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body depth (mm)"}, "block_h": {"type": "float", "default": 46.9, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body height (mm)"}, "port_d": {"type": "float", "default": 6.7, "min": 2.7, "max": 16.1, "step": 1.0, "group": "Ports", "label": "Ports diameter (mm)"}, "port_len": {"type": "float", "default": 6.6, "min": 1.7, "max": 20.1, "step": 1.0, "group": "Ports", "label": "Port boss length (mm)"}, "port_bore": {"type": "float", "default": 4.0, "min": 2.0, "max": 4.8, "step": 0.5, "group": "Ports", "label": "Port bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328879 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 47.93, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 35.7, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 46.9, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body height (mm)'},\n    \"port_d\": {\"type\": 'float', \"default\": 6.7, \"min\": 2.7, \"max\": 16.1, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Ports diameter (mm)'},\n    \"port_len\": {\"type\": 'float', \"default\": 6.6, \"min\": 1.7, \"max\": 20.1, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Port boss length (mm)'},\n    \"port_bore\": {\"type\": 'float', \"default\": 4.0, \"min\": 2.0, \"max\": 4.8, \"step\": 0.5, \"group\": 'Ports', \"label\": 'Port bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462c9cf0_0316", "family": "bracket", "tier": 2, "seed": 1177328880, "symmetry": "none", "op_count": 1, "ir_hash": "fa84c2f888e1fc4d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 46300.0, "surface_area": 17700.0, "principal_moments": [19100000.0, 40500000.0, 43400000.0], "n_faces": 14, "n_edges": 37, "n_vertices": 24}, "dimensions": {"lines": ["L-bracket: base leg 65 mm, vertical leg 73.4 mm, 55 mm wide, 6 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg; 6.7 mm corner gusset."], "text": "L-bracket: base leg 65 mm, vertical leg 73.4 mm, 55 mm wide, 6 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg; 6.7 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 65, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 73.4, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 55, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 6.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 6.7, "min": 3.0, "max": 18.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328880 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 65, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 73.4, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 55, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 6.7, \"min\": 3.0, \"max\": 18.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462c9cf1_0317", "family": "swept", "tier": 0, "seed": 1177328881, "symmetry": "none", "op_count": 1, "ir_hash": "a086eabe9b9e6432", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 15000.0, "surface_area": 4610.0, "principal_moments": [471000.0, 11100000.0, 11100000.0], "n_faces": 3, "n_edges": 3, "n_vertices": 2}, "dimensions": {"lines": ["\u00d815.1 mm circular section swept along a curved path, ~74.19 mm span."], "text": "\u00d815.1 mm circular section swept along a curved path, ~74.19 mm span."}, "params": {"path_w": {"type": "float", "default": 74.19, "min": 37.1, "max": 133.5, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 50, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_d": {"type": "float", "default": 15.1, "min": 7.5, "max": 27.2, "step": 1.0, "group": "Section", "label": "Section diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328881 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 74.19, \"min\": 37.1, \"max\": 133.5, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 50, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_d\": {\"type\": 'float', \"default\": 15.1, \"min\": 7.5, \"max\": 27.2, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.2629, p[\"path_h\"] * 0.3663), (p[\"path_w\"] * 0.5887, p[\"path_h\"] * 0.5224), (p[\"path_w\"] * 0.7967, p[\"path_h\"] * 0.593), (p[\"path_w\"] * 1.0, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').circle(p[\"sweep_d\"] / 2).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462c9cf2_0318", "family": "threaded", "tier": 0, "seed": 1177328882, "symmetry": "none", "op_count": 1, "ir_hash": "5845dd20cb9ff83c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 1410.0, "surface_area": 1100.0, "principal_moments": [14700.0, 62200.0, 62300.0], "n_faces": 150, "n_edges": 380, "n_vertices": 232}, "dimensions": {"lines": ["M10x1.5 external thread, 21.8 mm long."], "text": "M10x1.5 external thread, 21.8 mm long."}, "params": {"major_d": {"type": "float", "default": 10.0, "min": 4.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Major diameter (mm)"}, "pitch": {"type": "float", "default": 1.5, "min": 0.75, "max": 3.0, "step": 0.05, "group": "Thread", "label": "Pitch (mm)"}, "thread_len": {"type": "float", "default": 21.8, "min": 8.7, "max": 43.6, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328882 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 10.0, \"min\": 4.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Major diameter (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.5, \"min\": 0.75, \"max\": 3.0, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Pitch (mm)'},\n    \"thread_len\": {\"type\": 'float', \"default\": 21.8, \"min\": 8.7, \"max\": 43.6, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.IsoThread(major_diameter=p[\"major_d\"], pitch=p[\"pitch\"], length=p[\"thread_len\"], external=True, end_finishes=(\"fade\", \"fade\"))\n    _r = _thr.min_radius if hasattr(_thr, 'min_radius') else _thr.root_radius\n    _shank = _bd.Cylinder(radius=_r, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = _shank + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462c9cf3_0319", "family": "revolved", "tier": 2, "seed": 1177328883, "symmetry": "none", "op_count": 2, "ir_hash": "a6c4dcab085cfa5e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 78200.0, "surface_area": 17100.0, "principal_moments": [28899999.999999996, 31199999.999999996, 31199999.999999996], "n_faces": 9, "n_edges": 14, "n_vertices": 9}, "dimensions": {"lines": ["Revolved body, \u00d850 mm \u00d7 61.1 mm tall with 5.04 mm-wide groove 2.33 mm deep.", "Chamfer 0.8 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d850 mm \u00d7 61.1 mm tall with 5.04 mm-wide groove 2.33 mm deep. Chamfer 0.8 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 50, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 61.1, "min": 18.3, "max": 183.3, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "groove_depth": {"type": "float", "default": 2.33, "min": 0.93, "max": 6.99, "step": 0.1, "group": "Body", "label": "Groove depth (mm)"}, "groove_w": {"type": "float", "default": 5.04, "min": 2.02, "max": 15.12, "step": 0.2, "group": "Body", "label": "Groove width (mm)"}, "groove_pos": {"type": "float", "default": 45.3, "min": 9.2, "max": 51.9, "step": 1.0, "group": "Body", "label": "Groove position (mm)"}, "end_chamfer": {"type": "float", "default": 0.8, "min": 0.1, "max": 2.4, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328883 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 50, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 61.1, \"min\": 18.3, \"max\": 183.3, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"groove_depth\": {\"type\": 'float', \"default\": 2.33, \"min\": 0.93, \"max\": 6.99, \"step\": 0.1, \"group\": 'Body', \"label\": 'Groove depth (mm)'},\n    \"groove_w\": {\"type\": 'float', \"default\": 5.04, \"min\": 2.02, \"max\": 15.12, \"step\": 0.2, \"group\": 'Body', \"label\": 'Groove width (mm)'},\n    \"groove_pos\": {\"type\": 'float', \"default\": 45.3, \"min\": 9.2, \"max\": 51.9, \"step\": 1.0, \"group\": 'Body', \"label\": 'Groove position (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.8, \"min\": 0.1, \"max\": 2.4, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"groove_pos\"] - p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2 - p[\"groove_depth\"], p[\"groove_pos\"] - p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2 - p[\"groove_depth\"], p[\"groove_pos\"] + p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2, p[\"groove_pos\"] + p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462c9cf4_0320", "family": "bracket", "tier": 3, "seed": 1177328884, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "a00fbd16e921e8cd", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 31700.0, "surface_area": 13200.0, "principal_moments": [7980000.0, 52199999.99999999, 56999999.99999999], "n_faces": 18, "n_edges": 48, "n_vertices": 32}, "dimensions": {"lines": ["Z-bracket: base leg 82.15 mm, vertical leg 72.9 mm, top leg 56.4 mm, 25 mm wide, 6 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg; 7.1 mm corner gusset."], "text": "Z-bracket: base leg 82.15 mm, vertical leg 72.9 mm, top leg 56.4 mm, 25 mm wide, 6 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg; 7.1 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 82.15, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 72.9, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 25, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 6.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 56.4, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}, "gusset_t": {"type": "float", "default": 7.1, "min": 3.0, "max": 12.5, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328884 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 82.15, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 72.9, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 25, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 56.4, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 7.1, \"min\": 3.0, \"max\": 12.5, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _tl, _vl) * 0.4 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(0, _vl - _bt).lineTo(-_g, _vl - _bt)\n                    .lineTo(0, _vl - _bt - _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462c9cf5_0321", "family": "enclosure", "tier": 2, "seed": 1177328885, "symmetry": "none", "op_count": 4, "ir_hash": "656e3101a445f302", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 15700.0, "surface_area": 14600.0, "principal_moments": [4120000.0, 6840000.0, 8150000.0], "n_faces": 35, "n_edges": 108, "n_vertices": 72}, "dimensions": {"lines": ["Rectangular body, 55 \u00d7 24.4 \u00d7 42 mm (W\u00d7D\u00d7H).", "Hollowed to 2.2 mm wall thickness, open at top face.", "Four \u00d84.3 mm holes at the corners, 38.5 \u00d7 17.08 mm spacing.", "Fillet radius 2.657 mm on vertical edges."], "text": "Rectangular body, 55 \u00d7 24.4 \u00d7 42 mm (W\u00d7D\u00d7H). Hollowed to 2.2 mm wall thickness, open at top face. Four \u00d84.3 mm holes at the corners, 38.5 \u00d7 17.08 mm spacing. Fillet radius 2.657 mm on vertical edges."}, "params": {"enc_w": {"type": "float", "default": 55, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 24.4, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 42.0, "min": 16.8, "max": 84.0, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 2.2, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 5.5, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328885 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 55, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 24.4, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 42.0, \"min\": 16.8, \"max\": 84.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 2.2, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 5.5, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"enc_w\"] * 0.7, p[\"enc_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"enc_w\"], p[\"enc_d\"]) * 0.10889266296118932)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462c9cf6_0322", "family": "flanged", "tier": 3, "seed": 1177328886, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "49f5b06e803ae584", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 66200.0, "surface_area": 20500.0, "principal_moments": [32299999.999999996, 33800000.0, 33800000.0], "n_faces": 22, "n_edges": 47, "n_vertices": 28}, "dimensions": {"lines": ["Revolved body, \u00d838.73 mm \u00d7 51.2 mm tall with \u00d818.7 mm bore, \u00d883.9 mm \u00d7 4.8 mm flange.", "Six \u00d86.4 mm holes on a \u00d850.4 mm bolt circle.", "Chamfer 0.4 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d838.73 mm \u00d7 51.2 mm tall with \u00d818.7 mm bore, \u00d883.9 mm \u00d7 4.8 mm flange. Six \u00d86.4 mm holes on a \u00d850.4 mm bolt circle. Chamfer 0.4 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 38.73, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 51.2, "min": 15.4, "max": 128.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 18.7, "min": 2.0, "max": 27.1, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 83.9, "min": 50.3, "max": 116.2, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 4.8, "min": 1.4, "max": 20.5, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 25.2, "min": 16.8, "max": 37.8, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 6, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}, "end_chamfer": {"type": "float", "default": 0.4, "min": 0.1, "max": 2.0, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328886 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 38.73, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 51.2, \"min\": 15.4, \"max\": 128.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 18.7, \"min\": 2.0, \"max\": 27.1, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 83.9, \"min\": 50.3, \"max\": 116.2, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 4.8, \"min\": 1.4, \"max\": 20.5, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 25.2, \"min\": 16.8, \"max\": 37.8, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.4, \"min\": 0.1, \"max\": 2.0, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9cf7_0323", "family": "plate", "tier": 2, "seed": 1177328887, "symmetry": "radial", "op_count": 3, "ir_hash": "7229864efca32b40", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 64300.0, "surface_area": 19800.0, "principal_moments": [26399999.999999996, 72400000.0, 98099999.99999999], "n_faces": 28, "n_edges": 78, "n_vertices": 52}, "dimensions": {"lines": ["Rectangular body, 116.23 \u00d7 70.3 \u00d7 8 mm (W\u00d7D\u00d7H).", "Twelve \u00d83.2 mm holes on a \u00d869.8 mm bolt circle.", "Fillet radius 7.067 mm on vertical edges."], "text": "Rectangular body, 116.23 \u00d7 70.3 \u00d7 8 mm (W\u00d7D\u00d7H). Twelve \u00d83.2 mm holes on a \u00d869.8 mm bolt circle. Fillet radius 7.067 mm on vertical edges."}, "params": {"plate_w": {"type": "float", "default": 116.23, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 70.3, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "bolt_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 34.9, "min": 23.2, "max": 52.3, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 12, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328887 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 116.23, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 70.3, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 34.9, \"min\": 23.2, \"max\": 52.3, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 12, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"plate_w\"], p[\"plate_d\"]) * 0.10052188969134304)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462c9cf8_0324", "family": "block", "tier": 1, "seed": 1177328888, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "ce79a96f4cace9dd", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 13000.0, "surface_area": 6680.0, "principal_moments": [747000.0, 2340000.0, 2650000.0], "n_faces": 22, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 23.34 \u00d7 15 \u00d7 44.3 mm (W\u00d7D\u00d7H).", "Four 3.8 mm square holes at the corners, 16.338 \u00d7 10.5 mm spacing."], "text": "Rectangular body, 23.34 \u00d7 15 \u00d7 44.3 mm (W\u00d7D\u00d7H). Four 3.8 mm square holes at the corners, 16.338 \u00d7 10.5 mm spacing."}, "params": {"block_w": {"type": "float", "default": 23.34, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 15.0, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 44.3, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 3.8, "min": 2.0, "max": 4.4, "step": 0.5, "group": "Holes", "label": "Square hole size (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328888 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 23.34, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 15.0, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 44.3, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.8, \"min\": 2.0, \"max\": 4.4, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Square hole size (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().rect(p[\"hole_d\"], p[\"hole_d\"]).cutThruAll()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9cf9_0325", "family": "plate", "tier": 1, "seed": 1177328889, "symmetry": "none", "op_count": 2, "ir_hash": "106ea00e6774f4d2", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 3900.0, "surface_area": 2400.0, "principal_moments": [108000.0, 678000.0, 770000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 45.87 \u00d7 17.7 \u00d7 5 mm (W\u00d7D\u00d7H).", "Four \u00d83.2 mm holes at the corners, 32.109 \u00d7 12.39 mm spacing."], "text": "Rectangular body, 45.87 \u00d7 17.7 \u00d7 5 mm (W\u00d7D\u00d7H). Four \u00d83.2 mm holes at the corners, 32.109 \u00d7 12.39 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 45.87, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 17.7, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 5.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 4.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328889 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 45.87, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 17.7, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 5.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 4.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462c9cfa_0326", "family": "block", "tier": 1, "seed": 1177328890, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "9e91b4df10100119", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 608000.0, "surface_area": 51900.0, "principal_moments": [621000000.0, 806000000.0, 828000000.0], "n_faces": 22, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 80 \u00d7 77.3 \u00d7 100 mm (W\u00d7D\u00d7H).", "Four 5.2 mm square holes at the corners, 56 \u00d7 54.11 mm spacing."], "text": "Rectangular body, 80 \u00d7 77.3 \u00d7 100 mm (W\u00d7D\u00d7H). Four 5.2 mm square holes at the corners, 56 \u00d7 54.11 mm spacing."}, "params": {"block_w": {"type": "float", "default": 80, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 77.3, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 100.0, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 5.2, "min": 2.0, "max": 16.9, "step": 0.5, "group": "Holes", "label": "Square hole size (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328890 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 80, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 77.3, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 100.0, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.2, \"min\": 2.0, \"max\": 16.9, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Square hole size (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().rect(p[\"hole_d\"], p[\"hole_d\"]).cutThruAll()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9cfb_0327", "family": "plate", "tier": 1, "seed": 1177328891, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "b439ed3cc01829b5", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 65700.0, "surface_area": 17500.0, "principal_moments": [31299999.999999996, 44200000.0, 74400000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 90 \u00d7 75.5 \u00d7 10 mm (W\u00d7D\u00d7H).", "Four \u00d88.4 mm holes at the corners, 63 \u00d7 52.85 mm spacing."], "text": "Rectangular body, 90 \u00d7 75.5 \u00d7 10 mm (W\u00d7D\u00d7H). Four \u00d88.4 mm holes at the corners, 63 \u00d7 52.85 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 90, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 75.5, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 8.4, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328891 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 90, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 75.5, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462c9cfc_0328", "family": "gear", "tier": 3, "seed": 1177328892, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "5e1381dc8e5c6487", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 46000.0, "surface_area": 14600.0, "principal_moments": [19000000.0, 19000000.0, 37400000.0], "n_faces": 471, "n_edges": 1173, "n_vertices": 704}, "dimensions": {"lines": ["Helical gear, module 2 mm, 39 teeth (pitch \u00d878 mm), face width 9.4 mm, 10.9\u00b0 helix (herringbone), \u00d810.6 mm bore."], "text": "Helical gear, module 2 mm, 39 teeth (pitch \u00d878 mm), face width 9.4 mm, 10.9\u00b0 helix (herringbone), \u00d810.6 mm bore."}, "params": {"module": {"type": "float", "default": 2.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 39, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 9.4, "min": 3.8, "max": 23.5, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "helix_angle": {"type": "float", "default": 10.9, "min": 5.0, "max": 40.0, "step": 1.0, "group": "Gear", "label": "Helix angle (deg)"}, "profile_shift": {"type": "float", "default": 0.1, "min": -0.5, "max": 0.7, "step": 0.05, "group": "Gear", "label": "Profile shift"}, "root_fillet": {"type": "float", "default": 0.46, "min": 0.0, "max": 1.0, "step": 0.05, "group": "Gear", "label": "Root fillet (mm)"}, "bore_d": {"type": "float", "default": 10.6, "min": 2.0, "max": 43.8, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328892 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 2.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 39, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 9.4, \"min\": 3.8, \"max\": 23.5, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"helix_angle\": {\"type\": 'float', \"default\": 10.9, \"min\": 5.0, \"max\": 40.0, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Helix angle (deg)'},\n    \"profile_shift\": {\"type\": 'float', \"default\": 0.1, \"min\": -0.5, \"max\": 0.7, \"step\": 0.05, \"group\": 'Gear', \"label\": 'Profile shift'},\n    \"root_fillet\": {\"type\": 'float', \"default\": 0.46, \"min\": 0.0, \"max\": 1.0, \"step\": 0.05, \"group\": 'Gear', \"label\": 'Root fillet (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 10.6, \"min\": 2.0, \"max\": 43.8, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.HelicalGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"], helix_angle=math.radians(p[\"helix_angle\"]), herringbone=True, profile_shift=p[\"profile_shift\"], root_fillet=p[\"root_fillet\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462c9cfd_0329", "family": "compound", "tier": 1, "seed": 1177328893, "symmetry": "none", "op_count": 3, "ir_hash": "fba5a4f2fe656741", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 141000.0, "surface_area": 18700.0, "principal_moments": [59199999.99999999, 63499999.99999999, 75400000.0], "n_faces": 13, "n_edges": 26, "n_vertices": 17}, "dimensions": {"lines": ["Rectangular body, 55 \u00d7 57 \u00d7 44.9 mm (W\u00d7D\u00d7H).", "\u00d814.1 mm circular section attachment, 9.2 mm long, from back face with a \u00d87.1 mm bore.", "\u00d814.1 mm circular section attachment, 9.2 mm long, from front face with a \u00d87.1 mm bore."], "text": "Rectangular body, 55 \u00d7 57 \u00d7 44.9 mm (W\u00d7D\u00d7H). \u00d814.1 mm circular section attachment, 9.2 mm long, from back face with a \u00d87.1 mm bore. \u00d814.1 mm circular section attachment, 9.2 mm long, from front face with a \u00d87.1 mm bore."}, "params": {"block_w": {"type": "float", "default": 55, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body width (mm)"}, "block_d": {"type": "float", "default": 57.0, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body depth (mm)"}, "block_h": {"type": "float", "default": 44.9, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body height (mm)"}, "port_d": {"type": "float", "default": 14.1, "min": 5.6, "max": 20.2, "step": 1.0, "group": "Ports", "label": "Ports diameter (mm)"}, "port_len": {"type": "float", "default": 9.2, "min": 3.5, "max": 42.3, "step": 1.0, "group": "Ports", "label": "Port boss length (mm)"}, "port_bore": {"type": "float", "default": 7.1, "min": 2.0, "max": 10.2, "step": 0.5, "group": "Ports", "label": "Port bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328893 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 55, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 57.0, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 44.9, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body height (mm)'},\n    \"port_d\": {\"type\": 'float', \"default\": 14.1, \"min\": 5.6, \"max\": 20.2, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Ports diameter (mm)'},\n    \"port_len\": {\"type\": 'float', \"default\": 9.2, \"min\": 3.5, \"max\": 42.3, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Port boss length (mm)'},\n    \"port_bore\": {\"type\": 'float', \"default\": 7.1, \"min\": 2.0, \"max\": 10.2, \"step\": 0.5, \"group\": 'Ports', \"label\": 'Port bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462c9cfe_0330", "family": "threaded", "tier": 2, "seed": 1177328894, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "5eef2a07d7a26d13", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 4590.0, "surface_area": 2720.0, "principal_moments": [93600.0, 569000.0, 570000.0], "n_faces": 130, "n_edges": 328, "n_vertices": 200}, "dimensions": {"lines": ["Tr 14x3 external thread, 37.5 mm long."], "text": "Tr 14x3 external thread, 37.5 mm long."}, "params": {"thread_size": {"type": "enum", "default": "14x3", "choices": ["8x1.5", "10x2", "12x3", "14x3", "16x4", "18x4", "20x4", "24x5", "28x5", "30x6", "36x6", "40x7"], "group": "Thread", "label": "Size designation"}, "thread_len": {"type": "float", "default": 37.5, "min": 15.0, "max": 75.0, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328894 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"thread_size\": {\"type\": 'enum', \"default\": '14x3', \"choices\": ['8x1.5', '10x2', '12x3', '14x3', '16x4', '18x4', '20x4', '24x5', '28x5', '30x6', '36x6', '40x7'], \"group\": 'Thread', \"label\": 'Size designation'},\n    \"thread_len\": {\"type\": 'float', \"default\": 37.5, \"min\": 15.0, \"max\": 75.0, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.MetricTrapezoidalThread(size=p[\"thread_size\"], length=p[\"thread_len\"], external=True, end_finishes=(\"fade\", \"fade\"))\n    _r = _thr.min_radius if hasattr(_thr, 'min_radius') else _thr.root_radius\n    _shank = _bd.Cylinder(radius=_r, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = _shank + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462c9cff_0331", "family": "flanged", "tier": 3, "seed": 1177328895, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "4d92208b9f6ebe10", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 158000.0, "surface_area": 29400.0, "principal_moments": [100000000.0, 100000000.0, 116000000.0], "n_faces": 13, "n_edges": 42, "n_vertices": 28}, "dimensions": {"lines": ["Revolved body, \u00d860 mm \u00d7 52.4 mm tall with \u00d822.3 mm bore, \u00d898.2 mm \u00d7 6.6 mm flange.", "Four \u00d83.2 mm holes on a \u00d859 mm bolt circle."], "text": "Revolved body, \u00d860 mm \u00d7 52.4 mm tall with \u00d822.3 mm bore, \u00d898.2 mm \u00d7 6.6 mm flange. Four \u00d83.2 mm holes on a \u00d859 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 60, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 52.4, "min": 15.7, "max": 131.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 22.3, "min": 2.0, "max": 42.0, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 98.2, "min": 78.0, "max": 180.0, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 6.6, "min": 2.0, "max": 21.0, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 29.5, "min": 19.6, "max": 44.2, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 4, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328895 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 60, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 52.4, \"min\": 15.7, \"max\": 131.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 22.3, \"min\": 2.0, \"max\": 42.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 98.2, \"min\": 78.0, \"max\": 180.0, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 6.6, \"min\": 2.0, \"max\": 21.0, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 29.5, \"min\": 19.6, \"max\": 44.2, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 4, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9d00_0332", "family": "plate", "tier": 1, "seed": 1177328896, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "705bf1333ea40353", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 24700.0, "surface_area": 8400.0, "principal_moments": [3250000.0, 13199999.999999998, 16199999.999999998], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 80 \u00d7 39 \u00d7 8 mm (W\u00d7D\u00d7H).", "Four \u00d83.2 mm holes at the corners, 56 \u00d7 27.3 mm spacing."], "text": "Rectangular body, 80 \u00d7 39 \u00d7 8 mm (W\u00d7D\u00d7H). Four \u00d83.2 mm holes at the corners, 56 \u00d7 27.3 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 80, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 39.0, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 8.8, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328896 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 80, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 39.0, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 8.8, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462c9d01_0333", "family": "ribbed", "tier": 1, "seed": 1177328897, "symmetry": "none", "op_count": 2, "ir_hash": "520238fc94968f6f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 39300.0, "surface_area": 24200.0, "principal_moments": [16199999.999999998, 22200000.0, 35500000.0], "n_faces": 31, "n_edges": 72, "n_vertices": 48}, "dimensions": {"lines": ["Rectangular body, 80 \u00d7 68.4 \u00d7 5 mm (W\u00d7D\u00d7H).", "Five ribs, 2.1 mm thick, 17.8 mm tall."], "text": "Rectangular body, 80 \u00d7 68.4 \u00d7 5 mm (W\u00d7D\u00d7H). Five ribs, 2.1 mm thick, 17.8 mm tall."}, "params": {"base_w": {"type": "float", "default": 80, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 68.4, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 5.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 5, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 17.8, "min": 7.1, "max": 35.6, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 2.1, "min": 1.0, "max": 5.2, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328897 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 80, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 68.4, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 5, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 17.8, \"min\": 7.1, \"max\": 35.6, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 2.1, \"min\": 1.0, \"max\": 5.2, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462c9d02_0334", "family": "revolved", "tier": 1, "seed": 1177328898, "symmetry": "none", "op_count": 1, "ir_hash": "ddf882d909aaa010", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 297000.0, "surface_area": 44700.0, "principal_moments": [118000000.0, 836000000.0, 836000000.0], "n_faces": 4, "n_edges": 6, "n_vertices": 4}, "dimensions": {"lines": ["Revolved body, \u00d851.49 mm \u00d7 177.3 mm tall with \u00d822.8 mm bore."], "text": "Revolved body, \u00d851.49 mm \u00d7 177.3 mm tall with \u00d822.8 mm bore."}, "params": {"outer_d": {"type": "float", "default": 51.49, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 177.3, "min": 53.2, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 22.8, "min": 2.0, "max": 36.0, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328898 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 51.49, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 177.3, \"min\": 53.2, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 22.8, \"min\": 2.0, \"max\": 36.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462c9d03_0335", "family": "sketched", "tier": 2, "seed": 1177328899, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "386740521e056498", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 10400.0, "surface_area": 3260.0, "principal_moments": [410000.0, 1890000.0, 1890000.0], "n_faces": 9, "n_edges": 16, "n_vertices": 9}, "dimensions": {"lines": ["Revolved organic body from a freeform sketched section (8 segments: 5 straight, 1 arc, 2 curves), ~8.974 \u00d7 50 mm half-silhouette."], "text": "Revolved organic body from a freeform sketched section (8 segments: 5 straight, 1 arc, 2 curves), ~8.974 \u00d7 50 mm half-silhouette."}, "params": {"sk_r": {"type": "float", "default": 15.05, "min": 7.5, "max": 27.1, "step": 1.0, "group": "Sketch", "label": "Max radius (mm)"}, "sk_h": {"type": "float", "default": 50, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Sketch", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328899 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_r\": {\"type\": 'float', \"default\": 15.05, \"min\": 7.5, \"max\": 27.1, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Max radius (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 50, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XZ').moveTo(p[\"sk_r\"] * 0.355, p[\"sk_h\"] * 0.0).lineTo(p[\"sk_r\"] * 0.2338, p[\"sk_h\"] * 0.1834).threePointArc((p[\"sk_r\"] * 0.4126, p[\"sk_h\"] * 0.1987), (p[\"sk_r\"] * 0.5027, p[\"sk_h\"] * 0.214)).bezier([(p[\"sk_r\"] * 0.5027, p[\"sk_h\"] * 0.214), (p[\"sk_r\"] * 0.6087, p[\"sk_h\"] * 0.3173), (p[\"sk_r\"] * 0.659, p[\"sk_h\"] * 0.4206)]).lineTo(p[\"sk_r\"] * 0.4645, p[\"sk_h\"] * 0.5395).spline([(p[\"sk_r\"] * 0.4645, p[\"sk_h\"] * 0.5395), (p[\"sk_r\"] * 0.6325, p[\"sk_h\"] * 0.7378), (p[\"sk_r\"] * 0.6218, p[\"sk_h\"] * 0.9361)]).lineTo(p[\"sk_r\"] * 0.4966, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.0627, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.0627, p[\"sk_h\"] * 0.0).close().revolve())\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462c9d04_0336", "family": "flanged", "tier": 1, "seed": 1177328900, "symmetry": "none", "op_count": 2, "ir_hash": "c23d13ac023db4cb", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 906000.0, "surface_area": 127000.0, "principal_moments": [2650000000.0, 2650000000.0, 3570000000.0], "n_faces": 14, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["Revolved body, \u00d896.11 mm \u00d7 99.6 mm tall with \u00d849.3 mm bore, \u00d8224.6 mm \u00d7 11.6 mm flange.", "Eight \u00d85.3 mm holes on a \u00d8134.8 mm bolt circle."], "text": "Revolved body, \u00d896.11 mm \u00d7 99.6 mm tall with \u00d849.3 mm bore, \u00d8224.6 mm \u00d7 11.6 mm flange. Eight \u00d85.3 mm holes on a \u00d8134.8 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 96.11, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 99.6, "min": 29.9, "max": 249.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 49.3, "min": 2.0, "max": 67.3, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 224.6, "min": 124.9, "max": 288.3, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 11.6, "min": 3.5, "max": 39.8, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 67.4, "min": 44.9, "max": 101.1, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 8, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328900 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 96.11, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 99.6, \"min\": 29.9, \"max\": 249.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 49.3, \"min\": 2.0, \"max\": 67.3, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 224.6, \"min\": 124.9, \"max\": 288.3, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 11.6, \"min\": 3.5, \"max\": 39.8, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 67.4, \"min\": 44.9, \"max\": 101.1, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462c9d05_0337", "family": "revolved", "tier": 1, "seed": 1177328901, "symmetry": "radial", "op_count": 2, "ir_hash": "dc10925a46318d09", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 447000.0, "surface_area": 56000.0, "principal_moments": [252000000.0, 1790000000.0, 1790000000.0], "n_faces": 10, "n_edges": 17, "n_vertices": 10}, "dimensions": {"lines": ["Revolved body, \u00d849.73 mm \u00d7 197.9 mm tall with \u00d818.7 mm bore, \u00d882.3 mm \u00d7 34.8 mm flange.", "Chamfer 0.6 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d849.73 mm \u00d7 197.9 mm tall with \u00d818.7 mm bore, \u00d882.3 mm \u00d7 34.8 mm flange. Chamfer 0.6 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 49.73, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 197.9, "min": 59.4, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 18.7, "min": 2.0, "max": 34.8, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 82.3, "min": 59.7, "max": 149.2, "step": 1.0, "group": "Body", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 34.8, "min": 10.4, "max": 99.0, "step": 0.5, "group": "Body", "label": "Flange height (mm)"}, "end_chamfer": {"type": "float", "default": 0.6, "min": 0.1, "max": 1.8, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328901 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 49.73, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 197.9, \"min\": 59.4, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 18.7, \"min\": 2.0, \"max\": 34.8, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 82.3, \"min\": 59.7, \"max\": 149.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 34.8, \"min\": 10.4, \"max\": 99.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Flange height (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.6, \"min\": 0.1, \"max\": 1.8, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462c9d06_0338", "family": "block", "tier": 3, "seed": 1177328902, "symmetry": "radial", "op_count": 5, "ir_hash": "deab6ad1f005e2fd", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 261000.0, "surface_area": 40200.0, "principal_moments": [200000000.0, 260000000.0, 273000000.0], "n_faces": 17, "n_edges": 43, "n_vertices": 28}, "dimensions": {"lines": ["Rectangular body, 65 \u00d7 59.8 \u00d7 87.7 mm (W\u00d7D\u00d7H).", "Four \u00d83.2 mm holes on a \u00d839 mm bolt circle.", "Pocket 44.6 \u00d7 34.2 mm, 51 mm deep, in top face.", "Fillet radius 4.33 mm on vertical edges (optional, off by default).", "One \u00d84.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch, angled 10.9\u00b0 on the <X face."], "text": "Rectangular body, 65 \u00d7 59.8 \u00d7 87.7 mm (W\u00d7D\u00d7H). Four \u00d83.2 mm holes on a \u00d839 mm bolt circle. Pocket 44.6 \u00d7 34.2 mm, 51 mm deep, in top face. Fillet radius 4.33 mm on vertical edges (optional, off by default). One \u00d84.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch, angled 10.9\u00b0 on the <X face."}, "params": {"block_w": {"type": "float", "default": 65, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 59.8, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 87.7, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "bolt_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 19.5, "min": 13.0, "max": 29.2, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 4, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}, "pocket_w": {"type": "float", "default": 44.6, "min": 22.3, "max": 52.0, "step": 1.0, "group": "Pocket", "label": "Pocket width (mm)"}, "pocket_d": {"type": "float", "default": 34.2, "min": 17.1, "max": 47.8, "step": 1.0, "group": "Pocket", "label": "Pocket depth (mm)"}, "pocket_h": {"type": "float", "default": 51.0, "min": 20.4, "max": 74.5, "step": 0.5, "group": "Pocket", "label": "Pocket height (mm)"}, "filleted2": {"type": "bool", "default": false, "group": "Body", "label": "Fillet corners"}, "face_hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 7.7, "step": 0.5, "group": "Holes", "label": "Side hole diameter (mm)"}, "face_hole_tilt": {"type": "float", "default": 10.9, "min": 0.0, "max": 30.0, "step": 1.0, "group": "Holes", "label": "Side hole angle (deg)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328902 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 65, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 59.8, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 87.7, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 19.5, \"min\": 13.0, \"max\": 29.2, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 4, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n    \"pocket_w\": {\"type\": 'float', \"default\": 44.6, \"min\": 22.3, \"max\": 52.0, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket width (mm)'},\n    \"pocket_d\": {\"type\": 'float', \"default\": 34.2, \"min\": 17.1, \"max\": 47.8, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket depth (mm)'},\n    \"pocket_h\": {\"type\": 'float', \"default\": 51.0, \"min\": 20.4, \"max\": 74.5, \"step\": 0.5, \"group\": 'Pocket', \"label\": 'Pocket height (mm)'},\n    \"filleted2\": {\"type\": 'bool', \"default\": False, \"group\": 'Body', \"label\": 'Fillet corners'},\n    \"face_hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 7.7, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Side hole diameter (mm)'},\n    \"face_hole_tilt\": {\"type\": 'float', \"default\": 10.9, \"min\": 0.0, \"max\": 30.0, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Side hole angle (deg)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"pocket_w\"], p[\"pocket_d\"])\n        .cutBlind(-p[\"pocket_h\"])\n    )\n    if p[\"filleted2\"]:\n        result = result.edges('|Z').fillet(min(p[\"block_w\"], p[\"block_d\"]) * 0.07240449077930204)\n    result = (\n        result.faces('<X').workplane().transformed(rotate=(p[\"face_hole_tilt\"], 0, 0))\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"face_hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462c9d07_0339", "family": "compound", "tier": 2, "seed": 1177328903, "symmetry": "mirror_xy", "op_count": 5, "ir_hash": "03b4ba768fe21829", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 46000.0, "surface_area": 10800.0, "principal_moments": [8760000.0, 10900000.0, 12299999.999999998], "n_faces": 23, "n_edges": 55, "n_vertices": 35}, "dimensions": {"lines": ["Rectangular body, 43.04 \u00d7 33.2 \u00d7 31.6 mm (W\u00d7D\u00d7H).", "\u00d810.6 mm circular section attachment, 13.5 mm long, from back face with a \u00d84.2 mm bore.", "\u00d810.6 mm circular section attachment, 13.5 mm long, from front face with a \u00d84.2 mm bore.", "\u00d810.6 mm circular section attachment, 13.5 mm long, from right face with a \u00d84.2 mm bore.", "Four \u00d85.3 mm holes at the corners, 30.128 \u00d7 23.24 mm spacing."], "text": "Rectangular body, 43.04 \u00d7 33.2 \u00d7 31.6 mm (W\u00d7D\u00d7H). \u00d810.6 mm circular section attachment, 13.5 mm long, from back face with a \u00d84.2 mm bore. \u00d810.6 mm circular section attachment, 13.5 mm long, from front face with a \u00d84.2 mm bore. \u00d810.6 mm circular section attachment, 13.5 mm long, from right face with a \u00d84.2 mm bore. Four \u00d85.3 mm holes at the corners, 30.128 \u00d7 23.24 mm spacing."}, "params": {"block_w": {"type": "float", "default": 43.04, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body width (mm)"}, "block_d": {"type": "float", "default": 33.2, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body depth (mm)"}, "block_h": {"type": "float", "default": 31.6, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body height (mm)"}, "port_d": {"type": "float", "default": 10.6, "min": 4.2, "max": 14.2, "step": 1.0, "group": "Ports", "label": "Ports diameter (mm)"}, "port_len": {"type": "float", "default": 13.5, "min": 2.6, "max": 31.8, "step": 1.0, "group": "Ports", "label": "Port boss length (mm)"}, "port_bore": {"type": "float", "default": 4.2, "min": 2.0, "max": 7.6, "step": 0.5, "group": "Ports", "label": "Port bore diameter (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 7.5, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328903 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 43.04, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 33.2, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 31.6, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body height (mm)'},\n    \"port_d\": {\"type\": 'float', \"default\": 10.6, \"min\": 4.2, \"max\": 14.2, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Ports diameter (mm)'},\n    \"port_len\": {\"type\": 'float', \"default\": 13.5, \"min\": 2.6, \"max\": 31.8, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Port boss length (mm)'},\n    \"port_bore\": {\"type\": 'float', \"default\": 4.2, \"min\": 2.0, \"max\": 7.6, \"step\": 0.5, \"group\": 'Ports', \"label\": 'Port bore diameter (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 7.5, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462c9d08_0340", "family": "bracket", "tier": 2, "seed": 1177328904, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "2b8b4e9fc1b80086", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 35400.0, "surface_area": 19600.0, "principal_moments": [12799999.999999998, 52499999.99999999, 53499999.99999999], "n_faces": 18, "n_edges": 48, "n_vertices": 32}, "dimensions": {"lines": ["Z-bracket: base leg 65.35 mm, vertical leg 73.8 mm, top leg 46.9 mm, 48.73 mm wide, 4 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg; 4.3 mm corner gusset."], "text": "Z-bracket: base leg 65.35 mm, vertical leg 73.8 mm, top leg 46.9 mm, 48.73 mm wide, 4 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg; 4.3 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 65.35, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 73.8, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 48.73, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 4.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 46.9, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}, "gusset_t": {"type": "float", "default": 4.3, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328904 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 65.35, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 73.8, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 48.73, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 46.9, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _tl, _vl) * 0.4 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(0, _vl - _bt).lineTo(-_g, _vl - _bt)\n                    .lineTo(0, _vl - _bt - _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462c9d09_0341", "family": "compound", "tier": 1, "seed": 1177328905, "symmetry": "none", "op_count": 3, "ir_hash": "d0c1357945ca4786", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 63100.0, "surface_area": 9810.0, "principal_moments": [14999999.999999998, 16599999.999999998, 19500000.0], "n_faces": 10, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["Rectangular body, 44.61 \u00d7 33.8 \u00d7 41.5 mm (W\u00d7D\u00d7H).", "\u00d86.7 mm circular section attachment, 6.8 mm long, from front face.", "\u00d86.7 mm circular section attachment, 6.8 mm long, from right face."], "text": "Rectangular body, 44.61 \u00d7 33.8 \u00d7 41.5 mm (W\u00d7D\u00d7H). \u00d86.7 mm circular section attachment, 6.8 mm long, from front face. \u00d86.7 mm circular section attachment, 6.8 mm long, from right face."}, "params": {"block_w": {"type": "float", "default": 44.61, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body width (mm)"}, "block_d": {"type": "float", "default": 33.8, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body depth (mm)"}, "block_h": {"type": "float", "default": 41.5, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body height (mm)"}, "port_d": {"type": "float", "default": 6.7, "min": 2.7, "max": 15.2, "step": 1.0, "group": "Ports", "label": "Ports diameter (mm)"}, "port_len": {"type": "float", "default": 6.8, "min": 1.7, "max": 20.1, "step": 1.0, "group": "Ports", "label": "Port boss length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328905 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 44.61, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 33.8, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 41.5, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body height (mm)'},\n    \"port_d\": {\"type\": 'float', \"default\": 6.7, \"min\": 2.7, \"max\": 15.2, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Ports diameter (mm)'},\n    \"port_len\": {\"type\": 'float', \"default\": 6.8, \"min\": 1.7, \"max\": 20.1, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Port boss length (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9d0a_0342", "family": "plate", "tier": 2, "seed": 1177328906, "symmetry": "radial", "op_count": 3, "ir_hash": "0ece964e39ff9714", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 545.0, "surface_area": 604.0, "principal_moments": [5220.0, 18600.0, 23000.0], "n_faces": 20, "n_edges": 54, "n_vertices": 36}, "dimensions": {"lines": ["Rectangular body, 20 \u00d7 10 \u00d7 3 mm (W\u00d7D\u00d7H).", "Four \u00d83.2 mm holes on a \u00d812 mm bolt circle.", "Fillet radius 0.401 mm on vertical edges."], "text": "Rectangular body, 20 \u00d7 10 \u00d7 3 mm (W\u00d7D\u00d7H). Four \u00d83.2 mm holes on a \u00d812 mm bolt circle. Fillet radius 0.401 mm on vertical edges."}, "params": {"plate_w": {"type": "float", "default": 20.0, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 10.0, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 3.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "bolt_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 6.0, "min": 4.0, "max": 9.0, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 4, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328906 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 20.0, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 10.0, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 3.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 6.0, \"min\": 4.0, \"max\": 9.0, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 4, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"plate_w\"], p[\"plate_d\"]) * 0.04006276252199245)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462c9d0b_0343", "family": "bracket", "tier": 2, "seed": 1177328907, "symmetry": "none", "op_count": 1, "ir_hash": "ff8d43cabf854a5a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 26000.0, "surface_area": 14700.0, "principal_moments": [7080000.0, 30999999.999999996, 31299999.999999996], "n_faces": 18, "n_edges": 48, "n_vertices": 32}, "dimensions": {"lines": ["Z-bracket: base leg 61.7 mm, vertical leg 66.1 mm, top leg 40.2 mm, 40 mm wide, 4 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg; 4.1 mm corner gusset."], "text": "Z-bracket: base leg 61.7 mm, vertical leg 66.1 mm, top leg 40.2 mm, 40 mm wide, 4 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg; 4.1 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 61.7, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 66.1, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 40, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 4.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 40.2, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}, "gusset_t": {"type": "float", "default": 4.1, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328907 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 61.7, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 66.1, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 40, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 40.2, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 4.1, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _tl, _vl) * 0.4 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(0, _vl - _bt).lineTo(-_g, _vl - _bt)\n                    .lineTo(0, _vl - _bt - _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462c9d0c_0344", "family": "compound", "tier": 2, "seed": 1177328908, "symmetry": "mirror_xy", "op_count": 5, "ir_hash": "aa8c3492d5f369ae", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 16300.0, "surface_area": 5200.0, "principal_moments": [1550000.0, 1920000.0, 2040000.0], "n_faces": 36, "n_edges": 94, "n_vertices": 61}, "dimensions": {"lines": ["Rectangular body, 30 \u00d7 24.6 \u00d7 22.9 mm (W\u00d7D\u00d7H).", "6-sided polygon section, 6 mm across corners attachment, 4.1 mm long, from front face with a \u00d82.3 mm bore.", "6-sided polygon section, 6 mm across corners attachment, 4.1 mm long, from left face with a \u00d82.3 mm bore.", "6-sided polygon section, 6 mm across corners attachment, 4.1 mm long, from back face with a \u00d82.3 mm bore.", "Four \u00d84.3 mm holes at the corners, 21 \u00d7 17.22 mm spacing."], "text": "Rectangular body, 30 \u00d7 24.6 \u00d7 22.9 mm (W\u00d7D\u00d7H). 6-sided polygon section, 6 mm across corners attachment, 4.1 mm long, from front face with a \u00d82.3 mm bore. 6-sided polygon section, 6 mm across corners attachment, 4.1 mm long, from left face with a \u00d82.3 mm bore. 6-sided polygon section, 6 mm across corners attachment, 4.1 mm long, from back face with a \u00d82.3 mm bore. Four \u00d84.3 mm holes at the corners, 21 \u00d7 17.22 mm spacing."}, "params": {"block_w": {"type": "float", "default": 30.0, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body width (mm)"}, "block_d": {"type": "float", "default": 24.6, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body depth (mm)"}, "block_h": {"type": "float", "default": 22.9, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body height (mm)"}, "port_sides": {"type": "int", "default": 6, "min": 3, "max": 8, "step": 1, "group": "Ports", "label": "Ports sides"}, "port_r": {"type": "float", "default": 3.0, "min": 1.5, "max": 5.2, "step": 1.0, "group": "Ports", "label": "Ports circumradius (mm)"}, "port_len": {"type": "float", "default": 4.1, "min": 1.3, "max": 15.6, "step": 1.0, "group": "Ports", "label": "Port boss length (mm)"}, "port_bore": {"type": "float", "default": 2.3, "min": 2.0, "max": 3.7, "step": 0.5, "group": "Ports", "label": "Port bore diameter (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 5.5, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328908 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 30.0, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 24.6, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 22.9, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body height (mm)'},\n    \"port_sides\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Ports', \"label\": 'Ports sides'},\n    \"port_r\": {\"type\": 'float', \"default\": 3.0, \"min\": 1.5, \"max\": 5.2, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Ports circumradius (mm)'},\n    \"port_len\": {\"type\": 'float', \"default\": 4.1, \"min\": 1.3, \"max\": 15.6, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Port boss length (mm)'},\n    \"port_bore\": {\"type\": 'float', \"default\": 2.3, \"min\": 2.0, \"max\": 3.7, \"step\": 0.5, \"group\": 'Ports', \"label\": 'Port bore diameter (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 5.5, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"port_sides\"], p[\"port_r\"] * 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"port_sides\"], p[\"port_r\"] * 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"port_sides\"], p[\"port_r\"] * 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462c9d0d_0345", "family": "tapped", "tier": 1, "seed": 1177328909, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "ac4511a703c373d5", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 42500.0, "surface_area": 9910.0, "principal_moments": [6910000.0, 13199999.999999998, 17600000.0], "n_faces": 758, "n_edges": 2076, "n_vertices": 1320}, "dimensions": {"lines": ["Four M5x0.8 tapped holes in a plate."], "text": "Four M5x0.8 tapped holes in a plate."}, "params": {"major_d": {"type": "float", "default": 5.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 0.8, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 18.7, "min": 6.0, "max": 33.7, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "plate_w": {"type": "float", "default": 58.24, "min": 34.9, "max": 93.2, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 40.1, "min": 24.1, "max": 64.2, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328909 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 0.8, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 18.7, \"min\": 6.0, \"max\": 33.7, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"plate_w\": {\"type\": 'float', \"default\": 58.24, \"min\": 34.9, \"max\": 93.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 40.1, \"min\": 24.1, \"max\": 64.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n}\n\n\ndef build(p):\n\n    _W, _D, _H = p[\"plate_w\"], p[\"plate_d\"], p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Box(_W, _D, _H)\n    _sx, _sy = p[\"plate_w\"] * 0.6, p[\"plate_d\"] * 0.6\n    _locs = [(_xx, _yy) for _xx in (-_sx / 2, _sx / 2) for _yy in (-_sy / 2, _sy / 2)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462c9d0e_0346", "family": "bracket", "tier": 3, "seed": 1177328910, "symmetry": "none", "op_count": 1, "ir_hash": "a1db9f712c68cc72", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 9700.0, "surface_area": 4730.0, "principal_moments": [1240000.0, 1330000.0, 2000000.0], "n_faces": 17, "n_edges": 47, "n_vertices": 30}, "dimensions": {"lines": ["L-bracket: base leg 28.2 mm, vertical leg 26.5 mm, 35.02 mm wide, 6 mm thick; 2 \u00d7 \u00d86.4 mm holes per leg; 6 mm corner gusset."], "text": "L-bracket: base leg 28.2 mm, vertical leg 26.5 mm, 35.02 mm wide, 6 mm thick; 2 \u00d7 \u00d86.4 mm holes per leg; 6 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 28.2, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 26.5, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 35.02, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 6.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 2, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 6.0, "min": 3.0, "max": 17.5, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328910 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 28.2, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 26.5, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 35.02, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 2, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 17.5, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462c9d0f_0347", "family": "block", "tier": 2, "seed": 1177328911, "symmetry": "none", "op_count": 3, "ir_hash": "632461ebb650b038", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 49400.0, "surface_area": 11500.0, "principal_moments": [9590000.0, 15999999.999999998, 22600000.0], "n_faces": 14, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 45 \u00d7 19.3 \u00d7 59.4 mm (W\u00d7D\u00d7H).", "Four \u00d83.2 mm holes at the corners, 31.5 \u00d7 13.51 mm spacing.", "Fillet radius 2.277 mm on vertical edges."], "text": "Rectangular body, 45 \u00d7 19.3 \u00d7 59.4 mm (W\u00d7D\u00d7H). Four \u00d83.2 mm holes at the corners, 31.5 \u00d7 13.51 mm spacing. Fillet radius 2.277 mm on vertical edges."}, "params": {"block_w": {"type": "float", "default": 45, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 19.3, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 59.4, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 4.3, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328911 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 45, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 19.3, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 59.4, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 4.3, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"block_w\"], p[\"block_d\"]) * 0.11798864100462436)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462c9d10_0348", "family": "revolved", "tier": 1, "seed": 1177328912, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "7520c1a9160c7210", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 156000.0, "surface_area": 27400.0, "principal_moments": [71300000.0, 151000000.0, 151000000.0], "n_faces": 4, "n_edges": 6, "n_vertices": 4}, "dimensions": {"lines": ["Revolved body, \u00d853.72 mm \u00d7 94.1 mm tall with \u00d827.9 mm bore."], "text": "Revolved body, \u00d853.72 mm \u00d7 94.1 mm tall with \u00d827.9 mm bore."}, "params": {"outer_d": {"type": "float", "default": 53.72, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 94.1, "min": 28.2, "max": 282.3, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 27.9, "min": 2.0, "max": 37.6, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328912 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 53.72, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 94.1, \"min\": 28.2, \"max\": 282.3, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 27.9, \"min\": 2.0, \"max\": 37.6, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462c9d11_0349", "family": "enclosure", "tier": 1, "seed": 1177328913, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "7720b59ba9a11443", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 53700.0, "surface_area": 40600.0, "principal_moments": [43800000.0, 68000000.0, 73700000.0], "n_faces": 11, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 85 \u00d7 55.9 \u00d7 58.6 mm (W\u00d7D\u00d7H).", "Hollowed to 2.7 mm wall thickness, open at top face."], "text": "Rectangular body, 85 \u00d7 55.9 \u00d7 58.6 mm (W\u00d7D\u00d7H). Hollowed to 2.7 mm wall thickness, open at top face."}, "params": {"enc_w": {"type": "float", "default": 85, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 55.9, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 58.6, "min": 23.4, "max": 117.2, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 2.7, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328913 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 85, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 55.9, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 58.6, \"min\": 23.4, \"max\": 117.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 2.7, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462c9d12_0350", "family": "compound", "tier": 2, "seed": 1177328914, "symmetry": "none", "op_count": 3, "ir_hash": "1a988fd410ef3b87", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 21500.0, "surface_area": 5350.0, "principal_moments": [2580000.0, 2940000.0, 3060000.0], "n_faces": 13, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Rectangular body, 30 \u00d7 27.4 \u00d7 26.2 mm (W\u00d7D\u00d7H).", "5-sided polygon section, 7.2 mm across corners attachment, 12.2 mm long, from left face with a \u00d83.5 mm bore.", "Four \u00d83.2 mm holes at the corners, 21 \u00d7 19.18 mm spacing."], "text": "Rectangular body, 30 \u00d7 27.4 \u00d7 26.2 mm (W\u00d7D\u00d7H). 5-sided polygon section, 7.2 mm across corners attachment, 12.2 mm long, from left face with a \u00d83.5 mm bore. Four \u00d83.2 mm holes at the corners, 21 \u00d7 19.18 mm spacing."}, "params": {"block_w": {"type": "float", "default": 30, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 27.4, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 26.2, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "spig_sides": {"type": "int", "default": 5, "min": 3, "max": 8, "step": 1, "group": "Spigot", "label": "Spigot sides"}, "spig_r": {"type": "float", "default": 3.6, "min": 1.8, "max": 9.2, "step": 1.0, "group": "Spigot", "label": "Spigot circumradius (mm)"}, "spig_len": {"type": "float", "default": 12.2, "min": 1.7, "max": 23.3, "step": 1.0, "group": "Spigot", "label": "Spigot length (mm)"}, "spig_bore": {"type": "float", "default": 3.5, "min": 2.0, "max": 4.2, "step": 0.5, "group": "Spigot", "label": "Bore diameter (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 6.2, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328914 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 30, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 27.4, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 26.2, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"spig_sides\": {\"type\": 'int', \"default\": 5, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Spigot', \"label\": 'Spigot sides'},\n    \"spig_r\": {\"type\": 'float', \"default\": 3.6, \"min\": 1.8, \"max\": 9.2, \"step\": 1.0, \"group\": 'Spigot', \"label\": 'Spigot circumradius (mm)'},\n    \"spig_len\": {\"type\": 'float', \"default\": 12.2, \"min\": 1.7, \"max\": 23.3, \"step\": 1.0, \"group\": 'Spigot', \"label\": 'Spigot length (mm)'},\n    \"spig_bore\": {\"type\": 'float', \"default\": 3.5, \"min\": 2.0, \"max\": 4.2, \"step\": 0.5, \"group\": 'Spigot', \"label\": 'Bore diameter (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 6.2, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"spig_sides\"], p[\"spig_r\"] * 2).extrude(p[\"spig_len\"])\n    )\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"spig_bore\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9d13_0351", "family": "plate", "tier": 2, "seed": 1177328915, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "8c556b0327f182c6", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 12000.0, "surface_area": 6110.0, "principal_moments": [979000.0, 4720000.0, 5630000.0], "n_faces": 18, "n_edges": 48, "n_vertices": 32}, "dimensions": {"lines": ["Rectangular body, 70.92 \u00d7 31.9 \u00d7 6 mm (W\u00d7D\u00d7H).", "Four \u00d85.3 mm counterbored holes (\u00d810.6 mm \u00d7 4.2 mm counterbore) at the corners, 49.644 \u00d7 22.33 mm spacing."], "text": "Rectangular body, 70.92 \u00d7 31.9 \u00d7 6 mm (W\u00d7D\u00d7H). Four \u00d85.3 mm counterbored holes (\u00d810.6 mm \u00d7 4.2 mm counterbore) at the corners, 49.644 \u00d7 22.33 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 70.92, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 31.9, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 6.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 7.2, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "cb_d": {"type": "float", "default": 10.6, "min": 7.9, "max": 15.9, "step": 0.5, "group": "Holes", "label": "Counterbore diameter (mm)"}, "cb_depth": {"type": "float", "default": 4.2, "min": 2.1, "max": 8.4, "step": 0.5, "group": "Holes", "label": "Counterbore depth (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328915 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 70.92, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 31.9, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 7.2, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"cb_d\": {\"type\": 'float', \"default\": 10.6, \"min\": 7.9, \"max\": 15.9, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Counterbore diameter (mm)'},\n    \"cb_depth\": {\"type\": 'float', \"default\": 4.2, \"min\": 2.1, \"max\": 8.4, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Counterbore depth (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().cboreHole(p[\"hole_d\"], p[\"cb_d\"], p[\"cb_depth\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462c9d14_0352", "family": "threaded", "tier": 0, "seed": 1177328916, "symmetry": "none", "op_count": 1, "ir_hash": "bc2c2325f0f76843", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 14400.0, "surface_area": 5490.0, "principal_moments": [621000.0, 3750000.0, 3750000.0], "n_faces": 380, "n_edges": 1042, "n_vertices": 664}, "dimensions": {"lines": ["M20x2.5 external thread, 53.8 mm long."], "text": "M20x2.5 external thread, 53.8 mm long."}, "params": {"major_d": {"type": "float", "default": 20.0, "min": 4.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Major diameter (mm)"}, "pitch": {"type": "float", "default": 2.5, "min": 1.25, "max": 5.0, "step": 0.05, "group": "Thread", "label": "Pitch (mm)"}, "thread_len": {"type": "float", "default": 53.8, "min": 21.5, "max": 107.6, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328916 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 20.0, \"min\": 4.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Major diameter (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 2.5, \"min\": 1.25, \"max\": 5.0, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Pitch (mm)'},\n    \"thread_len\": {\"type\": 'float', \"default\": 53.8, \"min\": 21.5, \"max\": 107.6, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.IsoThread(major_diameter=p[\"major_d\"], pitch=p[\"pitch\"], length=p[\"thread_len\"], external=True, end_finishes=(\"fade\", \"fade\"))\n    _r = _thr.min_radius if hasattr(_thr, 'min_radius') else _thr.root_radius\n    _shank = _bd.Cylinder(radius=_r, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = _shank + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462c9d15_0353", "family": "sketched", "tier": 1, "seed": 1177328917, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "e609ef92d9fc26a5", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 11700.0, "surface_area": 3810.0, "principal_moments": [912000.0, 1720000.0, 2440000.0], "n_faces": 9, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["freeform sketched section (6 segments: 4 straight, 2 arcs), ~47.562 \u00d7 34.915 mm, extruded 10 mm thick.", "One \u00d85.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "freeform sketched section (6 segments: 4 straight, 2 arcs), ~47.562 \u00d7 34.915 mm, extruded 10 mm thick. One \u00d85.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"sk_w": {"type": "float", "default": 60, "min": 30.0, "max": 108.0, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 52.26, "min": 26.1, "max": 94.1, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "sk_t": {"type": "float", "default": 10, "min": 4.0, "max": 22.0, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "sk_hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 10.6, "step": 0.5, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328917 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 60, \"min\": 30.0, \"max\": 108.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 52.26, \"min\": 26.1, \"max\": 94.1, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"sk_t\": {\"type\": 'float', \"default\": 10, \"min\": 4.0, \"max\": 22.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"sk_hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 10.6, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.3686, p[\"sk_h\"] * -0.0885).lineTo(p[\"sk_w\"] * 0.2515, p[\"sk_h\"] * 0.2302).lineTo(p[\"sk_w\"] * -0.2778, p[\"sk_h\"] * 0.2769).lineTo(p[\"sk_w\"] * -0.4241, p[\"sk_h\"] * 0.0845).lineTo(p[\"sk_w\"] * -0.1019, p[\"sk_h\"] * -0.3496).threePointArc((p[\"sk_w\"] * 0.0357, p[\"sk_h\"] * -0.4105), (p[\"sk_w\"] * 0.1649, p[\"sk_h\"] * -0.3912)).threePointArc((p[\"sk_w\"] * 0.3065, p[\"sk_h\"] * -0.2693), (p[\"sk_w\"] * 0.3686, p[\"sk_h\"] * -0.0885)).close().extrude(p[\"sk_t\"]))\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"sk_hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9d16_0354", "family": "plate", "tier": 0, "seed": 1177328918, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "5f5e3f94543cc4b7", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 114000.0, "surface_area": 23700.0, "principal_moments": [68900000.0, 122000000.0, 188000000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 112.75 \u00d7 84.3 \u00d7 12 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 112.75 \u00d7 84.3 \u00d7 12 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 112.75, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 84.3, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328918 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 112.75, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 84.3, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462c9d17_0355", "family": "ribbed", "tier": 1, "seed": 1177328919, "symmetry": "none", "op_count": 2, "ir_hash": "e04bda5a50186801", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 41000.0, "surface_area": 16200.0, "principal_moments": [15599999.999999998, 25599999.999999996, 38300000.0], "n_faces": 16, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 75 \u00d7 65.9 \u00d7 6 mm (W\u00d7D\u00d7H).", "Two ribs, 5.4 mm thick, 17.5 mm tall."], "text": "Rectangular body, 75 \u00d7 65.9 \u00d7 6 mm (W\u00d7D\u00d7H). Two ribs, 5.4 mm thick, 17.5 mm tall."}, "params": {"base_w": {"type": "float", "default": 75, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 65.9, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 6.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 2, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 17.5, "min": 7.0, "max": 35.0, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 5.4, "min": 1.0, "max": 13.5, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328919 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 75, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 65.9, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 2, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 17.5, \"min\": 7.0, \"max\": 35.0, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 5.4, \"min\": 1.0, \"max\": 13.5, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462c9d18_0356", "family": "block", "tier": 2, "seed": 1177328920, "symmetry": "none", "op_count": 3, "ir_hash": "77f04ba0d77cb4ae", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 425000.0, "surface_area": 51100.0, "principal_moments": [431000000.0, 482000000.0, 710000000.0], "n_faces": 15, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 98.53 \u00d7 50.9 \u00d7 100 mm (W\u00d7D\u00d7H).", "Four \u00d83.2 mm holes at the corners, 68.971 \u00d7 35.63 mm spacing.", "Pocket 59.6 \u00d7 30.3 mm, 40.4 mm deep, in top face."], "text": "Rectangular body, 98.53 \u00d7 50.9 \u00d7 100 mm (W\u00d7D\u00d7H). Four \u00d83.2 mm holes at the corners, 68.971 \u00d7 35.63 mm spacing. Pocket 59.6 \u00d7 30.3 mm, 40.4 mm deep, in top face."}, "params": {"block_w": {"type": "float", "default": 98.53, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 50.9, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 100.0, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 11.5, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "pocket_w": {"type": "float", "default": 59.6, "min": 29.8, "max": 78.8, "step": 1.0, "group": "Pocket", "label": "Pocket width (mm)"}, "pocket_d": {"type": "float", "default": 30.3, "min": 15.2, "max": 40.7, "step": 1.0, "group": "Pocket", "label": "Pocket depth (mm)"}, "pocket_h": {"type": "float", "default": 40.4, "min": 16.2, "max": 85.0, "step": 0.5, "group": "Pocket", "label": "Pocket height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328920 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 98.53, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 50.9, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 100.0, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 11.5, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"pocket_w\": {\"type\": 'float', \"default\": 59.6, \"min\": 29.8, \"max\": 78.8, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket width (mm)'},\n    \"pocket_d\": {\"type\": 'float', \"default\": 30.3, \"min\": 15.2, \"max\": 40.7, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket depth (mm)'},\n    \"pocket_h\": {\"type\": 'float', \"default\": 40.4, \"min\": 16.2, \"max\": 85.0, \"step\": 0.5, \"group\": 'Pocket', \"label\": 'Pocket height (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"pocket_w\"], p[\"pocket_d\"])\n        .cutBlind(-p[\"pocket_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462c9d19_0357", "family": "bracket", "tier": 1, "seed": 1177328921, "symmetry": "none", "op_count": 1, "ir_hash": "6a73eda02ebea9d7", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 18900.0, "surface_area": 13700.0, "principal_moments": [6630000.0, 10200000.0, 14599999.999999998], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Z-bracket: base leg 40.74 mm, vertical leg 41.7 mm, top leg 30.7 mm, 59.07 mm wide, 3 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."], "text": "Z-bracket: base leg 40.74 mm, vertical leg 41.7 mm, top leg 30.7 mm, 59.07 mm wide, 3 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 40.74, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 41.7, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 59.07, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 3.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 30.7, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328921 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 40.74, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 41.7, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 59.07, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 30.7, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9d1a_0358", "family": "plate", "tier": 0, "seed": 1177328922, "symmetry": "none", "op_count": 1, "ir_hash": "ec7255b0a07ea98f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 17000.0, "surface_area": 9560.0, "principal_moments": [5100000.0, 7210000.0, 12299999.999999998], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 71.16 \u00d7 59.8 \u00d7 4 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 71.16 \u00d7 59.8 \u00d7 4 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 71.16, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 59.8, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 4.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328922 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 71.16, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 59.8, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 4.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462c9d1b_0359", "family": "flanged", "tier": 1, "seed": 1177328923, "symmetry": "radial", "op_count": 2, "ir_hash": "5905d93ef66d7c20", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 812000.0, "surface_area": 109000.0, "principal_moments": [1960000000.0, 1960000000.0, 2980000000.0], "n_faces": 12, "n_edges": 27, "n_vertices": 18}, "dimensions": {"lines": ["Revolved body, \u00d898.89 mm \u00d7 78.3 mm tall with \u00d843.5 mm bore, \u00d8213.8 mm \u00d7 11.6 mm flange.", "Six \u00d83.2 mm holes on a \u00d8128.2 mm bolt circle."], "text": "Revolved body, \u00d898.89 mm \u00d7 78.3 mm tall with \u00d843.5 mm bore, \u00d8213.8 mm \u00d7 11.6 mm flange. Six \u00d83.2 mm holes on a \u00d8128.2 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 98.89, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 78.3, "min": 23.5, "max": 195.8, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 43.5, "min": 2.0, "max": 69.2, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 213.8, "min": 128.6, "max": 296.7, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 11.6, "min": 3.5, "max": 31.3, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 64.1, "min": 42.8, "max": 96.2, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 6, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328923 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 98.89, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 78.3, \"min\": 23.5, \"max\": 195.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 43.5, \"min\": 2.0, \"max\": 69.2, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 213.8, \"min\": 128.6, \"max\": 296.7, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 11.6, \"min\": 3.5, \"max\": 31.3, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 64.1, \"min\": 42.8, \"max\": 96.2, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9d1c_0360", "family": "plate", "tier": 2, "seed": 1177328924, "symmetry": "none", "op_count": 3, "ir_hash": "87be0f1cafd37e31", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 13000.0, "surface_area": 5180.0, "principal_moments": [700000.0, 5150000.0, 5710000.0], "n_faces": 19, "n_edges": 51, "n_vertices": 34}, "dimensions": {"lines": ["Rectangular body, 68.39 \u00d7 24.2 \u00d7 8 mm (W\u00d7D\u00d7H).", "Nine \u00d82.1 mm holes in two staggered rows, 12.8 \u00d7 14.5 mm pitch.", "Chamfer 0.9 mm on vertical edges."], "text": "Rectangular body, 68.39 \u00d7 24.2 \u00d7 8 mm (W\u00d7D\u00d7H). Nine \u00d82.1 mm holes in two staggered rows, 12.8 \u00d7 14.5 mm pitch. Chamfer 0.9 mm on vertical edges."}, "params": {"plate_w": {"type": "float", "default": 68.39, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 24.2, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 2.1, "min": 2.0, "max": 2.4, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 5, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}, "chamfer_d": {"type": "float", "default": 0.9, "min": 0.9, "max": 1.5, "step": 0.5, "group": "Body", "label": "Chamfer distance (mm)"}, "chamfered": {"type": "bool", "default": true, "group": "Body", "label": "Chamfer edges"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328924 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 68.39, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 24.2, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 2.1, \"min\": 2.0, \"max\": 2.4, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 5, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n    \"chamfer_d\": {\"type\": 'float', \"default\": 0.9, \"min\": 0.9, \"max\": 1.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Chamfer distance (mm)'},\n    \"chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Chamfer edges'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 12.8\n    _ssy = 14.5\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    if p[\"chamfered\"]:\n        result = result.edges('|Z').chamfer(p[\"chamfer_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462c9d1d_0361", "family": "compound", "tier": 2, "seed": 1177328925, "symmetry": "mirror_xy", "op_count": 3, "ir_hash": "119571ac8413bb81", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 212000.0, "surface_area": 26500.0, "principal_moments": [125000000.0, 128000000.0, 185000000.0], "n_faces": 14, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["Rectangular body, 65 \u00d7 43.9 \u00d7 73.3 mm (W\u00d7D\u00d7H).", "6-sided polygon section, 18.6 mm across corners attachment, 39.5 mm long, from left face with a \u00d88.4 mm bore.", "Four \u00d84.3 mm holes at the corners, 45.5 \u00d7 30.73 mm spacing."], "text": "Rectangular body, 65 \u00d7 43.9 \u00d7 73.3 mm (W\u00d7D\u00d7H). 6-sided polygon section, 18.6 mm across corners attachment, 39.5 mm long, from left face with a \u00d88.4 mm bore. Four \u00d84.3 mm holes at the corners, 45.5 \u00d7 30.73 mm spacing."}, "params": {"block_w": {"type": "float", "default": 65, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 43.9, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 73.3, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "spig_sides": {"type": "int", "default": 6, "min": 3, "max": 8, "step": 1, "group": "Spigot", "label": "Spigot sides"}, "spig_r": {"type": "float", "default": 9.3, "min": 4.7, "max": 15.3, "step": 1.0, "group": "Spigot", "label": "Spigot circumradius (mm)"}, "spig_len": {"type": "float", "default": 39.5, "min": 4.8, "max": 64.4, "step": 1.0, "group": "Spigot", "label": "Spigot length (mm)"}, "spig_bore": {"type": "float", "default": 8.4, "min": 2.0, "max": 11.6, "step": 0.5, "group": "Spigot", "label": "Bore diameter (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 9.9, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328925 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 65, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 43.9, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 73.3, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"spig_sides\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Spigot', \"label\": 'Spigot sides'},\n    \"spig_r\": {\"type\": 'float', \"default\": 9.3, \"min\": 4.7, \"max\": 15.3, \"step\": 1.0, \"group\": 'Spigot', \"label\": 'Spigot circumradius (mm)'},\n    \"spig_len\": {\"type\": 'float', \"default\": 39.5, \"min\": 4.8, \"max\": 64.4, \"step\": 1.0, \"group\": 'Spigot', \"label\": 'Spigot length (mm)'},\n    \"spig_bore\": {\"type\": 'float', \"default\": 8.4, \"min\": 2.0, \"max\": 11.6, \"step\": 0.5, \"group\": 'Spigot', \"label\": 'Bore diameter (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 9.9, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"spig_sides\"], p[\"spig_r\"] * 2).extrude(p[\"spig_len\"])\n    )\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"spig_bore\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462c9d1e_0362", "family": "sketched", "tier": 0, "seed": 1177328926, "symmetry": "none", "op_count": 1, "ir_hash": "3172f539a8941808", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 32100.0, "surface_area": 6180.0, "principal_moments": [4130000.0, 6690000.0, 8680000.0], "n_faces": 7, "n_edges": 15, "n_vertices": 10}, "dimensions": {"lines": ["freeform sketched section (5 segments: 1 straight, 2 arcs, 2 curves), ~54.503 \u00d7 41.932 mm, extruded 20 mm thick."], "text": "freeform sketched section (5 segments: 1 straight, 2 arcs, 2 curves), ~54.503 \u00d7 41.932 mm, extruded 20 mm thick."}, "params": {"sk_w": {"type": "float", "default": 70.93, "min": 35.5, "max": 127.7, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 55, "min": 27.5, "max": 99.0, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "sk_t": {"type": "float", "default": 20, "min": 8.0, "max": 44.0, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328926 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 70.93, \"min\": 35.5, \"max\": 127.7, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 55, \"min\": 27.5, \"max\": 99.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"sk_t\": {\"type\": 'float', \"default\": 20, \"min\": 8.0, \"max\": 44.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.4111, p[\"sk_h\"] * 0.052).bezier([(p[\"sk_w\"] * 0.4111, p[\"sk_h\"] * 0.052), (p[\"sk_w\"] * 0.2547, p[\"sk_h\"] * 0.2504), (p[\"sk_w\"] * 0.0309, p[\"sk_h\"] * 0.3675)]).lineTo(p[\"sk_w\"] * -0.3573, p[\"sk_h\"] * 0.1185).bezier([(p[\"sk_w\"] * -0.3573, p[\"sk_h\"] * 0.1185), (p[\"sk_w\"] * -0.3648, p[\"sk_h\"] * 0.0182), (p[\"sk_w\"] * -0.3362, p[\"sk_h\"] * -0.0783)]).threePointArc((p[\"sk_w\"] * -0.0856, p[\"sk_h\"] * -0.348), (p[\"sk_w\"] * 0.213, p[\"sk_h\"] * -0.3949)).threePointArc((p[\"sk_w\"] * 0.3581, p[\"sk_h\"] * -0.198), (p[\"sk_w\"] * 0.4111, p[\"sk_h\"] * 0.052)).close().extrude(p[\"sk_t\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462c9d1f_0363", "family": "bracket", "tier": 1, "seed": 1177328927, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "0fb4291abaca692a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 27500.0, "surface_area": 9840.0, "principal_moments": [7120000.0, 24599999.999999996, 28799999.999999996], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["L-bracket: base leg 80 mm, vertical leg 68.1 mm, 25 mm wide, 8 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."], "text": "L-bracket: base leg 80 mm, vertical leg 68.1 mm, 25 mm wide, 8 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 80, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 68.1, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 25, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 8.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328927 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 80, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 68.1, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 25, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9d20_0364", "family": "plate", "tier": 1, "seed": 1177328928, "symmetry": "none", "op_count": 2, "ir_hash": "a2d1b130dfc0500b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 80500.0, "surface_area": 24500.0, "principal_moments": [60999999.99999999, 78400000.0, 139000000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 108.69 \u00d7 95.8 \u00d7 8 mm (W\u00d7D\u00d7H).", "Four \u00d810.5 mm holes at the corners, 76.083 \u00d7 67.06 mm spacing."], "text": "Rectangular body, 108.69 \u00d7 95.8 \u00d7 8 mm (W\u00d7D\u00d7H). Four \u00d810.5 mm holes at the corners, 76.083 \u00d7 67.06 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 108.69, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 95.8, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 10.5, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328928 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 108.69, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 95.8, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 10.5, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462c9d21_0365", "family": "block", "tier": 1, "seed": 1177328929, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "65ed05f1b3ad4496", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 218000.0, "surface_area": 27400.0, "principal_moments": [126000000.0, 138000000.0, 143000000.0], "n_faces": 11, "n_edges": 27, "n_vertices": 18}, "dimensions": {"lines": ["Rectangular body, 60 \u00d7 57.3 \u00d7 65.4 mm (W\u00d7D\u00d7H).", "Five \u00d85.3 mm holes in two staggered rows, 22.5 \u00d7 26 mm pitch."], "text": "Rectangular body, 60 \u00d7 57.3 \u00d7 65.4 mm (W\u00d7D\u00d7H). Five \u00d85.3 mm holes in two staggered rows, 22.5 \u00d7 26 mm pitch."}, "params": {"block_w": {"type": "float", "default": 60, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 57.3, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 65.4, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 5.7, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 3, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328929 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 60, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 57.3, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 65.4, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 5.7, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 3, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 22.5\n    _ssy = 26.0\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462c9d22_0366", "family": "flanged", "tier": 1, "seed": 1177328930, "symmetry": "none", "op_count": 2, "ir_hash": "3dfb33c9a1e99b3b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 369000.0, "surface_area": 51900.0, "principal_moments": [414000000.0, 414000000.0, 561000000.0], "n_faces": 14, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["Revolved body, \u00d877.11 mm \u00d7 61.7 mm tall with \u00d825 mm bore, \u00d8138.4 mm \u00d7 10.8 mm flange.", "Eight \u00d84.3 mm holes on a \u00d883 mm bolt circle."], "text": "Revolved body, \u00d877.11 mm \u00d7 61.7 mm tall with \u00d825 mm bore, \u00d8138.4 mm \u00d7 10.8 mm flange. Eight \u00d84.3 mm holes on a \u00d883 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 77.11, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 61.7, "min": 18.5, "max": 154.2, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 25.0, "min": 2.0, "max": 54.0, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 138.4, "min": 100.2, "max": 231.3, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 10.8, "min": 3.2, "max": 24.7, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 41.5, "min": 27.7, "max": 62.3, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 8, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328930 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 77.11, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 61.7, \"min\": 18.5, \"max\": 154.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 25.0, \"min\": 2.0, \"max\": 54.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 138.4, \"min\": 100.2, \"max\": 231.3, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 10.8, \"min\": 3.2, \"max\": 24.7, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 41.5, \"min\": 27.7, \"max\": 62.3, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462c9d23_0367", "family": "enclosure", "tier": 1, "seed": 1177328931, "symmetry": "none", "op_count": 2, "ir_hash": "51d4ae9214f67e4e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 65500.0, "surface_area": 60200.0, "principal_moments": [77000000.0, 104000000.0, 134000000.0], "n_faces": 11, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 100 \u00d7 46.7 \u00d7 90.4 mm (W\u00d7D\u00d7H).", "Hollowed to 2.2 mm wall thickness, open at top face."], "text": "Rectangular body, 100 \u00d7 46.7 \u00d7 90.4 mm (W\u00d7D\u00d7H). Hollowed to 2.2 mm wall thickness, open at top face."}, "params": {"enc_w": {"type": "float", "default": 100, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 46.7, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 90.4, "min": 36.2, "max": 180.8, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 2.2, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328931 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 100, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 46.7, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 90.4, \"min\": 36.2, \"max\": 180.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 2.2, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462c9d24_0368", "family": "bracket", "tier": 2, "seed": 1177328932, "symmetry": "none", "op_count": 1, "ir_hash": "d3c9f030025b61c7", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 21000.0, "surface_area": 11900.0, "principal_moments": [5870000.0, 18900000.0, 22100000.0], "n_faces": 15, "n_edges": 37, "n_vertices": 24}, "dimensions": {"lines": ["L-bracket: base leg 75 mm, vertical leg 79.9 mm, 30 mm wide, 4 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 4.2 mm corner gusset."], "text": "L-bracket: base leg 75 mm, vertical leg 79.9 mm, 30 mm wide, 4 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 4.2 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 75, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 79.9, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 30, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 4.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 4.2, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328932 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 75, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 79.9, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 30, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 4.2, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462c9d25_0369", "family": "lofted", "tier": 0, "seed": 1177328933, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "1b8060c90653c4c4", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 108000.0, "surface_area": 13400.0, "principal_moments": [30299999.999999996, 57099999.99999999, 57099999.99999999], "n_faces": 8, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["Lofted body through 2 sections: \u00d860 mm circular section \u2192 6-sided polygon section, 23.9 mm across corners."], "text": "Lofted body through 2 sections: \u00d860 mm circular section \u2192 6-sided polygon section, 23.9 mm across corners."}, "params": {"loft_base": {"type": "float", "default": 60, "min": 30.0, "max": 96.0, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 23.9, "min": 9.6, "max": 72.0, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 76.4, "min": 30.6, "max": 152.8, "step": 1.0, "group": "Body", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328933 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 60, \"min\": 30.0, \"max\": 96.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 23.9, \"min\": 9.6, \"max\": 72.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 76.4, \"min\": 30.6, \"max\": 152.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .circle(p[\"loft_base\"] / 2)\n        .workplane(offset=p[\"loft_h\"])\n        .polygon(6, p[\"loft_top\"] * 0.5 * 2)\n        .loft(combine=True)\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9d26_0370", "family": "plate", "tier": 0, "seed": 1177328934, "symmetry": "none", "op_count": 1, "ir_hash": "50cf264a1849f9f9", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 8690.0, "surface_area": 2920.0, "principal_moments": [292000.0, 1570000.0, 1650000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 45 \u00d7 16.1 \u00d7 12 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 45 \u00d7 16.1 \u00d7 12 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 45, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 16.1, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328934 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 45, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 16.1, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462c9d27_0371", "family": "threaded", "tier": 0, "seed": 1177328935, "symmetry": "none", "op_count": 1, "ir_hash": "6b3a44b4bbfe1ddb", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 391.0, "surface_area": 586.0, "principal_moments": [1020.0, 19700.0, 19700.0], "n_faces": 310, "n_edges": 796, "n_vertices": 488}, "dimensions": {"lines": ["M5x0.8 external thread, 24.4 mm long."], "text": "M5x0.8 external thread, 24.4 mm long."}, "params": {"major_d": {"type": "float", "default": 5.0, "min": 4.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Major diameter (mm)"}, "pitch": {"type": "float", "default": 0.8, "min": 0.4, "max": 1.6, "step": 0.05, "group": "Thread", "label": "Pitch (mm)"}, "thread_len": {"type": "float", "default": 24.4, "min": 9.8, "max": 48.8, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328935 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 5.0, \"min\": 4.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Major diameter (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 0.8, \"min\": 0.4, \"max\": 1.6, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Pitch (mm)'},\n    \"thread_len\": {\"type\": 'float', \"default\": 24.4, \"min\": 9.8, \"max\": 48.8, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.IsoThread(major_diameter=p[\"major_d\"], pitch=p[\"pitch\"], length=p[\"thread_len\"], external=True, end_finishes=(\"fade\", \"fade\"))\n    _r = _thr.min_radius if hasattr(_thr, 'min_radius') else _thr.root_radius\n    _shank = _bd.Cylinder(radius=_r, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = _shank + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462c9d28_0372", "family": "bracket", "tier": 1, "seed": 1177328936, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "7738977fc4d623fb", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 9530.0, "surface_area": 5640.0, "principal_moments": [1700000.0, 1720000.0, 2740000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["L-bracket: base leg 33.79 mm, vertical leg 28.3 mm, 41.28 mm wide, 4 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."], "text": "L-bracket: base leg 33.79 mm, vertical leg 28.3 mm, 41.28 mm wide, 4 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 33.79, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 28.3, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 41.28, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 4.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328936 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 33.79, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 28.3, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 41.28, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9d29_0373", "family": "plate", "tier": 1, "seed": 1177328937, "symmetry": "radial", "op_count": 2, "ir_hash": "081bc5eb208cb502", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 41100.0, "surface_area": 11100.0, "principal_moments": [7420000.0, 22100000.0, 28499999.999999996], "n_faces": 16, "n_edges": 42, "n_vertices": 28}, "dimensions": {"lines": ["Rectangular body, 78.92 \u00d7 45.2 \u00d7 12 mm (W\u00d7D\u00d7H).", "Eight \u00d85.3 mm holes on a \u00d847.4 mm bolt circle."], "text": "Rectangular body, 78.92 \u00d7 45.2 \u00d7 12 mm (W\u00d7D\u00d7H). Eight \u00d85.3 mm holes on a \u00d847.4 mm bolt circle."}, "params": {"plate_w": {"type": "float", "default": 78.92, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 45.2, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "bolt_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 23.7, "min": 15.8, "max": 35.5, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 8, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328937 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 78.92, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 45.2, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 23.7, \"min\": 15.8, \"max\": 35.5, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462c9d2a_0374", "family": "swept", "tier": 0, "seed": 1177328938, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "8121da75f3c3bb2b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 983.0, "surface_area": 1330.0, "principal_moments": [24300.0, 288000.0, 305000.0], "n_faces": 3, "n_edges": 3, "n_vertices": 2}, "dimensions": {"lines": ["\u00d87.5 mm circular section swept along a curved path, ~53.79 mm span."], "text": "\u00d87.5 mm circular section swept along a curved path, ~53.79 mm span."}, "params": {"path_w": {"type": "float", "default": 32.64, "min": 16.3, "max": 58.8, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 53.79, "min": 26.9, "max": 96.8, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_d": {"type": "float", "default": 7.5, "min": 3.8, "max": 13.5, "step": 1.0, "group": "Section", "label": "Section diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328938 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 32.64, \"min\": 16.3, \"max\": 58.8, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 53.79, \"min\": 26.9, \"max\": 96.8, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_d\": {\"type\": 'float', \"default\": 7.5, \"min\": 3.8, \"max\": 13.5, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.4256, p[\"path_h\"] * 0.2763), (p[\"path_w\"] * 0.212, p[\"path_h\"] * 0.4148), (p[\"path_w\"] * 0.5137, p[\"path_h\"] * 0.8061), (p[\"path_w\"] * 0.7891, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').circle(p[\"sweep_d\"] / 2).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462c9d2c_0376", "family": "sketched", "tier": 1, "seed": 1177328940, "symmetry": "none", "op_count": 2, "ir_hash": "6613b59c84243687", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 21600.0, "surface_area": 5880.0, "principal_moments": [1960000.0, 6600000.0, 8090000.0], "n_faces": 9, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["freeform sketched section (6 segments: 1 straight, 3 arcs, 2 curves), ~68.094 \u00d7 34.539 mm, extruded 11.38 mm thick.", "One \u00d84.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "freeform sketched section (6 segments: 1 straight, 3 arcs, 2 curves), ~68.094 \u00d7 34.539 mm, extruded 11.38 mm thick. One \u00d84.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"sk_w": {"type": "float", "default": 90.0, "min": 45.0, "max": 162.0, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 42.11, "min": 21.1, "max": 75.8, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "sk_t": {"type": "float", "default": 11.38, "min": 4.6, "max": 25.0, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "sk_hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 8.6, "step": 0.5, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328940 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 90.0, \"min\": 45.0, \"max\": 162.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 42.11, \"min\": 21.1, \"max\": 75.8, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"sk_t\": {\"type\": 'float', \"default\": 11.38, \"min\": 4.6, \"max\": 25.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"sk_hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 8.6, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.3231, p[\"sk_h\"] * -0.113).lineTo(p[\"sk_w\"] * 0.3007, p[\"sk_h\"] * 0.2614).threePointArc((p[\"sk_w\"] * 0.0798, p[\"sk_h\"] * 0.4007), (p[\"sk_w\"] * -0.1633, p[\"sk_h\"] * 0.4397)).threePointArc((p[\"sk_w\"] * -0.3761, p[\"sk_h\"] * 0.2492), (p[\"sk_w\"] * -0.4335, p[\"sk_h\"] * -0.0664)).threePointArc((p[\"sk_w\"] * -0.3409, p[\"sk_h\"] * -0.2392), (p[\"sk_w\"] * -0.1971, p[\"sk_h\"] * -0.3805)).spline([(p[\"sk_w\"] * -0.1971, p[\"sk_h\"] * -0.3805), (p[\"sk_w\"] * -0.066, p[\"sk_h\"] * -0.3963), (p[\"sk_w\"] * 0.0645, p[\"sk_h\"] * -0.3764)]).bezier([(p[\"sk_w\"] * 0.0645, p[\"sk_h\"] * -0.3764), (p[\"sk_w\"] * 0.2281, p[\"sk_h\"] * -0.2783), (p[\"sk_w\"] * 0.3231, p[\"sk_h\"] * -0.113)]).close().extrude(p[\"sk_t\"]))\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"sk_hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462c9d2e_0378", "family": "flanged", "tier": 1, "seed": 1177328942, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "05e3c671e71ab9a9", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 989000.0, "surface_area": 105000.0, "principal_moments": [2240000000.0, 2820000000.0, 2820000000.0], "n_faces": 12, "n_edges": 27, "n_vertices": 18}, "dimensions": {"lines": ["Revolved body, \u00d890 mm \u00d7 131.7 mm tall with \u00d836.3 mm bore, \u00d8176.4 mm \u00d7 16.1 mm flange.", "Six \u00d86.4 mm holes on a \u00d8105.8 mm bolt circle."], "text": "Revolved body, \u00d890 mm \u00d7 131.7 mm tall with \u00d836.3 mm bore, \u00d8176.4 mm \u00d7 16.1 mm flange. Six \u00d86.4 mm holes on a \u00d8105.8 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 90, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 131.7, "min": 39.5, "max": 329.2, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 36.3, "min": 2.0, "max": 63.0, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 176.4, "min": 117.0, "max": 270.0, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 16.1, "min": 4.8, "max": 52.7, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 52.9, "min": 35.3, "max": 79.4, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 6, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328942 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 90, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 131.7, \"min\": 39.5, \"max\": 329.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 36.3, \"min\": 2.0, \"max\": 63.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 176.4, \"min\": 117.0, \"max\": 270.0, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 16.1, \"min\": 4.8, \"max\": 52.7, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 52.9, \"min\": 35.3, \"max\": 79.4, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462c9d2f_0379", "family": "revolved", "tier": 1, "seed": 1177328943, "symmetry": "radial", "op_count": 2, "ir_hash": "4052b0ccc8dacc60", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 273000.0, "surface_area": 42700.0, "principal_moments": [165000000.0, 368000000.0, 368000000.0], "n_faces": 7, "n_edges": 11, "n_vertices": 7}, "dimensions": {"lines": ["Revolved body, \u00d853.35 mm \u00d7 134.2 mm tall with \u00d877.2 mm \u00d7 29.9 mm flange.", "Chamfer 1.5 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d853.35 mm \u00d7 134.2 mm tall with \u00d877.2 mm \u00d7 29.9 mm flange. Chamfer 1.5 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 53.35, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 134.2, "min": 40.3, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "flange_d": {"type": "float", "default": 77.2, "min": 64.0, "max": 160.1, "step": 1.0, "group": "Body", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 29.9, "min": 9.0, "max": 67.1, "step": 0.5, "group": "Body", "label": "Flange height (mm)"}, "end_chamfer": {"type": "float", "default": 1.5, "min": 0.1, "max": 4.5, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328943 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 53.35, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 134.2, \"min\": 40.3, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 77.2, \"min\": 64.0, \"max\": 160.1, \"step\": 1.0, \"group\": 'Body', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 29.9, \"min\": 9.0, \"max\": 67.1, \"step\": 0.5, \"group\": 'Body', \"label\": 'Flange height (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 1.5, \"min\": 0.1, \"max\": 4.5, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462c9d30_0380", "family": "sketched", "tier": 2, "seed": 1177328944, "symmetry": "mirror_xy", "op_count": 3, "ir_hash": "648f67ed1e9cfe35", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 26000.0, "surface_area": 6500.0, "principal_moments": [2620000.0, 5920000.0, 6350000.0], "n_faces": 11, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["freeform sketched section (6 segments: 5 straight, 1 arc), ~57.727 \u00d7 29.831 mm, extruded 20 mm thick.", "One \u00d88.4 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch.", "Boss \u00d817.1 mm \u00d7 8.2 mm tall on top face with a \u00d88.4 mm bore."], "text": "freeform sketched section (6 segments: 5 straight, 1 arc), ~57.727 \u00d7 29.831 mm, extruded 20 mm thick. One \u00d88.4 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch. Boss \u00d817.1 mm \u00d7 8.2 mm tall on top face with a \u00d88.4 mm bore."}, "params": {"sk_w": {"type": "float", "default": 65, "min": 32.5, "max": 117.0, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 45, "min": 22.5, "max": 81.0, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "sk_t": {"type": "float", "default": 20, "min": 8.0, "max": 44.0, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "sk_hole_d": {"type": "float", "default": 8.4, "min": 2.0, "max": 16.8, "step": 0.5, "group": "Holes", "label": "Hole diameter (mm)"}, "boss_d": {"type": "float", "default": 17.1, "min": 8.6, "max": 34.2, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 8.2, "min": 3.3, "max": 20.5, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}, "boss_bore_d": {"type": "float", "default": 8.4, "min": 2.0, "max": 12.0, "step": 0.1, "group": "Boss", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328944 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 65, \"min\": 32.5, \"max\": 117.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 45, \"min\": 22.5, \"max\": 81.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"sk_t\": {\"type\": 'float', \"default\": 20, \"min\": 8.0, \"max\": 44.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"sk_hole_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 2.0, \"max\": 16.8, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"boss_d\": {\"type\": 'float', \"default\": 17.1, \"min\": 8.6, \"max\": 34.2, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 8.2, \"min\": 3.3, \"max\": 20.5, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n    \"boss_bore_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 2.0, \"max\": 12.0, \"step\": 0.1, \"group\": 'Boss', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.4962, p[\"sk_h\"] * -0.0479).lineTo(p[\"sk_w\"] * 0.2196, p[\"sk_h\"] * 0.2527).lineTo(p[\"sk_w\"] * -0.3171, p[\"sk_h\"] * 0.2967).lineTo(p[\"sk_w\"] * -0.3919, p[\"sk_h\"] * 0.0866).lineTo(p[\"sk_w\"] * -0.207, p[\"sk_h\"] * -0.3367).threePointArc((p[\"sk_w\"] * 0.0398, p[\"sk_h\"] * -0.3823), (p[\"sk_w\"] * 0.2821, p[\"sk_h\"] * -0.3662)).lineTo(p[\"sk_w\"] * 0.4962, p[\"sk_h\"] * -0.0479).close().extrude(p[\"sk_t\"]))\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"sk_hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .hole(p[\"boss_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462c9d31_0381", "family": "threaded", "tier": 0, "seed": 1177328945, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "d2303016fc27248b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 262.0, "surface_area": 401.0, "principal_moments": [680.0, 6140.0, 6140.0], "n_faces": 210, "n_edges": 536, "n_vertices": 328}, "dimensions": {"lines": ["M5x0.8 external thread, 16.4 mm long."], "text": "M5x0.8 external thread, 16.4 mm long."}, "params": {"major_d": {"type": "float", "default": 5.0, "min": 4.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Major diameter (mm)"}, "pitch": {"type": "float", "default": 0.8, "min": 0.4, "max": 1.6, "step": 0.05, "group": "Thread", "label": "Pitch (mm)"}, "thread_len": {"type": "float", "default": 16.4, "min": 6.6, "max": 32.8, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328945 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 5.0, \"min\": 4.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Major diameter (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 0.8, \"min\": 0.4, \"max\": 1.6, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Pitch (mm)'},\n    \"thread_len\": {\"type\": 'float', \"default\": 16.4, \"min\": 6.6, \"max\": 32.8, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.IsoThread(major_diameter=p[\"major_d\"], pitch=p[\"pitch\"], length=p[\"thread_len\"], external=True, end_finishes=(\"fade\", \"fade\"))\n    _r = _thr.min_radius if hasattr(_thr, 'min_radius') else _thr.root_radius\n    _shank = _bd.Cylinder(radius=_r, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = _shank + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9d32_0382", "family": "plate", "tier": 0, "seed": 1177328946, "symmetry": "none", "op_count": 1, "ir_hash": "5de7710fdfba94d8", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 13300.0, "surface_area": 6380.0, "principal_moments": [1660000.0, 5310000.0, 6920000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 69.13 \u00d7 38.4 \u00d7 5 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 69.13 \u00d7 38.4 \u00d7 5 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 69.13, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 38.4, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 5.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328946 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 69.13, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 38.4, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 5.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9d33_0383", "family": "plate", "tier": 2, "seed": 1177328947, "symmetry": "none", "op_count": 2, "ir_hash": "8d196fd2672b8c9b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 32900.0, "surface_area": 9840.0, "principal_moments": [5870000.0, 15499999.999999998, 20900000.0], "n_faces": 14, "n_edges": 32, "n_vertices": 20}, "dimensions": {"lines": ["Rectangular body, 75.76 \u00d7 45.9 \u00d7 10 mm (W\u00d7D\u00d7H).", "Four \u00d86.4 mm countersunk holes (82\u00b0) at the corners, 53.032 \u00d7 32.13 mm spacing."], "text": "Rectangular body, 75.76 \u00d7 45.9 \u00d7 10 mm (W\u00d7D\u00d7H). Four \u00d86.4 mm countersunk holes (82\u00b0) at the corners, 53.032 \u00d7 32.13 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 75.76, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 45.9, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 10.3, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "cs_angle": {"type": "float", "default": 82.0, "min": 60.0, "max": 120.0, "step": 15.0, "group": "Holes", "label": "Countersink angle (\u00b0)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328947 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 75.76, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 45.9, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 10.3, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"cs_angle\": {\"type\": 'float', \"default\": 82.0, \"min\": 60.0, \"max\": 120.0, \"step\": 15.0, \"group\": 'Holes', \"label\": 'Countersink angle (\u00b0)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().cskHole(p[\"hole_d\"], p[\"hole_d\"] * 2, p[\"cs_angle\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9d34_0384", "family": "plate", "tier": 2, "seed": 1177328948, "symmetry": "radial", "op_count": 3, "ir_hash": "ef515dacdab080cd", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 380.0, "surface_area": 587.0, "principal_moments": [3500.0, 20400.0, 23600.0], "n_faces": 28, "n_edges": 78, "n_vertices": 52}, "dimensions": {"lines": ["Rectangular body, 25 \u00d7 10.2 \u00d7 2 mm (W\u00d7D\u00d7H).", "Six \u00d85.3 mm holes on a \u00d815 mm bolt circle.", "Chamfer 1 mm on vertical edges."], "text": "Rectangular body, 25 \u00d7 10.2 \u00d7 2 mm (W\u00d7D\u00d7H). Six \u00d85.3 mm holes on a \u00d815 mm bolt circle. Chamfer 1 mm on vertical edges."}, "params": {"plate_w": {"type": "float", "default": 25, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 10.2, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 2.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "bolt_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 7.5, "min": 5.0, "max": 11.2, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 6, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}, "chamfer_d": {"type": "float", "default": 1.0, "min": 0.5, "max": 1.2, "step": 0.5, "group": "Body", "label": "Chamfer distance (mm)"}, "chamfered": {"type": "bool", "default": true, "group": "Body", "label": "Chamfer edges"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328948 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 25, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 10.2, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 2.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 7.5, \"min\": 5.0, \"max\": 11.2, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n    \"chamfer_d\": {\"type\": 'float', \"default\": 1.0, \"min\": 0.5, \"max\": 1.2, \"step\": 0.5, \"group\": 'Body', \"label\": 'Chamfer distance (mm)'},\n    \"chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Chamfer edges'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    if p[\"chamfered\"]:\n        result = result.edges('|Z').chamfer(p[\"chamfer_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462c9d35_0385", "family": "swept", "tier": 2, "seed": 1177328949, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "3548543a2ed75062", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 15600.0, "surface_area": 4730.0, "principal_moments": [502000.0, 12499999.999999998, 12599999.999999998], "n_faces": 3, "n_edges": 3, "n_vertices": 2}, "dimensions": {"lines": ["\u00d814.7 mm circular section swept along a curved path, ~95 mm span."], "text": "\u00d814.7 mm circular section swept along a curved path, ~95 mm span."}, "params": {"path_w": {"type": "float", "default": 40.21, "min": 20.1, "max": 72.4, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 95, "min": 47.5, "max": 171.0, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_d": {"type": "float", "default": 14.7, "min": 7.3, "max": 26.5, "step": 1.0, "group": "Section", "label": "Section diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328949 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 40.21, \"min\": 20.1, \"max\": 72.4, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 95, \"min\": 47.5, \"max\": 171.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_d\": {\"type\": 'float', \"default\": 14.7, \"min\": 7.3, \"max\": 26.5, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.3058, p[\"path_h\"] * 0.3468), (p[\"path_w\"] * 0.379, p[\"path_h\"] * 0.4559), (p[\"path_w\"] * 0.349, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').circle(p[\"sweep_d\"] / 2).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462c9d36_0386", "family": "lofted", "tier": 1, "seed": 1177328950, "symmetry": "none", "op_count": 2, "ir_hash": "d97d86feb402e4c7", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 14400.0, "surface_area": 4630.0, "principal_moments": [1760000.0, 1760000.0, 1780000.0], "n_faces": 9, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["Lofted body through 2 sections: 6-sided polygon section, 34.73 mm across corners \u2192 \u00d825.7 mm circular section.", "One \u00d812.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 2 sections: 6-sided polygon section, 34.73 mm across corners \u2192 \u00d825.7 mm circular section. One \u00d812.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 34.73, "min": 17.4, "max": 55.6, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 25.7, "min": 10.3, "max": 41.7, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 27.2, "min": 10.9, "max": 54.4, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_bore_d": {"type": "float", "default": 12.3, "min": 2.0, "max": 20.6, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328950 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 34.73, \"min\": 17.4, \"max\": 55.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 25.7, \"min\": 10.3, \"max\": 41.7, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 27.2, \"min\": 10.9, \"max\": 54.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 12.3, \"min\": 2.0, \"max\": 20.6, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .polygon(6, p[\"loft_base\"] * 0.5 * 2)\n        .workplane(offset=p[\"loft_h\"])\n        .circle(p[\"loft_top\"] / 2)\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462c9d37_0387", "family": "enclosure", "tier": 2, "seed": 1177328951, "symmetry": "mirror_xy", "op_count": 3, "ir_hash": "c0501502c5dd311a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 9450.0, "surface_area": 6530.0, "principal_moments": [1210000.0, 2090000.0, 2770000.0], "n_faces": 19, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 41.86 \u00d7 28.7 \u00d7 17.2 mm (W\u00d7D\u00d7H).", "Hollowed to 3.2 mm wall thickness, open at top face.", "Four \u00d83.2 mm holes at the corners, 29.302 \u00d7 20.09 mm spacing."], "text": "Rectangular body, 41.86 \u00d7 28.7 \u00d7 17.2 mm (W\u00d7D\u00d7H). Hollowed to 3.2 mm wall thickness, open at top face. Four \u00d83.2 mm holes at the corners, 29.302 \u00d7 20.09 mm spacing."}, "params": {"enc_w": {"type": "float", "default": 41.86, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 28.7, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 17.2, "min": 6.9, "max": 34.4, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 3.2, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 6.5, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328951 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 41.86, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 28.7, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 17.2, \"min\": 6.9, \"max\": 34.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 6.5, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"enc_w\"] * 0.7, p[\"enc_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462c9d38_0388", "family": "compound", "tier": 3, "seed": 1177328952, "symmetry": "mirror_x", "op_count": 7, "ir_hash": "e3a8dd1376f27afa", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 98000.0, "surface_area": 16100.0, "principal_moments": [33099999.999999996, 33900000.0, 40300000.0], "n_faces": 28, "n_edges": 66, "n_vertices": 42}, "dimensions": {"lines": ["Rectangular body, 50 \u00d7 40.1 \u00d7 49.3 mm (W\u00d7D\u00d7H).", "\u00d88.1 mm circular section attachment, 10.4 mm long, from left face with a \u00d83.9 mm bore.", "\u00d88.1 mm circular section attachment, 10.4 mm long, from front face with a \u00d83.9 mm bore.", "\u00d88.1 mm circular section attachment, 10.4 mm long, from back face with a \u00d83.9 mm bore.", "\u00d88.1 mm circular section attachment, 10.4 mm long, from right face with a \u00d83.9 mm bore.", "Four \u00d83.2 mm holes at the corners, 35 \u00d7 28.07 mm spacing.", "Fillet radius 3.878 mm on vertical edges."], "text": "Rectangular body, 50 \u00d7 40.1 \u00d7 49.3 mm (W\u00d7D\u00d7H). \u00d88.1 mm circular section attachment, 10.4 mm long, from left face with a \u00d83.9 mm bore. \u00d88.1 mm circular section attachment, 10.4 mm long, from front face with a \u00d83.9 mm bore. \u00d88.1 mm circular section attachment, 10.4 mm long, from back face with a \u00d83.9 mm bore. \u00d88.1 mm circular section attachment, 10.4 mm long, from right face with a \u00d83.9 mm bore. Four \u00d83.2 mm holes at the corners, 35 \u00d7 28.07 mm spacing. Fillet radius 3.878 mm on vertical edges."}, "params": {"block_w": {"type": "float", "default": 50, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body width (mm)"}, "block_d": {"type": "float", "default": 40.1, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body depth (mm)"}, "block_h": {"type": "float", "default": 49.3, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body height (mm)"}, "port_d": {"type": "float", "default": 8.1, "min": 3.2, "max": 18.0, "step": 1.0, "group": "Ports", "label": "Ports diameter (mm)"}, "port_len": {"type": "float", "default": 10.4, "min": 2.0, "max": 24.3, "step": 1.0, "group": "Ports", "label": "Port boss length (mm)"}, "port_bore": {"type": "float", "default": 3.9, "min": 2.0, "max": 5.8, "step": 0.5, "group": "Ports", "label": "Port bore diameter (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 9.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328952 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 50, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 40.1, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 49.3, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body height (mm)'},\n    \"port_d\": {\"type\": 'float', \"default\": 8.1, \"min\": 3.2, \"max\": 18.0, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Ports diameter (mm)'},\n    \"port_len\": {\"type\": 'float', \"default\": 10.4, \"min\": 2.0, \"max\": 24.3, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Port boss length (mm)'},\n    \"port_bore\": {\"type\": 'float', \"default\": 3.9, \"min\": 2.0, \"max\": 5.8, \"step\": 0.5, \"group\": 'Ports', \"label\": 'Port bore diameter (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 9.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"block_w\"], p[\"block_d\"]) * 0.09670482733570185)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462c9d39_0389", "family": "revolved", "tier": 2, "seed": 1177328953, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "20ee14990919ae5c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 1360.0, "surface_area": 1300.0, "principal_moments": [19800.0, 69300.0, 69300.0], "n_faces": 9, "n_edges": 14, "n_vertices": 9}, "dimensions": {"lines": ["Revolved body, \u00d89.94 mm \u00d7 27.3 mm tall with 1.49 mm-wide groove 0.59 mm deep.", "Chamfer 1.2 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d89.94 mm \u00d7 27.3 mm tall with 1.49 mm-wide groove 0.59 mm deep. Chamfer 1.2 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 9.94, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 27.3, "min": 8.2, "max": 81.9, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "groove_depth": {"type": "float", "default": 0.59, "min": 0.24, "max": 1.77, "step": 0.1, "group": "Body", "label": "Groove depth (mm)"}, "groove_w": {"type": "float", "default": 1.49, "min": 0.6, "max": 4.47, "step": 0.2, "group": "Body", "label": "Groove width (mm)"}, "groove_pos": {"type": "float", "default": 11.9, "min": 4.1, "max": 23.2, "step": 1.0, "group": "Body", "label": "Groove position (mm)"}, "end_chamfer": {"type": "float", "default": 1.2, "min": 0.1, "max": 3.6, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328953 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 9.94, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 27.3, \"min\": 8.2, \"max\": 81.9, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"groove_depth\": {\"type\": 'float', \"default\": 0.59, \"min\": 0.24, \"max\": 1.77, \"step\": 0.1, \"group\": 'Body', \"label\": 'Groove depth (mm)'},\n    \"groove_w\": {\"type\": 'float', \"default\": 1.49, \"min\": 0.6, \"max\": 4.47, \"step\": 0.2, \"group\": 'Body', \"label\": 'Groove width (mm)'},\n    \"groove_pos\": {\"type\": 'float', \"default\": 11.9, \"min\": 4.1, \"max\": 23.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Groove position (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 1.2, \"min\": 0.1, \"max\": 3.6, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"groove_pos\"] - p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2 - p[\"groove_depth\"], p[\"groove_pos\"] - p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2 - p[\"groove_depth\"], p[\"groove_pos\"] + p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2, p[\"groove_pos\"] + p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462c9d3a_0390", "family": "enclosure", "tier": 1, "seed": 1177328954, "symmetry": "none", "op_count": 2, "ir_hash": "3f717fc8fa2a305e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 61600.0, "surface_area": 26900.0, "principal_moments": [35300000.0, 50799999.99999999, 66599999.99999999], "n_faces": 11, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 75 \u00d7 56.8 \u00d7 39.9 mm (W\u00d7D\u00d7H).", "Hollowed to 4.8 mm wall thickness, open at top face."], "text": "Rectangular body, 75 \u00d7 56.8 \u00d7 39.9 mm (W\u00d7D\u00d7H). Hollowed to 4.8 mm wall thickness, open at top face."}, "params": {"enc_w": {"type": "float", "default": 75, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 56.8, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 39.9, "min": 16.0, "max": 79.8, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 4.8, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328954 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 75, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 56.8, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 39.9, \"min\": 16.0, \"max\": 79.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 4.8, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462c9d3b_0391", "family": "tapped", "tier": 3, "seed": 1177328955, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "438a452b954ddfbd", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 2090.0, "surface_area": 1400.0, "principal_moments": [47500.0, 85800.0, 85800.0], "n_faces": 191, "n_edges": 519, "n_vertices": 330}, "dimensions": {"lines": ["One M5x0.8 tapped hole in a cylinder."], "text": "One M5x0.8 tapped hole in a cylinder."}, "params": {"major_d": {"type": "float", "default": 5.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 0.8, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 18.9, "min": 6.0, "max": 34.0, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "body_d": {"type": "float", "default": 12.7, "min": 9.0, "max": 20.3, "step": 1.0, "group": "Body", "label": "Outer \u00d8 (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328955 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 0.8, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 18.9, \"min\": 6.0, \"max\": 34.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"body_d\": {\"type\": 'float', \"default\": 12.7, \"min\": 9.0, \"max\": 20.3, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer \u00d8 (mm)'},\n}\n\n\ndef build(p):\n\n    _W = _D = p[\"body_d\"]\n    _H = p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Cylinder(radius=_W / 2, height=_H)\n    _locs = [(0.0, 0.0)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462c9d3c_0392", "family": "gear", "tier": 2, "seed": 1177328956, "symmetry": "none", "op_count": 1, "ir_hash": "3422d9922b527f59", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 42600.0, "surface_area": 10200.0, "principal_moments": [9860000.0, 9860000.0, 17500000.0], "n_faces": 93, "n_edges": 273, "n_vertices": 182}, "dimensions": {"lines": ["Spur gear, module 3 mm, 18 teeth (pitch \u00d854 mm), face width 17.6 mm, \u00d88.5 mm bore."], "text": "Spur gear, module 3 mm, 18 teeth (pitch \u00d854 mm), face width 17.6 mm, \u00d88.5 mm bore."}, "params": {"module": {"type": "float", "default": 3.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 18, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 17.6, "min": 7.0, "max": 44.0, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "profile_shift": {"type": "float", "default": 0.28, "min": -0.5, "max": 0.7, "step": 0.05, "group": "Gear", "label": "Profile shift"}, "root_fillet": {"type": "float", "default": 0.75, "min": 0.0, "max": 1.5, "step": 0.05, "group": "Gear", "label": "Root fillet (mm)"}, "bore_d": {"type": "float", "default": 8.5, "min": 2.0, "max": 27.9, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328956 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 3.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 18, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 17.6, \"min\": 7.0, \"max\": 44.0, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"profile_shift\": {\"type\": 'float', \"default\": 0.28, \"min\": -0.5, \"max\": 0.7, \"step\": 0.05, \"group\": 'Gear', \"label\": 'Profile shift'},\n    \"root_fillet\": {\"type\": 'float', \"default\": 0.75, \"min\": 0.0, \"max\": 1.5, \"step\": 0.05, \"group\": 'Gear', \"label\": 'Root fillet (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 8.5, \"min\": 2.0, \"max\": 27.9, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"], profile_shift=p[\"profile_shift\"], root_fillet=p[\"root_fillet\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462c9d3d_0393", "family": "enclosure", "tier": 1, "seed": 1177328957, "symmetry": "none", "op_count": 2, "ir_hash": "123ebdf667292246", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 30400.0, "surface_area": 26900.0, "principal_moments": [20500000.0, 20900000.0, 27899999.999999996], "n_faces": 11, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 58.55 \u00d7 57.7 \u00d7 46.3 mm (W\u00d7D\u00d7H).", "Hollowed to 2.3 mm wall thickness, open at top face."], "text": "Rectangular body, 58.55 \u00d7 57.7 \u00d7 46.3 mm (W\u00d7D\u00d7H). Hollowed to 2.3 mm wall thickness, open at top face."}, "params": {"enc_w": {"type": "float", "default": 58.55, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 57.7, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 46.3, "min": 18.5, "max": 92.6, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 2.3, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328957 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 58.55, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 57.7, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 46.3, \"min\": 18.5, \"max\": 92.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 2.3, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462c9d3e_0394", "family": "tapped", "tier": 1, "seed": 1177328958, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "8543c9167700997e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 7440.0, "surface_area": 2940.0, "principal_moments": [511000.0, 511000.0, 706000.0], "n_faces": 91, "n_edges": 317, "n_vertices": 228}, "dimensions": {"lines": ["One M10x1.5 tapped hole in a cylinder."], "text": "One M10x1.5 tapped hole in a cylinder."}, "params": {"major_d": {"type": "float", "default": 10.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 1.5, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 16.0, "min": 12.0, "max": 28.8, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "body_d": {"type": "float", "default": 26.0, "min": 18.0, "max": 41.6, "step": 1.0, "group": "Body", "label": "Outer \u00d8 (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328958 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 10.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.5, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 16.0, \"min\": 12.0, \"max\": 28.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"body_d\": {\"type\": 'float', \"default\": 26.0, \"min\": 18.0, \"max\": 41.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer \u00d8 (mm)'},\n}\n\n\ndef build(p):\n\n    _W = _D = p[\"body_d\"]\n    _H = p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Cylinder(radius=_W / 2, height=_H)\n    _locs = [(0.0, 0.0)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462c9d3f_0395", "family": "enclosure", "tier": 3, "seed": 1177328959, "symmetry": "mirror_x", "op_count": 4, "ir_hash": "1f0b369942644ead", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 8710.0, "surface_area": 5490.0, "principal_moments": [1260000.0, 1290000.0, 2240000.0], "n_faces": 27, "n_edges": 84, "n_vertices": 56}, "dimensions": {"lines": ["Rectangular body, 35 \u00d7 34.4 \u00d7 14.1 mm (W\u00d7D\u00d7H).", "Hollowed to 3.7 mm wall thickness, open at top face.", "Four \u00d84.3 mm holes at the corners, 24.5 \u00d7 24.08 mm spacing.", "Fillet radius 3.878 mm on vertical edges."], "text": "Rectangular body, 35 \u00d7 34.4 \u00d7 14.1 mm (W\u00d7D\u00d7H). Hollowed to 3.7 mm wall thickness, open at top face. Four \u00d84.3 mm holes at the corners, 24.5 \u00d7 24.08 mm spacing. Fillet radius 3.878 mm on vertical edges."}, "params": {"enc_w": {"type": "float", "default": 35, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 34.4, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 14.1, "min": 5.6, "max": 28.2, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 3.7, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 7.7, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328959 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 35, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 34.4, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 14.1, \"min\": 5.6, \"max\": 28.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 3.7, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 7.7, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"enc_w\"] * 0.7, p[\"enc_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"enc_w\"], p[\"enc_d\"]) * 0.11272602423532158)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462c9d40_0396", "family": "compound", "tier": 1, "seed": 1177328960, "symmetry": "none", "op_count": 2, "ir_hash": "6f6fd43d7a3aea4b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 2420.0, "surface_area": 1530.0, "principal_moments": [92200.0, 94700.0, 94700.0], "n_faces": 11, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["6-sided polygon section, 20 mm across corners, extruded 8.1 mm thick.", "\u00d88.3 mm circular section attachment, 11.2 mm long, from top face with a \u00d84.4 mm bore."], "text": "6-sided polygon section, 20 mm across corners, extruded 8.1 mm thick. \u00d88.3 mm circular section attachment, 11.2 mm long, from top face with a \u00d84.4 mm bore."}, "params": {"base_sides": {"type": "int", "default": 6, "min": 3, "max": 8, "step": 1, "group": "Base", "label": "Base sides"}, "base_r": {"type": "float", "default": 10.0, "min": 6.0, "max": 16.0, "step": 1.0, "group": "Base", "label": "Base circumradius (mm)"}, "base_h": {"type": "float", "default": 8.1, "min": 3.2, "max": 20.2, "step": 1.0, "group": "Base", "label": "Base height (mm)"}, "col_d": {"type": "float", "default": 8.3, "min": 4.2, "max": 13.9, "step": 1.0, "group": "Column", "label": "Column diameter (mm)"}, "col_h": {"type": "float", "default": 11.2, "min": 3.4, "max": 28.0, "step": 1.0, "group": "Column", "label": "Column height (mm)"}, "col_bore": {"type": "float", "default": 4.4, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Column", "label": "Column bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328960 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_sides\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Base', \"label\": 'Base sides'},\n    \"base_r\": {\"type\": 'float', \"default\": 10.0, \"min\": 6.0, \"max\": 16.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base circumradius (mm)'},\n    \"base_h\": {\"type\": 'float', \"default\": 8.1, \"min\": 3.2, \"max\": 20.2, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base height (mm)'},\n    \"col_d\": {\"type\": 'float', \"default\": 8.3, \"min\": 4.2, \"max\": 13.9, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column diameter (mm)'},\n    \"col_h\": {\"type\": 'float', \"default\": 11.2, \"min\": 3.4, \"max\": 28.0, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column height (mm)'},\n    \"col_bore\": {\"type\": 'float', \"default\": 4.4, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Column', \"label\": 'Column bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').polygon(p[\"base_sides\"], p[\"base_r\"] * 2).extrude(p[\"base_h\"]))\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"col_d\"] / 2).extrude(p[\"col_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"col_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462c9d41_0397", "family": "revolved", "tier": 1, "seed": 1177328961, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "2a98873d645afcea", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 1140000.0, "surface_area": 124000.0, "principal_moments": [1500000000.0, 6180000000.0, 6180000000.0], "n_faces": 5, "n_edges": 7, "n_vertices": 5}, "dimensions": {"lines": ["Revolved body, \u00d874.45 mm \u00d7 280.2 mm tall with \u00d8121.4 mm \u00d7 45.1 mm flange."], "text": "Revolved body, \u00d874.45 mm \u00d7 280.2 mm tall with \u00d8121.4 mm \u00d7 45.1 mm flange."}, "params": {"outer_d": {"type": "float", "default": 74.45, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 280.2, "min": 84.1, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "flange_d": {"type": "float", "default": 121.4, "min": 89.3, "max": 223.4, "step": 1.0, "group": "Body", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 45.1, "min": 13.5, "max": 140.1, "step": 0.5, "group": "Body", "label": "Flange height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328961 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 74.45, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 280.2, \"min\": 84.1, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 121.4, \"min\": 89.3, \"max\": 223.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 45.1, \"min\": 13.5, \"max\": 140.1, \"step\": 0.5, \"group\": 'Body', \"label\": 'Flange height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462c9d42_0398", "family": "gear", "tier": 1, "seed": 1177328962, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "ce57f5f9a70ccab1", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 5950.0, "surface_area": 3150.0, "principal_moments": [412000.0, 412000.0, 762000.0], "n_faces": 129, "n_edges": 381, "n_vertices": 254}, "dimensions": {"lines": ["Spur gear, module 1.5 mm, 21 teeth (pitch \u00d831.5 mm), face width 7.9 mm, \u00d84.2 mm bore."], "text": "Spur gear, module 1.5 mm, 21 teeth (pitch \u00d831.5 mm), face width 7.9 mm, \u00d84.2 mm bore."}, "params": {"module": {"type": "float", "default": 1.5, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 21, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 7.9, "min": 3.2, "max": 19.8, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "bore_d": {"type": "float", "default": 4.2, "min": 2.0, "max": 16.6, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328962 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 1.5, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 21, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 7.9, \"min\": 3.2, \"max\": 19.8, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 4.2, \"min\": 2.0, \"max\": 16.6, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462c9d43_0399", "family": "block", "tier": 1, "seed": 1177328963, "symmetry": "radial", "op_count": 2, "ir_hash": "d7e4ec5d220fe337", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 71100.0, "surface_area": 15200.0, "principal_moments": [16900000.0, 26599999.999999996, 27099999.999999996], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Rectangular body, 54.5 \u00d7 38.6 \u00d7 37.2 mm (W\u00d7D\u00d7H).", "Six \u00d86.4 mm holes on a \u00d832.6 mm bolt circle."], "text": "Rectangular body, 54.5 \u00d7 38.6 \u00d7 37.2 mm (W\u00d7D\u00d7H). Six \u00d86.4 mm holes on a \u00d832.6 mm bolt circle."}, "params": {"block_w": {"type": "float", "default": 54.5, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 38.6, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 37.2, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "bolt_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 16.3, "min": 10.9, "max": 24.5, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 6, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328963 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 54.5, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 38.6, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 37.2, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 16.3, \"min\": 10.9, \"max\": 24.5, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9d44_0400", "family": "plate", "tier": 2, "seed": 1177328964, "symmetry": "none", "op_count": 3, "ir_hash": "6e43f8c5ba86e2c0", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 51900.0, "surface_area": 14500.0, "principal_moments": [8750000.0, 62899999.99999999, 70800000.0], "n_faces": 19, "n_edges": 51, "n_vertices": 34}, "dimensions": {"lines": ["Rectangular body, 120 \u00d7 43.9 \u00d7 10 mm (W\u00d7D\u00d7H).", "Nine \u00d83.2 mm holes in two staggered rows, 22.5 \u00d7 26.8 mm pitch.", "Fillet radius 2.042 mm on vertical edges."], "text": "Rectangular body, 120 \u00d7 43.9 \u00d7 10 mm (W\u00d7D\u00d7H). Nine \u00d83.2 mm holes in two staggered rows, 22.5 \u00d7 26.8 mm pitch. Fillet radius 2.042 mm on vertical edges."}, "params": {"plate_w": {"type": "float", "default": 120.0, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 43.9, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 4.4, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 5, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328964 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 120.0, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 43.9, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 4.4, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 5, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 22.5\n    _ssy = 26.8\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"plate_w\"], p[\"plate_d\"]) * 0.0465160499732329)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462c9d45_0401", "family": "sketched", "tier": 1, "seed": 1177328965, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "9193fa9713c0e582", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 8050.0, "surface_area": 2500.0, "principal_moments": [367000.0, 710000.0, 710000.0], "n_faces": 6, "n_edges": 9, "n_vertices": 5}, "dimensions": {"lines": ["Revolved organic body from a freeform sketched section (6 segments: 2 straight, 1 arc, 3 curves), ~11.635 \u00d7 29.14 mm half-silhouette."], "text": "Revolved organic body from a freeform sketched section (6 segments: 2 straight, 1 arc, 3 curves), ~11.635 \u00d7 29.14 mm half-silhouette."}, "params": {"sk_r": {"type": "float", "default": 15, "min": 7.5, "max": 27.0, "step": 1.0, "group": "Sketch", "label": "Max radius (mm)"}, "sk_h": {"type": "float", "default": 29.14, "min": 14.6, "max": 52.5, "step": 1.0, "group": "Sketch", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328965 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_r\": {\"type\": 'float', \"default\": 15, \"min\": 7.5, \"max\": 27.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Max radius (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 29.14, \"min\": 14.6, \"max\": 52.5, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XZ').moveTo(p[\"sk_r\"] * 0.4806, p[\"sk_h\"] * 0.0).bezier([(p[\"sk_r\"] * 0.4806, p[\"sk_h\"] * 0.0), (p[\"sk_r\"] * 0.5978, p[\"sk_h\"] * 0.2018), (p[\"sk_r\"] * 0.7757, p[\"sk_h\"] * 0.4036)]).spline([(p[\"sk_r\"] * 0.7757, p[\"sk_h\"] * 0.4036), (p[\"sk_r\"] * 0.6466, p[\"sk_h\"] * 0.4038), (p[\"sk_r\"] * 0.7409, p[\"sk_h\"] * 0.4039)]).threePointArc((p[\"sk_r\"] * 0.5913, p[\"sk_h\"] * 0.5343), (p[\"sk_r\"] * 0.6165, p[\"sk_h\"] * 0.6647)).bezier([(p[\"sk_r\"] * 0.6165, p[\"sk_h\"] * 0.6647), (p[\"sk_r\"] * 0.6188, p[\"sk_h\"] * 0.8323), (p[\"sk_r\"] * 0.6567, p[\"sk_h\"] * 1.0)]).lineTo(p[\"sk_r\"] * 0.0, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.0, p[\"sk_h\"] * 0.0).close().revolve())\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9d46_0402", "family": "plate", "tier": 3, "seed": 1177328966, "symmetry": "none", "op_count": 4, "ir_hash": "781df2b036d2e38d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 9460.0, "surface_area": 4200.0, "principal_moments": [580000.0, 1380000.0, 1750000.0], "n_faces": 21, "n_edges": 54, "n_vertices": 36}, "dimensions": {"lines": ["Rectangular body, 39.35 \u00d7 23.7 \u00d7 12 mm (W\u00d7D\u00d7H).", "Six \u00d82.7 mm holes in a 2\u00d73 grid, 31.5 \u00d7 9.5 mm pitch.", "Chamfer 0.6 mm on vertical edges.", "Pocket 24.1 \u00d7 13.9 mm, 3.9 mm deep, in top face."], "text": "Rectangular body, 39.35 \u00d7 23.7 \u00d7 12 mm (W\u00d7D\u00d7H). Six \u00d82.7 mm holes in a 2\u00d73 grid, 31.5 \u00d7 9.5 mm pitch. Chamfer 0.6 mm on vertical edges. Pocket 24.1 \u00d7 13.9 mm, 3.9 mm deep, in top face."}, "params": {"plate_w": {"type": "float", "default": 39.35, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 23.7, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 2.7, "min": 2.0, "max": 2.8, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 2, "min": 1, "max": 4, "step": 1, "group": "Holes", "label": "Holes across"}, "hole_ny": {"type": "int", "default": 3, "min": 1, "max": 4, "step": 1, "group": "Holes", "label": "Holes deep"}, "chamfer_d": {"type": "float", "default": 0.6, "min": 0.5, "max": 0.8, "step": 0.5, "group": "Body", "label": "Chamfer distance (mm)"}, "chamfered": {"type": "bool", "default": true, "group": "Body", "label": "Chamfer edges"}, "pocket_w": {"type": "float", "default": 24.1, "min": 12.1, "max": 31.5, "step": 1.0, "group": "Pocket", "label": "Pocket width (mm)"}, "pocket_d": {"type": "float", "default": 13.9, "min": 7.0, "max": 19.0, "step": 1.0, "group": "Pocket", "label": "Pocket depth (mm)"}, "pocket_h": {"type": "float", "default": 3.9, "min": 1.6, "max": 10.2, "step": 0.5, "group": "Pocket", "label": "Pocket height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328966 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 39.35, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 23.7, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 2.7, \"min\": 2.0, \"max\": 2.8, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 2, \"min\": 1, \"max\": 4, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes across'},\n    \"hole_ny\": {\"type\": 'int', \"default\": 3, \"min\": 1, \"max\": 4, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes deep'},\n    \"chamfer_d\": {\"type\": 'float', \"default\": 0.6, \"min\": 0.5, \"max\": 0.8, \"step\": 0.5, \"group\": 'Body', \"label\": 'Chamfer distance (mm)'},\n    \"chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Chamfer edges'},\n    \"pocket_w\": {\"type\": 'float', \"default\": 24.1, \"min\": 12.1, \"max\": 31.5, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket width (mm)'},\n    \"pocket_d\": {\"type\": 'float', \"default\": 13.9, \"min\": 7.0, \"max\": 19.0, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket depth (mm)'},\n    \"pocket_h\": {\"type\": 'float', \"default\": 3.9, \"min\": 1.6, \"max\": 10.2, \"step\": 0.5, \"group\": 'Pocket', \"label\": 'Pocket height (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(31.5, 9.5, p[\"hole_nx\"], p[\"hole_ny\"])\n        .hole(p[\"hole_d\"])\n    )\n    if p[\"chamfered\"]:\n        result = result.edges('|Z').chamfer(p[\"chamfer_d\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"pocket_w\"], p[\"pocket_d\"])\n        .cutBlind(-p[\"pocket_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462c9d47_0403", "family": "revolved", "tier": 0, "seed": 1177328967, "symmetry": "radial", "op_count": 1, "ir_hash": "943f336829970ee0", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 75800.0, "surface_area": 15900.0, "principal_moments": [35600000.0, 35600000.0, 65499999.99999999], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d875.92 mm \u00d7 25.1 mm tall."], "text": "Revolved body, \u00d875.92 mm \u00d7 25.1 mm tall."}, "params": {"outer_d": {"type": "float", "default": 75.92, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 25.1, "min": 7.5, "max": 75.3, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328967 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 75.92, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 25.1, \"min\": 7.5, \"max\": 75.3, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9d48_0404", "family": "plate", "tier": 0, "seed": 1177328968, "symmetry": "none", "op_count": 1, "ir_hash": "744e3558d15a08ad", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 16600.0, "surface_area": 4790.0, "principal_moments": [901000.0, 5450000.0, 5950000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 61.55 \u00d7 22.5 \u00d7 12 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 61.55 \u00d7 22.5 \u00d7 12 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 61.55, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 22.5, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328968 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 61.55, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 22.5, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462c9d49_0405", "family": "ribbed", "tier": 2, "seed": 1177328969, "symmetry": "none", "op_count": 2, "ir_hash": "55808611683419d2", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 51400.0, "surface_area": 18000.0, "principal_moments": [15699999.999999998, 32799999.999999996, 46099999.99999999], "n_faces": 38, "n_edges": 92, "n_vertices": 56}, "dimensions": {"lines": ["Rectangular body, 85 \u00d7 53.6 \u00d7 8 mm (W\u00d7D\u00d7H).", "Four ribs, 5.3 mm thick, 10.4 mm tall."], "text": "Rectangular body, 85 \u00d7 53.6 \u00d7 8 mm (W\u00d7D\u00d7H). Four ribs, 5.3 mm thick, 10.4 mm tall."}, "params": {"base_w": {"type": "float", "default": 85, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 53.6, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 8.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 4, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 10.4, "min": 4.2, "max": 20.8, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 5.3, "min": 1.0, "max": 13.2, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328969 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 85, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 53.6, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 4, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 10.4, \"min\": 4.2, \"max\": 20.8, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 5.3, \"min\": 1.0, \"max\": 13.2, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462c9d4a_0406", "family": "block", "tier": 1, "seed": 1177328970, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "5d1b0a462f576bed", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 19200.0, "surface_area": 5990.0, "principal_moments": [1760000.0, 2930000.0, 3130000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 37.62 \u00d7 25.4 \u00d7 22.1 mm (W\u00d7D\u00d7H).", "Four \u00d85.3 mm holes at the corners, 26.334 \u00d7 17.78 mm spacing."], "text": "Rectangular body, 37.62 \u00d7 25.4 \u00d7 22.1 mm (W\u00d7D\u00d7H). Four \u00d85.3 mm holes at the corners, 26.334 \u00d7 17.78 mm spacing."}, "params": {"block_w": {"type": "float", "default": 37.62, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 25.4, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 22.1, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 5.7, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328970 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 37.62, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 25.4, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 22.1, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 5.7, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462c9d4b_0407", "family": "bracket", "tier": 2, "seed": 1177328971, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "b0c0d66f81ee3bc5", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 22100.0, "surface_area": 15900.0, "principal_moments": [8280000.0, 25199999.999999996, 28199999.999999996], "n_faces": 15, "n_edges": 41, "n_vertices": 26}, "dimensions": {"lines": ["L-bracket: base leg 88.74 mm, vertical leg 78.3 mm, 40 mm wide, 3 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg; 3.2 mm corner gusset."], "text": "L-bracket: base leg 88.74 mm, vertical leg 78.3 mm, 40 mm wide, 3 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg; 3.2 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 88.74, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 78.3, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 40, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 3.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 3.2, "min": 1.5, "max": 9.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328971 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 88.74, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 78.3, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 40, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 3.2, \"min\": 1.5, \"max\": 9.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462c9d4c_0408", "family": "bracket", "tier": 1, "seed": 1177328972, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "0988d0ad9d9f8053", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 7220.0, "surface_area": 4880.0, "principal_moments": [1190000.0, 5070000.0, 5980000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["L-bracket: base leg 73.08 mm, vertical leg 54.5 mm, 15.12 mm wide, 4 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."], "text": "L-bracket: base leg 73.08 mm, vertical leg 54.5 mm, 15.12 mm wide, 4 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 73.08, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 54.5, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 15.12, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 4.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 6.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328972 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 73.08, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 54.5, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 15.12, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 6.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462c9d4d_0409", "family": "enclosure", "tier": 1, "seed": 1177328973, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "77d195151159bd93", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 138000.0, "surface_area": 52800.0, "principal_moments": [165000000.0, 200000000.0, 217000000.0], "n_faces": 11, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 85 \u00d7 69.8 \u00d7 73.6 mm (W\u00d7D\u00d7H).", "Hollowed to 5.4 mm wall thickness, open at top face."], "text": "Rectangular body, 85 \u00d7 69.8 \u00d7 73.6 mm (W\u00d7D\u00d7H). Hollowed to 5.4 mm wall thickness, open at top face."}, "params": {"enc_w": {"type": "float", "default": 85, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 69.8, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 73.6, "min": 29.4, "max": 147.2, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 5.4, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328973 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 85, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 69.8, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 73.6, \"min\": 29.4, \"max\": 147.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 5.4, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462c9d4e_0410", "family": "compound", "tier": 2, "seed": 1177328974, "symmetry": "none", "op_count": 4, "ir_hash": "2a79eef13e2fceea", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 291000.0, "surface_area": 38900.0, "principal_moments": [208000000.0, 213000000.0, 261000000.0], "n_faces": 17, "n_edges": 50, "n_vertices": 34}, "dimensions": {"lines": ["Rectangular body, 65.22 \u00d7 59.6 \u00d7 74.9 mm (W\u00d7D\u00d7H).", "40.9 \u00d7 63.9 mm rectangular section attachment, 10 mm long, from right face.", "Four \u00d85.3 mm holes at the corners, 24.54 \u00d7 38.34 mm spacing on the >X face.", "Four \u00d813 mm holes at the corners, 45.654 \u00d7 41.72 mm spacing."], "text": "Rectangular body, 65.22 \u00d7 59.6 \u00d7 74.9 mm (W\u00d7D\u00d7H). 40.9 \u00d7 63.9 mm rectangular section attachment, 10 mm long, from right face. Four \u00d85.3 mm holes at the corners, 24.54 \u00d7 38.34 mm spacing on the >X face. Four \u00d813 mm holes at the corners, 45.654 \u00d7 41.72 mm spacing."}, "params": {"block_w": {"type": "float", "default": 65.22, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 59.6, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 74.9, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "tab_a": {"type": "float", "default": 40.9, "min": 16.4, "max": 65.4, "step": 1.0, "group": "Tab", "label": "Tab width (mm)"}, "tab_b": {"type": "float", "default": 63.9, "min": 25.6, "max": 102.2, "step": 1.0, "group": "Tab", "label": "Tab height (mm)"}, "tab_t": {"type": "float", "default": 10.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Tab", "label": "Tab thickness (mm)"}, "tab_hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 9.0, "step": 0.1, "group": "Tab", "label": "Tab hole diameter (mm)"}, "block_hole_d": {"type": "float", "default": 13.0, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328974 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 65.22, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 59.6, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 74.9, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"tab_a\": {\"type\": 'float', \"default\": 40.9, \"min\": 16.4, \"max\": 65.4, \"step\": 1.0, \"group\": 'Tab', \"label\": 'Tab width (mm)'},\n    \"tab_b\": {\"type\": 'float', \"default\": 63.9, \"min\": 25.6, \"max\": 102.2, \"step\": 1.0, \"group\": 'Tab', \"label\": 'Tab height (mm)'},\n    \"tab_t\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Tab', \"label\": 'Tab thickness (mm)'},\n    \"tab_hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 9.0, \"step\": 0.1, \"group\": 'Tab', \"label\": 'Tab hole diameter (mm)'},\n    \"block_hole_d\": {\"type\": 'float', \"default\": 13.0, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .rect(p[\"tab_a\"], p[\"tab_b\"]).extrude(p[\"tab_t\"])\n    )\n    result = (\n        result.faces('>X').workplane()\n        .rect(p[\"tab_a\"] * 0.6, p[\"tab_b\"] * 0.6, forConstruction=True)\n        .vertices().hole(p[\"tab_hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"block_hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462c9d4f_0411", "family": "flanged", "tier": 2, "seed": 1177328975, "symmetry": "none", "op_count": 3, "ir_hash": "9d85f3b79a7b3ee4", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 225000.0, "surface_area": 48800.0, "principal_moments": [257000000.0, 257000000.0, 306000000.0], "n_faces": 22, "n_edges": 47, "n_vertices": 28}, "dimensions": {"lines": ["Revolved body, \u00d860.8 mm \u00d7 67.9 mm tall with \u00d830.9 mm bore, \u00d8136.3 mm \u00d7 6.9 mm flange.", "Six \u00d86.4 mm holes on a \u00d881.8 mm bolt circle.", "Chamfer 0.9 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d860.8 mm \u00d7 67.9 mm tall with \u00d830.9 mm bore, \u00d8136.3 mm \u00d7 6.9 mm flange. Six \u00d86.4 mm holes on a \u00d881.8 mm bolt circle. Chamfer 0.9 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 60.8, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 67.9, "min": 20.4, "max": 169.8, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 30.9, "min": 2.0, "max": 42.6, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 136.3, "min": 79.0, "max": 182.4, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 6.9, "min": 2.1, "max": 27.2, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 40.9, "min": 27.3, "max": 61.3, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 6, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}, "end_chamfer": {"type": "float", "default": 0.9, "min": 0.1, "max": 2.0, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328975 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 60.8, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 67.9, \"min\": 20.4, \"max\": 169.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 30.9, \"min\": 2.0, \"max\": 42.6, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 136.3, \"min\": 79.0, \"max\": 182.4, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 6.9, \"min\": 2.1, \"max\": 27.2, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 40.9, \"min\": 27.3, \"max\": 61.3, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.9, \"min\": 0.1, \"max\": 2.0, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462c9d50_0412", "family": "bracket", "tier": 2, "seed": 1177328976, "symmetry": "none", "op_count": 1, "ir_hash": "5df395705fb1a82a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 7760.0, "surface_area": 5070.0, "principal_moments": [750000.0, 4700000.0, 5140000.0], "n_faces": 18, "n_edges": 48, "n_vertices": 32}, "dimensions": {"lines": ["Z-bracket: base leg 50 mm, vertical leg 44.6 mm, top leg 34.6 mm, 15.67 mm wide, 4 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg; 4.3 mm corner gusset."], "text": "Z-bracket: base leg 50 mm, vertical leg 44.6 mm, top leg 34.6 mm, 15.67 mm wide, 4 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg; 4.3 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 50, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 44.6, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 15.67, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 4.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 34.6, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 6.3, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}, "gusset_t": {"type": "float", "default": 4.3, "min": 2.0, "max": 7.8, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328976 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 50, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 44.6, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 15.67, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 34.6, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 6.3, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 7.8, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _tl, _vl) * 0.4 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(0, _vl - _bt).lineTo(-_g, _vl - _bt)\n                    .lineTo(0, _vl - _bt - _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462c9d51_0413", "family": "block", "tier": 2, "seed": 1177328977, "symmetry": "none", "op_count": 3, "ir_hash": "ff97d7e77f5447e6", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 5790.0, "surface_area": 3240.0, "principal_moments": [338000.0, 400000.0, 631000.0], "n_faces": 26, "n_edges": 64, "n_vertices": 36}, "dimensions": {"lines": ["Rectangular body, 23.31 \u00d7 10.4 \u00d7 27 mm (W\u00d7D\u00d7H).", "Five \u00d81.4 mm holes in two staggered rows, 8.7 \u00d7 9 mm pitch.", "Pocket 9.7 \u00d7 4.5 mm, 12.6 mm deep, in top face."], "text": "Rectangular body, 23.31 \u00d7 10.4 \u00d7 27 mm (W\u00d7D\u00d7H). Five \u00d81.4 mm holes in two staggered rows, 8.7 \u00d7 9 mm pitch. Pocket 9.7 \u00d7 4.5 mm, 12.6 mm deep, in top face."}, "params": {"block_w": {"type": "float", "default": 23.31, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 10.4, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 27.0, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 1.4, "min": 2.0, "max": 1.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 3, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}, "pocket_w": {"type": "float", "default": 9.7, "min": 4.8, "max": 18.6, "step": 1.0, "group": "Pocket", "label": "Pocket width (mm)"}, "pocket_d": {"type": "float", "default": 4.5, "min": 2.2, "max": 8.3, "step": 1.0, "group": "Pocket", "label": "Pocket depth (mm)"}, "pocket_h": {"type": "float", "default": 12.6, "min": 5.0, "max": 22.9, "step": 0.5, "group": "Pocket", "label": "Pocket height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328977 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 23.31, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 10.4, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 27.0, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 1.4, \"min\": 2.0, \"max\": 1.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 3, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n    \"pocket_w\": {\"type\": 'float', \"default\": 9.7, \"min\": 4.8, \"max\": 18.6, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket width (mm)'},\n    \"pocket_d\": {\"type\": 'float', \"default\": 4.5, \"min\": 2.2, \"max\": 8.3, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket depth (mm)'},\n    \"pocket_h\": {\"type\": 'float', \"default\": 12.6, \"min\": 5.0, \"max\": 22.9, \"step\": 0.5, \"group\": 'Pocket', \"label\": 'Pocket height (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 8.7\n    _ssy = 9.0\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"pocket_w\"], p[\"pocket_d\"])\n        .cutBlind(-p[\"pocket_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462c9d52_0414", "family": "revolved", "tier": 2, "seed": 1177328978, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "ae5ed1a4c973cd6d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 57900.0, "surface_area": 17900.0, "principal_moments": [8210000.0, 71600000.0, 71600000.0], "n_faces": 12, "n_edges": 20, "n_vertices": 12}, "dimensions": {"lines": ["Revolved body, \u00d830 mm \u00d7 116.8 mm tall with \u00d815.7 mm bore, 9.3 mm-wide groove 2.26 mm deep.", "Chamfer 1.1 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d830 mm \u00d7 116.8 mm tall with \u00d815.7 mm bore, 9.3 mm-wide groove 2.26 mm deep. Chamfer 1.1 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 30, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 116.8, "min": 35.0, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 15.7, "min": 2.0, "max": 21.0, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "groove_depth": {"type": "float", "default": 2.26, "min": 0.9, "max": 6.78, "step": 0.1, "group": "Body", "label": "Groove depth (mm)"}, "groove_w": {"type": "float", "default": 9.3, "min": 3.72, "max": 27.9, "step": 0.2, "group": "Body", "label": "Groove width (mm)"}, "groove_pos": {"type": "float", "default": 53.3, "min": 17.5, "max": 99.3, "step": 1.0, "group": "Body", "label": "Groove position (mm)"}, "end_chamfer": {"type": "float", "default": 1.1, "min": 0.1, "max": 3.3, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328978 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 30, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 116.8, \"min\": 35.0, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 15.7, \"min\": 2.0, \"max\": 21.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"groove_depth\": {\"type\": 'float', \"default\": 2.26, \"min\": 0.9, \"max\": 6.78, \"step\": 0.1, \"group\": 'Body', \"label\": 'Groove depth (mm)'},\n    \"groove_w\": {\"type\": 'float', \"default\": 9.3, \"min\": 3.72, \"max\": 27.9, \"step\": 0.2, \"group\": 'Body', \"label\": 'Groove width (mm)'},\n    \"groove_pos\": {\"type\": 'float', \"default\": 53.3, \"min\": 17.5, \"max\": 99.3, \"step\": 1.0, \"group\": 'Body', \"label\": 'Groove position (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 1.1, \"min\": 0.1, \"max\": 3.3, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"groove_pos\"] - p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2 - p[\"groove_depth\"], p[\"groove_pos\"] - p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2 - p[\"groove_depth\"], p[\"groove_pos\"] + p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2, p[\"groove_pos\"] + p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462c9d53_0415", "family": "ribbed", "tier": 2, "seed": 1177328979, "symmetry": "none", "op_count": 2, "ir_hash": "3bcef762c27a74ab", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 69400.0, "surface_area": 20400.0, "principal_moments": [26099999.999999996, 53799999.99999999, 77600000.0], "n_faces": 38, "n_edges": 92, "n_vertices": 56}, "dimensions": {"lines": ["Rectangular body, 95 \u00d7 64.1 \u00d7 10 mm (W\u00d7D\u00d7H).", "Four ribs, 3.8 mm thick, 7.4 mm tall."], "text": "Rectangular body, 95 \u00d7 64.1 \u00d7 10 mm (W\u00d7D\u00d7H). Four ribs, 3.8 mm thick, 7.4 mm tall."}, "params": {"base_w": {"type": "float", "default": 95, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 64.1, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 10.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 4, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 7.4, "min": 3.0, "max": 14.8, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 3.8, "min": 1.0, "max": 9.5, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328979 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 95, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 64.1, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 4, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 7.4, \"min\": 3.0, \"max\": 14.8, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 3.8, \"min\": 1.0, \"max\": 9.5, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462c9d54_0416", "family": "threaded", "tier": 0, "seed": 1177328980, "symmetry": "none", "op_count": 1, "ir_hash": "9195e48fc25d7665", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 5350.0, "surface_area": 3320.0, "principal_moments": [81300.0, 1470000.0, 1470000.0], "n_faces": 330, "n_edges": 848, "n_vertices": 520}, "dimensions": {"lines": ["M12x1.75 external thread, 56.9 mm long."], "text": "M12x1.75 external thread, 56.9 mm long."}, "params": {"major_d": {"type": "float", "default": 12.0, "min": 4.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Major diameter (mm)"}, "pitch": {"type": "float", "default": 1.75, "min": 0.88, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Pitch (mm)"}, "thread_len": {"type": "float", "default": 56.9, "min": 22.8, "max": 113.8, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328980 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 12.0, \"min\": 4.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Major diameter (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.75, \"min\": 0.88, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Pitch (mm)'},\n    \"thread_len\": {\"type\": 'float', \"default\": 56.9, \"min\": 22.8, \"max\": 113.8, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.IsoThread(major_diameter=p[\"major_d\"], pitch=p[\"pitch\"], length=p[\"thread_len\"], external=True, end_finishes=(\"fade\", \"fade\"))\n    _r = _thr.min_radius if hasattr(_thr, 'min_radius') else _thr.root_radius\n    _shank = _bd.Cylinder(radius=_r, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = _shank + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462c9d55_0417", "family": "revolved", "tier": 0, "seed": 1177328981, "symmetry": "radial", "op_count": 1, "ir_hash": "4afe94f638b260aa", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 964.0, "surface_area": 1170.0, "principal_moments": [8730.0, 57600.0, 57600.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d87.77 mm \u00d7 30.5 mm tall."], "text": "Revolved body, \u00d87.77 mm \u00d7 30.5 mm tall."}, "params": {"outer_d": {"type": "float", "default": 7.77, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 30.5, "min": 9.2, "max": 91.5, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328981 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 7.77, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 30.5, \"min\": 9.2, \"max\": 91.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462c9d56_0418", "family": "block", "tier": 2, "seed": 1177328982, "symmetry": "mirror_xy", "op_count": 3, "ir_hash": "2a790cc596b808bb", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 65700.0, "surface_area": 16200.0, "principal_moments": [14699999.999999998, 24099999.999999996, 27099999.999999996], "n_faces": 25, "n_edges": 66, "n_vertices": 44}, "dimensions": {"lines": ["Rectangular body, 40.14 \u00d7 32.5 \u00d7 53.5 mm (W\u00d7D\u00d7H).", "Four 3.8 mm square holes at the corners, 28.098 \u00d7 22.75 mm spacing.", "Boss \u00d824.2 mm \u00d7 9.7 mm tall on top face with a \u00d810.5 mm bore."], "text": "Rectangular body, 40.14 \u00d7 32.5 \u00d7 53.5 mm (W\u00d7D\u00d7H). Four 3.8 mm square holes at the corners, 28.098 \u00d7 22.75 mm spacing. Boss \u00d824.2 mm \u00d7 9.7 mm tall on top face with a \u00d810.5 mm bore."}, "params": {"block_w": {"type": "float", "default": 40.14, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 32.5, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 53.5, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 3.8, "min": 2.0, "max": 9.5, "step": 0.5, "group": "Holes", "label": "Square hole size (mm)"}, "boss_d": {"type": "float", "default": 24.2, "min": 12.1, "max": 48.4, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 9.7, "min": 3.9, "max": 24.2, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}, "boss_bore_d": {"type": "float", "default": 10.5, "min": 2.0, "max": 16.9, "step": 0.1, "group": "Boss", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328982 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 40.14, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 32.5, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 53.5, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.8, \"min\": 2.0, \"max\": 9.5, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Square hole size (mm)'},\n    \"boss_d\": {\"type\": 'float', \"default\": 24.2, \"min\": 12.1, \"max\": 48.4, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 9.7, \"min\": 3.9, \"max\": 24.2, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n    \"boss_bore_d\": {\"type\": 'float', \"default\": 10.5, \"min\": 2.0, \"max\": 16.9, \"step\": 0.1, \"group\": 'Boss', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().rect(p[\"hole_d\"], p[\"hole_d\"]).cutThruAll()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .hole(p[\"boss_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462c9d57_0419", "family": "ribbed", "tier": 2, "seed": 1177328983, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "e405efcb6286f649", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 30600.0, "surface_area": 14200.0, "principal_moments": [6530000.0, 13799999.999999998, 19300000.0], "n_faces": 54, "n_edges": 132, "n_vertices": 80}, "dimensions": {"lines": ["Rectangular body, 73.77 \u00d7 38.6 \u00d7 6 mm (W\u00d7D\u00d7H).", "Six ribs, 4.9 mm thick, 7.8 mm tall."], "text": "Rectangular body, 73.77 \u00d7 38.6 \u00d7 6 mm (W\u00d7D\u00d7H). Six ribs, 4.9 mm thick, 7.8 mm tall."}, "params": {"base_w": {"type": "float", "default": 73.77, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 38.6, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 6.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 6, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 7.8, "min": 3.1, "max": 15.6, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 4.9, "min": 1.0, "max": 12.2, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328983 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 73.77, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 38.6, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 6, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 7.8, \"min\": 3.1, \"max\": 15.6, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 4.9, \"min\": 1.0, \"max\": 12.2, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462c9d58_0420", "family": "block", "tier": 2, "seed": 1177328984, "symmetry": "none", "op_count": 3, "ir_hash": "9a02b66b54a2a281", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 356000.0, "surface_area": 47700.0, "principal_moments": [336000000.0, 391000000.0, 606000000.0], "n_faces": 21, "n_edges": 54, "n_vertices": 36}, "dimensions": {"lines": ["Rectangular body, 100 \u00d7 43.1 \u00d7 100 mm (W\u00d7D\u00d7H).", "Five \u00d84.3 mm holes in two staggered rows, 37.5 \u00d7 40.6 mm pitch.", "Pocket 65.5 \u00d7 24.8 mm, 42.3 mm deep, in top face."], "text": "Rectangular body, 100 \u00d7 43.1 \u00d7 100 mm (W\u00d7D\u00d7H). Five \u00d84.3 mm holes in two staggered rows, 37.5 \u00d7 40.6 mm pitch. Pocket 65.5 \u00d7 24.8 mm, 42.3 mm deep, in top face."}, "params": {"block_w": {"type": "float", "default": 100.0, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 43.1, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 100.0, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 4.3, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 3, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}, "pocket_w": {"type": "float", "default": 65.5, "min": 32.8, "max": 80.0, "step": 1.0, "group": "Pocket", "label": "Pocket width (mm)"}, "pocket_d": {"type": "float", "default": 24.8, "min": 12.4, "max": 34.5, "step": 1.0, "group": "Pocket", "label": "Pocket depth (mm)"}, "pocket_h": {"type": "float", "default": 42.3, "min": 16.9, "max": 85.0, "step": 0.5, "group": "Pocket", "label": "Pocket height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328984 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 100.0, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 43.1, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 100.0, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 4.3, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 3, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n    \"pocket_w\": {\"type\": 'float', \"default\": 65.5, \"min\": 32.8, \"max\": 80.0, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket width (mm)'},\n    \"pocket_d\": {\"type\": 'float', \"default\": 24.8, \"min\": 12.4, \"max\": 34.5, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket depth (mm)'},\n    \"pocket_h\": {\"type\": 'float', \"default\": 42.3, \"min\": 16.9, \"max\": 85.0, \"step\": 0.5, \"group\": 'Pocket', \"label\": 'Pocket height (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 37.5\n    _ssy = 40.6\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"pocket_w\"], p[\"pocket_d\"])\n        .cutBlind(-p[\"pocket_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462c9d59_0421", "family": "bracket", "tier": 1, "seed": 1177328985, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "84f679bbb88c1063", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 13100.0, "surface_area": 8720.0, "principal_moments": [8610000.0, 14499999.999999998, 22600000.0], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["C-channel bracket: base leg 78.39 mm, vertical leg 77.1 mm, 15.04 mm wide, 4 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."], "text": "C-channel bracket: base leg 78.39 mm, vertical leg 77.1 mm, 15.04 mm wide, 4 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 78.39, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 77.1, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 15.04, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 4.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 6.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328985 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 78.39, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 77.1, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 15.04, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 6.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9d5a_0422", "family": "plate", "tier": 0, "seed": 1177328986, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "0a52df3084c7f595", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 4940.0, "surface_area": 2060.0, "principal_moments": [170000.0, 476000.0, 593000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 33.03 \u00d7 18.7 \u00d7 8 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 33.03 \u00d7 18.7 \u00d7 8 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 33.03, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 18.7, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328986 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 33.03, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 18.7, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462c9d5b_0423", "family": "flanged", "tier": 1, "seed": 1177328987, "symmetry": "radial", "op_count": 2, "ir_hash": "f465aa6be39ea074", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 16200.0, "surface_area": 7220.0, "principal_moments": [2520000.0, 2910000.0, 2910000.0], "n_faces": 21, "n_edges": 78, "n_vertices": 52}, "dimensions": {"lines": ["Revolved body, \u00d825 mm \u00d7 31.9 mm tall with \u00d811.2 mm bore, \u00d846.8 mm \u00d7 3.2 mm flange.", "Eight \u00d83.2 mm holes on a \u00d828 mm bolt circle."], "text": "Revolved body, \u00d825 mm \u00d7 31.9 mm tall with \u00d811.2 mm bore, \u00d846.8 mm \u00d7 3.2 mm flange. Eight \u00d83.2 mm holes on a \u00d828 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 25, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 31.9, "min": 9.6, "max": 79.8, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 11.2, "min": 2.0, "max": 17.5, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 46.8, "min": 32.5, "max": 75.0, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 3.2, "min": 1.0, "max": 12.8, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 14.0, "min": 9.4, "max": 21.1, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 8, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328987 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 25, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 31.9, \"min\": 9.6, \"max\": 79.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 11.2, \"min\": 2.0, \"max\": 17.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 46.8, \"min\": 32.5, \"max\": 75.0, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 3.2, \"min\": 1.0, \"max\": 12.8, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 14.0, \"min\": 9.4, \"max\": 21.1, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462c9d5c_0424", "family": "profiled", "tier": 0, "seed": 1177328988, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "c1b8bc839907543d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 107000.0, "surface_area": 28400.0, "principal_moments": [19600000.0, 185000000.0, 185000000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d835 mm \u00d7 166.2 mm tall."], "text": "Revolved body, \u00d835 mm \u00d7 166.2 mm tall."}, "params": {"outer_d": {"type": "float", "default": 35, "min": 17.5, "max": 70.0, "step": 1.0, "group": "Profile", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 166.2, "min": 49.9, "max": 498.6, "step": 5.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328988 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 35, \"min\": 17.5, \"max\": 70.0, \"step\": 1.0, \"group\": 'Profile', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 166.2, \"min\": 49.9, \"max\": 498.6, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462c9d5d_0425", "family": "threaded", "tier": 2, "seed": 1177328989, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "c29c4a64d8148c77", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 288.0, "surface_area": 438.0, "principal_moments": [748.0, 8050.0, 8050.0], "n_faces": 230, "n_edges": 588, "n_vertices": 360}, "dimensions": {"lines": ["M5x0.8 external thread, 18 mm long."], "text": "M5x0.8 external thread, 18 mm long."}, "params": {"major_d": {"type": "float", "default": 5.0, "min": 4.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Major diameter (mm)"}, "pitch": {"type": "float", "default": 0.8, "min": 0.4, "max": 1.6, "step": 0.05, "group": "Thread", "label": "Pitch (mm)"}, "thread_len": {"type": "float", "default": 18.0, "min": 7.2, "max": 36.0, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328989 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 5.0, \"min\": 4.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Major diameter (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 0.8, \"min\": 0.4, \"max\": 1.6, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Pitch (mm)'},\n    \"thread_len\": {\"type\": 'float', \"default\": 18.0, \"min\": 7.2, \"max\": 36.0, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.IsoThread(major_diameter=p[\"major_d\"], pitch=p[\"pitch\"], length=p[\"thread_len\"], external=True, end_finishes=(\"fade\", \"fade\"))\n    _r = _thr.min_radius if hasattr(_thr, 'min_radius') else _thr.root_radius\n    _shank = _bd.Cylinder(radius=_r, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = _shank + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462c9d5e_0426", "family": "tapped", "tier": 0, "seed": 1177328990, "symmetry": "none", "op_count": 1, "ir_hash": "d8380765883eb997", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 19800.0, "surface_area": 5370.0, "principal_moments": [2540000.0, 2540000.0, 3860000.0], "n_faces": 128, "n_edges": 356, "n_vertices": 230}, "dimensions": {"lines": ["One M12x1.75 tapped hole in a cylinder."], "text": "One M12x1.75 tapped hole in a cylinder."}, "params": {"major_d": {"type": "float", "default": 12.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 1.75, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 19.2, "min": 14.4, "max": 34.6, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "body_d": {"type": "float", "default": 37.9, "min": 21.6, "max": 60.6, "step": 1.0, "group": "Body", "label": "Outer \u00d8 (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328990 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 12.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.75, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 19.2, \"min\": 14.4, \"max\": 34.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"body_d\": {\"type\": 'float', \"default\": 37.9, \"min\": 21.6, \"max\": 60.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer \u00d8 (mm)'},\n}\n\n\ndef build(p):\n\n    _W = _D = p[\"body_d\"]\n    _H = p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Cylinder(radius=_W / 2, height=_H)\n    _locs = [(0.0, 0.0)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9d5f_0427", "family": "plate", "tier": 0, "seed": 1177328991, "symmetry": "none", "op_count": 1, "ir_hash": "d42649e86f41a7ed", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 93900.0, "surface_area": 27000.0, "principal_moments": [75300000.0, 113000000.0, 188000000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 120 \u00d7 97.8 \u00d7 8 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 120 \u00d7 97.8 \u00d7 8 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 120.0, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 97.8, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328991 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 120.0, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 97.8, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9d60_0428", "family": "plate", "tier": 1, "seed": 1177328992, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "7abdfe6a0d95d642", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 8040.0, "surface_area": 5090.0, "principal_moments": [993000.0, 1980000.0, 2950000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 55 \u00d7 38.9 \u00d7 4 mm (W\u00d7D\u00d7H).", "Four \u00d86.4 mm holes at the corners, 38.5 \u00d7 27.23 mm spacing."], "text": "Rectangular body, 55 \u00d7 38.9 \u00d7 4 mm (W\u00d7D\u00d7H). Four \u00d86.4 mm holes at the corners, 38.5 \u00d7 27.23 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 55, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 38.9, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 4.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 8.8, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328992 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 55, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 38.9, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 4.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 8.8, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462c9d61_0429", "family": "threaded", "tier": 2, "seed": 1177328993, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "e9c57cc37405a902", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 4300.0, "surface_area": 2770.0, "principal_moments": [73000.0, 653000.0, 653000.0], "n_faces": 170, "n_edges": 432, "n_vertices": 264}, "dimensions": {"lines": ["ACME 1/2 external thread, 41.9 mm long."], "text": "ACME 1/2 external thread, 41.9 mm long."}, "params": {"thread_size": {"type": "enum", "default": "1/2", "choices": ["1/4", "5/16", "3/8", "1/2", "5/8", "3/4", "7/8", "1", "1 1/4", "1 1/2"], "group": "Thread", "label": "Size designation"}, "thread_len": {"type": "float", "default": 41.9, "min": 16.8, "max": 83.8, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328993 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"thread_size\": {\"type\": 'enum', \"default\": '1/2', \"choices\": ['1/4', '5/16', '3/8', '1/2', '5/8', '3/4', '7/8', '1', '1 1/4', '1 1/2'], \"group\": 'Thread', \"label\": 'Size designation'},\n    \"thread_len\": {\"type\": 'float', \"default\": 41.9, \"min\": 16.8, \"max\": 83.8, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.AcmeThread(size=p[\"thread_size\"], length=p[\"thread_len\"], external=True, end_finishes=(\"fade\", \"fade\"))\n    _r = _thr.min_radius if hasattr(_thr, 'min_radius') else _thr.root_radius\n    _shank = _bd.Cylinder(radius=_r, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = _shank + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462c9d62_0430", "family": "revolved", "tier": 1, "seed": 1177328994, "symmetry": "none", "op_count": 2, "ir_hash": "8bc0c9372e9b1171", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 186000.0, "surface_area": 31000.0, "principal_moments": [69000000.0, 274000000.0, 274000000.0], "n_faces": 8, "n_edges": 14, "n_vertices": 8}, "dimensions": {"lines": ["Revolved body, \u00d849.37 mm \u00d7 124.6 mm tall with \u00d823.1 mm bore.", "Chamfer 1.2 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d849.37 mm \u00d7 124.6 mm tall with \u00d823.1 mm bore. Chamfer 1.2 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 49.37, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 124.6, "min": 37.4, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 23.1, "min": 2.0, "max": 34.6, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "end_chamfer": {"type": "float", "default": 1.2, "min": 0.1, "max": 3.6, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328994 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 49.37, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 124.6, \"min\": 37.4, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 23.1, \"min\": 2.0, \"max\": 34.6, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 1.2, \"min\": 0.1, \"max\": 3.6, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462c9d63_0431", "family": "ribbed", "tier": 1, "seed": 1177328995, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "684d73c571644f4a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 34600.0, "surface_area": 13100.0, "principal_moments": [7610000.0, 16399999.999999998, 22899999.999999996], "n_faces": 38, "n_edges": 92, "n_vertices": 56}, "dimensions": {"lines": ["Rectangular body, 73.63 \u00d7 47 \u00d7 8 mm (W\u00d7D\u00d7H).", "Four ribs, 3.8 mm thick, 7.7 mm tall."], "text": "Rectangular body, 73.63 \u00d7 47 \u00d7 8 mm (W\u00d7D\u00d7H). Four ribs, 3.8 mm thick, 7.7 mm tall."}, "params": {"base_w": {"type": "float", "default": 73.63, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 47.0, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 8.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 4, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 7.7, "min": 3.1, "max": 15.4, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 3.8, "min": 1.0, "max": 9.5, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328995 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 73.63, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 47.0, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 4, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 7.7, \"min\": 3.1, \"max\": 15.4, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 3.8, \"min\": 1.0, \"max\": 9.5, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462c9d64_0432", "family": "ribbed", "tier": 2, "seed": 1177328996, "symmetry": "none", "op_count": 3, "ir_hash": "e06f4e356a35af40", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 7500.0, "surface_area": 3710.0, "principal_moments": [400000.0, 956000.0, 1090000.0], "n_faces": 30, "n_edges": 88, "n_vertices": 56}, "dimensions": {"lines": ["Rectangular body, 33.67 \u00d7 19.1 \u00d7 10 mm (W\u00d7D\u00d7H).", "Two ribs, 4.4 mm thick, 6.5 mm tall.", "Four \u00d83.2 mm holes at the corners, 23.569 \u00d7 13.37 mm spacing."], "text": "Rectangular body, 33.67 \u00d7 19.1 \u00d7 10 mm (W\u00d7D\u00d7H). Two ribs, 4.4 mm thick, 6.5 mm tall. Four \u00d83.2 mm holes at the corners, 23.569 \u00d7 13.37 mm spacing."}, "params": {"base_w": {"type": "float", "default": 33.67, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 19.1, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 10.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 2, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 6.5, "min": 2.6, "max": 13.0, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 4.4, "min": 1.0, "max": 11.0, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 4.3, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328996 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 33.67, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 19.1, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 2, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 6.5, \"min\": 2.6, \"max\": 13.0, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 4.4, \"min\": 1.0, \"max\": 11.0, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 4.3, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"base_w\"] * 0.7, p[\"base_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462c9d66_0434", "family": "sketched", "tier": 2, "seed": 1177328998, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "a02c8c98e352f1ce", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 20300.0, "surface_area": 5100.0, "principal_moments": [2070000.0, 3040000.0, 3540000.0], "n_faces": 10, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["freeform sketched section (4 segments: 1 straight, 1 arc, 2 curves), ~28.876 \u00d7 45.002 mm, extruded 25 mm thick.", "One \u00d84.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch.", "Boss \u00d810.6 mm \u00d7 10 mm tall on top face."], "text": "freeform sketched section (4 segments: 1 straight, 1 arc, 2 curves), ~28.876 \u00d7 45.002 mm, extruded 25 mm thick. One \u00d84.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch. Boss \u00d810.6 mm \u00d7 10 mm tall on top face."}, "params": {"sk_w": {"type": "float", "default": 40.0, "min": 20.0, "max": 72.0, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 57.57, "min": 28.8, "max": 103.6, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "sk_t": {"type": "float", "default": 25, "min": 10.0, "max": 55.0, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "sk_hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 8.6, "step": 0.5, "group": "Holes", "label": "Hole diameter (mm)"}, "boss_d": {"type": "float", "default": 10.6, "min": 5.3, "max": 21.2, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 10.0, "min": 4.0, "max": 25.0, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177328998 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 40.0, \"min\": 20.0, \"max\": 72.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 57.57, \"min\": 28.8, \"max\": 103.6, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"sk_t\": {\"type\": 'float', \"default\": 25, \"min\": 10.0, \"max\": 55.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"sk_hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 8.6, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"boss_d\": {\"type\": 'float', \"default\": 10.6, \"min\": 5.3, \"max\": 21.2, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 10.0, \"min\": 4.0, \"max\": 25.0, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.3483, p[\"sk_h\"] * 0.1104).threePointArc((p[\"sk_w\"] * 0.0798, p[\"sk_h\"] * 0.2953), (p[\"sk_w\"] * -0.2369, p[\"sk_h\"] * 0.3937)).lineTo(p[\"sk_w\"] * -0.3736, p[\"sk_h\"] * -0.1989).spline([(p[\"sk_w\"] * -0.3736, p[\"sk_h\"] * -0.1989), (p[\"sk_w\"] * -0.2724, p[\"sk_h\"] * -0.3252), (p[\"sk_w\"] * -0.1232, p[\"sk_h\"] * -0.388)]).bezier([(p[\"sk_w\"] * -0.1232, p[\"sk_h\"] * -0.388), (p[\"sk_w\"] * 0.1592, p[\"sk_h\"] * -0.1829), (p[\"sk_w\"] * 0.3483, p[\"sk_h\"] * 0.1104)]).close().extrude(p[\"sk_t\"]))\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"sk_hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462c9d68_0436", "family": "compound", "tier": 1, "seed": 1177329000, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "cc7b55c2f08390a2", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 19300.0, "surface_area": 5080.0, "principal_moments": [2080000.0, 2450000.0, 2630000.0], "n_faces": 28, "n_edges": 75, "n_vertices": 49}, "dimensions": {"lines": ["Rectangular body, 30.17 \u00d7 23.9 \u00d7 26.6 mm (W\u00d7D\u00d7H).", "8-sided polygon section, 6 mm across corners attachment, 7.7 mm long, from left face with a \u00d82.4 mm bore.", "8-sided polygon section, 6 mm across corners attachment, 7.7 mm long, from back face with a \u00d82.4 mm bore."], "text": "Rectangular body, 30.17 \u00d7 23.9 \u00d7 26.6 mm (W\u00d7D\u00d7H). 8-sided polygon section, 6 mm across corners attachment, 7.7 mm long, from left face with a \u00d82.4 mm bore. 8-sided polygon section, 6 mm across corners attachment, 7.7 mm long, from back face with a \u00d82.4 mm bore."}, "params": {"block_w": {"type": "float", "default": 30.17, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body width (mm)"}, "block_d": {"type": "float", "default": 23.9, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body depth (mm)"}, "block_h": {"type": "float", "default": 26.6, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body height (mm)"}, "port_sides": {"type": "int", "default": 8, "min": 3, "max": 8, "step": 1, "group": "Ports", "label": "Ports sides"}, "port_r": {"type": "float", "default": 3.0, "min": 1.5, "max": 5.4, "step": 1.0, "group": "Ports", "label": "Ports circumradius (mm)"}, "port_len": {"type": "float", "default": 7.7, "min": 1.4, "max": 16.6, "step": 1.0, "group": "Ports", "label": "Port boss length (mm)"}, "port_bore": {"type": "float", "default": 2.4, "min": 2.0, "max": 4.0, "step": 0.5, "group": "Ports", "label": "Port bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329000 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 30.17, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 23.9, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 26.6, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body height (mm)'},\n    \"port_sides\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Ports', \"label\": 'Ports sides'},\n    \"port_r\": {\"type\": 'float', \"default\": 3.0, \"min\": 1.5, \"max\": 5.4, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Ports circumradius (mm)'},\n    \"port_len\": {\"type\": 'float', \"default\": 7.7, \"min\": 1.4, \"max\": 16.6, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Port boss length (mm)'},\n    \"port_bore\": {\"type\": 'float', \"default\": 2.4, \"min\": 2.0, \"max\": 4.0, \"step\": 0.5, \"group\": 'Ports', \"label\": 'Port bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"port_sides\"], p[\"port_r\"] * 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"port_sides\"], p[\"port_r\"] * 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462c9d69_0437", "family": "block", "tier": 2, "seed": 1177329001, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "3f5d9d437daaf14c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 4500.0, "surface_area": 3350.0, "principal_moments": [187000.0, 423000.0, 555000.0], "n_faces": 15, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 20 \u00d7 8.3 \u00d7 32.8 mm (W\u00d7D\u00d7H).", "Four \u00d81.9 mm holes at the corners, 14 \u00d7 5.81 mm spacing.", "Pocket 8.9 \u00d7 4.1 mm, 15.6 mm deep, in top face."], "text": "Rectangular body, 20 \u00d7 8.3 \u00d7 32.8 mm (W\u00d7D\u00d7H). Four \u00d81.9 mm holes at the corners, 14 \u00d7 5.81 mm spacing. Pocket 8.9 \u00d7 4.1 mm, 15.6 mm deep, in top face."}, "params": {"block_w": {"type": "float", "default": 20, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 8.3, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 32.8, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 1.9, "min": 2.0, "max": 1.9, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "pocket_w": {"type": "float", "default": 8.9, "min": 4.5, "max": 16.0, "step": 1.0, "group": "Pocket", "label": "Pocket width (mm)"}, "pocket_d": {"type": "float", "default": 4.1, "min": 2.0, "max": 6.6, "step": 1.0, "group": "Pocket", "label": "Pocket depth (mm)"}, "pocket_h": {"type": "float", "default": 15.6, "min": 6.2, "max": 27.9, "step": 0.5, "group": "Pocket", "label": "Pocket height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329001 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 20, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 8.3, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 32.8, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 1.9, \"min\": 2.0, \"max\": 1.9, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"pocket_w\": {\"type\": 'float', \"default\": 8.9, \"min\": 4.5, \"max\": 16.0, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket width (mm)'},\n    \"pocket_d\": {\"type\": 'float', \"default\": 4.1, \"min\": 2.0, \"max\": 6.6, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket depth (mm)'},\n    \"pocket_h\": {\"type\": 'float', \"default\": 15.6, \"min\": 6.2, \"max\": 27.9, \"step\": 0.5, \"group\": 'Pocket', \"label\": 'Pocket height (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"pocket_w\"], p[\"pocket_d\"])\n        .cutBlind(-p[\"pocket_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462c9d6a_0438", "family": "lofted", "tier": 1, "seed": 1177329002, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "c4eb504cfcbc5263", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 14300.0, "surface_area": 4510.0, "principal_moments": [1260000.0, 2030000.0, 2030000.0], "n_faces": 9, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["Lofted body through 2 sections: \u00d832.22 mm circular section \u2192 6-sided polygon section, 11.4 mm across corners.", "One \u00d86.7 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 2 sections: \u00d832.22 mm circular section \u2192 6-sided polygon section, 11.4 mm across corners. One \u00d86.7 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 32.22, "min": 16.1, "max": 51.6, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 11.4, "min": 4.6, "max": 38.7, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 40.6, "min": 16.2, "max": 81.2, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_bore_d": {"type": "float", "default": 6.7, "min": 2.0, "max": 9.1, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329002 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 32.22, \"min\": 16.1, \"max\": 51.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 11.4, \"min\": 4.6, \"max\": 38.7, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 40.6, \"min\": 16.2, \"max\": 81.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 6.7, \"min\": 2.0, \"max\": 9.1, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .circle(p[\"loft_base\"] / 2)\n        .workplane(offset=p[\"loft_h\"])\n        .polygon(6, p[\"loft_top\"] * 0.5 * 2)\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462c9d6b_0439", "family": "bracket", "tier": 2, "seed": 1177329003, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "159add41ab2e4c70", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 4790.0, "surface_area": 2730.0, "principal_moments": [270000.0, 664000.0, 679000.0], "n_faces": 14, "n_edges": 37, "n_vertices": 24}, "dimensions": {"lines": ["L-bracket: base leg 26.79 mm, vertical leg 30.5 mm, 18 mm wide, 5 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg; 4.8 mm corner gusset."], "text": "L-bracket: base leg 26.79 mm, vertical leg 30.5 mm, 18 mm wide, 5 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg; 4.8 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 26.79, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 30.5, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 18.0, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 5.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 7.2, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 4.8, "min": 2.5, "max": 9.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329003 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 26.79, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 30.5, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 18.0, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 7.2, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 4.8, \"min\": 2.5, \"max\": 9.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462c9d6c_0440", "family": "sketched", "tier": 1, "seed": 1177329004, "symmetry": "none", "op_count": 1, "ir_hash": "2d4826d6ad4266c8", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 15400.0, "surface_area": 6560.0, "principal_moments": [1650000.0, 1650000.0, 2120000.0], "n_faces": 8, "n_edges": 14, "n_vertices": 8}, "dimensions": {"lines": ["Revolved organic body from a freeform sketched section (7 segments: 3 straight, 1 arc, 3 curves), ~19.178 \u00d7 30 mm half-silhouette."], "text": "Revolved organic body from a freeform sketched section (7 segments: 3 straight, 1 arc, 3 curves), ~19.178 \u00d7 30 mm half-silhouette."}, "params": {"sk_r": {"type": "float", "default": 22.68, "min": 11.3, "max": 40.8, "step": 1.0, "group": "Sketch", "label": "Max radius (mm)"}, "sk_h": {"type": "float", "default": 30, "min": 15.0, "max": 54.0, "step": 1.0, "group": "Sketch", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329004 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_r\": {\"type\": 'float', \"default\": 22.68, \"min\": 11.3, \"max\": 40.8, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Max radius (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 30, \"min\": 15.0, \"max\": 54.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XZ').moveTo(p[\"sk_r\"] * 0.2386, p[\"sk_h\"] * 0.0).lineTo(p[\"sk_r\"] * 0.2088, p[\"sk_h\"] * 0.1499).spline([(p[\"sk_r\"] * 0.2088, p[\"sk_h\"] * 0.1499), (p[\"sk_r\"] * 0.4597, p[\"sk_h\"] * 0.2906), (p[\"sk_r\"] * 0.922, p[\"sk_h\"] * 0.4312)]).threePointArc((p[\"sk_r\"] * 0.6358, p[\"sk_h\"] * 0.6819), (p[\"sk_r\"] * 0.1349, p[\"sk_h\"] * 0.9326)).bezier([(p[\"sk_r\"] * 0.1349, p[\"sk_h\"] * 0.9326), (p[\"sk_r\"] * 0.18, p[\"sk_h\"] * 0.9376), (p[\"sk_r\"] * 0.4401, p[\"sk_h\"] * 0.9426)]).bezier([(p[\"sk_r\"] * 0.4401, p[\"sk_h\"] * 0.9426), (p[\"sk_r\"] * 0.7907, p[\"sk_h\"] * 0.9713), (p[\"sk_r\"] * 0.9136, p[\"sk_h\"] * 1.0)]).lineTo(p[\"sk_r\"] * 0.0764, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.0764, p[\"sk_h\"] * 0.0).close().revolve())\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462c9d6d_0441", "family": "threaded", "tier": 0, "seed": 1177329005, "symmetry": "none", "op_count": 1, "ir_hash": "5790618b68fdedca", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 429.0, "surface_area": 641.0, "principal_moments": [1120.0, 26100.0, 26100.0], "n_faces": 340, "n_edges": 874, "n_vertices": 536}, "dimensions": {"lines": ["M5x0.8 external thread, 26.8 mm long."], "text": "M5x0.8 external thread, 26.8 mm long."}, "params": {"major_d": {"type": "float", "default": 5.0, "min": 4.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Major diameter (mm)"}, "pitch": {"type": "float", "default": 0.8, "min": 0.4, "max": 1.6, "step": 0.05, "group": "Thread", "label": "Pitch (mm)"}, "thread_len": {"type": "float", "default": 26.8, "min": 10.7, "max": 53.6, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329005 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 5.0, \"min\": 4.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Major diameter (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 0.8, \"min\": 0.4, \"max\": 1.6, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Pitch (mm)'},\n    \"thread_len\": {\"type\": 'float', \"default\": 26.8, \"min\": 10.7, \"max\": 53.6, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.IsoThread(major_diameter=p[\"major_d\"], pitch=p[\"pitch\"], length=p[\"thread_len\"], external=True, end_finishes=(\"fade\", \"fade\"))\n    _r = _thr.min_radius if hasattr(_thr, 'min_radius') else _thr.root_radius\n    _shank = _bd.Cylinder(radius=_r, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = _shank + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462c9d6e_0442", "family": "profiled", "tier": 0, "seed": 1177329006, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "779b4c4715ee7d54", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 357000.0, "surface_area": 79100.0, "principal_moments": [155000000.0, 2750000000.0, 2750000000.0], "n_faces": 4, "n_edges": 6, "n_vertices": 4}, "dimensions": {"lines": ["Revolved body, \u00d850 mm \u00d7 300 mm tall with \u00d831.4 mm bore."], "text": "Revolved body, \u00d850 mm \u00d7 300 mm tall with \u00d831.4 mm bore."}, "params": {"outer_d": {"type": "float", "default": 50.0, "min": 25.0, "max": 100.0, "step": 1.0, "group": "Profile", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 300.0, "min": 90.0, "max": 900.0, "step": 5.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 31.4, "min": 2.0, "max": 40.0, "step": 0.5, "group": "Profile", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329006 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 50.0, \"min\": 25.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Profile', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 300.0, \"min\": 90.0, \"max\": 900.0, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 31.4, \"min\": 2.0, \"max\": 40.0, \"step\": 0.5, \"group\": 'Profile', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462c9d6f_0443", "family": "ribbed", "tier": 2, "seed": 1177329007, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "71e2843918c43a56", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 13700.0, "surface_area": 7510.0, "principal_moments": [1840000.0, 5910000.0, 7580000.0], "n_faces": 30, "n_edges": 88, "n_vertices": 56}, "dimensions": {"lines": ["Rectangular body, 66.53 \u00d7 35.5 \u00d7 5 mm (W\u00d7D\u00d7H).", "Two ribs, 4.9 mm thick, 5.3 mm tall.", "Four \u00d86.4 mm holes at the corners, 46.571 \u00d7 24.85 mm spacing."], "text": "Rectangular body, 66.53 \u00d7 35.5 \u00d7 5 mm (W\u00d7D\u00d7H). Two ribs, 4.9 mm thick, 5.3 mm tall. Four \u00d86.4 mm holes at the corners, 46.571 \u00d7 24.85 mm spacing."}, "params": {"base_w": {"type": "float", "default": 66.53, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 35.5, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 5.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 2, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 5.3, "min": 2.1, "max": 10.6, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 4.9, "min": 1.0, "max": 12.2, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 8.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329007 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 66.53, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 35.5, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 2, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.1, \"max\": 10.6, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 4.9, \"min\": 1.0, \"max\": 12.2, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 8.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"base_w\"] * 0.7, p[\"base_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462c9d70_0444", "family": "revolved", "tier": 1, "seed": 1177329008, "symmetry": "none", "op_count": 1, "ir_hash": "ee74f5675371067e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 756000.0, "surface_area": 81900.0, "principal_moments": [548000000.0, 3920000000.0, 3920000000.0], "n_faces": 4, "n_edges": 6, "n_vertices": 4}, "dimensions": {"lines": ["Revolved body, \u00d870 mm \u00d7 240.6 mm tall with \u00d830 mm bore."], "text": "Revolved body, \u00d870 mm \u00d7 240.6 mm tall with \u00d830 mm bore."}, "params": {"outer_d": {"type": "float", "default": 70, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 240.6, "min": 72.2, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 30.0, "min": 2.0, "max": 49.0, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329008 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 70, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 240.6, \"min\": 72.2, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 30.0, \"min\": 2.0, \"max\": 49.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462c9d71_0445", "family": "sketched", "tier": 3, "seed": 1177329009, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "bd89d33527e7f997", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 35200.0, "surface_area": 13500.0, "principal_moments": [7990000.0, 7990000.0, 12999999.999999998], "n_faces": 7, "n_edges": 12, "n_vertices": 7}, "dimensions": {"lines": ["Revolved organic body from a freeform sketched section (6 segments: 3 straight, 3 arcs), ~33.188 \u00d7 30 mm half-silhouette."], "text": "Revolved organic body from a freeform sketched section (6 segments: 3 straight, 3 arcs), ~33.188 \u00d7 30 mm half-silhouette."}, "params": {"sk_r": {"type": "float", "default": 40, "min": 20.0, "max": 72.0, "step": 1.0, "group": "Sketch", "label": "Max radius (mm)"}, "sk_h": {"type": "float", "default": 30, "min": 15.0, "max": 54.0, "step": 1.0, "group": "Sketch", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329009 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_r\": {\"type\": 'float', \"default\": 40, \"min\": 20.0, \"max\": 72.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Max radius (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 30, \"min\": 15.0, \"max\": 54.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XZ').moveTo(p[\"sk_r\"] * 0.5053, p[\"sk_h\"] * 0.0).lineTo(p[\"sk_r\"] * 0.4289, p[\"sk_h\"] * 0.3087).threePointArc((p[\"sk_r\"] * 0.2356, p[\"sk_h\"] * 0.336), (p[\"sk_r\"] * 0.2671, p[\"sk_h\"] * 0.3633)).threePointArc((p[\"sk_r\"] * 0.5493, p[\"sk_h\"] * 0.5273), (p[\"sk_r\"] * 0.9136, p[\"sk_h\"] * 0.6913)).threePointArc((p[\"sk_r\"] * 0.5011, p[\"sk_h\"] * 0.8457), (p[\"sk_r\"] * 0.1362, p[\"sk_h\"] * 1.0)).lineTo(p[\"sk_r\"] * 0.0839, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.0839, p[\"sk_h\"] * 0.0).close().revolve())\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462c9d72_0446", "family": "bracket", "tier": 1, "seed": 1177329010, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "ac6acfc73ff49ac3", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 21100.0, "surface_area": 9160.0, "principal_moments": [3230000.0, 18800000.0, 19800000.0], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Z-bracket: base leg 50.95 mm, vertical leg 56.6 mm, top leg 46 mm, 25 mm wide, 6 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."], "text": "Z-bracket: base leg 50.95 mm, vertical leg 56.6 mm, top leg 46 mm, 25 mm wide, 6 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 50.95, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 56.6, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 25, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 6.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 46.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329010 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 50.95, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 56.6, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 25, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 46.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462c9d73_0447", "family": "gear", "tier": 1, "seed": 1177329011, "symmetry": "none", "op_count": 1, "ir_hash": "2734d2dfb3a2a76a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 133000.0, "surface_area": 27300.0, "principal_moments": [91899999.99999999, 91899999.99999999, 177000000.0], "n_faces": 207, "n_edges": 615, "n_vertices": 410}, "dimensions": {"lines": ["Spur gear, module 3 mm, 34 teeth (pitch \u00d8102 mm), face width 16.8 mm, \u00d815.1 mm bore."], "text": "Spur gear, module 3 mm, 34 teeth (pitch \u00d8102 mm), face width 16.8 mm, \u00d815.1 mm bore."}, "params": {"module": {"type": "float", "default": 3.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 34, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 16.8, "min": 6.7, "max": 42.0, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "bore_d": {"type": "float", "default": 15.1, "min": 2.0, "max": 56.7, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329011 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 3.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 34, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 16.8, \"min\": 6.7, \"max\": 42.0, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 15.1, \"min\": 2.0, \"max\": 56.7, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462c9d74_0448", "family": "block", "tier": 2, "seed": 1177329012, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "6f41a8be83b8365b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 151000.0, "surface_area": 21100.0, "principal_moments": [61599999.99999999, 74700000.0, 91199999.99999999], "n_faces": 24, "n_edges": 63, "n_vertices": 42}, "dimensions": {"lines": ["Rectangular body, 65.17 \u00d7 56.4 \u00d7 41.9 mm (W\u00d7D\u00d7H).", "Four 5.2 mm square holes at the corners, 45.619 \u00d7 39.48 mm spacing.", "Boss \u00d817.7 mm \u00d7 5 mm tall on top face."], "text": "Rectangular body, 65.17 \u00d7 56.4 \u00d7 41.9 mm (W\u00d7D\u00d7H). Four 5.2 mm square holes at the corners, 45.619 \u00d7 39.48 mm spacing. Boss \u00d817.7 mm \u00d7 5 mm tall on top face."}, "params": {"block_w": {"type": "float", "default": 65.17, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 56.4, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 41.9, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 5.2, "min": 2.0, "max": 16.5, "step": 0.5, "group": "Holes", "label": "Square hole size (mm)"}, "boss_d": {"type": "float", "default": 17.7, "min": 8.8, "max": 35.4, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 5.0, "min": 2.0, "max": 12.5, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329012 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 65.17, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 56.4, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 41.9, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.2, \"min\": 2.0, \"max\": 16.5, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Square hole size (mm)'},\n    \"boss_d\": {\"type\": 'float', \"default\": 17.7, \"min\": 8.8, \"max\": 35.4, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 5.0, \"min\": 2.0, \"max\": 12.5, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().rect(p[\"hole_d\"], p[\"hole_d\"]).cutThruAll()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462c9d75_0449", "family": "revolved", "tier": 0, "seed": 1177329013, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "eab703c6cdd184a0", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 93300.0, "surface_area": 22400.0, "principal_moments": [22400000.0, 80000000.0, 80000000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d840 mm \u00d7 111.4 mm tall."], "text": "Revolved body, \u00d840 mm \u00d7 111.4 mm tall."}, "params": {"outer_d": {"type": "float", "default": 40, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 111.4, "min": 33.4, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329013 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 40, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 111.4, \"min\": 33.4, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9d76_0450", "family": "plate", "tier": 2, "seed": 1177329014, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "21aad0d298724b91", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 980.0, "surface_area": 821.0, "principal_moments": [9910.0, 36400.0, 42300.0], "n_faces": 14, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 20.9 \u00d7 10 \u00d7 5 mm (W\u00d7D\u00d7H).", "Four \u00d82 mm holes at the corners, 14.63 \u00d7 7 mm spacing.", "Chamfer 0.5 mm on vertical edges."], "text": "Rectangular body, 20.9 \u00d7 10 \u00d7 5 mm (W\u00d7D\u00d7H). Four \u00d82 mm holes at the corners, 14.63 \u00d7 7 mm spacing. Chamfer 0.5 mm on vertical edges."}, "params": {"plate_w": {"type": "float", "default": 20.9, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 10.0, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 5.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 2.0, "min": 2.0, "max": 2.2, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "chamfer_d": {"type": "float", "default": 0.5, "min": 0.5, "max": 0.5, "step": 0.5, "group": "Body", "label": "Chamfer distance (mm)"}, "chamfered": {"type": "bool", "default": true, "group": "Body", "label": "Chamfer edges"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329014 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 20.9, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 10.0, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 5.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 2.0, \"min\": 2.0, \"max\": 2.2, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"chamfer_d\": {\"type\": 'float', \"default\": 0.5, \"min\": 0.5, \"max\": 0.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Chamfer distance (mm)'},\n    \"chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Chamfer edges'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"chamfered\"]:\n        result = result.edges('|Z').chamfer(p[\"chamfer_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462c9d77_0451", "family": "sketched", "tier": 3, "seed": 1177329015, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "ce01308395bfed53", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 86300.0, "surface_area": 15400.0, "principal_moments": [32099999.999999996, 32099999.999999996, 44300000.0], "n_faces": 8, "n_edges": 13, "n_vertices": 7}, "dimensions": {"lines": ["Revolved organic body from a freeform sketched section (8 segments: 5 straight, 2 arcs, 1 curve), ~41.184 \u00d7 50 mm half-silhouette."], "text": "Revolved organic body from a freeform sketched section (8 segments: 5 straight, 2 arcs, 1 curve), ~41.184 \u00d7 50 mm half-silhouette."}, "params": {"sk_r": {"type": "float", "default": 45.0, "min": 22.5, "max": 81.0, "step": 1.0, "group": "Sketch", "label": "Max radius (mm)"}, "sk_h": {"type": "float", "default": 50, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Sketch", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329015 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_r\": {\"type\": 'float', \"default\": 45.0, \"min\": 22.5, \"max\": 81.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Max radius (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 50, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XZ').moveTo(p[\"sk_r\"] * 0.4673, p[\"sk_h\"] * 0.0).lineTo(p[\"sk_r\"] * 0.2229, p[\"sk_h\"] * 0.16).threePointArc((p[\"sk_r\"] * 0.125, p[\"sk_h\"] * 0.2274), (p[\"sk_r\"] * 0.1732, p[\"sk_h\"] * 0.2949)).lineTo(p[\"sk_r\"] * 0.298, p[\"sk_h\"] * 0.351).threePointArc((p[\"sk_r\"] * 0.3041, p[\"sk_h\"] * 0.4268), (p[\"sk_r\"] * 0.4903, p[\"sk_h\"] * 0.5026)).bezier([(p[\"sk_r\"] * 0.4903, p[\"sk_h\"] * 0.5026), (p[\"sk_r\"] * 0.8053, p[\"sk_h\"] * 0.6353), (p[\"sk_r\"] * 0.9152, p[\"sk_h\"] * 0.7679)]).lineTo(p[\"sk_r\"] * 0.206, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.0, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.0, p[\"sk_h\"] * 0.0).close().revolve())\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9d78_0452", "family": "plate", "tier": 1, "seed": 1177329016, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "c88938cd92035c94", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 23000.0, "surface_area": 7970.0, "principal_moments": [3450000.0, 9420000.0, 12599999.999999998], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 70 \u00d7 41.9 \u00d7 8 mm (W\u00d7D\u00d7H).", "Four \u00d84.3 mm holes at the corners, 49 \u00d7 29.33 mm spacing."], "text": "Rectangular body, 70 \u00d7 41.9 \u00d7 8 mm (W\u00d7D\u00d7H). Four \u00d84.3 mm holes at the corners, 49 \u00d7 29.33 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 70, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 41.9, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 9.4, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329016 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 70, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 41.9, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 9.4, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9d79_0453", "family": "plate", "tier": 1, "seed": 1177329017, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "6eab3f753c7f45ff", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 40800.0, "surface_area": 11900.0, "principal_moments": [5170000.0, 41300000.0, 45799999.99999999], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 110.66 \u00d7 38 \u00d7 10 mm (W\u00d7D\u00d7H).", "Four \u00d86.4 mm holes at the corners, 77.462 \u00d7 26.6 mm spacing."], "text": "Rectangular body, 110.66 \u00d7 38 \u00d7 10 mm (W\u00d7D\u00d7H). Four \u00d86.4 mm holes at the corners, 77.462 \u00d7 26.6 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 110.66, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 38.0, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 8.5, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329017 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 110.66, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 38.0, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 8.5, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462c9d7a_0454", "family": "threaded", "tier": 2, "seed": 1177329018, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "1914b120d0e2fc39", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 21900.0, "surface_area": 6420.0, "principal_moments": [2050000.0, 3670000.0, 3690000.0], "n_faces": 70, "n_edges": 176, "n_vertices": 108}, "dimensions": {"lines": ["Tr 30x6 external thread, 39 mm long."], "text": "Tr 30x6 external thread, 39 mm long."}, "params": {"thread_size": {"type": "enum", "default": "30x6", "choices": ["8x1.5", "10x2", "12x3", "14x3", "16x4", "18x4", "20x4", "24x5", "28x5", "30x6", "36x6", "40x7"], "group": "Thread", "label": "Size designation"}, "thread_len": {"type": "float", "default": 39.0, "min": 15.6, "max": 78.0, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329018 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"thread_size\": {\"type\": 'enum', \"default\": '30x6', \"choices\": ['8x1.5', '10x2', '12x3', '14x3', '16x4', '18x4', '20x4', '24x5', '28x5', '30x6', '36x6', '40x7'], \"group\": 'Thread', \"label\": 'Size designation'},\n    \"thread_len\": {\"type\": 'float', \"default\": 39.0, \"min\": 15.6, \"max\": 78.0, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.MetricTrapezoidalThread(size=p[\"thread_size\"], length=p[\"thread_len\"], external=True, end_finishes=(\"fade\", \"fade\"))\n    _r = _thr.min_radius if hasattr(_thr, 'min_radius') else _thr.root_radius\n    _shank = _bd.Cylinder(radius=_r, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = _shank + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462c9d7b_0455", "family": "flanged", "tier": 1, "seed": 1177329019, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "bcc5284f8c4539b2", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 191000.0, "surface_area": 43500.0, "principal_moments": [175000000.0, 175000000.0, 209000000.0], "n_faces": 12, "n_edges": 27, "n_vertices": 18}, "dimensions": {"lines": ["Revolved body, \u00d859.7 mm \u00d7 60 mm tall with \u00d824.7 mm bore, \u00d8131.6 mm \u00d7 4.9 mm flange.", "Six \u00d86.4 mm holes on a \u00d879 mm bolt circle."], "text": "Revolved body, \u00d859.7 mm \u00d7 60 mm tall with \u00d824.7 mm bore, \u00d8131.6 mm \u00d7 4.9 mm flange. Six \u00d86.4 mm holes on a \u00d879 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 59.7, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 60.0, "min": 18.0, "max": 150.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 24.7, "min": 2.0, "max": 41.8, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 131.6, "min": 77.6, "max": 179.1, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 4.9, "min": 1.5, "max": 24.0, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 39.5, "min": 26.3, "max": 59.2, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 6, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329019 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 59.7, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 60.0, \"min\": 18.0, \"max\": 150.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 24.7, \"min\": 2.0, \"max\": 41.8, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 131.6, \"min\": 77.6, \"max\": 179.1, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 4.9, \"min\": 1.5, \"max\": 24.0, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 39.5, \"min\": 26.3, \"max\": 59.2, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462c9d7c_0456", "family": "lofted", "tier": 3, "seed": 1177329020, "symmetry": "none", "op_count": 2, "ir_hash": "e7f3f75e99f01b1f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 9210.0, "surface_area": 3130.0, "principal_moments": [708000.0, 708000.0, 959000.0], "n_faces": 9, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["Lofted body through 3 sections: \u00d835 mm circular section \u2192 \u00d824.6 mm circular section \u2192 6-sided polygon section, 14.2 mm across corners.", "One \u00d86.1 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 3 sections: \u00d835 mm circular section \u2192 \u00d824.6 mm circular section \u2192 6-sided polygon section, 14.2 mm across corners. One \u00d86.1 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 35, "min": 17.5, "max": 56.0, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 14.2, "min": 5.7, "max": 42.0, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 19.6, "min": 7.8, "max": 39.2, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_mid": {"type": "float", "default": 24.6, "min": 7.1, "max": 42.0, "step": 1.0, "group": "Body", "label": "Mid size (mm)"}, "loft_bore_d": {"type": "float", "default": 6.1, "min": 2.0, "max": 11.4, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329020 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 35, \"min\": 17.5, \"max\": 56.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 14.2, \"min\": 5.7, \"max\": 42.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 19.6, \"min\": 7.8, \"max\": 39.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_mid\": {\"type\": 'float', \"default\": 24.6, \"min\": 7.1, \"max\": 42.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Mid size (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 6.1, \"min\": 2.0, \"max\": 11.4, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .circle(p[\"loft_base\"] / 2)\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .circle(p[\"loft_mid\"] / 2)\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .polygon(6, p[\"loft_top\"] * 0.5 * 2)\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462c9d7d_0457", "family": "sketched", "tier": 2, "seed": 1177329021, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "0c57d2c348875d80", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 27300.0, "surface_area": 7000.0, "principal_moments": [2590000.0, 7690000.0, 8120000.0], "n_faces": 9, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["freeform sketched section (4 segments: 2 straight, 1 arc, 1 curve), ~70.773 \u00d7 33.12 mm, extruded 20 mm thick.", "One \u00d86.4 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch.", "Boss \u00d815.6 mm \u00d7 8.1 mm tall on top face with a \u00d88.4 mm bore."], "text": "freeform sketched section (4 segments: 2 straight, 1 arc, 1 curve), ~70.773 \u00d7 33.12 mm, extruded 20 mm thick. One \u00d86.4 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch. Boss \u00d815.6 mm \u00d7 8.1 mm tall on top face with a \u00d88.4 mm bore."}, "params": {"sk_w": {"type": "float", "default": 87.17, "min": 43.6, "max": 156.9, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 45, "min": 22.5, "max": 81.0, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "sk_t": {"type": "float", "default": 20, "min": 8.0, "max": 44.0, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "sk_hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 12.8, "step": 0.5, "group": "Holes", "label": "Hole diameter (mm)"}, "boss_d": {"type": "float", "default": 15.6, "min": 7.8, "max": 31.2, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 8.1, "min": 3.2, "max": 20.2, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}, "boss_bore_d": {"type": "float", "default": 8.4, "min": 2.0, "max": 10.9, "step": 0.1, "group": "Boss", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329021 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 87.17, \"min\": 43.6, \"max\": 156.9, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 45, \"min\": 22.5, \"max\": 81.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"sk_t\": {\"type\": 'float', \"default\": 20, \"min\": 8.0, \"max\": 44.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"sk_hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 12.8, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"boss_d\": {\"type\": 'float', \"default\": 15.6, \"min\": 7.8, \"max\": 31.2, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 8.1, \"min\": 3.2, \"max\": 20.2, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n    \"boss_bore_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 2.0, \"max\": 10.9, \"step\": 0.1, \"group\": 'Boss', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.4097, p[\"sk_h\"] * 0.1975).lineTo(p[\"sk_w\"] * 0.071, p[\"sk_h\"] * 0.3579).threePointArc((p[\"sk_w\"] * -0.2341, p[\"sk_h\"] * 0.2634), (p[\"sk_w\"] * -0.4022, p[\"sk_h\"] * 0.0769)).bezier([(p[\"sk_w\"] * -0.4022, p[\"sk_h\"] * 0.0769), (p[\"sk_w\"] * -0.1496, p[\"sk_h\"] * -0.1961), (p[\"sk_w\"] * 0.1747, p[\"sk_h\"] * -0.3781)]).lineTo(p[\"sk_w\"] * 0.4097, p[\"sk_h\"] * 0.1975).close().extrude(p[\"sk_t\"]))\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"sk_hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .hole(p[\"boss_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462c9d7e_0458", "family": "revolved", "tier": 1, "seed": 1177329022, "symmetry": "radial", "op_count": 1, "ir_hash": "6314d9d43ad74b8c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 700000.0, "surface_area": 91400.0, "principal_moments": [1430000000.0, 2080000000.0, 2080000000.0], "n_faces": 6, "n_edges": 9, "n_vertices": 6}, "dimensions": {"lines": ["Revolved body, \u00d872.71 mm \u00d7 145.3 mm tall with \u00d842.8 mm bore, \u00d8151.6 mm \u00d7 22 mm flange."], "text": "Revolved body, \u00d872.71 mm \u00d7 145.3 mm tall with \u00d842.8 mm bore, \u00d8151.6 mm \u00d7 22 mm flange."}, "params": {"outer_d": {"type": "float", "default": 72.71, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 145.3, "min": 43.6, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 42.8, "min": 2.0, "max": 50.9, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 151.6, "min": 87.3, "max": 218.1, "step": 1.0, "group": "Body", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 22.0, "min": 6.6, "max": 72.7, "step": 0.5, "group": "Body", "label": "Flange height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329022 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 72.71, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 145.3, \"min\": 43.6, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 42.8, \"min\": 2.0, \"max\": 50.9, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 151.6, \"min\": 87.3, \"max\": 218.1, \"step\": 1.0, \"group\": 'Body', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 22.0, \"min\": 6.6, \"max\": 72.7, \"step\": 0.5, \"group\": 'Body', \"label\": 'Flange height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462c9d7f_0459", "family": "enclosure", "tier": 1, "seed": 1177329023, "symmetry": "none", "op_count": 2, "ir_hash": "41cad853160c4a57", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 114000.0, "surface_area": 42200.0, "principal_moments": [116000000.0, 125000000.0, 132000000.0], "n_faces": 11, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 70 \u00d7 64.4 \u00d7 69.9 mm (W\u00d7D\u00d7H).", "Hollowed to 5.6 mm wall thickness, open at top face."], "text": "Rectangular body, 70 \u00d7 64.4 \u00d7 69.9 mm (W\u00d7D\u00d7H). Hollowed to 5.6 mm wall thickness, open at top face."}, "params": {"enc_w": {"type": "float", "default": 70, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 64.4, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 69.9, "min": 28.0, "max": 139.8, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 5.6, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329023 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 70, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 64.4, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 69.9, \"min\": 28.0, \"max\": 139.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 5.6, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9d80_0460", "family": "plate", "tier": 3, "seed": 1177329024, "symmetry": "none", "op_count": 4, "ir_hash": "1264fb7a08a176cd", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 40000.0, "surface_area": 10500.0, "principal_moments": [4560000.0, 29899999.999999996, 33499999.999999996], "n_faces": 24, "n_edges": 51, "n_vertices": 34}, "dimensions": {"lines": ["Rectangular body, 95 \u00d7 35.2 \u00d7 12 mm (W\u00d7D\u00d7H).", "Four \u00d83.2 mm counterbored holes (\u00d86.4 mm \u00d7 2.6 mm counterbore) at the corners, 66.5 \u00d7 24.64 mm spacing.", "Chamfer 1.1 mm on vertical edges.", "Boss \u00d811.1 mm \u00d7 6 mm tall on top face."], "text": "Rectangular body, 95 \u00d7 35.2 \u00d7 12 mm (W\u00d7D\u00d7H). Four \u00d83.2 mm counterbored holes (\u00d86.4 mm \u00d7 2.6 mm counterbore) at the corners, 66.5 \u00d7 24.64 mm spacing. Chamfer 1.1 mm on vertical edges. Boss \u00d811.1 mm \u00d7 6 mm tall on top face."}, "params": {"plate_w": {"type": "float", "default": 95, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 35.2, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 7.9, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "cb_d": {"type": "float", "default": 6.4, "min": 4.8, "max": 9.6, "step": 0.5, "group": "Holes", "label": "Counterbore diameter (mm)"}, "cb_depth": {"type": "float", "default": 2.6, "min": 1.3, "max": 5.2, "step": 0.5, "group": "Holes", "label": "Counterbore depth (mm)"}, "chamfer_d": {"type": "float", "default": 1.1, "min": 0.9, "max": 1.6, "step": 0.5, "group": "Body", "label": "Chamfer distance (mm)"}, "chamfered": {"type": "bool", "default": true, "group": "Body", "label": "Chamfer edges"}, "boss_d": {"type": "float", "default": 11.1, "min": 5.5, "max": 22.2, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 6.0, "min": 2.4, "max": 15.0, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329024 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 95, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 35.2, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 7.9, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"cb_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 4.8, \"max\": 9.6, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Counterbore diameter (mm)'},\n    \"cb_depth\": {\"type\": 'float', \"default\": 2.6, \"min\": 1.3, \"max\": 5.2, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Counterbore depth (mm)'},\n    \"chamfer_d\": {\"type\": 'float', \"default\": 1.1, \"min\": 0.9, \"max\": 1.6, \"step\": 0.5, \"group\": 'Body', \"label\": 'Chamfer distance (mm)'},\n    \"chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Chamfer edges'},\n    \"boss_d\": {\"type\": 'float', \"default\": 11.1, \"min\": 5.5, \"max\": 22.2, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.4, \"max\": 15.0, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().cboreHole(p[\"hole_d\"], p[\"cb_d\"], p[\"cb_depth\"])\n    )\n    if p[\"chamfered\"]:\n        result = result.edges('|Z').chamfer(p[\"chamfer_d\"])\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462c9d81_0461", "family": "revolved", "tier": 0, "seed": 1177329025, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "87a28e63e12bfdf1", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 280000.0, "surface_area": 44100.0, "principal_moments": [160000000.0, 407000000.0, 407000000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d861.75 mm \u00d7 140.3 mm tall."], "text": "Revolved body, \u00d861.75 mm \u00d7 140.3 mm tall."}, "params": {"outer_d": {"type": "float", "default": 61.75, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 140.3, "min": 42.1, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329025 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 61.75, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 140.3, \"min\": 42.1, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462c9d82_0462", "family": "lofted", "tier": 0, "seed": 1177329026, "symmetry": "none", "op_count": 1, "ir_hash": "0e6a0d7ffe476b90", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 65700.0, "surface_area": 10100.0, "principal_moments": [17200000.0, 17300000.0, 24299999.999999996], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Lofted body through 2 sections: 56.83 \u00d7 56.83 mm rectangular section \u2192 6-sided polygon section, 40.9 mm across corners."], "text": "Lofted body through 2 sections: 56.83 \u00d7 56.83 mm rectangular section \u2192 6-sided polygon section, 40.9 mm across corners."}, "params": {"loft_base": {"type": "float", "default": 56.83, "min": 28.4, "max": 90.9, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 40.9, "min": 16.4, "max": 68.2, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 31.7, "min": 12.7, "max": 63.4, "step": 1.0, "group": "Body", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329026 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 56.83, \"min\": 28.4, \"max\": 90.9, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 40.9, \"min\": 16.4, \"max\": 68.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 31.7, \"min\": 12.7, \"max\": 63.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .rect(p[\"loft_base\"], p[\"loft_base\"])\n        .workplane(offset=p[\"loft_h\"])\n        .polygon(6, p[\"loft_top\"] * 0.5 * 2)\n        .loft(combine=True)\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462c9d83_0463", "family": "gear", "tier": 0, "seed": 1177329027, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "ba6534a9b953775a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 4130.0, "surface_area": 2390.0, "principal_moments": [227000.0, 227000.0, 421000.0], "n_faces": 86, "n_edges": 252, "n_vertices": 168}, "dimensions": {"lines": ["Spur gear, module 2 mm, 14 teeth (pitch \u00d828 mm), face width 6.9 mm."], "text": "Spur gear, module 2 mm, 14 teeth (pitch \u00d828 mm), face width 6.9 mm."}, "params": {"module": {"type": "float", "default": 2.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 14, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 6.9, "min": 2.8, "max": 17.2, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329027 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 2.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 14, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 6.9, \"min\": 2.8, \"max\": 17.2, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462c9d84_0464", "family": "sketched", "tier": 2, "seed": 1177329028, "symmetry": "none", "op_count": 3, "ir_hash": "301e7de3f1475188", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 31400.0, "surface_area": 8470.0, "principal_moments": [6030000.0, 9320000.0, 14499999.999999998], "n_faces": 13, "n_edges": 27, "n_vertices": 18}, "dimensions": {"lines": ["freeform sketched section (7 segments: 4 straight, 2 arcs, 1 curve), ~70.434 \u00d7 57.353 mm, extruded 10 mm thick.", "One \u00d84.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch.", "Boss \u00d820.9 mm \u00d7 7.2 mm tall on top face."], "text": "freeform sketched section (7 segments: 4 straight, 2 arcs, 1 curve), ~70.434 \u00d7 57.353 mm, extruded 10 mm thick. One \u00d84.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch. Boss \u00d820.9 mm \u00d7 7.2 mm tall on top face."}, "params": {"sk_w": {"type": "float", "default": 90.0, "min": 45.0, "max": 162.0, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 75, "min": 37.5, "max": 135.0, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "sk_t": {"type": "float", "default": 10, "min": 4.0, "max": 22.0, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "sk_hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 8.6, "step": 0.5, "group": "Holes", "label": "Hole diameter (mm)"}, "boss_d": {"type": "float", "default": 20.9, "min": 10.4, "max": 41.8, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 7.2, "min": 2.9, "max": 18.0, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329028 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 90.0, \"min\": 45.0, \"max\": 162.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 75, \"min\": 37.5, \"max\": 135.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"sk_t\": {\"type\": 'float', \"default\": 10, \"min\": 4.0, \"max\": 22.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"sk_hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 8.6, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"boss_d\": {\"type\": 'float', \"default\": 20.9, \"min\": 10.4, \"max\": 41.8, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 7.2, \"min\": 2.9, \"max\": 18.0, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.4432, p[\"sk_h\"] * -0.0444).lineTo(p[\"sk_w\"] * 0.3322, p[\"sk_h\"] * 0.3682).bezier([(p[\"sk_w\"] * 0.3322, p[\"sk_h\"] * 0.3682), (p[\"sk_w\"] * 0.1671, p[\"sk_h\"] * 0.3897), (p[\"sk_w\"] * 0.0155, p[\"sk_h\"] * 0.3211)]).threePointArc((p[\"sk_w\"] * -0.1832, p[\"sk_h\"] * 0.262), (p[\"sk_w\"] * -0.3394, p[\"sk_h\"] * 0.1549)).threePointArc((p[\"sk_w\"] * -0.3559, p[\"sk_h\"] * 0.0463), (p[\"sk_w\"] * -0.3276, p[\"sk_h\"] * -0.0678)).lineTo(p[\"sk_w\"] * 0.0148, p[\"sk_h\"] * -0.3665).lineTo(p[\"sk_w\"] * 0.2321, p[\"sk_h\"] * -0.3965).lineTo(p[\"sk_w\"] * 0.4432, p[\"sk_h\"] * -0.0444).close().extrude(p[\"sk_t\"]))\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"sk_hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9d85_0465", "family": "plate", "tier": 0, "seed": 1177329029, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "f092b5e4daf6c3cd", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 16800.0, "surface_area": 6870.0, "principal_moments": [3090000.0, 5080000.0, 8070000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 60 \u00d7 46.6 \u00d7 6 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 60 \u00d7 46.6 \u00d7 6 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 60, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 46.6, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 6.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329029 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 60, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 46.6, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462c9d86_0466", "family": "lofted", "tier": 0, "seed": 1177329030, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "59fddfb023982bd4", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 68100.0, "surface_area": 10000.0, "principal_moments": [18800000.0, 21100000.0, 21100000.0], "n_faces": 8, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["Lofted body through 2 sections: \u00d860 mm circular section \u2192 6-sided polygon section, 18.3 mm across corners."], "text": "Lofted body through 2 sections: \u00d860 mm circular section \u2192 6-sided polygon section, 18.3 mm across corners."}, "params": {"loft_base": {"type": "float", "default": 60, "min": 30.0, "max": 96.0, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 18.3, "min": 7.3, "max": 72.0, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 53.3, "min": 21.3, "max": 106.6, "step": 1.0, "group": "Body", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329030 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 60, \"min\": 30.0, \"max\": 96.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 18.3, \"min\": 7.3, \"max\": 72.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 53.3, \"min\": 21.3, \"max\": 106.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .circle(p[\"loft_base\"] / 2)\n        .workplane(offset=p[\"loft_h\"])\n        .polygon(6, p[\"loft_top\"] * 0.5 * 2)\n        .loft(combine=True)\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462c9d87_0467", "family": "revolved", "tier": 1, "seed": 1177329031, "symmetry": "none", "op_count": 1, "ir_hash": "e297f274a9113da9", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 522000.0, "surface_area": 63400.0, "principal_moments": [551000000.0, 977000000.0, 977000000.0], "n_faces": 5, "n_edges": 7, "n_vertices": 5}, "dimensions": {"lines": ["Revolved body, \u00d850.48 mm \u00d7 174.8 mm tall with \u00d8101.1 mm \u00d7 48 mm flange."], "text": "Revolved body, \u00d850.48 mm \u00d7 174.8 mm tall with \u00d8101.1 mm \u00d7 48 mm flange."}, "params": {"outer_d": {"type": "float", "default": 50.48, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 174.8, "min": 52.4, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "flange_d": {"type": "float", "default": 101.1, "min": 60.6, "max": 151.4, "step": 1.0, "group": "Body", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 48.0, "min": 14.4, "max": 87.4, "step": 0.5, "group": "Body", "label": "Flange height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329031 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 50.48, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 174.8, \"min\": 52.4, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 101.1, \"min\": 60.6, \"max\": 151.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 48.0, \"min\": 14.4, \"max\": 87.4, \"step\": 0.5, \"group\": 'Body', \"label\": 'Flange height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462c9d88_0468", "family": "sketched", "tier": 2, "seed": 1177329032, "symmetry": "none", "op_count": 1, "ir_hash": "ae6d1410c6068287", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 66800.0, "surface_area": 11800.0, "principal_moments": [19000000.0, 19800000.0, 19800000.0], "n_faces": 7, "n_edges": 12, "n_vertices": 7}, "dimensions": {"lines": ["Revolved organic body from a freeform sketched section (6 segments: 4 straight, 2 curves), ~18.561 \u00d7 50 mm half-silhouette."], "text": "Revolved organic body from a freeform sketched section (6 segments: 4 straight, 2 curves), ~18.561 \u00d7 50 mm half-silhouette."}, "params": {"sk_r": {"type": "float", "default": 30, "min": 15.0, "max": 54.0, "step": 1.0, "group": "Sketch", "label": "Max radius (mm)"}, "sk_h": {"type": "float", "default": 50, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Sketch", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329032 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_r\": {\"type\": 'float', \"default\": 30, \"min\": 15.0, \"max\": 54.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Max radius (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 50, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XZ').moveTo(p[\"sk_r\"] * 0.6752, p[\"sk_h\"] * 0.0).lineTo(p[\"sk_r\"] * 0.7057, p[\"sk_h\"] * 0.117).spline([(p[\"sk_r\"] * 0.7057, p[\"sk_h\"] * 0.117), (p[\"sk_r\"] * 0.8812, p[\"sk_h\"] * 0.368), (p[\"sk_r\"] * 0.7809, p[\"sk_h\"] * 0.619)]).lineTo(p[\"sk_r\"] * 0.3182, p[\"sk_h\"] * 0.6237).bezier([(p[\"sk_r\"] * 0.3182, p[\"sk_h\"] * 0.6237), (p[\"sk_r\"] * 0.6037, p[\"sk_h\"] * 0.8118), (p[\"sk_r\"] * 0.5322, p[\"sk_h\"] * 1.0)]).lineTo(p[\"sk_r\"] * 0.1622, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.1622, p[\"sk_h\"] * 0.0).close().revolve())\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462c9d89_0469", "family": "flanged", "tier": 1, "seed": 1177329033, "symmetry": "none", "op_count": 2, "ir_hash": "4bf1ddef22d1788c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 290000.0, "surface_area": 55700.0, "principal_moments": [328000000.0, 425000000.0, 425000000.0], "n_faces": 18, "n_edges": 45, "n_vertices": 30}, "dimensions": {"lines": ["Revolved body, \u00d865 mm \u00d7 93.8 mm tall with \u00d834.8 mm bore, \u00d8129 mm \u00d7 7 mm flange.", "Twelve \u00d83.2 mm holes on a \u00d877.4 mm bolt circle."], "text": "Revolved body, \u00d865 mm \u00d7 93.8 mm tall with \u00d834.8 mm bore, \u00d8129 mm \u00d7 7 mm flange. Twelve \u00d83.2 mm holes on a \u00d877.4 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 65, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 93.8, "min": 28.1, "max": 234.5, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 34.8, "min": 2.0, "max": 45.5, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 129.0, "min": 84.5, "max": 195.0, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 7.0, "min": 2.1, "max": 37.5, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 38.7, "min": 25.8, "max": 58.1, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 12, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329033 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 65, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 93.8, \"min\": 28.1, \"max\": 234.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 34.8, \"min\": 2.0, \"max\": 45.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 129.0, \"min\": 84.5, \"max\": 195.0, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 7.0, \"min\": 2.1, \"max\": 37.5, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 38.7, \"min\": 25.8, \"max\": 58.1, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 12, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462c9d8a_0470", "family": "swept", "tier": 1, "seed": 1177329034, "symmetry": "none", "op_count": 1, "ir_hash": "76acd7bd5552f7ef", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 6750.0, "surface_area": 3460.0, "principal_moments": [425000.0, 3400000.0, 3750000.0], "n_faces": 3, "n_edges": 3, "n_vertices": 2}, "dimensions": {"lines": ["\u00d89.5 mm circular section swept along a curved path, ~79.88 mm span."], "text": "\u00d89.5 mm circular section swept along a curved path, ~79.88 mm span."}, "params": {"path_w": {"type": "float", "default": 79.88, "min": 39.9, "max": 143.8, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 70, "min": 35.0, "max": 126.0, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_d": {"type": "float", "default": 9.5, "min": 4.8, "max": 17.1, "step": 1.0, "group": "Section", "label": "Section diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329034 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 79.88, \"min\": 39.9, \"max\": 143.8, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 70, \"min\": 35.0, \"max\": 126.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_d\": {\"type\": 'float', \"default\": 9.5, \"min\": 4.8, \"max\": 17.1, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.3414), (p[\"path_w\"] * 0.1676, p[\"path_h\"] * 0.3433), (p[\"path_w\"] * 0.0868, p[\"path_h\"] * 0.529), (p[\"path_w\"] * 0.3012, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').circle(p[\"sweep_d\"] / 2).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462c9d8b_0471", "family": "bracket", "tier": 3, "seed": 1177329035, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "0a388913b2610a67", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 22700.0, "surface_area": 8230.0, "principal_moments": [4200000.0, 10500000.0, 12299999.999999998], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["C-channel bracket: base leg 55 mm, vertical leg 38 mm, 25 mm wide, 8 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg; 10.1 mm corner gusset."], "text": "C-channel bracket: base leg 55 mm, vertical leg 38 mm, 25 mm wide, 8 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg; 10.1 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 55, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 38.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 25, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 8.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 10.1, "min": 4.0, "max": 12.5, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329035 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 55, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 38.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 25, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 10.1, \"min\": 4.0, \"max\": 12.5, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl / 2, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bl - _bt, _bt).lineTo(_bl - _bt - _g, _bt)\n                    .lineTo(_bl - _bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462c9d8c_0472", "family": "threaded", "tier": 1, "seed": 1177329036, "symmetry": "none", "op_count": 1, "ir_hash": "5e6df0c83ba90136", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 27300.0, "surface_area": 10300.0, "principal_moments": [3580000.0, 9150000.0, 9150000.0], "n_faces": 447, "n_edges": 1277, "n_vertices": 832}, "dimensions": {"lines": ["M16x2 internal thread, 57 mm long."], "text": "M16x2 internal thread, 57 mm long."}, "params": {"major_d": {"type": "float", "default": 16.0, "min": 4.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Major diameter (mm)"}, "pitch": {"type": "float", "default": 2.0, "min": 1.0, "max": 4.0, "step": 0.05, "group": "Thread", "label": "Pitch (mm)"}, "thread_len": {"type": "float", "default": 57.0, "min": 22.8, "max": 114.0, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329036 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 16.0, \"min\": 4.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Major diameter (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 2.0, \"min\": 1.0, \"max\": 4.0, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Pitch (mm)'},\n    \"thread_len\": {\"type\": 'float', \"default\": 57.0, \"min\": 22.8, \"max\": 114.0, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.IsoThread(major_diameter=p[\"major_d\"], pitch=p[\"pitch\"], length=p[\"thread_len\"], external=False, end_finishes=(\"fade\", \"fade\"))\n    _body = _bd.Cylinder(radius=(p[\"major_d\"]) * 0.9, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _bore = _bd.Cylinder(radius=(p[\"major_d\"]) / 2, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = (_body - _bore) + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462c9d8d_0473", "family": "revolved", "tier": 0, "seed": 1177329037, "symmetry": "none", "op_count": 1, "ir_hash": "5a1a619c2c53b42d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 605000.0, "surface_area": 84300.0, "principal_moments": [415000000.0, 2500000000.0, 2500000000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d867.65 mm \u00d7 252.4 mm tall."], "text": "Revolved body, \u00d867.65 mm \u00d7 252.4 mm tall."}, "params": {"outer_d": {"type": "float", "default": 67.65, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 252.4, "min": 75.7, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329037 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 67.65, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 252.4, \"min\": 75.7, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462c9d8e_0474", "family": "bracket", "tier": 1, "seed": 1177329038, "symmetry": "none", "op_count": 1, "ir_hash": "376d8eb9c6d005e0", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 28300.0, "surface_area": 10600.0, "principal_moments": [4840000.0, 40500000.0, 43400000.0], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Z-bracket: base leg 70 mm, vertical leg 58.7 mm, top leg 67.6 mm, 20 mm wide, 8 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."], "text": "Z-bracket: base leg 70 mm, vertical leg 58.7 mm, top leg 67.6 mm, 20 mm wide, 8 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 70, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 58.7, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 20, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 8.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 67.6, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 8.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329038 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 70, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 58.7, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 20, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 67.6, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 8.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462c9d8f_0475", "family": "profiled", "tier": 0, "seed": 1177329039, "symmetry": "none", "op_count": 1, "ir_hash": "cee4feef478044d5", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 657000.0, "surface_area": 74700.0, "principal_moments": [193000000.0, 13300000000.0, 13400000000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["58.91 \u00d7 24.88 mm slot section, extruded 492.7 mm thick."], "text": "58.91 \u00d7 24.88 mm slot section, extruded 492.7 mm thick."}, "params": {"slot_len": {"type": "float", "default": 58.91, "min": 29.5, "max": 117.8, "step": 1.0, "group": "Profile", "label": "Slot length (mm)"}, "slot_w": {"type": "float", "default": 24.88, "min": 12.4, "max": 49.8, "step": 0.5, "group": "Profile", "label": "Slot width (mm)"}, "length": {"type": "float", "default": 492.7, "min": 147.8, "max": 1478.1, "step": 5.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329039 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"slot_len\": {\"type\": 'float', \"default\": 58.91, \"min\": 29.5, \"max\": 117.8, \"step\": 1.0, \"group\": 'Profile', \"label\": 'Slot length (mm)'},\n    \"slot_w\": {\"type\": 'float', \"default\": 24.88, \"min\": 12.4, \"max\": 49.8, \"step\": 0.5, \"group\": 'Profile', \"label\": 'Slot width (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 492.7, \"min\": 147.8, \"max\": 1478.1, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').slot2D(p[\"slot_len\"], p[\"slot_w\"]).extrude(p[\"length\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462c9d90_0476", "family": "bracket", "tier": 3, "seed": 1177329040, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "401b5a8fb9f5810a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 26000.0, "surface_area": 14500.0, "principal_moments": [7770000.0, 24799999.999999996, 25499999.999999996], "n_faces": 17, "n_edges": 55, "n_vertices": 34}, "dimensions": {"lines": ["L-bracket: base leg 85 mm, vertical leg 54.4 mm, 45.41 mm wide, 4 mm thick; 2 \u00d7 \u00d86.4 mm holes per leg; 5.7 mm corner gusset."], "text": "L-bracket: base leg 85 mm, vertical leg 54.4 mm, 45.41 mm wide, 4 mm thick; 2 \u00d7 \u00d86.4 mm holes per leg; 5.7 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 85, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 54.4, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 45.41, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 4.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 2, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 5.7, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329040 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 85, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 54.4, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 45.41, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 2, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 5.7, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462c9d91_0477", "family": "flanged", "tier": 1, "seed": 1177329041, "symmetry": "none", "op_count": 2, "ir_hash": "c182d27328d15bbb", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 161000.0, "surface_area": 33800.0, "principal_moments": [129000000.0, 129000000.0, 133000000.0], "n_faces": 29, "n_edges": 114, "n_vertices": 76}, "dimensions": {"lines": ["Revolved body, \u00d857.28 mm \u00d7 63.8 mm tall with \u00d830.7 mm bore, \u00d896.5 mm \u00d7 9.8 mm flange.", "Twelve \u00d83.2 mm holes on a \u00d857.8 mm bolt circle."], "text": "Revolved body, \u00d857.28 mm \u00d7 63.8 mm tall with \u00d830.7 mm bore, \u00d896.5 mm \u00d7 9.8 mm flange. Twelve \u00d83.2 mm holes on a \u00d857.8 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 57.28, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 63.8, "min": 19.1, "max": 159.5, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 30.7, "min": 2.0, "max": 40.1, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 96.5, "min": 74.5, "max": 171.8, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 9.8, "min": 2.9, "max": 25.5, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 28.9, "min": 19.3, "max": 43.4, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 12, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329041 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 57.28, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 63.8, \"min\": 19.1, \"max\": 159.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 30.7, \"min\": 2.0, \"max\": 40.1, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 96.5, \"min\": 74.5, \"max\": 171.8, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 9.8, \"min\": 2.9, \"max\": 25.5, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 28.9, \"min\": 19.3, \"max\": 43.4, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 12, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462c9d92_0478", "family": "compound", "tier": 2, "seed": 1177329042, "symmetry": "mirror_xy", "op_count": 4, "ir_hash": "4fc3b2eb1d830146", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 81100.0, "surface_area": 31500.0, "principal_moments": [69400000.0, 135000000.0, 144000000.0], "n_faces": 17, "n_edges": 42, "n_vertices": 28}, "dimensions": {"lines": ["Rectangular body, 96.87 \u00d7 85 \u00d7 6 mm (W\u00d7D\u00d7H).", "\u00d823.1 mm circular section attachment, 112.9 mm long, from top face with a \u00d812.6 mm bore.", "Four \u00d86.4 mm holes at the corners, 67.809 \u00d7 59.5 mm spacing.", "Fillet radius 3.434 mm on vertical edges."], "text": "Rectangular body, 96.87 \u00d7 85 \u00d7 6 mm (W\u00d7D\u00d7H). \u00d823.1 mm circular section attachment, 112.9 mm long, from top face with a \u00d812.6 mm bore. Four \u00d86.4 mm holes at the corners, 67.809 \u00d7 59.5 mm spacing. Fillet radius 3.434 mm on vertical edges."}, "params": {"base_w": {"type": "float", "default": 96.87, "min": 30.0, "max": 160.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 85.0, "min": 25.0, "max": 160.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_h": {"type": "float", "default": 6.0, "min": 3.0, "max": 30.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "col_d": {"type": "float", "default": 23.1, "min": 9.2, "max": 42.5, "step": 1.0, "group": "Column", "label": "Column diameter (mm)"}, "col_h": {"type": "float", "default": 112.9, "min": 33.9, "max": 338.7, "step": 1.0, "group": "Column", "label": "Column height (mm)"}, "col_bore": {"type": "float", "default": 12.6, "min": 2.0, "max": 16.6, "step": 0.5, "group": "Column", "label": "Column bore diameter (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329042 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 96.87, \"min\": 30.0, \"max\": 160.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 85.0, \"min\": 25.0, \"max\": 160.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_h\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 30.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"col_d\": {\"type\": 'float', \"default\": 23.1, \"min\": 9.2, \"max\": 42.5, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column diameter (mm)'},\n    \"col_h\": {\"type\": 'float', \"default\": 112.9, \"min\": 33.9, \"max\": 338.7, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column height (mm)'},\n    \"col_bore\": {\"type\": 'float', \"default\": 12.6, \"min\": 2.0, \"max\": 16.6, \"step\": 0.5, \"group\": 'Column', \"label\": 'Column bore diameter (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_h\"])\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"col_d\"] / 2).extrude(p[\"col_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"col_bore\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"base_w\"] * 0.7, p[\"base_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"base_w\"], p[\"base_d\"]) * 0.040401846099031274)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462c9d93_0479", "family": "lofted", "tier": 1, "seed": 1177329043, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "f7bd84522f71cc59", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 12800.0, "surface_area": 4110.0, "principal_moments": [1350000.0, 1370000.0, 1370000.0], "n_faces": 9, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["Lofted body through 2 sections: \u00d835 mm circular section \u2192 6-sided polygon section, 14 mm across corners.", "One \u00d87.9 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 2 sections: \u00d835 mm circular section \u2192 6-sided polygon section, 14 mm across corners. One \u00d87.9 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 35, "min": 17.5, "max": 56.0, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 14.0, "min": 5.6, "max": 42.0, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 29.6, "min": 11.8, "max": 59.2, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_bore_d": {"type": "float", "default": 7.9, "min": 2.0, "max": 11.2, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329043 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 35, \"min\": 17.5, \"max\": 56.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 14.0, \"min\": 5.6, \"max\": 42.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 29.6, \"min\": 11.8, \"max\": 59.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 7.9, \"min\": 2.0, \"max\": 11.2, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .circle(p[\"loft_base\"] / 2)\n        .workplane(offset=p[\"loft_h\"])\n        .polygon(6, p[\"loft_top\"] * 0.5 * 2)\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462c9d94_0480", "family": "lofted", "tier": 1, "seed": 1177329044, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "cfc2ef7be29c5cd0", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 30900.0, "surface_area": 7070.0, "principal_moments": [5240000.0, 6080000.0, 6080000.0], "n_faces": 9, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["Lofted body through 2 sections: \u00d845 mm circular section \u2192 6-sided polygon section, 17.9 mm across corners.", "One \u00d88.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 2 sections: \u00d845 mm circular section \u2192 6-sided polygon section, 17.9 mm across corners. One \u00d88.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 45, "min": 22.5, "max": 72.0, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 17.9, "min": 7.2, "max": 54.0, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 41.9, "min": 16.8, "max": 83.8, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_bore_d": {"type": "float", "default": 8.3, "min": 2.0, "max": 14.3, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329044 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 45, \"min\": 22.5, \"max\": 72.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 17.9, \"min\": 7.2, \"max\": 54.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 41.9, \"min\": 16.8, \"max\": 83.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 8.3, \"min\": 2.0, \"max\": 14.3, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .circle(p[\"loft_base\"] / 2)\n        .workplane(offset=p[\"loft_h\"])\n        .polygon(6, p[\"loft_top\"] * 0.5 * 2)\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462c9d95_0481", "family": "swept", "tier": 2, "seed": 1177329045, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "74a57a83da2d9259", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 4000.0, "surface_area": 4050.0, "principal_moments": [385000.0, 1570000.0, 1820000.0], "n_faces": 3, "n_edges": 3, "n_vertices": 2}, "dimensions": {"lines": ["\u00d816.4 mm circular section swept along a curved path, ~74.7 mm span."], "text": "\u00d816.4 mm circular section swept along a curved path, ~74.7 mm span."}, "params": {"path_w": {"type": "float", "default": 74.7, "min": 37.4, "max": 134.5, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 65, "min": 32.5, "max": 117.0, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_d": {"type": "float", "default": 16.4, "min": 8.2, "max": 29.5, "step": 1.0, "group": "Section", "label": "Section diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329045 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 74.7, \"min\": 37.4, \"max\": 134.5, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 65, \"min\": 32.5, \"max\": 117.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_d\": {\"type\": 'float', \"default\": 16.4, \"min\": 8.2, \"max\": 29.5, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.3033, p[\"path_h\"] * 0.6298), (p[\"path_w\"] * 0.1409, p[\"path_h\"] * 0.8153), (p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.8449), (p[\"path_w\"] * 0.0, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').circle(p[\"sweep_d\"] / 2).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462c9d96_0482", "family": "bracket", "tier": 1, "seed": 1177329046, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "efa42c4005ab5bef", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 22000.0, "surface_area": 10400.0, "principal_moments": [6500000.0, 9280000.0, 12099999.999999998], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["L-bracket: base leg 50 mm, vertical leg 44.2 mm, 50 mm wide, 5 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."], "text": "L-bracket: base leg 50 mm, vertical leg 44.2 mm, 50 mm wide, 5 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 50, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 44.2, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 50, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 5.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329046 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 50, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 44.2, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 50, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462c9d97_0483", "family": "bracket", "tier": 1, "seed": 1177329047, "symmetry": "none", "op_count": 1, "ir_hash": "a934b1aa315a8005", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 5920.0, "surface_area": 4580.0, "principal_moments": [751000.0, 1140000.0, 1540000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["L-bracket: base leg 37.09 mm, vertical leg 25 mm, 33.87 mm wide, 3 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."], "text": "L-bracket: base leg 37.09 mm, vertical leg 25 mm, 33.87 mm wide, 3 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 37.09, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 25.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 33.87, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 3.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329047 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 37.09, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 25.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 33.87, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462c9d98_0484", "family": "sketched", "tier": 3, "seed": 1177329048, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "e38076e1747e234b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 21300.0, "surface_area": 7230.0, "principal_moments": [3110000.0, 7250000.0, 7250000.0], "n_faces": 7, "n_edges": 12, "n_vertices": 7}, "dimensions": {"lines": ["Revolved organic body from a freeform sketched section (6 segments: 3 straight, 1 arc, 2 curves), ~21.82 \u00d7 67.76 mm half-silhouette."], "text": "Revolved organic body from a freeform sketched section (6 segments: 3 straight, 1 arc, 2 curves), ~21.82 \u00d7 67.76 mm half-silhouette."}, "params": {"sk_r": {"type": "float", "default": 25, "min": 12.5, "max": 45.0, "step": 1.0, "group": "Sketch", "label": "Max radius (mm)"}, "sk_h": {"type": "float", "default": 67.76, "min": 33.9, "max": 122.0, "step": 1.0, "group": "Sketch", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329048 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_r\": {\"type\": 'float', \"default\": 25, \"min\": 12.5, \"max\": 45.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Max radius (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 67.76, \"min\": 33.9, \"max\": 122.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XZ').moveTo(p[\"sk_r\"] * 0.9408, p[\"sk_h\"] * 0.0).lineTo(p[\"sk_r\"] * 0.3199, p[\"sk_h\"] * 0.3047).threePointArc((p[\"sk_r\"] * 0.2079, p[\"sk_h\"] * 0.5403), (p[\"sk_r\"] * 0.1499, p[\"sk_h\"] * 0.7758)).bezier([(p[\"sk_r\"] * 0.1499, p[\"sk_h\"] * 0.7758), (p[\"sk_r\"] * 0.0895, p[\"sk_h\"] * 0.8602), (p[\"sk_r\"] * 0.1483, p[\"sk_h\"] * 0.9446)]).bezier([(p[\"sk_r\"] * 0.1483, p[\"sk_h\"] * 0.9446), (p[\"sk_r\"] * 0.4705, p[\"sk_h\"] * 0.9723), (p[\"sk_r\"] * 0.4671, p[\"sk_h\"] * 1.0)]).lineTo(p[\"sk_r\"] * 0.068, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.068, p[\"sk_h\"] * 0.0).close().revolve())\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462c9d99_0485", "family": "revolved", "tier": 1, "seed": 1177329049, "symmetry": "radial", "op_count": 2, "ir_hash": "3fe252cb6517463b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 289.0, "surface_area": 380.0, "principal_moments": [2190.0, 3080.0, 3080.0], "n_faces": 5, "n_edges": 8, "n_vertices": 5}, "dimensions": {"lines": ["Revolved body, \u00d87.16 mm \u00d7 11.1 mm tall.", "Chamfer 0.8 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d87.16 mm \u00d7 11.1 mm tall. Chamfer 0.8 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 7.16, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 11.1, "min": 3.3, "max": 33.3, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "end_chamfer": {"type": "float", "default": 0.8, "min": 0.1, "max": 2.4, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329049 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 7.16, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 11.1, \"min\": 3.3, \"max\": 33.3, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.8, \"min\": 0.1, \"max\": 2.4, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9d9a_0486", "family": "plate", "tier": 1, "seed": 1177329050, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "d75050853444fdf4", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 3120.0, "surface_area": 2200.0, "principal_moments": [109000.0, 412000.0, 513000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 40 \u00d7 20.3 \u00d7 4 mm (W\u00d7D\u00d7H).", "Four \u00d83.2 mm holes at the corners, 28 \u00d7 14.21 mm spacing."], "text": "Rectangular body, 40 \u00d7 20.3 \u00d7 4 mm (W\u00d7D\u00d7H). Four \u00d83.2 mm holes at the corners, 28 \u00d7 14.21 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 40, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 20.3, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 4.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 4.6, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329050 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 40, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 20.3, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 4.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 4.6, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462c9d9b_0487", "family": "revolved", "tier": 2, "seed": 1177329051, "symmetry": "radial", "op_count": 1, "ir_hash": "5236ad437bd8681a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 85300.0, "surface_area": 20000.0, "principal_moments": [22000000.0, 56599999.99999999, 56599999.99999999], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d841.44 mm \u00d7 94.9 mm tall."], "text": "Revolved body, \u00d841.44 mm \u00d7 94.9 mm tall."}, "params": {"outer_d": {"type": "float", "default": 41.44, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 94.9, "min": 28.5, "max": 284.7, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329051 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 41.44, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 94.9, \"min\": 28.5, \"max\": 284.7, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462c9d9c_0488", "family": "flanged", "tier": 3, "seed": 1177329052, "symmetry": "mirror_xy", "op_count": 3, "ir_hash": "c911aa3053f5b823", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 333000.0, "surface_area": 52000.0, "principal_moments": [368000000.0, 413000000.0, 413000000.0], "n_faces": 26, "n_edges": 57, "n_vertices": 34}, "dimensions": {"lines": ["Revolved body, \u00d870.1 mm \u00d7 82.9 mm tall with \u00d828.4 mm bore, \u00d8128.8 mm \u00d7 7.2 mm flange.", "Eight \u00d83.2 mm holes on a \u00d877.2 mm bolt circle.", "Chamfer 0.5 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d870.1 mm \u00d7 82.9 mm tall with \u00d828.4 mm bore, \u00d8128.8 mm \u00d7 7.2 mm flange. Eight \u00d83.2 mm holes on a \u00d877.2 mm bolt circle. Chamfer 0.5 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 70.1, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 82.9, "min": 24.9, "max": 207.2, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 28.4, "min": 2.0, "max": 49.1, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 128.8, "min": 91.1, "max": 210.3, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 7.2, "min": 2.2, "max": 33.2, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 38.6, "min": 25.8, "max": 58.0, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 8, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}, "end_chamfer": {"type": "float", "default": 0.5, "min": 0.1, "max": 2.0, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329052 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 70.1, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 82.9, \"min\": 24.9, \"max\": 207.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 28.4, \"min\": 2.0, \"max\": 49.1, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 128.8, \"min\": 91.1, \"max\": 210.3, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 7.2, \"min\": 2.2, \"max\": 33.2, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 38.6, \"min\": 25.8, \"max\": 58.0, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.5, \"min\": 0.1, \"max\": 2.0, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462c9d9d_0489", "family": "revolved", "tier": 0, "seed": 1177329053, "symmetry": "none", "op_count": 1, "ir_hash": "35b2f67502912ec4", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 940.0, "surface_area": 863.0, "principal_moments": [18500.0, 19700.0, 19700.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d811.45 mm \u00d7 13.7 mm tall."], "text": "Revolved body, \u00d811.45 mm \u00d7 13.7 mm tall."}, "params": {"outer_d": {"type": "float", "default": 11.45, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 13.7, "min": 4.1, "max": 41.1, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329053 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 11.45, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 13.7, \"min\": 4.1, \"max\": 41.1, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462c9d9e_0490", "family": "compound", "tier": 3, "seed": 1177329054, "symmetry": "mirror_xy", "op_count": 4, "ir_hash": "8bc10ca34b80c747", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 232000.0, "surface_area": 26900.0, "principal_moments": [146000000.0, 154000000.0, 163000000.0], "n_faces": 20, "n_edges": 51, "n_vertices": 34}, "dimensions": {"lines": ["Rectangular body, 67.47 \u00d7 56.3 \u00d7 60 mm (W\u00d7D\u00d7H).", "8-sided polygon section, 19.6 mm across corners attachment, 38.7 mm long, from front face with a \u00d88.9 mm bore.", "Four \u00d88.4 mm holes at the corners, 47.229 \u00d7 39.41 mm spacing.", "Fillet radius 4.008 mm on vertical edges."], "text": "Rectangular body, 67.47 \u00d7 56.3 \u00d7 60 mm (W\u00d7D\u00d7H). 8-sided polygon section, 19.6 mm across corners attachment, 38.7 mm long, from front face with a \u00d88.9 mm bore. Four \u00d88.4 mm holes at the corners, 47.229 \u00d7 39.41 mm spacing. Fillet radius 4.008 mm on vertical edges."}, "params": {"block_w": {"type": "float", "default": 67.47, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 56.3, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 60.0, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "spig_sides": {"type": "int", "default": 8, "min": 3, "max": 8, "step": 1, "group": "Spigot", "label": "Spigot sides"}, "spig_r": {"type": "float", "default": 9.8, "min": 4.9, "max": 21.0, "step": 1.0, "group": "Spigot", "label": "Spigot circumradius (mm)"}, "spig_len": {"type": "float", "default": 38.7, "min": 5.4, "max": 72.4, "step": 1.0, "group": "Spigot", "label": "Spigot length (mm)"}, "spig_bore": {"type": "float", "default": 8.9, "min": 2.0, "max": 13.0, "step": 0.5, "group": "Spigot", "label": "Bore diameter (mm)"}, "hole_d": {"type": "float", "default": 8.4, "min": 2.0, "max": 12.7, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329054 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 67.47, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 56.3, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 60.0, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"spig_sides\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Spigot', \"label\": 'Spigot sides'},\n    \"spig_r\": {\"type\": 'float', \"default\": 9.8, \"min\": 4.9, \"max\": 21.0, \"step\": 1.0, \"group\": 'Spigot', \"label\": 'Spigot circumradius (mm)'},\n    \"spig_len\": {\"type\": 'float', \"default\": 38.7, \"min\": 5.4, \"max\": 72.4, \"step\": 1.0, \"group\": 'Spigot', \"label\": 'Spigot length (mm)'},\n    \"spig_bore\": {\"type\": 'float', \"default\": 8.9, \"min\": 2.0, \"max\": 13.0, \"step\": 0.5, \"group\": 'Spigot', \"label\": 'Bore diameter (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 2.0, \"max\": 12.7, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"spig_sides\"], p[\"spig_r\"] * 2).extrude(p[\"spig_len\"])\n    )\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"spig_bore\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"block_w\"], p[\"block_d\"]) * 0.07119420705996655)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462c9d9f_0491", "family": "bracket", "tier": 3, "seed": 1177329055, "symmetry": "none", "op_count": 1, "ir_hash": "c70e3dfdaecda937", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 11200.0, "surface_area": 6500.0, "principal_moments": [1240000.0, 3570000.0, 4290000.0], "n_faces": 15, "n_edges": 41, "n_vertices": 26}, "dimensions": {"lines": ["L-bracket: base leg 25 mm, vertical leg 25 mm, 60 mm wide, 4 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg; 5.7 mm corner gusset."], "text": "L-bracket: base leg 25 mm, vertical leg 25 mm, 60 mm wide, 4 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg; 5.7 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 25.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 25.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 60.0, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 4.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 5.7, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329055 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 25.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 25.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 60.0, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 5.7, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9da0_0492", "family": "plate", "tier": 2, "seed": 1177329056, "symmetry": "radial", "op_count": 3, "ir_hash": "15450fe4884f6daa", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 94100.0, "surface_area": 28600.0, "principal_moments": [79800000.0, 113000000.0, 192000000.0], "n_faces": 22, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 120 \u00d7 100.8 \u00d7 8 mm (W\u00d7D\u00d7H).", "Twelve \u00d85.3 mm holes on a \u00d872 mm bolt circle.", "Chamfer 5.7 mm on vertical edges."], "text": "Rectangular body, 120 \u00d7 100.8 \u00d7 8 mm (W\u00d7D\u00d7H). Twelve \u00d85.3 mm holes on a \u00d872 mm bolt circle. Chamfer 5.7 mm on vertical edges."}, "params": {"plate_w": {"type": "float", "default": 120.0, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 100.8, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "bolt_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 36.0, "min": 24.0, "max": 54.0, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 12, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}, "chamfer_d": {"type": "float", "default": 5.7, "min": 4.0, "max": 12.1, "step": 0.5, "group": "Body", "label": "Chamfer distance (mm)"}, "chamfered": {"type": "bool", "default": true, "group": "Body", "label": "Chamfer edges"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329056 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 120.0, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 100.8, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 36.0, \"min\": 24.0, \"max\": 54.0, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 12, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n    \"chamfer_d\": {\"type\": 'float', \"default\": 5.7, \"min\": 4.0, \"max\": 12.1, \"step\": 0.5, \"group\": 'Body', \"label\": 'Chamfer distance (mm)'},\n    \"chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Chamfer edges'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    if p[\"chamfered\"]:\n        result = result.edges('|Z').chamfer(p[\"chamfer_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462c9da1_0493", "family": "gear", "tier": 0, "seed": 1177329057, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "d9a0ce2f3ad60843", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 6390.0, "surface_area": 3360.0, "principal_moments": [515000.0, 515000.0, 982000.0], "n_faces": 212, "n_edges": 630, "n_vertices": 420}, "dimensions": {"lines": ["Spur gear, module 1 mm, 35 teeth (pitch \u00d835 mm), face width 6.7 mm."], "text": "Spur gear, module 1 mm, 35 teeth (pitch \u00d835 mm), face width 6.7 mm."}, "params": {"module": {"type": "float", "default": 1.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 35, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 6.7, "min": 2.7, "max": 16.8, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329057 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 1.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 35, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 6.7, \"min\": 2.7, \"max\": 16.8, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462c9da2_0494", "family": "compound", "tier": 2, "seed": 1177329058, "symmetry": "mirror_xy", "op_count": 5, "ir_hash": "c29a5ca1f1530feb", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 418000.0, "surface_area": 44700.0, "principal_moments": [365000000.0, 393000000.0, 509000000.0], "n_faces": 21, "n_edges": 49, "n_vertices": 31}, "dimensions": {"lines": ["Rectangular body, 80.8 \u00d7 86.9 \u00d7 59.8 mm (W\u00d7D\u00d7H).", "\u00d818.7 mm circular section attachment, 17 mm long, from front face with a \u00d89.1 mm bore.", "\u00d818.7 mm circular section attachment, 17 mm long, from right face with a \u00d89.1 mm bore.", "\u00d818.7 mm circular section attachment, 17 mm long, from left face with a \u00d89.1 mm bore.", "Four \u00d85.3 mm holes at the corners, 56.56 \u00d7 60.83 mm spacing."], "text": "Rectangular body, 80.8 \u00d7 86.9 \u00d7 59.8 mm (W\u00d7D\u00d7H). \u00d818.7 mm circular section attachment, 17 mm long, from front face with a \u00d89.1 mm bore. \u00d818.7 mm circular section attachment, 17 mm long, from right face with a \u00d89.1 mm bore. \u00d818.7 mm circular section attachment, 17 mm long, from left face with a \u00d89.1 mm bore. Four \u00d85.3 mm holes at the corners, 56.56 \u00d7 60.83 mm spacing."}, "params": {"block_w": {"type": "float", "default": 80.8, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body width (mm)"}, "block_d": {"type": "float", "default": 86.9, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body depth (mm)"}, "block_h": {"type": "float", "default": 59.8, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body height (mm)"}, "port_d": {"type": "float", "default": 18.7, "min": 7.5, "max": 26.9, "step": 1.0, "group": "Ports", "label": "Ports diameter (mm)"}, "port_len": {"type": "float", "default": 17.0, "min": 4.7, "max": 56.1, "step": 1.0, "group": "Ports", "label": "Port boss length (mm)"}, "port_bore": {"type": "float", "default": 9.1, "min": 2.0, "max": 13.5, "step": 0.5, "group": "Ports", "label": "Port bore diameter (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329058 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 80.8, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 86.9, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 59.8, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body height (mm)'},\n    \"port_d\": {\"type\": 'float', \"default\": 18.7, \"min\": 7.5, \"max\": 26.9, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Ports diameter (mm)'},\n    \"port_len\": {\"type\": 'float', \"default\": 17.0, \"min\": 4.7, \"max\": 56.1, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Port boss length (mm)'},\n    \"port_bore\": {\"type\": 'float', \"default\": 9.1, \"min\": 2.0, \"max\": 13.5, \"step\": 0.5, \"group\": 'Ports', \"label\": 'Port bore diameter (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462c9da3_0495", "family": "bracket", "tier": 2, "seed": 1177329059, "symmetry": "none", "op_count": 1, "ir_hash": "19827b86767a54c1", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 27000.0, "surface_area": 12000.0, "principal_moments": [7850000.0, 26799999.999999996, 32399999.999999996], "n_faces": 15, "n_edges": 41, "n_vertices": 26}, "dimensions": {"lines": ["L-bracket: base leg 83.56 mm, vertical leg 90 mm, 24.94 mm wide, 5 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg; 7.4 mm corner gusset."], "text": "L-bracket: base leg 83.56 mm, vertical leg 90 mm, 24.94 mm wide, 5 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg; 7.4 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 83.56, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 90.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 24.94, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 5.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 7.4, "min": 2.5, "max": 12.5, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329059 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 83.56, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 90.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 24.94, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 7.4, \"min\": 2.5, \"max\": 12.5, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462c9da4_0496", "family": "flanged", "tier": 1, "seed": 1177329060, "symmetry": "radial", "op_count": 2, "ir_hash": "b4e732ab8990ba62", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 533000.0, "surface_area": 75500.0, "principal_moments": [877000000.0, 877000000.0, 1180000000.0], "n_faces": 18, "n_edges": 45, "n_vertices": 30}, "dimensions": {"lines": ["Revolved body, \u00d885.54 mm \u00d7 75.1 mm tall with \u00d836.4 mm bore, \u00d8166.3 mm \u00d7 11.7 mm flange.", "Twelve \u00d88.4 mm holes on a \u00d899.8 mm bolt circle."], "text": "Revolved body, \u00d885.54 mm \u00d7 75.1 mm tall with \u00d836.4 mm bore, \u00d8166.3 mm \u00d7 11.7 mm flange. Twelve \u00d88.4 mm holes on a \u00d899.8 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 85.54, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 75.1, "min": 22.5, "max": 187.8, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 36.4, "min": 2.0, "max": 59.9, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 166.3, "min": 111.2, "max": 256.6, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 11.7, "min": 3.5, "max": 30.0, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 8.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 49.9, "min": 33.3, "max": 74.8, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 12, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329060 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 85.54, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 75.1, \"min\": 22.5, \"max\": 187.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 36.4, \"min\": 2.0, \"max\": 59.9, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 166.3, \"min\": 111.2, \"max\": 256.6, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 11.7, \"min\": 3.5, \"max\": 30.0, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 49.9, \"min\": 33.3, \"max\": 74.8, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 12, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462c9da5_0497", "family": "revolved", "tier": 1, "seed": 1177329061, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "92ed11303bb697cd", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 101000.0, "surface_area": 28200.0, "principal_moments": [65999999.99999999, 65999999.99999999, 121000000.0], "n_faces": 10, "n_edges": 17, "n_vertices": 10}, "dimensions": {"lines": ["Revolved body, \u00d865 mm \u00d7 24.3 mm tall with \u00d828.5 mm bore, \u00d8117.7 mm \u00d7 4.7 mm flange.", "Chamfer 0.5 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d865 mm \u00d7 24.3 mm tall with \u00d828.5 mm bore, \u00d8117.7 mm \u00d7 4.7 mm flange. Chamfer 0.5 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 65, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 24.3, "min": 7.3, "max": 72.9, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 28.5, "min": 2.0, "max": 45.5, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 117.7, "min": 78.0, "max": 195.0, "step": 1.0, "group": "Body", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 4.7, "min": 1.4, "max": 12.2, "step": 0.5, "group": "Body", "label": "Flange height (mm)"}, "end_chamfer": {"type": "float", "default": 0.5, "min": 0.1, "max": 1.5, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329061 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 65, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 24.3, \"min\": 7.3, \"max\": 72.9, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 28.5, \"min\": 2.0, \"max\": 45.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 117.7, \"min\": 78.0, \"max\": 195.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 4.7, \"min\": 1.4, \"max\": 12.2, \"step\": 0.5, \"group\": 'Body', \"label\": 'Flange height (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.5, \"min\": 0.1, \"max\": 1.5, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462c9da6_0498", "family": "revolved", "tier": 2, "seed": 1177329062, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "c572ae7bbb2fb05b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 29800.0, "surface_area": 8920.0, "principal_moments": [5450000.0, 6680000.0, 6680000.0], "n_faces": 9, "n_edges": 14, "n_vertices": 9}, "dimensions": {"lines": ["Revolved body, \u00d835 mm \u00d7 47.1 mm tall with 2.69 mm-wide groove 1.1 mm deep.", "Chamfer 0.8 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d835 mm \u00d7 47.1 mm tall with 2.69 mm-wide groove 1.1 mm deep. Chamfer 0.8 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 35, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 47.1, "min": 14.1, "max": 141.3, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "groove_depth": {"type": "float", "default": 1.1, "min": 0.44, "max": 3.3, "step": 0.1, "group": "Body", "label": "Groove depth (mm)"}, "groove_w": {"type": "float", "default": 2.69, "min": 1.08, "max": 8.07, "step": 0.2, "group": "Body", "label": "Groove width (mm)"}, "groove_pos": {"type": "float", "default": 13.2, "min": 7.1, "max": 40.0, "step": 1.0, "group": "Body", "label": "Groove position (mm)"}, "end_chamfer": {"type": "float", "default": 0.8, "min": 0.1, "max": 2.4, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329062 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 35, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 47.1, \"min\": 14.1, \"max\": 141.3, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"groove_depth\": {\"type\": 'float', \"default\": 1.1, \"min\": 0.44, \"max\": 3.3, \"step\": 0.1, \"group\": 'Body', \"label\": 'Groove depth (mm)'},\n    \"groove_w\": {\"type\": 'float', \"default\": 2.69, \"min\": 1.08, \"max\": 8.07, \"step\": 0.2, \"group\": 'Body', \"label\": 'Groove width (mm)'},\n    \"groove_pos\": {\"type\": 'float', \"default\": 13.2, \"min\": 7.1, \"max\": 40.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Groove position (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.8, \"min\": 0.1, \"max\": 2.4, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"groove_pos\"] - p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2 - p[\"groove_depth\"], p[\"groove_pos\"] - p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2 - p[\"groove_depth\"], p[\"groove_pos\"] + p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2, p[\"groove_pos\"] + p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462c9da7_0499", "family": "compound", "tier": 1, "seed": 1177329063, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "1393bef2fa95ff52", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 8140.0, "surface_area": 2840.0, "principal_moments": [631000.0, 674000.0, 674000.0], "n_faces": 10, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["6-sided polygon section, 31.88 mm across corners, extruded 7.7 mm thick.", "\u00d815.6 mm circular section attachment, 16 mm long, from top face."], "text": "6-sided polygon section, 31.88 mm across corners, extruded 7.7 mm thick. \u00d815.6 mm circular section attachment, 16 mm long, from top face."}, "params": {"base_sides": {"type": "int", "default": 6, "min": 3, "max": 8, "step": 1, "group": "Base", "label": "Base sides"}, "base_r": {"type": "float", "default": 15.94, "min": 9.6, "max": 25.5, "step": 1.0, "group": "Base", "label": "Base circumradius (mm)"}, "base_h": {"type": "float", "default": 7.7, "min": 3.1, "max": 19.2, "step": 1.0, "group": "Base", "label": "Base height (mm)"}, "col_d": {"type": "float", "default": 15.6, "min": 7.8, "max": 22.1, "step": 1.0, "group": "Column", "label": "Column diameter (mm)"}, "col_h": {"type": "float", "default": 16.0, "min": 4.8, "max": 40.0, "step": 1.0, "group": "Column", "label": "Column height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329063 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_sides\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Base', \"label\": 'Base sides'},\n    \"base_r\": {\"type\": 'float', \"default\": 15.94, \"min\": 9.6, \"max\": 25.5, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base circumradius (mm)'},\n    \"base_h\": {\"type\": 'float', \"default\": 7.7, \"min\": 3.1, \"max\": 19.2, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base height (mm)'},\n    \"col_d\": {\"type\": 'float', \"default\": 15.6, \"min\": 7.8, \"max\": 22.1, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column diameter (mm)'},\n    \"col_h\": {\"type\": 'float', \"default\": 16.0, \"min\": 4.8, \"max\": 40.0, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').polygon(p[\"base_sides\"], p[\"base_r\"] * 2).extrude(p[\"base_h\"]))\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"col_d\"] / 2).extrude(p[\"col_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462c9da8_0500", "family": "ribbed", "tier": 1, "seed": 1177329064, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "1bc4312b92997196", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 15800.0, "surface_area": 7800.0, "principal_moments": [2050000.0, 2880000.0, 4430000.0], "n_faces": 31, "n_edges": 72, "n_vertices": 48}, "dimensions": {"lines": ["Rectangular body, 45 \u00d7 37.8 \u00d7 5 mm (W\u00d7D\u00d7H).", "Five ribs, 4.6 mm thick, 8.8 mm tall."], "text": "Rectangular body, 45 \u00d7 37.8 \u00d7 5 mm (W\u00d7D\u00d7H). Five ribs, 4.6 mm thick, 8.8 mm tall."}, "params": {"base_w": {"type": "float", "default": 45, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 37.8, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 5.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 5, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 8.8, "min": 3.5, "max": 17.6, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 4.6, "min": 1.0, "max": 11.5, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329064 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 45, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 37.8, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 5, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 8.8, \"min\": 3.5, \"max\": 17.6, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 4.6, \"min\": 1.0, \"max\": 11.5, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462c9da9_0501", "family": "block", "tier": 2, "seed": 1177329065, "symmetry": "mirror_xy", "op_count": 3, "ir_hash": "f8fb48532623489c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 89300.0, "surface_area": 15900.0, "principal_moments": [21200000.0, 43100000.0, 51899999.99999999], "n_faces": 15, "n_edges": 39, "n_vertices": 26}, "dimensions": {"lines": ["Rectangular body, 45 \u00d7 29 \u00d7 70.4 mm (W\u00d7D\u00d7H).", "Five \u00d82.9 mm holes in two staggered rows, 16.9 \u00d7 19.6 mm pitch.", "Fillet radius 1.948 mm on vertical edges."], "text": "Rectangular body, 45 \u00d7 29 \u00d7 70.4 mm (W\u00d7D\u00d7H). Five \u00d82.9 mm holes in two staggered rows, 16.9 \u00d7 19.6 mm pitch. Fillet radius 1.948 mm on vertical edges."}, "params": {"block_w": {"type": "float", "default": 45, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 29.0, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 70.4, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 2.9, "min": 2.0, "max": 2.9, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 3, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329065 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 45, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 29.0, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 70.4, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 2.9, \"min\": 2.0, \"max\": 2.9, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 3, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 16.9\n    _ssy = 19.6\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"block_w\"], p[\"block_d\"]) * 0.06718373369232909)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462c9daa_0502", "family": "enclosure", "tier": 2, "seed": 1177329066, "symmetry": "none", "op_count": 3, "ir_hash": "3c8e49178914de72", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 45600.0, "surface_area": 38800.0, "principal_moments": [29799999.999999996, 63799999.99999999, 63999999.99999999], "n_faces": 15, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 95 \u00d7 45.7 \u00d7 56.5 mm (W\u00d7D\u00d7H).", "Hollowed to 2.4 mm wall thickness, open at top face.", "Four \u00d84.3 mm holes at the corners, 66.5 \u00d7 31.99 mm spacing."], "text": "Rectangular body, 95 \u00d7 45.7 \u00d7 56.5 mm (W\u00d7D\u00d7H). Hollowed to 2.4 mm wall thickness, open at top face. Four \u00d84.3 mm holes at the corners, 66.5 \u00d7 31.99 mm spacing."}, "params": {"enc_w": {"type": "float", "default": 95, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 45.7, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 56.5, "min": 22.6, "max": 113.0, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 2.4, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 10.3, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329066 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 95, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 45.7, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 56.5, \"min\": 22.6, \"max\": 113.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 2.4, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 10.3, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"enc_w\"] * 0.7, p[\"enc_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462c9dab_0503", "family": "revolved", "tier": 1, "seed": 1177329067, "symmetry": "none", "op_count": 1, "ir_hash": "759099bc29c14f20", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 9440.0, "surface_area": 3830.0, "principal_moments": [852000.0, 852000.0, 1100000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d827.82 mm \u00d7 23.3 mm tall."], "text": "Revolved body, \u00d827.82 mm \u00d7 23.3 mm tall."}, "params": {"outer_d": {"type": "float", "default": 27.82, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 23.3, "min": 7.0, "max": 69.9, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329067 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 27.82, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 23.3, \"min\": 7.0, \"max\": 69.9, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9dac_0504", "family": "plate", "tier": 3, "seed": 1177329068, "symmetry": "none", "op_count": 3, "ir_hash": "6907ad1d20a290f0", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 21700.0, "surface_area": 7480.0, "principal_moments": [1950000.0, 5930000.0, 6720000.0], "n_faces": 21, "n_edges": 54, "n_vertices": 36}, "dimensions": {"lines": ["Rectangular body, 61.1 \u00d7 29.4 \u00d7 12 mm (W\u00d7D\u00d7H).", "Four \u00d86.4 mm counterbored holes (\u00d812.8 mm \u00d7 5.1 mm counterbore) at the corners, 42.77 \u00d7 20.58 mm spacing.", "Boss \u00d824.9 mm \u00d7 8.4 mm tall on top face with a \u00d86.4 mm bore."], "text": "Rectangular body, 61.1 \u00d7 29.4 \u00d7 12 mm (W\u00d7D\u00d7H). Four \u00d86.4 mm counterbored holes (\u00d812.8 mm \u00d7 5.1 mm counterbore) at the corners, 42.77 \u00d7 20.58 mm spacing. Boss \u00d824.9 mm \u00d7 8.4 mm tall on top face with a \u00d86.4 mm bore."}, "params": {"plate_w": {"type": "float", "default": 61.1, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 29.4, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 6.6, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "cb_d": {"type": "float", "default": 12.8, "min": 9.6, "max": 19.2, "step": 0.5, "group": "Holes", "label": "Counterbore diameter (mm)"}, "cb_depth": {"type": "float", "default": 5.1, "min": 2.5, "max": 10.2, "step": 0.5, "group": "Holes", "label": "Counterbore depth (mm)"}, "boss_d": {"type": "float", "default": 24.9, "min": 12.4, "max": 49.8, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 8.4, "min": 3.4, "max": 21.0, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}, "boss_bore_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 17.4, "step": 0.1, "group": "Boss", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329068 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 61.1, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 29.4, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 6.6, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"cb_d\": {\"type\": 'float', \"default\": 12.8, \"min\": 9.6, \"max\": 19.2, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Counterbore diameter (mm)'},\n    \"cb_depth\": {\"type\": 'float', \"default\": 5.1, \"min\": 2.5, \"max\": 10.2, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Counterbore depth (mm)'},\n    \"boss_d\": {\"type\": 'float', \"default\": 24.9, \"min\": 12.4, \"max\": 49.8, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 8.4, \"min\": 3.4, \"max\": 21.0, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n    \"boss_bore_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 17.4, \"step\": 0.1, \"group\": 'Boss', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().cboreHole(p[\"hole_d\"], p[\"cb_d\"], p[\"cb_depth\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .hole(p[\"boss_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462c9dad_0505", "family": "flanged", "tier": 1, "seed": 1177329069, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "ec62923cc1677bc0", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 122000.0, "surface_area": 29000.0, "principal_moments": [78600000.0, 78600000.0, 110000000.0], "n_faces": 18, "n_edges": 45, "n_vertices": 30}, "dimensions": {"lines": ["Revolved body, \u00d851.48 mm \u00d7 45.9 mm tall with \u00d823.6 mm bore, \u00d8101.7 mm \u00d7 8.7 mm flange.", "Twelve \u00d88.4 mm holes on a \u00d861 mm bolt circle."], "text": "Revolved body, \u00d851.48 mm \u00d7 45.9 mm tall with \u00d823.6 mm bore, \u00d8101.7 mm \u00d7 8.7 mm flange. Twelve \u00d88.4 mm holes on a \u00d861 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 51.48, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 45.9, "min": 13.8, "max": 114.8, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 23.6, "min": 2.0, "max": 36.0, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 101.7, "min": 66.9, "max": 154.4, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 8.7, "min": 2.6, "max": 18.4, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 8.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 30.5, "min": 20.3, "max": 45.8, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 12, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329069 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 51.48, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 45.9, \"min\": 13.8, \"max\": 114.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 23.6, \"min\": 2.0, \"max\": 36.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 101.7, \"min\": 66.9, \"max\": 154.4, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 8.7, \"min\": 2.6, \"max\": 18.4, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 30.5, \"min\": 20.3, \"max\": 45.8, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 12, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462c9dae_0506", "family": "bracket", "tier": 3, "seed": 1177329070, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "cb223d7807496561", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 17000.0, "surface_area": 9870.0, "principal_moments": [4270000.0, 5940000.0, 8450000.0], "n_faces": 17, "n_edges": 55, "n_vertices": 34}, "dimensions": {"lines": ["L-bracket: base leg 36.98 mm, vertical leg 37.3 mm, 60 mm wide, 4 mm thick; 2 \u00d7 \u00d86.4 mm holes per leg; 4.7 mm corner gusset."], "text": "L-bracket: base leg 36.98 mm, vertical leg 37.3 mm, 60 mm wide, 4 mm thick; 2 \u00d7 \u00d86.4 mm holes per leg; 4.7 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 36.98, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 37.3, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 60.0, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 4.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 2, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 4.7, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329070 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 36.98, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 37.3, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 60.0, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 2, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 4.7, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9daf_0507", "family": "plate", "tier": 2, "seed": 1177329071, "symmetry": "none", "op_count": 3, "ir_hash": "d445fedf0448b4f7", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 6620.0, "surface_area": 2890.0, "principal_moments": [194000.0, 938000.0, 972000.0], "n_faces": 14, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 40 \u00d7 14.6 \u00d7 12 mm (W\u00d7D\u00d7H).", "Four \u00d83.2 mm holes at the corners, 28 \u00d7 10.22 mm spacing.", "Fillet radius 0.328 mm on vertical edges."], "text": "Rectangular body, 40 \u00d7 14.6 \u00d7 12 mm (W\u00d7D\u00d7H). Four \u00d83.2 mm holes at the corners, 28 \u00d7 10.22 mm spacing. Fillet radius 0.328 mm on vertical edges."}, "params": {"plate_w": {"type": "float", "default": 40, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 14.6, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 3.3, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329071 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 40, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 14.6, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 3.3, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"plate_w\"], p[\"plate_d\"]) * 0.02243497524866582)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9db0_0508", "family": "plate", "tier": 2, "seed": 1177329072, "symmetry": "none", "op_count": 3, "ir_hash": "eb107ed24ad79d95", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 20600.0, "surface_area": 6800.0, "principal_moments": [2260000.0, 6320000.0, 8230000.0], "n_faces": 18, "n_edges": 48, "n_vertices": 32}, "dimensions": {"lines": ["Rectangular body, 60 \u00d7 35.4 \u00d7 10 mm (W\u00d7D\u00d7H).", "Eight \u00d83.2 mm holes in a 4\u00d72 grid, 16 \u00d7 28.3 mm pitch.", "Fillet radius 1.433 mm on vertical edges."], "text": "Rectangular body, 60 \u00d7 35.4 \u00d7 10 mm (W\u00d7D\u00d7H). Eight \u00d83.2 mm holes in a 4\u00d72 grid, 16 \u00d7 28.3 mm pitch. Fillet radius 1.433 mm on vertical edges."}, "params": {"plate_w": {"type": "float", "default": 60, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 35.4, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 4.2, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 4, "min": 1, "max": 4, "step": 1, "group": "Holes", "label": "Holes across"}, "hole_ny": {"type": "int", "default": 2, "min": 1, "max": 4, "step": 1, "group": "Holes", "label": "Holes deep"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329072 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 60, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 35.4, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 4.2, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 4, \"min\": 1, \"max\": 4, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes across'},\n    \"hole_ny\": {\"type\": 'int', \"default\": 2, \"min\": 1, \"max\": 4, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes deep'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(16.0, 28.3, p[\"hole_nx\"], p[\"hole_ny\"])\n        .hole(p[\"hole_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"plate_w\"], p[\"plate_d\"]) * 0.040473034044975174)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462c9db1_0509", "family": "block", "tier": 1, "seed": 1177329073, "symmetry": "none", "op_count": 2, "ir_hash": "6159f398d4debf90", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 7080.0, "surface_area": 3100.0, "principal_moments": [394000.0, 475000.0, 650000.0], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["Rectangular body, 21.86 \u00d7 13.5 \u00d7 24.9 mm (W\u00d7D\u00d7H).", "Seven \u00d81.4 mm holes in two staggered rows, 5.5 \u00d7 5.8 mm pitch."], "text": "Rectangular body, 21.86 \u00d7 13.5 \u00d7 24.9 mm (W\u00d7D\u00d7H). Seven \u00d81.4 mm holes in two staggered rows, 5.5 \u00d7 5.8 mm pitch."}, "params": {"block_w": {"type": "float", "default": 21.86, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 13.5, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 24.9, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 1.4, "min": 2.0, "max": 1.4, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 4, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329073 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 21.86, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 13.5, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 24.9, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 1.4, \"min\": 2.0, \"max\": 1.4, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 4, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 5.5\n    _ssy = 5.8\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462c9db2_0510", "family": "flanged", "tier": 1, "seed": 1177329074, "symmetry": "none", "op_count": 2, "ir_hash": "a578c62580e8de31", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 12400.0, "surface_area": 6830.0, "principal_moments": [1970000.0, 1970000.0, 3120000.0], "n_faces": 13, "n_edges": 42, "n_vertices": 28}, "dimensions": {"lines": ["Revolved body, \u00d830 mm \u00d7 19 mm tall with \u00d815.8 mm bore, \u00d851.1 mm \u00d7 3.7 mm flange.", "Four \u00d88.4 mm holes on a \u00d830.6 mm bolt circle."], "text": "Revolved body, \u00d830 mm \u00d7 19 mm tall with \u00d815.8 mm bore, \u00d851.1 mm \u00d7 3.7 mm flange. Four \u00d88.4 mm holes on a \u00d830.6 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 30, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 19.0, "min": 5.7, "max": 47.5, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 15.8, "min": 2.0, "max": 21.0, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 51.1, "min": 39.0, "max": 90.0, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 3.7, "min": 1.1, "max": 7.6, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 8.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 15.3, "min": 10.2, "max": 23.0, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 4, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329074 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 30, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 19.0, \"min\": 5.7, \"max\": 47.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 15.8, \"min\": 2.0, \"max\": 21.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 51.1, \"min\": 39.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 3.7, \"min\": 1.1, \"max\": 7.6, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 15.3, \"min\": 10.2, \"max\": 23.0, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 4, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462c9db3_0511", "family": "block", "tier": 1, "seed": 1177329075, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "1f8f6b09b968aa23", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 3970.0, "surface_area": 2190.0, "principal_moments": [156000.0, 178000.0, 246000.0], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["Rectangular body, 20 \u00d7 11.4 \u00d7 18.4 mm (W\u00d7D\u00d7H).", "Seven \u00d81.5 mm holes in two staggered rows, 5 \u00d7 5.5 mm pitch."], "text": "Rectangular body, 20 \u00d7 11.4 \u00d7 18.4 mm (W\u00d7D\u00d7H). Seven \u00d81.5 mm holes in two staggered rows, 5 \u00d7 5.5 mm pitch."}, "params": {"block_w": {"type": "float", "default": 20, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 11.4, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 18.4, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 1.5, "min": 2.0, "max": 1.1, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 4, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329075 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 20, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 11.4, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 18.4, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 1.5, \"min\": 2.0, \"max\": 1.1, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 4, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 5.0\n    _ssy = 5.5\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9db4_0512", "family": "plate", "tier": 1, "seed": 1177329076, "symmetry": "radial", "op_count": 2, "ir_hash": "fb6c66764b6bd679", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 45300.0, "surface_area": 12900.0, "principal_moments": [8360000.0, 40900000.0, 48599999.99999999], "n_faces": 16, "n_edges": 42, "n_vertices": 28}, "dimensions": {"lines": ["Rectangular body, 102.97 \u00d7 46.6 \u00d7 10 mm (W\u00d7D\u00d7H).", "Eight \u00d88.4 mm holes on a \u00d861.8 mm bolt circle."], "text": "Rectangular body, 102.97 \u00d7 46.6 \u00d7 10 mm (W\u00d7D\u00d7H). Eight \u00d88.4 mm holes on a \u00d861.8 mm bolt circle."}, "params": {"plate_w": {"type": "float", "default": 102.97, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 46.6, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "bolt_d": {"type": "float", "default": 8.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 30.9, "min": 20.6, "max": 46.3, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 8, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329076 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 102.97, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 46.6, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 30.9, \"min\": 20.6, \"max\": 46.3, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462c9db5_0513", "family": "sketched", "tier": 0, "seed": 1177329077, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "2dde8a83e12d4987", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 17000.0, "surface_area": 4500.0, "principal_moments": [1640000.0, 2800000.0, 4020000.0], "n_faces": 8, "n_edges": 17, "n_vertices": 11}, "dimensions": {"lines": ["freeform sketched section (5 segments: 1 straight, 4 arcs), ~46.038 \u00d7 41.135 mm, extruded 12.12 mm thick with a 2.6\u00b0 draft."], "text": "freeform sketched section (5 segments: 1 straight, 4 arcs), ~46.038 \u00d7 41.135 mm, extruded 12.12 mm thick with a 2.6\u00b0 draft."}, "params": {"sk_w": {"type": "float", "default": 60, "min": 30.0, "max": 108.0, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 50, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "sk_t": {"type": "float", "default": 12.12, "min": 4.8, "max": 26.7, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "sk_draft": {"type": "float", "default": 2.6, "min": 0.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Draft angle (deg)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329077 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 60, \"min\": 30.0, \"max\": 108.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 50, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"sk_t\": {\"type\": 'float', \"default\": 12.12, \"min\": 4.8, \"max\": 26.7, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"sk_draft\": {\"type\": 'float', \"default\": 2.6, \"min\": 0.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Draft angle (deg)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.4349, p[\"sk_h\"] * -0.139).threePointArc((p[\"sk_w\"] * 0.274, p[\"sk_h\"] * 0.1281), (p[\"sk_w\"] * 0.0241, p[\"sk_h\"] * 0.3514)).threePointArc((p[\"sk_w\"] * -0.1486, p[\"sk_h\"] * 0.3737), (p[\"sk_w\"] * -0.3014, p[\"sk_h\"] * 0.3407)).threePointArc((p[\"sk_w\"] * -0.3945, p[\"sk_h\"] * 0.1297), (p[\"sk_w\"] * -0.3324, p[\"sk_h\"] * -0.1381)).threePointArc((p[\"sk_w\"] * -0.1323, p[\"sk_h\"] * -0.3958), (p[\"sk_w\"] * 0.1258, p[\"sk_h\"] * -0.4713)).lineTo(p[\"sk_w\"] * 0.4349, p[\"sk_h\"] * -0.139).close().extrude(p[\"sk_t\"], taper=p[\"sk_draft\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462c9db6_0514", "family": "enclosure", "tier": 1, "seed": 1177329078, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "e8c54da1a226f035", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 56700.0, "surface_area": 37400.0, "principal_moments": [37400000.0, 68700000.0, 73000000.0], "n_faces": 11, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 88.09 \u00d7 43.9 \u00d7 60.4 mm (W\u00d7D\u00d7H).", "Hollowed to 3.1 mm wall thickness, open at top face."], "text": "Rectangular body, 88.09 \u00d7 43.9 \u00d7 60.4 mm (W\u00d7D\u00d7H). Hollowed to 3.1 mm wall thickness, open at top face."}, "params": {"enc_w": {"type": "float", "default": 88.09, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 43.9, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 60.4, "min": 24.2, "max": 120.8, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 3.1, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329078 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 88.09, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 43.9, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 60.4, \"min\": 24.2, \"max\": 120.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 3.1, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462c9db7_0515", "family": "bracket", "tier": 2, "seed": 1177329079, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "8e57d56f559ab09c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 21400.0, "surface_area": 10400.0, "principal_moments": [4870000.0, 19100000.0, 21400000.0], "n_faces": 14, "n_edges": 37, "n_vertices": 24}, "dimensions": {"lines": ["L-bracket: base leg 85 mm, vertical leg 61.3 mm, 27.68 mm wide, 5 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg; 4.8 mm corner gusset."], "text": "L-bracket: base leg 85 mm, vertical leg 61.3 mm, 27.68 mm wide, 5 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg; 4.8 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 85, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 61.3, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 27.68, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 5.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 4.8, "min": 2.5, "max": 13.8, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329079 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 85, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 61.3, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 27.68, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 4.8, \"min\": 2.5, \"max\": 13.8, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462c9db8_0516", "family": "revolved", "tier": 2, "seed": 1177329080, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "2e25077c8bafac02", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 34500.0, "surface_area": 9040.0, "principal_moments": [7370000.0, 7370000.0, 9850000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d843.63 mm \u00d7 34.6 mm tall."], "text": "Revolved body, \u00d843.63 mm \u00d7 34.6 mm tall."}, "params": {"outer_d": {"type": "float", "default": 43.63, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 34.6, "min": 10.4, "max": 103.8, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329080 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 43.63, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 34.6, \"min\": 10.4, \"max\": 103.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462c9db9_0517", "family": "gear", "tier": 1, "seed": 1177329081, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "670d4ce64979f3b8", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 7090.0, "surface_area": 4100.0, "principal_moments": [795000.0, 795000.0, 1550000.0], "n_faces": 201, "n_edges": 597, "n_vertices": 398}, "dimensions": {"lines": ["Spur gear, module 1.25 mm, 33 teeth (pitch \u00d841.25 mm), face width 5.5 mm, \u00d86.7 mm bore."], "text": "Spur gear, module 1.25 mm, 33 teeth (pitch \u00d841.25 mm), face width 5.5 mm, \u00d86.7 mm bore."}, "params": {"module": {"type": "float", "default": 1.25, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 33, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 5.5, "min": 2.2, "max": 13.8, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "bore_d": {"type": "float", "default": 6.7, "min": 2.0, "max": 22.9, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329081 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 1.25, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 33, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 5.5, \"min\": 2.2, \"max\": 13.8, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 6.7, \"min\": 2.0, \"max\": 22.9, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462c9dba_0518", "family": "flanged", "tier": 2, "seed": 1177329082, "symmetry": "none", "op_count": 2, "ir_hash": "a92a24f10edfa70c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 46200.0, "surface_area": 15500.0, "principal_moments": [14099999.999999998, 18800000.0, 18800000.0], "n_faces": 18, "n_edges": 45, "n_vertices": 30}, "dimensions": {"lines": ["Revolved body, \u00d834.27 mm \u00d7 50.3 mm tall with \u00d815.8 mm bore, \u00d868.4 mm \u00d7 4.1 mm flange.", "Twelve \u00d86.4 mm holes on a \u00d841 mm bolt circle."], "text": "Revolved body, \u00d834.27 mm \u00d7 50.3 mm tall with \u00d815.8 mm bore, \u00d868.4 mm \u00d7 4.1 mm flange. Twelve \u00d86.4 mm holes on a \u00d841 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 34.27, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 50.3, "min": 15.1, "max": 125.8, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 15.8, "min": 2.0, "max": 24.0, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 68.4, "min": 44.6, "max": 102.8, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 4.1, "min": 1.2, "max": 20.1, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 20.5, "min": 13.7, "max": 30.8, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 12, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329082 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 34.27, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 50.3, \"min\": 15.1, \"max\": 125.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 15.8, \"min\": 2.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 68.4, \"min\": 44.6, \"max\": 102.8, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 4.1, \"min\": 1.2, \"max\": 20.1, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 20.5, \"min\": 13.7, \"max\": 30.8, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 12, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9dbb_0519", "family": "plate", "tier": 0, "seed": 1177329083, "symmetry": "none", "op_count": 1, "ir_hash": "eadc1aa9ecac851b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 51500.0, "surface_area": 12200.0, "principal_moments": [7140000.0, 52499999.99999999, 58399999.99999999], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 110 \u00d7 39 \u00d7 12 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 110 \u00d7 39 \u00d7 12 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 110, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 39.0, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329083 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 110, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 39.0, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462c9dbc_0520", "family": "revolved", "tier": 1, "seed": 1177329084, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "746c9e274cd74feb", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 133000.0, "surface_area": 31000.0, "principal_moments": [31899999.999999996, 215000000.0, 215000000.0], "n_faces": 5, "n_edges": 8, "n_vertices": 5}, "dimensions": {"lines": ["Revolved body, \u00d840 mm \u00d7 158.8 mm tall.", "Chamfer 0.8 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d840 mm \u00d7 158.8 mm tall. Chamfer 0.8 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 40, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 158.8, "min": 47.6, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "end_chamfer": {"type": "float", "default": 0.8, "min": 0.1, "max": 2.4, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329084 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 40, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 158.8, \"min\": 47.6, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.8, \"min\": 0.1, \"max\": 2.4, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462c9dbd_0521", "family": "gear", "tier": 0, "seed": 1177329085, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "9f5da3edc93a0ba9", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 103000.0, "surface_area": 22900.0, "principal_moments": [61099999.99999999, 61099999.99999999, 119000000.0], "n_faces": 194, "n_edges": 576, "n_vertices": 384}, "dimensions": {"lines": ["Spur gear, module 3 mm, 32 teeth (pitch \u00d896 mm), face width 14.3 mm."], "text": "Spur gear, module 3 mm, 32 teeth (pitch \u00d896 mm), face width 14.3 mm."}, "params": {"module": {"type": "float", "default": 3.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 32, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 14.3, "min": 5.7, "max": 35.8, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329085 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 3.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 32, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 14.3, \"min\": 5.7, \"max\": 35.8, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462c9dbe_0522", "family": "enclosure", "tier": 3, "seed": 1177329086, "symmetry": "none", "op_count": 3, "ir_hash": "12d0f96910ab88f4", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 128000.0, "surface_area": 48000.0, "principal_moments": [129000000.0, 175000000.0, 178000000.0], "n_faces": 19, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 85 \u00d7 60.5 \u00d7 72.3 mm (W\u00d7D\u00d7H).", "Hollowed to 5.8 mm wall thickness, open at top face.", "Four \u00d810.5 mm holes at the corners, 59.5 \u00d7 42.35 mm spacing."], "text": "Rectangular body, 85 \u00d7 60.5 \u00d7 72.3 mm (W\u00d7D\u00d7H). Hollowed to 5.8 mm wall thickness, open at top face. Four \u00d810.5 mm holes at the corners, 59.5 \u00d7 42.35 mm spacing."}, "params": {"enc_w": {"type": "float", "default": 85, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 60.5, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 72.3, "min": 28.9, "max": 144.6, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 5.8, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}, "hole_d": {"type": "float", "default": 10.5, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329086 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 85, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 60.5, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 72.3, \"min\": 28.9, \"max\": 144.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 5.8, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 10.5, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"enc_w\"] * 0.7, p[\"enc_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462c9dbf_0523", "family": "enclosure", "tier": 2, "seed": 1177329087, "symmetry": "none", "op_count": 4, "ir_hash": "7feb6a3bd1819310", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 36600.0, "surface_area": 22100.0, "principal_moments": [16800000.0, 28099999.999999996, 36600000.0], "n_faces": 23, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 74.77 \u00d7 51.2 \u00d7 33.6 mm (W\u00d7D\u00d7H).", "Hollowed to 3.4 mm wall thickness, open at top face.", "Four \u00d88.4 mm holes at the corners, 52.339 \u00d7 35.84 mm spacing.", "Fillet radius 6.103 mm on vertical edges."], "text": "Rectangular body, 74.77 \u00d7 51.2 \u00d7 33.6 mm (W\u00d7D\u00d7H). Hollowed to 3.4 mm wall thickness, open at top face. Four \u00d88.4 mm holes at the corners, 52.339 \u00d7 35.84 mm spacing. Fillet radius 6.103 mm on vertical edges."}, "params": {"enc_w": {"type": "float", "default": 74.77, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 51.2, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 33.6, "min": 13.4, "max": 67.2, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 3.4, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}, "hole_d": {"type": "float", "default": 8.4, "min": 2.0, "max": 11.5, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329087 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 74.77, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 51.2, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 33.6, \"min\": 13.4, \"max\": 67.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 3.4, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 2.0, \"max\": 11.5, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"enc_w\"] * 0.7, p[\"enc_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"enc_w\"], p[\"enc_d\"]) * 0.11920168682682947)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462c9dc0_0524", "family": "bracket", "tier": 1, "seed": 1177329088, "symmetry": "none", "op_count": 1, "ir_hash": "3e71b286424dfcea", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 8150.0, "surface_area": 5240.0, "principal_moments": [726000.0, 4030000.0, 4200000.0], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Z-bracket: base leg 43.55 mm, vertical leg 37.2 mm, top leg 32.4 mm, 20 mm wide, 4 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."], "text": "Z-bracket: base leg 43.55 mm, vertical leg 37.2 mm, top leg 32.4 mm, 20 mm wide, 4 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 43.55, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 37.2, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 20, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 4.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 32.4, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 8.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329088 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 43.55, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 37.2, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 20, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 32.4, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 8.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462c9dc1_0525", "family": "lofted", "tier": 1, "seed": 1177329089, "symmetry": "none", "op_count": 2, "ir_hash": "f4c6b75be444b5a3", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 88500.0, "surface_area": 15400.0, "principal_moments": [30099999.999999996, 38300000.0, 38300000.0], "n_faces": 9, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["Lofted body through 2 sections: 6-sided polygon section, 67.35 mm across corners \u2192 \u00d826.9 mm circular section.", "One \u00d815.4 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 2 sections: 6-sided polygon section, 67.35 mm across corners \u2192 \u00d826.9 mm circular section. One \u00d815.4 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 67.35, "min": 33.7, "max": 107.8, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 26.9, "min": 10.8, "max": 80.8, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 62.4, "min": 25.0, "max": 124.8, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_bore_d": {"type": "float", "default": 15.4, "min": 2.0, "max": 21.5, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329089 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 67.35, \"min\": 33.7, \"max\": 107.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 26.9, \"min\": 10.8, \"max\": 80.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 62.4, \"min\": 25.0, \"max\": 124.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 15.4, \"min\": 2.0, \"max\": 21.5, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .polygon(6, p[\"loft_base\"] * 0.5 * 2)\n        .workplane(offset=p[\"loft_h\"])\n        .circle(p[\"loft_top\"] / 2)\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462c9dc2_0526", "family": "profiled", "tier": 0, "seed": 1177329090, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "73a1a311a4c73cef", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 124000.0, "surface_area": 23900.0, "principal_moments": [14699999.999999998, 420000000.0, 420000000.0], "n_faces": 5, "n_edges": 9, "n_vertices": 6}, "dimensions": {"lines": ["3-sided polygon section, 43.64 mm across corners, extruded 200 mm thick."], "text": "3-sided polygon section, 43.64 mm across corners, extruded 200 mm thick."}, "params": {"circ_r": {"type": "float", "default": 21.82, "min": 10.9, "max": 43.6, "step": 1.0, "group": "Profile", "label": "Circumscribed radius (mm)"}, "n_sides": {"type": "int", "default": 3, "min": 3, "max": 8, "step": 1, "group": "Profile", "label": "Sides"}, "length": {"type": "float", "default": 200.0, "min": 60.0, "max": 600.0, "step": 5.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329090 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"circ_r\": {\"type\": 'float', \"default\": 21.82, \"min\": 10.9, \"max\": 43.6, \"step\": 1.0, \"group\": 'Profile', \"label\": 'Circumscribed radius (mm)'},\n    \"n_sides\": {\"type\": 'int', \"default\": 3, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Profile', \"label\": 'Sides'},\n    \"length\": {\"type\": 'float', \"default\": 200.0, \"min\": 60.0, \"max\": 600.0, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').polygon(p[\"n_sides\"], p[\"circ_r\"] * 2).extrude(p[\"length\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462c9dc3_0527", "family": "sketched", "tier": 1, "seed": 1177329091, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "d20282f67c3cd2d3", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 14200.0, "surface_area": 6000.0, "principal_moments": [2820000.0, 3050000.0, 5790000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["freeform sketched section (7 segments: 3 straight, 3 arcs, 1 curve), ~55.62 \u00d7 61.153 mm, extruded 6 mm thick.", "One \u00d88.4 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "freeform sketched section (7 segments: 3 straight, 3 arcs, 1 curve), ~55.62 \u00d7 61.153 mm, extruded 6 mm thick. One \u00d88.4 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"sk_w": {"type": "float", "default": 75, "min": 37.5, "max": 135.0, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 69.39, "min": 34.7, "max": 124.9, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "sk_t": {"type": "float", "default": 6.0, "min": 2.4, "max": 13.2, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "sk_hole_d": {"type": "float", "default": 8.4, "min": 2.0, "max": 16.8, "step": 0.5, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329091 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 75, \"min\": 37.5, \"max\": 135.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 69.39, \"min\": 34.7, \"max\": 124.9, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"sk_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.4, \"max\": 13.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"sk_hole_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 2.0, \"max\": 16.8, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.4089, p[\"sk_h\"] * 0.0935).lineTo(p[\"sk_w\"] * 0.296, p[\"sk_h\"] * 0.3328).lineTo(p[\"sk_w\"] * -0.2396, p[\"sk_h\"] * 0.4223).threePointArc((p[\"sk_w\"] * -0.295, p[\"sk_h\"] * 0.3655), (p[\"sk_w\"] * -0.3185, p[\"sk_h\"] * 0.2718)).lineTo(p[\"sk_w\"] * -0.3327, p[\"sk_h\"] * -0.0743).threePointArc((p[\"sk_w\"] * -0.2077, p[\"sk_h\"] * -0.3015), (p[\"sk_w\"] * -0.0427, p[\"sk_h\"] * -0.459)).spline([(p[\"sk_w\"] * -0.0427, p[\"sk_h\"] * -0.459), (p[\"sk_w\"] * 0.0566, p[\"sk_h\"] * -0.3949), (p[\"sk_w\"] * 0.1403, p[\"sk_h\"] * -0.3114)]).threePointArc((p[\"sk_w\"] * 0.3206, p[\"sk_h\"] * -0.1327), (p[\"sk_w\"] * 0.4089, p[\"sk_h\"] * 0.0935)).close().extrude(p[\"sk_t\"]))\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"sk_hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462c9dc4_0528", "family": "block", "tier": 1, "seed": 1177329092, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "e52582b157d33f7e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 153000.0, "surface_area": 23100.0, "principal_moments": [61699999.99999999, 84500000.0, 113000000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 60 \u00d7 36.5 \u00d7 72.9 mm (W\u00d7D\u00d7H).", "Four \u00d85.3 mm holes at the corners, 42 \u00d7 25.55 mm spacing."], "text": "Rectangular body, 60 \u00d7 36.5 \u00d7 72.9 mm (W\u00d7D\u00d7H). Four \u00d85.3 mm holes at the corners, 42 \u00d7 25.55 mm spacing."}, "params": {"block_w": {"type": "float", "default": 60, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 36.5, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 72.9, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 8.2, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329092 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 60, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 36.5, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 72.9, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 8.2, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9dc5_0529", "family": "plate", "tier": 0, "seed": 1177329093, "symmetry": "radial", "op_count": 1, "ir_hash": "a9215bb8e61811cc", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 5360.0, "surface_area": 2210.0, "principal_moments": [191000.0, 577000.0, 712000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 35.06 \u00d7 19.1 \u00d7 8 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 35.06 \u00d7 19.1 \u00d7 8 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 35.06, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 19.1, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329093 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 35.06, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 19.1, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9dc6_0530", "family": "plate", "tier": 2, "seed": 1177329094, "symmetry": "none", "op_count": 2, "ir_hash": "cddeb93ebfcdfb40", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 29200.0, "surface_area": 9160.0, "principal_moments": [2800000.0, 21100000.0, 23499999.999999996], "n_faces": 14, "n_edges": 44, "n_vertices": 28}, "dimensions": {"lines": ["Rectangular body, 94.17 \u00d7 33 \u00d7 10 mm (W\u00d7D\u00d7H).", "Four \u00d86.4 mm countersunk holes (82\u00b0) at the corners, 65.919 \u00d7 23.1 mm spacing."], "text": "Rectangular body, 94.17 \u00d7 33 \u00d7 10 mm (W\u00d7D\u00d7H). Four \u00d86.4 mm countersunk holes (82\u00b0) at the corners, 65.919 \u00d7 23.1 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 94.17, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 33.0, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 7.4, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "cs_angle": {"type": "float", "default": 82.0, "min": 60.0, "max": 120.0, "step": 15.0, "group": "Holes", "label": "Countersink angle (\u00b0)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329094 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 94.17, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 33.0, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 7.4, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"cs_angle\": {\"type\": 'float', \"default\": 82.0, \"min\": 60.0, \"max\": 120.0, \"step\": 15.0, \"group\": 'Holes', \"label\": 'Countersink angle (\u00b0)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().cskHole(p[\"hole_d\"], p[\"hole_d\"] * 2, p[\"cs_angle\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462c9dc7_0531", "family": "flanged", "tier": 2, "seed": 1177329095, "symmetry": "radial", "op_count": 3, "ir_hash": "3f606d705d0c894e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 287000.0, "surface_area": 49300.0, "principal_moments": [318000000.0, 318000000.0, 420000000.0], "n_faces": 56, "n_edges": 148, "n_vertices": 87}, "dimensions": {"lines": ["Revolved body, \u00d875 mm \u00d7 63.1 mm tall with \u00d838.9 mm bore, \u00d8127 mm \u00d7 11.1 mm flange.", "Eight \u00d86.4 mm holes on a \u00d876.2 mm bolt circle.", "Chamfer 0.5 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d875 mm \u00d7 63.1 mm tall with \u00d838.9 mm bore, \u00d8127 mm \u00d7 11.1 mm flange. Eight \u00d86.4 mm holes on a \u00d876.2 mm bolt circle. Chamfer 0.5 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 75, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 63.1, "min": 18.9, "max": 157.8, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 38.9, "min": 2.0, "max": 52.5, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 127.0, "min": 97.5, "max": 225.0, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 11.1, "min": 3.3, "max": 25.2, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 38.1, "min": 25.4, "max": 57.1, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 8, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}, "end_chamfer": {"type": "float", "default": 0.5, "min": 0.1, "max": 2.0, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329095 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 75, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 63.1, \"min\": 18.9, \"max\": 157.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 38.9, \"min\": 2.0, \"max\": 52.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 127.0, \"min\": 97.5, \"max\": 225.0, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 11.1, \"min\": 3.3, \"max\": 25.2, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 38.1, \"min\": 25.4, \"max\": 57.1, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.5, \"min\": 0.1, \"max\": 2.0, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462c9dc8_0532", "family": "profiled", "tier": 1, "seed": 1177329096, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "9393c030a53ade47", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 101000.0, "surface_area": 19100.0, "principal_moments": [11499999.999999998, 335000000.0, 343000000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["36.83 \u00d7 15 mm slot section, extruded 199.5 mm thick."], "text": "36.83 \u00d7 15 mm slot section, extruded 199.5 mm thick."}, "params": {"slot_len": {"type": "float", "default": 36.83, "min": 18.4, "max": 73.7, "step": 1.0, "group": "Profile", "label": "Slot length (mm)"}, "slot_w": {"type": "float", "default": 15, "min": 7.5, "max": 30.0, "step": 0.5, "group": "Profile", "label": "Slot width (mm)"}, "length": {"type": "float", "default": 199.5, "min": 59.8, "max": 598.5, "step": 5.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329096 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"slot_len\": {\"type\": 'float', \"default\": 36.83, \"min\": 18.4, \"max\": 73.7, \"step\": 1.0, \"group\": 'Profile', \"label\": 'Slot length (mm)'},\n    \"slot_w\": {\"type\": 'float', \"default\": 15, \"min\": 7.5, \"max\": 30.0, \"step\": 0.5, \"group\": 'Profile', \"label\": 'Slot width (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 199.5, \"min\": 59.8, \"max\": 598.5, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').slot2D(p[\"slot_len\"], p[\"slot_w\"]).extrude(p[\"length\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462c9dc9_0533", "family": "enclosure", "tier": 2, "seed": 1177329097, "symmetry": "none", "op_count": 3, "ir_hash": "68db1a209ee5b0e8", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 66100.0, "surface_area": 34400.0, "principal_moments": [51999999.99999999, 65899999.99999999, 91199999.99999999], "n_faces": 15, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 80 \u00d7 66.6 \u00d7 44.6 mm (W\u00d7D\u00d7H).", "Hollowed to 4 mm wall thickness, open at top face.", "Four \u00d84.3 mm holes at the corners, 56 \u00d7 46.62 mm spacing."], "text": "Rectangular body, 80 \u00d7 66.6 \u00d7 44.6 mm (W\u00d7D\u00d7H). Hollowed to 4 mm wall thickness, open at top face. Four \u00d84.3 mm holes at the corners, 56 \u00d7 46.62 mm spacing."}, "params": {"enc_w": {"type": "float", "default": 80, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 66.6, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 44.6, "min": 17.8, "max": 89.2, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 4.0, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329097 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 80, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 66.6, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 44.6, \"min\": 17.8, \"max\": 89.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"enc_w\"] * 0.7, p[\"enc_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9dca_0534", "family": "plate", "tier": 2, "seed": 1177329098, "symmetry": "mirror_xy", "op_count": 3, "ir_hash": "35c41f9d9528f25b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 4920.0, "surface_area": 3030.0, "principal_moments": [397000.0, 479000.0, 855000.0], "n_faces": 14, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 35 \u00d7 31.8 \u00d7 5 mm (W\u00d7D\u00d7H).", "Four \u00d86.4 mm holes at the corners, 24.5 \u00d7 22.26 mm spacing.", "Chamfer 0.7 mm on vertical edges."], "text": "Rectangular body, 35 \u00d7 31.8 \u00d7 5 mm (W\u00d7D\u00d7H). Four \u00d86.4 mm holes at the corners, 24.5 \u00d7 22.26 mm spacing. Chamfer 0.7 mm on vertical edges."}, "params": {"plate_w": {"type": "float", "default": 35, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 31.8, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 5.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 7.2, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "chamfer_d": {"type": "float", "default": 0.7, "min": 0.7, "max": 1.2, "step": 0.5, "group": "Body", "label": "Chamfer distance (mm)"}, "chamfered": {"type": "bool", "default": true, "group": "Body", "label": "Chamfer edges"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329098 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 35, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 31.8, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 5.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 7.2, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"chamfer_d\": {\"type\": 'float', \"default\": 0.7, \"min\": 0.7, \"max\": 1.2, \"step\": 0.5, \"group\": 'Body', \"label\": 'Chamfer distance (mm)'},\n    \"chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Chamfer edges'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"chamfered\"]:\n        result = result.edges('|Z').chamfer(p[\"chamfer_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462c9dcb_0535", "family": "bracket", "tier": 1, "seed": 1177329099, "symmetry": "none", "op_count": 1, "ir_hash": "624f165f1186eb72", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 23700.0, "surface_area": 11900.0, "principal_moments": [12999999.999999998, 18200000.0, 28799999.999999996], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["C-channel bracket: base leg 65 mm, vertical leg 69 mm, 24.88 mm wide, 5 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."], "text": "C-channel bracket: base leg 65 mm, vertical leg 69 mm, 24.88 mm wide, 5 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 65, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 69.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 24.88, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 5.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329099 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 65, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 69.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 24.88, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462c9dcc_0536", "family": "bracket", "tier": 2, "seed": 1177329100, "symmetry": "none", "op_count": 1, "ir_hash": "b3e885ede471d2ab", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 9700.0, "surface_area": 4200.0, "principal_moments": [584000.0, 2940000.0, 3160000.0], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Z-bracket: base leg 33.75 mm, vertical leg 35.8 mm, top leg 29.2 mm, 15 mm wide, 8 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg; 8.9 mm corner gusset."], "text": "Z-bracket: base leg 33.75 mm, vertical leg 35.8 mm, top leg 29.2 mm, 15 mm wide, 8 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg; 8.9 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 33.75, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 35.8, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 15.0, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 8.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 29.2, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 6.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}, "gusset_t": {"type": "float", "default": 8.9, "min": 4.0, "max": 7.5, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329100 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 33.75, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 35.8, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 15.0, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 29.2, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 6.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 8.9, \"min\": 4.0, \"max\": 7.5, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _tl, _vl) * 0.4 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(0, _vl - _bt).lineTo(-_g, _vl - _bt)\n                    .lineTo(0, _vl - _bt - _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462c9dcd_0537", "family": "compound", "tier": 1, "seed": 1177329101, "symmetry": "none", "op_count": 2, "ir_hash": "286b78aa43f31059", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 53700.0, "surface_area": 9400.0, "principal_moments": [11000000.0, 13399999.999999998, 16199999.999999998], "n_faces": 14, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["Rectangular body, 45 \u00d7 30.4 \u00d7 39.2 mm (W\u00d7D\u00d7H).", "6-sided polygon section, 7.8 mm across corners attachment, 11.6 mm long, from right face with a \u00d82.8 mm bore."], "text": "Rectangular body, 45 \u00d7 30.4 \u00d7 39.2 mm (W\u00d7D\u00d7H). 6-sided polygon section, 7.8 mm across corners attachment, 11.6 mm long, from right face with a \u00d82.8 mm bore."}, "params": {"block_w": {"type": "float", "default": 45, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 30.4, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 39.2, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "spig_sides": {"type": "int", "default": 6, "min": 3, "max": 8, "step": 1, "group": "Spigot", "label": "Spigot sides"}, "spig_r": {"type": "float", "default": 3.9, "min": 1.9, "max": 10.7, "step": 1.0, "group": "Spigot", "label": "Spigot circumradius (mm)"}, "spig_len": {"type": "float", "default": 11.6, "min": 2.0, "max": 27.0, "step": 1.0, "group": "Spigot", "label": "Spigot length (mm)"}, "spig_bore": {"type": "float", "default": 2.8, "min": 2.0, "max": 4.9, "step": 0.5, "group": "Spigot", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329101 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 45, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 30.4, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 39.2, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"spig_sides\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Spigot', \"label\": 'Spigot sides'},\n    \"spig_r\": {\"type\": 'float', \"default\": 3.9, \"min\": 1.9, \"max\": 10.7, \"step\": 1.0, \"group\": 'Spigot', \"label\": 'Spigot circumradius (mm)'},\n    \"spig_len\": {\"type\": 'float', \"default\": 11.6, \"min\": 2.0, \"max\": 27.0, \"step\": 1.0, \"group\": 'Spigot', \"label\": 'Spigot length (mm)'},\n    \"spig_bore\": {\"type\": 'float', \"default\": 2.8, \"min\": 2.0, \"max\": 4.9, \"step\": 0.5, \"group\": 'Spigot', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"spig_sides\"], p[\"spig_r\"] * 2).extrude(p[\"spig_len\"])\n    )\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"spig_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462c9dce_0538", "family": "flanged", "tier": 1, "seed": 1177329102, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "ab841bd0da9b7667", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 19300.0, "surface_area": 9160.0, "principal_moments": [4370000.0, 4370000.0, 4820000.0], "n_faces": 18, "n_edges": 45, "n_vertices": 30}, "dimensions": {"lines": ["Revolved body, \u00d825.09 mm \u00d7 31.9 mm tall with \u00d89.9 mm bore, \u00d859.5 mm \u00d7 3.7 mm flange.", "Twelve \u00d88.4 mm holes on a \u00d835.6 mm bolt circle."], "text": "Revolved body, \u00d825.09 mm \u00d7 31.9 mm tall with \u00d89.9 mm bore, \u00d859.5 mm \u00d7 3.7 mm flange. Twelve \u00d88.4 mm holes on a \u00d835.6 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 25.09, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 31.9, "min": 9.6, "max": 79.8, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 9.9, "min": 2.0, "max": 17.6, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 59.5, "min": 32.6, "max": 75.3, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 3.7, "min": 1.1, "max": 12.8, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 8.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 17.8, "min": 11.9, "max": 26.8, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 12, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329102 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 25.09, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 31.9, \"min\": 9.6, \"max\": 79.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 9.9, \"min\": 2.0, \"max\": 17.6, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 59.5, \"min\": 32.6, \"max\": 75.3, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 3.7, \"min\": 1.1, \"max\": 12.8, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 17.8, \"min\": 11.9, \"max\": 26.8, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 12, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462c9dcf_0539", "family": "compound", "tier": 1, "seed": 1177329103, "symmetry": "none", "op_count": 2, "ir_hash": "200e770b5677af94", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 22000.0, "surface_area": 6820.0, "principal_moments": [3730000.0, 3960000.0, 4150000.0], "n_faces": 10, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["5-sided polygon section, 48.56 mm across corners, extruded 10.5 mm thick.", "\u00d822.7 mm circular section attachment, 23.5 mm long, from top face with a \u00d89.1 mm bore."], "text": "5-sided polygon section, 48.56 mm across corners, extruded 10.5 mm thick. \u00d822.7 mm circular section attachment, 23.5 mm long, from top face with a \u00d89.1 mm bore."}, "params": {"base_sides": {"type": "int", "default": 5, "min": 3, "max": 8, "step": 1, "group": "Base", "label": "Base sides"}, "base_r": {"type": "float", "default": 24.28, "min": 14.6, "max": 38.8, "step": 1.0, "group": "Base", "label": "Base circumradius (mm)"}, "base_h": {"type": "float", "default": 10.5, "min": 4.2, "max": 26.2, "step": 1.0, "group": "Base", "label": "Base height (mm)"}, "col_d": {"type": "float", "default": 22.7, "min": 11.3, "max": 31.4, "step": 1.0, "group": "Column", "label": "Column diameter (mm)"}, "col_h": {"type": "float", "default": 23.5, "min": 7.0, "max": 58.8, "step": 1.0, "group": "Column", "label": "Column height (mm)"}, "col_bore": {"type": "float", "default": 9.1, "min": 2.0, "max": 16.3, "step": 0.5, "group": "Column", "label": "Column bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329103 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_sides\": {\"type\": 'int', \"default\": 5, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Base', \"label\": 'Base sides'},\n    \"base_r\": {\"type\": 'float', \"default\": 24.28, \"min\": 14.6, \"max\": 38.8, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base circumradius (mm)'},\n    \"base_h\": {\"type\": 'float', \"default\": 10.5, \"min\": 4.2, \"max\": 26.2, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base height (mm)'},\n    \"col_d\": {\"type\": 'float', \"default\": 22.7, \"min\": 11.3, \"max\": 31.4, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column diameter (mm)'},\n    \"col_h\": {\"type\": 'float', \"default\": 23.5, \"min\": 7.0, \"max\": 58.8, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column height (mm)'},\n    \"col_bore\": {\"type\": 'float', \"default\": 9.1, \"min\": 2.0, \"max\": 16.3, \"step\": 0.5, \"group\": 'Column', \"label\": 'Column bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').polygon(p[\"base_sides\"], p[\"base_r\"] * 2).extrude(p[\"base_h\"]))\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"col_d\"] / 2).extrude(p[\"col_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"col_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462c9dd0_0540", "family": "block", "tier": 1, "seed": 1177329104, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "7801fa93bb8c706b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 33000.0, "surface_area": 7950.0, "principal_moments": [3710000.0, 8630000.0, 8750000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 50.44 \u00d7 25.9 \u00d7 26.4 mm (W\u00d7D\u00d7H).", "Four \u00d84.3 mm holes at the corners, 35.308 \u00d7 18.13 mm spacing."], "text": "Rectangular body, 50.44 \u00d7 25.9 \u00d7 26.4 mm (W\u00d7D\u00d7H). Four \u00d84.3 mm holes at the corners, 35.308 \u00d7 18.13 mm spacing."}, "params": {"block_w": {"type": "float", "default": 50.44, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 25.9, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 26.4, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 5.8, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329104 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 50.44, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 25.9, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 26.4, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 5.8, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462c9dd1_0541", "family": "compound", "tier": 1, "seed": 1177329105, "symmetry": "none", "op_count": 3, "ir_hash": "048515ed016bdda7", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 36600.0, "surface_area": 12900.0, "principal_moments": [11000000.0, 15799999.999999998, 16399999.999999998], "n_faces": 13, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Rectangular body, 64.27 \u00d7 44.7 \u00d7 12 mm (W\u00d7D\u00d7H).", "\u00d814.4 mm circular section attachment, 49.6 mm long, from top face with a \u00d88.3 mm bore.", "Four \u00d88.4 mm holes at the corners, 44.989 \u00d7 31.29 mm spacing."], "text": "Rectangular body, 64.27 \u00d7 44.7 \u00d7 12 mm (W\u00d7D\u00d7H). \u00d814.4 mm circular section attachment, 49.6 mm long, from top face with a \u00d88.3 mm bore. Four \u00d88.4 mm holes at the corners, 44.989 \u00d7 31.29 mm spacing."}, "params": {"base_w": {"type": "float", "default": 64.27, "min": 30.0, "max": 160.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 44.7, "min": 25.0, "max": 160.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_h": {"type": "float", "default": 12.0, "min": 3.0, "max": 30.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "col_d": {"type": "float", "default": 14.4, "min": 5.8, "max": 22.4, "step": 1.0, "group": "Column", "label": "Column diameter (mm)"}, "col_h": {"type": "float", "default": 49.6, "min": 14.9, "max": 148.8, "step": 1.0, "group": "Column", "label": "Column height (mm)"}, "col_bore": {"type": "float", "default": 8.3, "min": 2.0, "max": 10.4, "step": 0.5, "group": "Column", "label": "Column bore diameter (mm)"}, "hole_d": {"type": "float", "default": 8.4, "min": 2.0, "max": 10.1, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329105 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 64.27, \"min\": 30.0, \"max\": 160.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 44.7, \"min\": 25.0, \"max\": 160.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_h\": {\"type\": 'float', \"default\": 12.0, \"min\": 3.0, \"max\": 30.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"col_d\": {\"type\": 'float', \"default\": 14.4, \"min\": 5.8, \"max\": 22.4, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column diameter (mm)'},\n    \"col_h\": {\"type\": 'float', \"default\": 49.6, \"min\": 14.9, \"max\": 148.8, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column height (mm)'},\n    \"col_bore\": {\"type\": 'float', \"default\": 8.3, \"min\": 2.0, \"max\": 10.4, \"step\": 0.5, \"group\": 'Column', \"label\": 'Column bore diameter (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 2.0, \"max\": 10.1, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_h\"])\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"col_d\"] / 2).extrude(p[\"col_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"col_bore\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"base_w\"] * 0.7, p[\"base_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462c9dd2_0542", "family": "profiled", "tier": 1, "seed": 1177329106, "symmetry": "none", "op_count": 1, "ir_hash": "7735e9eb44a43391", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 13100.0, "surface_area": 8370.0, "principal_moments": [403000.0, 11599999.999999998, 11599999.999999998], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d814.34 mm \u00d7 121.4 mm tall."], "text": "Revolved body, \u00d814.34 mm \u00d7 121.4 mm tall."}, "params": {"outer_d": {"type": "float", "default": 14.34, "min": 7.2, "max": 28.7, "step": 1.0, "group": "Profile", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 121.4, "min": 36.4, "max": 364.2, "step": 5.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329106 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 14.34, \"min\": 7.2, \"max\": 28.7, \"step\": 1.0, \"group\": 'Profile', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 121.4, \"min\": 36.4, \"max\": 364.2, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462c9dd3_0543", "family": "bracket", "tier": 1, "seed": 1177329107, "symmetry": "none", "op_count": 1, "ir_hash": "7b555e92a90d44c9", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 25500.0, "surface_area": 8790.0, "principal_moments": [5140000.0, 14299999.999999998, 15599999.999999998], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["L-bracket: base leg 60 mm, vertical leg 55.2 mm, 30 mm wide, 8 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."], "text": "L-bracket: base leg 60 mm, vertical leg 55.2 mm, 30 mm wide, 8 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 60, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 55.2, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 30, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 8.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329107 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 60, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 55.2, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 30, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462c9dd4_0544", "family": "bracket", "tier": 1, "seed": 1177329108, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "1b489d9c78d2ff97", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 16300.0, "surface_area": 9800.0, "principal_moments": [5550000.0, 13599999.999999998, 17500000.0], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["C-channel bracket: base leg 68.87 mm, vertical leg 53.1 mm, 24.53 mm wide, 4 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."], "text": "C-channel bracket: base leg 68.87 mm, vertical leg 53.1 mm, 24.53 mm wide, 4 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 68.87, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 53.1, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 24.53, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 4.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 9.8, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329108 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 68.87, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 53.1, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 24.53, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 9.8, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462c9dd5_0545", "family": "enclosure", "tier": 1, "seed": 1177329109, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "68965251df76c037", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 116000.0, "surface_area": 52000.0, "principal_moments": [114000000.0, 204000000.0, 243000000.0], "n_faces": 11, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 109.86 \u00d7 68.9 \u00d7 56.5 mm (W\u00d7D\u00d7H).", "Hollowed to 4.6 mm wall thickness, open at top face."], "text": "Rectangular body, 109.86 \u00d7 68.9 \u00d7 56.5 mm (W\u00d7D\u00d7H). Hollowed to 4.6 mm wall thickness, open at top face."}, "params": {"enc_w": {"type": "float", "default": 109.86, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 68.9, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 56.5, "min": 22.6, "max": 113.0, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 4.6, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329109 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 109.86, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 68.9, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 56.5, \"min\": 22.6, \"max\": 113.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 4.6, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462c9dd6_0546", "family": "block", "tier": 3, "seed": 1177329110, "symmetry": "none", "op_count": 5, "ir_hash": "7acfeca517a29218", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 382000.0, "surface_area": 38500.0, "principal_moments": [285000000.0, 386000000.0, 530000000.0], "n_faces": 14, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Rectangular body, 80 \u00d7 47.4 \u00d7 100 mm (W\u00d7D\u00d7H).", "Four \u00d83.2 mm holes at the corners, 56 \u00d7 33.18 mm spacing.", "Boss \u00d89.9 mm \u00d7 8.9 mm tall on top face.", "Fillet radius 3.547 mm on vertical edges (optional, off by default).", "\u00d818.1 mm circular section attachment, 22 mm long, from left face."], "text": "Rectangular body, 80 \u00d7 47.4 \u00d7 100 mm (W\u00d7D\u00d7H). Four \u00d83.2 mm holes at the corners, 56 \u00d7 33.18 mm spacing. Boss \u00d89.9 mm \u00d7 8.9 mm tall on top face. Fillet radius 3.547 mm on vertical edges (optional, off by default). \u00d818.1 mm circular section attachment, 22 mm long, from left face."}, "params": {"block_w": {"type": "float", "default": 80, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 47.4, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 100.0, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 10.7, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "boss_d": {"type": "float", "default": 9.9, "min": 5.0, "max": 19.8, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 8.9, "min": 3.6, "max": 22.2, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}, "filleted2": {"type": "bool", "default": false, "group": "Body", "label": "Fillet corners"}, "side_tube_d": {"type": "float", "default": 18.1, "min": 7.2, "max": 23.7, "step": 1.0, "group": "Side Tube", "label": "Side tube diameter (mm)"}, "side_tube_len": {"type": "float", "default": 22.0, "min": 6.6, "max": 54.3, "step": 1.0, "group": "Side Tube", "label": "Side tube length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329110 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 80, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 47.4, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 100.0, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 10.7, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"boss_d\": {\"type\": 'float', \"default\": 9.9, \"min\": 5.0, \"max\": 19.8, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 8.9, \"min\": 3.6, \"max\": 22.2, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n    \"filleted2\": {\"type\": 'bool', \"default\": False, \"group\": 'Body', \"label\": 'Fillet corners'},\n    \"side_tube_d\": {\"type\": 'float', \"default\": 18.1, \"min\": 7.2, \"max\": 23.7, \"step\": 1.0, \"group\": 'Side Tube', \"label\": 'Side tube diameter (mm)'},\n    \"side_tube_len\": {\"type\": 'float', \"default\": 22.0, \"min\": 6.6, \"max\": 54.3, \"step\": 1.0, \"group\": 'Side Tube', \"label\": 'Side tube length (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    if p[\"filleted2\"]:\n        result = result.edges('|Z').fillet(min(p[\"block_w\"], p[\"block_d\"]) * 0.0748318866155232)\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"side_tube_d\"] / 2).extrude(p[\"side_tube_len\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462c9dd7_0547", "family": "gear", "tier": 1, "seed": 1177329111, "symmetry": "none", "op_count": 1, "ir_hash": "e6f6443132e5c4a8", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 1680.0, "surface_area": 1540.0, "principal_moments": [70500.0, 70500.0, 137000.0], "n_faces": 153, "n_edges": 453, "n_vertices": 302}, "dimensions": {"lines": ["Spur gear, module 1 mm, 25 teeth (pitch \u00d825 mm), face width 3.6 mm, \u00d84.9 mm bore."], "text": "Spur gear, module 1 mm, 25 teeth (pitch \u00d825 mm), face width 3.6 mm, \u00d84.9 mm bore."}, "params": {"module": {"type": "float", "default": 1.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 25, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 3.6, "min": 1.4, "max": 9.0, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "bore_d": {"type": "float", "default": 4.9, "min": 2.0, "max": 13.5, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329111 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 1.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 25, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 3.6, \"min\": 1.4, \"max\": 9.0, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 4.9, \"min\": 2.0, \"max\": 13.5, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462c9dd8_0548", "family": "threaded", "tier": 2, "seed": 1177329112, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "1c633fb45706dd4d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 587.0, "surface_area": 722.0, "principal_moments": [7450.0, 11200.0, 11200.0], "n_faces": 127, "n_edges": 343, "n_vertices": 218}, "dimensions": {"lines": ["M5x0.8 internal thread, 12.4 mm long."], "text": "M5x0.8 internal thread, 12.4 mm long."}, "params": {"major_d": {"type": "float", "default": 5.0, "min": 4.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Major diameter (mm)"}, "pitch": {"type": "float", "default": 0.8, "min": 0.4, "max": 1.6, "step": 0.05, "group": "Thread", "label": "Pitch (mm)"}, "thread_len": {"type": "float", "default": 12.4, "min": 5.0, "max": 24.8, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329112 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 5.0, \"min\": 4.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Major diameter (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 0.8, \"min\": 0.4, \"max\": 1.6, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Pitch (mm)'},\n    \"thread_len\": {\"type\": 'float', \"default\": 12.4, \"min\": 5.0, \"max\": 24.8, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.IsoThread(major_diameter=p[\"major_d\"], pitch=p[\"pitch\"], length=p[\"thread_len\"], external=False, end_finishes=(\"fade\", \"fade\"))\n    _body = _bd.Cylinder(radius=(p[\"major_d\"]) * 0.9, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _bore = _bd.Cylinder(radius=(p[\"major_d\"]) / 2, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = (_body - _bore) + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462c9dd9_0549", "family": "compound", "tier": 1, "seed": 1177329113, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "eafba3c808be1483", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 5050.0, "surface_area": 1890.0, "principal_moments": [128000.0, 536000.0, 536000.0], "n_faces": 5, "n_edges": 6, "n_vertices": 4}, "dimensions": {"lines": ["\u00d815 mm circular section, extruded 25.1 mm thick.", "\u00d87 mm circular section attachment, 15.9 mm long, from top face."], "text": "\u00d815 mm circular section, extruded 25.1 mm thick. \u00d87 mm circular section attachment, 15.9 mm long, from top face."}, "params": {"shaft_d": {"type": "float", "default": 15, "min": 7.5, "max": 27.0, "step": 1.0, "group": "Body", "label": "Shaft diameter (mm)"}, "shaft_len": {"type": "float", "default": 25.1, "min": 10.0, "max": 50.2, "step": 1.0, "group": "Body", "label": "Shaft length (mm)"}, "step_d": {"type": "float", "default": 7.0, "min": 3.5, "max": 13.5, "step": 1.0, "group": "Step", "label": "Step diameter (mm)"}, "step_len": {"type": "float", "default": 15.9, "min": 4.8, "max": 39.8, "step": 1.0, "group": "Step", "label": "Step length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329113 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"shaft_d\": {\"type\": 'float', \"default\": 15, \"min\": 7.5, \"max\": 27.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft diameter (mm)'},\n    \"shaft_len\": {\"type\": 'float', \"default\": 25.1, \"min\": 10.0, \"max\": 50.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft length (mm)'},\n    \"step_d\": {\"type\": 'float', \"default\": 7.0, \"min\": 3.5, \"max\": 13.5, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step diameter (mm)'},\n    \"step_len\": {\"type\": 'float', \"default\": 15.9, \"min\": 4.8, \"max\": 39.8, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').circle(p[\"shaft_d\"] / 2).extrude(p[\"shaft_len\"]))\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"step_d\"] / 2).extrude(p[\"step_len\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462c9dda_0550", "family": "tapped", "tier": 2, "seed": 1177329114, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "a173d90d256c2719", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 1430.0, "surface_area": 986.0, "principal_moments": [27700.0, 37900.0, 37900.0], "n_faces": 167, "n_edges": 453, "n_vertices": 288}, "dimensions": {"lines": ["One M4x0.7 tapped hole in a cylinder."], "text": "One M4x0.7 tapped hole in a cylinder."}, "params": {"major_d": {"type": "float", "default": 4.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 0.7, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 14.2, "min": 4.8, "max": 25.6, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "body_d": {"type": "float", "default": 11.9, "min": 7.2, "max": 19.0, "step": 1.0, "group": "Body", "label": "Outer \u00d8 (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329114 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 4.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 0.7, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 14.2, \"min\": 4.8, \"max\": 25.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"body_d\": {\"type\": 'float', \"default\": 11.9, \"min\": 7.2, \"max\": 19.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer \u00d8 (mm)'},\n}\n\n\ndef build(p):\n\n    _W = _D = p[\"body_d\"]\n    _H = p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Cylinder(radius=_W / 2, height=_H)\n    _locs = [(0.0, 0.0)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462c9ddb_0551", "family": "revolved", "tier": 1, "seed": 1177329115, "symmetry": "none", "op_count": 2, "ir_hash": "5ffc6355eec0a29c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 44400.0, "surface_area": 14200.0, "principal_moments": [5550000.0, 29999999.999999996, 29999999.999999996], "n_faces": 5, "n_edges": 8, "n_vertices": 5}, "dimensions": {"lines": ["Revolved body, \u00d828.88 mm \u00d7 101.9 mm tall.", "Chamfer 1.5 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d828.88 mm \u00d7 101.9 mm tall. Chamfer 1.5 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 28.88, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 101.9, "min": 30.6, "max": 305.7, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "end_chamfer": {"type": "float", "default": 1.5, "min": 0.1, "max": 4.5, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329115 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 28.88, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 101.9, \"min\": 30.6, \"max\": 305.7, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 1.5, \"min\": 0.1, \"max\": 4.5, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9ddc_0552", "family": "plate", "tier": 1, "seed": 1177329116, "symmetry": "none", "op_count": 2, "ir_hash": "cfd70b864e1c6bec", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 11800.0, "surface_area": 5030.0, "principal_moments": [851000.0, 2890000.0, 3610000.0], "n_faces": 30, "n_edges": 84, "n_vertices": 56}, "dimensions": {"lines": ["Rectangular body, 55 \u00d7 28.5 \u00d7 8 mm (W\u00d7D\u00d7H).", "Six 3.8 mm square holes in a 2\u00d73 grid, 44 \u00d7 11.4 mm pitch."], "text": "Rectangular body, 55 \u00d7 28.5 \u00d7 8 mm (W\u00d7D\u00d7H). Six 3.8 mm square holes in a 2\u00d73 grid, 44 \u00d7 11.4 mm pitch."}, "params": {"plate_w": {"type": "float", "default": 55, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 28.5, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.8, "min": 2.0, "max": 4.4, "step": 0.1, "group": "Holes", "label": "Square hole size (mm)"}, "hole_nx": {"type": "int", "default": 2, "min": 1, "max": 4, "step": 1, "group": "Holes", "label": "Holes across"}, "hole_ny": {"type": "int", "default": 3, "min": 1, "max": 4, "step": 1, "group": "Holes", "label": "Holes deep"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329116 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 55, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 28.5, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.8, \"min\": 2.0, \"max\": 4.4, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Square hole size (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 2, \"min\": 1, \"max\": 4, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes across'},\n    \"hole_ny\": {\"type\": 'int', \"default\": 3, \"min\": 1, \"max\": 4, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes deep'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(44.0, 11.4, p[\"hole_nx\"], p[\"hole_ny\"])\n        .rect(p[\"hole_d\"], p[\"hole_d\"]).cutThruAll()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462c9ddd_0553", "family": "lofted", "tier": 1, "seed": 1177329117, "symmetry": "none", "op_count": 2, "ir_hash": "b95fca9ad4a7187e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 16000.0, "surface_area": 4860.0, "principal_moments": [1400000.0, 2590000.0, 2590000.0], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["Lofted body through 2 sections: 6-sided polygon section, 35 mm across corners \u2192 11 \u00d7 11 mm rectangular section.", "One \u00d86.4 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 2 sections: 6-sided polygon section, 35 mm across corners \u2192 11 \u00d7 11 mm rectangular section. One \u00d86.4 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 35, "min": 17.5, "max": 56.0, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 11.0, "min": 4.4, "max": 42.0, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 42.4, "min": 17.0, "max": 84.8, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_bore_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 8.8, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329117 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 35, \"min\": 17.5, \"max\": 56.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 11.0, \"min\": 4.4, \"max\": 42.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 42.4, \"min\": 17.0, \"max\": 84.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 8.8, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .polygon(6, p[\"loft_base\"] * 0.5 * 2)\n        .workplane(offset=p[\"loft_h\"])\n        .rect(p[\"loft_top\"], p[\"loft_top\"])\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462c9dde_0554", "family": "gear", "tier": 2, "seed": 1177329118, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "8292e6c41554879d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 1720.0, "surface_area": 1680.0, "principal_moments": [85300.0, 85300.0, 168000.0], "n_faces": 153, "n_edges": 453, "n_vertices": 302}, "dimensions": {"lines": ["Helical gear, module 1 mm, 25 teeth (pitch \u00d825 mm), face width 3 mm, 21\u00b0 helix, \u00d84.2 mm bore."], "text": "Helical gear, module 1 mm, 25 teeth (pitch \u00d825 mm), face width 3 mm, 21\u00b0 helix, \u00d84.2 mm bore."}, "params": {"module": {"type": "float", "default": 1.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 25, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 3.0, "min": 1.2, "max": 7.5, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "helix_angle": {"type": "float", "default": 21.0, "min": 5.0, "max": 40.0, "step": 1.0, "group": "Gear", "label": "Helix angle (deg)"}, "profile_shift": {"type": "float", "default": 0.37, "min": -0.5, "max": 0.7, "step": 0.05, "group": "Gear", "label": "Profile shift"}, "root_fillet": {"type": "float", "default": 0.19, "min": 0.0, "max": 0.5, "step": 0.05, "group": "Gear", "label": "Root fillet (mm)"}, "bore_d": {"type": "float", "default": 4.2, "min": 2.0, "max": 13.5, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329118 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 1.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 25, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 3.0, \"min\": 1.2, \"max\": 7.5, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"helix_angle\": {\"type\": 'float', \"default\": 21.0, \"min\": 5.0, \"max\": 40.0, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Helix angle (deg)'},\n    \"profile_shift\": {\"type\": 'float', \"default\": 0.37, \"min\": -0.5, \"max\": 0.7, \"step\": 0.05, \"group\": 'Gear', \"label\": 'Profile shift'},\n    \"root_fillet\": {\"type\": 'float', \"default\": 0.19, \"min\": 0.0, \"max\": 0.5, \"step\": 0.05, \"group\": 'Gear', \"label\": 'Root fillet (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 4.2, \"min\": 2.0, \"max\": 13.5, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.HelicalGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"], helix_angle=math.radians(p[\"helix_angle\"]), herringbone=False, profile_shift=p[\"profile_shift\"], root_fillet=p[\"root_fillet\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462c9ddf_0555", "family": "compound", "tier": 2, "seed": 1177329119, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "58889c346038fcc3", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 56800.0, "surface_area": 12000.0, "principal_moments": [16199999.999999998, 17600000.0, 17600000.0], "n_faces": 15, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Lofted body through 3 sections: 54.03 \u00d7 54.03 mm rectangular section \u2192 \u00d845.8 mm circular section \u2192 \u00d837.6 mm circular section.", "6-sided polygon section, 27.8 mm across corners attachment, 22.7 mm long, from top face with a \u00d89.9 mm bore."], "text": "Lofted body through 3 sections: 54.03 \u00d7 54.03 mm rectangular section \u2192 \u00d845.8 mm circular section \u2192 \u00d837.6 mm circular section. 6-sided polygon section, 27.8 mm across corners attachment, 22.7 mm long, from top face with a \u00d89.9 mm bore."}, "params": {"adapter_base": {"type": "float", "default": 54.03, "min": 32.4, "max": 81.0, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "adapter_top": {"type": "float", "default": 37.6, "min": 18.8, "max": 54.0, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "adapter_h": {"type": "float", "default": 27.8, "min": 11.1, "max": 55.6, "step": 1.0, "group": "Body", "label": "Transition height (mm)"}, "adapter_mid": {"type": "float", "default": 45.8, "min": 18.8, "max": 54.0, "step": 1.0, "group": "Body", "label": "Mid size (mm)"}, "neck_sides": {"type": "int", "default": 6, "min": 3, "max": 8, "step": 1, "group": "Neck", "label": "Neck sides"}, "neck_r": {"type": "float", "default": 13.9, "min": 7.0, "max": 18.8, "step": 1.0, "group": "Neck", "label": "Neck circumradius (mm)"}, "neck_l": {"type": "float", "default": 22.7, "min": 9.1, "max": 56.8, "step": 1.0, "group": "Neck", "label": "Neck length (mm)"}, "neck_bore": {"type": "float", "default": 9.9, "min": 2.0, "max": 17.3, "step": 0.5, "group": "Neck", "label": "Neck bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329119 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"adapter_base\": {\"type\": 'float', \"default\": 54.03, \"min\": 32.4, \"max\": 81.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"adapter_top\": {\"type\": 'float', \"default\": 37.6, \"min\": 18.8, \"max\": 54.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"adapter_h\": {\"type\": 'float', \"default\": 27.8, \"min\": 11.1, \"max\": 55.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Transition height (mm)'},\n    \"adapter_mid\": {\"type\": 'float', \"default\": 45.8, \"min\": 18.8, \"max\": 54.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Mid size (mm)'},\n    \"neck_sides\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Neck', \"label\": 'Neck sides'},\n    \"neck_r\": {\"type\": 'float', \"default\": 13.9, \"min\": 7.0, \"max\": 18.8, \"step\": 1.0, \"group\": 'Neck', \"label\": 'Neck circumradius (mm)'},\n    \"neck_l\": {\"type\": 'float', \"default\": 22.7, \"min\": 9.1, \"max\": 56.8, \"step\": 1.0, \"group\": 'Neck', \"label\": 'Neck length (mm)'},\n    \"neck_bore\": {\"type\": 'float', \"default\": 9.9, \"min\": 2.0, \"max\": 17.3, \"step\": 0.5, \"group\": 'Neck', \"label\": 'Neck bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .rect(p[\"adapter_base\"], p[\"adapter_base\"])\n        .workplane(offset=p[\"adapter_h\"] * 0.5)\n        .circle(p[\"adapter_mid\"] / 2)\n        .workplane(offset=p[\"adapter_h\"] * 0.5)\n        .circle(p[\"adapter_top\"] / 2)\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"neck_sides\"], p[\"neck_r\"] * 2).extrude(p[\"neck_l\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"neck_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462c9de0_0556", "family": "revolved", "tier": 2, "seed": 1177329120, "symmetry": "radial", "op_count": 1, "ir_hash": "1be5b6387863ae22", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 5380.0, "surface_area": 3000.0, "principal_moments": [182000.0, 801000.0, 801000.0], "n_faces": 4, "n_edges": 6, "n_vertices": 4}, "dimensions": {"lines": ["Revolved body, \u00d814.87 mm \u00d7 39.8 mm tall with \u00d87 mm bore."], "text": "Revolved body, \u00d814.87 mm \u00d7 39.8 mm tall with \u00d87 mm bore."}, "params": {"outer_d": {"type": "float", "default": 14.87, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 39.8, "min": 11.9, "max": 119.4, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 7.0, "min": 2.0, "max": 10.4, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329120 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 14.87, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 39.8, \"min\": 11.9, \"max\": 119.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 7.0, \"min\": 2.0, \"max\": 10.4, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462c9de1_0557", "family": "revolved", "tier": 0, "seed": 1177329121, "symmetry": "none", "op_count": 1, "ir_hash": "5f743904d0622be3", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 34000.0, "surface_area": 8870.0, "principal_moments": [7740000.0, 7740000.0, 12799999.999999998], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d850.06 mm \u00d7 25.9 mm tall."], "text": "Revolved body, \u00d850.06 mm \u00d7 25.9 mm tall."}, "params": {"outer_d": {"type": "float", "default": 50.06, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 25.9, "min": 7.8, "max": 77.7, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329121 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 50.06, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 25.9, \"min\": 7.8, \"max\": 77.7, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462c9de2_0558", "family": "compound", "tier": 1, "seed": 1177329122, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "3ee147db969d9adf", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 83800.0, "surface_area": 13100.0, "principal_moments": [25199999.999999996, 26899999.999999996, 31699999.999999996], "n_faces": 9, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["Rectangular body, 48.33 \u00d7 38 \u00d7 46.1 mm (W\u00d7D\u00d7H).", "\u00d811 mm circular section attachment, 9.8 mm long, from right face with a \u00d86.3 mm bore."], "text": "Rectangular body, 48.33 \u00d7 38 \u00d7 46.1 mm (W\u00d7D\u00d7H). \u00d811 mm circular section attachment, 9.8 mm long, from right face with a \u00d86.3 mm bore."}, "params": {"block_w": {"type": "float", "default": 48.33, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 38.0, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 46.1, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "spig_d": {"type": "float", "default": 11.0, "min": 4.4, "max": 26.6, "step": 1.0, "group": "Spigot", "label": "Spigot diameter (mm)"}, "spig_len": {"type": "float", "default": 9.8, "min": 3.3, "max": 44.0, "step": 1.0, "group": "Spigot", "label": "Spigot length (mm)"}, "spig_bore": {"type": "float", "default": 6.3, "min": 2.0, "max": 7.9, "step": 0.5, "group": "Spigot", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329122 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 48.33, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 38.0, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 46.1, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"spig_d\": {\"type\": 'float', \"default\": 11.0, \"min\": 4.4, \"max\": 26.6, \"step\": 1.0, \"group\": 'Spigot', \"label\": 'Spigot diameter (mm)'},\n    \"spig_len\": {\"type\": 'float', \"default\": 9.8, \"min\": 3.3, \"max\": 44.0, \"step\": 1.0, \"group\": 'Spigot', \"label\": 'Spigot length (mm)'},\n    \"spig_bore\": {\"type\": 'float', \"default\": 6.3, \"min\": 2.0, \"max\": 7.9, \"step\": 0.5, \"group\": 'Spigot', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"spig_d\"] / 2).extrude(p[\"spig_len\"])\n    )\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"spig_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9de3_0559", "family": "plate", "tier": 0, "seed": 1177329123, "symmetry": "radial", "op_count": 1, "ir_hash": "b176932e249af58c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 1250.0, "surface_area": 850.0, "principal_moments": [13000.0, 67700.0, 75500.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 25 \u00d7 10 \u00d7 5 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 25 \u00d7 10 \u00d7 5 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 25, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 10.0, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 5.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329123 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 25, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 10.0, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 5.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462c9de4_0560", "family": "block", "tier": 1, "seed": 1177329124, "symmetry": "none", "op_count": 2, "ir_hash": "aa3f91e6497bb28b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 267000.0, "surface_area": 33800.0, "principal_moments": [177000000.0, 180000000.0, 246000000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 75 \u00d7 50.6 \u00d7 74.8 mm (W\u00d7D\u00d7H).", "Four \u00d88.4 mm holes at the corners, 52.5 \u00d7 35.42 mm spacing."], "text": "Rectangular body, 75 \u00d7 50.6 \u00d7 74.8 mm (W\u00d7D\u00d7H). Four \u00d88.4 mm holes at the corners, 52.5 \u00d7 35.42 mm spacing."}, "params": {"block_w": {"type": "float", "default": 75, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 50.6, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 74.8, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 8.4, "min": 2.0, "max": 11.4, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329124 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 75, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 50.6, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 74.8, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 2.0, \"max\": 11.4, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462c9de5_0561", "family": "threaded", "tier": 0, "seed": 1177329125, "symmetry": "none", "op_count": 1, "ir_hash": "1cc7f90779a34de3", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 2780.0, "surface_area": 2080.0, "principal_moments": [29200.0, 435000.0, 435000.0], "n_faces": 290, "n_edges": 744, "n_vertices": 456}, "dimensions": {"lines": ["M10x1.5 external thread, 42.8 mm long."], "text": "M10x1.5 external thread, 42.8 mm long."}, "params": {"major_d": {"type": "float", "default": 10.0, "min": 4.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Major diameter (mm)"}, "pitch": {"type": "float", "default": 1.5, "min": 0.75, "max": 3.0, "step": 0.05, "group": "Thread", "label": "Pitch (mm)"}, "thread_len": {"type": "float", "default": 42.8, "min": 17.1, "max": 85.6, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329125 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 10.0, \"min\": 4.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Major diameter (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.5, \"min\": 0.75, \"max\": 3.0, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Pitch (mm)'},\n    \"thread_len\": {\"type\": 'float', \"default\": 42.8, \"min\": 17.1, \"max\": 85.6, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.IsoThread(major_diameter=p[\"major_d\"], pitch=p[\"pitch\"], length=p[\"thread_len\"], external=True, end_finishes=(\"fade\", \"fade\"))\n    _r = _thr.min_radius if hasattr(_thr, 'min_radius') else _thr.root_radius\n    _shank = _bd.Cylinder(radius=_r, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = _shank + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462c9de6_0562", "family": "sketched", "tier": 1, "seed": 1177329126, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "1e2e81fc7c066dd5", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 61900.0, "surface_area": 10100.0, "principal_moments": [15799999.999999998, 17500000.0, 17500000.0], "n_faces": 9, "n_edges": 16, "n_vertices": 9}, "dimensions": {"lines": ["Revolved organic body from a freeform sketched section (8 segments: 3 straight, 3 arcs, 2 curves), ~21.078 \u00d7 62.61 mm half-silhouette."], "text": "Revolved organic body from a freeform sketched section (8 segments: 3 straight, 3 arcs, 2 curves), ~21.078 \u00d7 62.61 mm half-silhouette."}, "params": {"sk_r": {"type": "float", "default": 30, "min": 15.0, "max": 54.0, "step": 1.0, "group": "Sketch", "label": "Max radius (mm)"}, "sk_h": {"type": "float", "default": 62.61, "min": 31.3, "max": 112.7, "step": 1.0, "group": "Sketch", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329126 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_r\": {\"type\": 'float', \"default\": 30, \"min\": 15.0, \"max\": 54.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Max radius (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 62.61, \"min\": 31.3, \"max\": 112.7, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XZ').moveTo(p[\"sk_r\"] * 0.1523, p[\"sk_h\"] * 0.0).threePointArc((p[\"sk_r\"] * 0.1658, p[\"sk_h\"] * 0.0606), (p[\"sk_r\"] * 0.2456, p[\"sk_h\"] * 0.1212)).spline([(p[\"sk_r\"] * 0.2456, p[\"sk_h\"] * 0.1212), (p[\"sk_r\"] * 0.2917, p[\"sk_h\"] * 0.1891), (p[\"sk_r\"] * 0.3304, p[\"sk_h\"] * 0.257)]).threePointArc((p[\"sk_r\"] * 0.3598, p[\"sk_h\"] * 0.3568), (p[\"sk_r\"] * 0.4945, p[\"sk_h\"] * 0.4566)).spline([(p[\"sk_r\"] * 0.4945, p[\"sk_h\"] * 0.4566), (p[\"sk_r\"] * 0.5678, p[\"sk_h\"] * 0.5163), (p[\"sk_r\"] * 0.7732, p[\"sk_h\"] * 0.5759)]).lineTo(p[\"sk_r\"] * 0.8013, p[\"sk_h\"] * 0.6135).threePointArc((p[\"sk_r\"] * 0.8116, p[\"sk_h\"] * 0.8067), (p[\"sk_r\"] * 0.7811, p[\"sk_h\"] * 1.0)).lineTo(p[\"sk_r\"] * 0.0987, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.0987, p[\"sk_h\"] * 0.0).close().revolve())\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462c9de7_0563", "family": "ribbed", "tier": 1, "seed": 1177329127, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "e08fccd70a372cec", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 11000.0, "surface_area": 6500.0, "principal_moments": [1070000.0, 1630000.0, 2500000.0], "n_faces": 54, "n_edges": 132, "n_vertices": 80}, "dimensions": {"lines": ["Rectangular body, 41.99 \u00d7 30.1 \u00d7 3 mm (W\u00d7D\u00d7H).", "Six ribs, 5 mm thick, 7.2 mm tall."], "text": "Rectangular body, 41.99 \u00d7 30.1 \u00d7 3 mm (W\u00d7D\u00d7H). Six ribs, 5 mm thick, 7.2 mm tall."}, "params": {"base_w": {"type": "float", "default": 41.99, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 30.1, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 3.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 6, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 7.2, "min": 2.9, "max": 14.4, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 5.0, "min": 1.0, "max": 12.5, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329127 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 41.99, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 30.1, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 6, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 7.2, \"min\": 2.9, \"max\": 14.4, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 1.0, \"max\": 12.5, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462c9de8_0564", "family": "block", "tier": 1, "seed": 1177329128, "symmetry": "radial", "op_count": 2, "ir_hash": "61f9c9a8232c7f72", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 25000.0, "surface_area": 6590.0, "principal_moments": [2830000.0, 4690000.0, 5040000.0], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Rectangular body, 40 \u00d7 27.7 \u00d7 24.4 mm (W\u00d7D\u00d7H).", "Four \u00d85.3 mm holes on a \u00d824 mm bolt circle."], "text": "Rectangular body, 40 \u00d7 27.7 \u00d7 24.4 mm (W\u00d7D\u00d7H). Four \u00d85.3 mm holes on a \u00d824 mm bolt circle."}, "params": {"block_w": {"type": "float", "default": 40, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 27.7, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 24.4, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "bolt_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 12.0, "min": 8.0, "max": 18.0, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 4, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329128 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 40, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 27.7, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 24.4, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 12.0, \"min\": 8.0, \"max\": 18.0, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 4, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462c9de9_0565", "family": "lofted", "tier": 2, "seed": 1177329129, "symmetry": "none", "op_count": 2, "ir_hash": "af8fce27eb2ff92b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 28600.0, "surface_area": 7320.0, "principal_moments": [5190000.0, 5570000.0, 5570000.0], "n_faces": 8, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["Lofted body through 3 sections: 40 \u00d7 40 mm rectangular section \u2192 \u00d831.8 mm circular section \u2192 \u00d823.6 mm circular section.", "One \u00d811.6 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 3 sections: 40 \u00d7 40 mm rectangular section \u2192 \u00d831.8 mm circular section \u2192 \u00d823.6 mm circular section. One \u00d811.6 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 40, "min": 20.0, "max": 64.0, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 23.6, "min": 9.4, "max": 48.0, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 37.4, "min": 15.0, "max": 74.8, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_mid": {"type": "float", "default": 31.8, "min": 11.8, "max": 48.0, "step": 1.0, "group": "Body", "label": "Mid size (mm)"}, "loft_bore_d": {"type": "float", "default": 11.6, "min": 2.0, "max": 18.9, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329129 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 40, \"min\": 20.0, \"max\": 64.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 23.6, \"min\": 9.4, \"max\": 48.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 37.4, \"min\": 15.0, \"max\": 74.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_mid\": {\"type\": 'float', \"default\": 31.8, \"min\": 11.8, \"max\": 48.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Mid size (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 11.6, \"min\": 2.0, \"max\": 18.9, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .rect(p[\"loft_base\"], p[\"loft_base\"])\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .circle(p[\"loft_mid\"] / 2)\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .circle(p[\"loft_top\"] / 2)\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462c9dea_0566", "family": "block", "tier": 1, "seed": 1177329130, "symmetry": "radial", "op_count": 2, "ir_hash": "d231ff9c131d3b8d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 59300.0, "surface_area": 11200.0, "principal_moments": [12799999.999999998, 18200000.0, 24499999.999999996], "n_faces": 8, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["Rectangular body, 55.02 \u00d7 25.3 \u00d7 44 mm (W\u00d7D\u00d7H).", "Four \u00d85.3 mm holes on a \u00d833 mm bolt circle."], "text": "Rectangular body, 55.02 \u00d7 25.3 \u00d7 44 mm (W\u00d7D\u00d7H). Four \u00d85.3 mm holes on a \u00d833 mm bolt circle."}, "params": {"block_w": {"type": "float", "default": 55.02, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 25.3, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 44.0, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "bolt_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 16.5, "min": 11.0, "max": 24.8, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 4, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329130 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 55.02, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 25.3, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 44.0, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 16.5, \"min\": 11.0, \"max\": 24.8, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 4, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462c9deb_0567", "family": "revolved", "tier": 1, "seed": 1177329131, "symmetry": "radial", "op_count": 1, "ir_hash": "e990c5fa26b1932a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 455000.0, "surface_area": 65000.0, "principal_moments": [784000000.0, 784000000.0, 796000000.0], "n_faces": 6, "n_edges": 9, "n_vertices": 6}, "dimensions": {"lines": ["Revolved body, \u00d875 mm \u00d7 96.6 mm tall with \u00d844.7 mm bore, \u00d8134.5 mm \u00d7 18.4 mm flange."], "text": "Revolved body, \u00d875 mm \u00d7 96.6 mm tall with \u00d844.7 mm bore, \u00d8134.5 mm \u00d7 18.4 mm flange."}, "params": {"outer_d": {"type": "float", "default": 75, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 96.6, "min": 29.0, "max": 289.8, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 44.7, "min": 2.0, "max": 52.5, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 134.5, "min": 90.0, "max": 225.0, "step": 1.0, "group": "Body", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 18.4, "min": 5.5, "max": 48.3, "step": 0.5, "group": "Body", "label": "Flange height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329131 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 75, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 96.6, \"min\": 29.0, \"max\": 289.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 44.7, \"min\": 2.0, \"max\": 52.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 134.5, \"min\": 90.0, \"max\": 225.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 18.4, \"min\": 5.5, \"max\": 48.3, \"step\": 0.5, \"group\": 'Body', \"label\": 'Flange height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9dec_0568", "family": "plate", "tier": 2, "seed": 1177329132, "symmetry": "mirror_xy", "op_count": 3, "ir_hash": "13eb7e09b42c7411", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 24500.0, "surface_area": 7680.0, "principal_moments": [3000000.0, 7330000.0, 9740000.0], "n_faces": 14, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 60.34 \u00d7 37.5 \u00d7 12 mm (W\u00d7D\u00d7H).", "Four \u00d88.4 mm holes at the corners, 42.238 \u00d7 26.25 mm spacing.", "Fillet radius 0.955 mm on vertical edges."], "text": "Rectangular body, 60.34 \u00d7 37.5 \u00d7 12 mm (W\u00d7D\u00d7H). Four \u00d88.4 mm holes at the corners, 42.238 \u00d7 26.25 mm spacing. Fillet radius 0.955 mm on vertical edges."}, "params": {"plate_w": {"type": "float", "default": 60.34, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 37.5, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 8.4, "min": 2.0, "max": 8.4, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329132 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 60.34, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 37.5, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 2.0, \"max\": 8.4, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"plate_w\"], p[\"plate_d\"]) * 0.02546834787857756)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462c9ded_0569", "family": "bracket", "tier": 1, "seed": 1177329133, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "d0e97c7ebb452613", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 21700.0, "surface_area": 10800.0, "principal_moments": [18900000.0, 24499999.999999996, 42600000.0], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["C-channel bracket: base leg 80 mm, vertical leg 90 mm, 15 mm wide, 6 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."], "text": "C-channel bracket: base leg 80 mm, vertical leg 90 mm, 15 mm wide, 6 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 80, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 90.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 15.0, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 6.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 6.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329133 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 80, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 90.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 15.0, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 6.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462c9def_0571", "family": "revolved", "tier": 2, "seed": 1177329135, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "421b19339b618f04", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 93800.0, "surface_area": 20800.0, "principal_moments": [47399999.99999999, 47399999.99999999, 48699999.99999999], "n_faces": 10, "n_edges": 17, "n_vertices": 10}, "dimensions": {"lines": ["Revolved body, \u00d844.02 mm \u00d7 50.1 mm tall with \u00d815.4 mm bore, \u00d884.5 mm \u00d7 6.6 mm flange.", "Chamfer 0.7 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d844.02 mm \u00d7 50.1 mm tall with \u00d815.4 mm bore, \u00d884.5 mm \u00d7 6.6 mm flange. Chamfer 0.7 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 44.02, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 50.1, "min": 15.0, "max": 150.3, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 15.4, "min": 2.0, "max": 30.8, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 84.5, "min": 52.8, "max": 132.1, "step": 1.0, "group": "Body", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 6.6, "min": 2.0, "max": 25.1, "step": 0.5, "group": "Body", "label": "Flange height (mm)"}, "end_chamfer": {"type": "float", "default": 0.7, "min": 0.1, "max": 2.1, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329135 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 44.02, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 50.1, \"min\": 15.0, \"max\": 150.3, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 15.4, \"min\": 2.0, \"max\": 30.8, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 84.5, \"min\": 52.8, \"max\": 132.1, \"step\": 1.0, \"group\": 'Body', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 6.6, \"min\": 2.0, \"max\": 25.1, \"step\": 0.5, \"group\": 'Body', \"label\": 'Flange height (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.7, \"min\": 0.1, \"max\": 2.1, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9df0_0572", "family": "plate", "tier": 1, "seed": 1177329136, "symmetry": "none", "op_count": 2, "ir_hash": "8aace99a6c236c91", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 2610.0, "surface_area": 1640.0, "principal_moments": [44200.0, 265000.0, 294000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 34.81 \u00d7 13.1 \u00d7 6 mm (W\u00d7D\u00d7H).", "Four \u00d82.6 mm holes at the corners, 24.367 \u00d7 9.17 mm spacing."], "text": "Rectangular body, 34.81 \u00d7 13.1 \u00d7 6 mm (W\u00d7D\u00d7H). Four \u00d82.6 mm holes at the corners, 24.367 \u00d7 9.17 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 34.81, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 13.1, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 6.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 2.6, "min": 2.0, "max": 2.9, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329136 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 34.81, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 13.1, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 2.6, \"min\": 2.0, \"max\": 2.9, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9df1_0573", "family": "plate", "tier": 1, "seed": 1177329137, "symmetry": "radial", "op_count": 2, "ir_hash": "4fbcb32d3fc4a3d8", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 41100.0, "surface_area": 11400.0, "principal_moments": [6560000.0, 25599999.999999996, 31199999.999999996], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Rectangular body, 85 \u00d7 42.6 \u00d7 12 mm (W\u00d7D\u00d7H).", "Eight \u00d86.4 mm holes on a \u00d851 mm bolt circle."], "text": "Rectangular body, 85 \u00d7 42.6 \u00d7 12 mm (W\u00d7D\u00d7H). Eight \u00d86.4 mm holes on a \u00d851 mm bolt circle."}, "params": {"plate_w": {"type": "float", "default": 85, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 42.6, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "bolt_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 25.5, "min": 17.0, "max": 38.2, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 8, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329137 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 85, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 42.6, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 25.5, \"min\": 17.0, \"max\": 38.2, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462c9df2_0574", "family": "sketched", "tier": 2, "seed": 1177329138, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "f6a324cb1f3530d4", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 29500.0, "surface_area": 5820.0, "principal_moments": [2820000.0, 7630000.0, 7630000.0], "n_faces": 7, "n_edges": 11, "n_vertices": 6}, "dimensions": {"lines": ["Revolved organic body from a freeform sketched section (7 segments: 2 straight, 2 arcs, 3 curves), ~15.855 \u00d7 50 mm half-silhouette."], "text": "Revolved organic body from a freeform sketched section (7 segments: 2 straight, 2 arcs, 3 curves), ~15.855 \u00d7 50 mm half-silhouette."}, "params": {"sk_r": {"type": "float", "default": 19.07, "min": 9.5, "max": 34.3, "step": 1.0, "group": "Sketch", "label": "Max radius (mm)"}, "sk_h": {"type": "float", "default": 50, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Sketch", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329138 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_r\": {\"type\": 'float', \"default\": 19.07, \"min\": 9.5, \"max\": 34.3, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Max radius (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 50, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XZ').moveTo(p[\"sk_r\"] * 0.8203, p[\"sk_h\"] * 0.0).bezier([(p[\"sk_r\"] * 0.8203, p[\"sk_h\"] * 0.0), (p[\"sk_r\"] * 0.6873, p[\"sk_h\"] * 0.1253), (p[\"sk_r\"] * 0.6808, p[\"sk_h\"] * 0.2506)]).bezier([(p[\"sk_r\"] * 0.6808, p[\"sk_h\"] * 0.2506), (p[\"sk_r\"] * 0.6406, p[\"sk_h\"] * 0.3482), (p[\"sk_r\"] * 0.6671, p[\"sk_h\"] * 0.4457)]).threePointArc((p[\"sk_r\"] * 0.7764, p[\"sk_h\"] * 0.5612), (p[\"sk_r\"] * 0.6535, p[\"sk_h\"] * 0.6766)).threePointArc((p[\"sk_r\"] * 0.751, p[\"sk_h\"] * 0.7449), (p[\"sk_r\"] * 0.8314, p[\"sk_h\"] * 0.8131)).bezier([(p[\"sk_r\"] * 0.8314, p[\"sk_h\"] * 0.8131), (p[\"sk_r\"] * 0.6314, p[\"sk_h\"] * 0.9066), (p[\"sk_r\"] * 0.6475, p[\"sk_h\"] * 1.0)]).lineTo(p[\"sk_r\"] * 0.0, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.0, p[\"sk_h\"] * 0.0).close().revolve())\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462c9df3_0575", "family": "revolved", "tier": 1, "seed": 1177329139, "symmetry": "none", "op_count": 2, "ir_hash": "aa049219ae6caeb9", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 252000.0, "surface_area": 44200.0, "principal_moments": [110000000.0, 463000000.0, 463000000.0], "n_faces": 5, "n_edges": 8, "n_vertices": 5}, "dimensions": {"lines": ["Revolved body, \u00d853.95 mm \u00d7 165.3 mm tall.", "Chamfer 0.7 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d853.95 mm \u00d7 165.3 mm tall. Chamfer 0.7 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 53.95, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 165.3, "min": 49.6, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "end_chamfer": {"type": "float", "default": 0.7, "min": 0.1, "max": 2.1, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329139 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 53.95, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 165.3, \"min\": 49.6, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.7, \"min\": 0.1, \"max\": 2.1, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9df4_0576", "family": "plate", "tier": 3, "seed": 1177329140, "symmetry": "mirror_x", "op_count": 4, "ir_hash": "99224bb93004f338", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 38300.0, "surface_area": 12100.0, "principal_moments": [8670000.0, 23999999.999999996, 31999999.999999996], "n_faces": 16, "n_edges": 39, "n_vertices": 26}, "dimensions": {"lines": ["Rectangular body, 88.2 \u00d7 52.4 \u00d7 8 mm (W\u00d7D\u00d7H).", "Four \u00d83.2 mm holes at the corners, 61.74 \u00d7 36.68 mm spacing.", "Fillet radius 2.806 mm on vertical edges.", "Boss \u00d816.8 mm \u00d7 7.6 mm tall on top face."], "text": "Rectangular body, 88.2 \u00d7 52.4 \u00d7 8 mm (W\u00d7D\u00d7H). Four \u00d83.2 mm holes at the corners, 61.74 \u00d7 36.68 mm spacing. Fillet radius 2.806 mm on vertical edges. Boss \u00d816.8 mm \u00d7 7.6 mm tall on top face."}, "params": {"plate_w": {"type": "float", "default": 88.2, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 52.4, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 11.8, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}, "boss_d": {"type": "float", "default": 16.8, "min": 8.4, "max": 33.6, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 7.6, "min": 3.0, "max": 19.0, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329140 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 88.2, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 52.4, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 11.8, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n    \"boss_d\": {\"type\": 'float', \"default\": 16.8, \"min\": 8.4, \"max\": 33.6, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 7.6, \"min\": 3.0, \"max\": 19.0, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"plate_w\"], p[\"plate_d\"]) * 0.053541855796492156)\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9df5_0577", "family": "plate", "tier": 1, "seed": 1177329141, "symmetry": "none", "op_count": 2, "ir_hash": "b03ec06477cee949", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 58000.0, "surface_area": 17600.0, "principal_moments": [33900000.0, 37100000.0, 70400000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 87.34 \u00d7 83.4 \u00d7 8 mm (W\u00d7D\u00d7H).", "Four \u00d83.2 mm holes at the corners, 61.138 \u00d7 58.38 mm spacing."], "text": "Rectangular body, 87.34 \u00d7 83.4 \u00d7 8 mm (W\u00d7D\u00d7H). Four \u00d83.2 mm holes at the corners, 61.138 \u00d7 58.38 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 87.34, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 83.4, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329141 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 87.34, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 83.4, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462c9df6_0578", "family": "lofted", "tier": 1, "seed": 1177329142, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "2d08bfccf01b0a66", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 48300.0, "surface_area": 9500.0, "principal_moments": [11599999.999999998, 11599999.999999998, 13199999.999999998], "n_faces": 8, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["Lofted body through 2 sections: 50.25 \u00d7 50.25 mm rectangular section \u2192 \u00d820.3 mm circular section.", "One \u00d88.4 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 2 sections: 50.25 \u00d7 50.25 mm rectangular section \u2192 \u00d820.3 mm circular section. One \u00d88.4 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 50.25, "min": 25.1, "max": 80.4, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 20.3, "min": 8.1, "max": 60.3, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 40.2, "min": 16.1, "max": 80.4, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_bore_d": {"type": "float", "default": 8.4, "min": 2.0, "max": 16.2, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329142 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 50.25, \"min\": 25.1, \"max\": 80.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 20.3, \"min\": 8.1, \"max\": 60.3, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 40.2, \"min\": 16.1, \"max\": 80.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 2.0, \"max\": 16.2, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .rect(p[\"loft_base\"], p[\"loft_base\"])\n        .workplane(offset=p[\"loft_h\"])\n        .circle(p[\"loft_top\"] / 2)\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462c9df7_0579", "family": "flanged", "tier": 1, "seed": 1177329143, "symmetry": "radial", "op_count": 2, "ir_hash": "70d57824068b5de7", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 327000.0, "surface_area": 58700.0, "principal_moments": [393000000.0, 393000000.0, 490000000.0], "n_faces": 12, "n_edges": 27, "n_vertices": 18}, "dimensions": {"lines": ["Revolved body, \u00d872.96 mm \u00d7 66.9 mm tall with \u00d826.6 mm bore, \u00d8153.6 mm \u00d7 6 mm flange.", "Six \u00d88.4 mm holes on a \u00d892.2 mm bolt circle."], "text": "Revolved body, \u00d872.96 mm \u00d7 66.9 mm tall with \u00d826.6 mm bore, \u00d8153.6 mm \u00d7 6 mm flange. Six \u00d88.4 mm holes on a \u00d892.2 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 72.96, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 66.9, "min": 20.1, "max": 167.2, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 26.6, "min": 2.0, "max": 51.1, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 153.6, "min": 94.8, "max": 218.9, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 6.0, "min": 1.8, "max": 26.8, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 8.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 46.1, "min": 30.7, "max": 69.1, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 6, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329143 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 72.96, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 66.9, \"min\": 20.1, \"max\": 167.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 26.6, \"min\": 2.0, \"max\": 51.1, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 153.6, \"min\": 94.8, \"max\": 218.9, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 6.0, \"min\": 1.8, \"max\": 26.8, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 46.1, \"min\": 30.7, \"max\": 69.1, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462c9df8_0580", "family": "bracket", "tier": 1, "seed": 1177329144, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "64b8ba21d46ca04d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 15200.0, "surface_area": 8960.0, "principal_moments": [2500000.0, 11499999.999999998, 11699999.999999998], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Z-bracket: base leg 50 mm, vertical leg 52.1 mm, top leg 33.4 mm, 30 mm wide, 4 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."], "text": "Z-bracket: base leg 50 mm, vertical leg 52.1 mm, top leg 33.4 mm, 30 mm wide, 4 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 50, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 52.1, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 30, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 4.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 33.4, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329144 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 50, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 52.1, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 30, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 33.4, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462c9dfa_0582", "family": "bracket", "tier": 1, "seed": 1177329146, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "97dce981fe39b52b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 25400.0, "surface_area": 18300.0, "principal_moments": [12899999.999999998, 32599999.999999996, 32999999.999999996], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["L-bracket: base leg 80 mm, vertical leg 80.5 mm, 54.19 mm wide, 3 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."], "text": "L-bracket: base leg 80 mm, vertical leg 80.5 mm, 54.19 mm wide, 3 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 80, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 80.5, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 54.19, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 3.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329146 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 80, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 80.5, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 54.19, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9dfb_0583", "family": "plate", "tier": 1, "seed": 1177329147, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "fb9d6637099f65b4", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 2060.0, "surface_area": 1860.0, "principal_moments": [44500.0, 342000.0, 383000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 45 \u00d7 16 \u00d7 3 mm (W\u00d7D\u00d7H).", "Four \u00d83.2 mm holes at the corners, 31.5 \u00d7 11.2 mm spacing."], "text": "Rectangular body, 45 \u00d7 16 \u00d7 3 mm (W\u00d7D\u00d7H). Four \u00d83.2 mm holes at the corners, 31.5 \u00d7 11.2 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 45, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 16.0, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 3.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 3.6, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329147 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 45, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 16.0, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 3.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 3.6, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462c9dfc_0584", "family": "ribbed", "tier": 1, "seed": 1177329148, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "b2f99da78678b6f2", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 35300.0, "surface_area": 18000.0, "principal_moments": [8720000.0, 15199999.999999998, 21600000.0], "n_faces": 54, "n_edges": 132, "n_vertices": 80}, "dimensions": {"lines": ["Rectangular body, 71.32 \u00d7 39.3 \u00d7 5 mm (W\u00d7D\u00d7H).", "Six ribs, 4.4 mm thick, 14.1 mm tall."], "text": "Rectangular body, 71.32 \u00d7 39.3 \u00d7 5 mm (W\u00d7D\u00d7H). Six ribs, 4.4 mm thick, 14.1 mm tall."}, "params": {"base_w": {"type": "float", "default": 71.32, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 39.3, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 5.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 6, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 14.1, "min": 5.6, "max": 28.2, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 4.4, "min": 1.0, "max": 11.0, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329148 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 71.32, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 39.3, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 6, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 14.1, \"min\": 5.6, \"max\": 28.2, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 4.4, \"min\": 1.0, \"max\": 11.0, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9dfd_0585", "family": "plate", "tier": 1, "seed": 1177329149, "symmetry": "none", "op_count": 2, "ir_hash": "3d031039b1cf429f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 13900.0, "surface_area": 5020.0, "principal_moments": [829000.0, 3990000.0, 4590000.0], "n_faces": 15, "n_edges": 39, "n_vertices": 26}, "dimensions": {"lines": ["Rectangular body, 57.62 \u00d7 24.7 \u00d7 10 mm (W\u00d7D\u00d7H).", "Nine \u00d82.1 mm holes in two staggered rows, 10.8 \u00d7 11.6 mm pitch."], "text": "Rectangular body, 57.62 \u00d7 24.7 \u00d7 10 mm (W\u00d7D\u00d7H). Nine \u00d82.1 mm holes in two staggered rows, 10.8 \u00d7 11.6 mm pitch."}, "params": {"plate_w": {"type": "float", "default": 57.62, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 24.7, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 2.1, "min": 2.0, "max": 2.5, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 5, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329149 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 57.62, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 24.7, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 2.1, \"min\": 2.0, \"max\": 2.5, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 5, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 10.8\n    _ssy = 11.6\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462c9dfe_0586", "family": "compound", "tier": 1, "seed": 1177329150, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "883df5cb9dd11e92", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 106000.0, "surface_area": 13900.0, "principal_moments": [20800000.0, 80200000.0, 80200000.0], "n_faces": 5, "n_edges": 6, "n_vertices": 4}, "dimensions": {"lines": ["\u00d842.28 mm circular section, extruded 57.2 mm thick.", "\u00d829.4 mm circular section attachment, 38.3 mm long, from top face."], "text": "\u00d842.28 mm circular section, extruded 57.2 mm thick. \u00d829.4 mm circular section attachment, 38.3 mm long, from top face."}, "params": {"shaft_d": {"type": "float", "default": 42.28, "min": 21.1, "max": 76.1, "step": 1.0, "group": "Body", "label": "Shaft diameter (mm)"}, "shaft_len": {"type": "float", "default": 57.2, "min": 22.9, "max": 114.4, "step": 1.0, "group": "Body", "label": "Shaft length (mm)"}, "step_d": {"type": "float", "default": 29.4, "min": 14.7, "max": 38.1, "step": 1.0, "group": "Step", "label": "Step diameter (mm)"}, "step_len": {"type": "float", "default": 38.3, "min": 11.5, "max": 95.8, "step": 1.0, "group": "Step", "label": "Step length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329150 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"shaft_d\": {\"type\": 'float', \"default\": 42.28, \"min\": 21.1, \"max\": 76.1, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft diameter (mm)'},\n    \"shaft_len\": {\"type\": 'float', \"default\": 57.2, \"min\": 22.9, \"max\": 114.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft length (mm)'},\n    \"step_d\": {\"type\": 'float', \"default\": 29.4, \"min\": 14.7, \"max\": 38.1, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step diameter (mm)'},\n    \"step_len\": {\"type\": 'float', \"default\": 38.3, \"min\": 11.5, \"max\": 95.8, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').circle(p[\"shaft_d\"] / 2).extrude(p[\"shaft_len\"]))\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"step_d\"] / 2).extrude(p[\"step_len\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462c9dff_0587", "family": "revolved", "tier": 1, "seed": 1177329151, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "2f6e457e36a7df8f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 49900.0, "surface_area": 15300.0, "principal_moments": [7200000.0, 32599999.999999996, 32599999.999999996], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d831.03 mm \u00d7 98.9 mm tall."], "text": "Revolved body, \u00d831.03 mm \u00d7 98.9 mm tall."}, "params": {"outer_d": {"type": "float", "default": 31.03, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 98.9, "min": 29.7, "max": 296.7, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329151 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 31.03, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 98.9, \"min\": 29.7, \"max\": 296.7, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462c9e00_0588", "family": "compound", "tier": 1, "seed": 1177329152, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "f09c4a0f1a778e1d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 292000.0, "surface_area": 27400.0, "principal_moments": [176000000.0, 235000000.0, 268000000.0], "n_faces": 10, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["Rectangular body, 81.56 \u00d7 65.2 \u00d7 54.4 mm (W\u00d7D\u00d7H).", "\u00d815.3 mm circular section attachment, 8.4 mm long, from right face.", "\u00d815.3 mm circular section attachment, 8.4 mm long, from front face."], "text": "Rectangular body, 81.56 \u00d7 65.2 \u00d7 54.4 mm (W\u00d7D\u00d7H). \u00d815.3 mm circular section attachment, 8.4 mm long, from right face. \u00d815.3 mm circular section attachment, 8.4 mm long, from front face."}, "params": {"block_w": {"type": "float", "default": 81.56, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body width (mm)"}, "block_d": {"type": "float", "default": 65.2, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body depth (mm)"}, "block_h": {"type": "float", "default": 54.4, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body height (mm)"}, "port_d": {"type": "float", "default": 15.3, "min": 6.1, "max": 24.5, "step": 1.0, "group": "Ports", "label": "Ports diameter (mm)"}, "port_len": {"type": "float", "default": 8.4, "min": 3.8, "max": 45.9, "step": 1.0, "group": "Ports", "label": "Port boss length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329152 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 81.56, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 65.2, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 54.4, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body height (mm)'},\n    \"port_d\": {\"type\": 'float', \"default\": 15.3, \"min\": 6.1, \"max\": 24.5, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Ports diameter (mm)'},\n    \"port_len\": {\"type\": 'float', \"default\": 8.4, \"min\": 3.8, \"max\": 45.9, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Port boss length (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462c9e01_0589", "family": "revolved", "tier": 0, "seed": 1177329153, "symmetry": "none", "op_count": 1, "ir_hash": "c6c9e8a73af512ec", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 615000.0, "surface_area": 80300.0, "principal_moments": [492000000.0, 2020000000.0, 2020000000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d873.02 mm \u00d7 220.3 mm tall."], "text": "Revolved body, \u00d873.02 mm \u00d7 220.3 mm tall."}, "params": {"outer_d": {"type": "float", "default": 73.02, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 220.3, "min": 66.1, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329153 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 73.02, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 220.3, \"min\": 66.1, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462c9e02_0590", "family": "bracket", "tier": 2, "seed": 1177329154, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "0577a8c0f201cb7d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 9760.0, "surface_area": 4860.0, "principal_moments": [1090000.0, 2010000.0, 2340000.0], "n_faces": 14, "n_edges": 37, "n_vertices": 24}, "dimensions": {"lines": ["L-bracket: base leg 37.89 mm, vertical leg 30 mm, 30 mm wide, 5 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 6.2 mm corner gusset."], "text": "L-bracket: base leg 37.89 mm, vertical leg 30 mm, 30 mm wide, 5 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 6.2 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 37.89, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 30.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 30, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 5.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 6.2, "min": 2.5, "max": 15.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329154 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 37.89, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 30.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 30, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 6.2, \"min\": 2.5, \"max\": 15.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462c9e03_0591", "family": "swept", "tier": 1, "seed": 1177329155, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "2e61d9e54c2a869b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 10800.0, "surface_area": 4630.0, "principal_moments": [1290000.0, 10500000.0, 11599999.999999998], "n_faces": 3, "n_edges": 3, "n_vertices": 2}, "dimensions": {"lines": ["\u00d811 mm circular section swept along a curved path, ~103.72 mm span."], "text": "\u00d811 mm circular section swept along a curved path, ~103.72 mm span."}, "params": {"path_w": {"type": "float", "default": 65.87, "min": 32.9, "max": 118.6, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 103.72, "min": 51.9, "max": 186.7, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_d": {"type": "float", "default": 11.0, "min": 5.5, "max": 19.8, "step": 1.0, "group": "Section", "label": "Section diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329155 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 65.87, \"min\": 32.9, \"max\": 118.6, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 103.72, \"min\": 51.9, \"max\": 186.7, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_d\": {\"type\": 'float', \"default\": 11.0, \"min\": 5.5, \"max\": 19.8, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.4428), (p[\"path_w\"] * 0.3385, p[\"path_h\"] * 0.534), (p[\"path_w\"] * 0.1031, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').circle(p[\"sweep_d\"] / 2).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462c9e04_0592", "family": "flanged", "tier": 3, "seed": 1177329156, "symmetry": "radial", "op_count": 3, "ir_hash": "12c1e3032d58c059", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 256000.0, "surface_area": 42000.0, "principal_moments": [241000000.0, 241000000.0, 295000000.0], "n_faces": 44, "n_edges": 114, "n_vertices": 67}, "dimensions": {"lines": ["Revolved body, \u00d867.53 mm \u00d7 61.6 mm tall with \u00d827.1 mm bore, \u00d8120.3 mm \u00d7 9.5 mm flange.", "Six \u00d86.4 mm holes on a \u00d872.2 mm bolt circle.", "Chamfer 0.7 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d867.53 mm \u00d7 61.6 mm tall with \u00d827.1 mm bore, \u00d8120.3 mm \u00d7 9.5 mm flange. Six \u00d86.4 mm holes on a \u00d872.2 mm bolt circle. Chamfer 0.7 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 67.53, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 61.6, "min": 18.5, "max": 154.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 27.1, "min": 2.0, "max": 47.3, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 120.3, "min": 87.8, "max": 202.6, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 9.5, "min": 2.9, "max": 24.6, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 36.1, "min": 24.1, "max": 54.1, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 6, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}, "end_chamfer": {"type": "float", "default": 0.7, "min": 0.1, "max": 2.0, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329156 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 67.53, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 61.6, \"min\": 18.5, \"max\": 154.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 27.1, \"min\": 2.0, \"max\": 47.3, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 120.3, \"min\": 87.8, \"max\": 202.6, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 9.5, \"min\": 2.9, \"max\": 24.6, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 36.1, \"min\": 24.1, \"max\": 54.1, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.7, \"min\": 0.1, \"max\": 2.0, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462c9e05_0593", "family": "lofted", "tier": 2, "seed": 1177329157, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "7759e75e79f16b33", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 53400.0, "surface_area": 12000.0, "principal_moments": [10300000.0, 22400000.0, 22400000.0], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["Lofted body through 3 sections: 6-sided polygon section, 50 mm across corners \u2192 6-sided polygon section, 37.1 mm across corners \u2192 24.3 \u00d7 24.3 mm rectangular section.", "One \u00d812.9 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 3 sections: 6-sided polygon section, 50 mm across corners \u2192 6-sided polygon section, 37.1 mm across corners \u2192 24.3 \u00d7 24.3 mm rectangular section. One \u00d812.9 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 50, "min": 25.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 24.3, "min": 9.7, "max": 60.0, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 64.0, "min": 25.6, "max": 128.0, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_mid": {"type": "float", "default": 37.1, "min": 12.2, "max": 60.0, "step": 1.0, "group": "Body", "label": "Mid size (mm)"}, "loft_bore_d": {"type": "float", "default": 12.9, "min": 2.0, "max": 19.4, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329157 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 50, \"min\": 25.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 24.3, \"min\": 9.7, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 64.0, \"min\": 25.6, \"max\": 128.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_mid\": {\"type\": 'float', \"default\": 37.1, \"min\": 12.2, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Mid size (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 12.9, \"min\": 2.0, \"max\": 19.4, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .polygon(6, p[\"loft_base\"] * 0.5 * 2)\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .polygon(6, p[\"loft_mid\"] * 0.5 * 2)\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .rect(p[\"loft_top\"], p[\"loft_top\"])\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462c9e06_0594", "family": "flanged", "tier": 1, "seed": 1177329158, "symmetry": "none", "op_count": 2, "ir_hash": "7d675ba870b9f7ee", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 188000.0, "surface_area": 32000.0, "principal_moments": [132000000.0, 132000000.0, 218000000.0], "n_faces": 13, "n_edges": 42, "n_vertices": 28}, "dimensions": {"lines": ["Revolved body, \u00d866.4 mm \u00d7 38.4 mm tall with \u00d820.4 mm bore, \u00d8110.9 mm \u00d7 11.7 mm flange.", "Four \u00d88.4 mm holes on a \u00d866.6 mm bolt circle."], "text": "Revolved body, \u00d866.4 mm \u00d7 38.4 mm tall with \u00d820.4 mm bore, \u00d8110.9 mm \u00d7 11.7 mm flange. Four \u00d88.4 mm holes on a \u00d866.6 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 66.4, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 38.4, "min": 11.5, "max": 96.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 20.4, "min": 2.0, "max": 46.5, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 110.9, "min": 86.3, "max": 199.2, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 11.7, "min": 3.5, "max": 15.4, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 8.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 33.3, "min": 22.2, "max": 49.9, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 4, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329158 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 66.4, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 38.4, \"min\": 11.5, \"max\": 96.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 20.4, \"min\": 2.0, \"max\": 46.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 110.9, \"min\": 86.3, \"max\": 199.2, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 11.7, \"min\": 3.5, \"max\": 15.4, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 33.3, \"min\": 22.2, \"max\": 49.9, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 4, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462c9e07_0595", "family": "sketched", "tier": 1, "seed": 1177329159, "symmetry": "none", "op_count": 1, "ir_hash": "4e035c38d40236bd", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 43500.0, "surface_area": 12200.0, "principal_moments": [10400000.0, 10400000.0, 16800000.0], "n_faces": 7, "n_edges": 12, "n_vertices": 7}, "dimensions": {"lines": ["Revolved organic body from a freeform sketched section (6 segments: 4 straight, 2 curves), ~30.669 \u00d7 24.46 mm half-silhouette."], "text": "Revolved organic body from a freeform sketched section (6 segments: 4 straight, 2 curves), ~30.669 \u00d7 24.46 mm half-silhouette."}, "params": {"sk_r": {"type": "float", "default": 43.19, "min": 21.6, "max": 77.7, "step": 1.0, "group": "Sketch", "label": "Max radius (mm)"}, "sk_h": {"type": "float", "default": 24.46, "min": 12.2, "max": 44.0, "step": 1.0, "group": "Sketch", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329159 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_r\": {\"type\": 'float', \"default\": 43.19, \"min\": 21.6, \"max\": 77.7, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Max radius (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 24.46, \"min\": 12.2, \"max\": 44.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XZ').moveTo(p[\"sk_r\"] * 0.5354, p[\"sk_h\"] * 0.0).bezier([(p[\"sk_r\"] * 0.5354, p[\"sk_h\"] * 0.0), (p[\"sk_r\"] * 0.4807, p[\"sk_h\"] * 0.131), (p[\"sk_r\"] * 0.3733, p[\"sk_h\"] * 0.262)]).bezier([(p[\"sk_r\"] * 0.3733, p[\"sk_h\"] * 0.262), (p[\"sk_r\"] * 0.4378, p[\"sk_h\"] * 0.2964), (p[\"sk_r\"] * 0.154, p[\"sk_h\"] * 0.3309)]).lineTo(p[\"sk_r\"] * 0.7996, p[\"sk_h\"] * 0.6603).lineTo(p[\"sk_r\"] * 0.5694, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.0895, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.0895, p[\"sk_h\"] * 0.0).close().revolve())\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462c9e08_0596", "family": "sketched", "tier": 0, "seed": 1177329160, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "21134f058af400fd", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 42700.0, "surface_area": 11800.0, "principal_moments": [9260000.0, 11200000.0, 11200000.0], "n_faces": 8, "n_edges": 13, "n_vertices": 7}, "dimensions": {"lines": ["Revolved organic body from a freeform sketched section (8 segments: 6 straight, 2 curves), ~29.284 \u00d7 47.41 mm half-silhouette."], "text": "Revolved organic body from a freeform sketched section (8 segments: 6 straight, 2 curves), ~29.284 \u00d7 47.41 mm half-silhouette."}, "params": {"sk_r": {"type": "float", "default": 43.32, "min": 21.7, "max": 78.0, "step": 1.0, "group": "Sketch", "label": "Max radius (mm)"}, "sk_h": {"type": "float", "default": 47.41, "min": 23.7, "max": 85.3, "step": 1.0, "group": "Sketch", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329160 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_r\": {\"type\": 'float', \"default\": 43.32, \"min\": 21.7, \"max\": 78.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Max radius (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 47.41, \"min\": 23.7, \"max\": 85.3, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XZ').moveTo(p[\"sk_r\"] * 0.3059, p[\"sk_h\"] * 0.0).lineTo(p[\"sk_r\"] * 0.668, p[\"sk_h\"] * 0.1837).bezier([(p[\"sk_r\"] * 0.668, p[\"sk_h\"] * 0.1837), (p[\"sk_r\"] * 0.5325, p[\"sk_h\"] * 0.1982), (p[\"sk_r\"] * 0.443, p[\"sk_h\"] * 0.2127)]).lineTo(p[\"sk_r\"] * 0.676, p[\"sk_h\"] * 0.3179).spline([(p[\"sk_r\"] * 0.676, p[\"sk_h\"] * 0.3179), (p[\"sk_r\"] * 0.4831, p[\"sk_h\"] * 0.3328), (p[\"sk_r\"] * 0.4028, p[\"sk_h\"] * 0.3477)]).lineTo(p[\"sk_r\"] * 0.178, p[\"sk_h\"] * 0.8168).lineTo(p[\"sk_r\"] * 0.4024, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.0, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.0, p[\"sk_h\"] * 0.0).close().revolve())\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462c9e09_0597", "family": "bracket", "tier": 1, "seed": 1177329161, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "b9c0707db40db8d4", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 4660.0, "surface_area": 3800.0, "principal_moments": [429000.0, 1360000.0, 1410000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["L-bracket: base leg 45 mm, vertical leg 32.2 mm, 21.8 mm wide, 3 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."], "text": "L-bracket: base leg 45 mm, vertical leg 32.2 mm, 21.8 mm wide, 3 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 45, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 32.2, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 21.8, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 3.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 8.7, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329161 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 45, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 32.2, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 21.8, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 8.7, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462c9e0a_0598", "family": "tapped", "tier": 0, "seed": 1177329162, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "8969aa2a15697fbd", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 4100.0, "surface_area": 2020.0, "principal_moments": [169000.0, 209000.0, 209000.0], "n_faces": 199, "n_edges": 543, "n_vertices": 346}, "dimensions": {"lines": ["One M5x0.8 tapped hole in a plate."], "text": "One M5x0.8 tapped hole in a plate."}, "params": {"major_d": {"type": "float", "default": 5.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 0.8, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 19.1, "min": 6.0, "max": 34.4, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "plate_w": {"type": "float", "default": 15.2, "min": 9.1, "max": 24.3, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 15.2, "min": 9.1, "max": 24.3, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329162 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 0.8, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 19.1, \"min\": 6.0, \"max\": 34.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"plate_w\": {\"type\": 'float', \"default\": 15.2, \"min\": 9.1, \"max\": 24.3, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 15.2, \"min\": 9.1, \"max\": 24.3, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n}\n\n\ndef build(p):\n\n    _W, _D, _H = p[\"plate_w\"], p[\"plate_d\"], p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Box(_W, _D, _H)\n    _locs = [(0.0, 0.0)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9e0b_0599", "family": "plate", "tier": 1, "seed": 1177329163, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "7f765f73e79ac790", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 7980.0, "surface_area": 3790.0, "principal_moments": [723000.0, 1170000.0, 1850000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 41.79 \u00d7 32.6 \u00d7 6 mm (W\u00d7D\u00d7H).", "Four \u00d83.2 mm holes at the corners, 29.253 \u00d7 22.82 mm spacing."], "text": "Rectangular body, 41.79 \u00d7 32.6 \u00d7 6 mm (W\u00d7D\u00d7H). Four \u00d83.2 mm holes at the corners, 29.253 \u00d7 22.82 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 41.79, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 32.6, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 6.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 7.3, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329163 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 41.79, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 32.6, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 7.3, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462c9e0c_0600", "family": "block", "tier": 1, "seed": 1177329164, "symmetry": "none", "op_count": 2, "ir_hash": "03388cf92ea9f2b1", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 1280.0, "surface_area": 1140.0, "principal_moments": [19300.0, 33400.0, 34700.0], "n_faces": 22, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 15.93 \u00d7 10.4 \u00d7 9.2 mm (W\u00d7D\u00d7H).", "Four 2.6 mm square holes at the corners, 11.151 \u00d7 7.28 mm spacing."], "text": "Rectangular body, 15.93 \u00d7 10.4 \u00d7 9.2 mm (W\u00d7D\u00d7H). Four 2.6 mm square holes at the corners, 11.151 \u00d7 7.28 mm spacing."}, "params": {"block_w": {"type": "float", "default": 15.93, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 10.4, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 9.2, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 2.6, "min": 2.0, "max": 3.0, "step": 0.5, "group": "Holes", "label": "Square hole size (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329164 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 15.93, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 10.4, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 9.2, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 2.6, \"min\": 2.0, \"max\": 3.0, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Square hole size (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().rect(p[\"hole_d\"], p[\"hole_d\"]).cutThruAll()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9e0d_0601", "family": "plate", "tier": 0, "seed": 1177329165, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "bb953ab8cd9fc540", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 18700.0, "surface_area": 6440.0, "principal_moments": [1420000.0, 10200000.0, 11399999.999999998], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 80.46 \u00d7 29.1 \u00d7 8 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 80.46 \u00d7 29.1 \u00d7 8 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 80.46, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 29.1, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329165 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 80.46, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 29.1, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462c9e0e_0602", "family": "bracket", "tier": 1, "seed": 1177329166, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "6061f0a28c31fd3b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 66500.0, "surface_area": 20100.0, "principal_moments": [32099999.999999996, 70200000.0, 78300000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["L-bracket: base leg 85.18 mm, vertical leg 62.2 mm, 60 mm wide, 8 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."], "text": "L-bracket: base leg 85.18 mm, vertical leg 62.2 mm, 60 mm wide, 8 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 85.18, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 62.2, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 60.0, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 8.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329166 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 85.18, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 62.2, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 60.0, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462c9e0f_0603", "family": "threaded", "tier": 0, "seed": 1177329167, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "f0c18ed2d02e62a6", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 5680.0, "surface_area": 3520.0, "principal_moments": [86400.0, 1760000.0, 1760000.0], "n_faces": 350, "n_edges": 900, "n_vertices": 552}, "dimensions": {"lines": ["M12x1.75 external thread, 60.4 mm long."], "text": "M12x1.75 external thread, 60.4 mm long."}, "params": {"major_d": {"type": "float", "default": 12.0, "min": 4.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Major diameter (mm)"}, "pitch": {"type": "float", "default": 1.75, "min": 0.88, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Pitch (mm)"}, "thread_len": {"type": "float", "default": 60.4, "min": 24.2, "max": 120.8, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329167 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 12.0, \"min\": 4.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Major diameter (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.75, \"min\": 0.88, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Pitch (mm)'},\n    \"thread_len\": {\"type\": 'float', \"default\": 60.4, \"min\": 24.2, \"max\": 120.8, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.IsoThread(major_diameter=p[\"major_d\"], pitch=p[\"pitch\"], length=p[\"thread_len\"], external=True, end_finishes=(\"fade\", \"fade\"))\n    _r = _thr.min_radius if hasattr(_thr, 'min_radius') else _thr.root_radius\n    _shank = _bd.Cylinder(radius=_r, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = _shank + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462c9e10_0604", "family": "gear", "tier": 2, "seed": 1177329168, "symmetry": "none", "op_count": 1, "ir_hash": "140d8bce271f8e2b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 6910.0, "surface_area": 3200.0, "principal_moments": [431000.0, 431000.0, 682000.0], "n_faces": 147, "n_edges": 363, "n_vertices": 218}, "dimensions": {"lines": ["Helical gear, module 2 mm, 12 teeth (pitch \u00d824 mm), face width 12.5 mm, 20.4\u00b0 helix (herringbone), \u00d84.5 mm bore."], "text": "Helical gear, module 2 mm, 12 teeth (pitch \u00d824 mm), face width 12.5 mm, 20.4\u00b0 helix (herringbone), \u00d84.5 mm bore."}, "params": {"module": {"type": "float", "default": 2.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 12, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 12.5, "min": 5.0, "max": 31.2, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "helix_angle": {"type": "float", "default": 20.4, "min": 5.0, "max": 40.0, "step": 1.0, "group": "Gear", "label": "Helix angle (deg)"}, "profile_shift": {"type": "float", "default": 0.41, "min": -0.5, "max": 0.7, "step": 0.05, "group": "Gear", "label": "Profile shift"}, "root_fillet": {"type": "float", "default": 0.4, "min": 0.0, "max": 1.0, "step": 0.05, "group": "Gear", "label": "Root fillet (mm)"}, "bore_d": {"type": "float", "default": 4.5, "min": 2.0, "max": 11.4, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329168 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 2.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 12, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 12.5, \"min\": 5.0, \"max\": 31.2, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"helix_angle\": {\"type\": 'float', \"default\": 20.4, \"min\": 5.0, \"max\": 40.0, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Helix angle (deg)'},\n    \"profile_shift\": {\"type\": 'float', \"default\": 0.41, \"min\": -0.5, \"max\": 0.7, \"step\": 0.05, \"group\": 'Gear', \"label\": 'Profile shift'},\n    \"root_fillet\": {\"type\": 'float', \"default\": 0.4, \"min\": 0.0, \"max\": 1.0, \"step\": 0.05, \"group\": 'Gear', \"label\": 'Root fillet (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 4.5, \"min\": 2.0, \"max\": 11.4, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.HelicalGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"], helix_angle=math.radians(p[\"helix_angle\"]), herringbone=True, profile_shift=p[\"profile_shift\"], root_fillet=p[\"root_fillet\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462c9e11_0605", "family": "bracket", "tier": 1, "seed": 1177329169, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "6bdea7ce4e7725af", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 28100.0, "surface_area": 12100.0, "principal_moments": [5640000.0, 45100000.0, 47699999.99999999], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Z-bracket: base leg 81.15 mm, vertical leg 58.4 mm, top leg 61.5 mm, 25 mm wide, 6 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."], "text": "Z-bracket: base leg 81.15 mm, vertical leg 58.4 mm, top leg 61.5 mm, 25 mm wide, 6 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 81.15, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 58.4, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 25, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 6.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 61.5, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329169 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 81.15, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 58.4, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 25, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 61.5, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462c9e12_0606", "family": "revolved", "tier": 2, "seed": 1177329170, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "e6db3bf18b3b4f56", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 648.0, "surface_area": 688.0, "principal_moments": [11300.0, 13100.0, 13100.0], "n_faces": 8, "n_edges": 14, "n_vertices": 8}, "dimensions": {"lines": ["Revolved body, \u00d810.25 mm \u00d7 12.2 mm tall with \u00d85.9 mm bore.", "Chamfer 0.7 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d810.25 mm \u00d7 12.2 mm tall with \u00d85.9 mm bore. Chamfer 0.7 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 10.25, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 12.2, "min": 3.7, "max": 36.6, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 5.9, "min": 2.0, "max": 7.2, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "end_chamfer": {"type": "float", "default": 0.7, "min": 0.1, "max": 2.1, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329170 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 10.25, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 12.2, \"min\": 3.7, \"max\": 36.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 5.9, \"min\": 2.0, \"max\": 7.2, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.7, \"min\": 0.1, \"max\": 2.1, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462c9e13_0607", "family": "threaded", "tier": 0, "seed": 1177329171, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "9c7f8bfb770887bb", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 301.0, "surface_area": 456.0, "principal_moments": [781.0, 9150.0, 9150.0], "n_faces": 240, "n_edges": 614, "n_vertices": 376}, "dimensions": {"lines": ["M5x0.8 external thread, 18.8 mm long."], "text": "M5x0.8 external thread, 18.8 mm long."}, "params": {"major_d": {"type": "float", "default": 5.0, "min": 4.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Major diameter (mm)"}, "pitch": {"type": "float", "default": 0.8, "min": 0.4, "max": 1.6, "step": 0.05, "group": "Thread", "label": "Pitch (mm)"}, "thread_len": {"type": "float", "default": 18.8, "min": 7.5, "max": 37.6, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329171 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 5.0, \"min\": 4.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Major diameter (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 0.8, \"min\": 0.4, \"max\": 1.6, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Pitch (mm)'},\n    \"thread_len\": {\"type\": 'float', \"default\": 18.8, \"min\": 7.5, \"max\": 37.6, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.IsoThread(major_diameter=p[\"major_d\"], pitch=p[\"pitch\"], length=p[\"thread_len\"], external=True, end_finishes=(\"fade\", \"fade\"))\n    _r = _thr.min_radius if hasattr(_thr, 'min_radius') else _thr.root_radius\n    _shank = _bd.Cylinder(radius=_r, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = _shank + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462c9e14_0608", "family": "flanged", "tier": 1, "seed": 1177329172, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "3b28d9a7d683840a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 96300.0, "surface_area": 24100.0, "principal_moments": [53799999.99999999, 53799999.99999999, 92699999.99999999], "n_faces": 18, "n_edges": 45, "n_vertices": 30}, "dimensions": {"lines": ["Revolved body, \u00d850 mm \u00d7 31.6 mm tall with \u00d823.6 mm bore, \u00d898.4 mm \u00d7 8.8 mm flange.", "Twelve \u00d84.3 mm holes on a \u00d859 mm bolt circle."], "text": "Revolved body, \u00d850 mm \u00d7 31.6 mm tall with \u00d823.6 mm bore, \u00d898.4 mm \u00d7 8.8 mm flange. Twelve \u00d84.3 mm holes on a \u00d859 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 50, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 31.6, "min": 9.5, "max": 79.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 23.6, "min": 2.0, "max": 35.0, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 98.4, "min": 65.0, "max": 150.0, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 8.8, "min": 2.6, "max": 12.6, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 29.5, "min": 19.7, "max": 44.3, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 12, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329172 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 50, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 31.6, \"min\": 9.5, \"max\": 79.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 23.6, \"min\": 2.0, \"max\": 35.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 98.4, \"min\": 65.0, \"max\": 150.0, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 8.8, \"min\": 2.6, \"max\": 12.6, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 29.5, \"min\": 19.7, \"max\": 44.3, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 12, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462c9e15_0609", "family": "revolved", "tier": 1, "seed": 1177329173, "symmetry": "none", "op_count": 1, "ir_hash": "8545c8b2e989ec06", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 147000.0, "surface_area": 24800.0, "principal_moments": [34100000.0, 226000000.0, 226000000.0], "n_faces": 4, "n_edges": 6, "n_vertices": 4}, "dimensions": {"lines": ["Revolved body, \u00d840.54 mm \u00d7 130.5 mm tall with \u00d814.4 mm bore."], "text": "Revolved body, \u00d840.54 mm \u00d7 130.5 mm tall with \u00d814.4 mm bore."}, "params": {"outer_d": {"type": "float", "default": 40.54, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 130.5, "min": 39.1, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 14.4, "min": 2.0, "max": 28.4, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329173 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 40.54, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 130.5, \"min\": 39.1, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 14.4, \"min\": 2.0, \"max\": 28.4, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9e16_0610", "family": "plate", "tier": 2, "seed": 1177329174, "symmetry": "none", "op_count": 3, "ir_hash": "611c534f8666f0e2", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 78700.0, "surface_area": 23400.0, "principal_moments": [53999999.99999999, 79300000.0, 132000000.0], "n_faces": 17, "n_edges": 45, "n_vertices": 30}, "dimensions": {"lines": ["Rectangular body, 109.87 \u00d7 90.4 \u00d7 8 mm (W\u00d7D\u00d7H).", "Seven \u00d83.2 mm holes in two staggered rows, 27.5 \u00d7 22.4 mm pitch.", "Fillet radius 6.16 mm on vertical edges."], "text": "Rectangular body, 109.87 \u00d7 90.4 \u00d7 8 mm (W\u00d7D\u00d7H). Seven \u00d83.2 mm holes in two staggered rows, 27.5 \u00d7 22.4 mm pitch. Fillet radius 6.16 mm on vertical edges."}, "params": {"plate_w": {"type": "float", "default": 109.87, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 90.4, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 9.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 4, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329174 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 109.87, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 90.4, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 9.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 4, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 27.5\n    _ssy = 22.4\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"plate_w\"], p[\"plate_d\"]) * 0.06814566220395743)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462c9e17_0611", "family": "compound", "tier": 1, "seed": 1177329175, "symmetry": "none", "op_count": 2, "ir_hash": "b622d434789b9e02", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 6980.0, "surface_area": 3960.0, "principal_moments": [220000.0, 1750000.0, 1750000.0], "n_faces": 6, "n_edges": 9, "n_vertices": 6}, "dimensions": {"lines": ["\u00d815.86 mm circular section, extruded 32.6 mm thick.", "\u00d89.6 mm circular section attachment, 29.2 mm long, from top face with a \u00d85.7 mm bore."], "text": "\u00d815.86 mm circular section, extruded 32.6 mm thick. \u00d89.6 mm circular section attachment, 29.2 mm long, from top face with a \u00d85.7 mm bore."}, "params": {"shaft_d": {"type": "float", "default": 15.86, "min": 7.9, "max": 28.5, "step": 1.0, "group": "Body", "label": "Shaft diameter (mm)"}, "shaft_len": {"type": "float", "default": 32.6, "min": 13.0, "max": 65.2, "step": 1.0, "group": "Body", "label": "Shaft length (mm)"}, "step_d": {"type": "float", "default": 9.6, "min": 4.8, "max": 14.3, "step": 1.0, "group": "Step", "label": "Step diameter (mm)"}, "step_len": {"type": "float", "default": 29.2, "min": 8.8, "max": 73.0, "step": 1.0, "group": "Step", "label": "Step length (mm)"}, "axial_bore": {"type": "float", "default": 5.7, "min": 2.0, "max": 6.9, "step": 0.5, "group": "Bore", "label": "Axial bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329175 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"shaft_d\": {\"type\": 'float', \"default\": 15.86, \"min\": 7.9, \"max\": 28.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft diameter (mm)'},\n    \"shaft_len\": {\"type\": 'float', \"default\": 32.6, \"min\": 13.0, \"max\": 65.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft length (mm)'},\n    \"step_d\": {\"type\": 'float', \"default\": 9.6, \"min\": 4.8, \"max\": 14.3, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step diameter (mm)'},\n    \"step_len\": {\"type\": 'float', \"default\": 29.2, \"min\": 8.8, \"max\": 73.0, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step length (mm)'},\n    \"axial_bore\": {\"type\": 'float', \"default\": 5.7, \"min\": 2.0, \"max\": 6.9, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Axial bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').circle(p[\"shaft_d\"] / 2).extrude(p[\"shaft_len\"]))\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"step_d\"] / 2).extrude(p[\"step_len\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"axial_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462c9e18_0612", "family": "profiled", "tier": 0, "seed": 1177329176, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "58d0612813d31e39", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 323000.0, "surface_area": 37400.0, "principal_moments": [55799999.99999999, 2450000000.0, 2450000000.0], "n_faces": 8, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["freeform sketched section (6 segments: 1 straight, 1 arc, 4 curves), ~39.6 \u00d7 35.122 mm, extruded 300 mm thick."], "text": "freeform sketched section (6 segments: 1 straight, 1 arc, 4 curves), ~39.6 \u00d7 35.122 mm, extruded 300 mm thick."}, "params": {"sk_w": {"type": "float", "default": 54.41, "min": 27.2, "max": 97.9, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 46.55, "min": 23.3, "max": 83.8, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "length": {"type": "float", "default": 300.0, "min": 90.0, "max": 900.0, "step": 5.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329176 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 54.41, \"min\": 27.2, \"max\": 97.9, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 46.55, \"min\": 23.3, \"max\": 83.8, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 300.0, \"min\": 90.0, \"max\": 900.0, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.3575, p[\"sk_h\"] * 0.0464).spline([(p[\"sk_w\"] * 0.3575, p[\"sk_h\"] * 0.0464), (p[\"sk_w\"] * 0.2967, p[\"sk_h\"] * 0.1849), (p[\"sk_w\"] * 0.2082, p[\"sk_h\"] * 0.3076)]).lineTo(p[\"sk_w\"] * -0.1175, p[\"sk_h\"] * 0.3754).spline([(p[\"sk_w\"] * -0.1175, p[\"sk_h\"] * 0.3754), (p[\"sk_w\"] * -0.2792, p[\"sk_h\"] * 0.2729), (p[\"sk_w\"] * -0.3703, p[\"sk_h\"] * 0.1045)]).spline([(p[\"sk_w\"] * -0.3703, p[\"sk_h\"] * 0.1045), (p[\"sk_w\"] * -0.3153, p[\"sk_h\"] * -0.1669), (p[\"sk_w\"] * -0.1375, p[\"sk_h\"] * -0.3791)]).spline([(p[\"sk_w\"] * -0.1375, p[\"sk_h\"] * -0.3791), (p[\"sk_w\"] * 0.0184, p[\"sk_h\"] * -0.3933), (p[\"sk_w\"] * 0.1599, p[\"sk_h\"] * -0.3263)]).threePointArc((p[\"sk_w\"] * 0.2998, p[\"sk_h\"] * -0.1674), (p[\"sk_w\"] * 0.3575, p[\"sk_h\"] * 0.0464)).close().extrude(p[\"length\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462c9e19_0613", "family": "gear", "tier": 1, "seed": 1177329177, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "c1a3d1cb4d8be3e0", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 76000.0, "surface_area": 17200.0, "principal_moments": [28299999.999999996, 28299999.999999996, 51699999.99999999], "n_faces": 111, "n_edges": 327, "n_vertices": 218}, "dimensions": {"lines": ["Spur gear, module 4 mm, 18 teeth (pitch \u00d872 mm), face width 19.6 mm, \u00d812 mm bore."], "text": "Spur gear, module 4 mm, 18 teeth (pitch \u00d872 mm), face width 19.6 mm, \u00d812 mm bore."}, "params": {"module": {"type": "float", "default": 4.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 18, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 19.6, "min": 7.8, "max": 49.0, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "bore_d": {"type": "float", "default": 12.0, "min": 2.0, "max": 37.2, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329177 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 4.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 18, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 19.6, \"min\": 7.8, \"max\": 49.0, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 37.2, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462c9e1a_0614", "family": "ribbed", "tier": 1, "seed": 1177329178, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "85816cbe814e8f7f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 40600.0, "surface_area": 22800.0, "principal_moments": [19000000.0, 28899999.999999996, 46999999.99999999], "n_faces": 54, "n_edges": 132, "n_vertices": 80}, "dimensions": {"lines": ["Rectangular body, 94.14 \u00d7 72.8 \u00d7 3 mm (W\u00d7D\u00d7H).", "Six ribs, 5.4 mm thick, 8.2 mm tall."], "text": "Rectangular body, 94.14 \u00d7 72.8 \u00d7 3 mm (W\u00d7D\u00d7H). Six ribs, 5.4 mm thick, 8.2 mm tall."}, "params": {"base_w": {"type": "float", "default": 94.14, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 72.8, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 3.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 6, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 8.2, "min": 3.3, "max": 16.4, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 5.4, "min": 1.0, "max": 13.5, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329178 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 94.14, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 72.8, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 6, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 8.2, \"min\": 3.3, \"max\": 16.4, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 5.4, \"min\": 1.0, \"max\": 13.5, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9e1b_0615", "family": "plate", "tier": 2, "seed": 1177329179, "symmetry": "none", "op_count": 3, "ir_hash": "bf6657a2389efb4f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 48800.0, "surface_area": 13500.0, "principal_moments": [11599999.999999998, 36400000.0, 47199999.99999999], "n_faces": 14, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 95 \u00d7 53 \u00d7 10 mm (W\u00d7D\u00d7H).", "Four \u00d86.4 mm holes at the corners, 66.5 \u00d7 37.1 mm spacing.", "Chamfer 3.3 mm on vertical edges."], "text": "Rectangular body, 95 \u00d7 53 \u00d7 10 mm (W\u00d7D\u00d7H). Four \u00d86.4 mm holes at the corners, 66.5 \u00d7 37.1 mm spacing. Chamfer 3.3 mm on vertical edges."}, "params": {"plate_w": {"type": "float", "default": 95, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 53.0, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 11.9, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "chamfer_d": {"type": "float", "default": 3.3, "min": 2.1, "max": 3.6, "step": 0.5, "group": "Body", "label": "Chamfer distance (mm)"}, "chamfered": {"type": "bool", "default": true, "group": "Body", "label": "Chamfer edges"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329179 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 95, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 53.0, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 11.9, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"chamfer_d\": {\"type\": 'float', \"default\": 3.3, \"min\": 2.1, \"max\": 3.6, \"step\": 0.5, \"group\": 'Body', \"label\": 'Chamfer distance (mm)'},\n    \"chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Chamfer edges'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"chamfered\"]:\n        result = result.edges('|Z').chamfer(p[\"chamfer_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462c9e1c_0616", "family": "swept", "tier": 0, "seed": 1177329180, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "e8a148901f0d1ce9", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 9570.0, "surface_area": 3970.0, "principal_moments": [210000.0, 5980000.0, 6050000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["15.5 \u00d7 9.4 mm rectangular section swept along a curved path, ~81.32 mm span."], "text": "15.5 \u00d7 9.4 mm rectangular section swept along a curved path, ~81.32 mm span."}, "params": {"path_w": {"type": "float", "default": 72.13, "min": 36.1, "max": 129.8, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 81.32, "min": 40.7, "max": 146.4, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_a": {"type": "float", "default": 15.5, "min": 7.8, "max": 27.9, "step": 1.0, "group": "Section", "label": "Section width (mm)"}, "sweep_b": {"type": "float", "default": 9.4, "min": 4.7, "max": 16.9, "step": 1.0, "group": "Section", "label": "Section depth (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329180 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 72.13, \"min\": 36.1, \"max\": 129.8, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 81.32, \"min\": 40.7, \"max\": 146.4, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_a\": {\"type\": 'float', \"default\": 15.5, \"min\": 7.8, \"max\": 27.9, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section width (mm)'},\n    \"sweep_b\": {\"type\": 'float', \"default\": 9.4, \"min\": 4.7, \"max\": 16.9, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section depth (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.1819, p[\"path_h\"] * 0.4258), (p[\"path_w\"] * 0.2196, p[\"path_h\"] * 0.6851), (p[\"path_w\"] * 0.3693, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').rect(p[\"sweep_a\"], p[\"sweep_b\"]).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462c9e1d_0617", "family": "sketched", "tier": 2, "seed": 1177329181, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "da2acc08d8c33470", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 48900.0, "surface_area": 9190.0, "principal_moments": [7650000.0, 18700000.0, 18700000.0], "n_faces": 8, "n_edges": 13, "n_vertices": 7}, "dimensions": {"lines": ["Revolved organic body from a freeform sketched section (8 segments: 3 straight, 1 arc, 4 curves), ~18.822 \u00d7 63.29 mm half-silhouette."], "text": "Revolved organic body from a freeform sketched section (8 segments: 3 straight, 1 arc, 4 curves), ~18.822 \u00d7 63.29 mm half-silhouette."}, "params": {"sk_r": {"type": "float", "default": 20, "min": 10.0, "max": 36.0, "step": 1.0, "group": "Sketch", "label": "Max radius (mm)"}, "sk_h": {"type": "float", "default": 63.29, "min": 31.6, "max": 113.9, "step": 1.0, "group": "Sketch", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329181 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_r\": {\"type\": 'float', \"default\": 20, \"min\": 10.0, \"max\": 36.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Max radius (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 63.29, \"min\": 31.6, \"max\": 113.9, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XZ').moveTo(p[\"sk_r\"] * 0.3021, p[\"sk_h\"] * 0.0).bezier([(p[\"sk_r\"] * 0.3021, p[\"sk_h\"] * 0.0), (p[\"sk_r\"] * 0.7112, p[\"sk_h\"] * 0.0985), (p[\"sk_r\"] * 0.9379, p[\"sk_h\"] * 0.1969)]).spline([(p[\"sk_r\"] * 0.9379, p[\"sk_h\"] * 0.1969), (p[\"sk_r\"] * 1.0572, p[\"sk_h\"] * 0.3408), (p[\"sk_r\"] * 0.8679, p[\"sk_h\"] * 0.4848)]).bezier([(p[\"sk_r\"] * 0.8679, p[\"sk_h\"] * 0.4848), (p[\"sk_r\"] * 0.6119, p[\"sk_h\"] * 0.5145), (p[\"sk_r\"] * 0.2445, p[\"sk_h\"] * 0.5442)]).threePointArc((p[\"sk_r\"] * 0.5793, p[\"sk_h\"] * 0.6789), (p[\"sk_r\"] * 0.8981, p[\"sk_h\"] * 0.8135)).lineTo(p[\"sk_r\"] * 0.6321, p[\"sk_h\"] * 0.8872).bezier([(p[\"sk_r\"] * 0.6321, p[\"sk_h\"] * 0.8872), (p[\"sk_r\"] * 0.7487, p[\"sk_h\"] * 0.9436), (p[\"sk_r\"] * 0.9411, p[\"sk_h\"] * 1.0)]).lineTo(p[\"sk_r\"] * 0.0, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.0, p[\"sk_h\"] * 0.0).close().revolve())\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462c9e1e_0618", "family": "bracket", "tier": 1, "seed": 1177329182, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "40d263df840dbbfd", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 13600.0, "surface_area": 7230.0, "principal_moments": [3180000.0, 11799999.999999998, 13999999.999999998], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["L-bracket: base leg 66.02 mm, vertical leg 78.2 mm, 20 mm wide, 5 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."], "text": "L-bracket: base leg 66.02 mm, vertical leg 78.2 mm, 20 mm wide, 5 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 66.02, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 78.2, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 20, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 5.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 8.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329182 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 66.02, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 78.2, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 20, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 8.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462c9e1f_0619", "family": "enclosure", "tier": 1, "seed": 1177329183, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "3486b8b83ed78509", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 9030.0, "surface_area": 6060.0, "principal_moments": [791000.0, 2230000.0, 2380000.0], "n_faces": 11, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 45 \u00d7 20.3 \u00d7 19.4 mm (W\u00d7D\u00d7H).", "Hollowed to 3.2 mm wall thickness, open at top face."], "text": "Rectangular body, 45 \u00d7 20.3 \u00d7 19.4 mm (W\u00d7D\u00d7H). Hollowed to 3.2 mm wall thickness, open at top face."}, "params": {"enc_w": {"type": "float", "default": 45, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 20.3, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 19.4, "min": 7.8, "max": 38.8, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 3.2, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329183 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 45, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 20.3, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 19.4, \"min\": 7.8, \"max\": 38.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462c9e20_0620", "family": "gear", "tier": 2, "seed": 1177329184, "symmetry": "none", "op_count": 1, "ir_hash": "bdcd60df80316949", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 4460.0, "surface_area": 2800.0, "principal_moments": [315000.0, 315000.0, 607000.0], "n_faces": 155, "n_edges": 459, "n_vertices": 306}, "dimensions": {"lines": ["Helical gear, module 1.5 mm, 19 teeth (pitch \u00d828.5 mm), face width 5.5 mm, 29.9\u00b0 helix, \u00d83.6 mm bore."], "text": "Helical gear, module 1.5 mm, 19 teeth (pitch \u00d828.5 mm), face width 5.5 mm, 29.9\u00b0 helix, \u00d83.6 mm bore."}, "params": {"module": {"type": "float", "default": 1.5, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 19, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 5.5, "min": 2.2, "max": 13.8, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "helix_angle": {"type": "float", "default": 29.9, "min": 5.0, "max": 40.0, "step": 1.0, "group": "Gear", "label": "Helix angle (deg)"}, "profile_shift": {"type": "float", "default": -0.11, "min": -0.5, "max": 0.7, "step": 0.05, "group": "Gear", "label": "Profile shift"}, "root_fillet": {"type": "float", "default": 0.21, "min": 0.0, "max": 0.75, "step": 0.05, "group": "Gear", "label": "Root fillet (mm)"}, "bore_d": {"type": "float", "default": 3.6, "min": 2.0, "max": 14.8, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329184 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 1.5, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 19, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 5.5, \"min\": 2.2, \"max\": 13.8, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"helix_angle\": {\"type\": 'float', \"default\": 29.9, \"min\": 5.0, \"max\": 40.0, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Helix angle (deg)'},\n    \"profile_shift\": {\"type\": 'float', \"default\": -0.11, \"min\": -0.5, \"max\": 0.7, \"step\": 0.05, \"group\": 'Gear', \"label\": 'Profile shift'},\n    \"root_fillet\": {\"type\": 'float', \"default\": 0.21, \"min\": 0.0, \"max\": 0.75, \"step\": 0.05, \"group\": 'Gear', \"label\": 'Root fillet (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 3.6, \"min\": 2.0, \"max\": 14.8, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.HelicalGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"], helix_angle=math.radians(p[\"helix_angle\"]), herringbone=False, profile_shift=p[\"profile_shift\"], root_fillet=p[\"root_fillet\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462c9e21_0621", "family": "bracket", "tier": 3, "seed": 1177329185, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "3ad682d2d7abd3ac", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 9230.0, "surface_area": 5250.0, "principal_moments": [717000.0, 3830000.0, 3990000.0], "n_faces": 22, "n_edges": 78, "n_vertices": 48}, "dimensions": {"lines": ["Z-bracket: base leg 35 mm, vertical leg 38.7 mm, top leg 34.8 mm, 18.92 mm wide, 5 mm thick; 2 \u00d7 \u00d85.3 mm holes per leg; 4.4 mm corner gusset."], "text": "Z-bracket: base leg 35 mm, vertical leg 38.7 mm, top leg 34.8 mm, 18.92 mm wide, 5 mm thick; 2 \u00d7 \u00d85.3 mm holes per leg; 4.4 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 35, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 38.7, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 18.92, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 5.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 34.8, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 7.6, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 2, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}, "gusset_t": {"type": "float", "default": 4.4, "min": 2.5, "max": 9.5, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329185 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 35, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 38.7, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 18.92, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 34.8, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 7.6, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 2, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 4.4, \"min\": 2.5, \"max\": 9.5, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _tl, _vl) * 0.4 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(0, _vl - _bt).lineTo(-_g, _vl - _bt)\n                    .lineTo(0, _vl - _bt - _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462c9e22_0622", "family": "lofted", "tier": 2, "seed": 1177329186, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "45db04c56cc83fe3", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 37700.0, "surface_area": 8960.0, "principal_moments": [8000000.0, 8010000.0, 10400000.0], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["Lofted body through 3 sections: 49.54 \u00d7 49.54 mm rectangular section \u2192 6-sided polygon section, 43.9 mm across corners \u2192 6-sided polygon section, 38.2 mm across corners.", "One \u00d813.7 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 3 sections: 49.54 \u00d7 49.54 mm rectangular section \u2192 6-sided polygon section, 43.9 mm across corners \u2192 6-sided polygon section, 38.2 mm across corners. One \u00d813.7 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 49.54, "min": 24.8, "max": 79.3, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 38.2, "min": 15.3, "max": 59.4, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 30.1, "min": 12.0, "max": 60.2, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_mid": {"type": "float", "default": 43.9, "min": 19.1, "max": 59.4, "step": 1.0, "group": "Body", "label": "Mid size (mm)"}, "loft_bore_d": {"type": "float", "default": 13.7, "min": 2.0, "max": 30.6, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329186 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 49.54, \"min\": 24.8, \"max\": 79.3, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 38.2, \"min\": 15.3, \"max\": 59.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 30.1, \"min\": 12.0, \"max\": 60.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_mid\": {\"type\": 'float', \"default\": 43.9, \"min\": 19.1, \"max\": 59.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Mid size (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 13.7, \"min\": 2.0, \"max\": 30.6, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .rect(p[\"loft_base\"], p[\"loft_base\"])\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .polygon(6, p[\"loft_mid\"] * 0.5 * 2)\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .polygon(6, p[\"loft_top\"] * 0.5 * 2)\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462c9e23_0623", "family": "bracket", "tier": 1, "seed": 1177329187, "symmetry": "none", "op_count": 1, "ir_hash": "bc9646cc585f1c39", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 36500.0, "surface_area": 20800.0, "principal_moments": [35300000.0, 56599999.99999999, 84400000.0], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["C-channel bracket: base leg 90 mm, vertical leg 90 mm, 35 mm wide, 4 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."], "text": "C-channel bracket: base leg 90 mm, vertical leg 90 mm, 35 mm wide, 4 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 90.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 90.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 35, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 4.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329187 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 90.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 90.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 35, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462c9e24_0624", "family": "block", "tier": 1, "seed": 1177329188, "symmetry": "none", "op_count": 2, "ir_hash": "ede2b0f612d70ee8", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 245000.0, "surface_area": 32800.0, "principal_moments": [147000000.0, 163000000.0, 207000000.0], "n_faces": 22, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 75 \u00d7 51 \u00d7 68.4 mm (W\u00d7D\u00d7H).", "Four 7.7 mm square holes at the corners, 52.5 \u00d7 35.7 mm spacing."], "text": "Rectangular body, 75 \u00d7 51 \u00d7 68.4 mm (W\u00d7D\u00d7H). Four 7.7 mm square holes at the corners, 52.5 \u00d7 35.7 mm spacing."}, "params": {"block_w": {"type": "float", "default": 75, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 51.0, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 68.4, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 7.7, "min": 2.0, "max": 14.9, "step": 0.5, "group": "Holes", "label": "Square hole size (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329188 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 75, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 51.0, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 68.4, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 7.7, \"min\": 2.0, \"max\": 14.9, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Square hole size (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().rect(p[\"hole_d\"], p[\"hole_d\"]).cutThruAll()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9e25_0625", "family": "plate", "tier": 1, "seed": 1177329189, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "3cbf62b63e6badd7", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 3790.0, "surface_area": 2620.0, "principal_moments": [115000.0, 847000.0, 952000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 52.08 \u00d7 18.8 \u00d7 4 mm (W\u00d7D\u00d7H).", "Four \u00d83.2 mm holes at the corners, 36.456 \u00d7 13.16 mm spacing."], "text": "Rectangular body, 52.08 \u00d7 18.8 \u00d7 4 mm (W\u00d7D\u00d7H). Four \u00d83.2 mm holes at the corners, 36.456 \u00d7 13.16 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 52.08, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 18.8, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 4.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 4.2, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329189 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 52.08, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 18.8, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 4.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 4.2, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462c9e26_0626", "family": "flanged", "tier": 1, "seed": 1177329190, "symmetry": "none", "op_count": 2, "ir_hash": "c59f11d920bfafd2", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 70900.0, "surface_area": 21000.0, "principal_moments": [30699999.999999996, 38500000.0, 38500000.0], "n_faces": 29, "n_edges": 114, "n_vertices": 76}, "dimensions": {"lines": ["Revolved body, \u00d841.38 mm \u00d7 57 mm tall with \u00d821.8 mm bore, \u00d876.4 mm \u00d7 5.4 mm flange.", "Twelve \u00d85.3 mm holes on a \u00d845.8 mm bolt circle."], "text": "Revolved body, \u00d841.38 mm \u00d7 57 mm tall with \u00d821.8 mm bore, \u00d876.4 mm \u00d7 5.4 mm flange. Twelve \u00d85.3 mm holes on a \u00d845.8 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 41.38, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 57.0, "min": 17.1, "max": 142.5, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 21.8, "min": 2.0, "max": 29.0, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 76.4, "min": 53.8, "max": 124.1, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 5.4, "min": 1.6, "max": 22.8, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 22.9, "min": 15.3, "max": 34.4, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 12, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329190 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 41.38, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 57.0, \"min\": 17.1, \"max\": 142.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 21.8, \"min\": 2.0, \"max\": 29.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 76.4, \"min\": 53.8, \"max\": 124.1, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 5.4, \"min\": 1.6, \"max\": 22.8, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 22.9, \"min\": 15.3, \"max\": 34.4, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 12, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462c9e27_0627", "family": "revolved", "tier": 1, "seed": 1177329191, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "735a8cfd8531def8", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 593000.0, "surface_area": 80300.0, "principal_moments": [438000000.0, 2090000000.0, 2090000000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d870.12 mm \u00d7 230.5 mm tall."], "text": "Revolved body, \u00d870.12 mm \u00d7 230.5 mm tall."}, "params": {"outer_d": {"type": "float", "default": 70.12, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 230.5, "min": 69.1, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329191 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 70.12, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 230.5, \"min\": 69.1, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462c9e28_0628", "family": "revolved", "tier": 1, "seed": 1177329192, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "830a81d5656d964f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 2260.0, "surface_area": 1290.0, "principal_moments": [73300.0, 79500.0, 79500.0], "n_faces": 4, "n_edges": 6, "n_vertices": 4}, "dimensions": {"lines": ["Revolved body, \u00d815 mm \u00d7 15.1 mm tall with \u00d85.9 mm bore."], "text": "Revolved body, \u00d815 mm \u00d7 15.1 mm tall with \u00d85.9 mm bore."}, "params": {"outer_d": {"type": "float", "default": 15, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 15.1, "min": 4.5, "max": 45.3, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 5.9, "min": 2.0, "max": 10.5, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329192 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 15, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 15.1, \"min\": 4.5, \"max\": 45.3, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 5.9, \"min\": 2.0, \"max\": 10.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462c9e29_0629", "family": "ribbed", "tier": 1, "seed": 1177329193, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "86836472db8a4137", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 10800.0, "surface_area": 7900.0, "principal_moments": [2060000.0, 3480000.0, 5140000.0], "n_faces": 16, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 53.06 \u00d7 46.7 \u00d7 3 mm (W\u00d7D\u00d7H).", "Two ribs, 3.1 mm thick, 12.9 mm tall."], "text": "Rectangular body, 53.06 \u00d7 46.7 \u00d7 3 mm (W\u00d7D\u00d7H). Two ribs, 3.1 mm thick, 12.9 mm tall."}, "params": {"base_w": {"type": "float", "default": 53.06, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 46.7, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 3.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 2, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 12.9, "min": 5.2, "max": 25.8, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 3.1, "min": 1.0, "max": 7.8, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329193 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 53.06, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 46.7, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 2, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 12.9, \"min\": 5.2, \"max\": 25.8, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 3.1, \"min\": 1.0, \"max\": 7.8, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462c9e2a_0630", "family": "bracket", "tier": 2, "seed": 1177329194, "symmetry": "none", "op_count": 1, "ir_hash": "a6f48a9887c580cf", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 15000.0, "surface_area": 10800.0, "principal_moments": [3800000.0, 8550000.0, 9920000.0], "n_faces": 14, "n_edges": 37, "n_vertices": 24}, "dimensions": {"lines": ["L-bracket: base leg 65 mm, vertical leg 41.2 mm, 46.43 mm wide, 3 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg; 4.3 mm corner gusset."], "text": "L-bracket: base leg 65 mm, vertical leg 41.2 mm, 46.43 mm wide, 3 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg; 4.3 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 65, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 41.2, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 46.43, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 3.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 4.3, "min": 1.5, "max": 9.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329194 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 65, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 41.2, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 46.43, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 4.3, \"min\": 1.5, \"max\": 9.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462c9e2b_0631", "family": "flanged", "tier": 2, "seed": 1177329195, "symmetry": "mirror_xy", "op_count": 3, "ir_hash": "c48c0f53d24b72b2", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 32200.0, "surface_area": 14400.0, "principal_moments": [9830000.0, 9830000.0, 12799999.999999998], "n_faces": 34, "n_edges": 77, "n_vertices": 46}, "dimensions": {"lines": ["Revolved body, \u00d833.77 mm \u00d7 32.2 mm tall with \u00d815.8 mm bore, \u00d877.7 mm \u00d7 2.7 mm flange.", "Twelve \u00d85.3 mm holes on a \u00d846.6 mm bolt circle.", "Chamfer 0.3 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d833.77 mm \u00d7 32.2 mm tall with \u00d815.8 mm bore, \u00d877.7 mm \u00d7 2.7 mm flange. Twelve \u00d85.3 mm holes on a \u00d846.6 mm bolt circle. Chamfer 0.3 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 33.77, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 32.2, "min": 9.7, "max": 80.5, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 15.8, "min": 2.0, "max": 23.6, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 77.7, "min": 43.9, "max": 101.3, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 2.7, "min": 0.8, "max": 12.9, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 23.3, "min": 15.5, "max": 35.0, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 12, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}, "end_chamfer": {"type": "float", "default": 0.3, "min": 0.1, "max": 2.0, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329195 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 33.77, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 32.2, \"min\": 9.7, \"max\": 80.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 15.8, \"min\": 2.0, \"max\": 23.6, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 77.7, \"min\": 43.9, \"max\": 101.3, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 2.7, \"min\": 0.8, \"max\": 12.9, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 23.3, \"min\": 15.5, \"max\": 35.0, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 12, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.3, \"min\": 0.1, \"max\": 2.0, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462c9e2c_0632", "family": "compound", "tier": 1, "seed": 1177329196, "symmetry": "none", "op_count": 3, "ir_hash": "58e0418230bfa0ef", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 187000.0, "surface_area": 22400.0, "principal_moments": [98699999.99999999, 103000000.0, 159000000.0], "n_faces": 23, "n_edges": 56, "n_vertices": 37}, "dimensions": {"lines": ["Rectangular body, 70 \u00d7 72.2 \u00d7 37.2 mm (W\u00d7D\u00d7H).", "6-sided polygon section, 11.2 mm across corners attachment, 5.8 mm long, from left face with a \u00d85.5 mm bore.", "6-sided polygon section, 11.2 mm across corners attachment, 5.8 mm long, from right face with a \u00d85.5 mm bore."], "text": "Rectangular body, 70 \u00d7 72.2 \u00d7 37.2 mm (W\u00d7D\u00d7H). 6-sided polygon section, 11.2 mm across corners attachment, 5.8 mm long, from left face with a \u00d85.5 mm bore. 6-sided polygon section, 11.2 mm across corners attachment, 5.8 mm long, from right face with a \u00d85.5 mm bore."}, "params": {"block_w": {"type": "float", "default": 70, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body width (mm)"}, "block_d": {"type": "float", "default": 72.2, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body depth (mm)"}, "block_h": {"type": "float", "default": 37.2, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body height (mm)"}, "port_sides": {"type": "int", "default": 6, "min": 3, "max": 8, "step": 1, "group": "Ports", "label": "Ports sides"}, "port_r": {"type": "float", "default": 5.6, "min": 2.8, "max": 8.3, "step": 1.0, "group": "Ports", "label": "Ports circumradius (mm)"}, "port_len": {"type": "float", "default": 5.8, "min": 2.4, "max": 29.1, "step": 1.0, "group": "Ports", "label": "Port boss length (mm)"}, "port_bore": {"type": "float", "default": 5.5, "min": 2.0, "max": 7.0, "step": 0.5, "group": "Ports", "label": "Port bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329196 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 70, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 72.2, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 37.2, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body height (mm)'},\n    \"port_sides\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Ports', \"label\": 'Ports sides'},\n    \"port_r\": {\"type\": 'float', \"default\": 5.6, \"min\": 2.8, \"max\": 8.3, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Ports circumradius (mm)'},\n    \"port_len\": {\"type\": 'float', \"default\": 5.8, \"min\": 2.4, \"max\": 29.1, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Port boss length (mm)'},\n    \"port_bore\": {\"type\": 'float', \"default\": 5.5, \"min\": 2.0, \"max\": 7.0, \"step\": 0.5, \"group\": 'Ports', \"label\": 'Port bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"port_sides\"], p[\"port_r\"] * 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"port_sides\"], p[\"port_r\"] * 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462c9e2d_0633", "family": "revolved", "tier": 1, "seed": 1177329197, "symmetry": "radial", "op_count": 1, "ir_hash": "e275c42cbaee3c13", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 68000.0, "surface_area": 15200.0, "principal_moments": [22100000.0, 25599999.999999996, 25599999.999999996], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d846.54 mm \u00d7 60 mm tall."], "text": "Revolved body, \u00d846.54 mm \u00d7 60 mm tall."}, "params": {"outer_d": {"type": "float", "default": 46.54, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 60.0, "min": 18.0, "max": 180.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329197 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 46.54, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 60.0, \"min\": 18.0, \"max\": 180.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462c9e2e_0634", "family": "revolved", "tier": 0, "seed": 1177329198, "symmetry": "radial", "op_count": 1, "ir_hash": "2b5a1400ef813633", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 457000.0, "surface_area": 62900.0, "principal_moments": [336000000.0, 1030000000.0, 1030000000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d870.05 mm \u00d7 177.8 mm tall."], "text": "Revolved body, \u00d870.05 mm \u00d7 177.8 mm tall."}, "params": {"outer_d": {"type": "float", "default": 70.05, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 177.8, "min": 53.3, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329198 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 70.05, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 177.8, \"min\": 53.3, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462c9e2f_0635", "family": "bracket", "tier": 2, "seed": 1177329199, "symmetry": "none", "op_count": 1, "ir_hash": "fd9142ce967539c0", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 46900.0, "surface_area": 18300.0, "principal_moments": [12099999.999999998, 76800000.0, 76800000.0], "n_faces": 18, "n_edges": 48, "n_vertices": 32}, "dimensions": {"lines": ["Z-bracket: base leg 70 mm, vertical leg 55.5 mm, top leg 74.7 mm, 40 mm wide, 6 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg; 7.4 mm corner gusset."], "text": "Z-bracket: base leg 70 mm, vertical leg 55.5 mm, top leg 74.7 mm, 40 mm wide, 6 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg; 7.4 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 70, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 55.5, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 40, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 6.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 74.7, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}, "gusset_t": {"type": "float", "default": 7.4, "min": 3.0, "max": 18.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329199 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 70, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 55.5, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 40, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 74.7, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 7.4, \"min\": 3.0, \"max\": 18.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _tl, _vl) * 0.4 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(0, _vl - _bt).lineTo(-_g, _vl - _bt)\n                    .lineTo(0, _vl - _bt - _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462c9e30_0636", "family": "block", "tier": 1, "seed": 1177329200, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "39db6b1afb7dcaf6", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 12700.0, "surface_area": 5050.0, "principal_moments": [854000.0, 1650000.0, 2000000.0], "n_faces": 22, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 37.28 \u00d7 15.9 \u00d7 23.8 mm (W\u00d7D\u00d7H).", "Four 3.8 mm square holes at the corners, 26.096 \u00d7 11.13 mm spacing."], "text": "Rectangular body, 37.28 \u00d7 15.9 \u00d7 23.8 mm (W\u00d7D\u00d7H). Four 3.8 mm square holes at the corners, 26.096 \u00d7 11.13 mm spacing."}, "params": {"block_w": {"type": "float", "default": 37.28, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 15.9, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 23.8, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 3.8, "min": 2.0, "max": 4.7, "step": 0.5, "group": "Holes", "label": "Square hole size (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329200 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 37.28, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 15.9, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 23.8, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.8, \"min\": 2.0, \"max\": 4.7, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Square hole size (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().rect(p[\"hole_d\"], p[\"hole_d\"]).cutThruAll()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462c9e31_0637", "family": "lofted", "tier": 0, "seed": 1177329201, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "ab01a0e63c95142b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 74900.0, "surface_area": 10800.0, "principal_moments": [19800000.0, 26299999.999999996, 26299999.999999996], "n_faces": 7, "n_edges": 15, "n_vertices": 10}, "dimensions": {"lines": ["Lofted body through 2 sections: 50 \u00d7 50 mm rectangular section \u2192 \u00d824.1 mm circular section."], "text": "Lofted body through 2 sections: 50 \u00d7 50 mm rectangular section \u2192 \u00d824.1 mm circular section."}, "params": {"loft_base": {"type": "float", "default": 50, "min": 25.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 24.1, "min": 9.6, "max": 60.0, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 55.6, "min": 22.2, "max": 111.2, "step": 1.0, "group": "Body", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329201 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 50, \"min\": 25.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 24.1, \"min\": 9.6, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 55.6, \"min\": 22.2, \"max\": 111.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .rect(p[\"loft_base\"], p[\"loft_base\"])\n        .workplane(offset=p[\"loft_h\"])\n        .circle(p[\"loft_top\"] / 2)\n        .loft(combine=True)\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462c9e32_0638", "family": "bracket", "tier": 1, "seed": 1177329202, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "9d8042cdcb4396cd", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 11900.0, "surface_area": 8790.0, "principal_moments": [2880000.0, 3550000.0, 5670000.0], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Z-bracket: base leg 29.16 mm, vertical leg 31.7 mm, top leg 25 mm, 50 mm wide, 3 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."], "text": "Z-bracket: base leg 29.16 mm, vertical leg 31.7 mm, top leg 25 mm, 50 mm wide, 3 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 29.16, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 31.7, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 50, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 3.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 25.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329202 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 29.16, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 31.7, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 50, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 25.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9e34_0640", "family": "plate", "tier": 2, "seed": 1177329204, "symmetry": "none", "op_count": 2, "ir_hash": "96da568c85670ce2", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 3160.0, "surface_area": 2120.0, "principal_moments": [80200.0, 415000.0, 482000.0], "n_faces": 22, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 40.27 \u00d7 17.1 \u00d7 5 mm (W\u00d7D\u00d7H).", "Four 5.1 \u00d7 3.2 mm slots at the corners, 28.189 \u00d7 11.97 mm spacing."], "text": "Rectangular body, 40.27 \u00d7 17.1 \u00d7 5 mm (W\u00d7D\u00d7H). Four 5.1 \u00d7 3.2 mm slots at the corners, 28.189 \u00d7 11.97 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 40.27, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 17.1, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 5.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 3.8, "step": 0.5, "group": "Holes", "label": "Slot width (mm)"}, "hole_slot_len": {"type": "float", "default": 5.1, "min": 4.8, "max": 5.1, "step": 0.5, "group": "Holes", "label": "Slot length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329204 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 40.27, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 17.1, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 5.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 3.8, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Slot width (mm)'},\n    \"hole_slot_len\": {\"type\": 'float', \"default\": 5.1, \"min\": 4.8, \"max\": 5.1, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Slot length (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().slot2D(p[\"hole_slot_len\"], p[\"hole_d\"]).cutThruAll()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462c9e35_0641", "family": "gear", "tier": 2, "seed": 1177329205, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "8396ab685174219e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 30600.0, "surface_area": 9020.0, "principal_moments": [5970000.0, 5970000.0, 10800000.0], "n_faces": 139, "n_edges": 411, "n_vertices": 274}, "dimensions": {"lines": ["Spur gear, module 3 mm, 17 teeth (pitch \u00d851 mm), face width 14.8 mm, \u00d86.9 mm bore."], "text": "Spur gear, module 3 mm, 17 teeth (pitch \u00d851 mm), face width 14.8 mm, \u00d86.9 mm bore."}, "params": {"module": {"type": "float", "default": 3.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 17, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 14.8, "min": 5.9, "max": 37.0, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "profile_shift": {"type": "float", "default": 0.2, "min": -0.5, "max": 0.7, "step": 0.05, "group": "Gear", "label": "Profile shift"}, "root_fillet": {"type": "float", "default": 0.41, "min": 0.0, "max": 1.5, "step": 0.05, "group": "Gear", "label": "Root fillet (mm)"}, "bore_d": {"type": "float", "default": 6.9, "min": 2.0, "max": 26.1, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329205 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 3.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 17, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 14.8, \"min\": 5.9, \"max\": 37.0, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"profile_shift\": {\"type\": 'float', \"default\": 0.2, \"min\": -0.5, \"max\": 0.7, \"step\": 0.05, \"group\": 'Gear', \"label\": 'Profile shift'},\n    \"root_fillet\": {\"type\": 'float', \"default\": 0.41, \"min\": 0.0, \"max\": 1.5, \"step\": 0.05, \"group\": 'Gear', \"label\": 'Root fillet (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 6.9, \"min\": 2.0, \"max\": 26.1, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"], profile_shift=p[\"profile_shift\"], root_fillet=p[\"root_fillet\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462c9e36_0642", "family": "enclosure", "tier": 1, "seed": 1177329206, "symmetry": "none", "op_count": 2, "ir_hash": "67cbc69c3acabeaa", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 44800.0, "surface_area": 27900.0, "principal_moments": [22200000.0, 39200000.0, 42600000.0], "n_faces": 11, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 75.48 \u00d7 37.7 \u00d7 53.6 mm (W\u00d7D\u00d7H).", "Hollowed to 3.3 mm wall thickness, open at top face."], "text": "Rectangular body, 75.48 \u00d7 37.7 \u00d7 53.6 mm (W\u00d7D\u00d7H). Hollowed to 3.3 mm wall thickness, open at top face."}, "params": {"enc_w": {"type": "float", "default": 75.48, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 37.7, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 53.6, "min": 21.4, "max": 107.2, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 3.3, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329206 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 75.48, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 37.7, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 53.6, \"min\": 21.4, \"max\": 107.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 3.3, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9e37_0643", "family": "plate", "tier": 0, "seed": 1177329207, "symmetry": "none", "op_count": 1, "ir_hash": "e3e1414b44f0e413", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 12400.0, "surface_area": 7100.0, "principal_moments": [2370000.0, 4380000.0, 6720000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 65 \u00d7 47.7 \u00d7 4 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 65 \u00d7 47.7 \u00d7 4 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 65, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 47.7, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 4.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329207 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 65, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 47.7, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 4.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462c9e38_0644", "family": "swept", "tier": 2, "seed": 1177329208, "symmetry": "none", "op_count": 1, "ir_hash": "ca501241335cc4db", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 2760.0, "surface_area": 2240.0, "principal_moments": [117000.0, 942000.0, 1030000.0], "n_faces": 3, "n_edges": 3, "n_vertices": 2}, "dimensions": {"lines": ["\u00d89.7 mm circular section swept along a curved path, ~60 mm span."], "text": "\u00d89.7 mm circular section swept along a curved path, ~60 mm span."}, "params": {"path_w": {"type": "float", "default": 55, "min": 27.5, "max": 99.0, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 60, "min": 30.0, "max": 108.0, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_d": {"type": "float", "default": 9.7, "min": 4.8, "max": 17.5, "step": 1.0, "group": "Section", "label": "Section diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329208 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 55, \"min\": 27.5, \"max\": 99.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 60, \"min\": 30.0, \"max\": 108.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_d\": {\"type\": 'float', \"default\": 9.7, \"min\": 4.8, \"max\": 17.5, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.2227, p[\"path_h\"] * 0.2433), (p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.3422), (p[\"path_w\"] * 0.1738, p[\"path_h\"] * 0.6447), (p[\"path_w\"] * 0.4588, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').circle(p[\"sweep_d\"] / 2).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462c9e39_0645", "family": "bracket", "tier": 3, "seed": 1177329209, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "9a491833fcba759c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 22700.0, "surface_area": 10800.0, "principal_moments": [5310000.0, 13999999.999999998, 14899999.999999998], "n_faces": 14, "n_edges": 37, "n_vertices": 24}, "dimensions": {"lines": ["L-bracket: base leg 66.75 mm, vertical leg 45.7 mm, 41.06 mm wide, 5 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg; 4.4 mm corner gusset."], "text": "L-bracket: base leg 66.75 mm, vertical leg 45.7 mm, 41.06 mm wide, 5 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg; 4.4 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 66.75, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 45.7, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 41.06, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 5.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 4.4, "min": 2.5, "max": 15.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329209 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 66.75, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 45.7, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 41.06, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 4.4, \"min\": 2.5, \"max\": 15.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462c9e3a_0646", "family": "tapped", "tier": 0, "seed": 1177329210, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "39fc6003d2b7d341", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 5990.0, "surface_area": 2420.0, "principal_moments": [292000.0, 387000.0, 387000.0], "n_faces": 258, "n_edges": 704, "n_vertices": 448}, "dimensions": {"lines": ["One M4x0.7 tapped hole in a plate."], "text": "One M4x0.7 tapped hole in a plate."}, "params": {"major_d": {"type": "float", "default": 4.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 0.7, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 22.0, "min": 4.8, "max": 39.6, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "plate_w": {"type": "float", "default": 16.8, "min": 10.1, "max": 26.9, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 16.8, "min": 10.1, "max": 26.9, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329210 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 4.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 0.7, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 22.0, \"min\": 4.8, \"max\": 39.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"plate_w\": {\"type\": 'float', \"default\": 16.8, \"min\": 10.1, \"max\": 26.9, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 16.8, \"min\": 10.1, \"max\": 26.9, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n}\n\n\ndef build(p):\n\n    _W, _D, _H = p[\"plate_w\"], p[\"plate_d\"], p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Box(_W, _D, _H)\n    _locs = [(0.0, 0.0)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462c9e3b_0647", "family": "threaded", "tier": 1, "seed": 1177329211, "symmetry": "none", "op_count": 1, "ir_hash": "08063c91782e70d1", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 20600.0, "surface_area": 8010.0, "principal_moments": [2700000.0, 4500000.0, 4500000.0], "n_faces": 335, "n_edges": 955, "n_vertices": 622}, "dimensions": {"lines": ["M16x2 internal thread, 43 mm long."], "text": "M16x2 internal thread, 43 mm long."}, "params": {"major_d": {"type": "float", "default": 16.0, "min": 4.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Major diameter (mm)"}, "pitch": {"type": "float", "default": 2.0, "min": 1.0, "max": 4.0, "step": 0.05, "group": "Thread", "label": "Pitch (mm)"}, "thread_len": {"type": "float", "default": 43.0, "min": 17.2, "max": 86.0, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329211 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 16.0, \"min\": 4.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Major diameter (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 2.0, \"min\": 1.0, \"max\": 4.0, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Pitch (mm)'},\n    \"thread_len\": {\"type\": 'float', \"default\": 43.0, \"min\": 17.2, \"max\": 86.0, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.IsoThread(major_diameter=p[\"major_d\"], pitch=p[\"pitch\"], length=p[\"thread_len\"], external=False, end_finishes=(\"fade\", \"fade\"))\n    _body = _bd.Cylinder(radius=(p[\"major_d\"]) * 0.9, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _bore = _bd.Cylinder(radius=(p[\"major_d\"]) / 2, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = (_body - _bore) + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462c9e3c_0648", "family": "bracket", "tier": 3, "seed": 1177329212, "symmetry": "none", "op_count": 1, "ir_hash": "aedfd0af44f6b0d0", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 23700.0, "surface_area": 11600.0, "principal_moments": [5950000.0, 16800000.0, 18200000.0], "n_faces": 17, "n_edges": 55, "n_vertices": 34}, "dimensions": {"lines": ["L-bracket: base leg 65 mm, vertical leg 66.7 mm, 35 mm wide, 5 mm thick; 2 \u00d7 \u00d86.4 mm holes per leg; 4.5 mm corner gusset."], "text": "L-bracket: base leg 65 mm, vertical leg 66.7 mm, 35 mm wide, 5 mm thick; 2 \u00d7 \u00d86.4 mm holes per leg; 4.5 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 65, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 66.7, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 35, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 5.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 2, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 4.5, "min": 2.5, "max": 15.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329212 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 65, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 66.7, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 35, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 2, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 4.5, \"min\": 2.5, \"max\": 15.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462c9e3d_0649", "family": "gear", "tier": 0, "seed": 1177329213, "symmetry": "none", "op_count": 1, "ir_hash": "1098f0bb9739902d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 11400.0, "surface_area": 4520.0, "principal_moments": [1050000.0, 1050000.0, 1820000.0], "n_faces": 86, "n_edges": 252, "n_vertices": 168}, "dimensions": {"lines": ["Spur gear, module 2.5 mm, 14 teeth (pitch \u00d835 mm), face width 12.2 mm."], "text": "Spur gear, module 2.5 mm, 14 teeth (pitch \u00d835 mm), face width 12.2 mm."}, "params": {"module": {"type": "float", "default": 2.5, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 14, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 12.2, "min": 4.9, "max": 30.5, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329213 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 2.5, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 14, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 12.2, \"min\": 4.9, \"max\": 30.5, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462c9e3e_0650", "family": "bracket", "tier": 1, "seed": 1177329214, "symmetry": "none", "op_count": 1, "ir_hash": "5eebaf96d9eee910", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 7150.0, "surface_area": 5540.0, "principal_moments": [1020000.0, 2700000.0, 2730000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["L-bracket: base leg 40 mm, vertical leg 47.8 mm, 28.61 mm wide, 3 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."], "text": "L-bracket: base leg 40 mm, vertical leg 47.8 mm, 28.61 mm wide, 3 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 40, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 47.8, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 28.61, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 3.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329214 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 40, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 47.8, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 28.61, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9e3f_0651", "family": "plate", "tier": 0, "seed": 1177329215, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "bdf41e02a7e387b4", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 42400.0, "surface_area": 10200.0, "principal_moments": [5560000.0, 31399999.999999996, 35900000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 93.49 \u00d7 37.8 \u00d7 12 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 93.49 \u00d7 37.8 \u00d7 12 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 93.49, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 37.8, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329215 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 93.49, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 37.8, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462c9e40_0652", "family": "sketched", "tier": 3, "seed": 1177329216, "symmetry": "mirror_x", "op_count": 4, "ir_hash": "eb7acb8b47a1ab70", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 36100.0, "surface_area": 7730.0, "principal_moments": [4380000.0, 9860000.0, 10500000.0], "n_faces": 13, "n_edges": 27, "n_vertices": 18}, "dimensions": {"lines": ["freeform sketched section (6 segments: 4 straight, 1 arc, 1 curve), ~64.853 \u00d7 29.352 mm, extruded 25 mm thick.", "One \u00d86.4 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch.", "Boss \u00d818.8 mm \u00d7 9.8 mm tall on top face with a \u00d83.2 mm bore.", "Fillet radius 1.6 mm on vertical edges (optional, off by default)."], "text": "freeform sketched section (6 segments: 4 straight, 1 arc, 1 curve), ~64.853 \u00d7 29.352 mm, extruded 25 mm thick. One \u00d86.4 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch. Boss \u00d818.8 mm \u00d7 9.8 mm tall on top face with a \u00d83.2 mm bore. Fillet radius 1.6 mm on vertical edges (optional, off by default)."}, "params": {"sk_w": {"type": "float", "default": 75, "min": 37.5, "max": 135.0, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 40.43, "min": 20.2, "max": 72.8, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "sk_t": {"type": "float", "default": 25, "min": 10.0, "max": 55.0, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "sk_hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 12.8, "step": 0.5, "group": "Holes", "label": "Hole diameter (mm)"}, "boss_d": {"type": "float", "default": 18.8, "min": 9.4, "max": 37.6, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 9.8, "min": 3.9, "max": 24.5, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}, "boss_bore_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 13.2, "step": 0.1, "group": "Boss", "label": "Bore diameter (mm)"}, "sk_fillet_r": {"type": "float", "default": 1.6, "min": 0.5, "max": 4.0, "step": 0.5, "group": "Body", "label": "Edge fillet radius (mm)"}, "sk_filleted": {"type": "bool", "default": false, "group": "Body", "label": "Fillet vertical edges"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329216 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 75, \"min\": 37.5, \"max\": 135.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 40.43, \"min\": 20.2, \"max\": 72.8, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"sk_t\": {\"type\": 'float', \"default\": 25, \"min\": 10.0, \"max\": 55.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"sk_hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 12.8, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"boss_d\": {\"type\": 'float', \"default\": 18.8, \"min\": 9.4, \"max\": 37.6, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 9.8, \"min\": 3.9, \"max\": 24.5, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n    \"boss_bore_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 13.2, \"step\": 0.1, \"group\": 'Boss', \"label\": 'Bore diameter (mm)'},\n    \"sk_fillet_r\": {\"type\": 'float', \"default\": 1.6, \"min\": 0.5, \"max\": 4.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Edge fillet radius (mm)'},\n    \"sk_filleted\": {\"type\": 'bool', \"default\": False, \"group\": 'Body', \"label\": 'Fillet vertical edges'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.4602, p[\"sk_h\"] * 0.1404).bezier([(p[\"sk_w\"] * 0.4602, p[\"sk_h\"] * 0.1404), (p[\"sk_w\"] * 0.2846, p[\"sk_h\"] * 0.2866), (p[\"sk_w\"] * 0.0625, p[\"sk_h\"] * 0.3406)]).threePointArc((p[\"sk_w\"] * -0.1217, p[\"sk_h\"] * 0.3605), (p[\"sk_w\"] * -0.2845, p[\"sk_h\"] * 0.3116)).lineTo(p[\"sk_w\"] * -0.4045, p[\"sk_h\"] * -0.1445).lineTo(p[\"sk_w\"] * -0.1704, p[\"sk_h\"] * -0.3854).lineTo(p[\"sk_w\"] * 0.2812, p[\"sk_h\"] * -0.2546).lineTo(p[\"sk_w\"] * 0.4602, p[\"sk_h\"] * 0.1404).close().extrude(p[\"sk_t\"]))\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"sk_hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .hole(p[\"boss_bore_d\"])\n    )\n    if p[\"sk_filleted\"]:\n        result = result.edges('|Z').fillet(p[\"sk_fillet_r\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462c9e41_0653", "family": "revolved", "tier": 2, "seed": 1177329217, "symmetry": "none", "op_count": 2, "ir_hash": "cc51a3d159e7b9e9", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 5070.0, "surface_area": 2930.0, "principal_moments": [338000.0, 463000.0, 463000.0], "n_faces": 10, "n_edges": 17, "n_vertices": 10}, "dimensions": {"lines": ["Revolved body, \u00d812.51 mm \u00d7 28.5 mm tall with \u00d87.5 mm bore, \u00d825.1 mm \u00d7 7.7 mm flange.", "Chamfer 0.7 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d812.51 mm \u00d7 28.5 mm tall with \u00d87.5 mm bore, \u00d825.1 mm \u00d7 7.7 mm flange. Chamfer 0.7 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 12.51, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 28.5, "min": 8.5, "max": 85.5, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 7.5, "min": 2.0, "max": 8.8, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 25.1, "min": 15.0, "max": 37.5, "step": 1.0, "group": "Body", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 7.7, "min": 2.3, "max": 14.2, "step": 0.5, "group": "Body", "label": "Flange height (mm)"}, "end_chamfer": {"type": "float", "default": 0.7, "min": 0.1, "max": 2.1, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329217 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 12.51, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 28.5, \"min\": 8.5, \"max\": 85.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 7.5, \"min\": 2.0, \"max\": 8.8, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 25.1, \"min\": 15.0, \"max\": 37.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 7.7, \"min\": 2.3, \"max\": 14.2, \"step\": 0.5, \"group\": 'Body', \"label\": 'Flange height (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.7, \"min\": 0.1, \"max\": 2.1, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9e42_0654", "family": "plate", "tier": 0, "seed": 1177329218, "symmetry": "none", "op_count": 1, "ir_hash": "d07cce8bb35a5803", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 34600.0, "surface_area": 9390.0, "principal_moments": [5700000.0, 18800000.0, 23899999.999999996], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 80 \u00d7 43.3 \u00d7 10 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 80 \u00d7 43.3 \u00d7 10 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 80, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 43.3, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329218 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 80, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 43.3, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462c9e43_0655", "family": "flanged", "tier": 1, "seed": 1177329219, "symmetry": "radial", "op_count": 2, "ir_hash": "a9e3edbd83be6ea3", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 192000.0, "surface_area": 37100.0, "principal_moments": [161000000.0, 161000000.0, 223000000.0], "n_faces": 14, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["Revolved body, \u00d860 mm \u00d7 52.7 mm tall with \u00d827 mm bore, \u00d8116.6 mm \u00d7 9.5 mm flange.", "Eight \u00d84.3 mm holes on a \u00d870 mm bolt circle."], "text": "Revolved body, \u00d860 mm \u00d7 52.7 mm tall with \u00d827 mm bore, \u00d8116.6 mm \u00d7 9.5 mm flange. Eight \u00d84.3 mm holes on a \u00d870 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 60, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 52.7, "min": 15.8, "max": 131.8, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 27.0, "min": 2.0, "max": 42.0, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 116.6, "min": 78.0, "max": 180.0, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 9.5, "min": 2.9, "max": 21.1, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 35.0, "min": 23.3, "max": 52.5, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 8, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329219 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 60, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 52.7, \"min\": 15.8, \"max\": 131.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 27.0, \"min\": 2.0, \"max\": 42.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 116.6, \"min\": 78.0, \"max\": 180.0, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 9.5, \"min\": 2.9, \"max\": 21.1, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 35.0, \"min\": 23.3, \"max\": 52.5, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462c9e44_0656", "family": "compound", "tier": 3, "seed": 1177329220, "symmetry": "mirror_xy", "op_count": 7, "ir_hash": "aac8f3c9a451a768", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 33700.0, "surface_area": 8010.0, "principal_moments": [4370000.0, 7590000.0, 8070000.0], "n_faces": 28, "n_edges": 66, "n_vertices": 42}, "dimensions": {"lines": ["Rectangular body, 45 \u00d7 29.3 \u00d7 26.3 mm (W\u00d7D\u00d7H).", "\u00d85.4 mm circular section attachment, 4 mm long, from left face with a \u00d82.5 mm bore.", "\u00d85.4 mm circular section attachment, 4 mm long, from front face with a \u00d82.5 mm bore.", "\u00d85.4 mm circular section attachment, 4 mm long, from right face with a \u00d82.5 mm bore.", "\u00d85.4 mm circular section attachment, 4 mm long, from back face with a \u00d82.5 mm bore.", "Four \u00d84.3 mm holes at the corners, 31.5 \u00d7 20.51 mm spacing.", "Fillet radius 2.501 mm on vertical edges."], "text": "Rectangular body, 45 \u00d7 29.3 \u00d7 26.3 mm (W\u00d7D\u00d7H). \u00d85.4 mm circular section attachment, 4 mm long, from left face with a \u00d82.5 mm bore. \u00d85.4 mm circular section attachment, 4 mm long, from front face with a \u00d82.5 mm bore. \u00d85.4 mm circular section attachment, 4 mm long, from right face with a \u00d82.5 mm bore. \u00d85.4 mm circular section attachment, 4 mm long, from back face with a \u00d82.5 mm bore. Four \u00d84.3 mm holes at the corners, 31.5 \u00d7 20.51 mm spacing. Fillet radius 2.501 mm on vertical edges."}, "params": {"block_w": {"type": "float", "default": 45, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body width (mm)"}, "block_d": {"type": "float", "default": 29.3, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body depth (mm)"}, "block_h": {"type": "float", "default": 26.3, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body height (mm)"}, "port_d": {"type": "float", "default": 5.4, "min": 2.2, "max": 11.8, "step": 1.0, "group": "Ports", "label": "Ports diameter (mm)"}, "port_len": {"type": "float", "default": 4.0, "min": 1.4, "max": 16.2, "step": 1.0, "group": "Ports", "label": "Port boss length (mm)"}, "port_bore": {"type": "float", "default": 2.5, "min": 2.0, "max": 3.9, "step": 0.5, "group": "Ports", "label": "Port bore diameter (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 6.6, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329220 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 45, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 29.3, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 26.3, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body height (mm)'},\n    \"port_d\": {\"type\": 'float', \"default\": 5.4, \"min\": 2.2, \"max\": 11.8, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Ports diameter (mm)'},\n    \"port_len\": {\"type\": 'float', \"default\": 4.0, \"min\": 1.4, \"max\": 16.2, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Port boss length (mm)'},\n    \"port_bore\": {\"type\": 'float', \"default\": 2.5, \"min\": 2.0, \"max\": 3.9, \"step\": 0.5, \"group\": 'Ports', \"label\": 'Port bore diameter (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 6.6, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"block_w\"], p[\"block_d\"]) * 0.08536063543560726)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462c9e45_0657", "family": "bracket", "tier": 1, "seed": 1177329221, "symmetry": "none", "op_count": 1, "ir_hash": "1891c7618def7890", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 26000.0, "surface_area": 10700.0, "principal_moments": [7940000.0, 9020000.0, 9110000.0], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["C-channel bracket: base leg 36.78 mm, vertical leg 39.8 mm, 42.22 mm wide, 6 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."], "text": "C-channel bracket: base leg 36.78 mm, vertical leg 39.8 mm, 42.22 mm wide, 6 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 36.78, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 39.8, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 42.22, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 6.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329221 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 36.78, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 39.8, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 42.22, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9e46_0658", "family": "plate", "tier": 2, "seed": 1177329222, "symmetry": "none", "op_count": 3, "ir_hash": "48fef0d435cf1bcb", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 23100.0, "surface_area": 8220.0, "principal_moments": [2170000.0, 15499999.999999998, 17400000.0], "n_faces": 16, "n_edges": 42, "n_vertices": 28}, "dimensions": {"lines": ["Rectangular body, 90 \u00d7 32.7 \u00d7 8 mm (W\u00d7D\u00d7H).", "Six \u00d83.2 mm holes in a 2\u00d73 grid, 72 \u00d7 13.1 mm pitch.", "Fillet radius 1.141 mm on vertical edges."], "text": "Rectangular body, 90 \u00d7 32.7 \u00d7 8 mm (W\u00d7D\u00d7H). Six \u00d83.2 mm holes in a 2\u00d73 grid, 72 \u00d7 13.1 mm pitch. Fillet radius 1.141 mm on vertical edges."}, "params": {"plate_w": {"type": "float", "default": 90, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 32.7, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 3.9, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 2, "min": 1, "max": 4, "step": 1, "group": "Holes", "label": "Holes across"}, "hole_ny": {"type": "int", "default": 3, "min": 1, "max": 4, "step": 1, "group": "Holes", "label": "Holes deep"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329222 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 90, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 32.7, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 3.9, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 2, \"min\": 1, \"max\": 4, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes across'},\n    \"hole_ny\": {\"type\": 'int', \"default\": 3, \"min\": 1, \"max\": 4, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes deep'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(72.0, 13.1, p[\"hole_nx\"], p[\"hole_ny\"])\n        .hole(p[\"hole_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"plate_w\"], p[\"plate_d\"]) * 0.03489520373184115)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462c9e47_0659", "family": "compound", "tier": 1, "seed": 1177329223, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "be007a5563ada371", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 3810.0, "surface_area": 1580.0, "principal_moments": [147000.0, 198000.0, 198000.0], "n_faces": 12, "n_edges": 27, "n_vertices": 18}, "dimensions": {"lines": ["8-sided polygon section, 20 mm across corners, extruded 11.1 mm thick.", "\u00d88 mm circular section attachment, 13.3 mm long, from top face."], "text": "8-sided polygon section, 20 mm across corners, extruded 11.1 mm thick. \u00d88 mm circular section attachment, 13.3 mm long, from top face."}, "params": {"base_sides": {"type": "int", "default": 8, "min": 3, "max": 8, "step": 1, "group": "Base", "label": "Base sides"}, "base_r": {"type": "float", "default": 10.0, "min": 6.0, "max": 16.0, "step": 1.0, "group": "Base", "label": "Base circumradius (mm)"}, "base_h": {"type": "float", "default": 11.1, "min": 4.4, "max": 27.8, "step": 1.0, "group": "Base", "label": "Base height (mm)"}, "col_d": {"type": "float", "default": 8.0, "min": 4.0, "max": 14.8, "step": 1.0, "group": "Column", "label": "Column diameter (mm)"}, "col_h": {"type": "float", "default": 13.3, "min": 4.0, "max": 33.2, "step": 1.0, "group": "Column", "label": "Column height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329223 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_sides\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Base', \"label\": 'Base sides'},\n    \"base_r\": {\"type\": 'float', \"default\": 10.0, \"min\": 6.0, \"max\": 16.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base circumradius (mm)'},\n    \"base_h\": {\"type\": 'float', \"default\": 11.1, \"min\": 4.4, \"max\": 27.8, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base height (mm)'},\n    \"col_d\": {\"type\": 'float', \"default\": 8.0, \"min\": 4.0, \"max\": 14.8, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column diameter (mm)'},\n    \"col_h\": {\"type\": 'float', \"default\": 13.3, \"min\": 4.0, \"max\": 33.2, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').polygon(p[\"base_sides\"], p[\"base_r\"] * 2).extrude(p[\"base_h\"]))\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"col_d\"] / 2).extrude(p[\"col_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462c9e48_0660", "family": "bracket", "tier": 1, "seed": 1177329224, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "e069ac9811c32f9b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 25200.0, "surface_area": 11800.0, "principal_moments": [7630000.0, 17400000.0, 18100000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["L-bracket: base leg 56.94 mm, vertical leg 62.7 mm, 44.27 mm wide, 5 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."], "text": "L-bracket: base leg 56.94 mm, vertical leg 62.7 mm, 44.27 mm wide, 5 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 56.94, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 62.7, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 44.27, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 5.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329224 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 56.94, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 62.7, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 44.27, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462c9e49_0661", "family": "block", "tier": 1, "seed": 1177329225, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "43320c99b73d10e6", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 169000.0, "surface_area": 28500.0, "principal_moments": [68100000.0, 151000000.0, 198000000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 65 \u00d7 27.3 \u00d7 100 mm (W\u00d7D\u00d7H).", "Four \u00d85.3 mm holes at the corners, 45.5 \u00d7 19.11 mm spacing."], "text": "Rectangular body, 65 \u00d7 27.3 \u00d7 100 mm (W\u00d7D\u00d7H). Four \u00d85.3 mm holes at the corners, 45.5 \u00d7 19.11 mm spacing."}, "params": {"block_w": {"type": "float", "default": 65, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 27.3, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 100.0, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 6.1, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329225 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 65, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 27.3, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 100.0, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 6.1, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462c9e4a_0662", "family": "revolved", "tier": 0, "seed": 1177329226, "symmetry": "none", "op_count": 1, "ir_hash": "20ccd1c139bfe0fe", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 5770.0, "surface_area": 3340.0, "principal_moments": [242000.0, 650000.0, 650000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d816.74 mm \u00d7 39.3 mm tall."], "text": "Revolved body, \u00d816.74 mm \u00d7 39.3 mm tall."}, "params": {"outer_d": {"type": "float", "default": 16.74, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 39.3, "min": 11.8, "max": 117.9, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329226 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 16.74, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 39.3, \"min\": 11.8, \"max\": 117.9, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462c9e4b_0663", "family": "bracket", "tier": 2, "seed": 1177329227, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "9220df6ba2d46024", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 10100.0, "surface_area": 7410.0, "principal_moments": [1550000.0, 3270000.0, 4190000.0], "n_faces": 15, "n_edges": 41, "n_vertices": 26}, "dimensions": {"lines": ["L-bracket: base leg 30 mm, vertical leg 27.7 mm, 60 mm wide, 3 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg; 4 mm corner gusset."], "text": "L-bracket: base leg 30 mm, vertical leg 27.7 mm, 60 mm wide, 3 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg; 4 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 30, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 27.7, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 60.0, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 3.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 4.0, "min": 1.5, "max": 9.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329227 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 30, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 27.7, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 60.0, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 1.5, \"max\": 9.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462c9e4c_0664", "family": "revolved", "tier": 2, "seed": 1177329228, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "4635a8964aacecad", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 268000.0, "surface_area": 37100.0, "principal_moments": [233000000.0, 240000000.0, 240000000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d876.23 mm \u00d7 88 mm tall."], "text": "Revolved body, \u00d876.23 mm \u00d7 88 mm tall."}, "params": {"outer_d": {"type": "float", "default": 76.23, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 88.0, "min": 26.4, "max": 264.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329228 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 76.23, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 88.0, \"min\": 26.4, \"max\": 264.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462c9e4d_0665", "family": "flanged", "tier": 2, "seed": 1177329229, "symmetry": "none", "op_count": 3, "ir_hash": "1023940856dde07f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 516000.0, "surface_area": 80700.0, "principal_moments": [922000000.0, 922000000.0, 1150000000.0], "n_faces": 22, "n_edges": 47, "n_vertices": 28}, "dimensions": {"lines": ["Revolved body, \u00d880.85 mm \u00d7 81.7 mm tall with \u00d833.6 mm bore, \u00d8179.1 mm \u00d7 8.5 mm flange.", "Six \u00d85.3 mm holes on a \u00d8107.4 mm bolt circle.", "Chamfer 0.7 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d880.85 mm \u00d7 81.7 mm tall with \u00d833.6 mm bore, \u00d8179.1 mm \u00d7 8.5 mm flange. Six \u00d85.3 mm holes on a \u00d8107.4 mm bolt circle. Chamfer 0.7 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 80.85, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 81.7, "min": 24.5, "max": 204.2, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 33.6, "min": 2.0, "max": 56.6, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 179.1, "min": 105.1, "max": 242.5, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 8.5, "min": 2.5, "max": 32.7, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 53.7, "min": 35.8, "max": 80.6, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 6, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}, "end_chamfer": {"type": "float", "default": 0.7, "min": 0.1, "max": 2.0, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329229 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 80.85, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 81.7, \"min\": 24.5, \"max\": 204.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 33.6, \"min\": 2.0, \"max\": 56.6, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 179.1, \"min\": 105.1, \"max\": 242.5, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 8.5, \"min\": 2.5, \"max\": 32.7, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 53.7, \"min\": 35.8, \"max\": 80.6, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.7, \"min\": 0.1, \"max\": 2.0, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462c9e4e_0666", "family": "lofted", "tier": 1, "seed": 1177329230, "symmetry": "none", "op_count": 2, "ir_hash": "d2a93688c1265034", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 18000.0, "surface_area": 5050.0, "principal_moments": [2340000.0, 2410000.0, 2410000.0], "n_faces": 9, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["Lofted body through 2 sections: 6-sided polygon section, 40 mm across corners \u2192 \u00d821.6 mm circular section.", "One \u00d89.7 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 2 sections: 6-sided polygon section, 40 mm across corners \u2192 \u00d821.6 mm circular section. One \u00d89.7 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 40, "min": 20.0, "max": 64.0, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 21.6, "min": 8.6, "max": 48.0, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 30.0, "min": 12.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_bore_d": {"type": "float", "default": 9.7, "min": 2.0, "max": 17.3, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329230 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 40, \"min\": 20.0, \"max\": 64.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 21.6, \"min\": 8.6, \"max\": 48.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 30.0, \"min\": 12.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 9.7, \"min\": 2.0, \"max\": 17.3, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .polygon(6, p[\"loft_base\"] * 0.5 * 2)\n        .workplane(offset=p[\"loft_h\"])\n        .circle(p[\"loft_top\"] / 2)\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9e4f_0667", "family": "plate", "tier": 2, "seed": 1177329231, "symmetry": "none", "op_count": 3, "ir_hash": "39c39bc24fd549d0", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 22700.0, "surface_area": 10000.0, "principal_moments": [7340000.0, 7520000.0, 14699999.999999998], "n_faces": 18, "n_edges": 48, "n_vertices": 32}, "dimensions": {"lines": ["Rectangular body, 65.02 \u00d7 62.3 \u00d7 6 mm (W\u00d7D\u00d7H).", "Eight \u00d86.4 mm holes in a 2\u00d74 grid, 52 \u00d7 16.6 mm pitch.", "Chamfer 2.2 mm on vertical edges."], "text": "Rectangular body, 65.02 \u00d7 62.3 \u00d7 6 mm (W\u00d7D\u00d7H). Eight \u00d86.4 mm holes in a 2\u00d74 grid, 52 \u00d7 16.6 mm pitch. Chamfer 2.2 mm on vertical edges."}, "params": {"plate_w": {"type": "float", "default": 65.02, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 62.3, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 6.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 7.5, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 2, "min": 1, "max": 4, "step": 1, "group": "Holes", "label": "Holes across"}, "hole_ny": {"type": "int", "default": 4, "min": 1, "max": 4, "step": 1, "group": "Holes", "label": "Holes deep"}, "chamfer_d": {"type": "float", "default": 2.2, "min": 1.4, "max": 2.3, "step": 0.5, "group": "Body", "label": "Chamfer distance (mm)"}, "chamfered": {"type": "bool", "default": true, "group": "Body", "label": "Chamfer edges"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329231 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 65.02, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 62.3, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 7.5, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 2, \"min\": 1, \"max\": 4, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes across'},\n    \"hole_ny\": {\"type\": 'int', \"default\": 4, \"min\": 1, \"max\": 4, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes deep'},\n    \"chamfer_d\": {\"type\": 'float', \"default\": 2.2, \"min\": 1.4, \"max\": 2.3, \"step\": 0.5, \"group\": 'Body', \"label\": 'Chamfer distance (mm)'},\n    \"chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Chamfer edges'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(52.0, 16.6, p[\"hole_nx\"], p[\"hole_ny\"])\n        .hole(p[\"hole_d\"])\n    )\n    if p[\"chamfered\"]:\n        result = result.edges('|Z').chamfer(p[\"chamfer_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9e50_0668", "family": "plate", "tier": 2, "seed": 1177329232, "symmetry": "none", "op_count": 3, "ir_hash": "7781b22cf5a0aae0", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 44100.0, "surface_area": 12100.0, "principal_moments": [5730000.0, 37000000.0, 41700000.0], "n_faces": 22, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 100.1 \u00d7 37.7 \u00d7 12 mm (W\u00d7D\u00d7H).", "Twelve \u00d83.2 mm holes in a 3\u00d74 grid, 40 \u00d7 10.1 mm pitch.", "Chamfer 1.3 mm on vertical edges."], "text": "Rectangular body, 100.1 \u00d7 37.7 \u00d7 12 mm (W\u00d7D\u00d7H). Twelve \u00d83.2 mm holes in a 3\u00d74 grid, 40 \u00d7 10.1 mm pitch. Chamfer 1.3 mm on vertical edges."}, "params": {"plate_w": {"type": "float", "default": 100.1, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 37.7, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 4.5, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 3, "min": 1, "max": 4, "step": 1, "group": "Holes", "label": "Holes across"}, "hole_ny": {"type": "int", "default": 4, "min": 1, "max": 4, "step": 1, "group": "Holes", "label": "Holes deep"}, "chamfer_d": {"type": "float", "default": 1.3, "min": 1.0, "max": 1.6, "step": 0.5, "group": "Body", "label": "Chamfer distance (mm)"}, "chamfered": {"type": "bool", "default": true, "group": "Body", "label": "Chamfer edges"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329232 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 100.1, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 37.7, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 4.5, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 3, \"min\": 1, \"max\": 4, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes across'},\n    \"hole_ny\": {\"type\": 'int', \"default\": 4, \"min\": 1, \"max\": 4, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes deep'},\n    \"chamfer_d\": {\"type\": 'float', \"default\": 1.3, \"min\": 1.0, \"max\": 1.6, \"step\": 0.5, \"group\": 'Body', \"label\": 'Chamfer distance (mm)'},\n    \"chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Chamfer edges'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(40.0, 10.1, p[\"hole_nx\"], p[\"hole_ny\"])\n        .hole(p[\"hole_d\"])\n    )\n    if p[\"chamfered\"]:\n        result = result.edges('|Z').chamfer(p[\"chamfer_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462c9e51_0669", "family": "sketched", "tier": 3, "seed": 1177329233, "symmetry": "mirror_x", "op_count": 4, "ir_hash": "b410773bf6f7cd42", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 49200.0, "surface_area": 11000.0, "principal_moments": [11999999.999999998, 15699999.999999998, 24799999.999999996], "n_faces": 12, "n_edges": 27, "n_vertices": 18}, "dimensions": {"lines": ["freeform sketched section (7 segments: 2 straight, 4 arcs, 1 curve), ~66.156 \u00d7 61.184 mm, extruded 15.1 mm thick.", "One \u00d88.4 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch.", "Boss \u00d824.1 mm \u00d7 10.8 mm tall on top face with a \u00d813 mm bore.", "Fillet radius 2.9 mm on vertical edges (optional, off by default)."], "text": "freeform sketched section (7 segments: 2 straight, 4 arcs, 1 curve), ~66.156 \u00d7 61.184 mm, extruded 15.1 mm thick. One \u00d88.4 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch. Boss \u00d824.1 mm \u00d7 10.8 mm tall on top face with a \u00d813 mm bore. Fillet radius 2.9 mm on vertical edges (optional, off by default)."}, "params": {"sk_w": {"type": "float", "default": 71.52, "min": 35.8, "max": 128.7, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 80, "min": 40.0, "max": 144.0, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "sk_t": {"type": "float", "default": 15.1, "min": 6.0, "max": 33.2, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "sk_hole_d": {"type": "float", "default": 8.4, "min": 2.0, "max": 16.8, "step": 0.5, "group": "Holes", "label": "Hole diameter (mm)"}, "boss_d": {"type": "float", "default": 24.1, "min": 12.1, "max": 48.2, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 10.8, "min": 4.3, "max": 27.0, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}, "boss_bore_d": {"type": "float", "default": 13.0, "min": 2.0, "max": 16.9, "step": 0.1, "group": "Boss", "label": "Bore diameter (mm)"}, "sk_fillet_r": {"type": "float", "default": 2.9, "min": 0.5, "max": 7.2, "step": 0.5, "group": "Body", "label": "Edge fillet radius (mm)"}, "sk_filleted": {"type": "bool", "default": false, "group": "Body", "label": "Fillet vertical edges"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329233 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 71.52, \"min\": 35.8, \"max\": 128.7, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 80, \"min\": 40.0, \"max\": 144.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"sk_t\": {\"type\": 'float', \"default\": 15.1, \"min\": 6.0, \"max\": 33.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"sk_hole_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 2.0, \"max\": 16.8, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"boss_d\": {\"type\": 'float', \"default\": 24.1, \"min\": 12.1, \"max\": 48.2, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 10.8, \"min\": 4.3, \"max\": 27.0, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n    \"boss_bore_d\": {\"type\": 'float', \"default\": 13.0, \"min\": 2.0, \"max\": 16.9, \"step\": 0.1, \"group\": 'Boss', \"label\": 'Bore diameter (mm)'},\n    \"sk_fillet_r\": {\"type\": 'float', \"default\": 2.9, \"min\": 0.5, \"max\": 7.2, \"step\": 0.5, \"group\": 'Body', \"label\": 'Edge fillet radius (mm)'},\n    \"sk_filleted\": {\"type\": 'bool', \"default\": False, \"group\": 'Body', \"label\": 'Fillet vertical edges'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.4486, p[\"sk_h\"] * -0.0598).threePointArc((p[\"sk_w\"] * 0.4267, p[\"sk_h\"] * 0.1126), (p[\"sk_w\"] * 0.3251, p[\"sk_h\"] * 0.256)).lineTo(p[\"sk_w\"] * -0.0011, p[\"sk_h\"] * 0.3219).spline([(p[\"sk_w\"] * -0.0011, p[\"sk_h\"] * 0.3219), (p[\"sk_w\"] * -0.1852, p[\"sk_h\"] * 0.3093), (p[\"sk_w\"] * -0.343, p[\"sk_h\"] * 0.2137)]).threePointArc((p[\"sk_w\"] * -0.4728, p[\"sk_h\"] * 0.0527), (p[\"sk_w\"] * -0.4764, p[\"sk_h\"] * -0.1296)).lineTo(p[\"sk_w\"] * -0.0301, p[\"sk_h\"] * -0.4429).threePointArc((p[\"sk_w\"] * 0.1274, p[\"sk_h\"] * -0.4343), (p[\"sk_w\"] * 0.275, p[\"sk_h\"] * -0.3851)).threePointArc((p[\"sk_w\"] * 0.4165, p[\"sk_h\"] * -0.2536), (p[\"sk_w\"] * 0.4486, p[\"sk_h\"] * -0.0598)).close().extrude(p[\"sk_t\"]))\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"sk_hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .hole(p[\"boss_bore_d\"])\n    )\n    if p[\"sk_filleted\"]:\n        result = result.edges('|Z').fillet(p[\"sk_fillet_r\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9e52_0670", "family": "plate", "tier": 0, "seed": 1177329234, "symmetry": "radial", "op_count": 1, "ir_hash": "238ef16c81a558c3", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 11900.0, "surface_area": 5780.0, "principal_moments": [1160000.0, 4870000.0, 5980000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 70 \u00d7 33.9 \u00d7 5 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 70 \u00d7 33.9 \u00d7 5 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 70, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 33.9, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 5.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329234 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 70, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 33.9, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 5.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462c9e53_0671", "family": "block", "tier": 1, "seed": 1177329235, "symmetry": "none", "op_count": 2, "ir_hash": "d97a9df57adf3999", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 86000.0, "surface_area": 18700.0, "principal_moments": [18700000.0, 49199999.99999999, 58399999.99999999], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 45 \u00d7 26.2 \u00d7 78.8 mm (W\u00d7D\u00d7H).", "Four \u00d85.3 mm holes at the corners, 31.5 \u00d7 18.34 mm spacing."], "text": "Rectangular body, 45 \u00d7 26.2 \u00d7 78.8 mm (W\u00d7D\u00d7H). Four \u00d85.3 mm holes at the corners, 31.5 \u00d7 18.34 mm spacing."}, "params": {"block_w": {"type": "float", "default": 45, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 26.2, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 78.8, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 5.9, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329235 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 45, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 26.2, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 78.8, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 5.9, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462c9e54_0672", "family": "revolved", "tier": 0, "seed": 1177329236, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "b78c44e395e7ed80", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 28500.0, "surface_area": 7990.0, "principal_moments": [6160000.0, 6160000.0, 10700000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d850 mm \u00d7 21.8 mm tall."], "text": "Revolved body, \u00d850 mm \u00d7 21.8 mm tall."}, "params": {"outer_d": {"type": "float", "default": 50, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 21.8, "min": 6.5, "max": 65.4, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329236 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 50, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 21.8, \"min\": 6.5, \"max\": 65.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9e55_0673", "family": "plate", "tier": 1, "seed": 1177329237, "symmetry": "none", "op_count": 2, "ir_hash": "205530849e44f549", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 1550.0, "surface_area": 1120.0, "principal_moments": [19800.0, 82900.0, 93400.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 25 \u00d7 11 \u00d7 6 mm (W\u00d7D\u00d7H).", "Four \u00d82.3 mm holes at the corners, 17.5 \u00d7 7.7 mm spacing."], "text": "Rectangular body, 25 \u00d7 11 \u00d7 6 mm (W\u00d7D\u00d7H). Four \u00d82.3 mm holes at the corners, 17.5 \u00d7 7.7 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 25, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 11.0, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 6.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 2.3, "min": 2.0, "max": 2.5, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329237 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 25, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 11.0, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 2.3, \"min\": 2.0, \"max\": 2.5, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462c9e56_0674", "family": "block", "tier": 1, "seed": 1177329238, "symmetry": "none", "op_count": 2, "ir_hash": "2a5ae3696d13c746", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 533000.0, "surface_area": 45500.0, "principal_moments": [548000000.0, 575000000.0, 829000000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 98.46 \u00d7 95.3 \u00d7 57.6 mm (W\u00d7D\u00d7H).", "Four \u00d86.4 mm holes at the corners, 68.922 \u00d7 66.71 mm spacing."], "text": "Rectangular body, 98.46 \u00d7 95.3 \u00d7 57.6 mm (W\u00d7D\u00d7H). Four \u00d86.4 mm holes at the corners, 68.922 \u00d7 66.71 mm spacing."}, "params": {"block_w": {"type": "float", "default": 98.46, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 95.3, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 57.6, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329238 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 98.46, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 95.3, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 57.6, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462c9e57_0675", "family": "compound", "tier": 2, "seed": 1177329239, "symmetry": "none", "op_count": 5, "ir_hash": "2a968007eaa10055", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 259000.0, "surface_area": 34200.0, "principal_moments": [158000000.0, 192000000.0, 258000000.0], "n_faces": 42, "n_edges": 112, "n_vertices": 73}, "dimensions": {"lines": ["Rectangular body, 82.36 \u00d7 71.2 \u00d7 46 mm (W\u00d7D\u00d7H).", "8-sided polygon section, 13.6 mm across corners attachment, 12.5 mm long, from back face with a \u00d87.5 mm bore.", "8-sided polygon section, 13.6 mm across corners attachment, 12.5 mm long, from right face with a \u00d87.5 mm bore.", "8-sided polygon section, 13.6 mm across corners attachment, 12.5 mm long, from front face with a \u00d87.5 mm bore.", "Four \u00d810.5 mm holes at the corners, 57.652 \u00d7 49.84 mm spacing."], "text": "Rectangular body, 82.36 \u00d7 71.2 \u00d7 46 mm (W\u00d7D\u00d7H). 8-sided polygon section, 13.6 mm across corners attachment, 12.5 mm long, from back face with a \u00d87.5 mm bore. 8-sided polygon section, 13.6 mm across corners attachment, 12.5 mm long, from right face with a \u00d87.5 mm bore. 8-sided polygon section, 13.6 mm across corners attachment, 12.5 mm long, from front face with a \u00d87.5 mm bore. Four \u00d810.5 mm holes at the corners, 57.652 \u00d7 49.84 mm spacing."}, "params": {"block_w": {"type": "float", "default": 82.36, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body width (mm)"}, "block_d": {"type": "float", "default": 71.2, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body depth (mm)"}, "block_h": {"type": "float", "default": 46.0, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body height (mm)"}, "port_sides": {"type": "int", "default": 8, "min": 3, "max": 8, "step": 1, "group": "Ports", "label": "Ports sides"}, "port_r": {"type": "float", "default": 6.8, "min": 3.4, "max": 10.3, "step": 1.0, "group": "Ports", "label": "Ports circumradius (mm)"}, "port_len": {"type": "float", "default": 12.5, "min": 3.1, "max": 37.7, "step": 1.0, "group": "Ports", "label": "Port boss length (mm)"}, "port_bore": {"type": "float", "default": 7.5, "min": 2.0, "max": 9.0, "step": 0.5, "group": "Ports", "label": "Port bore diameter (mm)"}, "hole_d": {"type": "float", "default": 10.5, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329239 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 82.36, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 71.2, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 46.0, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body height (mm)'},\n    \"port_sides\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Ports', \"label\": 'Ports sides'},\n    \"port_r\": {\"type\": 'float', \"default\": 6.8, \"min\": 3.4, \"max\": 10.3, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Ports circumradius (mm)'},\n    \"port_len\": {\"type\": 'float', \"default\": 12.5, \"min\": 3.1, \"max\": 37.7, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Port boss length (mm)'},\n    \"port_bore\": {\"type\": 'float', \"default\": 7.5, \"min\": 2.0, \"max\": 9.0, \"step\": 0.5, \"group\": 'Ports', \"label\": 'Port bore diameter (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 10.5, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"port_sides\"], p[\"port_r\"] * 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"port_sides\"], p[\"port_r\"] * 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"port_sides\"], p[\"port_r\"] * 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462c9e58_0676", "family": "bracket", "tier": 1, "seed": 1177329240, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "bda482ac4b131046", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 9740.0, "surface_area": 5910.0, "principal_moments": [1290000.0, 4170000.0, 4190000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["L-bracket: base leg 55 mm, vertical leg 37.4 mm, 27.88 mm wide, 4 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."], "text": "L-bracket: base leg 55 mm, vertical leg 37.4 mm, 27.88 mm wide, 4 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 55, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 37.4, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 27.88, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 4.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329240 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 55, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 37.4, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 27.88, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462c9e5a_0678", "family": "compound", "tier": 2, "seed": 1177329242, "symmetry": "none", "op_count": 3, "ir_hash": "aa054a913864cbe7", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 31100.0, "surface_area": 11200.0, "principal_moments": [8780000.0, 11599999.999999998, 18100000.0], "n_faces": 18, "n_edges": 45, "n_vertices": 30}, "dimensions": {"lines": ["Rectangular body, 65.84 \u00d7 56.3 \u00d7 8 mm (W\u00d7D\u00d7H).", "6-sided polygon section, 10.6 mm across corners attachment, 32.7 mm long, from top face with a \u00d83.8 mm bore.", "Four \u00d84.3 mm holes at the corners, 46.088 \u00d7 39.41 mm spacing."], "text": "Rectangular body, 65.84 \u00d7 56.3 \u00d7 8 mm (W\u00d7D\u00d7H). 6-sided polygon section, 10.6 mm across corners attachment, 32.7 mm long, from top face with a \u00d83.8 mm bore. Four \u00d84.3 mm holes at the corners, 46.088 \u00d7 39.41 mm spacing."}, "params": {"base_w": {"type": "float", "default": 65.84, "min": 30.0, "max": 160.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 56.3, "min": 25.0, "max": 160.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_h": {"type": "float", "default": 8.0, "min": 3.0, "max": 30.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "col_sides": {"type": "int", "default": 6, "min": 3, "max": 8, "step": 1, "group": "Column", "label": "Column sides"}, "col_r": {"type": "float", "default": 5.3, "min": 2.6, "max": 14.1, "step": 1.0, "group": "Column", "label": "Column circumradius (mm)"}, "col_h": {"type": "float", "default": 32.7, "min": 9.8, "max": 98.1, "step": 1.0, "group": "Column", "label": "Column height (mm)"}, "col_bore": {"type": "float", "default": 3.8, "min": 2.0, "max": 6.6, "step": 0.5, "group": "Column", "label": "Column bore diameter (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 12.7, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329242 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 65.84, \"min\": 30.0, \"max\": 160.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 56.3, \"min\": 25.0, \"max\": 160.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_h\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 30.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"col_sides\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Column', \"label\": 'Column sides'},\n    \"col_r\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.6, \"max\": 14.1, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column circumradius (mm)'},\n    \"col_h\": {\"type\": 'float', \"default\": 32.7, \"min\": 9.8, \"max\": 98.1, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column height (mm)'},\n    \"col_bore\": {\"type\": 'float', \"default\": 3.8, \"min\": 2.0, \"max\": 6.6, \"step\": 0.5, \"group\": 'Column', \"label\": 'Column bore diameter (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 12.7, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_h\"])\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"col_sides\"], p[\"col_r\"] * 2).extrude(p[\"col_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"col_bore\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"base_w\"] * 0.7, p[\"base_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462c9e5b_0679", "family": "revolved", "tier": 1, "seed": 1177329243, "symmetry": "radial", "op_count": 1, "ir_hash": "f2658f831b4615d1", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 22400.0, "surface_area": 14700.0, "principal_moments": [8860000.0, 8860000.0, 17200000.0], "n_faces": 6, "n_edges": 9, "n_vertices": 6}, "dimensions": {"lines": ["Revolved body, \u00d845 mm \u00d7 11 mm tall with \u00d824.9 mm bore, \u00d890.9 mm \u00d7 2.1 mm flange."], "text": "Revolved body, \u00d845 mm \u00d7 11 mm tall with \u00d824.9 mm bore, \u00d890.9 mm \u00d7 2.1 mm flange."}, "params": {"outer_d": {"type": "float", "default": 45, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 11.0, "min": 3.3, "max": 33.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 24.9, "min": 2.0, "max": 31.5, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 90.9, "min": 54.0, "max": 135.0, "step": 1.0, "group": "Body", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 2.1, "min": 0.6, "max": 5.5, "step": 0.5, "group": "Body", "label": "Flange height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329243 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 45, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 11.0, \"min\": 3.3, \"max\": 33.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 24.9, \"min\": 2.0, \"max\": 31.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 90.9, \"min\": 54.0, \"max\": 135.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 2.1, \"min\": 0.6, \"max\": 5.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Flange height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462c9e5c_0680", "family": "compound", "tier": 1, "seed": 1177329244, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "898fdd43cf35b2c7", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 63800.0, "surface_area": 11900.0, "principal_moments": [13799999.999999998, 22400000.0, 23099999.999999996], "n_faces": 16, "n_edges": 39, "n_vertices": 26}, "dimensions": {"lines": ["Rectangular body, 55 \u00d7 32.3 \u00d7 35.3 mm (W\u00d7D\u00d7H).", "8-sided polygon section, 15.6 mm across corners attachment, 21.2 mm long, from back face with a \u00d87.8 mm bore."], "text": "Rectangular body, 55 \u00d7 32.3 \u00d7 35.3 mm (W\u00d7D\u00d7H). 8-sided polygon section, 15.6 mm across corners attachment, 21.2 mm long, from back face with a \u00d87.8 mm bore."}, "params": {"block_w": {"type": "float", "default": 55, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 32.3, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 35.3, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "spig_sides": {"type": "int", "default": 8, "min": 3, "max": 8, "step": 1, "group": "Spigot", "label": "Spigot sides"}, "spig_r": {"type": "float", "default": 7.8, "min": 3.9, "max": 12.3, "step": 1.0, "group": "Spigot", "label": "Spigot circumradius (mm)"}, "spig_len": {"type": "float", "default": 21.2, "min": 4.3, "max": 57.7, "step": 1.0, "group": "Spigot", "label": "Spigot length (mm)"}, "spig_bore": {"type": "float", "default": 7.8, "min": 2.0, "max": 10.4, "step": 0.5, "group": "Spigot", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329244 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 55, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 32.3, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 35.3, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"spig_sides\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Spigot', \"label\": 'Spigot sides'},\n    \"spig_r\": {\"type\": 'float', \"default\": 7.8, \"min\": 3.9, \"max\": 12.3, \"step\": 1.0, \"group\": 'Spigot', \"label\": 'Spigot circumradius (mm)'},\n    \"spig_len\": {\"type\": 'float', \"default\": 21.2, \"min\": 4.3, \"max\": 57.7, \"step\": 1.0, \"group\": 'Spigot', \"label\": 'Spigot length (mm)'},\n    \"spig_bore\": {\"type\": 'float', \"default\": 7.8, \"min\": 2.0, \"max\": 10.4, \"step\": 0.5, \"group\": 'Spigot', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"spig_sides\"], p[\"spig_r\"] * 2).extrude(p[\"spig_len\"])\n    )\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"spig_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462c9e5d_0681", "family": "compound", "tier": 2, "seed": 1177329245, "symmetry": "mirror_x", "op_count": 4, "ir_hash": "c5dc0756afe41915", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 28000.0, "surface_area": 7300.0, "principal_moments": [3590000.0, 4960000.0, 6030000.0], "n_faces": 20, "n_edges": 54, "n_vertices": 36}, "dimensions": {"lines": ["Rectangular body, 30.69 \u00d7 23.1 \u00d7 39.9 mm (W\u00d7D\u00d7H).", "13.9 \u00d7 31 mm rectangular section attachment, 4 mm long, from right face.", "Four \u00d82.7 mm holes at the corners, 8.34 \u00d7 18.6 mm spacing on the >X face.", "Pocket 13.4 \u00d7 12.2 mm, 18.3 mm deep, in top face."], "text": "Rectangular body, 30.69 \u00d7 23.1 \u00d7 39.9 mm (W\u00d7D\u00d7H). 13.9 \u00d7 31 mm rectangular section attachment, 4 mm long, from right face. Four \u00d82.7 mm holes at the corners, 8.34 \u00d7 18.6 mm spacing on the >X face. Pocket 13.4 \u00d7 12.2 mm, 18.3 mm deep, in top face."}, "params": {"block_w": {"type": "float", "default": 30.69, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 23.1, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 39.9, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "tab_a": {"type": "float", "default": 13.9, "min": 5.6, "max": 22.2, "step": 1.0, "group": "Tab", "label": "Tab width (mm)"}, "tab_b": {"type": "float", "default": 31.0, "min": 12.4, "max": 49.6, "step": 1.0, "group": "Tab", "label": "Tab height (mm)"}, "tab_t": {"type": "float", "default": 4.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Tab", "label": "Tab thickness (mm)"}, "tab_hole_d": {"type": "float", "default": 2.7, "min": 2.0, "max": 3.1, "step": 0.1, "group": "Tab", "label": "Tab hole diameter (mm)"}, "pocket_w": {"type": "float", "default": 13.4, "min": 6.7, "max": 24.6, "step": 1.0, "group": "Pocket", "label": "Pocket width (mm)"}, "pocket_d": {"type": "float", "default": 12.2, "min": 6.1, "max": 18.5, "step": 1.0, "group": "Pocket", "label": "Pocket depth (mm)"}, "pocket_h": {"type": "float", "default": 18.3, "min": 7.3, "max": 33.9, "step": 0.5, "group": "Pocket", "label": "Pocket height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329245 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 30.69, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 23.1, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 39.9, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"tab_a\": {\"type\": 'float', \"default\": 13.9, \"min\": 5.6, \"max\": 22.2, \"step\": 1.0, \"group\": 'Tab', \"label\": 'Tab width (mm)'},\n    \"tab_b\": {\"type\": 'float', \"default\": 31.0, \"min\": 12.4, \"max\": 49.6, \"step\": 1.0, \"group\": 'Tab', \"label\": 'Tab height (mm)'},\n    \"tab_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Tab', \"label\": 'Tab thickness (mm)'},\n    \"tab_hole_d\": {\"type\": 'float', \"default\": 2.7, \"min\": 2.0, \"max\": 3.1, \"step\": 0.1, \"group\": 'Tab', \"label\": 'Tab hole diameter (mm)'},\n    \"pocket_w\": {\"type\": 'float', \"default\": 13.4, \"min\": 6.7, \"max\": 24.6, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket width (mm)'},\n    \"pocket_d\": {\"type\": 'float', \"default\": 12.2, \"min\": 6.1, \"max\": 18.5, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket depth (mm)'},\n    \"pocket_h\": {\"type\": 'float', \"default\": 18.3, \"min\": 7.3, \"max\": 33.9, \"step\": 0.5, \"group\": 'Pocket', \"label\": 'Pocket height (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .rect(p[\"tab_a\"], p[\"tab_b\"]).extrude(p[\"tab_t\"])\n    )\n    result = (\n        result.faces('>X').workplane()\n        .rect(p[\"tab_a\"] * 0.6, p[\"tab_b\"] * 0.6, forConstruction=True)\n        .vertices().hole(p[\"tab_hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"pocket_w\"], p[\"pocket_d\"])\n        .cutBlind(-p[\"pocket_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9e5e_0682", "family": "plate", "tier": 1, "seed": 1177329246, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "74d2de9818ff3923", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 13600.0, "surface_area": 4630.0, "principal_moments": [1480000.0, 1910000.0, 3170000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 40 \u00d7 34.9 \u00d7 10 mm (W\u00d7D\u00d7H).", "Four \u00d83.2 mm holes at the corners, 28 \u00d7 24.43 mm spacing."], "text": "Rectangular body, 40 \u00d7 34.9 \u00d7 10 mm (W\u00d7D\u00d7H). Four \u00d83.2 mm holes at the corners, 28 \u00d7 24.43 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 40, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 34.9, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 7.9, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329246 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 40, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 34.9, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 7.9, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462c9e5f_0683", "family": "bracket", "tier": 2, "seed": 1177329247, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "909f468683679970", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 112000.0, "surface_area": 32800.0, "principal_moments": [119000000.0, 159000000.0, 223000000.0], "n_faces": 19, "n_edges": 51, "n_vertices": 34}, "dimensions": {"lines": ["C-channel bracket: base leg 85 mm, vertical leg 90 mm, 55 mm wide, 8 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg; 10 mm corner gusset."], "text": "C-channel bracket: base leg 85 mm, vertical leg 90 mm, 55 mm wide, 8 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg; 10 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 85, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 90.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 55, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 8.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 10.0, "min": 4.0, "max": 24.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329247 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 85, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 90.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 55, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 10.0, \"min\": 4.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl / 2, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bl - _bt, _bt).lineTo(_bl - _bt - _g, _bt)\n                    .lineTo(_bl - _bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9e60_0684", "family": "plate", "tier": 2, "seed": 1177329248, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "e2cba4d4dfa0d841", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 11600.0, "surface_area": 4780.0, "principal_moments": [511000.0, 3430000.0, 3750000.0], "n_faces": 22, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 60 \u00d7 21.2 \u00d7 10 mm (W\u00d7D\u00d7H).", "Four 5.2 mm square holes at the corners, 42 \u00d7 14.84 mm spacing."], "text": "Rectangular body, 60 \u00d7 21.2 \u00d7 10 mm (W\u00d7D\u00d7H). Four 5.2 mm square holes at the corners, 42 \u00d7 14.84 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 60, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 21.2, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.2, "min": 2.0, "max": 6.2, "step": 0.5, "group": "Holes", "label": "Square hole size (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329248 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 60, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 21.2, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.2, \"min\": 2.0, \"max\": 6.2, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Square hole size (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().rect(p[\"hole_d\"], p[\"hole_d\"]).cutThruAll()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462c9e61_0685", "family": "compound", "tier": 3, "seed": 1177329249, "symmetry": "none", "op_count": 7, "ir_hash": "ad090528211efce2", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 15000.0, "surface_area": 5220.0, "principal_moments": [1340000.0, 1710000.0, 1960000.0], "n_faces": 29, "n_edges": 68, "n_vertices": 43}, "dimensions": {"lines": ["Rectangular body, 30 \u00d7 24.7 \u00d7 20.9 mm (W\u00d7D\u00d7H).", "\u00d87 mm circular section attachment, 4.6 mm long, from front face with a \u00d83.7 mm bore.", "\u00d87 mm circular section attachment, 4.6 mm long, from right face with a \u00d83.7 mm bore.", "\u00d87 mm circular section attachment, 4.6 mm long, from back face with a \u00d83.7 mm bore.", "\u00d87 mm circular section attachment, 4.6 mm long, from left face with a \u00d83.7 mm bore.", "Four \u00d83.2 mm holes at the corners, 21 \u00d7 17.29 mm spacing.", "Fillet radius 2.377 mm on vertical edges."], "text": "Rectangular body, 30 \u00d7 24.7 \u00d7 20.9 mm (W\u00d7D\u00d7H). \u00d87 mm circular section attachment, 4.6 mm long, from front face with a \u00d83.7 mm bore. \u00d87 mm circular section attachment, 4.6 mm long, from right face with a \u00d83.7 mm bore. \u00d87 mm circular section attachment, 4.6 mm long, from back face with a \u00d83.7 mm bore. \u00d87 mm circular section attachment, 4.6 mm long, from left face with a \u00d83.7 mm bore. Four \u00d83.2 mm holes at the corners, 21 \u00d7 17.29 mm spacing. Fillet radius 2.377 mm on vertical edges."}, "params": {"block_w": {"type": "float", "default": 30.0, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body width (mm)"}, "block_d": {"type": "float", "default": 24.7, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body depth (mm)"}, "block_h": {"type": "float", "default": 20.9, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body height (mm)"}, "port_d": {"type": "float", "default": 7.0, "min": 2.8, "max": 9.4, "step": 1.0, "group": "Ports", "label": "Ports diameter (mm)"}, "port_len": {"type": "float", "default": 4.6, "min": 1.8, "max": 21.0, "step": 1.0, "group": "Ports", "label": "Port boss length (mm)"}, "port_bore": {"type": "float", "default": 3.7, "min": 2.0, "max": 5.0, "step": 0.5, "group": "Ports", "label": "Port bore diameter (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 5.6, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329249 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 30.0, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 24.7, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 20.9, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body height (mm)'},\n    \"port_d\": {\"type\": 'float', \"default\": 7.0, \"min\": 2.8, \"max\": 9.4, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Ports diameter (mm)'},\n    \"port_len\": {\"type\": 'float', \"default\": 4.6, \"min\": 1.8, \"max\": 21.0, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Port boss length (mm)'},\n    \"port_bore\": {\"type\": 'float', \"default\": 3.7, \"min\": 2.0, \"max\": 5.0, \"step\": 0.5, \"group\": 'Ports', \"label\": 'Port bore diameter (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 5.6, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"block_w\"], p[\"block_d\"]) * 0.09625090136058859)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462c9e62_0686", "family": "tapped", "tier": 0, "seed": 1177329250, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "725447c4228a3e9d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 1770.0, "surface_area": 1260.0, "principal_moments": [29500.0, 78300.0, 78300.0], "n_faces": 243, "n_edges": 663, "n_vertices": 422}, "dimensions": {"lines": ["One M4x0.7 tapped hole in a cylinder."], "text": "One M4x0.7 tapped hole in a cylinder."}, "params": {"major_d": {"type": "float", "default": 4.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 0.7, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 20.8, "min": 4.8, "max": 37.4, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "body_d": {"type": "float", "default": 11.0, "min": 7.2, "max": 17.6, "step": 1.0, "group": "Body", "label": "Outer \u00d8 (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329250 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 4.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 0.7, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 20.8, \"min\": 4.8, \"max\": 37.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"body_d\": {\"type\": 'float', \"default\": 11.0, \"min\": 7.2, \"max\": 17.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer \u00d8 (mm)'},\n}\n\n\ndef build(p):\n\n    _W = _D = p[\"body_d\"]\n    _H = p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Cylinder(radius=_W / 2, height=_H)\n    _locs = [(0.0, 0.0)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9e63_0687", "family": "plate", "tier": 1, "seed": 1177329251, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "1a5d265f44fcee41", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 15100.0, "surface_area": 8990.0, "principal_moments": [3870000.0, 6230000.0, 10100000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 71.24 \u00d7 56.1 \u00d7 4 mm (W\u00d7D\u00d7H).", "Four \u00d88.4 mm holes at the corners, 49.868 \u00d7 39.27 mm spacing."], "text": "Rectangular body, 71.24 \u00d7 56.1 \u00d7 4 mm (W\u00d7D\u00d7H). Four \u00d88.4 mm holes at the corners, 49.868 \u00d7 39.27 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 71.24, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 56.1, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 4.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 8.4, "min": 2.0, "max": 12.6, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329251 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 71.24, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 56.1, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 4.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 2.0, \"max\": 12.6, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462c9e64_0688", "family": "bracket", "tier": 2, "seed": 1177329252, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "ae8752d6862f4442", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 20100.0, "surface_area": 7720.0, "principal_moments": [3940000.0, 13899999.999999998, 17200000.0], "n_faces": 14, "n_edges": 37, "n_vertices": 24}, "dimensions": {"lines": ["L-bracket: base leg 75 mm, vertical leg 70.6 mm, 15.47 mm wide, 8 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg; 7.3 mm corner gusset."], "text": "L-bracket: base leg 75 mm, vertical leg 70.6 mm, 15.47 mm wide, 8 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg; 7.3 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 75, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 70.6, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 15.47, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 8.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 6.2, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 7.3, "min": 4.0, "max": 7.7, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329252 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 75, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 70.6, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 15.47, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 6.2, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 7.3, \"min\": 4.0, \"max\": 7.7, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462c9e65_0689", "family": "block", "tier": 2, "seed": 1177329253, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "1365b2e9bd85c9f2", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 14100.0, "surface_area": 5390.0, "principal_moments": [1190000.0, 2060000.0, 2900000.0], "n_faces": 14, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 30 \u00d7 12.5 \u00d7 40.1 mm (W\u00d7D\u00d7H).", "Four \u00d82.7 mm holes at the corners, 21 \u00d7 8.75 mm spacing.", "Fillet radius 1.129 mm on vertical edges."], "text": "Rectangular body, 30 \u00d7 12.5 \u00d7 40.1 mm (W\u00d7D\u00d7H). Four \u00d82.7 mm holes at the corners, 21 \u00d7 8.75 mm spacing. Fillet radius 1.129 mm on vertical edges."}, "params": {"block_w": {"type": "float", "default": 30, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 12.5, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 40.1, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 2.7, "min": 2.0, "max": 2.8, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329253 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 30, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 12.5, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 40.1, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 2.7, \"min\": 2.0, \"max\": 2.8, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"block_w\"], p[\"block_d\"]) * 0.09035345930887267)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462c9e66_0690", "family": "bracket", "tier": 1, "seed": 1177329254, "symmetry": "none", "op_count": 1, "ir_hash": "f83c73909413e8e1", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 10900.0, "surface_area": 4040.0, "principal_moments": [1180000.0, 1230000.0, 1820000.0], "n_faces": 9, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["L-bracket: base leg 27.41 mm, vertical leg 25 mm, 31.02 mm wide, 8 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."], "text": "L-bracket: base leg 27.41 mm, vertical leg 25 mm, 31.02 mm wide, 8 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 27.41, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 25.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 31.02, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 8.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329254 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 27.41, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 25.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 31.02, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462c9e67_0691", "family": "compound", "tier": 1, "seed": 1177329255, "symmetry": "none", "op_count": 2, "ir_hash": "304aecb12bf68014", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 111000.0, "surface_area": 20300.0, "principal_moments": [28299999.999999996, 89600000.0, 89600000.0], "n_faces": 6, "n_edges": 9, "n_vertices": 6}, "dimensions": {"lines": ["\u00d845 mm circular section, extruded 65.8 mm thick.", "\u00d827.7 mm circular section attachment, 38.9 mm long, from top face with a \u00d814.5 mm bore."], "text": "\u00d845 mm circular section, extruded 65.8 mm thick. \u00d827.7 mm circular section attachment, 38.9 mm long, from top face with a \u00d814.5 mm bore."}, "params": {"shaft_d": {"type": "float", "default": 45, "min": 22.5, "max": 81.0, "step": 1.0, "group": "Body", "label": "Shaft diameter (mm)"}, "shaft_len": {"type": "float", "default": 65.8, "min": 26.3, "max": 131.6, "step": 1.0, "group": "Body", "label": "Shaft length (mm)"}, "step_d": {"type": "float", "default": 27.7, "min": 13.8, "max": 40.5, "step": 1.0, "group": "Step", "label": "Step diameter (mm)"}, "step_len": {"type": "float", "default": 38.9, "min": 11.7, "max": 97.2, "step": 1.0, "group": "Step", "label": "Step length (mm)"}, "axial_bore": {"type": "float", "default": 14.5, "min": 2.0, "max": 19.9, "step": 0.5, "group": "Bore", "label": "Axial bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329255 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"shaft_d\": {\"type\": 'float', \"default\": 45, \"min\": 22.5, \"max\": 81.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft diameter (mm)'},\n    \"shaft_len\": {\"type\": 'float', \"default\": 65.8, \"min\": 26.3, \"max\": 131.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft length (mm)'},\n    \"step_d\": {\"type\": 'float', \"default\": 27.7, \"min\": 13.8, \"max\": 40.5, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step diameter (mm)'},\n    \"step_len\": {\"type\": 'float', \"default\": 38.9, \"min\": 11.7, \"max\": 97.2, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step length (mm)'},\n    \"axial_bore\": {\"type\": 'float', \"default\": 14.5, \"min\": 2.0, \"max\": 19.9, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Axial bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').circle(p[\"shaft_d\"] / 2).extrude(p[\"shaft_len\"]))\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"step_d\"] / 2).extrude(p[\"step_len\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"axial_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462c9e68_0692", "family": "bracket", "tier": 2, "seed": 1177329256, "symmetry": "none", "op_count": 1, "ir_hash": "40b5b6cff1034995", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 24600.0, "surface_area": 9780.0, "principal_moments": [5960000.0, 8330000.0, 11899999.999999998], "n_faces": 14, "n_edges": 37, "n_vertices": 24}, "dimensions": {"lines": ["L-bracket: base leg 40 mm, vertical leg 33.7 mm, 59.53 mm wide, 6 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 6.8 mm corner gusset."], "text": "L-bracket: base leg 40 mm, vertical leg 33.7 mm, 59.53 mm wide, 6 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 6.8 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 40, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 33.7, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 59.53, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 6.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 6.8, "min": 3.0, "max": 18.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329256 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 40, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 33.7, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 59.53, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 6.8, \"min\": 3.0, \"max\": 18.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462c9e69_0693", "family": "sketched", "tier": 2, "seed": 1177329257, "symmetry": "none", "op_count": 3, "ir_hash": "51d0a8fb8a9affd6", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 16100.0, "surface_area": 4740.0, "principal_moments": [1420000.0, 2390000.0, 3110000.0], "n_faces": 12, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["freeform sketched section (6 segments: 2 straight, 1 arc, 3 curves), ~49.438 \u00d7 31.796 mm, extruded 12.99 mm thick.", "One \u00d88.4 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch.", "Boss \u00d818.7 mm \u00d7 6.4 mm tall on top face."], "text": "freeform sketched section (6 segments: 2 straight, 1 arc, 3 curves), ~49.438 \u00d7 31.796 mm, extruded 12.99 mm thick. One \u00d88.4 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch. Boss \u00d818.7 mm \u00d7 6.4 mm tall on top face."}, "params": {"sk_w": {"type": "float", "default": 59.03, "min": 29.5, "max": 106.3, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 50.31, "min": 25.2, "max": 90.6, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "sk_t": {"type": "float", "default": 12.99, "min": 5.2, "max": 28.6, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "sk_hole_d": {"type": "float", "default": 8.4, "min": 2.0, "max": 16.8, "step": 0.5, "group": "Holes", "label": "Hole diameter (mm)"}, "boss_d": {"type": "float", "default": 18.7, "min": 9.3, "max": 37.4, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 6.4, "min": 2.6, "max": 16.0, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329257 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 59.03, \"min\": 29.5, \"max\": 106.3, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 50.31, \"min\": 25.2, \"max\": 90.6, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"sk_t\": {\"type\": 'float', \"default\": 12.99, \"min\": 5.2, \"max\": 28.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"sk_hole_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 2.0, \"max\": 16.8, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"boss_d\": {\"type\": 'float', \"default\": 18.7, \"min\": 9.3, \"max\": 37.4, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.6, \"max\": 16.0, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.3691, p[\"sk_h\"] * -0.1343).spline([(p[\"sk_w\"] * 0.3691, p[\"sk_h\"] * -0.1343), (p[\"sk_w\"] * 0.3434, p[\"sk_h\"] * 0.0772), (p[\"sk_w\"] * 0.2303, p[\"sk_h\"] * 0.2577)]).bezier([(p[\"sk_w\"] * 0.2303, p[\"sk_h\"] * 0.2577), (p[\"sk_w\"] * -0.0302, p[\"sk_h\"] * 0.3149), (p[\"sk_w\"] * -0.2885, p[\"sk_h\"] * 0.2485)]).spline([(p[\"sk_w\"] * -0.2885, p[\"sk_h\"] * 0.2485), (p[\"sk_w\"] * -0.3836, p[\"sk_h\"] * 0.207), (p[\"sk_w\"] * -0.4684, p[\"sk_h\"] * 0.1473)]).lineTo(p[\"sk_w\"] * -0.1147, p[\"sk_h\"] * -0.3743).threePointArc((p[\"sk_w\"] * 0.022, p[\"sk_h\"] * -0.3841), (p[\"sk_w\"] * 0.151, p[\"sk_h\"] * -0.3285)).lineTo(p[\"sk_w\"] * 0.3691, p[\"sk_h\"] * -0.1343).close().extrude(p[\"sk_t\"]))\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"sk_hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462c9e6a_0694", "family": "bracket", "tier": 1, "seed": 1177329258, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "7dc5e4e15fa76d24", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 11600.0, "surface_area": 4120.0, "principal_moments": [1170000.0, 1440000.0, 2030000.0], "n_faces": 8, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["L-bracket: base leg 25 mm, vertical leg 25 mm, 34.49 mm wide, 8 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."], "text": "L-bracket: base leg 25 mm, vertical leg 25 mm, 34.49 mm wide, 8 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 25.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 25.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 34.49, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 8.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329258 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 25.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 25.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 34.49, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462c9e6b_0695", "family": "ribbed", "tier": 2, "seed": 1177329259, "symmetry": "mirror_xy", "op_count": 3, "ir_hash": "5a239ee16b8a088a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 17900.0, "surface_area": 12500.0, "principal_moments": [4350000.0, 10400000.0, 13299999.999999998], "n_faces": 30, "n_edges": 88, "n_vertices": 56}, "dimensions": {"lines": ["Rectangular body, 71.96 \u00d7 46.1 \u00d7 4 mm (W\u00d7D\u00d7H).", "Two ribs, 2.2 mm thick, 19.9 mm tall.", "Four \u00d85.3 mm holes at the corners, 50.372 \u00d7 32.27 mm spacing."], "text": "Rectangular body, 71.96 \u00d7 46.1 \u00d7 4 mm (W\u00d7D\u00d7H). Two ribs, 2.2 mm thick, 19.9 mm tall. Four \u00d85.3 mm holes at the corners, 50.372 \u00d7 32.27 mm spacing."}, "params": {"base_w": {"type": "float", "default": 71.96, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 46.1, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 4.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 2, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 19.9, "min": 8.0, "max": 39.8, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 2.2, "min": 1.0, "max": 5.5, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 10.4, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329259 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 71.96, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 46.1, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 2, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 19.9, \"min\": 8.0, \"max\": 39.8, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 2.2, \"min\": 1.0, \"max\": 5.5, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 10.4, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"base_w\"] * 0.7, p[\"base_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462c9e6c_0696", "family": "bracket", "tier": 1, "seed": 1177329260, "symmetry": "none", "op_count": 1, "ir_hash": "c2967be06f9b625a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 33400.0, "surface_area": 10700.0, "principal_moments": [9590000.0, 12699999.999999998, 16900000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["L-bracket: base leg 44.04 mm, vertical leg 48.1 mm, 49.8 mm wide, 8 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."], "text": "L-bracket: base leg 44.04 mm, vertical leg 48.1 mm, 49.8 mm wide, 8 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 44.04, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 48.1, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 49.8, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 8.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329260 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 44.04, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 48.1, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 49.8, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462c9e6d_0697", "family": "ribbed", "tier": 2, "seed": 1177329261, "symmetry": "none", "op_count": 3, "ir_hash": "8f73d40a933ed018", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 40800.0, "surface_area": 14100.0, "principal_moments": [8800000.0, 25199999.999999996, 31999999.999999996], "n_faces": 26, "n_edges": 64, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 80.28 \u00d7 45.3 \u00d7 10 mm (W\u00d7D\u00d7H).", "Two ribs, 2.8 mm thick, 13.9 mm tall.", "Four \u00d84.3 mm holes at the corners, 56.196 \u00d7 31.71 mm spacing."], "text": "Rectangular body, 80.28 \u00d7 45.3 \u00d7 10 mm (W\u00d7D\u00d7H). Two ribs, 2.8 mm thick, 13.9 mm tall. Four \u00d84.3 mm holes at the corners, 56.196 \u00d7 31.71 mm spacing."}, "params": {"base_w": {"type": "float", "default": 80.28, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 45.3, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 10.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 2, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 13.9, "min": 5.6, "max": 27.8, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 2.8, "min": 1.0, "max": 7.0, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 10.2, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329261 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 80.28, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 45.3, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 2, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 13.9, \"min\": 5.6, \"max\": 27.8, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 2.8, \"min\": 1.0, \"max\": 7.0, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 10.2, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"base_w\"] * 0.7, p[\"base_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462c9e6e_0698", "family": "flanged", "tier": 1, "seed": 1177329262, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "9c6491b2b6c5af82", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 51400.0, "surface_area": 14900.0, "principal_moments": [16800000.0, 16800000.0, 22400000.0], "n_faces": 21, "n_edges": 78, "n_vertices": 52}, "dimensions": {"lines": ["Revolved body, \u00d837.56 mm \u00d7 34.4 mm tall with \u00d811.6 mm bore, \u00d873.3 mm \u00d7 6.6 mm flange.", "Eight \u00d88.4 mm holes on a \u00d844 mm bolt circle."], "text": "Revolved body, \u00d837.56 mm \u00d7 34.4 mm tall with \u00d811.6 mm bore, \u00d873.3 mm \u00d7 6.6 mm flange. Eight \u00d88.4 mm holes on a \u00d844 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 37.56, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 34.4, "min": 10.3, "max": 86.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 11.6, "min": 2.0, "max": 26.3, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 73.3, "min": 48.8, "max": 112.7, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 6.6, "min": 2.0, "max": 13.8, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 8.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 22.0, "min": 14.7, "max": 33.0, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 8, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329262 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 37.56, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 34.4, \"min\": 10.3, \"max\": 86.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 11.6, \"min\": 2.0, \"max\": 26.3, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 73.3, \"min\": 48.8, \"max\": 112.7, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 6.6, \"min\": 2.0, \"max\": 13.8, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 22.0, \"min\": 14.7, \"max\": 33.0, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462c9e6f_0699", "family": "compound", "tier": 2, "seed": 1177329263, "symmetry": "none", "op_count": 3, "ir_hash": "455d07d0500e4099", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 115000.0, "surface_area": 28800.0, "principal_moments": [84900000.0, 129000000.0, 194000000.0], "n_faces": 12, "n_edges": 27, "n_vertices": 18}, "dimensions": {"lines": ["Rectangular body, 116.76 \u00d7 92.5 \u00d7 10 mm (W\u00d7D\u00d7H).", "\u00d816.1 mm circular section attachment, 47.5 mm long, from top face.", "Four \u00d88.4 mm holes at the corners, 81.732 \u00d7 64.75 mm spacing."], "text": "Rectangular body, 116.76 \u00d7 92.5 \u00d7 10 mm (W\u00d7D\u00d7H). \u00d816.1 mm circular section attachment, 47.5 mm long, from top face. Four \u00d88.4 mm holes at the corners, 81.732 \u00d7 64.75 mm spacing."}, "params": {"base_w": {"type": "float", "default": 116.76, "min": 30.0, "max": 160.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 92.5, "min": 25.0, "max": 160.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_h": {"type": "float", "default": 10.0, "min": 3.0, "max": 30.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "col_d": {"type": "float", "default": 16.1, "min": 6.4, "max": 46.2, "step": 1.0, "group": "Column", "label": "Column diameter (mm)"}, "col_h": {"type": "float", "default": 47.5, "min": 14.2, "max": 142.5, "step": 1.0, "group": "Column", "label": "Column height (mm)"}, "hole_d": {"type": "float", "default": 8.4, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329263 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 116.76, \"min\": 30.0, \"max\": 160.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 92.5, \"min\": 25.0, \"max\": 160.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_h\": {\"type\": 'float', \"default\": 10.0, \"min\": 3.0, \"max\": 30.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"col_d\": {\"type\": 'float', \"default\": 16.1, \"min\": 6.4, \"max\": 46.2, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column diameter (mm)'},\n    \"col_h\": {\"type\": 'float', \"default\": 47.5, \"min\": 14.2, \"max\": 142.5, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_h\"])\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"col_d\"] / 2).extrude(p[\"col_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"base_w\"] * 0.7, p[\"base_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462c9e70_0700", "family": "compound", "tier": 1, "seed": 1177329264, "symmetry": "none", "op_count": 2, "ir_hash": "1229f34c999e1399", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 63400.0, "surface_area": 14400.0, "principal_moments": [10100000.0, 40100000.0, 40100000.0], "n_faces": 6, "n_edges": 9, "n_vertices": 6}, "dimensions": {"lines": ["\u00d835.85 mm circular section, extruded 61.1 mm thick.", "\u00d816.4 mm circular section attachment, 45.7 mm long, from top face with a \u00d89.7 mm bore."], "text": "\u00d835.85 mm circular section, extruded 61.1 mm thick. \u00d816.4 mm circular section attachment, 45.7 mm long, from top face with a \u00d89.7 mm bore."}, "params": {"shaft_d": {"type": "float", "default": 35.85, "min": 17.9, "max": 64.5, "step": 1.0, "group": "Body", "label": "Shaft diameter (mm)"}, "shaft_len": {"type": "float", "default": 61.1, "min": 24.4, "max": 122.2, "step": 1.0, "group": "Body", "label": "Shaft length (mm)"}, "step_d": {"type": "float", "default": 16.4, "min": 8.2, "max": 32.3, "step": 1.0, "group": "Step", "label": "Step diameter (mm)"}, "step_len": {"type": "float", "default": 45.7, "min": 13.7, "max": 114.2, "step": 1.0, "group": "Step", "label": "Step length (mm)"}, "axial_bore": {"type": "float", "default": 9.7, "min": 2.0, "max": 11.8, "step": 0.5, "group": "Bore", "label": "Axial bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329264 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"shaft_d\": {\"type\": 'float', \"default\": 35.85, \"min\": 17.9, \"max\": 64.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft diameter (mm)'},\n    \"shaft_len\": {\"type\": 'float', \"default\": 61.1, \"min\": 24.4, \"max\": 122.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft length (mm)'},\n    \"step_d\": {\"type\": 'float', \"default\": 16.4, \"min\": 8.2, \"max\": 32.3, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step diameter (mm)'},\n    \"step_len\": {\"type\": 'float', \"default\": 45.7, \"min\": 13.7, \"max\": 114.2, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step length (mm)'},\n    \"axial_bore\": {\"type\": 'float', \"default\": 9.7, \"min\": 2.0, \"max\": 11.8, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Axial bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').circle(p[\"shaft_d\"] / 2).extrude(p[\"shaft_len\"]))\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"step_d\"] / 2).extrude(p[\"step_len\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"axial_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462c9e71_0701", "family": "sketched", "tier": 1, "seed": 1177329265, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "e03619d9e8b797f3", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 141000.0, "surface_area": 17400.0, "principal_moments": [60099999.99999999, 60099999.99999999, 90700000.0], "n_faces": 6, "n_edges": 9, "n_vertices": 5}, "dimensions": {"lines": ["Revolved organic body from a freeform sketched section (6 segments: 2 straight, 3 arcs, 1 curve), ~38.384 \u00d7 38.72 mm half-silhouette."], "text": "Revolved organic body from a freeform sketched section (6 segments: 2 straight, 3 arcs, 1 curve), ~38.384 \u00d7 38.72 mm half-silhouette."}, "params": {"sk_r": {"type": "float", "default": 40, "min": 20.0, "max": 72.0, "step": 1.0, "group": "Sketch", "label": "Max radius (mm)"}, "sk_h": {"type": "float", "default": 38.72, "min": 19.4, "max": 69.7, "step": 1.0, "group": "Sketch", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329265 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_r\": {\"type\": 'float', \"default\": 40, \"min\": 20.0, \"max\": 72.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Max radius (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 38.72, \"min\": 19.4, \"max\": 69.7, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XZ').moveTo(p[\"sk_r\"] * 0.9596, p[\"sk_h\"] * 0.0).threePointArc((p[\"sk_r\"] * 0.9802, p[\"sk_h\"] * 0.2714), (p[\"sk_r\"] * 0.8816, p[\"sk_h\"] * 0.5429)).bezier([(p[\"sk_r\"] * 0.8816, p[\"sk_h\"] * 0.5429), (p[\"sk_r\"] * 0.8386, p[\"sk_h\"] * 0.6744), (p[\"sk_r\"] * 0.4931, p[\"sk_h\"] * 0.806)]).threePointArc((p[\"sk_r\"] * 0.6044, p[\"sk_h\"] * 0.8677), (p[\"sk_r\"] * 0.5754, p[\"sk_h\"] * 0.9295)).threePointArc((p[\"sk_r\"] * 0.6342, p[\"sk_h\"] * 0.9647), (p[\"sk_r\"] * 0.5392, p[\"sk_h\"] * 1.0)).lineTo(p[\"sk_r\"] * 0.0, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.0, p[\"sk_h\"] * 0.0).close().revolve())\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462c9e72_0702", "family": "compound", "tier": 2, "seed": 1177329266, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "4185774cd6819e7a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 101000.0, "surface_area": 13700.0, "principal_moments": [17600000.0, 81900000.0, 81900000.0], "n_faces": 5, "n_edges": 6, "n_vertices": 4}, "dimensions": {"lines": ["\u00d840 mm circular section, extruded 62.2 mm thick.", "\u00d826.8 mm circular section attachment, 39.6 mm long, from top face."], "text": "\u00d840 mm circular section, extruded 62.2 mm thick. \u00d826.8 mm circular section attachment, 39.6 mm long, from top face."}, "params": {"shaft_d": {"type": "float", "default": 40, "min": 20.0, "max": 72.0, "step": 1.0, "group": "Body", "label": "Shaft diameter (mm)"}, "shaft_len": {"type": "float", "default": 62.2, "min": 24.9, "max": 124.4, "step": 1.0, "group": "Body", "label": "Shaft length (mm)"}, "step_d": {"type": "float", "default": 26.8, "min": 13.4, "max": 36.0, "step": 1.0, "group": "Step", "label": "Step diameter (mm)"}, "step_len": {"type": "float", "default": 39.6, "min": 11.9, "max": 99.0, "step": 1.0, "group": "Step", "label": "Step length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329266 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"shaft_d\": {\"type\": 'float', \"default\": 40, \"min\": 20.0, \"max\": 72.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft diameter (mm)'},\n    \"shaft_len\": {\"type\": 'float', \"default\": 62.2, \"min\": 24.9, \"max\": 124.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft length (mm)'},\n    \"step_d\": {\"type\": 'float', \"default\": 26.8, \"min\": 13.4, \"max\": 36.0, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step diameter (mm)'},\n    \"step_len\": {\"type\": 'float', \"default\": 39.6, \"min\": 11.9, \"max\": 99.0, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').circle(p[\"shaft_d\"] / 2).extrude(p[\"shaft_len\"]))\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"step_d\"] / 2).extrude(p[\"step_len\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9e73_0703", "family": "plate", "tier": 0, "seed": 1177329267, "symmetry": "none", "op_count": 1, "ir_hash": "be8ebe1f7bbaad4c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 18900.0, "surface_area": 7830.0, "principal_moments": [1780000.0, 14199999.999999998, 15899999.999999998], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 95 \u00d7 33.1 \u00d7 6 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 95 \u00d7 33.1 \u00d7 6 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 95, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 33.1, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 6.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329267 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 95, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 33.1, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462c9e74_0704", "family": "profiled", "tier": 2, "seed": 1177329268, "symmetry": "none", "op_count": 1, "ir_hash": "12ad2858e799e958", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 369000.0, "surface_area": 70400.0, "principal_moments": [130000000.0, 2040000000.0, 2040000000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d848.46 mm \u00d7 300 mm tall."], "text": "Revolved body, \u00d848.46 mm \u00d7 300 mm tall."}, "params": {"outer_d": {"type": "float", "default": 48.46, "min": 24.2, "max": 96.9, "step": 1.0, "group": "Profile", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 300.0, "min": 90.0, "max": 900.0, "step": 5.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329268 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 48.46, \"min\": 24.2, \"max\": 96.9, \"step\": 1.0, \"group\": 'Profile', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 300.0, \"min\": 90.0, \"max\": 900.0, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9e75_0705", "family": "plate", "tier": 1, "seed": 1177329269, "symmetry": "none", "op_count": 2, "ir_hash": "93a31ef8c59b86b3", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 7940.0, "surface_area": 3170.0, "principal_moments": [397000.0, 932000.0, 1200000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 36.54 \u00d7 22.6 \u00d7 10 mm (W\u00d7D\u00d7H).", "Four \u00d83.2 mm holes at the corners, 25.578 \u00d7 15.82 mm spacing."], "text": "Rectangular body, 36.54 \u00d7 22.6 \u00d7 10 mm (W\u00d7D\u00d7H). Four \u00d83.2 mm holes at the corners, 25.578 \u00d7 15.82 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 36.54, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 22.6, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 5.1, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329269 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 36.54, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 22.6, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 5.1, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462c9e76_0706", "family": "flanged", "tier": 1, "seed": 1177329270, "symmetry": "radial", "op_count": 2, "ir_hash": "b8628388891b874b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 110000.0, "surface_area": 30900.0, "principal_moments": [74100000.0, 74100000.0, 120000000.0], "n_faces": 10, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["Revolved body, \u00d855 mm \u00d7 36.7 mm tall with \u00d826.3 mm bore, \u00d8117 mm \u00d7 5.1 mm flange.", "Four \u00d85.3 mm holes on a \u00d870.2 mm bolt circle."], "text": "Revolved body, \u00d855 mm \u00d7 36.7 mm tall with \u00d826.3 mm bore, \u00d8117 mm \u00d7 5.1 mm flange. Four \u00d85.3 mm holes on a \u00d870.2 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 55, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 36.7, "min": 11.0, "max": 91.8, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 26.3, "min": 2.0, "max": 38.5, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 117.0, "min": 71.5, "max": 165.0, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 5.1, "min": 1.5, "max": 14.7, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 35.1, "min": 23.4, "max": 52.6, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 4, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329270 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 55, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 36.7, \"min\": 11.0, \"max\": 91.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 26.3, \"min\": 2.0, \"max\": 38.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 117.0, \"min\": 71.5, \"max\": 165.0, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 5.1, \"min\": 1.5, \"max\": 14.7, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 35.1, \"min\": 23.4, \"max\": 52.6, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 4, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9e77_0707", "family": "plate", "tier": 2, "seed": 1177329271, "symmetry": "radial", "op_count": 3, "ir_hash": "8be7886966c85fc5", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 123000.0, "surface_area": 26000.0, "principal_moments": [78300000.0, 144000000.0, 220000000.0], "n_faces": 16, "n_edges": 42, "n_vertices": 28}, "dimensions": {"lines": ["Rectangular body, 118.63 \u00d7 87.1 \u00d7 12 mm (W\u00d7D\u00d7H).", "Six \u00d83.2 mm holes on a \u00d871.2 mm bolt circle.", "Chamfer 5.4 mm on vertical edges."], "text": "Rectangular body, 118.63 \u00d7 87.1 \u00d7 12 mm (W\u00d7D\u00d7H). Six \u00d83.2 mm holes on a \u00d871.2 mm bolt circle. Chamfer 5.4 mm on vertical edges."}, "params": {"plate_w": {"type": "float", "default": 118.63, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 87.1, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "bolt_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 35.6, "min": 23.7, "max": 53.4, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 6, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}, "chamfer_d": {"type": "float", "default": 5.4, "min": 3.5, "max": 10.5, "step": 0.5, "group": "Body", "label": "Chamfer distance (mm)"}, "chamfered": {"type": "bool", "default": true, "group": "Body", "label": "Chamfer edges"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329271 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 118.63, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 87.1, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 35.6, \"min\": 23.7, \"max\": 53.4, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n    \"chamfer_d\": {\"type\": 'float', \"default\": 5.4, \"min\": 3.5, \"max\": 10.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Chamfer distance (mm)'},\n    \"chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Chamfer edges'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    if p[\"chamfered\"]:\n        result = result.edges('|Z').chamfer(p[\"chamfer_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462c9e78_0708", "family": "profiled", "tier": 1, "seed": 1177329272, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "edc40c47b9ca3f00", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 201000.0, "surface_area": 25600.0, "principal_moments": [31399999.999999996, 753000000.0, 758000000.0], "n_faces": 9, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["freeform sketched section (7 segments: 2 straight, 5 arcs), ~33.917 \u00d7 38.538 mm, extruded 209.9 mm thick."], "text": "freeform sketched section (7 segments: 2 straight, 5 arcs), ~33.917 \u00d7 38.538 mm, extruded 209.9 mm thick."}, "params": {"sk_w": {"type": "float", "default": 38.59, "min": 19.3, "max": 69.5, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 45, "min": 22.5, "max": 81.0, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "length": {"type": "float", "default": 209.9, "min": 63.0, "max": 629.7, "step": 5.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329272 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 38.59, \"min\": 19.3, \"max\": 69.5, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 45, \"min\": 22.5, \"max\": 81.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 209.9, \"min\": 63.0, \"max\": 629.7, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.3881, p[\"sk_h\"] * -0.0628).threePointArc((p[\"sk_w\"] * 0.3946, p[\"sk_h\"] * 0.1464), (p[\"sk_w\"] * 0.2973, p[\"sk_h\"] * 0.3121)).threePointArc((p[\"sk_w\"] * 0.1182, p[\"sk_h\"] * 0.4654), (p[\"sk_w\"] * -0.093, p[\"sk_h\"] * 0.4802)).lineTo(p[\"sk_w\"] * -0.4908, p[\"sk_h\"] * 0.0818).threePointArc((p[\"sk_w\"] * -0.4335, p[\"sk_h\"] * -0.099), (p[\"sk_w\"] * -0.2808, p[\"sk_h\"] * -0.2619)).threePointArc((p[\"sk_w\"] * -0.1565, p[\"sk_h\"] * -0.3648), (p[\"sk_w\"] * 0.0106, p[\"sk_h\"] * -0.3762)).lineTo(p[\"sk_w\"] * 0.2156, p[\"sk_h\"] * -0.2853).threePointArc((p[\"sk_w\"] * 0.3346, p[\"sk_h\"] * -0.1916), (p[\"sk_w\"] * 0.3881, p[\"sk_h\"] * -0.0628)).close().extrude(p[\"length\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9e79_0709", "family": "plate", "tier": 2, "seed": 1177329273, "symmetry": "none", "op_count": 3, "ir_hash": "3ac41c9bf8e1a2c9", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 68400.0, "surface_area": 17100.0, "principal_moments": [17600000.0, 70200000.0, 86100000.0], "n_faces": 19, "n_edges": 51, "n_vertices": 34}, "dimensions": {"lines": ["Rectangular body, 110 \u00d7 53.8 \u00d7 12 mm (W\u00d7D\u00d7H).", "Nine \u00d85.3 mm holes in two staggered rows, 20.6 \u00d7 21.1 mm pitch.", "Chamfer 2.8 mm on vertical edges."], "text": "Rectangular body, 110 \u00d7 53.8 \u00d7 12 mm (W\u00d7D\u00d7H). Nine \u00d85.3 mm holes in two staggered rows, 20.6 \u00d7 21.1 mm pitch. Chamfer 2.8 mm on vertical edges."}, "params": {"plate_w": {"type": "float", "default": 110, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 53.8, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 5.4, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 5, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}, "chamfer_d": {"type": "float", "default": 2.8, "min": 1.8, "max": 3.1, "step": 0.5, "group": "Body", "label": "Chamfer distance (mm)"}, "chamfered": {"type": "bool", "default": true, "group": "Body", "label": "Chamfer edges"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329273 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 110, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 53.8, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 5.4, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 5, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n    \"chamfer_d\": {\"type\": 'float', \"default\": 2.8, \"min\": 1.8, \"max\": 3.1, \"step\": 0.5, \"group\": 'Body', \"label\": 'Chamfer distance (mm)'},\n    \"chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Chamfer edges'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 20.6\n    _ssy = 21.1\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    if p[\"chamfered\"]:\n        result = result.edges('|Z').chamfer(p[\"chamfer_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462c9e7a_0710", "family": "compound", "tier": 2, "seed": 1177329274, "symmetry": "none", "op_count": 2, "ir_hash": "7047dd888879a65f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 173000.0, "surface_area": 20400.0, "principal_moments": [89600000.0, 114000000.0, 114000000.0], "n_faces": 9, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["Lofted body through 3 sections: 75 \u00d7 75 mm rectangular section \u2192 \u00d851.4 mm circular section \u2192 \u00d827.8 mm circular section.", "\u00d816.9 mm circular section attachment, 23.3 mm long, from top face."], "text": "Lofted body through 3 sections: 75 \u00d7 75 mm rectangular section \u2192 \u00d851.4 mm circular section \u2192 \u00d827.8 mm circular section. \u00d816.9 mm circular section attachment, 23.3 mm long, from top face."}, "params": {"adapter_base": {"type": "float", "default": 75, "min": 45.0, "max": 112.5, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "adapter_top": {"type": "float", "default": 27.8, "min": 13.9, "max": 75, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "adapter_h": {"type": "float", "default": 69.1, "min": 27.6, "max": 138.2, "step": 1.0, "group": "Body", "label": "Transition height (mm)"}, "adapter_mid": {"type": "float", "default": 51.4, "min": 13.9, "max": 75, "step": 1.0, "group": "Body", "label": "Mid size (mm)"}, "neck_d": {"type": "float", "default": 16.9, "min": 6.8, "max": 27.8, "step": 1.0, "group": "Neck", "label": "Neck diameter (mm)"}, "neck_l": {"type": "float", "default": 23.3, "min": 9.3, "max": 58.2, "step": 1.0, "group": "Neck", "label": "Neck length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329274 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"adapter_base\": {\"type\": 'float', \"default\": 75, \"min\": 45.0, \"max\": 112.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"adapter_top\": {\"type\": 'float', \"default\": 27.8, \"min\": 13.9, \"max\": 75, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"adapter_h\": {\"type\": 'float', \"default\": 69.1, \"min\": 27.6, \"max\": 138.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Transition height (mm)'},\n    \"adapter_mid\": {\"type\": 'float', \"default\": 51.4, \"min\": 13.9, \"max\": 75, \"step\": 1.0, \"group\": 'Body', \"label\": 'Mid size (mm)'},\n    \"neck_d\": {\"type\": 'float', \"default\": 16.9, \"min\": 6.8, \"max\": 27.8, \"step\": 1.0, \"group\": 'Neck', \"label\": 'Neck diameter (mm)'},\n    \"neck_l\": {\"type\": 'float', \"default\": 23.3, \"min\": 9.3, \"max\": 58.2, \"step\": 1.0, \"group\": 'Neck', \"label\": 'Neck length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .rect(p[\"adapter_base\"], p[\"adapter_base\"])\n        .workplane(offset=p[\"adapter_h\"] * 0.5)\n        .circle(p[\"adapter_mid\"] / 2)\n        .workplane(offset=p[\"adapter_h\"] * 0.5)\n        .circle(p[\"adapter_top\"] / 2)\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"neck_d\"] / 2).extrude(p[\"neck_l\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462c9e7b_0711", "family": "ribbed", "tier": 2, "seed": 1177329275, "symmetry": "none", "op_count": 2, "ir_hash": "12d8fe27395ea8e2", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 63100.0, "surface_area": 24200.0, "principal_moments": [22600000.0, 44600000.0, 62099999.99999999], "n_faces": 46, "n_edges": 112, "n_vertices": 68}, "dimensions": {"lines": ["Rectangular body, 90 \u00d7 54.6 \u00d7 8 mm (W\u00d7D\u00d7H).", "Five ribs, 4.5 mm thick, 14.7 mm tall."], "text": "Rectangular body, 90 \u00d7 54.6 \u00d7 8 mm (W\u00d7D\u00d7H). Five ribs, 4.5 mm thick, 14.7 mm tall."}, "params": {"base_w": {"type": "float", "default": 90, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 54.6, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 8.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 5, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 14.7, "min": 5.9, "max": 29.4, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 4.5, "min": 1.0, "max": 11.2, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329275 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 90, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 54.6, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 5, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 14.7, \"min\": 5.9, \"max\": 29.4, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 4.5, \"min\": 1.0, \"max\": 11.2, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9e7c_0712", "family": "plate", "tier": 1, "seed": 1177329276, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "b78be4fb7709f385", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 19900.0, "surface_area": 8720.0, "principal_moments": [3660000.0, 8960000.0, 12499999.999999998], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 74.52 \u00d7 47.4 \u00d7 6 mm (W\u00d7D\u00d7H).", "Four \u00d88.4 mm holes at the corners, 52.164 \u00d7 33.18 mm spacing."], "text": "Rectangular body, 74.52 \u00d7 47.4 \u00d7 6 mm (W\u00d7D\u00d7H). Four \u00d88.4 mm holes at the corners, 52.164 \u00d7 33.18 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 74.52, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 47.4, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 6.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 8.4, "min": 2.0, "max": 10.7, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329276 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 74.52, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 47.4, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 2.0, \"max\": 10.7, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462c9e7d_0713", "family": "revolved", "tier": 0, "seed": 1177329277, "symmetry": "none", "op_count": 1, "ir_hash": "4f679074cbf023a2", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 6100.0, "surface_area": 3080.0, "principal_moments": [381000.0, 474000.0, 474000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d820.4 mm \u00d7 28 mm tall."], "text": "Revolved body, \u00d820.4 mm \u00d7 28 mm tall."}, "params": {"outer_d": {"type": "float", "default": 20.4, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 28.0, "min": 8.4, "max": 84.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329277 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 20.4, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 28.0, \"min\": 8.4, \"max\": 84.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462c9e7e_0714", "family": "revolved", "tier": 0, "seed": 1177329278, "symmetry": "none", "op_count": 1, "ir_hash": "235d726354427d6e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 13200.0, "surface_area": 4840.0, "principal_moments": [1780000.0, 1780000.0, 3180000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d840 mm \u00d7 15.8 mm tall."], "text": "Revolved body, \u00d840 mm \u00d7 15.8 mm tall."}, "params": {"outer_d": {"type": "float", "default": 40, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 15.8, "min": 4.7, "max": 47.4, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329278 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 40, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 15.8, \"min\": 4.7, \"max\": 47.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462c9e7f_0715", "family": "ribbed", "tier": 1, "seed": 1177329279, "symmetry": "none", "op_count": 2, "ir_hash": "36a258fa79043486", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 25900.0, "surface_area": 15400.0, "principal_moments": [8480000.0, 10500000.0, 17300000.0], "n_faces": 21, "n_edges": 48, "n_vertices": 32}, "dimensions": {"lines": ["Rectangular body, 65 \u00d7 61.5 \u00d7 5 mm (W\u00d7D\u00d7H).", "Three ribs, 2 mm thick, 18.8 mm tall."], "text": "Rectangular body, 65 \u00d7 61.5 \u00d7 5 mm (W\u00d7D\u00d7H). Three ribs, 2 mm thick, 18.8 mm tall."}, "params": {"base_w": {"type": "float", "default": 65, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 61.5, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 5.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 3, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 18.8, "min": 7.5, "max": 37.6, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 2.0, "min": 1.0, "max": 5.0, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329279 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 65, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 61.5, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 3, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 18.8, \"min\": 7.5, \"max\": 37.6, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 2.0, \"min\": 1.0, \"max\": 5.0, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462c9e80_0716", "family": "ribbed", "tier": 1, "seed": 1177329280, "symmetry": "none", "op_count": 2, "ir_hash": "35cf0d831b60bdbf", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 26900.0, "surface_area": 13500.0, "principal_moments": [4620000.0, 6010000.0, 7230000.0], "n_faces": 36, "n_edges": 84, "n_vertices": 56}, "dimensions": {"lines": ["Rectangular body, 45 \u00d7 36.2 \u00d7 8 mm (W\u00d7D\u00d7H).", "Six ribs, 3.4 mm thick, 18.9 mm tall."], "text": "Rectangular body, 45 \u00d7 36.2 \u00d7 8 mm (W\u00d7D\u00d7H). Six ribs, 3.4 mm thick, 18.9 mm tall."}, "params": {"base_w": {"type": "float", "default": 45, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 36.2, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 8.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 6, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 18.9, "min": 7.6, "max": 37.8, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 3.4, "min": 1.0, "max": 8.5, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329280 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 45, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 36.2, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 6, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 18.9, \"min\": 7.6, \"max\": 37.8, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 3.4, \"min\": 1.0, \"max\": 8.5, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9e81_0717", "family": "plate", "tier": 0, "seed": 1177329281, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "d806020f34b9a5f5", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 28600.0, "surface_area": 11300.0, "principal_moments": [5930000.0, 22200000.0, 27999999.999999996], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 96.31 \u00d7 49.5 \u00d7 6 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 96.31 \u00d7 49.5 \u00d7 6 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 96.31, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 49.5, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 6.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329281 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 96.31, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 49.5, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462c9e82_0718", "family": "bracket", "tier": 1, "seed": 1177329282, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "11de1efdf2cfe681", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 60400.0, "surface_area": 27100.0, "principal_moments": [30399999.999999996, 139000000.0, 139000000.0], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Z-bracket: base leg 80 mm, vertical leg 90 mm, top leg 60.7 mm, 55 mm wide, 5 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."], "text": "Z-bracket: base leg 80 mm, vertical leg 90 mm, top leg 60.7 mm, 55 mm wide, 5 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 80, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 90.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 55, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 5.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 60.7, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329282 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 80, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 90.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 55, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 60.7, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9e83_0719", "family": "plate", "tier": 0, "seed": 1177329283, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "8cfdda73eb014bb5", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 7220.0, "surface_area": 3760.0, "principal_moments": [306000.0, 2610000.0, 2880000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 65.64 \u00d7 22 \u00d7 5 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 65.64 \u00d7 22 \u00d7 5 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 65.64, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 22.0, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 5.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329283 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 65.64, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 22.0, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 5.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9e84_0720", "family": "plate", "tier": 1, "seed": 1177329284, "symmetry": "radial", "op_count": 2, "ir_hash": "f9a96b4b5f0f8620", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 36400.0, "surface_area": 10300.0, "principal_moments": [4930000.0, 27699999.999999996, 31999999.999999996], "n_faces": 8, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["Rectangular body, 95 \u00d7 38.8 \u00d7 10 mm (W\u00d7D\u00d7H).", "Four \u00d85.3 mm holes on a \u00d857 mm bolt circle."], "text": "Rectangular body, 95 \u00d7 38.8 \u00d7 10 mm (W\u00d7D\u00d7H). Four \u00d85.3 mm holes on a \u00d857 mm bolt circle."}, "params": {"plate_w": {"type": "float", "default": 95, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 38.8, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "bolt_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 28.5, "min": 19.0, "max": 42.8, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 4, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329284 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 95, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 38.8, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 28.5, \"min\": 19.0, \"max\": 42.8, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 4, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462c9e85_0721", "family": "block", "tier": 2, "seed": 1177329285, "symmetry": "none", "op_count": 3, "ir_hash": "827dd24fa7bb254e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 77500.0, "surface_area": 12700.0, "principal_moments": [19500000.0, 26299999.999999996, 32199999.999999996], "n_faces": 15, "n_edges": 39, "n_vertices": 26}, "dimensions": {"lines": ["Rectangular body, 55 \u00d7 44.4 \u00d7 32.3 mm (W\u00d7D\u00d7H).", "Five \u00d83.2 mm holes in two staggered rows, 20.6 \u00d7 23.3 mm pitch.", "Fillet radius 2.055 mm on vertical edges."], "text": "Rectangular body, 55 \u00d7 44.4 \u00d7 32.3 mm (W\u00d7D\u00d7H). Five \u00d83.2 mm holes in two staggered rows, 20.6 \u00d7 23.3 mm pitch. Fillet radius 2.055 mm on vertical edges."}, "params": {"block_w": {"type": "float", "default": 55, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 44.4, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 32.3, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 4.4, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 3, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329285 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 55, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 44.4, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 32.3, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 4.4, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 3, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 20.6\n    _ssy = 23.3\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"block_w\"], p[\"block_d\"]) * 0.046290706674600834)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9e87_0723", "family": "plate", "tier": 0, "seed": 1177329287, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "e6614b0de01295e8", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 3220.0, "surface_area": 2130.0, "principal_moments": [79200.0, 629000.0, 700000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 48.24 \u00d7 16.7 \u00d7 4 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 48.24 \u00d7 16.7 \u00d7 4 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 48.24, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 16.7, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 4.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329287 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 48.24, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 16.7, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 4.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462c9e88_0724", "family": "sketched", "tier": 1, "seed": 1177329288, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "3853fb306176a4b1", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 5590.0, "surface_area": 2810.0, "principal_moments": [230000.0, 1490000.0, 1490000.0], "n_faces": 7, "n_edges": 11, "n_vertices": 6}, "dimensions": {"lines": ["Revolved organic body from a freeform sketched section (7 segments: 6 straight, 1 curve), ~14.755 \u00d7 42.8 mm half-silhouette."], "text": "Revolved organic body from a freeform sketched section (7 segments: 6 straight, 1 curve), ~14.755 \u00d7 42.8 mm half-silhouette."}, "params": {"sk_r": {"type": "float", "default": 15, "min": 7.5, "max": 27.0, "step": 1.0, "group": "Sketch", "label": "Max radius (mm)"}, "sk_h": {"type": "float", "default": 42.8, "min": 21.4, "max": 77.0, "step": 1.0, "group": "Sketch", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329288 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_r\": {\"type\": 'float', \"default\": 15, \"min\": 7.5, \"max\": 27.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Max radius (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 42.8, \"min\": 21.4, \"max\": 77.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XZ').moveTo(p[\"sk_r\"] * 0.4441, p[\"sk_h\"] * 0.0).bezier([(p[\"sk_r\"] * 0.4441, p[\"sk_h\"] * 0.0), (p[\"sk_r\"] * 0.5961, p[\"sk_h\"] * 0.1104), (p[\"sk_r\"] * 0.6114, p[\"sk_h\"] * 0.2207)]).lineTo(p[\"sk_r\"] * 0.1473, p[\"sk_h\"] * 0.5029).lineTo(p[\"sk_r\"] * 0.1828, p[\"sk_h\"] * 0.8318).lineTo(p[\"sk_r\"] * 0.6205, p[\"sk_h\"] * 0.9312).lineTo(p[\"sk_r\"] * 0.9837, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.0, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.0, p[\"sk_h\"] * 0.0).close().revolve())\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462c9e89_0725", "family": "lofted", "tier": 1, "seed": 1177329289, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "642377de6c32165c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 15000.0, "surface_area": 4430.0, "principal_moments": [1710000.0, 1720000.0, 1790000.0], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["Lofted body through 2 sections: 30.41 \u00d7 30.41 mm rectangular section \u2192 6-sided polygon section, 23.6 mm across corners.", "One \u00d88.5 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 2 sections: 30.41 \u00d7 30.41 mm rectangular section \u2192 6-sided polygon section, 23.6 mm across corners. One \u00d88.5 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 30.41, "min": 15.2, "max": 48.7, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 23.6, "min": 9.4, "max": 36.5, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 26.5, "min": 10.6, "max": 53.0, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_bore_d": {"type": "float", "default": 8.5, "min": 2.0, "max": 18.9, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329289 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 30.41, \"min\": 15.2, \"max\": 48.7, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 23.6, \"min\": 9.4, \"max\": 36.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 26.5, \"min\": 10.6, \"max\": 53.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 8.5, \"min\": 2.0, \"max\": 18.9, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .rect(p[\"loft_base\"], p[\"loft_base\"])\n        .workplane(offset=p[\"loft_h\"])\n        .polygon(6, p[\"loft_top\"] * 0.5 * 2)\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462c9e8a_0726", "family": "block", "tier": 1, "seed": 1177329290, "symmetry": "none", "op_count": 2, "ir_hash": "78459a214e740f22", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 32600.0, "surface_area": 9810.0, "principal_moments": [3520000.0, 9420000.0, 10400000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 29.54 \u00d7 22.1 \u00d7 54.8 mm (W\u00d7D\u00d7H).", "Four \u00d84.3 mm holes at the corners, 20.678 \u00d7 15.47 mm spacing."], "text": "Rectangular body, 29.54 \u00d7 22.1 \u00d7 54.8 mm (W\u00d7D\u00d7H). Four \u00d84.3 mm holes at the corners, 20.678 \u00d7 15.47 mm spacing."}, "params": {"block_w": {"type": "float", "default": 29.54, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 22.1, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 54.8, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 5.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329290 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 29.54, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 22.1, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 54.8, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 5.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462c9e8b_0727", "family": "bracket", "tier": 1, "seed": 1177329291, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "a3bee6c4cfec9b85", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 12700.0, "surface_area": 6320.0, "principal_moments": [2010000.0, 2520000.0, 3980000.0], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Z-bracket: base leg 25 mm, vertical leg 25 mm, top leg 25 mm, 40 mm wide, 5 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."], "text": "Z-bracket: base leg 25 mm, vertical leg 25 mm, top leg 25 mm, 40 mm wide, 5 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 25.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 25.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 40, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 5.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 25.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329291 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 25.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 25.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 40, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 25.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462c9e8c_0728", "family": "profiled", "tier": 2, "seed": 1177329292, "symmetry": "none", "op_count": 1, "ir_hash": "9c7444ae2e61d95e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 96100.0, "surface_area": 17900.0, "principal_moments": [8380000.0, 275000000.0, 275000000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["4-sided polygon section, 32.34 mm across corners, extruded 183.8 mm thick."], "text": "4-sided polygon section, 32.34 mm across corners, extruded 183.8 mm thick."}, "params": {"circ_r": {"type": "float", "default": 16.17, "min": 8.1, "max": 32.3, "step": 1.0, "group": "Profile", "label": "Circumscribed radius (mm)"}, "n_sides": {"type": "int", "default": 4, "min": 3, "max": 8, "step": 1, "group": "Profile", "label": "Sides"}, "length": {"type": "float", "default": 183.8, "min": 55.1, "max": 551.4, "step": 5.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329292 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"circ_r\": {\"type\": 'float', \"default\": 16.17, \"min\": 8.1, \"max\": 32.3, \"step\": 1.0, \"group\": 'Profile', \"label\": 'Circumscribed radius (mm)'},\n    \"n_sides\": {\"type\": 'int', \"default\": 4, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Profile', \"label\": 'Sides'},\n    \"length\": {\"type\": 'float', \"default\": 183.8, \"min\": 55.1, \"max\": 551.4, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').polygon(p[\"n_sides\"], p[\"circ_r\"] * 2).extrude(p[\"length\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462c9e8d_0729", "family": "swept", "tier": 2, "seed": 1177329293, "symmetry": "none", "op_count": 1, "ir_hash": "2908154e1843e699", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 3750.0, "surface_area": 2400.0, "principal_moments": [51000.0, 2310000.0, 2340000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["8.1 \u00d7 6.1 mm rectangular section swept along a curved path, ~83.18 mm span."], "text": "8.1 \u00d7 6.1 mm rectangular section swept along a curved path, ~83.18 mm span."}, "params": {"path_w": {"type": "float", "default": 43.73, "min": 21.9, "max": 78.7, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 83.18, "min": 41.6, "max": 149.7, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_a": {"type": "float", "default": 8.1, "min": 4.0, "max": 14.6, "step": 1.0, "group": "Section", "label": "Section width (mm)"}, "sweep_b": {"type": "float", "default": 6.1, "min": 3.0, "max": 11.0, "step": 1.0, "group": "Section", "label": "Section depth (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329293 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 43.73, \"min\": 21.9, \"max\": 78.7, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 83.18, \"min\": 41.6, \"max\": 149.7, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_a\": {\"type\": 'float', \"default\": 8.1, \"min\": 4.0, \"max\": 14.6, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section width (mm)'},\n    \"sweep_b\": {\"type\": 'float', \"default\": 6.1, \"min\": 3.0, \"max\": 11.0, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section depth (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.6724), (p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.6837), (p[\"path_w\"] * 0.2764, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').rect(p[\"sweep_a\"], p[\"sweep_b\"]).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462c9e8e_0730", "family": "compound", "tier": 3, "seed": 1177329294, "symmetry": "none", "op_count": 3, "ir_hash": "32e5965198c9df65", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 42500.0, "surface_area": 11600.0, "principal_moments": [6780000.0, 18200000.0, 18200000.0], "n_faces": 8, "n_edges": 13, "n_vertices": 8}, "dimensions": {"lines": ["\u00d834.21 mm circular section, extruded 46.3 mm thick.", "\u00d824.5 mm circular section attachment, 25.9 mm long, from top face with a \u00d814.6 mm bore.", "Chamfer 1.6 mm on bottom edges."], "text": "\u00d834.21 mm circular section, extruded 46.3 mm thick. \u00d824.5 mm circular section attachment, 25.9 mm long, from top face with a \u00d814.6 mm bore. Chamfer 1.6 mm on bottom edges."}, "params": {"shaft_d": {"type": "float", "default": 34.21, "min": 17.1, "max": 61.6, "step": 1.0, "group": "Body", "label": "Shaft diameter (mm)"}, "shaft_len": {"type": "float", "default": 46.3, "min": 18.5, "max": 92.6, "step": 1.0, "group": "Body", "label": "Shaft length (mm)"}, "step_d": {"type": "float", "default": 24.5, "min": 12.2, "max": 30.8, "step": 1.0, "group": "Step", "label": "Step diameter (mm)"}, "step_len": {"type": "float", "default": 25.9, "min": 7.8, "max": 64.8, "step": 1.0, "group": "Step", "label": "Step length (mm)"}, "axial_bore": {"type": "float", "default": 14.6, "min": 2.0, "max": 17.6, "step": 0.5, "group": "Bore", "label": "Axial bore diameter (mm)"}, "chamfer_d": {"type": "float", "default": 1.6, "min": 0.5, "max": 3.0, "step": 0.5, "group": "Body", "label": "Chamfer distance (mm)"}, "chamfered": {"type": "bool", "default": true, "group": "Body", "label": "Chamfer edges"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329294 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"shaft_d\": {\"type\": 'float', \"default\": 34.21, \"min\": 17.1, \"max\": 61.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft diameter (mm)'},\n    \"shaft_len\": {\"type\": 'float', \"default\": 46.3, \"min\": 18.5, \"max\": 92.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft length (mm)'},\n    \"step_d\": {\"type\": 'float', \"default\": 24.5, \"min\": 12.2, \"max\": 30.8, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step diameter (mm)'},\n    \"step_len\": {\"type\": 'float', \"default\": 25.9, \"min\": 7.8, \"max\": 64.8, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step length (mm)'},\n    \"axial_bore\": {\"type\": 'float', \"default\": 14.6, \"min\": 2.0, \"max\": 17.6, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Axial bore diameter (mm)'},\n    \"chamfer_d\": {\"type\": 'float', \"default\": 1.6, \"min\": 0.5, \"max\": 3.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Chamfer distance (mm)'},\n    \"chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Chamfer edges'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').circle(p[\"shaft_d\"] / 2).extrude(p[\"shaft_len\"]))\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"step_d\"] / 2).extrude(p[\"step_len\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"axial_bore\"])\n    )\n    if p[\"chamfered\"]:\n        result = result.edges('<Z').chamfer(p[\"chamfer_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462c9e8f_0731", "family": "bracket", "tier": 1, "seed": 1177329295, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "aa80922b7dff47d3", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 44000.0, "surface_area": 24100.0, "principal_moments": [34000000.0, 38900000.0, 46399999.99999999], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["C-channel bracket: base leg 57.73 mm, vertical leg 67.1 mm, 60 mm wide, 4 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."], "text": "C-channel bracket: base leg 57.73 mm, vertical leg 67.1 mm, 60 mm wide, 4 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 57.73, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 67.1, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 60.0, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 4.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329295 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 57.73, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 67.1, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 60.0, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462c9e90_0732", "family": "compound", "tier": 3, "seed": 1177329296, "symmetry": "none", "op_count": 7, "ir_hash": "aeeeca734beb4d56", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 405000.0, "surface_area": 41900.0, "principal_moments": [357000000.0, 363000000.0, 502000000.0], "n_faces": 29, "n_edges": 68, "n_vertices": 43}, "dimensions": {"lines": ["Rectangular body, 87.86 \u00d7 85.4 \u00d7 56.7 mm (W\u00d7D\u00d7H).", "\u00d812.4 mm circular section attachment, 6.3 mm long, from right face with a \u00d85.4 mm bore.", "\u00d812.4 mm circular section attachment, 6.3 mm long, from back face with a \u00d85.4 mm bore.", "\u00d812.4 mm circular section attachment, 6.3 mm long, from left face with a \u00d85.4 mm bore.", "\u00d812.4 mm circular section attachment, 6.3 mm long, from front face with a \u00d85.4 mm bore.", "Four \u00d813 mm holes at the corners, 61.502 \u00d7 59.78 mm spacing.", "Fillet radius 8.841 mm on vertical edges."], "text": "Rectangular body, 87.86 \u00d7 85.4 \u00d7 56.7 mm (W\u00d7D\u00d7H). \u00d812.4 mm circular section attachment, 6.3 mm long, from right face with a \u00d85.4 mm bore. \u00d812.4 mm circular section attachment, 6.3 mm long, from back face with a \u00d85.4 mm bore. \u00d812.4 mm circular section attachment, 6.3 mm long, from left face with a \u00d85.4 mm bore. \u00d812.4 mm circular section attachment, 6.3 mm long, from front face with a \u00d85.4 mm bore. Four \u00d813 mm holes at the corners, 61.502 \u00d7 59.78 mm spacing. Fillet radius 8.841 mm on vertical edges."}, "params": {"block_w": {"type": "float", "default": 87.86, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body width (mm)"}, "block_d": {"type": "float", "default": 85.4, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body depth (mm)"}, "block_h": {"type": "float", "default": 56.7, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body height (mm)"}, "port_d": {"type": "float", "default": 12.4, "min": 5.0, "max": 25.5, "step": 1.0, "group": "Ports", "label": "Ports diameter (mm)"}, "port_len": {"type": "float", "default": 6.3, "min": 3.1, "max": 37.2, "step": 1.0, "group": "Ports", "label": "Port boss length (mm)"}, "port_bore": {"type": "float", "default": 5.4, "min": 2.0, "max": 8.9, "step": 0.5, "group": "Ports", "label": "Port bore diameter (mm)"}, "hole_d": {"type": "float", "default": 13.0, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329296 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 87.86, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 85.4, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 56.7, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body height (mm)'},\n    \"port_d\": {\"type\": 'float', \"default\": 12.4, \"min\": 5.0, \"max\": 25.5, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Ports diameter (mm)'},\n    \"port_len\": {\"type\": 'float', \"default\": 6.3, \"min\": 3.1, \"max\": 37.2, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Port boss length (mm)'},\n    \"port_bore\": {\"type\": 'float', \"default\": 5.4, \"min\": 2.0, \"max\": 8.9, \"step\": 0.5, \"group\": 'Ports', \"label\": 'Port bore diameter (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 13.0, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"block_w\"], p[\"block_d\"]) * 0.10352198871548296)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462c9e91_0733", "family": "revolved", "tier": 0, "seed": 1177329297, "symmetry": "none", "op_count": 1, "ir_hash": "229fb04f28f79e32", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 122000.0, "surface_area": 22600.0, "principal_moments": [55699999.99999999, 69500000.0, 69500000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d855.27 mm \u00d7 76 mm tall."], "text": "Revolved body, \u00d855.27 mm \u00d7 76 mm tall."}, "params": {"outer_d": {"type": "float", "default": 55.27, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 76.0, "min": 22.8, "max": 228.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329297 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 55.27, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 76.0, \"min\": 22.8, \"max\": 228.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462c9e92_0734", "family": "bracket", "tier": 1, "seed": 1177329298, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "7c7037fa9a9ca374", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 44300.0, "surface_area": 24500.0, "principal_moments": [21300000.0, 101000000.0, 104000000.0], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Z-bracket: base leg 89.59 mm, vertical leg 85.2 mm, top leg 56.2 mm, 50 mm wide, 4 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."], "text": "Z-bracket: base leg 89.59 mm, vertical leg 85.2 mm, top leg 56.2 mm, 50 mm wide, 4 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 89.59, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 85.2, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 50, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 4.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 56.2, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329298 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 89.59, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 85.2, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 50, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 56.2, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9e93_0735", "family": "plate", "tier": 0, "seed": 1177329299, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "6e03d0660d1a34cb", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 8450.0, "surface_area": 2930.0, "principal_moments": [361000.0, 1290000.0, 1510000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 41.63 \u00d7 20.3 \u00d7 10 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 41.63 \u00d7 20.3 \u00d7 10 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 41.63, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 20.3, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329299 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 41.63, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 20.3, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462c9e94_0736", "family": "block", "tier": 2, "seed": 1177329300, "symmetry": "none", "op_count": 3, "ir_hash": "bdaa180033b74cae", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 71600.0, "surface_area": 14400.0, "principal_moments": [15999999.999999998, 25399999.999999996, 30199999.999999996], "n_faces": 13, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Rectangular body, 58.61 \u00d7 31.2 \u00d7 40.6 mm (W\u00d7D\u00d7H).", "Four \u00d85.3 mm holes at the corners, 41.027 \u00d7 21.84 mm spacing.", "Boss \u00d819.2 mm \u00d7 5.5 mm tall on top face with a \u00d84.3 mm bore."], "text": "Rectangular body, 58.61 \u00d7 31.2 \u00d7 40.6 mm (W\u00d7D\u00d7H). Four \u00d85.3 mm holes at the corners, 41.027 \u00d7 21.84 mm spacing. Boss \u00d819.2 mm \u00d7 5.5 mm tall on top face with a \u00d84.3 mm bore."}, "params": {"block_w": {"type": "float", "default": 58.61, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 31.2, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 40.6, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 7.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "boss_d": {"type": "float", "default": 19.2, "min": 9.6, "max": 38.4, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 5.5, "min": 2.2, "max": 13.8, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}, "boss_bore_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 13.4, "step": 0.1, "group": "Boss", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329300 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 58.61, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 31.2, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 40.6, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 7.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"boss_d\": {\"type\": 'float', \"default\": 19.2, \"min\": 9.6, \"max\": 38.4, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 5.5, \"min\": 2.2, \"max\": 13.8, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n    \"boss_bore_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 13.4, \"step\": 0.1, \"group\": 'Boss', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .hole(p[\"boss_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462c9e95_0737", "family": "block", "tier": 1, "seed": 1177329301, "symmetry": "none", "op_count": 2, "ir_hash": "07d6fd9c1c2d27f6", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 97700.0, "surface_area": 17900.0, "principal_moments": [25899999.999999996, 44600000.0, 51599999.99999999], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 45.55 \u00d7 34.6 \u00d7 65.7 mm (W\u00d7D\u00d7H).", "Four \u00d85.3 mm holes at the corners, 31.885 \u00d7 24.22 mm spacing."], "text": "Rectangular body, 45.55 \u00d7 34.6 \u00d7 65.7 mm (W\u00d7D\u00d7H). Four \u00d85.3 mm holes at the corners, 31.885 \u00d7 24.22 mm spacing."}, "params": {"block_w": {"type": "float", "default": 45.55, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 34.6, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 65.7, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 7.8, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329301 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 45.55, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 34.6, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 65.7, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 7.8, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462c9e96_0738", "family": "block", "tier": 1, "seed": 1177329302, "symmetry": "none", "op_count": 2, "ir_hash": "ff0f855f55120ad3", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 251000.0, "surface_area": 32300.0, "principal_moments": [152000000.0, 196000000.0, 289000000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 90 \u00d7 37.8 \u00d7 76.7 mm (W\u00d7D\u00d7H).", "Four \u00d86.4 mm holes at the corners, 63 \u00d7 26.46 mm spacing."], "text": "Rectangular body, 90 \u00d7 37.8 \u00d7 76.7 mm (W\u00d7D\u00d7H). Four \u00d86.4 mm holes at the corners, 63 \u00d7 26.46 mm spacing."}, "params": {"block_w": {"type": "float", "default": 90, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 37.8, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 76.7, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 8.5, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329302 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 90, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 37.8, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 76.7, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 8.5, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462c9e97_0739", "family": "enclosure", "tier": 1, "seed": 1177329303, "symmetry": "none", "op_count": 2, "ir_hash": "977ab02245fcecb0", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 52600.0, "surface_area": 18900.0, "principal_moments": [18800000.0, 24899999.999999996, 33399999.999999996], "n_faces": 11, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 60 \u00d7 28.3 \u00d7 53.1 mm (W\u00d7D\u00d7H).", "Hollowed to 5.9 mm wall thickness, open at top face."], "text": "Rectangular body, 60 \u00d7 28.3 \u00d7 53.1 mm (W\u00d7D\u00d7H). Hollowed to 5.9 mm wall thickness, open at top face."}, "params": {"enc_w": {"type": "float", "default": 60, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 28.3, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 53.1, "min": 21.2, "max": 106.2, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 5.9, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329303 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 60, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 28.3, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 53.1, \"min\": 21.2, \"max\": 106.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 5.9, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462c9e98_0740", "family": "threaded", "tier": 3, "seed": 1177329304, "symmetry": "none", "op_count": 1, "ir_hash": "1199ddb442eed6cb", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 8090.0, "surface_area": 4750.0, "principal_moments": [411000.0, 1440000.0, 1440000.0], "n_faces": 231, "n_edges": 845, "n_vertices": 616}, "dimensions": {"lines": ["M10x1.5 internal thread, 42.8 mm long."], "text": "M10x1.5 internal thread, 42.8 mm long."}, "params": {"major_d": {"type": "float", "default": 10.0, "min": 4.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Major diameter (mm)"}, "pitch": {"type": "float", "default": 1.5, "min": 0.75, "max": 3.0, "step": 0.05, "group": "Thread", "label": "Pitch (mm)"}, "thread_len": {"type": "float", "default": 42.8, "min": 17.1, "max": 85.6, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329304 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 10.0, \"min\": 4.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Major diameter (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.5, \"min\": 0.75, \"max\": 3.0, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Pitch (mm)'},\n    \"thread_len\": {\"type\": 'float', \"default\": 42.8, \"min\": 17.1, \"max\": 85.6, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.IsoThread(major_diameter=p[\"major_d\"], pitch=p[\"pitch\"], length=p[\"thread_len\"], external=False, end_finishes=(\"fade\", \"fade\"))\n    _body = _bd.Cylinder(radius=(p[\"major_d\"]) * 0.9, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _bore = _bd.Cylinder(radius=(p[\"major_d\"]) / 2, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = (_body - _bore) + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462c9e99_0741", "family": "ribbed", "tier": 1, "seed": 1177329305, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "46a6eca6d711a308", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 7490.0, "surface_area": 3470.0, "principal_moments": [516000.0, 1060000.0, 1400000.0], "n_faces": 22, "n_edges": 52, "n_vertices": 32}, "dimensions": {"lines": ["Rectangular body, 35 \u00d7 25.5 \u00d7 6 mm (W\u00d7D\u00d7H).", "Two ribs, 5.7 mm thick, 6.7 mm tall."], "text": "Rectangular body, 35 \u00d7 25.5 \u00d7 6 mm (W\u00d7D\u00d7H). Two ribs, 5.7 mm thick, 6.7 mm tall."}, "params": {"base_w": {"type": "float", "default": 35, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 25.5, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 6.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 2, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 6.7, "min": 2.7, "max": 13.4, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 5.7, "min": 1.0, "max": 14.2, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329305 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 35, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 25.5, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 2, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 6.7, \"min\": 2.7, \"max\": 13.4, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 5.7, \"min\": 1.0, \"max\": 14.2, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462c9e9a_0742", "family": "tapped", "tier": 1, "seed": 1177329306, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "f6bb338a764d4f9f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 70000.0, "surface_area": 16600.0, "principal_moments": [33399999.999999996, 34100000.0, 65599999.99999999], "n_faces": 342, "n_edges": 932, "n_vertices": 592}, "dimensions": {"lines": ["Four M8x1.25 tapped holes in a plate."], "text": "Four M8x1.25 tapped holes in a plate."}, "params": {"major_d": {"type": "float", "default": 8.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 1.25, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 12.8, "min": 9.6, "max": 23.0, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "plate_w": {"type": "float", "default": 75.49, "min": 45.3, "max": 120.8, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 74.7, "min": 44.8, "max": 119.5, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329306 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.25, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 12.8, \"min\": 9.6, \"max\": 23.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"plate_w\": {\"type\": 'float', \"default\": 75.49, \"min\": 45.3, \"max\": 120.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 74.7, \"min\": 44.8, \"max\": 119.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n}\n\n\ndef build(p):\n\n    _W, _D, _H = p[\"plate_w\"], p[\"plate_d\"], p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Box(_W, _D, _H)\n    _sx, _sy = p[\"plate_w\"] * 0.6, p[\"plate_d\"] * 0.6\n    _locs = [(_xx, _yy) for _xx in (-_sx / 2, _sx / 2) for _yy in (-_sy / 2, _sy / 2)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9e9b_0743", "family": "plate", "tier": 1, "seed": 1177329307, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "ab7cc6d455fe7e77", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 21600.0, "surface_area": 7130.0, "principal_moments": [2340000.0, 7570000.0, 9550000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 65 \u00d7 35.2 \u00d7 10 mm (W\u00d7D\u00d7H).", "Four \u00d86.4 mm holes at the corners, 45.5 \u00d7 24.64 mm spacing."], "text": "Rectangular body, 65 \u00d7 35.2 \u00d7 10 mm (W\u00d7D\u00d7H). Four \u00d86.4 mm holes at the corners, 45.5 \u00d7 24.64 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 65, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 35.2, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 7.9, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329307 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 65, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 35.2, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 7.9, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462c9e9c_0744", "family": "bracket", "tier": 2, "seed": 1177329308, "symmetry": "none", "op_count": 1, "ir_hash": "50c9b221342829d4", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 2990.0, "surface_area": 2440.0, "principal_moments": [156000.0, 457000.0, 511000.0], "n_faces": 15, "n_edges": 41, "n_vertices": 26}, "dimensions": {"lines": ["L-bracket: base leg 30 mm, vertical leg 32.9 mm, 15 mm wide, 3 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 3.8 mm corner gusset."], "text": "L-bracket: base leg 30 mm, vertical leg 32.9 mm, 15 mm wide, 3 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 3.8 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 30, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 32.9, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 15.0, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 3.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 6.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 3.8, "min": 1.5, "max": 7.5, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329308 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 30, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 32.9, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 15.0, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 6.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 3.8, \"min\": 1.5, \"max\": 7.5, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462c9e9d_0745", "family": "compound", "tier": 1, "seed": 1177329309, "symmetry": "none", "op_count": 2, "ir_hash": "7f2392c5252a5ef1", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 153000.0, "surface_area": 27200.0, "principal_moments": [46999999.99999999, 178000000.0, 178000000.0], "n_faces": 6, "n_edges": 9, "n_vertices": 6}, "dimensions": {"lines": ["\u00d849 mm circular section, extruded 77.9 mm thick.", "\u00d830.1 mm circular section attachment, 51 mm long, from top face with a \u00d817.4 mm bore."], "text": "\u00d849 mm circular section, extruded 77.9 mm thick. \u00d830.1 mm circular section attachment, 51 mm long, from top face with a \u00d817.4 mm bore."}, "params": {"shaft_d": {"type": "float", "default": 49.0, "min": 24.5, "max": 88.2, "step": 1.0, "group": "Body", "label": "Shaft diameter (mm)"}, "shaft_len": {"type": "float", "default": 77.9, "min": 31.2, "max": 155.8, "step": 1.0, "group": "Body", "label": "Shaft length (mm)"}, "step_d": {"type": "float", "default": 30.1, "min": 15.1, "max": 44.1, "step": 1.0, "group": "Step", "label": "Step diameter (mm)"}, "step_len": {"type": "float", "default": 51.0, "min": 15.3, "max": 127.5, "step": 1.0, "group": "Step", "label": "Step length (mm)"}, "axial_bore": {"type": "float", "default": 17.4, "min": 2.0, "max": 21.7, "step": 0.5, "group": "Bore", "label": "Axial bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329309 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"shaft_d\": {\"type\": 'float', \"default\": 49.0, \"min\": 24.5, \"max\": 88.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft diameter (mm)'},\n    \"shaft_len\": {\"type\": 'float', \"default\": 77.9, \"min\": 31.2, \"max\": 155.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft length (mm)'},\n    \"step_d\": {\"type\": 'float', \"default\": 30.1, \"min\": 15.1, \"max\": 44.1, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step diameter (mm)'},\n    \"step_len\": {\"type\": 'float', \"default\": 51.0, \"min\": 15.3, \"max\": 127.5, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step length (mm)'},\n    \"axial_bore\": {\"type\": 'float', \"default\": 17.4, \"min\": 2.0, \"max\": 21.7, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Axial bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').circle(p[\"shaft_d\"] / 2).extrude(p[\"shaft_len\"]))\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"step_d\"] / 2).extrude(p[\"step_len\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"axial_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462c9e9e_0746", "family": "block", "tier": 2, "seed": 1177329310, "symmetry": "radial", "op_count": 3, "ir_hash": "2c00b30f94ba4022", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 262000.0, "surface_area": 38200.0, "principal_moments": [219000000.0, 230000000.0, 238000000.0], "n_faces": 19, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 70 \u00d7 64.9 \u00d7 74.7 mm (W\u00d7D\u00d7H).", "Four \u00d85.3 mm holes on a \u00d842 mm bolt circle.", "Pocket 46 \u00d7 45 mm, 35.7 mm deep, in top face."], "text": "Rectangular body, 70 \u00d7 64.9 \u00d7 74.7 mm (W\u00d7D\u00d7H). Four \u00d85.3 mm holes on a \u00d842 mm bolt circle. Pocket 46 \u00d7 45 mm, 35.7 mm deep, in top face."}, "params": {"block_w": {"type": "float", "default": 70, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 64.9, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 74.7, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "bolt_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 21.0, "min": 14.0, "max": 31.5, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 4, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}, "pocket_w": {"type": "float", "default": 46.0, "min": 23.0, "max": 56.0, "step": 1.0, "group": "Pocket", "label": "Pocket width (mm)"}, "pocket_d": {"type": "float", "default": 45.0, "min": 22.5, "max": 51.9, "step": 1.0, "group": "Pocket", "label": "Pocket depth (mm)"}, "pocket_h": {"type": "float", "default": 35.7, "min": 14.3, "max": 63.5, "step": 0.5, "group": "Pocket", "label": "Pocket height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329310 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 70, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 64.9, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 74.7, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 21.0, \"min\": 14.0, \"max\": 31.5, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 4, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n    \"pocket_w\": {\"type\": 'float', \"default\": 46.0, \"min\": 23.0, \"max\": 56.0, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket width (mm)'},\n    \"pocket_d\": {\"type\": 'float', \"default\": 45.0, \"min\": 22.5, \"max\": 51.9, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket depth (mm)'},\n    \"pocket_h\": {\"type\": 'float', \"default\": 35.7, \"min\": 14.3, \"max\": 63.5, \"step\": 0.5, \"group\": 'Pocket', \"label\": 'Pocket height (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"pocket_w\"], p[\"pocket_d\"])\n        .cutBlind(-p[\"pocket_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462c9e9f_0747", "family": "revolved", "tier": 2, "seed": 1177329311, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "49d85cadeb6b0d63", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 511000.0, "surface_area": 63800.0, "principal_moments": [841000000.0, 841000000.0, 848000000.0], "n_faces": 6, "n_edges": 9, "n_vertices": 6}, "dimensions": {"lines": ["Revolved body, \u00d878.58 mm \u00d7 94.2 mm tall with \u00d840.1 mm bore, \u00d8133.4 mm \u00d7 19 mm flange."], "text": "Revolved body, \u00d878.58 mm \u00d7 94.2 mm tall with \u00d840.1 mm bore, \u00d8133.4 mm \u00d7 19 mm flange."}, "params": {"outer_d": {"type": "float", "default": 78.58, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 94.2, "min": 28.3, "max": 282.6, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 40.1, "min": 2.0, "max": 55.0, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 133.4, "min": 94.3, "max": 235.7, "step": 1.0, "group": "Body", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 19.0, "min": 5.7, "max": 47.1, "step": 0.5, "group": "Body", "label": "Flange height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329311 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 78.58, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 94.2, \"min\": 28.3, \"max\": 282.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 40.1, \"min\": 2.0, \"max\": 55.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 133.4, \"min\": 94.3, \"max\": 235.7, \"step\": 1.0, \"group\": 'Body', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 19.0, \"min\": 5.7, \"max\": 47.1, \"step\": 0.5, \"group\": 'Body', \"label\": 'Flange height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462c9ea0_0748", "family": "lofted", "tier": 1, "seed": 1177329312, "symmetry": "none", "op_count": 2, "ir_hash": "37defa5e3152f150", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 167000.0, "surface_area": 21600.0, "principal_moments": [93899999.99999999, 94799999.99999999, 94799999.99999999], "n_faces": 8, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["Lofted body through 2 sections: 70 \u00d7 70 mm rectangular section \u2192 \u00d837.9 mm circular section.", "One \u00d814.4 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 2 sections: 70 \u00d7 70 mm rectangular section \u2192 \u00d837.9 mm circular section. One \u00d814.4 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 70.0, "min": 35.0, "max": 112.0, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 37.9, "min": 15.2, "max": 84.0, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 63.2, "min": 25.3, "max": 126.4, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_bore_d": {"type": "float", "default": 14.4, "min": 2.0, "max": 30.3, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329312 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 70.0, \"min\": 35.0, \"max\": 112.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 37.9, \"min\": 15.2, \"max\": 84.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 63.2, \"min\": 25.3, \"max\": 126.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 14.4, \"min\": 2.0, \"max\": 30.3, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .rect(p[\"loft_base\"], p[\"loft_base\"])\n        .workplane(offset=p[\"loft_h\"])\n        .circle(p[\"loft_top\"] / 2)\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462c9ea1_0749", "family": "tapped", "tier": 1, "seed": 1177329313, "symmetry": "none", "op_count": 1, "ir_hash": "45df136956206e1c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 29800.0, "surface_area": 7500.0, "principal_moments": [5220000.0, 5220000.0, 7190000.0], "n_faces": 196, "n_edges": 556, "n_vertices": 362}, "dimensions": {"lines": ["One M16x2 tapped hole in a cylinder."], "text": "One M16x2 tapped hole in a cylinder."}, "params": {"major_d": {"type": "float", "default": 16.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 2.0, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 25.6, "min": 19.2, "max": 46.1, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "body_d": {"type": "float", "default": 41.3, "min": 28.8, "max": 66.1, "step": 1.0, "group": "Body", "label": "Outer \u00d8 (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329313 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 16.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 2.0, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 25.6, \"min\": 19.2, \"max\": 46.1, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"body_d\": {\"type\": 'float', \"default\": 41.3, \"min\": 28.8, \"max\": 66.1, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer \u00d8 (mm)'},\n}\n\n\ndef build(p):\n\n    _W = _D = p[\"body_d\"]\n    _H = p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Cylinder(radius=_W / 2, height=_H)\n    _locs = [(0.0, 0.0)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462c9ea2_0750", "family": "gear", "tier": 0, "seed": 1177329314, "symmetry": "none", "op_count": 1, "ir_hash": "48399a0e9a431cc5", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 69300.0, "surface_area": 15400.0, "principal_moments": [22899999.999999996, 22899999.999999996, 41700000.0], "n_faces": 140, "n_edges": 414, "n_vertices": 276}, "dimensions": {"lines": ["Spur gear, module 3 mm, 23 teeth (pitch \u00d869 mm), face width 18.8 mm."], "text": "Spur gear, module 3 mm, 23 teeth (pitch \u00d869 mm), face width 18.8 mm."}, "params": {"module": {"type": "float", "default": 3.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 23, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 18.8, "min": 7.5, "max": 47.0, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329314 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 3.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 23, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 18.8, \"min\": 7.5, \"max\": 47.0, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462c9ea3_0751", "family": "ribbed", "tier": 2, "seed": 1177329315, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "47d720b0aeb8a5d6", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 44100.0, "surface_area": 18700.0, "principal_moments": [14899999.999999998, 21400000.0, 34100000.0], "n_faces": 31, "n_edges": 72, "n_vertices": 48}, "dimensions": {"lines": ["Rectangular body, 75 \u00d7 62.3 \u00d7 5 mm (W\u00d7D\u00d7H).", "Five ribs, 5.7 mm thick, 12.1 mm tall."], "text": "Rectangular body, 75 \u00d7 62.3 \u00d7 5 mm (W\u00d7D\u00d7H). Five ribs, 5.7 mm thick, 12.1 mm tall."}, "params": {"base_w": {"type": "float", "default": 75, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 62.3, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 5.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 5, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 12.1, "min": 4.8, "max": 24.2, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 5.7, "min": 1.0, "max": 14.2, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329315 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 75, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 62.3, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 5, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 12.1, \"min\": 4.8, \"max\": 24.2, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 5.7, \"min\": 1.0, \"max\": 14.2, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462c9ea4_0752", "family": "block", "tier": 1, "seed": 1177329316, "symmetry": "none", "op_count": 2, "ir_hash": "17e994dd61c11dbe", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 290000.0, "surface_area": 33200.0, "principal_moments": [201000000.0, 220000000.0, 331000000.0], "n_faces": 11, "n_edges": 27, "n_vertices": 18}, "dimensions": {"lines": ["Rectangular body, 85 \u00d7 43.3 \u00d7 80.3 mm (W\u00d7D\u00d7H).", "Five \u00d84.3 mm holes in two staggered rows, 31.9 \u00d7 27.7 mm pitch."], "text": "Rectangular body, 85 \u00d7 43.3 \u00d7 80.3 mm (W\u00d7D\u00d7H). Five \u00d84.3 mm holes in two staggered rows, 31.9 \u00d7 27.7 mm pitch."}, "params": {"block_w": {"type": "float", "default": 85, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 43.3, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 80.3, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 4.3, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 3, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329316 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 85, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 43.3, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 80.3, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 4.3, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 3, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 31.9\n    _ssy = 27.7\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462c9ea5_0753", "family": "enclosure", "tier": 3, "seed": 1177329317, "symmetry": "none", "op_count": 3, "ir_hash": "00a91d3de3011455", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 12000.0, "surface_area": 8460.0, "principal_moments": [1400000.0, 3890000.0, 3920000.0], "n_faces": 19, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 50.61 \u00d7 20.9 \u00d7 24.9 mm (W\u00d7D\u00d7H).", "Hollowed to 3.2 mm wall thickness, open at top face.", "Four \u00d83.2 mm holes at the corners, 35.427 \u00d7 14.63 mm spacing."], "text": "Rectangular body, 50.61 \u00d7 20.9 \u00d7 24.9 mm (W\u00d7D\u00d7H). Hollowed to 3.2 mm wall thickness, open at top face. Four \u00d83.2 mm holes at the corners, 35.427 \u00d7 14.63 mm spacing."}, "params": {"enc_w": {"type": "float", "default": 50.61, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 20.9, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 24.9, "min": 10.0, "max": 49.8, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 3.2, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 4.7, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329317 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 50.61, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 20.9, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 24.9, \"min\": 10.0, \"max\": 49.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 4.7, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"enc_w\"] * 0.7, p[\"enc_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9ea6_0754", "family": "plate", "tier": 3, "seed": 1177329318, "symmetry": "radial", "op_count": 4, "ir_hash": "b5a68c0d326b8b7b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 4790.0, "surface_area": 3920.0, "principal_moments": [404000.0, 1320000.0, 1720000.0], "n_faces": 27, "n_edges": 78, "n_vertices": 52}, "dimensions": {"lines": ["Rectangular body, 53.38 \u00d7 29.9 \u00d7 4 mm (W\u00d7D\u00d7H).", "Four \u00d86.4 mm holes on a \u00d832 mm bolt circle.", "Chamfer 2.8 mm on vertical edges.", "Pocket 31.6 \u00d7 20.4 mm, 1.9 mm deep, in top face."], "text": "Rectangular body, 53.38 \u00d7 29.9 \u00d7 4 mm (W\u00d7D\u00d7H). Four \u00d86.4 mm holes on a \u00d832 mm bolt circle. Chamfer 2.8 mm on vertical edges. Pocket 31.6 \u00d7 20.4 mm, 1.9 mm deep, in top face."}, "params": {"plate_w": {"type": "float", "default": 53.38, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 29.9, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 4.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "bolt_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 16.0, "min": 10.7, "max": 24.0, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 4, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}, "chamfer_d": {"type": "float", "default": 2.8, "min": 1.2, "max": 3.6, "step": 0.5, "group": "Body", "label": "Chamfer distance (mm)"}, "chamfered": {"type": "bool", "default": true, "group": "Body", "label": "Chamfer edges"}, "pocket_w": {"type": "float", "default": 31.6, "min": 15.8, "max": 42.7, "step": 1.0, "group": "Pocket", "label": "Pocket width (mm)"}, "pocket_d": {"type": "float", "default": 20.4, "min": 10.2, "max": 23.9, "step": 1.0, "group": "Pocket", "label": "Pocket depth (mm)"}, "pocket_h": {"type": "float", "default": 1.9, "min": 0.8, "max": 3.4, "step": 0.5, "group": "Pocket", "label": "Pocket height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329318 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 53.38, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 29.9, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 4.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 16.0, \"min\": 10.7, \"max\": 24.0, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 4, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n    \"chamfer_d\": {\"type\": 'float', \"default\": 2.8, \"min\": 1.2, \"max\": 3.6, \"step\": 0.5, \"group\": 'Body', \"label\": 'Chamfer distance (mm)'},\n    \"chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Chamfer edges'},\n    \"pocket_w\": {\"type\": 'float', \"default\": 31.6, \"min\": 15.8, \"max\": 42.7, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket width (mm)'},\n    \"pocket_d\": {\"type\": 'float', \"default\": 20.4, \"min\": 10.2, \"max\": 23.9, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket depth (mm)'},\n    \"pocket_h\": {\"type\": 'float', \"default\": 1.9, \"min\": 0.8, \"max\": 3.4, \"step\": 0.5, \"group\": 'Pocket', \"label\": 'Pocket height (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    if p[\"chamfered\"]:\n        result = result.edges('|Z').chamfer(p[\"chamfer_d\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"pocket_w\"], p[\"pocket_d\"])\n        .cutBlind(-p[\"pocket_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462c9ea7_0755", "family": "sketched", "tier": 1, "seed": 1177329319, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "dbde840be3b2b750", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 25700.0, "surface_area": 6150.0, "principal_moments": [3510000.0, 4200000.0, 4200000.0], "n_faces": 7, "n_edges": 12, "n_vertices": 7}, "dimensions": {"lines": ["Revolved organic body from a freeform sketched section (6 segments: 3 straight, 1 arc, 2 curves), ~15.585 \u00d7 35.81 mm half-silhouette."], "text": "Revolved organic body from a freeform sketched section (6 segments: 3 straight, 1 arc, 2 curves), ~15.585 \u00d7 35.81 mm half-silhouette."}, "params": {"sk_r": {"type": "float", "default": 25, "min": 12.5, "max": 45.0, "step": 1.0, "group": "Sketch", "label": "Max radius (mm)"}, "sk_h": {"type": "float", "default": 35.81, "min": 17.9, "max": 64.5, "step": 1.0, "group": "Sketch", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329319 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_r\": {\"type\": 'float', \"default\": 25, \"min\": 12.5, \"max\": 45.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Max radius (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 35.81, \"min\": 17.9, \"max\": 64.5, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XZ').moveTo(p[\"sk_r\"] * 0.5633, p[\"sk_h\"] * 0.0).lineTo(p[\"sk_r\"] * 0.5108, p[\"sk_h\"] * 0.1121).spline([(p[\"sk_r\"] * 0.5108, p[\"sk_h\"] * 0.1121), (p[\"sk_r\"] * 0.609, p[\"sk_h\"] * 0.3959), (p[\"sk_r\"] * 0.5646, p[\"sk_h\"] * 0.6798)]).spline([(p[\"sk_r\"] * 0.5646, p[\"sk_h\"] * 0.6798), (p[\"sk_r\"] * 0.8347, p[\"sk_h\"] * 0.7561), (p[\"sk_r\"] * 0.7479, p[\"sk_h\"] * 0.8325)]).threePointArc((p[\"sk_r\"] * 0.5742, p[\"sk_h\"] * 0.9162), (p[\"sk_r\"] * 0.4264, p[\"sk_h\"] * 1.0)).lineTo(p[\"sk_r\"] * 0.1245, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.1245, p[\"sk_h\"] * 0.0).close().revolve())\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462c9ea8_0756", "family": "tapped", "tier": 0, "seed": 1177329320, "symmetry": "none", "op_count": 1, "ir_hash": "2448b83839fd1ebd", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 2220.0, "surface_area": 1290.0, "principal_moments": [66700.0, 66700.0, 84700.0], "n_faces": 95, "n_edges": 255, "n_vertices": 162}, "dimensions": {"lines": ["One M6x1 tapped hole in a cylinder."], "text": "One M6x1 tapped hole in a cylinder."}, "params": {"major_d": {"type": "float", "default": 6.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 1.0, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 11.5, "min": 7.2, "max": 20.7, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "body_d": {"type": "float", "default": 16.6, "min": 10.8, "max": 26.6, "step": 1.0, "group": "Body", "label": "Outer \u00d8 (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329320 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.0, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 11.5, \"min\": 7.2, \"max\": 20.7, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"body_d\": {\"type\": 'float', \"default\": 16.6, \"min\": 10.8, \"max\": 26.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer \u00d8 (mm)'},\n}\n\n\ndef build(p):\n\n    _W = _D = p[\"body_d\"]\n    _H = p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Cylinder(radius=_W / 2, height=_H)\n    _locs = [(0.0, 0.0)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462c9ea9_0757", "family": "enclosure", "tier": 1, "seed": 1177329321, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "cd8252e1acf1521f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 12000.0, "surface_area": 6420.0, "principal_moments": [1620000.0, 2060000.0, 2220000.0], "n_faces": 11, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 31.83 \u00d7 22.8 \u00d7 28.3 mm (W\u00d7D\u00d7H).", "Hollowed to 4 mm wall thickness, open at top face."], "text": "Rectangular body, 31.83 \u00d7 22.8 \u00d7 28.3 mm (W\u00d7D\u00d7H). Hollowed to 4 mm wall thickness, open at top face."}, "params": {"enc_w": {"type": "float", "default": 31.83, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 22.8, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 28.3, "min": 11.3, "max": 56.6, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 4.0, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329321 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 31.83, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 22.8, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 28.3, \"min\": 11.3, \"max\": 56.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462c9eaa_0758", "family": "enclosure", "tier": 1, "seed": 1177329322, "symmetry": "none", "op_count": 2, "ir_hash": "6f4ac84c8eacdf4e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 109000.0, "surface_area": 43600.0, "principal_moments": [79300000.0, 154000000.0, 170000000.0], "n_faces": 11, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 100 \u00d7 45.2 \u00d7 66.5 mm (W\u00d7D\u00d7H).", "Hollowed to 5.2 mm wall thickness, open at top face."], "text": "Rectangular body, 100 \u00d7 45.2 \u00d7 66.5 mm (W\u00d7D\u00d7H). Hollowed to 5.2 mm wall thickness, open at top face."}, "params": {"enc_w": {"type": "float", "default": 100, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 45.2, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 66.5, "min": 26.6, "max": 133.0, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 5.2, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329322 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 100, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 45.2, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 66.5, \"min\": 26.6, \"max\": 133.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 5.2, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9eab_0759", "family": "plate", "tier": 1, "seed": 1177329323, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "83d413e9544f4533", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 4640.0, "surface_area": 3180.0, "principal_moments": [161000.0, 1370000.0, 1510000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 60 \u00d7 20.3 \u00d7 4 mm (W\u00d7D\u00d7H).", "Four \u00d84.3 mm holes at the corners, 42 \u00d7 14.21 mm spacing."], "text": "Rectangular body, 60 \u00d7 20.3 \u00d7 4 mm (W\u00d7D\u00d7H). Four \u00d84.3 mm holes at the corners, 42 \u00d7 14.21 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 60, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 20.3, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 4.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 4.6, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329323 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 60, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 20.3, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 4.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 4.6, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462c9eac_0760", "family": "flanged", "tier": 1, "seed": 1177329324, "symmetry": "none", "op_count": 2, "ir_hash": "371cc27e00cb87f1", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 71000.0, "surface_area": 19700.0, "principal_moments": [31499999.999999996, 31499999.999999996, 53899999.99999999], "n_faces": 12, "n_edges": 27, "n_vertices": 18}, "dimensions": {"lines": ["Revolved body, \u00d845 mm \u00d7 27.7 mm tall with \u00d814.2 mm bore, \u00d892.7 mm \u00d7 6.5 mm flange.", "Six \u00d88.4 mm holes on a \u00d855.6 mm bolt circle."], "text": "Revolved body, \u00d845 mm \u00d7 27.7 mm tall with \u00d814.2 mm bore, \u00d892.7 mm \u00d7 6.5 mm flange. Six \u00d88.4 mm holes on a \u00d855.6 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 45, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 27.7, "min": 8.3, "max": 69.2, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 14.2, "min": 2.0, "max": 31.5, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 92.7, "min": 58.5, "max": 135.0, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 6.5, "min": 1.9, "max": 11.1, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 8.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 27.8, "min": 18.5, "max": 41.7, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 6, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329324 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 45, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 27.7, \"min\": 8.3, \"max\": 69.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 14.2, \"min\": 2.0, \"max\": 31.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 92.7, \"min\": 58.5, \"max\": 135.0, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 6.5, \"min\": 1.9, \"max\": 11.1, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 27.8, \"min\": 18.5, \"max\": 41.7, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462c9ead_0761", "family": "revolved", "tier": 1, "seed": 1177329325, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "cd294bb24e96bbe4", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 9710.0, "surface_area": 3450.0, "principal_moments": [609000.0, 1150000.0, 1150000.0], "n_faces": 8, "n_edges": 14, "n_vertices": 8}, "dimensions": {"lines": ["Revolved body, \u00d821.04 mm \u00d7 32.4 mm tall with \u00d87.7 mm bore.", "Chamfer 0.7 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d821.04 mm \u00d7 32.4 mm tall with \u00d87.7 mm bore. Chamfer 0.7 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 21.04, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 32.4, "min": 9.7, "max": 97.2, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 7.7, "min": 2.0, "max": 14.7, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "end_chamfer": {"type": "float", "default": 0.7, "min": 0.1, "max": 2.1, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329325 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 21.04, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 32.4, \"min\": 9.7, \"max\": 97.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 7.7, \"min\": 2.0, \"max\": 14.7, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.7, \"min\": 0.1, \"max\": 2.1, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462c9eae_0762", "family": "compound", "tier": 2, "seed": 1177329326, "symmetry": "none", "op_count": 3, "ir_hash": "51a2bb010143ee60", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 13000.0, "surface_area": 5120.0, "principal_moments": [1440000.0, 1960000.0, 1960000.0], "n_faces": 17, "n_edges": 42, "n_vertices": 28}, "dimensions": {"lines": ["6-sided polygon section, 35.62 mm across corners, extruded 10.9 mm thick.", "\u00d818.6 mm circular section attachment, 24.1 mm long, from top face with a \u00d89.6 mm bore.", "Fillet radius 1.427 mm on vertical edges."], "text": "6-sided polygon section, 35.62 mm across corners, extruded 10.9 mm thick. \u00d818.6 mm circular section attachment, 24.1 mm long, from top face with a \u00d89.6 mm bore. Fillet radius 1.427 mm on vertical edges."}, "params": {"base_sides": {"type": "int", "default": 6, "min": 3, "max": 8, "step": 1, "group": "Base", "label": "Base sides"}, "base_r": {"type": "float", "default": 17.81, "min": 10.7, "max": 28.5, "step": 1.0, "group": "Base", "label": "Base circumradius (mm)"}, "base_h": {"type": "float", "default": 10.9, "min": 4.4, "max": 27.2, "step": 1.0, "group": "Base", "label": "Base height (mm)"}, "col_d": {"type": "float", "default": 18.6, "min": 9.3, "max": 24.7, "step": 1.0, "group": "Column", "label": "Column diameter (mm)"}, "col_h": {"type": "float", "default": 24.1, "min": 7.2, "max": 60.2, "step": 1.0, "group": "Column", "label": "Column height (mm)"}, "col_bore": {"type": "float", "default": 9.6, "min": 2.0, "max": 13.4, "step": 0.5, "group": "Column", "label": "Column bore diameter (mm)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329326 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_sides\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Base', \"label\": 'Base sides'},\n    \"base_r\": {\"type\": 'float', \"default\": 17.81, \"min\": 10.7, \"max\": 28.5, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base circumradius (mm)'},\n    \"base_h\": {\"type\": 'float', \"default\": 10.9, \"min\": 4.4, \"max\": 27.2, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base height (mm)'},\n    \"col_d\": {\"type\": 'float', \"default\": 18.6, \"min\": 9.3, \"max\": 24.7, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column diameter (mm)'},\n    \"col_h\": {\"type\": 'float', \"default\": 24.1, \"min\": 7.2, \"max\": 60.2, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column height (mm)'},\n    \"col_bore\": {\"type\": 'float', \"default\": 9.6, \"min\": 2.0, \"max\": 13.4, \"step\": 0.5, \"group\": 'Column', \"label\": 'Column bore diameter (mm)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').polygon(p[\"base_sides\"], p[\"base_r\"] * 2).extrude(p[\"base_h\"]))\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"col_d\"] / 2).extrude(p[\"col_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"col_bore\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"base_r\"], p[\"base_r\"]) * 0.08014806203344951)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462c9eaf_0763", "family": "gear", "tier": 2, "seed": 1177329327, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "3c0ccabbb7b49504", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 95200.0, "surface_area": 22500.0, "principal_moments": [57999999.99999999, 57999999.99999999, 113000000.0], "n_faces": 189, "n_edges": 561, "n_vertices": 374}, "dimensions": {"lines": ["Helical gear, module 3 mm, 31 teeth (pitch \u00d893 mm), face width 13.8 mm, 12.3\u00b0 helix, \u00d817.3 mm bore."], "text": "Helical gear, module 3 mm, 31 teeth (pitch \u00d893 mm), face width 13.8 mm, 12.3\u00b0 helix, \u00d817.3 mm bore."}, "params": {"module": {"type": "float", "default": 3.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 31, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 13.8, "min": 5.5, "max": 34.5, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "helix_angle": {"type": "float", "default": 12.3, "min": 5.0, "max": 40.0, "step": 1.0, "group": "Gear", "label": "Helix angle (deg)"}, "profile_shift": {"type": "float", "default": 0.08, "min": -0.5, "max": 0.7, "step": 0.05, "group": "Gear", "label": "Profile shift"}, "root_fillet": {"type": "float", "default": 0.37, "min": 0.0, "max": 1.5, "step": 0.05, "group": "Gear", "label": "Root fillet (mm)"}, "bore_d": {"type": "float", "default": 17.3, "min": 2.0, "max": 51.3, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329327 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 3.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 31, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 13.8, \"min\": 5.5, \"max\": 34.5, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"helix_angle\": {\"type\": 'float', \"default\": 12.3, \"min\": 5.0, \"max\": 40.0, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Helix angle (deg)'},\n    \"profile_shift\": {\"type\": 'float', \"default\": 0.08, \"min\": -0.5, \"max\": 0.7, \"step\": 0.05, \"group\": 'Gear', \"label\": 'Profile shift'},\n    \"root_fillet\": {\"type\": 'float', \"default\": 0.37, \"min\": 0.0, \"max\": 1.5, \"step\": 0.05, \"group\": 'Gear', \"label\": 'Root fillet (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 17.3, \"min\": 2.0, \"max\": 51.3, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.HelicalGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"], helix_angle=math.radians(p[\"helix_angle\"]), herringbone=False, profile_shift=p[\"profile_shift\"], root_fillet=p[\"root_fillet\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462c9eb0_0764", "family": "revolved", "tier": 1, "seed": 1177329328, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "67f66a718825cb6b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 345000.0, "surface_area": 40200.0, "principal_moments": [142000000.0, 807000000.0, 807000000.0], "n_faces": 4, "n_edges": 6, "n_vertices": 4}, "dimensions": {"lines": ["Revolved body, \u00d854.94 mm \u00d7 160 mm tall with \u00d816.5 mm bore."], "text": "Revolved body, \u00d854.94 mm \u00d7 160 mm tall with \u00d816.5 mm bore."}, "params": {"outer_d": {"type": "float", "default": 54.94, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 160.0, "min": 48.0, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 16.5, "min": 2.0, "max": 38.5, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329328 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 54.94, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 160.0, \"min\": 48.0, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 16.5, \"min\": 2.0, \"max\": 38.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462c9eb1_0765", "family": "gear", "tier": 2, "seed": 1177329329, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "bd6a86e134ffbd65", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 7640.0, "surface_area": 5070.0, "principal_moments": [1220000.0, 1220000.0, 2420000.0], "n_faces": 323, "n_edges": 963, "n_vertices": 642}, "dimensions": {"lines": ["Spur gear, module 1.25 mm, 40 teeth (pitch \u00d850 mm), face width 4.2 mm, \u00d89.9 mm bore."], "text": "Spur gear, module 1.25 mm, 40 teeth (pitch \u00d850 mm), face width 4.2 mm, \u00d89.9 mm bore."}, "params": {"module": {"type": "float", "default": 1.25, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 40, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 4.2, "min": 1.7, "max": 10.5, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "profile_shift": {"type": "float", "default": -0.27, "min": -0.5, "max": 0.7, "step": 0.05, "group": "Gear", "label": "Profile shift"}, "root_fillet": {"type": "float", "default": 0.35, "min": 0.0, "max": 0.62, "step": 0.05, "group": "Gear", "label": "Root fillet (mm)"}, "bore_d": {"type": "float", "default": 9.9, "min": 2.0, "max": 28.1, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329329 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 1.25, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 40, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 4.2, \"min\": 1.7, \"max\": 10.5, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"profile_shift\": {\"type\": 'float', \"default\": -0.27, \"min\": -0.5, \"max\": 0.7, \"step\": 0.05, \"group\": 'Gear', \"label\": 'Profile shift'},\n    \"root_fillet\": {\"type\": 'float', \"default\": 0.35, \"min\": 0.0, \"max\": 0.62, \"step\": 0.05, \"group\": 'Gear', \"label\": 'Root fillet (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 9.9, \"min\": 2.0, \"max\": 28.1, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"], profile_shift=p[\"profile_shift\"], root_fillet=p[\"root_fillet\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462c9eb2_0766", "family": "bracket", "tier": 3, "seed": 1177329330, "symmetry": "none", "op_count": 1, "ir_hash": "439a3a972d655e0d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 39900.0, "surface_area": 18100.0, "principal_moments": [16199999.999999998, 45200000.0, 49199999.99999999], "n_faces": 15, "n_edges": 57, "n_vertices": 34}, "dimensions": {"lines": ["L-bracket: base leg 83.15 mm, vertical leg 82.3 mm, 45 mm wide, 5 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg; 5 mm corner gusset."], "text": "L-bracket: base leg 83.15 mm, vertical leg 82.3 mm, 45 mm wide, 5 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg; 5 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 83.15, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 82.3, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 45, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 5.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 5.0, "min": 2.5, "max": 15.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329330 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 83.15, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 82.3, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 45, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 2.5, \"max\": 15.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462c9eb3_0767", "family": "ribbed", "tier": 2, "seed": 1177329331, "symmetry": "none", "op_count": 3, "ir_hash": "74984ef40b08e7a3", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 51600.0, "surface_area": 25200.0, "principal_moments": [30299999.999999996, 46099999.99999999, 73700000.0], "n_faces": 29, "n_edges": 84, "n_vertices": 56}, "dimensions": {"lines": ["Rectangular body, 97.41 \u00d7 84.9 \u00d7 4 mm (W\u00d7D\u00d7H).", "Three ribs, 5.8 mm thick, 14.2 mm tall.", "Four \u00d86.4 mm holes at the corners, 68.187 \u00d7 59.43 mm spacing."], "text": "Rectangular body, 97.41 \u00d7 84.9 \u00d7 4 mm (W\u00d7D\u00d7H). Three ribs, 5.8 mm thick, 14.2 mm tall. Four \u00d86.4 mm holes at the corners, 68.187 \u00d7 59.43 mm spacing."}, "params": {"base_w": {"type": "float", "default": 97.41, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 84.9, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 4.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 3, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 14.2, "min": 5.7, "max": 28.4, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 5.8, "min": 1.0, "max": 14.5, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329331 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 97.41, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 84.9, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 3, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 14.2, \"min\": 5.7, \"max\": 28.4, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 5.8, \"min\": 1.0, \"max\": 14.5, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"base_w\"] * 0.7, p[\"base_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462c9eb4_0768", "family": "compound", "tier": 3, "seed": 1177329332, "symmetry": "none", "op_count": 3, "ir_hash": "baa19bc84687ecf7", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 3840.0, "surface_area": 2190.0, "principal_moments": [218000.0, 218000.0, 224000.0], "n_faces": 17, "n_edges": 42, "n_vertices": 28}, "dimensions": {"lines": ["6-sided polygon section, 25.98 mm across corners, extruded 6.4 mm thick.", "\u00d812.3 mm circular section attachment, 13.2 mm long, from top face with a \u00d85.9 mm bore.", "Fillet radius 0.86 mm on vertical edges."], "text": "6-sided polygon section, 25.98 mm across corners, extruded 6.4 mm thick. \u00d812.3 mm circular section attachment, 13.2 mm long, from top face with a \u00d85.9 mm bore. Fillet radius 0.86 mm on vertical edges."}, "params": {"base_sides": {"type": "int", "default": 6, "min": 3, "max": 8, "step": 1, "group": "Base", "label": "Base sides"}, "base_r": {"type": "float", "default": 12.99, "min": 7.8, "max": 20.8, "step": 1.0, "group": "Base", "label": "Base circumradius (mm)"}, "base_h": {"type": "float", "default": 6.4, "min": 2.6, "max": 16.0, "step": 1.0, "group": "Base", "label": "Base height (mm)"}, "col_d": {"type": "float", "default": 12.3, "min": 6.2, "max": 18.0, "step": 1.0, "group": "Column", "label": "Column diameter (mm)"}, "col_h": {"type": "float", "default": 13.2, "min": 4.0, "max": 33.0, "step": 1.0, "group": "Column", "label": "Column height (mm)"}, "col_bore": {"type": "float", "default": 5.9, "min": 2.0, "max": 8.9, "step": 0.5, "group": "Column", "label": "Column bore diameter (mm)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329332 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_sides\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Base', \"label\": 'Base sides'},\n    \"base_r\": {\"type\": 'float', \"default\": 12.99, \"min\": 7.8, \"max\": 20.8, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base circumradius (mm)'},\n    \"base_h\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.6, \"max\": 16.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base height (mm)'},\n    \"col_d\": {\"type\": 'float', \"default\": 12.3, \"min\": 6.2, \"max\": 18.0, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column diameter (mm)'},\n    \"col_h\": {\"type\": 'float', \"default\": 13.2, \"min\": 4.0, \"max\": 33.0, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column height (mm)'},\n    \"col_bore\": {\"type\": 'float', \"default\": 5.9, \"min\": 2.0, \"max\": 8.9, \"step\": 0.5, \"group\": 'Column', \"label\": 'Column bore diameter (mm)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').polygon(p[\"base_sides\"], p[\"base_r\"] * 2).extrude(p[\"base_h\"]))\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"col_d\"] / 2).extrude(p[\"col_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"col_bore\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"base_r\"], p[\"base_r\"]) * 0.06623814275050144)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462c9eb5_0769", "family": "flanged", "tier": 1, "seed": 1177329333, "symmetry": "none", "op_count": 2, "ir_hash": "c4b999573a7af7d5", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 68400.0, "surface_area": 20500.0, "principal_moments": [29399999.999999996, 34900000.0, 34900000.0], "n_faces": 12, "n_edges": 27, "n_vertices": 18}, "dimensions": {"lines": ["Revolved body, \u00d840.06 mm \u00d7 53.8 mm tall with \u00d818.9 mm bore, \u00d881.3 mm \u00d7 4.2 mm flange.", "Six \u00d86.4 mm holes on a \u00d848.8 mm bolt circle."], "text": "Revolved body, \u00d840.06 mm \u00d7 53.8 mm tall with \u00d818.9 mm bore, \u00d881.3 mm \u00d7 4.2 mm flange. Six \u00d86.4 mm holes on a \u00d848.8 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 40.06, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 53.8, "min": 16.1, "max": 134.5, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 18.9, "min": 2.0, "max": 28.0, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 81.3, "min": 52.1, "max": 120.2, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 4.2, "min": 1.3, "max": 21.5, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 24.4, "min": 16.3, "max": 36.6, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 6, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329333 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 40.06, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 53.8, \"min\": 16.1, \"max\": 134.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 18.9, \"min\": 2.0, \"max\": 28.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 81.3, \"min\": 52.1, \"max\": 120.2, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 4.2, \"min\": 1.3, \"max\": 21.5, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 24.4, \"min\": 16.3, \"max\": 36.6, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462c9eb6_0770", "family": "compound", "tier": 1, "seed": 1177329334, "symmetry": "none", "op_count": 3, "ir_hash": "c48432b533773edb", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 453000.0, "surface_area": 38000.0, "principal_moments": [415000000.0, 459000000.0, 473000000.0], "n_faces": 23, "n_edges": 56, "n_vertices": 37}, "dimensions": {"lines": ["Rectangular body, 82 \u00d7 73 \u00d7 75.5 mm (W\u00d7D\u00d7H).", "6-sided polygon section, 15 mm across corners attachment, 10.5 mm long, from right face with a \u00d85.3 mm bore.", "6-sided polygon section, 15 mm across corners attachment, 10.5 mm long, from left face with a \u00d85.3 mm bore."], "text": "Rectangular body, 82 \u00d7 73 \u00d7 75.5 mm (W\u00d7D\u00d7H). 6-sided polygon section, 15 mm across corners attachment, 10.5 mm long, from right face with a \u00d85.3 mm bore. 6-sided polygon section, 15 mm across corners attachment, 10.5 mm long, from left face with a \u00d85.3 mm bore."}, "params": {"block_w": {"type": "float", "default": 82.0, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body width (mm)"}, "block_d": {"type": "float", "default": 73.0, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body depth (mm)"}, "block_h": {"type": "float", "default": 75.5, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body height (mm)"}, "port_sides": {"type": "int", "default": 6, "min": 3, "max": 8, "step": 1, "group": "Ports", "label": "Ports sides"}, "port_r": {"type": "float", "default": 7.5, "min": 3.8, "max": 16.4, "step": 1.0, "group": "Ports", "label": "Ports circumradius (mm)"}, "port_len": {"type": "float", "default": 10.5, "min": 3.2, "max": 39.0, "step": 1.0, "group": "Ports", "label": "Port boss length (mm)"}, "port_bore": {"type": "float", "default": 5.3, "min": 2.0, "max": 9.4, "step": 0.5, "group": "Ports", "label": "Port bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329334 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 82.0, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 73.0, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 75.5, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body height (mm)'},\n    \"port_sides\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Ports', \"label\": 'Ports sides'},\n    \"port_r\": {\"type\": 'float', \"default\": 7.5, \"min\": 3.8, \"max\": 16.4, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Ports circumradius (mm)'},\n    \"port_len\": {\"type\": 'float', \"default\": 10.5, \"min\": 3.2, \"max\": 39.0, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Port boss length (mm)'},\n    \"port_bore\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 9.4, \"step\": 0.5, \"group\": 'Ports', \"label\": 'Port bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"port_sides\"], p[\"port_r\"] * 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"port_sides\"], p[\"port_r\"] * 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462c9eb7_0771", "family": "gear", "tier": 3, "seed": 1177329335, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "a091c7c171fc8e41", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 69800.0, "surface_area": 16300.0, "principal_moments": [24499999.999999996, 24499999.999999996, 44600000.0], "n_faces": 115, "n_edges": 339, "n_vertices": 226}, "dimensions": {"lines": ["Spur gear, module 5 mm, 14 teeth (pitch \u00d870 mm), face width 19.5 mm, \u00d89.9 mm bore."], "text": "Spur gear, module 5 mm, 14 teeth (pitch \u00d870 mm), face width 19.5 mm, \u00d89.9 mm bore."}, "params": {"module": {"type": "float", "default": 5.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 14, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 19.5, "min": 7.8, "max": 48.8, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "profile_shift": {"type": "float", "default": -0.07, "min": -0.5, "max": 0.7, "step": 0.05, "group": "Gear", "label": "Profile shift"}, "root_fillet": {"type": "float", "default": 0.59, "min": 0.0, "max": 2.5, "step": 0.05, "group": "Gear", "label": "Root fillet (mm)"}, "bore_d": {"type": "float", "default": 9.9, "min": 2.0, "max": 34.5, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329335 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 5.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 14, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 19.5, \"min\": 7.8, \"max\": 48.8, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"profile_shift\": {\"type\": 'float', \"default\": -0.07, \"min\": -0.5, \"max\": 0.7, \"step\": 0.05, \"group\": 'Gear', \"label\": 'Profile shift'},\n    \"root_fillet\": {\"type\": 'float', \"default\": 0.59, \"min\": 0.0, \"max\": 2.5, \"step\": 0.05, \"group\": 'Gear', \"label\": 'Root fillet (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 9.9, \"min\": 2.0, \"max\": 34.5, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"], profile_shift=p[\"profile_shift\"], root_fillet=p[\"root_fillet\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462c9eb8_0772", "family": "sketched", "tier": 1, "seed": 1177329336, "symmetry": "none", "op_count": 1, "ir_hash": "6177a6e72151fceb", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 93100.0, "surface_area": 19100.0, "principal_moments": [31099999.999999996, 50899999.99999999, 50899999.99999999], "n_faces": 7, "n_edges": 12, "n_vertices": 7}, "dimensions": {"lines": ["Revolved organic body from a freeform sketched section (6 segments: 4 straight, 1 arc, 1 curve), ~32.43 \u00d7 60 mm half-silhouette."], "text": "Revolved organic body from a freeform sketched section (6 segments: 4 straight, 1 arc, 1 curve), ~32.43 \u00d7 60 mm half-silhouette."}, "params": {"sk_r": {"type": "float", "default": 41.17, "min": 20.6, "max": 74.1, "step": 1.0, "group": "Sketch", "label": "Max radius (mm)"}, "sk_h": {"type": "float", "default": 60, "min": 30.0, "max": 108.0, "step": 1.0, "group": "Sketch", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329336 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_r\": {\"type\": 'float', \"default\": 41.17, \"min\": 20.6, \"max\": 74.1, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Max radius (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 60, \"min\": 30.0, \"max\": 108.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XZ').moveTo(p[\"sk_r\"] * 0.8907, p[\"sk_h\"] * 0.0).threePointArc((p[\"sk_r\"] * 0.6133, p[\"sk_h\"] * 0.1005), (p[\"sk_r\"] * 0.4234, p[\"sk_h\"] * 0.2009)).bezier([(p[\"sk_r\"] * 0.4234, p[\"sk_h\"] * 0.2009), (p[\"sk_r\"] * 0.3544, p[\"sk_h\"] * 0.2294), (p[\"sk_r\"] * 0.3067, p[\"sk_h\"] * 0.2579)]).lineTo(p[\"sk_r\"] * 0.7405, p[\"sk_h\"] * 0.9329).lineTo(p[\"sk_r\"] * 0.1921, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.103, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.103, p[\"sk_h\"] * 0.0).close().revolve())\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462c9eb9_0773", "family": "tapped", "tier": 3, "seed": 1177329337, "symmetry": "none", "op_count": 1, "ir_hash": "1614c10e27571289", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 19900.0, "surface_area": 5390.0, "principal_moments": [2560000.0, 2560000.0, 3900000.0], "n_faces": 128, "n_edges": 356, "n_vertices": 230}, "dimensions": {"lines": ["One M12x1.75 tapped hole in a cylinder."], "text": "One M12x1.75 tapped hole in a cylinder."}, "params": {"major_d": {"type": "float", "default": 12.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 1.75, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 19.2, "min": 14.4, "max": 34.6, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "body_d": {"type": "float", "default": 38.0, "min": 21.6, "max": 60.8, "step": 1.0, "group": "Body", "label": "Outer \u00d8 (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329337 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 12.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.75, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 19.2, \"min\": 14.4, \"max\": 34.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"body_d\": {\"type\": 'float', \"default\": 38.0, \"min\": 21.6, \"max\": 60.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer \u00d8 (mm)'},\n}\n\n\ndef build(p):\n\n    _W = _D = p[\"body_d\"]\n    _H = p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Cylinder(radius=_W / 2, height=_H)\n    _locs = [(0.0, 0.0)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9eba_0774", "family": "plate", "tier": 0, "seed": 1177329338, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "395cb603f3413b16", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 6970.0, "surface_area": 3140.0, "principal_moments": [661000.0, 733000.0, 1350000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 35 \u00d7 33.2 \u00d7 6 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 35 \u00d7 33.2 \u00d7 6 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 35, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 33.2, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 6.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329338 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 35, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 33.2, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9ebb_0775", "family": "plate", "tier": 0, "seed": 1177329339, "symmetry": "none", "op_count": 1, "ir_hash": "b5dd3958bee662da", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 4880.0, "surface_area": 1800.0, "principal_moments": [168000.0, 308000.0, 359000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 24.78 \u00d7 16.4 \u00d7 12 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 24.78 \u00d7 16.4 \u00d7 12 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 24.78, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 16.4, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329339 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 24.78, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 16.4, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462c9ebc_0776", "family": "revolved", "tier": 1, "seed": 1177329340, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "f30825dc39352a60", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 2820.0, "surface_area": 2290.0, "principal_moments": [54800.0, 317000.0, 317000.0], "n_faces": 5, "n_edges": 8, "n_vertices": 5}, "dimensions": {"lines": ["Revolved body, \u00d811.39 mm \u00d7 41.7 mm tall.", "Chamfer 0.7 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d811.39 mm \u00d7 41.7 mm tall. Chamfer 0.7 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 11.39, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 41.7, "min": 12.5, "max": 125.1, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "end_chamfer": {"type": "float", "default": 0.7, "min": 0.1, "max": 2.1, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329340 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 11.39, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 41.7, \"min\": 12.5, \"max\": 125.1, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.7, \"min\": 0.1, \"max\": 2.1, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462c9ebd_0777", "family": "swept", "tier": 1, "seed": 1177329341, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "e14e1af19a065151", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 3310.0, "surface_area": 1940.0, "principal_moments": [128000.0, 628000.0, 730000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["11.2 \u00d7 6.8 mm rectangular section swept along a curved path, ~45 mm span."], "text": "11.2 \u00d7 6.8 mm rectangular section swept along a curved path, ~45 mm span."}, "params": {"path_w": {"type": "float", "default": 31.36, "min": 15.7, "max": 56.4, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 45, "min": 22.5, "max": 81.0, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_a": {"type": "float", "default": 11.2, "min": 5.6, "max": 20.2, "step": 1.0, "group": "Section", "label": "Section width (mm)"}, "sweep_b": {"type": "float", "default": 6.8, "min": 3.4, "max": 12.2, "step": 1.0, "group": "Section", "label": "Section depth (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329341 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 31.36, \"min\": 15.7, \"max\": 56.4, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 45, \"min\": 22.5, \"max\": 81.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_a\": {\"type\": 'float', \"default\": 11.2, \"min\": 5.6, \"max\": 20.2, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section width (mm)'},\n    \"sweep_b\": {\"type\": 'float', \"default\": 6.8, \"min\": 3.4, \"max\": 12.2, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section depth (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.7101), (p[\"path_w\"] * 0.2778, p[\"path_h\"] * 0.865), (p[\"path_w\"] * 0.3418, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').rect(p[\"sweep_a\"], p[\"sweep_b\"]).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9ebe_0778", "family": "plate", "tier": 1, "seed": 1177329342, "symmetry": "none", "op_count": 2, "ir_hash": "e942a188fdd3097c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 9210.0, "surface_area": 4130.0, "principal_moments": [462000.0, 3220000.0, 3630000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 64.51 \u00d7 23.8 \u00d7 6 mm (W\u00d7D\u00d7H).", "Five \u00d82.1 mm holes in two staggered rows, 24.2 \u00d7 26.6 mm pitch."], "text": "Rectangular body, 64.51 \u00d7 23.8 \u00d7 6 mm (W\u00d7D\u00d7H). Five \u00d82.1 mm holes in two staggered rows, 24.2 \u00d7 26.6 mm pitch."}, "params": {"plate_w": {"type": "float", "default": 64.51, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 23.8, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 6.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 2.1, "min": 2.0, "max": 2.4, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 3, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329342 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 64.51, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 23.8, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 2.1, \"min\": 2.0, \"max\": 2.4, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 3, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 24.2\n    _ssy = 26.6\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462c9ebf_0779", "family": "ribbed", "tier": 1, "seed": 1177329343, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "63ccc70479299a14", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 25000.0, "surface_area": 15200.0, "principal_moments": [8150000.0, 17300000.0, 24699999.999999996], "n_faces": 30, "n_edges": 72, "n_vertices": 44}, "dimensions": {"lines": ["Rectangular body, 85 \u00d7 54.8 \u00d7 3 mm (W\u00d7D\u00d7H).", "Three ribs, 5.1 mm thick, 10.6 mm tall."], "text": "Rectangular body, 85 \u00d7 54.8 \u00d7 3 mm (W\u00d7D\u00d7H). Three ribs, 5.1 mm thick, 10.6 mm tall."}, "params": {"base_w": {"type": "float", "default": 85, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 54.8, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 3.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 3, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 10.6, "min": 4.2, "max": 21.2, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 5.1, "min": 1.0, "max": 12.8, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329343 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 85, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 54.8, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 3, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 10.6, \"min\": 4.2, \"max\": 21.2, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 5.1, \"min\": 1.0, \"max\": 12.8, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462c9ec0_0780", "family": "bracket", "tier": 1, "seed": 1177329344, "symmetry": "none", "op_count": 1, "ir_hash": "616de5a87b956cb0", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 7870.0, "surface_area": 4330.0, "principal_moments": [839000.0, 1340000.0, 1430000.0], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["C-channel bracket: base leg 30 mm, vertical leg 25 mm, 23.42 mm wide, 5 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."], "text": "C-channel bracket: base leg 30 mm, vertical leg 25 mm, 23.42 mm wide, 5 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 30, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 25.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 23.42, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 5.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 9.4, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329344 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 30, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 25.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 23.42, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 9.4, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462c9ec1_0781", "family": "bracket", "tier": 3, "seed": 1177329345, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "245be9762fcf9806", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 7810.0, "surface_area": 3990.0, "principal_moments": [634000.0, 1860000.0, 2110000.0], "n_faces": 15, "n_edges": 41, "n_vertices": 26}, "dimensions": {"lines": ["L-bracket: base leg 40 mm, vertical leg 40.8 mm, 18.18 mm wide, 5 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 6.9 mm corner gusset."], "text": "L-bracket: base leg 40 mm, vertical leg 40.8 mm, 18.18 mm wide, 5 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 6.9 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 40, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 40.8, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 18.18, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 5.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 7.3, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 6.9, "min": 2.5, "max": 9.1, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329345 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 40, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 40.8, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 18.18, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 7.3, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 6.9, \"min\": 2.5, \"max\": 9.1, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9ec2_0782", "family": "plate", "tier": 3, "seed": 1177329346, "symmetry": "radial", "op_count": 4, "ir_hash": "b0c13ecc45d7339d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 69400.0, "surface_area": 17800.0, "principal_moments": [20500000.0, 81100000.0, 100000000.0], "n_faces": 17, "n_edges": 42, "n_vertices": 28}, "dimensions": {"lines": ["Rectangular body, 115 \u00d7 56.8 \u00d7 12 mm (W\u00d7D\u00d7H).", "Four \u00d84.3 mm holes on a \u00d869 mm bolt circle.", "Chamfer 6.6 mm on vertical edges.", "Pocket 62.5 \u00d7 31 mm, 3.9 mm deep, in top face."], "text": "Rectangular body, 115 \u00d7 56.8 \u00d7 12 mm (W\u00d7D\u00d7H). Four \u00d84.3 mm holes on a \u00d869 mm bolt circle. Chamfer 6.6 mm on vertical edges. Pocket 62.5 \u00d7 31 mm, 3.9 mm deep, in top face."}, "params": {"plate_w": {"type": "float", "default": 115, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 56.8, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "bolt_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 34.5, "min": 23.0, "max": 51.8, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 4, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}, "chamfer_d": {"type": "float", "default": 6.6, "min": 2.3, "max": 6.8, "step": 0.5, "group": "Body", "label": "Chamfer distance (mm)"}, "chamfered": {"type": "bool", "default": true, "group": "Body", "label": "Chamfer edges"}, "pocket_w": {"type": "float", "default": 62.5, "min": 31.2, "max": 92.0, "step": 1.0, "group": "Pocket", "label": "Pocket width (mm)"}, "pocket_d": {"type": "float", "default": 31.0, "min": 15.5, "max": 45.4, "step": 1.0, "group": "Pocket", "label": "Pocket depth (mm)"}, "pocket_h": {"type": "float", "default": 3.9, "min": 1.6, "max": 10.2, "step": 0.5, "group": "Pocket", "label": "Pocket height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329346 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 115, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 56.8, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 34.5, \"min\": 23.0, \"max\": 51.8, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 4, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n    \"chamfer_d\": {\"type\": 'float', \"default\": 6.6, \"min\": 2.3, \"max\": 6.8, \"step\": 0.5, \"group\": 'Body', \"label\": 'Chamfer distance (mm)'},\n    \"chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Chamfer edges'},\n    \"pocket_w\": {\"type\": 'float', \"default\": 62.5, \"min\": 31.2, \"max\": 92.0, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket width (mm)'},\n    \"pocket_d\": {\"type\": 'float', \"default\": 31.0, \"min\": 15.5, \"max\": 45.4, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket depth (mm)'},\n    \"pocket_h\": {\"type\": 'float', \"default\": 3.9, \"min\": 1.6, \"max\": 10.2, \"step\": 0.5, \"group\": 'Pocket', \"label\": 'Pocket height (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    if p[\"chamfered\"]:\n        result = result.edges('|Z').chamfer(p[\"chamfer_d\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"pocket_w\"], p[\"pocket_d\"])\n        .cutBlind(-p[\"pocket_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9ec3_0783", "family": "plate", "tier": 0, "seed": 1177329347, "symmetry": "none", "op_count": 1, "ir_hash": "e4664dfe84114266", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 23800.0, "surface_area": 6410.0, "principal_moments": [1680000.0, 11499999.999999998, 12599999.999999998], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 75 \u00d7 26.5 \u00d7 12 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 75 \u00d7 26.5 \u00d7 12 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 75, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 26.5, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329347 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 75, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 26.5, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462c9ec4_0784", "family": "block", "tier": 2, "seed": 1177329348, "symmetry": "none", "op_count": 3, "ir_hash": "0d28f3b78274daa8", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 395000.0, "surface_area": 41900.0, "principal_moments": [372000000.0, 383000000.0, 648000000.0], "n_faces": 14, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 99.25 \u00d7 40.8 \u00d7 100 mm (W\u00d7D\u00d7H).", "Four \u00d85.3 mm holes at the corners, 69.475 \u00d7 28.56 mm spacing.", "Fillet radius 3.916 mm on vertical edges."], "text": "Rectangular body, 99.25 \u00d7 40.8 \u00d7 100 mm (W\u00d7D\u00d7H). Four \u00d85.3 mm holes at the corners, 69.475 \u00d7 28.56 mm spacing. Fillet radius 3.916 mm on vertical edges."}, "params": {"block_w": {"type": "float", "default": 99.25, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 40.8, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 100.0, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 9.2, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329348 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 99.25, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 40.8, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 100.0, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 9.2, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"block_w\"], p[\"block_d\"]) * 0.09598816265273774)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462c9ec5_0785", "family": "swept", "tier": 2, "seed": 1177329349, "symmetry": "none", "op_count": 1, "ir_hash": "f7968ca68109699f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 8500.0, "surface_area": 4480.0, "principal_moments": [639000.0, 7580000.0, 8070000.0], "n_faces": 3, "n_edges": 3, "n_vertices": 2}, "dimensions": {"lines": ["\u00d812 mm circular section swept along a curved path, ~90 mm span."], "text": "\u00d812 mm circular section swept along a curved path, ~90 mm span."}, "params": {"path_w": {"type": "float", "default": 60, "min": 30.0, "max": 108.0, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 90, "min": 45.0, "max": 162.0, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_d": {"type": "float", "default": 12.0, "min": 6.0, "max": 21.6, "step": 1.0, "group": "Section", "label": "Section diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329349 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 60, \"min\": 30.0, \"max\": 108.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 90, \"min\": 45.0, \"max\": 162.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_d\": {\"type\": 'float', \"default\": 12.0, \"min\": 6.0, \"max\": 21.6, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.4036, p[\"path_h\"] * 0.4641), (p[\"path_w\"] * 0.6118, p[\"path_h\"] * 0.6403), (p[\"path_w\"] * 0.4009, p[\"path_h\"] * 0.7479), (p[\"path_w\"] * 0.7425, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').circle(p[\"sweep_d\"] / 2).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462c9ec6_0786", "family": "enclosure", "tier": 1, "seed": 1177329350, "symmetry": "none", "op_count": 2, "ir_hash": "31173ce383ab8c76", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 39200.0, "surface_area": 17600.0, "principal_moments": [11399999.999999998, 23099999.999999996, 24199999.999999996], "n_faces": 11, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 65 \u00d7 31.5 \u00d7 40.8 mm (W\u00d7D\u00d7H).", "Hollowed to 4.7 mm wall thickness, open at top face."], "text": "Rectangular body, 65 \u00d7 31.5 \u00d7 40.8 mm (W\u00d7D\u00d7H). Hollowed to 4.7 mm wall thickness, open at top face."}, "params": {"enc_w": {"type": "float", "default": 65, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 31.5, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 40.8, "min": 16.3, "max": 81.6, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 4.7, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329350 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 65, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 31.5, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 40.8, \"min\": 16.3, \"max\": 81.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 4.7, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9ec7_0787", "family": "plate", "tier": 1, "seed": 1177329351, "symmetry": "none", "op_count": 2, "ir_hash": "8070849950b7e64b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 2960.0, "surface_area": 1720.0, "principal_moments": [87400.0, 118000.0, 156000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 20 \u00d7 16.4 \u00d7 10 mm (W\u00d7D\u00d7H).", "Four \u00d83.2 mm holes at the corners, 14 \u00d7 11.48 mm spacing."], "text": "Rectangular body, 20 \u00d7 16.4 \u00d7 10 mm (W\u00d7D\u00d7H). Four \u00d83.2 mm holes at the corners, 14 \u00d7 11.48 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 20.0, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 16.4, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 3.7, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329351 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 20.0, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 16.4, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 3.7, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462c9ec8_0788", "family": "revolved", "tier": 0, "seed": 1177329352, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "45b01e74e2d98c1d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 31000.0, "surface_area": 9100.0, "principal_moments": [5690000.0, 7140000.0, 7140000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d835 mm \u00d7 48.3 mm tall."], "text": "Revolved body, \u00d835 mm \u00d7 48.3 mm tall."}, "params": {"outer_d": {"type": "float", "default": 35, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 48.3, "min": 14.5, "max": 144.9, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329352 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 35, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 48.3, \"min\": 14.5, \"max\": 144.9, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462c9ec9_0789", "family": "flanged", "tier": 1, "seed": 1177329353, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "460f80d89be9f371", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 247000.0, "surface_area": 44200.0, "principal_moments": [184000000.0, 259000000.0, 259000000.0], "n_faces": 21, "n_edges": 78, "n_vertices": 52}, "dimensions": {"lines": ["Revolved body, \u00d864.09 mm \u00d7 83.3 mm tall with \u00d823.3 mm bore, \u00d8103.6 mm \u00d7 7.3 mm flange.", "Eight \u00d88.4 mm holes on a \u00d862.2 mm bolt circle."], "text": "Revolved body, \u00d864.09 mm \u00d7 83.3 mm tall with \u00d823.3 mm bore, \u00d8103.6 mm \u00d7 7.3 mm flange. Eight \u00d88.4 mm holes on a \u00d862.2 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 64.09, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 83.3, "min": 25.0, "max": 208.2, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 23.3, "min": 2.0, "max": 44.9, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 103.6, "min": 83.3, "max": 192.3, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 7.3, "min": 2.2, "max": 33.3, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 8.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 31.1, "min": 20.7, "max": 46.6, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 8, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329353 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 64.09, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 83.3, \"min\": 25.0, \"max\": 208.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 23.3, \"min\": 2.0, \"max\": 44.9, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 103.6, \"min\": 83.3, \"max\": 192.3, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 7.3, \"min\": 2.2, \"max\": 33.3, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 31.1, \"min\": 20.7, \"max\": 46.6, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462c9eca_0790", "family": "compound", "tier": 2, "seed": 1177329354, "symmetry": "mirror_xy", "op_count": 5, "ir_hash": "d45505bac90c6f82", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 40600.0, "surface_area": 8900.0, "principal_moments": [6490000.0, 9300000.0, 9830000.0], "n_faces": 21, "n_edges": 49, "n_vertices": 31}, "dimensions": {"lines": ["Rectangular body, 42.78 \u00d7 29.6 \u00d7 32.3 mm (W\u00d7D\u00d7H).", "\u00d85.7 mm circular section attachment, 7.8 mm long, from right face with a \u00d82.3 mm bore.", "\u00d85.7 mm circular section attachment, 7.8 mm long, from front face with a \u00d82.3 mm bore.", "\u00d85.7 mm circular section attachment, 7.8 mm long, from left face with a \u00d82.3 mm bore.", "Four \u00d83.2 mm holes at the corners, 29.946 \u00d7 20.72 mm spacing."], "text": "Rectangular body, 42.78 \u00d7 29.6 \u00d7 32.3 mm (W\u00d7D\u00d7H). \u00d85.7 mm circular section attachment, 7.8 mm long, from right face with a \u00d82.3 mm bore. \u00d85.7 mm circular section attachment, 7.8 mm long, from front face with a \u00d82.3 mm bore. \u00d85.7 mm circular section attachment, 7.8 mm long, from left face with a \u00d82.3 mm bore. Four \u00d83.2 mm holes at the corners, 29.946 \u00d7 20.72 mm spacing."}, "params": {"block_w": {"type": "float", "default": 42.78, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body width (mm)"}, "block_d": {"type": "float", "default": 29.6, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body depth (mm)"}, "block_h": {"type": "float", "default": 32.3, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body height (mm)"}, "port_d": {"type": "float", "default": 5.7, "min": 2.3, "max": 13.3, "step": 1.0, "group": "Ports", "label": "Ports diameter (mm)"}, "port_len": {"type": "float", "default": 7.8, "min": 1.4, "max": 17.1, "step": 1.0, "group": "Ports", "label": "Port boss length (mm)"}, "port_bore": {"type": "float", "default": 2.3, "min": 2.0, "max": 4.1, "step": 0.5, "group": "Ports", "label": "Port bore diameter (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 6.7, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329354 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 42.78, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 29.6, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 32.3, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body height (mm)'},\n    \"port_d\": {\"type\": 'float', \"default\": 5.7, \"min\": 2.3, \"max\": 13.3, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Ports diameter (mm)'},\n    \"port_len\": {\"type\": 'float', \"default\": 7.8, \"min\": 1.4, \"max\": 17.1, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Port boss length (mm)'},\n    \"port_bore\": {\"type\": 'float', \"default\": 2.3, \"min\": 2.0, \"max\": 4.1, \"step\": 0.5, \"group\": 'Ports', \"label\": 'Port bore diameter (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 6.7, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462c9ecb_0791", "family": "compound", "tier": 1, "seed": 1177329355, "symmetry": "mirror_xy", "op_count": 3, "ir_hash": "05dd34c2e636f0ff", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 197000.0, "surface_area": 30500.0, "principal_moments": [159000000.0, 257000000.0, 269000000.0], "n_faces": 12, "n_edges": 27, "n_vertices": 18}, "dimensions": {"lines": ["Rectangular body, 115 \u00d7 72.5 \u00d7 20 mm (W\u00d7D\u00d7H).", "\u00d822.4 mm circular section attachment, 78.8 mm long, from top face.", "Four \u00d83.2 mm holes at the corners, 80.5 \u00d7 50.75 mm spacing."], "text": "Rectangular body, 115 \u00d7 72.5 \u00d7 20 mm (W\u00d7D\u00d7H). \u00d822.4 mm circular section attachment, 78.8 mm long, from top face. Four \u00d83.2 mm holes at the corners, 80.5 \u00d7 50.75 mm spacing."}, "params": {"base_w": {"type": "float", "default": 115, "min": 30.0, "max": 160.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 72.5, "min": 25.0, "max": 160.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_h": {"type": "float", "default": 20.0, "min": 3.0, "max": 30.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "col_d": {"type": "float", "default": 22.4, "min": 9.0, "max": 36.2, "step": 1.0, "group": "Column", "label": "Column diameter (mm)"}, "col_h": {"type": "float", "default": 78.8, "min": 23.6, "max": 236.4, "step": 1.0, "group": "Column", "label": "Column height (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329355 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 115, \"min\": 30.0, \"max\": 160.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 72.5, \"min\": 25.0, \"max\": 160.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_h\": {\"type\": 'float', \"default\": 20.0, \"min\": 3.0, \"max\": 30.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"col_d\": {\"type\": 'float', \"default\": 22.4, \"min\": 9.0, \"max\": 36.2, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column diameter (mm)'},\n    \"col_h\": {\"type\": 'float', \"default\": 78.8, \"min\": 23.6, \"max\": 236.4, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_h\"])\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"col_d\"] / 2).extrude(p[\"col_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"base_w\"] * 0.7, p[\"base_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462c9ecc_0792", "family": "flanged", "tier": 3, "seed": 1177329356, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "6f51bb0d08923da2", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 29000.0, "surface_area": 10400.0, "principal_moments": [6100000.0, 6870000.0, 6870000.0], "n_faces": 13, "n_edges": 42, "n_vertices": 28}, "dimensions": {"lines": ["Revolved body, \u00d832.13 mm \u00d7 36.5 mm tall with \u00d810.9 mm bore, \u00d858.6 mm \u00d7 2.8 mm flange.", "Four \u00d88.4 mm holes on a \u00d835.2 mm bolt circle."], "text": "Revolved body, \u00d832.13 mm \u00d7 36.5 mm tall with \u00d810.9 mm bore, \u00d858.6 mm \u00d7 2.8 mm flange. Four \u00d88.4 mm holes on a \u00d835.2 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 32.13, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 36.5, "min": 10.9, "max": 91.2, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 10.9, "min": 2.0, "max": 22.5, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 58.6, "min": 41.8, "max": 96.4, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 2.8, "min": 0.8, "max": 14.6, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 8.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 17.6, "min": 11.7, "max": 26.4, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 4, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329356 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 32.13, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 36.5, \"min\": 10.9, \"max\": 91.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 10.9, \"min\": 2.0, \"max\": 22.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 58.6, \"min\": 41.8, \"max\": 96.4, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 2.8, \"min\": 0.8, \"max\": 14.6, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 17.6, \"min\": 11.7, \"max\": 26.4, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 4, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462c9ecd_0793", "family": "revolved", "tier": 2, "seed": 1177329357, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "9156b877ba676799", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 144000.0, "surface_area": 29200.0, "principal_moments": [34900000.0, 278000000.0, 278000000.0], "n_faces": 4, "n_edges": 6, "n_vertices": 4}, "dimensions": {"lines": ["Revolved body, \u00d839.9 mm \u00d7 147.6 mm tall with \u00d818.8 mm bore."], "text": "Revolved body, \u00d839.9 mm \u00d7 147.6 mm tall with \u00d818.8 mm bore."}, "params": {"outer_d": {"type": "float", "default": 39.9, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 147.6, "min": 44.3, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 18.8, "min": 2.0, "max": 27.9, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329357 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 39.9, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 147.6, \"min\": 44.3, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 18.8, \"min\": 2.0, \"max\": 27.9, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9ecf_0795", "family": "plate", "tier": 1, "seed": 1177329359, "symmetry": "none", "op_count": 2, "ir_hash": "deaac9bf47753230", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 27100.0, "surface_area": 12900.0, "principal_moments": [11000000.0, 14199999.999999998, 25099999.999999996], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 80 \u00d7 70.4 \u00d7 5 mm (W\u00d7D\u00d7H).", "Four \u00d88.4 mm holes at the corners, 56 \u00d7 49.28 mm spacing."], "text": "Rectangular body, 80 \u00d7 70.4 \u00d7 5 mm (W\u00d7D\u00d7H). Four \u00d88.4 mm holes at the corners, 56 \u00d7 49.28 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 80, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 70.4, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 5.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 8.4, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329359 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 80, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 70.4, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 5.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462c9ed0_0796", "family": "sketched", "tier": 2, "seed": 1177329360, "symmetry": "none", "op_count": 1, "ir_hash": "9c87c3301aaf713e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 22800.0, "surface_area": 7580.0, "principal_moments": [3130000.0, 3800000.0, 3800000.0], "n_faces": 9, "n_edges": 16, "n_vertices": 9}, "dimensions": {"lines": ["Revolved organic body from a freeform sketched section (8 segments: 6 straight, 1 arc, 1 curve), ~18.595 \u00d7 35 mm half-silhouette."], "text": "Revolved organic body from a freeform sketched section (8 segments: 6 straight, 1 arc, 1 curve), ~18.595 \u00d7 35 mm half-silhouette."}, "params": {"sk_r": {"type": "float", "default": 23.14, "min": 11.6, "max": 41.7, "step": 1.0, "group": "Sketch", "label": "Max radius (mm)"}, "sk_h": {"type": "float", "default": 35, "min": 17.5, "max": 63.0, "step": 1.0, "group": "Sketch", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329360 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_r\": {\"type\": 'float', \"default\": 23.14, \"min\": 11.6, \"max\": 41.7, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Max radius (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 35, \"min\": 17.5, \"max\": 63.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XZ').moveTo(p[\"sk_r\"] * 0.4517, p[\"sk_h\"] * 0.0).lineTo(p[\"sk_r\"] * 0.5347, p[\"sk_h\"] * 0.2584).lineTo(p[\"sk_r\"] * 0.5006, p[\"sk_h\"] * 0.4641).spline([(p[\"sk_r\"] * 0.5006, p[\"sk_h\"] * 0.4641), (p[\"sk_r\"] * 0.7681, p[\"sk_h\"] * 0.4953), (p[\"sk_r\"] * 0.8918, p[\"sk_h\"] * 0.5265)]).threePointArc((p[\"sk_r\"] * 0.6024, p[\"sk_h\"] * 0.6133), (p[\"sk_r\"] * 0.1433, p[\"sk_h\"] * 0.7001)).lineTo(p[\"sk_r\"] * 0.7642, p[\"sk_h\"] * 0.7527).lineTo(p[\"sk_r\"] * 0.8596, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.0882, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.0882, p[\"sk_h\"] * 0.0).close().revolve())\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462c9ed2_0798", "family": "ribbed", "tier": 2, "seed": 1177329362, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "5f6975741b9ae96b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 49900.0, "surface_area": 17000.0, "principal_moments": [14899999.999999998, 38500000.0, 52299999.99999999], "n_faces": 38, "n_edges": 92, "n_vertices": 56}, "dimensions": {"lines": ["Rectangular body, 95 \u00d7 54.6 \u00d7 8 mm (W\u00d7D\u00d7H).", "Four ribs, 5.4 mm thick, 5.1 mm tall."], "text": "Rectangular body, 95 \u00d7 54.6 \u00d7 8 mm (W\u00d7D\u00d7H). Four ribs, 5.4 mm thick, 5.1 mm tall."}, "params": {"base_w": {"type": "float", "default": 95, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 54.6, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 8.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 4, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 5.1, "min": 2.0, "max": 10.2, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 5.4, "min": 1.0, "max": 13.5, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329362 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 95, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 54.6, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 4, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 5.1, \"min\": 2.0, \"max\": 10.2, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 5.4, \"min\": 1.0, \"max\": 13.5, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462c9ed3_0799", "family": "swept", "tier": 1, "seed": 1177329363, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "d5060cad8a1e8bcc", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 4080.0, "surface_area": 2420.0, "principal_moments": [30300.0, 3850000.0, 3860000.0], "n_faces": 3, "n_edges": 3, "n_vertices": 2}, "dimensions": {"lines": ["\u00d87 mm circular section swept along a curved path, ~100 mm span."], "text": "\u00d87 mm circular section swept along a curved path, ~100 mm span."}, "params": {"path_w": {"type": "float", "default": 46.67, "min": 23.3, "max": 84.0, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 100, "min": 50.0, "max": 180.0, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_d": {"type": "float", "default": 7.0, "min": 3.5, "max": 12.6, "step": 1.0, "group": "Section", "label": "Section diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329363 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 46.67, \"min\": 23.3, \"max\": 84.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 100, \"min\": 50.0, \"max\": 180.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_d\": {\"type\": 'float', \"default\": 7.0, \"min\": 3.5, \"max\": 12.6, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.1116, p[\"path_h\"] * 0.2066), (p[\"path_w\"] * 0.4027, p[\"path_h\"] * 0.4949), (p[\"path_w\"] * 0.7454, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').circle(p[\"sweep_d\"] / 2).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9ed4_0800", "family": "plate", "tier": 2, "seed": 1177329364, "symmetry": "radial", "op_count": 3, "ir_hash": "54c4c7a28e0c88a1", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 20400.0, "surface_area": 6410.0, "principal_moments": [2560000.0, 5900000.0, 8120000.0], "n_faces": 20, "n_edges": 54, "n_vertices": 36}, "dimensions": {"lines": ["Rectangular body, 57.57 \u00d7 38 \u00d7 10 mm (W\u00d7D\u00d7H).", "Four \u00d86.4 mm holes on a \u00d834.6 mm bolt circle.", "Fillet radius 4.241 mm on vertical edges."], "text": "Rectangular body, 57.57 \u00d7 38 \u00d7 10 mm (W\u00d7D\u00d7H). Four \u00d86.4 mm holes on a \u00d834.6 mm bolt circle. Fillet radius 4.241 mm on vertical edges."}, "params": {"plate_w": {"type": "float", "default": 57.57, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 38.0, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "bolt_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 17.3, "min": 11.5, "max": 25.9, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 4, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329364 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 57.57, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 38.0, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 17.3, \"min\": 11.5, \"max\": 25.9, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 4, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"plate_w\"], p[\"plate_d\"]) * 0.11161125437315728)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462c9ed5_0801", "family": "lofted", "tier": 2, "seed": 1177329365, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "23c486792ce0e2c6", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 41100.0, "surface_area": 8710.0, "principal_moments": [8920000.0, 8920000.0, 10500000.0], "n_faces": 8, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["Lofted body through 3 sections: 50 \u00d7 50 mm rectangular section \u2192 \u00d837.2 mm circular section \u2192 \u00d824.4 mm circular section.", "One \u00d88.9 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 3 sections: 50 \u00d7 50 mm rectangular section \u2192 \u00d837.2 mm circular section \u2192 \u00d824.4 mm circular section. One \u00d88.9 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 50, "min": 25.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 24.4, "min": 9.8, "max": 60.0, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 35.5, "min": 14.2, "max": 71.0, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_mid": {"type": "float", "default": 37.2, "min": 12.2, "max": 60.0, "step": 1.0, "group": "Body", "label": "Mid size (mm)"}, "loft_bore_d": {"type": "float", "default": 8.9, "min": 2.0, "max": 19.5, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329365 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 50, \"min\": 25.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 24.4, \"min\": 9.8, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 35.5, \"min\": 14.2, \"max\": 71.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_mid\": {\"type\": 'float', \"default\": 37.2, \"min\": 12.2, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Mid size (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 8.9, \"min\": 2.0, \"max\": 19.5, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .rect(p[\"loft_base\"], p[\"loft_base\"])\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .circle(p[\"loft_mid\"] / 2)\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .circle(p[\"loft_top\"] / 2)\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462c9ed6_0802", "family": "revolved", "tier": 0, "seed": 1177329366, "symmetry": "none", "op_count": 1, "ir_hash": "8050faea961e703d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 188.0, "surface_area": 286.0, "principal_moments": [1270.0, 1270.0, 1470.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d87.22 mm \u00d7 6.9 mm tall."], "text": "Revolved body, \u00d87.22 mm \u00d7 6.9 mm tall."}, "params": {"outer_d": {"type": "float", "default": 7.22, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 6.9, "min": 2.1, "max": 20.7, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329366 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 7.22, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 6.9, \"min\": 2.1, \"max\": 20.7, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462c9ed7_0803", "family": "sketched", "tier": 1, "seed": 1177329367, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "a29a3d499ccdcb59", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 19700.0, "surface_area": 6190.0, "principal_moments": [1910000.0, 6580000.0, 6580000.0], "n_faces": 7, "n_edges": 11, "n_vertices": 6}, "dimensions": {"lines": ["Revolved organic body from a freeform sketched section (7 segments: 4 straight, 1 arc, 2 curves), ~22.649 \u00d7 60 mm half-silhouette."], "text": "Revolved organic body from a freeform sketched section (7 segments: 4 straight, 1 arc, 2 curves), ~22.649 \u00d7 60 mm half-silhouette."}, "params": {"sk_r": {"type": "float", "default": 27.49, "min": 13.7, "max": 49.5, "step": 1.0, "group": "Sketch", "label": "Max radius (mm)"}, "sk_h": {"type": "float", "default": 60, "min": 30.0, "max": 108.0, "step": 1.0, "group": "Sketch", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329367 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_r\": {\"type\": 'float', \"default\": 27.49, \"min\": 13.7, \"max\": 49.5, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Max radius (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 60, \"min\": 30.0, \"max\": 108.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XZ').moveTo(p[\"sk_r\"] * 0.8239, p[\"sk_h\"] * 0.0).bezier([(p[\"sk_r\"] * 0.8239, p[\"sk_h\"] * 0.0), (p[\"sk_r\"] * 0.5843, p[\"sk_h\"] * 0.0986), (p[\"sk_r\"] * 0.2258, p[\"sk_h\"] * 0.1971)]).threePointArc((p[\"sk_r\"] * 0.3967, p[\"sk_h\"] * 0.2641), (p[\"sk_r\"] * 0.3553, p[\"sk_h\"] * 0.331)).bezier([(p[\"sk_r\"] * 0.3553, p[\"sk_h\"] * 0.331), (p[\"sk_r\"] * 0.3343, p[\"sk_h\"] * 0.4225), (p[\"sk_r\"] * 0.297, p[\"sk_h\"] * 0.5139)]).lineTo(p[\"sk_r\"] * 0.2801, p[\"sk_h\"] * 0.8653).lineTo(p[\"sk_r\"] * 0.1338, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.0, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.0, p[\"sk_h\"] * 0.0).close().revolve())\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462c9ed8_0804", "family": "bracket", "tier": 1, "seed": 1177329368, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "c009559739132beb", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 18900.0, "surface_area": 7950.0, "principal_moments": [2700000.0, 6940000.0, 8690000.0], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Z-bracket: base leg 35 mm, vertical leg 25 mm, top leg 37.3 mm, 37.36 mm wide, 6 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."], "text": "Z-bracket: base leg 35 mm, vertical leg 25 mm, top leg 37.3 mm, 37.36 mm wide, 6 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 35, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 25.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 37.36, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 6.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 37.3, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329368 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 35, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 25.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 37.36, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 37.3, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462c9ed9_0805", "family": "block", "tier": 1, "seed": 1177329369, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "5009ceae0ef0eb85", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 58600.0, "surface_area": 17300.0, "principal_moments": [10100000.0, 24499999.999999996, 28499999.999999996], "n_faces": 22, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 39.96 \u00d7 26.2 \u00d7 66.3 mm (W\u00d7D\u00d7H).", "Four 6.4 mm square holes at the corners, 27.972 \u00d7 18.34 mm spacing."], "text": "Rectangular body, 39.96 \u00d7 26.2 \u00d7 66.3 mm (W\u00d7D\u00d7H). Four 6.4 mm square holes at the corners, 27.972 \u00d7 18.34 mm spacing."}, "params": {"block_w": {"type": "float", "default": 39.96, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 26.2, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 66.3, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 7.7, "step": 0.5, "group": "Holes", "label": "Square hole size (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329369 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 39.96, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 26.2, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 66.3, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 7.7, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Square hole size (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().rect(p[\"hole_d\"], p[\"hole_d\"]).cutThruAll()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9eda_0806", "family": "plate", "tier": 2, "seed": 1177329370, "symmetry": "none", "op_count": 3, "ir_hash": "a9150922ad8801f0", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 8470.0, "surface_area": 3640.0, "principal_moments": [513000.0, 1350000.0, 1780000.0], "n_faces": 17, "n_edges": 45, "n_vertices": 30}, "dimensions": {"lines": ["Rectangular body, 42.93 \u00d7 25.5 \u00d7 8 mm (W\u00d7D\u00d7H).", "Seven \u00d82.5 mm holes in two staggered rows, 10.7 \u00d7 8.6 mm pitch.", "Fillet radius 1.216 mm on vertical edges."], "text": "Rectangular body, 42.93 \u00d7 25.5 \u00d7 8 mm (W\u00d7D\u00d7H). Seven \u00d82.5 mm holes in two staggered rows, 10.7 \u00d7 8.6 mm pitch. Fillet radius 1.216 mm on vertical edges."}, "params": {"plate_w": {"type": "float", "default": 42.93, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 25.5, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 2.5, "min": 2.0, "max": 2.6, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 4, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329370 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 42.93, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 25.5, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 2.5, \"min\": 2.0, \"max\": 2.6, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 4, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 10.7\n    _ssy = 8.6\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"plate_w\"], p[\"plate_d\"]) * 0.047698849429116036)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462c9edb_0807", "family": "revolved", "tier": 2, "seed": 1177329371, "symmetry": "radial", "op_count": 2, "ir_hash": "be500c0c1b54dc7c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 375000.0, "surface_area": 48600.0, "principal_moments": [339000000.0, 485000000.0, 485000000.0], "n_faces": 5, "n_edges": 8, "n_vertices": 5}, "dimensions": {"lines": ["Revolved body, \u00d877.59 mm \u00d7 119.1 mm tall.", "Chamfer 0.8 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d877.59 mm \u00d7 119.1 mm tall. Chamfer 0.8 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 77.59, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 119.1, "min": 35.7, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "end_chamfer": {"type": "float", "default": 0.8, "min": 0.1, "max": 2.4, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329371 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 77.59, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 119.1, \"min\": 35.7, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.8, \"min\": 0.1, \"max\": 2.4, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462c9edc_0808", "family": "block", "tier": 2, "seed": 1177329372, "symmetry": "radial", "op_count": 3, "ir_hash": "2e23f3b9f9c567ab", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 108000.0, "surface_area": 17200.0, "principal_moments": [29699999.999999996, 60499999.99999999, 65499999.99999999], "n_faces": 28, "n_edges": 78, "n_vertices": 52}, "dimensions": {"lines": ["Rectangular body, 72.15 \u00d7 37.8 \u00d7 43.8 mm (W\u00d7D\u00d7H).", "Six \u00d88.4 mm holes on a \u00d843.2 mm bolt circle.", "Fillet radius 3.812 mm on vertical edges."], "text": "Rectangular body, 72.15 \u00d7 37.8 \u00d7 43.8 mm (W\u00d7D\u00d7H). Six \u00d88.4 mm holes on a \u00d843.2 mm bolt circle. Fillet radius 3.812 mm on vertical edges."}, "params": {"block_w": {"type": "float", "default": 72.15, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 37.8, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 43.8, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "bolt_d": {"type": "float", "default": 8.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 21.6, "min": 14.4, "max": 32.5, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 6, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329372 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 72.15, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 37.8, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 43.8, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 21.6, \"min\": 14.4, \"max\": 32.5, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"block_w\"], p[\"block_d\"]) * 0.10085783534553294)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462c9ede_0810", "family": "ribbed", "tier": 1, "seed": 1177329374, "symmetry": "none", "op_count": 2, "ir_hash": "c77cd838fa5ba87d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 32100.0, "surface_area": 11800.0, "principal_moments": [6250000.0, 8530000.0, 11599999.999999998], "n_faces": 26, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 50 \u00d7 43.1 \u00d7 8 mm (W\u00d7D\u00d7H).", "Four ribs, 5.7 mm thick, 16.3 mm tall."], "text": "Rectangular body, 50 \u00d7 43.1 \u00d7 8 mm (W\u00d7D\u00d7H). Four ribs, 5.7 mm thick, 16.3 mm tall."}, "params": {"base_w": {"type": "float", "default": 50, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 43.1, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 8.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 4, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 16.3, "min": 6.5, "max": 32.6, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 5.7, "min": 1.0, "max": 14.2, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329374 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 50, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 43.1, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 4, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 16.3, \"min\": 6.5, \"max\": 32.6, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 5.7, \"min\": 1.0, \"max\": 14.2, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462c9edf_0811", "family": "bracket", "tier": 3, "seed": 1177329375, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "43614a1b0cbb991e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 37700.0, "surface_area": 20900.0, "principal_moments": [13499999.999999998, 76400000.0, 79800000.0], "n_faces": 18, "n_edges": 48, "n_vertices": 32}, "dimensions": {"lines": ["Z-bracket: base leg 78.75 mm, vertical leg 79.5 mm, top leg 66.4 mm, 41.24 mm wide, 4 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 4 mm corner gusset."], "text": "Z-bracket: base leg 78.75 mm, vertical leg 79.5 mm, top leg 66.4 mm, 41.24 mm wide, 4 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 4 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 78.75, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 79.5, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 41.24, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 4.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 66.4, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}, "gusset_t": {"type": "float", "default": 4.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329375 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 78.75, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 79.5, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 41.24, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 66.4, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _tl, _vl) * 0.4 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(0, _vl - _bt).lineTo(-_g, _vl - _bt)\n                    .lineTo(0, _vl - _bt - _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462c9ee0_0812", "family": "profiled", "tier": 0, "seed": 1177329376, "symmetry": "none", "op_count": 1, "ir_hash": "a61a0766a756db50", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 241000.0, "surface_area": 28500.0, "principal_moments": [47499999.99999999, 862000000.0, 874000000.0], "n_faces": 9, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["freeform sketched section (7 segments: 3 straight, 3 arcs, 1 curve), ~41.881 \u00d7 40.225 mm, extruded 205.1 mm thick."], "text": "freeform sketched section (7 segments: 3 straight, 3 arcs, 1 curve), ~41.881 \u00d7 40.225 mm, extruded 205.1 mm thick."}, "params": {"sk_w": {"type": "float", "default": 50.49, "min": 25.2, "max": 90.9, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 44.34, "min": 22.2, "max": 79.8, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "length": {"type": "float", "default": 205.1, "min": 61.5, "max": 615.3, "step": 5.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329376 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 50.49, \"min\": 25.2, \"max\": 90.9, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 44.34, \"min\": 22.2, \"max\": 79.8, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 205.1, \"min\": 61.5, \"max\": 615.3, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.4707, p[\"sk_h\"] * -0.0291).threePointArc((p[\"sk_w\"] * 0.4101, p[\"sk_h\"] * 0.2281), (p[\"sk_w\"] * 0.2392, p[\"sk_h\"] * 0.4298)).lineTo(p[\"sk_w\"] * -0.1515, p[\"sk_h\"] * 0.349).threePointArc((p[\"sk_w\"] * -0.23, p[\"sk_h\"] * 0.3226), (p[\"sk_w\"] * -0.292, p[\"sk_h\"] * 0.2758)).lineTo(p[\"sk_w\"] * -0.3588, p[\"sk_h\"] * -0.152).threePointArc((p[\"sk_w\"] * -0.2672, p[\"sk_h\"] * -0.3611), (p[\"sk_w\"] * -0.1093, p[\"sk_h\"] * -0.4774)).bezier([(p[\"sk_w\"] * -0.1093, p[\"sk_h\"] * -0.4774), (p[\"sk_w\"] * 0.1061, p[\"sk_h\"] * -0.3828), (p[\"sk_w\"] * 0.2673, p[\"sk_h\"] * -0.2116)]).lineTo(p[\"sk_w\"] * 0.4707, p[\"sk_h\"] * -0.0291).close().extrude(p[\"length\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9ee1_0813", "family": "plate", "tier": 2, "seed": 1177329377, "symmetry": "none", "op_count": 3, "ir_hash": "a54fac36da32e306", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 9380.0, "surface_area": 3830.0, "principal_moments": [357000.0, 2120000.0, 2320000.0], "n_faces": 14, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 51.87 \u00d7 19.2 \u00d7 10 mm (W\u00d7D\u00d7H).", "Four \u00d84.3 mm holes at the corners, 36.309 \u00d7 13.44 mm spacing.", "Fillet radius 0.547 mm on vertical edges."], "text": "Rectangular body, 51.87 \u00d7 19.2 \u00d7 10 mm (W\u00d7D\u00d7H). Four \u00d84.3 mm holes at the corners, 36.309 \u00d7 13.44 mm spacing. Fillet radius 0.547 mm on vertical edges."}, "params": {"plate_w": {"type": "float", "default": 51.87, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 19.2, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 4.3, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329377 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 51.87, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 19.2, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 4.3, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"plate_w\"], p[\"plate_d\"]) * 0.0284870091110659)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462c9ee2_0814", "family": "bracket", "tier": 2, "seed": 1177329378, "symmetry": "none", "op_count": 1, "ir_hash": "14fabedadf3382db", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 14600.0, "surface_area": 10500.0, "principal_moments": [3510000.0, 8290000.0, 9470000.0], "n_faces": 14, "n_edges": 37, "n_vertices": 24}, "dimensions": {"lines": ["L-bracket: base leg 65 mm, vertical leg 41 mm, 45 mm wide, 3 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 3.7 mm corner gusset."], "text": "L-bracket: base leg 65 mm, vertical leg 41 mm, 45 mm wide, 3 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 3.7 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 65, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 41.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 45, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 3.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 3.7, "min": 1.5, "max": 9.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329378 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 65, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 41.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 45, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 3.7, \"min\": 1.5, \"max\": 9.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462c9ee3_0815", "family": "lofted", "tier": 0, "seed": 1177329379, "symmetry": "none", "op_count": 1, "ir_hash": "df407db053999b32", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 22200.0, "surface_area": 4600.0, "principal_moments": [2650000.0, 3100000.0, 3110000.0], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Lofted body through 2 sections: 6-sided polygon section, 40 mm across corners \u2192 19.8 \u00d7 19.8 mm rectangular section."], "text": "Lofted body through 2 sections: 6-sided polygon section, 40 mm across corners \u2192 19.8 \u00d7 19.8 mm rectangular section."}, "params": {"loft_base": {"type": "float", "default": 40, "min": 20.0, "max": 64.0, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 19.8, "min": 7.9, "max": 48.0, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 32.0, "min": 12.8, "max": 64.0, "step": 1.0, "group": "Body", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329379 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 40, \"min\": 20.0, \"max\": 64.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 19.8, \"min\": 7.9, \"max\": 48.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 32.0, \"min\": 12.8, \"max\": 64.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .polygon(6, p[\"loft_base\"] * 0.5 * 2)\n        .workplane(offset=p[\"loft_h\"])\n        .rect(p[\"loft_top\"], p[\"loft_top\"])\n        .loft(combine=True)\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462c9ee4_0816", "family": "revolved", "tier": 1, "seed": 1177329380, "symmetry": "radial", "op_count": 1, "ir_hash": "3c08b20bd7af35f4", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 21600.0, "surface_area": 14100.0, "principal_moments": [7120000.0, 7120000.0, 13799999.999999998], "n_faces": 5, "n_edges": 7, "n_vertices": 5}, "dimensions": {"lines": ["Revolved body, \u00d845 mm \u00d7 12.6 mm tall with \u00d886.7 mm \u00d7 1.9 mm flange."], "text": "Revolved body, \u00d845 mm \u00d7 12.6 mm tall with \u00d886.7 mm \u00d7 1.9 mm flange."}, "params": {"outer_d": {"type": "float", "default": 45, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 12.6, "min": 3.8, "max": 37.8, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "flange_d": {"type": "float", "default": 86.7, "min": 54.0, "max": 135.0, "step": 1.0, "group": "Body", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 1.9, "min": 0.6, "max": 6.3, "step": 0.5, "group": "Body", "label": "Flange height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329380 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 45, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 12.6, \"min\": 3.8, \"max\": 37.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 86.7, \"min\": 54.0, \"max\": 135.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 1.9, \"min\": 0.6, \"max\": 6.3, \"step\": 0.5, \"group\": 'Body', \"label\": 'Flange height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462c9ee5_0817", "family": "block", "tier": 1, "seed": 1177329381, "symmetry": "none", "op_count": 2, "ir_hash": "cf867d6e34c5b75f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 41900.0, "surface_area": 11400.0, "principal_moments": [5440000.0, 17600000.0, 20900000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 35.78 \u00d7 17.9 \u00d7 68.8 mm (W\u00d7D\u00d7H).", "Four \u00d83.2 mm holes at the corners, 25.046 \u00d7 12.53 mm spacing."], "text": "Rectangular body, 35.78 \u00d7 17.9 \u00d7 68.8 mm (W\u00d7D\u00d7H). Four \u00d83.2 mm holes at the corners, 25.046 \u00d7 12.53 mm spacing."}, "params": {"block_w": {"type": "float", "default": 35.78, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 17.9, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 68.8, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 4.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329381 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 35.78, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 17.9, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 68.8, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 4.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9ee6_0818", "family": "plate", "tier": 1, "seed": 1177329382, "symmetry": "radial", "op_count": 2, "ir_hash": "6c25d1a4ede1c2f9", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 22000.0, "surface_area": 8520.0, "principal_moments": [4960000.0, 6330000.0, 11000000.0], "n_faces": 18, "n_edges": 48, "n_vertices": 32}, "dimensions": {"lines": ["Rectangular body, 57.4 \u00d7 50.9 \u00d7 8 mm (W\u00d7D\u00d7H).", "Twelve \u00d84.3 mm holes on a \u00d834.4 mm bolt circle."], "text": "Rectangular body, 57.4 \u00d7 50.9 \u00d7 8 mm (W\u00d7D\u00d7H). Twelve \u00d84.3 mm holes on a \u00d834.4 mm bolt circle."}, "params": {"plate_w": {"type": "float", "default": 57.4, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 50.9, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "bolt_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 17.2, "min": 11.5, "max": 25.8, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 12, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329382 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 57.4, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 50.9, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 17.2, \"min\": 11.5, \"max\": 25.8, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 12, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462c9ee7_0819", "family": "block", "tier": 1, "seed": 1177329383, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "7f964ef100699706", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 17300.0, "surface_area": 5480.0, "principal_moments": [1830000.0, 2490000.0, 3790000.0], "n_faces": 16, "n_edges": 42, "n_vertices": 28}, "dimensions": {"lines": ["Rectangular body, 32.87 \u00d7 13.8 \u00d7 39.3 mm (W\u00d7D\u00d7H).", "Five \u00d81.9 mm holes in two staggered rows, 12.3 \u00d7 12 mm pitch."], "text": "Rectangular body, 32.87 \u00d7 13.8 \u00d7 39.3 mm (W\u00d7D\u00d7H). Five \u00d81.9 mm holes in two staggered rows, 12.3 \u00d7 12 mm pitch."}, "params": {"block_w": {"type": "float", "default": 32.87, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 13.8, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 39.3, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 1.9, "min": 2.0, "max": 1.4, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 3, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329383 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 32.87, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 13.8, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 39.3, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 1.9, \"min\": 2.0, \"max\": 1.4, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 3, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 12.3\n    _ssy = 12.0\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462c9ee8_0820", "family": "revolved", "tier": 1, "seed": 1177329384, "symmetry": "none", "op_count": 2, "ir_hash": "da78ce37dfd36657", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 20900.0, "surface_area": 6320.0, "principal_moments": [3210000.0, 3210000.0, 4420000.0], "n_faces": 5, "n_edges": 8, "n_vertices": 5}, "dimensions": {"lines": ["Revolved body, \u00d837.54 mm \u00d7 28.4 mm tall.", "Chamfer 0.6 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d837.54 mm \u00d7 28.4 mm tall. Chamfer 0.6 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 37.54, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 28.4, "min": 8.5, "max": 85.2, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "end_chamfer": {"type": "float", "default": 0.6, "min": 0.1, "max": 1.8, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329384 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 37.54, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 28.4, \"min\": 8.5, \"max\": 85.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.6, \"min\": 0.1, \"max\": 1.8, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462c9ee9_0821", "family": "sketched", "tier": 0, "seed": 1177329385, "symmetry": "none", "op_count": 1, "ir_hash": "621fce56abcc11b9", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 39200.0, "surface_area": 7290.0, "principal_moments": [5510000.0, 10600000.0, 13499999.999999998], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["freeform sketched section (4 segments: 1 straight, 2 arcs, 1 curve), ~46.48 \u00d7 61.833 mm, extruded 20 mm thick with a 5\u00b0 draft."], "text": "freeform sketched section (4 segments: 1 straight, 2 arcs, 1 curve), ~46.48 \u00d7 61.833 mm, extruded 20 mm thick with a 5\u00b0 draft."}, "params": {"sk_w": {"type": "float", "default": 70, "min": 35.0, "max": 126.0, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 74.57, "min": 37.3, "max": 134.2, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "sk_t": {"type": "float", "default": 20, "min": 8.0, "max": 44.0, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "sk_draft": {"type": "float", "default": 5.0, "min": 0.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Draft angle (deg)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329385 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 70, \"min\": 35.0, \"max\": 126.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 74.57, \"min\": 37.3, \"max\": 134.2, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"sk_t\": {\"type\": 'float', \"default\": 20, \"min\": 8.0, \"max\": 44.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"sk_draft\": {\"type\": 'float', \"default\": 5.0, \"min\": 0.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Draft angle (deg)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.37, p[\"sk_h\"] * -0.1516).spline([(p[\"sk_w\"] * 0.37, p[\"sk_h\"] * -0.1516), (p[\"sk_w\"] * 0.2924, p[\"sk_h\"] * 0.1196), (p[\"sk_w\"] * 0.1399, p[\"sk_h\"] * 0.357)]).threePointArc((p[\"sk_w\"] * -0.1033, p[\"sk_h\"] * 0.3403), (p[\"sk_w\"] * -0.294, p[\"sk_h\"] * 0.1638)).lineTo(p[\"sk_w\"] * -0.148, p[\"sk_h\"] * -0.4722).threePointArc((p[\"sk_w\"] * 0.1423, p[\"sk_h\"] * -0.4071), (p[\"sk_w\"] * 0.37, p[\"sk_h\"] * -0.1516)).close().extrude(p[\"sk_t\"], taper=p[\"sk_draft\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9eea_0822", "family": "plate", "tier": 2, "seed": 1177329386, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "97265e3dad84a6ef", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 49000.0, "surface_area": 15500.0, "principal_moments": [12199999.999999998, 38600000.0, 49899999.99999999], "n_faces": 18, "n_edges": 48, "n_vertices": 32}, "dimensions": {"lines": ["Rectangular body, 100 \u00d7 55.7 \u00d7 10 mm (W\u00d7D\u00d7H).", "Four \u00d88.4 mm counterbored holes (\u00d816.8 mm \u00d7 6.7 mm counterbore) at the corners, 70 \u00d7 38.99 mm spacing."], "text": "Rectangular body, 100 \u00d7 55.7 \u00d7 10 mm (W\u00d7D\u00d7H). Four \u00d88.4 mm counterbored holes (\u00d816.8 mm \u00d7 6.7 mm counterbore) at the corners, 70 \u00d7 38.99 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 100, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 55.7, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 8.4, "min": 2.0, "max": 12.5, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "cb_d": {"type": "float", "default": 16.8, "min": 12.6, "max": 25.2, "step": 0.5, "group": "Holes", "label": "Counterbore diameter (mm)"}, "cb_depth": {"type": "float", "default": 6.7, "min": 3.4, "max": 13.4, "step": 0.5, "group": "Holes", "label": "Counterbore depth (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329386 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 100, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 55.7, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 2.0, \"max\": 12.5, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"cb_d\": {\"type\": 'float', \"default\": 16.8, \"min\": 12.6, \"max\": 25.2, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Counterbore diameter (mm)'},\n    \"cb_depth\": {\"type\": 'float', \"default\": 6.7, \"min\": 3.4, \"max\": 13.4, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Counterbore depth (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().cboreHole(p[\"hole_d\"], p[\"cb_d\"], p[\"cb_depth\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9eeb_0823", "family": "plate", "tier": 1, "seed": 1177329387, "symmetry": "none", "op_count": 2, "ir_hash": "ffb1473ea68fba81", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 7250.0, "surface_area": 2990.0, "principal_moments": [407000.0, 665000.0, 951000.0], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["Rectangular body, 31.52 \u00d7 23.7 \u00d7 10 mm (W\u00d7D\u00d7H).", "Seven \u00d82 mm holes in two staggered rows, 7.9 \u00d7 7.3 mm pitch."], "text": "Rectangular body, 31.52 \u00d7 23.7 \u00d7 10 mm (W\u00d7D\u00d7H). Seven \u00d82 mm holes in two staggered rows, 7.9 \u00d7 7.3 mm pitch."}, "params": {"plate_w": {"type": "float", "default": 31.52, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 23.7, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 2.0, "min": 2.0, "max": 2.4, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 4, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329387 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 31.52, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 23.7, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 2.0, \"min\": 2.0, \"max\": 2.4, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 4, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 7.9\n    _ssy = 7.3\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462c9eec_0824", "family": "tapped", "tier": 0, "seed": 1177329388, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "bb4f214e33a1a073", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 23000.0, "surface_area": 6070.0, "principal_moments": [3510000.0, 3510000.0, 6030000.0], "n_faces": 94, "n_edges": 326, "n_vertices": 234}, "dimensions": {"lines": ["One M10x1.5 tapped hole in a plate."], "text": "One M10x1.5 tapped hole in a plate."}, "params": {"major_d": {"type": "float", "default": 10.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 1.5, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 16.0, "min": 12.0, "max": 28.8, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "plate_w": {"type": "float", "default": 38.8, "min": 23.3, "max": 62.1, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 38.8, "min": 23.3, "max": 62.1, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329388 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 10.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.5, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 16.0, \"min\": 12.0, \"max\": 28.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"plate_w\": {\"type\": 'float', \"default\": 38.8, \"min\": 23.3, \"max\": 62.1, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 38.8, \"min\": 23.3, \"max\": 62.1, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n}\n\n\ndef build(p):\n\n    _W, _D, _H = p[\"plate_w\"], p[\"plate_d\"], p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Box(_W, _D, _H)\n    _locs = [(0.0, 0.0)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462c9eed_0825", "family": "block", "tier": 3, "seed": 1177329389, "symmetry": "none", "op_count": 5, "ir_hash": "3f3dae7c097b0bca", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 154000.0, "surface_area": 30900.0, "principal_moments": [81600000.0, 98499999.99999999, 153000000.0], "n_faces": 18, "n_edges": 42, "n_vertices": 28}, "dimensions": {"lines": ["Rectangular body, 70 \u00d7 31 \u00d7 83.6 mm (W\u00d7D\u00d7H).", "Four \u00d84.3 mm holes at the corners, 49 \u00d7 21.7 mm spacing.", "Pocket 42.3 \u00d7 15.5 mm, 33.5 mm deep, in top face.", "Fillet radius 2.072 mm on vertical edges (optional, off by default).", "\u00d88.2 mm circular section attachment, 10.9 mm long, from left face with a \u00d84.6 mm bore."], "text": "Rectangular body, 70 \u00d7 31 \u00d7 83.6 mm (W\u00d7D\u00d7H). Four \u00d84.3 mm holes at the corners, 49 \u00d7 21.7 mm spacing. Pocket 42.3 \u00d7 15.5 mm, 33.5 mm deep, in top face. Fillet radius 2.072 mm on vertical edges (optional, off by default). \u00d88.2 mm circular section attachment, 10.9 mm long, from left face with a \u00d84.6 mm bore."}, "params": {"block_w": {"type": "float", "default": 70, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 31.0, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 83.6, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 7.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "pocket_w": {"type": "float", "default": 42.3, "min": 21.1, "max": 56.0, "step": 1.0, "group": "Pocket", "label": "Pocket width (mm)"}, "pocket_d": {"type": "float", "default": 15.5, "min": 7.8, "max": 24.8, "step": 1.0, "group": "Pocket", "label": "Pocket depth (mm)"}, "pocket_h": {"type": "float", "default": 33.5, "min": 13.4, "max": 71.1, "step": 0.5, "group": "Pocket", "label": "Pocket height (mm)"}, "filleted2": {"type": "bool", "default": false, "group": "Body", "label": "Fillet corners"}, "side_tube_d": {"type": "float", "default": 8.2, "min": 3.3, "max": 15.5, "step": 1.0, "group": "Side Tube", "label": "Side tube diameter (mm)"}, "side_tube_len": {"type": "float", "default": 10.9, "min": 3.3, "max": 24.6, "step": 1.0, "group": "Side Tube", "label": "Side tube length (mm)"}, "side_bore_d": {"type": "float", "default": 4.6, "min": 2.0, "max": 6.1, "step": 0.5, "group": "Side Tube", "label": "Side bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329389 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 70, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 31.0, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 83.6, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 7.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"pocket_w\": {\"type\": 'float', \"default\": 42.3, \"min\": 21.1, \"max\": 56.0, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket width (mm)'},\n    \"pocket_d\": {\"type\": 'float', \"default\": 15.5, \"min\": 7.8, \"max\": 24.8, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket depth (mm)'},\n    \"pocket_h\": {\"type\": 'float', \"default\": 33.5, \"min\": 13.4, \"max\": 71.1, \"step\": 0.5, \"group\": 'Pocket', \"label\": 'Pocket height (mm)'},\n    \"filleted2\": {\"type\": 'bool', \"default\": False, \"group\": 'Body', \"label\": 'Fillet corners'},\n    \"side_tube_d\": {\"type\": 'float', \"default\": 8.2, \"min\": 3.3, \"max\": 15.5, \"step\": 1.0, \"group\": 'Side Tube', \"label\": 'Side tube diameter (mm)'},\n    \"side_tube_len\": {\"type\": 'float', \"default\": 10.9, \"min\": 3.3, \"max\": 24.6, \"step\": 1.0, \"group\": 'Side Tube', \"label\": 'Side tube length (mm)'},\n    \"side_bore_d\": {\"type\": 'float', \"default\": 4.6, \"min\": 2.0, \"max\": 6.1, \"step\": 0.5, \"group\": 'Side Tube', \"label\": 'Side bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"pocket_w\"], p[\"pocket_d\"])\n        .cutBlind(-p[\"pocket_h\"])\n    )\n    if p[\"filleted2\"]:\n        result = result.edges('|Z').fillet(min(p[\"block_w\"], p[\"block_d\"]) * 0.0668265359578791)\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"side_tube_d\"] / 2).extrude(p[\"side_tube_len\"])\n    )\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"side_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462c9eee_0826", "family": "bracket", "tier": 2, "seed": 1177329390, "symmetry": "none", "op_count": 1, "ir_hash": "434e100e54ed3e93", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 10000.0, "surface_area": 7710.0, "principal_moments": [1270000.0, 7620000.0, 8000000.0], "n_faces": 18, "n_edges": 48, "n_vertices": 32}, "dimensions": {"lines": ["Z-bracket: base leg 45 mm, vertical leg 48.1 mm, top leg 46.4 mm, 23.73 mm wide, 3 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 2.6 mm corner gusset."], "text": "Z-bracket: base leg 45 mm, vertical leg 48.1 mm, top leg 46.4 mm, 23.73 mm wide, 3 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 2.6 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 45, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 48.1, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 23.73, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 3.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 46.4, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 9.5, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}, "gusset_t": {"type": "float", "default": 2.6, "min": 1.5, "max": 9.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329390 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 45, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 48.1, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 23.73, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 46.4, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 9.5, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 2.6, \"min\": 1.5, \"max\": 9.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _tl, _vl) * 0.4 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(0, _vl - _bt).lineTo(-_g, _vl - _bt)\n                    .lineTo(0, _vl - _bt - _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462c9eef_0827", "family": "revolved", "tier": 1, "seed": 1177329391, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "8811b11e77ed0674", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 8760.0, "surface_area": 6960.0, "principal_moments": [1500000.0, 1500000.0, 2900000.0], "n_faces": 6, "n_edges": 9, "n_vertices": 6}, "dimensions": {"lines": ["Revolved body, \u00d832.24 mm \u00d7 7.7 mm tall with \u00d812.9 mm bore, \u00d861.7 mm \u00d7 1.6 mm flange."], "text": "Revolved body, \u00d832.24 mm \u00d7 7.7 mm tall with \u00d812.9 mm bore, \u00d861.7 mm \u00d7 1.6 mm flange."}, "params": {"outer_d": {"type": "float", "default": 32.24, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 7.7, "min": 2.3, "max": 23.1, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 12.9, "min": 2.0, "max": 22.6, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 61.7, "min": 38.7, "max": 96.7, "step": 1.0, "group": "Body", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 1.6, "min": 0.5, "max": 3.9, "step": 0.5, "group": "Body", "label": "Flange height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329391 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 32.24, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 7.7, \"min\": 2.3, \"max\": 23.1, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 12.9, \"min\": 2.0, \"max\": 22.6, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 61.7, \"min\": 38.7, \"max\": 96.7, \"step\": 1.0, \"group\": 'Body', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 1.6, \"min\": 0.5, \"max\": 3.9, \"step\": 0.5, \"group\": 'Body', \"label\": 'Flange height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9ef0_0828", "family": "plate", "tier": 2, "seed": 1177329392, "symmetry": "radial", "op_count": 3, "ir_hash": "001a5ec24ad53755", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 5220.0, "surface_area": 2270.0, "principal_moments": [171000.0, 461000.0, 507000.0], "n_faces": 20, "n_edges": 54, "n_vertices": 36}, "dimensions": {"lines": ["Rectangular body, 30.35 \u00d7 15.5 \u00d7 12 mm (W\u00d7D\u00d7H).", "Four \u00d84.3 mm holes on a \u00d818.2 mm bolt circle.", "Chamfer 1 mm on vertical edges."], "text": "Rectangular body, 30.35 \u00d7 15.5 \u00d7 12 mm (W\u00d7D\u00d7H). Four \u00d84.3 mm holes on a \u00d818.2 mm bolt circle. Chamfer 1 mm on vertical edges."}, "params": {"plate_w": {"type": "float", "default": 30.35, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 15.5, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "bolt_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 9.1, "min": 6.1, "max": 13.7, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 4, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}, "chamfer_d": {"type": "float", "default": 1.0, "min": 0.6, "max": 1.9, "step": 0.5, "group": "Body", "label": "Chamfer distance (mm)"}, "chamfered": {"type": "bool", "default": true, "group": "Body", "label": "Chamfer edges"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329392 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 30.35, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 15.5, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 9.1, \"min\": 6.1, \"max\": 13.7, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 4, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n    \"chamfer_d\": {\"type\": 'float', \"default\": 1.0, \"min\": 0.6, \"max\": 1.9, \"step\": 0.5, \"group\": 'Body', \"label\": 'Chamfer distance (mm)'},\n    \"chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Chamfer edges'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    if p[\"chamfered\"]:\n        result = result.edges('|Z').chamfer(p[\"chamfer_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462c9ef1_0829", "family": "gear", "tier": 0, "seed": 1177329393, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "9474050b8de88de6", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 721000.0, "surface_area": 86400.0, "principal_moments": [1670000000.0, 1670000000.0, 3260000000.0], "n_faces": 230, "n_edges": 684, "n_vertices": 456}, "dimensions": {"lines": ["Spur gear, module 5 mm, 38 teeth (pitch \u00d8190 mm), face width 25.6 mm."], "text": "Spur gear, module 5 mm, 38 teeth (pitch \u00d8190 mm), face width 25.6 mm."}, "params": {"module": {"type": "float", "default": 5.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 38, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 25.6, "min": 10.2, "max": 64.0, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329393 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 5.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 38, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 25.6, \"min\": 10.2, \"max\": 64.0, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9ef2_0830", "family": "plate", "tier": 1, "seed": 1177329394, "symmetry": "none", "op_count": 2, "ir_hash": "3acab21858c00ab2", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 33500.0, "surface_area": 9380.0, "principal_moments": [3910000.0, 17800000.0, 20900000.0], "n_faces": 22, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 80.32 \u00d7 36.1 \u00d7 12 mm (W\u00d7D\u00d7H).", "Four 5.2 mm square holes in a 2\u00d72 grid, 64.3 \u00d7 28.9 mm pitch."], "text": "Rectangular body, 80.32 \u00d7 36.1 \u00d7 12 mm (W\u00d7D\u00d7H). Four 5.2 mm square holes in a 2\u00d72 grid, 64.3 \u00d7 28.9 mm pitch."}, "params": {"plate_w": {"type": "float", "default": 80.32, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 36.1, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.2, "min": 2.0, "max": 5.6, "step": 0.1, "group": "Holes", "label": "Square hole size (mm)"}, "hole_nx": {"type": "int", "default": 2, "min": 1, "max": 4, "step": 1, "group": "Holes", "label": "Holes across"}, "hole_ny": {"type": "int", "default": 2, "min": 1, "max": 4, "step": 1, "group": "Holes", "label": "Holes deep"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329394 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 80.32, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 36.1, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.2, \"min\": 2.0, \"max\": 5.6, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Square hole size (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 2, \"min\": 1, \"max\": 4, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes across'},\n    \"hole_ny\": {\"type\": 'int', \"default\": 2, \"min\": 1, \"max\": 4, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes deep'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(64.3, 28.9, p[\"hole_nx\"], p[\"hole_ny\"])\n        .rect(p[\"hole_d\"], p[\"hole_d\"]).cutThruAll()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462c9ef3_0831", "family": "compound", "tier": 3, "seed": 1177329395, "symmetry": "none", "op_count": 4, "ir_hash": "2b62467000f7a94c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 82200.0, "surface_area": 15100.0, "principal_moments": [17100000.0, 52099999.99999999, 52099999.99999999], "n_faces": 17, "n_edges": 37, "n_vertices": 24}, "dimensions": {"lines": ["\u00d843.09 mm circular section, extruded 48.2 mm thick.", "\u00d822 mm circular section attachment, 40.9 mm long, from top face.", "8-sided polygon section, 17.8 mm across corners attachment, 10.9 mm long, from top face with a \u00d88.4 mm bore.", "Chamfer 2.6 mm on bottom edges."], "text": "\u00d843.09 mm circular section, extruded 48.2 mm thick. \u00d822 mm circular section attachment, 40.9 mm long, from top face. 8-sided polygon section, 17.8 mm across corners attachment, 10.9 mm long, from top face with a \u00d88.4 mm bore. Chamfer 2.6 mm on bottom edges."}, "params": {"shaft_d": {"type": "float", "default": 43.09, "min": 21.5, "max": 77.6, "step": 1.0, "group": "Body", "label": "Shaft diameter (mm)"}, "shaft_len": {"type": "float", "default": 48.2, "min": 19.3, "max": 96.4, "step": 1.0, "group": "Body", "label": "Shaft length (mm)"}, "step_d": {"type": "float", "default": 22.0, "min": 11.0, "max": 38.8, "step": 1.0, "group": "Step", "label": "Step diameter (mm)"}, "step_len": {"type": "float", "default": 40.9, "min": 12.3, "max": 102.2, "step": 1.0, "group": "Step", "label": "Step length (mm)"}, "head_sides": {"type": "int", "default": 8, "min": 3, "max": 8, "step": 1, "group": "Head", "label": "Drive head sides"}, "head_r": {"type": "float", "default": 8.9, "min": 5.3, "max": 10.6, "step": 1.0, "group": "Head", "label": "Drive head circumradius (mm)"}, "head_len": {"type": "float", "default": 10.9, "min": 3.3, "max": 21.8, "step": 1.0, "group": "Head", "label": "Drive head length (mm)"}, "axial_bore": {"type": "float", "default": 8.4, "min": 2.0, "max": 11.8, "step": 0.5, "group": "Bore", "label": "Axial bore diameter (mm)"}, "chamfer_d": {"type": "float", "default": 2.6, "min": 0.5, "max": 3.0, "step": 0.5, "group": "Body", "label": "Chamfer distance (mm)"}, "chamfered": {"type": "bool", "default": true, "group": "Body", "label": "Chamfer edges"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329395 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"shaft_d\": {\"type\": 'float', \"default\": 43.09, \"min\": 21.5, \"max\": 77.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft diameter (mm)'},\n    \"shaft_len\": {\"type\": 'float', \"default\": 48.2, \"min\": 19.3, \"max\": 96.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft length (mm)'},\n    \"step_d\": {\"type\": 'float', \"default\": 22.0, \"min\": 11.0, \"max\": 38.8, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step diameter (mm)'},\n    \"step_len\": {\"type\": 'float', \"default\": 40.9, \"min\": 12.3, \"max\": 102.2, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step length (mm)'},\n    \"head_sides\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Head', \"label\": 'Drive head sides'},\n    \"head_r\": {\"type\": 'float', \"default\": 8.9, \"min\": 5.3, \"max\": 10.6, \"step\": 1.0, \"group\": 'Head', \"label\": 'Drive head circumradius (mm)'},\n    \"head_len\": {\"type\": 'float', \"default\": 10.9, \"min\": 3.3, \"max\": 21.8, \"step\": 1.0, \"group\": 'Head', \"label\": 'Drive head length (mm)'},\n    \"axial_bore\": {\"type\": 'float', \"default\": 8.4, \"min\": 2.0, \"max\": 11.8, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Axial bore diameter (mm)'},\n    \"chamfer_d\": {\"type\": 'float', \"default\": 2.6, \"min\": 0.5, \"max\": 3.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Chamfer distance (mm)'},\n    \"chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Chamfer edges'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').circle(p[\"shaft_d\"] / 2).extrude(p[\"shaft_len\"]))\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"step_d\"] / 2).extrude(p[\"step_len\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"head_sides\"], p[\"head_r\"] * 2).extrude(p[\"head_len\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"axial_bore\"])\n    )\n    if p[\"chamfered\"]:\n        result = result.edges('<Z').chamfer(p[\"chamfer_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462c9ef4_0832", "family": "revolved", "tier": 1, "seed": 1177329396, "symmetry": "none", "op_count": 1, "ir_hash": "7ee21367f4b0e474", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 55300.0, "surface_area": 14200.0, "principal_moments": [6730000.0, 51399999.99999999, 51399999.99999999], "n_faces": 4, "n_edges": 6, "n_vertices": 4}, "dimensions": {"lines": ["Revolved body, \u00d828.84 mm \u00d7 102.1 mm tall with \u00d811.9 mm bore."], "text": "Revolved body, \u00d828.84 mm \u00d7 102.1 mm tall with \u00d811.9 mm bore."}, "params": {"outer_d": {"type": "float", "default": 28.84, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 102.1, "min": 30.6, "max": 306.3, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 11.9, "min": 2.0, "max": 20.2, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329396 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 28.84, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 102.1, \"min\": 30.6, \"max\": 306.3, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 11.9, \"min\": 2.0, \"max\": 20.2, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462c9ef5_0833", "family": "enclosure", "tier": 1, "seed": 1177329397, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "56ea262be8f6900c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 12700.0, "surface_area": 5130.0, "principal_moments": [1380000.0, 1470000.0, 2080000.0], "n_faces": 11, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 30 \u00d7 17.4 \u00d7 30 mm (W\u00d7D\u00d7H).", "Hollowed to 5.5 mm wall thickness, open at top face."], "text": "Rectangular body, 30 \u00d7 17.4 \u00d7 30 mm (W\u00d7D\u00d7H). Hollowed to 5.5 mm wall thickness, open at top face."}, "params": {"enc_w": {"type": "float", "default": 30.0, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 17.4, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 30.0, "min": 12.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 5.5, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329397 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 30.0, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 17.4, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 30.0, \"min\": 12.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 5.5, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9ef6_0834", "family": "plate", "tier": 1, "seed": 1177329398, "symmetry": "none", "op_count": 2, "ir_hash": "99555192a51b66ed", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 1170.0, "surface_area": 1140.0, "principal_moments": [27000.0, 62300.0, 87500.0], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["Rectangular body, 25 \u00d7 16.2 \u00d7 3 mm (W\u00d7D\u00d7H).", "Seven \u00d81.7 mm holes in two staggered rows, 6.2 \u00d7 6.2 mm pitch."], "text": "Rectangular body, 25 \u00d7 16.2 \u00d7 3 mm (W\u00d7D\u00d7H). Seven \u00d81.7 mm holes in two staggered rows, 6.2 \u00d7 6.2 mm pitch."}, "params": {"plate_w": {"type": "float", "default": 25, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 16.2, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 3.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 1.7, "min": 2.0, "max": 1.6, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 4, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329398 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 25, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 16.2, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 3.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 1.7, \"min\": 2.0, \"max\": 1.6, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 4, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 6.2\n    _ssy = 6.2\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462c9ef7_0835", "family": "revolved", "tier": 0, "seed": 1177329399, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "01b9073f24e822f8", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 145000.0, "surface_area": 26400.0, "principal_moments": [65799999.99999999, 105000000.0, 105000000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d855 mm \u00d7 91.5 mm tall."], "text": "Revolved body, \u00d855 mm \u00d7 91.5 mm tall."}, "params": {"outer_d": {"type": "float", "default": 55, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 91.5, "min": 27.4, "max": 274.5, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329399 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 55, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 91.5, \"min\": 27.4, \"max\": 274.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462c9ef8_0836", "family": "threaded", "tier": 3, "seed": 1177329400, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "d032996fda689a8f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 15300.0, "surface_area": 5420.0, "principal_moments": [912000.0, 2660000.0, 2670000.0], "n_faces": 90, "n_edges": 228, "n_vertices": 140}, "dimensions": {"lines": ["Tr 24x5 external thread, 42.5 mm long."], "text": "Tr 24x5 external thread, 42.5 mm long."}, "params": {"thread_size": {"type": "enum", "default": "24x5", "choices": ["8x1.5", "10x2", "12x3", "14x3", "16x4", "18x4", "20x4", "24x5", "28x5", "30x6", "36x6", "40x7"], "group": "Thread", "label": "Size designation"}, "thread_len": {"type": "float", "default": 42.5, "min": 17.0, "max": 85.0, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329400 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"thread_size\": {\"type\": 'enum', \"default\": '24x5', \"choices\": ['8x1.5', '10x2', '12x3', '14x3', '16x4', '18x4', '20x4', '24x5', '28x5', '30x6', '36x6', '40x7'], \"group\": 'Thread', \"label\": 'Size designation'},\n    \"thread_len\": {\"type\": 'float', \"default\": 42.5, \"min\": 17.0, \"max\": 85.0, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.MetricTrapezoidalThread(size=p[\"thread_size\"], length=p[\"thread_len\"], external=True, end_finishes=(\"fade\", \"fade\"))\n    _r = _thr.min_radius if hasattr(_thr, 'min_radius') else _thr.root_radius\n    _shank = _bd.Cylinder(radius=_r, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = _shank + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462c9ef9_0837", "family": "ribbed", "tier": 2, "seed": 1177329401, "symmetry": "none", "op_count": 3, "ir_hash": "36f1f27456b0c0a1", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 52600.0, "surface_area": 22000.0, "principal_moments": [24299999.999999996, 45300000.0, 68000000.0], "n_faces": 38, "n_edges": 108, "n_vertices": 68}, "dimensions": {"lines": ["Rectangular body, 98.45 \u00d7 72.2 \u00d7 6 mm (W\u00d7D\u00d7H).", "Three ribs, 4.6 mm thick, 10.7 mm tall.", "Four \u00d88.4 mm holes at the corners, 68.915 \u00d7 50.54 mm spacing."], "text": "Rectangular body, 98.45 \u00d7 72.2 \u00d7 6 mm (W\u00d7D\u00d7H). Three ribs, 4.6 mm thick, 10.7 mm tall. Four \u00d88.4 mm holes at the corners, 68.915 \u00d7 50.54 mm spacing."}, "params": {"base_w": {"type": "float", "default": 98.45, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 72.2, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 6.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 3, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 10.7, "min": 4.3, "max": 21.4, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 4.6, "min": 1.0, "max": 11.5, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}, "hole_d": {"type": "float", "default": 8.4, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329401 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 98.45, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 72.2, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 3, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 10.7, \"min\": 4.3, \"max\": 21.4, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 4.6, \"min\": 1.0, \"max\": 11.5, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"base_w\"] * 0.7, p[\"base_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462c9efa_0838", "family": "revolved", "tier": 2, "seed": 1177329402, "symmetry": "radial", "op_count": 1, "ir_hash": "c80fe1add8b57eb8", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 178000.0, "surface_area": 38500.0, "principal_moments": [53399999.99999999, 331000000.0, 331000000.0], "n_faces": 7, "n_edges": 10, "n_vertices": 7}, "dimensions": {"lines": ["Revolved body, \u00d845 mm \u00d7 171.9 mm tall with 15.6 mm-wide groove 2.01 mm deep."], "text": "Revolved body, \u00d845 mm \u00d7 171.9 mm tall with 15.6 mm-wide groove 2.01 mm deep."}, "params": {"outer_d": {"type": "float", "default": 45, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 171.9, "min": 51.6, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "groove_depth": {"type": "float", "default": 2.01, "min": 0.8, "max": 6.03, "step": 0.1, "group": "Body", "label": "Groove depth (mm)"}, "groove_w": {"type": "float", "default": 15.6, "min": 6.24, "max": 46.8, "step": 0.2, "group": "Body", "label": "Groove width (mm)"}, "groove_pos": {"type": "float", "default": 123.3, "min": 25.8, "max": 146.1, "step": 1.0, "group": "Body", "label": "Groove position (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329402 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 45, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 171.9, \"min\": 51.6, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"groove_depth\": {\"type\": 'float', \"default\": 2.01, \"min\": 0.8, \"max\": 6.03, \"step\": 0.1, \"group\": 'Body', \"label\": 'Groove depth (mm)'},\n    \"groove_w\": {\"type\": 'float', \"default\": 15.6, \"min\": 6.24, \"max\": 46.8, \"step\": 0.2, \"group\": 'Body', \"label\": 'Groove width (mm)'},\n    \"groove_pos\": {\"type\": 'float', \"default\": 123.3, \"min\": 25.8, \"max\": 146.1, \"step\": 1.0, \"group\": 'Body', \"label\": 'Groove position (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"groove_pos\"] - p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2 - p[\"groove_depth\"], p[\"groove_pos\"] - p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2 - p[\"groove_depth\"], p[\"groove_pos\"] + p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2, p[\"groove_pos\"] + p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462c9efb_0839", "family": "profiled", "tier": 0, "seed": 1177329403, "symmetry": "none", "op_count": 1, "ir_hash": "eb7da477a0b24fc8", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 55000.0, "surface_area": 11400.0, "principal_moments": [4350000.0, 86600000.0, 89100000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["30 \u00d7 15 mm slot section, extruded 136.8 mm thick."], "text": "30 \u00d7 15 mm slot section, extruded 136.8 mm thick."}, "params": {"slot_len": {"type": "float", "default": 30, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Profile", "label": "Slot length (mm)"}, "slot_w": {"type": "float", "default": 15, "min": 7.5, "max": 30.0, "step": 0.5, "group": "Profile", "label": "Slot width (mm)"}, "length": {"type": "float", "default": 136.8, "min": 41.0, "max": 410.4, "step": 5.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329403 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"slot_len\": {\"type\": 'float', \"default\": 30, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Profile', \"label\": 'Slot length (mm)'},\n    \"slot_w\": {\"type\": 'float', \"default\": 15, \"min\": 7.5, \"max\": 30.0, \"step\": 0.5, \"group\": 'Profile', \"label\": 'Slot width (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 136.8, \"min\": 41.0, \"max\": 410.4, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').slot2D(p[\"slot_len\"], p[\"slot_w\"]).extrude(p[\"length\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462c9efc_0840", "family": "tapped", "tier": 2, "seed": 1177329404, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "c3c5d7677956b409", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 139000.0, "surface_area": 22600.0, "principal_moments": [83700000.0, 86300000.0, 160000000.0], "n_faces": 662, "n_edges": 1812, "n_vertices": 1152}, "dimensions": {"lines": ["Four M6x1 tapped holes in a plate."], "text": "Four M6x1 tapped holes in a plate."}, "params": {"major_d": {"type": "float", "default": 6.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 1.0, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 20.3, "min": 7.2, "max": 36.5, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "plate_w": {"type": "float", "default": 83.98, "min": 50.4, "max": 134.4, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 82.6, "min": 49.6, "max": 132.2, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329404 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.0, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 20.3, \"min\": 7.2, \"max\": 36.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"plate_w\": {\"type\": 'float', \"default\": 83.98, \"min\": 50.4, \"max\": 134.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 82.6, \"min\": 49.6, \"max\": 132.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n}\n\n\ndef build(p):\n\n    _W, _D, _H = p[\"plate_w\"], p[\"plate_d\"], p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Box(_W, _D, _H)\n    _sx, _sy = p[\"plate_w\"] * 0.6, p[\"plate_d\"] * 0.6\n    _locs = [(_xx, _yy) for _xx in (-_sx / 2, _sx / 2) for _yy in (-_sy / 2, _sy / 2)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462c9efd_0841", "family": "gear", "tier": 3, "seed": 1177329405, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "deab380b297e87d2", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 23000.0, "surface_area": 8520.0, "principal_moments": [5630000.0, 5630000.0, 11000000.0], "n_faces": 118, "n_edges": 348, "n_vertices": 232}, "dimensions": {"lines": ["Helical gear, module 2.5 mm, 23 teeth (pitch \u00d857.5 mm), face width 8.2 mm, 12.7\u00b0 helix, \u00d810.1 mm bore."], "text": "Helical gear, module 2.5 mm, 23 teeth (pitch \u00d857.5 mm), face width 8.2 mm, 12.7\u00b0 helix, \u00d810.1 mm bore."}, "params": {"module": {"type": "float", "default": 2.5, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 23, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 8.2, "min": 3.3, "max": 20.5, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "helix_angle": {"type": "float", "default": 12.7, "min": 5.0, "max": 40.0, "step": 1.0, "group": "Gear", "label": "Helix angle (deg)"}, "profile_shift": {"type": "float", "default": 0.3, "min": -0.5, "max": 0.7, "step": 0.05, "group": "Gear", "label": "Profile shift"}, "root_fillet": {"type": "float", "default": 0.65, "min": 0.0, "max": 1.25, "step": 0.05, "group": "Gear", "label": "Root fillet (mm)"}, "bore_d": {"type": "float", "default": 10.1, "min": 2.0, "max": 30.8, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329405 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 2.5, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 23, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 8.2, \"min\": 3.3, \"max\": 20.5, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"helix_angle\": {\"type\": 'float', \"default\": 12.7, \"min\": 5.0, \"max\": 40.0, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Helix angle (deg)'},\n    \"profile_shift\": {\"type\": 'float', \"default\": 0.3, \"min\": -0.5, \"max\": 0.7, \"step\": 0.05, \"group\": 'Gear', \"label\": 'Profile shift'},\n    \"root_fillet\": {\"type\": 'float', \"default\": 0.65, \"min\": 0.0, \"max\": 1.25, \"step\": 0.05, \"group\": 'Gear', \"label\": 'Root fillet (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 10.1, \"min\": 2.0, \"max\": 30.8, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.HelicalGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"], helix_angle=math.radians(p[\"helix_angle\"]), herringbone=False, profile_shift=p[\"profile_shift\"], root_fillet=p[\"root_fillet\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462c9efe_0842", "family": "swept", "tier": 2, "seed": 1177329406, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "9298ce0caac02e1e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 26700.0, "surface_area": 7280.0, "principal_moments": [3820000.0, 28699999.999999996, 31699999.999999996], "n_faces": 3, "n_edges": 3, "n_vertices": 2}, "dimensions": {"lines": ["\u00d815.9 mm circular section swept along a curved path, ~105.45 mm span."], "text": "\u00d815.9 mm circular section swept along a curved path, ~105.45 mm span."}, "params": {"path_w": {"type": "float", "default": 60, "min": 30.0, "max": 108.0, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 105.45, "min": 52.7, "max": 189.8, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_d": {"type": "float", "default": 15.9, "min": 8.0, "max": 28.6, "step": 1.0, "group": "Section", "label": "Section diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329406 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 60, \"min\": 30.0, \"max\": 108.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 105.45, \"min\": 52.7, \"max\": 189.8, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_d\": {\"type\": 'float', \"default\": 15.9, \"min\": 8.0, \"max\": 28.6, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.265, p[\"path_h\"] * 0.3755), (p[\"path_w\"] * 0.5648, p[\"path_h\"] * 0.4429), (p[\"path_w\"] * 0.4616, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').circle(p[\"sweep_d\"] / 2).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9eff_0843", "family": "plate", "tier": 1, "seed": 1177329407, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "4c938e377e28a0aa", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 9460.0, "surface_area": 3730.0, "principal_moments": [560000.0, 1300000.0, 1710000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 40 \u00d7 25.1 \u00d7 10 mm (W\u00d7D\u00d7H).", "Four \u00d84.3 mm holes at the corners, 28 \u00d7 17.57 mm spacing."], "text": "Rectangular body, 40 \u00d7 25.1 \u00d7 10 mm (W\u00d7D\u00d7H). Four \u00d84.3 mm holes at the corners, 28 \u00d7 17.57 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 40, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 25.1, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 5.6, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329407 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 40, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 25.1, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 5.6, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462c9f00_0844", "family": "block", "tier": 1, "seed": 1177329408, "symmetry": "none", "op_count": 2, "ir_hash": "aedb287aa64cce95", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 128000.0, "surface_area": 18400.0, "principal_moments": [35600000.0, 82500000.0, 90400000.0], "n_faces": 11, "n_edges": 27, "n_vertices": 18}, "dimensions": {"lines": ["Rectangular body, 80 \u00d7 36.1 \u00d7 45.1 mm (W\u00d7D\u00d7H).", "Five \u00d83.2 mm holes in two staggered rows, 30 \u00d7 26.7 mm pitch."], "text": "Rectangular body, 80 \u00d7 36.1 \u00d7 45.1 mm (W\u00d7D\u00d7H). Five \u00d83.2 mm holes in two staggered rows, 30 \u00d7 26.7 mm pitch."}, "params": {"block_w": {"type": "float", "default": 80, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 36.1, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 45.1, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 3.6, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 3, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329408 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 80, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 36.1, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 45.1, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 3.6, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 3, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 30.0\n    _ssy = 26.7\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462c9f01_0845", "family": "tapped", "tier": 1, "seed": 1177329409, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "69b3bdcfc58fbf4b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 5980.0, "surface_area": 2640.0, "principal_moments": [357000.0, 387000.0, 387000.0], "n_faces": 135, "n_edges": 365, "n_vertices": 232}, "dimensions": {"lines": ["One M8x1.25 tapped hole in a cylinder."], "text": "One M8x1.25 tapped hole in a cylinder."}, "params": {"major_d": {"type": "float", "default": 8.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 1.25, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 20.5, "min": 9.6, "max": 36.9, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "body_d": {"type": "float", "default": 20.6, "min": 14.4, "max": 33.0, "step": 1.0, "group": "Body", "label": "Outer \u00d8 (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329409 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.25, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 20.5, \"min\": 9.6, \"max\": 36.9, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"body_d\": {\"type\": 'float', \"default\": 20.6, \"min\": 14.4, \"max\": 33.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer \u00d8 (mm)'},\n}\n\n\ndef build(p):\n\n    _W = _D = p[\"body_d\"]\n    _H = p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Cylinder(radius=_W / 2, height=_H)\n    _locs = [(0.0, 0.0)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462c9f02_0846", "family": "threaded", "tier": 0, "seed": 1177329410, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "19742812eee08781", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 468.0, "surface_area": 697.0, "principal_moments": [1220.0, 33600.0, 33600.0], "n_faces": 370, "n_edges": 952, "n_vertices": 584}, "dimensions": {"lines": ["M5x0.8 external thread, 29.2 mm long."], "text": "M5x0.8 external thread, 29.2 mm long."}, "params": {"major_d": {"type": "float", "default": 5.0, "min": 4.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Major diameter (mm)"}, "pitch": {"type": "float", "default": 0.8, "min": 0.4, "max": 1.6, "step": 0.05, "group": "Thread", "label": "Pitch (mm)"}, "thread_len": {"type": "float", "default": 29.2, "min": 11.7, "max": 58.4, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329410 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 5.0, \"min\": 4.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Major diameter (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 0.8, \"min\": 0.4, \"max\": 1.6, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Pitch (mm)'},\n    \"thread_len\": {\"type\": 'float', \"default\": 29.2, \"min\": 11.7, \"max\": 58.4, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.IsoThread(major_diameter=p[\"major_d\"], pitch=p[\"pitch\"], length=p[\"thread_len\"], external=True, end_finishes=(\"fade\", \"fade\"))\n    _r = _thr.min_radius if hasattr(_thr, 'min_radius') else _thr.root_radius\n    _shank = _bd.Cylinder(radius=_r, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = _shank + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462c9f03_0847", "family": "sketched", "tier": 3, "seed": 1177329411, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "9620aff81f3a1893", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 16100.0, "surface_area": 3900.0, "principal_moments": [1190000.0, 2690000.0, 2690000.0], "n_faces": 6, "n_edges": 9, "n_vertices": 5}, "dimensions": {"lines": ["Revolved organic body from a freeform sketched section (6 segments: 4 straight, 1 arc, 1 curve), ~13.215 \u00d7 65 mm half-silhouette."], "text": "Revolved organic body from a freeform sketched section (6 segments: 4 straight, 1 arc, 1 curve), ~13.215 \u00d7 65 mm half-silhouette."}, "params": {"sk_r": {"type": "float", "default": 15, "min": 7.5, "max": 27.0, "step": 1.0, "group": "Sketch", "label": "Max radius (mm)"}, "sk_h": {"type": "float", "default": 65, "min": 32.5, "max": 117.0, "step": 1.0, "group": "Sketch", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329411 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_r\": {\"type\": 'float', \"default\": 15, \"min\": 7.5, \"max\": 27.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Max radius (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 65, \"min\": 32.5, \"max\": 117.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XZ').moveTo(p[\"sk_r\"] * 0.5355, p[\"sk_h\"] * 0.0).threePointArc((p[\"sk_r\"] * 0.5684, p[\"sk_h\"] * 0.0743), (p[\"sk_r\"] * 0.8279, p[\"sk_h\"] * 0.1485)).bezier([(p[\"sk_r\"] * 0.8279, p[\"sk_h\"] * 0.1485), (p[\"sk_r\"] * 0.9214, p[\"sk_h\"] * 0.3193), (p[\"sk_r\"] * 0.881, p[\"sk_h\"] * 0.4901)]).lineTo(p[\"sk_r\"] * 0.2306, p[\"sk_h\"] * 0.5184).lineTo(p[\"sk_r\"] * 0.2106, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.0, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.0, p[\"sk_h\"] * 0.0).close().revolve())\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462c9f04_0848", "family": "compound", "tier": 2, "seed": 1177329412, "symmetry": "mirror_xy", "op_count": 5, "ir_hash": "8982789d24b5f21c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 245000.0, "surface_area": 34400.0, "principal_moments": [155000000.0, 166000000.0, 208000000.0], "n_faces": 21, "n_edges": 49, "n_vertices": 31}, "dimensions": {"lines": ["Rectangular body, 67.32 \u00d7 72.6 \u00d7 52.1 mm (W\u00d7D\u00d7H).", "\u00d817.3 mm circular section attachment, 14.9 mm long, from right face with a \u00d810.1 mm bore.", "\u00d817.3 mm circular section attachment, 14.9 mm long, from front face with a \u00d810.1 mm bore.", "\u00d817.3 mm circular section attachment, 14.9 mm long, from left face with a \u00d810.1 mm bore.", "Four \u00d88.4 mm holes at the corners, 47.124 \u00d7 50.82 mm spacing."], "text": "Rectangular body, 67.32 \u00d7 72.6 \u00d7 52.1 mm (W\u00d7D\u00d7H). \u00d817.3 mm circular section attachment, 14.9 mm long, from right face with a \u00d810.1 mm bore. \u00d817.3 mm circular section attachment, 14.9 mm long, from front face with a \u00d810.1 mm bore. \u00d817.3 mm circular section attachment, 14.9 mm long, from left face with a \u00d810.1 mm bore. Four \u00d88.4 mm holes at the corners, 47.124 \u00d7 50.82 mm spacing."}, "params": {"block_w": {"type": "float", "default": 67.32, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body width (mm)"}, "block_d": {"type": "float", "default": 72.6, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body depth (mm)"}, "block_h": {"type": "float", "default": 52.1, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body height (mm)"}, "port_d": {"type": "float", "default": 17.3, "min": 6.9, "max": 23.4, "step": 1.0, "group": "Ports", "label": "Ports diameter (mm)"}, "port_len": {"type": "float", "default": 14.9, "min": 4.3, "max": 51.9, "step": 1.0, "group": "Ports", "label": "Port boss length (mm)"}, "port_bore": {"type": "float", "default": 10.1, "min": 2.0, "max": 12.5, "step": 0.5, "group": "Ports", "label": "Port bore diameter (mm)"}, "hole_d": {"type": "float", "default": 8.4, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329412 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 67.32, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 72.6, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 52.1, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body height (mm)'},\n    \"port_d\": {\"type\": 'float', \"default\": 17.3, \"min\": 6.9, \"max\": 23.4, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Ports diameter (mm)'},\n    \"port_len\": {\"type\": 'float', \"default\": 14.9, \"min\": 4.3, \"max\": 51.9, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Port boss length (mm)'},\n    \"port_bore\": {\"type\": 'float', \"default\": 10.1, \"min\": 2.0, \"max\": 12.5, \"step\": 0.5, \"group\": 'Ports', \"label\": 'Port bore diameter (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9f05_0849", "family": "plate", "tier": 2, "seed": 1177329413, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "056098568b6944f9", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 2800.0, "surface_area": 1730.0, "principal_moments": [68100.0, 220000.0, 271000.0], "n_faces": 14, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 30.64 \u00d7 16.3 \u00d7 6 mm (W\u00d7D\u00d7H).", "Four \u00d83.2 mm holes at the corners, 21.448 \u00d7 11.41 mm spacing.", "Chamfer 0.6 mm on vertical edges."], "text": "Rectangular body, 30.64 \u00d7 16.3 \u00d7 6 mm (W\u00d7D\u00d7H). Four \u00d83.2 mm holes at the corners, 21.448 \u00d7 11.41 mm spacing. Chamfer 0.6 mm on vertical edges."}, "params": {"plate_w": {"type": "float", "default": 30.64, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 16.3, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 6.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 3.7, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "chamfer_d": {"type": "float", "default": 0.6, "min": 0.5, "max": 0.6, "step": 0.5, "group": "Body", "label": "Chamfer distance (mm)"}, "chamfered": {"type": "bool", "default": true, "group": "Body", "label": "Chamfer edges"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329413 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 30.64, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 16.3, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 3.7, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"chamfer_d\": {\"type\": 'float', \"default\": 0.6, \"min\": 0.5, \"max\": 0.6, \"step\": 0.5, \"group\": 'Body', \"label\": 'Chamfer distance (mm)'},\n    \"chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Chamfer edges'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"chamfered\"]:\n        result = result.edges('|Z').chamfer(p[\"chamfer_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462c9f06_0850", "family": "threaded", "tier": 3, "seed": 1177329414, "symmetry": "none", "op_count": 1, "ir_hash": "e936f583ce0f16ec", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 26700.0, "surface_area": 6710.0, "principal_moments": [3750000.0, 3790000.0, 4080000.0], "n_faces": 50, "n_edges": 120, "n_vertices": 72}, "dimensions": {"lines": ["ACME 1 1/2 external thread, 28.6 mm long."], "text": "ACME 1 1/2 external thread, 28.6 mm long."}, "params": {"thread_size": {"type": "enum", "default": "1 1/2", "choices": ["1/4", "5/16", "3/8", "1/2", "5/8", "3/4", "7/8", "1", "1 1/4", "1 1/2"], "group": "Thread", "label": "Size designation"}, "thread_len": {"type": "float", "default": 28.6, "min": 11.4, "max": 57.2, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329414 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"thread_size\": {\"type\": 'enum', \"default\": '1 1/2', \"choices\": ['1/4', '5/16', '3/8', '1/2', '5/8', '3/4', '7/8', '1', '1 1/4', '1 1/2'], \"group\": 'Thread', \"label\": 'Size designation'},\n    \"thread_len\": {\"type\": 'float', \"default\": 28.6, \"min\": 11.4, \"max\": 57.2, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.AcmeThread(size=p[\"thread_size\"], length=p[\"thread_len\"], external=True, end_finishes=(\"fade\", \"fade\"))\n    _r = _thr.min_radius if hasattr(_thr, 'min_radius') else _thr.root_radius\n    _shank = _bd.Cylinder(radius=_r, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = _shank + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462c9f07_0851", "family": "block", "tier": 1, "seed": 1177329415, "symmetry": "none", "op_count": 2, "ir_hash": "b7a3d8c9d31c3baa", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 118000.0, "surface_area": 18000.0, "principal_moments": [42700000.0, 49399999.99999999, 64299999.99999999], "n_faces": 11, "n_edges": 27, "n_vertices": 18}, "dimensions": {"lines": ["Rectangular body, 60 \u00d7 54 \u00d7 37.6 mm (W\u00d7D\u00d7H).", "Five \u00d85.3 mm holes in two staggered rows, 22.5 \u00d7 26.8 mm pitch."], "text": "Rectangular body, 60 \u00d7 54 \u00d7 37.6 mm (W\u00d7D\u00d7H). Five \u00d85.3 mm holes in two staggered rows, 22.5 \u00d7 26.8 mm pitch."}, "params": {"block_w": {"type": "float", "default": 60, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 54.0, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 37.6, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 5.4, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 3, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329415 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 60, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 54.0, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 37.6, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 5.4, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 3, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 22.5\n    _ssy = 26.8\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462c9f08_0852", "family": "swept", "tier": 1, "seed": 1177329416, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "5842671dc496da53", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 1210.0, "surface_area": 1310.0, "principal_moments": [35400.0, 406000.0, 433000.0], "n_faces": 3, "n_edges": 3, "n_vertices": 2}, "dimensions": {"lines": ["\u00d87.4 mm circular section swept along a curved path, ~74.66 mm span."], "text": "\u00d87.4 mm circular section swept along a curved path, ~74.66 mm span."}, "params": {"path_w": {"type": "float", "default": 74.66, "min": 37.3, "max": 134.4, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 45.25, "min": 22.6, "max": 81.5, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_d": {"type": "float", "default": 7.4, "min": 3.7, "max": 13.3, "step": 1.0, "group": "Section", "label": "Section diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329416 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 74.66, \"min\": 37.3, \"max\": 134.4, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 45.25, \"min\": 22.6, \"max\": 81.5, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_d\": {\"type\": 'float', \"default\": 7.4, \"min\": 3.7, \"max\": 13.3, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.276, p[\"path_h\"] * 0.2329), (p[\"path_w\"] * 0.5494, p[\"path_h\"] * 0.7408), (p[\"path_w\"] * 0.4144, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').circle(p[\"sweep_d\"] / 2).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462c9f09_0853", "family": "revolved", "tier": 1, "seed": 1177329417, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "591603643f34943e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 144.0, "surface_area": 197.0, "principal_moments": [732.0, 732.0, 886.0], "n_faces": 4, "n_edges": 6, "n_vertices": 4}, "dimensions": {"lines": ["Revolved body, \u00d86.58 mm \u00d7 4.9 mm tall with \u00d82.4 mm bore."], "text": "Revolved body, \u00d86.58 mm \u00d7 4.9 mm tall with \u00d82.4 mm bore."}, "params": {"outer_d": {"type": "float", "default": 6.58, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 4.9, "min": 1.5, "max": 14.7, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 2.4, "min": 2.0, "max": 4.6, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329417 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 6.58, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 4.9, \"min\": 1.5, \"max\": 14.7, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 2.4, \"min\": 2.0, \"max\": 4.6, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462c9f0a_0854", "family": "revolved", "tier": 1, "seed": 1177329418, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "9b970de685d14047", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 382000.0, "surface_area": 56900.0, "principal_moments": [427000000.0, 587000000.0, 587000000.0], "n_faces": 5, "n_edges": 7, "n_vertices": 5}, "dimensions": {"lines": ["Revolved body, \u00d857.11 mm \u00d7 131.2 mm tall with \u00d8113.4 mm \u00d7 20.9 mm flange."], "text": "Revolved body, \u00d857.11 mm \u00d7 131.2 mm tall with \u00d8113.4 mm \u00d7 20.9 mm flange."}, "params": {"outer_d": {"type": "float", "default": 57.11, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 131.2, "min": 39.4, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "flange_d": {"type": "float", "default": 113.4, "min": 68.5, "max": 171.3, "step": 1.0, "group": "Body", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 20.9, "min": 6.3, "max": 65.6, "step": 0.5, "group": "Body", "label": "Flange height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329418 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 57.11, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 131.2, \"min\": 39.4, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 113.4, \"min\": 68.5, \"max\": 171.3, \"step\": 1.0, \"group\": 'Body', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 20.9, \"min\": 6.3, \"max\": 65.6, \"step\": 0.5, \"group\": 'Body', \"label\": 'Flange height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462c9f0b_0855", "family": "tapped", "tier": 1, "seed": 1177329419, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "2e58ce6272a7c7b4", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 1650.0, "surface_area": 1320.0, "principal_moments": [30000.0, 69800.0, 69800.0], "n_faces": 204, "n_edges": 556, "n_vertices": 354}, "dimensions": {"lines": ["One M5x0.8 tapped hole in a cylinder."], "text": "One M5x0.8 tapped hole in a cylinder."}, "params": {"major_d": {"type": "float", "default": 5.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 0.8, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 20.0, "min": 6.0, "max": 36.0, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "body_d": {"type": "float", "default": 11.2, "min": 9.0, "max": 17.9, "step": 1.0, "group": "Body", "label": "Outer \u00d8 (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329419 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 0.8, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 20.0, \"min\": 6.0, \"max\": 36.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"body_d\": {\"type\": 'float', \"default\": 11.2, \"min\": 9.0, \"max\": 17.9, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer \u00d8 (mm)'},\n}\n\n\ndef build(p):\n\n    _W = _D = p[\"body_d\"]\n    _H = p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Cylinder(radius=_W / 2, height=_H)\n    _locs = [(0.0, 0.0)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462c9f0c_0856", "family": "compound", "tier": 2, "seed": 1177329420, "symmetry": "none", "op_count": 2, "ir_hash": "48a26663e9e53d96", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 81500.0, "surface_area": 12200.0, "principal_moments": [11100000.0, 69400000.0, 69400000.0], "n_faces": 5, "n_edges": 6, "n_vertices": 4}, "dimensions": {"lines": ["\u00d835 mm circular section, extruded 68.7 mm thick.", "\u00d822.6 mm circular section attachment, 38.5 mm long, from top face."], "text": "\u00d835 mm circular section, extruded 68.7 mm thick. \u00d822.6 mm circular section attachment, 38.5 mm long, from top face."}, "params": {"shaft_d": {"type": "float", "default": 35, "min": 17.5, "max": 63.0, "step": 1.0, "group": "Body", "label": "Shaft diameter (mm)"}, "shaft_len": {"type": "float", "default": 68.7, "min": 27.5, "max": 137.4, "step": 1.0, "group": "Body", "label": "Shaft length (mm)"}, "step_d": {"type": "float", "default": 22.6, "min": 11.3, "max": 31.5, "step": 1.0, "group": "Step", "label": "Step diameter (mm)"}, "step_len": {"type": "float", "default": 38.5, "min": 11.5, "max": 96.2, "step": 1.0, "group": "Step", "label": "Step length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329420 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"shaft_d\": {\"type\": 'float', \"default\": 35, \"min\": 17.5, \"max\": 63.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft diameter (mm)'},\n    \"shaft_len\": {\"type\": 'float', \"default\": 68.7, \"min\": 27.5, \"max\": 137.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft length (mm)'},\n    \"step_d\": {\"type\": 'float', \"default\": 22.6, \"min\": 11.3, \"max\": 31.5, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step diameter (mm)'},\n    \"step_len\": {\"type\": 'float', \"default\": 38.5, \"min\": 11.5, \"max\": 96.2, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').circle(p[\"shaft_d\"] / 2).extrude(p[\"shaft_len\"]))\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"step_d\"] / 2).extrude(p[\"step_len\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462c9f0d_0857", "family": "revolved", "tier": 1, "seed": 1177329421, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "0b85d235c35adae5", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 158000.0, "surface_area": 30600.0, "principal_moments": [59499999.99999999, 219000000.0, 219000000.0], "n_faces": 4, "n_edges": 6, "n_vertices": 4}, "dimensions": {"lines": ["Revolved body, \u00d848.42 mm \u00d7 119.9 mm tall with \u00d825.8 mm bore."], "text": "Revolved body, \u00d848.42 mm \u00d7 119.9 mm tall with \u00d825.8 mm bore."}, "params": {"outer_d": {"type": "float", "default": 48.42, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 119.9, "min": 36.0, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 25.8, "min": 2.0, "max": 33.9, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329421 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 48.42, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 119.9, \"min\": 36.0, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 25.8, \"min\": 2.0, \"max\": 33.9, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462c9f0e_0858", "family": "block", "tier": 2, "seed": 1177329422, "symmetry": "none", "op_count": 3, "ir_hash": "2531e139a3220cdf", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 259000.0, "surface_area": 51000.0, "principal_moments": [123000000.0, 276000000.0, 290000000.0], "n_faces": 25, "n_edges": 66, "n_vertices": 44}, "dimensions": {"lines": ["Rectangular body, 60 \u00d7 53.9 \u00d7 100 mm (W\u00d7D\u00d7H).", "Four 12.6 mm square holes at the corners, 42 \u00d7 37.73 mm spacing.", "Boss \u00d817.3 mm \u00d7 11.8 mm tall on top face with a \u00d86.4 mm bore."], "text": "Rectangular body, 60 \u00d7 53.9 \u00d7 100 mm (W\u00d7D\u00d7H). Four 12.6 mm square holes at the corners, 42 \u00d7 37.73 mm spacing. Boss \u00d817.3 mm \u00d7 11.8 mm tall on top face with a \u00d86.4 mm bore."}, "params": {"block_w": {"type": "float", "default": 60, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 53.9, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 100.0, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 12.6, "min": 2.0, "max": 15.8, "step": 0.5, "group": "Holes", "label": "Square hole size (mm)"}, "boss_d": {"type": "float", "default": 17.3, "min": 8.7, "max": 34.6, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 11.8, "min": 4.7, "max": 29.5, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}, "boss_bore_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 12.1, "step": 0.1, "group": "Boss", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329422 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 60, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 53.9, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 100.0, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 12.6, \"min\": 2.0, \"max\": 15.8, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Square hole size (mm)'},\n    \"boss_d\": {\"type\": 'float', \"default\": 17.3, \"min\": 8.7, \"max\": 34.6, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 11.8, \"min\": 4.7, \"max\": 29.5, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n    \"boss_bore_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 12.1, \"step\": 0.1, \"group\": 'Boss', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().rect(p[\"hole_d\"], p[\"hole_d\"]).cutThruAll()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .hole(p[\"boss_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462c9f0f_0859", "family": "revolved", "tier": 0, "seed": 1177329423, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "ab5932c3d9e79091", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 116000.0, "surface_area": 20000.0, "principal_moments": [56499999.99999999, 56499999.99999999, 85000000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d870 mm \u00d7 45.1 mm tall."], "text": "Revolved body, \u00d870 mm \u00d7 45.1 mm tall."}, "params": {"outer_d": {"type": "float", "default": 70, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 45.1, "min": 13.5, "max": 135.3, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329423 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 70, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 45.1, \"min\": 13.5, \"max\": 135.3, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462c9f10_0860", "family": "sketched", "tier": 0, "seed": 1177329424, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "73a3b505baf88b20", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 19700.0, "surface_area": 5180.0, "principal_moments": [2120000.0, 4030000.0, 5700000.0], "n_faces": 13, "n_edges": 30, "n_vertices": 19}, "dimensions": {"lines": ["freeform sketched section (7 segments: 2 straight, 3 arcs, 2 curves), ~40.385 \u00d7 51.747 mm, extruded 11.7 mm thick with a 7.3\u00b0 draft."], "text": "freeform sketched section (7 segments: 2 straight, 3 arcs, 2 curves), ~40.385 \u00d7 51.747 mm, extruded 11.7 mm thick with a 7.3\u00b0 draft."}, "params": {"sk_w": {"type": "float", "default": 50, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 79.61, "min": 39.8, "max": 143.3, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "sk_t": {"type": "float", "default": 11.7, "min": 4.7, "max": 25.7, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "sk_draft": {"type": "float", "default": 7.3, "min": 0.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Draft angle (deg)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329424 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 50, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 79.61, \"min\": 39.8, \"max\": 143.3, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"sk_t\": {\"type\": 'float', \"default\": 11.7, \"min\": 4.7, \"max\": 25.7, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"sk_draft\": {\"type\": 'float', \"default\": 7.3, \"min\": 0.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Draft angle (deg)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.3651, p[\"sk_h\"] * -0.0237).spline([(p[\"sk_w\"] * 0.3651, p[\"sk_h\"] * -0.0237), (p[\"sk_w\"] * 0.3378, p[\"sk_h\"] * 0.1333), (p[\"sk_w\"] * 0.2549, p[\"sk_h\"] * 0.2693)]).bezier([(p[\"sk_w\"] * 0.2549, p[\"sk_h\"] * 0.2693), (p[\"sk_w\"] * 0.0759, p[\"sk_h\"] * 0.3237), (p[\"sk_w\"] * -0.1103, p[\"sk_h\"] * 0.3059)]).threePointArc((p[\"sk_w\"] * -0.2928, p[\"sk_h\"] * 0.2733), (p[\"sk_w\"] * -0.4426, p[\"sk_h\"] * 0.2063)).lineTo(p[\"sk_w\"] * -0.3706, p[\"sk_h\"] * -0.3315).threePointArc((p[\"sk_w\"] * -0.2418, p[\"sk_h\"] * -0.3741), (p[\"sk_w\"] * -0.0666, p[\"sk_h\"] * -0.3441)).threePointArc((p[\"sk_w\"] * 0.1176, p[\"sk_h\"] * -0.3285), (p[\"sk_w\"] * 0.261, p[\"sk_h\"] * -0.2184)).lineTo(p[\"sk_w\"] * 0.3651, p[\"sk_h\"] * -0.0237).close().extrude(p[\"sk_t\"], taper=p[\"sk_draft\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462c9f11_0861", "family": "swept", "tier": 2, "seed": 1177329425, "symmetry": "none", "op_count": 1, "ir_hash": "f0e15bad3a3ba8d3", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 16000.0, "surface_area": 5640.0, "principal_moments": [2260000.0, 6220000.0, 7930000.0], "n_faces": 3, "n_edges": 3, "n_vertices": 2}, "dimensions": {"lines": ["\u00d816.6 mm circular section swept along a curved path, ~65.23 mm span."], "text": "\u00d816.6 mm circular section swept along a curved path, ~65.23 mm span."}, "params": {"path_w": {"type": "float", "default": 57.99, "min": 29.0, "max": 104.4, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 65.23, "min": 32.6, "max": 117.4, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_d": {"type": "float", "default": 16.6, "min": 8.3, "max": 29.9, "step": 1.0, "group": "Section", "label": "Section diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329425 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 57.99, \"min\": 29.0, \"max\": 104.4, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 65.23, \"min\": 32.6, \"max\": 117.4, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_d\": {\"type\": 'float', \"default\": 16.6, \"min\": 8.3, \"max\": 29.9, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.317, p[\"path_h\"] * 0.7614), (p[\"path_w\"] * 0.2819, p[\"path_h\"] * 0.7738), (p[\"path_w\"] * 0.1773, p[\"path_h\"] * 0.8697), (p[\"path_w\"] * 0.3108, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').circle(p[\"sweep_d\"] / 2).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462c9f12_0862", "family": "tapped", "tier": 3, "seed": 1177329426, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "148bc96a9908e0ee", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 56000.0, "surface_area": 12800.0, "principal_moments": [19000000.0, 20500000.0, 37700000.0], "n_faces": 566, "n_edges": 1548, "n_vertices": 984}, "dimensions": {"lines": ["Four M5x0.8 tapped holes in a plate."], "text": "Four M5x0.8 tapped holes in a plate."}, "params": {"major_d": {"type": "float", "default": 5.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 0.8, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 14.0, "min": 6.0, "max": 25.2, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "plate_w": {"type": "float", "default": 65, "min": 39.0, "max": 104.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 62.5, "min": 37.5, "max": 100.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329426 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 0.8, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 14.0, \"min\": 6.0, \"max\": 25.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"plate_w\": {\"type\": 'float', \"default\": 65, \"min\": 39.0, \"max\": 104.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 62.5, \"min\": 37.5, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n}\n\n\ndef build(p):\n\n    _W, _D, _H = p[\"plate_w\"], p[\"plate_d\"], p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Box(_W, _D, _H)\n    _nx, _ny = max(1, int(2)), max(1, int(2))\n    _sx, _sy = p[\"plate_w\"] * 0.66, p[\"plate_d\"] * 0.66\n    _locs = [(_sx * (_i - (_nx - 1) / 2), _sy * (_j - (_ny - 1) / 2))\n             for _i in range(_nx) for _j in range(_ny)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462c9f13_0863", "family": "swept", "tier": 1, "seed": 1177329427, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "e28d2c5fd530b009", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 2780.0, "surface_area": 2310.0, "principal_moments": [99800.0, 776000.0, 812000.0], "n_faces": 3, "n_edges": 3, "n_vertices": 2}, "dimensions": {"lines": ["\u00d813.6 mm circular section swept along a curved path, ~55 mm span."], "text": "\u00d813.6 mm circular section swept along a curved path, ~55 mm span."}, "params": {"path_w": {"type": "float", "default": 50, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 55, "min": 27.5, "max": 99.0, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_d": {"type": "float", "default": 13.6, "min": 6.8, "max": 24.5, "step": 1.0, "group": "Section", "label": "Section diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329427 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 50, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 55, \"min\": 27.5, \"max\": 99.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_d\": {\"type\": 'float', \"default\": 13.6, \"min\": 6.8, \"max\": 24.5, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.3487, p[\"path_h\"] * 0.3232), (p[\"path_w\"] * 0.209, p[\"path_h\"] * 0.702), (p[\"path_w\"] * 0.1412, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').circle(p[\"sweep_d\"] / 2).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462c9f14_0864", "family": "revolved", "tier": 1, "seed": 1177329428, "symmetry": "radial", "op_count": 2, "ir_hash": "c41552cd1e343558", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 309000.0, "surface_area": 50700.0, "principal_moments": [222000000.0, 634000000.0, 634000000.0], "n_faces": 8, "n_edges": 14, "n_vertices": 8}, "dimensions": {"lines": ["Revolved body, \u00d865.24 mm \u00d7 142.6 mm tall with \u00d838.7 mm bore.", "Chamfer 0.4 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d865.24 mm \u00d7 142.6 mm tall with \u00d838.7 mm bore. Chamfer 0.4 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 65.24, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 142.6, "min": 42.8, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 38.7, "min": 2.0, "max": 45.7, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "end_chamfer": {"type": "float", "default": 0.4, "min": 0.1, "max": 1.2, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329428 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 65.24, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 142.6, \"min\": 42.8, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 38.7, \"min\": 2.0, \"max\": 45.7, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.4, \"min\": 0.1, \"max\": 1.2, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462c9f15_0865", "family": "bracket", "tier": 2, "seed": 1177329429, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "e41bb757c51ee6a1", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 7870.0, "surface_area": 3720.0, "principal_moments": [796000.0, 839000.0, 1250000.0], "n_faces": 15, "n_edges": 41, "n_vertices": 26}, "dimensions": {"lines": ["L-bracket: base leg 25.55 mm, vertical leg 25 mm, 30 mm wide, 6 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg; 7.9 mm corner gusset."], "text": "L-bracket: base leg 25.55 mm, vertical leg 25 mm, 30 mm wide, 6 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg; 7.9 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 25.55, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 25.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 30, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 6.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 7.9, "min": 3.0, "max": 15.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329429 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 25.55, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 25.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 30, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 7.9, \"min\": 3.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462c9f16_0866", "family": "gear", "tier": 1, "seed": 1177329430, "symmetry": "none", "op_count": 1, "ir_hash": "66108b9e26449384", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 9890.0, "surface_area": 4350.0, "principal_moments": [904000.0, 904000.0, 1640000.0], "n_faces": 147, "n_edges": 435, "n_vertices": 290}, "dimensions": {"lines": ["Spur gear, module 1.5 mm, 24 teeth (pitch \u00d836 mm), face width 10 mm, \u00d84.5 mm bore."], "text": "Spur gear, module 1.5 mm, 24 teeth (pitch \u00d836 mm), face width 10 mm, \u00d84.5 mm bore."}, "params": {"module": {"type": "float", "default": 1.5, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 24, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 10.0, "min": 4.0, "max": 25.0, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "bore_d": {"type": "float", "default": 4.5, "min": 2.0, "max": 19.3, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329430 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 1.5, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 24, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 10.0, \"min\": 4.0, \"max\": 25.0, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 4.5, \"min\": 2.0, \"max\": 19.3, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462c9f17_0867", "family": "enclosure", "tier": 2, "seed": 1177329431, "symmetry": "mirror_xy", "op_count": 4, "ir_hash": "b83eb413e3d5c60f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 17700.0, "surface_area": 15800.0, "principal_moments": [6090000.0, 8490000.0, 10900000.0], "n_faces": 23, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 55 \u00d7 42 \u00d7 31.7 mm (W\u00d7D\u00d7H).", "Hollowed to 2.3 mm wall thickness, open at top face.", "Four \u00d84.3 mm holes at the corners, 38.5 \u00d7 29.4 mm spacing.", "Fillet radius 1.698 mm on vertical edges."], "text": "Rectangular body, 55 \u00d7 42 \u00d7 31.7 mm (W\u00d7D\u00d7H). Hollowed to 2.3 mm wall thickness, open at top face. Four \u00d84.3 mm holes at the corners, 38.5 \u00d7 29.4 mm spacing. Fillet radius 1.698 mm on vertical edges."}, "params": {"enc_w": {"type": "float", "default": 55, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 42.0, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 31.7, "min": 12.7, "max": 63.4, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 2.3, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 9.4, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329431 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 55, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 42.0, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 31.7, \"min\": 12.7, \"max\": 63.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 2.3, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 9.4, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"enc_w\"] * 0.7, p[\"enc_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"enc_w\"], p[\"enc_d\"]) * 0.04042085758438235)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462c9f18_0868", "family": "revolved", "tier": 0, "seed": 1177329432, "symmetry": "radial", "op_count": 1, "ir_hash": "6fd555d0467b0d8b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 128000.0, "surface_area": 27300.0, "principal_moments": [38800000.0, 129000000.0, 129000000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d845 mm \u00d7 120.4 mm tall."], "text": "Revolved body, \u00d845 mm \u00d7 120.4 mm tall."}, "params": {"outer_d": {"type": "float", "default": 45, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 120.4, "min": 36.1, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329432 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 45, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 120.4, \"min\": 36.1, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9f19_0869", "family": "plate", "tier": 2, "seed": 1177329433, "symmetry": "none", "op_count": 3, "ir_hash": "59785223d0cfe767", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 26000.0, "surface_area": 9030.0, "principal_moments": [3090000.0, 17400000.0, 20200000.0], "n_faces": 14, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 90 \u00d7 37.2 \u00d7 8 mm (W\u00d7D\u00d7H).", "Four \u00d85.3 mm holes at the corners, 63 \u00d7 26.04 mm spacing.", "Chamfer 2 mm on vertical edges."], "text": "Rectangular body, 90 \u00d7 37.2 \u00d7 8 mm (W\u00d7D\u00d7H). Four \u00d85.3 mm holes at the corners, 63 \u00d7 26.04 mm spacing. Chamfer 2 mm on vertical edges."}, "params": {"plate_w": {"type": "float", "default": 90, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 37.2, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 8.4, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "chamfer_d": {"type": "float", "default": 2.0, "min": 1.3, "max": 2.2, "step": 0.5, "group": "Body", "label": "Chamfer distance (mm)"}, "chamfered": {"type": "bool", "default": true, "group": "Body", "label": "Chamfer edges"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329433 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 90, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 37.2, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 8.4, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"chamfer_d\": {\"type\": 'float', \"default\": 2.0, \"min\": 1.3, \"max\": 2.2, \"step\": 0.5, \"group\": 'Body', \"label\": 'Chamfer distance (mm)'},\n    \"chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Chamfer edges'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"chamfered\"]:\n        result = result.edges('|Z').chamfer(p[\"chamfer_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462c9f1a_0870", "family": "block", "tier": 1, "seed": 1177329434, "symmetry": "none", "op_count": 2, "ir_hash": "f87064a3d3ee6e26", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 10400.0, "surface_area": 3520.0, "principal_moments": [527000.0, 1290000.0, 1360000.0], "n_faces": 11, "n_edges": 27, "n_vertices": 18}, "dimensions": {"lines": ["Rectangular body, 34.94 \u00d7 16.4 \u00d7 18.5 mm (W\u00d7D\u00d7H).", "Five \u00d81.7 mm holes in two staggered rows, 13.1 \u00d7 11.8 mm pitch."], "text": "Rectangular body, 34.94 \u00d7 16.4 \u00d7 18.5 mm (W\u00d7D\u00d7H). Five \u00d81.7 mm holes in two staggered rows, 13.1 \u00d7 11.8 mm pitch."}, "params": {"block_w": {"type": "float", "default": 34.94, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 16.4, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 18.5, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 1.7, "min": 2.0, "max": 1.6, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 3, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329434 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 34.94, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 16.4, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 18.5, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 1.7, \"min\": 2.0, \"max\": 1.6, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 3, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 13.1\n    _ssy = 11.8\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9f1b_0871", "family": "plate", "tier": 2, "seed": 1177329435, "symmetry": "none", "op_count": 3, "ir_hash": "a81bad847c69ba85", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 30500.0, "surface_area": 10400.0, "principal_moments": [5050000.0, 19900000.0, 24599999.999999996], "n_faces": 26, "n_edges": 72, "n_vertices": 48}, "dimensions": {"lines": ["Rectangular body, 88.71 \u00d7 44.2 \u00d7 8 mm (W\u00d7D\u00d7H).", "Four 9.1 \u00d7 3.2 mm slots at the corners, 62.097 \u00d7 30.94 mm spacing.", "Chamfer 1.2 mm on vertical edges."], "text": "Rectangular body, 88.71 \u00d7 44.2 \u00d7 8 mm (W\u00d7D\u00d7H). Four 9.1 \u00d7 3.2 mm slots at the corners, 62.097 \u00d7 30.94 mm spacing. Chamfer 1.2 mm on vertical edges."}, "params": {"plate_w": {"type": "float", "default": 88.71, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 44.2, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 9.9, "step": 0.5, "group": "Holes", "label": "Slot width (mm)"}, "hole_slot_len": {"type": "float", "default": 9.1, "min": 4.8, "max": 13.3, "step": 0.5, "group": "Holes", "label": "Slot length (mm)"}, "chamfer_d": {"type": "float", "default": 1.2, "min": 0.9, "max": 1.6, "step": 0.5, "group": "Body", "label": "Chamfer distance (mm)"}, "chamfered": {"type": "bool", "default": true, "group": "Body", "label": "Chamfer edges"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329435 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 88.71, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 44.2, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 9.9, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Slot width (mm)'},\n    \"hole_slot_len\": {\"type\": 'float', \"default\": 9.1, \"min\": 4.8, \"max\": 13.3, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Slot length (mm)'},\n    \"chamfer_d\": {\"type\": 'float', \"default\": 1.2, \"min\": 0.9, \"max\": 1.6, \"step\": 0.5, \"group\": 'Body', \"label\": 'Chamfer distance (mm)'},\n    \"chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Chamfer edges'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().slot2D(p[\"hole_slot_len\"], p[\"hole_d\"]).cutThruAll()\n    )\n    if p[\"chamfered\"]:\n        result = result.edges('|Z').chamfer(p[\"chamfer_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462c9f1c_0872", "family": "bracket", "tier": 2, "seed": 1177329436, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "20272c2b407ca666", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 78300.0, "surface_area": 23400.0, "principal_moments": [48499999.99999999, 71700000.0, 76200000.0], "n_faces": 19, "n_edges": 51, "n_vertices": 34}, "dimensions": {"lines": ["C-channel bracket: base leg 65 mm, vertical leg 58.9 mm, 58.28 mm wide, 8 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg; 9 mm corner gusset."], "text": "C-channel bracket: base leg 65 mm, vertical leg 58.9 mm, 58.28 mm wide, 8 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg; 9 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 65, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 58.9, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 58.28, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 8.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 9.0, "min": 4.0, "max": 24.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329436 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 65, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 58.9, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 58.28, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 9.0, \"min\": 4.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl / 2, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bl - _bt, _bt).lineTo(_bl - _bt - _g, _bt)\n                    .lineTo(_bl - _bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462c9f1d_0873", "family": "swept", "tier": 2, "seed": 1177329437, "symmetry": "none", "op_count": 1, "ir_hash": "c3850ceb02aa27a6", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 15100.0, "surface_area": 4640.0, "principal_moments": [605000.0, 11200000.0, 11300000.0], "n_faces": 3, "n_edges": 3, "n_vertices": 2}, "dimensions": {"lines": ["\u00d815 mm circular section swept along a curved path, ~88.58 mm span."], "text": "\u00d815 mm circular section swept along a curved path, ~88.58 mm span."}, "params": {"path_w": {"type": "float", "default": 35.59, "min": 17.8, "max": 64.1, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 88.58, "min": 44.3, "max": 159.4, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_d": {"type": "float", "default": 15.0, "min": 7.5, "max": 27.0, "step": 1.0, "group": "Section", "label": "Section diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329437 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 35.59, \"min\": 17.8, \"max\": 64.1, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 88.58, \"min\": 44.3, \"max\": 159.4, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_d\": {\"type\": 'float', \"default\": 15.0, \"min\": 7.5, \"max\": 27.0, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.5327), (p[\"path_w\"] * 0.3511, p[\"path_h\"] * 0.7757), (p[\"path_w\"] * 0.6327, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').circle(p[\"sweep_d\"] / 2).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462c9f1e_0874", "family": "compound", "tier": 1, "seed": 1177329438, "symmetry": "none", "op_count": 3, "ir_hash": "0ed12a5c607569b3", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 92700.0, "surface_area": 15900.0, "principal_moments": [30499999.999999996, 30799999.999999996, 42500000.0], "n_faces": 15, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 50 \u00d7 52.8 \u00d7 34.9 mm (W\u00d7D\u00d7H).", "35.3 \u00d7 21.2 mm rectangular section attachment, 5 mm long, from left face.", "Four \u00d84.3 mm holes at the corners, 21.18 \u00d7 12.72 mm spacing on the <X face."], "text": "Rectangular body, 50 \u00d7 52.8 \u00d7 34.9 mm (W\u00d7D\u00d7H). 35.3 \u00d7 21.2 mm rectangular section attachment, 5 mm long, from left face. Four \u00d84.3 mm holes at the corners, 21.18 \u00d7 12.72 mm spacing on the <X face."}, "params": {"block_w": {"type": "float", "default": 50, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 52.8, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 34.9, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "tab_a": {"type": "float", "default": 35.3, "min": 14.1, "max": 56.5, "step": 1.0, "group": "Tab", "label": "Tab width (mm)"}, "tab_b": {"type": "float", "default": 21.2, "min": 8.5, "max": 33.9, "step": 1.0, "group": "Tab", "label": "Tab height (mm)"}, "tab_t": {"type": "float", "default": 5.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Tab", "label": "Tab thickness (mm)"}, "tab_hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 4.7, "step": 0.1, "group": "Tab", "label": "Tab hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329438 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 50, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 52.8, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 34.9, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"tab_a\": {\"type\": 'float', \"default\": 35.3, \"min\": 14.1, \"max\": 56.5, \"step\": 1.0, \"group\": 'Tab', \"label\": 'Tab width (mm)'},\n    \"tab_b\": {\"type\": 'float', \"default\": 21.2, \"min\": 8.5, \"max\": 33.9, \"step\": 1.0, \"group\": 'Tab', \"label\": 'Tab height (mm)'},\n    \"tab_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Tab', \"label\": 'Tab thickness (mm)'},\n    \"tab_hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 4.7, \"step\": 0.1, \"group\": 'Tab', \"label\": 'Tab hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .rect(p[\"tab_a\"], p[\"tab_b\"]).extrude(p[\"tab_t\"])\n    )\n    result = (\n        result.faces('<X').workplane()\n        .rect(p[\"tab_a\"] * 0.6, p[\"tab_b\"] * 0.6, forConstruction=True)\n        .vertices().hole(p[\"tab_hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462c9f1f_0875", "family": "block", "tier": 1, "seed": 1177329439, "symmetry": "none", "op_count": 2, "ir_hash": "26470d5002ba78e4", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 30200.0, "surface_area": 8890.0, "principal_moments": [4690000.0, 5730000.0, 8780000.0], "n_faces": 22, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 45 \u00d7 18.4 \u00d7 39.2 mm (W\u00d7D\u00d7H).", "Four 3.8 mm square holes at the corners, 31.5 \u00d7 12.88 mm spacing."], "text": "Rectangular body, 45 \u00d7 18.4 \u00d7 39.2 mm (W\u00d7D\u00d7H). Four 3.8 mm square holes at the corners, 31.5 \u00d7 12.88 mm spacing."}, "params": {"block_w": {"type": "float", "default": 45, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 18.4, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 39.2, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 3.8, "min": 2.0, "max": 5.4, "step": 0.5, "group": "Holes", "label": "Square hole size (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329439 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 45, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 18.4, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 39.2, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.8, \"min\": 2.0, \"max\": 5.4, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Square hole size (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().rect(p[\"hole_d\"], p[\"hole_d\"]).cutThruAll()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462c9f20_0876", "family": "ribbed", "tier": 1, "seed": 1177329440, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "f441d46365c5bc1c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 36400.0, "surface_area": 24700.0, "principal_moments": [11699999.999999998, 20900000.0, 29199999.999999996], "n_faces": 54, "n_edges": 132, "n_vertices": 80}, "dimensions": {"lines": ["Rectangular body, 81.33 \u00d7 50.9 \u00d7 5 mm (W\u00d7D\u00d7H).", "Six ribs, 2.2 mm thick, 18.3 mm tall."], "text": "Rectangular body, 81.33 \u00d7 50.9 \u00d7 5 mm (W\u00d7D\u00d7H). Six ribs, 2.2 mm thick, 18.3 mm tall."}, "params": {"base_w": {"type": "float", "default": 81.33, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 50.9, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 5.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 6, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 18.3, "min": 7.3, "max": 36.6, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 2.2, "min": 1.0, "max": 5.5, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329440 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 81.33, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 50.9, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 6, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 18.3, \"min\": 7.3, \"max\": 36.6, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 2.2, \"min\": 1.0, \"max\": 5.5, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462c9f21_0877", "family": "bracket", "tier": 1, "seed": 1177329441, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "62719caf1b768bef", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 23400.0, "surface_area": 13100.0, "principal_moments": [8270000.0, 16800000.0, 18300000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["L-bracket: base leg 59.41 mm, vertical leg 61.8 mm, 50 mm wide, 4 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."], "text": "L-bracket: base leg 59.41 mm, vertical leg 61.8 mm, 50 mm wide, 4 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 59.41, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 61.8, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 50, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 4.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329441 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 59.41, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 61.8, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 50, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462c9f22_0878", "family": "enclosure", "tier": 1, "seed": 1177329442, "symmetry": "none", "op_count": 2, "ir_hash": "b6e0f4953c2c3122", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 57100.0, "surface_area": 39000.0, "principal_moments": [56799999.99999999, 61799999.99999999, 95699999.99999999], "n_faces": 11, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 82.6 \u00d7 77.5 \u00d7 44 mm (W\u00d7D\u00d7H).", "Hollowed to 3 mm wall thickness, open at top face."], "text": "Rectangular body, 82.6 \u00d7 77.5 \u00d7 44 mm (W\u00d7D\u00d7H). Hollowed to 3 mm wall thickness, open at top face."}, "params": {"enc_w": {"type": "float", "default": 82.6, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 77.5, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 44.0, "min": 17.6, "max": 88.0, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 3.0, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329442 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 82.6, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 77.5, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 44.0, \"min\": 17.6, \"max\": 88.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462c9f23_0879", "family": "compound", "tier": 1, "seed": 1177329443, "symmetry": "none", "op_count": 3, "ir_hash": "ec28fc3ba275dd11", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 93600.0, "surface_area": 16000.0, "principal_moments": [29799999.999999996, 35000000.0, 51999999.99999999], "n_faces": 15, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 55 \u00d7 57 \u00d7 28.9 mm (W\u00d7D\u00d7H).", "48.7 \u00d7 17.2 mm rectangular section attachment, 6 mm long, from back face.", "Four \u00d83.2 mm holes at the corners, 29.22 \u00d7 10.32 mm spacing on the >Y face."], "text": "Rectangular body, 55 \u00d7 57 \u00d7 28.9 mm (W\u00d7D\u00d7H). 48.7 \u00d7 17.2 mm rectangular section attachment, 6 mm long, from back face. Four \u00d83.2 mm holes at the corners, 29.22 \u00d7 10.32 mm spacing on the >Y face."}, "params": {"block_w": {"type": "float", "default": 55, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 57.0, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 28.9, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "tab_a": {"type": "float", "default": 48.7, "min": 19.5, "max": 77.9, "step": 1.0, "group": "Tab", "label": "Tab width (mm)"}, "tab_b": {"type": "float", "default": 17.2, "min": 6.9, "max": 27.5, "step": 1.0, "group": "Tab", "label": "Tab height (mm)"}, "tab_t": {"type": "float", "default": 6.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Tab", "label": "Tab thickness (mm)"}, "tab_hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 3.8, "step": 0.1, "group": "Tab", "label": "Tab hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329443 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 55, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 57.0, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 28.9, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"tab_a\": {\"type\": 'float', \"default\": 48.7, \"min\": 19.5, \"max\": 77.9, \"step\": 1.0, \"group\": 'Tab', \"label\": 'Tab width (mm)'},\n    \"tab_b\": {\"type\": 'float', \"default\": 17.2, \"min\": 6.9, \"max\": 27.5, \"step\": 1.0, \"group\": 'Tab', \"label\": 'Tab height (mm)'},\n    \"tab_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Tab', \"label\": 'Tab thickness (mm)'},\n    \"tab_hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 3.8, \"step\": 0.1, \"group\": 'Tab', \"label\": 'Tab hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .rect(p[\"tab_a\"], p[\"tab_b\"]).extrude(p[\"tab_t\"])\n    )\n    result = (\n        result.faces('>Y').workplane()\n        .rect(p[\"tab_a\"] * 0.6, p[\"tab_b\"] * 0.6, forConstruction=True)\n        .vertices().hole(p[\"tab_hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462c9f24_0880", "family": "revolved", "tier": 2, "seed": 1177329444, "symmetry": "none", "op_count": 2, "ir_hash": "13a779e87c5ae4cc", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 1190000.0, "surface_area": 136000.0, "principal_moments": [2480000000.0, 5830000000.0, 5830000000.0], "n_faces": 11, "n_edges": 17, "n_vertices": 11}, "dimensions": {"lines": ["Revolved body, \u00d875.37 mm \u00d7 251.4 mm tall with \u00d8163.5 mm \u00d7 27.8 mm flange, 16.31 mm-wide groove 5.35 mm deep.", "Chamfer 0.4 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d875.37 mm \u00d7 251.4 mm tall with \u00d8163.5 mm \u00d7 27.8 mm flange, 16.31 mm-wide groove 5.35 mm deep. Chamfer 0.4 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 75.37, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 251.4, "min": 75.4, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "flange_d": {"type": "float", "default": 163.5, "min": 90.4, "max": 226.1, "step": 1.0, "group": "Body", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 27.8, "min": 8.3, "max": 125.7, "step": 0.5, "group": "Body", "label": "Flange height (mm)"}, "groove_depth": {"type": "float", "default": 5.35, "min": 2.14, "max": 16.05, "step": 0.1, "group": "Body", "label": "Groove depth (mm)"}, "groove_w": {"type": "float", "default": 16.31, "min": 6.52, "max": 48.93, "step": 0.2, "group": "Body", "label": "Groove width (mm)"}, "groove_pos": {"type": "float", "default": 129.7, "min": 37.7, "max": 213.7, "step": 1.0, "group": "Body", "label": "Groove position (mm)"}, "end_chamfer": {"type": "float", "default": 0.4, "min": 0.1, "max": 1.2, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329444 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 75.37, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 251.4, \"min\": 75.4, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 163.5, \"min\": 90.4, \"max\": 226.1, \"step\": 1.0, \"group\": 'Body', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 27.8, \"min\": 8.3, \"max\": 125.7, \"step\": 0.5, \"group\": 'Body', \"label\": 'Flange height (mm)'},\n    \"groove_depth\": {\"type\": 'float', \"default\": 5.35, \"min\": 2.14, \"max\": 16.05, \"step\": 0.1, \"group\": 'Body', \"label\": 'Groove depth (mm)'},\n    \"groove_w\": {\"type\": 'float', \"default\": 16.31, \"min\": 6.52, \"max\": 48.93, \"step\": 0.2, \"group\": 'Body', \"label\": 'Groove width (mm)'},\n    \"groove_pos\": {\"type\": 'float', \"default\": 129.7, \"min\": 37.7, \"max\": 213.7, \"step\": 1.0, \"group\": 'Body', \"label\": 'Groove position (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.4, \"min\": 0.1, \"max\": 1.2, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"groove_pos\"] - p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2 - p[\"groove_depth\"], p[\"groove_pos\"] - p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2 - p[\"groove_depth\"], p[\"groove_pos\"] + p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2, p[\"groove_pos\"] + p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462c9f25_0881", "family": "block", "tier": 3, "seed": 1177329445, "symmetry": "mirror_x", "op_count": 5, "ir_hash": "f214d61ba9e52648", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 33100.0, "surface_area": 8160.0, "principal_moments": [3830000.0, 8460000.0, 8840000.0], "n_faces": 16, "n_edges": 42, "n_vertices": 28}, "dimensions": {"lines": ["Rectangular body, 50.18 \u00d7 25.2 \u00d7 28 mm (W\u00d7D\u00d7H).", "Four \u00d84.3 mm holes at the corners, 35.126 \u00d7 17.64 mm spacing.", "Fillet radius 2.27 mm on vertical edges.", "Fillet radius 1.024 mm on vertical edges (optional, off by default).", "One \u00d85.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch on the <X face."], "text": "Rectangular body, 50.18 \u00d7 25.2 \u00d7 28 mm (W\u00d7D\u00d7H). Four \u00d84.3 mm holes at the corners, 35.126 \u00d7 17.64 mm spacing. Fillet radius 2.27 mm on vertical edges. Fillet radius 1.024 mm on vertical edges (optional, off by default). One \u00d85.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch on the <X face."}, "params": {"block_w": {"type": "float", "default": 50.18, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 25.2, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 28.0, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 5.7, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}, "filleted2": {"type": "bool", "default": false, "group": "Body", "label": "Fillet corners"}, "face_hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 9.5, "step": 0.5, "group": "Holes", "label": "Side hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329445 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 50.18, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 25.2, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 28.0, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 5.7, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n    \"filleted2\": {\"type\": 'bool', \"default\": False, \"group\": 'Body', \"label\": 'Fillet corners'},\n    \"face_hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 9.5, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Side hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"block_w\"], p[\"block_d\"]) * 0.09006085202886582)\n    if p[\"filleted2\"]:\n        result = result.edges('|Z').fillet(min(p[\"block_w\"], p[\"block_d\"]) * 0.040625444166985554)\n    result = (\n        result.faces('<X').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"face_hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462c9f26_0882", "family": "swept", "tier": 1, "seed": 1177329446, "symmetry": "none", "op_count": 1, "ir_hash": "406a7f65c5d44f40", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 3880.0, "surface_area": 3080.0, "principal_moments": [620000.0, 2340000.0, 2920000.0], "n_faces": 3, "n_edges": 3, "n_vertices": 2}, "dimensions": {"lines": ["\u00d89.4 mm circular section swept along a curved path, ~80 mm span."], "text": "\u00d89.4 mm circular section swept along a curved path, ~80 mm span."}, "params": {"path_w": {"type": "float", "default": 45, "min": 22.5, "max": 81.0, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 80, "min": 40.0, "max": 144.0, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_d": {"type": "float", "default": 9.4, "min": 4.7, "max": 16.9, "step": 1.0, "group": "Section", "label": "Section diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329446 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 45, \"min\": 22.5, \"max\": 81.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 80, \"min\": 40.0, \"max\": 144.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_d\": {\"type\": 'float', \"default\": 9.4, \"min\": 4.7, \"max\": 16.9, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.3518, p[\"path_h\"] * 0.2172), (p[\"path_w\"] * 0.1387, p[\"path_h\"] * 0.2811), (p[\"path_w\"] * 0.2403, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').circle(p[\"sweep_d\"] / 2).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462c9f27_0883", "family": "revolved", "tier": 2, "seed": 1177329447, "symmetry": "radial", "op_count": 2, "ir_hash": "f512205fe5514f59", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 16300.0, "surface_area": 7880.0, "principal_moments": [1180000.0, 6350000.0, 6350000.0], "n_faces": 11, "n_edges": 17, "n_vertices": 11}, "dimensions": {"lines": ["Revolved body, \u00d818.64 mm \u00d7 73.5 mm tall with \u00d829.6 mm \u00d7 8.2 mm flange, 5.74 mm-wide groove 1.45 mm deep.", "Chamfer 0.5 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d818.64 mm \u00d7 73.5 mm tall with \u00d829.6 mm \u00d7 8.2 mm flange, 5.74 mm-wide groove 1.45 mm deep. Chamfer 0.5 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 18.64, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 73.5, "min": 22.1, "max": 220.5, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "flange_d": {"type": "float", "default": 29.6, "min": 22.4, "max": 55.9, "step": 1.0, "group": "Body", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 8.2, "min": 2.5, "max": 36.8, "step": 0.5, "group": "Body", "label": "Flange height (mm)"}, "groove_depth": {"type": "float", "default": 1.45, "min": 0.58, "max": 4.35, "step": 0.1, "group": "Body", "label": "Groove depth (mm)"}, "groove_w": {"type": "float", "default": 5.74, "min": 2.3, "max": 17.22, "step": 0.2, "group": "Body", "label": "Groove width (mm)"}, "groove_pos": {"type": "float", "default": 30.8, "min": 11.0, "max": 62.5, "step": 1.0, "group": "Body", "label": "Groove position (mm)"}, "end_chamfer": {"type": "float", "default": 0.5, "min": 0.1, "max": 1.5, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329447 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 18.64, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 73.5, \"min\": 22.1, \"max\": 220.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 29.6, \"min\": 22.4, \"max\": 55.9, \"step\": 1.0, \"group\": 'Body', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 8.2, \"min\": 2.5, \"max\": 36.8, \"step\": 0.5, \"group\": 'Body', \"label\": 'Flange height (mm)'},\n    \"groove_depth\": {\"type\": 'float', \"default\": 1.45, \"min\": 0.58, \"max\": 4.35, \"step\": 0.1, \"group\": 'Body', \"label\": 'Groove depth (mm)'},\n    \"groove_w\": {\"type\": 'float', \"default\": 5.74, \"min\": 2.3, \"max\": 17.22, \"step\": 0.2, \"group\": 'Body', \"label\": 'Groove width (mm)'},\n    \"groove_pos\": {\"type\": 'float', \"default\": 30.8, \"min\": 11.0, \"max\": 62.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Groove position (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.5, \"min\": 0.1, \"max\": 1.5, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"groove_pos\"] - p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2 - p[\"groove_depth\"], p[\"groove_pos\"] - p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2 - p[\"groove_depth\"], p[\"groove_pos\"] + p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2, p[\"groove_pos\"] + p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462c9f28_0884", "family": "revolved", "tier": 2, "seed": 1177329448, "symmetry": "radial", "op_count": 1, "ir_hash": "c21386edd13e81a8", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 101000.0, "surface_area": 18400.0, "principal_moments": [44700000.0, 44700000.0, 64199999.99999999], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d865 mm \u00d7 45.8 mm tall."], "text": "Revolved body, \u00d865 mm \u00d7 45.8 mm tall."}, "params": {"outer_d": {"type": "float", "default": 65, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 45.8, "min": 13.7, "max": 137.4, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329448 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 65, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 45.8, \"min\": 13.7, \"max\": 137.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462c9f2a_0886", "family": "revolved", "tier": 0, "seed": 1177329450, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "dd5f2227a201434d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 3490.0, "surface_area": 2340.0, "principal_moments": [111000.0, 261000.0, 261000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d814.54 mm \u00d7 31.5 mm tall."], "text": "Revolved body, \u00d814.54 mm \u00d7 31.5 mm tall."}, "params": {"outer_d": {"type": "float", "default": 14.54, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 31.5, "min": 9.4, "max": 94.5, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329450 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 14.54, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 31.5, \"min\": 9.4, \"max\": 94.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462c9f2b_0887", "family": "revolved", "tier": 1, "seed": 1177329451, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "d8e8ea86183b5d99", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 24700.0, "surface_area": 9980.0, "principal_moments": [2110000.0, 15899999.999999998, 15899999.999999998], "n_faces": 8, "n_edges": 14, "n_vertices": 8}, "dimensions": {"lines": ["Revolved body, \u00d822.95 mm \u00d7 85.1 mm tall with \u00d812.5 mm bore.", "Chamfer 0.6 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d822.95 mm \u00d7 85.1 mm tall with \u00d812.5 mm bore. Chamfer 0.6 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 22.95, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 85.1, "min": 25.5, "max": 255.3, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 12.5, "min": 2.0, "max": 16.1, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "end_chamfer": {"type": "float", "default": 0.6, "min": 0.1, "max": 1.8, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329451 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 22.95, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 85.1, \"min\": 25.5, \"max\": 255.3, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 12.5, \"min\": 2.0, \"max\": 16.1, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.6, \"min\": 0.1, \"max\": 1.8, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462c9f2c_0888", "family": "revolved", "tier": 2, "seed": 1177329452, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "e067e4a0bfbfa3da", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 26200.0, "surface_area": 9280.0, "principal_moments": [2970000.0, 9370000.0, 9370000.0], "n_faces": 7, "n_edges": 11, "n_vertices": 7}, "dimensions": {"lines": ["Revolved body, \u00d820 mm \u00d7 75.1 mm tall with \u00d834 mm \u00d7 17.6 mm flange.", "Chamfer 0.5 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d820 mm \u00d7 75.1 mm tall with \u00d834 mm \u00d7 17.6 mm flange. Chamfer 0.5 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 20, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 75.1, "min": 22.5, "max": 225.3, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "flange_d": {"type": "float", "default": 34.0, "min": 24.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 17.6, "min": 5.3, "max": 37.5, "step": 0.5, "group": "Body", "label": "Flange height (mm)"}, "end_chamfer": {"type": "float", "default": 0.5, "min": 0.1, "max": 1.5, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329452 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 20, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 75.1, \"min\": 22.5, \"max\": 225.3, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 34.0, \"min\": 24.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 17.6, \"min\": 5.3, \"max\": 37.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Flange height (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.5, \"min\": 0.1, \"max\": 1.5, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462c9f2d_0889", "family": "lofted", "tier": 1, "seed": 1177329453, "symmetry": "none", "op_count": 2, "ir_hash": "e629bd0fb660ce57", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 38000.0, "surface_area": 8140.0, "principal_moments": [6360000.0, 9460000.0, 9460000.0], "n_faces": 8, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["Lofted body through 2 sections: \u00d843.14 mm circular section \u2192 19.2 \u00d7 19.2 mm rectangular section.", "One \u00d88.9 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 2 sections: \u00d843.14 mm circular section \u2192 19.2 \u00d7 19.2 mm rectangular section. One \u00d88.9 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 43.14, "min": 21.6, "max": 69.0, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 19.2, "min": 7.7, "max": 51.8, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 47.7, "min": 19.1, "max": 95.4, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_bore_d": {"type": "float", "default": 8.9, "min": 2.0, "max": 15.4, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329453 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 43.14, \"min\": 21.6, \"max\": 69.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 19.2, \"min\": 7.7, \"max\": 51.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 47.7, \"min\": 19.1, \"max\": 95.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 8.9, \"min\": 2.0, \"max\": 15.4, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .circle(p[\"loft_base\"] / 2)\n        .workplane(offset=p[\"loft_h\"])\n        .rect(p[\"loft_top\"], p[\"loft_top\"])\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462c9f2e_0890", "family": "revolved", "tier": 1, "seed": 1177329454, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "40cb91d2428a5a52", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 35500.0, "surface_area": 8740.0, "principal_moments": [9590000.0, 9590000.0, 16800000.0], "n_faces": 4, "n_edges": 6, "n_vertices": 4}, "dimensions": {"lines": ["Revolved body, \u00d855 mm \u00d7 20 mm tall with \u00d827.7 mm bore."], "text": "Revolved body, \u00d855 mm \u00d7 20 mm tall with \u00d827.7 mm bore."}, "params": {"outer_d": {"type": "float", "default": 55, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 20.0, "min": 6.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 27.7, "min": 2.0, "max": 38.5, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329454 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 55, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 20.0, \"min\": 6.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 27.7, \"min\": 2.0, \"max\": 38.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462c9f2f_0891", "family": "swept", "tier": 0, "seed": 1177329455, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "19449a43090bea6e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 11000.0, "surface_area": 3440.0, "principal_moments": [508000.0, 3090000.0, 3310000.0], "n_faces": 3, "n_edges": 3, "n_vertices": 2}, "dimensions": {"lines": ["\u00d814.5 mm circular section swept along a curved path, ~45 mm span."], "text": "\u00d814.5 mm circular section swept along a curved path, ~45 mm span."}, "params": {"path_w": {"type": "float", "default": 45, "min": 22.5, "max": 81.0, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 45, "min": 22.5, "max": 81.0, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_d": {"type": "float", "default": 14.5, "min": 7.2, "max": 26.1, "step": 1.0, "group": "Section", "label": "Section diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329455 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 45, \"min\": 22.5, \"max\": 81.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 45, \"min\": 22.5, \"max\": 81.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_d\": {\"type\": 'float', \"default\": 14.5, \"min\": 7.2, \"max\": 26.1, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.0913, p[\"path_h\"] * 0.2542), (p[\"path_w\"] * 0.4263, p[\"path_h\"] * 0.3184), (p[\"path_w\"] * 0.4703, p[\"path_h\"] * 0.8508), (p[\"path_w\"] * 0.7234, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').circle(p[\"sweep_d\"] / 2).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9f30_0892", "family": "plate", "tier": 2, "seed": 1177329456, "symmetry": "radial", "op_count": 3, "ir_hash": "98cd92c2e5bbf416", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 16300.0, "surface_area": 5890.0, "principal_moments": [1300000.0, 6750000.0, 7870000.0], "n_faces": 28, "n_edges": 78, "n_vertices": 52}, "dimensions": {"lines": ["Rectangular body, 70.11 \u00d7 30.5 \u00d7 8 mm (W\u00d7D\u00d7H).", "Eight \u00d84.3 mm holes on a \u00d842 mm bolt circle.", "Chamfer 2.8 mm on vertical edges."], "text": "Rectangular body, 70.11 \u00d7 30.5 \u00d7 8 mm (W\u00d7D\u00d7H). Eight \u00d84.3 mm holes on a \u00d842 mm bolt circle. Chamfer 2.8 mm on vertical edges."}, "params": {"plate_w": {"type": "float", "default": 70.11, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 30.5, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "bolt_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 21.0, "min": 14.0, "max": 31.5, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 8, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}, "chamfer_d": {"type": "float", "default": 2.8, "min": 1.2, "max": 3.7, "step": 0.5, "group": "Body", "label": "Chamfer distance (mm)"}, "chamfered": {"type": "bool", "default": true, "group": "Body", "label": "Chamfer edges"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329456 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 70.11, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 30.5, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 21.0, \"min\": 14.0, \"max\": 31.5, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n    \"chamfer_d\": {\"type\": 'float', \"default\": 2.8, \"min\": 1.2, \"max\": 3.7, \"step\": 0.5, \"group\": 'Body', \"label\": 'Chamfer distance (mm)'},\n    \"chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Chamfer edges'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    if p[\"chamfered\"]:\n        result = result.edges('|Z').chamfer(p[\"chamfer_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462c9f31_0893", "family": "profiled", "tier": 1, "seed": 1177329457, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "b78410808a4d7ede", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 5540.0, "surface_area": 4500.0, "principal_moments": [91600.0, 3790000.0, 3790000.0], "n_faces": 4, "n_edges": 6, "n_vertices": 4}, "dimensions": {"lines": ["Revolved body, \u00d810.26 mm \u00d7 90.1 mm tall with \u00d85.2 mm bore."], "text": "Revolved body, \u00d810.26 mm \u00d7 90.1 mm tall with \u00d85.2 mm bore."}, "params": {"outer_d": {"type": "float", "default": 10.26, "min": 5.1, "max": 20.5, "step": 1.0, "group": "Profile", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 90.1, "min": 27.0, "max": 270.3, "step": 5.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 5.2, "min": 2.0, "max": 8.2, "step": 0.5, "group": "Profile", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329457 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 10.26, \"min\": 5.1, \"max\": 20.5, \"step\": 1.0, \"group\": 'Profile', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 90.1, \"min\": 27.0, \"max\": 270.3, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 5.2, \"min\": 2.0, \"max\": 8.2, \"step\": 0.5, \"group\": 'Profile', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462c9f32_0894", "family": "lofted", "tier": 2, "seed": 1177329458, "symmetry": "none", "op_count": 2, "ir_hash": "ce4b6706e59e09f3", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 31800.0, "surface_area": 7040.0, "principal_moments": [5590000.0, 5590000.0, 7530000.0], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["Lofted body through 3 sections: 6-sided polygon section, 50 mm across corners \u2192 \u00d841.1 mm circular section \u2192 32.2 \u00d7 32.2 mm rectangular section.", "One \u00d812.8 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 3 sections: 6-sided polygon section, 50 mm across corners \u2192 \u00d841.1 mm circular section \u2192 32.2 \u00d7 32.2 mm rectangular section. One \u00d812.8 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 50, "min": 25.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 32.2, "min": 12.9, "max": 60.0, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 26.5, "min": 10.6, "max": 53.0, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_mid": {"type": "float", "default": 41.1, "min": 16.1, "max": 60.0, "step": 1.0, "group": "Body", "label": "Mid size (mm)"}, "loft_bore_d": {"type": "float", "default": 12.8, "min": 2.0, "max": 25.8, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329458 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 50, \"min\": 25.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 32.2, \"min\": 12.9, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 26.5, \"min\": 10.6, \"max\": 53.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_mid\": {\"type\": 'float', \"default\": 41.1, \"min\": 16.1, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Mid size (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 12.8, \"min\": 2.0, \"max\": 25.8, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .polygon(6, p[\"loft_base\"] * 0.5 * 2)\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .circle(p[\"loft_mid\"] / 2)\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .rect(p[\"loft_top\"], p[\"loft_top\"])\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462c9f33_0895", "family": "block", "tier": 1, "seed": 1177329459, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "4727ed89fa291b82", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 148000.0, "surface_area": 23000.0, "principal_moments": [60199999.99999999, 75100000.0, 85200000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 65 \u00d7 46 \u00d7 53.4 mm (W\u00d7D\u00d7H).", "Four \u00d88.4 mm holes at the corners, 45.5 \u00d7 32.2 mm spacing."], "text": "Rectangular body, 65 \u00d7 46 \u00d7 53.4 mm (W\u00d7D\u00d7H). Four \u00d88.4 mm holes at the corners, 45.5 \u00d7 32.2 mm spacing."}, "params": {"block_w": {"type": "float", "default": 65, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 46.0, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 53.4, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 8.4, "min": 2.0, "max": 10.3, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329459 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 65, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 46.0, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 53.4, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 2.0, \"max\": 10.3, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462c9f34_0896", "family": "bracket", "tier": 3, "seed": 1177329460, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "51dfb56a2098ae54", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 12000.0, "surface_area": 7260.0, "principal_moments": [1580000.0, 14499999.999999998, 15699999.999999998], "n_faces": 18, "n_edges": 48, "n_vertices": 32}, "dimensions": {"lines": ["Z-bracket: base leg 65 mm, vertical leg 51.6 mm, top leg 66.5 mm, 15 mm wide, 4 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 5.8 mm corner gusset."], "text": "Z-bracket: base leg 65 mm, vertical leg 51.6 mm, top leg 66.5 mm, 15 mm wide, 4 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 5.8 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 65, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 51.6, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 15.0, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 4.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 66.5, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 6.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}, "gusset_t": {"type": "float", "default": 5.8, "min": 2.0, "max": 7.5, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329460 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 65, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 51.6, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 15.0, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 66.5, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 6.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 5.8, \"min\": 2.0, \"max\": 7.5, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _tl, _vl) * 0.4 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(0, _vl - _bt).lineTo(-_g, _vl - _bt)\n                    .lineTo(0, _vl - _bt - _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9f35_0897", "family": "plate", "tier": 1, "seed": 1177329461, "symmetry": "none", "op_count": 2, "ir_hash": "50e8489a3ce25edb", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 1190.0, "surface_area": 906.0, "principal_moments": [13200.0, 55800.0, 64100.0], "n_faces": 11, "n_edges": 27, "n_vertices": 18}, "dimensions": {"lines": ["Rectangular body, 23.17 \u00d7 10.5 \u00d7 5 mm (W\u00d7D\u00d7H).", "Five \u00d81.2 mm holes in two staggered rows, 8.7 \u00d7 7.6 mm pitch."], "text": "Rectangular body, 23.17 \u00d7 10.5 \u00d7 5 mm (W\u00d7D\u00d7H). Five \u00d81.2 mm holes in two staggered rows, 8.7 \u00d7 7.6 mm pitch."}, "params": {"plate_w": {"type": "float", "default": 23.17, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 10.5, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 5.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 1.2, "min": 2.0, "max": 1.1, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 3, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329461 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 23.17, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 10.5, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 5.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 1.2, \"min\": 2.0, \"max\": 1.1, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 3, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 8.7\n    _ssy = 7.6\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462c9f36_0898", "family": "compound", "tier": 1, "seed": 1177329462, "symmetry": "none", "op_count": 2, "ir_hash": "2aebebc9002d4dc3", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 85600.0, "surface_area": 16600.0, "principal_moments": [18700000.0, 52599999.99999999, 52599999.99999999], "n_faces": 6, "n_edges": 9, "n_vertices": 6}, "dimensions": {"lines": ["\u00d841.13 mm circular section, extruded 65.1 mm thick.", "\u00d822 mm circular section attachment, 29.2 mm long, from top face with a \u00d812.7 mm bore."], "text": "\u00d841.13 mm circular section, extruded 65.1 mm thick. \u00d822 mm circular section attachment, 29.2 mm long, from top face with a \u00d812.7 mm bore."}, "params": {"shaft_d": {"type": "float", "default": 41.13, "min": 20.6, "max": 74.0, "step": 1.0, "group": "Body", "label": "Shaft diameter (mm)"}, "shaft_len": {"type": "float", "default": 65.1, "min": 26.0, "max": 130.2, "step": 1.0, "group": "Body", "label": "Shaft length (mm)"}, "step_d": {"type": "float", "default": 22.0, "min": 11.0, "max": 37.0, "step": 1.0, "group": "Step", "label": "Step diameter (mm)"}, "step_len": {"type": "float", "default": 29.2, "min": 8.8, "max": 73.0, "step": 1.0, "group": "Step", "label": "Step length (mm)"}, "axial_bore": {"type": "float", "default": 12.7, "min": 2.0, "max": 15.8, "step": 0.5, "group": "Bore", "label": "Axial bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329462 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"shaft_d\": {\"type\": 'float', \"default\": 41.13, \"min\": 20.6, \"max\": 74.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft diameter (mm)'},\n    \"shaft_len\": {\"type\": 'float', \"default\": 65.1, \"min\": 26.0, \"max\": 130.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft length (mm)'},\n    \"step_d\": {\"type\": 'float', \"default\": 22.0, \"min\": 11.0, \"max\": 37.0, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step diameter (mm)'},\n    \"step_len\": {\"type\": 'float', \"default\": 29.2, \"min\": 8.8, \"max\": 73.0, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step length (mm)'},\n    \"axial_bore\": {\"type\": 'float', \"default\": 12.7, \"min\": 2.0, \"max\": 15.8, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Axial bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').circle(p[\"shaft_d\"] / 2).extrude(p[\"shaft_len\"]))\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"step_d\"] / 2).extrude(p[\"step_len\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"axial_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462c9f37_0899", "family": "revolved", "tier": 2, "seed": 1177329463, "symmetry": "none", "op_count": 2, "ir_hash": "8645c8fb84406479", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 269000.0, "surface_area": 41100.0, "principal_moments": [269000000.0, 269000000.0, 362000000.0], "n_faces": 14, "n_edges": 23, "n_vertices": 14}, "dimensions": {"lines": ["Revolved body, \u00d855.62 mm \u00d7 64.8 mm tall with \u00d821.9 mm bore, \u00d8119.9 mm \u00d7 15.8 mm flange, 7.58 mm-wide groove 2.51 mm deep.", "Chamfer 1.1 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d855.62 mm \u00d7 64.8 mm tall with \u00d821.9 mm bore, \u00d8119.9 mm \u00d7 15.8 mm flange, 7.58 mm-wide groove 2.51 mm deep. Chamfer 1.1 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 55.62, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 64.8, "min": 19.4, "max": 194.4, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 21.9, "min": 2.0, "max": 38.9, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 119.9, "min": 66.7, "max": 166.9, "step": 1.0, "group": "Body", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 15.8, "min": 4.7, "max": 32.4, "step": 0.5, "group": "Body", "label": "Flange height (mm)"}, "groove_depth": {"type": "float", "default": 2.51, "min": 1.0, "max": 7.53, "step": 0.1, "group": "Body", "label": "Groove depth (mm)"}, "groove_w": {"type": "float", "default": 7.58, "min": 3.03, "max": 22.74, "step": 0.2, "group": "Body", "label": "Groove width (mm)"}, "groove_pos": {"type": "float", "default": 43.8, "min": 9.7, "max": 55.1, "step": 1.0, "group": "Body", "label": "Groove position (mm)"}, "end_chamfer": {"type": "float", "default": 1.1, "min": 0.1, "max": 3.3, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329463 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 55.62, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 64.8, \"min\": 19.4, \"max\": 194.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 21.9, \"min\": 2.0, \"max\": 38.9, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 119.9, \"min\": 66.7, \"max\": 166.9, \"step\": 1.0, \"group\": 'Body', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 15.8, \"min\": 4.7, \"max\": 32.4, \"step\": 0.5, \"group\": 'Body', \"label\": 'Flange height (mm)'},\n    \"groove_depth\": {\"type\": 'float', \"default\": 2.51, \"min\": 1.0, \"max\": 7.53, \"step\": 0.1, \"group\": 'Body', \"label\": 'Groove depth (mm)'},\n    \"groove_w\": {\"type\": 'float', \"default\": 7.58, \"min\": 3.03, \"max\": 22.74, \"step\": 0.2, \"group\": 'Body', \"label\": 'Groove width (mm)'},\n    \"groove_pos\": {\"type\": 'float', \"default\": 43.8, \"min\": 9.7, \"max\": 55.1, \"step\": 1.0, \"group\": 'Body', \"label\": 'Groove position (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 1.1, \"min\": 0.1, \"max\": 3.3, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"groove_pos\"] - p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2 - p[\"groove_depth\"], p[\"groove_pos\"] - p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2 - p[\"groove_depth\"], p[\"groove_pos\"] + p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2, p[\"groove_pos\"] + p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462c9f39_0901", "family": "threaded", "tier": 3, "seed": 1177329465, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "8a467ab933f1b249", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 16400.0, "surface_area": 8070.0, "principal_moments": [1210000.0, 5640000.0, 5640000.0], "n_faces": 639, "n_edges": 1829, "n_vertices": 1192}, "dimensions": {"lines": ["M12x1.5 internal thread, 60.8 mm long."], "text": "M12x1.5 internal thread, 60.8 mm long."}, "params": {"major_d": {"type": "float", "default": 12.0, "min": 4.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Major diameter (mm)"}, "pitch": {"type": "float", "default": 1.5, "min": 0.75, "max": 3.0, "step": 0.05, "group": "Thread", "label": "Pitch (mm)"}, "thread_len": {"type": "float", "default": 60.8, "min": 24.3, "max": 121.6, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329465 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 12.0, \"min\": 4.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Major diameter (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.5, \"min\": 0.75, \"max\": 3.0, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Pitch (mm)'},\n    \"thread_len\": {\"type\": 'float', \"default\": 60.8, \"min\": 24.3, \"max\": 121.6, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.IsoThread(major_diameter=p[\"major_d\"], pitch=p[\"pitch\"], length=p[\"thread_len\"], external=False, end_finishes=(\"fade\", \"fade\"))\n    _body = _bd.Cylinder(radius=(p[\"major_d\"]) * 0.9, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _bore = _bd.Cylinder(radius=(p[\"major_d\"]) / 2, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = (_body - _bore) + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462c9f3a_0902", "family": "flanged", "tier": 2, "seed": 1177329466, "symmetry": "none", "op_count": 3, "ir_hash": "c45b8a3f9679b198", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 6730.0, "surface_area": 4320.0, "principal_moments": [615000.0, 615000.0, 757000.0], "n_faces": 80, "n_edges": 216, "n_vertices": 127}, "dimensions": {"lines": ["Revolved body, \u00d821.87 mm \u00d7 18.9 mm tall with \u00d89.9 mm bore, \u00d838 mm \u00d7 2.4 mm flange.", "Twelve \u00d83.2 mm holes on a \u00d822.8 mm bolt circle.", "Chamfer 0.3 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d821.87 mm \u00d7 18.9 mm tall with \u00d89.9 mm bore, \u00d838 mm \u00d7 2.4 mm flange. Twelve \u00d83.2 mm holes on a \u00d822.8 mm bolt circle. Chamfer 0.3 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 21.87, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 18.9, "min": 5.7, "max": 47.2, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 9.9, "min": 2.0, "max": 15.3, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 38.0, "min": 28.4, "max": 65.6, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 2.4, "min": 0.7, "max": 7.6, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 11.4, "min": 7.6, "max": 17.1, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 12, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}, "end_chamfer": {"type": "float", "default": 0.3, "min": 0.1, "max": 2.0, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329466 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 21.87, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 18.9, \"min\": 5.7, \"max\": 47.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 9.9, \"min\": 2.0, \"max\": 15.3, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 38.0, \"min\": 28.4, \"max\": 65.6, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 2.4, \"min\": 0.7, \"max\": 7.6, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 11.4, \"min\": 7.6, \"max\": 17.1, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 12, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.3, \"min\": 0.1, \"max\": 2.0, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462c9f3b_0903", "family": "gear", "tier": 0, "seed": 1177329467, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "88c4675470222433", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 3980.0, "surface_area": 2710.0, "principal_moments": [292000.0, 292000.0, 571000.0], "n_faces": 164, "n_edges": 486, "n_vertices": 324}, "dimensions": {"lines": ["Spur gear, module 1.25 mm, 27 teeth (pitch \u00d833.75 mm), face width 4.5 mm."], "text": "Spur gear, module 1.25 mm, 27 teeth (pitch \u00d833.75 mm), face width 4.5 mm."}, "params": {"module": {"type": "float", "default": 1.25, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 27, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 4.5, "min": 1.8, "max": 11.2, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329467 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 1.25, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 27, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 4.5, \"min\": 1.8, \"max\": 11.2, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462c9f3c_0904", "family": "bracket", "tier": 1, "seed": 1177329468, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "4ad578c1b8ac8150", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 7960.0, "surface_area": 4280.0, "principal_moments": [789000.0, 2000000.0, 2020000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["L-bracket: base leg 40 mm, vertical leg 33.6 mm, 23.86 mm wide, 5 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."], "text": "L-bracket: base leg 40 mm, vertical leg 33.6 mm, 23.86 mm wide, 5 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 40, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 33.6, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 23.86, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 5.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 9.5, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329468 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 40, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 33.6, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 23.86, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 9.5, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462c9f3d_0905", "family": "revolved", "tier": 1, "seed": 1177329469, "symmetry": "none", "op_count": 1, "ir_hash": "20f27359fcece3ce", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 1020000.0, "surface_area": 106000.0, "principal_moments": [995000000.0, 6510000000.0, 6510000000.0], "n_faces": 4, "n_edges": 6, "n_vertices": 4}, "dimensions": {"lines": ["Revolved body, \u00d879.64 mm \u00d7 266.3 mm tall with \u00d838.4 mm bore."], "text": "Revolved body, \u00d879.64 mm \u00d7 266.3 mm tall with \u00d838.4 mm bore."}, "params": {"outer_d": {"type": "float", "default": 79.64, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 266.3, "min": 79.9, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 38.4, "min": 2.0, "max": 55.7, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329469 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 79.64, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 266.3, \"min\": 79.9, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 38.4, \"min\": 2.0, \"max\": 55.7, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462c9f3e_0906", "family": "block", "tier": 1, "seed": 1177329470, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "ee5bf54a3481762c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 100000.0, "surface_area": 17500.0, "principal_moments": [30199999.999999996, 40500000.0, 49799999.99999999], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 49.17 \u00d7 35.9 \u00d7 59.9 mm (W\u00d7D\u00d7H).", "Four \u00d85.3 mm holes at the corners, 34.419 \u00d7 25.13 mm spacing."], "text": "Rectangular body, 49.17 \u00d7 35.9 \u00d7 59.9 mm (W\u00d7D\u00d7H). Four \u00d85.3 mm holes at the corners, 34.419 \u00d7 25.13 mm spacing."}, "params": {"block_w": {"type": "float", "default": 49.17, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 35.9, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 59.9, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 8.1, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329470 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 49.17, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 35.9, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 59.9, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 8.1, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462c9f3f_0907", "family": "threaded", "tier": 1, "seed": 1177329471, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "04bdb5e33944cd77", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 4010.0, "surface_area": 2940.0, "principal_moments": [130000.0, 430000.0, 430000.0], "n_faces": 215, "n_edges": 585, "n_vertices": 372}, "dimensions": {"lines": ["M8x1.25 internal thread, 33.1 mm long."], "text": "M8x1.25 internal thread, 33.1 mm long."}, "params": {"major_d": {"type": "float", "default": 8.0, "min": 4.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Major diameter (mm)"}, "pitch": {"type": "float", "default": 1.25, "min": 0.62, "max": 2.5, "step": 0.05, "group": "Thread", "label": "Pitch (mm)"}, "thread_len": {"type": "float", "default": 33.1, "min": 13.2, "max": 66.2, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329471 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 8.0, \"min\": 4.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Major diameter (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.25, \"min\": 0.62, \"max\": 2.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Pitch (mm)'},\n    \"thread_len\": {\"type\": 'float', \"default\": 33.1, \"min\": 13.2, \"max\": 66.2, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.IsoThread(major_diameter=p[\"major_d\"], pitch=p[\"pitch\"], length=p[\"thread_len\"], external=False, end_finishes=(\"fade\", \"fade\"))\n    _body = _bd.Cylinder(radius=(p[\"major_d\"]) * 0.9, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _bore = _bd.Cylinder(radius=(p[\"major_d\"]) / 2, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = (_body - _bore) + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462c9f40_0908", "family": "lofted", "tier": 2, "seed": 1177329472, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "e99810e2b75ea355", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 69900.0, "surface_area": 12500.0, "principal_moments": [21400000.0, 23599999.999999996, 23599999.999999996], "n_faces": 8, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["Lofted body through 3 sections: \u00d857.48 mm circular section \u2192 \u00d844 mm circular section \u2192 30.5 \u00d7 30.5 mm rectangular section.", "One \u00d814.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 3 sections: \u00d857.48 mm circular section \u2192 \u00d844 mm circular section \u2192 30.5 \u00d7 30.5 mm rectangular section. One \u00d814.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 57.48, "min": 28.7, "max": 92.0, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 30.5, "min": 12.2, "max": 69.0, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 48.5, "min": 19.4, "max": 97.0, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_mid": {"type": "float", "default": 44.0, "min": 15.2, "max": 69.0, "step": 1.0, "group": "Body", "label": "Mid size (mm)"}, "loft_bore_d": {"type": "float", "default": 14.3, "min": 2.0, "max": 24.4, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329472 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 57.48, \"min\": 28.7, \"max\": 92.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 30.5, \"min\": 12.2, \"max\": 69.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 48.5, \"min\": 19.4, \"max\": 97.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_mid\": {\"type\": 'float', \"default\": 44.0, \"min\": 15.2, \"max\": 69.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Mid size (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 14.3, \"min\": 2.0, \"max\": 24.4, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .circle(p[\"loft_base\"] / 2)\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .circle(p[\"loft_mid\"] / 2)\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .rect(p[\"loft_top\"], p[\"loft_top\"])\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462c9f41_0909", "family": "sketched", "tier": 0, "seed": 1177329473, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "55287361e21216d5", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 30300.0, "surface_area": 14000.0, "principal_moments": [5430000.0, 5430000.0, 8190000.0], "n_faces": 9, "n_edges": 16, "n_vertices": 9}, "dimensions": {"lines": ["Revolved organic body from a freeform sketched section (8 segments: 5 straight, 1 arc, 2 curves), ~30.564 \u00d7 30 mm half-silhouette."], "text": "Revolved organic body from a freeform sketched section (8 segments: 5 straight, 1 arc, 2 curves), ~30.564 \u00d7 30 mm half-silhouette."}, "params": {"sk_r": {"type": "float", "default": 37.02, "min": 18.5, "max": 66.6, "step": 1.0, "group": "Sketch", "label": "Max radius (mm)"}, "sk_h": {"type": "float", "default": 30, "min": 15.0, "max": 54.0, "step": 1.0, "group": "Sketch", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329473 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_r\": {\"type\": 'float', \"default\": 37.02, \"min\": 18.5, \"max\": 66.6, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Max radius (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 30, \"min\": 15.0, \"max\": 54.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XZ').moveTo(p[\"sk_r\"] * 0.707, p[\"sk_h\"] * 0.0).lineTo(p[\"sk_r\"] * 0.1399, p[\"sk_h\"] * 0.1484).threePointArc((p[\"sk_r\"] * 0.2764, p[\"sk_h\"] * 0.1712), (p[\"sk_r\"] * 0.6351, p[\"sk_h\"] * 0.194)).bezier([(p[\"sk_r\"] * 0.6351, p[\"sk_h\"] * 0.194), (p[\"sk_r\"] * 0.8517, p[\"sk_h\"] * 0.221), (p[\"sk_r\"] * 0.9011, p[\"sk_h\"] * 0.2481)]).bezier([(p[\"sk_r\"] * 0.9011, p[\"sk_h\"] * 0.2481), (p[\"sk_r\"] * 0.6893, p[\"sk_h\"] * 0.274), (p[\"sk_r\"] * 0.7085, p[\"sk_h\"] * 0.3)]).lineTo(p[\"sk_r\"] * 0.1539, p[\"sk_h\"] * 0.9272).lineTo(p[\"sk_r\"] * 0.4415, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.0755, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.0755, p[\"sk_h\"] * 0.0).close().revolve())\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462c9f42_0910", "family": "revolved", "tier": 0, "seed": 1177329474, "symmetry": "none", "op_count": 1, "ir_hash": "398daa3ad683e13f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 168000.0, "surface_area": 27200.0, "principal_moments": [107000000.0, 110000000.0, 110000000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d865.09 mm \u00d7 75.7 mm tall."], "text": "Revolved body, \u00d865.09 mm \u00d7 75.7 mm tall."}, "params": {"outer_d": {"type": "float", "default": 65.09, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 75.7, "min": 22.7, "max": 227.1, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329474 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 65.09, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 75.7, \"min\": 22.7, \"max\": 227.1, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462c9f43_0911", "family": "lofted", "tier": 1, "seed": 1177329475, "symmetry": "none", "op_count": 2, "ir_hash": "1606bcf0e01bf9a3", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 67700.0, "surface_area": 13200.0, "principal_moments": [19900000.0, 25099999.999999996, 25099999.999999996], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["Lofted body through 2 sections: 6-sided polygon section, 50 mm across corners \u2192 38.5 \u00d7 38.5 mm rectangular section.", "One \u00d818 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 2 sections: 6-sided polygon section, 50 mm across corners \u2192 38.5 \u00d7 38.5 mm rectangular section. One \u00d818 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 50, "min": 25.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 38.5, "min": 15.4, "max": 60.0, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 51.9, "min": 20.8, "max": 103.8, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_bore_d": {"type": "float", "default": 18.0, "min": 2.0, "max": 30.8, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329475 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 50, \"min\": 25.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 38.5, \"min\": 15.4, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 51.9, \"min\": 20.8, \"max\": 103.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 18.0, \"min\": 2.0, \"max\": 30.8, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .polygon(6, p[\"loft_base\"] * 0.5 * 2)\n        .workplane(offset=p[\"loft_h\"])\n        .rect(p[\"loft_top\"], p[\"loft_top\"])\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462c9f44_0912", "family": "block", "tier": 2, "seed": 1177329476, "symmetry": "none", "op_count": 3, "ir_hash": "3648327fd00ef824", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 4210.0, "surface_area": 2400.0, "principal_moments": [186000.0, 194000.0, 298000.0], "n_faces": 17, "n_edges": 45, "n_vertices": 30}, "dimensions": {"lines": ["Rectangular body, 20.21 \u00d7 10.7 \u00d7 20.9 mm (W\u00d7D\u00d7H).", "Seven \u00d81.6 mm holes in two staggered rows, 5.1 \u00d7 4.9 mm pitch.", "Fillet radius 0.875 mm on vertical edges."], "text": "Rectangular body, 20.21 \u00d7 10.7 \u00d7 20.9 mm (W\u00d7D\u00d7H). Seven \u00d81.6 mm holes in two staggered rows, 5.1 \u00d7 4.9 mm pitch. Fillet radius 0.875 mm on vertical edges."}, "params": {"block_w": {"type": "float", "default": 20.21, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 10.7, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 20.9, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 1.6, "min": 2.0, "max": 1.1, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 4, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329476 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 20.21, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 10.7, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 20.9, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 1.6, \"min\": 2.0, \"max\": 1.1, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 4, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 5.1\n    _ssy = 4.9\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"block_w\"], p[\"block_d\"]) * 0.08177996561679585)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462c9f45_0913", "family": "swept", "tier": 1, "seed": 1177329477, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "2a5aa127f1b0032b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 21300.0, "surface_area": 7050.0, "principal_moments": [2100000.0, 20100000.0, 21600000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["14.9 \u00d7 12.8 mm rectangular section swept along a curved path, ~100 mm span."], "text": "14.9 \u00d7 12.8 mm rectangular section swept along a curved path, ~100 mm span."}, "params": {"path_w": {"type": "float", "default": 65, "min": 32.5, "max": 117.0, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 100, "min": 50.0, "max": 180.0, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_a": {"type": "float", "default": 14.9, "min": 7.5, "max": 26.8, "step": 1.0, "group": "Section", "label": "Section width (mm)"}, "sweep_b": {"type": "float", "default": 12.8, "min": 6.4, "max": 23.0, "step": 1.0, "group": "Section", "label": "Section depth (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329477 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 65, \"min\": 32.5, \"max\": 117.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 100, \"min\": 50.0, \"max\": 180.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_a\": {\"type\": 'float', \"default\": 14.9, \"min\": 7.5, \"max\": 26.8, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section width (mm)'},\n    \"sweep_b\": {\"type\": 'float', \"default\": 12.8, \"min\": 6.4, \"max\": 23.0, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section depth (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.3316), (p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.5229), (p[\"path_w\"] * 0.4135, p[\"path_h\"] * 0.6311), (p[\"path_w\"] * 0.5215, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').rect(p[\"sweep_a\"], p[\"sweep_b\"]).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462c9f46_0914", "family": "tapped", "tier": 1, "seed": 1177329478, "symmetry": "none", "op_count": 1, "ir_hash": "a6ee5452986cef51", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 1750.0, "surface_area": 1060.0, "principal_moments": [43400.0, 43400.0, 57700.0], "n_faces": 103, "n_edges": 277, "n_vertices": 176}, "dimensions": {"lines": ["One M5x0.8 tapped hole in a cylinder."], "text": "One M5x0.8 tapped hole in a cylinder."}, "params": {"major_d": {"type": "float", "default": 5.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 0.8, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 10.0, "min": 6.0, "max": 18.0, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "body_d": {"type": "float", "default": 15.6, "min": 9.0, "max": 25.0, "step": 1.0, "group": "Body", "label": "Outer \u00d8 (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329478 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 0.8, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 10.0, \"min\": 6.0, \"max\": 18.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"body_d\": {\"type\": 'float', \"default\": 15.6, \"min\": 9.0, \"max\": 25.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer \u00d8 (mm)'},\n}\n\n\ndef build(p):\n\n    _W = _D = p[\"body_d\"]\n    _H = p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Cylinder(radius=_W / 2, height=_H)\n    _locs = [(0.0, 0.0)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462c9f47_0915", "family": "bracket", "tier": 1, "seed": 1177329479, "symmetry": "none", "op_count": 1, "ir_hash": "01221b6324083a34", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 34000.0, "surface_area": 10800.0, "principal_moments": [6250000.0, 12599999.999999998, 14099999.999999998], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["C-channel bracket: base leg 31.3 mm, vertical leg 27.9 mm, 60 mm wide, 8 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."], "text": "C-channel bracket: base leg 31.3 mm, vertical leg 27.9 mm, 60 mm wide, 8 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 31.3, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 27.9, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 60.0, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 8.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329479 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 31.3, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 27.9, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 60.0, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462c9f48_0916", "family": "enclosure", "tier": 3, "seed": 1177329480, "symmetry": "none", "op_count": 4, "ir_hash": "5663bb4417fe216a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 108000.0, "surface_area": 47400.0, "principal_moments": [101000000.0, 163000000.0, 173000000.0], "n_faces": 23, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 95 \u00d7 60.6 \u00d7 65.1 mm (W\u00d7D\u00d7H).", "Hollowed to 4.6 mm wall thickness, open at top face.", "Four \u00d84.3 mm holes at the corners, 66.5 \u00d7 42.42 mm spacing.", "Fillet radius 4.772 mm on vertical edges."], "text": "Rectangular body, 95 \u00d7 60.6 \u00d7 65.1 mm (W\u00d7D\u00d7H). Hollowed to 4.6 mm wall thickness, open at top face. Four \u00d84.3 mm holes at the corners, 66.5 \u00d7 42.42 mm spacing. Fillet radius 4.772 mm on vertical edges."}, "params": {"enc_w": {"type": "float", "default": 95, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 60.6, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 65.1, "min": 26.0, "max": 130.2, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 4.6, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329480 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 95, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 60.6, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 65.1, \"min\": 26.0, \"max\": 130.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 4.6, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"enc_w\"] * 0.7, p[\"enc_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"enc_w\"], p[\"enc_d\"]) * 0.07874866197283012)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462c9f49_0917", "family": "bracket", "tier": 1, "seed": 1177329481, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "428e5806ef694c6f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 20600.0, "surface_area": 10700.0, "principal_moments": [5450000.0, 40800000.0, 45000000.0], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Z-bracket: base leg 75 mm, vertical leg 89.4 mm, top leg 60.2 mm, 19.32 mm wide, 5 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."], "text": "Z-bracket: base leg 75 mm, vertical leg 89.4 mm, top leg 60.2 mm, 19.32 mm wide, 5 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 75, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 89.4, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 19.32, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 5.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 60.2, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 7.7, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329481 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 75, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 89.4, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 19.32, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 60.2, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 7.7, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462c9f4a_0918", "family": "ribbed", "tier": 1, "seed": 1177329482, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "4652a5acb597bbc1", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 13900.0, "surface_area": 8690.0, "principal_moments": [1570000.0, 2300000.0, 2730000.0], "n_faces": 46, "n_edges": 112, "n_vertices": 68}, "dimensions": {"lines": ["Rectangular body, 39.08 \u00d7 23.3 \u00d7 4 mm (W\u00d7D\u00d7H).", "Five ribs, 3.8 mm thick, 17.3 mm tall."], "text": "Rectangular body, 39.08 \u00d7 23.3 \u00d7 4 mm (W\u00d7D\u00d7H). Five ribs, 3.8 mm thick, 17.3 mm tall."}, "params": {"base_w": {"type": "float", "default": 39.08, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 23.3, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 4.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 5, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 17.3, "min": 6.9, "max": 34.6, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 3.8, "min": 1.0, "max": 9.5, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329482 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 39.08, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 23.3, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 5, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 17.3, \"min\": 6.9, \"max\": 34.6, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 3.8, \"min\": 1.0, \"max\": 9.5, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462c9f4b_0919", "family": "threaded", "tier": 1, "seed": 1177329483, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "ecbdb40fc0b15249", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 66200.0, "surface_area": 17300.0, "principal_moments": [19500000.0, 30499999.999999996, 30499999.999999996], "n_faces": 319, "n_edges": 909, "n_vertices": 592}, "dimensions": {"lines": ["M24x3 internal thread, 61.5 mm long."], "text": "M24x3 internal thread, 61.5 mm long."}, "params": {"major_d": {"type": "float", "default": 24.0, "min": 4.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Major diameter (mm)"}, "pitch": {"type": "float", "default": 3.0, "min": 1.5, "max": 6.0, "step": 0.05, "group": "Thread", "label": "Pitch (mm)"}, "thread_len": {"type": "float", "default": 61.5, "min": 24.6, "max": 123.0, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329483 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 24.0, \"min\": 4.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Major diameter (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 3.0, \"min\": 1.5, \"max\": 6.0, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Pitch (mm)'},\n    \"thread_len\": {\"type\": 'float', \"default\": 61.5, \"min\": 24.6, \"max\": 123.0, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.IsoThread(major_diameter=p[\"major_d\"], pitch=p[\"pitch\"], length=p[\"thread_len\"], external=False, end_finishes=(\"fade\", \"fade\"))\n    _body = _bd.Cylinder(radius=(p[\"major_d\"]) * 0.9, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _bore = _bd.Cylinder(radius=(p[\"major_d\"]) / 2, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = (_body - _bore) + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462c9f4c_0920", "family": "gear", "tier": 2, "seed": 1177329484, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "b1a282e949451401", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 86600.0, "surface_area": 18200.0, "principal_moments": [39100000.0, 39100000.0, 74100000.0], "n_faces": 153, "n_edges": 453, "n_vertices": 302}, "dimensions": {"lines": ["Helical gear, module 2.5 mm, 30 teeth (pitch \u00d875 mm), face width 16.9 mm, 18.7\u00b0 helix, \u00d811.6 mm bore."], "text": "Helical gear, module 2.5 mm, 30 teeth (pitch \u00d875 mm), face width 16.9 mm, 18.7\u00b0 helix, \u00d811.6 mm bore."}, "params": {"module": {"type": "float", "default": 2.5, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 30, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 16.9, "min": 6.8, "max": 42.2, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "helix_angle": {"type": "float", "default": 18.7, "min": 5.0, "max": 40.0, "step": 1.0, "group": "Gear", "label": "Helix angle (deg)"}, "profile_shift": {"type": "float", "default": 0.46, "min": -0.5, "max": 0.7, "step": 0.05, "group": "Gear", "label": "Profile shift"}, "root_fillet": {"type": "float", "default": 0.67, "min": 0.0, "max": 1.25, "step": 0.05, "group": "Gear", "label": "Root fillet (mm)"}, "bore_d": {"type": "float", "default": 11.6, "min": 2.0, "max": 41.2, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329484 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 2.5, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 30, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 16.9, \"min\": 6.8, \"max\": 42.2, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"helix_angle\": {\"type\": 'float', \"default\": 18.7, \"min\": 5.0, \"max\": 40.0, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Helix angle (deg)'},\n    \"profile_shift\": {\"type\": 'float', \"default\": 0.46, \"min\": -0.5, \"max\": 0.7, \"step\": 0.05, \"group\": 'Gear', \"label\": 'Profile shift'},\n    \"root_fillet\": {\"type\": 'float', \"default\": 0.67, \"min\": 0.0, \"max\": 1.25, \"step\": 0.05, \"group\": 'Gear', \"label\": 'Root fillet (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 11.6, \"min\": 2.0, \"max\": 41.2, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.HelicalGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"], helix_angle=math.radians(p[\"helix_angle\"]), herringbone=False, profile_shift=p[\"profile_shift\"], root_fillet=p[\"root_fillet\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462c9f4d_0921", "family": "bracket", "tier": 3, "seed": 1177329485, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "b8b5a50eb8863fdc", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 16500.0, "surface_area": 9770.0, "principal_moments": [2600000.0, 10800000.0, 11499999.999999998], "n_faces": 22, "n_edges": 70, "n_vertices": 44}, "dimensions": {"lines": ["Z-bracket: base leg 55 mm, vertical leg 35 mm, top leg 35.6 mm, 35 mm wide, 4 mm thick; 2 \u00d7 \u00d85.3 mm holes per leg; 3.4 mm corner gusset."], "text": "Z-bracket: base leg 55 mm, vertical leg 35 mm, top leg 35.6 mm, 35 mm wide, 4 mm thick; 2 \u00d7 \u00d85.3 mm holes per leg; 3.4 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 55, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 35.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 35, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 4.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 35.6, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 2, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}, "gusset_t": {"type": "float", "default": 3.4, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329485 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 55, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 35.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 35, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 35.6, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 2, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 3.4, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _tl, _vl) * 0.4 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(0, _vl - _bt).lineTo(-_g, _vl - _bt)\n                    .lineTo(0, _vl - _bt - _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462c9f4e_0922", "family": "ribbed", "tier": 2, "seed": 1177329486, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "562c56ac1eafbf07", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 20000.0, "surface_area": 13400.0, "principal_moments": [5390000.0, 12499999.999999998, 17100000.0], "n_faces": 30, "n_edges": 72, "n_vertices": 44}, "dimensions": {"lines": ["Rectangular body, 80 \u00d7 44.8 \u00d7 3 mm (W\u00d7D\u00d7H).", "Three ribs, 3.9 mm thick, 12.4 mm tall."], "text": "Rectangular body, 80 \u00d7 44.8 \u00d7 3 mm (W\u00d7D\u00d7H). Three ribs, 3.9 mm thick, 12.4 mm tall."}, "params": {"base_w": {"type": "float", "default": 80, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 44.8, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 3.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 3, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 12.4, "min": 5.0, "max": 24.8, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 3.9, "min": 1.0, "max": 9.8, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329486 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 80, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 44.8, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 3, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 12.4, \"min\": 5.0, \"max\": 24.8, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 3.9, \"min\": 1.0, \"max\": 9.8, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462c9f4f_0923", "family": "swept", "tier": 1, "seed": 1177329487, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "e8ea628c62efec91", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 3510.0, "surface_area": 2380.0, "principal_moments": [197000.0, 3090000.0, 3270000.0], "n_faces": 3, "n_edges": 3, "n_vertices": 2}, "dimensions": {"lines": ["\u00d86.2 mm circular section swept along a curved path, ~88.61 mm span."], "text": "\u00d86.2 mm circular section swept along a curved path, ~88.61 mm span."}, "params": {"path_w": {"type": "float", "default": 75, "min": 37.5, "max": 135.0, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 88.61, "min": 44.3, "max": 159.5, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_d": {"type": "float", "default": 6.2, "min": 3.1, "max": 11.2, "step": 1.0, "group": "Section", "label": "Section diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329487 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 75, \"min\": 37.5, \"max\": 135.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 88.61, \"min\": 44.3, \"max\": 159.5, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_d\": {\"type\": 'float', \"default\": 6.2, \"min\": 3.1, \"max\": 11.2, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.2053), (p[\"path_w\"] * 0.3672, p[\"path_h\"] * 0.5204), (p[\"path_w\"] * 0.5555, p[\"path_h\"] * 0.5466), (p[\"path_w\"] * 0.5583, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').circle(p[\"sweep_d\"] / 2).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462c9f50_0924", "family": "profiled", "tier": 2, "seed": 1177329488, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "7c310d9bc0376d00", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 77900.0, "surface_area": 16200.0, "principal_moments": [5320000.0, 299000000.0, 301000000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["27.5 \u00d7 15 mm slot section, extruded 214 mm thick."], "text": "27.5 \u00d7 15 mm slot section, extruded 214 mm thick."}, "params": {"slot_len": {"type": "float", "default": 27.5, "min": 13.8, "max": 55.0, "step": 1.0, "group": "Profile", "label": "Slot length (mm)"}, "slot_w": {"type": "float", "default": 15, "min": 7.5, "max": 30.0, "step": 0.5, "group": "Profile", "label": "Slot width (mm)"}, "length": {"type": "float", "default": 214.0, "min": 64.2, "max": 642.0, "step": 5.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329488 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"slot_len\": {\"type\": 'float', \"default\": 27.5, \"min\": 13.8, \"max\": 55.0, \"step\": 1.0, \"group\": 'Profile', \"label\": 'Slot length (mm)'},\n    \"slot_w\": {\"type\": 'float', \"default\": 15, \"min\": 7.5, \"max\": 30.0, \"step\": 0.5, \"group\": 'Profile', \"label\": 'Slot width (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 214.0, \"min\": 64.2, \"max\": 642.0, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').slot2D(p[\"slot_len\"], p[\"slot_w\"]).extrude(p[\"length\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462c9f51_0925", "family": "compound", "tier": 1, "seed": 1177329489, "symmetry": "none", "op_count": 2, "ir_hash": "8de60d8a1c238ba3", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 293000.0, "surface_area": 28300.0, "principal_moments": [196000000.0, 223000000.0, 257000000.0], "n_faces": 13, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Rectangular body, 60 \u00d7 78.1 \u00d7 59.1 mm (W\u00d7D\u00d7H).", "6-sided polygon section, 28.4 mm across corners attachment, 30.4 mm long, from left face."], "text": "Rectangular body, 60 \u00d7 78.1 \u00d7 59.1 mm (W\u00d7D\u00d7H). 6-sided polygon section, 28.4 mm across corners attachment, 30.4 mm long, from left face."}, "params": {"block_w": {"type": "float", "default": 60, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 78.1, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 59.1, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "spig_sides": {"type": "int", "default": 6, "min": 3, "max": 8, "step": 1, "group": "Spigot", "label": "Spigot sides"}, "spig_r": {"type": "float", "default": 14.2, "min": 7.1, "max": 20.7, "step": 1.0, "group": "Spigot", "label": "Spigot circumradius (mm)"}, "spig_len": {"type": "float", "default": 30.4, "min": 7.4, "max": 98.4, "step": 1.0, "group": "Spigot", "label": "Spigot length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329489 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 60, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 78.1, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 59.1, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"spig_sides\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Spigot', \"label\": 'Spigot sides'},\n    \"spig_r\": {\"type\": 'float', \"default\": 14.2, \"min\": 7.1, \"max\": 20.7, \"step\": 1.0, \"group\": 'Spigot', \"label\": 'Spigot circumradius (mm)'},\n    \"spig_len\": {\"type\": 'float', \"default\": 30.4, \"min\": 7.4, \"max\": 98.4, \"step\": 1.0, \"group\": 'Spigot', \"label\": 'Spigot length (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"spig_sides\"], p[\"spig_r\"] * 2).extrude(p[\"spig_len\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462c9f52_0926", "family": "revolved", "tier": 0, "seed": 1177329490, "symmetry": "none", "op_count": 1, "ir_hash": "f43f244f26c5b120", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 18800.0, "surface_area": 6480.0, "principal_moments": [2540000.0, 3050000.0, 3050000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d830 mm \u00d7 39.9 mm tall."], "text": "Revolved body, \u00d830 mm \u00d7 39.9 mm tall."}, "params": {"outer_d": {"type": "float", "default": 30.0, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 39.9, "min": 12.0, "max": 119.7, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329490 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 30.0, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 39.9, \"min\": 12.0, \"max\": 119.7, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462c9f53_0927", "family": "gear", "tier": 1, "seed": 1177329491, "symmetry": "none", "op_count": 1, "ir_hash": "4eaf8f741df21f93", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 3600.0, "surface_area": 2580.0, "principal_moments": [251000.0, 251000.0, 490000.0], "n_faces": 159, "n_edges": 471, "n_vertices": 314}, "dimensions": {"lines": ["Spur gear, module 1.25 mm, 26 teeth (pitch \u00d832.5 mm), face width 4.5 mm, \u00d85 mm bore."], "text": "Spur gear, module 1.25 mm, 26 teeth (pitch \u00d832.5 mm), face width 4.5 mm, \u00d85 mm bore."}, "params": {"module": {"type": "float", "default": 1.25, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 26, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 4.5, "min": 1.8, "max": 11.2, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "bore_d": {"type": "float", "default": 5.0, "min": 2.0, "max": 17.6, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329491 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 1.25, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 26, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 4.5, \"min\": 1.8, \"max\": 11.2, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 5.0, \"min\": 2.0, \"max\": 17.6, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462c9f54_0928", "family": "compound", "tier": 1, "seed": 1177329492, "symmetry": "none", "op_count": 2, "ir_hash": "c1e81da37cfb670c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 3110.0, "surface_area": 2170.0, "principal_moments": [57800.0, 398000.0, 398000.0], "n_faces": 6, "n_edges": 9, "n_vertices": 6}, "dimensions": {"lines": ["\u00d812 mm circular section, extruded 25.3 mm thick.", "\u00d88.4 mm circular section attachment, 16.4 mm long, from top face with a \u00d84.5 mm bore."], "text": "\u00d812 mm circular section, extruded 25.3 mm thick. \u00d88.4 mm circular section attachment, 16.4 mm long, from top face with a \u00d84.5 mm bore."}, "params": {"shaft_d": {"type": "float", "default": 12.0, "min": 6.0, "max": 21.6, "step": 1.0, "group": "Body", "label": "Shaft diameter (mm)"}, "shaft_len": {"type": "float", "default": 25.3, "min": 10.1, "max": 50.6, "step": 1.0, "group": "Body", "label": "Shaft length (mm)"}, "step_d": {"type": "float", "default": 8.4, "min": 4.2, "max": 10.8, "step": 1.0, "group": "Step", "label": "Step diameter (mm)"}, "step_len": {"type": "float", "default": 16.4, "min": 4.9, "max": 41.0, "step": 1.0, "group": "Step", "label": "Step length (mm)"}, "axial_bore": {"type": "float", "default": 4.5, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Bore", "label": "Axial bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329492 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"shaft_d\": {\"type\": 'float', \"default\": 12.0, \"min\": 6.0, \"max\": 21.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft diameter (mm)'},\n    \"shaft_len\": {\"type\": 'float', \"default\": 25.3, \"min\": 10.1, \"max\": 50.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft length (mm)'},\n    \"step_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 4.2, \"max\": 10.8, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step diameter (mm)'},\n    \"step_len\": {\"type\": 'float', \"default\": 16.4, \"min\": 4.9, \"max\": 41.0, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step length (mm)'},\n    \"axial_bore\": {\"type\": 'float', \"default\": 4.5, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Axial bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').circle(p[\"shaft_d\"] / 2).extrude(p[\"shaft_len\"]))\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"step_d\"] / 2).extrude(p[\"step_len\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"axial_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462c9f55_0929", "family": "lofted", "tier": 0, "seed": 1177329493, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "5c18527c4930d904", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 53500.0, "surface_area": 8710.0, "principal_moments": [11300000.0, 15399999.999999998, 15399999.999999998], "n_faces": 7, "n_edges": 15, "n_vertices": 10}, "dimensions": {"lines": ["Lofted body through 2 sections: 45 \u00d7 45 mm rectangular section \u2192 \u00d819.2 mm circular section."], "text": "Lofted body through 2 sections: 45 \u00d7 45 mm rectangular section \u2192 \u00d819.2 mm circular section."}, "params": {"loft_base": {"type": "float", "default": 45, "min": 22.5, "max": 72.0, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 19.2, "min": 7.7, "max": 54.0, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 51.9, "min": 20.8, "max": 103.8, "step": 1.0, "group": "Body", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329493 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 45, \"min\": 22.5, \"max\": 72.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 19.2, \"min\": 7.7, \"max\": 54.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 51.9, \"min\": 20.8, \"max\": 103.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .rect(p[\"loft_base\"], p[\"loft_base\"])\n        .workplane(offset=p[\"loft_h\"])\n        .circle(p[\"loft_top\"] / 2)\n        .loft(combine=True)\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462c9f56_0930", "family": "sketched", "tier": 2, "seed": 1177329494, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "0d117b0ef413ecb0", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 27400.0, "surface_area": 6170.0, "principal_moments": [2960000.0, 5610000.0, 6020000.0], "n_faces": 12, "n_edges": 27, "n_vertices": 18}, "dimensions": {"lines": ["freeform sketched section (7 segments: 4 straight, 2 arcs, 1 curve), ~32.824 \u00d7 50.89 mm, extruded 19.1 mm thick.", "One \u00d84.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch.", "Boss \u00d819.8 mm \u00d7 9.4 mm tall on top face with a \u00d84.3 mm bore."], "text": "freeform sketched section (7 segments: 4 straight, 2 arcs, 1 curve), ~32.824 \u00d7 50.89 mm, extruded 19.1 mm thick. One \u00d84.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch. Boss \u00d819.8 mm \u00d7 9.4 mm tall on top face with a \u00d84.3 mm bore."}, "params": {"sk_w": {"type": "float", "default": 40.0, "min": 20.0, "max": 72.0, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 70, "min": 35.0, "max": 126.0, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "sk_t": {"type": "float", "default": 19.1, "min": 7.6, "max": 42.0, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "sk_hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 8.6, "step": 0.5, "group": "Holes", "label": "Hole diameter (mm)"}, "boss_d": {"type": "float", "default": 19.8, "min": 9.9, "max": 39.6, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 9.4, "min": 3.8, "max": 23.5, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}, "boss_bore_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 13.9, "step": 0.1, "group": "Boss", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329494 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 40.0, \"min\": 20.0, \"max\": 72.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 70, \"min\": 35.0, \"max\": 126.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"sk_t\": {\"type\": 'float', \"default\": 19.1, \"min\": 7.6, \"max\": 42.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"sk_hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 8.6, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"boss_d\": {\"type\": 'float', \"default\": 19.8, \"min\": 9.9, \"max\": 39.6, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 9.4, \"min\": 3.8, \"max\": 23.5, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n    \"boss_bore_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 13.9, \"step\": 0.1, \"group\": 'Boss', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.3812, p[\"sk_h\"] * 0.0945).lineTo(p[\"sk_w\"] * 0.3343, p[\"sk_h\"] * 0.2234).threePointArc((p[\"sk_w\"] * 0.0949, p[\"sk_h\"] * 0.328), (p[\"sk_w\"] * -0.1687, p[\"sk_h\"] * 0.3379)).bezier([(p[\"sk_w\"] * -0.1687, p[\"sk_h\"] * 0.3379), (p[\"sk_w\"] * -0.2677, p[\"sk_h\"] * 0.2467), (p[\"sk_w\"] * -0.3363, p[\"sk_h\"] * 0.131)]).lineTo(p[\"sk_w\"] * -0.4394, p[\"sk_h\"] * -0.1514).lineTo(p[\"sk_w\"] * -0.0703, p[\"sk_h\"] * -0.3891).threePointArc((p[\"sk_w\"] * 0.1705, p[\"sk_h\"] * -0.3728), (p[\"sk_w\"] * 0.3729, p[\"sk_h\"] * -0.2677)).lineTo(p[\"sk_w\"] * 0.3812, p[\"sk_h\"] * 0.0945).close().extrude(p[\"sk_t\"]))\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"sk_hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .hole(p[\"boss_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462c9f57_0931", "family": "lofted", "tier": 2, "seed": 1177329495, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "b7e1b8fdd034e8d8", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 34900.0, "surface_area": 8630.0, "principal_moments": [7210000.0, 7230000.0, 8720000.0], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["Lofted body through 3 sections: 50 \u00d7 50 mm rectangular section \u2192 6-sided polygon section, 37.4 mm across corners \u2192 6-sided polygon section, 24.7 mm across corners.", "One \u00d810.6 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 3 sections: 50 \u00d7 50 mm rectangular section \u2192 6-sided polygon section, 37.4 mm across corners \u2192 6-sided polygon section, 24.7 mm across corners. One \u00d810.6 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 50, "min": 25.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 24.7, "min": 9.9, "max": 60.0, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 34.9, "min": 14.0, "max": 69.8, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_mid": {"type": "float", "default": 37.4, "min": 12.3, "max": 60.0, "step": 1.0, "group": "Body", "label": "Mid size (mm)"}, "loft_bore_d": {"type": "float", "default": 10.6, "min": 2.0, "max": 19.8, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329495 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 50, \"min\": 25.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 24.7, \"min\": 9.9, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 34.9, \"min\": 14.0, \"max\": 69.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_mid\": {\"type\": 'float', \"default\": 37.4, \"min\": 12.3, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Mid size (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 10.6, \"min\": 2.0, \"max\": 19.8, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .rect(p[\"loft_base\"], p[\"loft_base\"])\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .polygon(6, p[\"loft_mid\"] * 0.5 * 2)\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .polygon(6, p[\"loft_top\"] * 0.5 * 2)\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9f58_0932", "family": "plate", "tier": 1, "seed": 1177329496, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "7ce9f32ee4363306", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 21800.0, "surface_area": 7330.0, "principal_moments": [1640000.0, 11499999.999999998, 12699999.999999998], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 80 \u00d7 28.8 \u00d7 10 mm (W\u00d7D\u00d7H).", "Four \u00d86.4 mm holes at the corners, 56 \u00d7 20.16 mm spacing."], "text": "Rectangular body, 80 \u00d7 28.8 \u00d7 10 mm (W\u00d7D\u00d7H). Four \u00d86.4 mm holes at the corners, 56 \u00d7 20.16 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 80, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 28.8, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 6.5, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329496 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 80, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 28.8, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 6.5, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9f5a_0934", "family": "plate", "tier": 1, "seed": 1177329498, "symmetry": "radial", "op_count": 2, "ir_hash": "e7b077881e44fa3b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 15600.0, "surface_area": 5780.0, "principal_moments": [1170000.0, 5410000.0, 6330000.0], "n_faces": 16, "n_edges": 42, "n_vertices": 28}, "dimensions": {"lines": ["Rectangular body, 62.69 \u00d7 29 \u00d7 10 mm (W\u00d7D\u00d7H).", "Eight \u00d88.4 mm holes on a \u00d837.6 mm bolt circle."], "text": "Rectangular body, 62.69 \u00d7 29 \u00d7 10 mm (W\u00d7D\u00d7H). Eight \u00d88.4 mm holes on a \u00d837.6 mm bolt circle."}, "params": {"plate_w": {"type": "float", "default": 62.69, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 29.0, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "bolt_d": {"type": "float", "default": 8.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 18.8, "min": 12.5, "max": 28.2, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 8, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329498 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 62.69, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 29.0, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 18.8, \"min\": 12.5, \"max\": 28.2, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462c9f5b_0935", "family": "compound", "tier": 1, "seed": 1177329499, "symmetry": "mirror_xy", "op_count": 3, "ir_hash": "ef2a6fcb82d1ef15", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 39500.0, "surface_area": 10000.0, "principal_moments": [11100000.0, 12499999.999999998, 13999999.999999998], "n_faces": 12, "n_edges": 27, "n_vertices": 18}, "dimensions": {"lines": ["Rectangular body, 42.35 \u00d7 49 \u00d7 16 mm (W\u00d7D\u00d7H).", "\u00d814.8 mm circular section attachment, 44.8 mm long, from top face.", "Four \u00d85.3 mm holes at the corners, 29.645 \u00d7 34.3 mm spacing."], "text": "Rectangular body, 42.35 \u00d7 49 \u00d7 16 mm (W\u00d7D\u00d7H). \u00d814.8 mm circular section attachment, 44.8 mm long, from top face. Four \u00d85.3 mm holes at the corners, 29.645 \u00d7 34.3 mm spacing."}, "params": {"base_w": {"type": "float", "default": 42.35, "min": 30.0, "max": 160.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 49.0, "min": 25.0, "max": 160.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_h": {"type": "float", "default": 16.0, "min": 3.0, "max": 30.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "col_d": {"type": "float", "default": 14.8, "min": 5.9, "max": 21.2, "step": 1.0, "group": "Column", "label": "Column diameter (mm)"}, "col_h": {"type": "float", "default": 44.8, "min": 13.4, "max": 134.4, "step": 1.0, "group": "Column", "label": "Column height (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 9.5, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329499 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 42.35, \"min\": 30.0, \"max\": 160.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 49.0, \"min\": 25.0, \"max\": 160.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_h\": {\"type\": 'float', \"default\": 16.0, \"min\": 3.0, \"max\": 30.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"col_d\": {\"type\": 'float', \"default\": 14.8, \"min\": 5.9, \"max\": 21.2, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column diameter (mm)'},\n    \"col_h\": {\"type\": 'float', \"default\": 44.8, \"min\": 13.4, \"max\": 134.4, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 9.5, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_h\"])\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"col_d\"] / 2).extrude(p[\"col_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"base_w\"] * 0.7, p[\"base_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462c9f5c_0936", "family": "revolved", "tier": 1, "seed": 1177329500, "symmetry": "none", "op_count": 2, "ir_hash": "f353b59a4f7e1aff", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 458000.0, "surface_area": 61300.0, "principal_moments": [356000000.0, 953000000.0, 953000000.0], "n_faces": 5, "n_edges": 8, "n_vertices": 5}, "dimensions": {"lines": ["Revolved body, \u00d872.01 mm \u00d7 168.8 mm tall.", "Chamfer 0.9 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d872.01 mm \u00d7 168.8 mm tall. Chamfer 0.9 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 72.01, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 168.8, "min": 50.6, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "end_chamfer": {"type": "float", "default": 0.9, "min": 0.1, "max": 2.7, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329500 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 72.01, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 168.8, \"min\": 50.6, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.9, \"min\": 0.1, \"max\": 2.7, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462c9f5d_0937", "family": "revolved", "tier": 0, "seed": 1177329501, "symmetry": "none", "op_count": 1, "ir_hash": "f2528c445ecbe931", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 696000.0, "surface_area": 89600.0, "principal_moments": [566000000.0, 2770000000.0, 2770000000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d873.62 mm \u00d7 245.2 mm tall."], "text": "Revolved body, \u00d873.62 mm \u00d7 245.2 mm tall."}, "params": {"outer_d": {"type": "float", "default": 73.62, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 245.2, "min": 73.6, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329501 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 73.62, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 245.2, \"min\": 73.6, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462c9f5e_0938", "family": "bracket", "tier": 1, "seed": 1177329502, "symmetry": "none", "op_count": 1, "ir_hash": "7141c80b66281dda", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 13200.0, "surface_area": 9730.0, "principal_moments": [3320000.0, 4890000.0, 7370000.0], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Z-bracket: base leg 41.58 mm, vertical leg 25.9 mm, top leg 25.8 mm, 51.04 mm wide, 3 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."], "text": "Z-bracket: base leg 41.58 mm, vertical leg 25.9 mm, top leg 25.8 mm, 51.04 mm wide, 3 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 41.58, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 25.9, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 51.04, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 3.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 25.8, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329502 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 41.58, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 25.9, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 51.04, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 25.8, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462c9f5f_0939", "family": "compound", "tier": 1, "seed": 1177329503, "symmetry": "mirror_xy", "op_count": 3, "ir_hash": "383a2383022c8071", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 106000.0, "surface_area": 15400.0, "principal_moments": [34300000.0, 42700000.0, 55699999.99999999], "n_faces": 28, "n_edges": 76, "n_vertices": 50}, "dimensions": {"lines": ["Rectangular body, 60 \u00d7 51.5 \u00d7 34.6 mm (W\u00d7D\u00d7H).", "8-sided polygon section, 8.4 mm across corners attachment, 4.6 mm long, from back face with a \u00d83.6 mm bore.", "8-sided polygon section, 8.4 mm across corners attachment, 4.6 mm long, from left face with a \u00d83.6 mm bore."], "text": "Rectangular body, 60 \u00d7 51.5 \u00d7 34.6 mm (W\u00d7D\u00d7H). 8-sided polygon section, 8.4 mm across corners attachment, 4.6 mm long, from back face with a \u00d83.6 mm bore. 8-sided polygon section, 8.4 mm across corners attachment, 4.6 mm long, from left face with a \u00d83.6 mm bore."}, "params": {"block_w": {"type": "float", "default": 60, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body width (mm)"}, "block_d": {"type": "float", "default": 51.5, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body depth (mm)"}, "block_h": {"type": "float", "default": 34.6, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body height (mm)"}, "port_sides": {"type": "int", "default": 8, "min": 3, "max": 8, "step": 1, "group": "Ports", "label": "Ports sides"}, "port_r": {"type": "float", "default": 4.2, "min": 2.1, "max": 7.8, "step": 1.0, "group": "Ports", "label": "Ports circumradius (mm)"}, "port_len": {"type": "float", "default": 4.6, "min": 1.9, "max": 23.3, "step": 1.0, "group": "Ports", "label": "Port boss length (mm)"}, "port_bore": {"type": "float", "default": 3.6, "min": 2.0, "max": 5.6, "step": 0.5, "group": "Ports", "label": "Port bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329503 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 60, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 51.5, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 34.6, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body height (mm)'},\n    \"port_sides\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Ports', \"label\": 'Ports sides'},\n    \"port_r\": {\"type\": 'float', \"default\": 4.2, \"min\": 2.1, \"max\": 7.8, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Ports circumradius (mm)'},\n    \"port_len\": {\"type\": 'float', \"default\": 4.6, \"min\": 1.9, \"max\": 23.3, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Port boss length (mm)'},\n    \"port_bore\": {\"type\": 'float', \"default\": 3.6, \"min\": 2.0, \"max\": 5.6, \"step\": 0.5, \"group\": 'Ports', \"label\": 'Port bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"port_sides\"], p[\"port_r\"] * 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"port_sides\"], p[\"port_r\"] * 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462c9f60_0940", "family": "ribbed", "tier": 1, "seed": 1177329504, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "cf93e595d44e5f10", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 46000.0, "surface_area": 15700.0, "principal_moments": [10800000.0, 29999999.999999996, 37600000.0], "n_faces": 30, "n_edges": 72, "n_vertices": 44}, "dimensions": {"lines": ["Rectangular body, 83.23 \u00d7 41.7 \u00d7 10 mm (W\u00d7D\u00d7H).", "Three ribs, 4.3 mm thick, 13.2 mm tall."], "text": "Rectangular body, 83.23 \u00d7 41.7 \u00d7 10 mm (W\u00d7D\u00d7H). Three ribs, 4.3 mm thick, 13.2 mm tall."}, "params": {"base_w": {"type": "float", "default": 83.23, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 41.7, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 10.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 3, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 13.2, "min": 5.3, "max": 26.4, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 4.3, "min": 1.0, "max": 10.8, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329504 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 83.23, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 41.7, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 3, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 13.2, \"min\": 5.3, \"max\": 26.4, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 4.3, \"min\": 1.0, \"max\": 10.8, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462c9f61_0941", "family": "revolved", "tier": 2, "seed": 1177329505, "symmetry": "none", "op_count": 1, "ir_hash": "53046445b5a2abf8", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 2160.0, "surface_area": 1620.0, "principal_moments": [79600.0, 95600.0, 95600.0], "n_faces": 8, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Revolved body, \u00d815.15 mm \u00d7 17.4 mm tall with \u00d88.2 mm bore, 1.15 mm-wide groove 1.06 mm deep."], "text": "Revolved body, \u00d815.15 mm \u00d7 17.4 mm tall with \u00d88.2 mm bore, 1.15 mm-wide groove 1.06 mm deep."}, "params": {"outer_d": {"type": "float", "default": 15.15, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 17.4, "min": 5.2, "max": 52.2, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 8.2, "min": 2.0, "max": 10.6, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "groove_depth": {"type": "float", "default": 1.06, "min": 0.42, "max": 3.18, "step": 0.1, "group": "Body", "label": "Groove depth (mm)"}, "groove_w": {"type": "float", "default": 1.15, "min": 0.46, "max": 3.45, "step": 0.2, "group": "Body", "label": "Groove width (mm)"}, "groove_pos": {"type": "float", "default": 7.1, "min": 2.6, "max": 14.8, "step": 1.0, "group": "Body", "label": "Groove position (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329505 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 15.15, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 17.4, \"min\": 5.2, \"max\": 52.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 8.2, \"min\": 2.0, \"max\": 10.6, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"groove_depth\": {\"type\": 'float', \"default\": 1.06, \"min\": 0.42, \"max\": 3.18, \"step\": 0.1, \"group\": 'Body', \"label\": 'Groove depth (mm)'},\n    \"groove_w\": {\"type\": 'float', \"default\": 1.15, \"min\": 0.46, \"max\": 3.45, \"step\": 0.2, \"group\": 'Body', \"label\": 'Groove width (mm)'},\n    \"groove_pos\": {\"type\": 'float', \"default\": 7.1, \"min\": 2.6, \"max\": 14.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Groove position (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"groove_pos\"] - p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2 - p[\"groove_depth\"], p[\"groove_pos\"] - p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2 - p[\"groove_depth\"], p[\"groove_pos\"] + p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2, p[\"groove_pos\"] + p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462c9f62_0942", "family": "enclosure", "tier": 1, "seed": 1177329506, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "554892110c48906c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 18000.0, "surface_area": 13400.0, "principal_moments": [3910000.0, 9010000.0, 9600000.0], "n_faces": 11, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 60 \u00d7 29.8 \u00d7 30.4 mm (W\u00d7D\u00d7H).", "Hollowed to 2.8 mm wall thickness, open at top face."], "text": "Rectangular body, 60 \u00d7 29.8 \u00d7 30.4 mm (W\u00d7D\u00d7H). Hollowed to 2.8 mm wall thickness, open at top face."}, "params": {"enc_w": {"type": "float", "default": 60, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 29.8, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 30.4, "min": 12.2, "max": 60.8, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 2.8, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329506 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 60, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 29.8, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 30.4, \"min\": 12.2, \"max\": 60.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 2.8, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462c9f63_0943", "family": "bracket", "tier": 1, "seed": 1177329507, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "d3cb53bfb213ef2a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 7250.0, "surface_area": 5800.0, "principal_moments": [1420000.0, 5060000.0, 6010000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["L-bracket: base leg 68.48 mm, vertical leg 59.8 mm, 19.63 mm wide, 3 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."], "text": "L-bracket: base leg 68.48 mm, vertical leg 59.8 mm, 19.63 mm wide, 3 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 68.48, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 59.8, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 19.63, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 3.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 7.9, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329507 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 68.48, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 59.8, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 19.63, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 7.9, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462c9f64_0944", "family": "swept", "tier": 0, "seed": 1177329508, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "6b2cddb84ba5eedd", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 21800.0, "surface_area": 7980.0, "principal_moments": [5090000.0, 21000000.0, 25699999.999999996], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["18.7 \u00d7 9.7 mm rectangular section swept along a curved path, ~105 mm span."], "text": "18.7 \u00d7 9.7 mm rectangular section swept along a curved path, ~105 mm span."}, "params": {"path_w": {"type": "float", "default": 60, "min": 30.0, "max": 108.0, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 105, "min": 52.5, "max": 189.0, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_a": {"type": "float", "default": 18.7, "min": 9.3, "max": 33.7, "step": 1.0, "group": "Section", "label": "Section width (mm)"}, "sweep_b": {"type": "float", "default": 9.7, "min": 4.8, "max": 17.5, "step": 1.0, "group": "Section", "label": "Section depth (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329508 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 60, \"min\": 30.0, \"max\": 108.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 105, \"min\": 52.5, \"max\": 189.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_a\": {\"type\": 'float', \"default\": 18.7, \"min\": 9.3, \"max\": 33.7, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section width (mm)'},\n    \"sweep_b\": {\"type\": 'float', \"default\": 9.7, \"min\": 4.8, \"max\": 17.5, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section depth (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.0515, p[\"path_h\"] * 0.6547), (p[\"path_w\"] * 0.3198, p[\"path_h\"] * 0.6896), (p[\"path_w\"] * 0.2509, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').rect(p[\"sweep_a\"], p[\"sweep_b\"]).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9f65_0945", "family": "plate", "tier": 2, "seed": 1177329509, "symmetry": "none", "op_count": 2, "ir_hash": "8b8c2d7198550a84", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 2750.0, "surface_area": 2170.0, "principal_moments": [149000.0, 207000.0, 349000.0], "n_faces": 18, "n_edges": 56, "n_vertices": 36}, "dimensions": {"lines": ["Rectangular body, 31.94 \u00d7 27 \u00d7 4 mm (W\u00d7D\u00d7H).", "Four \u00d85.3 mm countersunk holes (82\u00b0) at the corners, 22.358 \u00d7 18.9 mm spacing."], "text": "Rectangular body, 31.94 \u00d7 27 \u00d7 4 mm (W\u00d7D\u00d7H). Four \u00d85.3 mm countersunk holes (82\u00b0) at the corners, 22.358 \u00d7 18.9 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 31.94, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 27.0, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 4.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 6.1, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "cs_angle": {"type": "float", "default": 82.0, "min": 60.0, "max": 120.0, "step": 15.0, "group": "Holes", "label": "Countersink angle (\u00b0)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329509 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 31.94, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 27.0, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 4.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 6.1, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"cs_angle\": {\"type\": 'float', \"default\": 82.0, \"min\": 60.0, \"max\": 120.0, \"step\": 15.0, \"group\": 'Holes', \"label\": 'Countersink angle (\u00b0)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().cskHole(p[\"hole_d\"], p[\"hole_d\"] * 2, p[\"cs_angle\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9f66_0946", "family": "plate", "tier": 2, "seed": 1177329510, "symmetry": "radial", "op_count": 3, "ir_hash": "2664f5a68cf234ff", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 12000.0, "surface_area": 5520.0, "principal_moments": [999000.0, 4950000.0, 5880000.0], "n_faces": 28, "n_edges": 78, "n_vertices": 52}, "dimensions": {"lines": ["Rectangular body, 70 \u00d7 30.6 \u00d7 6 mm (W\u00d7D\u00d7H).", "Six \u00d88.4 mm holes on a \u00d842 mm bolt circle.", "Chamfer 1.2 mm on vertical edges."], "text": "Rectangular body, 70 \u00d7 30.6 \u00d7 6 mm (W\u00d7D\u00d7H). Six \u00d88.4 mm holes on a \u00d842 mm bolt circle. Chamfer 1.2 mm on vertical edges."}, "params": {"plate_w": {"type": "float", "default": 70, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 30.6, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 6.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "bolt_d": {"type": "float", "default": 8.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 21.0, "min": 14.0, "max": 31.5, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 6, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}, "chamfer_d": {"type": "float", "default": 1.2, "min": 1.2, "max": 3.7, "step": 0.5, "group": "Body", "label": "Chamfer distance (mm)"}, "chamfered": {"type": "bool", "default": true, "group": "Body", "label": "Chamfer edges"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329510 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 70, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 30.6, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 21.0, \"min\": 14.0, \"max\": 31.5, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n    \"chamfer_d\": {\"type\": 'float', \"default\": 1.2, \"min\": 1.2, \"max\": 3.7, \"step\": 0.5, \"group\": 'Body', \"label\": 'Chamfer distance (mm)'},\n    \"chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Chamfer edges'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    if p[\"chamfered\"]:\n        result = result.edges('|Z').chamfer(p[\"chamfer_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462c9f67_0947", "family": "revolved", "tier": 0, "seed": 1177329511, "symmetry": "none", "op_count": 1, "ir_hash": "0f3c3956bbf87e6f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 109000.0, "surface_area": 19400.0, "principal_moments": [50499999.99999999, 50499999.99999999, 69300000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d865 mm \u00d7 49.4 mm tall."], "text": "Revolved body, \u00d865 mm \u00d7 49.4 mm tall."}, "params": {"outer_d": {"type": "float", "default": 65, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 49.4, "min": 14.8, "max": 148.2, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329511 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 65, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 49.4, \"min\": 14.8, \"max\": 148.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462c9f68_0948", "family": "block", "tier": 1, "seed": 1177329512, "symmetry": "none", "op_count": 2, "ir_hash": "4e72e53e9d05c31d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 7300.0, "surface_area": 3760.0, "principal_moments": [322000.0, 977000.0, 1200000.0], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["Rectangular body, 20.97 \u00d7 9.3 \u00d7 39 mm (W\u00d7D\u00d7H).", "Seven \u00d81.2 mm holes in two staggered rows, 5.2 \u00d7 6.2 mm pitch."], "text": "Rectangular body, 20.97 \u00d7 9.3 \u00d7 39 mm (W\u00d7D\u00d7H). Seven \u00d81.2 mm holes in two staggered rows, 5.2 \u00d7 6.2 mm pitch."}, "params": {"block_w": {"type": "float", "default": 20.97, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 9.3, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 39.0, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 1.2, "min": 2.0, "max": 0.9, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 4, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329512 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 20.97, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 9.3, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 39.0, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 1.2, \"min\": 2.0, \"max\": 0.9, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 4, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 5.2\n    _ssy = 6.2\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462c9f69_0949", "family": "swept", "tier": 0, "seed": 1177329513, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "948d8731076cd6e7", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 4460.0, "surface_area": 2150.0, "principal_moments": [109000.0, 1690000.0, 1750000.0], "n_faces": 3, "n_edges": 3, "n_vertices": 2}, "dimensions": {"lines": ["\u00d88.9 mm circular section swept along a curved path, ~60.8 mm span."], "text": "\u00d88.9 mm circular section swept along a curved path, ~60.8 mm span."}, "params": {"path_w": {"type": "float", "default": 54.14, "min": 27.1, "max": 97.5, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 60.8, "min": 30.4, "max": 109.4, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_d": {"type": "float", "default": 8.9, "min": 4.5, "max": 16.0, "step": 1.0, "group": "Section", "label": "Section diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329513 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 54.14, \"min\": 27.1, \"max\": 97.5, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 60.8, \"min\": 30.4, \"max\": 109.4, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_d\": {\"type\": 'float', \"default\": 8.9, \"min\": 4.5, \"max\": 16.0, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.1374, p[\"path_h\"] * 0.3373), (p[\"path_w\"] * 0.252, p[\"path_h\"] * 0.4116), (p[\"path_w\"] * 0.4016, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').circle(p[\"sweep_d\"] / 2).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462c9f6a_0950", "family": "threaded", "tier": 1, "seed": 1177329514, "symmetry": "none", "op_count": 1, "ir_hash": "01b647eaa62f9922", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 8920.0, "surface_area": 5210.0, "principal_moments": [454000.0, 1880000.0, 1880000.0], "n_faces": 255, "n_edges": 935, "n_vertices": 682}, "dimensions": {"lines": ["M10x1.5 internal thread, 47.2 mm long."], "text": "M10x1.5 internal thread, 47.2 mm long."}, "params": {"major_d": {"type": "float", "default": 10.0, "min": 4.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Major diameter (mm)"}, "pitch": {"type": "float", "default": 1.5, "min": 0.75, "max": 3.0, "step": 0.05, "group": "Thread", "label": "Pitch (mm)"}, "thread_len": {"type": "float", "default": 47.2, "min": 18.9, "max": 94.4, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329514 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 10.0, \"min\": 4.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Major diameter (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.5, \"min\": 0.75, \"max\": 3.0, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Pitch (mm)'},\n    \"thread_len\": {\"type\": 'float', \"default\": 47.2, \"min\": 18.9, \"max\": 94.4, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.IsoThread(major_diameter=p[\"major_d\"], pitch=p[\"pitch\"], length=p[\"thread_len\"], external=False, end_finishes=(\"fade\", \"fade\"))\n    _body = _bd.Cylinder(radius=(p[\"major_d\"]) * 0.9, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _bore = _bd.Cylinder(radius=(p[\"major_d\"]) / 2, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = (_body - _bore) + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462c9f6b_0951", "family": "tapped", "tier": 0, "seed": 1177329515, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "a883684511181398", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 11900.0, "surface_area": 3880.0, "principal_moments": [1060000.0, 1060000.0, 1470000.0], "n_faces": 122, "n_edges": 330, "n_vertices": 210}, "dimensions": {"lines": ["One M8x1.25 tapped hole in a plate."], "text": "One M8x1.25 tapped hole in a plate."}, "params": {"major_d": {"type": "float", "default": 8.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 1.25, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 18.2, "min": 9.6, "max": 32.8, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "plate_w": {"type": "float", "default": 26.4, "min": 15.8, "max": 42.2, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 26.4, "min": 15.8, "max": 42.2, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329515 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.25, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 18.2, \"min\": 9.6, \"max\": 32.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"plate_w\": {\"type\": 'float', \"default\": 26.4, \"min\": 15.8, \"max\": 42.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 26.4, \"min\": 15.8, \"max\": 42.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n}\n\n\ndef build(p):\n\n    _W, _D, _H = p[\"plate_w\"], p[\"plate_d\"], p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Box(_W, _D, _H)\n    _locs = [(0.0, 0.0)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462c9f6c_0952", "family": "tapped", "tier": 2, "seed": 1177329516, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "f3ba48d3a7d18e2d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 8430.0, "surface_area": 3030.0, "principal_moments": [600000.0, 600000.0, 731000.0], "n_faces": 119, "n_edges": 321, "n_vertices": 204}, "dimensions": {"lines": ["One M8x1.25 tapped hole in a cylinder."], "text": "One M8x1.25 tapped hole in a cylinder."}, "params": {"major_d": {"type": "float", "default": 8.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 1.25, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 18.3, "min": 9.6, "max": 32.9, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "body_d": {"type": "float", "default": 25.3, "min": 14.4, "max": 40.5, "step": 1.0, "group": "Body", "label": "Outer \u00d8 (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329516 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.25, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 18.3, \"min\": 9.6, \"max\": 32.9, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"body_d\": {\"type\": 'float', \"default\": 25.3, \"min\": 14.4, \"max\": 40.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer \u00d8 (mm)'},\n}\n\n\ndef build(p):\n\n    _W = _D = p[\"body_d\"]\n    _H = p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Cylinder(radius=_W / 2, height=_H)\n    _locs = [(0.0, 0.0)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9f6d_0953", "family": "plate", "tier": 1, "seed": 1177329517, "symmetry": "radial", "op_count": 2, "ir_hash": "a91e7fdb3cddee12", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 62000.0, "surface_area": 23600.0, "principal_moments": [52299999.99999999, 56799999.99999999, 109000000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 104.42 \u00d7 100.2 \u00d7 6 mm (W\u00d7D\u00d7H).", "Four \u00d86.4 mm holes on a \u00d862.6 mm bolt circle."], "text": "Rectangular body, 104.42 \u00d7 100.2 \u00d7 6 mm (W\u00d7D\u00d7H). Four \u00d86.4 mm holes on a \u00d862.6 mm bolt circle."}, "params": {"plate_w": {"type": "float", "default": 104.42, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 100.2, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 6.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "bolt_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 31.3, "min": 20.9, "max": 47.0, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 4, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329517 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 104.42, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 100.2, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 31.3, \"min\": 20.9, \"max\": 47.0, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 4, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462c9f6e_0954", "family": "bracket", "tier": 3, "seed": 1177329518, "symmetry": "none", "op_count": 1, "ir_hash": "cbe0528ecc074b03", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 18700.0, "surface_area": 11000.0, "principal_moments": [5470000.0, 22200000.0, 25999999.999999996], "n_faces": 19, "n_edges": 51, "n_vertices": 34}, "dimensions": {"lines": ["C-channel bracket: base leg 85 mm, vertical leg 51.6 mm, 23.92 mm wide, 4 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 4.2 mm corner gusset."], "text": "C-channel bracket: base leg 85 mm, vertical leg 51.6 mm, 23.92 mm wide, 4 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 4.2 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 85, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 51.6, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 23.92, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 4.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 9.6, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 4.2, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329518 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 85, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 51.6, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 23.92, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 9.6, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 4.2, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl / 2, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bl - _bt, _bt).lineTo(_bl - _bt - _g, _bt)\n                    .lineTo(_bl - _bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9f6f_0955", "family": "plate", "tier": 1, "seed": 1177329519, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "d73005e0bc299e8d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 22700.0, "surface_area": 7410.0, "principal_moments": [1770000.0, 12299999.999999998, 13699999.999999998], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 80.79 \u00d7 29.2 \u00d7 10 mm (W\u00d7D\u00d7H).", "Four \u00d85.3 mm holes at the corners, 56.553 \u00d7 20.44 mm spacing."], "text": "Rectangular body, 80.79 \u00d7 29.2 \u00d7 10 mm (W\u00d7D\u00d7H). Four \u00d85.3 mm holes at the corners, 56.553 \u00d7 20.44 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 80.79, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 29.2, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 6.6, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329519 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 80.79, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 29.2, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 6.6, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462c9f70_0956", "family": "revolved", "tier": 1, "seed": 1177329520, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "640670f531213721", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 543000.0, "surface_area": 75900.0, "principal_moments": [514000000.0, 1850000000.0, 1850000000.0], "n_faces": 4, "n_edges": 6, "n_vertices": 4}, "dimensions": {"lines": ["Revolved body, \u00d875.06 mm \u00d7 187.4 mm tall with \u00d844.1 mm bore."], "text": "Revolved body, \u00d875.06 mm \u00d7 187.4 mm tall with \u00d844.1 mm bore."}, "params": {"outer_d": {"type": "float", "default": 75.06, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 187.4, "min": 56.2, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 44.1, "min": 2.0, "max": 52.5, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329520 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 75.06, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 187.4, \"min\": 56.2, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 44.1, \"min\": 2.0, \"max\": 52.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462c9f71_0957", "family": "ribbed", "tier": 1, "seed": 1177329521, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "b65337849d3b9996", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 44900.0, "surface_area": 26700.0, "principal_moments": [18700000.0, 35300000.0, 49499999.99999999], "n_faces": 46, "n_edges": 112, "n_vertices": 68}, "dimensions": {"lines": ["Rectangular body, 95 \u00d7 50.2 \u00d7 4 mm (W\u00d7D\u00d7H).", "Five ribs, 3.6 mm thick, 18.9 mm tall."], "text": "Rectangular body, 95 \u00d7 50.2 \u00d7 4 mm (W\u00d7D\u00d7H). Five ribs, 3.6 mm thick, 18.9 mm tall."}, "params": {"base_w": {"type": "float", "default": 95, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 50.2, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 4.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 5, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 18.9, "min": 7.6, "max": 37.8, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 3.6, "min": 1.0, "max": 9.0, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329521 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 95, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 50.2, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 5, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 18.9, \"min\": 7.6, \"max\": 37.8, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 3.6, \"min\": 1.0, \"max\": 9.0, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462c9f72_0958", "family": "bracket", "tier": 3, "seed": 1177329522, "symmetry": "none", "op_count": 1, "ir_hash": "f4709858c6f632e4", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 3650.0, "surface_area": 2580.0, "principal_moments": [197000.0, 597000.0, 634000.0], "n_faces": 14, "n_edges": 37, "n_vertices": 24}, "dimensions": {"lines": ["L-bracket: base leg 35 mm, vertical leg 26.4 mm, 16.14 mm wide, 4 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg; 3.6 mm corner gusset."], "text": "L-bracket: base leg 35 mm, vertical leg 26.4 mm, 16.14 mm wide, 4 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg; 3.6 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 35, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 26.4, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 16.14, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 4.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 6.5, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 3.6, "min": 2.0, "max": 8.1, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329522 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 35, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 26.4, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 16.14, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 6.5, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 3.6, \"min\": 2.0, \"max\": 8.1, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462c9f73_0959", "family": "flanged", "tier": 2, "seed": 1177329523, "symmetry": "radial", "op_count": 3, "ir_hash": "3463e30aa09bc4f7", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 153000.0, "surface_area": 37900.0, "principal_moments": [126000000.0, 126000000.0, 158000000.0], "n_faces": 18, "n_edges": 37, "n_vertices": 22}, "dimensions": {"lines": ["Revolved body, \u00d854.47 mm \u00d7 54.8 mm tall with \u00d822.8 mm bore, \u00d8125.1 mm \u00d7 4.9 mm flange.", "Four \u00d86.4 mm holes on a \u00d875 mm bolt circle.", "Chamfer 0.8 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d854.47 mm \u00d7 54.8 mm tall with \u00d822.8 mm bore, \u00d8125.1 mm \u00d7 4.9 mm flange. Four \u00d86.4 mm holes on a \u00d875 mm bolt circle. Chamfer 0.8 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 54.47, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 54.8, "min": 16.4, "max": 137.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 22.8, "min": 2.0, "max": 38.1, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 125.1, "min": 70.8, "max": 163.4, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 4.9, "min": 1.5, "max": 21.9, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 37.5, "min": 25.0, "max": 56.3, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 4, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}, "end_chamfer": {"type": "float", "default": 0.8, "min": 0.1, "max": 2.0, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329523 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 54.47, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 54.8, \"min\": 16.4, \"max\": 137.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 22.8, \"min\": 2.0, \"max\": 38.1, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 125.1, \"min\": 70.8, \"max\": 163.4, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 4.9, \"min\": 1.5, \"max\": 21.9, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 37.5, \"min\": 25.0, \"max\": 56.3, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 4, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.8, \"min\": 0.1, \"max\": 2.0, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462c9f74_0960", "family": "bracket", "tier": 1, "seed": 1177329524, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "c28ff0936d025af8", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 42500.0, "surface_area": 14800.0, "principal_moments": [13299999.999999998, 93599999.99999999, 103000000.0], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Z-bracket: base leg 87.08 mm, vertical leg 90 mm, top leg 66.5 mm, 23.39 mm wide, 8 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."], "text": "Z-bracket: base leg 87.08 mm, vertical leg 90 mm, top leg 66.5 mm, 23.39 mm wide, 8 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 87.08, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 90.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 23.39, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 8.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 66.5, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 9.4, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329524 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 87.08, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 90.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 23.39, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 66.5, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 9.4, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462c9f75_0961", "family": "sketched", "tier": 0, "seed": 1177329525, "symmetry": "none", "op_count": 1, "ir_hash": "526db20ce572b20d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 32200.0, "surface_area": 6150.0, "principal_moments": [4950000.0, 5580000.0, 8380000.0], "n_faces": 11, "n_edges": 25, "n_vertices": 16}, "dimensions": {"lines": ["freeform sketched section (6 segments: 1 straight, 3 arcs, 2 curves), ~43.38 \u00d7 40.163 mm, extruded 20 mm thick with a 4.4\u00b0 draft."], "text": "freeform sketched section (6 segments: 1 straight, 3 arcs, 2 curves), ~43.38 \u00d7 40.163 mm, extruded 20 mm thick with a 4.4\u00b0 draft."}, "params": {"sk_w": {"type": "float", "default": 60, "min": 30.0, "max": 108.0, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 65, "min": 32.5, "max": 117.0, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "sk_t": {"type": "float", "default": 20, "min": 8.0, "max": 44.0, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "sk_draft": {"type": "float", "default": 4.4, "min": 0.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Draft angle (deg)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329525 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 60, \"min\": 30.0, \"max\": 108.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 65, \"min\": 32.5, \"max\": 117.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"sk_t\": {\"type\": 'float', \"default\": 20, \"min\": 8.0, \"max\": 44.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"sk_draft\": {\"type\": 'float', \"default\": 4.4, \"min\": 0.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Draft angle (deg)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.3995, p[\"sk_h\"] * -0.0026).spline([(p[\"sk_w\"] * 0.3995, p[\"sk_h\"] * -0.0026), (p[\"sk_w\"] * 0.3885, p[\"sk_h\"] * 0.1411), (p[\"sk_w\"] * 0.3091, p[\"sk_h\"] * 0.2613)]).spline([(p[\"sk_w\"] * 0.3091, p[\"sk_h\"] * 0.2613), (p[\"sk_w\"] * 0.0297, p[\"sk_h\"] * 0.2937), (p[\"sk_w\"] * -0.2465, p[\"sk_h\"] * 0.2407)]).lineTo(p[\"sk_w\"] * -0.3196, p[\"sk_h\"] * 0.0314).threePointArc((p[\"sk_w\"] * -0.3642, p[\"sk_h\"] * -0.1433), (p[\"sk_w\"] * -0.3235, p[\"sk_h\"] * -0.2902)).threePointArc((p[\"sk_w\"] * -0.0286, p[\"sk_h\"] * -0.3812), (p[\"sk_w\"] * 0.2807, p[\"sk_h\"] * -0.3566)).threePointArc((p[\"sk_w\"] * 0.3735, p[\"sk_h\"] * -0.1961), (p[\"sk_w\"] * 0.3995, p[\"sk_h\"] * -0.0026)).close().extrude(p[\"sk_t\"], taper=p[\"sk_draft\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462c9f76_0962", "family": "revolved", "tier": 2, "seed": 1177329526, "symmetry": "none", "op_count": 1, "ir_hash": "ab2f886b324ca398", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 54200.0, "surface_area": 16400.0, "principal_moments": [7820000.0, 55399999.99999999, 55399999.99999999], "n_faces": 4, "n_edges": 6, "n_vertices": 4}, "dimensions": {"lines": ["Revolved body, \u00d830 mm \u00d7 106.7 mm tall with \u00d815.9 mm bore."], "text": "Revolved body, \u00d830 mm \u00d7 106.7 mm tall with \u00d815.9 mm bore."}, "params": {"outer_d": {"type": "float", "default": 30, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 106.7, "min": 32.0, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 15.9, "min": 2.0, "max": 21.0, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329526 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 30, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 106.7, \"min\": 32.0, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 15.9, \"min\": 2.0, \"max\": 21.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462c9f77_0963", "family": "compound", "tier": 3, "seed": 1177329527, "symmetry": "none", "op_count": 7, "ir_hash": "aeedb7871953cca1", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 246000.0, "surface_area": 29400.0, "principal_moments": [139000000.0, 181000000.0, 189000000.0], "n_faces": 30, "n_edges": 70, "n_vertices": 44}, "dimensions": {"lines": ["Rectangular body, 75.1 \u00d7 56.3 \u00d7 59.5 mm (W\u00d7D\u00d7H).", "\u00d813.3 mm circular section attachment, 6.8 mm long, from front face with a \u00d86.4 mm bore.", "\u00d813.3 mm circular section attachment, 6.8 mm long, from right face with a \u00d86.4 mm bore.", "\u00d813.3 mm circular section attachment, 6.8 mm long, from left face with a \u00d86.4 mm bore.", "\u00d813.3 mm circular section attachment, 6.8 mm long, from back face with a \u00d86.4 mm bore.", "Four \u00d85.3 mm holes at the corners, 52.57 \u00d7 39.41 mm spacing.", "Fillet radius 5.518 mm on vertical edges."], "text": "Rectangular body, 75.1 \u00d7 56.3 \u00d7 59.5 mm (W\u00d7D\u00d7H). \u00d813.3 mm circular section attachment, 6.8 mm long, from front face with a \u00d86.4 mm bore. \u00d813.3 mm circular section attachment, 6.8 mm long, from right face with a \u00d86.4 mm bore. \u00d813.3 mm circular section attachment, 6.8 mm long, from left face with a \u00d86.4 mm bore. \u00d813.3 mm circular section attachment, 6.8 mm long, from back face with a \u00d86.4 mm bore. Four \u00d85.3 mm holes at the corners, 52.57 \u00d7 39.41 mm spacing. Fillet radius 5.518 mm on vertical edges."}, "params": {"block_w": {"type": "float", "default": 75.1, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body width (mm)"}, "block_d": {"type": "float", "default": 56.3, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body depth (mm)"}, "block_h": {"type": "float", "default": 59.5, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body height (mm)"}, "port_d": {"type": "float", "default": 13.3, "min": 5.3, "max": 25.3, "step": 1.0, "group": "Ports", "label": "Ports diameter (mm)"}, "port_len": {"type": "float", "default": 6.8, "min": 3.3, "max": 39.9, "step": 1.0, "group": "Ports", "label": "Port boss length (mm)"}, "port_bore": {"type": "float", "default": 6.4, "min": 2.0, "max": 9.6, "step": 0.5, "group": "Ports", "label": "Port bore diameter (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 12.7, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329527 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 75.1, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 56.3, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 59.5, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body height (mm)'},\n    \"port_d\": {\"type\": 'float', \"default\": 13.3, \"min\": 5.3, \"max\": 25.3, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Ports diameter (mm)'},\n    \"port_len\": {\"type\": 'float', \"default\": 6.8, \"min\": 3.3, \"max\": 39.9, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Port boss length (mm)'},\n    \"port_bore\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 9.6, \"step\": 0.5, \"group\": 'Ports', \"label\": 'Port bore diameter (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 12.7, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"block_w\"], p[\"block_d\"]) * 0.09801604143296466)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462c9f78_0964", "family": "bracket", "tier": 2, "seed": 1177329528, "symmetry": "none", "op_count": 1, "ir_hash": "bbb3c662ef6322b8", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 75200.0, "surface_area": 28900.0, "principal_moments": [78400000.0, 98199999.99999999, 146000000.0], "n_faces": 19, "n_edges": 51, "n_vertices": 34}, "dimensions": {"lines": ["C-channel bracket: base leg 80.14 mm, vertical leg 90 mm, 49.85 mm wide, 6 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg; 5.4 mm corner gusset."], "text": "C-channel bracket: base leg 80.14 mm, vertical leg 90 mm, 49.85 mm wide, 6 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg; 5.4 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 80.14, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 90.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 49.85, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 6.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 5.4, "min": 3.0, "max": 18.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329528 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 80.14, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 90.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 49.85, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 5.4, \"min\": 3.0, \"max\": 18.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl / 2, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bl - _bt, _bt).lineTo(_bl - _bt - _g, _bt)\n                    .lineTo(_bl - _bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462c9f79_0965", "family": "gear", "tier": 0, "seed": 1177329529, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "541af6f4ecc17692", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 130000.0, "surface_area": 27000.0, "principal_moments": [92099999.99999999, 92099999.99999999, 179000000.0], "n_faces": 212, "n_edges": 630, "n_vertices": 420}, "dimensions": {"lines": ["Spur gear, module 3 mm, 35 teeth (pitch \u00d8105 mm), face width 15.1 mm."], "text": "Spur gear, module 3 mm, 35 teeth (pitch \u00d8105 mm), face width 15.1 mm."}, "params": {"module": {"type": "float", "default": 3.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 35, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 15.1, "min": 6.0, "max": 37.8, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329529 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 3.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 35, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 15.1, \"min\": 6.0, \"max\": 37.8, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462c9f7a_0966", "family": "revolved", "tier": 1, "seed": 1177329530, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "5db7cb6b0a1389e2", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 26500.0, "surface_area": 6690.0, "principal_moments": [3760000.0, 5270000.0, 5270000.0], "n_faces": 4, "n_edges": 6, "n_vertices": 4}, "dimensions": {"lines": ["Revolved body, \u00d831.6 mm \u00d7 39.2 mm tall with \u00d811.8 mm bore."], "text": "Revolved body, \u00d831.6 mm \u00d7 39.2 mm tall with \u00d811.8 mm bore."}, "params": {"outer_d": {"type": "float", "default": 31.6, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 39.2, "min": 11.8, "max": 117.6, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 11.8, "min": 2.0, "max": 22.1, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329530 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 31.6, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 39.2, \"min\": 11.8, \"max\": 117.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 11.8, \"min\": 2.0, \"max\": 22.1, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462c9f7b_0967", "family": "threaded", "tier": 0, "seed": 1177329531, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "a4d7a20ef1680fc6", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 796.0, "surface_area": 775.0, "principal_moments": [5300.0, 27200.0, 27200.0], "n_faces": 160, "n_edges": 406, "n_vertices": 248}, "dimensions": {"lines": ["M8x1.25 external thread, 19.4 mm long."], "text": "M8x1.25 external thread, 19.4 mm long."}, "params": {"major_d": {"type": "float", "default": 8.0, "min": 4.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Major diameter (mm)"}, "pitch": {"type": "float", "default": 1.25, "min": 0.62, "max": 2.5, "step": 0.05, "group": "Thread", "label": "Pitch (mm)"}, "thread_len": {"type": "float", "default": 19.4, "min": 7.8, "max": 38.8, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329531 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 8.0, \"min\": 4.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Major diameter (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.25, \"min\": 0.62, \"max\": 2.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Pitch (mm)'},\n    \"thread_len\": {\"type\": 'float', \"default\": 19.4, \"min\": 7.8, \"max\": 38.8, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.IsoThread(major_diameter=p[\"major_d\"], pitch=p[\"pitch\"], length=p[\"thread_len\"], external=True, end_finishes=(\"fade\", \"fade\"))\n    _r = _thr.min_radius if hasattr(_thr, 'min_radius') else _thr.root_radius\n    _shank = _bd.Cylinder(radius=_r, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = _shank + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462c9f7c_0968", "family": "revolved", "tier": 1, "seed": 1177329532, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "b23a5e00ecebf114", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 38300.0, "surface_area": 10900.0, "principal_moments": [3450000.0, 28799999.999999996, 28799999.999999996], "n_faces": 4, "n_edges": 6, "n_vertices": 4}, "dimensions": {"lines": ["Revolved body, \u00d825 mm \u00d7 92.1 mm tall with \u00d89.8 mm bore."], "text": "Revolved body, \u00d825 mm \u00d7 92.1 mm tall with \u00d89.8 mm bore."}, "params": {"outer_d": {"type": "float", "default": 25, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 92.1, "min": 27.6, "max": 276.3, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 9.8, "min": 2.0, "max": 17.5, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329532 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 25, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 92.1, \"min\": 27.6, \"max\": 276.3, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 9.8, \"min\": 2.0, \"max\": 17.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462c9f7d_0969", "family": "threaded", "tier": 2, "seed": 1177329533, "symmetry": "none", "op_count": 1, "ir_hash": "58e70964ee73b548", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 1840.0, "surface_area": 1510.0, "principal_moments": [19400.0, 136000.0, 136000.0], "n_faces": 150, "n_edges": 380, "n_vertices": 232}, "dimensions": {"lines": ["Tr 10x2 external thread, 29 mm long."], "text": "Tr 10x2 external thread, 29 mm long."}, "params": {"thread_size": {"type": "enum", "default": "10x2", "choices": ["8x1.5", "10x2", "12x3", "14x3", "16x4", "18x4", "20x4", "24x5", "28x5", "30x6", "36x6", "40x7"], "group": "Thread", "label": "Size designation"}, "thread_len": {"type": "float", "default": 29.0, "min": 11.6, "max": 58.0, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329533 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"thread_size\": {\"type\": 'enum', \"default\": '10x2', \"choices\": ['8x1.5', '10x2', '12x3', '14x3', '16x4', '18x4', '20x4', '24x5', '28x5', '30x6', '36x6', '40x7'], \"group\": 'Thread', \"label\": 'Size designation'},\n    \"thread_len\": {\"type\": 'float', \"default\": 29.0, \"min\": 11.6, \"max\": 58.0, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.MetricTrapezoidalThread(size=p[\"thread_size\"], length=p[\"thread_len\"], external=True, end_finishes=(\"fade\", \"fade\"))\n    _r = _thr.min_radius if hasattr(_thr, 'min_radius') else _thr.root_radius\n    _shank = _bd.Cylinder(radius=_r, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = _shank + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462c9f7e_0970", "family": "block", "tier": 1, "seed": 1177329534, "symmetry": "none", "op_count": 2, "ir_hash": "bb7db8a914698ade", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 384000.0, "surface_area": 41600.0, "principal_moments": [340000000.0, 375000000.0, 606000000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 95 \u00d7 41.4 \u00d7 100 mm (W\u00d7D\u00d7H).", "Four \u00d85.3 mm holes at the corners, 66.5 \u00d7 28.98 mm spacing."], "text": "Rectangular body, 95 \u00d7 41.4 \u00d7 100 mm (W\u00d7D\u00d7H). Four \u00d85.3 mm holes at the corners, 66.5 \u00d7 28.98 mm spacing."}, "params": {"block_w": {"type": "float", "default": 95, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 41.4, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 100.0, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 9.3, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329534 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 95, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 41.4, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 100.0, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 9.3, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462c9f7f_0971", "family": "tapped", "tier": 0, "seed": 1177329535, "symmetry": "none", "op_count": 1, "ir_hash": "591dbbae50a71b01", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 28100.0, "surface_area": 6780.0, "principal_moments": [4580000.0, 4580000.0, 7430000.0], "n_faces": 111, "n_edges": 389, "n_vertices": 280}, "dimensions": {"lines": ["One M10x1.5 tapped hole in a plate."], "text": "One M10x1.5 tapped hole in a plate."}, "params": {"major_d": {"type": "float", "default": 10.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 1.5, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 19.3, "min": 12.0, "max": 34.7, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "plate_w": {"type": "float", "default": 39.0, "min": 23.4, "max": 62.4, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 39.0, "min": 23.4, "max": 62.4, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329535 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 10.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.5, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 19.3, \"min\": 12.0, \"max\": 34.7, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"plate_w\": {\"type\": 'float', \"default\": 39.0, \"min\": 23.4, \"max\": 62.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 39.0, \"min\": 23.4, \"max\": 62.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n}\n\n\ndef build(p):\n\n    _W, _D, _H = p[\"plate_w\"], p[\"plate_d\"], p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Box(_W, _D, _H)\n    _locs = [(0.0, 0.0)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462c9f80_0972", "family": "lofted", "tier": 1, "seed": 1177329536, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "bb4fa9b98e166c31", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 85000.0, "surface_area": 14000.0, "principal_moments": [28899999.999999996, 31799999.999999996, 31899999.999999996], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["Lofted body through 2 sections: 6-sided polygon section, 60.76 mm across corners \u2192 37.1 \u00d7 37.1 mm rectangular section.", "One \u00d815.2 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 2 sections: 6-sided polygon section, 60.76 mm across corners \u2192 37.1 \u00d7 37.1 mm rectangular section. One \u00d815.2 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 60.76, "min": 30.4, "max": 97.2, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 37.1, "min": 14.8, "max": 72.9, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 50.3, "min": 20.1, "max": 100.6, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_bore_d": {"type": "float", "default": 15.2, "min": 2.0, "max": 29.7, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329536 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 60.76, \"min\": 30.4, \"max\": 97.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 37.1, \"min\": 14.8, \"max\": 72.9, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 50.3, \"min\": 20.1, \"max\": 100.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 15.2, \"min\": 2.0, \"max\": 29.7, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .polygon(6, p[\"loft_base\"] * 0.5 * 2)\n        .workplane(offset=p[\"loft_h\"])\n        .rect(p[\"loft_top\"], p[\"loft_top\"])\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9f81_0973", "family": "plate", "tier": 0, "seed": 1177329537, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "3266cd9399c484f5", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 16100.0, "surface_area": 5520.0, "principal_moments": [1690000.0, 4670000.0, 6190000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 58.43 \u00d7 34.5 \u00d7 8 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 58.43 \u00d7 34.5 \u00d7 8 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 58.43, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 34.5, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329537 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 58.43, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 34.5, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462c9f82_0974", "family": "ribbed", "tier": 1, "seed": 1177329538, "symmetry": "none", "op_count": 2, "ir_hash": "c81a4b2640cdebca", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 13400.0, "surface_area": 7360.0, "principal_moments": [1820000.0, 4830000.0, 6340000.0], "n_faces": 22, "n_edges": 52, "n_vertices": 32}, "dimensions": {"lines": ["Rectangular body, 59.68 \u00d7 36.1 \u00d7 5 mm (W\u00d7D\u00d7H).", "Two ribs, 2.8 mm thick, 9.7 mm tall."], "text": "Rectangular body, 59.68 \u00d7 36.1 \u00d7 5 mm (W\u00d7D\u00d7H). Two ribs, 2.8 mm thick, 9.7 mm tall."}, "params": {"base_w": {"type": "float", "default": 59.68, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 36.1, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 5.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 2, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 9.7, "min": 3.9, "max": 19.4, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 2.8, "min": 1.0, "max": 7.0, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329538 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 59.68, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 36.1, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 2, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 9.7, \"min\": 3.9, \"max\": 19.4, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 2.8, \"min\": 1.0, \"max\": 7.0, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9f83_0975", "family": "plate", "tier": 1, "seed": 1177329539, "symmetry": "none", "op_count": 2, "ir_hash": "1f1eec4b1eab1eba", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 3020.0, "surface_area": 1940.0, "principal_moments": [87600.0, 307000.0, 382000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 35 \u00d7 18.2 \u00d7 5 mm (W\u00d7D\u00d7H).", "Four \u00d83.2 mm holes at the corners, 24.5 \u00d7 12.74 mm spacing."], "text": "Rectangular body, 35 \u00d7 18.2 \u00d7 5 mm (W\u00d7D\u00d7H). Four \u00d83.2 mm holes at the corners, 24.5 \u00d7 12.74 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 35, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 18.2, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 5.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 4.1, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329539 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 35, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 18.2, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 5.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 4.1, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462c9f84_0976", "family": "threaded", "tier": 3, "seed": 1177329540, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "9a34a3bf15540e17", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 2470.0, "surface_area": 1850.0, "principal_moments": [26700.0, 292000.0, 292000.0], "n_faces": 524, "n_edges": 1442, "n_vertices": 920}, "dimensions": {"lines": ["M10x1.25 external thread, 36.9 mm long."], "text": "M10x1.25 external thread, 36.9 mm long."}, "params": {"major_d": {"type": "float", "default": 10.0, "min": 4.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Major diameter (mm)"}, "pitch": {"type": "float", "default": 1.25, "min": 0.62, "max": 2.5, "step": 0.05, "group": "Thread", "label": "Pitch (mm)"}, "thread_len": {"type": "float", "default": 36.9, "min": 14.8, "max": 73.8, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329540 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 10.0, \"min\": 4.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Major diameter (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.25, \"min\": 0.62, \"max\": 2.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Pitch (mm)'},\n    \"thread_len\": {\"type\": 'float', \"default\": 36.9, \"min\": 14.8, \"max\": 73.8, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.IsoThread(major_diameter=p[\"major_d\"], pitch=p[\"pitch\"], length=p[\"thread_len\"], external=True, end_finishes=(\"fade\", \"fade\"))\n    _r = _thr.min_radius if hasattr(_thr, 'min_radius') else _thr.root_radius\n    _shank = _bd.Cylinder(radius=_r, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = _shank + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462c9f85_0977", "family": "gear", "tier": 1, "seed": 1177329541, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "f486d13f243caf97", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 15400.0, "surface_area": 6520.0, "principal_moments": [2590000.0, 2590000.0, 5010000.0], "n_faces": 153, "n_edges": 453, "n_vertices": 302}, "dimensions": {"lines": ["Spur gear, module 2 mm, 25 teeth (pitch \u00d850 mm), face width 8.2 mm, \u00d88.8 mm bore."], "text": "Spur gear, module 2 mm, 25 teeth (pitch \u00d850 mm), face width 8.2 mm, \u00d88.8 mm bore."}, "params": {"module": {"type": "float", "default": 2.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 25, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 8.2, "min": 3.3, "max": 20.5, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "bore_d": {"type": "float", "default": 8.8, "min": 2.0, "max": 27.0, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329541 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 2.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 25, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 8.2, \"min\": 3.3, \"max\": 20.5, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 8.8, \"min\": 2.0, \"max\": 27.0, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462c9f86_0978", "family": "tapped", "tier": 3, "seed": 1177329542, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "17ef560387018049", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 43200.0, "surface_area": 11200.0, "principal_moments": [9680000.0, 20700000.0, 29399999.999999996], "n_faces": 534, "n_edges": 1460, "n_vertices": 928}, "dimensions": {"lines": ["Four M4x0.7 tapped holes in a plate."], "text": "Four M4x0.7 tapped holes in a plate."}, "params": {"major_d": {"type": "float", "default": 4.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 0.7, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 11.5, "min": 4.8, "max": 20.7, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "plate_w": {"type": "float", "default": 75, "min": 45.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 50.6, "min": 30.4, "max": 81.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329542 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 4.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 0.7, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 11.5, \"min\": 4.8, \"max\": 20.7, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"plate_w\": {\"type\": 'float', \"default\": 75, \"min\": 45.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 50.6, \"min\": 30.4, \"max\": 81.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n}\n\n\ndef build(p):\n\n    _W, _D, _H = p[\"plate_w\"], p[\"plate_d\"], p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Box(_W, _D, _H)\n    _sx, _sy = p[\"plate_w\"] * 0.6, p[\"plate_d\"] * 0.6\n    _locs = [(_xx, _yy) for _xx in (-_sx / 2, _sx / 2) for _yy in (-_sy / 2, _sy / 2)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462c9f87_0979", "family": "compound", "tier": 1, "seed": 1177329543, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "d3cb4a6567bd54bf", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 227000.0, "surface_area": 26600.0, "principal_moments": [117000000.0, 170000000.0, 173000000.0], "n_faces": 16, "n_edges": 39, "n_vertices": 26}, "dimensions": {"lines": ["Rectangular body, 70 \u00d7 57 \u00d7 55.5 mm (W\u00d7D\u00d7H).", "8-sided polygon section, 19.8 mm across corners attachment, 35.7 mm long, from left face with a \u00d87.4 mm bore."], "text": "Rectangular body, 70 \u00d7 57 \u00d7 55.5 mm (W\u00d7D\u00d7H). 8-sided polygon section, 19.8 mm across corners attachment, 35.7 mm long, from left face with a \u00d87.4 mm bore."}, "params": {"block_w": {"type": "float", "default": 70, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 57.0, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 55.5, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "spig_sides": {"type": "int", "default": 8, "min": 3, "max": 8, "step": 1, "group": "Spigot", "label": "Spigot sides"}, "spig_r": {"type": "float", "default": 9.9, "min": 5.0, "max": 19.4, "step": 1.0, "group": "Spigot", "label": "Spigot circumradius (mm)"}, "spig_len": {"type": "float", "default": 35.7, "min": 5.5, "max": 73.2, "step": 1.0, "group": "Spigot", "label": "Spigot length (mm)"}, "spig_bore": {"type": "float", "default": 7.4, "min": 2.0, "max": 13.2, "step": 0.5, "group": "Spigot", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329543 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 70, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 57.0, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 55.5, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"spig_sides\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Spigot', \"label\": 'Spigot sides'},\n    \"spig_r\": {\"type\": 'float', \"default\": 9.9, \"min\": 5.0, \"max\": 19.4, \"step\": 1.0, \"group\": 'Spigot', \"label\": 'Spigot circumradius (mm)'},\n    \"spig_len\": {\"type\": 'float', \"default\": 35.7, \"min\": 5.5, \"max\": 73.2, \"step\": 1.0, \"group\": 'Spigot', \"label\": 'Spigot length (mm)'},\n    \"spig_bore\": {\"type\": 'float', \"default\": 7.4, \"min\": 2.0, \"max\": 13.2, \"step\": 0.5, \"group\": 'Spigot', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"spig_sides\"], p[\"spig_r\"] * 2).extrude(p[\"spig_len\"])\n    )\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"spig_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462c9f88_0980", "family": "bracket", "tier": 2, "seed": 1177329544, "symmetry": "none", "op_count": 1, "ir_hash": "528bf1e5bc0b7b97", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 41100.0, "surface_area": 12900.0, "principal_moments": [11999999.999999998, 23399999.999999996, 27699999.999999996], "n_faces": 14, "n_edges": 37, "n_vertices": 24}, "dimensions": {"lines": ["L-bracket: base leg 65 mm, vertical leg 45.6 mm, 49.23 mm wide, 8 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg; 6.9 mm corner gusset."], "text": "L-bracket: base leg 65 mm, vertical leg 45.6 mm, 49.23 mm wide, 8 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg; 6.9 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 65, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 45.6, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 49.23, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 8.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 6.9, "min": 4.0, "max": 24.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329544 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 65, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 45.6, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 49.23, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 6.9, \"min\": 4.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462c9f89_0981", "family": "block", "tier": 2, "seed": 1177329545, "symmetry": "mirror_xy", "op_count": 3, "ir_hash": "4c9bbb11d9293e1c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 178000.0, "surface_area": 25600.0, "principal_moments": [72900000.0, 160000000.0, 210000000.0], "n_faces": 14, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 65 \u00d7 28 \u00d7 100 mm (W\u00d7D\u00d7H).", "Four \u00d83.2 mm holes at the corners, 45.5 \u00d7 19.6 mm spacing.", "Fillet radius 3.204 mm on vertical edges."], "text": "Rectangular body, 65 \u00d7 28 \u00d7 100 mm (W\u00d7D\u00d7H). Four \u00d83.2 mm holes at the corners, 45.5 \u00d7 19.6 mm spacing. Fillet radius 3.204 mm on vertical edges."}, "params": {"block_w": {"type": "float", "default": 65, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 28.0, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 100.0, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 6.3, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329545 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 65, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 28.0, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 100.0, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 6.3, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"block_w\"], p[\"block_d\"]) * 0.1144267218421639)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462c9f8a_0982", "family": "ribbed", "tier": 2, "seed": 1177329546, "symmetry": "none", "op_count": 2, "ir_hash": "2e6d0c87e25fa4ab", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 9250.0, "surface_area": 5680.0, "principal_moments": [862000.0, 1090000.0, 1420000.0], "n_faces": 26, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 32 \u00d7 30.6 \u00d7 4 mm (W\u00d7D\u00d7H).", "Four ribs, 3.8 mm thick, 13.7 mm tall."], "text": "Rectangular body, 32 \u00d7 30.6 \u00d7 4 mm (W\u00d7D\u00d7H). Four ribs, 3.8 mm thick, 13.7 mm tall."}, "params": {"base_w": {"type": "float", "default": 32.0, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 30.6, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 4.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 4, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 13.7, "min": 5.5, "max": 27.4, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 3.8, "min": 1.0, "max": 9.5, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329546 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 32.0, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 30.6, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 4, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 13.7, \"min\": 5.5, \"max\": 27.4, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 3.8, \"min\": 1.0, \"max\": 9.5, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462c9f8b_0983", "family": "swept", "tier": 1, "seed": 1177329547, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "9de2e4847d353936", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 12000.0, "surface_area": 3710.0, "principal_moments": [313000.0, 5840000.0, 5840000.0], "n_faces": 3, "n_edges": 3, "n_vertices": 2}, "dimensions": {"lines": ["\u00d814.4 mm circular section swept along a curved path, ~75 mm span."], "text": "\u00d814.4 mm circular section swept along a curved path, ~75 mm span."}, "params": {"path_w": {"type": "float", "default": 38.0, "min": 19.0, "max": 68.4, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 75, "min": 37.5, "max": 135.0, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_d": {"type": "float", "default": 14.4, "min": 7.2, "max": 25.9, "step": 1.0, "group": "Section", "label": "Section diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329547 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 38.0, \"min\": 19.0, \"max\": 68.4, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 75, \"min\": 37.5, \"max\": 135.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_d\": {\"type\": 'float', \"default\": 14.4, \"min\": 7.2, \"max\": 25.9, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.0254, p[\"path_h\"] * 0.4168), (p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.6489), (p[\"path_w\"] * 0.0923, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').circle(p[\"sweep_d\"] / 2).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462c9f8c_0984", "family": "compound", "tier": 1, "seed": 1177329548, "symmetry": "none", "op_count": 2, "ir_hash": "41512b22dd9dd05f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 130000.0, "surface_area": 22400.0, "principal_moments": [62299999.99999999, 81400000.0, 81400000.0], "n_faces": 10, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["Lofted body through 2 sections: 65 \u00d7 65 mm rectangular section \u2192 \u00d840.8 mm circular section.", "\u00d833.4 mm circular section attachment, 30.8 mm long, from top face with a \u00d819 mm bore."], "text": "Lofted body through 2 sections: 65 \u00d7 65 mm rectangular section \u2192 \u00d840.8 mm circular section. \u00d833.4 mm circular section attachment, 30.8 mm long, from top face with a \u00d819 mm bore."}, "params": {"adapter_base": {"type": "float", "default": 65, "min": 39.0, "max": 97.5, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "adapter_top": {"type": "float", "default": 40.8, "min": 20.4, "max": 65, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "adapter_h": {"type": "float", "default": 47.3, "min": 18.9, "max": 94.6, "step": 1.0, "group": "Body", "label": "Transition height (mm)"}, "neck_d": {"type": "float", "default": 33.4, "min": 13.4, "max": 40.8, "step": 1.0, "group": "Neck", "label": "Neck diameter (mm)"}, "neck_l": {"type": "float", "default": 30.8, "min": 12.3, "max": 77.0, "step": 1.0, "group": "Neck", "label": "Neck length (mm)"}, "neck_bore": {"type": "float", "default": 19.0, "min": 2.0, "max": 24.0, "step": 0.5, "group": "Neck", "label": "Neck bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329548 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"adapter_base\": {\"type\": 'float', \"default\": 65, \"min\": 39.0, \"max\": 97.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"adapter_top\": {\"type\": 'float', \"default\": 40.8, \"min\": 20.4, \"max\": 65, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"adapter_h\": {\"type\": 'float', \"default\": 47.3, \"min\": 18.9, \"max\": 94.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Transition height (mm)'},\n    \"neck_d\": {\"type\": 'float', \"default\": 33.4, \"min\": 13.4, \"max\": 40.8, \"step\": 1.0, \"group\": 'Neck', \"label\": 'Neck diameter (mm)'},\n    \"neck_l\": {\"type\": 'float', \"default\": 30.8, \"min\": 12.3, \"max\": 77.0, \"step\": 1.0, \"group\": 'Neck', \"label\": 'Neck length (mm)'},\n    \"neck_bore\": {\"type\": 'float', \"default\": 19.0, \"min\": 2.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Neck', \"label\": 'Neck bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .rect(p[\"adapter_base\"], p[\"adapter_base\"])\n        .workplane(offset=p[\"adapter_h\"])\n        .circle(p[\"adapter_top\"] / 2)\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"neck_d\"] / 2).extrude(p[\"neck_l\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"neck_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462c9f8d_0985", "family": "gear", "tier": 2, "seed": 1177329549, "symmetry": "none", "op_count": 1, "ir_hash": "74891c4b4ba7f3c1", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 110000.0, "surface_area": 24700.0, "principal_moments": [71600000.0, 71600000.0, 139000000.0], "n_faces": 447, "n_edges": 1113, "n_vertices": 668}, "dimensions": {"lines": ["Helical gear, module 2.5 mm, 37 teeth (pitch \u00d892.5 mm), face width 14.9 mm, 22.4\u00b0 helix (herringbone), \u00d818.5 mm bore."], "text": "Helical gear, module 2.5 mm, 37 teeth (pitch \u00d892.5 mm), face width 14.9 mm, 22.4\u00b0 helix (herringbone), \u00d818.5 mm bore."}, "params": {"module": {"type": "float", "default": 2.5, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 37, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 14.9, "min": 6.0, "max": 37.2, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "helix_angle": {"type": "float", "default": 22.4, "min": 5.0, "max": 40.0, "step": 1.0, "group": "Gear", "label": "Helix angle (deg)"}, "profile_shift": {"type": "float", "default": -0.23, "min": -0.5, "max": 0.7, "step": 0.05, "group": "Gear", "label": "Profile shift"}, "root_fillet": {"type": "float", "default": 0.41, "min": 0.0, "max": 1.25, "step": 0.05, "group": "Gear", "label": "Root fillet (mm)"}, "bore_d": {"type": "float", "default": 18.5, "min": 2.0, "max": 51.8, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329549 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 2.5, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 37, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 14.9, \"min\": 6.0, \"max\": 37.2, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"helix_angle\": {\"type\": 'float', \"default\": 22.4, \"min\": 5.0, \"max\": 40.0, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Helix angle (deg)'},\n    \"profile_shift\": {\"type\": 'float', \"default\": -0.23, \"min\": -0.5, \"max\": 0.7, \"step\": 0.05, \"group\": 'Gear', \"label\": 'Profile shift'},\n    \"root_fillet\": {\"type\": 'float', \"default\": 0.41, \"min\": 0.0, \"max\": 1.25, \"step\": 0.05, \"group\": 'Gear', \"label\": 'Root fillet (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 18.5, \"min\": 2.0, \"max\": 51.8, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.HelicalGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"], helix_angle=math.radians(p[\"helix_angle\"]), herringbone=True, profile_shift=p[\"profile_shift\"], root_fillet=p[\"root_fillet\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9f8e_0986", "family": "plate", "tier": 2, "seed": 1177329550, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "8c9c689afde07bcd", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 59800.0, "surface_area": 18000.0, "principal_moments": [34800000.0, 40600000.0, 74800000.0], "n_faces": 18, "n_edges": 44, "n_vertices": 28}, "dimensions": {"lines": ["Rectangular body, 90.34 \u00d7 83.5 \u00d7 8 mm (W\u00d7D\u00d7H).", "Four \u00d83.2 mm countersunk holes (82\u00b0) at the corners, 63.238 \u00d7 58.45 mm spacing.", "Fillet radius 5.394 mm on vertical edges."], "text": "Rectangular body, 90.34 \u00d7 83.5 \u00d7 8 mm (W\u00d7D\u00d7H). Four \u00d83.2 mm countersunk holes (82\u00b0) at the corners, 63.238 \u00d7 58.45 mm spacing. Fillet radius 5.394 mm on vertical edges."}, "params": {"plate_w": {"type": "float", "default": 90.34, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 83.5, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "cs_angle": {"type": "float", "default": 82.0, "min": 60.0, "max": 120.0, "step": 15.0, "group": "Holes", "label": "Countersink angle (\u00b0)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329550 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 90.34, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 83.5, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"cs_angle\": {\"type\": 'float', \"default\": 82.0, \"min\": 60.0, \"max\": 120.0, \"step\": 15.0, \"group\": 'Holes', \"label\": 'Countersink angle (\u00b0)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().cskHole(p[\"hole_d\"], p[\"hole_d\"] * 2, p[\"cs_angle\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"plate_w\"], p[\"plate_d\"]) * 0.06459537697664987)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462c9f8f_0987", "family": "compound", "tier": 1, "seed": 1177329551, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "1f5da9291a990827", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 5080.0, "surface_area": 1880.0, "principal_moments": [125000.0, 555000.0, 555000.0], "n_faces": 5, "n_edges": 6, "n_vertices": 4}, "dimensions": {"lines": ["\u00d815 mm circular section, extruded 23 mm thick.", "\u00d89.3 mm circular section attachment, 15 mm long, from top face."], "text": "\u00d815 mm circular section, extruded 23 mm thick. \u00d89.3 mm circular section attachment, 15 mm long, from top face."}, "params": {"shaft_d": {"type": "float", "default": 15, "min": 7.5, "max": 27.0, "step": 1.0, "group": "Body", "label": "Shaft diameter (mm)"}, "shaft_len": {"type": "float", "default": 23.0, "min": 9.2, "max": 46.0, "step": 1.0, "group": "Body", "label": "Shaft length (mm)"}, "step_d": {"type": "float", "default": 9.3, "min": 4.7, "max": 13.5, "step": 1.0, "group": "Step", "label": "Step diameter (mm)"}, "step_len": {"type": "float", "default": 15.0, "min": 4.5, "max": 37.5, "step": 1.0, "group": "Step", "label": "Step length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329551 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"shaft_d\": {\"type\": 'float', \"default\": 15, \"min\": 7.5, \"max\": 27.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft diameter (mm)'},\n    \"shaft_len\": {\"type\": 'float', \"default\": 23.0, \"min\": 9.2, \"max\": 46.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft length (mm)'},\n    \"step_d\": {\"type\": 'float', \"default\": 9.3, \"min\": 4.7, \"max\": 13.5, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step diameter (mm)'},\n    \"step_len\": {\"type\": 'float', \"default\": 15.0, \"min\": 4.5, \"max\": 37.5, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').circle(p[\"shaft_d\"] / 2).extrude(p[\"shaft_len\"]))\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"step_d\"] / 2).extrude(p[\"step_len\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462c9f90_0988", "family": "swept", "tier": 0, "seed": 1177329552, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "7510bd44790177e6", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 16600.0, "surface_area": 4960.0, "principal_moments": [1270000.0, 7980000.0, 8670000.0], "n_faces": 3, "n_edges": 3, "n_vertices": 2}, "dimensions": {"lines": ["\u00d816.7 mm circular section swept along a curved path, ~70 mm span."], "text": "\u00d816.7 mm circular section swept along a curved path, ~70 mm span."}, "params": {"path_w": {"type": "float", "default": 48.1, "min": 24.1, "max": 86.6, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 70, "min": 35.0, "max": 126.0, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_d": {"type": "float", "default": 16.7, "min": 8.3, "max": 30.1, "step": 1.0, "group": "Section", "label": "Section diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329552 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 48.1, \"min\": 24.1, \"max\": 86.6, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 70, \"min\": 35.0, \"max\": 126.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_d\": {\"type\": 'float', \"default\": 16.7, \"min\": 8.3, \"max\": 30.1, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.5317), (p[\"path_w\"] * 0.2042, p[\"path_h\"] * 0.5757), (p[\"path_w\"] * 0.3671, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').circle(p[\"sweep_d\"] / 2).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462c9f91_0989", "family": "tapped", "tier": 3, "seed": 1177329553, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "4c1d3ddeb251f4ce", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 4100.0, "surface_area": 2210.0, "principal_moments": [193000.0, 224000.0, 224000.0], "n_faces": 127, "n_edges": 343, "n_vertices": 218}, "dimensions": {"lines": ["One M8x1.25 tapped hole in a cylinder."], "text": "One M8x1.25 tapped hole in a cylinder."}, "params": {"major_d": {"type": "float", "default": 8.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 1.25, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 19.3, "min": 9.6, "max": 34.7, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "body_d": {"type": "float", "default": 18.0, "min": 14.4, "max": 28.8, "step": 1.0, "group": "Body", "label": "Outer \u00d8 (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329553 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.25, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 19.3, \"min\": 9.6, \"max\": 34.7, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"body_d\": {\"type\": 'float', \"default\": 18.0, \"min\": 14.4, \"max\": 28.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer \u00d8 (mm)'},\n}\n\n\ndef build(p):\n\n    _W = _D = p[\"body_d\"]\n    _H = p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Cylinder(radius=_W / 2, height=_H)\n    _locs = [(0.0, 0.0)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462c9f92_0990", "family": "bracket", "tier": 1, "seed": 1177329554, "symmetry": "none", "op_count": 1, "ir_hash": "d7ca08b33ad910f5", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 53200.0, "surface_area": 17500.0, "principal_moments": [15099999.999999998, 116000000.0, 123000000.0], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Z-bracket: base leg 87.71 mm, vertical leg 72.5 mm, top leg 77.8 mm, 30 mm wide, 8 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."], "text": "Z-bracket: base leg 87.71 mm, vertical leg 72.5 mm, top leg 77.8 mm, 30 mm wide, 8 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 87.71, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 72.5, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 30, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 8.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 77.8, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329554 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 87.71, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 72.5, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 30, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 77.8, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462c9f93_0991", "family": "ribbed", "tier": 3, "seed": 1177329555, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "1a05e9a8c1124ad7", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 34100.0, "surface_area": 15800.0, "principal_moments": [7090000.0, 8860000.0, 11499999.999999998], "n_faces": 36, "n_edges": 84, "n_vertices": 56}, "dimensions": {"lines": ["Rectangular body, 49.61 \u00d7 43.1 \u00d7 8 mm (W\u00d7D\u00d7H).", "Six ribs, 3.7 mm thick, 19.3 mm tall."], "text": "Rectangular body, 49.61 \u00d7 43.1 \u00d7 8 mm (W\u00d7D\u00d7H). Six ribs, 3.7 mm thick, 19.3 mm tall."}, "params": {"base_w": {"type": "float", "default": 49.61, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 43.1, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 8.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 6, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 19.3, "min": 7.7, "max": 38.6, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 3.7, "min": 1.0, "max": 9.2, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329555 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 49.61, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 43.1, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 6, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 19.3, \"min\": 7.7, \"max\": 38.6, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 3.7, \"min\": 1.0, \"max\": 9.2, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462c9f94_0992", "family": "bracket", "tier": 1, "seed": 1177329556, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "fff61d1b63b5fc84", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 8700.0, "surface_area": 3660.0, "principal_moments": [462000.0, 2110000.0, 2250000.0], "n_faces": 11, "n_edges": 27, "n_vertices": 18}, "dimensions": {"lines": ["Z-bracket: base leg 30 mm, vertical leg 34 mm, top leg 25 mm, 15 mm wide, 8 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."], "text": "Z-bracket: base leg 30 mm, vertical leg 34 mm, top leg 25 mm, 15 mm wide, 8 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 30, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 34.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 15.0, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 8.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 25.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 6.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329556 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 30, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 34.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 15.0, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 25.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 6.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462c9f95_0993", "family": "revolved", "tier": 2, "seed": 1177329557, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "a1952333fe13b225", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 235.0, "surface_area": 321.0, "principal_moments": [1810.0, 2100.0, 2100.0], "n_faces": 12, "n_edges": 20, "n_vertices": 12}, "dimensions": {"lines": ["Revolved body, \u00d87.16 mm \u00d7 8 mm tall with \u00d83.4 mm bore, 0.9 mm-wide groove 0.34 mm deep.", "Chamfer 0.5 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d87.16 mm \u00d7 8 mm tall with \u00d83.4 mm bore, 0.9 mm-wide groove 0.34 mm deep. Chamfer 0.5 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 7.16, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 8.0, "min": 2.4, "max": 24.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 3.4, "min": 2.0, "max": 5.0, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "groove_depth": {"type": "float", "default": 0.34, "min": 0.14, "max": 1.02, "step": 0.1, "group": "Body", "label": "Groove depth (mm)"}, "groove_w": {"type": "float", "default": 0.9, "min": 0.36, "max": 2.7, "step": 0.2, "group": "Body", "label": "Groove width (mm)"}, "groove_pos": {"type": "float", "default": 2.6, "min": 1.2, "max": 6.8, "step": 1.0, "group": "Body", "label": "Groove position (mm)"}, "end_chamfer": {"type": "float", "default": 0.5, "min": 0.1, "max": 1.5, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329557 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 7.16, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.4, \"max\": 24.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 3.4, \"min\": 2.0, \"max\": 5.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"groove_depth\": {\"type\": 'float', \"default\": 0.34, \"min\": 0.14, \"max\": 1.02, \"step\": 0.1, \"group\": 'Body', \"label\": 'Groove depth (mm)'},\n    \"groove_w\": {\"type\": 'float', \"default\": 0.9, \"min\": 0.36, \"max\": 2.7, \"step\": 0.2, \"group\": 'Body', \"label\": 'Groove width (mm)'},\n    \"groove_pos\": {\"type\": 'float', \"default\": 2.6, \"min\": 1.2, \"max\": 6.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Groove position (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.5, \"min\": 0.1, \"max\": 1.5, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"groove_pos\"] - p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2 - p[\"groove_depth\"], p[\"groove_pos\"] - p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2 - p[\"groove_depth\"], p[\"groove_pos\"] + p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2, p[\"groove_pos\"] + p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462c9f96_0994", "family": "block", "tier": 1, "seed": 1177329558, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "a2c6206d3eee803e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 90700.0, "surface_area": 18200.0, "principal_moments": [24099999.999999996, 40300000.0, 40700000.0], "n_faces": 15, "n_edges": 39, "n_vertices": 26}, "dimensions": {"lines": ["Rectangular body, 40 \u00d7 38.8 \u00d7 61.3 mm (W\u00d7D\u00d7H).", "Nine \u00d83.2 mm holes in two staggered rows, 7.5 \u00d7 8.7 mm pitch."], "text": "Rectangular body, 40 \u00d7 38.8 \u00d7 61.3 mm (W\u00d7D\u00d7H). Nine \u00d83.2 mm holes in two staggered rows, 7.5 \u00d7 8.7 mm pitch."}, "params": {"block_w": {"type": "float", "default": 40, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 38.8, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 61.3, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 3.9, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 5, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329558 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 40, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 38.8, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 61.3, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 3.9, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 5, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 7.5\n    _ssy = 8.7\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462c9f97_0995", "family": "block", "tier": 2, "seed": 1177329559, "symmetry": "none", "op_count": 3, "ir_hash": "df6038f955c1a8be", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 118000.0, "surface_area": 21200.0, "principal_moments": [33299999.999999996, 67600000.0, 72600000.0], "n_faces": 14, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 45 \u00d7 38.7 \u00d7 73.6 mm (W\u00d7D\u00d7H).", "Four \u00d86.4 mm holes at the corners, 31.5 \u00d7 27.09 mm spacing.", "Fillet radius 1.92 mm on vertical edges."], "text": "Rectangular body, 45 \u00d7 38.7 \u00d7 73.6 mm (W\u00d7D\u00d7H). Four \u00d86.4 mm holes at the corners, 31.5 \u00d7 27.09 mm spacing. Fillet radius 1.92 mm on vertical edges."}, "params": {"block_w": {"type": "float", "default": 45, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 38.7, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 73.6, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 8.7, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329559 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 45, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 38.7, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 73.6, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 8.7, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"block_w\"], p[\"block_d\"]) * 0.049613946371631315)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462c9f98_0996", "family": "profiled", "tier": 0, "seed": 1177329560, "symmetry": "none", "op_count": 1, "ir_hash": "fe087331d9678f83", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 156000.0, "surface_area": 23900.0, "principal_moments": [15999999.999999998, 813000000.0, 816000000.0], "n_faces": 9, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["freeform sketched section (7 segments: 3 straight, 2 arcs, 2 curves), ~32.014 \u00d7 26.848 mm, extruded 248.8 mm thick."], "text": "freeform sketched section (7 segments: 3 straight, 2 arcs, 2 curves), ~32.014 \u00d7 26.848 mm, extruded 248.8 mm thick."}, "params": {"sk_w": {"type": "float", "default": 37.94, "min": 19.0, "max": 68.3, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 32.41, "min": 16.2, "max": 58.3, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "length": {"type": "float", "default": 248.8, "min": 74.6, "max": 746.4, "step": 5.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329560 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 37.94, \"min\": 19.0, \"max\": 68.3, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 32.41, \"min\": 16.2, \"max\": 58.3, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 248.8, \"min\": 74.6, \"max\": 746.4, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.4385, p[\"sk_h\"] * -0.0204).threePointArc((p[\"sk_w\"] * 0.369, p[\"sk_h\"] * 0.1732), (p[\"sk_w\"] * 0.2144, p[\"sk_h\"] * 0.3164)).spline([(p[\"sk_w\"] * 0.2144, p[\"sk_h\"] * 0.3164), (p[\"sk_w\"] * 0.1142, p[\"sk_h\"] * 0.3529), (p[\"sk_w\"] * 0.0077, p[\"sk_h\"] * 0.3495)]).lineTo(p[\"sk_w\"] * -0.3186, p[\"sk_h\"] * 0.1855).spline([(p[\"sk_w\"] * -0.3186, p[\"sk_h\"] * 0.1855), (p[\"sk_w\"] * -0.3997, p[\"sk_h\"] * 0.0328), (p[\"sk_w\"] * -0.4053, p[\"sk_h\"] * -0.14)]).threePointArc((p[\"sk_w\"] * -0.2303, p[\"sk_h\"] * -0.3482), (p[\"sk_w\"] * 0.0072, p[\"sk_h\"] * -0.4789)).lineTo(p[\"sk_w\"] * 0.2424, p[\"sk_h\"] * -0.4218).lineTo(p[\"sk_w\"] * 0.4385, p[\"sk_h\"] * -0.0204).close().extrude(p[\"length\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462c9f99_0997", "family": "revolved", "tier": 1, "seed": 1177329561, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "c9c0b1c5031cad7f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 17800.0, "surface_area": 5250.0, "principal_moments": [2940000.0, 2940000.0, 5340000.0], "n_faces": 8, "n_edges": 14, "n_vertices": 8}, "dimensions": {"lines": ["Revolved body, \u00d845.2 mm \u00d7 13.5 mm tall with \u00d818.9 mm bore.", "Chamfer 0.5 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d845.2 mm \u00d7 13.5 mm tall with \u00d818.9 mm bore. Chamfer 0.5 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 45.2, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 13.5, "min": 4.0, "max": 40.5, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 18.9, "min": 2.0, "max": 31.6, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "end_chamfer": {"type": "float", "default": 0.5, "min": 0.1, "max": 1.5, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329561 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 45.2, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 13.5, \"min\": 4.0, \"max\": 40.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 18.9, \"min\": 2.0, \"max\": 31.6, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.5, \"min\": 0.1, \"max\": 1.5, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462c9f9a_0998", "family": "swept", "tier": 2, "seed": 1177329562, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "b6fe5fb2fd6077b6", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 663.0, "surface_area": 2720.0, "principal_moments": [13700.0, 296000.0, 297000.0], "n_faces": 3, "n_edges": 3, "n_vertices": 2}, "dimensions": {"lines": ["\u00d812.6 mm circular section swept along a curved path, ~61.93 mm span."], "text": "\u00d812.6 mm circular section swept along a curved path, ~61.93 mm span."}, "params": {"path_w": {"type": "float", "default": 61.93, "min": 31.0, "max": 111.5, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 57.61, "min": 28.8, "max": 103.7, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_d": {"type": "float", "default": 12.6, "min": 6.3, "max": 22.7, "step": 1.0, "group": "Section", "label": "Section diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329562 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 61.93, \"min\": 31.0, \"max\": 111.5, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 57.61, \"min\": 28.8, \"max\": 103.7, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_d\": {\"type\": 'float', \"default\": 12.6, \"min\": 6.3, \"max\": 22.7, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.4236, p[\"path_h\"] * 0.4041), (p[\"path_w\"] * 0.55, p[\"path_h\"] * 0.8661), (p[\"path_w\"] * 0.9731, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').circle(p[\"sweep_d\"] / 2).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462c9f9b_0999", "family": "ribbed", "tier": 3, "seed": 1177329563, "symmetry": "none", "op_count": 2, "ir_hash": "456287601d4256f7", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 17300.0, "surface_area": 9010.0, "principal_moments": [2930000.0, 8680000.0, 10900000.0], "n_faces": 22, "n_edges": 52, "n_vertices": 32}, "dimensions": {"lines": ["Rectangular body, 67.2 \u00d7 36 \u00d7 5 mm (W\u00d7D\u00d7H).", "Two ribs, 3.9 mm thick, 12.4 mm tall."], "text": "Rectangular body, 67.2 \u00d7 36 \u00d7 5 mm (W\u00d7D\u00d7H). Two ribs, 3.9 mm thick, 12.4 mm tall."}, "params": {"base_w": {"type": "float", "default": 67.2, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 36.0, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 5.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 2, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 12.4, "min": 5.0, "max": 24.8, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 3.9, "min": 1.0, "max": 9.8, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329563 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 67.2, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 36.0, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 2, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 12.4, \"min\": 5.0, \"max\": 24.8, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 3.9, \"min\": 1.0, \"max\": 9.8, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462c9f9c_1000", "family": "compound", "tier": 1, "seed": 1177329564, "symmetry": "none", "op_count": 2, "ir_hash": "811f0483f1ba0d82", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 45000.0, "surface_area": 8140.0, "principal_moments": [7860000.0, 13499999.999999998, 13499999.999999998], "n_faces": 16, "n_edges": 39, "n_vertices": 26}, "dimensions": {"lines": ["Lofted body through 2 sections: 41.77 \u00d7 41.77 mm rectangular section \u2192 \u00d820.1 mm circular section.", "8-sided polygon section, 16 mm across corners attachment, 16.2 mm long, from top face."], "text": "Lofted body through 2 sections: 41.77 \u00d7 41.77 mm rectangular section \u2192 \u00d820.1 mm circular section. 8-sided polygon section, 16 mm across corners attachment, 16.2 mm long, from top face."}, "params": {"adapter_base": {"type": "float", "default": 41.77, "min": 25.1, "max": 62.7, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "adapter_top": {"type": "float", "default": 20.1, "min": 10.1, "max": 41.8, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "adapter_h": {"type": "float", "default": 44.8, "min": 17.9, "max": 89.6, "step": 1.0, "group": "Body", "label": "Transition height (mm)"}, "neck_sides": {"type": "int", "default": 8, "min": 3, "max": 8, "step": 1, "group": "Neck", "label": "Neck sides"}, "neck_r": {"type": "float", "default": 8.0, "min": 4.0, "max": 10.1, "step": 1.0, "group": "Neck", "label": "Neck circumradius (mm)"}, "neck_l": {"type": "float", "default": 16.2, "min": 6.5, "max": 40.5, "step": 1.0, "group": "Neck", "label": "Neck length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329564 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"adapter_base\": {\"type\": 'float', \"default\": 41.77, \"min\": 25.1, \"max\": 62.7, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"adapter_top\": {\"type\": 'float', \"default\": 20.1, \"min\": 10.1, \"max\": 41.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"adapter_h\": {\"type\": 'float', \"default\": 44.8, \"min\": 17.9, \"max\": 89.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Transition height (mm)'},\n    \"neck_sides\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Neck', \"label\": 'Neck sides'},\n    \"neck_r\": {\"type\": 'float', \"default\": 8.0, \"min\": 4.0, \"max\": 10.1, \"step\": 1.0, \"group\": 'Neck', \"label\": 'Neck circumradius (mm)'},\n    \"neck_l\": {\"type\": 'float', \"default\": 16.2, \"min\": 6.5, \"max\": 40.5, \"step\": 1.0, \"group\": 'Neck', \"label\": 'Neck length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .rect(p[\"adapter_base\"], p[\"adapter_base\"])\n        .workplane(offset=p[\"adapter_h\"])\n        .circle(p[\"adapter_top\"] / 2)\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"neck_sides\"], p[\"neck_r\"] * 2).extrude(p[\"neck_l\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462c9f9d_1001", "family": "block", "tier": 3, "seed": 1177329565, "symmetry": "none", "op_count": 4, "ir_hash": "20fd842c1e7c2dcc", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 128000.0, "surface_area": 24000.0, "principal_moments": [39100000.0, 94899999.99999999, 118000000.0], "n_faces": 13, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Rectangular body, 55 \u00d7 27.3 \u00d7 87.6 mm (W\u00d7D\u00d7H).", "Four \u00d84.3 mm holes at the corners, 38.5 \u00d7 19.11 mm spacing.", "Boss \u00d818.4 mm \u00d7 11.7 mm tall on top face with a \u00d84.3 mm bore.", "Fillet radius 2.748 mm on vertical edges (optional, off by default)."], "text": "Rectangular body, 55 \u00d7 27.3 \u00d7 87.6 mm (W\u00d7D\u00d7H). Four \u00d84.3 mm holes at the corners, 38.5 \u00d7 19.11 mm spacing. Boss \u00d818.4 mm \u00d7 11.7 mm tall on top face with a \u00d84.3 mm bore. Fillet radius 2.748 mm on vertical edges (optional, off by default)."}, "params": {"block_w": {"type": "float", "default": 55, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 27.3, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 87.6, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 6.1, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "boss_d": {"type": "float", "default": 18.4, "min": 9.2, "max": 36.8, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 11.7, "min": 4.7, "max": 29.2, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}, "boss_bore_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 12.9, "step": 0.1, "group": "Boss", "label": "Bore diameter (mm)"}, "filleted2": {"type": "bool", "default": false, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329565 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 55, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 27.3, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 87.6, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 6.1, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"boss_d\": {\"type\": 'float', \"default\": 18.4, \"min\": 9.2, \"max\": 36.8, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 11.7, \"min\": 4.7, \"max\": 29.2, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n    \"boss_bore_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 12.9, \"step\": 0.1, \"group\": 'Boss', \"label\": 'Bore diameter (mm)'},\n    \"filleted2\": {\"type\": 'bool', \"default\": False, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .hole(p[\"boss_bore_d\"])\n    )\n    if p[\"filleted2\"]:\n        result = result.edges('|Z').fillet(min(p[\"block_w\"], p[\"block_d\"]) * 0.1006697306010014)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462c9f9e_1002", "family": "bracket", "tier": 2, "seed": 1177329566, "symmetry": "none", "op_count": 1, "ir_hash": "c546b0276632ac4c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 21400.0, "surface_area": 10100.0, "principal_moments": [3530000.0, 12399999.999999998, 14499999.999999998], "n_faces": 18, "n_edges": 48, "n_vertices": 32}, "dimensions": {"lines": ["Z-bracket: base leg 45 mm, vertical leg 28 mm, top leg 44.6 mm, 39.76 mm wide, 5 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg; 6.2 mm corner gusset."], "text": "Z-bracket: base leg 45 mm, vertical leg 28 mm, top leg 44.6 mm, 39.76 mm wide, 5 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg; 6.2 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 45, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 28.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 39.76, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 5.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 44.6, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}, "gusset_t": {"type": "float", "default": 6.2, "min": 2.5, "max": 15.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329566 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 45, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 28.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 39.76, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 44.6, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 6.2, \"min\": 2.5, \"max\": 15.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _tl, _vl) * 0.4 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(0, _vl - _bt).lineTo(-_g, _vl - _bt)\n                    .lineTo(0, _vl - _bt - _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462c9f9f_1003", "family": "threaded", "tier": 0, "seed": 1177329567, "symmetry": "none", "op_count": 1, "ir_hash": "b4ddc6028da665d5", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 6330.0, "surface_area": 3060.0, "principal_moments": [175000.0, 802000.0, 802000.0], "n_faces": 326, "n_edges": 892, "n_vertices": 568}, "dimensions": {"lines": ["M16x2 external thread, 37 mm long."], "text": "M16x2 external thread, 37 mm long."}, "params": {"major_d": {"type": "float", "default": 16.0, "min": 4.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Major diameter (mm)"}, "pitch": {"type": "float", "default": 2.0, "min": 1.0, "max": 4.0, "step": 0.05, "group": "Thread", "label": "Pitch (mm)"}, "thread_len": {"type": "float", "default": 37.0, "min": 14.8, "max": 74.0, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329567 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 16.0, \"min\": 4.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Major diameter (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 2.0, \"min\": 1.0, \"max\": 4.0, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Pitch (mm)'},\n    \"thread_len\": {\"type\": 'float', \"default\": 37.0, \"min\": 14.8, \"max\": 74.0, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.IsoThread(major_diameter=p[\"major_d\"], pitch=p[\"pitch\"], length=p[\"thread_len\"], external=True, end_finishes=(\"fade\", \"fade\"))\n    _r = _thr.min_radius if hasattr(_thr, 'min_radius') else _thr.root_radius\n    _shank = _bd.Cylinder(radius=_r, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = _shank + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462c9fa0_1004", "family": "block", "tier": 1, "seed": 1177329568, "symmetry": "none", "op_count": 2, "ir_hash": "7c51e3a60d621a29", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 420000.0, "surface_area": 41200.0, "principal_moments": [380000000.0, 421000000.0, 659000000.0], "n_faces": 11, "n_edges": 27, "n_vertices": 18}, "dimensions": {"lines": ["Rectangular body, 93.96 \u00d7 45.1 \u00d7 100 mm (W\u00d7D\u00d7H).", "Five \u00d83.2 mm holes in two staggered rows, 35.2 \u00d7 29 mm pitch."], "text": "Rectangular body, 93.96 \u00d7 45.1 \u00d7 100 mm (W\u00d7D\u00d7H). Five \u00d83.2 mm holes in two staggered rows, 35.2 \u00d7 29 mm pitch."}, "params": {"block_w": {"type": "float", "default": 93.96, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 45.1, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 100.0, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 4.5, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 3, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329568 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 93.96, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 45.1, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 100.0, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 4.5, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 3, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 35.2\n    _ssy = 29.0\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9fa1_1005", "family": "plate", "tier": 2, "seed": 1177329569, "symmetry": "none", "op_count": 2, "ir_hash": "c30a50db70dbe0f7", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 40100.0, "surface_area": 10800.0, "principal_moments": [4810000.0, 30199999.999999996, 34000000.0], "n_faces": 18, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 95 \u00d7 36.3 \u00d7 12 mm (W\u00d7D\u00d7H).", "Four \u00d84.3 mm counterbored holes (\u00d88.6 mm \u00d7 3.4 mm counterbore) at the corners, 66.5 \u00d7 25.41 mm spacing."], "text": "Rectangular body, 95 \u00d7 36.3 \u00d7 12 mm (W\u00d7D\u00d7H). Four \u00d84.3 mm counterbored holes (\u00d88.6 mm \u00d7 3.4 mm counterbore) at the corners, 66.5 \u00d7 25.41 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 95, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 36.3, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 8.2, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "cb_d": {"type": "float", "default": 8.6, "min": 6.4, "max": 12.9, "step": 0.5, "group": "Holes", "label": "Counterbore diameter (mm)"}, "cb_depth": {"type": "float", "default": 3.4, "min": 1.7, "max": 6.8, "step": 0.5, "group": "Holes", "label": "Counterbore depth (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329569 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 95, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 36.3, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 8.2, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"cb_d\": {\"type\": 'float', \"default\": 8.6, \"min\": 6.4, \"max\": 12.9, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Counterbore diameter (mm)'},\n    \"cb_depth\": {\"type\": 'float', \"default\": 3.4, \"min\": 1.7, \"max\": 6.8, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Counterbore depth (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().cboreHole(p[\"hole_d\"], p[\"cb_d\"], p[\"cb_depth\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462c9fa2_1006", "family": "ribbed", "tier": 1, "seed": 1177329570, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "ed6f7be7a3342eea", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 9000.0, "surface_area": 6870.0, "principal_moments": [1190000.0, 3090000.0, 4140000.0], "n_faces": 30, "n_edges": 72, "n_vertices": 44}, "dimensions": {"lines": ["Rectangular body, 60.47 \u00d7 31.7 \u00d7 3 mm (W\u00d7D\u00d7H).", "Three ribs, 3.2 mm thick, 7 mm tall."], "text": "Rectangular body, 60.47 \u00d7 31.7 \u00d7 3 mm (W\u00d7D\u00d7H). Three ribs, 3.2 mm thick, 7 mm tall."}, "params": {"base_w": {"type": "float", "default": 60.47, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 31.7, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 3.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 3, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 7.0, "min": 2.8, "max": 14.0, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 3.2, "min": 1.0, "max": 8.0, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329570 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 60.47, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 31.7, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 3, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 7.0, \"min\": 2.8, \"max\": 14.0, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 3.2, \"min\": 1.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9fa3_1007", "family": "plate", "tier": 2, "seed": 1177329571, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "2a11008de49952f0", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 84900.0, "surface_area": 21400.0, "principal_moments": [52999999.99999999, 70100000.0, 122000000.0], "n_faces": 14, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 100 \u00d7 86.8 \u00d7 10 mm (W\u00d7D\u00d7H).", "Four \u00d86.4 mm holes at the corners, 70 \u00d7 60.76 mm spacing.", "Chamfer 5.4 mm on vertical edges."], "text": "Rectangular body, 100 \u00d7 86.8 \u00d7 10 mm (W\u00d7D\u00d7H). Four \u00d86.4 mm holes at the corners, 70 \u00d7 60.76 mm spacing. Chamfer 5.4 mm on vertical edges."}, "params": {"plate_w": {"type": "float", "default": 100, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 86.8, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "chamfer_d": {"type": "float", "default": 5.4, "min": 3.5, "max": 7.4, "step": 0.5, "group": "Body", "label": "Chamfer distance (mm)"}, "chamfered": {"type": "bool", "default": true, "group": "Body", "label": "Chamfer edges"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329571 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 100, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 86.8, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"chamfer_d\": {\"type\": 'float', \"default\": 5.4, \"min\": 3.5, \"max\": 7.4, \"step\": 0.5, \"group\": 'Body', \"label\": 'Chamfer distance (mm)'},\n    \"chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Chamfer edges'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"chamfered\"]:\n        result = result.edges('|Z').chamfer(p[\"chamfer_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462c9fa4_1008", "family": "ribbed", "tier": 3, "seed": 1177329572, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "540b6bf236088bb6", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 32800.0, "surface_area": 19700.0, "principal_moments": [14399999.999999998, 19600000.0, 32799999.999999996], "n_faces": 26, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 82.06 \u00d7 74.9 \u00d7 3 mm (W\u00d7D\u00d7H).", "Four ribs, 4.8 mm thick, 11.4 mm tall."], "text": "Rectangular body, 82.06 \u00d7 74.9 \u00d7 3 mm (W\u00d7D\u00d7H). Four ribs, 4.8 mm thick, 11.4 mm tall."}, "params": {"base_w": {"type": "float", "default": 82.06, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 74.9, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 3.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 4, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 11.4, "min": 4.6, "max": 22.8, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 4.8, "min": 1.0, "max": 12.0, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329572 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 82.06, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 74.9, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 4, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 11.4, \"min\": 4.6, \"max\": 22.8, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 4.8, \"min\": 1.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462c9fa5_1009", "family": "compound", "tier": 1, "seed": 1177329573, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "c6747c4fb7f159fc", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 87000.0, "surface_area": 15500.0, "principal_moments": [25399999.999999996, 36100000.0, 40000000.0], "n_faces": 9, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["Rectangular body, 59.62 \u00d7 36.8 \u00d7 38.8 mm (W\u00d7D\u00d7H).", "\u00d817.5 mm circular section attachment, 29.8 mm long, from back face with a \u00d810.1 mm bore."], "text": "Rectangular body, 59.62 \u00d7 36.8 \u00d7 38.8 mm (W\u00d7D\u00d7H). \u00d817.5 mm circular section attachment, 29.8 mm long, from back face with a \u00d810.1 mm bore."}, "params": {"block_w": {"type": "float", "default": 59.62, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 36.8, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 38.8, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "spig_d": {"type": "float", "default": 17.5, "min": 7.0, "max": 27.2, "step": 1.0, "group": "Spigot", "label": "Spigot diameter (mm)"}, "spig_len": {"type": "float", "default": 29.8, "min": 5.2, "max": 70.0, "step": 1.0, "group": "Spigot", "label": "Spigot length (mm)"}, "spig_bore": {"type": "float", "default": 10.1, "min": 2.0, "max": 12.6, "step": 0.5, "group": "Spigot", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329573 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 59.62, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 36.8, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 38.8, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"spig_d\": {\"type\": 'float', \"default\": 17.5, \"min\": 7.0, \"max\": 27.2, \"step\": 1.0, \"group\": 'Spigot', \"label\": 'Spigot diameter (mm)'},\n    \"spig_len\": {\"type\": 'float', \"default\": 29.8, \"min\": 5.2, \"max\": 70.0, \"step\": 1.0, \"group\": 'Spigot', \"label\": 'Spigot length (mm)'},\n    \"spig_bore\": {\"type\": 'float', \"default\": 10.1, \"min\": 2.0, \"max\": 12.6, \"step\": 0.5, \"group\": 'Spigot', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"spig_d\"] / 2).extrude(p[\"spig_len\"])\n    )\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"spig_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462c9fa6_1010", "family": "ribbed", "tier": 2, "seed": 1177329574, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "0616e6517e30073c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 24500.0, "surface_area": 15600.0, "principal_moments": [6580000.0, 9050000.0, 14399999.999999998], "n_faces": 39, "n_edges": 108, "n_vertices": 72}, "dimensions": {"lines": ["Rectangular body, 65 \u00d7 56.6 \u00d7 3 mm (W\u00d7D\u00d7H).", "Five ribs, 3.9 mm thick, 13.4 mm tall.", "Four \u00d83.2 mm holes at the corners, 45.5 \u00d7 39.62 mm spacing."], "text": "Rectangular body, 65 \u00d7 56.6 \u00d7 3 mm (W\u00d7D\u00d7H). Five ribs, 3.9 mm thick, 13.4 mm tall. Four \u00d83.2 mm holes at the corners, 45.5 \u00d7 39.62 mm spacing."}, "params": {"base_w": {"type": "float", "default": 65, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 56.6, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 3.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 5, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 13.4, "min": 5.4, "max": 26.8, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 3.9, "min": 1.0, "max": 9.8, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 12.7, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329574 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 65, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 56.6, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 5, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 13.4, \"min\": 5.4, \"max\": 26.8, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 3.9, \"min\": 1.0, \"max\": 9.8, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 12.7, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"base_w\"] * 0.7, p[\"base_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462c9fa7_1011", "family": "lofted", "tier": 0, "seed": 1177329575, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "5f63e26b16bdbe9f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 29500.0, "surface_area": 5610.0, "principal_moments": [4820000.0, 4830000.0, 4830000.0], "n_faces": 8, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["Lofted body through 2 sections: \u00d844.91 mm circular section \u2192 6-sided polygon section, 22.2 mm across corners."], "text": "Lofted body through 2 sections: \u00d844.91 mm circular section \u2192 6-sided polygon section, 22.2 mm across corners."}, "params": {"loft_base": {"type": "float", "default": 44.91, "min": 22.5, "max": 71.9, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 22.2, "min": 8.9, "max": 53.9, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 33.8, "min": 13.5, "max": 67.6, "step": 1.0, "group": "Body", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329575 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 44.91, \"min\": 22.5, \"max\": 71.9, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 22.2, \"min\": 8.9, \"max\": 53.9, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 33.8, \"min\": 13.5, \"max\": 67.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .circle(p[\"loft_base\"] / 2)\n        .workplane(offset=p[\"loft_h\"])\n        .polygon(6, p[\"loft_top\"] * 0.5 * 2)\n        .loft(combine=True)\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462c9fa9_1013", "family": "bracket", "tier": 2, "seed": 1177329577, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "fcaf4c20a0e6e3d9", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 13400.0, "surface_area": 9650.0, "principal_moments": [3160000.0, 6090000.0, 7290000.0], "n_faces": 14, "n_edges": 37, "n_vertices": 24}, "dimensions": {"lines": ["L-bracket: base leg 56.75 mm, vertical leg 39.7 mm, 45.34 mm wide, 3 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 4.3 mm corner gusset."], "text": "L-bracket: base leg 56.75 mm, vertical leg 39.7 mm, 45.34 mm wide, 3 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 4.3 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 56.75, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 39.7, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 45.34, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 3.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 4.3, "min": 1.5, "max": 9.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329577 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 56.75, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 39.7, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 45.34, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 4.3, \"min\": 1.5, \"max\": 9.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9faa_1014", "family": "plate", "tier": 3, "seed": 1177329578, "symmetry": "none", "op_count": 4, "ir_hash": "a07a423199697f4b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 14100.0, "surface_area": 6800.0, "principal_moments": [1370000.0, 6170000.0, 7400000.0], "n_faces": 47, "n_edges": 132, "n_vertices": 88}, "dimensions": {"lines": ["Rectangular body, 68.27 \u00d7 32 \u00d7 8 mm (W\u00d7D\u00d7H).", "Four 5.2 mm square holes at the corners, 47.789 \u00d7 22.4 mm spacing.", "Chamfer 0.6 mm on vertical edges.", "Pocket 30.7 \u00d7 19.8 mm, 4.2 mm deep, in top face."], "text": "Rectangular body, 68.27 \u00d7 32 \u00d7 8 mm (W\u00d7D\u00d7H). Four 5.2 mm square holes at the corners, 47.789 \u00d7 22.4 mm spacing. Chamfer 0.6 mm on vertical edges. Pocket 30.7 \u00d7 19.8 mm, 4.2 mm deep, in top face."}, "params": {"plate_w": {"type": "float", "default": 68.27, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 32.0, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.2, "min": 2.0, "max": 9.4, "step": 0.5, "group": "Holes", "label": "Square hole size (mm)"}, "chamfer_d": {"type": "float", "default": 0.6, "min": 0.6, "max": 0.8, "step": 0.5, "group": "Body", "label": "Chamfer distance (mm)"}, "chamfered": {"type": "bool", "default": true, "group": "Body", "label": "Chamfer edges"}, "pocket_w": {"type": "float", "default": 30.7, "min": 15.3, "max": 54.6, "step": 1.0, "group": "Pocket", "label": "Pocket width (mm)"}, "pocket_d": {"type": "float", "default": 19.8, "min": 9.9, "max": 25.6, "step": 1.0, "group": "Pocket", "label": "Pocket depth (mm)"}, "pocket_h": {"type": "float", "default": 4.2, "min": 1.7, "max": 6.8, "step": 0.5, "group": "Pocket", "label": "Pocket height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329578 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 68.27, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 32.0, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.2, \"min\": 2.0, \"max\": 9.4, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Square hole size (mm)'},\n    \"chamfer_d\": {\"type\": 'float', \"default\": 0.6, \"min\": 0.6, \"max\": 0.8, \"step\": 0.5, \"group\": 'Body', \"label\": 'Chamfer distance (mm)'},\n    \"chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Chamfer edges'},\n    \"pocket_w\": {\"type\": 'float', \"default\": 30.7, \"min\": 15.3, \"max\": 54.6, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket width (mm)'},\n    \"pocket_d\": {\"type\": 'float', \"default\": 19.8, \"min\": 9.9, \"max\": 25.6, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket depth (mm)'},\n    \"pocket_h\": {\"type\": 'float', \"default\": 4.2, \"min\": 1.7, \"max\": 6.8, \"step\": 0.5, \"group\": 'Pocket', \"label\": 'Pocket height (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().rect(p[\"hole_d\"], p[\"hole_d\"]).cutThruAll()\n    )\n    if p[\"chamfered\"]:\n        result = result.edges('|Z').chamfer(p[\"chamfer_d\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"pocket_w\"], p[\"pocket_d\"])\n        .cutBlind(-p[\"pocket_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462c9fab_1015", "family": "enclosure", "tier": 3, "seed": 1177329579, "symmetry": "mirror_xy", "op_count": 4, "ir_hash": "91e665c36e66b7c4", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 19400.0, "surface_area": 14400.0, "principal_moments": [4590000.0, 10600000.0, 11499999.999999998], "n_faces": 35, "n_edges": 108, "n_vertices": 72}, "dimensions": {"lines": ["Rectangular body, 63.16 \u00d7 31.8 \u00d7 30.7 mm (W\u00d7D\u00d7H).", "Hollowed to 2.8 mm wall thickness, open at top face.", "Four \u00d84.3 mm holes at the corners, 44.212 \u00d7 22.26 mm spacing.", "Fillet radius 1.432 mm on vertical edges."], "text": "Rectangular body, 63.16 \u00d7 31.8 \u00d7 30.7 mm (W\u00d7D\u00d7H). Hollowed to 2.8 mm wall thickness, open at top face. Four \u00d84.3 mm holes at the corners, 44.212 \u00d7 22.26 mm spacing. Fillet radius 1.432 mm on vertical edges."}, "params": {"enc_w": {"type": "float", "default": 63.16, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 31.8, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 30.7, "min": 12.3, "max": 61.4, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 2.8, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 7.2, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329579 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 63.16, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 31.8, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 30.7, \"min\": 12.3, \"max\": 61.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 2.8, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 7.2, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"enc_w\"] * 0.7, p[\"enc_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"enc_w\"], p[\"enc_d\"]) * 0.04502098369443716)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462c9fac_1016", "family": "block", "tier": 2, "seed": 1177329580, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "df0b52d348bb6d68", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 30000.0, "surface_area": 9890.0, "principal_moments": [3770000.0, 8260000.0, 8940000.0], "n_faces": 15, "n_edges": 48, "n_vertices": 32}, "dimensions": {"lines": ["Rectangular body, 50.46 \u00d7 24 \u00d7 31.7 mm (W\u00d7D\u00d7H).", "Four \u00d85.3 mm holes at the corners, 35.322 \u00d7 16.8 mm spacing.", "Pocket 34.9 \u00d7 14.6 mm, 11.2 mm deep, in top face."], "text": "Rectangular body, 50.46 \u00d7 24 \u00d7 31.7 mm (W\u00d7D\u00d7H). Four \u00d85.3 mm holes at the corners, 35.322 \u00d7 16.8 mm spacing. Pocket 34.9 \u00d7 14.6 mm, 11.2 mm deep, in top face."}, "params": {"block_w": {"type": "float", "default": 50.46, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 24.0, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 31.7, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 5.4, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "pocket_w": {"type": "float", "default": 34.9, "min": 17.4, "max": 40.4, "step": 1.0, "group": "Pocket", "label": "Pocket width (mm)"}, "pocket_d": {"type": "float", "default": 14.6, "min": 7.3, "max": 19.2, "step": 1.0, "group": "Pocket", "label": "Pocket depth (mm)"}, "pocket_h": {"type": "float", "default": 11.2, "min": 4.5, "max": 26.9, "step": 0.5, "group": "Pocket", "label": "Pocket height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329580 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 50.46, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 24.0, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 31.7, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 5.4, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"pocket_w\": {\"type\": 'float', \"default\": 34.9, \"min\": 17.4, \"max\": 40.4, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket width (mm)'},\n    \"pocket_d\": {\"type\": 'float', \"default\": 14.6, \"min\": 7.3, \"max\": 19.2, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket depth (mm)'},\n    \"pocket_h\": {\"type\": 'float', \"default\": 11.2, \"min\": 4.5, \"max\": 26.9, \"step\": 0.5, \"group\": 'Pocket', \"label\": 'Pocket height (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"pocket_w\"], p[\"pocket_d\"])\n        .cutBlind(-p[\"pocket_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462c9fad_1017", "family": "compound", "tier": 2, "seed": 1177329581, "symmetry": "mirror_xy", "op_count": 3, "ir_hash": "5b430e5cda1af61d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 9990.0, "surface_area": 3680.0, "principal_moments": [793000.0, 852000.0, 1020000.0], "n_faces": 15, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 25 \u00d7 15 \u00d7 26.2 mm (W\u00d7D\u00d7H).", "6-sided polygon section, 8 mm across corners attachment, 14.2 mm long, from back face.", "Four \u00d83.2 mm holes at the corners, 17.5 \u00d7 10.5 mm spacing."], "text": "Rectangular body, 25 \u00d7 15 \u00d7 26.2 mm (W\u00d7D\u00d7H). 6-sided polygon section, 8 mm across corners attachment, 14.2 mm long, from back face. Four \u00d83.2 mm holes at the corners, 17.5 \u00d7 10.5 mm spacing."}, "params": {"block_w": {"type": "float", "default": 25, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 15.0, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 26.2, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "spig_sides": {"type": "int", "default": 6, "min": 3, "max": 8, "step": 1, "group": "Spigot", "label": "Spigot sides"}, "spig_r": {"type": "float", "default": 4.0, "min": 2.0, "max": 8.8, "step": 1.0, "group": "Spigot", "label": "Spigot circumradius (mm)"}, "spig_len": {"type": "float", "default": 14.2, "min": 2.1, "max": 27.7, "step": 1.0, "group": "Spigot", "label": "Spigot length (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 3.4, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329581 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 25, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 15.0, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 26.2, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"spig_sides\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Spigot', \"label\": 'Spigot sides'},\n    \"spig_r\": {\"type\": 'float', \"default\": 4.0, \"min\": 2.0, \"max\": 8.8, \"step\": 1.0, \"group\": 'Spigot', \"label\": 'Spigot circumradius (mm)'},\n    \"spig_len\": {\"type\": 'float', \"default\": 14.2, \"min\": 2.1, \"max\": 27.7, \"step\": 1.0, \"group\": 'Spigot', \"label\": 'Spigot length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 3.4, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"spig_sides\"], p[\"spig_r\"] * 2).extrude(p[\"spig_len\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462c9fae_1018", "family": "flanged", "tier": 2, "seed": 1177329582, "symmetry": "none", "op_count": 3, "ir_hash": "4e71fa1e06109dfe", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 523000.0, "surface_area": 73300.0, "principal_moments": [871000000.0, 871000000.0, 1130000000.0], "n_faces": 22, "n_edges": 47, "n_vertices": 28}, "dimensions": {"lines": ["Revolved body, \u00d885 mm \u00d7 77.8 mm tall with \u00d839.3 mm bore, \u00d8163.4 mm \u00d7 11.8 mm flange.", "Six \u00d88.4 mm holes on a \u00d898 mm bolt circle.", "Chamfer 1 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d885 mm \u00d7 77.8 mm tall with \u00d839.3 mm bore, \u00d8163.4 mm \u00d7 11.8 mm flange. Six \u00d88.4 mm holes on a \u00d898 mm bolt circle. Chamfer 1 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 85, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 77.8, "min": 23.3, "max": 194.5, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 39.3, "min": 2.0, "max": 59.5, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 163.4, "min": 110.5, "max": 255.0, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 11.8, "min": 3.5, "max": 31.1, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 8.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 49.0, "min": 32.7, "max": 73.5, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 6, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}, "end_chamfer": {"type": "float", "default": 1.0, "min": 0.1, "max": 2.0, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329582 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 85, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 77.8, \"min\": 23.3, \"max\": 194.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 39.3, \"min\": 2.0, \"max\": 59.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 163.4, \"min\": 110.5, \"max\": 255.0, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 11.8, \"min\": 3.5, \"max\": 31.1, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 49.0, \"min\": 32.7, \"max\": 73.5, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 1.0, \"min\": 0.1, \"max\": 2.0, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9faf_1019", "family": "plate", "tier": 1, "seed": 1177329583, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "c0e896bd5db6e84f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 78800.0, "surface_area": 17600.0, "principal_moments": [32599999.999999996, 60099999.99999999, 90800000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 95 \u00d7 69.5 \u00d7 12 mm (W\u00d7D\u00d7H).", "Four \u00d83.2 mm holes at the corners, 66.5 \u00d7 48.65 mm spacing."], "text": "Rectangular body, 95 \u00d7 69.5 \u00d7 12 mm (W\u00d7D\u00d7H). Four \u00d83.2 mm holes at the corners, 66.5 \u00d7 48.65 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 95, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 69.5, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329583 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 95, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 69.5, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462c9fb0_1020", "family": "compound", "tier": 1, "seed": 1177329584, "symmetry": "mirror_xy", "op_count": 3, "ir_hash": "2b2b66961b8d27ea", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 128000.0, "surface_area": 34500.0, "principal_moments": [124000000.0, 145000000.0, 177000000.0], "n_faces": 13, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Rectangular body, 95.63 \u00d7 107.9 \u00d7 10 mm (W\u00d7D\u00d7H).", "\u00d827.5 mm circular section attachment, 68.2 mm long, from top face with a \u00d814.6 mm bore.", "Four \u00d88.4 mm holes at the corners, 66.941 \u00d7 75.53 mm spacing."], "text": "Rectangular body, 95.63 \u00d7 107.9 \u00d7 10 mm (W\u00d7D\u00d7H). \u00d827.5 mm circular section attachment, 68.2 mm long, from top face with a \u00d814.6 mm bore. Four \u00d88.4 mm holes at the corners, 66.941 \u00d7 75.53 mm spacing."}, "params": {"base_w": {"type": "float", "default": 95.63, "min": 30.0, "max": 160.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 107.9, "min": 25.0, "max": 160.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_h": {"type": "float", "default": 10.0, "min": 3.0, "max": 30.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "col_d": {"type": "float", "default": 27.5, "min": 11.0, "max": 47.8, "step": 1.0, "group": "Column", "label": "Column diameter (mm)"}, "col_h": {"type": "float", "default": 68.2, "min": 20.5, "max": 204.6, "step": 1.0, "group": "Column", "label": "Column height (mm)"}, "col_bore": {"type": "float", "default": 14.6, "min": 2.0, "max": 19.8, "step": 0.5, "group": "Column", "label": "Column bore diameter (mm)"}, "hole_d": {"type": "float", "default": 8.4, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329584 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 95.63, \"min\": 30.0, \"max\": 160.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 107.9, \"min\": 25.0, \"max\": 160.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_h\": {\"type\": 'float', \"default\": 10.0, \"min\": 3.0, \"max\": 30.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"col_d\": {\"type\": 'float', \"default\": 27.5, \"min\": 11.0, \"max\": 47.8, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column diameter (mm)'},\n    \"col_h\": {\"type\": 'float', \"default\": 68.2, \"min\": 20.5, \"max\": 204.6, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column height (mm)'},\n    \"col_bore\": {\"type\": 'float', \"default\": 14.6, \"min\": 2.0, \"max\": 19.8, \"step\": 0.5, \"group\": 'Column', \"label\": 'Column bore diameter (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_h\"])\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"col_d\"] / 2).extrude(p[\"col_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"col_bore\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"base_w\"] * 0.7, p[\"base_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462c9fb1_1021", "family": "revolved", "tier": 1, "seed": 1177329585, "symmetry": "none", "op_count": 2, "ir_hash": "4406893b9a81e813", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 203000.0, "surface_area": 39000.0, "principal_moments": [192000000.0, 192000000.0, 230000000.0], "n_faces": 10, "n_edges": 17, "n_vertices": 10}, "dimensions": {"lines": ["Revolved body, \u00d855.19 mm \u00d7 63.4 mm tall with \u00d824 mm bore, \u00d8120.4 mm \u00d7 8.9 mm flange.", "Chamfer 1.1 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d855.19 mm \u00d7 63.4 mm tall with \u00d824 mm bore, \u00d8120.4 mm \u00d7 8.9 mm flange. Chamfer 1.1 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 55.19, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 63.4, "min": 19.0, "max": 190.2, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 24.0, "min": 2.0, "max": 38.6, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 120.4, "min": 66.2, "max": 165.6, "step": 1.0, "group": "Body", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 8.9, "min": 2.7, "max": 31.7, "step": 0.5, "group": "Body", "label": "Flange height (mm)"}, "end_chamfer": {"type": "float", "default": 1.1, "min": 0.1, "max": 3.3, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329585 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 55.19, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 63.4, \"min\": 19.0, \"max\": 190.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 24.0, \"min\": 2.0, \"max\": 38.6, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 120.4, \"min\": 66.2, \"max\": 165.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 8.9, \"min\": 2.7, \"max\": 31.7, \"step\": 0.5, \"group\": 'Body', \"label\": 'Flange height (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 1.1, \"min\": 0.1, \"max\": 3.3, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462c9fb2_1022", "family": "tapped", "tier": 2, "seed": 1177329586, "symmetry": "none", "op_count": 1, "ir_hash": "e24017b0b4c1d795", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 43700.0, "surface_area": 15900.0, "principal_moments": [8850000.0, 12799999.999999998, 16900000.0], "n_faces": 778, "n_edges": 2224, "n_vertices": 1448}, "dimensions": {"lines": ["Four M16x2 tapped holes in a plate."], "text": "Four M16x2 tapped holes in a plate."}, "params": {"major_d": {"type": "float", "default": 16.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 2.0, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 25.6, "min": 19.2, "max": 46.1, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "plate_w": {"type": "float", "default": 55, "min": 33.0, "max": 88.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 43.7, "min": 26.2, "max": 69.9, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329586 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 16.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 2.0, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 25.6, \"min\": 19.2, \"max\": 46.1, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"plate_w\": {\"type\": 'float', \"default\": 55, \"min\": 33.0, \"max\": 88.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 43.7, \"min\": 26.2, \"max\": 69.9, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n}\n\n\ndef build(p):\n\n    _W, _D, _H = p[\"plate_w\"], p[\"plate_d\"], p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Box(_W, _D, _H)\n    _sx, _sy = p[\"plate_w\"] * 0.6, p[\"plate_d\"] * 0.6\n    _locs = [(_xx, _yy) for _xx in (-_sx / 2, _sx / 2) for _yy in (-_sy / 2, _sy / 2)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462c9fb4_1024", "family": "revolved", "tier": 1, "seed": 1177329588, "symmetry": "radial", "op_count": 2, "ir_hash": "b1e7cf4868aa2049", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 1570000.0, "surface_area": 133000.0, "principal_moments": [2620000000.0, 13500000000.0, 13500000000.0], "n_faces": 10, "n_edges": 17, "n_vertices": 10}, "dimensions": {"lines": ["Revolved body, \u00d875 mm \u00d7 279.6 mm tall with \u00d825.6 mm bore, \u00d8154 mm \u00d7 33.9 mm flange.", "Chamfer 0.6 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d875 mm \u00d7 279.6 mm tall with \u00d825.6 mm bore, \u00d8154 mm \u00d7 33.9 mm flange. Chamfer 0.6 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 75, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 279.6, "min": 83.9, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 25.6, "min": 2.0, "max": 52.5, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 154.0, "min": 90.0, "max": 225.0, "step": 1.0, "group": "Body", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 33.9, "min": 10.2, "max": 139.8, "step": 0.5, "group": "Body", "label": "Flange height (mm)"}, "end_chamfer": {"type": "float", "default": 0.6, "min": 0.1, "max": 1.8, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329588 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 75, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 279.6, \"min\": 83.9, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 25.6, \"min\": 2.0, \"max\": 52.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 154.0, \"min\": 90.0, \"max\": 225.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 33.9, \"min\": 10.2, \"max\": 139.8, \"step\": 0.5, \"group\": 'Body', \"label\": 'Flange height (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.6, \"min\": 0.1, \"max\": 1.8, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462c9fb5_1025", "family": "compound", "tier": 2, "seed": 1177329589, "symmetry": "none", "op_count": 5, "ir_hash": "d9207888fe627795", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 337000.0, "surface_area": 38600.0, "principal_moments": [267000000.0, 279000000.0, 308000000.0], "n_faces": 20, "n_edges": 47, "n_vertices": 30}, "dimensions": {"lines": ["Rectangular body, 74.98 \u00d7 72.1 \u00d7 64.6 mm (W\u00d7D\u00d7H).", "\u00d814.3 mm circular section attachment, 9.6 mm long, from front face with a \u00d88.7 mm bore.", "\u00d814.3 mm circular section attachment, 9.6 mm long, from back face with a \u00d88.7 mm bore.", "\u00d814.3 mm circular section attachment, 9.6 mm long, from right face with a \u00d88.7 mm bore.", "Four \u00d88.4 mm holes at the corners, 52.486 \u00d7 50.47 mm spacing."], "text": "Rectangular body, 74.98 \u00d7 72.1 \u00d7 64.6 mm (W\u00d7D\u00d7H). \u00d814.3 mm circular section attachment, 9.6 mm long, from front face with a \u00d88.7 mm bore. \u00d814.3 mm circular section attachment, 9.6 mm long, from back face with a \u00d88.7 mm bore. \u00d814.3 mm circular section attachment, 9.6 mm long, from right face with a \u00d88.7 mm bore. Four \u00d88.4 mm holes at the corners, 52.486 \u00d7 50.47 mm spacing."}, "params": {"block_w": {"type": "float", "default": 74.98, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body width (mm)"}, "block_d": {"type": "float", "default": 72.1, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body depth (mm)"}, "block_h": {"type": "float", "default": 64.6, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body height (mm)"}, "port_d": {"type": "float", "default": 14.3, "min": 5.7, "max": 29.1, "step": 1.0, "group": "Ports", "label": "Ports diameter (mm)"}, "port_len": {"type": "float", "default": 9.6, "min": 3.6, "max": 42.9, "step": 1.0, "group": "Ports", "label": "Port boss length (mm)"}, "port_bore": {"type": "float", "default": 8.7, "min": 2.0, "max": 10.3, "step": 0.5, "group": "Ports", "label": "Port bore diameter (mm)"}, "hole_d": {"type": "float", "default": 8.4, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329589 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 74.98, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 72.1, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 64.6, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body height (mm)'},\n    \"port_d\": {\"type\": 'float', \"default\": 14.3, \"min\": 5.7, \"max\": 29.1, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Ports diameter (mm)'},\n    \"port_len\": {\"type\": 'float', \"default\": 9.6, \"min\": 3.6, \"max\": 42.9, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Port boss length (mm)'},\n    \"port_bore\": {\"type\": 'float', \"default\": 8.7, \"min\": 2.0, \"max\": 10.3, \"step\": 0.5, \"group\": 'Ports', \"label\": 'Port bore diameter (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462c9fb6_1026", "family": "tapped", "tier": 2, "seed": 1177329590, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "e24507b4200214d3", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 35200.0, "surface_area": 10600.0, "principal_moments": [5410000.0, 9460000.0, 12899999.999999998], "n_faces": 406, "n_edges": 1460, "n_vertices": 1056}, "dimensions": {"lines": ["Four M10x1.5 tapped holes in a plate."], "text": "Four M10x1.5 tapped holes in a plate."}, "params": {"major_d": {"type": "float", "default": 10.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 1.5, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 18.3, "min": 12.0, "max": 32.9, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "plate_w": {"type": "float", "default": 55, "min": 33.0, "max": 88.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 39.8, "min": 23.9, "max": 63.7, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329590 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 10.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.5, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 18.3, \"min\": 12.0, \"max\": 32.9, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"plate_w\": {\"type\": 'float', \"default\": 55, \"min\": 33.0, \"max\": 88.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 39.8, \"min\": 23.9, \"max\": 63.7, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n}\n\n\ndef build(p):\n\n    _W, _D, _H = p[\"plate_w\"], p[\"plate_d\"], p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Box(_W, _D, _H)\n    _nx, _ny = max(1, int(2)), max(1, int(2))\n    _sx, _sy = p[\"plate_w\"] * 0.66, p[\"plate_d\"] * 0.66\n    _locs = [(_sx * (_i - (_nx - 1) / 2), _sy * (_j - (_ny - 1) / 2))\n             for _i in range(_nx) for _j in range(_ny)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462c9fb7_1027", "family": "gear", "tier": 3, "seed": 1177329591, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "536d1de662c7c961", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 11400.0, "surface_area": 8720.0, "principal_moments": [7570000.0, 7570000.0, 14999999.999999998], "n_faces": 207, "n_edges": 615, "n_vertices": 410}, "dimensions": {"lines": ["Ring gear, module 2 mm, 34 teeth (pitch \u00d868 mm), face width 9.6 mm."], "text": "Ring gear, module 2 mm, 34 teeth (pitch \u00d868 mm), face width 9.6 mm."}, "params": {"module": {"type": "float", "default": 2.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 34, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 9.6, "min": 3.8, "max": 24.0, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "profile_shift": {"type": "float", "default": -0.13, "min": -0.5, "max": 0.7, "step": 0.05, "group": "Gear", "label": "Profile shift"}, "root_fillet": {"type": "float", "default": 0.3, "min": 0.0, "max": 1.0, "step": 0.05, "group": "Gear", "label": "Root fillet (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329591 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 2.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 34, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 9.6, \"min\": 3.8, \"max\": 24.0, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"profile_shift\": {\"type\": 'float', \"default\": -0.13, \"min\": -0.5, \"max\": 0.7, \"step\": 0.05, \"group\": 'Gear', \"label\": 'Profile shift'},\n    \"root_fillet\": {\"type\": 'float', \"default\": 0.3, \"min\": 0.0, \"max\": 1.0, \"step\": 0.05, \"group\": 'Gear', \"label\": 'Root fillet (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurRingGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"], profile_shift=p[\"profile_shift\"], root_fillet=p[\"root_fillet\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462c9fb8_1028", "family": "compound", "tier": 1, "seed": 1177329592, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "aed0cca63f0735f2", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 111000.0, "surface_area": 17600.0, "principal_moments": [44400000.0, 54299999.99999999, 54299999.99999999], "n_faces": 10, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["Lofted body through 2 sections: 61.38 \u00d7 61.38 mm rectangular section \u2192 \u00d830.6 mm circular section.", "\u00d820 mm circular section attachment, 23.4 mm long, from top face with a \u00d89.8 mm bore."], "text": "Lofted body through 2 sections: 61.38 \u00d7 61.38 mm rectangular section \u2192 \u00d830.6 mm circular section. \u00d820 mm circular section attachment, 23.4 mm long, from top face with a \u00d89.8 mm bore."}, "params": {"adapter_base": {"type": "float", "default": 61.38, "min": 36.8, "max": 92.1, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "adapter_top": {"type": "float", "default": 30.6, "min": 15.3, "max": 61.4, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "adapter_h": {"type": "float", "default": 53.2, "min": 21.3, "max": 106.4, "step": 1.0, "group": "Body", "label": "Transition height (mm)"}, "neck_d": {"type": "float", "default": 20.0, "min": 8.0, "max": 30.6, "step": 1.0, "group": "Neck", "label": "Neck diameter (mm)"}, "neck_l": {"type": "float", "default": 23.4, "min": 9.4, "max": 58.5, "step": 1.0, "group": "Neck", "label": "Neck length (mm)"}, "neck_bore": {"type": "float", "default": 9.8, "min": 2.0, "max": 14.4, "step": 0.5, "group": "Neck", "label": "Neck bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329592 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"adapter_base\": {\"type\": 'float', \"default\": 61.38, \"min\": 36.8, \"max\": 92.1, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"adapter_top\": {\"type\": 'float', \"default\": 30.6, \"min\": 15.3, \"max\": 61.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"adapter_h\": {\"type\": 'float', \"default\": 53.2, \"min\": 21.3, \"max\": 106.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Transition height (mm)'},\n    \"neck_d\": {\"type\": 'float', \"default\": 20.0, \"min\": 8.0, \"max\": 30.6, \"step\": 1.0, \"group\": 'Neck', \"label\": 'Neck diameter (mm)'},\n    \"neck_l\": {\"type\": 'float', \"default\": 23.4, \"min\": 9.4, \"max\": 58.5, \"step\": 1.0, \"group\": 'Neck', \"label\": 'Neck length (mm)'},\n    \"neck_bore\": {\"type\": 'float', \"default\": 9.8, \"min\": 2.0, \"max\": 14.4, \"step\": 0.5, \"group\": 'Neck', \"label\": 'Neck bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .rect(p[\"adapter_base\"], p[\"adapter_base\"])\n        .workplane(offset=p[\"adapter_h\"])\n        .circle(p[\"adapter_top\"] / 2)\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"neck_d\"] / 2).extrude(p[\"neck_l\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"neck_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462c9fb9_1029", "family": "bracket", "tier": 2, "seed": 1177329593, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "e7247956922a93af", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 40600.0, "surface_area": 22400.0, "principal_moments": [13299999.999999998, 92999999.99999999, 93999999.99999999], "n_faces": 18, "n_edges": 48, "n_vertices": 32}, "dimensions": {"lines": ["Z-bracket: base leg 85 mm, vertical leg 61.6 mm, top leg 85 mm, 43.55 mm wide, 4 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 4.1 mm corner gusset."], "text": "Z-bracket: base leg 85 mm, vertical leg 61.6 mm, top leg 85 mm, 43.55 mm wide, 4 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 4.1 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 85, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 61.6, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 43.55, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 4.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 85.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}, "gusset_t": {"type": "float", "default": 4.1, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329593 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 85, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 61.6, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 43.55, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 85.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 4.1, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _tl, _vl) * 0.4 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(0, _vl - _bt).lineTo(-_g, _vl - _bt)\n                    .lineTo(0, _vl - _bt - _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462c9fba_1030", "family": "sketched", "tier": 2, "seed": 1177329594, "symmetry": "none", "op_count": 1, "ir_hash": "107169d6f66fd790", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 28400.0, "surface_area": 8140.0, "principal_moments": [5080000.0, 6030000.0, 6030000.0], "n_faces": 7, "n_edges": 11, "n_vertices": 6}, "dimensions": {"lines": ["Revolved organic body from a freeform sketched section (7 segments: 4 straight, 3 curves), ~23.183 \u00d7 35 mm half-silhouette."], "text": "Revolved organic body from a freeform sketched section (7 segments: 4 straight, 3 curves), ~23.183 \u00d7 35 mm half-silhouette."}, "params": {"sk_r": {"type": "float", "default": 26.87, "min": 13.4, "max": 48.4, "step": 1.0, "group": "Sketch", "label": "Max radius (mm)"}, "sk_h": {"type": "float", "default": 35, "min": 17.5, "max": 63.0, "step": 1.0, "group": "Sketch", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329594 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_r\": {\"type\": 'float', \"default\": 26.87, \"min\": 13.4, \"max\": 48.4, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Max radius (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 35, \"min\": 17.5, \"max\": 63.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XZ').moveTo(p[\"sk_r\"] * 0.8176, p[\"sk_h\"] * 0.0).lineTo(p[\"sk_r\"] * 0.2396, p[\"sk_h\"] * 0.5235).spline([(p[\"sk_r\"] * 0.2396, p[\"sk_h\"] * 0.5235), (p[\"sk_r\"] * 0.5352, p[\"sk_h\"] * 0.6251), (p[\"sk_r\"] * 0.8501, p[\"sk_h\"] * 0.7268)]).lineTo(p[\"sk_r\"] * 0.8506, p[\"sk_h\"] * 0.8221).bezier([(p[\"sk_r\"] * 0.8506, p[\"sk_h\"] * 0.8221), (p[\"sk_r\"] * 1.0002, p[\"sk_h\"] * 0.8309), (p[\"sk_r\"] * 0.8628, p[\"sk_h\"] * 0.8397)]).spline([(p[\"sk_r\"] * 0.8628, p[\"sk_h\"] * 0.8397), (p[\"sk_r\"] * 0.5087, p[\"sk_h\"] * 0.9198), (p[\"sk_r\"] * 0.2196, p[\"sk_h\"] * 1.0)]).lineTo(p[\"sk_r\"] * 0.0, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.0, p[\"sk_h\"] * 0.0).close().revolve())\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462c9fbb_1031", "family": "flanged", "tier": 1, "seed": 1177329595, "symmetry": "none", "op_count": 2, "ir_hash": "75639dafc6aed961", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 10900.0, "surface_area": 5190.0, "principal_moments": [1250000.0, 1250000.0, 1600000.0], "n_faces": 17, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Revolved body, \u00d822.59 mm \u00d7 20.8 mm tall with \u00d86.9 mm bore, \u00d843.7 mm \u00d7 3.4 mm flange.", "Six \u00d84.3 mm holes on a \u00d826.2 mm bolt circle."], "text": "Revolved body, \u00d822.59 mm \u00d7 20.8 mm tall with \u00d86.9 mm bore, \u00d843.7 mm \u00d7 3.4 mm flange. Six \u00d84.3 mm holes on a \u00d826.2 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 22.59, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 20.8, "min": 6.2, "max": 52.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 6.9, "min": 2.0, "max": 15.8, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 43.7, "min": 29.4, "max": 67.8, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 3.4, "min": 1.0, "max": 8.3, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 13.1, "min": 8.7, "max": 19.7, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 6, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329595 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 22.59, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 20.8, \"min\": 6.2, \"max\": 52.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 6.9, \"min\": 2.0, \"max\": 15.8, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 43.7, \"min\": 29.4, \"max\": 67.8, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 3.4, \"min\": 1.0, \"max\": 8.3, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 13.1, \"min\": 8.7, \"max\": 19.7, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462c9fbc_1032", "family": "compound", "tier": 1, "seed": 1177329596, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "749512ffedeee2f6", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 52200.0, "surface_area": 10100.0, "principal_moments": [9870000.0, 14499999.999999998, 15699999.999999998], "n_faces": 14, "n_edges": 33, "n_vertices": 21}, "dimensions": {"lines": ["Rectangular body, 47.95 \u00d7 31.1 \u00d7 35.5 mm (W\u00d7D\u00d7H).", "\u00d87.3 mm circular section attachment, 7.8 mm long, from left face with a \u00d84.4 mm bore.", "\u00d87.3 mm circular section attachment, 7.8 mm long, from back face with a \u00d84.4 mm bore."], "text": "Rectangular body, 47.95 \u00d7 31.1 \u00d7 35.5 mm (W\u00d7D\u00d7H). \u00d87.3 mm circular section attachment, 7.8 mm long, from left face with a \u00d84.4 mm bore. \u00d87.3 mm circular section attachment, 7.8 mm long, from back face with a \u00d84.4 mm bore."}, "params": {"block_w": {"type": "float", "default": 47.95, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body width (mm)"}, "block_d": {"type": "float", "default": 31.1, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body depth (mm)"}, "block_h": {"type": "float", "default": 35.5, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body height (mm)"}, "port_d": {"type": "float", "default": 7.3, "min": 2.9, "max": 14.0, "step": 1.0, "group": "Ports", "label": "Ports diameter (mm)"}, "port_len": {"type": "float", "default": 7.8, "min": 1.8, "max": 21.9, "step": 1.0, "group": "Ports", "label": "Port boss length (mm)"}, "port_bore": {"type": "float", "default": 4.4, "min": 2.0, "max": 5.3, "step": 0.5, "group": "Ports", "label": "Port bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329596 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 47.95, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 31.1, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 35.5, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body height (mm)'},\n    \"port_d\": {\"type\": 'float', \"default\": 7.3, \"min\": 2.9, \"max\": 14.0, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Ports diameter (mm)'},\n    \"port_len\": {\"type\": 'float', \"default\": 7.8, \"min\": 1.8, \"max\": 21.9, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Port boss length (mm)'},\n    \"port_bore\": {\"type\": 'float', \"default\": 4.4, \"min\": 2.0, \"max\": 5.3, \"step\": 0.5, \"group\": 'Ports', \"label\": 'Port bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462c9fbd_1033", "family": "bracket", "tier": 3, "seed": 1177329597, "symmetry": "none", "op_count": 1, "ir_hash": "5cdea314146ff282", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 5960.0, "surface_area": 4750.0, "principal_moments": [479000.0, 1860000.0, 1940000.0], "n_faces": 22, "n_edges": 70, "n_vertices": 44}, "dimensions": {"lines": ["Z-bracket: base leg 30 mm, vertical leg 32.5 mm, top leg 26.1 mm, 23.83 mm wide, 3 mm thick; 2 \u00d7 \u00d83.2 mm holes per leg; 2.7 mm corner gusset."], "text": "Z-bracket: base leg 30 mm, vertical leg 32.5 mm, top leg 26.1 mm, 23.83 mm wide, 3 mm thick; 2 \u00d7 \u00d83.2 mm holes per leg; 2.7 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 30, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 32.5, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 23.83, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 3.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 26.1, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 9.5, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 2, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}, "gusset_t": {"type": "float", "default": 2.7, "min": 1.5, "max": 9.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329597 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 30, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 32.5, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 23.83, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 26.1, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 9.5, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 2, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 2.7, \"min\": 1.5, \"max\": 9.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _tl, _vl) * 0.4 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(0, _vl - _bt).lineTo(-_g, _vl - _bt)\n                    .lineTo(0, _vl - _bt - _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462c9fbe_1034", "family": "compound", "tier": 2, "seed": 1177329598, "symmetry": "mirror_xy", "op_count": 5, "ir_hash": "7edeb9985171e034", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 287000.0, "surface_area": 34000.0, "principal_moments": [198000000.0, 222000000.0, 330000000.0], "n_faces": 35, "n_edges": 92, "n_vertices": 60}, "dimensions": {"lines": ["Rectangular body, 85 \u00d7 79.5 \u00d7 43.2 mm (W\u00d7D\u00d7H).", "6-sided polygon section, 12.8 mm across corners attachment, 11.2 mm long, from right face with a \u00d86.8 mm bore.", "6-sided polygon section, 12.8 mm across corners attachment, 11.2 mm long, from left face with a \u00d86.8 mm bore.", "6-sided polygon section, 12.8 mm across corners attachment, 11.2 mm long, from back face with a \u00d86.8 mm bore.", "Four \u00d84.3 mm holes at the corners, 59.5 \u00d7 55.65 mm spacing."], "text": "Rectangular body, 85 \u00d7 79.5 \u00d7 43.2 mm (W\u00d7D\u00d7H). 6-sided polygon section, 12.8 mm across corners attachment, 11.2 mm long, from right face with a \u00d86.8 mm bore. 6-sided polygon section, 12.8 mm across corners attachment, 11.2 mm long, from left face with a \u00d86.8 mm bore. 6-sided polygon section, 12.8 mm across corners attachment, 11.2 mm long, from back face with a \u00d86.8 mm bore. Four \u00d84.3 mm holes at the corners, 59.5 \u00d7 55.65 mm spacing."}, "params": {"block_w": {"type": "float", "default": 85, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body width (mm)"}, "block_d": {"type": "float", "default": 79.5, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body depth (mm)"}, "block_h": {"type": "float", "default": 43.2, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body height (mm)"}, "port_sides": {"type": "int", "default": 6, "min": 3, "max": 8, "step": 1, "group": "Ports", "label": "Ports sides"}, "port_r": {"type": "float", "default": 6.4, "min": 3.2, "max": 9.7, "step": 1.0, "group": "Ports", "label": "Ports circumradius (mm)"}, "port_len": {"type": "float", "default": 11.2, "min": 2.8, "max": 33.3, "step": 1.0, "group": "Ports", "label": "Port boss length (mm)"}, "port_bore": {"type": "float", "default": 6.8, "min": 2.0, "max": 8.0, "step": 0.5, "group": "Ports", "label": "Port bore diameter (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329598 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 85, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 79.5, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 43.2, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body height (mm)'},\n    \"port_sides\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Ports', \"label\": 'Ports sides'},\n    \"port_r\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.2, \"max\": 9.7, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Ports circumradius (mm)'},\n    \"port_len\": {\"type\": 'float', \"default\": 11.2, \"min\": 2.8, \"max\": 33.3, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Port boss length (mm)'},\n    \"port_bore\": {\"type\": 'float', \"default\": 6.8, \"min\": 2.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Ports', \"label\": 'Port bore diameter (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"port_sides\"], p[\"port_r\"] * 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"port_sides\"], p[\"port_r\"] * 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"port_sides\"], p[\"port_r\"] * 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9fbf_1035", "family": "plate", "tier": 1, "seed": 1177329599, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "6faa189ec14a222f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 3620.0, "surface_area": 1900.0, "principal_moments": [68000.0, 414000.0, 443000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 36.43 \u00d7 12.8 \u00d7 8 mm (W\u00d7D\u00d7H).", "Four \u00d82.1 mm holes at the corners, 25.501 \u00d7 8.96 mm spacing."], "text": "Rectangular body, 36.43 \u00d7 12.8 \u00d7 8 mm (W\u00d7D\u00d7H). Four \u00d82.1 mm holes at the corners, 25.501 \u00d7 8.96 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 36.43, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 12.8, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 2.1, "min": 2.0, "max": 2.9, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329599 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 36.43, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 12.8, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 2.1, \"min\": 2.0, \"max\": 2.9, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462c9fc1_1037", "family": "block", "tier": 2, "seed": 1177329601, "symmetry": "mirror_xy", "op_count": 3, "ir_hash": "2f6c668d03582fec", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 178000.0, "surface_area": 36600.0, "principal_moments": [97299999.99999999, 162000000.0, 227000000.0], "n_faces": 15, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 70 \u00d7 31.4 \u00d7 100 mm (W\u00d7D\u00d7H).", "Four \u00d85.3 mm holes at the corners, 49 \u00d7 21.98 mm spacing.", "Pocket 34.3 \u00d7 18.5 mm, 51.8 mm deep, in top face."], "text": "Rectangular body, 70 \u00d7 31.4 \u00d7 100 mm (W\u00d7D\u00d7H). Four \u00d85.3 mm holes at the corners, 49 \u00d7 21.98 mm spacing. Pocket 34.3 \u00d7 18.5 mm, 51.8 mm deep, in top face."}, "params": {"block_w": {"type": "float", "default": 70, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 31.4, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 100.0, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 7.1, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "pocket_w": {"type": "float", "default": 34.3, "min": 17.1, "max": 56.0, "step": 1.0, "group": "Pocket", "label": "Pocket width (mm)"}, "pocket_d": {"type": "float", "default": 18.5, "min": 9.2, "max": 25.1, "step": 1.0, "group": "Pocket", "label": "Pocket depth (mm)"}, "pocket_h": {"type": "float", "default": 51.8, "min": 20.7, "max": 85.0, "step": 0.5, "group": "Pocket", "label": "Pocket height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329601 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 70, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 31.4, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 100.0, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 7.1, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"pocket_w\": {\"type\": 'float', \"default\": 34.3, \"min\": 17.1, \"max\": 56.0, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket width (mm)'},\n    \"pocket_d\": {\"type\": 'float', \"default\": 18.5, \"min\": 9.2, \"max\": 25.1, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket depth (mm)'},\n    \"pocket_h\": {\"type\": 'float', \"default\": 51.8, \"min\": 20.7, \"max\": 85.0, \"step\": 0.5, \"group\": 'Pocket', \"label\": 'Pocket height (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"pocket_w\"], p[\"pocket_d\"])\n        .cutBlind(-p[\"pocket_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462c9fc2_1038", "family": "compound", "tier": 1, "seed": 1177329602, "symmetry": "none", "op_count": 3, "ir_hash": "4a9d99905538a1de", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 33100.0, "surface_area": 8930.0, "principal_moments": [4700000.0, 6840000.0, 7630000.0], "n_faces": 15, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 37.4 \u00d7 31.7 \u00d7 26.9 mm (W\u00d7D\u00d7H).", "31.5 \u00d7 19.5 mm rectangular section attachment, 6 mm long, from left face.", "Four \u00d84.3 mm holes at the corners, 18.9 \u00d7 11.7 mm spacing on the <X face."], "text": "Rectangular body, 37.4 \u00d7 31.7 \u00d7 26.9 mm (W\u00d7D\u00d7H). 31.5 \u00d7 19.5 mm rectangular section attachment, 6 mm long, from left face. Four \u00d84.3 mm holes at the corners, 18.9 \u00d7 11.7 mm spacing on the <X face."}, "params": {"block_w": {"type": "float", "default": 37.4, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 31.7, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 26.9, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "tab_a": {"type": "float", "default": 31.5, "min": 12.6, "max": 50.4, "step": 1.0, "group": "Tab", "label": "Tab width (mm)"}, "tab_b": {"type": "float", "default": 19.5, "min": 7.8, "max": 31.2, "step": 1.0, "group": "Tab", "label": "Tab height (mm)"}, "tab_t": {"type": "float", "default": 6.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Tab", "label": "Tab thickness (mm)"}, "tab_hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 4.3, "step": 0.1, "group": "Tab", "label": "Tab hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329602 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 37.4, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 31.7, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 26.9, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"tab_a\": {\"type\": 'float', \"default\": 31.5, \"min\": 12.6, \"max\": 50.4, \"step\": 1.0, \"group\": 'Tab', \"label\": 'Tab width (mm)'},\n    \"tab_b\": {\"type\": 'float', \"default\": 19.5, \"min\": 7.8, \"max\": 31.2, \"step\": 1.0, \"group\": 'Tab', \"label\": 'Tab height (mm)'},\n    \"tab_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Tab', \"label\": 'Tab thickness (mm)'},\n    \"tab_hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 4.3, \"step\": 0.1, \"group\": 'Tab', \"label\": 'Tab hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .rect(p[\"tab_a\"], p[\"tab_b\"]).extrude(p[\"tab_t\"])\n    )\n    result = (\n        result.faces('<X').workplane()\n        .rect(p[\"tab_a\"] * 0.6, p[\"tab_b\"] * 0.6, forConstruction=True)\n        .vertices().hole(p[\"tab_hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462c9fc3_1039", "family": "flanged", "tier": 2, "seed": 1177329603, "symmetry": "none", "op_count": 2, "ir_hash": "224f54271f21bc7f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 403000.0, "surface_area": 64200.0, "principal_moments": [516000000.0, 731000000.0, 731000000.0], "n_faces": 13, "n_edges": 42, "n_vertices": 28}, "dimensions": {"lines": ["Revolved body, \u00d872.64 mm \u00d7 108 mm tall with \u00d839.7 mm bore, \u00d8129.2 mm \u00d7 10.1 mm flange.", "Four \u00d85.3 mm holes on a \u00d877.6 mm bolt circle."], "text": "Revolved body, \u00d872.64 mm \u00d7 108 mm tall with \u00d839.7 mm bore, \u00d8129.2 mm \u00d7 10.1 mm flange. Four \u00d85.3 mm holes on a \u00d877.6 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 72.64, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 108.0, "min": 32.4, "max": 270.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 39.7, "min": 2.0, "max": 50.8, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 129.2, "min": 94.4, "max": 217.9, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 10.1, "min": 3.0, "max": 43.2, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 38.8, "min": 25.8, "max": 58.1, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 4, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329603 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 72.64, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 108.0, \"min\": 32.4, \"max\": 270.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 39.7, \"min\": 2.0, \"max\": 50.8, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 129.2, \"min\": 94.4, \"max\": 217.9, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 10.1, \"min\": 3.0, \"max\": 43.2, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 38.8, \"min\": 25.8, \"max\": 58.1, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 4, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9fc4_1040", "family": "plate", "tier": 1, "seed": 1177329604, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "e5f29e1b4abe5a1b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 57100.0, "surface_area": 17500.0, "principal_moments": [17900000.0, 66099999.99999999, 83400000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 117.74 \u00d7 60.9 \u00d7 8 mm (W\u00d7D\u00d7H).", "Four \u00d83.2 mm holes at the corners, 82.418 \u00d7 42.63 mm spacing."], "text": "Rectangular body, 117.74 \u00d7 60.9 \u00d7 8 mm (W\u00d7D\u00d7H). Four \u00d83.2 mm holes at the corners, 82.418 \u00d7 42.63 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 117.74, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 60.9, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329604 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 117.74, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 60.9, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462c9fc5_1041", "family": "revolved", "tier": 2, "seed": 1177329605, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "633ae3bb75e7a97f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 70800.0, "surface_area": 18300.0, "principal_moments": [22200000.0, 57499999.99999999, 57499999.99999999], "n_faces": 10, "n_edges": 17, "n_vertices": 10}, "dimensions": {"lines": ["Revolved body, \u00d828.13 mm \u00d7 88.1 mm tall with \u00d816 mm bore, \u00d857.5 mm \u00d7 17.3 mm flange.", "Chamfer 1.4 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d828.13 mm \u00d7 88.1 mm tall with \u00d816 mm bore, \u00d857.5 mm \u00d7 17.3 mm flange. Chamfer 1.4 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 28.13, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 88.1, "min": 26.4, "max": 264.3, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 16.0, "min": 2.0, "max": 19.7, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 57.5, "min": 33.8, "max": 84.4, "step": 1.0, "group": "Body", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 17.3, "min": 5.2, "max": 44.0, "step": 0.5, "group": "Body", "label": "Flange height (mm)"}, "end_chamfer": {"type": "float", "default": 1.4, "min": 0.1, "max": 4.2, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329605 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 28.13, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 88.1, \"min\": 26.4, \"max\": 264.3, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 16.0, \"min\": 2.0, \"max\": 19.7, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 57.5, \"min\": 33.8, \"max\": 84.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 17.3, \"min\": 5.2, \"max\": 44.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Flange height (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 1.4, \"min\": 0.1, \"max\": 4.2, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462c9fc6_1042", "family": "enclosure", "tier": 1, "seed": 1177329606, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "606d9ee10735e6bc", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 61400.0, "surface_area": 44700.0, "principal_moments": [69600000.0, 71500000.0, 103000000.0], "n_faces": 11, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 80 \u00d7 78.2 \u00d7 54.1 mm (W\u00d7D\u00d7H).", "Hollowed to 2.8 mm wall thickness, open at top face."], "text": "Rectangular body, 80 \u00d7 78.2 \u00d7 54.1 mm (W\u00d7D\u00d7H). Hollowed to 2.8 mm wall thickness, open at top face."}, "params": {"enc_w": {"type": "float", "default": 80, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 78.2, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 54.1, "min": 21.6, "max": 108.2, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 2.8, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329606 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 80, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 78.2, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 54.1, \"min\": 21.6, \"max\": 108.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 2.8, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9fc7_1043", "family": "plate", "tier": 1, "seed": 1177329607, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "c242f6ea77070b28", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 5370.0, "surface_area": 3630.0, "principal_moments": [494000.0, 817000.0, 1300000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 43.55 \u00d7 33.8 \u00d7 4 mm (W\u00d7D\u00d7H).", "Four \u00d86.4 mm holes at the corners, 30.485 \u00d7 23.66 mm spacing."], "text": "Rectangular body, 43.55 \u00d7 33.8 \u00d7 4 mm (W\u00d7D\u00d7H). Four \u00d86.4 mm holes at the corners, 30.485 \u00d7 23.66 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 43.55, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 33.8, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 4.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 7.6, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329607 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 43.55, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 33.8, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 4.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 7.6, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9fc8_1044", "family": "plate", "tier": 0, "seed": 1177329608, "symmetry": "radial", "op_count": 1, "ir_hash": "42a5b08999d7ba29", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 6760.0, "surface_area": 3160.0, "principal_moments": [257000.0, 1730000.0, 1940000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 55 \u00d7 20.5 \u00d7 6 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 55 \u00d7 20.5 \u00d7 6 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 55, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 20.5, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 6.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329608 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 55, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 20.5, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462c9fc9_1045", "family": "ribbed", "tier": 2, "seed": 1177329609, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "71b5128e5b5d5f60", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 5320.0, "surface_area": 3780.0, "principal_moments": [359000.0, 597000.0, 684000.0], "n_faces": 30, "n_edges": 72, "n_vertices": 44}, "dimensions": {"lines": ["Rectangular body, 30 \u00d7 20.5 \u00d7 4 mm (W\u00d7D\u00d7H).", "Three ribs, 3.1 mm thick, 12.8 mm tall."], "text": "Rectangular body, 30 \u00d7 20.5 \u00d7 4 mm (W\u00d7D\u00d7H). Three ribs, 3.1 mm thick, 12.8 mm tall."}, "params": {"base_w": {"type": "float", "default": 30.0, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 20.5, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 4.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 3, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 12.8, "min": 5.1, "max": 25.6, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 3.1, "min": 1.0, "max": 7.8, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329609 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 30.0, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 20.5, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 3, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 12.8, \"min\": 5.1, \"max\": 25.6, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 3.1, \"min\": 1.0, \"max\": 7.8, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462c9fca_1046", "family": "block", "tier": 1, "seed": 1177329610, "symmetry": "none", "op_count": 2, "ir_hash": "e4f757516fcfe4ab", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 619000.0, "surface_area": 50700.0, "principal_moments": [644000000.0, 832000000.0, 844000000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 80 \u00d7 78.5 \u00d7 100 mm (W\u00d7D\u00d7H).", "Four \u00d85.3 mm holes at the corners, 56 \u00d7 54.95 mm spacing."], "text": "Rectangular body, 80 \u00d7 78.5 \u00d7 100 mm (W\u00d7D\u00d7H). Four \u00d85.3 mm holes at the corners, 56 \u00d7 54.95 mm spacing."}, "params": {"block_w": {"type": "float", "default": 80, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 78.5, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 100.0, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329610 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 80, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 78.5, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 100.0, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462c9fcb_1047", "family": "block", "tier": 1, "seed": 1177329611, "symmetry": "none", "op_count": 2, "ir_hash": "0a8890063b05d793", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 327000.0, "surface_area": 35300.0, "principal_moments": [194000000.0, 326000000.0, 352000000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 95 \u00d7 64.2 \u00d7 55.6 mm (W\u00d7D\u00d7H).", "Four \u00d88.4 mm holes at the corners, 66.5 \u00d7 44.94 mm spacing."], "text": "Rectangular body, 95 \u00d7 64.2 \u00d7 55.6 mm (W\u00d7D\u00d7H). Four \u00d88.4 mm holes at the corners, 66.5 \u00d7 44.94 mm spacing."}, "params": {"block_w": {"type": "float", "default": 95, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 64.2, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 55.6, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 8.4, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329611 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 95, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 64.2, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 55.6, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462c9fcc_1048", "family": "bracket", "tier": 1, "seed": 1177329612, "symmetry": "none", "op_count": 1, "ir_hash": "68de10fe160dc1d0", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 33900.0, "surface_area": 11000.0, "principal_moments": [9010000.0, 16599999.999999998, 19200000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["L-bracket: base leg 57.04 mm, vertical leg 46.1 mm, 45.06 mm wide, 8 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."], "text": "L-bracket: base leg 57.04 mm, vertical leg 46.1 mm, 45.06 mm wide, 8 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 57.04, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 46.1, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 45.06, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 8.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329612 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 57.04, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 46.1, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 45.06, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462c9fcd_1049", "family": "tapped", "tier": 1, "seed": 1177329613, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "90814393b1de0ade", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 106000.0, "surface_area": 18500.0, "principal_moments": [36200000.0, 67600000.0, 95999999.99999999], "n_faces": 682, "n_edges": 1872, "n_vertices": 1192}, "dimensions": {"lines": ["Four M6x1 tapped holes in a plate."], "text": "Four M6x1 tapped holes in a plate."}, "params": {"major_d": {"type": "float", "default": 6.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 1.0, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 21.0, "min": 7.2, "max": 37.8, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "plate_w": {"type": "float", "default": 85, "min": 51.0, "max": 136.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 60.5, "min": 36.3, "max": 96.8, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329613 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.0, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 21.0, \"min\": 7.2, \"max\": 37.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"plate_w\": {\"type\": 'float', \"default\": 85, \"min\": 51.0, \"max\": 136.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 60.5, \"min\": 36.3, \"max\": 96.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n}\n\n\ndef build(p):\n\n    _W, _D, _H = p[\"plate_w\"], p[\"plate_d\"], p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Box(_W, _D, _H)\n    _sx, _sy = p[\"plate_w\"] * 0.6, p[\"plate_d\"] * 0.6\n    _locs = [(_xx, _yy) for _xx in (-_sx / 2, _sx / 2) for _yy in (-_sy / 2, _sy / 2)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462c9fce_1050", "family": "revolved", "tier": 0, "seed": 1177329614, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "a8d8c94a6092ecc0", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 74100.0, "surface_area": 16200.0, "principal_moments": [24699999.999999996, 30099999.999999996, 30099999.999999996], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d847.16 mm \u00d7 63.6 mm tall."], "text": "Revolved body, \u00d847.16 mm \u00d7 63.6 mm tall."}, "params": {"outer_d": {"type": "float", "default": 47.16, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 63.6, "min": 19.1, "max": 190.8, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329614 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 47.16, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 63.6, \"min\": 19.1, \"max\": 190.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462c9fcf_1051", "family": "gear", "tier": 1, "seed": 1177329615, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "78c61ea0956a1e8a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 9390.0, "surface_area": 4170.0, "principal_moments": [754000.0, 754000.0, 1270000.0], "n_faces": 99, "n_edges": 291, "n_vertices": 194}, "dimensions": {"lines": ["Spur gear, module 2 mm, 16 teeth (pitch \u00d832 mm), face width 12.3 mm, \u00d85.3 mm bore."], "text": "Spur gear, module 2 mm, 16 teeth (pitch \u00d832 mm), face width 12.3 mm, \u00d85.3 mm bore."}, "params": {"module": {"type": "float", "default": 2.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 16, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 12.3, "min": 4.9, "max": 30.8, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "bore_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 16.2, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329615 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 2.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 16, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 12.3, \"min\": 4.9, \"max\": 30.8, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 16.2, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462c9fd0_1052", "family": "revolved", "tier": 0, "seed": 1177329616, "symmetry": "none", "op_count": 1, "ir_hash": "352fe5b0eb7de281", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 623000.0, "surface_area": 84200.0, "principal_moments": [458000000.0, 2410000000.0, 2410000000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d870 mm \u00d7 242.9 mm tall."], "text": "Revolved body, \u00d870 mm \u00d7 242.9 mm tall."}, "params": {"outer_d": {"type": "float", "default": 70, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 242.9, "min": 72.9, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329616 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 70, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 242.9, \"min\": 72.9, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462c9fd1_1053", "family": "bracket", "tier": 1, "seed": 1177329617, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "f726e2288200a79f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 22000.0, "surface_area": 16400.0, "principal_moments": [19200000.0, 27199999.999999996, 43200000.0], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["C-channel bracket: base leg 79.51 mm, vertical leg 86.2 mm, 30 mm wide, 3 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."], "text": "C-channel bracket: base leg 79.51 mm, vertical leg 86.2 mm, 30 mm wide, 3 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 79.51, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 86.2, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 30, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 3.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329617 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 79.51, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 86.2, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 30, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9fd2_1054", "family": "plate", "tier": 0, "seed": 1177329618, "symmetry": "none", "op_count": 1, "ir_hash": "eff59df243fc8500", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 30600.0, "surface_area": 8660.0, "principal_moments": [2900000.0, 23299999.999999996, 25599999.999999996], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 95 \u00d7 32.2 \u00d7 10 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 95 \u00d7 32.2 \u00d7 10 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 95, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 32.2, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329618 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 95, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 32.2, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462c9fd3_1055", "family": "enclosure", "tier": 3, "seed": 1177329619, "symmetry": "none", "op_count": 3, "ir_hash": "9f2a96259b81b1d2", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 78100.0, "surface_area": 30500.0, "principal_moments": [46999999.99999999, 62199999.99999999, 72500000.0], "n_faces": 19, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 70 \u00d7 42.2 \u00d7 61.9 mm (W\u00d7D\u00d7H).", "Hollowed to 5.6 mm wall thickness, open at top face.", "Four \u00d85.3 mm holes at the corners, 49 \u00d7 29.54 mm spacing."], "text": "Rectangular body, 70 \u00d7 42.2 \u00d7 61.9 mm (W\u00d7D\u00d7H). Hollowed to 5.6 mm wall thickness, open at top face. Four \u00d85.3 mm holes at the corners, 49 \u00d7 29.54 mm spacing."}, "params": {"enc_w": {"type": "float", "default": 70, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 42.2, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 61.9, "min": 24.8, "max": 123.8, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 5.6, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 9.5, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329619 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 70, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 42.2, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 61.9, \"min\": 24.8, \"max\": 123.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 5.6, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 9.5, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"enc_w\"] * 0.7, p[\"enc_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462c9fd4_1056", "family": "bracket", "tier": 1, "seed": 1177329620, "symmetry": "none", "op_count": 1, "ir_hash": "b6553a30feeecd4a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 28500.0, "surface_area": 13100.0, "principal_moments": [9280000.0, 20200000.0, 22899999.999999996], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["L-bracket: base leg 69.78 mm, vertical leg 49.5 mm, 50.04 mm wide, 5 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."], "text": "L-bracket: base leg 69.78 mm, vertical leg 49.5 mm, 50.04 mm wide, 5 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 69.78, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 49.5, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 50.04, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 5.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329620 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 69.78, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 49.5, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 50.04, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462c9fd5_1057", "family": "bracket", "tier": 1, "seed": 1177329621, "symmetry": "none", "op_count": 1, "ir_hash": "a061430def818819", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 34500.0, "surface_area": 24700.0, "principal_moments": [16699999.999999998, 71400000.0, 72100000.0], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Z-bracket: base leg 83.34 mm, vertical leg 77.5 mm, top leg 55.2 mm, 55 mm wide, 3 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."], "text": "Z-bracket: base leg 83.34 mm, vertical leg 77.5 mm, top leg 55.2 mm, 55 mm wide, 3 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 83.34, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 77.5, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 55, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 3.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 55.2, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329621 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 83.34, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 77.5, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 55, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 55.2, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462c9fd6_1058", "family": "swept", "tier": 1, "seed": 1177329622, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "1311a851a99006c1", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 2120.0, "surface_area": 2420.0, "principal_moments": [153000.0, 625000.0, 755000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["12.1 \u00d7 8 mm rectangular section swept along a curved path, ~60 mm span."], "text": "12.1 \u00d7 8 mm rectangular section swept along a curved path, ~60 mm span."}, "params": {"path_w": {"type": "float", "default": 60, "min": 30.0, "max": 108.0, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 55, "min": 27.5, "max": 99.0, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_a": {"type": "float", "default": 12.1, "min": 6.0, "max": 21.8, "step": 1.0, "group": "Section", "label": "Section width (mm)"}, "sweep_b": {"type": "float", "default": 8.0, "min": 4.0, "max": 14.4, "step": 1.0, "group": "Section", "label": "Section depth (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329622 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 60, \"min\": 30.0, \"max\": 108.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 55, \"min\": 27.5, \"max\": 99.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_a\": {\"type\": 'float', \"default\": 12.1, \"min\": 6.0, \"max\": 21.8, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section width (mm)'},\n    \"sweep_b\": {\"type\": 'float', \"default\": 8.0, \"min\": 4.0, \"max\": 14.4, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section depth (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.4393, p[\"path_h\"] * 0.4095), (p[\"path_w\"] * 0.2606, p[\"path_h\"] * 0.5497), (p[\"path_w\"] * 0.4173, p[\"path_h\"] * 0.7953), (p[\"path_w\"] * 0.4725, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').rect(p[\"sweep_a\"], p[\"sweep_b\"]).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462c9fd7_1059", "family": "enclosure", "tier": 2, "seed": 1177329623, "symmetry": "none", "op_count": 3, "ir_hash": "6d843eab6c1554dc", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 143000.0, "surface_area": 74900.0, "principal_moments": [201000000.0, 292000000.0, 365000000.0], "n_faces": 19, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 116.1 \u00d7 53.3 \u00d7 98.6 mm (W\u00d7D\u00d7H).", "Hollowed to 4 mm wall thickness, open at top face.", "Four \u00d810.5 mm holes at the corners, 81.27 \u00d7 37.31 mm spacing."], "text": "Rectangular body, 116.1 \u00d7 53.3 \u00d7 98.6 mm (W\u00d7D\u00d7H). Hollowed to 4 mm wall thickness, open at top face. Four \u00d810.5 mm holes at the corners, 81.27 \u00d7 37.31 mm spacing."}, "params": {"enc_w": {"type": "float", "default": 116.1, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 53.3, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 98.6, "min": 39.4, "max": 197.2, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 4.0, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}, "hole_d": {"type": "float", "default": 10.5, "min": 2.0, "max": 12.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329623 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 116.1, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 53.3, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 98.6, \"min\": 39.4, \"max\": 197.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 10.5, \"min\": 2.0, \"max\": 12.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"enc_w\"] * 0.7, p[\"enc_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462c9fd8_1060", "family": "ribbed", "tier": 1, "seed": 1177329624, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "08fa4d94642f84fe", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 101000.0, "surface_area": 36600.0, "principal_moments": [63899999.99999999, 71600000.0, 125000000.0], "n_faces": 36, "n_edges": 84, "n_vertices": 56}, "dimensions": {"lines": ["Rectangular body, 90 \u00d7 86.7 \u00d7 10 mm (W\u00d7D\u00d7H).", "Six ribs, 2.7 mm thick, 19.5 mm tall."], "text": "Rectangular body, 90 \u00d7 86.7 \u00d7 10 mm (W\u00d7D\u00d7H). Six ribs, 2.7 mm thick, 19.5 mm tall."}, "params": {"base_w": {"type": "float", "default": 90, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 86.7, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 10.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 6, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 19.5, "min": 7.8, "max": 39.0, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 2.7, "min": 1.0, "max": 6.8, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329624 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 90, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 86.7, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 6, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 19.5, \"min\": 7.8, \"max\": 39.0, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 2.7, \"min\": 1.0, \"max\": 6.8, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462c9fd9_1061", "family": "revolved", "tier": 1, "seed": 1177329625, "symmetry": "none", "op_count": 1, "ir_hash": "3d0711f235a12a20", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 40400.0, "surface_area": 11600.0, "principal_moments": [7640000.0, 16800000.0, 16800000.0], "n_faces": 4, "n_edges": 6, "n_vertices": 4}, "dimensions": {"lines": ["Revolved body, \u00d834.23 mm \u00d7 62 mm tall with \u00d818.5 mm bore."], "text": "Revolved body, \u00d834.23 mm \u00d7 62 mm tall with \u00d818.5 mm bore."}, "params": {"outer_d": {"type": "float", "default": 34.23, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 62.0, "min": 18.6, "max": 186.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 18.5, "min": 2.0, "max": 24.0, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329625 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 34.23, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 62.0, \"min\": 18.6, \"max\": 186.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 18.5, \"min\": 2.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462c9fda_1062", "family": "bracket", "tier": 1, "seed": 1177329626, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "9241cf20c717f8c1", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 25700.0, "surface_area": 11600.0, "principal_moments": [7350000.0, 49899999.99999999, 55399999.99999999], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Z-bracket: base leg 82.63 mm, vertical leg 87.5 mm, top leg 55.7 mm, 20.36 mm wide, 6 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."], "text": "Z-bracket: base leg 82.63 mm, vertical leg 87.5 mm, top leg 55.7 mm, 20.36 mm wide, 6 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 82.63, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 87.5, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 20.36, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 6.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 55.7, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 8.1, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329626 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 82.63, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 87.5, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 20.36, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 55.7, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 8.1, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462c9fdb_1063", "family": "lofted", "tier": 1, "seed": 1177329627, "symmetry": "none", "op_count": 2, "ir_hash": "f53b6ad9b86f899a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 38000.0, "surface_area": 8550.0, "principal_moments": [7880000.0, 7880000.0, 11499999.999999998], "n_faces": 8, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["Lofted body through 2 sections: 51.45 \u00d7 51.45 mm rectangular section \u2192 \u00d825.2 mm circular section.", "One \u00d811.8 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 2 sections: 51.45 \u00d7 51.45 mm rectangular section \u2192 \u00d825.2 mm circular section. One \u00d811.8 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 51.45, "min": 25.7, "max": 82.3, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 25.2, "min": 10.1, "max": 61.7, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 28.6, "min": 11.4, "max": 57.2, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_bore_d": {"type": "float", "default": 11.8, "min": 2.0, "max": 20.2, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329627 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 51.45, \"min\": 25.7, \"max\": 82.3, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 25.2, \"min\": 10.1, \"max\": 61.7, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 28.6, \"min\": 11.4, \"max\": 57.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 11.8, \"min\": 2.0, \"max\": 20.2, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .rect(p[\"loft_base\"], p[\"loft_base\"])\n        .workplane(offset=p[\"loft_h\"])\n        .circle(p[\"loft_top\"] / 2)\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9fdc_1064", "family": "plate", "tier": 0, "seed": 1177329628, "symmetry": "none", "op_count": 1, "ir_hash": "895b96f973c11123", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 9130.0, "surface_area": 3480.0, "principal_moments": [391000.0, 2260000.0, 2550000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 53.85 \u00d7 21.2 \u00d7 8 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 53.85 \u00d7 21.2 \u00d7 8 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 53.85, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 21.2, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329628 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 53.85, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 21.2, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462c9fdd_1065", "family": "profiled", "tier": 2, "seed": 1177329629, "symmetry": "none", "op_count": 1, "ir_hash": "14de255128da5c36", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 257000.0, "surface_area": 29700.0, "principal_moments": [56099999.99999999, 901000000.0, 921000000.0], "n_faces": 9, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["freeform sketched section (7 segments: 4 straight, 1 arc, 2 curves), ~49.709 \u00d7 32.456 mm, extruded 202.9 mm thick."], "text": "freeform sketched section (7 segments: 4 straight, 1 arc, 2 curves), ~49.709 \u00d7 32.456 mm, extruded 202.9 mm thick."}, "params": {"sk_w": {"type": "float", "default": 54.86, "min": 27.4, "max": 98.7, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 40, "min": 20.0, "max": 72.0, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "length": {"type": "float", "default": 202.9, "min": 60.9, "max": 608.7, "step": 5.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329629 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 54.86, \"min\": 27.4, \"max\": 98.7, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 40, \"min\": 20.0, \"max\": 72.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 202.9, \"min\": 60.9, \"max\": 608.7, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.4687, p[\"sk_h\"] * -0.1205).lineTo(p[\"sk_w\"] * 0.3834, p[\"sk_h\"] * 0.3126).threePointArc((p[\"sk_w\"] * 0.0996, p[\"sk_h\"] * 0.444), (p[\"sk_w\"] * -0.2159, p[\"sk_h\"] * 0.4508)).lineTo(p[\"sk_w\"] * -0.4374, p[\"sk_h\"] * 0.0928).lineTo(p[\"sk_w\"] * -0.4052, p[\"sk_h\"] * -0.2014).spline([(p[\"sk_w\"] * -0.4052, p[\"sk_h\"] * -0.2014), (p[\"sk_w\"] * -0.2494, p[\"sk_h\"] * -0.2924), (p[\"sk_w\"] * -0.0783, p[\"sk_h\"] * -0.3495)]).bezier([(p[\"sk_w\"] * -0.0783, p[\"sk_h\"] * -0.3495), (p[\"sk_w\"] * 0.0323, p[\"sk_h\"] * -0.3686), (p[\"sk_w\"] * 0.1444, p[\"sk_h\"] * -0.3606)]).lineTo(p[\"sk_w\"] * 0.4687, p[\"sk_h\"] * -0.1205).close().extrude(p[\"length\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462c9fde_1066", "family": "threaded", "tier": 0, "seed": 1177329630, "symmetry": "none", "op_count": 1, "ir_hash": "bcfd40a99b780bd8", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 16400.0, "surface_area": 6190.0, "principal_moments": [707000.0, 5430000.0, 5430000.0], "n_faces": 434, "n_edges": 1192, "n_vertices": 760}, "dimensions": {"lines": ["M20x2.5 external thread, 61.2 mm long."], "text": "M20x2.5 external thread, 61.2 mm long."}, "params": {"major_d": {"type": "float", "default": 20.0, "min": 4.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Major diameter (mm)"}, "pitch": {"type": "float", "default": 2.5, "min": 1.25, "max": 5.0, "step": 0.05, "group": "Thread", "label": "Pitch (mm)"}, "thread_len": {"type": "float", "default": 61.2, "min": 24.5, "max": 122.4, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329630 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 20.0, \"min\": 4.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Major diameter (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 2.5, \"min\": 1.25, \"max\": 5.0, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Pitch (mm)'},\n    \"thread_len\": {\"type\": 'float', \"default\": 61.2, \"min\": 24.5, \"max\": 122.4, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.IsoThread(major_diameter=p[\"major_d\"], pitch=p[\"pitch\"], length=p[\"thread_len\"], external=True, end_finishes=(\"fade\", \"fade\"))\n    _r = _thr.min_radius if hasattr(_thr, 'min_radius') else _thr.root_radius\n    _shank = _bd.Cylinder(radius=_r, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = _shank + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462c9fdf_1067", "family": "compound", "tier": 2, "seed": 1177329631, "symmetry": "none", "op_count": 2, "ir_hash": "6db4a64e7f2d74c1", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 95100.0, "surface_area": 17700.0, "principal_moments": [35800000.0, 43800000.0, 43800000.0], "n_faces": 10, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["Lofted body through 3 sections: \u00d865 mm circular section \u2192 \u00d852.1 mm circular section \u2192 39.3 \u00d7 39.3 mm rectangular section.", "\u00d825.4 mm circular section attachment, 30 mm long, from top face with a \u00d815.4 mm bore."], "text": "Lofted body through 3 sections: \u00d865 mm circular section \u2192 \u00d852.1 mm circular section \u2192 39.3 \u00d7 39.3 mm rectangular section. \u00d825.4 mm circular section attachment, 30 mm long, from top face with a \u00d815.4 mm bore."}, "params": {"adapter_base": {"type": "float", "default": 65, "min": 39.0, "max": 97.5, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "adapter_top": {"type": "float", "default": 39.3, "min": 19.6, "max": 65, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "adapter_h": {"type": "float", "default": 41.8, "min": 16.7, "max": 83.6, "step": 1.0, "group": "Body", "label": "Transition height (mm)"}, "adapter_mid": {"type": "float", "default": 52.1, "min": 19.6, "max": 65, "step": 1.0, "group": "Body", "label": "Mid size (mm)"}, "neck_d": {"type": "float", "default": 25.4, "min": 10.2, "max": 39.3, "step": 1.0, "group": "Neck", "label": "Neck diameter (mm)"}, "neck_l": {"type": "float", "default": 30.0, "min": 12.0, "max": 75.0, "step": 1.0, "group": "Neck", "label": "Neck length (mm)"}, "neck_bore": {"type": "float", "default": 15.4, "min": 2.0, "max": 18.3, "step": 0.5, "group": "Neck", "label": "Neck bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329631 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"adapter_base\": {\"type\": 'float', \"default\": 65, \"min\": 39.0, \"max\": 97.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"adapter_top\": {\"type\": 'float', \"default\": 39.3, \"min\": 19.6, \"max\": 65, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"adapter_h\": {\"type\": 'float', \"default\": 41.8, \"min\": 16.7, \"max\": 83.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Transition height (mm)'},\n    \"adapter_mid\": {\"type\": 'float', \"default\": 52.1, \"min\": 19.6, \"max\": 65, \"step\": 1.0, \"group\": 'Body', \"label\": 'Mid size (mm)'},\n    \"neck_d\": {\"type\": 'float', \"default\": 25.4, \"min\": 10.2, \"max\": 39.3, \"step\": 1.0, \"group\": 'Neck', \"label\": 'Neck diameter (mm)'},\n    \"neck_l\": {\"type\": 'float', \"default\": 30.0, \"min\": 12.0, \"max\": 75.0, \"step\": 1.0, \"group\": 'Neck', \"label\": 'Neck length (mm)'},\n    \"neck_bore\": {\"type\": 'float', \"default\": 15.4, \"min\": 2.0, \"max\": 18.3, \"step\": 0.5, \"group\": 'Neck', \"label\": 'Neck bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .circle(p[\"adapter_base\"] / 2)\n        .workplane(offset=p[\"adapter_h\"] * 0.5)\n        .circle(p[\"adapter_mid\"] / 2)\n        .workplane(offset=p[\"adapter_h\"] * 0.5)\n        .rect(p[\"adapter_top\"], p[\"adapter_top\"])\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"neck_d\"] / 2).extrude(p[\"neck_l\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"neck_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9fe0_1068", "family": "plate", "tier": 0, "seed": 1177329632, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "9a93422b2571fe9c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 56100.0, "surface_area": 13100.0, "principal_moments": [8460000.0, 62099999.99999999, 69200000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 114.62 \u00d7 40.8 \u00d7 12 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 114.62 \u00d7 40.8 \u00d7 12 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 114.62, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 40.8, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329632 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 114.62, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 40.8, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462c9fe1_1069", "family": "lofted", "tier": 2, "seed": 1177329633, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "740c0bc650238898", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 23000.0, "surface_area": 6660.0, "principal_moments": [3310000.0, 4290000.0, 4290000.0], "n_faces": 9, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["Lofted body through 3 sections: \u00d840.62 mm circular section \u2192 6-sided polygon section, 30.1 mm across corners \u2192 6-sided polygon section, 19.6 mm across corners.", "One \u00d810.8 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 3 sections: \u00d840.62 mm circular section \u2192 6-sided polygon section, 30.1 mm across corners \u2192 6-sided polygon section, 19.6 mm across corners. One \u00d810.8 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 40.62, "min": 20.3, "max": 65.0, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 19.6, "min": 7.8, "max": 48.7, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 41.2, "min": 16.5, "max": 82.4, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_mid": {"type": "float", "default": 30.1, "min": 9.8, "max": 48.7, "step": 1.0, "group": "Body", "label": "Mid size (mm)"}, "loft_bore_d": {"type": "float", "default": 10.8, "min": 2.0, "max": 15.7, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329633 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 40.62, \"min\": 20.3, \"max\": 65.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 19.6, \"min\": 7.8, \"max\": 48.7, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 41.2, \"min\": 16.5, \"max\": 82.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_mid\": {\"type\": 'float', \"default\": 30.1, \"min\": 9.8, \"max\": 48.7, \"step\": 1.0, \"group\": 'Body', \"label\": 'Mid size (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 10.8, \"min\": 2.0, \"max\": 15.7, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .circle(p[\"loft_base\"] / 2)\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .polygon(6, p[\"loft_mid\"] * 0.5 * 2)\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .polygon(6, p[\"loft_top\"] * 0.5 * 2)\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462c9fe2_1070", "family": "lofted", "tier": 0, "seed": 1177329634, "symmetry": "none", "op_count": 1, "ir_hash": "5cb8e6c2744e80e3", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 127000.0, "surface_area": 14200.0, "principal_moments": [47699999.99999999, 54899999.99999999, 54899999.99999999], "n_faces": 8, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["Lofted body through 2 sections: 6-sided polygon section, 64.89 mm across corners \u2192 \u00d849.8 mm circular section."], "text": "Lofted body through 2 sections: 6-sided polygon section, 64.89 mm across corners \u2192 \u00d849.8 mm circular section."}, "params": {"loft_base": {"type": "float", "default": 64.89, "min": 32.4, "max": 103.8, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 49.8, "min": 19.9, "max": 77.9, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 54.4, "min": 21.8, "max": 108.8, "step": 1.0, "group": "Body", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329634 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 64.89, \"min\": 32.4, \"max\": 103.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 49.8, \"min\": 19.9, \"max\": 77.9, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 54.4, \"min\": 21.8, \"max\": 108.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .polygon(6, p[\"loft_base\"] * 0.5 * 2)\n        .workplane(offset=p[\"loft_h\"])\n        .circle(p[\"loft_top\"] / 2)\n        .loft(combine=True)\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9fe3_1071", "family": "plate", "tier": 2, "seed": 1177329635, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "c87fd49560935748", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 79000.0, "surface_area": 23600.0, "principal_moments": [49899999.99999999, 86600000.0, 136000000.0], "n_faces": 14, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 115 \u00d7 87.1 \u00d7 8 mm (W\u00d7D\u00d7H).", "Four \u00d86.4 mm holes at the corners, 80.5 \u00d7 60.97 mm spacing.", "Fillet radius 4.475 mm on vertical edges."], "text": "Rectangular body, 115 \u00d7 87.1 \u00d7 8 mm (W\u00d7D\u00d7H). Four \u00d86.4 mm holes at the corners, 80.5 \u00d7 60.97 mm spacing. Fillet radius 4.475 mm on vertical edges."}, "params": {"plate_w": {"type": "float", "default": 115, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 87.1, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329635 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 115, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 87.1, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"plate_w\"], p[\"plate_d\"]) * 0.05137350598068406)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9fe4_1072", "family": "plate", "tier": 0, "seed": 1177329636, "symmetry": "none", "op_count": 1, "ir_hash": "c3ada6c6036d7423", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 8120.0, "surface_area": 4790.0, "principal_moments": [932000.0, 2060000.0, 2970000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 55 \u00d7 36.9 \u00d7 4 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 55 \u00d7 36.9 \u00d7 4 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 55, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 36.9, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 4.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329636 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 55, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 36.9, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 4.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462c9fe6_1074", "family": "revolved", "tier": 2, "seed": 1177329638, "symmetry": "none", "op_count": 2, "ir_hash": "562dea76fd04dc51", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 210000.0, "surface_area": 27100.0, "principal_moments": [141000000.0, 141000000.0, 166000000.0], "n_faces": 12, "n_edges": 20, "n_vertices": 12}, "dimensions": {"lines": ["Revolved body, \u00d875 mm \u00d7 56.8 mm tall with \u00d828.2 mm bore, 6.49 mm-wide groove 3.41 mm deep.", "Chamfer 0.9 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d875 mm \u00d7 56.8 mm tall with \u00d828.2 mm bore, 6.49 mm-wide groove 3.41 mm deep. Chamfer 0.9 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 75, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 56.8, "min": 17.0, "max": 170.4, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 28.2, "min": 2.0, "max": 52.5, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "groove_depth": {"type": "float", "default": 3.41, "min": 1.36, "max": 10.23, "step": 0.1, "group": "Body", "label": "Groove depth (mm)"}, "groove_w": {"type": "float", "default": 6.49, "min": 2.6, "max": 19.47, "step": 0.2, "group": "Body", "label": "Groove width (mm)"}, "groove_pos": {"type": "float", "default": 30.3, "min": 8.5, "max": 48.3, "step": 1.0, "group": "Body", "label": "Groove position (mm)"}, "end_chamfer": {"type": "float", "default": 0.9, "min": 0.1, "max": 2.7, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329638 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 75, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 56.8, \"min\": 17.0, \"max\": 170.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 28.2, \"min\": 2.0, \"max\": 52.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"groove_depth\": {\"type\": 'float', \"default\": 3.41, \"min\": 1.36, \"max\": 10.23, \"step\": 0.1, \"group\": 'Body', \"label\": 'Groove depth (mm)'},\n    \"groove_w\": {\"type\": 'float', \"default\": 6.49, \"min\": 2.6, \"max\": 19.47, \"step\": 0.2, \"group\": 'Body', \"label\": 'Groove width (mm)'},\n    \"groove_pos\": {\"type\": 'float', \"default\": 30.3, \"min\": 8.5, \"max\": 48.3, \"step\": 1.0, \"group\": 'Body', \"label\": 'Groove position (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.9, \"min\": 0.1, \"max\": 2.7, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"groove_pos\"] - p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2 - p[\"groove_depth\"], p[\"groove_pos\"] - p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2 - p[\"groove_depth\"], p[\"groove_pos\"] + p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2, p[\"groove_pos\"] + p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9fe7_1075", "family": "plate", "tier": 2, "seed": 1177329639, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "41dbfa16ff7aff8c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 7060.0, "surface_area": 3290.0, "principal_moments": [240000.0, 1460000.0, 1620000.0], "n_faces": 18, "n_edges": 48, "n_vertices": 32}, "dimensions": {"lines": ["Rectangular body, 50 \u00d7 18.9 \u00d7 8 mm (W\u00d7D\u00d7H).", "Four \u00d83.2 mm counterbored holes (\u00d86.4 mm \u00d7 2.6 mm counterbore) at the corners, 35 \u00d7 13.23 mm spacing."], "text": "Rectangular body, 50 \u00d7 18.9 \u00d7 8 mm (W\u00d7D\u00d7H). Four \u00d83.2 mm counterbored holes (\u00d86.4 mm \u00d7 2.6 mm counterbore) at the corners, 35 \u00d7 13.23 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 50, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 18.9, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 4.3, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "cb_d": {"type": "float", "default": 6.4, "min": 4.8, "max": 9.6, "step": 0.5, "group": "Holes", "label": "Counterbore diameter (mm)"}, "cb_depth": {"type": "float", "default": 2.6, "min": 1.3, "max": 5.2, "step": 0.5, "group": "Holes", "label": "Counterbore depth (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329639 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 50, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 18.9, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 4.3, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"cb_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 4.8, \"max\": 9.6, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Counterbore diameter (mm)'},\n    \"cb_depth\": {\"type\": 'float', \"default\": 2.6, \"min\": 1.3, \"max\": 5.2, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Counterbore depth (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().cboreHole(p[\"hole_d\"], p[\"cb_d\"], p[\"cb_depth\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9fe8_1076", "family": "plate", "tier": 1, "seed": 1177329640, "symmetry": "radial", "op_count": 2, "ir_hash": "5570dd5cb117a967", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 60200.0, "surface_area": 15800.0, "principal_moments": [21000000.0, 45999999.99999999, 65999999.99999999], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 95 \u00d7 64 \u00d7 10 mm (W\u00d7D\u00d7H).", "Four \u00d84.3 mm holes on a \u00d857 mm bolt circle."], "text": "Rectangular body, 95 \u00d7 64 \u00d7 10 mm (W\u00d7D\u00d7H). Four \u00d84.3 mm holes on a \u00d857 mm bolt circle."}, "params": {"plate_w": {"type": "float", "default": 95, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 64.0, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "bolt_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 28.5, "min": 19.0, "max": 42.8, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 4, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329640 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 95, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 64.0, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 28.5, \"min\": 19.0, \"max\": 42.8, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 4, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462c9fe9_1077", "family": "block", "tier": 1, "seed": 1177329641, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "ba35368d1ecd3847", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 348000.0, "surface_area": 40300.0, "principal_moments": [241000000.0, 348000000.0, 473000000.0], "n_faces": 22, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 80 \u00d7 44.9 \u00d7 100 mm (W\u00d7D\u00d7H).", "Four 5.2 mm square holes at the corners, 56 \u00d7 31.43 mm spacing."], "text": "Rectangular body, 80 \u00d7 44.9 \u00d7 100 mm (W\u00d7D\u00d7H). Four 5.2 mm square holes at the corners, 56 \u00d7 31.43 mm spacing."}, "params": {"block_w": {"type": "float", "default": 80, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 44.9, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 100.0, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 5.2, "min": 2.0, "max": 13.1, "step": 0.5, "group": "Holes", "label": "Square hole size (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329641 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 80, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 44.9, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 100.0, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.2, \"min\": 2.0, \"max\": 13.1, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Square hole size (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().rect(p[\"hole_d\"], p[\"hole_d\"]).cutThruAll()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462c9feb_1079", "family": "block", "tier": 2, "seed": 1177329643, "symmetry": "none", "op_count": 3, "ir_hash": "d455f352e372909c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 33800.0, "surface_area": 9150.0, "principal_moments": [4210000.0, 7940000.0, 8270000.0], "n_faces": 24, "n_edges": 63, "n_vertices": 42}, "dimensions": {"lines": ["Rectangular body, 30 \u00d7 27.6 \u00d7 39 mm (W\u00d7D\u00d7H).", "Four 3.8 mm square holes at the corners, 21 \u00d7 19.32 mm spacing.", "Boss \u00d820.4 mm \u00d7 11.6 mm tall on top face."], "text": "Rectangular body, 30 \u00d7 27.6 \u00d7 39 mm (W\u00d7D\u00d7H). Four 3.8 mm square holes at the corners, 21 \u00d7 19.32 mm spacing. Boss \u00d820.4 mm \u00d7 11.6 mm tall on top face."}, "params": {"block_w": {"type": "float", "default": 30, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 27.6, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 39.0, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 3.8, "min": 2.0, "max": 8.1, "step": 0.5, "group": "Holes", "label": "Square hole size (mm)"}, "boss_d": {"type": "float", "default": 20.4, "min": 10.2, "max": 40.8, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 11.6, "min": 4.6, "max": 29.0, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329643 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 30, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 27.6, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 39.0, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.8, \"min\": 2.0, \"max\": 8.1, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Square hole size (mm)'},\n    \"boss_d\": {\"type\": 'float', \"default\": 20.4, \"min\": 10.2, \"max\": 40.8, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 11.6, \"min\": 4.6, \"max\": 29.0, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().rect(p[\"hole_d\"], p[\"hole_d\"]).cutThruAll()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462c9fec_1080", "family": "revolved", "tier": 0, "seed": 1177329644, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "c2c55857ad847b9a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 55700.0, "surface_area": 17400.0, "principal_moments": [7510000.0, 49799999.99999999, 49799999.99999999], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d830 mm \u00d7 118.1 mm tall."], "text": "Revolved body, \u00d830 mm \u00d7 118.1 mm tall."}, "params": {"outer_d": {"type": "float", "default": 30, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 118.1, "min": 35.4, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329644 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 30, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 118.1, \"min\": 35.4, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9fed_1081", "family": "plate", "tier": 0, "seed": 1177329645, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "ddf66c5ff42fe807", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 43900.0, "surface_area": 11700.0, "principal_moments": [7420000.0, 36900000.0, 43600000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 100 \u00d7 43.9 \u00d7 10 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 100 \u00d7 43.9 \u00d7 10 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 100, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 43.9, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329645 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 100, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 43.9, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9fee_1082", "family": "plate", "tier": 1, "seed": 1177329646, "symmetry": "none", "op_count": 2, "ir_hash": "b61d03a7dedcd74c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 11100.0, "surface_area": 5180.0, "principal_moments": [1150000.0, 2760000.0, 3850000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 55 \u00d7 35.2 \u00d7 6 mm (W\u00d7D\u00d7H).", "Four \u00d85.3 mm holes at the corners, 38.5 \u00d7 24.64 mm spacing."], "text": "Rectangular body, 55 \u00d7 35.2 \u00d7 6 mm (W\u00d7D\u00d7H). Four \u00d85.3 mm holes at the corners, 38.5 \u00d7 24.64 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 55, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 35.2, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 6.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 7.9, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329646 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 55, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 35.2, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 7.9, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462c9fef_1083", "family": "lofted", "tier": 0, "seed": 1177329647, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "4ee4737956235620", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 68500.0, "surface_area": 9670.0, "principal_moments": [17900000.0, 17900000.0, 21700000.0], "n_faces": 7, "n_edges": 15, "n_vertices": 10}, "dimensions": {"lines": ["Lofted body through 2 sections: \u00d855 mm circular section \u2192 38.8 \u00d7 38.8 mm rectangular section."], "text": "Lofted body through 2 sections: \u00d855 mm circular section \u2192 38.8 \u00d7 38.8 mm rectangular section."}, "params": {"loft_base": {"type": "float", "default": 55, "min": 27.5, "max": 88.0, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 38.8, "min": 15.5, "max": 66.0, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 35.4, "min": 14.2, "max": 70.8, "step": 1.0, "group": "Body", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329647 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 55, \"min\": 27.5, \"max\": 88.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 38.8, \"min\": 15.5, \"max\": 66.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 35.4, \"min\": 14.2, \"max\": 70.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .circle(p[\"loft_base\"] / 2)\n        .workplane(offset=p[\"loft_h\"])\n        .rect(p[\"loft_top\"], p[\"loft_top\"])\n        .loft(combine=True)\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462c9ff0_1084", "family": "gear", "tier": 0, "seed": 1177329648, "symmetry": "none", "op_count": 1, "ir_hash": "303000100548bcde", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 893000.0, "surface_area": 95700.0, "principal_moments": [2190000000.0, 2190000000.0, 4250000000.0], "n_faces": 236, "n_edges": 702, "n_vertices": 468}, "dimensions": {"lines": ["Spur gear, module 5 mm, 39 teeth (pitch \u00d8195 mm), face width 30.1 mm."], "text": "Spur gear, module 5 mm, 39 teeth (pitch \u00d8195 mm), face width 30.1 mm."}, "params": {"module": {"type": "float", "default": 5.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 39, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 30.1, "min": 12.0, "max": 75.2, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329648 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 5.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 39, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 30.1, \"min\": 12.0, \"max\": 75.2, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9ff1_1085", "family": "plate", "tier": 1, "seed": 1177329649, "symmetry": "none", "op_count": 2, "ir_hash": "deb1f7678e27866c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 9400.0, "surface_area": 4970.0, "principal_moments": [525000.0, 4390000.0, 4880000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 75 \u00d7 25.5 \u00d7 5 mm (W\u00d7D\u00d7H).", "Four \u00d83.2 mm holes at the corners, 52.5 \u00d7 17.85 mm spacing."], "text": "Rectangular body, 75 \u00d7 25.5 \u00d7 5 mm (W\u00d7D\u00d7H). Four \u00d83.2 mm holes at the corners, 52.5 \u00d7 17.85 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 75, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 25.5, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 5.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 5.7, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329649 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 75, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 25.5, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 5.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 5.7, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462c9ff2_1086", "family": "threaded", "tier": 2, "seed": 1177329650, "symmetry": "none", "op_count": 1, "ir_hash": "9aeef7ee5825c4d4", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 3040.0, "surface_area": 1950.0, "principal_moments": [46100.0, 285000.0, 285000.0], "n_faces": 190, "n_edges": 484, "n_vertices": 296}, "dimensions": {"lines": ["M12x1.75 external thread, 32.4 mm long."], "text": "M12x1.75 external thread, 32.4 mm long."}, "params": {"major_d": {"type": "float", "default": 12.0, "min": 4.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Major diameter (mm)"}, "pitch": {"type": "float", "default": 1.75, "min": 0.88, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Pitch (mm)"}, "thread_len": {"type": "float", "default": 32.4, "min": 13.0, "max": 64.8, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329650 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 12.0, \"min\": 4.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Major diameter (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.75, \"min\": 0.88, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Pitch (mm)'},\n    \"thread_len\": {\"type\": 'float', \"default\": 32.4, \"min\": 13.0, \"max\": 64.8, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.IsoThread(major_diameter=p[\"major_d\"], pitch=p[\"pitch\"], length=p[\"thread_len\"], external=True, end_finishes=(\"fade\", \"fade\"))\n    _r = _thr.min_radius if hasattr(_thr, 'min_radius') else _thr.root_radius\n    _shank = _bd.Cylinder(radius=_r, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = _shank + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462c9ff3_1087", "family": "bracket", "tier": 1, "seed": 1177329651, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "46dd13226c260013", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 6230.0, "surface_area": 5040.0, "principal_moments": [916000.0, 3630000.0, 4160000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["L-bracket: base leg 65.51 mm, vertical leg 48.7 mm, 19.08 mm wide, 3 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."], "text": "L-bracket: base leg 65.51 mm, vertical leg 48.7 mm, 19.08 mm wide, 3 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 65.51, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 48.7, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 19.08, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 3.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 7.6, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329651 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 65.51, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 48.7, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 19.08, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 7.6, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462c9ff4_1088", "family": "gear", "tier": 0, "seed": 1177329652, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "51bcf85320d25cf1", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 117000.0, "surface_area": 21200.0, "principal_moments": [49799999.99999999, 49799999.99999999, 85200000.0], "n_faces": 92, "n_edges": 270, "n_vertices": 180}, "dimensions": {"lines": ["Spur gear, module 5 mm, 15 teeth (pitch \u00d875 mm), face width 27.2 mm."], "text": "Spur gear, module 5 mm, 15 teeth (pitch \u00d875 mm), face width 27.2 mm."}, "params": {"module": {"type": "float", "default": 5.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 15, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 27.2, "min": 10.9, "max": 68.0, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329652 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 5.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 15, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 27.2, \"min\": 10.9, \"max\": 68.0, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462c9ff5_1089", "family": "flanged", "tier": 1, "seed": 1177329653, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "e701562d94fe639e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 411000.0, "surface_area": 63100.0, "principal_moments": [512000000.0, 671000000.0, 671000000.0], "n_faces": 10, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["Revolved body, \u00d872.97 mm \u00d7 100.1 mm tall with \u00d833.6 mm bore, \u00d8137.2 mm \u00d7 7.7 mm flange.", "Four \u00d83.2 mm holes on a \u00d882.4 mm bolt circle."], "text": "Revolved body, \u00d872.97 mm \u00d7 100.1 mm tall with \u00d833.6 mm bore, \u00d8137.2 mm \u00d7 7.7 mm flange. Four \u00d83.2 mm holes on a \u00d882.4 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 72.97, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 100.1, "min": 30.0, "max": 250.2, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 33.6, "min": 2.0, "max": 51.1, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 137.2, "min": 94.9, "max": 218.9, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 7.7, "min": 2.3, "max": 40.0, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 41.2, "min": 27.4, "max": 61.7, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 4, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329653 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 72.97, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 100.1, \"min\": 30.0, \"max\": 250.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 33.6, \"min\": 2.0, \"max\": 51.1, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 137.2, \"min\": 94.9, \"max\": 218.9, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 7.7, \"min\": 2.3, \"max\": 40.0, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 41.2, \"min\": 27.4, \"max\": 61.7, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 4, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462c9ff6_1090", "family": "revolved", "tier": 1, "seed": 1177329654, "symmetry": "radial", "op_count": 1, "ir_hash": "eb17bfc3b5afe1e2", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 142000.0, "surface_area": 32500.0, "principal_moments": [36600000.0, 315000000.0, 315000000.0], "n_faces": 4, "n_edges": 6, "n_vertices": 4}, "dimensions": {"lines": ["Revolved body, \u00d840.04 mm \u00d7 158.6 mm tall with \u00d821.6 mm bore."], "text": "Revolved body, \u00d840.04 mm \u00d7 158.6 mm tall with \u00d821.6 mm bore."}, "params": {"outer_d": {"type": "float", "default": 40.04, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 158.6, "min": 47.6, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 21.6, "min": 2.0, "max": 28.0, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329654 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 40.04, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 158.6, \"min\": 47.6, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 21.6, \"min\": 2.0, \"max\": 28.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462c9ff7_1091", "family": "gear", "tier": 2, "seed": 1177329655, "symmetry": "none", "op_count": 1, "ir_hash": "899ce7a58118dd36", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 27800.0, "surface_area": 8760.0, "principal_moments": [5360000.0, 5360000.0, 9870000.0], "n_faces": 171, "n_edges": 507, "n_vertices": 338}, "dimensions": {"lines": ["Spur gear, module 2.5 mm, 21 teeth (pitch \u00d852.5 mm), face width 13.5 mm, \u00d88.5 mm bore."], "text": "Spur gear, module 2.5 mm, 21 teeth (pitch \u00d852.5 mm), face width 13.5 mm, \u00d88.5 mm bore."}, "params": {"module": {"type": "float", "default": 2.5, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 21, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 13.5, "min": 5.4, "max": 33.8, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "profile_shift": {"type": "float", "default": -0.06, "min": -0.5, "max": 0.7, "step": 0.05, "group": "Gear", "label": "Profile shift"}, "root_fillet": {"type": "float", "default": 0.58, "min": 0.0, "max": 1.25, "step": 0.05, "group": "Gear", "label": "Root fillet (mm)"}, "bore_d": {"type": "float", "default": 8.5, "min": 2.0, "max": 27.8, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329655 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 2.5, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 21, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 13.5, \"min\": 5.4, \"max\": 33.8, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"profile_shift\": {\"type\": 'float', \"default\": -0.06, \"min\": -0.5, \"max\": 0.7, \"step\": 0.05, \"group\": 'Gear', \"label\": 'Profile shift'},\n    \"root_fillet\": {\"type\": 'float', \"default\": 0.58, \"min\": 0.0, \"max\": 1.25, \"step\": 0.05, \"group\": 'Gear', \"label\": 'Root fillet (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 8.5, \"min\": 2.0, \"max\": 27.8, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"], profile_shift=p[\"profile_shift\"], root_fillet=p[\"root_fillet\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462c9ff8_1092", "family": "plate", "tier": 1, "seed": 1177329656, "symmetry": "none", "op_count": 2, "ir_hash": "9134880f81c0bec0", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 13100.0, "surface_area": 5040.0, "principal_moments": [1370000.0, 2600000.0, 3830000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 48.63 \u00d7 34.8 \u00d7 8 mm (W\u00d7D\u00d7H).", "Four \u00d84.3 mm holes at the corners, 34.041 \u00d7 24.36 mm spacing."], "text": "Rectangular body, 48.63 \u00d7 34.8 \u00d7 8 mm (W\u00d7D\u00d7H). Four \u00d84.3 mm holes at the corners, 34.041 \u00d7 24.36 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 48.63, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 34.8, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 7.8, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329656 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 48.63, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 34.8, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 7.8, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462c9ff9_1093", "family": "swept", "tier": 1, "seed": 1177329657, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "2105f9aed222efb5", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 22400.0, "surface_area": 7040.0, "principal_moments": [6500000.0, 18100000.0, 24099999.999999996], "n_faces": 3, "n_edges": 3, "n_vertices": 2}, "dimensions": {"lines": ["\u00d814.2 mm circular section swept along a curved path, ~94.47 mm span."], "text": "\u00d814.2 mm circular section swept along a curved path, ~94.47 mm span."}, "params": {"path_w": {"type": "float", "default": 60, "min": 30.0, "max": 108.0, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 94.47, "min": 47.2, "max": 170.0, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_d": {"type": "float", "default": 14.2, "min": 7.1, "max": 25.6, "step": 1.0, "group": "Section", "label": "Section diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329657 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 60, \"min\": 30.0, \"max\": 108.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 94.47, \"min\": 47.2, \"max\": 170.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_d\": {\"type\": 'float', \"default\": 14.2, \"min\": 7.1, \"max\": 25.6, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.268), (p[\"path_w\"] * 0.2094, p[\"path_h\"] * 0.2717), (p[\"path_w\"] * 0.4631, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').circle(p[\"sweep_d\"] / 2).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462c9ffa_1094", "family": "block", "tier": 2, "seed": 1177329658, "symmetry": "mirror_xy", "op_count": 3, "ir_hash": "9bc053cbf7358233", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 69700.0, "surface_area": 16600.0, "principal_moments": [19800000.0, 27299999.999999996, 36300000.0], "n_faces": 23, "n_edges": 75, "n_vertices": 50}, "dimensions": {"lines": ["Rectangular body, 58.2 \u00d7 28.5 \u00d7 51.4 mm (W\u00d7D\u00d7H).", "Seven \u00d82.3 mm holes in two staggered rows, 14.6 \u00d7 14.9 mm pitch.", "Pocket 40 \u00d7 15.6 mm, 23.1 mm deep, in top face."], "text": "Rectangular body, 58.2 \u00d7 28.5 \u00d7 51.4 mm (W\u00d7D\u00d7H). Seven \u00d82.3 mm holes in two staggered rows, 14.6 \u00d7 14.9 mm pitch. Pocket 40 \u00d7 15.6 mm, 23.1 mm deep, in top face."}, "params": {"block_w": {"type": "float", "default": 58.2, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 28.5, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 51.4, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 2.3, "min": 2.0, "max": 2.9, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 4, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}, "pocket_w": {"type": "float", "default": 40.0, "min": 20.0, "max": 46.6, "step": 1.0, "group": "Pocket", "label": "Pocket width (mm)"}, "pocket_d": {"type": "float", "default": 15.6, "min": 7.8, "max": 22.8, "step": 1.0, "group": "Pocket", "label": "Pocket depth (mm)"}, "pocket_h": {"type": "float", "default": 23.1, "min": 9.2, "max": 43.7, "step": 0.5, "group": "Pocket", "label": "Pocket height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329658 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 58.2, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 28.5, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 51.4, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 2.3, \"min\": 2.0, \"max\": 2.9, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 4, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n    \"pocket_w\": {\"type\": 'float', \"default\": 40.0, \"min\": 20.0, \"max\": 46.6, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket width (mm)'},\n    \"pocket_d\": {\"type\": 'float', \"default\": 15.6, \"min\": 7.8, \"max\": 22.8, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket depth (mm)'},\n    \"pocket_h\": {\"type\": 'float', \"default\": 23.1, \"min\": 9.2, \"max\": 43.7, \"step\": 0.5, \"group\": 'Pocket', \"label\": 'Pocket height (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 14.6\n    _ssy = 14.9\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"pocket_w\"], p[\"pocket_d\"])\n        .cutBlind(-p[\"pocket_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462c9ffb_1095", "family": "gear", "tier": 2, "seed": 1177329659, "symmetry": "none", "op_count": 1, "ir_hash": "1af890679064672e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 5700.0, "surface_area": 4110.0, "principal_moments": [736000.0, 736000.0, 1460000.0], "n_faces": 195, "n_edges": 579, "n_vertices": 386}, "dimensions": {"lines": ["Helical gear, module 1.25 mm, 32 teeth (pitch \u00d840 mm), face width 3.8 mm, 24.3\u00b0 helix, \u00d87.7 mm bore."], "text": "Helical gear, module 1.25 mm, 32 teeth (pitch \u00d840 mm), face width 3.8 mm, 24.3\u00b0 helix, \u00d87.7 mm bore."}, "params": {"module": {"type": "float", "default": 1.25, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 32, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 3.8, "min": 1.5, "max": 9.5, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "helix_angle": {"type": "float", "default": 24.3, "min": 5.0, "max": 40.0, "step": 1.0, "group": "Gear", "label": "Helix angle (deg)"}, "profile_shift": {"type": "float", "default": 0.25, "min": -0.5, "max": 0.7, "step": 0.05, "group": "Gear", "label": "Profile shift"}, "root_fillet": {"type": "float", "default": 0.21, "min": 0.0, "max": 0.62, "step": 0.05, "group": "Gear", "label": "Root fillet (mm)"}, "bore_d": {"type": "float", "default": 7.7, "min": 2.0, "max": 22.1, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329659 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 1.25, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 32, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 3.8, \"min\": 1.5, \"max\": 9.5, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"helix_angle\": {\"type\": 'float', \"default\": 24.3, \"min\": 5.0, \"max\": 40.0, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Helix angle (deg)'},\n    \"profile_shift\": {\"type\": 'float', \"default\": 0.25, \"min\": -0.5, \"max\": 0.7, \"step\": 0.05, \"group\": 'Gear', \"label\": 'Profile shift'},\n    \"root_fillet\": {\"type\": 'float', \"default\": 0.21, \"min\": 0.0, \"max\": 0.62, \"step\": 0.05, \"group\": 'Gear', \"label\": 'Root fillet (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 7.7, \"min\": 2.0, \"max\": 22.1, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.HelicalGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"], helix_angle=math.radians(p[\"helix_angle\"]), herringbone=False, profile_shift=p[\"profile_shift\"], root_fillet=p[\"root_fillet\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462c9ffc_1096", "family": "swept", "tier": 2, "seed": 1177329660, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "3cc98e10dd488137", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 2890.0, "surface_area": 1980.0, "principal_moments": [133000.0, 1970000.0, 2090000.0], "n_faces": 3, "n_edges": 3, "n_vertices": 2}, "dimensions": {"lines": ["\u00d86.3 mm circular section swept along a curved path, ~63.05 mm span."], "text": "\u00d86.3 mm circular section swept along a curved path, ~63.05 mm span."}, "params": {"path_w": {"type": "float", "default": 60, "min": 30.0, "max": 108.0, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 63.05, "min": 31.5, "max": 113.5, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_d": {"type": "float", "default": 6.3, "min": 3.1, "max": 11.3, "step": 1.0, "group": "Section", "label": "Section diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329660 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 60, \"min\": 30.0, \"max\": 108.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 63.05, \"min\": 31.5, \"max\": 113.5, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_d\": {\"type\": 'float', \"default\": 6.3, \"min\": 3.1, \"max\": 11.3, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.2743, p[\"path_h\"] * 0.2378), (p[\"path_w\"] * 0.636, p[\"path_h\"] * 0.3149), (p[\"path_w\"] * 1.0, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').circle(p[\"sweep_d\"] / 2).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462c9ffd_1097", "family": "tapped", "tier": 3, "seed": 1177329661, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "f761b2d92f270327", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 70700.0, "surface_area": 16400.0, "principal_moments": [23499999.999999996, 28499999.999999996, 47699999.99999999], "n_faces": 506, "n_edges": 1424, "n_vertices": 920}, "dimensions": {"lines": ["Four M12x1.75 tapped holes in a plate."], "text": "Four M12x1.75 tapped holes in a plate."}, "params": {"major_d": {"type": "float", "default": 12.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 1.75, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 19.2, "min": 14.4, "max": 34.6, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "plate_w": {"type": "float", "default": 67.22, "min": 40.3, "max": 107.6, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 60.5, "min": 36.3, "max": 96.8, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329661 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 12.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.75, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 19.2, \"min\": 14.4, \"max\": 34.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"plate_w\": {\"type\": 'float', \"default\": 67.22, \"min\": 40.3, \"max\": 107.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 60.5, \"min\": 36.3, \"max\": 96.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n}\n\n\ndef build(p):\n\n    _W, _D, _H = p[\"plate_w\"], p[\"plate_d\"], p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Box(_W, _D, _H)\n    _sx, _sy = p[\"plate_w\"] * 0.6, p[\"plate_d\"] * 0.6\n    _locs = [(_xx, _yy) for _xx in (-_sx / 2, _sx / 2) for _yy in (-_sy / 2, _sy / 2)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462c9ffe_1098", "family": "bracket", "tier": 3, "seed": 1177329662, "symmetry": "none", "op_count": 1, "ir_hash": "9457a271d9ab92ee", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 17500.0, "surface_area": 12700.0, "principal_moments": [8330000.0, 22400000.0, 29099999.999999996], "n_faces": 19, "n_edges": 51, "n_vertices": 34}, "dimensions": {"lines": ["C-channel bracket: base leg 85 mm, vertical leg 66 mm, 25 mm wide, 3 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 4.3 mm corner gusset."], "text": "C-channel bracket: base leg 85 mm, vertical leg 66 mm, 25 mm wide, 3 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 4.3 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 85, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 66.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 25, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 3.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 4.3, "min": 1.5, "max": 9.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329662 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 85, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 66.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 25, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 4.3, \"min\": 1.5, \"max\": 9.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl / 2, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bl - _bt, _bt).lineTo(_bl - _bt - _g, _bt)\n                    .lineTo(_bl - _bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462c9fff_1099", "family": "block", "tier": 2, "seed": 1177329663, "symmetry": "radial", "op_count": 3, "ir_hash": "2dafd6b9b5f63641", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 80300.0, "surface_area": 18700.0, "principal_moments": [25699999.999999996, 27199999.999999996, 41200000.0], "n_faces": 24, "n_edges": 66, "n_vertices": 44}, "dimensions": {"lines": ["Rectangular body, 55.41 \u00d7 30.5 \u00d7 54.5 mm (W\u00d7D\u00d7H).", "Eight \u00d86.4 mm holes on a \u00d833.2 mm bolt circle.", "Fillet radius 2.884 mm on vertical edges."], "text": "Rectangular body, 55.41 \u00d7 30.5 \u00d7 54.5 mm (W\u00d7D\u00d7H). Eight \u00d86.4 mm holes on a \u00d833.2 mm bolt circle. Fillet radius 2.884 mm on vertical edges."}, "params": {"block_w": {"type": "float", "default": 55.41, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 30.5, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 54.5, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "bolt_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 16.6, "min": 11.1, "max": 24.9, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 8, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329663 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 55.41, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 30.5, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 54.5, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 16.6, \"min\": 11.1, \"max\": 24.9, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"block_w\"], p[\"block_d\"]) * 0.09455180527857598)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462ca000_1100", "family": "sketched", "tier": 0, "seed": 1177329664, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "130d1065c63b9344", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 57500.0, "surface_area": 9020.0, "principal_moments": [11799999.999999998, 15899999.999999998, 21700000.0], "n_faces": 12, "n_edges": 27, "n_vertices": 17}, "dimensions": {"lines": ["freeform sketched section (7 segments: 6 arcs, 1 curve), ~66.716 \u00d7 51.954 mm, extruded 25.12 mm thick with a 4.9\u00b0 draft."], "text": "freeform sketched section (7 segments: 6 arcs, 1 curve), ~66.716 \u00d7 51.954 mm, extruded 25.12 mm thick with a 4.9\u00b0 draft."}, "params": {"sk_w": {"type": "float", "default": 78.61, "min": 39.3, "max": 141.5, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 60, "min": 30.0, "max": 108.0, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "sk_t": {"type": "float", "default": 25.12, "min": 10.0, "max": 55.3, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "sk_draft": {"type": "float", "default": 4.9, "min": 0.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Draft angle (deg)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329664 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 78.61, \"min\": 39.3, \"max\": 141.5, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 60, \"min\": 30.0, \"max\": 108.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"sk_t\": {\"type\": 'float', \"default\": 25.12, \"min\": 10.0, \"max\": 55.3, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"sk_draft\": {\"type\": 'float', \"default\": 4.9, \"min\": 0.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Draft angle (deg)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.4468, p[\"sk_h\"] * 0.0984).threePointArc((p[\"sk_w\"] * 0.3924, p[\"sk_h\"] * 0.245), (p[\"sk_w\"] * 0.2535, p[\"sk_h\"] * 0.3389)).threePointArc((p[\"sk_w\"] * 0.1435, p[\"sk_h\"] * 0.4146), (p[\"sk_w\"] * 0.0097, p[\"sk_h\"] * 0.4189)).threePointArc((p[\"sk_w\"] * -0.2261, p[\"sk_h\"] * 0.2717), (p[\"sk_w\"] * -0.4019, p[\"sk_h\"] * 0.0553)).threePointArc((p[\"sk_w\"] * -0.3826, p[\"sk_h\"] * -0.0213), (p[\"sk_w\"] * -0.3175, p[\"sk_h\"] * -0.095)).threePointArc((p[\"sk_w\"] * -0.2465, p[\"sk_h\"] * -0.2352), (p[\"sk_w\"] * -0.1411, p[\"sk_h\"] * -0.3429)).threePointArc((p[\"sk_w\"] * 0.0298, p[\"sk_h\"] * -0.4553), (p[\"sk_w\"] * 0.1945, p[\"sk_h\"] * -0.447)).spline([(p[\"sk_w\"] * 0.1945, p[\"sk_h\"] * -0.447), (p[\"sk_w\"] * 0.3707, p[\"sk_h\"] * -0.1974), (p[\"sk_w\"] * 0.4468, p[\"sk_h\"] * 0.0984)]).close().extrude(p[\"sk_t\"], taper=p[\"sk_draft\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca001_1101", "family": "compound", "tier": 1, "seed": 1177329665, "symmetry": "mirror_xy", "op_count": 3, "ir_hash": "f03314e2aa8eafaa", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 37100.0, "surface_area": 17000.0, "principal_moments": [18100000.0, 21400000.0, 24399999.999999996], "n_faces": 18, "n_edges": 45, "n_vertices": 30}, "dimensions": {"lines": ["Rectangular body, 78.83 \u00d7 68.5 \u00d7 5 mm (W\u00d7D\u00d7H).", "6-sided polygon section, 21.8 mm across corners attachment, 47.9 mm long, from top face with a \u00d89.9 mm bore.", "Four \u00d86.4 mm holes at the corners, 55.181 \u00d7 47.95 mm spacing."], "text": "Rectangular body, 78.83 \u00d7 68.5 \u00d7 5 mm (W\u00d7D\u00d7H). 6-sided polygon section, 21.8 mm across corners attachment, 47.9 mm long, from top face with a \u00d89.9 mm bore. Four \u00d86.4 mm holes at the corners, 55.181 \u00d7 47.95 mm spacing."}, "params": {"base_w": {"type": "float", "default": 78.83, "min": 30.0, "max": 160.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 68.5, "min": 25.0, "max": 160.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_h": {"type": "float", "default": 5.0, "min": 3.0, "max": 30.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "col_sides": {"type": "int", "default": 6, "min": 3, "max": 8, "step": 1, "group": "Column", "label": "Column sides"}, "col_r": {"type": "float", "default": 10.9, "min": 5.5, "max": 17.1, "step": 1.0, "group": "Column", "label": "Column circumradius (mm)"}, "col_h": {"type": "float", "default": 47.9, "min": 14.4, "max": 143.7, "step": 1.0, "group": "Column", "label": "Column height (mm)"}, "col_bore": {"type": "float", "default": 9.9, "min": 2.0, "max": 13.6, "step": 0.5, "group": "Column", "label": "Column bore diameter (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329665 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 78.83, \"min\": 30.0, \"max\": 160.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 68.5, \"min\": 25.0, \"max\": 160.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_h\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 30.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"col_sides\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Column', \"label\": 'Column sides'},\n    \"col_r\": {\"type\": 'float', \"default\": 10.9, \"min\": 5.5, \"max\": 17.1, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column circumradius (mm)'},\n    \"col_h\": {\"type\": 'float', \"default\": 47.9, \"min\": 14.4, \"max\": 143.7, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column height (mm)'},\n    \"col_bore\": {\"type\": 'float', \"default\": 9.9, \"min\": 2.0, \"max\": 13.6, \"step\": 0.5, \"group\": 'Column', \"label\": 'Column bore diameter (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_h\"])\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"col_sides\"], p[\"col_r\"] * 2).extrude(p[\"col_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"col_bore\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"base_w\"] * 0.7, p[\"base_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca002_1102", "family": "revolved", "tier": 1, "seed": 1177329666, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "72241c5c61212358", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 63100.0, "surface_area": 15800.0, "principal_moments": [12799999.999999998, 52499999.99999999, 52499999.99999999], "n_faces": 6, "n_edges": 9, "n_vertices": 6}, "dimensions": {"lines": ["Revolved body, \u00d826.78 mm \u00d7 91.3 mm tall with \u00d813 mm bore, \u00d845.9 mm \u00d7 21.8 mm flange."], "text": "Revolved body, \u00d826.78 mm \u00d7 91.3 mm tall with \u00d813 mm bore, \u00d845.9 mm \u00d7 21.8 mm flange."}, "params": {"outer_d": {"type": "float", "default": 26.78, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 91.3, "min": 27.4, "max": 273.9, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 13.0, "min": 2.0, "max": 18.7, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 45.9, "min": 32.1, "max": 80.3, "step": 1.0, "group": "Body", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 21.8, "min": 6.5, "max": 45.6, "step": 0.5, "group": "Body", "label": "Flange height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329666 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 26.78, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 91.3, \"min\": 27.4, \"max\": 273.9, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 13.0, \"min\": 2.0, \"max\": 18.7, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 45.9, \"min\": 32.1, \"max\": 80.3, \"step\": 1.0, \"group\": 'Body', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 21.8, \"min\": 6.5, \"max\": 45.6, \"step\": 0.5, \"group\": 'Body', \"label\": 'Flange height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca003_1103", "family": "revolved", "tier": 2, "seed": 1177329667, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "98a309293f122aad", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 122000.0, "surface_area": 21500.0, "principal_moments": [61999999.99999999, 61999999.99999999, 69400000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d861.59 mm \u00d7 61.4 mm tall."], "text": "Revolved body, \u00d861.59 mm \u00d7 61.4 mm tall."}, "params": {"outer_d": {"type": "float", "default": 61.59, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 61.4, "min": 18.4, "max": 184.2, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329667 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 61.59, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 61.4, \"min\": 18.4, \"max\": 184.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca004_1104", "family": "compound", "tier": 2, "seed": 1177329668, "symmetry": "none", "op_count": 4, "ir_hash": "c9c9c0723b33ff36", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 77800.0, "surface_area": 20500.0, "principal_moments": [39000000.0, 67400000.0, 81400000.0], "n_faces": 16, "n_edges": 39, "n_vertices": 26}, "dimensions": {"lines": ["Rectangular body, 100 \u00d7 69.3 \u00d7 10 mm (W\u00d7D\u00d7H).", "\u00d816.1 mm circular section attachment, 53.3 mm long, from top face.", "Four \u00d88.4 mm holes at the corners, 70 \u00d7 48.51 mm spacing.", "Fillet radius 3.457 mm on vertical edges."], "text": "Rectangular body, 100 \u00d7 69.3 \u00d7 10 mm (W\u00d7D\u00d7H). \u00d816.1 mm circular section attachment, 53.3 mm long, from top face. Four \u00d88.4 mm holes at the corners, 70 \u00d7 48.51 mm spacing. Fillet radius 3.457 mm on vertical edges."}, "params": {"base_w": {"type": "float", "default": 100, "min": 30.0, "max": 160.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 69.3, "min": 25.0, "max": 160.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_h": {"type": "float", "default": 10.0, "min": 3.0, "max": 30.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "col_d": {"type": "float", "default": 16.1, "min": 6.4, "max": 34.6, "step": 1.0, "group": "Column", "label": "Column diameter (mm)"}, "col_h": {"type": "float", "default": 53.3, "min": 16.0, "max": 159.9, "step": 1.0, "group": "Column", "label": "Column height (mm)"}, "hole_d": {"type": "float", "default": 8.4, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329668 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 100, \"min\": 30.0, \"max\": 160.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 69.3, \"min\": 25.0, \"max\": 160.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_h\": {\"type\": 'float', \"default\": 10.0, \"min\": 3.0, \"max\": 30.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"col_d\": {\"type\": 'float', \"default\": 16.1, \"min\": 6.4, \"max\": 34.6, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column diameter (mm)'},\n    \"col_h\": {\"type\": 'float', \"default\": 53.3, \"min\": 16.0, \"max\": 159.9, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_h\"])\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"col_d\"] / 2).extrude(p[\"col_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"base_w\"] * 0.7, p[\"base_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"base_w\"], p[\"base_d\"]) * 0.04988621837038362)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca005_1105", "family": "revolved", "tier": 1, "seed": 1177329669, "symmetry": "radial", "op_count": 1, "ir_hash": "c4cd37b92b835519", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 474000.0, "surface_area": 59500.0, "principal_moments": [766000000.0, 776000000.0, 776000000.0], "n_faces": 6, "n_edges": 9, "n_vertices": 6}, "dimensions": {"lines": ["Revolved body, \u00d860.39 mm \u00d7 103.8 mm tall with \u00d830.8 mm bore, \u00d8128.4 mm \u00d7 25.2 mm flange."], "text": "Revolved body, \u00d860.39 mm \u00d7 103.8 mm tall with \u00d830.8 mm bore, \u00d8128.4 mm \u00d7 25.2 mm flange."}, "params": {"outer_d": {"type": "float", "default": 60.39, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 103.8, "min": 31.1, "max": 311.4, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 30.8, "min": 2.0, "max": 42.3, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 128.4, "min": 72.5, "max": 181.2, "step": 1.0, "group": "Body", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 25.2, "min": 7.6, "max": 51.9, "step": 0.5, "group": "Body", "label": "Flange height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329669 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 60.39, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 103.8, \"min\": 31.1, \"max\": 311.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 30.8, \"min\": 2.0, \"max\": 42.3, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 128.4, \"min\": 72.5, \"max\": 181.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 25.2, \"min\": 7.6, \"max\": 51.9, \"step\": 0.5, \"group\": 'Body', \"label\": 'Flange height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca006_1106", "family": "block", "tier": 3, "seed": 1177329670, "symmetry": "none", "op_count": 5, "ir_hash": "9e4dbbf1f081a781", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 161000.0, "surface_area": 21200.0, "principal_moments": [50399999.99999999, 123000000.0, 130000000.0], "n_faces": 16, "n_edges": 42, "n_vertices": 28}, "dimensions": {"lines": ["Rectangular body, 87.73 \u00d7 40.4 \u00d7 46.5 mm (W\u00d7D\u00d7H).", "Four \u00d84.3 mm holes at the corners, 61.411 \u00d7 28.28 mm spacing.", "Fillet radius 4.072 mm on vertical edges.", "Fillet radius 2.497 mm on vertical edges (optional, off by default).", "One \u00d84.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch on the <X face."], "text": "Rectangular body, 87.73 \u00d7 40.4 \u00d7 46.5 mm (W\u00d7D\u00d7H). Four \u00d84.3 mm holes at the corners, 61.411 \u00d7 28.28 mm spacing. Fillet radius 4.072 mm on vertical edges. Fillet radius 2.497 mm on vertical edges (optional, off by default). One \u00d84.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch on the <X face."}, "params": {"block_w": {"type": "float", "default": 87.73, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 40.4, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 46.5, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 9.1, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}, "filleted2": {"type": "bool", "default": false, "group": "Body", "label": "Fillet corners"}, "face_hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 7.7, "step": 0.5, "group": "Holes", "label": "Side hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329670 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 87.73, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 40.4, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 46.5, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 9.1, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n    \"filleted2\": {\"type\": 'bool', \"default\": False, \"group\": 'Body', \"label\": 'Fillet corners'},\n    \"face_hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 7.7, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Side hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"block_w\"], p[\"block_d\"]) * 0.10079156925477666)\n    if p[\"filleted2\"]:\n        result = result.edges('|Z').fillet(min(p[\"block_w\"], p[\"block_d\"]) * 0.061800210237199754)\n    result = (\n        result.faces('<X').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"face_hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca007_1107", "family": "bracket", "tier": 1, "seed": 1177329671, "symmetry": "none", "op_count": 1, "ir_hash": "38e51086db6b1c62", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 17400.0, "surface_area": 12800.0, "principal_moments": [4590000.0, 13999999.999999998, 15299999.999999998], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Z-bracket: base leg 50 mm, vertical leg 54.1 mm, top leg 31.8 mm, 45 mm wide, 3 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."], "text": "Z-bracket: base leg 50 mm, vertical leg 54.1 mm, top leg 31.8 mm, 45 mm wide, 3 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 50, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 54.1, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 45, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 3.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 31.8, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329671 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 50, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 54.1, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 45, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 31.8, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462ca008_1108", "family": "swept", "tier": 1, "seed": 1177329672, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "614fcdb7bf650c9f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 6510.0, "surface_area": 2280.0, "principal_moments": [139000.0, 1400000.0, 1400000.0], "n_faces": 3, "n_edges": 3, "n_vertices": 2}, "dimensions": {"lines": ["\u00d813 mm circular section swept along a curved path, ~50 mm span."], "text": "\u00d813 mm circular section swept along a curved path, ~50 mm span."}, "params": {"path_w": {"type": "float", "default": 50, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 49.05, "min": 24.5, "max": 88.3, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_d": {"type": "float", "default": 13.0, "min": 6.5, "max": 23.4, "step": 1.0, "group": "Section", "label": "Section diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329672 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 50, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 49.05, \"min\": 24.5, \"max\": 88.3, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_d\": {\"type\": 'float', \"default\": 13.0, \"min\": 6.5, \"max\": 23.4, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.4193), (p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.7804), (p[\"path_w\"] * 0.0702, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').circle(p[\"sweep_d\"] / 2).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca009_1109", "family": "revolved", "tier": 2, "seed": 1177329673, "symmetry": "none", "op_count": 1, "ir_hash": "bce5ce921fed4188", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 553000.0, "surface_area": 64900.0, "principal_moments": [861000000.0, 861000000.0, 1080000000.0], "n_faces": 6, "n_edges": 9, "n_vertices": 6}, "dimensions": {"lines": ["Revolved body, \u00d875 mm \u00d7 80.7 mm tall with \u00d823.3 mm bore, \u00d8153 mm \u00d7 16.5 mm flange."], "text": "Revolved body, \u00d875 mm \u00d7 80.7 mm tall with \u00d823.3 mm bore, \u00d8153 mm \u00d7 16.5 mm flange."}, "params": {"outer_d": {"type": "float", "default": 75, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 80.7, "min": 24.2, "max": 242.1, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 23.3, "min": 2.0, "max": 52.5, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 153.0, "min": 90.0, "max": 225.0, "step": 1.0, "group": "Body", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 16.5, "min": 5.0, "max": 40.4, "step": 0.5, "group": "Body", "label": "Flange height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329673 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 75, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 80.7, \"min\": 24.2, \"max\": 242.1, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 23.3, \"min\": 2.0, \"max\": 52.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 153.0, \"min\": 90.0, \"max\": 225.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 16.5, \"min\": 5.0, \"max\": 40.4, \"step\": 0.5, \"group\": 'Body', \"label\": 'Flange height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462ca00a_1110", "family": "flanged", "tier": 1, "seed": 1177329674, "symmetry": "none", "op_count": 2, "ir_hash": "074299e4f1e173b4", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 21600.0, "surface_area": 10400.0, "principal_moments": [5350000.0, 5410000.0, 5410000.0], "n_faces": 12, "n_edges": 27, "n_vertices": 18}, "dimensions": {"lines": ["Revolved body, \u00d826.68 mm \u00d7 35.1 mm tall with \u00d812.9 mm bore, \u00d861.3 mm \u00d7 2.8 mm flange.", "Six \u00d83.2 mm holes on a \u00d836.8 mm bolt circle."], "text": "Revolved body, \u00d826.68 mm \u00d7 35.1 mm tall with \u00d812.9 mm bore, \u00d861.3 mm \u00d7 2.8 mm flange. Six \u00d83.2 mm holes on a \u00d836.8 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 26.68, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 35.1, "min": 10.5, "max": 87.8, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 12.9, "min": 2.0, "max": 18.7, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 61.3, "min": 34.7, "max": 80.0, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 2.8, "min": 0.8, "max": 14.0, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 18.4, "min": 12.3, "max": 27.6, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 6, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329674 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 26.68, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 35.1, \"min\": 10.5, \"max\": 87.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 12.9, \"min\": 2.0, \"max\": 18.7, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 61.3, \"min\": 34.7, \"max\": 80.0, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 2.8, \"min\": 0.8, \"max\": 14.0, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 18.4, \"min\": 12.3, \"max\": 27.6, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca00c_1112", "family": "block", "tier": 1, "seed": 1177329676, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "e2de0c88df09a586", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 10100.0, "surface_area": 4600.0, "principal_moments": [585000.0, 1160000.0, 1270000.0], "n_faces": 15, "n_edges": 39, "n_vertices": 26}, "dimensions": {"lines": ["Rectangular body, 20 \u00d7 16.4 \u00d7 33 mm (W\u00d7D\u00d7H).", "Nine \u00d81.7 mm holes in two staggered rows, 3.8 \u00d7 3.4 mm pitch."], "text": "Rectangular body, 20 \u00d7 16.4 \u00d7 33 mm (W\u00d7D\u00d7H). Nine \u00d81.7 mm holes in two staggered rows, 3.8 \u00d7 3.4 mm pitch."}, "params": {"block_w": {"type": "float", "default": 20, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 16.4, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 33.0, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 1.7, "min": 2.0, "max": 1.6, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 5, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329676 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 20, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 16.4, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 33.0, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 1.7, \"min\": 2.0, \"max\": 1.6, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 5, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 3.8\n    _ssy = 3.4\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca00d_1113", "family": "block", "tier": 1, "seed": 1177329677, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "e90eca5d7d5a3979", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 34200.0, "surface_area": 9360.0, "principal_moments": [4380000.0, 9600000.0, 11999999.999999998], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 35 \u00d7 18.7 \u00d7 55 mm (W\u00d7D\u00d7H).", "Four \u00d83.2 mm holes at the corners, 24.5 \u00d7 13.09 mm spacing."], "text": "Rectangular body, 35 \u00d7 18.7 \u00d7 55 mm (W\u00d7D\u00d7H). Four \u00d83.2 mm holes at the corners, 24.5 \u00d7 13.09 mm spacing."}, "params": {"block_w": {"type": "float", "default": 35, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 18.7, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 55.0, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 4.2, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329677 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 35, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 18.7, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 55.0, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 4.2, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462ca00e_1114", "family": "sketched", "tier": 1, "seed": 1177329678, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "8ac447b16c5b4cc2", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 11800.0, "surface_area": 3330.0, "principal_moments": [533000.0, 2230000.0, 2230000.0], "n_faces": 7, "n_edges": 11, "n_vertices": 6}, "dimensions": {"lines": ["Revolved organic body from a freeform sketched section (7 segments: 4 straight, 1 arc, 2 curves), ~12.104 \u00d7 55.96 mm half-silhouette."], "text": "Revolved organic body from a freeform sketched section (7 segments: 4 straight, 1 arc, 2 curves), ~12.104 \u00d7 55.96 mm half-silhouette."}, "params": {"sk_r": {"type": "float", "default": 15.65, "min": 7.8, "max": 28.2, "step": 1.0, "group": "Sketch", "label": "Max radius (mm)"}, "sk_h": {"type": "float", "default": 55.96, "min": 28.0, "max": 100.7, "step": 1.0, "group": "Sketch", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329678 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_r\": {\"type\": 'float', \"default\": 15.65, \"min\": 7.8, \"max\": 28.2, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Max radius (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 55.96, \"min\": 28.0, \"max\": 100.7, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XZ').moveTo(p[\"sk_r\"] * 0.5514, p[\"sk_h\"] * 0.0).bezier([(p[\"sk_r\"] * 0.5514, p[\"sk_h\"] * 0.0), (p[\"sk_r\"] * 0.4592, p[\"sk_h\"] * 0.1345), (p[\"sk_r\"] * 0.5446, p[\"sk_h\"] * 0.2689)]).spline([(p[\"sk_r\"] * 0.5446, p[\"sk_h\"] * 0.2689), (p[\"sk_r\"] * 0.6088, p[\"sk_h\"] * 0.4002), (p[\"sk_r\"] * 0.7324, p[\"sk_h\"] * 0.5316)]).lineTo(p[\"sk_r\"] * 0.7734, p[\"sk_h\"] * 0.6155).threePointArc((p[\"sk_r\"] * 0.6014, p[\"sk_h\"] * 0.6573), (p[\"sk_r\"] * 0.2107, p[\"sk_h\"] * 0.699)).lineTo(p[\"sk_r\"] * 0.3428, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.0, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.0, p[\"sk_h\"] * 0.0).close().revolve())\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca00f_1115", "family": "plate", "tier": 2, "seed": 1177329679, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "98ea14d0fdfbf1bb", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 25900.0, "surface_area": 9470.0, "principal_moments": [2810000.0, 19600000.0, 22100000.0], "n_faces": 22, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 96.4 \u00d7 35.7 \u00d7 8 mm (W\u00d7D\u00d7H).", "Four 10.7 \u00d7 5.3 mm slots at the corners, 67.48 \u00d7 24.99 mm spacing."], "text": "Rectangular body, 96.4 \u00d7 35.7 \u00d7 8 mm (W\u00d7D\u00d7H). Four 10.7 \u00d7 5.3 mm slots at the corners, 67.48 \u00d7 24.99 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 96.4, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 35.7, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 8.0, "step": 0.5, "group": "Holes", "label": "Slot width (mm)"}, "hole_slot_len": {"type": "float", "default": 10.7, "min": 7.9, "max": 10.7, "step": 0.5, "group": "Holes", "label": "Slot length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329679 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 96.4, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 35.7, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Slot width (mm)'},\n    \"hole_slot_len\": {\"type\": 'float', \"default\": 10.7, \"min\": 7.9, \"max\": 10.7, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Slot length (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().slot2D(p[\"hole_slot_len\"], p[\"hole_d\"]).cutThruAll()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca010_1116", "family": "compound", "tier": 1, "seed": 1177329680, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "9ed3f29a008e6955", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 10700.0, "surface_area": 3180.0, "principal_moments": [839000.0, 1030000.0, 1030000.0], "n_faces": 10, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["6-sided polygon section, 31.42 mm across corners, extruded 10.5 mm thick.", "\u00d817.3 mm circular section attachment, 16.7 mm long, from top face."], "text": "6-sided polygon section, 31.42 mm across corners, extruded 10.5 mm thick. \u00d817.3 mm circular section attachment, 16.7 mm long, from top face."}, "params": {"base_sides": {"type": "int", "default": 6, "min": 3, "max": 8, "step": 1, "group": "Base", "label": "Base sides"}, "base_r": {"type": "float", "default": 15.71, "min": 9.4, "max": 25.1, "step": 1.0, "group": "Base", "label": "Base circumradius (mm)"}, "base_h": {"type": "float", "default": 10.5, "min": 4.2, "max": 26.2, "step": 1.0, "group": "Base", "label": "Base height (mm)"}, "col_d": {"type": "float", "default": 17.3, "min": 8.7, "max": 21.8, "step": 1.0, "group": "Column", "label": "Column diameter (mm)"}, "col_h": {"type": "float", "default": 16.7, "min": 5.0, "max": 41.8, "step": 1.0, "group": "Column", "label": "Column height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329680 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_sides\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Base', \"label\": 'Base sides'},\n    \"base_r\": {\"type\": 'float', \"default\": 15.71, \"min\": 9.4, \"max\": 25.1, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base circumradius (mm)'},\n    \"base_h\": {\"type\": 'float', \"default\": 10.5, \"min\": 4.2, \"max\": 26.2, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base height (mm)'},\n    \"col_d\": {\"type\": 'float', \"default\": 17.3, \"min\": 8.7, \"max\": 21.8, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column diameter (mm)'},\n    \"col_h\": {\"type\": 'float', \"default\": 16.7, \"min\": 5.0, \"max\": 41.8, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').polygon(p[\"base_sides\"], p[\"base_r\"] * 2).extrude(p[\"base_h\"]))\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"col_d\"] / 2).extrude(p[\"col_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca011_1117", "family": "plate", "tier": 2, "seed": 1177329681, "symmetry": "none", "op_count": 2, "ir_hash": "5addd7b2ed0e7103", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 3880.0, "surface_area": 2100.0, "principal_moments": [78600.0, 395000.0, 409000.0], "n_faces": 22, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 34.11 \u00d7 12.2 \u00d7 10 mm (W\u00d7D\u00d7H).", "Four 3.7 \u00d7 2.2 mm slots at the corners, 23.877 \u00d7 8.54 mm spacing."], "text": "Rectangular body, 34.11 \u00d7 12.2 \u00d7 10 mm (W\u00d7D\u00d7H). Four 3.7 \u00d7 2.2 mm slots at the corners, 23.877 \u00d7 8.54 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 34.11, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 12.2, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 2.2, "min": 2.0, "max": 2.7, "step": 0.5, "group": "Holes", "label": "Slot width (mm)"}, "hole_slot_len": {"type": "float", "default": 3.7, "min": 3.3, "max": 3.7, "step": 0.5, "group": "Holes", "label": "Slot length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329681 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 34.11, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 12.2, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 2.2, \"min\": 2.0, \"max\": 2.7, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Slot width (mm)'},\n    \"hole_slot_len\": {\"type\": 'float', \"default\": 3.7, \"min\": 3.3, \"max\": 3.7, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Slot length (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().slot2D(p[\"hole_slot_len\"], p[\"hole_d\"]).cutThruAll()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462ca012_1118", "family": "swept", "tier": 0, "seed": 1177329682, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "37b48239715d8107", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 11700.0, "surface_area": 5400.0, "principal_moments": [2020000.0, 9970000.0, 11899999.999999998], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["13.3 \u00d7 6.9 mm rectangular section swept along a curved path, ~87.93 mm span."], "text": "13.3 \u00d7 6.9 mm rectangular section swept along a curved path, ~87.93 mm span."}, "params": {"path_w": {"type": "float", "default": 65, "min": 32.5, "max": 117.0, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 87.93, "min": 44.0, "max": 158.3, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_a": {"type": "float", "default": 13.3, "min": 6.7, "max": 23.9, "step": 1.0, "group": "Section", "label": "Section width (mm)"}, "sweep_b": {"type": "float", "default": 6.9, "min": 3.5, "max": 12.4, "step": 1.0, "group": "Section", "label": "Section depth (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329682 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 65, \"min\": 32.5, \"max\": 117.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 87.93, \"min\": 44.0, \"max\": 158.3, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_a\": {\"type\": 'float', \"default\": 13.3, \"min\": 6.7, \"max\": 23.9, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section width (mm)'},\n    \"sweep_b\": {\"type\": 'float', \"default\": 6.9, \"min\": 3.5, \"max\": 12.4, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section depth (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.3962, p[\"path_h\"] * 0.2567), (p[\"path_w\"] * 0.7821, p[\"path_h\"] * 0.3426), (p[\"path_w\"] * 0.617, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').rect(p[\"sweep_a\"], p[\"sweep_b\"]).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca013_1119", "family": "bracket", "tier": 1, "seed": 1177329683, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "6a0a4d1d74dac483", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 12700.0, "surface_area": 6520.0, "principal_moments": [2290000.0, 2870000.0, 2880000.0], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["C-channel bracket: base leg 30.87 mm, vertical leg 30.4 mm, 32.3 mm wide, 5 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."], "text": "C-channel bracket: base leg 30.87 mm, vertical leg 30.4 mm, 32.3 mm wide, 5 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 30.87, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 30.4, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 32.3, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 5.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329683 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 30.87, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 30.4, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 32.3, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca014_1120", "family": "compound", "tier": 1, "seed": 1177329684, "symmetry": "mirror_xy", "op_count": 3, "ir_hash": "4fdd6eb5df2f085e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 96900.0, "surface_area": 13800.0, "principal_moments": [32399999.999999996, 33099999.999999996, 48399999.99999999], "n_faces": 13, "n_edges": 26, "n_vertices": 17}, "dimensions": {"lines": ["Rectangular body, 55 \u00d7 54.3 \u00d7 32.5 mm (W\u00d7D\u00d7H).", "\u00d86.1 mm circular section attachment, 4 mm long, from right face with a \u00d82.9 mm bore.", "\u00d86.1 mm circular section attachment, 4 mm long, from left face with a \u00d82.9 mm bore."], "text": "Rectangular body, 55 \u00d7 54.3 \u00d7 32.5 mm (W\u00d7D\u00d7H). \u00d86.1 mm circular section attachment, 4 mm long, from right face with a \u00d82.9 mm bore. \u00d86.1 mm circular section attachment, 4 mm long, from left face with a \u00d82.9 mm bore."}, "params": {"block_w": {"type": "float", "default": 55, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body width (mm)"}, "block_d": {"type": "float", "default": 54.3, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body depth (mm)"}, "block_h": {"type": "float", "default": 32.5, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body height (mm)"}, "port_d": {"type": "float", "default": 6.1, "min": 2.4, "max": 14.6, "step": 1.0, "group": "Ports", "label": "Ports diameter (mm)"}, "port_len": {"type": "float", "default": 4.0, "min": 1.5, "max": 18.3, "step": 1.0, "group": "Ports", "label": "Port boss length (mm)"}, "port_bore": {"type": "float", "default": 2.9, "min": 2.0, "max": 4.4, "step": 0.5, "group": "Ports", "label": "Port bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329684 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 55, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 54.3, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 32.5, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body height (mm)'},\n    \"port_d\": {\"type\": 'float', \"default\": 6.1, \"min\": 2.4, \"max\": 14.6, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Ports diameter (mm)'},\n    \"port_len\": {\"type\": 'float', \"default\": 4.0, \"min\": 1.5, \"max\": 18.3, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Port boss length (mm)'},\n    \"port_bore\": {\"type\": 'float', \"default\": 2.9, \"min\": 2.0, \"max\": 4.4, \"step\": 0.5, \"group\": 'Ports', \"label\": 'Port bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462ca015_1121", "family": "swept", "tier": 1, "seed": 1177329685, "symmetry": "none", "op_count": 1, "ir_hash": "e6cbbc828fefac56", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 22600.0, "surface_area": 6570.0, "principal_moments": [1230000.0, 17700000.0, 18200000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["17.1 \u00d7 14 mm rectangular section swept along a curved path, ~85 mm span."], "text": "17.1 \u00d7 14 mm rectangular section swept along a curved path, ~85 mm span."}, "params": {"path_w": {"type": "float", "default": 63.45, "min": 31.7, "max": 114.2, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 85, "min": 42.5, "max": 153.0, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_a": {"type": "float", "default": 17.1, "min": 8.6, "max": 30.8, "step": 1.0, "group": "Section", "label": "Section width (mm)"}, "sweep_b": {"type": "float", "default": 14.0, "min": 7.0, "max": 25.2, "step": 1.0, "group": "Section", "label": "Section depth (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329685 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 63.45, \"min\": 31.7, \"max\": 114.2, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 85, \"min\": 42.5, \"max\": 153.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_a\": {\"type\": 'float', \"default\": 17.1, \"min\": 8.6, \"max\": 30.8, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section width (mm)'},\n    \"sweep_b\": {\"type\": 'float', \"default\": 14.0, \"min\": 7.0, \"max\": 25.2, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section depth (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.0305, p[\"path_h\"] * 0.2831), (p[\"path_w\"] * 0.2438, p[\"path_h\"] * 0.4356), (p[\"path_w\"] * 0.5392, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').rect(p[\"sweep_a\"], p[\"sweep_b\"]).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca016_1122", "family": "block", "tier": 1, "seed": 1177329686, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "e901b27b3dffef02", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 13500.0, "surface_area": 4630.0, "principal_moments": [1140000.0, 1330000.0, 1550000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 25.07 \u00d7 20.6 \u00d7 27.8 mm (W\u00d7D\u00d7H).", "Four \u00d83.2 mm holes at the corners, 17.549 \u00d7 14.42 mm spacing."], "text": "Rectangular body, 25.07 \u00d7 20.6 \u00d7 27.8 mm (W\u00d7D\u00d7H). Four \u00d83.2 mm holes at the corners, 17.549 \u00d7 14.42 mm spacing."}, "params": {"block_w": {"type": "float", "default": 25.07, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 20.6, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 27.8, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 4.6, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329686 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 25.07, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 20.6, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 27.8, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 4.6, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca017_1123", "family": "bracket", "tier": 2, "seed": 1177329687, "symmetry": "none", "op_count": 1, "ir_hash": "a1e9d474a5f896c6", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 47100.0, "surface_area": 18100.0, "principal_moments": [24299999.999999996, 29999999.999999996, 30799999.999999996], "n_faces": 19, "n_edges": 51, "n_vertices": 34}, "dimensions": {"lines": ["C-channel bracket: base leg 50 mm, vertical leg 51.8 mm, 55 mm wide, 6 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 8.2 mm corner gusset."], "text": "C-channel bracket: base leg 50 mm, vertical leg 51.8 mm, 55 mm wide, 6 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 8.2 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 50, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 51.8, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 55, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 6.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 8.2, "min": 3.0, "max": 18.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329687 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 50, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 51.8, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 55, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 8.2, \"min\": 3.0, \"max\": 18.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl / 2, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bl - _bt, _bt).lineTo(_bl - _bt - _g, _bt)\n                    .lineTo(_bl - _bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462ca018_1124", "family": "flanged", "tier": 1, "seed": 1177329688, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "6981928382b421ac", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 30400.0, "surface_area": 12600.0, "principal_moments": [9470000.0, 9940000.0, 9940000.0], "n_faces": 12, "n_edges": 27, "n_vertices": 18}, "dimensions": {"lines": ["Revolved body, \u00d829.98 mm \u00d7 41.3 mm tall with \u00d816.2 mm bore, \u00d864.3 mm \u00d7 4.4 mm flange.", "Six \u00d88.4 mm holes on a \u00d838.6 mm bolt circle."], "text": "Revolved body, \u00d829.98 mm \u00d7 41.3 mm tall with \u00d816.2 mm bore, \u00d864.3 mm \u00d7 4.4 mm flange. Six \u00d88.4 mm holes on a \u00d838.6 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 29.98, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 41.3, "min": 12.4, "max": 103.2, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 16.2, "min": 2.0, "max": 21.0, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 64.3, "min": 39.0, "max": 89.9, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 4.4, "min": 1.3, "max": 16.5, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 8.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 19.3, "min": 12.9, "max": 28.9, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 6, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329688 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 29.98, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 41.3, \"min\": 12.4, \"max\": 103.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 16.2, \"min\": 2.0, \"max\": 21.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 64.3, \"min\": 39.0, \"max\": 89.9, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 4.4, \"min\": 1.3, \"max\": 16.5, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 19.3, \"min\": 12.9, \"max\": 28.9, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462ca019_1125", "family": "sketched", "tier": 3, "seed": 1177329689, "symmetry": "none", "op_count": 4, "ir_hash": "e1ee9796fd985f13", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 55100.0, "surface_area": 10100.0, "principal_moments": [11999999.999999998, 16199999.999999998, 24099999.999999996], "n_faces": 10, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["freeform sketched section (5 segments: 2 straight, 2 arcs, 1 curve), ~61.271 \u00d7 66.364 mm, extruded 20 mm thick.", "One \u00d84.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch.", "Boss \u00d818.6 mm \u00d7 7.1 mm tall on top face with a \u00d86.4 mm bore.", "Fillet radius 2.8 mm on vertical edges (optional, off by default)."], "text": "freeform sketched section (5 segments: 2 straight, 2 arcs, 1 curve), ~61.271 \u00d7 66.364 mm, extruded 20 mm thick. One \u00d84.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch. Boss \u00d818.6 mm \u00d7 7.1 mm tall on top face with a \u00d86.4 mm bore. Fillet radius 2.8 mm on vertical edges (optional, off by default)."}, "params": {"sk_w": {"type": "float", "default": 70, "min": 35.0, "max": 126.0, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 77.23, "min": 38.6, "max": 139.0, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "sk_t": {"type": "float", "default": 20, "min": 8.0, "max": 44.0, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "sk_hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 8.6, "step": 0.5, "group": "Holes", "label": "Hole diameter (mm)"}, "boss_d": {"type": "float", "default": 18.6, "min": 9.3, "max": 37.2, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 7.1, "min": 2.8, "max": 17.8, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}, "boss_bore_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Boss", "label": "Bore diameter (mm)"}, "sk_fillet_r": {"type": "float", "default": 2.8, "min": 0.5, "max": 7.0, "step": 0.5, "group": "Body", "label": "Edge fillet radius (mm)"}, "sk_filleted": {"type": "bool", "default": false, "group": "Body", "label": "Fillet vertical edges"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329689 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 70, \"min\": 35.0, \"max\": 126.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 77.23, \"min\": 38.6, \"max\": 139.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"sk_t\": {\"type\": 'float', \"default\": 20, \"min\": 8.0, \"max\": 44.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"sk_hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 8.6, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"boss_d\": {\"type\": 'float', \"default\": 18.6, \"min\": 9.3, \"max\": 37.2, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 7.1, \"min\": 2.8, \"max\": 17.8, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n    \"boss_bore_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Boss', \"label\": 'Bore diameter (mm)'},\n    \"sk_fillet_r\": {\"type\": 'float', \"default\": 2.8, \"min\": 0.5, \"max\": 7.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Edge fillet radius (mm)'},\n    \"sk_filleted\": {\"type\": 'bool', \"default\": False, \"group\": 'Body', \"label\": 'Fillet vertical edges'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.4606, p[\"sk_h\"] * 0.0483).spline([(p[\"sk_w\"] * 0.4606, p[\"sk_h\"] * 0.0483), (p[\"sk_w\"] * 0.2703, p[\"sk_h\"] * 0.3297), (p[\"sk_w\"] * -0.0281, p[\"sk_h\"] * 0.4921)]).threePointArc((p[\"sk_w\"] * -0.2489, p[\"sk_h\"] * 0.4268), (p[\"sk_w\"] * -0.4147, p[\"sk_h\"] * 0.269)).lineTo(p[\"sk_w\"] * -0.3155, p[\"sk_h\"] * -0.0906).threePointArc((p[\"sk_w\"] * -0.1173, p[\"sk_h\"] * -0.3015), (p[\"sk_w\"] * 0.1122, p[\"sk_h\"] * -0.3672)).lineTo(p[\"sk_w\"] * 0.4606, p[\"sk_h\"] * 0.0483).close().extrude(p[\"sk_t\"]))\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"sk_hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .hole(p[\"boss_bore_d\"])\n    )\n    if p[\"sk_filleted\"]:\n        result = result.edges('|Z').fillet(p[\"sk_fillet_r\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca01a_1126", "family": "plate", "tier": 0, "seed": 1177329690, "symmetry": "none", "op_count": 1, "ir_hash": "e962cea3a20d1897", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 30500.0, "surface_area": 9790.0, "principal_moments": [4330000.0, 22700000.0, 26699999.999999996], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 94.2 \u00d7 40.5 \u00d7 8 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 94.2 \u00d7 40.5 \u00d7 8 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 94.2, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 40.5, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329690 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 94.2, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 40.5, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca01b_1127", "family": "plate", "tier": 3, "seed": 1177329691, "symmetry": "none", "op_count": 3, "ir_hash": "aaded06190116722", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 3170.0, "surface_area": 2100.0, "principal_moments": [63600.0, 403000.0, 433000.0], "n_faces": 19, "n_edges": 56, "n_vertices": 36}, "dimensions": {"lines": ["Rectangular body, 36.64 \u00d7 12.8 \u00d7 8 mm (W\u00d7D\u00d7H).", "Four \u00d82.2 mm countersunk holes (82\u00b0) at the corners, 25.648 \u00d7 8.96 mm spacing.", "Pocket 16.1 \u00d7 6 mm, 4.5 mm deep, in top face."], "text": "Rectangular body, 36.64 \u00d7 12.8 \u00d7 8 mm (W\u00d7D\u00d7H). Four \u00d82.2 mm countersunk holes (82\u00b0) at the corners, 25.648 \u00d7 8.96 mm spacing. Pocket 16.1 \u00d7 6 mm, 4.5 mm deep, in top face."}, "params": {"plate_w": {"type": "float", "default": 36.64, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 12.8, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 2.2, "min": 2.0, "max": 2.9, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "cs_angle": {"type": "float", "default": 82.0, "min": 60.0, "max": 120.0, "step": 15.0, "group": "Holes", "label": "Countersink angle (\u00b0)"}, "pocket_w": {"type": "float", "default": 16.1, "min": 8.1, "max": 29.3, "step": 1.0, "group": "Pocket", "label": "Pocket width (mm)"}, "pocket_d": {"type": "float", "default": 6.0, "min": 3.0, "max": 10.2, "step": 1.0, "group": "Pocket", "label": "Pocket depth (mm)"}, "pocket_h": {"type": "float", "default": 4.5, "min": 1.8, "max": 6.8, "step": 0.5, "group": "Pocket", "label": "Pocket height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329691 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 36.64, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 12.8, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 2.2, \"min\": 2.0, \"max\": 2.9, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"cs_angle\": {\"type\": 'float', \"default\": 82.0, \"min\": 60.0, \"max\": 120.0, \"step\": 15.0, \"group\": 'Holes', \"label\": 'Countersink angle (\u00b0)'},\n    \"pocket_w\": {\"type\": 'float', \"default\": 16.1, \"min\": 8.1, \"max\": 29.3, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket width (mm)'},\n    \"pocket_d\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 10.2, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket depth (mm)'},\n    \"pocket_h\": {\"type\": 'float', \"default\": 4.5, \"min\": 1.8, \"max\": 6.8, \"step\": 0.5, \"group\": 'Pocket', \"label\": 'Pocket height (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().cskHole(p[\"hole_d\"], p[\"hole_d\"] * 2, p[\"cs_angle\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"pocket_w\"], p[\"pocket_d\"])\n        .cutBlind(-p[\"pocket_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462ca01c_1128", "family": "sketched", "tier": 0, "seed": 1177329692, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "d2fb8a6a6b826a17", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 24500.0, "surface_area": 7620.0, "principal_moments": [3900000.0, 9140000.0, 12799999.999999998], "n_faces": 9, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["freeform sketched section (6 segments: 3 straight, 2 arcs, 1 curve), ~78.993 \u00d7 50.677 mm, extruded 8.35 mm thick with a 7.2\u00b0 draft."], "text": "freeform sketched section (6 segments: 3 straight, 2 arcs, 1 curve), ~78.993 \u00d7 50.677 mm, extruded 8.35 mm thick with a 7.2\u00b0 draft."}, "params": {"sk_w": {"type": "float", "default": 90.0, "min": 45.0, "max": 162.0, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 75.0, "min": 37.5, "max": 135.0, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "sk_t": {"type": "float", "default": 8.35, "min": 3.3, "max": 18.4, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "sk_draft": {"type": "float", "default": 7.2, "min": 0.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Draft angle (deg)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329692 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 90.0, \"min\": 45.0, \"max\": 162.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 75.0, \"min\": 37.5, \"max\": 135.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"sk_t\": {\"type\": 'float', \"default\": 8.35, \"min\": 3.3, \"max\": 18.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"sk_draft\": {\"type\": 'float', \"default\": 7.2, \"min\": 0.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Draft angle (deg)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.4811, p[\"sk_h\"] * 0.0856).bezier([(p[\"sk_w\"] * 0.4811, p[\"sk_h\"] * 0.0856), (p[\"sk_w\"] * 0.3277, p[\"sk_h\"] * 0.2299), (p[\"sk_w\"] * 0.1274, p[\"sk_h\"] * 0.2953)]).lineTo(p[\"sk_w\"] * -0.3092, p[\"sk_h\"] * 0.2741).threePointArc((p[\"sk_w\"] * -0.377, p[\"sk_h\"] * 0.1011), (p[\"sk_w\"] * -0.3966, p[\"sk_h\"] * -0.0875)).threePointArc((p[\"sk_w\"] * -0.3266, p[\"sk_h\"] * -0.2221), (p[\"sk_w\"] * -0.1834, p[\"sk_h\"] * -0.3112)).lineTo(p[\"sk_w\"] * 0.2667, p[\"sk_h\"] * -0.3804).lineTo(p[\"sk_w\"] * 0.4811, p[\"sk_h\"] * 0.0856).close().extrude(p[\"sk_t\"], taper=p[\"sk_draft\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca01d_1129", "family": "plate", "tier": 1, "seed": 1177329693, "symmetry": "radial", "op_count": 2, "ir_hash": "ab0500f6174b0c9d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 30100.0, "surface_area": 11100.0, "principal_moments": [6880000.0, 17000000.0, 23499999.999999996], "n_faces": 16, "n_edges": 42, "n_vertices": 28}, "dimensions": {"lines": ["Rectangular body, 80 \u00d7 52.3 \u00d7 8 mm (W\u00d7D\u00d7H).", "Eight \u00d88.4 mm holes on a \u00d848 mm bolt circle."], "text": "Rectangular body, 80 \u00d7 52.3 \u00d7 8 mm (W\u00d7D\u00d7H). Eight \u00d88.4 mm holes on a \u00d848 mm bolt circle."}, "params": {"plate_w": {"type": "float", "default": 80, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 52.3, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "bolt_d": {"type": "float", "default": 8.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 24.0, "min": 16.0, "max": 36.0, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 8, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329693 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 80, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 52.3, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 24.0, \"min\": 16.0, \"max\": 36.0, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462ca01e_1130", "family": "tapped", "tier": 1, "seed": 1177329694, "symmetry": "none", "op_count": 1, "ir_hash": "f3a2ab9218ed39ea", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 23400.0, "surface_area": 7270.0, "principal_moments": [3900000.0, 5090000.0, 8510000.0], "n_faces": 458, "n_edges": 1256, "n_vertices": 800}, "dimensions": {"lines": ["Four M5x0.8 tapped holes in a plate."], "text": "Four M5x0.8 tapped holes in a plate."}, "params": {"major_d": {"type": "float", "default": 5.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 0.8, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 11.1, "min": 6.0, "max": 20.0, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "plate_w": {"type": "float", "default": 50, "min": 30.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 43.4, "min": 26.0, "max": 69.4, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329694 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 0.8, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 11.1, \"min\": 6.0, \"max\": 20.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"plate_w\": {\"type\": 'float', \"default\": 50, \"min\": 30.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 43.4, \"min\": 26.0, \"max\": 69.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n}\n\n\ndef build(p):\n\n    _W, _D, _H = p[\"plate_w\"], p[\"plate_d\"], p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Box(_W, _D, _H)\n    _sx, _sy = p[\"plate_w\"] * 0.6, p[\"plate_d\"] * 0.6\n    _locs = [(_xx, _yy) for _xx in (-_sx / 2, _sx / 2) for _yy in (-_sy / 2, _sy / 2)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca01f_1131", "family": "plate", "tier": 1, "seed": 1177329695, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "5cf2cf48ff63760a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 101000.0, "surface_area": 22400.0, "principal_moments": [43700000.0, 122000000.0, 163000000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 120 \u00d7 71.3 \u00d7 12 mm (W\u00d7D\u00d7H).", "Four \u00d86.4 mm holes at the corners, 84 \u00d7 49.91 mm spacing."], "text": "Rectangular body, 120 \u00d7 71.3 \u00d7 12 mm (W\u00d7D\u00d7H). Four \u00d86.4 mm holes at the corners, 84 \u00d7 49.91 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 120.0, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 71.3, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329695 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 120.0, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 71.3, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca020_1132", "family": "compound", "tier": 2, "seed": 1177329696, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "6104582017ff082f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 322000.0, "surface_area": 36500.0, "principal_moments": [256000000.0, 269000000.0, 324000000.0], "n_faces": 9, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["Rectangular body, 76.67 \u00d7 66.8 \u00d7 61.6 mm (W\u00d7D\u00d7H).", "\u00d824.1 mm circular section attachment, 50.7 mm long, from back face with a \u00d813.6 mm bore.", "Four \u00d810.5 mm holes at the corners, 53.669 \u00d7 46.76 mm spacing."], "text": "Rectangular body, 76.67 \u00d7 66.8 \u00d7 61.6 mm (W\u00d7D\u00d7H). \u00d824.1 mm circular section attachment, 50.7 mm long, from back face with a \u00d813.6 mm bore. Four \u00d810.5 mm holes at the corners, 53.669 \u00d7 46.76 mm spacing."}, "params": {"block_w": {"type": "float", "default": 76.67, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 66.8, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 61.6, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "spig_d": {"type": "float", "default": 24.1, "min": 9.6, "max": 43.1, "step": 1.0, "group": "Spigot", "label": "Spigot diameter (mm)"}, "spig_len": {"type": "float", "default": 50.7, "min": 7.2, "max": 96.4, "step": 1.0, "group": "Spigot", "label": "Spigot length (mm)"}, "spig_bore": {"type": "float", "default": 13.6, "min": 2.0, "max": 17.4, "step": 0.5, "group": "Spigot", "label": "Bore diameter (mm)"}, "hole_d": {"type": "float", "default": 10.5, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329696 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 76.67, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 66.8, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 61.6, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"spig_d\": {\"type\": 'float', \"default\": 24.1, \"min\": 9.6, \"max\": 43.1, \"step\": 1.0, \"group\": 'Spigot', \"label\": 'Spigot diameter (mm)'},\n    \"spig_len\": {\"type\": 'float', \"default\": 50.7, \"min\": 7.2, \"max\": 96.4, \"step\": 1.0, \"group\": 'Spigot', \"label\": 'Spigot length (mm)'},\n    \"spig_bore\": {\"type\": 'float', \"default\": 13.6, \"min\": 2.0, \"max\": 17.4, \"step\": 0.5, \"group\": 'Spigot', \"label\": 'Bore diameter (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 10.5, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"spig_d\"] / 2).extrude(p[\"spig_len\"])\n    )\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"spig_bore\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462ca021_1133", "family": "enclosure", "tier": 1, "seed": 1177329697, "symmetry": "none", "op_count": 2, "ir_hash": "3d6cfa031b37b4ba", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 24900.0, "surface_area": 19700.0, "principal_moments": [9300000.0, 16199999.999999998, 18200000.0], "n_faces": 11, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 64.5 \u00d7 39.8 \u00d7 38 mm (W\u00d7D\u00d7H).", "Hollowed to 2.6 mm wall thickness, open at top face."], "text": "Rectangular body, 64.5 \u00d7 39.8 \u00d7 38 mm (W\u00d7D\u00d7H). Hollowed to 2.6 mm wall thickness, open at top face."}, "params": {"enc_w": {"type": "float", "default": 64.5, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 39.8, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 38.0, "min": 15.2, "max": 76.0, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 2.6, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329697 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 64.5, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 39.8, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 38.0, \"min\": 15.2, \"max\": 76.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 2.6, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462ca022_1134", "family": "tapped", "tier": 1, "seed": 1177329698, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "adf663234f6c79d2", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 1560.0, "surface_area": 1030.0, "principal_moments": [31500.0, 43400.0, 43400.0], "n_faces": 172, "n_edges": 468, "n_vertices": 298}, "dimensions": {"lines": ["One M4x0.7 tapped hole in a cylinder."], "text": "One M4x0.7 tapped hole in a cylinder."}, "params": {"major_d": {"type": "float", "default": 4.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 0.7, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 14.6, "min": 4.8, "max": 26.3, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "body_d": {"type": "float", "default": 12.2, "min": 7.2, "max": 19.5, "step": 1.0, "group": "Body", "label": "Outer \u00d8 (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329698 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 4.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 0.7, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 14.6, \"min\": 4.8, \"max\": 26.3, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"body_d\": {\"type\": 'float', \"default\": 12.2, \"min\": 7.2, \"max\": 19.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer \u00d8 (mm)'},\n}\n\n\ndef build(p):\n\n    _W = _D = p[\"body_d\"]\n    _H = p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Cylinder(radius=_W / 2, height=_H)\n    _locs = [(0.0, 0.0)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca023_1135", "family": "plate", "tier": 1, "seed": 1177329699, "symmetry": "radial", "op_count": 2, "ir_hash": "db27caf9e1308feb", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 20500.0, "surface_area": 8570.0, "principal_moments": [5830000.0, 6260000.0, 11999999.999999998], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 60 \u00d7 57.9 \u00d7 6 mm (W\u00d7D\u00d7H).", "Four \u00d84.3 mm holes on a \u00d836 mm bolt circle."], "text": "Rectangular body, 60 \u00d7 57.9 \u00d7 6 mm (W\u00d7D\u00d7H). Four \u00d84.3 mm holes on a \u00d836 mm bolt circle."}, "params": {"plate_w": {"type": "float", "default": 60, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 57.9, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 6.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "bolt_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 18.0, "min": 12.0, "max": 27.0, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 4, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329699 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 60, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 57.9, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 18.0, \"min\": 12.0, \"max\": 27.0, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 4, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462ca025_1137", "family": "profiled", "tier": 1, "seed": 1177329701, "symmetry": "none", "op_count": 1, "ir_hash": "2ba4525adee2e9a3", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 61600.0, "surface_area": 12400.0, "principal_moments": [7450000.0, 52899999.99999999, 52899999.99999999], "n_faces": 5, "n_edges": 9, "n_vertices": 6}, "dimensions": {"lines": ["3-sided polygon section, 44 mm across corners, extruded 97.9 mm thick."], "text": "3-sided polygon section, 44 mm across corners, extruded 97.9 mm thick."}, "params": {"circ_r": {"type": "float", "default": 22.0, "min": 11.0, "max": 44.0, "step": 1.0, "group": "Profile", "label": "Circumscribed radius (mm)"}, "n_sides": {"type": "int", "default": 3, "min": 3, "max": 8, "step": 1, "group": "Profile", "label": "Sides"}, "length": {"type": "float", "default": 97.9, "min": 29.4, "max": 293.7, "step": 5.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329701 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"circ_r\": {\"type\": 'float', \"default\": 22.0, \"min\": 11.0, \"max\": 44.0, \"step\": 1.0, \"group\": 'Profile', \"label\": 'Circumscribed radius (mm)'},\n    \"n_sides\": {\"type\": 'int', \"default\": 3, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Profile', \"label\": 'Sides'},\n    \"length\": {\"type\": 'float', \"default\": 97.9, \"min\": 29.4, \"max\": 293.7, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').polygon(p[\"n_sides\"], p[\"circ_r\"] * 2).extrude(p[\"length\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca026_1138", "family": "revolved", "tier": 1, "seed": 1177329702, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "87874dea55b561b5", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 252000.0, "surface_area": 38700.0, "principal_moments": [240000000.0, 240000000.0, 306000000.0], "n_faces": 10, "n_edges": 17, "n_vertices": 10}, "dimensions": {"lines": ["Revolved body, \u00d860 mm \u00d7 64.6 mm tall with \u00d829.3 mm bore, \u00d8112.1 mm \u00d7 16.1 mm flange.", "Chamfer 1.1 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d860 mm \u00d7 64.6 mm tall with \u00d829.3 mm bore, \u00d8112.1 mm \u00d7 16.1 mm flange. Chamfer 1.1 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 60, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 64.6, "min": 19.4, "max": 193.8, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 29.3, "min": 2.0, "max": 42.0, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 112.1, "min": 72.0, "max": 180.0, "step": 1.0, "group": "Body", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 16.1, "min": 4.8, "max": 32.3, "step": 0.5, "group": "Body", "label": "Flange height (mm)"}, "end_chamfer": {"type": "float", "default": 1.1, "min": 0.1, "max": 3.3, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329702 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 60, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 64.6, \"min\": 19.4, \"max\": 193.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 29.3, \"min\": 2.0, \"max\": 42.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 112.1, \"min\": 72.0, \"max\": 180.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 16.1, \"min\": 4.8, \"max\": 32.3, \"step\": 0.5, \"group\": 'Body', \"label\": 'Flange height (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 1.1, \"min\": 0.1, \"max\": 3.3, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca027_1139", "family": "bracket", "tier": 2, "seed": 1177329703, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "f598dbd979f8c08a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 15200.0, "surface_area": 11600.0, "principal_moments": [2980000.0, 20300000.0, 21600000.0], "n_faces": 18, "n_edges": 48, "n_vertices": 32}, "dimensions": {"lines": ["Z-bracket: base leg 65 mm, vertical leg 58.3 mm, top leg 61.4 mm, 26.89 mm wide, 3 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg; 2.4 mm corner gusset."], "text": "Z-bracket: base leg 65 mm, vertical leg 58.3 mm, top leg 61.4 mm, 26.89 mm wide, 3 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg; 2.4 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 65, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 58.3, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 26.89, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 3.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 61.4, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}, "gusset_t": {"type": "float", "default": 2.4, "min": 1.5, "max": 9.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329703 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 65, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 58.3, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 26.89, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 61.4, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 2.4, \"min\": 1.5, \"max\": 9.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _tl, _vl) * 0.4 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(0, _vl - _bt).lineTo(-_g, _vl - _bt)\n                    .lineTo(0, _vl - _bt - _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462ca028_1140", "family": "sketched", "tier": 2, "seed": 1177329704, "symmetry": "none", "op_count": 3, "ir_hash": "a7b197b6c07d6258", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 14800.0, "surface_area": 4830.0, "principal_moments": [1560000.0, 2200000.0, 3350000.0], "n_faces": 11, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["freeform sketched section (5 segments: 1 straight, 2 arcs, 2 curves), ~46.384 \u00d7 45.133 mm, extruded 10 mm thick.", "One \u00d88.4 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch.", "Boss \u00d814.5 mm \u00d7 7.6 mm tall on top face."], "text": "freeform sketched section (5 segments: 1 straight, 2 arcs, 2 curves), ~46.384 \u00d7 45.133 mm, extruded 10 mm thick. One \u00d88.4 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch. Boss \u00d814.5 mm \u00d7 7.6 mm tall on top face."}, "params": {"sk_w": {"type": "float", "default": 65, "min": 32.5, "max": 117.0, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 55, "min": 27.5, "max": 99.0, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "sk_t": {"type": "float", "default": 10, "min": 4.0, "max": 22.0, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "sk_hole_d": {"type": "float", "default": 8.4, "min": 2.0, "max": 16.8, "step": 0.5, "group": "Holes", "label": "Hole diameter (mm)"}, "boss_d": {"type": "float", "default": 14.5, "min": 7.2, "max": 29.0, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 7.6, "min": 3.0, "max": 19.0, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329704 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 65, \"min\": 32.5, \"max\": 117.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 55, \"min\": 27.5, \"max\": 99.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"sk_t\": {\"type\": 'float', \"default\": 10, \"min\": 4.0, \"max\": 22.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"sk_hole_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 2.0, \"max\": 16.8, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"boss_d\": {\"type\": 'float', \"default\": 14.5, \"min\": 7.2, \"max\": 29.0, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 7.6, \"min\": 3.0, \"max\": 19.0, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.3245, p[\"sk_h\"] * 0.0918).bezier([(p[\"sk_w\"] * 0.3245, p[\"sk_h\"] * 0.0918), (p[\"sk_w\"] * 0.2074, p[\"sk_h\"] * 0.321), (p[\"sk_w\"] * 0.0192, p[\"sk_h\"] * 0.4967)]).lineTo(p[\"sk_w\"] * -0.3471, p[\"sk_h\"] * 0.0919).threePointArc((p[\"sk_w\"] * -0.4047, p[\"sk_h\"] * -0.0482), (p[\"sk_w\"] * -0.3891, p[\"sk_h\"] * -0.1696)).spline([(p[\"sk_w\"] * -0.3891, p[\"sk_h\"] * -0.1696), (p[\"sk_w\"] * -0.1946, p[\"sk_h\"] * -0.3032), (p[\"sk_w\"] * 0.0405, p[\"sk_h\"] * -0.3239)]).threePointArc((p[\"sk_w\"] * 0.252, p[\"sk_h\"] * -0.1582), (p[\"sk_w\"] * 0.3245, p[\"sk_h\"] * 0.0918)).close().extrude(p[\"sk_t\"]))\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"sk_hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca029_1141", "family": "plate", "tier": 1, "seed": 1177329705, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "b138cd94de0d0265", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 106000.0, "surface_area": 23100.0, "principal_moments": [64599999.99999999, 97699999.99999999, 160000000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 105 \u00d7 85.1 \u00d7 12 mm (W\u00d7D\u00d7H).", "Four \u00d86.4 mm holes at the corners, 73.5 \u00d7 59.57 mm spacing."], "text": "Rectangular body, 105 \u00d7 85.1 \u00d7 12 mm (W\u00d7D\u00d7H). Four \u00d86.4 mm holes at the corners, 73.5 \u00d7 59.57 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 105, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 85.1, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329705 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 105, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 85.1, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca02a_1142", "family": "plate", "tier": 3, "seed": 1177329706, "symmetry": "none", "op_count": 3, "ir_hash": "eb56f41413da32b4", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 15700.0, "surface_area": 5900.0, "principal_moments": [977000.0, 4430000.0, 4720000.0], "n_faces": 28, "n_edges": 74, "n_vertices": 48}, "dimensions": {"lines": ["Rectangular body, 58.44 \u00d7 21.3 \u00d7 12 mm (W\u00d7D\u00d7H).", "Four \u00d83.2 mm counterbored holes (\u00d86.4 mm \u00d7 2.6 mm counterbore) at the corners, 40.908 \u00d7 14.91 mm spacing.", "Boss \u00d824.4 mm \u00d7 6.5 mm tall on top face with a \u00d810.5 mm bore."], "text": "Rectangular body, 58.44 \u00d7 21.3 \u00d7 12 mm (W\u00d7D\u00d7H). Four \u00d83.2 mm counterbored holes (\u00d86.4 mm \u00d7 2.6 mm counterbore) at the corners, 40.908 \u00d7 14.91 mm spacing. Boss \u00d824.4 mm \u00d7 6.5 mm tall on top face with a \u00d810.5 mm bore."}, "params": {"plate_w": {"type": "float", "default": 58.44, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 21.3, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 4.8, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "cb_d": {"type": "float", "default": 6.4, "min": 4.8, "max": 9.6, "step": 0.5, "group": "Holes", "label": "Counterbore diameter (mm)"}, "cb_depth": {"type": "float", "default": 2.6, "min": 1.3, "max": 5.2, "step": 0.5, "group": "Holes", "label": "Counterbore depth (mm)"}, "boss_d": {"type": "float", "default": 24.4, "min": 12.2, "max": 48.8, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 6.5, "min": 2.6, "max": 16.2, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}, "boss_bore_d": {"type": "float", "default": 10.5, "min": 2.0, "max": 17.1, "step": 0.1, "group": "Boss", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329706 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 58.44, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 21.3, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 4.8, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"cb_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 4.8, \"max\": 9.6, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Counterbore diameter (mm)'},\n    \"cb_depth\": {\"type\": 'float', \"default\": 2.6, \"min\": 1.3, \"max\": 5.2, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Counterbore depth (mm)'},\n    \"boss_d\": {\"type\": 'float', \"default\": 24.4, \"min\": 12.2, \"max\": 48.8, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 6.5, \"min\": 2.6, \"max\": 16.2, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n    \"boss_bore_d\": {\"type\": 'float', \"default\": 10.5, \"min\": 2.0, \"max\": 17.1, \"step\": 0.1, \"group\": 'Boss', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().cboreHole(p[\"hole_d\"], p[\"cb_d\"], p[\"cb_depth\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .hole(p[\"boss_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca02b_1143", "family": "revolved", "tier": 1, "seed": 1177329707, "symmetry": "none", "op_count": 1, "ir_hash": "d20313a4a2c22089", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 35100.0, "surface_area": 11700.0, "principal_moments": [5610000.0, 14099999.999999998, 14099999.999999998], "n_faces": 5, "n_edges": 7, "n_vertices": 5}, "dimensions": {"lines": ["Revolved body, \u00d825 mm \u00d7 73.4 mm tall with \u00d842.5 mm \u00d7 11.9 mm flange."], "text": "Revolved body, \u00d825 mm \u00d7 73.4 mm tall with \u00d842.5 mm \u00d7 11.9 mm flange."}, "params": {"outer_d": {"type": "float", "default": 25, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 73.4, "min": 22.0, "max": 220.2, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "flange_d": {"type": "float", "default": 42.5, "min": 30.0, "max": 75.0, "step": 1.0, "group": "Body", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 11.9, "min": 3.6, "max": 36.7, "step": 0.5, "group": "Body", "label": "Flange height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329707 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 25, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 73.4, \"min\": 22.0, \"max\": 220.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 42.5, \"min\": 30.0, \"max\": 75.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 11.9, \"min\": 3.6, \"max\": 36.7, \"step\": 0.5, \"group\": 'Body', \"label\": 'Flange height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca02c_1144", "family": "bracket", "tier": 1, "seed": 1177329708, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "5a3f29580c548156", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 13500.0, "surface_area": 9920.0, "principal_moments": [2920000.0, 4920000.0, 6160000.0], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["C-channel bracket: base leg 31.55 mm, vertical leg 25 mm, 60 mm wide, 3 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."], "text": "C-channel bracket: base leg 31.55 mm, vertical leg 25 mm, 60 mm wide, 3 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 31.55, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 25.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 60.0, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 3.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329708 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 31.55, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 25.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 60.0, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462ca02d_1145", "family": "lofted", "tier": 2, "seed": 1177329709, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "d5a9783b42ab0572", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 20700.0, "surface_area": 5810.0, "principal_moments": [3060000.0, 3060000.0, 3450000.0], "n_faces": 8, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["Lofted body through 3 sections: \u00d835 mm circular section \u2192 29.9 \u00d7 29.9 mm rectangular section \u2192 24.7 \u00d7 24.7 mm rectangular section.", "One \u00d813.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 3 sections: \u00d835 mm circular section \u2192 29.9 \u00d7 29.9 mm rectangular section \u2192 24.7 \u00d7 24.7 mm rectangular section. One \u00d813.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 35, "min": 17.5, "max": 56.0, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 24.7, "min": 9.9, "max": 42.0, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 28.7, "min": 11.5, "max": 57.4, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_mid": {"type": "float", "default": 29.9, "min": 12.3, "max": 42.0, "step": 1.0, "group": "Body", "label": "Mid size (mm)"}, "loft_bore_d": {"type": "float", "default": 13.3, "min": 2.0, "max": 19.8, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329709 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 35, \"min\": 17.5, \"max\": 56.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 24.7, \"min\": 9.9, \"max\": 42.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 28.7, \"min\": 11.5, \"max\": 57.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_mid\": {\"type\": 'float', \"default\": 29.9, \"min\": 12.3, \"max\": 42.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Mid size (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 13.3, \"min\": 2.0, \"max\": 19.8, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .circle(p[\"loft_base\"] / 2)\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .rect(p[\"loft_mid\"], p[\"loft_mid\"])\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .rect(p[\"loft_top\"], p[\"loft_top\"])\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca02e_1146", "family": "compound", "tier": 1, "seed": 1177329710, "symmetry": "none", "op_count": 2, "ir_hash": "b75807ec6e6e6dbe", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 86300.0, "surface_area": 14200.0, "principal_moments": [24099999.999999996, 36600000.0, 36600000.0], "n_faces": 15, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Lofted body through 2 sections: \u00d856.29 mm circular section \u2192 27 \u00d7 27 mm rectangular section.", "6-sided polygon section, 18.6 mm across corners attachment, 13.4 mm long, from top face with a \u00d89.5 mm bore."], "text": "Lofted body through 2 sections: \u00d856.29 mm circular section \u2192 27 \u00d7 27 mm rectangular section. 6-sided polygon section, 18.6 mm across corners attachment, 13.4 mm long, from top face with a \u00d89.5 mm bore."}, "params": {"adapter_base": {"type": "float", "default": 56.29, "min": 33.8, "max": 84.4, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "adapter_top": {"type": "float", "default": 27.0, "min": 13.5, "max": 56.3, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "adapter_h": {"type": "float", "default": 57.8, "min": 23.1, "max": 115.6, "step": 1.0, "group": "Body", "label": "Transition height (mm)"}, "neck_sides": {"type": "int", "default": 6, "min": 3, "max": 8, "step": 1, "group": "Neck", "label": "Neck sides"}, "neck_r": {"type": "float", "default": 9.3, "min": 4.7, "max": 13.5, "step": 1.0, "group": "Neck", "label": "Neck circumradius (mm)"}, "neck_l": {"type": "float", "default": 13.4, "min": 5.4, "max": 33.5, "step": 1.0, "group": "Neck", "label": "Neck length (mm)"}, "neck_bore": {"type": "float", "default": 9.5, "min": 2.0, "max": 11.6, "step": 0.5, "group": "Neck", "label": "Neck bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329710 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"adapter_base\": {\"type\": 'float', \"default\": 56.29, \"min\": 33.8, \"max\": 84.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"adapter_top\": {\"type\": 'float', \"default\": 27.0, \"min\": 13.5, \"max\": 56.3, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"adapter_h\": {\"type\": 'float', \"default\": 57.8, \"min\": 23.1, \"max\": 115.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Transition height (mm)'},\n    \"neck_sides\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Neck', \"label\": 'Neck sides'},\n    \"neck_r\": {\"type\": 'float', \"default\": 9.3, \"min\": 4.7, \"max\": 13.5, \"step\": 1.0, \"group\": 'Neck', \"label\": 'Neck circumradius (mm)'},\n    \"neck_l\": {\"type\": 'float', \"default\": 13.4, \"min\": 5.4, \"max\": 33.5, \"step\": 1.0, \"group\": 'Neck', \"label\": 'Neck length (mm)'},\n    \"neck_bore\": {\"type\": 'float', \"default\": 9.5, \"min\": 2.0, \"max\": 11.6, \"step\": 0.5, \"group\": 'Neck', \"label\": 'Neck bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .circle(p[\"adapter_base\"] / 2)\n        .workplane(offset=p[\"adapter_h\"])\n        .rect(p[\"adapter_top\"], p[\"adapter_top\"])\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"neck_sides\"], p[\"neck_r\"] * 2).extrude(p[\"neck_l\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"neck_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca02f_1147", "family": "block", "tier": 3, "seed": 1177329711, "symmetry": "mirror_xy", "op_count": 5, "ir_hash": "eda49367a7a44a9b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 24500.0, "surface_area": 10600.0, "principal_moments": [3780000.0, 4300000.0, 5700000.0], "n_faces": 18, "n_edges": 42, "n_vertices": 28}, "dimensions": {"lines": ["Rectangular body, 33.12 \u00d7 23.8 \u00d7 40.1 mm (W\u00d7D\u00d7H).", "Four \u00d85.3 mm holes at the corners, 23.184 \u00d7 16.66 mm spacing.", "Pocket 16.2 \u00d7 13.3 mm, 17.4 mm deep, in top face.", "Fillet radius 1.328 mm on vertical edges (optional, off by default).", "\u00d89.7 mm circular section attachment, 10.9 mm long, from left face with a \u00d84.4 mm bore."], "text": "Rectangular body, 33.12 \u00d7 23.8 \u00d7 40.1 mm (W\u00d7D\u00d7H). Four \u00d85.3 mm holes at the corners, 23.184 \u00d7 16.66 mm spacing. Pocket 16.2 \u00d7 13.3 mm, 17.4 mm deep, in top face. Fillet radius 1.328 mm on vertical edges (optional, off by default). \u00d89.7 mm circular section attachment, 10.9 mm long, from left face with a \u00d84.4 mm bore."}, "params": {"block_w": {"type": "float", "default": 33.12, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 23.8, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 40.1, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 5.4, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "pocket_w": {"type": "float", "default": 16.2, "min": 8.1, "max": 26.5, "step": 1.0, "group": "Pocket", "label": "Pocket width (mm)"}, "pocket_d": {"type": "float", "default": 13.3, "min": 6.7, "max": 19.0, "step": 1.0, "group": "Pocket", "label": "Pocket depth (mm)"}, "pocket_h": {"type": "float", "default": 17.4, "min": 7.0, "max": 34.1, "step": 0.5, "group": "Pocket", "label": "Pocket height (mm)"}, "filleted2": {"type": "bool", "default": false, "group": "Body", "label": "Fillet corners"}, "side_tube_d": {"type": "float", "default": 9.7, "min": 3.9, "max": 11.9, "step": 1.0, "group": "Side Tube", "label": "Side tube diameter (mm)"}, "side_tube_len": {"type": "float", "default": 10.9, "min": 3.3, "max": 29.1, "step": 1.0, "group": "Side Tube", "label": "Side tube length (mm)"}, "side_bore_d": {"type": "float", "default": 4.4, "min": 2.0, "max": 7.3, "step": 0.5, "group": "Side Tube", "label": "Side bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329711 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 33.12, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 23.8, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 40.1, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 5.4, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"pocket_w\": {\"type\": 'float', \"default\": 16.2, \"min\": 8.1, \"max\": 26.5, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket width (mm)'},\n    \"pocket_d\": {\"type\": 'float', \"default\": 13.3, \"min\": 6.7, \"max\": 19.0, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket depth (mm)'},\n    \"pocket_h\": {\"type\": 'float', \"default\": 17.4, \"min\": 7.0, \"max\": 34.1, \"step\": 0.5, \"group\": 'Pocket', \"label\": 'Pocket height (mm)'},\n    \"filleted2\": {\"type\": 'bool', \"default\": False, \"group\": 'Body', \"label\": 'Fillet corners'},\n    \"side_tube_d\": {\"type\": 'float', \"default\": 9.7, \"min\": 3.9, \"max\": 11.9, \"step\": 1.0, \"group\": 'Side Tube', \"label\": 'Side tube diameter (mm)'},\n    \"side_tube_len\": {\"type\": 'float', \"default\": 10.9, \"min\": 3.3, \"max\": 29.1, \"step\": 1.0, \"group\": 'Side Tube', \"label\": 'Side tube length (mm)'},\n    \"side_bore_d\": {\"type\": 'float', \"default\": 4.4, \"min\": 2.0, \"max\": 7.3, \"step\": 0.5, \"group\": 'Side Tube', \"label\": 'Side bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"pocket_w\"], p[\"pocket_d\"])\n        .cutBlind(-p[\"pocket_h\"])\n    )\n    if p[\"filleted2\"]:\n        result = result.edges('|Z').fillet(min(p[\"block_w\"], p[\"block_d\"]) * 0.05578416700810558)\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"side_tube_d\"] / 2).extrude(p[\"side_tube_len\"])\n    )\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"side_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462ca030_1148", "family": "gear", "tier": 1, "seed": 1177329712, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "22f5fe79eb0df99c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 13700.0, "surface_area": 6480.0, "principal_moments": [2460000.0, 2460000.0, 4820000.0], "n_faces": 213, "n_edges": 633, "n_vertices": 422}, "dimensions": {"lines": ["Spur gear, module 1.5 mm, 35 teeth (pitch \u00d852.5 mm), face width 6.5 mm, \u00d86.5 mm bore."], "text": "Spur gear, module 1.5 mm, 35 teeth (pitch \u00d852.5 mm), face width 6.5 mm, \u00d86.5 mm bore."}, "params": {"module": {"type": "float", "default": 1.5, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 35, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 6.5, "min": 2.6, "max": 16.2, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "bore_d": {"type": "float", "default": 6.5, "min": 2.0, "max": 29.2, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329712 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 1.5, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 35, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 6.5, \"min\": 2.6, \"max\": 16.2, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 6.5, \"min\": 2.0, \"max\": 29.2, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca031_1149", "family": "plate", "tier": 0, "seed": 1177329713, "symmetry": "radial", "op_count": 1, "ir_hash": "c31fd11309e64cbb", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 4290.0, "surface_area": 3330.0, "principal_moments": [294000.0, 903000.0, 1190000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 50.18 \u00d7 28.5 \u00d7 3 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 50.18 \u00d7 28.5 \u00d7 3 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 50.18, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 28.5, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 3.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329713 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 50.18, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 28.5, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 3.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca032_1150", "family": "plate", "tier": 2, "seed": 1177329714, "symmetry": "mirror_xy", "op_count": 3, "ir_hash": "fc9a1310064e2173", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 34500.0, "surface_area": 10400.0, "principal_moments": [3900000.0, 28499999.999999996, 31799999.999999996], "n_faces": 14, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 100 \u00d7 35.8 \u00d7 10 mm (W\u00d7D\u00d7H).", "Four \u00d86.4 mm holes at the corners, 70 \u00d7 25.06 mm spacing.", "Fillet radius 1.59 mm on vertical edges."], "text": "Rectangular body, 100 \u00d7 35.8 \u00d7 10 mm (W\u00d7D\u00d7H). Four \u00d86.4 mm holes at the corners, 70 \u00d7 25.06 mm spacing. Fillet radius 1.59 mm on vertical edges."}, "params": {"plate_w": {"type": "float", "default": 100, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 35.8, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 8.1, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329714 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 100, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 35.8, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 8.1, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"plate_w\"], p[\"plate_d\"]) * 0.04442252145849419)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca033_1151", "family": "revolved", "tier": 2, "seed": 1177329715, "symmetry": "radial", "op_count": 1, "ir_hash": "6238f1572e83ebda", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 274000.0, "surface_area": 47100.0, "principal_moments": [145000000.0, 466000000.0, 466000000.0], "n_faces": 7, "n_edges": 10, "n_vertices": 7}, "dimensions": {"lines": ["Revolved body, \u00d860 mm \u00d7 152.1 mm tall with 17 mm-wide groove 4.18 mm deep."], "text": "Revolved body, \u00d860 mm \u00d7 152.1 mm tall with 17 mm-wide groove 4.18 mm deep."}, "params": {"outer_d": {"type": "float", "default": 60, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 152.1, "min": 45.6, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "groove_depth": {"type": "float", "default": 4.18, "min": 1.67, "max": 12.54, "step": 0.1, "group": "Body", "label": "Groove depth (mm)"}, "groove_w": {"type": "float", "default": 17.0, "min": 6.8, "max": 51.0, "step": 0.2, "group": "Body", "label": "Groove width (mm)"}, "groove_pos": {"type": "float", "default": 58.7, "min": 22.8, "max": 129.3, "step": 1.0, "group": "Body", "label": "Groove position (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329715 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 60, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 152.1, \"min\": 45.6, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"groove_depth\": {\"type\": 'float', \"default\": 4.18, \"min\": 1.67, \"max\": 12.54, \"step\": 0.1, \"group\": 'Body', \"label\": 'Groove depth (mm)'},\n    \"groove_w\": {\"type\": 'float', \"default\": 17.0, \"min\": 6.8, \"max\": 51.0, \"step\": 0.2, \"group\": 'Body', \"label\": 'Groove width (mm)'},\n    \"groove_pos\": {\"type\": 'float', \"default\": 58.7, \"min\": 22.8, \"max\": 129.3, \"step\": 1.0, \"group\": 'Body', \"label\": 'Groove position (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"groove_pos\"] - p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2 - p[\"groove_depth\"], p[\"groove_pos\"] - p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2 - p[\"groove_depth\"], p[\"groove_pos\"] + p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2, p[\"groove_pos\"] + p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462ca034_1152", "family": "profiled", "tier": 0, "seed": 1177329716, "symmetry": "none", "op_count": 1, "ir_hash": "7f910d35e630028d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 71100.0, "surface_area": 25600.0, "principal_moments": [6940000.0, 187000000.0, 187000000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d825.51 mm \u00d7 208.6 mm tall."], "text": "Revolved body, \u00d825.51 mm \u00d7 208.6 mm tall."}, "params": {"outer_d": {"type": "float", "default": 25.51, "min": 12.8, "max": 51.0, "step": 1.0, "group": "Profile", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 208.6, "min": 62.6, "max": 625.8, "step": 5.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329716 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 25.51, \"min\": 12.8, \"max\": 51.0, \"step\": 1.0, \"group\": 'Profile', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 208.6, \"min\": 62.6, \"max\": 625.8, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462ca035_1153", "family": "tapped", "tier": 2, "seed": 1177329717, "symmetry": "none", "op_count": 1, "ir_hash": "4d8864ed607a0143", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 1620.0, "surface_area": 1120.0, "principal_moments": [42800.0, 42800.0, 46800.0], "n_faces": 100, "n_edges": 270, "n_vertices": 172}, "dimensions": {"lines": ["One M6x1 tapped hole in a cylinder."], "text": "One M6x1 tapped hole in a cylinder."}, "params": {"major_d": {"type": "float", "default": 6.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 1.0, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 12.0, "min": 7.2, "max": 21.6, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "body_d": {"type": "float", "default": 14.2, "min": 10.8, "max": 22.7, "step": 1.0, "group": "Body", "label": "Outer \u00d8 (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329717 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.0, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 12.0, \"min\": 7.2, \"max\": 21.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"body_d\": {\"type\": 'float', \"default\": 14.2, \"min\": 10.8, \"max\": 22.7, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer \u00d8 (mm)'},\n}\n\n\ndef build(p):\n\n    _W = _D = p[\"body_d\"]\n    _H = p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Cylinder(radius=_W / 2, height=_H)\n    _locs = [(0.0, 0.0)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462ca036_1154", "family": "tapped", "tier": 1, "seed": 1177329718, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "0f39074821bfa73d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 9150.0, "surface_area": 3220.0, "principal_moments": [701000.0, 701000.0, 781000.0], "n_faces": 135, "n_edges": 365, "n_vertices": 232}, "dimensions": {"lines": ["One M8x1.25 tapped hole in a cylinder."], "text": "One M8x1.25 tapped hole in a cylinder."}, "params": {"major_d": {"type": "float", "default": 8.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 1.25, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 20.2, "min": 9.6, "max": 36.4, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "body_d": {"type": "float", "default": 25.1, "min": 14.4, "max": 40.2, "step": 1.0, "group": "Body", "label": "Outer \u00d8 (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329718 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.25, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 20.2, \"min\": 9.6, \"max\": 36.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"body_d\": {\"type\": 'float', \"default\": 25.1, \"min\": 14.4, \"max\": 40.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer \u00d8 (mm)'},\n}\n\n\ndef build(p):\n\n    _W = _D = p[\"body_d\"]\n    _H = p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Cylinder(radius=_W / 2, height=_H)\n    _locs = [(0.0, 0.0)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca037_1155", "family": "bracket", "tier": 2, "seed": 1177329719, "symmetry": "none", "op_count": 1, "ir_hash": "013aabfcd541f340", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 36700.0, "surface_area": 20400.0, "principal_moments": [19200000.0, 49599999.99999999, 56699999.99999999], "n_faces": 19, "n_edges": 51, "n_vertices": 34}, "dimensions": {"lines": ["C-channel bracket: base leg 85 mm, vertical leg 59.9 mm, 45.15 mm wide, 4 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg; 4 mm corner gusset."], "text": "C-channel bracket: base leg 85 mm, vertical leg 59.9 mm, 45.15 mm wide, 4 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg; 4 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 85, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 59.9, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 45.15, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 4.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 4.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329719 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 85, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 59.9, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 45.15, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl / 2, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bl - _bt, _bt).lineTo(_bl - _bt - _g, _bt)\n                    .lineTo(_bl - _bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462ca038_1156", "family": "ribbed", "tier": 3, "seed": 1177329720, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "2416984c0ca37601", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 98100.0, "surface_area": 28100.0, "principal_moments": [69000000.0, 82100000.0, 147000000.0], "n_faces": 21, "n_edges": 48, "n_vertices": 32}, "dimensions": {"lines": ["Rectangular body, 97.91 \u00d7 91.7 \u00d7 10 mm (W\u00d7D\u00d7H).", "Three ribs, 2.7 mm thick, 13.1 mm tall."], "text": "Rectangular body, 97.91 \u00d7 91.7 \u00d7 10 mm (W\u00d7D\u00d7H). Three ribs, 2.7 mm thick, 13.1 mm tall."}, "params": {"base_w": {"type": "float", "default": 97.91, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 91.7, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 10.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 3, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 13.1, "min": 5.2, "max": 26.2, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 2.7, "min": 1.0, "max": 6.8, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329720 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 97.91, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 91.7, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 3, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 13.1, \"min\": 5.2, \"max\": 26.2, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 2.7, \"min\": 1.0, \"max\": 6.8, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462ca039_1157", "family": "lofted", "tier": 0, "seed": 1177329721, "symmetry": "none", "op_count": 1, "ir_hash": "6d4a068311563b1a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 113000.0, "surface_area": 14500.0, "principal_moments": [42000000.0, 51899999.99999999, 51899999.99999999], "n_faces": 7, "n_edges": 15, "n_vertices": 10}, "dimensions": {"lines": ["Lofted body through 2 sections: 60.39 \u00d7 60.39 mm rectangular section \u2192 \u00d820.9 mm circular section."], "text": "Lofted body through 2 sections: 60.39 \u00d7 60.39 mm rectangular section \u2192 \u00d820.9 mm circular section."}, "params": {"loft_base": {"type": "float", "default": 60.39, "min": 30.2, "max": 96.6, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 20.9, "min": 8.4, "max": 72.5, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 66.0, "min": 26.4, "max": 132.0, "step": 1.0, "group": "Body", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329721 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 60.39, \"min\": 30.2, \"max\": 96.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 20.9, \"min\": 8.4, \"max\": 72.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 66.0, \"min\": 26.4, \"max\": 132.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .rect(p[\"loft_base\"], p[\"loft_base\"])\n        .workplane(offset=p[\"loft_h\"])\n        .circle(p[\"loft_top\"] / 2)\n        .loft(combine=True)\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca03a_1158", "family": "revolved", "tier": 0, "seed": 1177329722, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "33b4293aa5993865", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 181000.0, "surface_area": 34700.0, "principal_moments": [67700000.0, 238000000.0, 238000000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d850 mm \u00d7 138 mm tall."], "text": "Revolved body, \u00d850 mm \u00d7 138 mm tall."}, "params": {"outer_d": {"type": "float", "default": 50, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 138.0, "min": 41.4, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329722 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 50, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 138.0, \"min\": 41.4, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462ca03b_1159", "family": "profiled", "tier": 1, "seed": 1177329723, "symmetry": "none", "op_count": 1, "ir_hash": "02730c7187246fb1", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 142000.0, "surface_area": 21700.0, "principal_moments": [18600000.0, 416000000.0, 420000000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["freeform sketched section (4 segments: 2 straight, 2 curves), ~39.855 \u00d7 30.516 mm, extruded 185.8 mm thick."], "text": "freeform sketched section (4 segments: 2 straight, 2 curves), ~39.855 \u00d7 30.516 mm, extruded 185.8 mm thick."}, "params": {"sk_w": {"type": "float", "default": 50, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 35, "min": 17.5, "max": 63.0, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "length": {"type": "float", "default": 185.8, "min": 55.7, "max": 557.4, "step": 5.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329723 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 50, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 35, \"min\": 17.5, \"max\": 63.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 185.8, \"min\": 55.7, \"max\": 557.4, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.439, p[\"sk_h\"] * -0.1784).lineTo(p[\"sk_w\"] * 0.0335, p[\"sk_h\"] * 0.4579).lineTo(p[\"sk_w\"] * -0.3581, p[\"sk_h\"] * 0.0948).bezier([(p[\"sk_w\"] * -0.3581, p[\"sk_h\"] * 0.0948), (p[\"sk_w\"] * -0.3437, p[\"sk_h\"] * -0.1683), (p[\"sk_w\"] * -0.2483, p[\"sk_h\"] * -0.414)]).spline([(p[\"sk_w\"] * -0.2483, p[\"sk_h\"] * -0.414), (p[\"sk_w\"] * 0.1244, p[\"sk_h\"] * -0.381), (p[\"sk_w\"] * 0.439, p[\"sk_h\"] * -0.1784)]).close().extrude(p[\"length\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462ca03c_1160", "family": "lofted", "tier": 0, "seed": 1177329724, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "2579402f348d62cd", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 55800.0, "surface_area": 8270.0, "principal_moments": [10900000.0, 15599999.999999998, 15599999.999999998], "n_faces": 8, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["Lofted body through 2 sections: \u00d845.41 mm circular section \u2192 6-sided polygon section, 34.5 mm across corners."], "text": "Lofted body through 2 sections: \u00d845.41 mm circular section \u2192 6-sided polygon section, 34.5 mm across corners."}, "params": {"loft_base": {"type": "float", "default": 45.41, "min": 22.7, "max": 72.7, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 34.5, "min": 13.8, "max": 54.5, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 47.6, "min": 19.0, "max": 95.2, "step": 1.0, "group": "Body", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329724 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 45.41, \"min\": 22.7, \"max\": 72.7, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 34.5, \"min\": 13.8, \"max\": 54.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 47.6, \"min\": 19.0, \"max\": 95.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .circle(p[\"loft_base\"] / 2)\n        .workplane(offset=p[\"loft_h\"])\n        .polygon(6, p[\"loft_top\"] * 0.5 * 2)\n        .loft(combine=True)\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462ca03d_1161", "family": "threaded", "tier": 1, "seed": 1177329725, "symmetry": "none", "op_count": 1, "ir_hash": "308b464dda252a8d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 40200.0, "surface_area": 12500.0, "principal_moments": [8240000.0, 13799999.999999998, 13799999.999999998], "n_faces": 335, "n_edges": 955, "n_vertices": 622}, "dimensions": {"lines": ["M20x2.5 internal thread, 53.8 mm long."], "text": "M20x2.5 internal thread, 53.8 mm long."}, "params": {"major_d": {"type": "float", "default": 20.0, "min": 4.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Major diameter (mm)"}, "pitch": {"type": "float", "default": 2.5, "min": 1.25, "max": 5.0, "step": 0.05, "group": "Thread", "label": "Pitch (mm)"}, "thread_len": {"type": "float", "default": 53.8, "min": 21.5, "max": 107.6, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329725 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 20.0, \"min\": 4.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Major diameter (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 2.5, \"min\": 1.25, \"max\": 5.0, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Pitch (mm)'},\n    \"thread_len\": {\"type\": 'float', \"default\": 53.8, \"min\": 21.5, \"max\": 107.6, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.IsoThread(major_diameter=p[\"major_d\"], pitch=p[\"pitch\"], length=p[\"thread_len\"], external=False, end_finishes=(\"fade\", \"fade\"))\n    _body = _bd.Cylinder(radius=(p[\"major_d\"]) * 0.9, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _bore = _bd.Cylinder(radius=(p[\"major_d\"]) / 2, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = (_body - _bore) + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462ca03e_1162", "family": "lofted", "tier": 3, "seed": 1177329726, "symmetry": "none", "op_count": 2, "ir_hash": "ea3f7b9be316838f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 19800.0, "surface_area": 5360.0, "principal_moments": [2170000.0, 3220000.0, 3220000.0], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["Lofted body through 3 sections: 6-sided polygon section, 36.27 mm across corners \u2192 \u00d827.2 mm circular section \u2192 18.2 \u00d7 18.2 mm rectangular section.", "One \u00d88.4 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 3 sections: 6-sided polygon section, 36.27 mm across corners \u2192 \u00d827.2 mm circular section \u2192 18.2 \u00d7 18.2 mm rectangular section. One \u00d88.4 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 36.27, "min": 18.1, "max": 58.0, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 18.2, "min": 7.3, "max": 43.5, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 37.4, "min": 15.0, "max": 74.8, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_mid": {"type": "float", "default": 27.2, "min": 9.1, "max": 43.5, "step": 1.0, "group": "Body", "label": "Mid size (mm)"}, "loft_bore_d": {"type": "float", "default": 8.4, "min": 2.0, "max": 14.6, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329726 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 36.27, \"min\": 18.1, \"max\": 58.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 18.2, \"min\": 7.3, \"max\": 43.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 37.4, \"min\": 15.0, \"max\": 74.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_mid\": {\"type\": 'float', \"default\": 27.2, \"min\": 9.1, \"max\": 43.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Mid size (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 2.0, \"max\": 14.6, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .polygon(6, p[\"loft_base\"] * 0.5 * 2)\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .circle(p[\"loft_mid\"] / 2)\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .rect(p[\"loft_top\"], p[\"loft_top\"])\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca03f_1163", "family": "bracket", "tier": 2, "seed": 1177329727, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "09d6c9081058b1da", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 20600.0, "surface_area": 14300.0, "principal_moments": [6920000.0, 22200000.0, 25599999.999999996], "n_faces": 14, "n_edges": 45, "n_vertices": 28}, "dimensions": {"lines": ["L-bracket: base leg 78.33 mm, vertical leg 90 mm, 35 mm wide, 3 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg; 4.3 mm corner gusset."], "text": "L-bracket: base leg 78.33 mm, vertical leg 90 mm, 35 mm wide, 3 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg; 4.3 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 78.33, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 90.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 35, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 3.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 4.3, "min": 1.5, "max": 9.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329727 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 78.33, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 90.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 35, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 4.3, \"min\": 1.5, \"max\": 9.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462ca040_1164", "family": "gear", "tier": 1, "seed": 1177329728, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "44a4b15ece5c7a23", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 53300.0, "surface_area": 13300.0, "principal_moments": [14199999.999999998, 14199999.999999998, 24899999.999999996], "n_faces": 123, "n_edges": 363, "n_vertices": 242}, "dimensions": {"lines": ["Spur gear, module 3 mm, 20 teeth (pitch \u00d860 mm), face width 19.6 mm, \u00d88.8 mm bore."], "text": "Spur gear, module 3 mm, 20 teeth (pitch \u00d860 mm), face width 19.6 mm, \u00d88.8 mm bore."}, "params": {"module": {"type": "float", "default": 3.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 20, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 19.6, "min": 7.8, "max": 49.0, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "bore_d": {"type": "float", "default": 8.8, "min": 2.0, "max": 31.5, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329728 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 3.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 20, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 19.6, \"min\": 7.8, \"max\": 49.0, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 8.8, \"min\": 2.0, \"max\": 31.5, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca041_1165", "family": "revolved", "tier": 0, "seed": 1177329729, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "96be85fa3204ab5b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 134000.0, "surface_area": 25900.0, "principal_moments": [52499999.99999999, 103000000.0, 103000000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d851.08 mm \u00d7 98.1 mm tall."], "text": "Revolved body, \u00d851.08 mm \u00d7 98.1 mm tall."}, "params": {"outer_d": {"type": "float", "default": 51.08, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 98.1, "min": 29.4, "max": 294.3, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329729 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 51.08, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 98.1, \"min\": 29.4, \"max\": 294.3, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca042_1166", "family": "block", "tier": 1, "seed": 1177329730, "symmetry": "none", "op_count": 2, "ir_hash": "989056c0e4b93f40", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 10700.0, "surface_area": 5580.0, "principal_moments": [652000.0, 1740000.0, 2160000.0], "n_faces": 15, "n_edges": 39, "n_vertices": 26}, "dimensions": {"lines": ["Rectangular body, 24.21 \u00d7 11.2 \u00d7 42.7 mm (W\u00d7D\u00d7H).", "Nine \u00d81.7 mm holes in two staggered rows, 4.5 \u00d7 4.8 mm pitch."], "text": "Rectangular body, 24.21 \u00d7 11.2 \u00d7 42.7 mm (W\u00d7D\u00d7H). Nine \u00d81.7 mm holes in two staggered rows, 4.5 \u00d7 4.8 mm pitch."}, "params": {"block_w": {"type": "float", "default": 24.21, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 11.2, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 42.7, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 1.7, "min": 2.0, "max": 1.1, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 5, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329730 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 24.21, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 11.2, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 42.7, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 1.7, \"min\": 2.0, \"max\": 1.1, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 5, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 4.5\n    _ssy = 4.8\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca043_1167", "family": "block", "tier": 1, "seed": 1177329731, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "ae2fef9037b8644f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 291000.0, "surface_area": 42000.0, "principal_moments": [186000000.0, 279000000.0, 392000000.0], "n_faces": 22, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 80 \u00d7 39.4 \u00d7 100 mm (W\u00d7D\u00d7H).", "Four 7.7 mm square holes at the corners, 56 \u00d7 27.58 mm spacing."], "text": "Rectangular body, 80 \u00d7 39.4 \u00d7 100 mm (W\u00d7D\u00d7H). Four 7.7 mm square holes at the corners, 56 \u00d7 27.58 mm spacing."}, "params": {"block_w": {"type": "float", "default": 80, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 39.4, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 100.0, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 7.7, "min": 2.0, "max": 11.5, "step": 0.5, "group": "Holes", "label": "Square hole size (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329731 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 80, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 39.4, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 100.0, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 7.7, \"min\": 2.0, \"max\": 11.5, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Square hole size (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().rect(p[\"hole_d\"], p[\"hole_d\"]).cutThruAll()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca044_1168", "family": "block", "tier": 3, "seed": 1177329732, "symmetry": "none", "op_count": 4, "ir_hash": "33fb92cdfd737436", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 102000.0, "surface_area": 17400.0, "principal_moments": [30799999.999999996, 42000000.0, 52099999.99999999], "n_faces": 14, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 50 \u00d7 35.5 \u00d7 61 mm (W\u00d7D\u00d7H).", "Four \u00d85.3 mm holes at the corners, 35 \u00d7 24.85 mm spacing.", "Fillet radius 3.794 mm on vertical edges.", "Fillet radius 1.806 mm on vertical edges (optional, off by default)."], "text": "Rectangular body, 50 \u00d7 35.5 \u00d7 61 mm (W\u00d7D\u00d7H). Four \u00d85.3 mm holes at the corners, 35 \u00d7 24.85 mm spacing. Fillet radius 3.794 mm on vertical edges. Fillet radius 1.806 mm on vertical edges (optional, off by default)."}, "params": {"block_w": {"type": "float", "default": 50, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 35.5, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 61.0, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 8.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}, "filleted2": {"type": "bool", "default": false, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329732 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 50, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 35.5, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 61.0, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 8.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n    \"filleted2\": {\"type\": 'bool', \"default\": False, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"block_w\"], p[\"block_d\"]) * 0.10688097225419921)\n    if p[\"filleted2\"]:\n        result = result.edges('|Z').fillet(min(p[\"block_w\"], p[\"block_d\"]) * 0.05087936402650332)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca045_1169", "family": "plate", "tier": 0, "seed": 1177329733, "symmetry": "none", "op_count": 1, "ir_hash": "b373e09dcca1c464", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 19200.0, "surface_area": 6570.0, "principal_moments": [1480000.0, 10700000.0, 11999999.999999998], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 81.56 \u00d7 29.4 \u00d7 8 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 81.56 \u00d7 29.4 \u00d7 8 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 81.56, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 29.4, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329733 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 81.56, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 29.4, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462ca046_1170", "family": "gear", "tier": 1, "seed": 1177329734, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "6861f171f397682c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 5840.0, "surface_area": 3050.0, "principal_moments": [372000.0, 372000.0, 673000.0], "n_faces": 147, "n_edges": 435, "n_vertices": 290}, "dimensions": {"lines": ["Spur gear, module 1.25 mm, 24 teeth (pitch \u00d830 mm), face width 8.5 mm, \u00d83.7 mm bore."], "text": "Spur gear, module 1.25 mm, 24 teeth (pitch \u00d830 mm), face width 8.5 mm, \u00d83.7 mm bore."}, "params": {"module": {"type": "float", "default": 1.25, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 24, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 8.5, "min": 3.4, "max": 21.2, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "bore_d": {"type": "float", "default": 3.7, "min": 2.0, "max": 16.1, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329734 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 1.25, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 24, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 8.5, \"min\": 3.4, \"max\": 21.2, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 3.7, \"min\": 2.0, \"max\": 16.1, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462ca047_1171", "family": "lofted", "tier": 2, "seed": 1177329735, "symmetry": "none", "op_count": 2, "ir_hash": "117c34b3fc754947", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 61300.0, "surface_area": 11900.0, "principal_moments": [15699999.999999998, 21600000.0, 21700000.0], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["Lofted body through 3 sections: 50 \u00d7 50 mm rectangular section \u2192 \u00d833.7 mm circular section \u2192 6-sided polygon section, 17.4 mm across corners.", "One \u00d89.6 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 3 sections: 50 \u00d7 50 mm rectangular section \u2192 \u00d833.7 mm circular section \u2192 6-sided polygon section, 17.4 mm across corners. One \u00d89.6 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 50, "min": 25.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 17.4, "min": 7.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 63.1, "min": 25.2, "max": 126.2, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_mid": {"type": "float", "default": 33.7, "min": 8.7, "max": 60.0, "step": 1.0, "group": "Body", "label": "Mid size (mm)"}, "loft_bore_d": {"type": "float", "default": 9.6, "min": 2.0, "max": 13.9, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329735 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 50, \"min\": 25.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 17.4, \"min\": 7.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 63.1, \"min\": 25.2, \"max\": 126.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_mid\": {\"type\": 'float', \"default\": 33.7, \"min\": 8.7, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Mid size (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 9.6, \"min\": 2.0, \"max\": 13.9, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .rect(p[\"loft_base\"], p[\"loft_base\"])\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .circle(p[\"loft_mid\"] / 2)\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .polygon(6, p[\"loft_top\"] * 0.5 * 2)\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca048_1172", "family": "compound", "tier": 2, "seed": 1177329736, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "1b95ba7762247776", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 41100.0, "surface_area": 8710.0, "principal_moments": [8300000.0, 9090000.0, 9090000.0], "n_faces": 15, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Lofted body through 3 sections: \u00d847.16 mm circular section \u2192 \u00d838.6 mm circular section \u2192 30.1 \u00d7 30.1 mm rectangular section.", "6-sided polygon section, 18.6 mm across corners attachment, 13.3 mm long, from top face with a \u00d88 mm bore."], "text": "Lofted body through 3 sections: \u00d847.16 mm circular section \u2192 \u00d838.6 mm circular section \u2192 30.1 \u00d7 30.1 mm rectangular section. 6-sided polygon section, 18.6 mm across corners attachment, 13.3 mm long, from top face with a \u00d88 mm bore."}, "params": {"adapter_base": {"type": "float", "default": 47.16, "min": 28.3, "max": 70.7, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "adapter_top": {"type": "float", "default": 30.1, "min": 15.1, "max": 47.2, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "adapter_h": {"type": "float", "default": 33.1, "min": 13.2, "max": 66.2, "step": 1.0, "group": "Body", "label": "Transition height (mm)"}, "adapter_mid": {"type": "float", "default": 38.6, "min": 15.1, "max": 47.2, "step": 1.0, "group": "Body", "label": "Mid size (mm)"}, "neck_sides": {"type": "int", "default": 6, "min": 3, "max": 8, "step": 1, "group": "Neck", "label": "Neck sides"}, "neck_r": {"type": "float", "default": 9.3, "min": 4.7, "max": 15.1, "step": 1.0, "group": "Neck", "label": "Neck circumradius (mm)"}, "neck_l": {"type": "float", "default": 13.3, "min": 5.3, "max": 33.2, "step": 1.0, "group": "Neck", "label": "Neck length (mm)"}, "neck_bore": {"type": "float", "default": 8.0, "min": 2.0, "max": 11.6, "step": 0.5, "group": "Neck", "label": "Neck bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329736 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"adapter_base\": {\"type\": 'float', \"default\": 47.16, \"min\": 28.3, \"max\": 70.7, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"adapter_top\": {\"type\": 'float', \"default\": 30.1, \"min\": 15.1, \"max\": 47.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"adapter_h\": {\"type\": 'float', \"default\": 33.1, \"min\": 13.2, \"max\": 66.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Transition height (mm)'},\n    \"adapter_mid\": {\"type\": 'float', \"default\": 38.6, \"min\": 15.1, \"max\": 47.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Mid size (mm)'},\n    \"neck_sides\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Neck', \"label\": 'Neck sides'},\n    \"neck_r\": {\"type\": 'float', \"default\": 9.3, \"min\": 4.7, \"max\": 15.1, \"step\": 1.0, \"group\": 'Neck', \"label\": 'Neck circumradius (mm)'},\n    \"neck_l\": {\"type\": 'float', \"default\": 13.3, \"min\": 5.3, \"max\": 33.2, \"step\": 1.0, \"group\": 'Neck', \"label\": 'Neck length (mm)'},\n    \"neck_bore\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 11.6, \"step\": 0.5, \"group\": 'Neck', \"label\": 'Neck bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .circle(p[\"adapter_base\"] / 2)\n        .workplane(offset=p[\"adapter_h\"] * 0.5)\n        .circle(p[\"adapter_mid\"] / 2)\n        .workplane(offset=p[\"adapter_h\"] * 0.5)\n        .rect(p[\"adapter_top\"], p[\"adapter_top\"])\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"neck_sides\"], p[\"neck_r\"] * 2).extrude(p[\"neck_l\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"neck_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca049_1173", "family": "revolved", "tier": 1, "seed": 1177329737, "symmetry": "none", "op_count": 2, "ir_hash": "e066ff0366c1bb8b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 338000.0, "surface_area": 53500.0, "principal_moments": [183000000.0, 733000000.0, 733000000.0], "n_faces": 5, "n_edges": 8, "n_vertices": 5}, "dimensions": {"lines": ["Revolved body, \u00d860.08 mm \u00d7 178.8 mm tall.", "Chamfer 0.5 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d860.08 mm \u00d7 178.8 mm tall. Chamfer 0.5 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 60.08, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 178.8, "min": 53.6, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "end_chamfer": {"type": "float", "default": 0.5, "min": 0.1, "max": 1.5, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329737 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 60.08, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 178.8, \"min\": 53.6, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.5, \"min\": 0.1, \"max\": 1.5, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca04a_1174", "family": "block", "tier": 2, "seed": 1177329738, "symmetry": "none", "op_count": 3, "ir_hash": "e50f924fee2dc011", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 182000.0, "surface_area": 29200.0, "principal_moments": [69500000.0, 170000000.0, 212000000.0], "n_faces": 12, "n_edges": 27, "n_vertices": 18}, "dimensions": {"lines": ["Rectangular body, 62.01 \u00d7 30.3 \u00d7 100 mm (W\u00d7D\u00d7H).", "Four \u00d85.3 mm holes at the corners, 43.407 \u00d7 21.21 mm spacing.", "Boss \u00d820.4 mm \u00d7 7.6 mm tall on top face."], "text": "Rectangular body, 62.01 \u00d7 30.3 \u00d7 100 mm (W\u00d7D\u00d7H). Four \u00d85.3 mm holes at the corners, 43.407 \u00d7 21.21 mm spacing. Boss \u00d820.4 mm \u00d7 7.6 mm tall on top face."}, "params": {"block_w": {"type": "float", "default": 62.01, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 30.3, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 100.0, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 6.8, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "boss_d": {"type": "float", "default": 20.4, "min": 10.2, "max": 40.8, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 7.6, "min": 3.0, "max": 19.0, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329738 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 62.01, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 30.3, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 100.0, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 6.8, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"boss_d\": {\"type\": 'float', \"default\": 20.4, \"min\": 10.2, \"max\": 40.8, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 7.6, \"min\": 3.0, \"max\": 19.0, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462ca04b_1175", "family": "tapped", "tier": 2, "seed": 1177329739, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "731082bb516bfacf", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 17800.0, "surface_area": 5050.0, "principal_moments": [2130000.0, 2130000.0, 3170000.0], "n_faces": 128, "n_edges": 356, "n_vertices": 230}, "dimensions": {"lines": ["One M12x1.75 tapped hole in a cylinder."], "text": "One M12x1.75 tapped hole in a cylinder."}, "params": {"major_d": {"type": "float", "default": 12.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 1.75, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 19.2, "min": 14.4, "max": 34.6, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "body_d": {"type": "float", "default": 36.1, "min": 21.6, "max": 57.8, "step": 1.0, "group": "Body", "label": "Outer \u00d8 (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329739 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 12.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.75, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 19.2, \"min\": 14.4, \"max\": 34.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"body_d\": {\"type\": 'float', \"default\": 36.1, \"min\": 21.6, \"max\": 57.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer \u00d8 (mm)'},\n}\n\n\ndef build(p):\n\n    _W = _D = p[\"body_d\"]\n    _H = p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Cylinder(radius=_W / 2, height=_H)\n    _locs = [(0.0, 0.0)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462ca04c_1176", "family": "ribbed", "tier": 3, "seed": 1177329740, "symmetry": "none", "op_count": 3, "ir_hash": "b08d75066830fca2", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 45900.0, "surface_area": 20000.0, "principal_moments": [18300000.0, 44200000.0, 60899999.99999999], "n_faces": 26, "n_edges": 64, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 100 \u00d7 65.5 \u00d7 6 mm (W\u00d7D\u00d7H).", "Two ribs, 3.2 mm thick, 13.5 mm tall.", "Four \u00d84.3 mm holes at the corners, 70 \u00d7 45.85 mm spacing."], "text": "Rectangular body, 100 \u00d7 65.5 \u00d7 6 mm (W\u00d7D\u00d7H). Two ribs, 3.2 mm thick, 13.5 mm tall. Four \u00d84.3 mm holes at the corners, 70 \u00d7 45.85 mm spacing."}, "params": {"base_w": {"type": "float", "default": 100.0, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 65.5, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 6.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 2, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 13.5, "min": 5.4, "max": 27.0, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 3.2, "min": 1.0, "max": 8.0, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329740 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 100.0, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 65.5, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 2, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 13.5, \"min\": 5.4, \"max\": 27.0, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 3.2, \"min\": 1.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"base_w\"] * 0.7, p[\"base_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca04d_1177", "family": "compound", "tier": 2, "seed": 1177329741, "symmetry": "none", "op_count": 3, "ir_hash": "c605d1bf724c887e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 185000.0, "surface_area": 22100.0, "principal_moments": [90800000.0, 103000000.0, 116000000.0], "n_faces": 13, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Rectangular body, 50.45 \u00d7 63 \u00d7 58.1 mm (W\u00d7D\u00d7H).", "\u00d812.7 mm circular section attachment, 21.5 mm long, from back face with a \u00d85.4 mm bore.", "Four \u00d83.2 mm holes at the corners, 35.315 \u00d7 44.1 mm spacing."], "text": "Rectangular body, 50.45 \u00d7 63 \u00d7 58.1 mm (W\u00d7D\u00d7H). \u00d812.7 mm circular section attachment, 21.5 mm long, from back face with a \u00d85.4 mm bore. Four \u00d83.2 mm holes at the corners, 35.315 \u00d7 44.1 mm spacing."}, "params": {"block_w": {"type": "float", "default": 50.45, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 63.0, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 58.1, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "spig_d": {"type": "float", "default": 12.7, "min": 5.1, "max": 35.3, "step": 1.0, "group": "Spigot", "label": "Spigot diameter (mm)"}, "spig_len": {"type": "float", "default": 21.5, "min": 3.8, "max": 50.8, "step": 1.0, "group": "Spigot", "label": "Spigot length (mm)"}, "spig_bore": {"type": "float", "default": 5.4, "min": 2.0, "max": 9.1, "step": 0.5, "group": "Spigot", "label": "Bore diameter (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 11.4, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329741 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 50.45, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 63.0, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 58.1, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"spig_d\": {\"type\": 'float', \"default\": 12.7, \"min\": 5.1, \"max\": 35.3, \"step\": 1.0, \"group\": 'Spigot', \"label\": 'Spigot diameter (mm)'},\n    \"spig_len\": {\"type\": 'float', \"default\": 21.5, \"min\": 3.8, \"max\": 50.8, \"step\": 1.0, \"group\": 'Spigot', \"label\": 'Spigot length (mm)'},\n    \"spig_bore\": {\"type\": 'float', \"default\": 5.4, \"min\": 2.0, \"max\": 9.1, \"step\": 0.5, \"group\": 'Spigot', \"label\": 'Bore diameter (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 11.4, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"spig_d\"] / 2).extrude(p[\"spig_len\"])\n    )\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"spig_bore\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca04f_1179", "family": "block", "tier": 1, "seed": 1177329743, "symmetry": "none", "op_count": 2, "ir_hash": "389e630ab0d98a59", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 73300.0, "surface_area": 15400.0, "principal_moments": [20900000.0, 26899999.999999996, 41800000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 54.74 \u00d7 22.5 \u00d7 62.5 mm (W\u00d7D\u00d7H).", "Four \u00d84.3 mm holes at the corners, 38.318 \u00d7 15.75 mm spacing."], "text": "Rectangular body, 54.74 \u00d7 22.5 \u00d7 62.5 mm (W\u00d7D\u00d7H). Four \u00d84.3 mm holes at the corners, 38.318 \u00d7 15.75 mm spacing."}, "params": {"block_w": {"type": "float", "default": 54.74, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 22.5, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 62.5, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 5.1, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329743 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 54.74, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 22.5, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 62.5, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 5.1, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462ca050_1180", "family": "gear", "tier": 0, "seed": 1177329744, "symmetry": "none", "op_count": 1, "ir_hash": "543cf8299d58156b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 29500.0, "surface_area": 11700.0, "principal_moments": [10200000.0, 10200000.0, 20200000.0], "n_faces": 224, "n_edges": 666, "n_vertices": 444}, "dimensions": {"lines": ["Spur gear, module 2 mm, 37 teeth (pitch \u00d874 mm), face width 6.9 mm."], "text": "Spur gear, module 2 mm, 37 teeth (pitch \u00d874 mm), face width 6.9 mm."}, "params": {"module": {"type": "float", "default": 2.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 37, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 6.9, "min": 2.8, "max": 17.2, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329744 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 2.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 37, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 6.9, \"min\": 2.8, \"max\": 17.2, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca051_1181", "family": "plate", "tier": 0, "seed": 1177329745, "symmetry": "none", "op_count": 1, "ir_hash": "28b9468aa983fbf3", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 5090.0, "surface_area": 2170.0, "principal_moments": [134000.0, 706000.0, 786000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 40 \u00d7 15.9 \u00d7 8 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 40 \u00d7 15.9 \u00d7 8 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 40, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 15.9, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329745 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 40, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 15.9, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca053_1183", "family": "revolved", "tier": 1, "seed": 1177329747, "symmetry": "none", "op_count": 1, "ir_hash": "f799750b4b4918e3", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 199000.0, "surface_area": 35100.0, "principal_moments": [64699999.99999999, 417000000.0, 417000000.0], "n_faces": 4, "n_edges": 6, "n_vertices": 4}, "dimensions": {"lines": ["Revolved body, \u00d846.18 mm \u00d7 152.3 mm tall with \u00d821.7 mm bore."], "text": "Revolved body, \u00d846.18 mm \u00d7 152.3 mm tall with \u00d821.7 mm bore."}, "params": {"outer_d": {"type": "float", "default": 46.18, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 152.3, "min": 45.7, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 21.7, "min": 2.0, "max": 32.3, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329747 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 46.18, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 152.3, \"min\": 45.7, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 21.7, \"min\": 2.0, \"max\": 32.3, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462ca054_1184", "family": "gear", "tier": 0, "seed": 1177329748, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "4a3f876df7308219", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 211000.0, "surface_area": 33000.0, "principal_moments": [155000000.0, 155000000.0, 287000000.0], "n_faces": 158, "n_edges": 468, "n_vertices": 312}, "dimensions": {"lines": ["Spur gear, module 4 mm, 26 teeth (pitch \u00d8104 mm), face width 25.1 mm."], "text": "Spur gear, module 4 mm, 26 teeth (pitch \u00d8104 mm), face width 25.1 mm."}, "params": {"module": {"type": "float", "default": 4.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 26, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 25.1, "min": 10.0, "max": 62.8, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329748 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 4.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 26, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 25.1, \"min\": 10.0, \"max\": 62.8, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462ca055_1185", "family": "sketched", "tier": 2, "seed": 1177329749, "symmetry": "none", "op_count": 3, "ir_hash": "579638ace97d3966", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 42900.0, "surface_area": 9890.0, "principal_moments": [11100000.0, 11799999.999999998, 21000000.0], "n_faces": 11, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["freeform sketched section (6 segments: 3 straight, 2 arcs, 1 curve), ~62.028 \u00d7 60.631 mm, extruded 15 mm thick.", "One \u00d86.4 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch.", "Boss \u00d823.7 mm \u00d7 5.5 mm tall on top face with a \u00d813 mm bore."], "text": "freeform sketched section (6 segments: 3 straight, 2 arcs, 1 curve), ~62.028 \u00d7 60.631 mm, extruded 15 mm thick. One \u00d86.4 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch. Boss \u00d823.7 mm \u00d7 5.5 mm tall on top face with a \u00d813 mm bore."}, "params": {"sk_w": {"type": "float", "default": 83.36, "min": 41.7, "max": 150.0, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 85, "min": 42.5, "max": 153.0, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "sk_t": {"type": "float", "default": 15, "min": 6.0, "max": 33.0, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "sk_hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 12.8, "step": 0.5, "group": "Holes", "label": "Hole diameter (mm)"}, "boss_d": {"type": "float", "default": 23.7, "min": 11.8, "max": 47.4, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 5.5, "min": 2.2, "max": 13.8, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}, "boss_bore_d": {"type": "float", "default": 13.0, "min": 2.0, "max": 16.6, "step": 0.1, "group": "Boss", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329749 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 83.36, \"min\": 41.7, \"max\": 150.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 85, \"min\": 42.5, \"max\": 153.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"sk_t\": {\"type\": 'float', \"default\": 15, \"min\": 6.0, \"max\": 33.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"sk_hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 12.8, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"boss_d\": {\"type\": 'float', \"default\": 23.7, \"min\": 11.8, \"max\": 47.4, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 5.5, \"min\": 2.2, \"max\": 13.8, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n    \"boss_bore_d\": {\"type\": 'float', \"default\": 13.0, \"min\": 2.0, \"max\": 16.6, \"step\": 0.1, \"group\": 'Boss', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.3112, p[\"sk_h\"] * -0.0791).threePointArc((p[\"sk_w\"] * 0.3417, p[\"sk_h\"] * 0.133), (p[\"sk_w\"] * 0.3276, p[\"sk_h\"] * 0.3205)).spline([(p[\"sk_w\"] * 0.3276, p[\"sk_h\"] * 0.3205), (p[\"sk_w\"] * 0.0971, p[\"sk_h\"] * 0.346), (p[\"sk_w\"] * -0.1338, p[\"sk_h\"] * 0.324)]).threePointArc((p[\"sk_w\"] * -0.3067, p[\"sk_h\"] * 0.1137), (p[\"sk_w\"] * -0.4165, p[\"sk_h\"] * -0.1241)).lineTo(p[\"sk_w\"] * -0.1795, p[\"sk_h\"] * -0.2669).lineTo(p[\"sk_w\"] * 0.3031, p[\"sk_h\"] * -0.3893).lineTo(p[\"sk_w\"] * 0.3112, p[\"sk_h\"] * -0.0791).close().extrude(p[\"sk_t\"]))\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"sk_hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .hole(p[\"boss_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca056_1186", "family": "block", "tier": 3, "seed": 1177329750, "symmetry": "none", "op_count": 4, "ir_hash": "3183306fb803c108", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 178000.0, "surface_area": 28400.0, "principal_moments": [102000000.0, 118000000.0, 192000000.0], "n_faces": 15, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 75.05 \u00d7 30.1 \u00d7 85.6 mm (W\u00d7D\u00d7H).", "Four \u00d83.2 mm holes at the corners, 52.535 \u00d7 21.07 mm spacing.", "Pocket 33.1 \u00d7 14 mm, 26.8 mm deep, in top face.", "Fillet radius 1.657 mm on vertical edges (optional, off by default)."], "text": "Rectangular body, 75.05 \u00d7 30.1 \u00d7 85.6 mm (W\u00d7D\u00d7H). Four \u00d83.2 mm holes at the corners, 52.535 \u00d7 21.07 mm spacing. Pocket 33.1 \u00d7 14 mm, 26.8 mm deep, in top face. Fillet radius 1.657 mm on vertical edges (optional, off by default)."}, "params": {"block_w": {"type": "float", "default": 75.05, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 30.1, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 85.6, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 6.8, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "pocket_w": {"type": "float", "default": 33.1, "min": 16.6, "max": 60.0, "step": 1.0, "group": "Pocket", "label": "Pocket width (mm)"}, "pocket_d": {"type": "float", "default": 14.0, "min": 7.0, "max": 24.1, "step": 1.0, "group": "Pocket", "label": "Pocket depth (mm)"}, "pocket_h": {"type": "float", "default": 26.8, "min": 10.7, "max": 72.8, "step": 0.5, "group": "Pocket", "label": "Pocket height (mm)"}, "filleted2": {"type": "bool", "default": false, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329750 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 75.05, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 30.1, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 85.6, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 6.8, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"pocket_w\": {\"type\": 'float', \"default\": 33.1, \"min\": 16.6, \"max\": 60.0, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket width (mm)'},\n    \"pocket_d\": {\"type\": 'float', \"default\": 14.0, \"min\": 7.0, \"max\": 24.1, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket depth (mm)'},\n    \"pocket_h\": {\"type\": 'float', \"default\": 26.8, \"min\": 10.7, \"max\": 72.8, \"step\": 0.5, \"group\": 'Pocket', \"label\": 'Pocket height (mm)'},\n    \"filleted2\": {\"type\": 'bool', \"default\": False, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"pocket_w\"], p[\"pocket_d\"])\n        .cutBlind(-p[\"pocket_h\"])\n    )\n    if p[\"filleted2\"]:\n        result = result.edges('|Z').fillet(min(p[\"block_w\"], p[\"block_d\"]) * 0.05506551522700972)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca057_1187", "family": "plate", "tier": 0, "seed": 1177329751, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "c40b53a2da036e88", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 7800.0, "surface_area": 3490.0, "principal_moments": [567000.0, 1340000.0, 1860000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 45 \u00d7 28.9 \u00d7 6 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 45 \u00d7 28.9 \u00d7 6 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 45, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 28.9, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 6.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329751 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 45, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 28.9, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca058_1188", "family": "plate", "tier": 1, "seed": 1177329752, "symmetry": "none", "op_count": 2, "ir_hash": "d55e37460e6a0d33", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 36100.0, "surface_area": 10600.0, "principal_moments": [8260000.0, 16299999.999999998, 23999999.999999996], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["Rectangular body, 72.71 \u00d7 51 \u00d7 10 mm (W\u00d7D\u00d7H).", "Seven \u00d84.3 mm holes in two staggered rows, 18.2 \u00d7 17.4 mm pitch."], "text": "Rectangular body, 72.71 \u00d7 51 \u00d7 10 mm (W\u00d7D\u00d7H). Seven \u00d84.3 mm holes in two staggered rows, 18.2 \u00d7 17.4 mm pitch."}, "params": {"plate_w": {"type": "float", "default": 72.71, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 51.0, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 5.1, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 4, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329752 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 72.71, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 51.0, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 5.1, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 4, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 18.2\n    _ssy = 17.4\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462ca059_1189", "family": "sketched", "tier": 2, "seed": 1177329753, "symmetry": "mirror_xy", "op_count": 3, "ir_hash": "ee6745ccd0db05cf", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 67900.0, "surface_area": 11200.0, "principal_moments": [17100000.0, 20900000.0, 30699999.999999996], "n_faces": 13, "n_edges": 27, "n_vertices": 18}, "dimensions": {"lines": ["freeform sketched section (6 segments: 2 straight, 1 arc, 3 curves), ~62.956 \u00d7 59.791 mm, extruded 25 mm thick.", "One \u00d86.4 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch.", "Boss \u00d89.3 mm \u00d7 8.5 mm tall on top face with a \u00d83.2 mm bore."], "text": "freeform sketched section (6 segments: 2 straight, 1 arc, 3 curves), ~62.956 \u00d7 59.791 mm, extruded 25 mm thick. One \u00d86.4 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch. Boss \u00d89.3 mm \u00d7 8.5 mm tall on top face with a \u00d83.2 mm bore."}, "params": {"sk_w": {"type": "float", "default": 89.11, "min": 44.6, "max": 160.4, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 72.09, "min": 36.0, "max": 129.8, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "sk_t": {"type": "float", "default": 25, "min": 10.0, "max": 55.0, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "sk_hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 12.8, "step": 0.5, "group": "Holes", "label": "Hole diameter (mm)"}, "boss_d": {"type": "float", "default": 9.3, "min": 4.7, "max": 18.6, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 8.5, "min": 3.4, "max": 21.2, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}, "boss_bore_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 6.5, "step": 0.1, "group": "Boss", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329753 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 89.11, \"min\": 44.6, \"max\": 160.4, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 72.09, \"min\": 36.0, \"max\": 129.8, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"sk_t\": {\"type\": 'float', \"default\": 25, \"min\": 10.0, \"max\": 55.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"sk_hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 12.8, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"boss_d\": {\"type\": 'float', \"default\": 9.3, \"min\": 4.7, \"max\": 18.6, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 8.5, \"min\": 3.4, \"max\": 21.2, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n    \"boss_bore_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 6.5, \"step\": 0.1, \"group\": 'Boss', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.3526, p[\"sk_h\"] * 0.0989).spline([(p[\"sk_w\"] * 0.3526, p[\"sk_h\"] * 0.0989), (p[\"sk_w\"] * 0.3794, p[\"sk_h\"] * 0.1999), (p[\"sk_w\"] * 0.3498, p[\"sk_h\"] * 0.3001)]).spline([(p[\"sk_w\"] * 0.3498, p[\"sk_h\"] * 0.3001), (p[\"sk_w\"] * 0.1027, p[\"sk_h\"] * 0.3956), (p[\"sk_w\"] * -0.1605, p[\"sk_h\"] * 0.4249)]).lineTo(p[\"sk_w\"] * -0.3539, p[\"sk_h\"] * 0.027).bezier([(p[\"sk_w\"] * -0.3539, p[\"sk_h\"] * 0.027), (p[\"sk_w\"] * -0.2873, p[\"sk_h\"] * -0.162), (p[\"sk_w\"] * -0.1713, p[\"sk_h\"] * -0.3254)]).threePointArc((p[\"sk_w\"] * -0.0348, p[\"sk_h\"] * -0.4071), (p[\"sk_w\"] * 0.1128, p[\"sk_h\"] * -0.4045)).lineTo(p[\"sk_w\"] * 0.3526, p[\"sk_h\"] * 0.0989).close().extrude(p[\"sk_t\"]))\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"sk_hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .hole(p[\"boss_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca05a_1190", "family": "plate", "tier": 2, "seed": 1177329754, "symmetry": "mirror_xy", "op_count": 3, "ir_hash": "8e971260c3dd9a23", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 19200.0, "surface_area": 8030.0, "principal_moments": [2870000.0, 9400000.0, 12199999.999999998], "n_faces": 14, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 77.01 \u00d7 42.2 \u00d7 6 mm (W\u00d7D\u00d7H).", "Four \u00d83.2 mm holes at the corners, 53.907 \u00d7 29.54 mm spacing.", "Chamfer 3 mm on vertical edges."], "text": "Rectangular body, 77.01 \u00d7 42.2 \u00d7 6 mm (W\u00d7D\u00d7H). Four \u00d83.2 mm holes at the corners, 53.907 \u00d7 29.54 mm spacing. Chamfer 3 mm on vertical edges."}, "params": {"plate_w": {"type": "float", "default": 77.01, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 42.2, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 6.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 9.5, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "chamfer_d": {"type": "float", "default": 3.0, "min": 1.7, "max": 3.5, "step": 0.5, "group": "Body", "label": "Chamfer distance (mm)"}, "chamfered": {"type": "bool", "default": true, "group": "Body", "label": "Chamfer edges"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329754 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 77.01, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 42.2, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 9.5, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"chamfer_d\": {\"type\": 'float', \"default\": 3.0, \"min\": 1.7, \"max\": 3.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Chamfer distance (mm)'},\n    \"chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Chamfer edges'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"chamfered\"]:\n        result = result.edges('|Z').chamfer(p[\"chamfer_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca05b_1191", "family": "bracket", "tier": 1, "seed": 1177329755, "symmetry": "none", "op_count": 1, "ir_hash": "b6d76d549ea961e0", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 9830.0, "surface_area": 7720.0, "principal_moments": [3650000.0, 5130000.0, 8070000.0], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["C-channel bracket: base leg 52.41 mm, vertical leg 56.3 mm, 20.76 mm wide, 3 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."], "text": "C-channel bracket: base leg 52.41 mm, vertical leg 56.3 mm, 20.76 mm wide, 3 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 52.41, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 56.3, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 20.76, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 3.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 8.3, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329755 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 52.41, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 56.3, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 20.76, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 8.3, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462ca05c_1192", "family": "gear", "tier": 2, "seed": 1177329756, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "1ca03602ed638d7f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 14000.0, "surface_area": 5780.0, "principal_moments": [1780000.0, 1780000.0, 3290000.0], "n_faces": 131, "n_edges": 387, "n_vertices": 258}, "dimensions": {"lines": ["Helical gear, module 2.5 mm, 16 teeth (pitch \u00d840 mm), face width 10.8 mm, 22.3\u00b0 helix, \u00d88.5 mm bore."], "text": "Helical gear, module 2.5 mm, 16 teeth (pitch \u00d840 mm), face width 10.8 mm, 22.3\u00b0 helix, \u00d88.5 mm bore."}, "params": {"module": {"type": "float", "default": 2.5, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 16, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 10.8, "min": 4.3, "max": 27.0, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "helix_angle": {"type": "float", "default": 22.3, "min": 5.0, "max": 40.0, "step": 1.0, "group": "Gear", "label": "Helix angle (deg)"}, "profile_shift": {"type": "float", "default": -0.25, "min": -0.5, "max": 0.7, "step": 0.05, "group": "Gear", "label": "Profile shift"}, "root_fillet": {"type": "float", "default": 0.45, "min": 0.0, "max": 1.25, "step": 0.05, "group": "Gear", "label": "Root fillet (mm)"}, "bore_d": {"type": "float", "default": 8.5, "min": 2.0, "max": 20.2, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329756 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 2.5, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 16, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 10.8, \"min\": 4.3, \"max\": 27.0, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"helix_angle\": {\"type\": 'float', \"default\": 22.3, \"min\": 5.0, \"max\": 40.0, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Helix angle (deg)'},\n    \"profile_shift\": {\"type\": 'float', \"default\": -0.25, \"min\": -0.5, \"max\": 0.7, \"step\": 0.05, \"group\": 'Gear', \"label\": 'Profile shift'},\n    \"root_fillet\": {\"type\": 'float', \"default\": 0.45, \"min\": 0.0, \"max\": 1.25, \"step\": 0.05, \"group\": 'Gear', \"label\": 'Root fillet (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 8.5, \"min\": 2.0, \"max\": 20.2, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.HelicalGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"], helix_angle=math.radians(p[\"helix_angle\"]), herringbone=False, profile_shift=p[\"profile_shift\"], root_fillet=p[\"root_fillet\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca05d_1193", "family": "bracket", "tier": 1, "seed": 1177329757, "symmetry": "none", "op_count": 1, "ir_hash": "1bb9d43b38d0d603", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 19100.0, "surface_area": 9340.0, "principal_moments": [4180000.0, 9540000.0, 9760000.0], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["C-channel bracket: base leg 51.69 mm, vertical leg 34.6 mm, 35 mm wide, 5 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."], "text": "C-channel bracket: base leg 51.69 mm, vertical leg 34.6 mm, 35 mm wide, 5 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 51.69, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 34.6, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 35, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 5.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329757 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 51.69, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 34.6, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 35, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca05e_1194", "family": "revolved", "tier": 0, "seed": 1177329758, "symmetry": "radial", "op_count": 1, "ir_hash": "1cb95aa21f476780", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 58800.0, "surface_area": 16200.0, "principal_moments": [10800000.0, 34700000.0, 34700000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d835 mm \u00d7 91.6 mm tall."], "text": "Revolved body, \u00d835 mm \u00d7 91.6 mm tall."}, "params": {"outer_d": {"type": "float", "default": 35, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 91.6, "min": 27.5, "max": 274.8, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329758 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 35, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 91.6, \"min\": 27.5, \"max\": 274.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462ca05f_1195", "family": "lofted", "tier": 0, "seed": 1177329759, "symmetry": "none", "op_count": 1, "ir_hash": "912fd2bfebceb0be", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 75200.0, "surface_area": 10100.0, "principal_moments": [21000000.0, 22300000.0, 22300000.0], "n_faces": 7, "n_edges": 15, "n_vertices": 10}, "dimensions": {"lines": ["Lofted body through 2 sections: \u00d849.93 mm circular section \u2192 38.5 \u00d7 38.5 mm rectangular section."], "text": "Lofted body through 2 sections: \u00d849.93 mm circular section \u2192 38.5 \u00d7 38.5 mm rectangular section."}, "params": {"loft_base": {"type": "float", "default": 49.93, "min": 25.0, "max": 79.9, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 38.5, "min": 15.4, "max": 59.9, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 43.6, "min": 17.4, "max": 87.2, "step": 1.0, "group": "Body", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329759 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 49.93, \"min\": 25.0, \"max\": 79.9, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 38.5, \"min\": 15.4, \"max\": 59.9, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 43.6, \"min\": 17.4, \"max\": 87.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .circle(p[\"loft_base\"] / 2)\n        .workplane(offset=p[\"loft_h\"])\n        .rect(p[\"loft_top\"], p[\"loft_top\"])\n        .loft(combine=True)\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462ca060_1196", "family": "threaded", "tier": 0, "seed": 1177329760, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "a1d518243aaacc6c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 2580.0, "surface_area": 1940.0, "principal_moments": [27100.0, 351000.0, 351000.0], "n_faces": 270, "n_edges": 692, "n_vertices": 424}, "dimensions": {"lines": ["M10x1.5 external thread, 39.8 mm long."], "text": "M10x1.5 external thread, 39.8 mm long."}, "params": {"major_d": {"type": "float", "default": 10.0, "min": 4.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Major diameter (mm)"}, "pitch": {"type": "float", "default": 1.5, "min": 0.75, "max": 3.0, "step": 0.05, "group": "Thread", "label": "Pitch (mm)"}, "thread_len": {"type": "float", "default": 39.8, "min": 15.9, "max": 79.6, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329760 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 10.0, \"min\": 4.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Major diameter (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.5, \"min\": 0.75, \"max\": 3.0, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Pitch (mm)'},\n    \"thread_len\": {\"type\": 'float', \"default\": 39.8, \"min\": 15.9, \"max\": 79.6, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.IsoThread(major_diameter=p[\"major_d\"], pitch=p[\"pitch\"], length=p[\"thread_len\"], external=True, end_finishes=(\"fade\", \"fade\"))\n    _r = _thr.min_radius if hasattr(_thr, 'min_radius') else _thr.root_radius\n    _shank = _bd.Cylinder(radius=_r, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = _shank + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462ca061_1197", "family": "enclosure", "tier": 1, "seed": 1177329761, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "1d401ad5641746cd", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 23000.0, "surface_area": 20600.0, "principal_moments": [7510000.0, 19500000.0, 21800000.0], "n_faces": 11, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 80 \u00d7 38.1 \u00d7 33 mm (W\u00d7D\u00d7H).", "Hollowed to 2.3 mm wall thickness, open at top face."], "text": "Rectangular body, 80 \u00d7 38.1 \u00d7 33 mm (W\u00d7D\u00d7H). Hollowed to 2.3 mm wall thickness, open at top face."}, "params": {"enc_w": {"type": "float", "default": 80, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 38.1, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 33.0, "min": 13.2, "max": 66.0, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 2.3, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329761 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 80, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 38.1, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 33.0, \"min\": 13.2, \"max\": 66.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 2.3, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca062_1198", "family": "bracket", "tier": 2, "seed": 1177329762, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "4829ac8db9a5216e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 15100.0, "surface_area": 6530.0, "principal_moments": [2400000.0, 2990000.0, 4720000.0], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Z-bracket: base leg 25.7 mm, vertical leg 25 mm, top leg 25.8 mm, 40 mm wide, 6 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg; 4.8 mm corner gusset."], "text": "Z-bracket: base leg 25.7 mm, vertical leg 25 mm, top leg 25.8 mm, 40 mm wide, 6 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg; 4.8 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 25.7, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 25.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 40, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 6.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 25.8, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}, "gusset_t": {"type": "float", "default": 4.8, "min": 3.0, "max": 18.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329762 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 25.7, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 25.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 40, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 25.8, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 4.8, \"min\": 3.0, \"max\": 18.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _tl, _vl) * 0.4 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(0, _vl - _bt).lineTo(-_g, _vl - _bt)\n                    .lineTo(0, _vl - _bt - _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca063_1199", "family": "compound", "tier": 1, "seed": 1177329763, "symmetry": "mirror_xy", "op_count": 3, "ir_hash": "62d61d138522aab7", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 72700.0, "surface_area": 11800.0, "principal_moments": [17200000.0, 23899999.999999996, 29199999.999999996], "n_faces": 13, "n_edges": 26, "n_vertices": 17}, "dimensions": {"lines": ["Rectangular body, 54.47 \u00d7 42.5 \u00d7 31.4 mm (W\u00d7D\u00d7H).", "\u00d86.9 mm circular section attachment, 8.8 mm long, from front face with a \u00d83.7 mm bore.", "\u00d86.9 mm circular section attachment, 8.8 mm long, from back face with a \u00d83.7 mm bore."], "text": "Rectangular body, 54.47 \u00d7 42.5 \u00d7 31.4 mm (W\u00d7D\u00d7H). \u00d86.9 mm circular section attachment, 8.8 mm long, from front face with a \u00d83.7 mm bore. \u00d86.9 mm circular section attachment, 8.8 mm long, from back face with a \u00d83.7 mm bore."}, "params": {"block_w": {"type": "float", "default": 54.47, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body width (mm)"}, "block_d": {"type": "float", "default": 42.5, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body depth (mm)"}, "block_h": {"type": "float", "default": 31.4, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body height (mm)"}, "port_d": {"type": "float", "default": 6.9, "min": 2.8, "max": 14.1, "step": 1.0, "group": "Ports", "label": "Ports diameter (mm)"}, "port_len": {"type": "float", "default": 8.8, "min": 1.7, "max": 20.7, "step": 1.0, "group": "Ports", "label": "Port boss length (mm)"}, "port_bore": {"type": "float", "default": 3.7, "min": 2.0, "max": 5.0, "step": 0.5, "group": "Ports", "label": "Port bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329763 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 54.47, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 42.5, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 31.4, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body height (mm)'},\n    \"port_d\": {\"type\": 'float', \"default\": 6.9, \"min\": 2.8, \"max\": 14.1, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Ports diameter (mm)'},\n    \"port_len\": {\"type\": 'float', \"default\": 8.8, \"min\": 1.7, \"max\": 20.7, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Port boss length (mm)'},\n    \"port_bore\": {\"type\": 'float', \"default\": 3.7, \"min\": 2.0, \"max\": 5.0, \"step\": 0.5, \"group\": 'Ports', \"label\": 'Port bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca064_1200", "family": "plate", "tier": 2, "seed": 1177329764, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "a60d3b96d8eab0d8", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 13800.0, "surface_area": 6480.0, "principal_moments": [1420000.0, 5480000.0, 6820000.0], "n_faces": 22, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 70 \u00d7 35.2 \u00d7 6 mm (W\u00d7D\u00d7H).", "Four 6.4 mm square holes at the corners, 49 \u00d7 24.64 mm spacing."], "text": "Rectangular body, 70 \u00d7 35.2 \u00d7 6 mm (W\u00d7D\u00d7H). Four 6.4 mm square holes at the corners, 49 \u00d7 24.64 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 70, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 35.2, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 6.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 10.3, "step": 0.5, "group": "Holes", "label": "Square hole size (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329764 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 70, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 35.2, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 10.3, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Square hole size (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().rect(p[\"hole_d\"], p[\"hole_d\"]).cutThruAll()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462ca065_1201", "family": "gear", "tier": 2, "seed": 1177329765, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "f774f65a1edb6c15", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 4310.0, "surface_area": 2620.0, "principal_moments": [250000.0, 250000.0, 467000.0], "n_faces": 187, "n_edges": 555, "n_vertices": 370}, "dimensions": {"lines": ["Helical gear, module 1.25 mm, 23 teeth (pitch \u00d828.75 mm), face width 6.8 mm, 14.8\u00b0 helix, \u00d84.3 mm bore."], "text": "Helical gear, module 1.25 mm, 23 teeth (pitch \u00d828.75 mm), face width 6.8 mm, 14.8\u00b0 helix, \u00d84.3 mm bore."}, "params": {"module": {"type": "float", "default": 1.25, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 23, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 6.8, "min": 2.7, "max": 17.0, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "helix_angle": {"type": "float", "default": 14.8, "min": 5.0, "max": 40.0, "step": 1.0, "group": "Gear", "label": "Helix angle (deg)"}, "profile_shift": {"type": "float", "default": -0.3, "min": -0.5, "max": 0.7, "step": 0.05, "group": "Gear", "label": "Profile shift"}, "root_fillet": {"type": "float", "default": 0.37, "min": 0.0, "max": 0.62, "step": 0.05, "group": "Gear", "label": "Root fillet (mm)"}, "bore_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 15.4, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329765 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 1.25, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 23, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 6.8, \"min\": 2.7, \"max\": 17.0, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"helix_angle\": {\"type\": 'float', \"default\": 14.8, \"min\": 5.0, \"max\": 40.0, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Helix angle (deg)'},\n    \"profile_shift\": {\"type\": 'float', \"default\": -0.3, \"min\": -0.5, \"max\": 0.7, \"step\": 0.05, \"group\": 'Gear', \"label\": 'Profile shift'},\n    \"root_fillet\": {\"type\": 'float', \"default\": 0.37, \"min\": 0.0, \"max\": 0.62, \"step\": 0.05, \"group\": 'Gear', \"label\": 'Root fillet (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 15.4, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.HelicalGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"], helix_angle=math.radians(p[\"helix_angle\"]), herringbone=False, profile_shift=p[\"profile_shift\"], root_fillet=p[\"root_fillet\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462ca066_1202", "family": "enclosure", "tier": 2, "seed": 1177329766, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "a69b156a0d6c3ad4", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 183000.0, "surface_area": 64600.0, "principal_moments": [231000000.0, 376000000.0, 443000000.0], "n_faces": 15, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 115.99 \u00d7 77.2 \u00d7 66.8 mm (W\u00d7D\u00d7H).", "Hollowed to 5.9 mm wall thickness, open at top face.", "Four \u00d85.3 mm holes at the corners, 81.193 \u00d7 54.04 mm spacing."], "text": "Rectangular body, 115.99 \u00d7 77.2 \u00d7 66.8 mm (W\u00d7D\u00d7H). Hollowed to 5.9 mm wall thickness, open at top face. Four \u00d85.3 mm holes at the corners, 81.193 \u00d7 54.04 mm spacing."}, "params": {"enc_w": {"type": "float", "default": 115.99, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 77.2, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 66.8, "min": 26.7, "max": 133.6, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 5.9, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329766 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 115.99, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 77.2, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 66.8, \"min\": 26.7, \"max\": 133.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 5.9, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"enc_w\"] * 0.7, p[\"enc_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca069_1205", "family": "block", "tier": 2, "seed": 1177329769, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "66a6fa89f45b40f6", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 13400.0, "surface_area": 5600.0, "principal_moments": [1200000.0, 1650000.0, 2010000.0], "n_faces": 20, "n_edges": 57, "n_vertices": 38}, "dimensions": {"lines": ["Rectangular body, 25 \u00d7 18.5 \u00d7 34.2 mm (W\u00d7D\u00d7H).", "Seven \u00d82 mm holes in two staggered rows, 6.2 \u00d7 7.1 mm pitch.", "Pocket 12.1 \u00d7 11.8 mm, 12.4 mm deep, in top face."], "text": "Rectangular body, 25 \u00d7 18.5 \u00d7 34.2 mm (W\u00d7D\u00d7H). Seven \u00d82 mm holes in two staggered rows, 6.2 \u00d7 7.1 mm pitch. Pocket 12.1 \u00d7 11.8 mm, 12.4 mm deep, in top face."}, "params": {"block_w": {"type": "float", "default": 25, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 18.5, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 34.2, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 2.0, "min": 2.0, "max": 1.9, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 4, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}, "pocket_w": {"type": "float", "default": 12.1, "min": 6.0, "max": 20.0, "step": 1.0, "group": "Pocket", "label": "Pocket width (mm)"}, "pocket_d": {"type": "float", "default": 11.8, "min": 5.9, "max": 14.8, "step": 1.0, "group": "Pocket", "label": "Pocket depth (mm)"}, "pocket_h": {"type": "float", "default": 12.4, "min": 5.0, "max": 29.1, "step": 0.5, "group": "Pocket", "label": "Pocket height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329769 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 25, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 18.5, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 34.2, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 2.0, \"min\": 2.0, \"max\": 1.9, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 4, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n    \"pocket_w\": {\"type\": 'float', \"default\": 12.1, \"min\": 6.0, \"max\": 20.0, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket width (mm)'},\n    \"pocket_d\": {\"type\": 'float', \"default\": 11.8, \"min\": 5.9, \"max\": 14.8, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket depth (mm)'},\n    \"pocket_h\": {\"type\": 'float', \"default\": 12.4, \"min\": 5.0, \"max\": 29.1, \"step\": 0.5, \"group\": 'Pocket', \"label\": 'Pocket height (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 6.2\n    _ssy = 7.1\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"pocket_w\"], p[\"pocket_d\"])\n        .cutBlind(-p[\"pocket_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca06a_1206", "family": "plate", "tier": 3, "seed": 1177329770, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "d49036cee0801eb7", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 97400.0, "surface_area": 29700.0, "principal_moments": [91799999.99999999, 108000000.0, 198000000.0], "n_faces": 27, "n_edges": 72, "n_vertices": 48}, "dimensions": {"lines": ["Rectangular body, 115 \u00d7 105.9 \u00d7 10 mm (W\u00d7D\u00d7H).", "Four 31.8 \u00d7 13 mm slots at the corners, 80.5 \u00d7 74.13 mm spacing.", "Pocket 47.9 \u00d7 49.7 mm, 3.9 mm deep, in top face."], "text": "Rectangular body, 115 \u00d7 105.9 \u00d7 10 mm (W\u00d7D\u00d7H). Four 31.8 \u00d7 13 mm slots at the corners, 80.5 \u00d7 74.13 mm spacing. Pocket 47.9 \u00d7 49.7 mm, 3.9 mm deep, in top face."}, "params": {"plate_w": {"type": "float", "default": 115, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 105.9, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 13.0, "min": 2.0, "max": 13.0, "step": 0.5, "group": "Holes", "label": "Slot width (mm)"}, "hole_slot_len": {"type": "float", "default": 31.8, "min": 19.5, "max": 31.8, "step": 0.5, "group": "Holes", "label": "Slot length (mm)"}, "pocket_w": {"type": "float", "default": 47.9, "min": 23.9, "max": 92.0, "step": 1.0, "group": "Pocket", "label": "Pocket width (mm)"}, "pocket_d": {"type": "float", "default": 49.7, "min": 24.9, "max": 84.7, "step": 1.0, "group": "Pocket", "label": "Pocket depth (mm)"}, "pocket_h": {"type": "float", "default": 3.9, "min": 1.6, "max": 8.5, "step": 0.5, "group": "Pocket", "label": "Pocket height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329770 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 115, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 105.9, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 13.0, \"min\": 2.0, \"max\": 13.0, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Slot width (mm)'},\n    \"hole_slot_len\": {\"type\": 'float', \"default\": 31.8, \"min\": 19.5, \"max\": 31.8, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Slot length (mm)'},\n    \"pocket_w\": {\"type\": 'float', \"default\": 47.9, \"min\": 23.9, \"max\": 92.0, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket width (mm)'},\n    \"pocket_d\": {\"type\": 'float', \"default\": 49.7, \"min\": 24.9, \"max\": 84.7, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket depth (mm)'},\n    \"pocket_h\": {\"type\": 'float', \"default\": 3.9, \"min\": 1.6, \"max\": 8.5, \"step\": 0.5, \"group\": 'Pocket', \"label\": 'Pocket height (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().slot2D(p[\"hole_slot_len\"], p[\"hole_d\"]).cutThruAll()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"pocket_w\"], p[\"pocket_d\"])\n        .cutBlind(-p[\"pocket_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462ca06b_1207", "family": "flanged", "tier": 2, "seed": 1177329771, "symmetry": "none", "op_count": 2, "ir_hash": "e95407e275c9df61", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 599000.0, "surface_area": 80800.0, "principal_moments": [1100000000.0, 1100000000.0, 1590000000.0], "n_faces": 10, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["Revolved body, \u00d885.58 mm \u00d7 75.6 mm tall with \u00d837.7 mm bore, \u00d8177.1 mm \u00d7 13.2 mm flange.", "Four \u00d85.3 mm holes on a \u00d8106.2 mm bolt circle."], "text": "Revolved body, \u00d885.58 mm \u00d7 75.6 mm tall with \u00d837.7 mm bore, \u00d8177.1 mm \u00d7 13.2 mm flange. Four \u00d85.3 mm holes on a \u00d8106.2 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 85.58, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 75.6, "min": 22.7, "max": 189.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 37.7, "min": 2.0, "max": 59.9, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 177.1, "min": 111.3, "max": 256.7, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 13.2, "min": 4.0, "max": 30.2, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 53.1, "min": 35.4, "max": 79.7, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 4, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329771 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 85.58, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 75.6, \"min\": 22.7, \"max\": 189.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 37.7, \"min\": 2.0, \"max\": 59.9, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 177.1, \"min\": 111.3, \"max\": 256.7, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 13.2, \"min\": 4.0, \"max\": 30.2, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 53.1, \"min\": 35.4, \"max\": 79.7, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 4, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca06c_1208", "family": "revolved", "tier": 0, "seed": 1177329772, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "fe21d73f6b6c1262", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 73800.0, "surface_area": 15700.0, "principal_moments": [27399999.999999996, 27899999.999999996, 27899999.999999996], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d849.77 mm \u00d7 56.9 mm tall."], "text": "Revolved body, \u00d849.77 mm \u00d7 56.9 mm tall."}, "params": {"outer_d": {"type": "float", "default": 49.77, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 56.9, "min": 17.1, "max": 170.7, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329772 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 49.77, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 56.9, \"min\": 17.1, \"max\": 170.7, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca06d_1209", "family": "compound", "tier": 1, "seed": 1177329773, "symmetry": "none", "op_count": 2, "ir_hash": "446d6ce101352476", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 3910.0, "surface_area": 2450.0, "principal_moments": [114000.0, 406000.0, 406000.0], "n_faces": 6, "n_edges": 9, "n_vertices": 6}, "dimensions": {"lines": ["\u00d815 mm circular section, extruded 20.2 mm thick.", "\u00d810.4 mm circular section attachment, 16 mm long, from top face with a \u00d86 mm bore."], "text": "\u00d815 mm circular section, extruded 20.2 mm thick. \u00d810.4 mm circular section attachment, 16 mm long, from top face with a \u00d86 mm bore."}, "params": {"shaft_d": {"type": "float", "default": 15, "min": 7.5, "max": 27.0, "step": 1.0, "group": "Body", "label": "Shaft diameter (mm)"}, "shaft_len": {"type": "float", "default": 20.2, "min": 8.1, "max": 40.4, "step": 1.0, "group": "Body", "label": "Shaft length (mm)"}, "step_d": {"type": "float", "default": 10.4, "min": 5.2, "max": 13.5, "step": 1.0, "group": "Step", "label": "Step diameter (mm)"}, "step_len": {"type": "float", "default": 16.0, "min": 4.8, "max": 40.0, "step": 1.0, "group": "Step", "label": "Step length (mm)"}, "axial_bore": {"type": "float", "default": 6.0, "min": 2.0, "max": 7.5, "step": 0.5, "group": "Bore", "label": "Axial bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329773 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"shaft_d\": {\"type\": 'float', \"default\": 15, \"min\": 7.5, \"max\": 27.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft diameter (mm)'},\n    \"shaft_len\": {\"type\": 'float', \"default\": 20.2, \"min\": 8.1, \"max\": 40.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft length (mm)'},\n    \"step_d\": {\"type\": 'float', \"default\": 10.4, \"min\": 5.2, \"max\": 13.5, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step diameter (mm)'},\n    \"step_len\": {\"type\": 'float', \"default\": 16.0, \"min\": 4.8, \"max\": 40.0, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step length (mm)'},\n    \"axial_bore\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 7.5, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Axial bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').circle(p[\"shaft_d\"] / 2).extrude(p[\"shaft_len\"]))\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"step_d\"] / 2).extrude(p[\"step_len\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"axial_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462ca06e_1210", "family": "sketched", "tier": 3, "seed": 1177329774, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "8eaa28b960886b75", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 18800.0, "surface_area": 9090.0, "principal_moments": [2920000.0, 2920000.0, 3970000.0], "n_faces": 7, "n_edges": 11, "n_vertices": 6}, "dimensions": {"lines": ["Revolved organic body from a freeform sketched section (7 segments: 4 straight, 3 curves), ~28.407 \u00d7 25 mm half-silhouette."], "text": "Revolved organic body from a freeform sketched section (7 segments: 4 straight, 3 curves), ~28.407 \u00d7 25 mm half-silhouette."}, "params": {"sk_r": {"type": "float", "default": 30, "min": 15.0, "max": 54.0, "step": 1.0, "group": "Sketch", "label": "Max radius (mm)"}, "sk_h": {"type": "float", "default": 25, "min": 12.5, "max": 45.0, "step": 1.0, "group": "Sketch", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329774 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_r\": {\"type\": 'float', \"default\": 30, \"min\": 15.0, \"max\": 54.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Max radius (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 25, \"min\": 12.5, \"max\": 45.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XZ').moveTo(p[\"sk_r\"] * 0.9469, p[\"sk_h\"] * 0.0).lineTo(p[\"sk_r\"] * 0.1579, p[\"sk_h\"] * 0.6039).spline([(p[\"sk_r\"] * 0.1579, p[\"sk_h\"] * 0.6039), (p[\"sk_r\"] * 0.3251, p[\"sk_h\"] * 0.6549), (p[\"sk_r\"] * 0.2422, p[\"sk_h\"] * 0.7059)]).lineTo(p[\"sk_r\"] * 0.6567, p[\"sk_h\"] * 0.7209).bezier([(p[\"sk_r\"] * 0.6567, p[\"sk_h\"] * 0.7209), (p[\"sk_r\"] * 0.5709, p[\"sk_h\"] * 0.7406), (p[\"sk_r\"] * 0.1749, p[\"sk_h\"] * 0.7603)]).spline([(p[\"sk_r\"] * 0.1749, p[\"sk_h\"] * 0.7603), (p[\"sk_r\"] * 0.3604, p[\"sk_h\"] * 0.8802), (p[\"sk_r\"] * 0.4019, p[\"sk_h\"] * 1.0)]).lineTo(p[\"sk_r\"] * 0.0, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.0, p[\"sk_h\"] * 0.0).close().revolve())\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462ca06f_1211", "family": "enclosure", "tier": 2, "seed": 1177329775, "symmetry": "none", "op_count": 4, "ir_hash": "5f35bcfc77c647dd", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 80600.0, "surface_area": 47200.0, "principal_moments": [62599999.99999999, 136000000.0, 141000000.0], "n_faces": 35, "n_edges": 108, "n_vertices": 72}, "dimensions": {"lines": ["Rectangular body, 107.28 \u00d7 48.5 \u00d7 64.4 mm (W\u00d7D\u00d7H).", "Hollowed to 3.5 mm wall thickness, open at top face.", "Four \u00d88.4 mm holes at the corners, 75.096 \u00d7 33.95 mm spacing.", "Fillet radius 2.14 mm on vertical edges."], "text": "Rectangular body, 107.28 \u00d7 48.5 \u00d7 64.4 mm (W\u00d7D\u00d7H). Hollowed to 3.5 mm wall thickness, open at top face. Four \u00d88.4 mm holes at the corners, 75.096 \u00d7 33.95 mm spacing. Fillet radius 2.14 mm on vertical edges."}, "params": {"enc_w": {"type": "float", "default": 107.28, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 48.5, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 64.4, "min": 25.8, "max": 128.8, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 3.5, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}, "hole_d": {"type": "float", "default": 8.4, "min": 2.0, "max": 10.9, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329775 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 107.28, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 48.5, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 64.4, \"min\": 25.8, \"max\": 128.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 3.5, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 2.0, \"max\": 10.9, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"enc_w\"] * 0.7, p[\"enc_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"enc_w\"], p[\"enc_d\"]) * 0.04411529270652959)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca070_1212", "family": "plate", "tier": 2, "seed": 1177329776, "symmetry": "none", "op_count": 3, "ir_hash": "bd4a1b8921ba66ec", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 6160.0, "surface_area": 2750.0, "principal_moments": [182000.0, 851000.0, 931000.0], "n_faces": 14, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 40 \u00d7 16.2 \u00d7 10 mm (W\u00d7D\u00d7H).", "Four \u00d83.2 mm holes at the corners, 28 \u00d7 11.34 mm spacing.", "Fillet radius 0.426 mm on vertical edges."], "text": "Rectangular body, 40 \u00d7 16.2 \u00d7 10 mm (W\u00d7D\u00d7H). Four \u00d83.2 mm holes at the corners, 28 \u00d7 11.34 mm spacing. Fillet radius 0.426 mm on vertical edges."}, "params": {"plate_w": {"type": "float", "default": 40, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 16.2, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 3.6, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329776 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 40, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 16.2, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 3.6, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"plate_w\"], p[\"plate_d\"]) * 0.026289784492308135)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462ca071_1213", "family": "ribbed", "tier": 2, "seed": 1177329777, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "d4dd1f9ac748c4f0", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 25200.0, "surface_area": 10500.0, "principal_moments": [3460000.0, 8600000.0, 10900000.0], "n_faces": 46, "n_edges": 128, "n_vertices": 80}, "dimensions": {"lines": ["Rectangular body, 61.78 \u00d7 33.5 \u00d7 10 mm (W\u00d7D\u00d7H).", "Four ribs, 3 mm thick, 8.7 mm tall.", "Four \u00d84.3 mm holes at the corners, 43.246 \u00d7 23.45 mm spacing."], "text": "Rectangular body, 61.78 \u00d7 33.5 \u00d7 10 mm (W\u00d7D\u00d7H). Four ribs, 3 mm thick, 8.7 mm tall. Four \u00d84.3 mm holes at the corners, 43.246 \u00d7 23.45 mm spacing."}, "params": {"base_w": {"type": "float", "default": 61.78, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 33.5, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 10.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 4, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 8.7, "min": 3.5, "max": 17.4, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 3.0, "min": 1.0, "max": 7.5, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 7.5, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329777 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 61.78, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 33.5, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 4, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 8.7, \"min\": 3.5, \"max\": 17.4, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 1.0, \"max\": 7.5, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 7.5, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"base_w\"] * 0.7, p[\"base_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca072_1214", "family": "compound", "tier": 1, "seed": 1177329778, "symmetry": "none", "op_count": 3, "ir_hash": "9ff98ceb765e2d63", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 501000.0, "surface_area": 40600.0, "principal_moments": [488000000.0, 507000000.0, 654000000.0], "n_faces": 10, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["Rectangular body, 85 \u00d7 87.5 \u00d7 65 mm (W\u00d7D\u00d7H).", "\u00d821.1 mm circular section attachment, 25 mm long, from back face.", "\u00d821.1 mm circular section attachment, 25 mm long, from left face."], "text": "Rectangular body, 85 \u00d7 87.5 \u00d7 65 mm (W\u00d7D\u00d7H). \u00d821.1 mm circular section attachment, 25 mm long, from back face. \u00d821.1 mm circular section attachment, 25 mm long, from left face."}, "params": {"block_w": {"type": "float", "default": 85, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body width (mm)"}, "block_d": {"type": "float", "default": 87.5, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body depth (mm)"}, "block_h": {"type": "float", "default": 65.0, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body height (mm)"}, "port_d": {"type": "float", "default": 21.1, "min": 8.4, "max": 29.2, "step": 1.0, "group": "Ports", "label": "Ports diameter (mm)"}, "port_len": {"type": "float", "default": 25.0, "min": 5.3, "max": 63.3, "step": 1.0, "group": "Ports", "label": "Port boss length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329778 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 85, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 87.5, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 65.0, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body height (mm)'},\n    \"port_d\": {\"type\": 'float', \"default\": 21.1, \"min\": 8.4, \"max\": 29.2, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Ports diameter (mm)'},\n    \"port_len\": {\"type\": 'float', \"default\": 25.0, \"min\": 5.3, \"max\": 63.3, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Port boss length (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca073_1215", "family": "plate", "tier": 2, "seed": 1177329779, "symmetry": "none", "op_count": 3, "ir_hash": "471a68ad757f396d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 6430.0, "surface_area": 3390.0, "principal_moments": [361000.0, 1060000.0, 1380000.0], "n_faces": 14, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 45 \u00d7 25.8 \u00d7 6 mm (W\u00d7D\u00d7H).", "Four \u00d85.3 mm holes at the corners, 31.5 \u00d7 18.06 mm spacing.", "Fillet radius 0.684 mm on vertical edges."], "text": "Rectangular body, 45 \u00d7 25.8 \u00d7 6 mm (W\u00d7D\u00d7H). Four \u00d85.3 mm holes at the corners, 31.5 \u00d7 18.06 mm spacing. Fillet radius 0.684 mm on vertical edges."}, "params": {"plate_w": {"type": "float", "default": 45, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 25.8, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 6.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 5.8, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329779 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 45, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 25.8, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 5.8, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"plate_w\"], p[\"plate_d\"]) * 0.02650928354746276)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462ca074_1216", "family": "profiled", "tier": 2, "seed": 1177329780, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "75c049cbf6202b66", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 182000.0, "surface_area": 57300.0, "principal_moments": [52999999.99999999, 1100000000.0, 1100000000.0], "n_faces": 4, "n_edges": 6, "n_vertices": 4}, "dimensions": {"lines": ["Revolved body, \u00d840 mm \u00d7 265.9 mm tall with \u00d827 mm bore."], "text": "Revolved body, \u00d840 mm \u00d7 265.9 mm tall with \u00d827 mm bore."}, "params": {"outer_d": {"type": "float", "default": 40, "min": 20.0, "max": 80.0, "step": 1.0, "group": "Profile", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 265.9, "min": 79.8, "max": 797.7, "step": 5.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 27.0, "min": 2.0, "max": 32.0, "step": 0.5, "group": "Profile", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329780 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 40, \"min\": 20.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Profile', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 265.9, \"min\": 79.8, \"max\": 797.7, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 27.0, \"min\": 2.0, \"max\": 32.0, \"step\": 0.5, \"group\": 'Profile', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca075_1217", "family": "compound", "tier": 3, "seed": 1177329781, "symmetry": "none", "op_count": 4, "ir_hash": "7b7b8ea2b2740a84", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 162000.0, "surface_area": 21400.0, "principal_moments": [75700000.0, 89400000.0, 124000000.0], "n_faces": 13, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Rectangular body, 65 \u00d7 33.5 \u00d7 72.4 mm (W\u00d7D\u00d7H).", "\u00d821.3 mm circular section attachment, 24.6 mm long, from back face with a \u00d89.2 mm bore.", "Four \u00d84.3 mm holes at the corners, 45.5 \u00d7 23.45 mm spacing.", "Fillet radius 3.002 mm on vertical edges."], "text": "Rectangular body, 65 \u00d7 33.5 \u00d7 72.4 mm (W\u00d7D\u00d7H). \u00d821.3 mm circular section attachment, 24.6 mm long, from back face with a \u00d89.2 mm bore. Four \u00d84.3 mm holes at the corners, 45.5 \u00d7 23.45 mm spacing. Fillet radius 3.002 mm on vertical edges."}, "params": {"block_w": {"type": "float", "default": 65, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 33.5, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 72.4, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "spig_d": {"type": "float", "default": 21.3, "min": 8.5, "max": 45.5, "step": 1.0, "group": "Spigot", "label": "Spigot diameter (mm)"}, "spig_len": {"type": "float", "default": 24.6, "min": 6.4, "max": 85.2, "step": 1.0, "group": "Spigot", "label": "Spigot length (mm)"}, "spig_bore": {"type": "float", "default": 9.2, "min": 2.0, "max": 15.3, "step": 0.5, "group": "Spigot", "label": "Bore diameter (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 7.5, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329781 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 65, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 33.5, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 72.4, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"spig_d\": {\"type\": 'float', \"default\": 21.3, \"min\": 8.5, \"max\": 45.5, \"step\": 1.0, \"group\": 'Spigot', \"label\": 'Spigot diameter (mm)'},\n    \"spig_len\": {\"type\": 'float', \"default\": 24.6, \"min\": 6.4, \"max\": 85.2, \"step\": 1.0, \"group\": 'Spigot', \"label\": 'Spigot length (mm)'},\n    \"spig_bore\": {\"type\": 'float', \"default\": 9.2, \"min\": 2.0, \"max\": 15.3, \"step\": 0.5, \"group\": 'Spigot', \"label\": 'Bore diameter (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 7.5, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"spig_d\"] / 2).extrude(p[\"spig_len\"])\n    )\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"spig_bore\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"block_w\"], p[\"block_d\"]) * 0.08960078000760396)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca076_1218", "family": "plate", "tier": 0, "seed": 1177329782, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "1accf4688948747d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 1260.0, "surface_area": 793.0, "principal_moments": [14300.0, 50200.0, 56900.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 21.02 \u00d7 10 \u00d7 6 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 21.02 \u00d7 10 \u00d7 6 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 21.02, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 10.0, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 6.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329782 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 21.02, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 10.0, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca077_1219", "family": "plate", "tier": 0, "seed": 1177329783, "symmetry": "radial", "op_count": 1, "ir_hash": "37839f98ec15db62", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 2920.0, "surface_area": 1570.0, "principal_moments": [52500.0, 331000.0, 366000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 36.36 \u00d7 13.4 \u00d7 6 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 36.36 \u00d7 13.4 \u00d7 6 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 36.36, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 13.4, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 6.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329783 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 36.36, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 13.4, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462ca078_1220", "family": "ribbed", "tier": 2, "seed": 1177329784, "symmetry": "none", "op_count": 2, "ir_hash": "1f473099ef708ee6", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 6080.0, "surface_area": 4450.0, "principal_moments": [507000.0, 966000.0, 1330000.0], "n_faces": 30, "n_edges": 72, "n_vertices": 44}, "dimensions": {"lines": ["Rectangular body, 39.39 \u00d7 27.1 \u00d7 3 mm (W\u00d7D\u00d7H).", "Three ribs, 3.5 mm thick, 8.7 mm tall."], "text": "Rectangular body, 39.39 \u00d7 27.1 \u00d7 3 mm (W\u00d7D\u00d7H). Three ribs, 3.5 mm thick, 8.7 mm tall."}, "params": {"base_w": {"type": "float", "default": 39.39, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 27.1, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 3.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 3, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 8.7, "min": 3.5, "max": 17.4, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 3.5, "min": 1.0, "max": 8.8, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329784 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 39.39, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 27.1, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 3, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 8.7, \"min\": 3.5, \"max\": 17.4, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 3.5, \"min\": 1.0, \"max\": 8.8, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca079_1221", "family": "compound", "tier": 1, "seed": 1177329785, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "a45f8c825b5aeecf", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 97700.0, "surface_area": 16300.0, "principal_moments": [40400000.0, 40400000.0, 43500000.0], "n_faces": 10, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["Lofted body through 2 sections: 65.64 \u00d7 65.64 mm rectangular section \u2192 \u00d833.8 mm circular section.", "\u00d821.4 mm circular section attachment, 24.1 mm long, from top face with a \u00d89.1 mm bore."], "text": "Lofted body through 2 sections: 65.64 \u00d7 65.64 mm rectangular section \u2192 \u00d833.8 mm circular section. \u00d821.4 mm circular section attachment, 24.1 mm long, from top face with a \u00d89.1 mm bore."}, "params": {"adapter_base": {"type": "float", "default": 65.64, "min": 39.4, "max": 98.5, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "adapter_top": {"type": "float", "default": 33.8, "min": 16.9, "max": 65.6, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "adapter_h": {"type": "float", "default": 38.8, "min": 15.5, "max": 77.6, "step": 1.0, "group": "Body", "label": "Transition height (mm)"}, "neck_d": {"type": "float", "default": 21.4, "min": 8.6, "max": 33.8, "step": 1.0, "group": "Neck", "label": "Neck diameter (mm)"}, "neck_l": {"type": "float", "default": 24.1, "min": 9.6, "max": 60.2, "step": 1.0, "group": "Neck", "label": "Neck length (mm)"}, "neck_bore": {"type": "float", "default": 9.1, "min": 2.0, "max": 15.4, "step": 0.5, "group": "Neck", "label": "Neck bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329785 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"adapter_base\": {\"type\": 'float', \"default\": 65.64, \"min\": 39.4, \"max\": 98.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"adapter_top\": {\"type\": 'float', \"default\": 33.8, \"min\": 16.9, \"max\": 65.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"adapter_h\": {\"type\": 'float', \"default\": 38.8, \"min\": 15.5, \"max\": 77.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Transition height (mm)'},\n    \"neck_d\": {\"type\": 'float', \"default\": 21.4, \"min\": 8.6, \"max\": 33.8, \"step\": 1.0, \"group\": 'Neck', \"label\": 'Neck diameter (mm)'},\n    \"neck_l\": {\"type\": 'float', \"default\": 24.1, \"min\": 9.6, \"max\": 60.2, \"step\": 1.0, \"group\": 'Neck', \"label\": 'Neck length (mm)'},\n    \"neck_bore\": {\"type\": 'float', \"default\": 9.1, \"min\": 2.0, \"max\": 15.4, \"step\": 0.5, \"group\": 'Neck', \"label\": 'Neck bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .rect(p[\"adapter_base\"], p[\"adapter_base\"])\n        .workplane(offset=p[\"adapter_h\"])\n        .circle(p[\"adapter_top\"] / 2)\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"neck_d\"] / 2).extrude(p[\"neck_l\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"neck_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca07a_1222", "family": "revolved", "tier": 0, "seed": 1177329786, "symmetry": "none", "op_count": 1, "ir_hash": "6ca5787f24163d03", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 571000.0, "surface_area": 69800.0, "principal_moments": [548000000.0, 1260000000.0, 1260000000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d880 mm \u00d7 170.4 mm tall."], "text": "Revolved body, \u00d880 mm \u00d7 170.4 mm tall."}, "params": {"outer_d": {"type": "float", "default": 80.0, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 170.4, "min": 51.1, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329786 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 80.0, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 170.4, \"min\": 51.1, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca07b_1223", "family": "revolved", "tier": 0, "seed": 1177329787, "symmetry": "none", "op_count": 1, "ir_hash": "f3b90d7e27dad0ed", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 39600.0, "surface_area": 12700.0, "principal_moments": [5350000.0, 19300000.0, 19300000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d830 mm \u00d7 84.1 mm tall."], "text": "Revolved body, \u00d830 mm \u00d7 84.1 mm tall."}, "params": {"outer_d": {"type": "float", "default": 30, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 84.1, "min": 25.2, "max": 252.3, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329787 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 30, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 84.1, \"min\": 25.2, \"max\": 252.3, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca07c_1224", "family": "bracket", "tier": 1, "seed": 1177329788, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "25b4f7fbec79e874", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 26700.0, "surface_area": 12600.0, "principal_moments": [8520000.0, 25999999.999999996, 28199999.999999996], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["L-bracket: base leg 80 mm, vertical leg 66.3 mm, 37.84 mm wide, 5 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."], "text": "L-bracket: base leg 80 mm, vertical leg 66.3 mm, 37.84 mm wide, 5 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 80, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 66.3, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 37.84, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 5.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329788 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 80, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 66.3, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 37.84, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca07d_1225", "family": "plate", "tier": 1, "seed": 1177329789, "symmetry": "none", "op_count": 2, "ir_hash": "9f638cd0b80b615f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 5970.0, "surface_area": 2770.0, "principal_moments": [276000.0, 646000.0, 858000.0], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["Rectangular body, 35 \u00d7 22 \u00d7 8 mm (W\u00d7D\u00d7H).", "Seven \u00d82.1 mm holes in two staggered rows, 8.8 \u00d7 9 mm pitch."], "text": "Rectangular body, 35 \u00d7 22 \u00d7 8 mm (W\u00d7D\u00d7H). Seven \u00d82.1 mm holes in two staggered rows, 8.8 \u00d7 9 mm pitch."}, "params": {"plate_w": {"type": "float", "default": 35, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 22.0, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 2.1, "min": 2.0, "max": 2.2, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 4, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329789 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 35, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 22.0, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 2.1, \"min\": 2.0, \"max\": 2.2, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 4, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 8.8\n    _ssy = 9.0\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca07e_1226", "family": "revolved", "tier": 2, "seed": 1177329790, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "45fae1d99ee4723a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 50800.0, "surface_area": 14700.0, "principal_moments": [8190000.0, 38000000.0, 38000000.0], "n_faces": 8, "n_edges": 14, "n_vertices": 8}, "dimensions": {"lines": ["Revolved body, \u00d831.72 mm \u00d7 89.6 mm tall with \u00d816.8 mm bore.", "Chamfer 0.8 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d831.72 mm \u00d7 89.6 mm tall with \u00d816.8 mm bore. Chamfer 0.8 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 31.72, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 89.6, "min": 26.9, "max": 268.8, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 16.8, "min": 2.0, "max": 22.2, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "end_chamfer": {"type": "float", "default": 0.8, "min": 0.1, "max": 2.4, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329790 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 31.72, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 89.6, \"min\": 26.9, \"max\": 268.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 16.8, \"min\": 2.0, \"max\": 22.2, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.8, \"min\": 0.1, \"max\": 2.4, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca07f_1227", "family": "revolved", "tier": 2, "seed": 1177329791, "symmetry": "none", "op_count": 2, "ir_hash": "bc51e96ccbd78072", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 1440000.0, "surface_area": 155000.0, "principal_moments": [2950000000.0, 9010000000.0, 9010000000.0], "n_faces": 11, "n_edges": 17, "n_vertices": 11}, "dimensions": {"lines": ["Revolved body, \u00d880 mm \u00d7 287.5 mm tall with \u00d8164 mm \u00d7 30.6 mm flange, 16.95 mm-wide groove 3.97 mm deep.", "Chamfer 0.4 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d880 mm \u00d7 287.5 mm tall with \u00d8164 mm \u00d7 30.6 mm flange, 16.95 mm-wide groove 3.97 mm deep. Chamfer 0.4 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 80.0, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 287.5, "min": 86.2, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "flange_d": {"type": "float", "default": 164.0, "min": 96.0, "max": 240.0, "step": 1.0, "group": "Body", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 30.6, "min": 9.2, "max": 143.8, "step": 0.5, "group": "Body", "label": "Flange height (mm)"}, "groove_depth": {"type": "float", "default": 3.97, "min": 1.59, "max": 11.91, "step": 0.1, "group": "Body", "label": "Groove depth (mm)"}, "groove_w": {"type": "float", "default": 16.95, "min": 6.78, "max": 50.85, "step": 0.2, "group": "Body", "label": "Groove width (mm)"}, "groove_pos": {"type": "float", "default": 111.7, "min": 43.1, "max": 244.4, "step": 1.0, "group": "Body", "label": "Groove position (mm)"}, "end_chamfer": {"type": "float", "default": 0.4, "min": 0.1, "max": 1.2, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329791 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 80.0, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 287.5, \"min\": 86.2, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 164.0, \"min\": 96.0, \"max\": 240.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 30.6, \"min\": 9.2, \"max\": 143.8, \"step\": 0.5, \"group\": 'Body', \"label\": 'Flange height (mm)'},\n    \"groove_depth\": {\"type\": 'float', \"default\": 3.97, \"min\": 1.59, \"max\": 11.91, \"step\": 0.1, \"group\": 'Body', \"label\": 'Groove depth (mm)'},\n    \"groove_w\": {\"type\": 'float', \"default\": 16.95, \"min\": 6.78, \"max\": 50.85, \"step\": 0.2, \"group\": 'Body', \"label\": 'Groove width (mm)'},\n    \"groove_pos\": {\"type\": 'float', \"default\": 111.7, \"min\": 43.1, \"max\": 244.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Groove position (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.4, \"min\": 0.1, \"max\": 1.2, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"groove_pos\"] - p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2 - p[\"groove_depth\"], p[\"groove_pos\"] - p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2 - p[\"groove_depth\"], p[\"groove_pos\"] + p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2, p[\"groove_pos\"] + p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca080_1228", "family": "revolved", "tier": 0, "seed": 1177329792, "symmetry": "radial", "op_count": 1, "ir_hash": "b8d51d75593c3cb0", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 69800.0, "surface_area": 14300.0, "principal_moments": [24099999.999999996, 24099999.999999996, 35000000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d857.8 mm \u00d7 39.9 mm tall."], "text": "Revolved body, \u00d857.8 mm \u00d7 39.9 mm tall."}, "params": {"outer_d": {"type": "float", "default": 57.8, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 39.9, "min": 12.0, "max": 119.7, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329792 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 57.8, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 39.9, \"min\": 12.0, \"max\": 119.7, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462ca081_1229", "family": "sketched", "tier": 1, "seed": 1177329793, "symmetry": "none", "op_count": 1, "ir_hash": "6f9a9de5aa4d5e8e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 30900.0, "surface_area": 7560.0, "principal_moments": [4930000.0, 4930000.0, 5620000.0], "n_faces": 8, "n_edges": 14, "n_vertices": 8}, "dimensions": {"lines": ["Revolved organic body from a freeform sketched section (7 segments: 5 straight, 2 arcs), ~20.978 \u00d7 35.29 mm half-silhouette."], "text": "Revolved organic body from a freeform sketched section (7 segments: 5 straight, 2 arcs), ~20.978 \u00d7 35.29 mm half-silhouette."}, "params": {"sk_r": {"type": "float", "default": 23.46, "min": 11.7, "max": 42.2, "step": 1.0, "group": "Sketch", "label": "Max radius (mm)"}, "sk_h": {"type": "float", "default": 35.29, "min": 17.6, "max": 63.5, "step": 1.0, "group": "Sketch", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329793 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_r\": {\"type\": 'float', \"default\": 23.46, \"min\": 11.7, \"max\": 42.2, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Max radius (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 35.29, \"min\": 17.6, \"max\": 63.5, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XZ').moveTo(p[\"sk_r\"] * 0.6055, p[\"sk_h\"] * 0.0).lineTo(p[\"sk_r\"] * 0.8733, p[\"sk_h\"] * 0.1606).lineTo(p[\"sk_r\"] * 0.4203, p[\"sk_h\"] * 0.3545).threePointArc((p[\"sk_r\"] * 0.6025, p[\"sk_h\"] * 0.3606), (p[\"sk_r\"] * 0.9112, p[\"sk_h\"] * 0.3668)).threePointArc((p[\"sk_r\"] * 0.9074, p[\"sk_h\"] * 0.4523), (p[\"sk_r\"] * 0.9942, p[\"sk_h\"] * 0.5379)).lineTo(p[\"sk_r\"] * 0.2149, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.1, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.1, p[\"sk_h\"] * 0.0).close().revolve())\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca082_1230", "family": "plate", "tier": 0, "seed": 1177329794, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "0ecb612c8591cdea", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 2250.0, "surface_area": 1520.0, "principal_moments": [64600.0, 185000.0, 244000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 31.14 \u00d7 18.1 \u00d7 4 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 31.14 \u00d7 18.1 \u00d7 4 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 31.14, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 18.1, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 4.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329794 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 31.14, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 18.1, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 4.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462ca083_1231", "family": "gear", "tier": 2, "seed": 1177329795, "symmetry": "none", "op_count": 1, "ir_hash": "2fc9b1edd63cb7a1", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 1810.0, "surface_area": 1710.0, "principal_moments": [88900.0, 88900.0, 175000.0], "n_faces": 211, "n_edges": 627, "n_vertices": 418}, "dimensions": {"lines": ["Helical gear, module 1 mm, 26 teeth (pitch \u00d826 mm), face width 3.2 mm, 16.9\u00b0 helix, \u00d84.6 mm bore."], "text": "Helical gear, module 1 mm, 26 teeth (pitch \u00d826 mm), face width 3.2 mm, 16.9\u00b0 helix, \u00d84.6 mm bore."}, "params": {"module": {"type": "float", "default": 1.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 26, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 3.2, "min": 1.3, "max": 8.0, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "helix_angle": {"type": "float", "default": 16.9, "min": 5.0, "max": 40.0, "step": 1.0, "group": "Gear", "label": "Helix angle (deg)"}, "profile_shift": {"type": "float", "default": 0.08, "min": -0.5, "max": 0.7, "step": 0.05, "group": "Gear", "label": "Profile shift"}, "root_fillet": {"type": "float", "default": 0.25, "min": 0.0, "max": 0.5, "step": 0.05, "group": "Gear", "label": "Root fillet (mm)"}, "bore_d": {"type": "float", "default": 4.6, "min": 2.0, "max": 14.1, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329795 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 1.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 26, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 3.2, \"min\": 1.3, \"max\": 8.0, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"helix_angle\": {\"type\": 'float', \"default\": 16.9, \"min\": 5.0, \"max\": 40.0, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Helix angle (deg)'},\n    \"profile_shift\": {\"type\": 'float', \"default\": 0.08, \"min\": -0.5, \"max\": 0.7, \"step\": 0.05, \"group\": 'Gear', \"label\": 'Profile shift'},\n    \"root_fillet\": {\"type\": 'float', \"default\": 0.25, \"min\": 0.0, \"max\": 0.5, \"step\": 0.05, \"group\": 'Gear', \"label\": 'Root fillet (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 4.6, \"min\": 2.0, \"max\": 14.1, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.HelicalGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"], helix_angle=math.radians(p[\"helix_angle\"]), herringbone=False, profile_shift=p[\"profile_shift\"], root_fillet=p[\"root_fillet\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462ca084_1232", "family": "enclosure", "tier": 1, "seed": 1177329796, "symmetry": "none", "op_count": 2, "ir_hash": "db620af25e553a66", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 52500.0, "surface_area": 26700.0, "principal_moments": [22600000.0, 55899999.99999999, 63599999.99999999], "n_faces": 11, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 90.77 \u00d7 45.9 \u00d7 37.7 mm (W\u00d7D\u00d7H).", "Hollowed to 4.1 mm wall thickness, open at top face."], "text": "Rectangular body, 90.77 \u00d7 45.9 \u00d7 37.7 mm (W\u00d7D\u00d7H). Hollowed to 4.1 mm wall thickness, open at top face."}, "params": {"enc_w": {"type": "float", "default": 90.77, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 45.9, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 37.7, "min": 15.1, "max": 75.4, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 4.1, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329796 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 90.77, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 45.9, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 37.7, \"min\": 15.1, \"max\": 75.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 4.1, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca085_1233", "family": "block", "tier": 1, "seed": 1177329797, "symmetry": "none", "op_count": 2, "ir_hash": "f32d8db0e555d98b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 16400.0, "surface_area": 5600.0, "principal_moments": [1400000.0, 2160000.0, 2460000.0], "n_faces": 22, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 35 \u00d7 20.5 \u00d7 24.9 mm (W\u00d7D\u00d7H).", "Four 3.8 mm square holes at the corners, 24.5 \u00d7 14.35 mm spacing."], "text": "Rectangular body, 35 \u00d7 20.5 \u00d7 24.9 mm (W\u00d7D\u00d7H). Four 3.8 mm square holes at the corners, 24.5 \u00d7 14.35 mm spacing."}, "params": {"block_w": {"type": "float", "default": 35, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 20.5, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 24.9, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 3.8, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Holes", "label": "Square hole size (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329797 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 35, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 20.5, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 24.9, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.8, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Square hole size (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().rect(p[\"hole_d\"], p[\"hole_d\"]).cutThruAll()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462ca086_1234", "family": "lofted", "tier": 1, "seed": 1177329798, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "d68ec44bf7bb83b8", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 179000.0, "surface_area": 25500.0, "principal_moments": [97499999.99999999, 129000000.0, 129000000.0], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["Lofted body through 2 sections: 68.25 \u00d7 68.25 mm rectangular section \u2192 6-sided polygon section, 33.6 mm across corners.", "One \u00d818.7 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 2 sections: 68.25 \u00d7 68.25 mm rectangular section \u2192 6-sided polygon section, 33.6 mm across corners. One \u00d818.7 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 68.25, "min": 34.1, "max": 109.2, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 33.6, "min": 13.4, "max": 81.9, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 83.5, "min": 33.4, "max": 167.0, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_bore_d": {"type": "float", "default": 18.7, "min": 2.0, "max": 26.9, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329798 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 68.25, \"min\": 34.1, \"max\": 109.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 33.6, \"min\": 13.4, \"max\": 81.9, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 83.5, \"min\": 33.4, \"max\": 167.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 18.7, \"min\": 2.0, \"max\": 26.9, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .rect(p[\"loft_base\"], p[\"loft_base\"])\n        .workplane(offset=p[\"loft_h\"])\n        .polygon(6, p[\"loft_top\"] * 0.5 * 2)\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca087_1235", "family": "block", "tier": 2, "seed": 1177329799, "symmetry": "none", "op_count": 3, "ir_hash": "9055087f6c84ed34", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 46300.0, "surface_area": 10700.0, "principal_moments": [8430000.0, 12399999.999999998, 17100000.0], "n_faces": 12, "n_edges": 27, "n_vertices": 18}, "dimensions": {"lines": ["Rectangular body, 53.99 \u00d7 22.7 \u00d7 37.8 mm (W\u00d7D\u00d7H).", "Four \u00d84.3 mm holes at the corners, 37.793 \u00d7 15.89 mm spacing.", "Boss \u00d815.3 mm \u00d7 11.8 mm tall on top face."], "text": "Rectangular body, 53.99 \u00d7 22.7 \u00d7 37.8 mm (W\u00d7D\u00d7H). Four \u00d84.3 mm holes at the corners, 37.793 \u00d7 15.89 mm spacing. Boss \u00d815.3 mm \u00d7 11.8 mm tall on top face."}, "params": {"block_w": {"type": "float", "default": 53.99, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 22.7, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 37.8, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 5.1, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "boss_d": {"type": "float", "default": 15.3, "min": 7.7, "max": 30.6, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 11.8, "min": 4.7, "max": 29.5, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329799 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 53.99, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 22.7, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 37.8, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 5.1, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"boss_d\": {\"type\": 'float', \"default\": 15.3, \"min\": 7.7, \"max\": 30.6, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 11.8, \"min\": 4.7, \"max\": 29.5, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462ca088_1236", "family": "tapped", "tier": 1, "seed": 1177329800, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "3fb00b6efc080ddb", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 34600.0, "surface_area": 9000.0, "principal_moments": [6260000.0, 6830000.0, 11000000.0], "n_faces": 618, "n_edges": 1696, "n_vertices": 1080}, "dimensions": {"lines": ["Four M6x1 tapped holes in a plate."], "text": "Four M6x1 tapped holes in a plate."}, "params": {"major_d": {"type": "float", "default": 6.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 1.0, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 18.9, "min": 7.2, "max": 34.0, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "plate_w": {"type": "float", "default": 45.0, "min": 27.0, "max": 72.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 42.7, "min": 25.6, "max": 68.3, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329800 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.0, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 18.9, \"min\": 7.2, \"max\": 34.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"plate_w\": {\"type\": 'float', \"default\": 45.0, \"min\": 27.0, \"max\": 72.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 42.7, \"min\": 25.6, \"max\": 68.3, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n}\n\n\ndef build(p):\n\n    _W, _D, _H = p[\"plate_w\"], p[\"plate_d\"], p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Box(_W, _D, _H)\n    _sx, _sy = p[\"plate_w\"] * 0.6, p[\"plate_d\"] * 0.6\n    _locs = [(_xx, _yy) for _xx in (-_sx / 2, _sx / 2) for _yy in (-_sy / 2, _sy / 2)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca089_1237", "family": "bracket", "tier": 3, "seed": 1177329801, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "1dfdc7bde5edb7af", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 19400.0, "surface_area": 8110.0, "principal_moments": [3300000.0, 9390000.0, 9950000.0], "n_faces": 14, "n_edges": 37, "n_vertices": 24}, "dimensions": {"lines": ["L-bracket: base leg 58.57 mm, vertical leg 48.6 mm, 30 mm wide, 6 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg; 6.2 mm corner gusset."], "text": "L-bracket: base leg 58.57 mm, vertical leg 48.6 mm, 30 mm wide, 6 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg; 6.2 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 58.57, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 48.6, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 30, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 6.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 6.2, "min": 3.0, "max": 15.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329801 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 58.57, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 48.6, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 30, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 6.2, \"min\": 3.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462ca08a_1238", "family": "flanged", "tier": 1, "seed": 1177329802, "symmetry": "radial", "op_count": 2, "ir_hash": "45b32b40c42d2ca8", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 161000.0, "surface_area": 29800.0, "principal_moments": [95799999.99999999, 124000000.0, 124000000.0], "n_faces": 14, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["Revolved body, \u00d850.96 mm \u00d7 68.6 mm tall with \u00d815.6 mm bore, \u00d896.2 mm \u00d7 6.6 mm flange.", "Eight \u00d83.2 mm holes on a \u00d857.8 mm bolt circle."], "text": "Revolved body, \u00d850.96 mm \u00d7 68.6 mm tall with \u00d815.6 mm bore, \u00d896.2 mm \u00d7 6.6 mm flange. Eight \u00d83.2 mm holes on a \u00d857.8 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 50.96, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 68.6, "min": 20.6, "max": 171.5, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 15.6, "min": 2.0, "max": 35.7, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 96.2, "min": 66.2, "max": 152.9, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 6.6, "min": 2.0, "max": 27.4, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 28.9, "min": 19.2, "max": 43.3, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 8, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329802 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 50.96, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 68.6, \"min\": 20.6, \"max\": 171.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 15.6, \"min\": 2.0, \"max\": 35.7, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 96.2, \"min\": 66.2, \"max\": 152.9, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 6.6, \"min\": 2.0, \"max\": 27.4, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 28.9, \"min\": 19.2, \"max\": 43.3, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462ca08b_1239", "family": "flanged", "tier": 1, "seed": 1177329803, "symmetry": "none", "op_count": 2, "ir_hash": "4f092e9773183aaf", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 9640.0, "surface_area": 5850.0, "principal_moments": [1300000.0, 1300000.0, 2080000.0], "n_faces": 29, "n_edges": 114, "n_vertices": 76}, "dimensions": {"lines": ["Revolved body, \u00d823.79 mm \u00d7 17.5 mm tall with \u00d811 mm bore, \u00d847.8 mm \u00d7 4 mm flange.", "Twelve \u00d86.4 mm holes on a \u00d828.6 mm bolt circle."], "text": "Revolved body, \u00d823.79 mm \u00d7 17.5 mm tall with \u00d811 mm bore, \u00d847.8 mm \u00d7 4 mm flange. Twelve \u00d86.4 mm holes on a \u00d828.6 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 23.79, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 17.5, "min": 5.2, "max": 43.8, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 11.0, "min": 2.0, "max": 16.7, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 47.8, "min": 30.9, "max": 71.4, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 4.0, "min": 1.2, "max": 7.0, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 14.3, "min": 9.6, "max": 21.5, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 12, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329803 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 23.79, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 17.5, \"min\": 5.2, \"max\": 43.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 11.0, \"min\": 2.0, \"max\": 16.7, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 47.8, \"min\": 30.9, \"max\": 71.4, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 4.0, \"min\": 1.2, \"max\": 7.0, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 14.3, \"min\": 9.6, \"max\": 21.5, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 12, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca08c_1240", "family": "compound", "tier": 1, "seed": 1177329804, "symmetry": "none", "op_count": 3, "ir_hash": "a26fc0b15ae3ee36", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 144000.0, "surface_area": 21600.0, "principal_moments": [66599999.99999999, 68300000.0, 69200000.0], "n_faces": 15, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 55 \u00d7 47.5 \u00d7 52.7 mm (W\u00d7D\u00d7H).", "38.7 \u00d7 44.4 mm rectangular section attachment, 8 mm long, from back face.", "Four \u00d86.4 mm holes at the corners, 23.22 \u00d7 26.64 mm spacing on the >Y face."], "text": "Rectangular body, 55 \u00d7 47.5 \u00d7 52.7 mm (W\u00d7D\u00d7H). 38.7 \u00d7 44.4 mm rectangular section attachment, 8 mm long, from back face. Four \u00d86.4 mm holes at the corners, 23.22 \u00d7 26.64 mm spacing on the >Y face."}, "params": {"block_w": {"type": "float", "default": 55, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 47.5, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 52.7, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "tab_a": {"type": "float", "default": 38.7, "min": 15.5, "max": 61.9, "step": 1.0, "group": "Tab", "label": "Tab width (mm)"}, "tab_b": {"type": "float", "default": 44.4, "min": 17.8, "max": 71.0, "step": 1.0, "group": "Tab", "label": "Tab height (mm)"}, "tab_t": {"type": "float", "default": 8.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Tab", "label": "Tab thickness (mm)"}, "tab_hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 8.5, "step": 0.1, "group": "Tab", "label": "Tab hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329804 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 55, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 47.5, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 52.7, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"tab_a\": {\"type\": 'float', \"default\": 38.7, \"min\": 15.5, \"max\": 61.9, \"step\": 1.0, \"group\": 'Tab', \"label\": 'Tab width (mm)'},\n    \"tab_b\": {\"type\": 'float', \"default\": 44.4, \"min\": 17.8, \"max\": 71.0, \"step\": 1.0, \"group\": 'Tab', \"label\": 'Tab height (mm)'},\n    \"tab_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Tab', \"label\": 'Tab thickness (mm)'},\n    \"tab_hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 8.5, \"step\": 0.1, \"group\": 'Tab', \"label\": 'Tab hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .rect(p[\"tab_a\"], p[\"tab_b\"]).extrude(p[\"tab_t\"])\n    )\n    result = (\n        result.faces('>Y').workplane()\n        .rect(p[\"tab_a\"] * 0.6, p[\"tab_b\"] * 0.6, forConstruction=True)\n        .vertices().hole(p[\"tab_hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462ca08d_1241", "family": "sketched", "tier": 1, "seed": 1177329805, "symmetry": "none", "op_count": 2, "ir_hash": "cbe6087855121600", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 16700.0, "surface_area": 5050.0, "principal_moments": [1810000.0, 3360000.0, 4890000.0], "n_faces": 7, "n_edges": 15, "n_vertices": 10}, "dimensions": {"lines": ["freeform sketched section (4 segments: 3 arcs, 1 curve), ~42.413 \u00d7 58.781 mm, extruded 10 mm thick.", "One \u00d85.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "freeform sketched section (4 segments: 3 arcs, 1 curve), ~42.413 \u00d7 58.781 mm, extruded 10 mm thick. One \u00d85.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"sk_w": {"type": "float", "default": 45, "min": 22.5, "max": 81.0, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 71.86, "min": 35.9, "max": 129.3, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "sk_t": {"type": "float", "default": 10, "min": 4.0, "max": 22.0, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "sk_hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 10.6, "step": 0.5, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329805 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 45, \"min\": 22.5, \"max\": 81.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 71.86, \"min\": 35.9, \"max\": 129.3, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"sk_t\": {\"type\": 'float', \"default\": 10, \"min\": 4.0, \"max\": 22.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"sk_hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 10.6, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.4793, p[\"sk_h\"] * 0.0371).spline([(p[\"sk_w\"] * 0.4793, p[\"sk_h\"] * 0.0371), (p[\"sk_w\"] * 0.2754, p[\"sk_h\"] * 0.2778), (p[\"sk_w\"] * -0.023, p[\"sk_h\"] * 0.3799)]).threePointArc((p[\"sk_w\"] * -0.2846, p[\"sk_h\"] * 0.2774), (p[\"sk_w\"] * -0.4632, p[\"sk_h\"] * 0.0798)).threePointArc((p[\"sk_w\"] * -0.3991, p[\"sk_h\"] * -0.2203), (p[\"sk_w\"] * -0.2145, p[\"sk_h\"] * -0.4381)).threePointArc((p[\"sk_w\"] * 0.1897, p[\"sk_h\"] * -0.2662), (p[\"sk_w\"] * 0.4793, p[\"sk_h\"] * 0.0371)).close().extrude(p[\"sk_t\"]))\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"sk_hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462ca08e_1242", "family": "flanged", "tier": 1, "seed": 1177329806, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "7f7a2a3931ca59d2", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 105000.0, "surface_area": 26400.0, "principal_moments": [62799999.99999999, 62799999.99999999, 69000000.0], "n_faces": 10, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["Revolved body, \u00d845 mm \u00d7 51.5 mm tall with \u00d813.8 mm bore, \u00d8101.7 mm \u00d7 4.9 mm flange.", "Four \u00d88.4 mm holes on a \u00d861 mm bolt circle."], "text": "Revolved body, \u00d845 mm \u00d7 51.5 mm tall with \u00d813.8 mm bore, \u00d8101.7 mm \u00d7 4.9 mm flange. Four \u00d88.4 mm holes on a \u00d861 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 45, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 51.5, "min": 15.4, "max": 128.8, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 13.8, "min": 2.0, "max": 31.5, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 101.7, "min": 58.5, "max": 135.0, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 4.9, "min": 1.5, "max": 20.6, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 8.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 30.5, "min": 20.3, "max": 45.8, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 4, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329806 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 45, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 51.5, \"min\": 15.4, \"max\": 128.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 13.8, \"min\": 2.0, \"max\": 31.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 101.7, \"min\": 58.5, \"max\": 135.0, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 4.9, \"min\": 1.5, \"max\": 20.6, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 30.5, \"min\": 20.3, \"max\": 45.8, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 4, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca08f_1243", "family": "bracket", "tier": 2, "seed": 1177329807, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "cf6b78199ea6bd4b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 24300.0, "surface_area": 17500.0, "principal_moments": [8170000.0, 39100000.0, 40500000.0], "n_faces": 18, "n_edges": 48, "n_vertices": 32}, "dimensions": {"lines": ["Z-bracket: base leg 72.71 mm, vertical leg 76.3 mm, top leg 45.8 mm, 41.51 mm wide, 3 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg; 3.9 mm corner gusset."], "text": "Z-bracket: base leg 72.71 mm, vertical leg 76.3 mm, top leg 45.8 mm, 41.51 mm wide, 3 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg; 3.9 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 72.71, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 76.3, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 41.51, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 3.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 45.8, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}, "gusset_t": {"type": "float", "default": 3.9, "min": 1.5, "max": 9.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329807 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 72.71, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 76.3, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 41.51, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 45.8, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 3.9, \"min\": 1.5, \"max\": 9.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _tl, _vl) * 0.4 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(0, _vl - _bt).lineTo(-_g, _vl - _bt)\n                    .lineTo(0, _vl - _bt - _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462ca090_1244", "family": "swept", "tier": 1, "seed": 1177329808, "symmetry": "none", "op_count": 1, "ir_hash": "ef069395dc971cd2", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 18100.0, "surface_area": 5430.0, "principal_moments": [1510000.0, 7310000.0, 8130000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["18.1 \u00d7 15.2 mm rectangular section swept along a curved path, ~65 mm span."], "text": "18.1 \u00d7 15.2 mm rectangular section swept along a curved path, ~65 mm span."}, "params": {"path_w": {"type": "float", "default": 65, "min": 32.5, "max": 117.0, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 60.09, "min": 30.0, "max": 108.2, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_a": {"type": "float", "default": 18.1, "min": 9.1, "max": 32.6, "step": 1.0, "group": "Section", "label": "Section width (mm)"}, "sweep_b": {"type": "float", "default": 15.2, "min": 7.6, "max": 27.4, "step": 1.0, "group": "Section", "label": "Section depth (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329808 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 65, \"min\": 32.5, \"max\": 117.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 60.09, \"min\": 30.0, \"max\": 108.2, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_a\": {\"type\": 'float', \"default\": 18.1, \"min\": 9.1, \"max\": 32.6, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section width (mm)'},\n    \"sweep_b\": {\"type\": 'float', \"default\": 15.2, \"min\": 7.6, \"max\": 27.4, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section depth (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.6507), (p[\"path_w\"] * 0.1179, p[\"path_h\"] * 0.7178), (p[\"path_w\"] * 0.3966, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').rect(p[\"sweep_a\"], p[\"sweep_b\"]).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca091_1245", "family": "plate", "tier": 0, "seed": 1177329809, "symmetry": "radial", "op_count": 1, "ir_hash": "c3017e59381ee38c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 15800.0, "surface_area": 6500.0, "principal_moments": [2570000.0, 4780000.0, 7250000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 60 \u00d7 43.8 \u00d7 6 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 60 \u00d7 43.8 \u00d7 6 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 60, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 43.8, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 6.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329809 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 60, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 43.8, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462ca092_1246", "family": "sketched", "tier": 1, "seed": 1177329810, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "298bef1e11821657", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 41600.0, "surface_area": 7950.0, "principal_moments": [5890000.0, 11799999.999999998, 13899999.999999998], "n_faces": 8, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["freeform sketched section (5 segments: 3 straight, 2 curves), ~65.264 \u00d7 40.904 mm, extruded 23.35 mm thick.", "One \u00d85.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "freeform sketched section (5 segments: 3 straight, 2 curves), ~65.264 \u00d7 40.904 mm, extruded 23.35 mm thick. One \u00d85.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"sk_w": {"type": "float", "default": 89.33, "min": 44.7, "max": 160.8, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 55, "min": 27.5, "max": 99.0, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "sk_t": {"type": "float", "default": 23.35, "min": 9.3, "max": 51.4, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "sk_hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 10.6, "step": 0.5, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329810 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 89.33, \"min\": 44.7, \"max\": 160.8, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 55, \"min\": 27.5, \"max\": 99.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"sk_t\": {\"type\": 'float', \"default\": 23.35, \"min\": 9.3, \"max\": 51.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"sk_hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 10.6, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.4074, p[\"sk_h\"] * -0.0861).lineTo(p[\"sk_w\"] * -0.0146, p[\"sk_h\"] * 0.3439).lineTo(p[\"sk_w\"] * -0.3232, p[\"sk_h\"] * 0.3173).bezier([(p[\"sk_w\"] * -0.3232, p[\"sk_h\"] * 0.3173), (p[\"sk_w\"] * -0.3441, p[\"sk_h\"] * -0.011), (p[\"sk_w\"] * -0.2364, p[\"sk_h\"] * -0.3218)]).spline([(p[\"sk_w\"] * -0.2364, p[\"sk_h\"] * -0.3218), (p[\"sk_w\"] * -0.0927, p[\"sk_h\"] * -0.3834), (p[\"sk_w\"] * 0.0628, p[\"sk_h\"] * -0.3998)]).lineTo(p[\"sk_w\"] * 0.4074, p[\"sk_h\"] * -0.0861).close().extrude(p[\"sk_t\"]))\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"sk_hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca093_1247", "family": "bracket", "tier": 1, "seed": 1177329811, "symmetry": "none", "op_count": 1, "ir_hash": "a51288e772751238", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 16600.0, "surface_area": 9280.0, "principal_moments": [12299999.999999998, 14599999.999999998, 26199999.999999996], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["C-channel bracket: base leg 70 mm, vertical leg 82.7 mm, 15 mm wide, 5 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."], "text": "C-channel bracket: base leg 70 mm, vertical leg 82.7 mm, 15 mm wide, 5 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 70, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 82.7, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 15.0, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 5.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 6.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329811 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 70, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 82.7, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 15.0, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 6.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca094_1248", "family": "bracket", "tier": 2, "seed": 1177329812, "symmetry": "none", "op_count": 1, "ir_hash": "1abf6c382bc23717", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 31300.0, "surface_area": 16500.0, "principal_moments": [11499999.999999998, 34700000.0, 39200000.0], "n_faces": 15, "n_edges": 41, "n_vertices": 26}, "dimensions": {"lines": ["L-bracket: base leg 81.76 mm, vertical leg 88.3 mm, 39.88 mm wide, 4 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg; 5.9 mm corner gusset."], "text": "L-bracket: base leg 81.76 mm, vertical leg 88.3 mm, 39.88 mm wide, 4 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg; 5.9 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 81.76, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 88.3, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 39.88, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 4.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 5.9, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329812 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 81.76, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 88.3, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 39.88, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 5.9, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca095_1249", "family": "block", "tier": 2, "seed": 1177329813, "symmetry": "radial", "op_count": 3, "ir_hash": "8877ecadb5ab42c2", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 140000.0, "surface_area": 24200.0, "principal_moments": [47199999.99999999, 103000000.0, 127000000.0], "n_faces": 15, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 55 \u00d7 30.8 \u00d7 87.3 mm (W\u00d7D\u00d7H).", "Four \u00d86.4 mm holes on a \u00d833 mm bolt circle.", "Boss \u00d822.9 mm \u00d7 4.7 mm tall on top face with a \u00d86.4 mm bore."], "text": "Rectangular body, 55 \u00d7 30.8 \u00d7 87.3 mm (W\u00d7D\u00d7H). Four \u00d86.4 mm holes on a \u00d833 mm bolt circle. Boss \u00d822.9 mm \u00d7 4.7 mm tall on top face with a \u00d86.4 mm bore."}, "params": {"block_w": {"type": "float", "default": 55, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 30.8, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 87.3, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "bolt_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 16.5, "min": 11.0, "max": 24.8, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 4, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}, "boss_d": {"type": "float", "default": 22.9, "min": 11.4, "max": 45.8, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 4.7, "min": 1.9, "max": 11.8, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}, "boss_bore_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 16.0, "step": 0.1, "group": "Boss", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329813 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 55, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 30.8, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 87.3, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 16.5, \"min\": 11.0, \"max\": 24.8, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 4, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n    \"boss_d\": {\"type\": 'float', \"default\": 22.9, \"min\": 11.4, \"max\": 45.8, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 4.7, \"min\": 1.9, \"max\": 11.8, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n    \"boss_bore_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 16.0, \"step\": 0.1, \"group\": 'Boss', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .hole(p[\"boss_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca096_1250", "family": "block", "tier": 2, "seed": 1177329814, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "82fa563f88dcb7ec", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 14500.0, "surface_area": 6190.0, "principal_moments": [1600000.0, 1900000.0, 2730000.0], "n_faces": 22, "n_edges": 63, "n_vertices": 42}, "dimensions": {"lines": ["Rectangular body, 30 \u00d7 16.5 \u00d7 35.3 mm (W\u00d7D\u00d7H).", "Nine \u00d81.7 mm holes in two staggered rows, 5.6 \u00d7 5 mm pitch.", "Pocket 18.1 \u00d7 7 mm, 20.2 mm deep, in top face."], "text": "Rectangular body, 30 \u00d7 16.5 \u00d7 35.3 mm (W\u00d7D\u00d7H). Nine \u00d81.7 mm holes in two staggered rows, 5.6 \u00d7 5 mm pitch. Pocket 18.1 \u00d7 7 mm, 20.2 mm deep, in top face."}, "params": {"block_w": {"type": "float", "default": 30, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 16.5, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 35.3, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 1.7, "min": 2.0, "max": 1.7, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 5, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}, "pocket_w": {"type": "float", "default": 18.1, "min": 9.1, "max": 24.0, "step": 1.0, "group": "Pocket", "label": "Pocket width (mm)"}, "pocket_d": {"type": "float", "default": 7.0, "min": 3.5, "max": 13.2, "step": 1.0, "group": "Pocket", "label": "Pocket depth (mm)"}, "pocket_h": {"type": "float", "default": 20.2, "min": 8.1, "max": 30.0, "step": 0.5, "group": "Pocket", "label": "Pocket height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329814 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 30, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 16.5, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 35.3, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 1.7, \"min\": 2.0, \"max\": 1.7, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 5, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n    \"pocket_w\": {\"type\": 'float', \"default\": 18.1, \"min\": 9.1, \"max\": 24.0, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket width (mm)'},\n    \"pocket_d\": {\"type\": 'float', \"default\": 7.0, \"min\": 3.5, \"max\": 13.2, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket depth (mm)'},\n    \"pocket_h\": {\"type\": 'float', \"default\": 20.2, \"min\": 8.1, \"max\": 30.0, \"step\": 0.5, \"group\": 'Pocket', \"label\": 'Pocket height (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 5.6\n    _ssy = 5.0\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"pocket_w\"], p[\"pocket_d\"])\n        .cutBlind(-p[\"pocket_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462ca097_1251", "family": "gear", "tier": 3, "seed": 1177329815, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "040013a7462663c1", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 33900.0, "surface_area": 10600.0, "principal_moments": [7770000.0, 7770000.0, 14299999.999999998], "n_faces": 87, "n_edges": 255, "n_vertices": 170}, "dimensions": {"lines": ["Cycloid gear, module 4 mm, 14 teeth (pitch \u00d856 mm), face width 14.7 mm, \u00d89.4 mm bore."], "text": "Cycloid gear, module 4 mm, 14 teeth (pitch \u00d856 mm), face width 14.7 mm, \u00d89.4 mm bore."}, "params": {"module": {"type": "float", "default": 4.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 14, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 14.7, "min": 5.9, "max": 36.8, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "bore_d": {"type": "float", "default": 9.4, "min": 2.0, "max": 27.6, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329815 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 4.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 14, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 14.7, \"min\": 5.9, \"max\": 36.8, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 9.4, \"min\": 2.0, \"max\": 27.6, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.CycloidGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462ca098_1252", "family": "tapped", "tier": 1, "seed": 1177329816, "symmetry": "none", "op_count": 1, "ir_hash": "2106f1b97f429f71", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 1710.0, "surface_area": 1080.0, "principal_moments": [37300.0, 49400.0, 49400.0], "n_faces": 172, "n_edges": 468, "n_vertices": 298}, "dimensions": {"lines": ["One M4x0.7 tapped hole in a cylinder."], "text": "One M4x0.7 tapped hole in a cylinder."}, "params": {"major_d": {"type": "float", "default": 4.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 0.7, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 14.7, "min": 4.8, "max": 26.5, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "body_d": {"type": "float", "default": 12.7, "min": 7.2, "max": 20.3, "step": 1.0, "group": "Body", "label": "Outer \u00d8 (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329816 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 4.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 0.7, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 14.7, \"min\": 4.8, \"max\": 26.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"body_d\": {\"type\": 'float', \"default\": 12.7, \"min\": 7.2, \"max\": 20.3, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer \u00d8 (mm)'},\n}\n\n\ndef build(p):\n\n    _W = _D = p[\"body_d\"]\n    _H = p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Cylinder(radius=_W / 2, height=_H)\n    _locs = [(0.0, 0.0)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca099_1253", "family": "revolved", "tier": 1, "seed": 1177329817, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "158935207d338890", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 81000.0, "surface_area": 16200.0, "principal_moments": [30899999.999999996, 30899999.999999996, 37000000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d855.19 mm \u00d7 50.8 mm tall."], "text": "Revolved body, \u00d855.19 mm \u00d7 50.8 mm tall."}, "params": {"outer_d": {"type": "float", "default": 55.19, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 50.8, "min": 15.2, "max": 152.4, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329817 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 55.19, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 50.8, \"min\": 15.2, \"max\": 152.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462ca09a_1254", "family": "tapped", "tier": 0, "seed": 1177329818, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "fb468c47be2b6f22", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 20300.0, "surface_area": 5440.0, "principal_moments": [2640000.0, 2640000.0, 4030000.0], "n_faces": 128, "n_edges": 356, "n_vertices": 230}, "dimensions": {"lines": ["One M12x1.75 tapped hole in a cylinder."], "text": "One M12x1.75 tapped hole in a cylinder."}, "params": {"major_d": {"type": "float", "default": 12.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 1.75, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 19.2, "min": 14.4, "max": 34.6, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "body_d": {"type": "float", "default": 38.3, "min": 21.6, "max": 61.3, "step": 1.0, "group": "Body", "label": "Outer \u00d8 (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329818 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 12.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.75, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 19.2, \"min\": 14.4, \"max\": 34.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"body_d\": {\"type\": 'float', \"default\": 38.3, \"min\": 21.6, \"max\": 61.3, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer \u00d8 (mm)'},\n}\n\n\ndef build(p):\n\n    _W = _D = p[\"body_d\"]\n    _H = p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Cylinder(radius=_W / 2, height=_H)\n    _locs = [(0.0, 0.0)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca09b_1255", "family": "plate", "tier": 1, "seed": 1177329819, "symmetry": "none", "op_count": 2, "ir_hash": "967e76d04793486a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 59400.0, "surface_area": 14500.0, "principal_moments": [10100000.0, 66299999.99999999, 75000000.0], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["Rectangular body, 115 \u00d7 43.5 \u00d7 12 mm (W\u00d7D\u00d7H).", "Seven \u00d83.2 mm holes in two staggered rows, 28.8 \u00d7 24 mm pitch."], "text": "Rectangular body, 115 \u00d7 43.5 \u00d7 12 mm (W\u00d7D\u00d7H). Seven \u00d83.2 mm holes in two staggered rows, 28.8 \u00d7 24 mm pitch."}, "params": {"plate_w": {"type": "float", "default": 115, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 43.5, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 4.4, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 4, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329819 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 115, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 43.5, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 4.4, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 4, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 28.8\n    _ssy = 24.0\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462ca09c_1256", "family": "sketched", "tier": 3, "seed": 1177329820, "symmetry": "none", "op_count": 4, "ir_hash": "11892f1c471b3c42", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 32400.0, "surface_area": 6490.0, "principal_moments": [4760000.0, 5610000.0, 6700000.0], "n_faces": 12, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["freeform sketched section (6 segments: 2 straight, 4 curves), ~39.098 \u00d7 41.424 mm, extruded 24.64 mm thick.", "One \u00d84.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch.", "Boss \u00d812.1 mm \u00d7 7.9 mm tall on top face.", "Fillet radius 1.7 mm on vertical edges (optional, off by default)."], "text": "freeform sketched section (6 segments: 2 straight, 4 curves), ~39.098 \u00d7 41.424 mm, extruded 24.64 mm thick. One \u00d84.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch. Boss \u00d812.1 mm \u00d7 7.9 mm tall on top face. Fillet radius 1.7 mm on vertical edges (optional, off by default)."}, "params": {"sk_w": {"type": "float", "default": 41.33, "min": 20.7, "max": 74.4, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 61.56, "min": 30.8, "max": 110.8, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "sk_t": {"type": "float", "default": 24.64, "min": 9.9, "max": 54.2, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "sk_hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 8.6, "step": 0.5, "group": "Holes", "label": "Hole diameter (mm)"}, "boss_d": {"type": "float", "default": 12.1, "min": 6.0, "max": 24.2, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 7.9, "min": 3.2, "max": 19.8, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}, "sk_fillet_r": {"type": "float", "default": 1.7, "min": 0.5, "max": 4.2, "step": 0.5, "group": "Body", "label": "Edge fillet radius (mm)"}, "sk_filleted": {"type": "bool", "default": false, "group": "Body", "label": "Fillet vertical edges"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329820 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 41.33, \"min\": 20.7, \"max\": 74.4, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 61.56, \"min\": 30.8, \"max\": 110.8, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"sk_t\": {\"type\": 'float', \"default\": 24.64, \"min\": 9.9, \"max\": 54.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"sk_hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 8.6, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"boss_d\": {\"type\": 'float', \"default\": 12.1, \"min\": 6.0, \"max\": 24.2, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 7.9, \"min\": 3.2, \"max\": 19.8, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n    \"sk_fillet_r\": {\"type\": 'float', \"default\": 1.7, \"min\": 0.5, \"max\": 4.2, \"step\": 0.5, \"group\": 'Body', \"label\": 'Edge fillet radius (mm)'},\n    \"sk_filleted\": {\"type\": 'bool', \"default\": False, \"group\": 'Body', \"label\": 'Fillet vertical edges'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.4515, p[\"sk_h\"] * 0.0378).bezier([(p[\"sk_w\"] * 0.4515, p[\"sk_h\"] * 0.0378), (p[\"sk_w\"] * 0.3833, p[\"sk_h\"] * 0.2448), (p[\"sk_w\"] * 0.246, p[\"sk_h\"] * 0.4141)]).lineTo(p[\"sk_w\"] * -0.3093, p[\"sk_h\"] * 0.384).bezier([(p[\"sk_w\"] * -0.3093, p[\"sk_h\"] * 0.384), (p[\"sk_w\"] * -0.4669, p[\"sk_h\"] * 0.1918), (p[\"sk_w\"] * -0.4945, p[\"sk_h\"] * -0.0553)]).bezier([(p[\"sk_w\"] * -0.4945, p[\"sk_h\"] * -0.0553), (p[\"sk_w\"] * -0.4195, p[\"sk_h\"] * -0.1741), (p[\"sk_w\"] * -0.3075, p[\"sk_h\"] * -0.2588)]).lineTo(p[\"sk_w\"] * 0.2568, p[\"sk_h\"] * -0.2348).bezier([(p[\"sk_w\"] * 0.2568, p[\"sk_h\"] * -0.2348), (p[\"sk_w\"] * 0.3745, p[\"sk_h\"] * -0.113), (p[\"sk_w\"] * 0.4515, p[\"sk_h\"] * 0.0378)]).close().extrude(p[\"sk_t\"]))\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"sk_hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    if p[\"sk_filleted\"]:\n        result = result.edges('|Z').fillet(p[\"sk_fillet_r\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462ca09d_1257", "family": "profiled", "tier": 1, "seed": 1177329821, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "a6c06d9a705f4954", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 7350.0, "surface_area": 2720.0, "principal_moments": [180000.0, 1610000.0, 1610000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["4-sided polygon section, 17.16 mm across corners, extruded 49.9 mm thick."], "text": "4-sided polygon section, 17.16 mm across corners, extruded 49.9 mm thick."}, "params": {"circ_r": {"type": "float", "default": 8.58, "min": 4.3, "max": 17.2, "step": 1.0, "group": "Profile", "label": "Circumscribed radius (mm)"}, "n_sides": {"type": "int", "default": 4, "min": 3, "max": 8, "step": 1, "group": "Profile", "label": "Sides"}, "length": {"type": "float", "default": 49.9, "min": 15.0, "max": 149.7, "step": 5.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329821 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"circ_r\": {\"type\": 'float', \"default\": 8.58, \"min\": 4.3, \"max\": 17.2, \"step\": 1.0, \"group\": 'Profile', \"label\": 'Circumscribed radius (mm)'},\n    \"n_sides\": {\"type\": 'int', \"default\": 4, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Profile', \"label\": 'Sides'},\n    \"length\": {\"type\": 'float', \"default\": 49.9, \"min\": 15.0, \"max\": 149.7, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').polygon(p[\"n_sides\"], p[\"circ_r\"] * 2).extrude(p[\"length\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462ca09e_1258", "family": "lofted", "tier": 3, "seed": 1177329822, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "740d2a414189e879", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 19500.0, "surface_area": 5350.0, "principal_moments": [2470000.0, 2920000.0, 2920000.0], "n_faces": 8, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["Lofted body through 3 sections: 35 \u00d7 35 mm rectangular section \u2192 \u00d825.8 mm circular section \u2192 \u00d816.5 mm circular section.", "One \u00d86.9 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 3 sections: 35 \u00d7 35 mm rectangular section \u2192 \u00d825.8 mm circular section \u2192 \u00d816.5 mm circular section. One \u00d86.9 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 35, "min": 17.5, "max": 56.0, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 16.5, "min": 6.6, "max": 42.0, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 35.4, "min": 14.2, "max": 70.8, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_mid": {"type": "float", "default": 25.8, "min": 8.2, "max": 42.0, "step": 1.0, "group": "Body", "label": "Mid size (mm)"}, "loft_bore_d": {"type": "float", "default": 6.9, "min": 2.0, "max": 13.2, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329822 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 35, \"min\": 17.5, \"max\": 56.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 16.5, \"min\": 6.6, \"max\": 42.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 35.4, \"min\": 14.2, \"max\": 70.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_mid\": {\"type\": 'float', \"default\": 25.8, \"min\": 8.2, \"max\": 42.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Mid size (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 6.9, \"min\": 2.0, \"max\": 13.2, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .rect(p[\"loft_base\"], p[\"loft_base\"])\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .circle(p[\"loft_mid\"] / 2)\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .circle(p[\"loft_top\"] / 2)\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca09f_1259", "family": "revolved", "tier": 1, "seed": 1177329823, "symmetry": "radial", "op_count": 1, "ir_hash": "3ef22b04a0d5d327", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 1070.0, "surface_area": 938.0, "principal_moments": [24700.0, 27300.0, 27300.0], "n_faces": 6, "n_edges": 9, "n_vertices": 6}, "dimensions": {"lines": ["Revolved body, \u00d88.62 mm \u00d7 13 mm tall with \u00d83.8 mm bore, \u00d815.5 mm \u00d7 3.5 mm flange."], "text": "Revolved body, \u00d88.62 mm \u00d7 13 mm tall with \u00d83.8 mm bore, \u00d815.5 mm \u00d7 3.5 mm flange."}, "params": {"outer_d": {"type": "float", "default": 8.62, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 13.0, "min": 3.9, "max": 39.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 3.8, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 15.5, "min": 10.3, "max": 25.9, "step": 1.0, "group": "Body", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 3.5, "min": 1.1, "max": 6.5, "step": 0.5, "group": "Body", "label": "Flange height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329823 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 8.62, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 13.0, \"min\": 3.9, \"max\": 39.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 3.8, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 15.5, \"min\": 10.3, \"max\": 25.9, \"step\": 1.0, \"group\": 'Body', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 3.5, \"min\": 1.1, \"max\": 6.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Flange height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca0a0_1260", "family": "revolved", "tier": 1, "seed": 1177329824, "symmetry": "radial", "op_count": 2, "ir_hash": "eba968f7a7a252cd", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 37200.0, "surface_area": 9410.0, "principal_moments": [4950000.0, 18500000.0, 18500000.0], "n_faces": 10, "n_edges": 17, "n_vertices": 10}, "dimensions": {"lines": ["Revolved body, \u00d820 mm \u00d7 73.4 mm tall with \u00d86.8 mm bore, \u00d837.6 mm \u00d7 21.2 mm flange.", "Chamfer 0.7 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d820 mm \u00d7 73.4 mm tall with \u00d86.8 mm bore, \u00d837.6 mm \u00d7 21.2 mm flange. Chamfer 0.7 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 20, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 73.4, "min": 22.0, "max": 220.2, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 6.8, "min": 2.0, "max": 14.0, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 37.6, "min": 24.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 21.2, "min": 6.4, "max": 36.7, "step": 0.5, "group": "Body", "label": "Flange height (mm)"}, "end_chamfer": {"type": "float", "default": 0.7, "min": 0.1, "max": 2.1, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329824 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 20, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 73.4, \"min\": 22.0, \"max\": 220.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 6.8, \"min\": 2.0, \"max\": 14.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 37.6, \"min\": 24.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 21.2, \"min\": 6.4, \"max\": 36.7, \"step\": 0.5, \"group\": 'Body', \"label\": 'Flange height (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.7, \"min\": 0.1, \"max\": 2.1, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca0a1_1261", "family": "bracket", "tier": 1, "seed": 1177329825, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "d218dfcabce710c6", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 23900.0, "surface_area": 11100.0, "principal_moments": [7460000.0, 10700000.0, 14399999.999999998], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["L-bracket: base leg 55 mm, vertical leg 41.1 mm, 52.8 mm wide, 5 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."], "text": "L-bracket: base leg 55 mm, vertical leg 41.1 mm, 52.8 mm wide, 5 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 55, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 41.1, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 52.8, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 5.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329825 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 55, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 41.1, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 52.8, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca0a2_1262", "family": "revolved", "tier": 0, "seed": 1177329826, "symmetry": "none", "op_count": 1, "ir_hash": "c81974587cbfce1b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 188000.0, "surface_area": 33400.0, "principal_moments": [85200000.0, 200000000.0, 200000000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d855 mm \u00d7 118.6 mm tall."], "text": "Revolved body, \u00d855 mm \u00d7 118.6 mm tall."}, "params": {"outer_d": {"type": "float", "default": 55, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 118.6, "min": 35.6, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329826 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 55, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 118.6, \"min\": 35.6, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca0a3_1263", "family": "bracket", "tier": 3, "seed": 1177329827, "symmetry": "none", "op_count": 1, "ir_hash": "7816a5a4b572c387", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 15800.0, "surface_area": 9650.0, "principal_moments": [10600000.0, 15799999.999999998, 25899999.999999996], "n_faces": 19, "n_edges": 51, "n_vertices": 34}, "dimensions": {"lines": ["C-channel bracket: base leg 75 mm, vertical leg 80.4 mm, 15.77 mm wide, 4 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 5.6 mm corner gusset."], "text": "C-channel bracket: base leg 75 mm, vertical leg 80.4 mm, 15.77 mm wide, 4 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 5.6 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 75, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 80.4, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 15.77, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 4.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 6.3, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 5.6, "min": 2.0, "max": 7.9, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329827 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 75, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 80.4, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 15.77, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 6.3, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 5.6, \"min\": 2.0, \"max\": 7.9, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl / 2, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bl - _bt, _bt).lineTo(_bl - _bt - _g, _bt)\n                    .lineTo(_bl - _bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca0a4_1264", "family": "compound", "tier": 1, "seed": 1177329828, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "325046dca072fabc", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 7660.0, "surface_area": 2830.0, "principal_moments": [443000.0, 541000.0, 697000.0], "n_faces": 16, "n_edges": 39, "n_vertices": 26}, "dimensions": {"lines": ["Rectangular body, 20.32 \u00d7 25 \u00d7 15 mm (W\u00d7D\u00d7H).", "8-sided polygon section, 6.4 mm across corners attachment, 9.2 mm long, from left face with a \u00d83.1 mm bore."], "text": "Rectangular body, 20.32 \u00d7 25 \u00d7 15 mm (W\u00d7D\u00d7H). 8-sided polygon section, 6.4 mm across corners attachment, 9.2 mm long, from left face with a \u00d83.1 mm bore."}, "params": {"block_w": {"type": "float", "default": 20.32, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 25.0, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 15.0, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "spig_sides": {"type": "int", "default": 8, "min": 3, "max": 8, "step": 1, "group": "Spigot", "label": "Spigot sides"}, "spig_r": {"type": "float", "default": 3.2, "min": 1.6, "max": 5.2, "step": 1.0, "group": "Spigot", "label": "Spigot circumradius (mm)"}, "spig_len": {"type": "float", "default": 9.2, "min": 1.8, "max": 23.7, "step": 1.0, "group": "Spigot", "label": "Spigot length (mm)"}, "spig_bore": {"type": "float", "default": 3.1, "min": 2.0, "max": 4.3, "step": 0.5, "group": "Spigot", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329828 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 20.32, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 25.0, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 15.0, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"spig_sides\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Spigot', \"label\": 'Spigot sides'},\n    \"spig_r\": {\"type\": 'float', \"default\": 3.2, \"min\": 1.6, \"max\": 5.2, \"step\": 1.0, \"group\": 'Spigot', \"label\": 'Spigot circumradius (mm)'},\n    \"spig_len\": {\"type\": 'float', \"default\": 9.2, \"min\": 1.8, \"max\": 23.7, \"step\": 1.0, \"group\": 'Spigot', \"label\": 'Spigot length (mm)'},\n    \"spig_bore\": {\"type\": 'float', \"default\": 3.1, \"min\": 2.0, \"max\": 4.3, \"step\": 0.5, \"group\": 'Spigot', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"spig_sides\"], p[\"spig_r\"] * 2).extrude(p[\"spig_len\"])\n    )\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"spig_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca0a5_1265", "family": "bracket", "tier": 1, "seed": 1177329829, "symmetry": "none", "op_count": 1, "ir_hash": "9513f468396189ed", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 28200.0, "surface_area": 20400.0, "principal_moments": [11300000.0, 54099999.99999999, 55099999.99999999], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Z-bracket: base leg 75 mm, vertical leg 81.9 mm, top leg 52.4 mm, 46.6 mm wide, 3 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."], "text": "Z-bracket: base leg 75 mm, vertical leg 81.9 mm, top leg 52.4 mm, 46.6 mm wide, 3 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 75, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 81.9, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 46.6, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 3.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 52.4, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329829 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 75, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 81.9, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 46.6, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 52.4, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462ca0a6_1266", "family": "flanged", "tier": 3, "seed": 1177329830, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "5ea527ece8702d4e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 365000.0, "surface_area": 55000.0, "principal_moments": [412000000.0, 505000000.0, 505000000.0], "n_faces": 10, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["Revolved body, \u00d870 mm \u00d7 90.4 mm tall with \u00d828.6 mm bore, \u00d8129.4 mm \u00d7 8.2 mm flange.", "Four \u00d86.4 mm holes on a \u00d877.6 mm bolt circle."], "text": "Revolved body, \u00d870 mm \u00d7 90.4 mm tall with \u00d828.6 mm bore, \u00d8129.4 mm \u00d7 8.2 mm flange. Four \u00d86.4 mm holes on a \u00d877.6 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 70, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 90.4, "min": 27.1, "max": 226.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 28.6, "min": 2.0, "max": 49.0, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 129.4, "min": 91.0, "max": 210.0, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 8.2, "min": 2.5, "max": 36.2, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 38.8, "min": 25.9, "max": 58.2, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 4, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329830 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 70, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 90.4, \"min\": 27.1, \"max\": 226.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 28.6, \"min\": 2.0, \"max\": 49.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 129.4, \"min\": 91.0, \"max\": 210.0, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 8.2, \"min\": 2.5, \"max\": 36.2, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 38.8, \"min\": 25.9, \"max\": 58.2, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 4, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca0a7_1267", "family": "revolved", "tier": 2, "seed": 1177329831, "symmetry": "radial", "op_count": 2, "ir_hash": "e1a2a8b88043ba11", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 1990.0, "surface_area": 1870.0, "principal_moments": [32400.0, 237000.0, 237000.0], "n_faces": 8, "n_edges": 14, "n_vertices": 8}, "dimensions": {"lines": ["Revolved body, \u00d810 mm \u00d7 37.3 mm tall with \u00d85.5 mm bore.", "Chamfer 1 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d810 mm \u00d7 37.3 mm tall with \u00d85.5 mm bore. Chamfer 1 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 10, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 37.3, "min": 11.2, "max": 111.9, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 5.5, "min": 2.0, "max": 7.0, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "end_chamfer": {"type": "float", "default": 1.0, "min": 0.1, "max": 3.0, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329831 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 10, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 37.3, \"min\": 11.2, \"max\": 111.9, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 5.5, \"min\": 2.0, \"max\": 7.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 1.0, \"min\": 0.1, \"max\": 3.0, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462ca0a8_1268", "family": "gear", "tier": 2, "seed": 1177329832, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "19c112b2a99fd3d6", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 114000.0, "surface_area": 18900.0, "principal_moments": [49899999.99999999, 49899999.99999999, 86800000.0], "n_faces": 53, "n_edges": 153, "n_vertices": 102}, "dimensions": {"lines": ["Helical gear, module 6 mm, 10 teeth (pitch \u00d860 mm), face width 26 mm, 30\u00b0 helix, \u00d811.2 mm bore."], "text": "Helical gear, module 6 mm, 10 teeth (pitch \u00d860 mm), face width 26 mm, 30\u00b0 helix, \u00d811.2 mm bore."}, "params": {"module": {"type": "float", "default": 6.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 10, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 26.0, "min": 10.4, "max": 65.0, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "helix_angle": {"type": "float", "default": 30.0, "min": 5.0, "max": 40.0, "step": 1.0, "group": "Gear", "label": "Helix angle (deg)"}, "profile_shift": {"type": "float", "default": 0.42, "min": -0.5, "max": 0.7, "step": 0.05, "group": "Gear", "label": "Profile shift"}, "root_fillet": {"type": "float", "default": 1.05, "min": 0.0, "max": 3.0, "step": 0.05, "group": "Gear", "label": "Root fillet (mm)"}, "bore_d": {"type": "float", "default": 11.2, "min": 2.0, "max": 27.0, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329832 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 6.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 10, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 26.0, \"min\": 10.4, \"max\": 65.0, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"helix_angle\": {\"type\": 'float', \"default\": 30.0, \"min\": 5.0, \"max\": 40.0, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Helix angle (deg)'},\n    \"profile_shift\": {\"type\": 'float', \"default\": 0.42, \"min\": -0.5, \"max\": 0.7, \"step\": 0.05, \"group\": 'Gear', \"label\": 'Profile shift'},\n    \"root_fillet\": {\"type\": 'float', \"default\": 1.05, \"min\": 0.0, \"max\": 3.0, \"step\": 0.05, \"group\": 'Gear', \"label\": 'Root fillet (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 11.2, \"min\": 2.0, \"max\": 27.0, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.HelicalGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"], helix_angle=math.radians(p[\"helix_angle\"]), herringbone=False, profile_shift=p[\"profile_shift\"], root_fillet=p[\"root_fillet\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca0a9_1269", "family": "revolved", "tier": 1, "seed": 1177329833, "symmetry": "none", "op_count": 2, "ir_hash": "71c09074b066cdfb", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 6830.0, "surface_area": 4700.0, "principal_moments": [263000.0, 2140000.0, 2140000.0], "n_faces": 8, "n_edges": 14, "n_vertices": 8}, "dimensions": {"lines": ["Revolved body, \u00d815.08 mm \u00d7 59.5 mm tall with \u00d89 mm bore.", "Chamfer 0.4 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d815.08 mm \u00d7 59.5 mm tall with \u00d89 mm bore. Chamfer 0.4 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 15.08, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 59.5, "min": 17.8, "max": 178.5, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 9.0, "min": 2.0, "max": 10.6, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "end_chamfer": {"type": "float", "default": 0.4, "min": 0.1, "max": 1.2, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329833 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 15.08, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 59.5, \"min\": 17.8, \"max\": 178.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 9.0, \"min\": 2.0, \"max\": 10.6, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.4, \"min\": 0.1, \"max\": 1.2, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca0aa_1270", "family": "compound", "tier": 1, "seed": 1177329834, "symmetry": "none", "op_count": 3, "ir_hash": "44a3bda8870ed33e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 95400.0, "surface_area": 14700.0, "principal_moments": [30899999.999999996, 33299999.999999996, 46199999.99999999], "n_faces": 14, "n_edges": 34, "n_vertices": 22}, "dimensions": {"lines": ["Rectangular body, 55 \u00d7 52.2 \u00d7 33.5 mm (W\u00d7D\u00d7H).", "\u00d87.4 mm circular section attachment, 7.4 mm long, from left face with a \u00d83.9 mm bore.", "\u00d87.4 mm circular section attachment, 7.4 mm long, from front face with a \u00d83.9 mm bore."], "text": "Rectangular body, 55 \u00d7 52.2 \u00d7 33.5 mm (W\u00d7D\u00d7H). \u00d87.4 mm circular section attachment, 7.4 mm long, from left face with a \u00d83.9 mm bore. \u00d87.4 mm circular section attachment, 7.4 mm long, from front face with a \u00d83.9 mm bore."}, "params": {"block_w": {"type": "float", "default": 55, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body width (mm)"}, "block_d": {"type": "float", "default": 52.2, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body depth (mm)"}, "block_h": {"type": "float", "default": 33.5, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body height (mm)"}, "port_d": {"type": "float", "default": 7.4, "min": 3.0, "max": 15.1, "step": 1.0, "group": "Ports", "label": "Ports diameter (mm)"}, "port_len": {"type": "float", "default": 7.4, "min": 1.9, "max": 22.2, "step": 1.0, "group": "Ports", "label": "Port boss length (mm)"}, "port_bore": {"type": "float", "default": 3.9, "min": 2.0, "max": 5.3, "step": 0.5, "group": "Ports", "label": "Port bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329834 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 55, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 52.2, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 33.5, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body height (mm)'},\n    \"port_d\": {\"type\": 'float', \"default\": 7.4, \"min\": 3.0, \"max\": 15.1, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Ports diameter (mm)'},\n    \"port_len\": {\"type\": 'float', \"default\": 7.4, \"min\": 1.9, \"max\": 22.2, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Port boss length (mm)'},\n    \"port_bore\": {\"type\": 'float', \"default\": 3.9, \"min\": 2.0, \"max\": 5.3, \"step\": 0.5, \"group\": 'Ports', \"label\": 'Port bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462ca0ab_1271", "family": "enclosure", "tier": 1, "seed": 1177329835, "symmetry": "none", "op_count": 2, "ir_hash": "bce3b1eb7540126c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 159000.0, "surface_area": 64000.0, "principal_moments": [179000000.0, 316000000.0, 350000000.0], "n_faces": 11, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 115 \u00d7 55.5 \u00d7 82.3 mm (W\u00d7D\u00d7H).", "Hollowed to 5.1 mm wall thickness, open at top face."], "text": "Rectangular body, 115 \u00d7 55.5 \u00d7 82.3 mm (W\u00d7D\u00d7H). Hollowed to 5.1 mm wall thickness, open at top face."}, "params": {"enc_w": {"type": "float", "default": 115, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 55.5, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 82.3, "min": 32.9, "max": 164.6, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 5.1, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329835 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 115, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 55.5, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 82.3, \"min\": 32.9, \"max\": 164.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 5.1, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462ca0ac_1272", "family": "enclosure", "tier": 2, "seed": 1177329836, "symmetry": "mirror_x", "op_count": 4, "ir_hash": "b67da679b317398e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 25300.0, "surface_area": 21300.0, "principal_moments": [11300000.0, 15699999.999999998, 16800000.0], "n_faces": 23, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 57.97 \u00d7 36.9 \u00d7 49.6 mm (W\u00d7D\u00d7H).", "Hollowed to 2.4 mm wall thickness, open at top face.", "Four \u00d85.3 mm holes at the corners, 40.579 \u00d7 25.83 mm spacing.", "Fillet radius 2.669 mm on vertical edges."], "text": "Rectangular body, 57.97 \u00d7 36.9 \u00d7 49.6 mm (W\u00d7D\u00d7H). Hollowed to 2.4 mm wall thickness, open at top face. Four \u00d85.3 mm holes at the corners, 40.579 \u00d7 25.83 mm spacing. Fillet radius 2.669 mm on vertical edges."}, "params": {"enc_w": {"type": "float", "default": 57.97, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 36.9, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 49.6, "min": 19.8, "max": 99.2, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 2.4, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 8.3, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329836 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 57.97, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 36.9, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 49.6, \"min\": 19.8, \"max\": 99.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 2.4, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 8.3, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"enc_w\"] * 0.7, p[\"enc_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"enc_w\"], p[\"enc_d\"]) * 0.07232621964151847)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462ca0ad_1273", "family": "threaded", "tier": 2, "seed": 1177329837, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "fc48d62c21da915f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 8300.0, "surface_area": 4280.0, "principal_moments": [609000.0, 948000.0, 949000.0], "n_faces": 207, "n_edges": 579, "n_vertices": 374}, "dimensions": {"lines": ["M12x1.75 internal thread, 30.6 mm long."], "text": "M12x1.75 internal thread, 30.6 mm long."}, "params": {"major_d": {"type": "float", "default": 12.0, "min": 4.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Major diameter (mm)"}, "pitch": {"type": "float", "default": 1.75, "min": 0.88, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Pitch (mm)"}, "thread_len": {"type": "float", "default": 30.6, "min": 12.2, "max": 61.2, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329837 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 12.0, \"min\": 4.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Major diameter (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.75, \"min\": 0.88, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Pitch (mm)'},\n    \"thread_len\": {\"type\": 'float', \"default\": 30.6, \"min\": 12.2, \"max\": 61.2, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.IsoThread(major_diameter=p[\"major_d\"], pitch=p[\"pitch\"], length=p[\"thread_len\"], external=False, end_finishes=(\"fade\", \"fade\"))\n    _body = _bd.Cylinder(radius=(p[\"major_d\"]) * 0.9, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _bore = _bd.Cylinder(radius=(p[\"major_d\"]) / 2, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = (_body - _bore) + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca0ae_1274", "family": "revolved", "tier": 0, "seed": 1177329838, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "8f83316fea303cc7", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 959000.0, "surface_area": 117000.0, "principal_moments": [857000000.0, 5800000000.0, 5800000000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d877.2 mm \u00d7 307.2 mm tall."], "text": "Revolved body, \u00d877.2 mm \u00d7 307.2 mm tall."}, "params": {"outer_d": {"type": "float", "default": 77.2, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 307.2, "min": 92.2, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329838 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 77.2, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 307.2, \"min\": 92.2, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462ca0af_1275", "family": "lofted", "tier": 1, "seed": 1177329839, "symmetry": "none", "op_count": 2, "ir_hash": "4a5472d4a0c5d4c8", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 18100.0, "surface_area": 5330.0, "principal_moments": [2400000.0, 2400000.0, 3130000.0], "n_faces": 9, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["Lofted body through 2 sections: \u00d842.35 mm circular section \u2192 6-sided polygon section, 23.9 mm across corners.", "One \u00d812.6 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 2 sections: \u00d842.35 mm circular section \u2192 6-sided polygon section, 23.9 mm across corners. One \u00d812.6 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 42.35, "min": 21.2, "max": 67.8, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 23.9, "min": 9.6, "max": 50.8, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 25.5, "min": 10.2, "max": 51.0, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_bore_d": {"type": "float", "default": 12.6, "min": 2.0, "max": 19.1, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329839 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 42.35, \"min\": 21.2, \"max\": 67.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 23.9, \"min\": 9.6, \"max\": 50.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 25.5, \"min\": 10.2, \"max\": 51.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 12.6, \"min\": 2.0, \"max\": 19.1, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .circle(p[\"loft_base\"] / 2)\n        .workplane(offset=p[\"loft_h\"])\n        .polygon(6, p[\"loft_top\"] * 0.5 * 2)\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462ca0b0_1276", "family": "flanged", "tier": 1, "seed": 1177329840, "symmetry": "none", "op_count": 2, "ir_hash": "b334a2f0654d9cf0", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 91400.0, "surface_area": 25100.0, "principal_moments": [57099999.99999999, 57099999.99999999, 103000000.0], "n_faces": 12, "n_edges": 27, "n_vertices": 18}, "dimensions": {"lines": ["Revolved body, \u00d845.36 mm \u00d7 29.7 mm tall with \u00d821.8 mm bore, \u00d8106 mm \u00d7 7.7 mm flange.", "Six \u00d85.3 mm holes on a \u00d863.6 mm bolt circle."], "text": "Revolved body, \u00d845.36 mm \u00d7 29.7 mm tall with \u00d821.8 mm bore, \u00d8106 mm \u00d7 7.7 mm flange. Six \u00d85.3 mm holes on a \u00d863.6 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 45.36, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 29.7, "min": 8.9, "max": 74.2, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 21.8, "min": 2.0, "max": 31.8, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 106.0, "min": 59.0, "max": 136.1, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 7.7, "min": 2.3, "max": 11.9, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 31.8, "min": 21.2, "max": 47.7, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 6, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329840 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 45.36, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 29.7, \"min\": 8.9, \"max\": 74.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 21.8, \"min\": 2.0, \"max\": 31.8, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 106.0, \"min\": 59.0, \"max\": 136.1, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 7.7, \"min\": 2.3, \"max\": 11.9, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 31.8, \"min\": 21.2, \"max\": 47.7, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca0b1_1277", "family": "bracket", "tier": 1, "seed": 1177329841, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "d28fe5d7a4c5f5e8", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 42100.0, "surface_area": 16800.0, "principal_moments": [20900000.0, 30799999.999999996, 38600000.0], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["C-channel bracket: base leg 60 mm, vertical leg 58.1 mm, 43.03 mm wide, 6 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."], "text": "C-channel bracket: base leg 60 mm, vertical leg 58.1 mm, 43.03 mm wide, 6 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 60, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 58.1, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 43.03, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 6.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329841 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 60, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 58.1, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 43.03, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca0b2_1278", "family": "block", "tier": 1, "seed": 1177329842, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "6a1327126d312841", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 18800.0, "surface_area": 6150.0, "principal_moments": [1920000.0, 2520000.0, 2600000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 25.98 \u00d7 24.8 \u00d7 32 mm (W\u00d7D\u00d7H).", "Four \u00d84.3 mm holes at the corners, 18.186 \u00d7 17.36 mm spacing."], "text": "Rectangular body, 25.98 \u00d7 24.8 \u00d7 32 mm (W\u00d7D\u00d7H). Four \u00d84.3 mm holes at the corners, 18.186 \u00d7 17.36 mm spacing."}, "params": {"block_w": {"type": "float", "default": 25.98, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 24.8, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 32.0, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 5.6, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329842 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 25.98, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 24.8, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 32.0, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 5.6, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462ca0b3_1279", "family": "threaded", "tier": 3, "seed": 1177329843, "symmetry": "none", "op_count": 1, "ir_hash": "288e79fceceb7e68", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 5330.0, "surface_area": 3130.0, "principal_moments": [109000.0, 875000.0, 875000.0], "n_faces": 150, "n_edges": 380, "n_vertices": 232}, "dimensions": {"lines": ["Tr 14x3 external thread, 43.5 mm long."], "text": "Tr 14x3 external thread, 43.5 mm long."}, "params": {"thread_size": {"type": "enum", "default": "14x3", "choices": ["8x1.5", "10x2", "12x3", "14x3", "16x4", "18x4", "20x4", "24x5", "28x5", "30x6", "36x6", "40x7"], "group": "Thread", "label": "Size designation"}, "thread_len": {"type": "float", "default": 43.5, "min": 17.4, "max": 87.0, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329843 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"thread_size\": {\"type\": 'enum', \"default\": '14x3', \"choices\": ['8x1.5', '10x2', '12x3', '14x3', '16x4', '18x4', '20x4', '24x5', '28x5', '30x6', '36x6', '40x7'], \"group\": 'Thread', \"label\": 'Size designation'},\n    \"thread_len\": {\"type\": 'float', \"default\": 43.5, \"min\": 17.4, \"max\": 87.0, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.MetricTrapezoidalThread(size=p[\"thread_size\"], length=p[\"thread_len\"], external=True, end_finishes=(\"fade\", \"fade\"))\n    _r = _thr.min_radius if hasattr(_thr, 'min_radius') else _thr.root_radius\n    _shank = _bd.Cylinder(radius=_r, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = _shank + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462ca0b4_1280", "family": "flanged", "tier": 1, "seed": 1177329844, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "27f150c4cc8ee44a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 85800.0, "surface_area": 20100.0, "principal_moments": [39900000.0, 40200000.0, 40200000.0], "n_faces": 13, "n_edges": 42, "n_vertices": 28}, "dimensions": {"lines": ["Revolved body, \u00d845 mm \u00d7 49 mm tall with \u00d816.8 mm bore, \u00d879.1 mm \u00d7 6.3 mm flange.", "Four \u00d86.4 mm holes on a \u00d847.4 mm bolt circle."], "text": "Revolved body, \u00d845 mm \u00d7 49 mm tall with \u00d816.8 mm bore, \u00d879.1 mm \u00d7 6.3 mm flange. Four \u00d86.4 mm holes on a \u00d847.4 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 45, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 49.0, "min": 14.7, "max": 122.5, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 16.8, "min": 2.0, "max": 31.5, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 79.1, "min": 58.5, "max": 135.0, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 6.3, "min": 1.9, "max": 19.6, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 23.7, "min": 15.8, "max": 35.6, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 4, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329844 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 45, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 49.0, \"min\": 14.7, \"max\": 122.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 16.8, \"min\": 2.0, \"max\": 31.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 79.1, \"min\": 58.5, \"max\": 135.0, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 6.3, \"min\": 1.9, \"max\": 19.6, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 23.7, \"min\": 15.8, \"max\": 35.6, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 4, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca0b5_1281", "family": "block", "tier": 2, "seed": 1177329845, "symmetry": "none", "op_count": 3, "ir_hash": "f094f366d4756c42", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 592000.0, "surface_area": 64000.0, "principal_moments": [733000000.0, 751000000.0, 949000000.0], "n_faces": 20, "n_edges": 51, "n_vertices": 34}, "dimensions": {"lines": ["Rectangular body, 95 \u00d7 70.5 \u00d7 100 mm (W\u00d7D\u00d7H).", "Nine \u00d85.3 mm holes in two staggered rows, 17.8 \u00d7 15.1 mm pitch.", "Pocket 44.8 \u00d7 41.4 mm, 33 mm deep, in top face."], "text": "Rectangular body, 95 \u00d7 70.5 \u00d7 100 mm (W\u00d7D\u00d7H). Nine \u00d85.3 mm holes in two staggered rows, 17.8 \u00d7 15.1 mm pitch. Pocket 44.8 \u00d7 41.4 mm, 33 mm deep, in top face."}, "params": {"block_w": {"type": "float", "default": 95, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 70.5, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 100.0, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 7.1, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 5, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}, "pocket_w": {"type": "float", "default": 44.8, "min": 22.4, "max": 76.0, "step": 1.0, "group": "Pocket", "label": "Pocket width (mm)"}, "pocket_d": {"type": "float", "default": 41.4, "min": 20.7, "max": 56.4, "step": 1.0, "group": "Pocket", "label": "Pocket depth (mm)"}, "pocket_h": {"type": "float", "default": 33.0, "min": 13.2, "max": 85.0, "step": 0.5, "group": "Pocket", "label": "Pocket height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329845 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 95, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 70.5, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 100.0, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 7.1, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 5, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n    \"pocket_w\": {\"type\": 'float', \"default\": 44.8, \"min\": 22.4, \"max\": 76.0, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket width (mm)'},\n    \"pocket_d\": {\"type\": 'float', \"default\": 41.4, \"min\": 20.7, \"max\": 56.4, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket depth (mm)'},\n    \"pocket_h\": {\"type\": 'float', \"default\": 33.0, \"min\": 13.2, \"max\": 85.0, \"step\": 0.5, \"group\": 'Pocket', \"label\": 'Pocket height (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 17.8\n    _ssy = 15.1\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"pocket_w\"], p[\"pocket_d\"])\n        .cutBlind(-p[\"pocket_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca0b6_1282", "family": "bracket", "tier": 1, "seed": 1177329846, "symmetry": "none", "op_count": 1, "ir_hash": "57a4bdfc7a7f177a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 6230.0, "surface_area": 4840.0, "principal_moments": [940000.0, 1110000.0, 1680000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["L-bracket: base leg 35 mm, vertical leg 25 mm, 37.54 mm wide, 3 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."], "text": "L-bracket: base leg 35 mm, vertical leg 25 mm, 37.54 mm wide, 3 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 35, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 25.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 37.54, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 3.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329846 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 35, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 25.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 37.54, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca0b7_1283", "family": "plate", "tier": 2, "seed": 1177329847, "symmetry": "none", "op_count": 2, "ir_hash": "25df300e83a9e3c9", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 6440.0, "surface_area": 3020.0, "principal_moments": [232000.0, 752000.0, 877000.0], "n_faces": 30, "n_edges": 84, "n_vertices": 56}, "dimensions": {"lines": ["Rectangular body, 36.41 \u00d7 18.8 \u00d7 10 mm (W\u00d7D\u00d7H).", "Six 2.6 mm square holes in a 3\u00d72 grid, 14.6 \u00d7 15 mm pitch."], "text": "Rectangular body, 36.41 \u00d7 18.8 \u00d7 10 mm (W\u00d7D\u00d7H). Six 2.6 mm square holes in a 3\u00d72 grid, 14.6 \u00d7 15 mm pitch."}, "params": {"plate_w": {"type": "float", "default": 36.41, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 18.8, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 2.6, "min": 2.0, "max": 2.9, "step": 0.1, "group": "Holes", "label": "Square hole size (mm)"}, "hole_nx": {"type": "int", "default": 3, "min": 1, "max": 4, "step": 1, "group": "Holes", "label": "Holes across"}, "hole_ny": {"type": "int", "default": 2, "min": 1, "max": 4, "step": 1, "group": "Holes", "label": "Holes deep"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329847 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 36.41, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 18.8, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 2.6, \"min\": 2.0, \"max\": 2.9, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Square hole size (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 3, \"min\": 1, \"max\": 4, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes across'},\n    \"hole_ny\": {\"type\": 'int', \"default\": 2, \"min\": 1, \"max\": 4, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes deep'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(14.6, 15.0, p[\"hole_nx\"], p[\"hole_ny\"])\n        .rect(p[\"hole_d\"], p[\"hole_d\"]).cutThruAll()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca0b8_1284", "family": "revolved", "tier": 1, "seed": 1177329848, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "e4d833bd916a7a5a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 3100.0, "surface_area": 1940.0, "principal_moments": [166000.0, 166000.0, 210000.0], "n_faces": 4, "n_edges": 6, "n_vertices": 4}, "dimensions": {"lines": ["Revolved body, \u00d820 mm \u00d7 15.3 mm tall with \u00d811.9 mm bore."], "text": "Revolved body, \u00d820 mm \u00d7 15.3 mm tall with \u00d811.9 mm bore."}, "params": {"outer_d": {"type": "float", "default": 20, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 15.3, "min": 4.6, "max": 45.9, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 11.9, "min": 2.0, "max": 14.0, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329848 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 20, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 15.3, \"min\": 4.6, \"max\": 45.9, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 11.9, \"min\": 2.0, \"max\": 14.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca0b9_1285", "family": "bracket", "tier": 1, "seed": 1177329849, "symmetry": "none", "op_count": 1, "ir_hash": "8628dfbb5a87b075", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 20100.0, "surface_area": 6790.0, "principal_moments": [3060000.0, 4630000.0, 6280000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["L-bracket: base leg 31.26 mm, vertical leg 29.1 mm, 48.26 mm wide, 8 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."], "text": "L-bracket: base leg 31.26 mm, vertical leg 29.1 mm, 48.26 mm wide, 8 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 31.26, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 29.1, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 48.26, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 8.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329849 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 31.26, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 29.1, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 48.26, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca0ba_1286", "family": "plate", "tier": 1, "seed": 1177329850, "symmetry": "none", "op_count": 2, "ir_hash": "54370d31f4c3e5de", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 1100.0, "surface_area": 969.0, "principal_moments": [11400.0, 68400.0, 76900.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 27.45 \u00d7 10.6 \u00d7 4 mm (W\u00d7D\u00d7H).", "Four \u00d82.3 mm holes at the corners, 19.215 \u00d7 7.42 mm spacing."], "text": "Rectangular body, 27.45 \u00d7 10.6 \u00d7 4 mm (W\u00d7D\u00d7H). Four \u00d82.3 mm holes at the corners, 19.215 \u00d7 7.42 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 27.45, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 10.6, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 4.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 2.3, "min": 2.0, "max": 2.4, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329850 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 27.45, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 10.6, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 4.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 2.3, \"min\": 2.0, \"max\": 2.4, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462ca0bb_1287", "family": "flanged", "tier": 1, "seed": 1177329851, "symmetry": "none", "op_count": 2, "ir_hash": "ae5de267b849e322", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 253000.0, "surface_area": 45600.0, "principal_moments": [260000000.0, 260000000.0, 367000000.0], "n_faces": 21, "n_edges": 78, "n_vertices": 52}, "dimensions": {"lines": ["Revolved body, \u00d869.22 mm \u00d7 57.7 mm tall with \u00d835.3 mm bore, \u00d8126 mm \u00d7 11.3 mm flange.", "Eight \u00d88.4 mm holes on a \u00d875.6 mm bolt circle."], "text": "Revolved body, \u00d869.22 mm \u00d7 57.7 mm tall with \u00d835.3 mm bore, \u00d8126 mm \u00d7 11.3 mm flange. Eight \u00d88.4 mm holes on a \u00d875.6 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 69.22, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 57.7, "min": 17.3, "max": 144.2, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 35.3, "min": 2.0, "max": 48.5, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 126.0, "min": 90.0, "max": 207.7, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 11.3, "min": 3.4, "max": 23.1, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 8.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 37.8, "min": 25.2, "max": 56.7, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 8, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329851 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 69.22, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 57.7, \"min\": 17.3, \"max\": 144.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 35.3, \"min\": 2.0, \"max\": 48.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 126.0, \"min\": 90.0, \"max\": 207.7, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 11.3, \"min\": 3.4, \"max\": 23.1, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 37.8, \"min\": 25.2, \"max\": 56.7, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca0bc_1288", "family": "block", "tier": 1, "seed": 1177329852, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "6190370d1e0b0996", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 2120.0, "surface_area": 1430.0, "principal_moments": [54900.0, 61700.0, 68200.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 15.03 \u00d7 13.6 \u00d7 11.7 mm (W\u00d7D\u00d7H).", "Four \u00d82.7 mm holes at the corners, 10.521 \u00d7 9.52 mm spacing."], "text": "Rectangular body, 15.03 \u00d7 13.6 \u00d7 11.7 mm (W\u00d7D\u00d7H). Four \u00d82.7 mm holes at the corners, 10.521 \u00d7 9.52 mm spacing."}, "params": {"block_w": {"type": "float", "default": 15.03, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 13.6, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 11.7, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 2.7, "min": 2.0, "max": 3.1, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329852 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 15.03, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 13.6, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 11.7, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 2.7, \"min\": 2.0, \"max\": 3.1, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462ca0bd_1289", "family": "ribbed", "tier": 2, "seed": 1177329853, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "e3930377d27dd1e2", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 53300.0, "surface_area": 20300.0, "principal_moments": [14199999.999999998, 25499999.999999996, 35300000.0], "n_faces": 54, "n_edges": 132, "n_vertices": 80}, "dimensions": {"lines": ["Rectangular body, 74.45 \u00d7 40.5 \u00d7 8 mm (W\u00d7D\u00d7H).", "Six ribs, 5.8 mm thick, 14.1 mm tall."], "text": "Rectangular body, 74.45 \u00d7 40.5 \u00d7 8 mm (W\u00d7D\u00d7H). Six ribs, 5.8 mm thick, 14.1 mm tall."}, "params": {"base_w": {"type": "float", "default": 74.45, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 40.5, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 8.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 6, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 14.1, "min": 5.6, "max": 28.2, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 5.8, "min": 1.0, "max": 14.5, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329853 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 74.45, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 40.5, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 6, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 14.1, \"min\": 5.6, \"max\": 28.2, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 5.8, \"min\": 1.0, \"max\": 14.5, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462ca0be_1290", "family": "ribbed", "tier": 1, "seed": 1177329854, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "1c88cfb59c122500", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 41700.0, "surface_area": 25900.0, "principal_moments": [22000000.0, 36900000.0, 56699999.99999999], "n_faces": 38, "n_edges": 92, "n_vertices": 56}, "dimensions": {"lines": ["Rectangular body, 100 \u00d7 75.4 \u00d7 3 mm (W\u00d7D\u00d7H).", "Four ribs, 4.2 mm thick, 14.2 mm tall."], "text": "Rectangular body, 100 \u00d7 75.4 \u00d7 3 mm (W\u00d7D\u00d7H). Four ribs, 4.2 mm thick, 14.2 mm tall."}, "params": {"base_w": {"type": "float", "default": 100.0, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 75.4, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 3.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 4, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 14.2, "min": 5.7, "max": 28.4, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 4.2, "min": 1.0, "max": 10.5, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329854 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 100.0, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 75.4, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 4, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 14.2, \"min\": 5.7, \"max\": 28.4, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 4.2, \"min\": 1.0, \"max\": 10.5, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca0bf_1291", "family": "compound", "tier": 1, "seed": 1177329855, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "fe6c336f2cd2b410", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 43400.0, "surface_area": 14000.0, "principal_moments": [5140000.0, 36200000.0, 36200000.0], "n_faces": 6, "n_edges": 9, "n_vertices": 6}, "dimensions": {"lines": ["\u00d830 mm circular section, extruded 57.4 mm thick.", "\u00d820.3 mm circular section attachment, 50.3 mm long, from top face with a \u00d812.6 mm bore."], "text": "\u00d830 mm circular section, extruded 57.4 mm thick. \u00d820.3 mm circular section attachment, 50.3 mm long, from top face with a \u00d812.6 mm bore."}, "params": {"shaft_d": {"type": "float", "default": 30, "min": 15.0, "max": 54.0, "step": 1.0, "group": "Body", "label": "Shaft diameter (mm)"}, "shaft_len": {"type": "float", "default": 57.4, "min": 23.0, "max": 114.8, "step": 1.0, "group": "Body", "label": "Shaft length (mm)"}, "step_d": {"type": "float", "default": 20.3, "min": 10.2, "max": 27.0, "step": 1.0, "group": "Step", "label": "Step diameter (mm)"}, "step_len": {"type": "float", "default": 50.3, "min": 15.1, "max": 125.8, "step": 1.0, "group": "Step", "label": "Step length (mm)"}, "axial_bore": {"type": "float", "default": 12.6, "min": 2.0, "max": 14.6, "step": 0.5, "group": "Bore", "label": "Axial bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329855 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"shaft_d\": {\"type\": 'float', \"default\": 30, \"min\": 15.0, \"max\": 54.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft diameter (mm)'},\n    \"shaft_len\": {\"type\": 'float', \"default\": 57.4, \"min\": 23.0, \"max\": 114.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft length (mm)'},\n    \"step_d\": {\"type\": 'float', \"default\": 20.3, \"min\": 10.2, \"max\": 27.0, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step diameter (mm)'},\n    \"step_len\": {\"type\": 'float', \"default\": 50.3, \"min\": 15.1, \"max\": 125.8, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step length (mm)'},\n    \"axial_bore\": {\"type\": 'float', \"default\": 12.6, \"min\": 2.0, \"max\": 14.6, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Axial bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').circle(p[\"shaft_d\"] / 2).extrude(p[\"shaft_len\"]))\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"step_d\"] / 2).extrude(p[\"step_len\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"axial_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462ca0c0_1292", "family": "profiled", "tier": 1, "seed": 1177329856, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "d430e25a435211c8", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 134000.0, "surface_area": 21200.0, "principal_moments": [17200000.0, 388000000.0, 396000000.0], "n_faces": 7, "n_edges": 15, "n_vertices": 10}, "dimensions": {"lines": ["freeform sketched section (5 segments: 4 straight, 1 arc), ~42.63 \u00d7 25.841 mm, extruded 185.6 mm thick."], "text": "freeform sketched section (5 segments: 4 straight, 1 arc), ~42.63 \u00d7 25.841 mm, extruded 185.6 mm thick."}, "params": {"sk_w": {"type": "float", "default": 54.9, "min": 27.4, "max": 98.8, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 36.9, "min": 18.4, "max": 66.4, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "length": {"type": "float", "default": 185.6, "min": 55.7, "max": 556.8, "step": 5.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329856 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 54.9, \"min\": 27.4, \"max\": 98.8, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 36.9, \"min\": 18.4, \"max\": 66.4, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 185.6, \"min\": 55.7, \"max\": 556.8, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.3308, p[\"sk_h\"] * 0.1407).lineTo(p[\"sk_w\"] * 0.021, p[\"sk_h\"] * 0.3868).lineTo(p[\"sk_w\"] * -0.4457, p[\"sk_h\"] * 0.1747).lineTo(p[\"sk_w\"] * -0.2222, p[\"sk_h\"] * -0.2929).lineTo(p[\"sk_w\"] * 0.0966, p[\"sk_h\"] * -0.3135).threePointArc((p[\"sk_w\"] * 0.2472, p[\"sk_h\"] * -0.1001), (p[\"sk_w\"] * 0.3308, p[\"sk_h\"] * 0.1407)).close().extrude(p[\"length\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462ca0c1_1293", "family": "ribbed", "tier": 1, "seed": 1177329857, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "7f50a4c59c31d072", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 7770.0, "surface_area": 4690.0, "principal_moments": [595000.0, 1960000.0, 2420000.0], "n_faces": 22, "n_edges": 52, "n_vertices": 32}, "dimensions": {"lines": ["Rectangular body, 50 \u00d7 25.4 \u00d7 5 mm (W\u00d7D\u00d7H).", "Two ribs, 2.4 mm thick, 7.4 mm tall."], "text": "Rectangular body, 50 \u00d7 25.4 \u00d7 5 mm (W\u00d7D\u00d7H). Two ribs, 2.4 mm thick, 7.4 mm tall."}, "params": {"base_w": {"type": "float", "default": 50, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 25.4, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 5.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 2, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 7.4, "min": 3.0, "max": 14.8, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 2.4, "min": 1.0, "max": 6.0, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329857 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 50, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 25.4, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 2, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 7.4, \"min\": 3.0, \"max\": 14.8, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 2.4, \"min\": 1.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca0c2_1294", "family": "plate", "tier": 1, "seed": 1177329858, "symmetry": "radial", "op_count": 2, "ir_hash": "724a1a2bb96373d1", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 91500.0, "surface_area": 21500.0, "principal_moments": [46499999.99999999, 80000000.0, 124000000.0], "n_faces": 18, "n_edges": 48, "n_vertices": 32}, "dimensions": {"lines": ["Rectangular body, 101.2 \u00d7 77.1 \u00d7 12 mm (W\u00d7D\u00d7H).", "Twelve \u00d84.3 mm holes on a \u00d860.8 mm bolt circle."], "text": "Rectangular body, 101.2 \u00d7 77.1 \u00d7 12 mm (W\u00d7D\u00d7H). Twelve \u00d84.3 mm holes on a \u00d860.8 mm bolt circle."}, "params": {"plate_w": {"type": "float", "default": 101.2, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 77.1, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "bolt_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 30.4, "min": 20.2, "max": 45.5, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 12, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329858 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 101.2, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 77.1, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 30.4, \"min\": 20.2, \"max\": 45.5, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 12, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca0c3_1295", "family": "bracket", "tier": 3, "seed": 1177329859, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "65e3da45fbb07693", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 20500.0, "surface_area": 11800.0, "principal_moments": [3310000.0, 20200000.0, 21000000.0], "n_faces": 22, "n_edges": 54, "n_vertices": 36}, "dimensions": {"lines": ["Z-bracket: base leg 55 mm, vertical leg 36.5 mm, top leg 59.6 mm, 35.18 mm wide, 4 mm thick; 2 \u00d7 \u00d84.3 mm holes per leg; 5 mm corner gusset."], "text": "Z-bracket: base leg 55 mm, vertical leg 36.5 mm, top leg 59.6 mm, 35.18 mm wide, 4 mm thick; 2 \u00d7 \u00d84.3 mm holes per leg; 5 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 55, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 36.5, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 35.18, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 4.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 59.6, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 2, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}, "gusset_t": {"type": "float", "default": 5.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329859 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 55, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 36.5, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 35.18, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 59.6, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 2, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _tl, _vl) * 0.4 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(0, _vl - _bt).lineTo(-_g, _vl - _bt)\n                    .lineTo(0, _vl - _bt - _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462ca0c4_1296", "family": "profiled", "tier": 1, "seed": 1177329860, "symmetry": "none", "op_count": 1, "ir_hash": "4a29a4156672424d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 262000.0, "surface_area": 38000.0, "principal_moments": [49699999.99999999, 1980000000.0, 2010000000.0], "n_faces": 9, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["freeform sketched section (7 segments: 5 straight, 1 arc, 1 curve), ~49.848 \u00d7 22.694 mm, extruded 300 mm thick."], "text": "freeform sketched section (7 segments: 5 straight, 1 arc, 1 curve), ~49.848 \u00d7 22.694 mm, extruded 300 mm thick."}, "params": {"sk_w": {"type": "float", "default": 60.0, "min": 30.0, "max": 108.0, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 25.78, "min": 12.9, "max": 46.4, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "length": {"type": "float", "default": 300.0, "min": 90.0, "max": 900.0, "step": 5.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329860 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 60.0, \"min\": 30.0, \"max\": 108.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 25.78, \"min\": 12.9, \"max\": 46.4, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 300.0, \"min\": 90.0, \"max\": 900.0, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.4479, p[\"sk_h\"] * 0.1094).lineTo(p[\"sk_w\"] * 0.2167, p[\"sk_h\"] * 0.4398).lineTo(p[\"sk_w\"] * -0.188, p[\"sk_h\"] * 0.3684).lineTo(p[\"sk_w\"] * -0.3053, p[\"sk_h\"] * 0.1665).lineTo(p[\"sk_w\"] * -0.3829, p[\"sk_h\"] * -0.2908).spline([(p[\"sk_w\"] * -0.3829, p[\"sk_h\"] * -0.2908), (p[\"sk_w\"] * -0.2224, p[\"sk_h\"] * -0.4089), (p[\"sk_w\"] * -0.0257, p[\"sk_h\"] * -0.4405)]).lineTo(p[\"sk_w\"] * 0.3104, p[\"sk_h\"] * -0.3319).threePointArc((p[\"sk_w\"] * 0.4449, p[\"sk_h\"] * -0.1316), (p[\"sk_w\"] * 0.4479, p[\"sk_h\"] * 0.1094)).close().extrude(p[\"length\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462ca0c5_1297", "family": "tapped", "tier": 2, "seed": 1177329861, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "d9dad84d923a0f9f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 80500.0, "surface_area": 15800.0, "principal_moments": [28199999.999999996, 41600000.0, 65899999.99999999], "n_faces": 694, "n_edges": 1900, "n_vertices": 1208}, "dimensions": {"lines": ["Four M5x0.8 tapped holes in a plate."], "text": "Four M5x0.8 tapped holes in a plate."}, "params": {"major_d": {"type": "float", "default": 5.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 0.8, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 16.9, "min": 6.0, "max": 30.4, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "plate_w": {"type": "float", "default": 77.03, "min": 46.2, "max": 123.2, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 62.7, "min": 37.6, "max": 100.3, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329861 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 0.8, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 16.9, \"min\": 6.0, \"max\": 30.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"plate_w\": {\"type\": 'float', \"default\": 77.03, \"min\": 46.2, \"max\": 123.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 62.7, \"min\": 37.6, \"max\": 100.3, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n}\n\n\ndef build(p):\n\n    _W, _D, _H = p[\"plate_w\"], p[\"plate_d\"], p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Box(_W, _D, _H)\n    _nx, _ny = max(1, int(2)), max(1, int(2))\n    _sx, _sy = p[\"plate_w\"] * 0.66, p[\"plate_d\"] * 0.66\n    _locs = [(_sx * (_i - (_nx - 1) / 2), _sy * (_j - (_ny - 1) / 2))\n             for _i in range(_nx) for _j in range(_ny)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca0c6_1298", "family": "plate", "tier": 0, "seed": 1177329862, "symmetry": "none", "op_count": 1, "ir_hash": "cc5669b83178eff9", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 31200.0, "surface_area": 12100.0, "principal_moments": [10200000.0, 18200000.0, 28199999.999999996], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 83.4 \u00d7 62.3 \u00d7 6 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 83.4 \u00d7 62.3 \u00d7 6 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 83.4, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 62.3, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 6.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329862 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 83.4, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 62.3, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462ca0c7_1299", "family": "ribbed", "tier": 2, "seed": 1177329863, "symmetry": "none", "op_count": 2, "ir_hash": "ccf2765b1984b6cd", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 14500.0, "surface_area": 9620.0, "principal_moments": [2770000.0, 6240000.0, 8800000.0], "n_faces": 38, "n_edges": 92, "n_vertices": 56}, "dimensions": {"lines": ["Rectangular body, 70 \u00d7 37.5 \u00d7 3 mm (W\u00d7D\u00d7H).", "Four ribs, 4.8 mm thick, 6.2 mm tall."], "text": "Rectangular body, 70 \u00d7 37.5 \u00d7 3 mm (W\u00d7D\u00d7H). Four ribs, 4.8 mm thick, 6.2 mm tall."}, "params": {"base_w": {"type": "float", "default": 70, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 37.5, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 3.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 4, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 6.2, "min": 2.5, "max": 12.4, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 4.8, "min": 1.0, "max": 12.0, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329863 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 70, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 37.5, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 4, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 6.2, \"min\": 2.5, \"max\": 12.4, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 4.8, \"min\": 1.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca0c8_1300", "family": "bracket", "tier": 2, "seed": 1177329864, "symmetry": "none", "op_count": 1, "ir_hash": "58e413e67c1441ce", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 36800.0, "surface_area": 14300.0, "principal_moments": [11999999.999999998, 25999999.999999996, 28699999.999999996], "n_faces": 14, "n_edges": 37, "n_vertices": 24}, "dimensions": {"lines": ["L-bracket: base leg 70 mm, vertical leg 53.1 mm, 50 mm wide, 6 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg; 6.7 mm corner gusset."], "text": "L-bracket: base leg 70 mm, vertical leg 53.1 mm, 50 mm wide, 6 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg; 6.7 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 70, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 53.1, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 50, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 6.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 6.7, "min": 3.0, "max": 18.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329864 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 70, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 53.1, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 50, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 6.7, \"min\": 3.0, \"max\": 18.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca0c9_1301", "family": "plate", "tier": 0, "seed": 1177329865, "symmetry": "none", "op_count": 1, "ir_hash": "ee2df74666336696", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 46600.0, "surface_area": 12400.0, "principal_moments": [7300000.0, 47599999.99999999, 54199999.99999999], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 110.35 \u00d7 42.2 \u00d7 10 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 110.35 \u00d7 42.2 \u00d7 10 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 110.35, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 42.2, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329865 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 110.35, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 42.2, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca0ca_1302", "family": "plate", "tier": 2, "seed": 1177329866, "symmetry": "radial", "op_count": 3, "ir_hash": "78b06c948c8ef46a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 81900.0, "surface_area": 21000.0, "principal_moments": [36200000.0, 90500000.0, 125000000.0], "n_faces": 16, "n_edges": 42, "n_vertices": 28}, "dimensions": {"lines": ["Rectangular body, 115.04 \u00d7 72.8 \u00d7 10 mm (W\u00d7D\u00d7H).", "Six \u00d85.3 mm holes on a \u00d869 mm bolt circle.", "Fillet radius 8.176 mm on vertical edges."], "text": "Rectangular body, 115.04 \u00d7 72.8 \u00d7 10 mm (W\u00d7D\u00d7H). Six \u00d85.3 mm holes on a \u00d869 mm bolt circle. Fillet radius 8.176 mm on vertical edges."}, "params": {"plate_w": {"type": "float", "default": 115.04, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 72.8, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "bolt_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 34.5, "min": 23.0, "max": 51.8, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 6, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329866 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 115.04, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 72.8, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 34.5, \"min\": 23.0, \"max\": 51.8, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"plate_w\"], p[\"plate_d\"]) * 0.11231066625874281)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462ca0cb_1303", "family": "ribbed", "tier": 2, "seed": 1177329867, "symmetry": "none", "op_count": 3, "ir_hash": "fa0bb8972b79cc35", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 93900.0, "surface_area": 29600.0, "principal_moments": [49999999.99999999, 78900000.0, 125000000.0], "n_faces": 58, "n_edges": 144, "n_vertices": 88}, "dimensions": {"lines": ["Rectangular body, 100 \u00d7 77.9 \u00d7 10 mm (W\u00d7D\u00d7H).", "Six ribs, 3.4 mm thick, 10 mm tall.", "Four \u00d83.2 mm holes at the corners, 70 \u00d7 54.53 mm spacing."], "text": "Rectangular body, 100 \u00d7 77.9 \u00d7 10 mm (W\u00d7D\u00d7H). Six ribs, 3.4 mm thick, 10 mm tall. Four \u00d83.2 mm holes at the corners, 70 \u00d7 54.53 mm spacing."}, "params": {"base_w": {"type": "float", "default": 100.0, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 77.9, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 10.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 6, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 10.0, "min": 4.0, "max": 20.0, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 3.4, "min": 1.0, "max": 8.5, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329867 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 100.0, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 77.9, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 6, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 10.0, \"min\": 4.0, \"max\": 20.0, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 3.4, \"min\": 1.0, \"max\": 8.5, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"base_w\"] * 0.7, p[\"base_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca0cc_1304", "family": "compound", "tier": 3, "seed": 1177329868, "symmetry": "none", "op_count": 4, "ir_hash": "129e845fbabb4063", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 189000.0, "surface_area": 26300.0, "principal_moments": [84400000.0, 130000000.0, 168000000.0], "n_faces": 18, "n_edges": 45, "n_vertices": 30}, "dimensions": {"lines": ["Rectangular body, 63.97 \u00d7 81 \u00d7 38.5 mm (W\u00d7D\u00d7H).", "26.9 \u00d7 12.5 mm slot section attachment, 14.5 mm long, from back face with a \u00d86 mm bore.", "Four \u00d813 mm holes at the corners, 44.779 \u00d7 56.7 mm spacing.", "Fillet radius 7.619 mm on vertical edges."], "text": "Rectangular body, 63.97 \u00d7 81 \u00d7 38.5 mm (W\u00d7D\u00d7H). 26.9 \u00d7 12.5 mm slot section attachment, 14.5 mm long, from back face with a \u00d86 mm bore. Four \u00d813 mm holes at the corners, 44.779 \u00d7 56.7 mm spacing. Fillet radius 7.619 mm on vertical edges."}, "params": {"block_w": {"type": "float", "default": 63.97, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 81.0, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 38.5, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "spig_w": {"type": "float", "default": 12.5, "min": 6.2, "max": 21.5, "step": 0.5, "group": "Spigot", "label": "Spigot width (mm)"}, "spig_slot_l": {"type": "float", "default": 26.9, "min": 15.0, "max": 26.9, "step": 1.0, "group": "Spigot", "label": "Spigot slot length (mm)"}, "spig_len": {"type": "float", "default": 14.5, "min": 3.8, "max": 50.0, "step": 1.0, "group": "Spigot", "label": "Spigot length (mm)"}, "spig_bore": {"type": "float", "default": 6.0, "min": 2.0, "max": 9.0, "step": 0.5, "group": "Spigot", "label": "Bore diameter (mm)"}, "hole_d": {"type": "float", "default": 13.0, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329868 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 63.97, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 81.0, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 38.5, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"spig_w\": {\"type\": 'float', \"default\": 12.5, \"min\": 6.2, \"max\": 21.5, \"step\": 0.5, \"group\": 'Spigot', \"label\": 'Spigot width (mm)'},\n    \"spig_slot_l\": {\"type\": 'float', \"default\": 26.9, \"min\": 15.0, \"max\": 26.9, \"step\": 1.0, \"group\": 'Spigot', \"label\": 'Spigot slot length (mm)'},\n    \"spig_len\": {\"type\": 'float', \"default\": 14.5, \"min\": 3.8, \"max\": 50.0, \"step\": 1.0, \"group\": 'Spigot', \"label\": 'Spigot length (mm)'},\n    \"spig_bore\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 9.0, \"step\": 0.5, \"group\": 'Spigot', \"label\": 'Bore diameter (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 13.0, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .slot2D(p[\"spig_slot_l\"], p[\"spig_w\"]).extrude(p[\"spig_len\"])\n    )\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"spig_bore\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"block_w\"], p[\"block_d\"]) * 0.11910723110057558)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462ca0ce_1306", "family": "sketched", "tier": 3, "seed": 1177329870, "symmetry": "none", "op_count": 4, "ir_hash": "80484f9424fce550", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 42000.0, "surface_area": 8390.0, "principal_moments": [5120000.0, 14099999.999999998, 14499999.999999998], "n_faces": 12, "n_edges": 27, "n_vertices": 18}, "dimensions": {"lines": ["freeform sketched section (7 segments: 3 straight, 2 arcs, 2 curves), ~63.759 \u00d7 31.16 mm, extruded 26.07 mm thick.", "One \u00d84.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch.", "Boss \u00d813.5 mm \u00d7 11.3 mm tall on top face with a \u00d85.3 mm bore.", "Fillet radius 1.6 mm on vertical edges (optional, off by default)."], "text": "freeform sketched section (7 segments: 3 straight, 2 arcs, 2 curves), ~63.759 \u00d7 31.16 mm, extruded 26.07 mm thick. One \u00d84.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch. Boss \u00d813.5 mm \u00d7 11.3 mm tall on top face with a \u00d85.3 mm bore. Fillet radius 1.6 mm on vertical edges (optional, off by default)."}, "params": {"sk_w": {"type": "float", "default": 80.22, "min": 40.1, "max": 144.4, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 40.0, "min": 20.0, "max": 72.0, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "sk_t": {"type": "float", "default": 26.07, "min": 10.4, "max": 57.4, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "sk_hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 8.6, "step": 0.5, "group": "Holes", "label": "Hole diameter (mm)"}, "boss_d": {"type": "float", "default": 13.5, "min": 6.8, "max": 27.0, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 11.3, "min": 4.5, "max": 28.2, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}, "boss_bore_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 9.4, "step": 0.1, "group": "Boss", "label": "Bore diameter (mm)"}, "sk_fillet_r": {"type": "float", "default": 1.6, "min": 0.5, "max": 4.0, "step": 0.5, "group": "Body", "label": "Edge fillet radius (mm)"}, "sk_filleted": {"type": "bool", "default": false, "group": "Body", "label": "Fillet vertical edges"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329870 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 80.22, \"min\": 40.1, \"max\": 144.4, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 40.0, \"min\": 20.0, \"max\": 72.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"sk_t\": {\"type\": 'float', \"default\": 26.07, \"min\": 10.4, \"max\": 57.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"sk_hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 8.6, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"boss_d\": {\"type\": 'float', \"default\": 13.5, \"min\": 6.8, \"max\": 27.0, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 11.3, \"min\": 4.5, \"max\": 28.2, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n    \"boss_bore_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 9.4, \"step\": 0.1, \"group\": 'Boss', \"label\": 'Bore diameter (mm)'},\n    \"sk_fillet_r\": {\"type\": 'float', \"default\": 1.6, \"min\": 0.5, \"max\": 4.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Edge fillet radius (mm)'},\n    \"sk_filleted\": {\"type\": 'bool', \"default\": False, \"group\": 'Body', \"label\": 'Fillet vertical edges'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.3316, p[\"sk_h\"] * -0.0908).threePointArc((p[\"sk_w\"] * 0.3219, p[\"sk_h\"] * 0.1631), (p[\"sk_w\"] * 0.1541, p[\"sk_h\"] * 0.3619)).lineTo(p[\"sk_w\"] * -0.1508, p[\"sk_h\"] * 0.4401).spline([(p[\"sk_w\"] * -0.1508, p[\"sk_h\"] * 0.4401), (p[\"sk_w\"] * -0.3273, p[\"sk_h\"] * 0.3344), (p[\"sk_w\"] * -0.4632, p[\"sk_h\"] * 0.1799)]).threePointArc((p[\"sk_w\"] * -0.5, p[\"sk_h\"] * 0.0408), (p[\"sk_w\"] * -0.4413, p[\"sk_h\"] * -0.1001)).spline([(p[\"sk_w\"] * -0.4413, p[\"sk_h\"] * -0.1001), (p[\"sk_w\"] * -0.282, p[\"sk_h\"] * -0.2677), (p[\"sk_w\"] * -0.0621, p[\"sk_h\"] * -0.3389)]).lineTo(p[\"sk_w\"] * 0.2546, p[\"sk_h\"] * -0.2267).lineTo(p[\"sk_w\"] * 0.3316, p[\"sk_h\"] * -0.0908).close().extrude(p[\"sk_t\"]))\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"sk_hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .hole(p[\"boss_bore_d\"])\n    )\n    if p[\"sk_filleted\"]:\n        result = result.edges('|Z').fillet(p[\"sk_fillet_r\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca0cf_1307", "family": "block", "tier": 1, "seed": 1177329871, "symmetry": "none", "op_count": 2, "ir_hash": "610459158897e681", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 176000.0, "surface_area": 34000.0, "principal_moments": [73400000.0, 118000000.0, 144000000.0], "n_faces": 22, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 60.96 \u00d7 42.6 \u00d7 80.3 mm (W\u00d7D\u00d7H).", "Four 10.1 mm square holes at the corners, 42.672 \u00d7 29.82 mm spacing."], "text": "Rectangular body, 60.96 \u00d7 42.6 \u00d7 80.3 mm (W\u00d7D\u00d7H). Four 10.1 mm square holes at the corners, 42.672 \u00d7 29.82 mm spacing."}, "params": {"block_w": {"type": "float", "default": 60.96, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 42.6, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 80.3, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 10.1, "min": 2.0, "max": 12.5, "step": 0.5, "group": "Holes", "label": "Square hole size (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329871 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 60.96, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 42.6, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 80.3, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 10.1, \"min\": 2.0, \"max\": 12.5, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Square hole size (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().rect(p[\"hole_d\"], p[\"hole_d\"]).cutThruAll()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462ca0d0_1308", "family": "flanged", "tier": 2, "seed": 1177329872, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "932c859f3f37685a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 241000.0, "surface_area": 48000.0, "principal_moments": [249000000.0, 249000000.0, 366000000.0], "n_faces": 17, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Revolved body, \u00d876.65 mm \u00d7 52.5 mm tall with \u00d839.7 mm bore, \u00d8136.8 mm \u00d7 6.7 mm flange.", "Six \u00d88.4 mm holes on a \u00d882 mm bolt circle."], "text": "Revolved body, \u00d876.65 mm \u00d7 52.5 mm tall with \u00d839.7 mm bore, \u00d8136.8 mm \u00d7 6.7 mm flange. Six \u00d88.4 mm holes on a \u00d882 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 76.65, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 52.5, "min": 15.8, "max": 131.2, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 39.7, "min": 2.0, "max": 53.7, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 136.8, "min": 99.6, "max": 230.0, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 6.7, "min": 2.0, "max": 21.0, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 8.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 41.0, "min": 27.4, "max": 61.6, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 6, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329872 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 76.65, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 52.5, \"min\": 15.8, \"max\": 131.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 39.7, \"min\": 2.0, \"max\": 53.7, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 136.8, \"min\": 99.6, \"max\": 230.0, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 6.7, \"min\": 2.0, \"max\": 21.0, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 41.0, \"min\": 27.4, \"max\": 61.6, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca0d1_1309", "family": "compound", "tier": 1, "seed": 1177329873, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "da1c9807a9144ee7", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 53300.0, "surface_area": 9100.0, "principal_moments": [11799999.999999998, 15599999.999999998, 15599999.999999998], "n_faces": 12, "n_edges": 27, "n_vertices": 18}, "dimensions": {"lines": ["8-sided polygon section, 47.94 mm across corners, extruded 26.8 mm thick.", "\u00d820.4 mm circular section attachment, 29.9 mm long, from top face."], "text": "8-sided polygon section, 47.94 mm across corners, extruded 26.8 mm thick. \u00d820.4 mm circular section attachment, 29.9 mm long, from top face."}, "params": {"base_sides": {"type": "int", "default": 8, "min": 3, "max": 8, "step": 1, "group": "Base", "label": "Base sides"}, "base_r": {"type": "float", "default": 23.97, "min": 14.4, "max": 38.4, "step": 1.0, "group": "Base", "label": "Base circumradius (mm)"}, "base_h": {"type": "float", "default": 26.8, "min": 10.7, "max": 67.0, "step": 1.0, "group": "Base", "label": "Base height (mm)"}, "col_d": {"type": "float", "default": 20.4, "min": 10.2, "max": 35.4, "step": 1.0, "group": "Column", "label": "Column diameter (mm)"}, "col_h": {"type": "float", "default": 29.9, "min": 9.0, "max": 74.8, "step": 1.0, "group": "Column", "label": "Column height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329873 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_sides\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Base', \"label\": 'Base sides'},\n    \"base_r\": {\"type\": 'float', \"default\": 23.97, \"min\": 14.4, \"max\": 38.4, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base circumradius (mm)'},\n    \"base_h\": {\"type\": 'float', \"default\": 26.8, \"min\": 10.7, \"max\": 67.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base height (mm)'},\n    \"col_d\": {\"type\": 'float', \"default\": 20.4, \"min\": 10.2, \"max\": 35.4, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column diameter (mm)'},\n    \"col_h\": {\"type\": 'float', \"default\": 29.9, \"min\": 9.0, \"max\": 74.8, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').polygon(p[\"base_sides\"], p[\"base_r\"] * 2).extrude(p[\"base_h\"]))\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"col_d\"] / 2).extrude(p[\"col_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca0d2_1310", "family": "plate", "tier": 1, "seed": 1177329874, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "cb0ec573b7793488", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 50500.0, "surface_area": 14100.0, "principal_moments": [9650000.0, 50799999.99999999, 59599999.99999999], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 110 \u00d7 47.1 \u00d7 10 mm (W\u00d7D\u00d7H).", "Four \u00d86.4 mm holes at the corners, 77 \u00d7 32.97 mm spacing."], "text": "Rectangular body, 110 \u00d7 47.1 \u00d7 10 mm (W\u00d7D\u00d7H). Four \u00d86.4 mm holes at the corners, 77 \u00d7 32.97 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 110, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 47.1, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 10.6, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329874 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 110, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 47.1, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 10.6, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462ca0d3_1311", "family": "ribbed", "tier": 2, "seed": 1177329875, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "628e25ae946dc30e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 13700.0, "surface_area": 10200.0, "principal_moments": [3820000.0, 5760000.0, 9420000.0], "n_faces": 16, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 65.66 \u00d7 58.1 \u00d7 3 mm (W\u00d7D\u00d7H).", "Two ribs, 2.6 mm thick, 8.3 mm tall."], "text": "Rectangular body, 65.66 \u00d7 58.1 \u00d7 3 mm (W\u00d7D\u00d7H). Two ribs, 2.6 mm thick, 8.3 mm tall."}, "params": {"base_w": {"type": "float", "default": 65.66, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 58.1, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 3.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 2, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 8.3, "min": 3.3, "max": 16.6, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 2.6, "min": 1.0, "max": 6.5, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329875 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 65.66, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 58.1, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 2, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 8.3, \"min\": 3.3, \"max\": 16.6, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 2.6, \"min\": 1.0, \"max\": 6.5, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462ca0d4_1312", "family": "threaded", "tier": 1, "seed": 1177329876, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "0fdccd2397835829", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 2870.0, "surface_area": 2150.0, "principal_moments": [30100.0, 478000.0, 478000.0], "n_faces": 300, "n_edges": 770, "n_vertices": 472}, "dimensions": {"lines": ["M10x1.5 external thread, 44.2 mm long."], "text": "M10x1.5 external thread, 44.2 mm long."}, "params": {"major_d": {"type": "float", "default": 10.0, "min": 4.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Major diameter (mm)"}, "pitch": {"type": "float", "default": 1.5, "min": 0.75, "max": 3.0, "step": 0.05, "group": "Thread", "label": "Pitch (mm)"}, "thread_len": {"type": "float", "default": 44.2, "min": 17.7, "max": 88.4, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329876 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 10.0, \"min\": 4.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Major diameter (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.5, \"min\": 0.75, \"max\": 3.0, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Pitch (mm)'},\n    \"thread_len\": {\"type\": 'float', \"default\": 44.2, \"min\": 17.7, \"max\": 88.4, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.IsoThread(major_diameter=p[\"major_d\"], pitch=p[\"pitch\"], length=p[\"thread_len\"], external=True, end_finishes=(\"fade\", \"fade\"))\n    _r = _thr.min_radius if hasattr(_thr, 'min_radius') else _thr.root_radius\n    _shank = _bd.Cylinder(radius=_r, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = _shank + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462ca0d5_1313", "family": "enclosure", "tier": 1, "seed": 1177329877, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "541e9e43cd72d43c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 83400.0, "surface_area": 73300.0, "principal_moments": [116000000.0, 184000000.0, 202000000.0], "n_faces": 11, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 113.79 \u00d7 60.5 \u00d7 88.8 mm (W\u00d7D\u00d7H).", "Hollowed to 2.3 mm wall thickness, open at top face."], "text": "Rectangular body, 113.79 \u00d7 60.5 \u00d7 88.8 mm (W\u00d7D\u00d7H). Hollowed to 2.3 mm wall thickness, open at top face."}, "params": {"enc_w": {"type": "float", "default": 113.79, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 60.5, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 88.8, "min": 35.5, "max": 177.6, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 2.3, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329877 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 113.79, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 60.5, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 88.8, \"min\": 35.5, \"max\": 177.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 2.3, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca0d6_1314", "family": "bracket", "tier": 1, "seed": 1177329878, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "e1dbcfee4251a6d7", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 30100.0, "surface_area": 17400.0, "principal_moments": [28199999.999999996, 37100000.0, 60699999.99999999], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["C-channel bracket: base leg 80 mm, vertical leg 90 mm, 29.96 mm wide, 4 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."], "text": "C-channel bracket: base leg 80 mm, vertical leg 90 mm, 29.96 mm wide, 4 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 80, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 90.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 29.96, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 4.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329878 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 80, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 90.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 29.96, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462ca0d7_1315", "family": "ribbed", "tier": 2, "seed": 1177329879, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "bc46f681a4e3bcd6", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 31500.0, "surface_area": 19600.0, "principal_moments": [11000000.0, 18200000.0, 27799999.999999996], "n_faces": 46, "n_edges": 112, "n_vertices": 68}, "dimensions": {"lines": ["Rectangular body, 82.4 \u00d7 58.7 \u00d7 3 mm (W\u00d7D\u00d7H).", "Five ribs, 4.1 mm thick, 12.6 mm tall."], "text": "Rectangular body, 82.4 \u00d7 58.7 \u00d7 3 mm (W\u00d7D\u00d7H). Five ribs, 4.1 mm thick, 12.6 mm tall."}, "params": {"base_w": {"type": "float", "default": 82.4, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 58.7, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 3.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 5, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 12.6, "min": 5.0, "max": 25.2, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 4.1, "min": 1.0, "max": 10.2, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329879 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 82.4, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 58.7, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 5, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 12.6, \"min\": 5.0, \"max\": 25.2, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 4.1, \"min\": 1.0, \"max\": 10.2, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca0d8_1316", "family": "revolved", "tier": 2, "seed": 1177329880, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "c1cd32e1089602d0", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 10700.0, "surface_area": 3330.0, "principal_moments": [909000.0, 963000.0, 963000.0], "n_faces": 4, "n_edges": 6, "n_vertices": 4}, "dimensions": {"lines": ["Revolved body, \u00d825 mm \u00d7 23.9 mm tall with \u00d87.5 mm bore."], "text": "Revolved body, \u00d825 mm \u00d7 23.9 mm tall with \u00d87.5 mm bore."}, "params": {"outer_d": {"type": "float", "default": 25, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 23.9, "min": 7.2, "max": 71.7, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 7.5, "min": 2.0, "max": 17.5, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329880 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 25, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 23.9, \"min\": 7.2, \"max\": 71.7, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 7.5, \"min\": 2.0, \"max\": 17.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462ca0d9_1317", "family": "threaded", "tier": 1, "seed": 1177329881, "symmetry": "none", "op_count": 1, "ir_hash": "8409684fbe6017fc", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 1880.0, "surface_area": 1810.0, "principal_moments": [34300.0, 135000.0, 135000.0], "n_faces": 223, "n_edges": 607, "n_vertices": 386}, "dimensions": {"lines": ["M6x1 internal thread, 27.5 mm long."], "text": "M6x1 internal thread, 27.5 mm long."}, "params": {"major_d": {"type": "float", "default": 6.0, "min": 4.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Major diameter (mm)"}, "pitch": {"type": "float", "default": 1.0, "min": 0.5, "max": 2.0, "step": 0.05, "group": "Thread", "label": "Pitch (mm)"}, "thread_len": {"type": "float", "default": 27.5, "min": 11.0, "max": 55.0, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329881 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 6.0, \"min\": 4.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Major diameter (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.0, \"min\": 0.5, \"max\": 2.0, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Pitch (mm)'},\n    \"thread_len\": {\"type\": 'float', \"default\": 27.5, \"min\": 11.0, \"max\": 55.0, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.IsoThread(major_diameter=p[\"major_d\"], pitch=p[\"pitch\"], length=p[\"thread_len\"], external=False, end_finishes=(\"fade\", \"fade\"))\n    _body = _bd.Cylinder(radius=(p[\"major_d\"]) * 0.9, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _bore = _bd.Cylinder(radius=(p[\"major_d\"]) / 2, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = (_body - _bore) + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462ca0da_1318", "family": "gear", "tier": 0, "seed": 1177329882, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "a213ce69553b28fa", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 84600.0, "surface_area": 21400.0, "principal_moments": [49899999.99999999, 49899999.99999999, 97899999.99999999], "n_faces": 194, "n_edges": 576, "n_vertices": 384}, "dimensions": {"lines": ["Spur gear, module 3 mm, 32 teeth (pitch \u00d896 mm), face width 11.8 mm."], "text": "Spur gear, module 3 mm, 32 teeth (pitch \u00d896 mm), face width 11.8 mm."}, "params": {"module": {"type": "float", "default": 3.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 32, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 11.8, "min": 4.7, "max": 29.5, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329882 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 3.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 32, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 11.8, \"min\": 4.7, \"max\": 29.5, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462ca0db_1319", "family": "tapped", "tier": 1, "seed": 1177329883, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "5e793d1c8f3185f2", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 20800.0, "surface_area": 7200.0, "principal_moments": [2790000.0, 4590000.0, 6930000.0], "n_faces": 702, "n_edges": 1920, "n_vertices": 1220}, "dimensions": {"lines": ["Six M5x0.8 tapped holes in a plate."], "text": "Six M5x0.8 tapped holes in a plate."}, "params": {"major_d": {"type": "float", "default": 5.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 0.8, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 11.3, "min": 6.0, "max": 20.3, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "plate_w": {"type": "float", "default": 50, "min": 30.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 38.8, "min": 23.3, "max": 62.1, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329883 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 0.8, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 11.3, \"min\": 6.0, \"max\": 20.3, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"plate_w\": {\"type\": 'float', \"default\": 50, \"min\": 30.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 38.8, \"min\": 23.3, \"max\": 62.1, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n}\n\n\ndef build(p):\n\n    _W, _D, _H = p[\"plate_w\"], p[\"plate_d\"], p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Box(_W, _D, _H)\n    _nx, _ny = max(1, int(3)), max(1, int(2))\n    _sx, _sy = p[\"plate_w\"] * 0.33, p[\"plate_d\"] * 0.66\n    _locs = [(_sx * (_i - (_nx - 1) / 2), _sy * (_j - (_ny - 1) / 2))\n             for _i in range(_nx) for _j in range(_ny)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca0dc_1320", "family": "block", "tier": 1, "seed": 1177329884, "symmetry": "none", "op_count": 2, "ir_hash": "edf32453c3f92540", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 23600.0, "surface_area": 7700.0, "principal_moments": [2110000.0, 7030000.0, 8380000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 30 \u00d7 14.1 \u00d7 58.2 mm (W\u00d7D\u00d7H).", "Four \u00d82.4 mm holes at the corners, 21 \u00d7 9.87 mm spacing."], "text": "Rectangular body, 30 \u00d7 14.1 \u00d7 58.2 mm (W\u00d7D\u00d7H). Four \u00d82.4 mm holes at the corners, 21 \u00d7 9.87 mm spacing."}, "params": {"block_w": {"type": "float", "default": 30, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 14.1, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 58.2, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 2.4, "min": 2.0, "max": 3.2, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329884 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 30, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 14.1, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 58.2, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 2.4, \"min\": 2.0, \"max\": 3.2, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462ca0dd_1321", "family": "ribbed", "tier": 1, "seed": 1177329885, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "9be11934f625361b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 21000.0, "surface_area": 8420.0, "principal_moments": [3190000.0, 5880000.0, 8420000.0], "n_faces": 30, "n_edges": 72, "n_vertices": 44}, "dimensions": {"lines": ["Rectangular body, 55 \u00d7 39.7 \u00d7 8 mm (W\u00d7D\u00d7H).", "Three ribs, 3.1 mm thick, 8.7 mm tall."], "text": "Rectangular body, 55 \u00d7 39.7 \u00d7 8 mm (W\u00d7D\u00d7H). Three ribs, 3.1 mm thick, 8.7 mm tall."}, "params": {"base_w": {"type": "float", "default": 55, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 39.7, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 8.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 3, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 8.7, "min": 3.5, "max": 17.4, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 3.1, "min": 1.0, "max": 7.8, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329885 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 55, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 39.7, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 3, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 8.7, \"min\": 3.5, \"max\": 17.4, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 3.1, \"min\": 1.0, \"max\": 7.8, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca0de_1322", "family": "plate", "tier": 1, "seed": 1177329886, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "198710c3ec5dee8e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 36100.0, "surface_area": 11900.0, "principal_moments": [10200000.0, 19200000.0, 28999999.999999996], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 80 \u00d7 58 \u00d7 8 mm (W\u00d7D\u00d7H).", "Four \u00d86.4 mm holes at the corners, 56 \u00d7 40.6 mm spacing."], "text": "Rectangular body, 80 \u00d7 58 \u00d7 8 mm (W\u00d7D\u00d7H). Four \u00d86.4 mm holes at the corners, 56 \u00d7 40.6 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 80, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 58.0, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329886 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 80, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 58.0, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462ca0df_1323", "family": "threaded", "tier": 1, "seed": 1177329887, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "ced153a8b396ec5c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 742.0, "surface_area": 726.0, "principal_moments": [4940.0, 22400.0, 22400.0], "n_faces": 150, "n_edges": 380, "n_vertices": 232}, "dimensions": {"lines": ["M8x1.25 external thread, 18.1 mm long."], "text": "M8x1.25 external thread, 18.1 mm long."}, "params": {"major_d": {"type": "float", "default": 8.0, "min": 4.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Major diameter (mm)"}, "pitch": {"type": "float", "default": 1.25, "min": 0.62, "max": 2.5, "step": 0.05, "group": "Thread", "label": "Pitch (mm)"}, "thread_len": {"type": "float", "default": 18.1, "min": 7.2, "max": 36.2, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329887 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 8.0, \"min\": 4.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Major diameter (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.25, \"min\": 0.62, \"max\": 2.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Pitch (mm)'},\n    \"thread_len\": {\"type\": 'float', \"default\": 18.1, \"min\": 7.2, \"max\": 36.2, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.IsoThread(major_diameter=p[\"major_d\"], pitch=p[\"pitch\"], length=p[\"thread_len\"], external=True, end_finishes=(\"fade\", \"fade\"))\n    _r = _thr.min_radius if hasattr(_thr, 'min_radius') else _thr.root_radius\n    _shank = _bd.Cylinder(radius=_r, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = _shank + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462ca0e0_1324", "family": "flanged", "tier": 1, "seed": 1177329888, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "a377d45c724cba63", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 706000.0, "surface_area": 103000.0, "principal_moments": [1620000000.0, 1620000000.0, 2110000000.0], "n_faces": 12, "n_edges": 27, "n_vertices": 18}, "dimensions": {"lines": ["Revolved body, \u00d886.38 mm \u00d7 89.9 mm tall with \u00d834.3 mm bore, \u00d8205.6 mm \u00d7 9.6 mm flange.", "Six \u00d83.2 mm holes on a \u00d8123.4 mm bolt circle."], "text": "Revolved body, \u00d886.38 mm \u00d7 89.9 mm tall with \u00d834.3 mm bore, \u00d8205.6 mm \u00d7 9.6 mm flange. Six \u00d83.2 mm holes on a \u00d8123.4 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 86.38, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 89.9, "min": 27.0, "max": 224.8, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 34.3, "min": 2.0, "max": 60.5, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 205.6, "min": 112.3, "max": 259.1, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 9.6, "min": 2.9, "max": 36.0, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 61.7, "min": 41.1, "max": 92.5, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 6, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329888 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 86.38, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 89.9, \"min\": 27.0, \"max\": 224.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 34.3, \"min\": 2.0, \"max\": 60.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 205.6, \"min\": 112.3, \"max\": 259.1, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 9.6, \"min\": 2.9, \"max\": 36.0, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 61.7, \"min\": 41.1, \"max\": 92.5, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca0e1_1325", "family": "plate", "tier": 1, "seed": 1177329889, "symmetry": "radial", "op_count": 2, "ir_hash": "c083c8a09311299b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 8210.0, "surface_area": 5030.0, "principal_moments": [682000.0, 3130000.0, 3790000.0], "n_faces": 8, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["Rectangular body, 67.63 \u00d7 31 \u00d7 4 mm (W\u00d7D\u00d7H).", "Four \u00d85.3 mm holes on a \u00d840.6 mm bolt circle."], "text": "Rectangular body, 67.63 \u00d7 31 \u00d7 4 mm (W\u00d7D\u00d7H). Four \u00d85.3 mm holes on a \u00d840.6 mm bolt circle."}, "params": {"plate_w": {"type": "float", "default": 67.63, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 31.0, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 4.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "bolt_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 20.3, "min": 13.5, "max": 30.4, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 4, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329889 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 67.63, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 31.0, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 4.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 20.3, \"min\": 13.5, \"max\": 30.4, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 4, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca0e2_1326", "family": "plate", "tier": 3, "seed": 1177329890, "symmetry": "radial", "op_count": 4, "ir_hash": "a3b31a04490d68ba", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 5070.0, "surface_area": 2810.0, "principal_moments": [164000.0, 804000.0, 884000.0], "n_faces": 16, "n_edges": 40, "n_vertices": 26}, "dimensions": {"lines": ["Rectangular body, 47.8 \u00d7 17 \u00d7 5 mm (W\u00d7D\u00d7H).", "Six \u00d84.3 mm holes on a \u00d828.6 mm bolt circle.", "Chamfer 1.1 mm on vertical edges.", "Boss \u00d817 mm \u00d7 6.2 mm tall on top face with a \u00d85.3 mm bore."], "text": "Rectangular body, 47.8 \u00d7 17 \u00d7 5 mm (W\u00d7D\u00d7H). Six \u00d84.3 mm holes on a \u00d828.6 mm bolt circle. Chamfer 1.1 mm on vertical edges. Boss \u00d817 mm \u00d7 6.2 mm tall on top face with a \u00d85.3 mm bore."}, "params": {"plate_w": {"type": "float", "default": 47.8, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 17.0, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 5.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "bolt_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 14.3, "min": 9.6, "max": 21.5, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 6, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}, "chamfer_d": {"type": "float", "default": 1.1, "min": 0.7, "max": 2.0, "step": 0.5, "group": "Body", "label": "Chamfer distance (mm)"}, "chamfered": {"type": "bool", "default": true, "group": "Body", "label": "Chamfer edges"}, "boss_d": {"type": "float", "default": 17.0, "min": 8.5, "max": 34.0, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 6.2, "min": 2.5, "max": 15.5, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}, "boss_bore_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 11.9, "step": 0.1, "group": "Boss", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329890 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 47.8, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 17.0, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 5.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 14.3, \"min\": 9.6, \"max\": 21.5, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n    \"chamfer_d\": {\"type\": 'float', \"default\": 1.1, \"min\": 0.7, \"max\": 2.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Chamfer distance (mm)'},\n    \"chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Chamfer edges'},\n    \"boss_d\": {\"type\": 'float', \"default\": 17.0, \"min\": 8.5, \"max\": 34.0, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 6.2, \"min\": 2.5, \"max\": 15.5, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n    \"boss_bore_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 11.9, \"step\": 0.1, \"group\": 'Boss', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    if p[\"chamfered\"]:\n        result = result.edges('|Z').chamfer(p[\"chamfer_d\"])\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .hole(p[\"boss_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462ca0e3_1327", "family": "gear", "tier": 1, "seed": 1177329891, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "54788077f1e06d96", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 1090000.0, "surface_area": 124000.0, "principal_moments": [3870000000.0, 3870000000.0, 7610000000.0], "n_faces": 237, "n_edges": 705, "n_vertices": 470}, "dimensions": {"lines": ["Spur gear, module 6 mm, 39 teeth (pitch \u00d8234 mm), face width 26 mm, \u00d829.6 mm bore."], "text": "Spur gear, module 6 mm, 39 teeth (pitch \u00d8234 mm), face width 26 mm, \u00d829.6 mm bore."}, "params": {"module": {"type": "float", "default": 6.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 39, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 26.0, "min": 10.4, "max": 65.0, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "bore_d": {"type": "float", "default": 29.6, "min": 2.0, "max": 131.4, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329891 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 6.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 39, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 26.0, \"min\": 10.4, \"max\": 65.0, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 29.6, \"min\": 2.0, \"max\": 131.4, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462ca0e4_1328", "family": "ribbed", "tier": 1, "seed": 1177329892, "symmetry": "none", "op_count": 2, "ir_hash": "adbed097320dc2c1", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 25600.0, "surface_area": 13400.0, "principal_moments": [5820000.0, 8780000.0, 13899999.999999998], "n_faces": 54, "n_edges": 132, "n_vertices": 80}, "dimensions": {"lines": ["Rectangular body, 64.46 \u00d7 49.6 \u00d7 4 mm (W\u00d7D\u00d7H).", "Six ribs, 4.7 mm thick, 8.8 mm tall."], "text": "Rectangular body, 64.46 \u00d7 49.6 \u00d7 4 mm (W\u00d7D\u00d7H). Six ribs, 4.7 mm thick, 8.8 mm tall."}, "params": {"base_w": {"type": "float", "default": 64.46, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 49.6, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 4.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 6, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 8.8, "min": 3.5, "max": 17.6, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 4.7, "min": 1.0, "max": 11.8, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329892 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 64.46, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 49.6, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 6, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 8.8, \"min\": 3.5, \"max\": 17.6, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 4.7, \"min\": 1.0, \"max\": 11.8, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca0e5_1329", "family": "plate", "tier": 0, "seed": 1177329893, "symmetry": "none", "op_count": 1, "ir_hash": "98e8bf29529c1860", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 80700.0, "surface_area": 17600.0, "principal_moments": [23999999.999999996, 89900000.0, 112000000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 115 \u00d7 58.5 \u00d7 12 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 115 \u00d7 58.5 \u00d7 12 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 115, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 58.5, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329893 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 115, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 58.5, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462ca0e6_1330", "family": "threaded", "tier": 3, "seed": 1177329894, "symmetry": "none", "op_count": 1, "ir_hash": "22732c4704b1a914", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 2190.0, "surface_area": 2150.0, "principal_moments": [40400.0, 214000.0, 214000.0], "n_faces": 687, "n_edges": 1967, "n_vertices": 1282}, "dimensions": {"lines": ["M6x0.75 internal thread, 32.6 mm long."], "text": "M6x0.75 internal thread, 32.6 mm long."}, "params": {"major_d": {"type": "float", "default": 6.0, "min": 4.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Major diameter (mm)"}, "pitch": {"type": "float", "default": 0.75, "min": 0.38, "max": 1.5, "step": 0.05, "group": "Thread", "label": "Pitch (mm)"}, "thread_len": {"type": "float", "default": 32.6, "min": 13.0, "max": 65.2, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329894 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 6.0, \"min\": 4.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Major diameter (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 0.75, \"min\": 0.38, \"max\": 1.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Pitch (mm)'},\n    \"thread_len\": {\"type\": 'float', \"default\": 32.6, \"min\": 13.0, \"max\": 65.2, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.IsoThread(major_diameter=p[\"major_d\"], pitch=p[\"pitch\"], length=p[\"thread_len\"], external=False, end_finishes=(\"fade\", \"fade\"))\n    _body = _bd.Cylinder(radius=(p[\"major_d\"]) * 0.9, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _bore = _bd.Cylinder(radius=(p[\"major_d\"]) / 2, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = (_body - _bore) + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca0e7_1331", "family": "revolved", "tier": 0, "seed": 1177329895, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "48a2cfeaa548e8e3", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 192000.0, "surface_area": 34400.0, "principal_moments": [84600000.0, 219000000.0, 219000000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d854.22 mm \u00d7 124.6 mm tall."], "text": "Revolved body, \u00d854.22 mm \u00d7 124.6 mm tall."}, "params": {"outer_d": {"type": "float", "default": 54.22, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 124.6, "min": 37.4, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329895 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 54.22, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 124.6, \"min\": 37.4, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca0e8_1332", "family": "revolved", "tier": 1, "seed": 1177329896, "symmetry": "none", "op_count": 1, "ir_hash": "cd1ae0b2bf2b4a9a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 8230.0, "surface_area": 3830.0, "principal_moments": [589000.0, 827000.0, 827000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d821.83 mm \u00d7 33 mm tall."], "text": "Revolved body, \u00d821.83 mm \u00d7 33 mm tall."}, "params": {"outer_d": {"type": "float", "default": 21.83, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 33.0, "min": 9.9, "max": 99.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329896 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 21.83, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 33.0, \"min\": 9.9, \"max\": 99.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca0e9_1333", "family": "block", "tier": 2, "seed": 1177329897, "symmetry": "none", "op_count": 3, "ir_hash": "0d6124d004bb59b9", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 268000.0, "surface_area": 37900.0, "principal_moments": [174000000.0, 242000000.0, 268000000.0], "n_faces": 15, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 82.76 \u00d7 55.4 \u00d7 69.4 mm (W\u00d7D\u00d7H).", "Four \u00d86.4 mm holes at the corners, 57.932 \u00d7 38.78 mm spacing.", "Pocket 42.9 \u00d7 35 mm, 27.4 mm deep, in top face."], "text": "Rectangular body, 82.76 \u00d7 55.4 \u00d7 69.4 mm (W\u00d7D\u00d7H). Four \u00d86.4 mm holes at the corners, 57.932 \u00d7 38.78 mm spacing. Pocket 42.9 \u00d7 35 mm, 27.4 mm deep, in top face."}, "params": {"block_w": {"type": "float", "default": 82.76, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 55.4, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 69.4, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 12.5, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "pocket_w": {"type": "float", "default": 42.9, "min": 21.4, "max": 66.2, "step": 1.0, "group": "Pocket", "label": "Pocket width (mm)"}, "pocket_d": {"type": "float", "default": 35.0, "min": 17.5, "max": 44.3, "step": 1.0, "group": "Pocket", "label": "Pocket depth (mm)"}, "pocket_h": {"type": "float", "default": 27.4, "min": 11.0, "max": 59.0, "step": 0.5, "group": "Pocket", "label": "Pocket height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329897 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 82.76, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 55.4, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 69.4, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 12.5, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"pocket_w\": {\"type\": 'float', \"default\": 42.9, \"min\": 21.4, \"max\": 66.2, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket width (mm)'},\n    \"pocket_d\": {\"type\": 'float', \"default\": 35.0, \"min\": 17.5, \"max\": 44.3, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket depth (mm)'},\n    \"pocket_h\": {\"type\": 'float', \"default\": 27.4, \"min\": 11.0, \"max\": 59.0, \"step\": 0.5, \"group\": 'Pocket', \"label\": 'Pocket height (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"pocket_w\"], p[\"pocket_d\"])\n        .cutBlind(-p[\"pocket_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462ca0ea_1334", "family": "gear", "tier": 1, "seed": 1177329898, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "40f524d2c4310c8d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 514000.0, "surface_area": 72400.0, "principal_moments": [1030000000.0, 1030000000.0, 2020000000.0], "n_faces": 213, "n_edges": 633, "n_vertices": 422}, "dimensions": {"lines": ["Spur gear, module 5 mm, 35 teeth (pitch \u00d8175 mm), face width 22.1 mm, \u00d827.5 mm bore."], "text": "Spur gear, module 5 mm, 35 teeth (pitch \u00d8175 mm), face width 22.1 mm, \u00d827.5 mm bore."}, "params": {"module": {"type": "float", "default": 5.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 35, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 22.1, "min": 8.8, "max": 55.2, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "bore_d": {"type": "float", "default": 27.5, "min": 2.0, "max": 97.5, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329898 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 5.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 35, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 22.1, \"min\": 8.8, \"max\": 55.2, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 27.5, \"min\": 2.0, \"max\": 97.5, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca0eb_1335", "family": "compound", "tier": 1, "seed": 1177329899, "symmetry": "none", "op_count": 2, "ir_hash": "0e25f39748c6f564", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 25800.0, "surface_area": 7160.0, "principal_moments": [2800000.0, 6020000.0, 6020000.0], "n_faces": 6, "n_edges": 9, "n_vertices": 6}, "dimensions": {"lines": ["\u00d829.34 mm circular section, extruded 37.8 mm thick.", "\u00d813.8 mm circular section attachment, 21.5 mm long, from top face with a \u00d88 mm bore."], "text": "\u00d829.34 mm circular section, extruded 37.8 mm thick. \u00d813.8 mm circular section attachment, 21.5 mm long, from top face with a \u00d88 mm bore."}, "params": {"shaft_d": {"type": "float", "default": 29.34, "min": 14.7, "max": 52.8, "step": 1.0, "group": "Body", "label": "Shaft diameter (mm)"}, "shaft_len": {"type": "float", "default": 37.8, "min": 15.1, "max": 75.6, "step": 1.0, "group": "Body", "label": "Shaft length (mm)"}, "step_d": {"type": "float", "default": 13.8, "min": 6.9, "max": 26.4, "step": 1.0, "group": "Step", "label": "Step diameter (mm)"}, "step_len": {"type": "float", "default": 21.5, "min": 6.5, "max": 53.8, "step": 1.0, "group": "Step", "label": "Step length (mm)"}, "axial_bore": {"type": "float", "default": 8.0, "min": 2.0, "max": 9.9, "step": 0.5, "group": "Bore", "label": "Axial bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329899 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"shaft_d\": {\"type\": 'float', \"default\": 29.34, \"min\": 14.7, \"max\": 52.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft diameter (mm)'},\n    \"shaft_len\": {\"type\": 'float', \"default\": 37.8, \"min\": 15.1, \"max\": 75.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft length (mm)'},\n    \"step_d\": {\"type\": 'float', \"default\": 13.8, \"min\": 6.9, \"max\": 26.4, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step diameter (mm)'},\n    \"step_len\": {\"type\": 'float', \"default\": 21.5, \"min\": 6.5, \"max\": 53.8, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step length (mm)'},\n    \"axial_bore\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 9.9, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Axial bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').circle(p[\"shaft_d\"] / 2).extrude(p[\"shaft_len\"]))\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"step_d\"] / 2).extrude(p[\"step_len\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"axial_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca0ec_1336", "family": "compound", "tier": 1, "seed": 1177329900, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "7d4e2de3f26632dc", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 7610.0, "surface_area": 3540.0, "principal_moments": [676000.0, 706000.0, 731000.0], "n_faces": 10, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["5-sided polygon section, 32.46 mm across corners, extruded 10.6 mm thick.", "\u00d811.6 mm circular section attachment, 19.5 mm long, from top face with a \u00d86.8 mm bore."], "text": "5-sided polygon section, 32.46 mm across corners, extruded 10.6 mm thick. \u00d811.6 mm circular section attachment, 19.5 mm long, from top face with a \u00d86.8 mm bore."}, "params": {"base_sides": {"type": "int", "default": 5, "min": 3, "max": 8, "step": 1, "group": "Base", "label": "Base sides"}, "base_r": {"type": "float", "default": 16.23, "min": 9.7, "max": 26.0, "step": 1.0, "group": "Base", "label": "Base circumradius (mm)"}, "base_h": {"type": "float", "default": 10.6, "min": 4.2, "max": 26.5, "step": 1.0, "group": "Base", "label": "Base height (mm)"}, "col_d": {"type": "float", "default": 11.6, "min": 5.8, "max": 21.0, "step": 1.0, "group": "Column", "label": "Column diameter (mm)"}, "col_h": {"type": "float", "default": 19.5, "min": 5.8, "max": 48.8, "step": 1.0, "group": "Column", "label": "Column height (mm)"}, "col_bore": {"type": "float", "default": 6.8, "min": 2.0, "max": 8.4, "step": 0.5, "group": "Column", "label": "Column bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329900 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_sides\": {\"type\": 'int', \"default\": 5, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Base', \"label\": 'Base sides'},\n    \"base_r\": {\"type\": 'float', \"default\": 16.23, \"min\": 9.7, \"max\": 26.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base circumradius (mm)'},\n    \"base_h\": {\"type\": 'float', \"default\": 10.6, \"min\": 4.2, \"max\": 26.5, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base height (mm)'},\n    \"col_d\": {\"type\": 'float', \"default\": 11.6, \"min\": 5.8, \"max\": 21.0, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column diameter (mm)'},\n    \"col_h\": {\"type\": 'float', \"default\": 19.5, \"min\": 5.8, \"max\": 48.8, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column height (mm)'},\n    \"col_bore\": {\"type\": 'float', \"default\": 6.8, \"min\": 2.0, \"max\": 8.4, \"step\": 0.5, \"group\": 'Column', \"label\": 'Column bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').polygon(p[\"base_sides\"], p[\"base_r\"] * 2).extrude(p[\"base_h\"]))\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"col_d\"] / 2).extrude(p[\"col_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"col_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462ca0ed_1337", "family": "sketched", "tier": 1, "seed": 1177329901, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "b6e24e42c3076efe", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 17900.0, "surface_area": 4770.0, "principal_moments": [1730000.0, 2880000.0, 3940000.0], "n_faces": 7, "n_edges": 15, "n_vertices": 10}, "dimensions": {"lines": ["freeform sketched section (4 segments: 3 arcs, 1 curve), ~37.798 \u00d7 51.205 mm, extruded 15 mm thick.", "One \u00d88.4 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "freeform sketched section (4 segments: 3 arcs, 1 curve), ~37.798 \u00d7 51.205 mm, extruded 15 mm thick. One \u00d88.4 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"sk_w": {"type": "float", "default": 58.42, "min": 29.2, "max": 105.2, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 55, "min": 27.5, "max": 99.0, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "sk_t": {"type": "float", "default": 15, "min": 6.0, "max": 33.0, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "sk_hole_d": {"type": "float", "default": 8.4, "min": 2.0, "max": 16.8, "step": 0.5, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329901 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 58.42, \"min\": 29.2, \"max\": 105.2, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 55, \"min\": 27.5, \"max\": 99.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"sk_t\": {\"type\": 'float', \"default\": 15, \"min\": 6.0, \"max\": 33.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"sk_hole_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 2.0, \"max\": 16.8, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.3107, p[\"sk_h\"] * -0.0814).threePointArc((p[\"sk_w\"] * 0.2353, p[\"sk_h\"] * 0.2116), (p[\"sk_w\"] * 0.1014, p[\"sk_h\"] * 0.4484)).threePointArc((p[\"sk_w\"] * -0.1336, p[\"sk_h\"] * 0.283), (p[\"sk_w\"] * -0.3363, p[\"sk_h\"] * 0.0425)).spline([(p[\"sk_w\"] * -0.3363, p[\"sk_h\"] * 0.0425), (p[\"sk_w\"] * -0.2738, p[\"sk_h\"] * -0.2477), (p[\"sk_w\"] * -0.0921, p[\"sk_h\"] * -0.4826)]).threePointArc((p[\"sk_w\"] * 0.1321, p[\"sk_h\"] * -0.3352), (p[\"sk_w\"] * 0.3107, p[\"sk_h\"] * -0.0814)).close().extrude(p[\"sk_t\"]))\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"sk_hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca0ee_1338", "family": "revolved", "tier": 1, "seed": 1177329902, "symmetry": "none", "op_count": 2, "ir_hash": "5efe906a8d779382", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 766000.0, "surface_area": 98700.0, "principal_moments": [692000000.0, 4540000000.0, 4540000000.0], "n_faces": 8, "n_edges": 14, "n_vertices": 8}, "dimensions": {"lines": ["Revolved body, \u00d874.27 mm \u00d7 256.7 mm tall with \u00d841.4 mm bore.", "Chamfer 1.4 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d874.27 mm \u00d7 256.7 mm tall with \u00d841.4 mm bore. Chamfer 1.4 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 74.27, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 256.7, "min": 77.0, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 41.4, "min": 2.0, "max": 52.0, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "end_chamfer": {"type": "float", "default": 1.4, "min": 0.1, "max": 4.2, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329902 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 74.27, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 256.7, \"min\": 77.0, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 41.4, \"min\": 2.0, \"max\": 52.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 1.4, \"min\": 0.1, \"max\": 4.2, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462ca0ef_1339", "family": "ribbed", "tier": 3, "seed": 1177329903, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "500f311c7500e7e7", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 9200.0, "surface_area": 5150.0, "principal_moments": [937000.0, 1970000.0, 2620000.0], "n_faces": 22, "n_edges": 52, "n_vertices": 32}, "dimensions": {"lines": ["Rectangular body, 43.84 \u00d7 31.1 \u00d7 5 mm (W\u00d7D\u00d7H).", "Two ribs, 3.2 mm thick, 10.6 mm tall."], "text": "Rectangular body, 43.84 \u00d7 31.1 \u00d7 5 mm (W\u00d7D\u00d7H). Two ribs, 3.2 mm thick, 10.6 mm tall."}, "params": {"base_w": {"type": "float", "default": 43.84, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 31.1, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 5.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 2, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 10.6, "min": 4.2, "max": 21.2, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 3.2, "min": 1.0, "max": 8.0, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329903 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 43.84, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 31.1, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 2, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 10.6, \"min\": 4.2, \"max\": 21.2, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 3.2, \"min\": 1.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca0f0_1340", "family": "block", "tier": 3, "seed": 1177329904, "symmetry": "none", "op_count": 4, "ir_hash": "d0dfe0d2ab77583c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 225000.0, "surface_area": 27800.0, "principal_moments": [101000000.0, 195000000.0, 241000000.0], "n_faces": 13, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Rectangular body, 95 \u00d7 38.6 \u00d7 61.6 mm (W\u00d7D\u00d7H).", "Four \u00d83.2 mm holes at the corners, 66.5 \u00d7 27.02 mm spacing.", "Boss \u00d816.3 mm \u00d7 11.7 mm tall on top face with a \u00d84.3 mm bore.", "Fillet radius 4.426 mm on vertical edges (optional, off by default)."], "text": "Rectangular body, 95 \u00d7 38.6 \u00d7 61.6 mm (W\u00d7D\u00d7H). Four \u00d83.2 mm holes at the corners, 66.5 \u00d7 27.02 mm spacing. Boss \u00d816.3 mm \u00d7 11.7 mm tall on top face with a \u00d84.3 mm bore. Fillet radius 4.426 mm on vertical edges (optional, off by default)."}, "params": {"block_w": {"type": "float", "default": 95, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 38.6, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 61.6, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 8.7, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "boss_d": {"type": "float", "default": 16.3, "min": 8.2, "max": 32.6, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 11.7, "min": 4.7, "max": 29.2, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}, "boss_bore_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 11.4, "step": 0.1, "group": "Boss", "label": "Bore diameter (mm)"}, "filleted2": {"type": "bool", "default": false, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329904 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 95, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 38.6, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 61.6, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 8.7, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"boss_d\": {\"type\": 'float', \"default\": 16.3, \"min\": 8.2, \"max\": 32.6, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 11.7, \"min\": 4.7, \"max\": 29.2, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n    \"boss_bore_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 11.4, \"step\": 0.1, \"group\": 'Boss', \"label\": 'Bore diameter (mm)'},\n    \"filleted2\": {\"type\": 'bool', \"default\": False, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .hole(p[\"boss_bore_d\"])\n    )\n    if p[\"filleted2\"]:\n        result = result.edges('|Z').fillet(min(p[\"block_w\"], p[\"block_d\"]) * 0.11466820632731586)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca0f1_1341", "family": "compound", "tier": 2, "seed": 1177329905, "symmetry": "none", "op_count": 4, "ir_hash": "f1eec0c0a7c68934", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 148000.0, "surface_area": 23400.0, "principal_moments": [51599999.99999999, 89500000.0, 104000000.0], "n_faces": 17, "n_edges": 42, "n_vertices": 28}, "dimensions": {"lines": ["Rectangular body, 70 \u00d7 39.2 \u00d7 52.3 mm (W\u00d7D\u00d7H).", "29.7 \u00d7 33.8 mm rectangular section attachment, 10 mm long, from right face.", "Four \u00d84.3 mm holes at the corners, 17.82 \u00d7 20.28 mm spacing on the >X face.", "Four \u00d83.2 mm holes at the corners, 49 \u00d7 27.44 mm spacing."], "text": "Rectangular body, 70 \u00d7 39.2 \u00d7 52.3 mm (W\u00d7D\u00d7H). 29.7 \u00d7 33.8 mm rectangular section attachment, 10 mm long, from right face. Four \u00d84.3 mm holes at the corners, 17.82 \u00d7 20.28 mm spacing on the >X face. Four \u00d83.2 mm holes at the corners, 49 \u00d7 27.44 mm spacing."}, "params": {"block_w": {"type": "float", "default": 70, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 39.2, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 52.3, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "tab_a": {"type": "float", "default": 29.7, "min": 11.9, "max": 47.5, "step": 1.0, "group": "Tab", "label": "Tab width (mm)"}, "tab_b": {"type": "float", "default": 33.8, "min": 13.5, "max": 54.1, "step": 1.0, "group": "Tab", "label": "Tab height (mm)"}, "tab_t": {"type": "float", "default": 10.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Tab", "label": "Tab thickness (mm)"}, "tab_hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 6.5, "step": 0.1, "group": "Tab", "label": "Tab hole diameter (mm)"}, "block_hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 8.8, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329905 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 70, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 39.2, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 52.3, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"tab_a\": {\"type\": 'float', \"default\": 29.7, \"min\": 11.9, \"max\": 47.5, \"step\": 1.0, \"group\": 'Tab', \"label\": 'Tab width (mm)'},\n    \"tab_b\": {\"type\": 'float', \"default\": 33.8, \"min\": 13.5, \"max\": 54.1, \"step\": 1.0, \"group\": 'Tab', \"label\": 'Tab height (mm)'},\n    \"tab_t\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Tab', \"label\": 'Tab thickness (mm)'},\n    \"tab_hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 6.5, \"step\": 0.1, \"group\": 'Tab', \"label\": 'Tab hole diameter (mm)'},\n    \"block_hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 8.8, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .rect(p[\"tab_a\"], p[\"tab_b\"]).extrude(p[\"tab_t\"])\n    )\n    result = (\n        result.faces('>X').workplane()\n        .rect(p[\"tab_a\"] * 0.6, p[\"tab_b\"] * 0.6, forConstruction=True)\n        .vertices().hole(p[\"tab_hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"block_hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca0f2_1342", "family": "bracket", "tier": 3, "seed": 1177329906, "symmetry": "none", "op_count": 1, "ir_hash": "be17a5f256676172", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 22500.0, "surface_area": 15700.0, "principal_moments": [8150000.0, 20400000.0, 20800000.0], "n_faces": 14, "n_edges": 45, "n_vertices": 28}, "dimensions": {"lines": ["L-bracket: base leg 76.59 mm, vertical leg 62.8 mm, 50 mm wide, 3 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg; 4.3 mm corner gusset."], "text": "L-bracket: base leg 76.59 mm, vertical leg 62.8 mm, 50 mm wide, 3 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg; 4.3 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 76.59, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 62.8, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 50, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 3.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 4.3, "min": 1.5, "max": 9.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329906 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 76.59, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 62.8, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 50, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 4.3, \"min\": 1.5, \"max\": 9.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca0f3_1343", "family": "compound", "tier": 3, "seed": 1177329907, "symmetry": "mirror_xy", "op_count": 4, "ir_hash": "f9249641e6a41977", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 86200.0, "surface_area": 15700.0, "principal_moments": [15699999.999999998, 65999999.99999999, 65999999.99999999], "n_faces": 17, "n_edges": 37, "n_vertices": 24}, "dimensions": {"lines": ["\u00d840 mm circular section, extruded 59.4 mm thick.", "\u00d820.8 mm circular section attachment, 40.1 mm long, from top face.", "8-sided polygon section, 16.8 mm across corners attachment, 13.5 mm long, from top face with a \u00d87.3 mm bore.", "Chamfer 0.9 mm on bottom edges."], "text": "\u00d840 mm circular section, extruded 59.4 mm thick. \u00d820.8 mm circular section attachment, 40.1 mm long, from top face. 8-sided polygon section, 16.8 mm across corners attachment, 13.5 mm long, from top face with a \u00d87.3 mm bore. Chamfer 0.9 mm on bottom edges."}, "params": {"shaft_d": {"type": "float", "default": 40, "min": 20.0, "max": 72.0, "step": 1.0, "group": "Body", "label": "Shaft diameter (mm)"}, "shaft_len": {"type": "float", "default": 59.4, "min": 23.8, "max": 118.8, "step": 1.0, "group": "Body", "label": "Shaft length (mm)"}, "step_d": {"type": "float", "default": 20.8, "min": 10.4, "max": 36.0, "step": 1.0, "group": "Step", "label": "Step diameter (mm)"}, "step_len": {"type": "float", "default": 40.1, "min": 12.0, "max": 100.2, "step": 1.0, "group": "Step", "label": "Step length (mm)"}, "head_sides": {"type": "int", "default": 8, "min": 3, "max": 8, "step": 1, "group": "Head", "label": "Drive head sides"}, "head_r": {"type": "float", "default": 8.4, "min": 5.0, "max": 10.0, "step": 1.0, "group": "Head", "label": "Drive head circumradius (mm)"}, "head_len": {"type": "float", "default": 13.5, "min": 4.0, "max": 27.0, "step": 1.0, "group": "Head", "label": "Drive head length (mm)"}, "axial_bore": {"type": "float", "default": 7.3, "min": 2.0, "max": 11.2, "step": 0.5, "group": "Bore", "label": "Axial bore diameter (mm)"}, "chamfer_d": {"type": "float", "default": 0.9, "min": 0.5, "max": 3.0, "step": 0.5, "group": "Body", "label": "Chamfer distance (mm)"}, "chamfered": {"type": "bool", "default": true, "group": "Body", "label": "Chamfer edges"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329907 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"shaft_d\": {\"type\": 'float', \"default\": 40, \"min\": 20.0, \"max\": 72.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft diameter (mm)'},\n    \"shaft_len\": {\"type\": 'float', \"default\": 59.4, \"min\": 23.8, \"max\": 118.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft length (mm)'},\n    \"step_d\": {\"type\": 'float', \"default\": 20.8, \"min\": 10.4, \"max\": 36.0, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step diameter (mm)'},\n    \"step_len\": {\"type\": 'float', \"default\": 40.1, \"min\": 12.0, \"max\": 100.2, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step length (mm)'},\n    \"head_sides\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Head', \"label\": 'Drive head sides'},\n    \"head_r\": {\"type\": 'float', \"default\": 8.4, \"min\": 5.0, \"max\": 10.0, \"step\": 1.0, \"group\": 'Head', \"label\": 'Drive head circumradius (mm)'},\n    \"head_len\": {\"type\": 'float', \"default\": 13.5, \"min\": 4.0, \"max\": 27.0, \"step\": 1.0, \"group\": 'Head', \"label\": 'Drive head length (mm)'},\n    \"axial_bore\": {\"type\": 'float', \"default\": 7.3, \"min\": 2.0, \"max\": 11.2, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Axial bore diameter (mm)'},\n    \"chamfer_d\": {\"type\": 'float', \"default\": 0.9, \"min\": 0.5, \"max\": 3.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Chamfer distance (mm)'},\n    \"chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Chamfer edges'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').circle(p[\"shaft_d\"] / 2).extrude(p[\"shaft_len\"]))\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"step_d\"] / 2).extrude(p[\"step_len\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"head_sides\"], p[\"head_r\"] * 2).extrude(p[\"head_len\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"axial_bore\"])\n    )\n    if p[\"chamfered\"]:\n        result = result.edges('<Z').chamfer(p[\"chamfer_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca0f4_1344", "family": "plate", "tier": 1, "seed": 1177329908, "symmetry": "none", "op_count": 2, "ir_hash": "479ed2b158ad6522", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 15500.0, "surface_area": 5200.0, "principal_moments": [1360000.0, 2720000.0, 3710000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 45 \u00d7 30.7 \u00d7 12 mm (W\u00d7D\u00d7H).", "Four \u00d85.3 mm holes at the corners, 31.5 \u00d7 21.49 mm spacing."], "text": "Rectangular body, 45 \u00d7 30.7 \u00d7 12 mm (W\u00d7D\u00d7H). Four \u00d85.3 mm holes at the corners, 31.5 \u00d7 21.49 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 45, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 30.7, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 6.9, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329908 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 45, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 30.7, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 6.9, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca0f5_1345", "family": "revolved", "tier": 2, "seed": 1177329909, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "5f53e146bffd2f33", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 106000.0, "surface_area": 21900.0, "principal_moments": [53099999.99999999, 65999999.99999999, 65999999.99999999], "n_faces": 8, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Revolved body, \u00d855.42 mm \u00d7 65.9 mm tall with \u00d831 mm bore, 7.25 mm-wide groove 2.35 mm deep."], "text": "Revolved body, \u00d855.42 mm \u00d7 65.9 mm tall with \u00d831 mm bore, 7.25 mm-wide groove 2.35 mm deep."}, "params": {"outer_d": {"type": "float", "default": 55.42, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 65.9, "min": 19.8, "max": 197.7, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 31.0, "min": 2.0, "max": 38.8, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "groove_depth": {"type": "float", "default": 2.35, "min": 0.94, "max": 7.05, "step": 0.1, "group": "Body", "label": "Groove depth (mm)"}, "groove_w": {"type": "float", "default": 7.25, "min": 2.9, "max": 21.75, "step": 0.2, "group": "Body", "label": "Groove width (mm)"}, "groove_pos": {"type": "float", "default": 29.1, "min": 9.9, "max": 56.0, "step": 1.0, "group": "Body", "label": "Groove position (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329909 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 55.42, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 65.9, \"min\": 19.8, \"max\": 197.7, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 31.0, \"min\": 2.0, \"max\": 38.8, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"groove_depth\": {\"type\": 'float', \"default\": 2.35, \"min\": 0.94, \"max\": 7.05, \"step\": 0.1, \"group\": 'Body', \"label\": 'Groove depth (mm)'},\n    \"groove_w\": {\"type\": 'float', \"default\": 7.25, \"min\": 2.9, \"max\": 21.75, \"step\": 0.2, \"group\": 'Body', \"label\": 'Groove width (mm)'},\n    \"groove_pos\": {\"type\": 'float', \"default\": 29.1, \"min\": 9.9, \"max\": 56.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Groove position (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"groove_pos\"] - p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2 - p[\"groove_depth\"], p[\"groove_pos\"] - p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2 - p[\"groove_depth\"], p[\"groove_pos\"] + p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2, p[\"groove_pos\"] + p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462ca0f6_1346", "family": "sketched", "tier": 1, "seed": 1177329910, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "1c7cdcae7fdcdca4", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 74400.0, "surface_area": 16100.0, "principal_moments": [25699999.999999996, 30899999.999999996, 30899999.999999996], "n_faces": 8, "n_edges": 13, "n_vertices": 7}, "dimensions": {"lines": ["Revolved organic body from a freeform sketched section (8 segments: 4 straight, 1 arc, 3 curves), ~37.261 \u00d7 46 mm half-silhouette."], "text": "Revolved organic body from a freeform sketched section (8 segments: 4 straight, 1 arc, 3 curves), ~37.261 \u00d7 46 mm half-silhouette."}, "params": {"sk_r": {"type": "float", "default": 42.07, "min": 21.0, "max": 75.7, "step": 1.0, "group": "Sketch", "label": "Max radius (mm)"}, "sk_h": {"type": "float", "default": 46.0, "min": 23.0, "max": 82.8, "step": 1.0, "group": "Sketch", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329910 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_r\": {\"type\": 'float', \"default\": 42.07, \"min\": 21.0, \"max\": 75.7, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Max radius (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 46.0, \"min\": 23.0, \"max\": 82.8, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XZ').moveTo(p[\"sk_r\"] * 0.8857, p[\"sk_h\"] * 0.0).lineTo(p[\"sk_r\"] * 0.6284, p[\"sk_h\"] * 0.1578).bezier([(p[\"sk_r\"] * 0.6284, p[\"sk_h\"] * 0.1578), (p[\"sk_r\"] * 0.4299, p[\"sk_h\"] * 0.3565), (p[\"sk_r\"] * 0.1605, p[\"sk_h\"] * 0.5551)]).bezier([(p[\"sk_r\"] * 0.1605, p[\"sk_h\"] * 0.5551), (p[\"sk_r\"] * 0.3112, p[\"sk_h\"] * 0.5586), (p[\"sk_r\"] * 0.1736, p[\"sk_h\"] * 0.562)]).spline([(p[\"sk_r\"] * 0.1736, p[\"sk_h\"] * 0.562), (p[\"sk_r\"] * 0.3579, p[\"sk_h\"] * 0.6206), (p[\"sk_r\"] * 0.6247, p[\"sk_h\"] * 0.6793)]).lineTo(p[\"sk_r\"] * 0.5869, p[\"sk_h\"] * 0.796).threePointArc((p[\"sk_r\"] * 0.5719, p[\"sk_h\"] * 0.898), (p[\"sk_r\"] * 0.5188, p[\"sk_h\"] * 1.0)).lineTo(p[\"sk_r\"] * 0.0, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.0, p[\"sk_h\"] * 0.0).close().revolve())\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca0f8_1348", "family": "block", "tier": 2, "seed": 1177329912, "symmetry": "radial", "op_count": 3, "ir_hash": "d611564ded550f75", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 128000.0, "surface_area": 18900.0, "principal_moments": [43000000.0, 66699999.99999999, 79700000.0], "n_faces": 18, "n_edges": 45, "n_vertices": 30}, "dimensions": {"lines": ["Rectangular body, 69.08 \u00d7 37.9 \u00d7 51 mm (W\u00d7D\u00d7H).", "Six \u00d85.3 mm holes on a \u00d841.4 mm bolt circle.", "Boss \u00d88.4 mm \u00d7 5.5 mm tall on top face."], "text": "Rectangular body, 69.08 \u00d7 37.9 \u00d7 51 mm (W\u00d7D\u00d7H). Six \u00d85.3 mm holes on a \u00d841.4 mm bolt circle. Boss \u00d88.4 mm \u00d7 5.5 mm tall on top face."}, "params": {"block_w": {"type": "float", "default": 69.08, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 37.9, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 51.0, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "bolt_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 20.7, "min": 13.8, "max": 31.1, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 6, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}, "boss_d": {"type": "float", "default": 8.4, "min": 4.2, "max": 16.8, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 5.5, "min": 2.2, "max": 13.8, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329912 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 69.08, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 37.9, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 51.0, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 20.7, \"min\": 13.8, \"max\": 31.1, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n    \"boss_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 4.2, \"max\": 16.8, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 5.5, \"min\": 2.2, \"max\": 13.8, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca0f9_1349", "family": "bracket", "tier": 2, "seed": 1177329913, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "f051fb54510925e9", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 16300.0, "surface_area": 11600.0, "principal_moments": [4340000.0, 10800000.0, 10800000.0], "n_faces": 15, "n_edges": 41, "n_vertices": 26}, "dimensions": {"lines": ["L-bracket: base leg 56.86 mm, vertical leg 63.7 mm, 41.92 mm wide, 3 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg; 4.2 mm corner gusset."], "text": "L-bracket: base leg 56.86 mm, vertical leg 63.7 mm, 41.92 mm wide, 3 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg; 4.2 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 56.86, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 63.7, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 41.92, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 3.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 4.2, "min": 1.5, "max": 9.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329913 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 56.86, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 63.7, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 41.92, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 4.2, \"min\": 1.5, \"max\": 9.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462ca0fa_1350", "family": "swept", "tier": 0, "seed": 1177329914, "symmetry": "none", "op_count": 1, "ir_hash": "2fc77c99d4deb737", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 8460.0, "surface_area": 4040.0, "principal_moments": [510000.0, 5200000.0, 5570000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["14 \u00d7 9.9 mm rectangular section swept along a curved path, ~80 mm span."], "text": "14 \u00d7 9.9 mm rectangular section swept along a curved path, ~80 mm span."}, "params": {"path_w": {"type": "float", "default": 59.29, "min": 29.6, "max": 106.7, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 80, "min": 40.0, "max": 144.0, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_a": {"type": "float", "default": 14.0, "min": 7.0, "max": 25.2, "step": 1.0, "group": "Section", "label": "Section width (mm)"}, "sweep_b": {"type": "float", "default": 9.9, "min": 5.0, "max": 17.8, "step": 1.0, "group": "Section", "label": "Section depth (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329914 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 59.29, \"min\": 29.6, \"max\": 106.7, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 80, \"min\": 40.0, \"max\": 144.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_a\": {\"type\": 'float', \"default\": 14.0, \"min\": 7.0, \"max\": 25.2, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section width (mm)'},\n    \"sweep_b\": {\"type\": 'float', \"default\": 9.9, \"min\": 5.0, \"max\": 17.8, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section depth (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.0069, p[\"path_h\"] * 0.6077), (p[\"path_w\"] * 0.1965, p[\"path_h\"] * 0.7757), (p[\"path_w\"] * 0.0524, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').rect(p[\"sweep_a\"], p[\"sweep_b\"]).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca0fb_1351", "family": "plate", "tier": 0, "seed": 1177329915, "symmetry": "radial", "op_count": 1, "ir_hash": "e3207479cfecfa9a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 17900.0, "surface_area": 8340.0, "principal_moments": [5060000.0, 5670000.0, 10700000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 61.52 \u00d7 58.1 \u00d7 5 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 61.52 \u00d7 58.1 \u00d7 5 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 61.52, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 58.1, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 5.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329915 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 61.52, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 58.1, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 5.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462ca0fc_1352", "family": "flanged", "tier": 2, "seed": 1177329916, "symmetry": "none", "op_count": 2, "ir_hash": "bb8ac8a6b5ef8917", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 18800.0, "surface_area": 7640.0, "principal_moments": [3090000.0, 3240000.0, 3240000.0], "n_faces": 29, "n_edges": 114, "n_vertices": 76}, "dimensions": {"lines": ["Revolved body, \u00d826.71 mm \u00d7 30.2 mm tall with \u00d88.6 mm bore, \u00d850.7 mm \u00d7 2.9 mm flange.", "Twelve \u00d84.3 mm holes on a \u00d830.4 mm bolt circle."], "text": "Revolved body, \u00d826.71 mm \u00d7 30.2 mm tall with \u00d88.6 mm bore, \u00d850.7 mm \u00d7 2.9 mm flange. Twelve \u00d84.3 mm holes on a \u00d830.4 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 26.71, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 30.2, "min": 9.1, "max": 75.5, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 8.6, "min": 2.0, "max": 18.7, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 50.7, "min": 34.7, "max": 80.1, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 2.9, "min": 0.9, "max": 12.1, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 15.2, "min": 10.1, "max": 22.8, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 12, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329916 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 26.71, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 30.2, \"min\": 9.1, \"max\": 75.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 8.6, \"min\": 2.0, \"max\": 18.7, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 50.7, \"min\": 34.7, \"max\": 80.1, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 2.9, \"min\": 0.9, \"max\": 12.1, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 15.2, \"min\": 10.1, \"max\": 22.8, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 12, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462ca0fd_1353", "family": "swept", "tier": 2, "seed": 1177329917, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "92e3bd60eb485a12", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 3590.0, "surface_area": 2700.0, "principal_moments": [157000.0, 727000.0, 789000.0], "n_faces": 3, "n_edges": 3, "n_vertices": 2}, "dimensions": {"lines": ["\u00d814.5 mm circular section swept along a curved path, ~56.23 mm span."], "text": "\u00d814.5 mm circular section swept along a curved path, ~56.23 mm span."}, "params": {"path_w": {"type": "float", "default": 56.23, "min": 28.1, "max": 101.2, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 45, "min": 22.5, "max": 81.0, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_d": {"type": "float", "default": 14.5, "min": 7.2, "max": 26.1, "step": 1.0, "group": "Section", "label": "Section diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329917 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 56.23, \"min\": 28.1, \"max\": 101.2, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 45, \"min\": 22.5, \"max\": 81.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_d\": {\"type\": 'float', \"default\": 14.5, \"min\": 7.2, \"max\": 26.1, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.1862, p[\"path_h\"] * 0.2012), (p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.3945), (p[\"path_w\"] * 0.0, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').circle(p[\"sweep_d\"] / 2).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca0fe_1354", "family": "block", "tier": 1, "seed": 1177329918, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "45678ff33487591f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 93400.0, "surface_area": 14600.0, "principal_moments": [22799999.999999996, 43300000.0, 45400000.0], "n_faces": 11, "n_edges": 27, "n_vertices": 18}, "dimensions": {"lines": ["Rectangular body, 65 \u00d7 40 \u00d7 36.5 mm (W\u00d7D\u00d7H).", "Five \u00d83.2 mm holes in two staggered rows, 24.4 \u00d7 26.5 mm pitch."], "text": "Rectangular body, 65 \u00d7 40 \u00d7 36.5 mm (W\u00d7D\u00d7H). Five \u00d83.2 mm holes in two staggered rows, 24.4 \u00d7 26.5 mm pitch."}, "params": {"block_w": {"type": "float", "default": 65, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 40.0, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 36.5, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 4.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 3, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329918 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 65, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 40.0, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 36.5, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 4.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 3, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 24.4\n    _ssy = 26.5\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462ca0ff_1355", "family": "lofted", "tier": 0, "seed": 1177329919, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "94ca199d584ca24a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 85200.0, "surface_area": 11600.0, "principal_moments": [28699999.999999996, 29399999.999999996, 29399999.999999996], "n_faces": 8, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["Lofted body through 2 sections: \u00d866.06 mm circular section \u2192 6-sided polygon section, 22.9 mm across corners."], "text": "Lofted body through 2 sections: \u00d866.06 mm circular section \u2192 6-sided polygon section, 22.9 mm across corners."}, "params": {"loft_base": {"type": "float", "default": 66.06, "min": 33.0, "max": 105.7, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 22.9, "min": 9.2, "max": 79.3, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 52.7, "min": 21.1, "max": 105.4, "step": 1.0, "group": "Body", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329919 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 66.06, \"min\": 33.0, \"max\": 105.7, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 22.9, \"min\": 9.2, \"max\": 79.3, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 52.7, \"min\": 21.1, \"max\": 105.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .circle(p[\"loft_base\"] / 2)\n        .workplane(offset=p[\"loft_h\"])\n        .polygon(6, p[\"loft_top\"] * 0.5 * 2)\n        .loft(combine=True)\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca101_1357", "family": "plate", "tier": 2, "seed": 1177329921, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "edf5af33a796cbce", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 32600.0, "surface_area": 12900.0, "principal_moments": [8230000.0, 27099999.999999996, 35200000.0], "n_faces": 14, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 99.93 \u00d7 54.8 \u00d7 6 mm (W\u00d7D\u00d7H).", "Four \u00d83.2 mm holes at the corners, 69.951 \u00d7 38.36 mm spacing.", "Fillet radius 2.551 mm on vertical edges."], "text": "Rectangular body, 99.93 \u00d7 54.8 \u00d7 6 mm (W\u00d7D\u00d7H). Four \u00d83.2 mm holes at the corners, 69.951 \u00d7 38.36 mm spacing. Fillet radius 2.551 mm on vertical edges."}, "params": {"plate_w": {"type": "float", "default": 99.93, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 54.8, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 6.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 12.3, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329921 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 99.93, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 54.8, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 12.3, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"plate_w\"], p[\"plate_d\"]) * 0.04654510195484843)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462ca102_1358", "family": "threaded", "tier": 1, "seed": 1177329922, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "970c07ccab4a58f2", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 3560.0, "surface_area": 2640.0, "principal_moments": [116000.0, 313000.0, 313000.0], "n_faces": 191, "n_edges": 519, "n_vertices": 330}, "dimensions": {"lines": ["M8x1.25 internal thread, 29.4 mm long."], "text": "M8x1.25 internal thread, 29.4 mm long."}, "params": {"major_d": {"type": "float", "default": 8.0, "min": 4.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Major diameter (mm)"}, "pitch": {"type": "float", "default": 1.25, "min": 0.62, "max": 2.5, "step": 0.05, "group": "Thread", "label": "Pitch (mm)"}, "thread_len": {"type": "float", "default": 29.4, "min": 11.8, "max": 58.8, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329922 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 8.0, \"min\": 4.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Major diameter (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.25, \"min\": 0.62, \"max\": 2.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Pitch (mm)'},\n    \"thread_len\": {\"type\": 'float', \"default\": 29.4, \"min\": 11.8, \"max\": 58.8, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.IsoThread(major_diameter=p[\"major_d\"], pitch=p[\"pitch\"], length=p[\"thread_len\"], external=False, end_finishes=(\"fade\", \"fade\"))\n    _body = _bd.Cylinder(radius=(p[\"major_d\"]) * 0.9, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _bore = _bd.Cylinder(radius=(p[\"major_d\"]) / 2, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = (_body - _bore) + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca103_1359", "family": "revolved", "tier": 2, "seed": 1177329923, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "e4182522af5ec24e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 53200.0, "surface_area": 15800.0, "principal_moments": [18800000.0, 18800000.0, 31699999.999999996], "n_faces": 7, "n_edges": 11, "n_vertices": 7}, "dimensions": {"lines": ["Revolved body, \u00d839.61 mm \u00d7 33 mm tall with \u00d878.7 mm \u00d7 7.2 mm flange.", "Chamfer 0.3 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d839.61 mm \u00d7 33 mm tall with \u00d878.7 mm \u00d7 7.2 mm flange. Chamfer 0.3 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 39.61, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 33.0, "min": 9.9, "max": 99.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "flange_d": {"type": "float", "default": 78.7, "min": 47.5, "max": 118.8, "step": 1.0, "group": "Body", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 7.2, "min": 2.2, "max": 16.5, "step": 0.5, "group": "Body", "label": "Flange height (mm)"}, "end_chamfer": {"type": "float", "default": 0.3, "min": 0.1, "max": 0.9, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329923 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 39.61, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 33.0, \"min\": 9.9, \"max\": 99.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 78.7, \"min\": 47.5, \"max\": 118.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 7.2, \"min\": 2.2, \"max\": 16.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Flange height (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.3, \"min\": 0.1, \"max\": 0.9, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca104_1360", "family": "plate", "tier": 0, "seed": 1177329924, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "19c1f65272ea92b9", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 49000.0, "surface_area": 15000.0, "principal_moments": [11100000.0, 58099999.99999999, 68700000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 119.02 \u00d7 51.5 \u00d7 8 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 119.02 \u00d7 51.5 \u00d7 8 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 119.02, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 51.5, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329924 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 119.02, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 51.5, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462ca105_1361", "family": "gear", "tier": 1, "seed": 1177329925, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "05c18ac50380b12b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 90800.0, "surface_area": 21700.0, "principal_moments": [52299999.99999999, 52299999.99999999, 101000000.0], "n_faces": 141, "n_edges": 417, "n_vertices": 278}, "dimensions": {"lines": ["Spur gear, module 4 mm, 23 teeth (pitch \u00d892 mm), face width 14.5 mm, \u00d819.3 mm bore."], "text": "Spur gear, module 4 mm, 23 teeth (pitch \u00d892 mm), face width 14.5 mm, \u00d819.3 mm bore."}, "params": {"module": {"type": "float", "default": 4.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 23, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 14.5, "min": 5.8, "max": 36.2, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "bore_d": {"type": "float", "default": 19.3, "min": 2.0, "max": 49.2, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329925 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 4.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 23, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 14.5, \"min\": 5.8, \"max\": 36.2, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 19.3, \"min\": 2.0, \"max\": 49.2, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462ca106_1362", "family": "swept", "tier": 2, "seed": 1177329926, "symmetry": "none", "op_count": 1, "ir_hash": "2edb57e4d425e8a1", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 13300.0, "surface_area": 4520.0, "principal_moments": [383000.0, 7330000.0, 7450000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["15 \u00d7 11 mm rectangular section swept along a curved path, ~80.6 mm span."], "text": "15 \u00d7 11 mm rectangular section swept along a curved path, ~80.6 mm span."}, "params": {"path_w": {"type": "float", "default": 36.25, "min": 18.1, "max": 65.2, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 80.6, "min": 40.3, "max": 145.1, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_a": {"type": "float", "default": 15.0, "min": 7.5, "max": 27.0, "step": 1.0, "group": "Section", "label": "Section width (mm)"}, "sweep_b": {"type": "float", "default": 11.0, "min": 5.5, "max": 19.8, "step": 1.0, "group": "Section", "label": "Section depth (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329926 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 36.25, \"min\": 18.1, \"max\": 65.2, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 80.6, \"min\": 40.3, \"max\": 145.1, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_a\": {\"type\": 'float', \"default\": 15.0, \"min\": 7.5, \"max\": 27.0, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section width (mm)'},\n    \"sweep_b\": {\"type\": 'float', \"default\": 11.0, \"min\": 5.5, \"max\": 19.8, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section depth (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.2034), (p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.207), (p[\"path_w\"] * 0.0, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').rect(p[\"sweep_a\"], p[\"sweep_b\"]).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462ca107_1363", "family": "tapped", "tier": 1, "seed": 1177329927, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "ecd58d9170839106", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 18000.0, "surface_area": 5090.0, "principal_moments": [2170000.0, 2170000.0, 3240000.0], "n_faces": 128, "n_edges": 356, "n_vertices": 230}, "dimensions": {"lines": ["One M12x1.75 tapped hole in a cylinder."], "text": "One M12x1.75 tapped hole in a cylinder."}, "params": {"major_d": {"type": "float", "default": 12.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 1.75, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 19.2, "min": 14.4, "max": 34.6, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "body_d": {"type": "float", "default": 36.3, "min": 21.6, "max": 58.1, "step": 1.0, "group": "Body", "label": "Outer \u00d8 (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329927 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 12.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.75, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 19.2, \"min\": 14.4, \"max\": 34.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"body_d\": {\"type\": 'float', \"default\": 36.3, \"min\": 21.6, \"max\": 58.1, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer \u00d8 (mm)'},\n}\n\n\ndef build(p):\n\n    _W = _D = p[\"body_d\"]\n    _H = p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Cylinder(radius=_W / 2, height=_H)\n    _locs = [(0.0, 0.0)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462ca108_1364", "family": "flanged", "tier": 2, "seed": 1177329928, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "2382ceaf9ad7fa8d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 37400.0, "surface_area": 10900.0, "principal_moments": [9160000.0, 9160000.0, 11100000.0], "n_faces": 13, "n_edges": 42, "n_vertices": 28}, "dimensions": {"lines": ["Revolved body, \u00d834.65 mm \u00d7 31.9 mm tall with \u00d811.4 mm bore, \u00d861 mm \u00d7 5.5 mm flange.", "Four \u00d83.2 mm holes on a \u00d836.6 mm bolt circle."], "text": "Revolved body, \u00d834.65 mm \u00d7 31.9 mm tall with \u00d811.4 mm bore, \u00d861 mm \u00d7 5.5 mm flange. Four \u00d83.2 mm holes on a \u00d836.6 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 34.65, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 31.9, "min": 9.6, "max": 79.8, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 11.4, "min": 2.0, "max": 24.3, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 61.0, "min": 45.0, "max": 103.9, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 5.5, "min": 1.6, "max": 12.8, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 18.3, "min": 12.2, "max": 27.4, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 4, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329928 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 34.65, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 31.9, \"min\": 9.6, \"max\": 79.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 11.4, \"min\": 2.0, \"max\": 24.3, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 61.0, \"min\": 45.0, \"max\": 103.9, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 5.5, \"min\": 1.6, \"max\": 12.8, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 18.3, \"min\": 12.2, \"max\": 27.4, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 4, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462ca109_1365", "family": "flanged", "tier": 1, "seed": 1177329929, "symmetry": "none", "op_count": 2, "ir_hash": "a80a15324994d25e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 26600.0, "surface_area": 10900.0, "principal_moments": [6710000.0, 6710000.0, 10100000.0], "n_faces": 10, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["Revolved body, \u00d829.42 mm \u00d7 26.6 mm tall with \u00d813.3 mm bore, \u00d866.4 mm \u00d7 4.6 mm flange.", "Four \u00d86.4 mm holes on a \u00d839.8 mm bolt circle."], "text": "Revolved body, \u00d829.42 mm \u00d7 26.6 mm tall with \u00d813.3 mm bore, \u00d866.4 mm \u00d7 4.6 mm flange. Four \u00d86.4 mm holes on a \u00d839.8 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 29.42, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 26.6, "min": 8.0, "max": 66.5, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 13.3, "min": 2.0, "max": 20.6, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 66.4, "min": 38.2, "max": 88.3, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 4.6, "min": 1.4, "max": 10.6, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 19.9, "min": 13.3, "max": 29.9, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 4, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329929 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 29.42, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 26.6, \"min\": 8.0, \"max\": 66.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 13.3, \"min\": 2.0, \"max\": 20.6, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 66.4, \"min\": 38.2, \"max\": 88.3, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 4.6, \"min\": 1.4, \"max\": 10.6, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 19.9, \"min\": 13.3, \"max\": 29.9, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 4, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca10a_1366", "family": "bracket", "tier": 1, "seed": 1177329930, "symmetry": "none", "op_count": 1, "ir_hash": "8b7cb6de45e60856", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 24700.0, "surface_area": 18100.0, "principal_moments": [8960000.0, 48399999.99999999, 50699999.99999999], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Z-bracket: base leg 75 mm, vertical leg 87.5 mm, top leg 50.9 mm, 40 mm wide, 3 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."], "text": "Z-bracket: base leg 75 mm, vertical leg 87.5 mm, top leg 50.9 mm, 40 mm wide, 3 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 75, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 87.5, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 40, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 3.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 50.9, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329930 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 75, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 87.5, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 40, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 50.9, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462ca10c_1368", "family": "lofted", "tier": 1, "seed": 1177329932, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "342288edae626205", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 144000.0, "surface_area": 21300.0, "principal_moments": [67200000.0, 88200000.0, 88200000.0], "n_faces": 9, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["Lofted body through 2 sections: \u00d868.99 mm circular section \u2192 6-sided polygon section, 42.4 mm across corners.", "One \u00d820.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 2 sections: \u00d868.99 mm circular section \u2192 6-sided polygon section, 42.4 mm across corners. One \u00d820.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 68.99, "min": 34.5, "max": 110.4, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 42.4, "min": 17.0, "max": 82.8, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 71.6, "min": 28.6, "max": 143.2, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_bore_d": {"type": "float", "default": 20.3, "min": 2.0, "max": 33.9, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329932 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 68.99, \"min\": 34.5, \"max\": 110.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 42.4, \"min\": 17.0, \"max\": 82.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 71.6, \"min\": 28.6, \"max\": 143.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 20.3, \"min\": 2.0, \"max\": 33.9, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .circle(p[\"loft_base\"] / 2)\n        .workplane(offset=p[\"loft_h\"])\n        .polygon(6, p[\"loft_top\"] * 0.5 * 2)\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca10d_1369", "family": "block", "tier": 2, "seed": 1177329933, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "1f9c8104f0eb8ca9", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 11500.0, "surface_area": 4490.0, "principal_moments": [971000.0, 1140000.0, 1540000.0], "n_faces": 20, "n_edges": 54, "n_vertices": 32}, "dimensions": {"lines": ["Rectangular body, 30 \u00d7 12.8 \u00d7 18.4 mm (W\u00d7D\u00d7H).", "Four \u00d82.5 mm holes at the corners, 21 \u00d7 8.96 mm spacing.", "Boss \u00d824.5 mm \u00d7 11.1 mm tall on top face with a \u00d84.3 mm bore."], "text": "Rectangular body, 30 \u00d7 12.8 \u00d7 18.4 mm (W\u00d7D\u00d7H). Four \u00d82.5 mm holes at the corners, 21 \u00d7 8.96 mm spacing. Boss \u00d824.5 mm \u00d7 11.1 mm tall on top face with a \u00d84.3 mm bore."}, "params": {"block_w": {"type": "float", "default": 30, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 12.8, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 18.4, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 2.5, "min": 2.0, "max": 2.9, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "boss_d": {"type": "float", "default": 24.5, "min": 12.2, "max": 49.0, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 11.1, "min": 4.4, "max": 27.8, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}, "boss_bore_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 17.1, "step": 0.1, "group": "Boss", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329933 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 30, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 12.8, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 18.4, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 2.5, \"min\": 2.0, \"max\": 2.9, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"boss_d\": {\"type\": 'float', \"default\": 24.5, \"min\": 12.2, \"max\": 49.0, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 11.1, \"min\": 4.4, \"max\": 27.8, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n    \"boss_bore_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 17.1, \"step\": 0.1, \"group\": 'Boss', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .hole(p[\"boss_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462ca10e_1370", "family": "enclosure", "tier": 3, "seed": 1177329934, "symmetry": "none", "op_count": 3, "ir_hash": "7ef184a77928576f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 7490.0, "surface_area": 5220.0, "principal_moments": [551000.0, 1440000.0, 1550000.0], "n_faces": 19, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 40 \u00d7 19.3 \u00d7 17.8 mm (W\u00d7D\u00d7H).", "Hollowed to 3.5 mm wall thickness, open at top face.", "Four \u00d83.2 mm holes at the corners, 28 \u00d7 13.51 mm spacing."], "text": "Rectangular body, 40 \u00d7 19.3 \u00d7 17.8 mm (W\u00d7D\u00d7H). Hollowed to 3.5 mm wall thickness, open at top face. Four \u00d83.2 mm holes at the corners, 28 \u00d7 13.51 mm spacing."}, "params": {"enc_w": {"type": "float", "default": 40, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 19.3, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 17.8, "min": 7.1, "max": 35.6, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 3.5, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 4.3, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329934 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 40, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 19.3, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 17.8, \"min\": 7.1, \"max\": 35.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 3.5, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 4.3, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"enc_w\"] * 0.7, p[\"enc_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462ca110_1372", "family": "flanged", "tier": 1, "seed": 1177329936, "symmetry": "radial", "op_count": 2, "ir_hash": "c30a7787a452d04a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 266000.0, "surface_area": 40000.0, "principal_moments": [196000000.0, 282000000.0, 282000000.0], "n_faces": 17, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Revolved body, \u00d861.91 mm \u00d7 84 mm tall with \u00d820.4 mm bore, \u00d8103.7 mm \u00d7 7.9 mm flange.", "Six \u00d83.2 mm holes on a \u00d862.2 mm bolt circle."], "text": "Revolved body, \u00d861.91 mm \u00d7 84 mm tall with \u00d820.4 mm bore, \u00d8103.7 mm \u00d7 7.9 mm flange. Six \u00d83.2 mm holes on a \u00d862.2 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 61.91, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 84.0, "min": 25.2, "max": 210.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 20.4, "min": 2.0, "max": 43.3, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 103.7, "min": 80.5, "max": 185.7, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 7.9, "min": 2.4, "max": 33.6, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 31.1, "min": 20.7, "max": 46.7, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 6, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329936 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 61.91, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 84.0, \"min\": 25.2, \"max\": 210.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 20.4, \"min\": 2.0, \"max\": 43.3, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 103.7, \"min\": 80.5, \"max\": 185.7, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 7.9, \"min\": 2.4, \"max\": 33.6, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 31.1, \"min\": 20.7, \"max\": 46.7, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca111_1373", "family": "compound", "tier": 1, "seed": 1177329937, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "a818fbbd19de0e8e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 230000.0, "surface_area": 25100.0, "principal_moments": [60999999.99999999, 453000000.0, 453000000.0], "n_faces": 5, "n_edges": 6, "n_vertices": 4}, "dimensions": {"lines": ["\u00d850 mm circular section, extruded 87.9 mm thick.", "\u00d831.4 mm circular section attachment, 74.5 mm long, from top face."], "text": "\u00d850 mm circular section, extruded 87.9 mm thick. \u00d831.4 mm circular section attachment, 74.5 mm long, from top face."}, "params": {"shaft_d": {"type": "float", "default": 50.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Shaft diameter (mm)"}, "shaft_len": {"type": "float", "default": 87.9, "min": 35.2, "max": 175.8, "step": 1.0, "group": "Body", "label": "Shaft length (mm)"}, "step_d": {"type": "float", "default": 31.4, "min": 15.7, "max": 45.0, "step": 1.0, "group": "Step", "label": "Step diameter (mm)"}, "step_len": {"type": "float", "default": 74.5, "min": 22.3, "max": 186.2, "step": 1.0, "group": "Step", "label": "Step length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329937 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"shaft_d\": {\"type\": 'float', \"default\": 50.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft diameter (mm)'},\n    \"shaft_len\": {\"type\": 'float', \"default\": 87.9, \"min\": 35.2, \"max\": 175.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft length (mm)'},\n    \"step_d\": {\"type\": 'float', \"default\": 31.4, \"min\": 15.7, \"max\": 45.0, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step diameter (mm)'},\n    \"step_len\": {\"type\": 'float', \"default\": 74.5, \"min\": 22.3, \"max\": 186.2, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').circle(p[\"shaft_d\"] / 2).extrude(p[\"shaft_len\"]))\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"step_d\"] / 2).extrude(p[\"step_len\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462ca112_1374", "family": "lofted", "tier": 0, "seed": 1177329938, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "22afb3e50f61a948", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 99500.0, "surface_area": 12500.0, "principal_moments": [25099999.999999996, 48499999.99999999, 48499999.99999999], "n_faces": 7, "n_edges": 15, "n_vertices": 10}, "dimensions": {"lines": ["Lofted body through 2 sections: \u00d853.13 mm circular section \u2192 28.4 \u00d7 28.4 mm rectangular section."], "text": "Lofted body through 2 sections: \u00d853.13 mm circular section \u2192 28.4 \u00d7 28.4 mm rectangular section."}, "params": {"loft_base": {"type": "float", "default": 53.13, "min": 26.6, "max": 85.0, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 28.4, "min": 11.4, "max": 63.8, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 68.1, "min": 27.2, "max": 136.2, "step": 1.0, "group": "Body", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329938 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 53.13, \"min\": 26.6, \"max\": 85.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 28.4, \"min\": 11.4, \"max\": 63.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 68.1, \"min\": 27.2, \"max\": 136.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .circle(p[\"loft_base\"] / 2)\n        .workplane(offset=p[\"loft_h\"])\n        .rect(p[\"loft_top\"], p[\"loft_top\"])\n        .loft(combine=True)\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca113_1375", "family": "plate", "tier": 2, "seed": 1177329939, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "9ae1c2b71d106dea", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 6200.0, "surface_area": 2940.0, "principal_moments": [256000.0, 817000.0, 1010000.0], "n_faces": 14, "n_edges": 44, "n_vertices": 28}, "dimensions": {"lines": ["Rectangular body, 40 \u00d7 21.4 \u00d7 8 mm (W\u00d7D\u00d7H).", "Four \u00d84.3 mm countersunk holes (82\u00b0) at the corners, 28 \u00d7 14.98 mm spacing."], "text": "Rectangular body, 40 \u00d7 21.4 \u00d7 8 mm (W\u00d7D\u00d7H). Four \u00d84.3 mm countersunk holes (82\u00b0) at the corners, 28 \u00d7 14.98 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 40, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 21.4, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 4.8, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "cs_angle": {"type": "float", "default": 82.0, "min": 60.0, "max": 120.0, "step": 15.0, "group": "Holes", "label": "Countersink angle (\u00b0)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329939 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 40, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 21.4, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 4.8, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"cs_angle\": {\"type\": 'float', \"default\": 82.0, \"min\": 60.0, \"max\": 120.0, \"step\": 15.0, \"group\": 'Holes', \"label\": 'Countersink angle (\u00b0)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().cskHole(p[\"hole_d\"], p[\"hole_d\"] * 2, p[\"cs_angle\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462ca114_1376", "family": "flanged", "tier": 1, "seed": 1177329940, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "5b8780761bdabd6a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 77200.0, "surface_area": 23800.0, "principal_moments": [39600000.0, 39600000.0, 53399999.99999999], "n_faces": 12, "n_edges": 27, "n_vertices": 18}, "dimensions": {"lines": ["Revolved body, \u00d843.14 mm \u00d7 40.8 mm tall with \u00d817.2 mm bore, \u00d899.6 mm \u00d7 4.3 mm flange.", "Six \u00d83.2 mm holes on a \u00d859.8 mm bolt circle."], "text": "Revolved body, \u00d843.14 mm \u00d7 40.8 mm tall with \u00d817.2 mm bore, \u00d899.6 mm \u00d7 4.3 mm flange. Six \u00d83.2 mm holes on a \u00d859.8 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 43.14, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 40.8, "min": 12.2, "max": 102.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 17.2, "min": 2.0, "max": 30.2, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 99.6, "min": 56.1, "max": 129.4, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 4.3, "min": 1.3, "max": 16.3, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 29.9, "min": 19.9, "max": 44.8, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 6, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329940 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 43.14, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 40.8, \"min\": 12.2, \"max\": 102.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 17.2, \"min\": 2.0, \"max\": 30.2, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 99.6, \"min\": 56.1, \"max\": 129.4, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 4.3, \"min\": 1.3, \"max\": 16.3, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 29.9, \"min\": 19.9, \"max\": 44.8, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462ca115_1377", "family": "threaded", "tier": 1, "seed": 1177329941, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "a1953b3c40ed369f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 1780.0, "surface_area": 1650.0, "principal_moments": [11900.0, 279000.0, 279000.0], "n_faces": 350, "n_edges": 900, "n_vertices": 552}, "dimensions": {"lines": ["M8x1.25 external thread, 43.1 mm long."], "text": "M8x1.25 external thread, 43.1 mm long."}, "params": {"major_d": {"type": "float", "default": 8.0, "min": 4.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Major diameter (mm)"}, "pitch": {"type": "float", "default": 1.25, "min": 0.62, "max": 2.5, "step": 0.05, "group": "Thread", "label": "Pitch (mm)"}, "thread_len": {"type": "float", "default": 43.1, "min": 17.2, "max": 86.2, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329941 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 8.0, \"min\": 4.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Major diameter (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.25, \"min\": 0.62, \"max\": 2.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Pitch (mm)'},\n    \"thread_len\": {\"type\": 'float', \"default\": 43.1, \"min\": 17.2, \"max\": 86.2, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.IsoThread(major_diameter=p[\"major_d\"], pitch=p[\"pitch\"], length=p[\"thread_len\"], external=True, end_finishes=(\"fade\", \"fade\"))\n    _r = _thr.min_radius if hasattr(_thr, 'min_radius') else _thr.root_radius\n    _shank = _bd.Cylinder(radius=_r, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = _shank + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca116_1378", "family": "plate", "tier": 3, "seed": 1177329942, "symmetry": "none", "op_count": 4, "ir_hash": "73710b37e9f4ee47", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 51800.0, "surface_area": 14700.0, "principal_moments": [11000000.0, 45599999.99999999, 55499999.99999999], "n_faces": 44, "n_edges": 123, "n_vertices": 82}, "dimensions": {"lines": ["Rectangular body, 104.68 \u00d7 50.4 \u00d7 10 mm (W\u00d7D\u00d7H).", "Four 7.7 mm square holes at the corners, 73.276 \u00d7 35.28 mm spacing.", "Fillet radius 1.015 mm on vertical edges.", "Boss \u00d815.8 mm \u00d7 7.2 mm tall on top face."], "text": "Rectangular body, 104.68 \u00d7 50.4 \u00d7 10 mm (W\u00d7D\u00d7H). Four 7.7 mm square holes at the corners, 73.276 \u00d7 35.28 mm spacing. Fillet radius 1.015 mm on vertical edges. Boss \u00d815.8 mm \u00d7 7.2 mm tall on top face."}, "params": {"plate_w": {"type": "float", "default": 104.68, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 50.4, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 7.7, "min": 2.0, "max": 14.7, "step": 0.5, "group": "Holes", "label": "Square hole size (mm)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}, "boss_d": {"type": "float", "default": 15.8, "min": 7.9, "max": 31.6, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 7.2, "min": 2.9, "max": 18.0, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329942 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 104.68, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 50.4, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 7.7, \"min\": 2.0, \"max\": 14.7, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Square hole size (mm)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n    \"boss_d\": {\"type\": 'float', \"default\": 15.8, \"min\": 7.9, \"max\": 31.6, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 7.2, \"min\": 2.9, \"max\": 18.0, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().rect(p[\"hole_d\"], p[\"hole_d\"]).cutThruAll()\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"plate_w\"], p[\"plate_d\"]) * 0.02014474882546829)\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca117_1379", "family": "block", "tier": 2, "seed": 1177329943, "symmetry": "radial", "op_count": 3, "ir_hash": "836ae33b17e8342d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 239000.0, "surface_area": 39000.0, "principal_moments": [143000000.0, 183000000.0, 221000000.0], "n_faces": 21, "n_edges": 54, "n_vertices": 36}, "dimensions": {"lines": ["Rectangular body, 78.57 \u00d7 66 \u00d7 50.9 mm (W\u00d7D\u00d7H).", "Twelve \u00d86.4 mm holes on a \u00d847.2 mm bolt circle.", "Boss \u00d823.6 mm \u00d7 5.1 mm tall on top face with a \u00d813 mm bore."], "text": "Rectangular body, 78.57 \u00d7 66 \u00d7 50.9 mm (W\u00d7D\u00d7H). Twelve \u00d86.4 mm holes on a \u00d847.2 mm bolt circle. Boss \u00d823.6 mm \u00d7 5.1 mm tall on top face with a \u00d813 mm bore."}, "params": {"block_w": {"type": "float", "default": 78.57, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 66.0, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 50.9, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "bolt_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 23.6, "min": 15.7, "max": 35.4, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 12, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}, "boss_d": {"type": "float", "default": 23.6, "min": 11.8, "max": 47.2, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 5.1, "min": 2.0, "max": 12.8, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}, "boss_bore_d": {"type": "float", "default": 13.0, "min": 2.0, "max": 16.5, "step": 0.1, "group": "Boss", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329943 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 78.57, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 66.0, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 50.9, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 23.6, \"min\": 15.7, \"max\": 35.4, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 12, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n    \"boss_d\": {\"type\": 'float', \"default\": 23.6, \"min\": 11.8, \"max\": 47.2, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 5.1, \"min\": 2.0, \"max\": 12.8, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n    \"boss_bore_d\": {\"type\": 'float', \"default\": 13.0, \"min\": 2.0, \"max\": 16.5, \"step\": 0.1, \"group\": 'Boss', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .hole(p[\"boss_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462ca118_1380", "family": "profiled", "tier": 2, "seed": 1177329944, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "93ad613144fba298", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 233000.0, "surface_area": 51400.0, "principal_moments": [61799999.99999999, 910000000.0, 910000000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d842.04 mm \u00d7 252 mm tall."], "text": "Revolved body, \u00d842.04 mm \u00d7 252 mm tall."}, "params": {"outer_d": {"type": "float", "default": 42.04, "min": 21.0, "max": 84.1, "step": 1.0, "group": "Profile", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 252.0, "min": 75.6, "max": 756.0, "step": 5.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329944 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 42.04, \"min\": 21.0, \"max\": 84.1, \"step\": 1.0, \"group\": 'Profile', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 252.0, \"min\": 75.6, \"max\": 756.0, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca119_1381", "family": "block", "tier": 2, "seed": 1177329945, "symmetry": "none", "op_count": 3, "ir_hash": "f100b881bce2ba35", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 198000.0, "surface_area": 37300.0, "principal_moments": [147000000.0, 156000000.0, 238000000.0], "n_faces": 27, "n_edges": 84, "n_vertices": 56}, "dimensions": {"lines": ["Rectangular body, 80 \u00d7 78.3 \u00d7 44.9 mm (W\u00d7D\u00d7H).", "Four 10.1 mm square holes at the corners, 56 \u00d7 54.81 mm spacing.", "Pocket 48.1 \u00d7 53 mm, 25.5 mm deep, in top face."], "text": "Rectangular body, 80 \u00d7 78.3 \u00d7 44.9 mm (W\u00d7D\u00d7H). Four 10.1 mm square holes at the corners, 56 \u00d7 54.81 mm spacing. Pocket 48.1 \u00d7 53 mm, 25.5 mm deep, in top face."}, "params": {"block_w": {"type": "float", "default": 80, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 78.3, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 44.9, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 10.1, "min": 2.0, "max": 16.9, "step": 0.5, "group": "Holes", "label": "Square hole size (mm)"}, "pocket_w": {"type": "float", "default": 48.1, "min": 24.1, "max": 64.0, "step": 1.0, "group": "Pocket", "label": "Pocket width (mm)"}, "pocket_d": {"type": "float", "default": 53.0, "min": 26.5, "max": 62.6, "step": 1.0, "group": "Pocket", "label": "Pocket depth (mm)"}, "pocket_h": {"type": "float", "default": 25.5, "min": 10.2, "max": 38.2, "step": 0.5, "group": "Pocket", "label": "Pocket height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329945 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 80, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 78.3, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 44.9, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 10.1, \"min\": 2.0, \"max\": 16.9, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Square hole size (mm)'},\n    \"pocket_w\": {\"type\": 'float', \"default\": 48.1, \"min\": 24.1, \"max\": 64.0, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket width (mm)'},\n    \"pocket_d\": {\"type\": 'float', \"default\": 53.0, \"min\": 26.5, \"max\": 62.6, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket depth (mm)'},\n    \"pocket_h\": {\"type\": 'float', \"default\": 25.5, \"min\": 10.2, \"max\": 38.2, \"step\": 0.5, \"group\": 'Pocket', \"label\": 'Pocket height (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().rect(p[\"hole_d\"], p[\"hole_d\"]).cutThruAll()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"pocket_w\"], p[\"pocket_d\"])\n        .cutBlind(-p[\"pocket_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462ca11a_1382", "family": "swept", "tier": 1, "seed": 1177329946, "symmetry": "none", "op_count": 1, "ir_hash": "b8774347b125f443", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 27400.0, "surface_area": 7490.0, "principal_moments": [2870000.0, 15799999.999999998, 17900000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["19.5 \u00d7 13.5 mm rectangular section swept along a curved path, ~70 mm span."], "text": "19.5 \u00d7 13.5 mm rectangular section swept along a curved path, ~70 mm span."}, "params": {"path_w": {"type": "float", "default": 70, "min": 35.0, "max": 126.0, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 58.53, "min": 29.3, "max": 105.4, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_a": {"type": "float", "default": 19.5, "min": 9.8, "max": 35.1, "step": 1.0, "group": "Section", "label": "Section width (mm)"}, "sweep_b": {"type": "float", "default": 13.5, "min": 6.8, "max": 24.3, "step": 1.0, "group": "Section", "label": "Section depth (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329946 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 70, \"min\": 35.0, \"max\": 126.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 58.53, \"min\": 29.3, \"max\": 105.4, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_a\": {\"type\": 'float', \"default\": 19.5, \"min\": 9.8, \"max\": 35.1, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section width (mm)'},\n    \"sweep_b\": {\"type\": 'float', \"default\": 13.5, \"min\": 6.8, \"max\": 24.3, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section depth (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.335, p[\"path_h\"] * 0.3753), (p[\"path_w\"] * 0.7641, p[\"path_h\"] * 0.4696), (p[\"path_w\"] * 0.5748, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').rect(p[\"sweep_a\"], p[\"sweep_b\"]).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462ca11b_1383", "family": "profiled", "tier": 0, "seed": 1177329947, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "96fb46eec522f158", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 18200.0, "surface_area": 4970.0, "principal_moments": [700000.0, 9220000.0, 9220000.0], "n_faces": 7, "n_edges": 15, "n_vertices": 10}, "dimensions": {"lines": ["5-sided polygon section, 20 mm across corners, extruded 76.5 mm thick."], "text": "5-sided polygon section, 20 mm across corners, extruded 76.5 mm thick."}, "params": {"circ_r": {"type": "float", "default": 10.0, "min": 5.0, "max": 20.0, "step": 1.0, "group": "Profile", "label": "Circumscribed radius (mm)"}, "n_sides": {"type": "int", "default": 5, "min": 3, "max": 8, "step": 1, "group": "Profile", "label": "Sides"}, "length": {"type": "float", "default": 76.5, "min": 22.9, "max": 229.5, "step": 5.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329947 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"circ_r\": {\"type\": 'float', \"default\": 10.0, \"min\": 5.0, \"max\": 20.0, \"step\": 1.0, \"group\": 'Profile', \"label\": 'Circumscribed radius (mm)'},\n    \"n_sides\": {\"type\": 'int', \"default\": 5, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Profile', \"label\": 'Sides'},\n    \"length\": {\"type\": 'float', \"default\": 76.5, \"min\": 22.9, \"max\": 229.5, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').polygon(p[\"n_sides\"], p[\"circ_r\"] * 2).extrude(p[\"length\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca11c_1384", "family": "revolved", "tier": 0, "seed": 1177329948, "symmetry": "radial", "op_count": 1, "ir_hash": "b13f4f37ed3cea10", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 535.0, "surface_area": 709.0, "principal_moments": [4230.0, 14100.0, 14100.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d87.26 mm \u00d7 19.4 mm tall."], "text": "Revolved body, \u00d87.26 mm \u00d7 19.4 mm tall."}, "params": {"outer_d": {"type": "float", "default": 7.26, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 19.4, "min": 5.8, "max": 58.2, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329948 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 7.26, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 19.4, \"min\": 5.8, \"max\": 58.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca11d_1385", "family": "bracket", "tier": 1, "seed": 1177329949, "symmetry": "none", "op_count": 1, "ir_hash": "b4907e3b17c2e54e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 35700.0, "surface_area": 12700.0, "principal_moments": [16399999.999999998, 29799999.999999996, 42300000.0], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["C-channel bracket: base leg 71.19 mm, vertical leg 63.7 mm, 25 mm wide, 8 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."], "text": "C-channel bracket: base leg 71.19 mm, vertical leg 63.7 mm, 25 mm wide, 8 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 71.19, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 63.7, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 25, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 8.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329949 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 71.19, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 63.7, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 25, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462ca11e_1386", "family": "flanged", "tier": 2, "seed": 1177329950, "symmetry": "none", "op_count": 2, "ir_hash": "e54d1daf6d634e64", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 513000.0, "surface_area": 78400.0, "principal_moments": [999000000.0, 1000000000.0, 1000000000.0], "n_faces": 14, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["Revolved body, \u00d872.35 mm \u00d7 99 mm tall with \u00d830.4 mm bore, \u00d8166.8 mm \u00d7 10.2 mm flange.", "Eight \u00d86.4 mm holes on a \u00d8100 mm bolt circle."], "text": "Revolved body, \u00d872.35 mm \u00d7 99 mm tall with \u00d830.4 mm bore, \u00d8166.8 mm \u00d7 10.2 mm flange. Eight \u00d86.4 mm holes on a \u00d8100 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 72.35, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 99.0, "min": 29.7, "max": 247.5, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 30.4, "min": 2.0, "max": 50.6, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 166.8, "min": 94.1, "max": 217.0, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 10.2, "min": 3.1, "max": 39.6, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 50.0, "min": 33.4, "max": 75.1, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 8, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329950 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 72.35, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 99.0, \"min\": 29.7, \"max\": 247.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 30.4, \"min\": 2.0, \"max\": 50.6, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 166.8, \"min\": 94.1, \"max\": 217.0, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 10.2, \"min\": 3.1, \"max\": 39.6, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 50.0, \"min\": 33.4, \"max\": 75.1, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca11f_1387", "family": "compound", "tier": 1, "seed": 1177329951, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "79cb92470c5b248f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 56300.0, "surface_area": 10000.0, "principal_moments": [12999999.999999998, 13799999.999999998, 20000000.0], "n_faces": 9, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["Rectangular body, 45 \u00d7 46.8 \u00d7 26.9 mm (W\u00d7D\u00d7H).", "\u00d86.8 mm circular section attachment, 8.7 mm long, from back face with a \u00d84 mm bore."], "text": "Rectangular body, 45 \u00d7 46.8 \u00d7 26.9 mm (W\u00d7D\u00d7H). \u00d86.8 mm circular section attachment, 8.7 mm long, from back face with a \u00d84 mm bore."}, "params": {"block_w": {"type": "float", "default": 45, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 46.8, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 26.9, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "spig_d": {"type": "float", "default": 6.8, "min": 2.7, "max": 18.8, "step": 1.0, "group": "Spigot", "label": "Spigot diameter (mm)"}, "spig_len": {"type": "float", "default": 8.7, "min": 2.0, "max": 27.2, "step": 1.0, "group": "Spigot", "label": "Spigot length (mm)"}, "spig_bore": {"type": "float", "default": 4.0, "min": 2.0, "max": 4.9, "step": 0.5, "group": "Spigot", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329951 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 45, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 46.8, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 26.9, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"spig_d\": {\"type\": 'float', \"default\": 6.8, \"min\": 2.7, \"max\": 18.8, \"step\": 1.0, \"group\": 'Spigot', \"label\": 'Spigot diameter (mm)'},\n    \"spig_len\": {\"type\": 'float', \"default\": 8.7, \"min\": 2.0, \"max\": 27.2, \"step\": 1.0, \"group\": 'Spigot', \"label\": 'Spigot length (mm)'},\n    \"spig_bore\": {\"type\": 'float', \"default\": 4.0, \"min\": 2.0, \"max\": 4.9, \"step\": 0.5, \"group\": 'Spigot', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"spig_d\"] / 2).extrude(p[\"spig_len\"])\n    )\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"spig_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca120_1388", "family": "block", "tier": 1, "seed": 1177329952, "symmetry": "none", "op_count": 2, "ir_hash": "6f84198cf99df0c3", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 45100.0, "surface_area": 12000.0, "principal_moments": [7250000.0, 15199999.999999998, 19600000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 40 \u00d7 20.1 \u00d7 60.5 mm (W\u00d7D\u00d7H).", "Four \u00d84.3 mm holes at the corners, 28 \u00d7 14.07 mm spacing."], "text": "Rectangular body, 40 \u00d7 20.1 \u00d7 60.5 mm (W\u00d7D\u00d7H). Four \u00d84.3 mm holes at the corners, 28 \u00d7 14.07 mm spacing."}, "params": {"block_w": {"type": "float", "default": 40, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 20.1, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 60.5, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 4.5, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329952 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 40, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 20.1, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 60.5, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 4.5, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca121_1389", "family": "plate", "tier": 2, "seed": 1177329953, "symmetry": "none", "op_count": 2, "ir_hash": "3b785f686608df35", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 2340.0, "surface_area": 1620.0, "principal_moments": [38900.0, 134000.0, 134000.0], "n_faces": 38, "n_edges": 108, "n_vertices": 72}, "dimensions": {"lines": ["Rectangular body, 25 \u00d7 10 \u00d7 10 mm (W\u00d7D\u00d7H).", "Eight 1.4 mm square holes in a 2\u00d74 grid, 20 \u00d7 2.7 mm pitch."], "text": "Rectangular body, 25 \u00d7 10 \u00d7 10 mm (W\u00d7D\u00d7H). Eight 1.4 mm square holes in a 2\u00d74 grid, 20 \u00d7 2.7 mm pitch."}, "params": {"plate_w": {"type": "float", "default": 25, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 10.0, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 1.4, "min": 2.0, "max": 1.6, "step": 0.1, "group": "Holes", "label": "Square hole size (mm)"}, "hole_nx": {"type": "int", "default": 2, "min": 1, "max": 4, "step": 1, "group": "Holes", "label": "Holes across"}, "hole_ny": {"type": "int", "default": 4, "min": 1, "max": 4, "step": 1, "group": "Holes", "label": "Holes deep"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329953 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 25, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 10.0, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 1.4, \"min\": 2.0, \"max\": 1.6, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Square hole size (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 2, \"min\": 1, \"max\": 4, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes across'},\n    \"hole_ny\": {\"type\": 'int', \"default\": 4, \"min\": 1, \"max\": 4, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes deep'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(20.0, 2.7, p[\"hole_nx\"], p[\"hole_ny\"])\n        .rect(p[\"hole_d\"], p[\"hole_d\"]).cutThruAll()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca122_1390", "family": "bracket", "tier": 1, "seed": 1177329954, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "8d54d62a8ccdd2da", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 18400.0, "surface_area": 10500.0, "principal_moments": [5420000.0, 8790000.0, 11000000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["L-bracket: base leg 55 mm, vertical leg 43.4 mm, 49.45 mm wide, 4 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."], "text": "L-bracket: base leg 55 mm, vertical leg 43.4 mm, 49.45 mm wide, 4 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 55, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 43.4, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 49.45, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 4.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329954 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 55, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 43.4, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 49.45, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca123_1391", "family": "revolved", "tier": 1, "seed": 1177329955, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "fa290abe690ee5bb", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 67100.0, "surface_area": 18900.0, "principal_moments": [11000000.0, 60099999.99999999, 60099999.99999999], "n_faces": 5, "n_edges": 8, "n_vertices": 5}, "dimensions": {"lines": ["Revolved body, \u00d833.07 mm \u00d7 117.3 mm tall.", "Chamfer 1.3 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d833.07 mm \u00d7 117.3 mm tall. Chamfer 1.3 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 33.07, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 117.3, "min": 35.2, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "end_chamfer": {"type": "float", "default": 1.3, "min": 0.1, "max": 3.9, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329955 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 33.07, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 117.3, \"min\": 35.2, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 1.3, \"min\": 0.1, \"max\": 3.9, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca124_1392", "family": "bracket", "tier": 2, "seed": 1177329956, "symmetry": "none", "op_count": 1, "ir_hash": "57f5f334d79eca69", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 26900.0, "surface_area": 8650.0, "principal_moments": [5720000.0, 7250000.0, 10400000.0], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["L-bracket: base leg 35 mm, vertical leg 36.3 mm, 52.09 mm wide, 8 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg; 11.3 mm corner gusset."], "text": "L-bracket: base leg 35 mm, vertical leg 36.3 mm, 52.09 mm wide, 8 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg; 11.3 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 35, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 36.3, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 52.09, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 8.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 11.3, "min": 4.0, "max": 24.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329956 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 35, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 36.3, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 52.09, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 11.3, \"min\": 4.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca125_1393", "family": "plate", "tier": 1, "seed": 1177329957, "symmetry": "none", "op_count": 2, "ir_hash": "49605c2f7c24fe77", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 11700.0, "surface_area": 7570.0, "principal_moments": [2380000.0, 3760000.0, 6110000.0], "n_faces": 38, "n_edges": 108, "n_vertices": 72}, "dimensions": {"lines": ["Rectangular body, 65.56 \u00d7 49.5 \u00d7 4 mm (W\u00d7D\u00d7H).", "Eight 6.4 mm square holes in a 2\u00d74 grid, 52.4 \u00d7 13.2 mm pitch."], "text": "Rectangular body, 65.56 \u00d7 49.5 \u00d7 4 mm (W\u00d7D\u00d7H). Eight 6.4 mm square holes in a 2\u00d74 grid, 52.4 \u00d7 13.2 mm pitch."}, "params": {"plate_w": {"type": "float", "default": 65.56, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 49.5, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 4.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 7.7, "step": 0.1, "group": "Holes", "label": "Square hole size (mm)"}, "hole_nx": {"type": "int", "default": 2, "min": 1, "max": 4, "step": 1, "group": "Holes", "label": "Holes across"}, "hole_ny": {"type": "int", "default": 4, "min": 1, "max": 4, "step": 1, "group": "Holes", "label": "Holes deep"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329957 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 65.56, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 49.5, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 4.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 7.7, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Square hole size (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 2, \"min\": 1, \"max\": 4, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes across'},\n    \"hole_ny\": {\"type\": 'int', \"default\": 4, \"min\": 1, \"max\": 4, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes deep'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(52.4, 13.2, p[\"hole_nx\"], p[\"hole_ny\"])\n        .rect(p[\"hole_d\"], p[\"hole_d\"]).cutThruAll()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca126_1394", "family": "bracket", "tier": 2, "seed": 1177329958, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "35248466ef7d7018", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 13700.0, "surface_area": 8000.0, "principal_moments": [2480000.0, 6010000.0, 6390000.0], "n_faces": 14, "n_edges": 37, "n_vertices": 24}, "dimensions": {"lines": ["L-bracket: base leg 55 mm, vertical leg 40.9 mm, 35.99 mm wide, 4 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg; 3.6 mm corner gusset."], "text": "L-bracket: base leg 55 mm, vertical leg 40.9 mm, 35.99 mm wide, 4 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg; 3.6 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 55, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 40.9, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 35.99, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 4.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 3.6, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329958 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 55, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 40.9, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 35.99, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 3.6, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca127_1395", "family": "plate", "tier": 1, "seed": 1177329959, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "7770247e02245210", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 4060.0, "surface_area": 2430.0, "principal_moments": [175000.0, 480000.0, 638000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 37.69 \u00d7 22.4 \u00d7 5 mm (W\u00d7D\u00d7H).", "Four \u00d83.2 mm holes at the corners, 26.383 \u00d7 15.68 mm spacing."], "text": "Rectangular body, 37.69 \u00d7 22.4 \u00d7 5 mm (W\u00d7D\u00d7H). Four \u00d83.2 mm holes at the corners, 26.383 \u00d7 15.68 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 37.69, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 22.4, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 5.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 5.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329959 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 37.69, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 22.4, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 5.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 5.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca128_1396", "family": "revolved", "tier": 2, "seed": 1177329960, "symmetry": "none", "op_count": 1, "ir_hash": "f545c0612e9fe9d1", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 257000.0, "surface_area": 44500.0, "principal_moments": [229000000.0, 229000000.0, 322000000.0], "n_faces": 5, "n_edges": 7, "n_vertices": 5}, "dimensions": {"lines": ["Revolved body, \u00d877.79 mm \u00d7 64.6 mm tall with \u00d8121.6 mm \u00d7 7.6 mm flange."], "text": "Revolved body, \u00d877.79 mm \u00d7 64.6 mm tall with \u00d8121.6 mm \u00d7 7.6 mm flange."}, "params": {"outer_d": {"type": "float", "default": 77.79, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 64.6, "min": 19.4, "max": 193.8, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "flange_d": {"type": "float", "default": 121.6, "min": 93.3, "max": 233.4, "step": 1.0, "group": "Body", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 7.6, "min": 2.3, "max": 32.3, "step": 0.5, "group": "Body", "label": "Flange height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329960 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 77.79, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 64.6, \"min\": 19.4, \"max\": 193.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 121.6, \"min\": 93.3, \"max\": 233.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 7.6, \"min\": 2.3, \"max\": 32.3, \"step\": 0.5, \"group\": 'Body', \"label\": 'Flange height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca129_1397", "family": "plate", "tier": 0, "seed": 1177329961, "symmetry": "radial", "op_count": 1, "ir_hash": "bff210f794971d5e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 42200.0, "surface_area": 9890.0, "principal_moments": [12499999.999999998, 13299999.999999998, 24799999.999999996], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 60.27 \u00d7 58.4 \u00d7 12 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 60.27 \u00d7 58.4 \u00d7 12 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 60.27, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 58.4, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329961 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 60.27, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 58.4, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462ca12a_1398", "family": "ribbed", "tier": 1, "seed": 1177329962, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "93adf7c706ee7ff7", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 16200.0, "surface_area": 10200.0, "principal_moments": [3150000.0, 6400000.0, 8180000.0], "n_faces": 30, "n_edges": 72, "n_vertices": 44}, "dimensions": {"lines": ["Rectangular body, 59.64 \u00d7 30.9 \u00d7 3 mm (W\u00d7D\u00d7H).", "Three ribs, 4.2 mm thick, 17.8 mm tall."], "text": "Rectangular body, 59.64 \u00d7 30.9 \u00d7 3 mm (W\u00d7D\u00d7H). Three ribs, 4.2 mm thick, 17.8 mm tall."}, "params": {"base_w": {"type": "float", "default": 59.64, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 30.9, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 3.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 3, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 17.8, "min": 7.1, "max": 35.6, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 4.2, "min": 1.0, "max": 10.5, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329962 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 59.64, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 30.9, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 3, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 17.8, \"min\": 7.1, \"max\": 35.6, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 4.2, \"min\": 1.0, \"max\": 10.5, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca12b_1399", "family": "block", "tier": 2, "seed": 1177329963, "symmetry": "mirror_xy", "op_count": 3, "ir_hash": "c42659adfab55844", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 201000.0, "surface_area": 30700.0, "principal_moments": [95699999.99999999, 182000000.0, 249000000.0], "n_faces": 42, "n_edges": 120, "n_vertices": 80}, "dimensions": {"lines": ["Rectangular body, 70.62 \u00d7 29.8 \u00d7 100 mm (W\u00d7D\u00d7H).", "Four 5.2 mm square holes at the corners, 49.434 \u00d7 20.86 mm spacing.", "Fillet radius 2.048 mm on vertical edges."], "text": "Rectangular body, 70.62 \u00d7 29.8 \u00d7 100 mm (W\u00d7D\u00d7H). Four 5.2 mm square holes at the corners, 49.434 \u00d7 20.86 mm spacing. Fillet radius 2.048 mm on vertical edges."}, "params": {"block_w": {"type": "float", "default": 70.62, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 29.8, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 100.0, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 5.2, "min": 2.0, "max": 8.7, "step": 0.5, "group": "Holes", "label": "Square hole size (mm)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329963 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 70.62, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 29.8, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 100.0, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.2, \"min\": 2.0, \"max\": 8.7, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Square hole size (mm)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().rect(p[\"hole_d\"], p[\"hole_d\"]).cutThruAll()\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"block_w\"], p[\"block_d\"]) * 0.06873529483901031)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca12c_1400", "family": "plate", "tier": 1, "seed": 1177329964, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "8c1e3b7071042e52", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 27700.0, "surface_area": 11400.0, "principal_moments": [9360000.0, 12699999.999999998, 21900000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 74.43 \u00d7 63.8 \u00d7 6 mm (W\u00d7D\u00d7H).", "Four \u00d86.4 mm holes at the corners, 52.101 \u00d7 44.66 mm spacing."], "text": "Rectangular body, 74.43 \u00d7 63.8 \u00d7 6 mm (W\u00d7D\u00d7H). Four \u00d86.4 mm holes at the corners, 52.101 \u00d7 44.66 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 74.43, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 63.8, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 6.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329964 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 74.43, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 63.8, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462ca12d_1401", "family": "tapped", "tier": 1, "seed": 1177329965, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "22079cd72ec24a09", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 30700.0, "surface_area": 11000.0, "principal_moments": [3940000.0, 8580000.0, 10400000.0], "n_faces": 550, "n_edges": 1548, "n_vertices": 1000}, "dimensions": {"lines": ["Four M12x1.75 tapped holes in a plate."], "text": "Four M12x1.75 tapped holes in a plate."}, "params": {"major_d": {"type": "float", "default": 12.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 1.75, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 20.4, "min": 14.4, "max": 36.7, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "plate_w": {"type": "float", "default": 55, "min": 33.0, "max": 88.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 34.3, "min": 20.6, "max": 54.9, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329965 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 12.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.75, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 20.4, \"min\": 14.4, \"max\": 36.7, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"plate_w\": {\"type\": 'float', \"default\": 55, \"min\": 33.0, \"max\": 88.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 34.3, \"min\": 20.6, \"max\": 54.9, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n}\n\n\ndef build(p):\n\n    _W, _D, _H = p[\"plate_w\"], p[\"plate_d\"], p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Box(_W, _D, _H)\n    _sx, _sy = p[\"plate_w\"] * 0.6, p[\"plate_d\"] * 0.6\n    _locs = [(_xx, _yy) for _xx in (-_sx / 2, _sx / 2) for _yy in (-_sy / 2, _sy / 2)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca12e_1402", "family": "compound", "tier": 1, "seed": 1177329966, "symmetry": "none", "op_count": 3, "ir_hash": "47e358cffd028919", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 254000.0, "surface_area": 46800.0, "principal_moments": [322000000.0, 481000000.0, 489000000.0], "n_faces": 13, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Rectangular body, 105 \u00d7 102.3 \u00d7 16 mm (W\u00d7D\u00d7H).", "\u00d835 mm circular section attachment, 111.5 mm long, from top face with a \u00d815.6 mm bore.", "Four \u00d83.2 mm holes at the corners, 73.5 \u00d7 71.61 mm spacing."], "text": "Rectangular body, 105 \u00d7 102.3 \u00d7 16 mm (W\u00d7D\u00d7H). \u00d835 mm circular section attachment, 111.5 mm long, from top face with a \u00d815.6 mm bore. Four \u00d83.2 mm holes at the corners, 73.5 \u00d7 71.61 mm spacing."}, "params": {"base_w": {"type": "float", "default": 105, "min": 30.0, "max": 160.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 102.3, "min": 25.0, "max": 160.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_h": {"type": "float", "default": 16.0, "min": 3.0, "max": 30.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "col_d": {"type": "float", "default": 35.0, "min": 14.0, "max": 51.1, "step": 1.0, "group": "Column", "label": "Column diameter (mm)"}, "col_h": {"type": "float", "default": 111.5, "min": 33.4, "max": 334.5, "step": 1.0, "group": "Column", "label": "Column height (mm)"}, "col_bore": {"type": "float", "default": 15.6, "min": 2.0, "max": 25.2, "step": 0.5, "group": "Column", "label": "Column bore diameter (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329966 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 105, \"min\": 30.0, \"max\": 160.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 102.3, \"min\": 25.0, \"max\": 160.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_h\": {\"type\": 'float', \"default\": 16.0, \"min\": 3.0, \"max\": 30.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"col_d\": {\"type\": 'float', \"default\": 35.0, \"min\": 14.0, \"max\": 51.1, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column diameter (mm)'},\n    \"col_h\": {\"type\": 'float', \"default\": 111.5, \"min\": 33.4, \"max\": 334.5, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column height (mm)'},\n    \"col_bore\": {\"type\": 'float', \"default\": 15.6, \"min\": 2.0, \"max\": 25.2, \"step\": 0.5, \"group\": 'Column', \"label\": 'Column bore diameter (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_h\"])\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"col_d\"] / 2).extrude(p[\"col_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"col_bore\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"base_w\"] * 0.7, p[\"base_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462ca12f_1403", "family": "sketched", "tier": 2, "seed": 1177329967, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "a322bad0e7c1dd5d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 34000.0, "surface_area": 9600.0, "principal_moments": [6960000.0, 8060000.0, 8060000.0], "n_faces": 7, "n_edges": 12, "n_vertices": 7}, "dimensions": {"lines": ["Revolved organic body from a freeform sketched section (6 segments: 4 straight, 1 arc, 1 curve), ~27.227 \u00d7 50 mm half-silhouette."], "text": "Revolved organic body from a freeform sketched section (6 segments: 4 straight, 1 arc, 1 curve), ~27.227 \u00d7 50 mm half-silhouette."}, "params": {"sk_r": {"type": "float", "default": 38.84, "min": 19.4, "max": 69.9, "step": 1.0, "group": "Sketch", "label": "Max radius (mm)"}, "sk_h": {"type": "float", "default": 50, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Sketch", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329967 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_r\": {\"type\": 'float', \"default\": 38.84, \"min\": 19.4, \"max\": 69.9, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Max radius (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 50, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XZ').moveTo(p[\"sk_r\"] * 0.2586, p[\"sk_h\"] * 0.0).lineTo(p[\"sk_r\"] * 0.7441, p[\"sk_h\"] * 0.1444).lineTo(p[\"sk_r\"] * 0.7872, p[\"sk_h\"] * 0.1746).bezier([(p[\"sk_r\"] * 0.7872, p[\"sk_h\"] * 0.1746), (p[\"sk_r\"] * 0.7048, p[\"sk_h\"] * 0.1862), (p[\"sk_r\"] * 0.4081, p[\"sk_h\"] * 0.1977)]).threePointArc((p[\"sk_r\"] * 0.3366, p[\"sk_h\"] * 0.5989), (p[\"sk_r\"] * 0.1245, p[\"sk_h\"] * 1.0)).lineTo(p[\"sk_r\"] * 0.0862, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.0862, p[\"sk_h\"] * 0.0).close().revolve())\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca130_1404", "family": "bracket", "tier": 1, "seed": 1177329968, "symmetry": "none", "op_count": 1, "ir_hash": "64abe6b3aaa0ef24", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 24500.0, "surface_area": 11600.0, "principal_moments": [7460000.0, 14999999.999999998, 16399999.999999998], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["L-bracket: base leg 55 mm, vertical leg 57.9 mm, 46.06 mm wide, 5 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."], "text": "L-bracket: base leg 55 mm, vertical leg 57.9 mm, 46.06 mm wide, 5 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 55, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 57.9, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 46.06, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 5.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329968 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 55, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 57.9, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 46.06, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca131_1405", "family": "revolved", "tier": 1, "seed": 1177329969, "symmetry": "none", "op_count": 1, "ir_hash": "db6baa989df7d83b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 253000.0, "surface_area": 51600.0, "principal_moments": [292000000.0, 292000000.0, 527000000.0], "n_faces": 5, "n_edges": 7, "n_vertices": 5}, "dimensions": {"lines": ["Revolved body, \u00d877.32 mm \u00d7 45.6 mm tall with \u00d8151.4 mm \u00d7 8.3 mm flange."], "text": "Revolved body, \u00d877.32 mm \u00d7 45.6 mm tall with \u00d8151.4 mm \u00d7 8.3 mm flange."}, "params": {"outer_d": {"type": "float", "default": 77.32, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 45.6, "min": 13.7, "max": 136.8, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "flange_d": {"type": "float", "default": 151.4, "min": 92.8, "max": 232.0, "step": 1.0, "group": "Body", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 8.3, "min": 2.5, "max": 22.8, "step": 0.5, "group": "Body", "label": "Flange height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329969 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 77.32, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 45.6, \"min\": 13.7, \"max\": 136.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 151.4, \"min\": 92.8, \"max\": 232.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 8.3, \"min\": 2.5, \"max\": 22.8, \"step\": 0.5, \"group\": 'Body', \"label\": 'Flange height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462ca132_1406", "family": "tapped", "tier": 2, "seed": 1177329970, "symmetry": "none", "op_count": 1, "ir_hash": "3a565255474fa541", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 18500.0, "surface_area": 6320.0, "principal_moments": [1670000.0, 4040000.0, 5200000.0], "n_faces": 426, "n_edges": 1168, "n_vertices": 744}, "dimensions": {"lines": ["Four M6x1 tapped holes in a plate."], "text": "Four M6x1 tapped holes in a plate."}, "params": {"major_d": {"type": "float", "default": 6.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 1.0, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 12.9, "min": 7.2, "max": 23.2, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "plate_w": {"type": "float", "default": 50, "min": 30.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 30.6, "min": 18.4, "max": 49.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329970 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.0, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 12.9, \"min\": 7.2, \"max\": 23.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"plate_w\": {\"type\": 'float', \"default\": 50, \"min\": 30.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 30.6, \"min\": 18.4, \"max\": 49.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n}\n\n\ndef build(p):\n\n    _W, _D, _H = p[\"plate_w\"], p[\"plate_d\"], p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Box(_W, _D, _H)\n    _nx, _ny = max(1, int(2)), max(1, int(2))\n    _sx, _sy = p[\"plate_w\"] * 0.66, p[\"plate_d\"] * 0.66\n    _locs = [(_sx * (_i - (_nx - 1) / 2), _sy * (_j - (_ny - 1) / 2))\n             for _i in range(_nx) for _j in range(_ny)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462ca133_1407", "family": "tapped", "tier": 1, "seed": 1177329971, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "ae7d541c9fe6aa0c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 57500.0, "surface_area": 12800.0, "principal_moments": [12399999.999999998, 31199999.999999996, 41400000.0], "n_faces": 618, "n_edges": 1696, "n_vertices": 1080}, "dimensions": {"lines": ["Four M5x0.8 tapped holes in a plate."], "text": "Four M5x0.8 tapped holes in a plate."}, "params": {"major_d": {"type": "float", "default": 5.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 0.8, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 15.2, "min": 6.0, "max": 27.4, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "plate_w": {"type": "float", "default": 79.35, "min": 47.6, "max": 127.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 48.5, "min": 29.1, "max": 77.6, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329971 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 0.8, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 15.2, \"min\": 6.0, \"max\": 27.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"plate_w\": {\"type\": 'float', \"default\": 79.35, \"min\": 47.6, \"max\": 127.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 48.5, \"min\": 29.1, \"max\": 77.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n}\n\n\ndef build(p):\n\n    _W, _D, _H = p[\"plate_w\"], p[\"plate_d\"], p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Box(_W, _D, _H)\n    _sx, _sy = p[\"plate_w\"] * 0.6, p[\"plate_d\"] * 0.6\n    _locs = [(_xx, _yy) for _xx in (-_sx / 2, _sx / 2) for _yy in (-_sy / 2, _sy / 2)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462ca134_1408", "family": "tapped", "tier": 2, "seed": 1177329972, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "18021f3adb7b3f64", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 68800.0, "surface_area": 15100.0, "principal_moments": [26799999.999999996, 33299999.999999996, 57899999.99999999], "n_faces": 566, "n_edges": 1548, "n_vertices": 984}, "dimensions": {"lines": ["Four M5x0.8 tapped holes in a plate."], "text": "Four M5x0.8 tapped holes in a plate."}, "params": {"major_d": {"type": "float", "default": 5.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 0.8, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 13.9, "min": 6.0, "max": 25.0, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "plate_w": {"type": "float", "default": 75, "min": 45.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 66.9, "min": 40.1, "max": 107.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329972 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 0.8, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 13.9, \"min\": 6.0, \"max\": 25.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"plate_w\": {\"type\": 'float', \"default\": 75, \"min\": 45.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 66.9, \"min\": 40.1, \"max\": 107.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n}\n\n\ndef build(p):\n\n    _W, _D, _H = p[\"plate_w\"], p[\"plate_d\"], p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Box(_W, _D, _H)\n    _sx, _sy = p[\"plate_w\"] * 0.6, p[\"plate_d\"] * 0.6\n    _locs = [(_xx, _yy) for _xx in (-_sx / 2, _sx / 2) for _yy in (-_sy / 2, _sy / 2)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462ca135_1409", "family": "swept", "tier": 2, "seed": 1177329973, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "771bb8b80c23fb80", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 10400.0, "surface_area": 4220.0, "principal_moments": [746000.0, 10500000.0, 11000000.0], "n_faces": 3, "n_edges": 3, "n_vertices": 2}, "dimensions": {"lines": ["\u00d811.9 mm circular section swept along a curved path, ~104.26 mm span."], "text": "\u00d811.9 mm circular section swept along a curved path, ~104.26 mm span."}, "params": {"path_w": {"type": "float", "default": 30.59, "min": 15.3, "max": 55.1, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 104.26, "min": 52.1, "max": 187.7, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_d": {"type": "float", "default": 11.9, "min": 6.0, "max": 21.4, "step": 1.0, "group": "Section", "label": "Section diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329973 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 30.59, \"min\": 15.3, \"max\": 55.1, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 104.26, \"min\": 52.1, \"max\": 187.7, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_d\": {\"type\": 'float', \"default\": 11.9, \"min\": 6.0, \"max\": 21.4, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.7187), (p[\"path_w\"] * 0.3253, p[\"path_h\"] * 0.8404), (p[\"path_w\"] * 0.6328, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').circle(p[\"sweep_d\"] / 2).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca136_1410", "family": "compound", "tier": 2, "seed": 1177329974, "symmetry": "mirror_xy", "op_count": 5, "ir_hash": "a7eb6b2637dde234", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 117000.0, "surface_area": 20700.0, "principal_moments": [40900000.0, 54599999.99999999, 59899999.99999999], "n_faces": 21, "n_edges": 49, "n_vertices": 31}, "dimensions": {"lines": ["Rectangular body, 60 \u00d7 48.1 \u00d7 42.3 mm (W\u00d7D\u00d7H).", "\u00d813.3 mm circular section attachment, 9.9 mm long, from left face with a \u00d87.8 mm bore.", "\u00d813.3 mm circular section attachment, 9.9 mm long, from right face with a \u00d87.8 mm bore.", "\u00d813.3 mm circular section attachment, 9.9 mm long, from back face with a \u00d87.8 mm bore.", "Four \u00d86.4 mm holes at the corners, 42 \u00d7 33.67 mm spacing."], "text": "Rectangular body, 60 \u00d7 48.1 \u00d7 42.3 mm (W\u00d7D\u00d7H). \u00d813.3 mm circular section attachment, 9.9 mm long, from left face with a \u00d87.8 mm bore. \u00d813.3 mm circular section attachment, 9.9 mm long, from right face with a \u00d87.8 mm bore. \u00d813.3 mm circular section attachment, 9.9 mm long, from back face with a \u00d87.8 mm bore. Four \u00d86.4 mm holes at the corners, 42 \u00d7 33.67 mm spacing."}, "params": {"block_w": {"type": "float", "default": 60, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body width (mm)"}, "block_d": {"type": "float", "default": 48.1, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body depth (mm)"}, "block_h": {"type": "float", "default": 42.3, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body height (mm)"}, "port_d": {"type": "float", "default": 13.3, "min": 5.3, "max": 19.0, "step": 1.0, "group": "Ports", "label": "Ports diameter (mm)"}, "port_len": {"type": "float", "default": 9.9, "min": 3.3, "max": 39.9, "step": 1.0, "group": "Ports", "label": "Port boss length (mm)"}, "port_bore": {"type": "float", "default": 7.8, "min": 2.0, "max": 9.6, "step": 0.5, "group": "Ports", "label": "Port bore diameter (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 10.8, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329974 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 60, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 48.1, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 42.3, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body height (mm)'},\n    \"port_d\": {\"type\": 'float', \"default\": 13.3, \"min\": 5.3, \"max\": 19.0, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Ports diameter (mm)'},\n    \"port_len\": {\"type\": 'float', \"default\": 9.9, \"min\": 3.3, \"max\": 39.9, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Port boss length (mm)'},\n    \"port_bore\": {\"type\": 'float', \"default\": 7.8, \"min\": 2.0, \"max\": 9.6, \"step\": 0.5, \"group\": 'Ports', \"label\": 'Port bore diameter (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 10.8, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca137_1411", "family": "revolved", "tier": 1, "seed": 1177329975, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "c49a683c785929dd", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 348000.0, "surface_area": 59100.0, "principal_moments": [158000000.0, 1070000000.0, 1070000000.0], "n_faces": 5, "n_edges": 8, "n_vertices": 5}, "dimensions": {"lines": ["Revolved body, \u00d855 mm \u00d7 219.5 mm tall.", "Chamfer 0.8 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d855 mm \u00d7 219.5 mm tall. Chamfer 0.8 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 55, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 219.5, "min": 65.8, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "end_chamfer": {"type": "float", "default": 0.8, "min": 0.1, "max": 2.4, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329975 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 55, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 219.5, \"min\": 65.8, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.8, \"min\": 0.1, \"max\": 2.4, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca138_1412", "family": "compound", "tier": 3, "seed": 1177329976, "symmetry": "mirror_x", "op_count": 7, "ir_hash": "52c1233bfec4aeed", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 149000.0, "surface_area": 22700.0, "principal_moments": [64599999.99999999, 70200000.0, 88000000.0], "n_faces": 30, "n_edges": 70, "n_vertices": 44}, "dimensions": {"lines": ["Rectangular body, 60.78 \u00d7 42.9 \u00d7 57.8 mm (W\u00d7D\u00d7H).", "\u00d811.4 mm circular section attachment, 10.9 mm long, from front face with a \u00d85.5 mm bore.", "\u00d811.4 mm circular section attachment, 10.9 mm long, from right face with a \u00d85.5 mm bore.", "\u00d811.4 mm circular section attachment, 10.9 mm long, from left face with a \u00d85.5 mm bore.", "\u00d811.4 mm circular section attachment, 10.9 mm long, from back face with a \u00d85.5 mm bore.", "Four \u00d85.3 mm holes at the corners, 42.546 \u00d7 30.03 mm spacing.", "Fillet radius 2.11 mm on vertical edges."], "text": "Rectangular body, 60.78 \u00d7 42.9 \u00d7 57.8 mm (W\u00d7D\u00d7H). \u00d811.4 mm circular section attachment, 10.9 mm long, from front face with a \u00d85.5 mm bore. \u00d811.4 mm circular section attachment, 10.9 mm long, from right face with a \u00d85.5 mm bore. \u00d811.4 mm circular section attachment, 10.9 mm long, from left face with a \u00d85.5 mm bore. \u00d811.4 mm circular section attachment, 10.9 mm long, from back face with a \u00d85.5 mm bore. Four \u00d85.3 mm holes at the corners, 42.546 \u00d7 30.03 mm spacing. Fillet radius 2.11 mm on vertical edges."}, "params": {"block_w": {"type": "float", "default": 60.78, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body width (mm)"}, "block_d": {"type": "float", "default": 42.9, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body depth (mm)"}, "block_h": {"type": "float", "default": 57.8, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body height (mm)"}, "port_d": {"type": "float", "default": 11.4, "min": 4.6, "max": 19.3, "step": 1.0, "group": "Ports", "label": "Ports diameter (mm)"}, "port_len": {"type": "float", "default": 10.9, "min": 2.9, "max": 34.2, "step": 1.0, "group": "Ports", "label": "Port boss length (mm)"}, "port_bore": {"type": "float", "default": 5.5, "min": 2.0, "max": 8.2, "step": 0.5, "group": "Ports", "label": "Port bore diameter (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 9.7, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329976 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 60.78, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 42.9, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 57.8, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body height (mm)'},\n    \"port_d\": {\"type\": 'float', \"default\": 11.4, \"min\": 4.6, \"max\": 19.3, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Ports diameter (mm)'},\n    \"port_len\": {\"type\": 'float', \"default\": 10.9, \"min\": 2.9, \"max\": 34.2, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Port boss length (mm)'},\n    \"port_bore\": {\"type\": 'float', \"default\": 5.5, \"min\": 2.0, \"max\": 8.2, \"step\": 0.5, \"group\": 'Ports', \"label\": 'Port bore diameter (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 9.7, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"block_w\"], p[\"block_d\"]) * 0.04918723133857299)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca139_1413", "family": "revolved", "tier": 1, "seed": 1177329977, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "64e1c39441218807", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 170000.0, "surface_area": 35400.0, "principal_moments": [51699999.99999999, 287000000.0, 287000000.0], "n_faces": 5, "n_edges": 8, "n_vertices": 5}, "dimensions": {"lines": ["Revolved body, \u00d845 mm \u00d7 160.8 mm tall.", "Chamfer 1.2 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d845 mm \u00d7 160.8 mm tall. Chamfer 1.2 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 45, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 160.8, "min": 48.2, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "end_chamfer": {"type": "float", "default": 1.2, "min": 0.1, "max": 3.6, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329977 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 45, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 160.8, \"min\": 48.2, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 1.2, \"min\": 0.1, \"max\": 3.6, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca13a_1414", "family": "bracket", "tier": 3, "seed": 1177329978, "symmetry": "none", "op_count": 1, "ir_hash": "a1ddfca028d06355", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 21400.0, "surface_area": 11700.0, "principal_moments": [5250000.0, 16399999.999999998, 16399999.999999998], "n_faces": 14, "n_edges": 37, "n_vertices": 24}, "dimensions": {"lines": ["L-bracket: base leg 75 mm, vertical leg 51.8 mm, 40 mm wide, 4 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 5.9 mm corner gusset."], "text": "L-bracket: base leg 75 mm, vertical leg 51.8 mm, 40 mm wide, 4 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 5.9 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 75, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 51.8, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 40, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 4.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 5.9, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329978 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 75, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 51.8, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 40, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 5.9, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca13b_1415", "family": "revolved", "tier": 0, "seed": 1177329979, "symmetry": "none", "op_count": 1, "ir_hash": "1e436e6935d22666", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 533000.0, "surface_area": 77400.0, "principal_moments": [338000000.0, 2010000000.0, 2010000000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d865 mm \u00d7 241.1 mm tall."], "text": "Revolved body, \u00d865 mm \u00d7 241.1 mm tall."}, "params": {"outer_d": {"type": "float", "default": 65, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 241.1, "min": 72.3, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329979 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 65, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 241.1, \"min\": 72.3, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462ca13c_1416", "family": "profiled", "tier": 1, "seed": 1177329980, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "5e25e0412fd9de45", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 92100.0, "surface_area": 16700.0, "principal_moments": [9090000.0, 217000000.0, 221000000.0], "n_faces": 7, "n_edges": 15, "n_vertices": 10}, "dimensions": {"lines": ["freeform sketched section (5 segments: 4 straight, 1 curve), ~22.78 \u00d7 36.85 mm, extruded 167.1 mm thick."], "text": "freeform sketched section (5 segments: 4 straight, 1 curve), ~22.78 \u00d7 36.85 mm, extruded 167.1 mm thick."}, "params": {"sk_w": {"type": "float", "default": 31.01, "min": 15.5, "max": 55.8, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 45, "min": 22.5, "max": 81.0, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "length": {"type": "float", "default": 167.1, "min": 50.1, "max": 501.3, "step": 5.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329980 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 31.01, \"min\": 15.5, \"max\": 55.8, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 45, \"min\": 22.5, \"max\": 81.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 167.1, \"min\": 50.1, \"max\": 501.3, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.3329, p[\"sk_h\"] * 0.1508).spline([(p[\"sk_w\"] * 0.3329, p[\"sk_h\"] * 0.1508), (p[\"sk_w\"] * 0.2562, p[\"sk_h\"] * 0.3326), (p[\"sk_w\"] * 0.1093, p[\"sk_h\"] * 0.4642)]).lineTo(p[\"sk_w\"] * -0.3381, p[\"sk_h\"] * 0.2967).lineTo(p[\"sk_w\"] * -0.4017, p[\"sk_h\"] * -0.101).lineTo(p[\"sk_w\"] * 0.1044, p[\"sk_h\"] * -0.3547).lineTo(p[\"sk_w\"] * 0.3329, p[\"sk_h\"] * 0.1508).close().extrude(p[\"length\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca13d_1417", "family": "bracket", "tier": 1, "seed": 1177329981, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "7d8bb7199b204c56", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 23400.0, "surface_area": 11300.0, "principal_moments": [8530000.0, 11599999.999999998, 15899999.999999998], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["C-channel bracket: base leg 50 mm, vertical leg 51.8 mm, 32.93 mm wide, 5 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."], "text": "C-channel bracket: base leg 50 mm, vertical leg 51.8 mm, 32.93 mm wide, 5 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 50, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 51.8, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 32.93, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 5.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329981 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 50, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 51.8, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 32.93, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462ca13e_1418", "family": "lofted", "tier": 2, "seed": 1177329982, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "5583a934e277b880", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 26600.0, "surface_area": 6250.0, "principal_moments": [4360000.0, 4360000.0, 4420000.0], "n_faces": 9, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["Lofted body through 3 sections: 6-sided polygon section, 50 mm across corners \u2192 6-sided polygon section, 33.4 mm across corners \u2192 \u00d816.7 mm circular section.", "One \u00d86.2 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 3 sections: 6-sided polygon section, 50 mm across corners \u2192 6-sided polygon section, 33.4 mm across corners \u2192 \u00d816.7 mm circular section. One \u00d86.2 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 50, "min": 25.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 16.7, "min": 6.7, "max": 60.0, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 35.0, "min": 14.0, "max": 70.0, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_mid": {"type": "float", "default": 33.4, "min": 8.3, "max": 60.0, "step": 1.0, "group": "Body", "label": "Mid size (mm)"}, "loft_bore_d": {"type": "float", "default": 6.2, "min": 2.0, "max": 13.4, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329982 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 50, \"min\": 25.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 16.7, \"min\": 6.7, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 35.0, \"min\": 14.0, \"max\": 70.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_mid\": {\"type\": 'float', \"default\": 33.4, \"min\": 8.3, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Mid size (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 6.2, \"min\": 2.0, \"max\": 13.4, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .polygon(6, p[\"loft_base\"] * 0.5 * 2)\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .polygon(6, p[\"loft_mid\"] * 0.5 * 2)\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .circle(p[\"loft_top\"] / 2)\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca13f_1419", "family": "block", "tier": 2, "seed": 1177329983, "symmetry": "mirror_xy", "op_count": 3, "ir_hash": "732a95efac8519e8", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 35800.0, "surface_area": 13300.0, "principal_moments": [7280000.0, 9010000.0, 10800000.0], "n_faces": 27, "n_edges": 72, "n_vertices": 48}, "dimensions": {"lines": ["Rectangular body, 45 \u00d7 37.5 \u00d7 30.6 mm (W\u00d7D\u00d7H).", "Four 7.7 mm square holes at the corners, 31.5 \u00d7 26.25 mm spacing.", "Pocket 29.1 \u00d7 17.8 mm, 16.6 mm deep, in top face."], "text": "Rectangular body, 45 \u00d7 37.5 \u00d7 30.6 mm (W\u00d7D\u00d7H). Four 7.7 mm square holes at the corners, 31.5 \u00d7 26.25 mm spacing. Pocket 29.1 \u00d7 17.8 mm, 16.6 mm deep, in top face."}, "params": {"block_w": {"type": "float", "default": 45, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 37.5, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 30.6, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 7.7, "min": 2.0, "max": 11.0, "step": 0.5, "group": "Holes", "label": "Square hole size (mm)"}, "pocket_w": {"type": "float", "default": 29.1, "min": 14.6, "max": 36.0, "step": 1.0, "group": "Pocket", "label": "Pocket width (mm)"}, "pocket_d": {"type": "float", "default": 17.8, "min": 8.9, "max": 30.0, "step": 1.0, "group": "Pocket", "label": "Pocket depth (mm)"}, "pocket_h": {"type": "float", "default": 16.6, "min": 6.6, "max": 26.0, "step": 0.5, "group": "Pocket", "label": "Pocket height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329983 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 45, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 37.5, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 30.6, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 7.7, \"min\": 2.0, \"max\": 11.0, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Square hole size (mm)'},\n    \"pocket_w\": {\"type\": 'float', \"default\": 29.1, \"min\": 14.6, \"max\": 36.0, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket width (mm)'},\n    \"pocket_d\": {\"type\": 'float', \"default\": 17.8, \"min\": 8.9, \"max\": 30.0, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket depth (mm)'},\n    \"pocket_h\": {\"type\": 'float', \"default\": 16.6, \"min\": 6.6, \"max\": 26.0, \"step\": 0.5, \"group\": 'Pocket', \"label\": 'Pocket height (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().rect(p[\"hole_d\"], p[\"hole_d\"]).cutThruAll()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"pocket_w\"], p[\"pocket_d\"])\n        .cutBlind(-p[\"pocket_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca140_1420", "family": "bracket", "tier": 3, "seed": 1177329984, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "ea524e873f9bb56a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 14000.0, "surface_area": 6840.0, "principal_moments": [2550000.0, 2710000.0, 3590000.0], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["C-channel bracket: base leg 30 mm, vertical leg 25.2 mm, 40 mm wide, 5 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 6.7 mm corner gusset."], "text": "C-channel bracket: base leg 30 mm, vertical leg 25.2 mm, 40 mm wide, 5 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 6.7 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 30, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 25.2, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 40, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 5.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 6.7, "min": 2.5, "max": 15.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329984 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 30, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 25.2, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 40, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 6.7, \"min\": 2.5, \"max\": 15.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl / 2, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bl - _bt, _bt).lineTo(_bl - _bt - _g, _bt)\n                    .lineTo(_bl - _bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca141_1421", "family": "bracket", "tier": 3, "seed": 1177329985, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "bace00023a6dffa0", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 21100.0, "surface_area": 15200.0, "principal_moments": [7380000.0, 17800000.0, 18200000.0], "n_faces": 26, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["C-channel bracket: base leg 65 mm, vertical leg 41.3 mm, 47.85 mm wide, 3 mm thick; 2 \u00d7 \u00d83.2 mm holes per leg; 4.1 mm corner gusset."], "text": "C-channel bracket: base leg 65 mm, vertical leg 41.3 mm, 47.85 mm wide, 3 mm thick; 2 \u00d7 \u00d83.2 mm holes per leg; 4.1 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 65, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 41.3, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 47.85, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 3.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 2, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 4.1, "min": 1.5, "max": 9.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329985 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 65, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 41.3, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 47.85, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 2, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 4.1, \"min\": 1.5, \"max\": 9.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl / 2, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bl - _bt, _bt).lineTo(_bl - _bt - _g, _bt)\n                    .lineTo(_bl - _bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca142_1422", "family": "bracket", "tier": 3, "seed": 1177329986, "symmetry": "none", "op_count": 1, "ir_hash": "96aa94e490437597", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 5260.0, "surface_area": 3610.0, "principal_moments": [301000.0, 1110000.0, 1170000.0], "n_faces": 22, "n_edges": 62, "n_vertices": 40}, "dimensions": {"lines": ["Z-bracket: base leg 26.4 mm, vertical leg 25 mm, top leg 25 mm, 20 mm wide, 4 mm thick; 2 \u00d7 \u00d85.3 mm holes per leg; 3.9 mm corner gusset."], "text": "Z-bracket: base leg 26.4 mm, vertical leg 25 mm, top leg 25 mm, 20 mm wide, 4 mm thick; 2 \u00d7 \u00d85.3 mm holes per leg; 3.9 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 26.4, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 25.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 20, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 4.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 25.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 8.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 2, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}, "gusset_t": {"type": "float", "default": 3.9, "min": 2.0, "max": 10.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329986 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 26.4, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 25.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 20, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 25.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 8.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 2, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 3.9, \"min\": 2.0, \"max\": 10.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _tl, _vl) * 0.4 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(0, _vl - _bt).lineTo(-_g, _vl - _bt)\n                    .lineTo(0, _vl - _bt - _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462ca144_1424", "family": "gear", "tier": 1, "seed": 1177329988, "symmetry": "none", "op_count": 1, "ir_hash": "2f0aca3ab5ce1446", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 253000.0, "surface_area": 44500.0, "principal_moments": [309000000.0, 309000000.0, 604000000.0], "n_faces": 207, "n_edges": 615, "n_vertices": 410}, "dimensions": {"lines": ["Spur gear, module 4 mm, 34 teeth (pitch \u00d8136 mm), face width 18.1 mm, \u00d823.2 mm bore."], "text": "Spur gear, module 4 mm, 34 teeth (pitch \u00d8136 mm), face width 18.1 mm, \u00d823.2 mm bore."}, "params": {"module": {"type": "float", "default": 4.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 34, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 18.1, "min": 7.2, "max": 45.2, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "bore_d": {"type": "float", "default": 23.2, "min": 2.0, "max": 75.6, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329988 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 4.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 34, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 18.1, \"min\": 7.2, \"max\": 45.2, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 23.2, \"min\": 2.0, \"max\": 75.6, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca145_1425", "family": "plate", "tier": 1, "seed": 1177329989, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "69308810a90d5e99", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 12900.0, "surface_area": 5140.0, "principal_moments": [1040000.0, 3350000.0, 4250000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 55.96 \u00d7 30.4 \u00d7 8 mm (W\u00d7D\u00d7H).", "Four \u00d85.3 mm holes at the corners, 39.172 \u00d7 21.28 mm spacing."], "text": "Rectangular body, 55.96 \u00d7 30.4 \u00d7 8 mm (W\u00d7D\u00d7H). Four \u00d85.3 mm holes at the corners, 39.172 \u00d7 21.28 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 55.96, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 30.4, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 6.8, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329989 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 55.96, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 30.4, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 6.8, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462ca146_1426", "family": "flanged", "tier": 2, "seed": 1177329990, "symmetry": "none", "op_count": 2, "ir_hash": "37338b221476ec77", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 170000.0, "surface_area": 34200.0, "principal_moments": [132000000.0, 153000000.0, 153000000.0], "n_faces": 14, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["Revolved body, \u00d850 mm \u00d7 71.7 mm tall with \u00d820.5 mm bore, \u00d8103.6 mm \u00d7 8.4 mm flange.", "Eight \u00d84.3 mm holes on a \u00d862.2 mm bolt circle."], "text": "Revolved body, \u00d850 mm \u00d7 71.7 mm tall with \u00d820.5 mm bore, \u00d8103.6 mm \u00d7 8.4 mm flange. Eight \u00d84.3 mm holes on a \u00d862.2 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 50, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 71.7, "min": 21.5, "max": 179.2, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 20.5, "min": 2.0, "max": 35.0, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 103.6, "min": 65.0, "max": 150.0, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 8.4, "min": 2.5, "max": 28.7, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 31.1, "min": 20.7, "max": 46.6, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 8, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329990 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 50, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 71.7, \"min\": 21.5, \"max\": 179.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 20.5, \"min\": 2.0, \"max\": 35.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 103.6, \"min\": 65.0, \"max\": 150.0, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 8.4, \"min\": 2.5, \"max\": 28.7, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 31.1, \"min\": 20.7, \"max\": 46.6, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462ca147_1427", "family": "flanged", "tier": 1, "seed": 1177329991, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "6273dce8bbe1c6dc", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 78400.0, "surface_area": 20200.0, "principal_moments": [32199999.999999996, 38200000.0, 38200000.0], "n_faces": 12, "n_edges": 27, "n_vertices": 18}, "dimensions": {"lines": ["Revolved body, \u00d840.74 mm \u00d7 52.8 mm tall with \u00d813.2 mm bore, \u00d883.2 mm \u00d7 4.1 mm flange.", "Six \u00d83.2 mm holes on a \u00d850 mm bolt circle."], "text": "Revolved body, \u00d840.74 mm \u00d7 52.8 mm tall with \u00d813.2 mm bore, \u00d883.2 mm \u00d7 4.1 mm flange. Six \u00d83.2 mm holes on a \u00d850 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 40.74, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 52.8, "min": 15.8, "max": 132.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 13.2, "min": 2.0, "max": 28.5, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 83.2, "min": 53.0, "max": 122.2, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 4.1, "min": 1.2, "max": 21.1, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 25.0, "min": 16.6, "max": 37.4, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 6, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329991 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 40.74, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 52.8, \"min\": 15.8, \"max\": 132.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 13.2, \"min\": 2.0, \"max\": 28.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 83.2, \"min\": 53.0, \"max\": 122.2, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 4.1, \"min\": 1.2, \"max\": 21.1, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 25.0, \"min\": 16.6, \"max\": 37.4, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca148_1428", "family": "revolved", "tier": 1, "seed": 1177329992, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "918779d284226f33", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 36000.0, "surface_area": 14000.0, "principal_moments": [11699999.999999998, 11699999.999999998, 21400000.0], "n_faces": 5, "n_edges": 7, "n_vertices": 5}, "dimensions": {"lines": ["Revolved body, \u00d838.9 mm \u00d7 23.2 mm tall with \u00d879.3 mm \u00d7 4.7 mm flange."], "text": "Revolved body, \u00d838.9 mm \u00d7 23.2 mm tall with \u00d879.3 mm \u00d7 4.7 mm flange."}, "params": {"outer_d": {"type": "float", "default": 38.9, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 23.2, "min": 7.0, "max": 69.6, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "flange_d": {"type": "float", "default": 79.3, "min": 46.7, "max": 116.7, "step": 1.0, "group": "Body", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 4.7, "min": 1.4, "max": 11.6, "step": 0.5, "group": "Body", "label": "Flange height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329992 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 38.9, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 23.2, \"min\": 7.0, \"max\": 69.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 79.3, \"min\": 46.7, \"max\": 116.7, \"step\": 1.0, \"group\": 'Body', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 4.7, \"min\": 1.4, \"max\": 11.6, \"step\": 0.5, \"group\": 'Body', \"label\": 'Flange height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca149_1429", "family": "block", "tier": 3, "seed": 1177329993, "symmetry": "mirror_xy", "op_count": 4, "ir_hash": "1a252600f2f1bfcd", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 514000.0, "surface_area": 46400.0, "principal_moments": [510000000.0, 553000000.0, 651000000.0], "n_faces": 17, "n_edges": 45, "n_vertices": 30}, "dimensions": {"lines": ["Rectangular body, 90 \u00d7 69.1 \u00d7 84.2 mm (W\u00d7D\u00d7H).", "Seven \u00d84.3 mm holes in two staggered rows, 22.5 \u00d7 23.6 mm pitch.", "Fillet radius 3.938 mm on vertical edges.", "Fillet radius 7.364 mm on vertical edges (optional, off by default)."], "text": "Rectangular body, 90 \u00d7 69.1 \u00d7 84.2 mm (W\u00d7D\u00d7H). Seven \u00d84.3 mm holes in two staggered rows, 22.5 \u00d7 23.6 mm pitch. Fillet radius 3.938 mm on vertical edges. Fillet radius 7.364 mm on vertical edges (optional, off by default)."}, "params": {"block_w": {"type": "float", "default": 90, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 69.1, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 84.2, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 6.9, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 4, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}, "filleted2": {"type": "bool", "default": false, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329993 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 90, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 69.1, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 84.2, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 6.9, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 4, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n    \"filleted2\": {\"type\": 'bool', \"default\": False, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 22.5\n    _ssy = 23.6\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"block_w\"], p[\"block_d\"]) * 0.05698770713519864)\n    if p[\"filleted2\"]:\n        result = result.edges('|Z').fillet(min(p[\"block_w\"], p[\"block_d\"]) * 0.10656820622785751)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462ca14a_1430", "family": "ribbed", "tier": 2, "seed": 1177329994, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "415e21cc44354673", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 11000.0, "surface_area": 5530.0, "principal_moments": [966000.0, 1420000.0, 1930000.0], "n_faces": 26, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 35 \u00d7 29.1 \u00d7 4 mm (W\u00d7D\u00d7H).", "Four ribs, 5.6 mm thick, 11.1 mm tall."], "text": "Rectangular body, 35 \u00d7 29.1 \u00d7 4 mm (W\u00d7D\u00d7H). Four ribs, 5.6 mm thick, 11.1 mm tall."}, "params": {"base_w": {"type": "float", "default": 35, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 29.1, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 4.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 4, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 11.1, "min": 4.4, "max": 22.2, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 5.6, "min": 1.0, "max": 14.0, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329994 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 35, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 29.1, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 4, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 11.1, \"min\": 4.4, \"max\": 22.2, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 5.6, \"min\": 1.0, \"max\": 14.0, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462ca14b_1431", "family": "flanged", "tier": 1, "seed": 1177329995, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "675af28e0a884063", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 67500.0, "surface_area": 23300.0, "principal_moments": [35400000.0, 35400000.0, 39400000.0], "n_faces": 18, "n_edges": 45, "n_vertices": 30}, "dimensions": {"lines": ["Revolved body, \u00d841.5 mm \u00d7 47.4 mm tall with \u00d820.9 mm bore, \u00d894 mm \u00d7 3.7 mm flange.", "Twelve \u00d85.3 mm holes on a \u00d856.4 mm bolt circle."], "text": "Revolved body, \u00d841.5 mm \u00d7 47.4 mm tall with \u00d820.9 mm bore, \u00d894 mm \u00d7 3.7 mm flange. Twelve \u00d85.3 mm holes on a \u00d856.4 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 41.5, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 47.4, "min": 14.2, "max": 118.5, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 20.9, "min": 2.0, "max": 29.0, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 94.0, "min": 54.0, "max": 124.5, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 3.7, "min": 1.1, "max": 19.0, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 28.2, "min": 18.8, "max": 42.3, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 12, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329995 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 41.5, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 47.4, \"min\": 14.2, \"max\": 118.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 20.9, \"min\": 2.0, \"max\": 29.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 94.0, \"min\": 54.0, \"max\": 124.5, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 3.7, \"min\": 1.1, \"max\": 19.0, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 28.2, \"min\": 18.8, \"max\": 42.3, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 12, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca14c_1432", "family": "bracket", "tier": 1, "seed": 1177329996, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "59e14e19c5437c5a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 25200.0, "surface_area": 8420.0, "principal_moments": [5210000.0, 8530000.0, 10100000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["L-bracket: base leg 45 mm, vertical leg 42.4 mm, 40 mm wide, 8 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."], "text": "L-bracket: base leg 45 mm, vertical leg 42.4 mm, 40 mm wide, 8 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 45, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 42.4, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 40, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 8.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329996 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 45, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 42.4, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 40, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca14d_1433", "family": "revolved", "tier": 1, "seed": 1177329997, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "b5685f0dbecc5cfe", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 10000.0, "surface_area": 3990.0, "principal_moments": [378000.0, 2480000.0, 2480000.0], "n_faces": 4, "n_edges": 6, "n_vertices": 4}, "dimensions": {"lines": ["Revolved body, \u00d816.51 mm \u00d7 52.4 mm tall with \u00d85.4 mm bore."], "text": "Revolved body, \u00d816.51 mm \u00d7 52.4 mm tall with \u00d85.4 mm bore."}, "params": {"outer_d": {"type": "float", "default": 16.51, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 52.4, "min": 15.7, "max": 157.2, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 5.4, "min": 2.0, "max": 11.6, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329997 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 16.51, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 52.4, \"min\": 15.7, \"max\": 157.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 5.4, \"min\": 2.0, \"max\": 11.6, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca14e_1434", "family": "plate", "tier": 0, "seed": 1177329998, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "0001c42d1a2553e8", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 39900.0, "surface_area": 9690.0, "principal_moments": [5000000.0, 27399999.999999996, 31399999.999999996], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 90 \u00d7 36.9 \u00d7 12 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 90 \u00d7 36.9 \u00d7 12 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 90, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 36.9, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329998 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 90, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 36.9, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca14f_1435", "family": "block", "tier": 2, "seed": 1177329999, "symmetry": "radial", "op_count": 3, "ir_hash": "30b1354e8794c07a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 199000.0, "surface_area": 34500.0, "principal_moments": [118000000.0, 168000000.0, 233000000.0], "n_faces": 23, "n_edges": 66, "n_vertices": 44}, "dimensions": {"lines": ["Rectangular body, 69.95 \u00d7 37.7 \u00d7 92.6 mm (W\u00d7D\u00d7H).", "Six \u00d85.3 mm holes on a \u00d842 mm bolt circle.", "Pocket 46.1 \u00d7 16.1 mm, 51.6 mm deep, in top face."], "text": "Rectangular body, 69.95 \u00d7 37.7 \u00d7 92.6 mm (W\u00d7D\u00d7H). Six \u00d85.3 mm holes on a \u00d842 mm bolt circle. Pocket 46.1 \u00d7 16.1 mm, 51.6 mm deep, in top face."}, "params": {"block_w": {"type": "float", "default": 69.95, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 37.7, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 92.6, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "bolt_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 21.0, "min": 14.0, "max": 31.5, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 6, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}, "pocket_w": {"type": "float", "default": 46.1, "min": 23.1, "max": 56.0, "step": 1.0, "group": "Pocket", "label": "Pocket width (mm)"}, "pocket_d": {"type": "float", "default": 16.1, "min": 8.1, "max": 30.2, "step": 1.0, "group": "Pocket", "label": "Pocket depth (mm)"}, "pocket_h": {"type": "float", "default": 51.6, "min": 20.6, "max": 78.7, "step": 0.5, "group": "Pocket", "label": "Pocket height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177329999 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 69.95, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 37.7, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 92.6, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 21.0, \"min\": 14.0, \"max\": 31.5, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n    \"pocket_w\": {\"type\": 'float', \"default\": 46.1, \"min\": 23.1, \"max\": 56.0, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket width (mm)'},\n    \"pocket_d\": {\"type\": 'float', \"default\": 16.1, \"min\": 8.1, \"max\": 30.2, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket depth (mm)'},\n    \"pocket_h\": {\"type\": 'float', \"default\": 51.6, \"min\": 20.6, \"max\": 78.7, \"step\": 0.5, \"group\": 'Pocket', \"label\": 'Pocket height (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"pocket_w\"], p[\"pocket_d\"])\n        .cutBlind(-p[\"pocket_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462ca150_1436", "family": "flanged", "tier": 1, "seed": 1177330000, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "f50e8430f7500b0b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 196000.0, "surface_area": 35400.0, "principal_moments": [142000000.0, 142000000.0, 159000000.0], "n_faces": 21, "n_edges": 78, "n_vertices": 52}, "dimensions": {"lines": ["Revolved body, \u00d865 mm \u00d7 57.4 mm tall with \u00d823.2 mm bore, \u00d8105.4 mm \u00d7 6.1 mm flange.", "Eight \u00d83.2 mm holes on a \u00d863.2 mm bolt circle."], "text": "Revolved body, \u00d865 mm \u00d7 57.4 mm tall with \u00d823.2 mm bore, \u00d8105.4 mm \u00d7 6.1 mm flange. Eight \u00d83.2 mm holes on a \u00d863.2 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 65, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 57.4, "min": 17.2, "max": 143.5, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 23.2, "min": 2.0, "max": 45.5, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 105.4, "min": 84.5, "max": 195.0, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 6.1, "min": 1.8, "max": 23.0, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 31.6, "min": 21.1, "max": 47.4, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 8, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330000 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 65, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 57.4, \"min\": 17.2, \"max\": 143.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 23.2, \"min\": 2.0, \"max\": 45.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 105.4, \"min\": 84.5, \"max\": 195.0, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 6.1, \"min\": 1.8, \"max\": 23.0, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 31.6, \"min\": 21.1, \"max\": 47.4, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462ca151_1437", "family": "swept", "tier": 1, "seed": 1177330001, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "7c616ca05db9b218", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 7090.0, "surface_area": 2340.0, "principal_moments": [171000.0, 1380000.0, 1380000.0], "n_faces": 3, "n_edges": 3, "n_vertices": 2}, "dimensions": {"lines": ["\u00d813.9 mm circular section swept along a curved path, ~64.3 mm span."], "text": "\u00d813.9 mm circular section swept along a curved path, ~64.3 mm span."}, "params": {"path_w": {"type": "float", "default": 64.3, "min": 32.1, "max": 115.7, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 46.72, "min": 23.4, "max": 84.1, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_d": {"type": "float", "default": 13.9, "min": 7.0, "max": 25.0, "step": 1.0, "group": "Section", "label": "Section diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330001 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 64.3, \"min\": 32.1, \"max\": 115.7, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 46.72, \"min\": 23.4, \"max\": 84.1, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_d\": {\"type\": 'float', \"default\": 13.9, \"min\": 7.0, \"max\": 25.0, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.4122), (p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.6418), (p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.7119), (p[\"path_w\"] * 0.0, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').circle(p[\"sweep_d\"] / 2).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca152_1438", "family": "revolved", "tier": 2, "seed": 1177330002, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "0991029dc06ec972", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 16000.0, "surface_area": 7790.0, "principal_moments": [942000.0, 6610000.0, 6610000.0], "n_faces": 9, "n_edges": 14, "n_vertices": 9}, "dimensions": {"lines": ["Revolved body, \u00d820 mm \u00d7 79.1 mm tall with 8.14 mm-wide groove 1.19 mm deep.", "Chamfer 0.5 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d820 mm \u00d7 79.1 mm tall with 8.14 mm-wide groove 1.19 mm deep. Chamfer 0.5 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 20, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 79.1, "min": 23.7, "max": 237.3, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "groove_depth": {"type": "float", "default": 1.19, "min": 0.48, "max": 3.57, "step": 0.1, "group": "Body", "label": "Groove depth (mm)"}, "groove_w": {"type": "float", "default": 8.14, "min": 3.26, "max": 24.42, "step": 0.2, "group": "Body", "label": "Groove width (mm)"}, "groove_pos": {"type": "float", "default": 30.1, "min": 11.9, "max": 67.2, "step": 1.0, "group": "Body", "label": "Groove position (mm)"}, "end_chamfer": {"type": "float", "default": 0.5, "min": 0.1, "max": 1.5, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330002 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 20, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 79.1, \"min\": 23.7, \"max\": 237.3, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"groove_depth\": {\"type\": 'float', \"default\": 1.19, \"min\": 0.48, \"max\": 3.57, \"step\": 0.1, \"group\": 'Body', \"label\": 'Groove depth (mm)'},\n    \"groove_w\": {\"type\": 'float', \"default\": 8.14, \"min\": 3.26, \"max\": 24.42, \"step\": 0.2, \"group\": 'Body', \"label\": 'Groove width (mm)'},\n    \"groove_pos\": {\"type\": 'float', \"default\": 30.1, \"min\": 11.9, \"max\": 67.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Groove position (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.5, \"min\": 0.1, \"max\": 1.5, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"groove_pos\"] - p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2 - p[\"groove_depth\"], p[\"groove_pos\"] - p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2 - p[\"groove_depth\"], p[\"groove_pos\"] + p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2, p[\"groove_pos\"] + p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca153_1439", "family": "compound", "tier": 1, "seed": 1177330003, "symmetry": "none", "op_count": 2, "ir_hash": "a8653457563148c0", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 96900.0, "surface_area": 16600.0, "principal_moments": [24699999.999999996, 53699999.99999999, 53699999.99999999], "n_faces": 6, "n_edges": 9, "n_vertices": 6}, "dimensions": {"lines": ["\u00d845 mm circular section, extruded 59.9 mm thick.", "\u00d822.5 mm circular section attachment, 27.9 mm long, from top face with a \u00d811.7 mm bore."], "text": "\u00d845 mm circular section, extruded 59.9 mm thick. \u00d822.5 mm circular section attachment, 27.9 mm long, from top face with a \u00d811.7 mm bore."}, "params": {"shaft_d": {"type": "float", "default": 45, "min": 22.5, "max": 81.0, "step": 1.0, "group": "Body", "label": "Shaft diameter (mm)"}, "shaft_len": {"type": "float", "default": 59.9, "min": 24.0, "max": 119.8, "step": 1.0, "group": "Body", "label": "Shaft length (mm)"}, "step_d": {"type": "float", "default": 22.5, "min": 11.2, "max": 40.5, "step": 1.0, "group": "Step", "label": "Step diameter (mm)"}, "step_len": {"type": "float", "default": 27.9, "min": 8.4, "max": 69.8, "step": 1.0, "group": "Step", "label": "Step length (mm)"}, "axial_bore": {"type": "float", "default": 11.7, "min": 2.0, "max": 16.2, "step": 0.5, "group": "Bore", "label": "Axial bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330003 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"shaft_d\": {\"type\": 'float', \"default\": 45, \"min\": 22.5, \"max\": 81.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft diameter (mm)'},\n    \"shaft_len\": {\"type\": 'float', \"default\": 59.9, \"min\": 24.0, \"max\": 119.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft length (mm)'},\n    \"step_d\": {\"type\": 'float', \"default\": 22.5, \"min\": 11.2, \"max\": 40.5, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step diameter (mm)'},\n    \"step_len\": {\"type\": 'float', \"default\": 27.9, \"min\": 8.4, \"max\": 69.8, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step length (mm)'},\n    \"axial_bore\": {\"type\": 'float', \"default\": 11.7, \"min\": 2.0, \"max\": 16.2, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Axial bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').circle(p[\"shaft_d\"] / 2).extrude(p[\"shaft_len\"]))\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"step_d\"] / 2).extrude(p[\"step_len\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"axial_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462ca154_1440", "family": "ribbed", "tier": 2, "seed": 1177330004, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "a5920721c51e4c8e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 23100.0, "surface_area": 13700.0, "principal_moments": [6220000.0, 20300000.0, 26199999.999999996], "n_faces": 26, "n_edges": 64, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 95 \u00d7 51 \u00d7 4 mm (W\u00d7D\u00d7H).", "Two ribs, 3.5 mm thick, 7.7 mm tall.", "Four \u00d85.3 mm holes at the corners, 66.5 \u00d7 35.7 mm spacing."], "text": "Rectangular body, 95 \u00d7 51 \u00d7 4 mm (W\u00d7D\u00d7H). Two ribs, 3.5 mm thick, 7.7 mm tall. Four \u00d85.3 mm holes at the corners, 66.5 \u00d7 35.7 mm spacing."}, "params": {"base_w": {"type": "float", "default": 95, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 51.0, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 4.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 2, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 7.7, "min": 3.1, "max": 15.4, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 3.5, "min": 1.0, "max": 8.8, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 11.5, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330004 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 95, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 51.0, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 2, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 7.7, \"min\": 3.1, \"max\": 15.4, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 3.5, \"min\": 1.0, \"max\": 8.8, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 11.5, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"base_w\"] * 0.7, p[\"base_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462ca155_1441", "family": "flanged", "tier": 2, "seed": 1177330005, "symmetry": "radial", "op_count": 2, "ir_hash": "c1ecd980cea37ed8", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 793000.0, "surface_area": 101000.0, "principal_moments": [1990000000.0, 1990000000.0, 3610000000.0], "n_faces": 12, "n_edges": 27, "n_vertices": 18}, "dimensions": {"lines": ["Revolved body, \u00d894.01 mm \u00d7 58.2 mm tall with \u00d841.6 mm bore, \u00d8213.4 mm \u00d7 16.3 mm flange.", "Six \u00d85.3 mm holes on a \u00d8128 mm bolt circle."], "text": "Revolved body, \u00d894.01 mm \u00d7 58.2 mm tall with \u00d841.6 mm bore, \u00d8213.4 mm \u00d7 16.3 mm flange. Six \u00d85.3 mm holes on a \u00d8128 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 94.01, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 58.2, "min": 17.5, "max": 145.5, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 41.6, "min": 2.0, "max": 65.8, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 213.4, "min": 122.2, "max": 282.0, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 16.3, "min": 4.9, "max": 23.3, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 64.0, "min": 42.7, "max": 96.0, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 6, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330005 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 94.01, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 58.2, \"min\": 17.5, \"max\": 145.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 41.6, \"min\": 2.0, \"max\": 65.8, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 213.4, \"min\": 122.2, \"max\": 282.0, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 16.3, \"min\": 4.9, \"max\": 23.3, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 64.0, \"min\": 42.7, \"max\": 96.0, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462ca156_1442", "family": "ribbed", "tier": 1, "seed": 1177330006, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "a11974c10fbf3993", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 14600.0, "surface_area": 7270.0, "principal_moments": [1640000.0, 2340000.0, 2440000.0], "n_faces": 38, "n_edges": 92, "n_vertices": 56}, "dimensions": {"lines": ["Rectangular body, 35 \u00d7 19.5 \u00d7 8 mm (W\u00d7D\u00d7H).", "Four ribs, 4.5 mm thick, 18.2 mm tall."], "text": "Rectangular body, 35 \u00d7 19.5 \u00d7 8 mm (W\u00d7D\u00d7H). Four ribs, 4.5 mm thick, 18.2 mm tall."}, "params": {"base_w": {"type": "float", "default": 35, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 19.5, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 8.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 4, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 18.2, "min": 7.3, "max": 36.4, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 4.5, "min": 1.0, "max": 11.2, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330006 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 35, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 19.5, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 4, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 18.2, \"min\": 7.3, \"max\": 36.4, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 4.5, \"min\": 1.0, \"max\": 11.2, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462ca157_1443", "family": "enclosure", "tier": 3, "seed": 1177330007, "symmetry": "none", "op_count": 4, "ir_hash": "83a84dbf31bce32a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 13900.0, "surface_area": 10400.0, "principal_moments": [2060000.0, 6230000.0, 6580000.0], "n_faces": 35, "n_edges": 108, "n_vertices": 72}, "dimensions": {"lines": ["Rectangular body, 60 \u00d7 25.1 \u00d7 25 mm (W\u00d7D\u00d7H).", "Hollowed to 2.8 mm wall thickness, open at top face.", "Four \u00d83.2 mm holes at the corners, 42 \u00d7 17.57 mm spacing.", "Fillet radius 2.216 mm on vertical edges."], "text": "Rectangular body, 60 \u00d7 25.1 \u00d7 25 mm (W\u00d7D\u00d7H). Hollowed to 2.8 mm wall thickness, open at top face. Four \u00d83.2 mm holes at the corners, 42 \u00d7 17.57 mm spacing. Fillet radius 2.216 mm on vertical edges."}, "params": {"enc_w": {"type": "float", "default": 60, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 25.1, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 25.0, "min": 10.0, "max": 50.0, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 2.8, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 5.6, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330007 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 60, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 25.1, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 25.0, \"min\": 10.0, \"max\": 50.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 2.8, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 5.6, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"enc_w\"] * 0.7, p[\"enc_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"enc_w\"], p[\"enc_d\"]) * 0.0882972802746225)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462ca158_1444", "family": "ribbed", "tier": 2, "seed": 1177330008, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "8116b2dcef00e53d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 15000.0, "surface_area": 7620.0, "principal_moments": [1970000.0, 3560000.0, 4190000.0], "n_faces": 30, "n_edges": 72, "n_vertices": 44}, "dimensions": {"lines": ["Rectangular body, 45 \u00d7 28.1 \u00d7 6 mm (W\u00d7D\u00d7H).", "Three ribs, 4.1 mm thick, 16.7 mm tall."], "text": "Rectangular body, 45 \u00d7 28.1 \u00d7 6 mm (W\u00d7D\u00d7H). Three ribs, 4.1 mm thick, 16.7 mm tall."}, "params": {"base_w": {"type": "float", "default": 45, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 28.1, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 6.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 3, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 16.7, "min": 6.7, "max": 33.4, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 4.1, "min": 1.0, "max": 10.2, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330008 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 45, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 28.1, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 3, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 16.7, \"min\": 6.7, \"max\": 33.4, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 4.1, \"min\": 1.0, \"max\": 10.2, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca159_1445", "family": "revolved", "tier": 1, "seed": 1177330009, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "516e1ddd43a75d86", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 137000.0, "surface_area": 22700.0, "principal_moments": [80800000.0, 80800000.0, 81000000.0], "n_faces": 6, "n_edges": 9, "n_vertices": 6}, "dimensions": {"lines": ["Revolved body, \u00d845 mm \u00d7 59.9 mm tall with \u00d817.7 mm bore, \u00d877.9 mm \u00d7 17.9 mm flange."], "text": "Revolved body, \u00d845 mm \u00d7 59.9 mm tall with \u00d817.7 mm bore, \u00d877.9 mm \u00d7 17.9 mm flange."}, "params": {"outer_d": {"type": "float", "default": 45, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 59.9, "min": 18.0, "max": 179.7, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 17.7, "min": 2.0, "max": 31.5, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 77.9, "min": 54.0, "max": 135.0, "step": 1.0, "group": "Body", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 17.9, "min": 5.4, "max": 29.9, "step": 0.5, "group": "Body", "label": "Flange height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330009 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 45, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 59.9, \"min\": 18.0, \"max\": 179.7, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 17.7, \"min\": 2.0, \"max\": 31.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 77.9, \"min\": 54.0, \"max\": 135.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 17.9, \"min\": 5.4, \"max\": 29.9, \"step\": 0.5, \"group\": 'Body', \"label\": 'Flange height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca15a_1446", "family": "plate", "tier": 2, "seed": 1177330010, "symmetry": "none", "op_count": 3, "ir_hash": "d6e5e9cfeb9b010e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 26200.0, "surface_area": 8880.0, "principal_moments": [3090000.0, 17700000.0, 20500000.0], "n_faces": 18, "n_edges": 44, "n_vertices": 28}, "dimensions": {"lines": ["Rectangular body, 90 \u00d7 36.9 \u00d7 8 mm (W\u00d7D\u00d7H).", "Four \u00d83.2 mm countersunk holes (82\u00b0) at the corners, 63 \u00d7 25.83 mm spacing.", "Fillet radius 1.667 mm on vertical edges."], "text": "Rectangular body, 90 \u00d7 36.9 \u00d7 8 mm (W\u00d7D\u00d7H). Four \u00d83.2 mm countersunk holes (82\u00b0) at the corners, 63 \u00d7 25.83 mm spacing. Fillet radius 1.667 mm on vertical edges."}, "params": {"plate_w": {"type": "float", "default": 90, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 36.9, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 8.3, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "cs_angle": {"type": "float", "default": 82.0, "min": 60.0, "max": 120.0, "step": 15.0, "group": "Holes", "label": "Countersink angle (\u00b0)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330010 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 90, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 36.9, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 8.3, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"cs_angle\": {\"type\": 'float', \"default\": 82.0, \"min\": 60.0, \"max\": 120.0, \"step\": 15.0, \"group\": 'Holes', \"label\": 'Countersink angle (\u00b0)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().cskHole(p[\"hole_d\"], p[\"hole_d\"] * 2, p[\"cs_angle\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"plate_w\"], p[\"plate_d\"]) * 0.045164139915540955)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca15b_1447", "family": "compound", "tier": 2, "seed": 1177330011, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "0b22b9ffb1e3c777", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 215000.0, "surface_area": 25300.0, "principal_moments": [104000000.0, 149000000.0, 181000000.0], "n_faces": 20, "n_edges": 51, "n_vertices": 34}, "dimensions": {"lines": ["Rectangular body, 79.65 \u00d7 44.4 \u00d7 61.7 mm (W\u00d7D\u00d7H).", "8-sided polygon section, 16.6 mm across corners attachment, 13.7 mm long, from front face with a \u00d87.6 mm bore.", "Four \u00d86.4 mm holes at the corners, 55.755 \u00d7 31.08 mm spacing."], "text": "Rectangular body, 79.65 \u00d7 44.4 \u00d7 61.7 mm (W\u00d7D\u00d7H). 8-sided polygon section, 16.6 mm across corners attachment, 13.7 mm long, from front face with a \u00d87.6 mm bore. Four \u00d86.4 mm holes at the corners, 55.755 \u00d7 31.08 mm spacing."}, "params": {"block_w": {"type": "float", "default": 79.65, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 44.4, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 61.7, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "spig_sides": {"type": "int", "default": 8, "min": 3, "max": 8, "step": 1, "group": "Spigot", "label": "Spigot sides"}, "spig_r": {"type": "float", "default": 8.3, "min": 4.2, "max": 21.6, "step": 1.0, "group": "Spigot", "label": "Spigot circumradius (mm)"}, "spig_len": {"type": "float", "default": 13.7, "min": 4.6, "max": 61.3, "step": 1.0, "group": "Spigot", "label": "Spigot length (mm)"}, "spig_bore": {"type": "float", "default": 7.6, "min": 2.0, "max": 11.0, "step": 0.5, "group": "Spigot", "label": "Bore diameter (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330011 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 79.65, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 44.4, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 61.7, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"spig_sides\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Spigot', \"label\": 'Spigot sides'},\n    \"spig_r\": {\"type\": 'float', \"default\": 8.3, \"min\": 4.2, \"max\": 21.6, \"step\": 1.0, \"group\": 'Spigot', \"label\": 'Spigot circumradius (mm)'},\n    \"spig_len\": {\"type\": 'float', \"default\": 13.7, \"min\": 4.6, \"max\": 61.3, \"step\": 1.0, \"group\": 'Spigot', \"label\": 'Spigot length (mm)'},\n    \"spig_bore\": {\"type\": 'float', \"default\": 7.6, \"min\": 2.0, \"max\": 11.0, \"step\": 0.5, \"group\": 'Spigot', \"label\": 'Bore diameter (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"spig_sides\"], p[\"spig_r\"] * 2).extrude(p[\"spig_len\"])\n    )\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"spig_bore\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462ca15c_1448", "family": "threaded", "tier": 1, "seed": 1177330012, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "5d643f1c83cafb1c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 544.0, "surface_area": 783.0, "principal_moments": [4400.0, 16500.0, 16500.0], "n_faces": 207, "n_edges": 563, "n_vertices": 358}, "dimensions": {"lines": ["M4x0.7 internal thread, 17.8 mm long."], "text": "M4x0.7 internal thread, 17.8 mm long."}, "params": {"major_d": {"type": "float", "default": 4.0, "min": 4.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Major diameter (mm)"}, "pitch": {"type": "float", "default": 0.7, "min": 0.35, "max": 1.4, "step": 0.05, "group": "Thread", "label": "Pitch (mm)"}, "thread_len": {"type": "float", "default": 17.8, "min": 7.1, "max": 35.6, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330012 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 4.0, \"min\": 4.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Major diameter (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 0.7, \"min\": 0.35, \"max\": 1.4, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Pitch (mm)'},\n    \"thread_len\": {\"type\": 'float', \"default\": 17.8, \"min\": 7.1, \"max\": 35.6, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.IsoThread(major_diameter=p[\"major_d\"], pitch=p[\"pitch\"], length=p[\"thread_len\"], external=False, end_finishes=(\"fade\", \"fade\"))\n    _body = _bd.Cylinder(radius=(p[\"major_d\"]) * 0.9, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _bore = _bd.Cylinder(radius=(p[\"major_d\"]) / 2, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = (_body - _bore) + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462ca15d_1449", "family": "lofted", "tier": 3, "seed": 1177330013, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "200a3682882c4699", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 19600.0, "surface_area": 5710.0, "principal_moments": [2420000.0, 3170000.0, 3170000.0], "n_faces": 9, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["Lofted body through 3 sections: \u00d839.18 mm circular section \u2192 6-sided polygon section, 26.3 mm across corners \u2192 6-sided polygon section, 13.4 mm across corners.", "One \u00d87.7 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 3 sections: \u00d839.18 mm circular section \u2192 6-sided polygon section, 26.3 mm across corners \u2192 6-sided polygon section, 13.4 mm across corners. One \u00d87.7 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 39.18, "min": 19.6, "max": 62.7, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 13.4, "min": 5.4, "max": 47.0, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 41.4, "min": 16.6, "max": 82.8, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_mid": {"type": "float", "default": 26.3, "min": 6.7, "max": 47.0, "step": 1.0, "group": "Body", "label": "Mid size (mm)"}, "loft_bore_d": {"type": "float", "default": 7.7, "min": 2.0, "max": 10.7, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330013 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 39.18, \"min\": 19.6, \"max\": 62.7, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 13.4, \"min\": 5.4, \"max\": 47.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 41.4, \"min\": 16.6, \"max\": 82.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_mid\": {\"type\": 'float', \"default\": 26.3, \"min\": 6.7, \"max\": 47.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Mid size (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 7.7, \"min\": 2.0, \"max\": 10.7, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .circle(p[\"loft_base\"] / 2)\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .polygon(6, p[\"loft_mid\"] * 0.5 * 2)\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .polygon(6, p[\"loft_top\"] * 0.5 * 2)\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca15e_1450", "family": "block", "tier": 1, "seed": 1177330014, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "1260661a3db2b469", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 193000.0, "surface_area": 28400.0, "principal_moments": [86300000.0, 160000000.0, 215000000.0], "n_faces": 22, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 66.86 \u00d7 31.3 \u00d7 94.7 mm (W\u00d7D\u00d7H).", "Four 3.8 mm square holes at the corners, 46.802 \u00d7 21.91 mm spacing."], "text": "Rectangular body, 66.86 \u00d7 31.3 \u00d7 94.7 mm (W\u00d7D\u00d7H). Four 3.8 mm square holes at the corners, 46.802 \u00d7 21.91 mm spacing."}, "params": {"block_w": {"type": "float", "default": 66.86, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 31.3, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 94.7, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 3.8, "min": 2.0, "max": 9.2, "step": 0.5, "group": "Holes", "label": "Square hole size (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330014 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 66.86, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 31.3, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 94.7, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.8, \"min\": 2.0, \"max\": 9.2, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Square hole size (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().rect(p[\"hole_d\"], p[\"hole_d\"]).cutThruAll()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462ca15f_1451", "family": "ribbed", "tier": 3, "seed": 1177330015, "symmetry": "mirror_xy", "op_count": 3, "ir_hash": "aefc974140e19861", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 15000.0, "surface_area": 11400.0, "principal_moments": [2300000.0, 3660000.0, 4690000.0], "n_faces": 54, "n_edges": 148, "n_vertices": 92}, "dimensions": {"lines": ["Rectangular body, 50 \u00d7 30.9 \u00d7 4 mm (W\u00d7D\u00d7H).", "Five ribs, 2.6 mm thick, 17.2 mm tall.", "Four \u00d83.2 mm holes at the corners, 35 \u00d7 21.63 mm spacing."], "text": "Rectangular body, 50 \u00d7 30.9 \u00d7 4 mm (W\u00d7D\u00d7H). Five ribs, 2.6 mm thick, 17.2 mm tall. Four \u00d83.2 mm holes at the corners, 35 \u00d7 21.63 mm spacing."}, "params": {"base_w": {"type": "float", "default": 50, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 30.9, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 4.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 5, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 17.2, "min": 6.9, "max": 34.4, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 2.6, "min": 1.0, "max": 6.5, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 7.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330015 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 50, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 30.9, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 5, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 17.2, \"min\": 6.9, \"max\": 34.4, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 2.6, \"min\": 1.0, \"max\": 6.5, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 7.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"base_w\"] * 0.7, p[\"base_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462ca161_1453", "family": "lofted", "tier": 0, "seed": 1177330017, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "418ef08a57ce212a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 50100.0, "surface_area": 8120.0, "principal_moments": [11200000.0, 11300000.0, 12399999.999999998], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Lofted body through 2 sections: 46.15 \u00d7 46.15 mm rectangular section \u2192 6-sided polygon section, 34.2 mm across corners."], "text": "Lofted body through 2 sections: 46.15 \u00d7 46.15 mm rectangular section \u2192 6-sided polygon section, 34.2 mm across corners."}, "params": {"loft_base": {"type": "float", "default": 46.15, "min": 23.1, "max": 73.8, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 34.2, "min": 13.7, "max": 55.4, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 36.0, "min": 14.4, "max": 72.0, "step": 1.0, "group": "Body", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330017 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 46.15, \"min\": 23.1, \"max\": 73.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 34.2, \"min\": 13.7, \"max\": 55.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 36.0, \"min\": 14.4, \"max\": 72.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .rect(p[\"loft_base\"], p[\"loft_base\"])\n        .workplane(offset=p[\"loft_h\"])\n        .polygon(6, p[\"loft_top\"] * 0.5 * 2)\n        .loft(combine=True)\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca162_1454", "family": "block", "tier": 2, "seed": 1177330018, "symmetry": "radial", "op_count": 3, "ir_hash": "1c5b42730eb7930c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 29300.0, "surface_area": 15500.0, "principal_moments": [6730000.0, 9040000.0, 13099999.999999998], "n_faces": 30, "n_edges": 90, "n_vertices": 60}, "dimensions": {"lines": ["Rectangular body, 40 \u00d7 23.9 \u00d7 58.2 mm (W\u00d7D\u00d7H).", "Eight \u00d88.4 mm holes on a \u00d824 mm bolt circle.", "Pocket 22.5 \u00d7 12 mm, 22.2 mm deep, in top face."], "text": "Rectangular body, 40 \u00d7 23.9 \u00d7 58.2 mm (W\u00d7D\u00d7H). Eight \u00d88.4 mm holes on a \u00d824 mm bolt circle. Pocket 22.5 \u00d7 12 mm, 22.2 mm deep, in top face."}, "params": {"block_w": {"type": "float", "default": 40, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 23.9, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 58.2, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "bolt_d": {"type": "float", "default": 8.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 12.0, "min": 8.0, "max": 18.0, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 8, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}, "pocket_w": {"type": "float", "default": 22.5, "min": 11.2, "max": 32.0, "step": 1.0, "group": "Pocket", "label": "Pocket width (mm)"}, "pocket_d": {"type": "float", "default": 12.0, "min": 6.0, "max": 19.1, "step": 1.0, "group": "Pocket", "label": "Pocket depth (mm)"}, "pocket_h": {"type": "float", "default": 22.2, "min": 8.9, "max": 49.5, "step": 0.5, "group": "Pocket", "label": "Pocket height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330018 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 40, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 23.9, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 58.2, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 12.0, \"min\": 8.0, \"max\": 18.0, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n    \"pocket_w\": {\"type\": 'float', \"default\": 22.5, \"min\": 11.2, \"max\": 32.0, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket width (mm)'},\n    \"pocket_d\": {\"type\": 'float', \"default\": 12.0, \"min\": 6.0, \"max\": 19.1, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket depth (mm)'},\n    \"pocket_h\": {\"type\": 'float', \"default\": 22.2, \"min\": 8.9, \"max\": 49.5, \"step\": 0.5, \"group\": 'Pocket', \"label\": 'Pocket height (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"pocket_w\"], p[\"pocket_d\"])\n        .cutBlind(-p[\"pocket_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462ca163_1455", "family": "threaded", "tier": 1, "seed": 1177330019, "symmetry": "none", "op_count": 1, "ir_hash": "9dd2cfe7bc71e6ed", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 3860.0, "surface_area": 2430.0, "principal_moments": [58600.0, 567000.0, 567000.0], "n_faces": 240, "n_edges": 614, "n_vertices": 376}, "dimensions": {"lines": ["M12x1.75 external thread, 41.1 mm long."], "text": "M12x1.75 external thread, 41.1 mm long."}, "params": {"major_d": {"type": "float", "default": 12.0, "min": 4.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Major diameter (mm)"}, "pitch": {"type": "float", "default": 1.75, "min": 0.88, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Pitch (mm)"}, "thread_len": {"type": "float", "default": 41.1, "min": 16.4, "max": 82.2, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330019 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 12.0, \"min\": 4.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Major diameter (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.75, \"min\": 0.88, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Pitch (mm)'},\n    \"thread_len\": {\"type\": 'float', \"default\": 41.1, \"min\": 16.4, \"max\": 82.2, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.IsoThread(major_diameter=p[\"major_d\"], pitch=p[\"pitch\"], length=p[\"thread_len\"], external=True, end_finishes=(\"fade\", \"fade\"))\n    _r = _thr.min_radius if hasattr(_thr, 'min_radius') else _thr.root_radius\n    _shank = _bd.Cylinder(radius=_r, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = _shank + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca164_1456", "family": "bracket", "tier": 2, "seed": 1177330020, "symmetry": "none", "op_count": 1, "ir_hash": "af141e1b9078cdde", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 18400.0, "surface_area": 8720.0, "principal_moments": [4470000.0, 4610000.0, 8210000.0], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Z-bracket: base leg 31.26 mm, vertical leg 25 mm, top leg 25 mm, 51.99 mm wide, 5 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg; 4 mm corner gusset."], "text": "Z-bracket: base leg 31.26 mm, vertical leg 25 mm, top leg 25 mm, 51.99 mm wide, 5 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg; 4 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 31.26, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 25.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 51.99, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 5.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 25.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}, "gusset_t": {"type": "float", "default": 4.0, "min": 2.5, "max": 15.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330020 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 31.26, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 25.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 51.99, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 25.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 2.5, \"max\": 15.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _tl, _vl) * 0.4 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(0, _vl - _bt).lineTo(-_g, _vl - _bt)\n                    .lineTo(0, _vl - _bt - _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca165_1457", "family": "plate", "tier": 1, "seed": 1177330021, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "85d7c959cb0b3942", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 6790.0, "surface_area": 3530.0, "principal_moments": [420000.0, 1120000.0, 1500000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 45 \u00d7 27.1 \u00d7 6 mm (W\u00d7D\u00d7H).", "Four \u00d85.3 mm holes at the corners, 31.5 \u00d7 18.97 mm spacing."], "text": "Rectangular body, 45 \u00d7 27.1 \u00d7 6 mm (W\u00d7D\u00d7H). Four \u00d85.3 mm holes at the corners, 31.5 \u00d7 18.97 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 45, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 27.1, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 6.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 6.1, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330021 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 45, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 27.1, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 6.1, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca166_1458", "family": "revolved", "tier": 2, "seed": 1177330022, "symmetry": "none", "op_count": 2, "ir_hash": "c0392282f48fd5ce", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 2620.0, "surface_area": 2120.0, "principal_moments": [102000.0, 151000.0, 151000.0], "n_faces": 11, "n_edges": 17, "n_vertices": 11}, "dimensions": {"lines": ["Revolved body, \u00d812.12 mm \u00d7 24.5 mm tall with \u00d822.3 mm \u00d7 2.9 mm flange, 2.66 mm-wide groove 0.46 mm deep.", "Chamfer 0.7 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d812.12 mm \u00d7 24.5 mm tall with \u00d822.3 mm \u00d7 2.9 mm flange, 2.66 mm-wide groove 0.46 mm deep. Chamfer 0.7 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 12.12, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 24.5, "min": 7.3, "max": 73.5, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "flange_d": {"type": "float", "default": 22.3, "min": 14.5, "max": 36.4, "step": 1.0, "group": "Body", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 2.9, "min": 0.9, "max": 12.2, "step": 0.5, "group": "Body", "label": "Flange height (mm)"}, "groove_depth": {"type": "float", "default": 0.46, "min": 0.18, "max": 1.38, "step": 0.1, "group": "Body", "label": "Groove depth (mm)"}, "groove_w": {"type": "float", "default": 2.66, "min": 1.06, "max": 7.98, "step": 0.2, "group": "Body", "label": "Groove width (mm)"}, "groove_pos": {"type": "float", "default": 6.1, "min": 3.7, "max": 20.8, "step": 1.0, "group": "Body", "label": "Groove position (mm)"}, "end_chamfer": {"type": "float", "default": 0.7, "min": 0.1, "max": 2.1, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330022 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 12.12, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 24.5, \"min\": 7.3, \"max\": 73.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 22.3, \"min\": 14.5, \"max\": 36.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 2.9, \"min\": 0.9, \"max\": 12.2, \"step\": 0.5, \"group\": 'Body', \"label\": 'Flange height (mm)'},\n    \"groove_depth\": {\"type\": 'float', \"default\": 0.46, \"min\": 0.18, \"max\": 1.38, \"step\": 0.1, \"group\": 'Body', \"label\": 'Groove depth (mm)'},\n    \"groove_w\": {\"type\": 'float', \"default\": 2.66, \"min\": 1.06, \"max\": 7.98, \"step\": 0.2, \"group\": 'Body', \"label\": 'Groove width (mm)'},\n    \"groove_pos\": {\"type\": 'float', \"default\": 6.1, \"min\": 3.7, \"max\": 20.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Groove position (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.7, \"min\": 0.1, \"max\": 2.1, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"groove_pos\"] - p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2 - p[\"groove_depth\"], p[\"groove_pos\"] - p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2 - p[\"groove_depth\"], p[\"groove_pos\"] + p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2, p[\"groove_pos\"] + p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462ca167_1459", "family": "swept", "tier": 1, "seed": 1177330023, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "3c4e30a14c0c85c7", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 1580.0, "surface_area": 2910.0, "principal_moments": [349000.0, 1490000.0, 1830000.0], "n_faces": 3, "n_edges": 3, "n_vertices": 2}, "dimensions": {"lines": ["\u00d86.3 mm circular section swept along a curved path, ~97.62 mm span."], "text": "\u00d86.3 mm circular section swept along a curved path, ~97.62 mm span."}, "params": {"path_w": {"type": "float", "default": 80.0, "min": 40.0, "max": 144.0, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 97.62, "min": 48.8, "max": 175.7, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_d": {"type": "float", "default": 6.3, "min": 3.1, "max": 11.3, "step": 1.0, "group": "Section", "label": "Section diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330023 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 80.0, \"min\": 40.0, \"max\": 144.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 97.62, \"min\": 48.8, \"max\": 175.7, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_d\": {\"type\": 'float', \"default\": 6.3, \"min\": 3.1, \"max\": 11.3, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.3072, p[\"path_h\"] * 0.3146), (p[\"path_w\"] * 0.1496, p[\"path_h\"] * 0.394), (p[\"path_w\"] * 0.5455, p[\"path_h\"] * 0.412), (p[\"path_w\"] * 0.4637, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').circle(p[\"sweep_d\"] / 2).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca168_1460", "family": "compound", "tier": 2, "seed": 1177330024, "symmetry": "none", "op_count": 2, "ir_hash": "39276e2c3b02b711", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 47900.0, "surface_area": 10700.0, "principal_moments": [12899999.999999998, 12899999.999999998, 13699999.999999998], "n_faces": 10, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["Lofted body through 3 sections: 55 \u00d7 55 mm rectangular section \u2192 \u00d839.4 mm circular section \u2192 \u00d823.8 mm circular section.", "\u00d818.5 mm circular section attachment, 14.9 mm long, from top face with a \u00d88.7 mm bore."], "text": "Lofted body through 3 sections: 55 \u00d7 55 mm rectangular section \u2192 \u00d839.4 mm circular section \u2192 \u00d823.8 mm circular section. \u00d818.5 mm circular section attachment, 14.9 mm long, from top face with a \u00d88.7 mm bore."}, "params": {"adapter_base": {"type": "float", "default": 55, "min": 33.0, "max": 82.5, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "adapter_top": {"type": "float", "default": 23.8, "min": 11.9, "max": 55, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "adapter_h": {"type": "float", "default": 33.6, "min": 13.4, "max": 67.2, "step": 1.0, "group": "Body", "label": "Transition height (mm)"}, "adapter_mid": {"type": "float", "default": 39.4, "min": 11.9, "max": 55, "step": 1.0, "group": "Body", "label": "Mid size (mm)"}, "neck_d": {"type": "float", "default": 18.5, "min": 7.4, "max": 23.8, "step": 1.0, "group": "Neck", "label": "Neck diameter (mm)"}, "neck_l": {"type": "float", "default": 14.9, "min": 6.0, "max": 37.2, "step": 1.0, "group": "Neck", "label": "Neck length (mm)"}, "neck_bore": {"type": "float", "default": 8.7, "min": 2.0, "max": 13.3, "step": 0.5, "group": "Neck", "label": "Neck bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330024 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"adapter_base\": {\"type\": 'float', \"default\": 55, \"min\": 33.0, \"max\": 82.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"adapter_top\": {\"type\": 'float', \"default\": 23.8, \"min\": 11.9, \"max\": 55, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"adapter_h\": {\"type\": 'float', \"default\": 33.6, \"min\": 13.4, \"max\": 67.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Transition height (mm)'},\n    \"adapter_mid\": {\"type\": 'float', \"default\": 39.4, \"min\": 11.9, \"max\": 55, \"step\": 1.0, \"group\": 'Body', \"label\": 'Mid size (mm)'},\n    \"neck_d\": {\"type\": 'float', \"default\": 18.5, \"min\": 7.4, \"max\": 23.8, \"step\": 1.0, \"group\": 'Neck', \"label\": 'Neck diameter (mm)'},\n    \"neck_l\": {\"type\": 'float', \"default\": 14.9, \"min\": 6.0, \"max\": 37.2, \"step\": 1.0, \"group\": 'Neck', \"label\": 'Neck length (mm)'},\n    \"neck_bore\": {\"type\": 'float', \"default\": 8.7, \"min\": 2.0, \"max\": 13.3, \"step\": 0.5, \"group\": 'Neck', \"label\": 'Neck bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .rect(p[\"adapter_base\"], p[\"adapter_base\"])\n        .workplane(offset=p[\"adapter_h\"] * 0.5)\n        .circle(p[\"adapter_mid\"] / 2)\n        .workplane(offset=p[\"adapter_h\"] * 0.5)\n        .circle(p[\"adapter_top\"] / 2)\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"neck_d\"] / 2).extrude(p[\"neck_l\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"neck_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca169_1461", "family": "plate", "tier": 2, "seed": 1177330025, "symmetry": "none", "op_count": 3, "ir_hash": "cbcfee31db09f8df", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 51400.0, "surface_area": 16500.0, "principal_moments": [15599999.999999998, 51299999.99999999, 66299999.99999999], "n_faces": 26, "n_edges": 72, "n_vertices": 48}, "dimensions": {"lines": ["Rectangular body, 110 \u00d7 60.2 \u00d7 8 mm (W\u00d7D\u00d7H).", "Four 12.3 \u00d7 4.3 mm slots at the corners, 77 \u00d7 42.14 mm spacing.", "Fillet radius 1.638 mm on vertical edges."], "text": "Rectangular body, 110 \u00d7 60.2 \u00d7 8 mm (W\u00d7D\u00d7H). Four 12.3 \u00d7 4.3 mm slots at the corners, 77 \u00d7 42.14 mm spacing. Fillet radius 1.638 mm on vertical edges."}, "params": {"plate_w": {"type": "float", "default": 110, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 60.2, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 13.0, "step": 0.5, "group": "Holes", "label": "Slot width (mm)"}, "hole_slot_len": {"type": "float", "default": 12.3, "min": 6.4, "max": 18.1, "step": 0.5, "group": "Holes", "label": "Slot length (mm)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330025 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 110, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 60.2, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 13.0, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Slot width (mm)'},\n    \"hole_slot_len\": {\"type\": 'float', \"default\": 12.3, \"min\": 6.4, \"max\": 18.1, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Slot length (mm)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().slot2D(p[\"hole_slot_len\"], p[\"hole_d\"]).cutThruAll()\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"plate_w\"], p[\"plate_d\"]) * 0.027213481949621657)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca16a_1462", "family": "plate", "tier": 0, "seed": 1177330026, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "8a1357864117af0a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 20600.0, "surface_area": 6840.0, "principal_moments": [2820000.0, 7380000.0, 9980000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 65 \u00d7 39.7 \u00d7 8 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 65 \u00d7 39.7 \u00d7 8 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 65, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 39.7, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330026 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 65, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 39.7, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462ca16c_1464", "family": "tapped", "tier": 1, "seed": 1177330028, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "32dc45ac2a557e6a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 2140.0, "surface_area": 1400.0, "principal_moments": [50800.0, 85800.0, 85800.0], "n_faces": 188, "n_edges": 512, "n_vertices": 326}, "dimensions": {"lines": ["One M5x0.8 tapped hole in a cylinder."], "text": "One M5x0.8 tapped hole in a cylinder."}, "params": {"major_d": {"type": "float", "default": 5.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 0.8, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 18.4, "min": 6.0, "max": 33.1, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "body_d": {"type": "float", "default": 13.0, "min": 9.0, "max": 20.8, "step": 1.0, "group": "Body", "label": "Outer \u00d8 (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330028 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 0.8, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 18.4, \"min\": 6.0, \"max\": 33.1, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"body_d\": {\"type\": 'float', \"default\": 13.0, \"min\": 9.0, \"max\": 20.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer \u00d8 (mm)'},\n}\n\n\ndef build(p):\n\n    _W = _D = p[\"body_d\"]\n    _H = p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Cylinder(radius=_W / 2, height=_H)\n    _locs = [(0.0, 0.0)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462ca16d_1465", "family": "threaded", "tier": 1, "seed": 1177330029, "symmetry": "none", "op_count": 1, "ir_hash": "a67becfaa3388b23", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 13100.0, "surface_area": 5020.0, "principal_moments": [563000.0, 2850000.0, 2850000.0], "n_faces": 344, "n_edges": 942, "n_vertices": 600}, "dimensions": {"lines": ["M20x2.5 external thread, 48.8 mm long."], "text": "M20x2.5 external thread, 48.8 mm long."}, "params": {"major_d": {"type": "float", "default": 20.0, "min": 4.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Major diameter (mm)"}, "pitch": {"type": "float", "default": 2.5, "min": 1.25, "max": 5.0, "step": 0.05, "group": "Thread", "label": "Pitch (mm)"}, "thread_len": {"type": "float", "default": 48.8, "min": 19.5, "max": 97.6, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330029 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 20.0, \"min\": 4.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Major diameter (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 2.5, \"min\": 1.25, \"max\": 5.0, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Pitch (mm)'},\n    \"thread_len\": {\"type\": 'float', \"default\": 48.8, \"min\": 19.5, \"max\": 97.6, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.IsoThread(major_diameter=p[\"major_d\"], pitch=p[\"pitch\"], length=p[\"thread_len\"], external=True, end_finishes=(\"fade\", \"fade\"))\n    _r = _thr.min_radius if hasattr(_thr, 'min_radius') else _thr.root_radius\n    _shank = _bd.Cylinder(radius=_r, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = _shank + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca16e_1466", "family": "bracket", "tier": 2, "seed": 1177330030, "symmetry": "none", "op_count": 1, "ir_hash": "2c0bad3ecb6df39b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 11800.0, "surface_area": 8740.0, "principal_moments": [2540000.0, 19200000.0, 21400000.0], "n_faces": 18, "n_edges": 48, "n_vertices": 32}, "dimensions": {"lines": ["Z-bracket: base leg 75 mm, vertical leg 74.4 mm, top leg 67.7 mm, 15 mm wide, 3 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg; 4.2 mm corner gusset."], "text": "Z-bracket: base leg 75 mm, vertical leg 74.4 mm, top leg 67.7 mm, 15 mm wide, 3 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg; 4.2 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 75, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 74.4, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 15.0, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 3.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 67.7, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 6.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}, "gusset_t": {"type": "float", "default": 4.2, "min": 1.5, "max": 7.5, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330030 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 75, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 74.4, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 15.0, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 67.7, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 6.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 4.2, \"min\": 1.5, \"max\": 7.5, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _tl, _vl) * 0.4 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(0, _vl - _bt).lineTo(-_g, _vl - _bt)\n                    .lineTo(0, _vl - _bt - _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca16f_1467", "family": "block", "tier": 2, "seed": 1177330031, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "3278d675218601fd", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 156000.0, "surface_area": 26500.0, "principal_moments": [54999999.99999999, 142000000.0, 154000000.0], "n_faces": 15, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 91.64 \u00d7 38.7 \u00d7 52.9 mm (W\u00d7D\u00d7H).", "Four \u00d83.2 mm holes at the corners, 64.148 \u00d7 27.09 mm spacing.", "Pocket 59 \u00d7 23.7 mm, 21.6 mm deep, in top face."], "text": "Rectangular body, 91.64 \u00d7 38.7 \u00d7 52.9 mm (W\u00d7D\u00d7H). Four \u00d83.2 mm holes at the corners, 64.148 \u00d7 27.09 mm spacing. Pocket 59 \u00d7 23.7 mm, 21.6 mm deep, in top face."}, "params": {"block_w": {"type": "float", "default": 91.64, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 38.7, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 52.9, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 8.7, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "pocket_w": {"type": "float", "default": 59.0, "min": 29.5, "max": 73.3, "step": 1.0, "group": "Pocket", "label": "Pocket width (mm)"}, "pocket_d": {"type": "float", "default": 23.7, "min": 11.8, "max": 31.0, "step": 1.0, "group": "Pocket", "label": "Pocket depth (mm)"}, "pocket_h": {"type": "float", "default": 21.6, "min": 8.6, "max": 45.0, "step": 0.5, "group": "Pocket", "label": "Pocket height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330031 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 91.64, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 38.7, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 52.9, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 8.7, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"pocket_w\": {\"type\": 'float', \"default\": 59.0, \"min\": 29.5, \"max\": 73.3, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket width (mm)'},\n    \"pocket_d\": {\"type\": 'float', \"default\": 23.7, \"min\": 11.8, \"max\": 31.0, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket depth (mm)'},\n    \"pocket_h\": {\"type\": 'float', \"default\": 21.6, \"min\": 8.6, \"max\": 45.0, \"step\": 0.5, \"group\": 'Pocket', \"label\": 'Pocket height (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"pocket_w\"], p[\"pocket_d\"])\n        .cutBlind(-p[\"pocket_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462ca170_1468", "family": "sketched", "tier": 1, "seed": 1177330032, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "93756dae088995f7", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 19900.0, "surface_area": 7140.0, "principal_moments": [3230000.0, 3230000.0, 3720000.0], "n_faces": 9, "n_edges": 16, "n_vertices": 9}, "dimensions": {"lines": ["Revolved organic body from a freeform sketched section (8 segments: 5 straight, 1 arc, 2 curves), ~22.055 \u00d7 25.03 mm half-silhouette."], "text": "Revolved organic body from a freeform sketched section (8 segments: 5 straight, 1 arc, 2 curves), ~22.055 \u00d7 25.03 mm half-silhouette."}, "params": {"sk_r": {"type": "float", "default": 24.77, "min": 12.4, "max": 44.6, "step": 1.0, "group": "Sketch", "label": "Max radius (mm)"}, "sk_h": {"type": "float", "default": 25.03, "min": 12.5, "max": 45.1, "step": 1.0, "group": "Sketch", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330032 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_r\": {\"type\": 'float', \"default\": 24.77, \"min\": 12.4, \"max\": 44.6, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Max radius (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 25.03, \"min\": 12.5, \"max\": 45.1, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XZ').moveTo(p[\"sk_r\"] * 0.9612, p[\"sk_h\"] * 0.0).threePointArc((p[\"sk_r\"] * 0.9414, p[\"sk_h\"] * 0.0886), (p[\"sk_r\"] * 0.9585, p[\"sk_h\"] * 0.1772)).bezier([(p[\"sk_r\"] * 0.9585, p[\"sk_h\"] * 0.1772), (p[\"sk_r\"] * 0.8215, p[\"sk_h\"] * 0.1919), (p[\"sk_r\"] * 0.7447, p[\"sk_h\"] * 0.2065)]).bezier([(p[\"sk_r\"] * 0.7447, p[\"sk_h\"] * 0.2065), (p[\"sk_r\"] * 0.5992, p[\"sk_h\"] * 0.3149), (p[\"sk_r\"] * 0.3583, p[\"sk_h\"] * 0.4233)]).lineTo(p[\"sk_r\"] * 0.1362, p[\"sk_h\"] * 0.5261).lineTo(p[\"sk_r\"] * 0.7577, p[\"sk_h\"] * 0.7591).lineTo(p[\"sk_r\"] * 0.5522, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.0708, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.0708, p[\"sk_h\"] * 0.0).close().revolve())\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462ca171_1469", "family": "ribbed", "tier": 1, "seed": 1177330033, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "1f40dc8c6d30f27a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 30000.0, "surface_area": 16600.0, "principal_moments": [7340000.0, 11300000.0, 16199999.999999998], "n_faces": 46, "n_edges": 112, "n_vertices": 68}, "dimensions": {"lines": ["Rectangular body, 64.39 \u00d7 43.7 \u00d7 3 mm (W\u00d7D\u00d7H).", "Five ribs, 4.7 mm thick, 17.8 mm tall."], "text": "Rectangular body, 64.39 \u00d7 43.7 \u00d7 3 mm (W\u00d7D\u00d7H). Five ribs, 4.7 mm thick, 17.8 mm tall."}, "params": {"base_w": {"type": "float", "default": 64.39, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 43.7, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 3.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 5, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 17.8, "min": 7.1, "max": 35.6, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 4.7, "min": 1.0, "max": 11.8, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330033 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 64.39, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 43.7, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 5, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 17.8, \"min\": 7.1, \"max\": 35.6, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 4.7, \"min\": 1.0, \"max\": 11.8, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462ca172_1470", "family": "lofted", "tier": 3, "seed": 1177330034, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "46d8311d39ef1ee0", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 71200.0, "surface_area": 13100.0, "principal_moments": [22899999.999999996, 24699999.999999996, 24699999.999999996], "n_faces": 8, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["Lofted body through 3 sections: 46.3 \u00d7 46.3 mm rectangular section \u2192 41.2 \u00d7 41.2 mm rectangular section \u2192 \u00d836.1 mm circular section.", "One \u00d816.1 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 3 sections: 46.3 \u00d7 46.3 mm rectangular section \u2192 41.2 \u00d7 41.2 mm rectangular section \u2192 \u00d836.1 mm circular section. One \u00d816.1 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 46.3, "min": 23.1, "max": 74.1, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 36.1, "min": 14.4, "max": 55.6, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 48.9, "min": 19.6, "max": 97.8, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_mid": {"type": "float", "default": 41.2, "min": 18.1, "max": 55.6, "step": 1.0, "group": "Body", "label": "Mid size (mm)"}, "loft_bore_d": {"type": "float", "default": 16.1, "min": 2.0, "max": 28.9, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330034 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 46.3, \"min\": 23.1, \"max\": 74.1, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 36.1, \"min\": 14.4, \"max\": 55.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 48.9, \"min\": 19.6, \"max\": 97.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_mid\": {\"type\": 'float', \"default\": 41.2, \"min\": 18.1, \"max\": 55.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Mid size (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 16.1, \"min\": 2.0, \"max\": 28.9, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .rect(p[\"loft_base\"], p[\"loft_base\"])\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .rect(p[\"loft_mid\"], p[\"loft_mid\"])\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .circle(p[\"loft_top\"] / 2)\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462ca173_1471", "family": "sketched", "tier": 2, "seed": 1177330035, "symmetry": "mirror_xy", "op_count": 3, "ir_hash": "a2d394287cad97a9", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 9660.0, "surface_area": 3540.0, "principal_moments": [810000.0, 972000.0, 1580000.0], "n_faces": 13, "n_edges": 27, "n_vertices": 18}, "dimensions": {"lines": ["freeform sketched section (7 segments: 3 straight, 2 arcs, 2 curves), ~38.376 \u00d7 39.19 mm, extruded 8.43 mm thick.", "One \u00d84.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch.", "Boss \u00d810.9 mm \u00d7 8 mm tall on top face."], "text": "freeform sketched section (7 segments: 3 straight, 2 arcs, 2 curves), ~38.376 \u00d7 39.19 mm, extruded 8.43 mm thick. One \u00d84.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch. Boss \u00d810.9 mm \u00d7 8 mm tall on top face."}, "params": {"sk_w": {"type": "float", "default": 45, "min": 22.5, "max": 81.0, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 54.59, "min": 27.3, "max": 98.3, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "sk_t": {"type": "float", "default": 8.43, "min": 3.4, "max": 18.5, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "sk_hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 8.6, "step": 0.5, "group": "Holes", "label": "Hole diameter (mm)"}, "boss_d": {"type": "float", "default": 10.9, "min": 5.5, "max": 21.8, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 8.0, "min": 3.2, "max": 20.0, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330035 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 45, \"min\": 22.5, \"max\": 81.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 54.59, \"min\": 27.3, \"max\": 98.3, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"sk_t\": {\"type\": 'float', \"default\": 8.43, \"min\": 3.4, \"max\": 18.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"sk_hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 8.6, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"boss_d\": {\"type\": 'float', \"default\": 10.9, \"min\": 5.5, \"max\": 21.8, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.2, \"max\": 20.0, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.4561, p[\"sk_h\"] * -0.023).lineTo(p[\"sk_w\"] * 0.1736, p[\"sk_h\"] * 0.2788).lineTo(p[\"sk_w\"] * -0.0325, p[\"sk_h\"] * 0.3368).threePointArc((p[\"sk_w\"] * -0.2363, p[\"sk_h\"] * 0.2412), (p[\"sk_w\"] * -0.3967, p[\"sk_h\"] * 0.0878)).bezier([(p[\"sk_w\"] * -0.3967, p[\"sk_h\"] * 0.0878), (p[\"sk_w\"] * -0.3737, p[\"sk_h\"] * -0.1046), (p[\"sk_w\"] * -0.3031, p[\"sk_h\"] * -0.285)]).threePointArc((p[\"sk_w\"] * -0.262, p[\"sk_h\"] * -0.3297), (p[\"sk_w\"] * -0.2062, p[\"sk_h\"] * -0.3574)).bezier([(p[\"sk_w\"] * -0.2062, p[\"sk_h\"] * -0.3574), (p[\"sk_w\"] * -0.0144, p[\"sk_h\"] * -0.4111), (p[\"sk_w\"] * 0.1826, p[\"sk_h\"] * -0.3811)]).lineTo(p[\"sk_w\"] * 0.4561, p[\"sk_h\"] * -0.023).close().extrude(p[\"sk_t\"]))\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"sk_hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462ca174_1472", "family": "flanged", "tier": 2, "seed": 1177330036, "symmetry": "none", "op_count": 2, "ir_hash": "88c8ec5fccc165b8", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 93400.0, "surface_area": 23600.0, "principal_moments": [50199999.99999999, 50199999.99999999, 58799999.99999999], "n_faces": 18, "n_edges": 45, "n_vertices": 30}, "dimensions": {"lines": ["Revolved body, \u00d845.1 mm \u00d7 48.1 mm tall with \u00d819.5 mm bore, \u00d889 mm \u00d7 7.3 mm flange.", "Twelve \u00d86.4 mm holes on a \u00d853.4 mm bolt circle."], "text": "Revolved body, \u00d845.1 mm \u00d7 48.1 mm tall with \u00d819.5 mm bore, \u00d889 mm \u00d7 7.3 mm flange. Twelve \u00d86.4 mm holes on a \u00d853.4 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 45.1, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 48.1, "min": 14.4, "max": 120.2, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 19.5, "min": 2.0, "max": 31.6, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 89.0, "min": 58.6, "max": 135.3, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 7.3, "min": 2.2, "max": 19.2, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 26.7, "min": 17.8, "max": 40.1, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 12, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330036 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 45.1, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 48.1, \"min\": 14.4, \"max\": 120.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 19.5, \"min\": 2.0, \"max\": 31.6, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 89.0, \"min\": 58.6, \"max\": 135.3, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 7.3, \"min\": 2.2, \"max\": 19.2, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 26.7, \"min\": 17.8, \"max\": 40.1, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 12, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462ca175_1473", "family": "threaded", "tier": 2, "seed": 1177330037, "symmetry": "none", "op_count": 1, "ir_hash": "4c79bb9dc4a31b30", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 2090.0, "surface_area": 1590.0, "principal_moments": [21900.0, 189000.0, 189000.0], "n_faces": 220, "n_edges": 562, "n_vertices": 344}, "dimensions": {"lines": ["M10x1.5 external thread, 32.2 mm long."], "text": "M10x1.5 external thread, 32.2 mm long."}, "params": {"major_d": {"type": "float", "default": 10.0, "min": 4.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Major diameter (mm)"}, "pitch": {"type": "float", "default": 1.5, "min": 0.75, "max": 3.0, "step": 0.05, "group": "Thread", "label": "Pitch (mm)"}, "thread_len": {"type": "float", "default": 32.2, "min": 12.9, "max": 64.4, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330037 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 10.0, \"min\": 4.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Major diameter (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.5, \"min\": 0.75, \"max\": 3.0, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Pitch (mm)'},\n    \"thread_len\": {\"type\": 'float', \"default\": 32.2, \"min\": 12.9, \"max\": 64.4, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.IsoThread(major_diameter=p[\"major_d\"], pitch=p[\"pitch\"], length=p[\"thread_len\"], external=True, end_finishes=(\"fade\", \"fade\"))\n    _r = _thr.min_radius if hasattr(_thr, 'min_radius') else _thr.root_radius\n    _shank = _bd.Cylinder(radius=_r, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = _shank + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca176_1474", "family": "plate", "tier": 3, "seed": 1177330038, "symmetry": "none", "op_count": 3, "ir_hash": "642636e49979b390", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 24300.0, "surface_area": 8810.0, "principal_moments": [4130000.0, 6990000.0, 10700000.0], "n_faces": 25, "n_edges": 66, "n_vertices": 44}, "dimensions": {"lines": ["Rectangular body, 60 \u00d7 45.5 \u00d7 10 mm (W\u00d7D\u00d7H).", "Four 13.7 \u00d7 6.4 mm slots at the corners, 42 \u00d7 31.85 mm spacing.", "Boss \u00d811.3 mm \u00d7 6.3 mm tall on top face with a \u00d86.4 mm bore."], "text": "Rectangular body, 60 \u00d7 45.5 \u00d7 10 mm (W\u00d7D\u00d7H). Four 13.7 \u00d7 6.4 mm slots at the corners, 42 \u00d7 31.85 mm spacing. Boss \u00d811.3 mm \u00d7 6.3 mm tall on top face with a \u00d86.4 mm bore."}, "params": {"plate_w": {"type": "float", "default": 60, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 45.5, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 10.2, "step": 0.5, "group": "Holes", "label": "Slot width (mm)"}, "hole_slot_len": {"type": "float", "default": 13.7, "min": 9.6, "max": 13.7, "step": 0.5, "group": "Holes", "label": "Slot length (mm)"}, "boss_d": {"type": "float", "default": 11.3, "min": 5.7, "max": 22.6, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 6.3, "min": 2.5, "max": 15.8, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}, "boss_bore_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 7.9, "step": 0.1, "group": "Boss", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330038 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 60, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 45.5, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 10.2, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Slot width (mm)'},\n    \"hole_slot_len\": {\"type\": 'float', \"default\": 13.7, \"min\": 9.6, \"max\": 13.7, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Slot length (mm)'},\n    \"boss_d\": {\"type\": 'float', \"default\": 11.3, \"min\": 5.7, \"max\": 22.6, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 6.3, \"min\": 2.5, \"max\": 15.8, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n    \"boss_bore_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 7.9, \"step\": 0.1, \"group\": 'Boss', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().slot2D(p[\"hole_slot_len\"], p[\"hole_d\"]).cutThruAll()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .hole(p[\"boss_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca177_1475", "family": "plate", "tier": 2, "seed": 1177330039, "symmetry": "none", "op_count": 3, "ir_hash": "bb598a5b4a0cf738", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 17400.0, "surface_area": 7610.0, "principal_moments": [4340000.0, 4440000.0, 8680000.0], "n_faces": 19, "n_edges": 51, "n_vertices": 34}, "dimensions": {"lines": ["Rectangular body, 55.12 \u00d7 54.1 \u00d7 6 mm (W\u00d7D\u00d7H).", "Nine \u00d83.2 mm holes in two staggered rows, 10.3 \u00d7 11.8 mm pitch.", "Chamfer 2.7 mm on vertical edges."], "text": "Rectangular body, 55.12 \u00d7 54.1 \u00d7 6 mm (W\u00d7D\u00d7H). Nine \u00d83.2 mm holes in two staggered rows, 10.3 \u00d7 11.8 mm pitch. Chamfer 2.7 mm on vertical edges."}, "params": {"plate_w": {"type": "float", "default": 55.12, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 54.1, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 6.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 5.4, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 5, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}, "chamfer_d": {"type": "float", "default": 2.7, "min": 2.2, "max": 3.9, "step": 0.5, "group": "Body", "label": "Chamfer distance (mm)"}, "chamfered": {"type": "bool", "default": true, "group": "Body", "label": "Chamfer edges"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330039 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 55.12, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 54.1, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 5.4, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 5, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n    \"chamfer_d\": {\"type\": 'float', \"default\": 2.7, \"min\": 2.2, \"max\": 3.9, \"step\": 0.5, \"group\": 'Body', \"label\": 'Chamfer distance (mm)'},\n    \"chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Chamfer edges'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 10.3\n    _ssy = 11.8\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    if p[\"chamfered\"]:\n        result = result.edges('|Z').chamfer(p[\"chamfer_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462ca178_1476", "family": "sketched", "tier": 0, "seed": 1177330040, "symmetry": "none", "op_count": 1, "ir_hash": "7da590db936e4904", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 55000.0, "surface_area": 9950.0, "principal_moments": [12299999.999999998, 19500000.0, 29099999.999999996], "n_faces": 7, "n_edges": 15, "n_vertices": 10}, "dimensions": {"lines": ["freeform sketched section (5 segments: 2 arcs, 3 curves), ~59.568 \u00d7 69.219 mm, extruded 17.21 mm thick."], "text": "freeform sketched section (5 segments: 2 arcs, 3 curves), ~59.568 \u00d7 69.219 mm, extruded 17.21 mm thick."}, "params": {"sk_w": {"type": "float", "default": 83.64, "min": 41.8, "max": 150.6, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 80.17, "min": 40.1, "max": 144.3, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "sk_t": {"type": "float", "default": 17.21, "min": 6.9, "max": 37.9, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330040 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 83.64, \"min\": 41.8, \"max\": 150.6, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 80.17, \"min\": 40.1, \"max\": 144.3, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"sk_t\": {\"type\": 'float', \"default\": 17.21, \"min\": 6.9, \"max\": 37.9, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.376, p[\"sk_h\"] * 0.0635).threePointArc((p[\"sk_w\"] * 0.3194, p[\"sk_h\"] * 0.2829), (p[\"sk_w\"] * 0.1751, p[\"sk_h\"] * 0.426)).spline([(p[\"sk_w\"] * 0.1751, p[\"sk_h\"] * 0.426), (p[\"sk_w\"] * -0.0572, p[\"sk_h\"] * 0.395), (p[\"sk_w\"] * -0.262, p[\"sk_h\"] * 0.2811)]).spline([(p[\"sk_w\"] * -0.262, p[\"sk_h\"] * 0.2811), (p[\"sk_w\"] * -0.3325, p[\"sk_h\"] * -0.0102), (p[\"sk_w\"] * -0.3362, p[\"sk_h\"] * -0.3098)]).spline([(p[\"sk_w\"] * -0.3362, p[\"sk_h\"] * -0.3098), (p[\"sk_w\"] * -0.1529, p[\"sk_h\"] * -0.3987), (p[\"sk_w\"] * 0.0472, p[\"sk_h\"] * -0.4374)]).threePointArc((p[\"sk_w\"] * 0.2483, p[\"sk_h\"] * -0.2202), (p[\"sk_w\"] * 0.376, p[\"sk_h\"] * 0.0635)).close().extrude(p[\"sk_t\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462ca179_1477", "family": "tapped", "tier": 0, "seed": 1177330041, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "d49d7591cfdde818", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 5500.0, "surface_area": 2290.0, "principal_moments": [299000.0, 299000.0, 449000.0], "n_faces": 87, "n_edges": 233, "n_vertices": 148}, "dimensions": {"lines": ["One M8x1.25 tapped hole in a cylinder."], "text": "One M8x1.25 tapped hole in a cylinder."}, "params": {"major_d": {"type": "float", "default": 8.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 1.25, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 12.8, "min": 9.6, "max": 23.0, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "body_d": {"type": "float", "default": 24.5, "min": 14.4, "max": 39.2, "step": 1.0, "group": "Body", "label": "Outer \u00d8 (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330041 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.25, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 12.8, \"min\": 9.6, \"max\": 23.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"body_d\": {\"type\": 'float', \"default\": 24.5, \"min\": 14.4, \"max\": 39.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer \u00d8 (mm)'},\n}\n\n\ndef build(p):\n\n    _W = _D = p[\"body_d\"]\n    _H = p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Cylinder(radius=_W / 2, height=_H)\n    _locs = [(0.0, 0.0)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca17a_1478", "family": "revolved", "tier": 1, "seed": 1177330042, "symmetry": "radial", "op_count": 1, "ir_hash": "5ebe558c1d4e062f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 19100.0, "surface_area": 6790.0, "principal_moments": [3600000.0, 3610000.0, 3610000.0], "n_faces": 4, "n_edges": 6, "n_vertices": 4}, "dimensions": {"lines": ["Revolved body, \u00d833.38 mm \u00d7 33.8 mm tall with \u00d819.9 mm bore."], "text": "Revolved body, \u00d833.38 mm \u00d7 33.8 mm tall with \u00d819.9 mm bore."}, "params": {"outer_d": {"type": "float", "default": 33.38, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 33.8, "min": 10.1, "max": 101.4, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 19.9, "min": 2.0, "max": 23.4, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330042 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 33.38, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 33.8, \"min\": 10.1, \"max\": 101.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 19.9, \"min\": 2.0, \"max\": 23.4, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca17b_1479", "family": "plate", "tier": 0, "seed": 1177330043, "symmetry": "none", "op_count": 1, "ir_hash": "274932acde38b549", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 22700.0, "surface_area": 7390.0, "principal_moments": [4350000.0, 6930000.0, 11000000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 60 \u00d7 47.3 \u00d7 8 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 60 \u00d7 47.3 \u00d7 8 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 60, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 47.3, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330043 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 60, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 47.3, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462ca17c_1480", "family": "gear", "tier": 0, "seed": 1177330044, "symmetry": "none", "op_count": 1, "ir_hash": "59e9888b9822403a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 550000.0, "surface_area": 60300.0, "principal_moments": [683000000.0, 683000000.0, 1210000000.0], "n_faces": 134, "n_edges": 396, "n_vertices": 264}, "dimensions": {"lines": ["Spur gear, module 6 mm, 22 teeth (pitch \u00d8132 mm), face width 40.8 mm."], "text": "Spur gear, module 6 mm, 22 teeth (pitch \u00d8132 mm), face width 40.8 mm."}, "params": {"module": {"type": "float", "default": 6.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 22, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 40.8, "min": 16.3, "max": 102.0, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330044 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 6.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 22, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 40.8, \"min\": 16.3, \"max\": 102.0, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462ca17d_1481", "family": "flanged", "tier": 1, "seed": 1177330045, "symmetry": "none", "op_count": 2, "ir_hash": "6b788920e3e21ab7", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 14600.0, "surface_area": 6630.0, "principal_moments": [1880000.0, 2300000.0, 2300000.0], "n_faces": 12, "n_edges": 27, "n_vertices": 18}, "dimensions": {"lines": ["Revolved body, \u00d824.14 mm \u00d7 30.6 mm tall with \u00d88.9 mm bore, \u00d846.5 mm \u00d7 2.1 mm flange.", "Six \u00d83.2 mm holes on a \u00d827.8 mm bolt circle."], "text": "Revolved body, \u00d824.14 mm \u00d7 30.6 mm tall with \u00d88.9 mm bore, \u00d846.5 mm \u00d7 2.1 mm flange. Six \u00d83.2 mm holes on a \u00d827.8 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 24.14, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 30.6, "min": 9.2, "max": 76.5, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 8.9, "min": 2.0, "max": 16.9, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 46.5, "min": 31.4, "max": 72.4, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 2.1, "min": 0.6, "max": 12.2, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 13.9, "min": 9.3, "max": 20.9, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 6, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330045 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 24.14, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 30.6, \"min\": 9.2, \"max\": 76.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 8.9, \"min\": 2.0, \"max\": 16.9, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 46.5, \"min\": 31.4, \"max\": 72.4, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 2.1, \"min\": 0.6, \"max\": 12.2, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 13.9, \"min\": 9.3, \"max\": 20.9, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca17e_1482", "family": "compound", "tier": 1, "seed": 1177330046, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "7b2ba9f60155e32e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 129000.0, "surface_area": 16200.0, "principal_moments": [47399999.99999999, 58099999.99999999, 62799999.99999999], "n_faces": 10, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["Rectangular body, 55 \u00d7 45.3 \u00d7 50 mm (W\u00d7D\u00d7H).", "\u00d815 mm circular section attachment, 13 mm long, from left face.", "\u00d815 mm circular section attachment, 13 mm long, from right face."], "text": "Rectangular body, 55 \u00d7 45.3 \u00d7 50 mm (W\u00d7D\u00d7H). \u00d815 mm circular section attachment, 13 mm long, from left face. \u00d815 mm circular section attachment, 13 mm long, from right face."}, "params": {"block_w": {"type": "float", "default": 55, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body width (mm)"}, "block_d": {"type": "float", "default": 45.3, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body depth (mm)"}, "block_h": {"type": "float", "default": 50.0, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body height (mm)"}, "port_d": {"type": "float", "default": 15.0, "min": 6.0, "max": 20.4, "step": 1.0, "group": "Ports", "label": "Ports diameter (mm)"}, "port_len": {"type": "float", "default": 13.0, "min": 3.8, "max": 45.0, "step": 1.0, "group": "Ports", "label": "Port boss length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330046 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 55, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 45.3, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 50.0, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body height (mm)'},\n    \"port_d\": {\"type\": 'float', \"default\": 15.0, \"min\": 6.0, \"max\": 20.4, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Ports diameter (mm)'},\n    \"port_len\": {\"type\": 'float', \"default\": 13.0, \"min\": 3.8, \"max\": 45.0, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Port boss length (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462ca17f_1483", "family": "threaded", "tier": 2, "seed": 1177330047, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "69f57329df132beb", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 29200.0, "surface_area": 11000.0, "principal_moments": [3830000.0, 10900000.0, 10900000.0], "n_faces": 479, "n_edges": 1369, "n_vertices": 892}, "dimensions": {"lines": ["M16x2 internal thread, 61 mm long."], "text": "M16x2 internal thread, 61 mm long."}, "params": {"major_d": {"type": "float", "default": 16.0, "min": 4.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Major diameter (mm)"}, "pitch": {"type": "float", "default": 2.0, "min": 1.0, "max": 4.0, "step": 0.05, "group": "Thread", "label": "Pitch (mm)"}, "thread_len": {"type": "float", "default": 61.0, "min": 24.4, "max": 122.0, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330047 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 16.0, \"min\": 4.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Major diameter (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 2.0, \"min\": 1.0, \"max\": 4.0, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Pitch (mm)'},\n    \"thread_len\": {\"type\": 'float', \"default\": 61.0, \"min\": 24.4, \"max\": 122.0, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.IsoThread(major_diameter=p[\"major_d\"], pitch=p[\"pitch\"], length=p[\"thread_len\"], external=False, end_finishes=(\"fade\", \"fade\"))\n    _body = _bd.Cylinder(radius=(p[\"major_d\"]) * 0.9, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _bore = _bd.Cylinder(radius=(p[\"major_d\"]) / 2, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = (_body - _bore) + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462ca180_1484", "family": "ribbed", "tier": 1, "seed": 1177330048, "symmetry": "none", "op_count": 2, "ir_hash": "9e51ea8bfb23843d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 34000.0, "surface_area": 15500.0, "principal_moments": [11499999.999999998, 17900000.0, 28899999.999999996], "n_faces": 38, "n_edges": 92, "n_vertices": 56}, "dimensions": {"lines": ["Rectangular body, 78.66 \u00d7 62.9 \u00d7 6 mm (W\u00d7D\u00d7H).", "Four ribs, 2.3 mm thick, 7.4 mm tall."], "text": "Rectangular body, 78.66 \u00d7 62.9 \u00d7 6 mm (W\u00d7D\u00d7H). Four ribs, 2.3 mm thick, 7.4 mm tall."}, "params": {"base_w": {"type": "float", "default": 78.66, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 62.9, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 6.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 4, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 7.4, "min": 3.0, "max": 14.8, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 2.3, "min": 1.0, "max": 5.8, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330048 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 78.66, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 62.9, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 4, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 7.4, \"min\": 3.0, \"max\": 14.8, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 2.3, \"min\": 1.0, \"max\": 5.8, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462ca181_1485", "family": "swept", "tier": 1, "seed": 1177330049, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "f066f4776d9265ae", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 2560.0, "surface_area": 1770.0, "principal_moments": [132000.0, 1200000.0, 1320000.0], "n_faces": 3, "n_edges": 3, "n_vertices": 2}, "dimensions": {"lines": ["\u00d86.2 mm circular section swept along a curved path, ~75 mm span."], "text": "\u00d86.2 mm circular section swept along a curved path, ~75 mm span."}, "params": {"path_w": {"type": "float", "default": 75, "min": 37.5, "max": 135.0, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 71.75, "min": 35.9, "max": 129.2, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_d": {"type": "float", "default": 6.2, "min": 3.1, "max": 11.2, "step": 1.0, "group": "Section", "label": "Section diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330049 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 75, \"min\": 37.5, \"max\": 135.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 71.75, \"min\": 35.9, \"max\": 129.2, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_d\": {\"type\": 'float', \"default\": 6.2, \"min\": 3.1, \"max\": 11.2, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.1645, p[\"path_h\"] * 0.4281), (p[\"path_w\"] * 0.2444, p[\"path_h\"] * 0.4984), (p[\"path_w\"] * 0.0558, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').circle(p[\"sweep_d\"] / 2).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca182_1486", "family": "bracket", "tier": 1, "seed": 1177330050, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "810f3ec160e55499", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 25900.0, "surface_area": 15100.0, "principal_moments": [6830000.0, 54599999.99999999, 57499999.99999999], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Z-bracket: base leg 80.9 mm, vertical leg 65.6 mm, top leg 78.7 mm, 30 mm wide, 4 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."], "text": "Z-bracket: base leg 80.9 mm, vertical leg 65.6 mm, top leg 78.7 mm, 30 mm wide, 4 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 80.9, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 65.6, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 30, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 4.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 78.7, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330050 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 80.9, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 65.6, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 30, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 78.7, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462ca183_1487", "family": "sketched", "tier": 1, "seed": 1177330051, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "e8680e6111cafe85", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 73500.0, "surface_area": 11000.0, "principal_moments": [17200000.0, 25199999.999999996, 33299999.999999996], "n_faces": 9, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["freeform sketched section (6 segments: 2 straight, 3 arcs, 1 curve), ~57.183 \u00d7 59.658 mm, extruded 27.26 mm thick.", "One \u00d84.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "freeform sketched section (6 segments: 2 straight, 3 arcs, 1 curve), ~57.183 \u00d7 59.658 mm, extruded 27.26 mm thick. One \u00d84.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"sk_w": {"type": "float", "default": 70, "min": 35.0, "max": 126.0, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 82.48, "min": 41.2, "max": 148.5, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "sk_t": {"type": "float", "default": 27.26, "min": 10.9, "max": 60.0, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "sk_hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 8.6, "step": 0.5, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330051 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 70, \"min\": 35.0, \"max\": 126.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 82.48, \"min\": 41.2, \"max\": 148.5, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"sk_t\": {\"type\": 'float', \"default\": 27.26, \"min\": 10.9, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"sk_hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 8.6, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.3465, p[\"sk_h\"] * 0.0337).lineTo(p[\"sk_w\"] * 0.2555, p[\"sk_h\"] * 0.4198).spline([(p[\"sk_w\"] * 0.2555, p[\"sk_h\"] * 0.4198), (p[\"sk_w\"] * -0.0244, p[\"sk_h\"] * 0.3804), (p[\"sk_w\"] * -0.2693, p[\"sk_h\"] * 0.2394)]).lineTo(p[\"sk_w\"] * -0.4704, p[\"sk_h\"] * 0.1301).threePointArc((p[\"sk_w\"] * -0.451, p[\"sk_h\"] * -0.0933), (p[\"sk_w\"] * -0.3447, p[\"sk_h\"] * -0.2875)).threePointArc((p[\"sk_w\"] * -0.1119, p[\"sk_h\"] * -0.35), (p[\"sk_w\"] * 0.1361, p[\"sk_h\"] * -0.3035)).threePointArc((p[\"sk_w\"] * 0.2648, p[\"sk_h\"] * -0.1485), (p[\"sk_w\"] * 0.3465, p[\"sk_h\"] * 0.0337)).close().extrude(p[\"sk_t\"]))\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"sk_hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca184_1488", "family": "revolved", "tier": 1, "seed": 1177330052, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "efe829a722988d9d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 383000.0, "surface_area": 46800.0, "principal_moments": [324000000.0, 595000000.0, 595000000.0], "n_faces": 4, "n_edges": 6, "n_vertices": 4}, "dimensions": {"lines": ["Revolved body, \u00d873.98 mm \u00d7 116.6 mm tall with \u00d836 mm bore."], "text": "Revolved body, \u00d873.98 mm \u00d7 116.6 mm tall with \u00d836 mm bore."}, "params": {"outer_d": {"type": "float", "default": 73.98, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 116.6, "min": 35.0, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 36.0, "min": 2.0, "max": 51.8, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330052 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 73.98, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 116.6, \"min\": 35.0, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 36.0, \"min\": 2.0, \"max\": 51.8, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca185_1489", "family": "plate", "tier": 3, "seed": 1177330053, "symmetry": "mirror_xy", "op_count": 3, "ir_hash": "be24a602f5592af0", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 31000.0, "surface_area": 9960.0, "principal_moments": [3700000.0, 20200000.0, 23199999.999999996], "n_faces": 19, "n_edges": 56, "n_vertices": 36}, "dimensions": {"lines": ["Rectangular body, 85 \u00d7 35 \u00d7 12 mm (W\u00d7D\u00d7H).", "Four \u00d85.3 mm countersunk holes (82\u00b0) at the corners, 59.5 \u00d7 24.5 mm spacing.", "Pocket 36.2 \u00d7 17.3 mm, 5.3 mm deep, in top face."], "text": "Rectangular body, 85 \u00d7 35 \u00d7 12 mm (W\u00d7D\u00d7H). Four \u00d85.3 mm countersunk holes (82\u00b0) at the corners, 59.5 \u00d7 24.5 mm spacing. Pocket 36.2 \u00d7 17.3 mm, 5.3 mm deep, in top face."}, "params": {"plate_w": {"type": "float", "default": 85, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 35.0, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 7.9, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "cs_angle": {"type": "float", "default": 82.0, "min": 60.0, "max": 120.0, "step": 15.0, "group": "Holes", "label": "Countersink angle (\u00b0)"}, "pocket_w": {"type": "float", "default": 36.2, "min": 18.1, "max": 68.0, "step": 1.0, "group": "Pocket", "label": "Pocket width (mm)"}, "pocket_d": {"type": "float", "default": 17.3, "min": 8.7, "max": 28.0, "step": 1.0, "group": "Pocket", "label": "Pocket depth (mm)"}, "pocket_h": {"type": "float", "default": 5.3, "min": 2.1, "max": 10.2, "step": 0.5, "group": "Pocket", "label": "Pocket height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330053 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 85, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 35.0, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 7.9, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"cs_angle\": {\"type\": 'float', \"default\": 82.0, \"min\": 60.0, \"max\": 120.0, \"step\": 15.0, \"group\": 'Holes', \"label\": 'Countersink angle (\u00b0)'},\n    \"pocket_w\": {\"type\": 'float', \"default\": 36.2, \"min\": 18.1, \"max\": 68.0, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket width (mm)'},\n    \"pocket_d\": {\"type\": 'float', \"default\": 17.3, \"min\": 8.7, \"max\": 28.0, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket depth (mm)'},\n    \"pocket_h\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.1, \"max\": 10.2, \"step\": 0.5, \"group\": 'Pocket', \"label\": 'Pocket height (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().cskHole(p[\"hole_d\"], p[\"hole_d\"] * 2, p[\"cs_angle\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"pocket_w\"], p[\"pocket_d\"])\n        .cutBlind(-p[\"pocket_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca186_1490", "family": "bracket", "tier": 1, "seed": 1177330054, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "5585c0bd95b4b867", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 61100.0, "surface_area": 18500.0, "principal_moments": [28799999.999999996, 55999999.99999999, 61799999.99999999], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["L-bracket: base leg 70 mm, vertical leg 69.9 mm, 58.13 mm wide, 8 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."], "text": "L-bracket: base leg 70 mm, vertical leg 69.9 mm, 58.13 mm wide, 8 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 70, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 69.9, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 58.13, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 8.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330054 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 70, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 69.9, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 58.13, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462ca187_1491", "family": "swept", "tier": 0, "seed": 1177330055, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "f76108ac25002822", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 6060.0, "surface_area": 3650.0, "principal_moments": [849000.0, 2680000.0, 3460000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["11.1 \u00d7 8.1 mm rectangular section swept along a curved path, ~75 mm span."], "text": "11.1 \u00d7 8.1 mm rectangular section swept along a curved path, ~75 mm span."}, "params": {"path_w": {"type": "float", "default": 61.12, "min": 30.6, "max": 110.0, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 75, "min": 37.5, "max": 135.0, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_a": {"type": "float", "default": 11.1, "min": 5.5, "max": 20.0, "step": 1.0, "group": "Section", "label": "Section width (mm)"}, "sweep_b": {"type": "float", "default": 8.1, "min": 4.0, "max": 14.6, "step": 1.0, "group": "Section", "label": "Section depth (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330055 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 61.12, \"min\": 30.6, \"max\": 110.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 75, \"min\": 37.5, \"max\": 135.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_a\": {\"type\": 'float', \"default\": 11.1, \"min\": 5.5, \"max\": 20.0, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section width (mm)'},\n    \"sweep_b\": {\"type\": 'float', \"default\": 8.1, \"min\": 4.0, \"max\": 14.6, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section depth (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.4206, p[\"path_h\"] * 0.5063), (p[\"path_w\"] * 0.2284, p[\"path_h\"] * 0.5399), (p[\"path_w\"] * 0.0133, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').rect(p[\"sweep_a\"], p[\"sweep_b\"]).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca188_1492", "family": "revolved", "tier": 1, "seed": 1177330056, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "a597068c32b729e5", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 107000.0, "surface_area": 26200.0, "principal_moments": [62799999.99999999, 62799999.99999999, 112000000.0], "n_faces": 5, "n_edges": 7, "n_vertices": 5}, "dimensions": {"lines": ["Revolved body, \u00d865 mm \u00d7 32.7 mm tall with \u00d8105.1 mm \u00d7 6.5 mm flange."], "text": "Revolved body, \u00d865 mm \u00d7 32.7 mm tall with \u00d8105.1 mm \u00d7 6.5 mm flange."}, "params": {"outer_d": {"type": "float", "default": 65, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 32.7, "min": 9.8, "max": 98.1, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "flange_d": {"type": "float", "default": 105.1, "min": 78.0, "max": 195.0, "step": 1.0, "group": "Body", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 6.5, "min": 1.9, "max": 16.4, "step": 0.5, "group": "Body", "label": "Flange height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330056 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 65, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 32.7, \"min\": 9.8, \"max\": 98.1, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 105.1, \"min\": 78.0, \"max\": 195.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 6.5, \"min\": 1.9, \"max\": 16.4, \"step\": 0.5, \"group\": 'Body', \"label\": 'Flange height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca189_1493", "family": "compound", "tier": 1, "seed": 1177330057, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "87ff38c94bc294b9", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 197000.0, "surface_area": 22600.0, "principal_moments": [99699999.99999999, 127000000.0, 180000000.0], "n_faces": 13, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Rectangular body, 62.13 \u00d7 80.7 \u00d7 38 mm (W\u00d7D\u00d7H).", "6-sided polygon section, 17.2 mm across corners attachment, 34.2 mm long, from right face."], "text": "Rectangular body, 62.13 \u00d7 80.7 \u00d7 38 mm (W\u00d7D\u00d7H). 6-sided polygon section, 17.2 mm across corners attachment, 34.2 mm long, from right face."}, "params": {"block_w": {"type": "float", "default": 62.13, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 80.7, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 38.0, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "spig_sides": {"type": "int", "default": 6, "min": 3, "max": 8, "step": 1, "group": "Spigot", "label": "Spigot sides"}, "spig_r": {"type": "float", "default": 8.6, "min": 4.3, "max": 13.3, "step": 1.0, "group": "Spigot", "label": "Spigot circumradius (mm)"}, "spig_len": {"type": "float", "default": 34.2, "min": 4.5, "max": 59.6, "step": 1.0, "group": "Spigot", "label": "Spigot length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330057 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 62.13, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 80.7, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 38.0, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"spig_sides\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Spigot', \"label\": 'Spigot sides'},\n    \"spig_r\": {\"type\": 'float', \"default\": 8.6, \"min\": 4.3, \"max\": 13.3, \"step\": 1.0, \"group\": 'Spigot', \"label\": 'Spigot circumradius (mm)'},\n    \"spig_len\": {\"type\": 'float', \"default\": 34.2, \"min\": 4.5, \"max\": 59.6, \"step\": 1.0, \"group\": 'Spigot', \"label\": 'Spigot length (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"spig_sides\"], p[\"spig_r\"] * 2).extrude(p[\"spig_len\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462ca18a_1494", "family": "lofted", "tier": 2, "seed": 1177330058, "symmetry": "none", "op_count": 2, "ir_hash": "49485f0d7c44e7d6", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 38700.0, "surface_area": 8110.0, "principal_moments": [6730000.0, 9550000.0, 9550000.0], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["Lofted body through 3 sections: 40 \u00d7 40 mm rectangular section \u2192 26.8 \u00d7 26.8 mm rectangular section \u2192 6-sided polygon section, 13.6 mm across corners.", "One \u00d84.9 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 3 sections: 40 \u00d7 40 mm rectangular section \u2192 26.8 \u00d7 26.8 mm rectangular section \u2192 6-sided polygon section, 13.6 mm across corners. One \u00d84.9 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 40, "min": 20.0, "max": 64.0, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 13.6, "min": 5.4, "max": 48.0, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 51.9, "min": 20.8, "max": 103.8, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_mid": {"type": "float", "default": 26.8, "min": 6.8, "max": 48.0, "step": 1.0, "group": "Body", "label": "Mid size (mm)"}, "loft_bore_d": {"type": "float", "default": 4.9, "min": 2.0, "max": 10.9, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330058 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 40, \"min\": 20.0, \"max\": 64.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 13.6, \"min\": 5.4, \"max\": 48.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 51.9, \"min\": 20.8, \"max\": 103.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_mid\": {\"type\": 'float', \"default\": 26.8, \"min\": 6.8, \"max\": 48.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Mid size (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 4.9, \"min\": 2.0, \"max\": 10.9, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .rect(p[\"loft_base\"], p[\"loft_base\"])\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .rect(p[\"loft_mid\"], p[\"loft_mid\"])\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .polygon(6, p[\"loft_top\"] * 0.5 * 2)\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462ca18b_1495", "family": "sketched", "tier": 1, "seed": 1177330059, "symmetry": "none", "op_count": 1, "ir_hash": "4aa5bbef6c16a2d8", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 9300.0, "surface_area": 4480.0, "principal_moments": [321000.0, 2960000.0, 2960000.0], "n_faces": 7, "n_edges": 12, "n_vertices": 7}, "dimensions": {"lines": ["Revolved organic body from a freeform sketched section (6 segments: 6 straight), ~7.868 \u00d7 67.94 mm half-silhouette."], "text": "Revolved organic body from a freeform sketched section (6 segments: 6 straight), ~7.868 \u00d7 67.94 mm half-silhouette."}, "params": {"sk_r": {"type": "float", "default": 15, "min": 7.5, "max": 27.0, "step": 1.0, "group": "Sketch", "label": "Max radius (mm)"}, "sk_h": {"type": "float", "default": 67.94, "min": 34.0, "max": 122.3, "step": 1.0, "group": "Sketch", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330059 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_r\": {\"type\": 'float', \"default\": 15, \"min\": 7.5, \"max\": 27.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Max radius (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 67.94, \"min\": 34.0, \"max\": 122.3, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XZ').moveTo(p[\"sk_r\"] * 0.5703, p[\"sk_h\"] * 0.0).lineTo(p[\"sk_r\"] * 0.3386, p[\"sk_h\"] * 0.2392).lineTo(p[\"sk_r\"] * 0.6941, p[\"sk_h\"] * 0.3844).lineTo(p[\"sk_r\"] * 0.2809, p[\"sk_h\"] * 0.7977).lineTo(p[\"sk_r\"] * 0.4506, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.1696, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.1696, p[\"sk_h\"] * 0.0).close().revolve())\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca18c_1496", "family": "revolved", "tier": 2, "seed": 1177330060, "symmetry": "none", "op_count": 1, "ir_hash": "c8308fcca573164b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 20500.0, "surface_area": 7010.0, "principal_moments": [4540000.0, 4540000.0, 8610000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d852.9 mm \u00d7 14 mm tall."], "text": "Revolved body, \u00d852.9 mm \u00d7 14 mm tall."}, "params": {"outer_d": {"type": "float", "default": 52.9, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 14.0, "min": 4.2, "max": 42.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330060 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 52.9, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 14.0, \"min\": 4.2, \"max\": 42.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca18d_1497", "family": "compound", "tier": 1, "seed": 1177330061, "symmetry": "mirror_xy", "op_count": 3, "ir_hash": "5be3f819d9e09f2c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 141000.0, "surface_area": 18600.0, "principal_moments": [50399999.99999999, 74700000.0, 88500000.0], "n_faces": 24, "n_edges": 64, "n_vertices": 42}, "dimensions": {"lines": ["Rectangular body, 69.03 \u00d7 52 \u00d7 39.4 mm (W\u00d7D\u00d7H).", "6-sided polygon section, 9.4 mm across corners attachment, 7.7 mm long, from back face with a \u00d83.5 mm bore.", "6-sided polygon section, 9.4 mm across corners attachment, 7.7 mm long, from left face with a \u00d83.5 mm bore."], "text": "Rectangular body, 69.03 \u00d7 52 \u00d7 39.4 mm (W\u00d7D\u00d7H). 6-sided polygon section, 9.4 mm across corners attachment, 7.7 mm long, from back face with a \u00d83.5 mm bore. 6-sided polygon section, 9.4 mm across corners attachment, 7.7 mm long, from left face with a \u00d83.5 mm bore."}, "params": {"block_w": {"type": "float", "default": 69.03, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body width (mm)"}, "block_d": {"type": "float", "default": 52.0, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body depth (mm)"}, "block_h": {"type": "float", "default": 39.4, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body height (mm)"}, "port_sides": {"type": "int", "default": 6, "min": 3, "max": 8, "step": 1, "group": "Ports", "label": "Ports sides"}, "port_r": {"type": "float", "default": 4.7, "min": 2.4, "max": 8.8, "step": 1.0, "group": "Ports", "label": "Ports circumradius (mm)"}, "port_len": {"type": "float", "default": 7.7, "min": 2.0, "max": 24.4, "step": 1.0, "group": "Ports", "label": "Port boss length (mm)"}, "port_bore": {"type": "float", "default": 3.5, "min": 2.0, "max": 5.9, "step": 0.5, "group": "Ports", "label": "Port bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330061 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 69.03, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 52.0, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 39.4, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body height (mm)'},\n    \"port_sides\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Ports', \"label\": 'Ports sides'},\n    \"port_r\": {\"type\": 'float', \"default\": 4.7, \"min\": 2.4, \"max\": 8.8, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Ports circumradius (mm)'},\n    \"port_len\": {\"type\": 'float', \"default\": 7.7, \"min\": 2.0, \"max\": 24.4, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Port boss length (mm)'},\n    \"port_bore\": {\"type\": 'float', \"default\": 3.5, \"min\": 2.0, \"max\": 5.9, \"step\": 0.5, \"group\": 'Ports', \"label\": 'Port bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"port_sides\"], p[\"port_r\"] * 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"port_sides\"], p[\"port_r\"] * 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462ca18e_1498", "family": "gear", "tier": 0, "seed": 1177330062, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "fd7924a49d9f0e91", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 194000.0, "surface_area": 30400.0, "principal_moments": [124000000.0, 124000000.0, 225000000.0], "n_faces": 146, "n_edges": 432, "n_vertices": 288}, "dimensions": {"lines": ["Spur gear, module 4 mm, 24 teeth (pitch \u00d896 mm), face width 27.1 mm."], "text": "Spur gear, module 4 mm, 24 teeth (pitch \u00d896 mm), face width 27.1 mm."}, "params": {"module": {"type": "float", "default": 4.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 24, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 27.1, "min": 10.8, "max": 67.8, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330062 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 4.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 24, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 27.1, \"min\": 10.8, \"max\": 67.8, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca18f_1499", "family": "plate", "tier": 0, "seed": 1177330063, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "422504fca564deb2", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 54500.0, "surface_area": 16400.0, "principal_moments": [15299999.999999998, 63899999.99999999, 78600000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 118.39 \u00d7 57.5 \u00d7 8 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 118.39 \u00d7 57.5 \u00d7 8 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 118.39, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 57.5, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330063 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 118.39, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 57.5, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca190_1500", "family": "block", "tier": 1, "seed": 1177330064, "symmetry": "none", "op_count": 2, "ir_hash": "7ff500c602479273", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 35800.0, "surface_area": 10200.0, "principal_moments": [4540000.0, 12399999.999999998, 15199999.999999998], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["Rectangular body, 35 \u00d7 17 \u00d7 62.2 mm (W\u00d7D\u00d7H).", "Seven \u00d81.9 mm holes in two staggered rows, 8.8 \u00d7 9.8 mm pitch."], "text": "Rectangular body, 35 \u00d7 17 \u00d7 62.2 mm (W\u00d7D\u00d7H). Seven \u00d81.9 mm holes in two staggered rows, 8.8 \u00d7 9.8 mm pitch."}, "params": {"block_w": {"type": "float", "default": 35, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 17.0, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 62.2, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 1.9, "min": 2.0, "max": 1.7, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 4, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330064 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 35, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 17.0, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 62.2, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 1.9, \"min\": 2.0, \"max\": 1.7, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 4, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 8.8\n    _ssy = 9.8\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca191_1501", "family": "plate", "tier": 1, "seed": 1177330065, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "900b3a4c28c4ab5b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 43400.0, "surface_area": 16800.0, "principal_moments": [16900000.0, 41100000.0, 57699999.99999999], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 106.5 \u00d7 68.2 \u00d7 6 mm (W\u00d7D\u00d7H).", "Four \u00d83.2 mm holes at the corners, 74.55 \u00d7 47.74 mm spacing."], "text": "Rectangular body, 106.5 \u00d7 68.2 \u00d7 6 mm (W\u00d7D\u00d7H). Four \u00d83.2 mm holes at the corners, 74.55 \u00d7 47.74 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 106.5, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 68.2, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 6.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330065 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 106.5, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 68.2, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462ca192_1502", "family": "ribbed", "tier": 2, "seed": 1177330066, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "0ebb98cbd1a12747", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 9430.0, "surface_area": 7070.0, "principal_moments": [971000.0, 1340000.0, 1400000.0], "n_faces": 46, "n_edges": 128, "n_vertices": 80}, "dimensions": {"lines": ["Rectangular body, 33.38 \u00d7 21.8 \u00d7 3 mm (W\u00d7D\u00d7H).", "Four ribs, 3.8 mm thick, 19.9 mm tall.", "Four \u00d84.3 mm holes at the corners, 23.366 \u00d7 15.26 mm spacing."], "text": "Rectangular body, 33.38 \u00d7 21.8 \u00d7 3 mm (W\u00d7D\u00d7H). Four ribs, 3.8 mm thick, 19.9 mm tall. Four \u00d84.3 mm holes at the corners, 23.366 \u00d7 15.26 mm spacing."}, "params": {"base_w": {"type": "float", "default": 33.38, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 21.8, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 3.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 4, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 19.9, "min": 8.0, "max": 39.8, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 3.8, "min": 1.0, "max": 9.5, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 4.9, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330066 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 33.38, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 21.8, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 4, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 19.9, \"min\": 8.0, \"max\": 39.8, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 3.8, \"min\": 1.0, \"max\": 9.5, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 4.9, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"base_w\"] * 0.7, p[\"base_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462ca193_1503", "family": "swept", "tier": 0, "seed": 1177330067, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "76a85361332a5b19", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 14500.0, "surface_area": 4700.0, "principal_moments": [514000.0, 12199999.999999998, 12299999.999999998], "n_faces": 3, "n_edges": 3, "n_vertices": 2}, "dimensions": {"lines": ["\u00d814.3 mm circular section swept along a curved path, ~92.08 mm span."], "text": "\u00d814.3 mm circular section swept along a curved path, ~92.08 mm span."}, "params": {"path_w": {"type": "float", "default": 60.8, "min": 30.4, "max": 109.4, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 92.08, "min": 46.0, "max": 165.7, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_d": {"type": "float", "default": 14.3, "min": 7.2, "max": 25.7, "step": 1.0, "group": "Section", "label": "Section diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330067 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 60.8, \"min\": 30.4, \"max\": 109.4, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 92.08, \"min\": 46.0, \"max\": 165.7, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_d\": {\"type\": 'float', \"default\": 14.3, \"min\": 7.2, \"max\": 25.7, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.3166), (p[\"path_w\"] * 0.0757, p[\"path_h\"] * 0.3812), (p[\"path_w\"] * 0.4318, p[\"path_h\"] * 0.6714), (p[\"path_w\"] * 0.4615, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').circle(p[\"sweep_d\"] / 2).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca194_1504", "family": "plate", "tier": 1, "seed": 1177330068, "symmetry": "none", "op_count": 2, "ir_hash": "893f12ef7f1549bf", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 31800.0, "surface_area": 12800.0, "principal_moments": [7920000.0, 25899999.999999996, 33700000.0], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["Rectangular body, 98.7 \u00d7 54.2 \u00d7 6 mm (W\u00d7D\u00d7H).", "Seven \u00d83.2 mm holes in two staggered rows, 24.7 \u00d7 20.5 mm pitch."], "text": "Rectangular body, 98.7 \u00d7 54.2 \u00d7 6 mm (W\u00d7D\u00d7H). Seven \u00d83.2 mm holes in two staggered rows, 24.7 \u00d7 20.5 mm pitch."}, "params": {"plate_w": {"type": "float", "default": 98.7, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 54.2, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 6.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 5.4, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 4, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330068 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 98.7, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 54.2, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 5.4, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 4, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 24.7\n    _ssy = 20.5\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca195_1505", "family": "compound", "tier": 2, "seed": 1177330069, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "77a7168e604340d2", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 3800.0, "surface_area": 1930.0, "principal_moments": [149000.0, 218000.0, 219000.0], "n_faces": 15, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["5-sided polygon section, 21.46 mm across corners, extruded 11.7 mm thick.", "\u00d88.9 mm circular section attachment, 13.9 mm long, from top face with a \u00d83.6 mm bore.", "Fillet radius 0.759 mm on vertical edges."], "text": "5-sided polygon section, 21.46 mm across corners, extruded 11.7 mm thick. \u00d88.9 mm circular section attachment, 13.9 mm long, from top face with a \u00d83.6 mm bore. Fillet radius 0.759 mm on vertical edges."}, "params": {"base_sides": {"type": "int", "default": 5, "min": 3, "max": 8, "step": 1, "group": "Base", "label": "Base sides"}, "base_r": {"type": "float", "default": 10.73, "min": 6.4, "max": 17.2, "step": 1.0, "group": "Base", "label": "Base circumradius (mm)"}, "base_h": {"type": "float", "default": 11.7, "min": 4.7, "max": 29.2, "step": 1.0, "group": "Base", "label": "Base height (mm)"}, "col_d": {"type": "float", "default": 8.9, "min": 4.5, "max": 13.9, "step": 1.0, "group": "Column", "label": "Column diameter (mm)"}, "col_h": {"type": "float", "default": 13.9, "min": 4.2, "max": 34.8, "step": 1.0, "group": "Column", "label": "Column height (mm)"}, "col_bore": {"type": "float", "default": 3.6, "min": 2.0, "max": 6.4, "step": 0.5, "group": "Column", "label": "Column bore diameter (mm)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330069 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_sides\": {\"type\": 'int', \"default\": 5, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Base', \"label\": 'Base sides'},\n    \"base_r\": {\"type\": 'float', \"default\": 10.73, \"min\": 6.4, \"max\": 17.2, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base circumradius (mm)'},\n    \"base_h\": {\"type\": 'float', \"default\": 11.7, \"min\": 4.7, \"max\": 29.2, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base height (mm)'},\n    \"col_d\": {\"type\": 'float', \"default\": 8.9, \"min\": 4.5, \"max\": 13.9, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column diameter (mm)'},\n    \"col_h\": {\"type\": 'float', \"default\": 13.9, \"min\": 4.2, \"max\": 34.8, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column height (mm)'},\n    \"col_bore\": {\"type\": 'float', \"default\": 3.6, \"min\": 2.0, \"max\": 6.4, \"step\": 0.5, \"group\": 'Column', \"label\": 'Column bore diameter (mm)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').polygon(p[\"base_sides\"], p[\"base_r\"] * 2).extrude(p[\"base_h\"]))\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"col_d\"] / 2).extrude(p[\"col_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"col_bore\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"base_r\"], p[\"base_r\"]) * 0.07077137093865321)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462ca196_1506", "family": "tapped", "tier": 2, "seed": 1177330070, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "be7d584d47d56782", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 1890.0, "surface_area": 1170.0, "principal_moments": [53200.0, 53600.0, 53600.0], "n_faces": 135, "n_edges": 365, "n_vertices": 232}, "dimensions": {"lines": ["One M5x0.8 tapped hole in a cylinder."], "text": "One M5x0.8 tapped hole in a cylinder."}, "params": {"major_d": {"type": "float", "default": 5.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 0.8, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 13.1, "min": 6.0, "max": 23.6, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "body_d": {"type": "float", "default": 14.3, "min": 9.0, "max": 22.9, "step": 1.0, "group": "Body", "label": "Outer \u00d8 (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330070 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 0.8, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 13.1, \"min\": 6.0, \"max\": 23.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"body_d\": {\"type\": 'float', \"default\": 14.3, \"min\": 9.0, \"max\": 22.9, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer \u00d8 (mm)'},\n}\n\n\ndef build(p):\n\n    _W = _D = p[\"body_d\"]\n    _H = p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Cylinder(radius=_W / 2, height=_H)\n    _locs = [(0.0, 0.0)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462ca197_1507", "family": "flanged", "tier": 1, "seed": 1177330071, "symmetry": "none", "op_count": 2, "ir_hash": "09aade8a8690db5f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 437000.0, "surface_area": 60400.0, "principal_moments": [548000000.0, 548000000.0, 845000000.0], "n_faces": 21, "n_edges": 78, "n_vertices": 52}, "dimensions": {"lines": ["Revolved body, \u00d889.39 mm \u00d7 55.3 mm tall with \u00d827.8 mm bore, \u00d8154.8 mm \u00d7 10.2 mm flange.", "Eight \u00d86.4 mm holes on a \u00d892.8 mm bolt circle."], "text": "Revolved body, \u00d889.39 mm \u00d7 55.3 mm tall with \u00d827.8 mm bore, \u00d8154.8 mm \u00d7 10.2 mm flange. Eight \u00d86.4 mm holes on a \u00d892.8 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 89.39, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 55.3, "min": 16.6, "max": 138.2, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 27.8, "min": 2.0, "max": 62.6, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 154.8, "min": 116.2, "max": 268.2, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 10.2, "min": 3.1, "max": 22.1, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 46.4, "min": 31.0, "max": 69.7, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 8, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330071 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 89.39, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 55.3, \"min\": 16.6, \"max\": 138.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 27.8, \"min\": 2.0, \"max\": 62.6, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 154.8, \"min\": 116.2, \"max\": 268.2, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 10.2, \"min\": 3.1, \"max\": 22.1, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 46.4, \"min\": 31.0, \"max\": 69.7, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca198_1508", "family": "plate", "tier": 1, "seed": 1177330072, "symmetry": "none", "op_count": 2, "ir_hash": "3a9894034ba67a1c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 72700.0, "surface_area": 18800.0, "principal_moments": [40500000.0, 49999999.99999999, 89300000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 90.73 \u00d7 81.5 \u00d7 10 mm (W\u00d7D\u00d7H).", "Four \u00d86.4 mm holes at the corners, 63.511 \u00d7 57.05 mm spacing."], "text": "Rectangular body, 90.73 \u00d7 81.5 \u00d7 10 mm (W\u00d7D\u00d7H). Four \u00d86.4 mm holes at the corners, 63.511 \u00d7 57.05 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 90.73, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 81.5, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330072 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 90.73, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 81.5, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca199_1509", "family": "compound", "tier": 2, "seed": 1177330073, "symmetry": "none", "op_count": 4, "ir_hash": "100a8a9f306c4b2f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 21100.0, "surface_area": 6890.0, "principal_moments": [2670000.0, 3000000.0, 3100000.0], "n_faces": 20, "n_edges": 54, "n_vertices": 36}, "dimensions": {"lines": ["Rectangular body, 28.09 \u00d7 26.7 \u00d7 28.2 mm (W\u00d7D\u00d7H).", "26.2 \u00d7 21.4 mm rectangular section attachment, 5 mm long, from right face.", "Four \u00d84.3 mm holes at the corners, 15.72 \u00d7 12.84 mm spacing on the >X face.", "Pocket 11.4 \u00d7 11.4 mm, 16.7 mm deep, in top face."], "text": "Rectangular body, 28.09 \u00d7 26.7 \u00d7 28.2 mm (W\u00d7D\u00d7H). 26.2 \u00d7 21.4 mm rectangular section attachment, 5 mm long, from right face. Four \u00d84.3 mm holes at the corners, 15.72 \u00d7 12.84 mm spacing on the >X face. Pocket 11.4 \u00d7 11.4 mm, 16.7 mm deep, in top face."}, "params": {"block_w": {"type": "float", "default": 28.09, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 26.7, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 28.2, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "tab_a": {"type": "float", "default": 26.2, "min": 10.5, "max": 41.9, "step": 1.0, "group": "Tab", "label": "Tab width (mm)"}, "tab_b": {"type": "float", "default": 21.4, "min": 8.6, "max": 34.2, "step": 1.0, "group": "Tab", "label": "Tab height (mm)"}, "tab_t": {"type": "float", "default": 5.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Tab", "label": "Tab thickness (mm)"}, "tab_hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 4.7, "step": 0.1, "group": "Tab", "label": "Tab hole diameter (mm)"}, "pocket_w": {"type": "float", "default": 11.4, "min": 5.7, "max": 22.5, "step": 1.0, "group": "Pocket", "label": "Pocket width (mm)"}, "pocket_d": {"type": "float", "default": 11.4, "min": 5.7, "max": 21.4, "step": 1.0, "group": "Pocket", "label": "Pocket depth (mm)"}, "pocket_h": {"type": "float", "default": 16.7, "min": 6.7, "max": 24.0, "step": 0.5, "group": "Pocket", "label": "Pocket height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330073 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 28.09, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 26.7, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 28.2, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"tab_a\": {\"type\": 'float', \"default\": 26.2, \"min\": 10.5, \"max\": 41.9, \"step\": 1.0, \"group\": 'Tab', \"label\": 'Tab width (mm)'},\n    \"tab_b\": {\"type\": 'float', \"default\": 21.4, \"min\": 8.6, \"max\": 34.2, \"step\": 1.0, \"group\": 'Tab', \"label\": 'Tab height (mm)'},\n    \"tab_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Tab', \"label\": 'Tab thickness (mm)'},\n    \"tab_hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 4.7, \"step\": 0.1, \"group\": 'Tab', \"label\": 'Tab hole diameter (mm)'},\n    \"pocket_w\": {\"type\": 'float', \"default\": 11.4, \"min\": 5.7, \"max\": 22.5, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket width (mm)'},\n    \"pocket_d\": {\"type\": 'float', \"default\": 11.4, \"min\": 5.7, \"max\": 21.4, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket depth (mm)'},\n    \"pocket_h\": {\"type\": 'float', \"default\": 16.7, \"min\": 6.7, \"max\": 24.0, \"step\": 0.5, \"group\": 'Pocket', \"label\": 'Pocket height (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .rect(p[\"tab_a\"], p[\"tab_b\"]).extrude(p[\"tab_t\"])\n    )\n    result = (\n        result.faces('>X').workplane()\n        .rect(p[\"tab_a\"] * 0.6, p[\"tab_b\"] * 0.6, forConstruction=True)\n        .vertices().hole(p[\"tab_hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"pocket_w\"], p[\"pocket_d\"])\n        .cutBlind(-p[\"pocket_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca19a_1510", "family": "revolved", "tier": 1, "seed": 1177330074, "symmetry": "radial", "op_count": 2, "ir_hash": "aaa77879cea10b32", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 87900.0, "surface_area": 17000.0, "principal_moments": [36000000.0, 36000000.0, 39900000.0], "n_faces": 5, "n_edges": 8, "n_vertices": 5}, "dimensions": {"lines": ["Revolved body, \u00d855 mm \u00d7 55.6 mm tall.", "Chamfer 1 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d855 mm \u00d7 55.6 mm tall. Chamfer 1 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 55, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 55.6, "min": 16.7, "max": 166.8, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "end_chamfer": {"type": "float", "default": 1.0, "min": 0.1, "max": 3.0, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330074 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 55, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 55.6, \"min\": 16.7, \"max\": 166.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 1.0, \"min\": 0.1, \"max\": 3.0, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca19b_1511", "family": "bracket", "tier": 3, "seed": 1177330075, "symmetry": "none", "op_count": 1, "ir_hash": "ab2523586c1498d3", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 27000.0, "surface_area": 12900.0, "principal_moments": [6680000.0, 39500000.0, 42700000.0], "n_faces": 18, "n_edges": 48, "n_vertices": 32}, "dimensions": {"lines": ["Z-bracket: base leg 70 mm, vertical leg 77.1 mm, top leg 47.4 mm, 28.11 mm wide, 5 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg; 6.6 mm corner gusset."], "text": "Z-bracket: base leg 70 mm, vertical leg 77.1 mm, top leg 47.4 mm, 28.11 mm wide, 5 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg; 6.6 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 70, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 77.1, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 28.11, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 5.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 47.4, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}, "gusset_t": {"type": "float", "default": 6.6, "min": 2.5, "max": 14.1, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330075 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 70, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 77.1, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 28.11, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 47.4, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 6.6, \"min\": 2.5, \"max\": 14.1, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _tl, _vl) * 0.4 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(0, _vl - _bt).lineTo(-_g, _vl - _bt)\n                    .lineTo(0, _vl - _bt - _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462ca19c_1512", "family": "tapped", "tier": 2, "seed": 1177330076, "symmetry": "none", "op_count": 1, "ir_hash": "f42562cf45cc9d03", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 43100.0, "surface_area": 10800.0, "principal_moments": [11399999.999999998, 12799999.999999998, 22799999.999999996], "n_faces": 458, "n_edges": 1256, "n_vertices": 800}, "dimensions": {"lines": ["Four M6x1 tapped holes in a plate."], "text": "Four M6x1 tapped holes in a plate."}, "params": {"major_d": {"type": "float", "default": 6.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 1.0, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 14.0, "min": 7.2, "max": 25.2, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "plate_w": {"type": "float", "default": 57.99, "min": 34.8, "max": 92.8, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 54.7, "min": 32.8, "max": 87.5, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330076 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.0, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 14.0, \"min\": 7.2, \"max\": 25.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"plate_w\": {\"type\": 'float', \"default\": 57.99, \"min\": 34.8, \"max\": 92.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 54.7, \"min\": 32.8, \"max\": 87.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n}\n\n\ndef build(p):\n\n    _W, _D, _H = p[\"plate_w\"], p[\"plate_d\"], p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Box(_W, _D, _H)\n    _sx, _sy = p[\"plate_w\"] * 0.6, p[\"plate_d\"] * 0.6\n    _locs = [(_xx, _yy) for _xx in (-_sx / 2, _sx / 2) for _yy in (-_sy / 2, _sy / 2)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462ca19d_1513", "family": "gear", "tier": 1, "seed": 1177330077, "symmetry": "none", "op_count": 1, "ir_hash": "5dfc6b722e447caa", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 395000.0, "surface_area": 51200.0, "principal_moments": [396000000.0, 396000000.0, 680000000.0], "n_faces": 117, "n_edges": 345, "n_vertices": 230}, "dimensions": {"lines": ["Spur gear, module 6 mm, 19 teeth (pitch \u00d8114 mm), face width 41.1 mm, \u00d822.9 mm bore."], "text": "Spur gear, module 6 mm, 19 teeth (pitch \u00d8114 mm), face width 41.1 mm, \u00d822.9 mm bore."}, "params": {"module": {"type": "float", "default": 6.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 19, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 41.1, "min": 16.4, "max": 102.8, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "bore_d": {"type": "float", "default": 22.9, "min": 2.0, "max": 59.4, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330077 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 6.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 19, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 41.1, \"min\": 16.4, \"max\": 102.8, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 22.9, \"min\": 2.0, \"max\": 59.4, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462ca19e_1514", "family": "gear", "tier": 1, "seed": 1177330078, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "b04a2936bdd735b3", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 1240.0, "surface_area": 1110.0, "principal_moments": [30200.0, 30200.0, 54700.0], "n_faces": 75, "n_edges": 219, "n_vertices": 146}, "dimensions": {"lines": ["Spur gear, module 1.5 mm, 12 teeth (pitch \u00d818 mm), face width 5.2 mm, \u00d83 mm bore."], "text": "Spur gear, module 1.5 mm, 12 teeth (pitch \u00d818 mm), face width 5.2 mm, \u00d83 mm bore."}, "params": {"module": {"type": "float", "default": 1.5, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 12, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 5.2, "min": 2.1, "max": 13.0, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "bore_d": {"type": "float", "default": 3.0, "min": 2.0, "max": 8.5, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330078 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 1.5, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 12, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 5.2, \"min\": 2.1, \"max\": 13.0, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 3.0, \"min\": 2.0, \"max\": 8.5, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca1a0_1516", "family": "block", "tier": 2, "seed": 1177330080, "symmetry": "none", "op_count": 3, "ir_hash": "473f0da937f1b2d9", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 32400.0, "surface_area": 11100.0, "principal_moments": [4870000.0, 8270000.0, 8490000.0], "n_faces": 15, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 30 \u00d7 28.1 \u00d7 47.9 mm (W\u00d7D\u00d7H).", "Four \u00d84.3 mm holes at the corners, 21 \u00d7 19.67 mm spacing.", "Pocket 20 \u00d7 12 mm, 21.5 mm deep, in top face."], "text": "Rectangular body, 30 \u00d7 28.1 \u00d7 47.9 mm (W\u00d7D\u00d7H). Four \u00d84.3 mm holes at the corners, 21 \u00d7 19.67 mm spacing. Pocket 20 \u00d7 12 mm, 21.5 mm deep, in top face."}, "params": {"block_w": {"type": "float", "default": 30, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 28.1, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 47.9, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 6.3, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "pocket_w": {"type": "float", "default": 20.0, "min": 10.0, "max": 24.0, "step": 1.0, "group": "Pocket", "label": "Pocket width (mm)"}, "pocket_d": {"type": "float", "default": 12.0, "min": 6.0, "max": 22.5, "step": 1.0, "group": "Pocket", "label": "Pocket depth (mm)"}, "pocket_h": {"type": "float", "default": 21.5, "min": 8.6, "max": 40.7, "step": 0.5, "group": "Pocket", "label": "Pocket height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330080 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 30, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 28.1, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 47.9, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 6.3, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"pocket_w\": {\"type\": 'float', \"default\": 20.0, \"min\": 10.0, \"max\": 24.0, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket width (mm)'},\n    \"pocket_d\": {\"type\": 'float', \"default\": 12.0, \"min\": 6.0, \"max\": 22.5, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket depth (mm)'},\n    \"pocket_h\": {\"type\": 'float', \"default\": 21.5, \"min\": 8.6, \"max\": 40.7, \"step\": 0.5, \"group\": 'Pocket', \"label\": 'Pocket height (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"pocket_w\"], p[\"pocket_d\"])\n        .cutBlind(-p[\"pocket_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462ca1a1_1517", "family": "threaded", "tier": 3, "seed": 1177330081, "symmetry": "none", "op_count": 1, "ir_hash": "8bbeefb171bed152", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 6080.0, "surface_area": 3550.0, "principal_moments": [124000.0, 1280000.0, 1280000.0], "n_faces": 170, "n_edges": 432, "n_vertices": 264}, "dimensions": {"lines": ["Tr 14x3 external thread, 49.5 mm long."], "text": "Tr 14x3 external thread, 49.5 mm long."}, "params": {"thread_size": {"type": "enum", "default": "14x3", "choices": ["8x1.5", "10x2", "12x3", "14x3", "16x4", "18x4", "20x4", "24x5", "28x5", "30x6", "36x6", "40x7"], "group": "Thread", "label": "Size designation"}, "thread_len": {"type": "float", "default": 49.5, "min": 19.8, "max": 99.0, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330081 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"thread_size\": {\"type\": 'enum', \"default\": '14x3', \"choices\": ['8x1.5', '10x2', '12x3', '14x3', '16x4', '18x4', '20x4', '24x5', '28x5', '30x6', '36x6', '40x7'], \"group\": 'Thread', \"label\": 'Size designation'},\n    \"thread_len\": {\"type\": 'float', \"default\": 49.5, \"min\": 19.8, \"max\": 99.0, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.MetricTrapezoidalThread(size=p[\"thread_size\"], length=p[\"thread_len\"], external=True, end_finishes=(\"fade\", \"fade\"))\n    _r = _thr.min_radius if hasattr(_thr, 'min_radius') else _thr.root_radius\n    _shank = _bd.Cylinder(radius=_r, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = _shank + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462ca1a2_1518", "family": "flanged", "tier": 1, "seed": 1177330082, "symmetry": "none", "op_count": 2, "ir_hash": "03d5857cb4c70e57", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 1290000.0, "surface_area": 144000.0, "principal_moments": [4790000000.0, 4870000000.0, 4870000000.0], "n_faces": 18, "n_edges": 45, "n_vertices": 30}, "dimensions": {"lines": ["Revolved body, \u00d895 mm \u00d7 140 mm tall with \u00d843.8 mm bore, \u00d8223.3 mm \u00d7 15.8 mm flange.", "Twelve \u00d83.2 mm holes on a \u00d8134 mm bolt circle."], "text": "Revolved body, \u00d895 mm \u00d7 140 mm tall with \u00d843.8 mm bore, \u00d8223.3 mm \u00d7 15.8 mm flange. Twelve \u00d83.2 mm holes on a \u00d8134 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 95, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 140.0, "min": 42.0, "max": 350.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 43.8, "min": 2.0, "max": 66.5, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 223.3, "min": 123.5, "max": 285.0, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 15.8, "min": 4.7, "max": 56.0, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 67.0, "min": 44.7, "max": 100.5, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 12, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330082 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 95, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 140.0, \"min\": 42.0, \"max\": 350.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 43.8, \"min\": 2.0, \"max\": 66.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 223.3, \"min\": 123.5, \"max\": 285.0, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 15.8, \"min\": 4.7, \"max\": 56.0, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 67.0, \"min\": 44.7, \"max\": 100.5, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 12, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca1a3_1519", "family": "bracket", "tier": 2, "seed": 1177330083, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "ba04bc051091046b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 25200.0, "surface_area": 10100.0, "principal_moments": [7370000.0, 7710000.0, 12099999.999999998], "n_faces": 14, "n_edges": 37, "n_vertices": 24}, "dimensions": {"lines": ["L-bracket: base leg 43.71 mm, vertical leg 37.2 mm, 55 mm wide, 6 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg; 8.6 mm corner gusset."], "text": "L-bracket: base leg 43.71 mm, vertical leg 37.2 mm, 55 mm wide, 6 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg; 8.6 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 43.71, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 37.2, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 55, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 6.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 8.6, "min": 3.0, "max": 18.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330083 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 43.71, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 37.2, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 55, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 8.6, \"min\": 3.0, \"max\": 18.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462ca1a4_1520", "family": "enclosure", "tier": 1, "seed": 1177330084, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "9a6061016ee91b5c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 61900.0, "surface_area": 25700.0, "principal_moments": [38400000.0, 45000000.0, 67900000.0], "n_faces": 11, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 71.14 \u00d7 63.4 \u00d7 35.8 mm (W\u00d7D\u00d7H).", "Hollowed to 5.1 mm wall thickness, open at top face."], "text": "Rectangular body, 71.14 \u00d7 63.4 \u00d7 35.8 mm (W\u00d7D\u00d7H). Hollowed to 5.1 mm wall thickness, open at top face."}, "params": {"enc_w": {"type": "float", "default": 71.14, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 63.4, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 35.8, "min": 14.3, "max": 71.6, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 5.1, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330084 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 71.14, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 63.4, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 35.8, \"min\": 14.3, \"max\": 71.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 5.1, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462ca1a5_1521", "family": "threaded", "tier": 0, "seed": 1177330085, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "06e4781f9d7edbd0", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 559.0, "surface_area": 707.0, "principal_moments": [2080.0, 28700.0, 28700.0], "n_faces": 250, "n_edges": 640, "n_vertices": 392}, "dimensions": {"lines": ["M6x1 external thread, 24.5 mm long."], "text": "M6x1 external thread, 24.5 mm long."}, "params": {"major_d": {"type": "float", "default": 6.0, "min": 4.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Major diameter (mm)"}, "pitch": {"type": "float", "default": 1.0, "min": 0.5, "max": 2.0, "step": 0.05, "group": "Thread", "label": "Pitch (mm)"}, "thread_len": {"type": "float", "default": 24.5, "min": 9.8, "max": 49.0, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330085 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 6.0, \"min\": 4.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Major diameter (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.0, \"min\": 0.5, \"max\": 2.0, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Pitch (mm)'},\n    \"thread_len\": {\"type\": 'float', \"default\": 24.5, \"min\": 9.8, \"max\": 49.0, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.IsoThread(major_diameter=p[\"major_d\"], pitch=p[\"pitch\"], length=p[\"thread_len\"], external=True, end_finishes=(\"fade\", \"fade\"))\n    _r = _thr.min_radius if hasattr(_thr, 'min_radius') else _thr.root_radius\n    _shank = _bd.Cylinder(radius=_r, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = _shank + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462ca1a6_1522", "family": "lofted", "tier": 2, "seed": 1177330086, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "ff57e8e21c9da8a2", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 14500.0, "surface_area": 4200.0, "principal_moments": [1540000.0, 1540000.0, 1730000.0], "n_faces": 8, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["Lofted body through 3 sections: \u00d831.78 mm circular section \u2192 25.9 \u00d7 25.9 mm rectangular section \u2192 20.1 \u00d7 20.1 mm rectangular section.", "One \u00d88.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 3 sections: \u00d831.78 mm circular section \u2192 25.9 \u00d7 25.9 mm rectangular section \u2192 20.1 \u00d7 20.1 mm rectangular section. One \u00d88.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 31.78, "min": 15.9, "max": 50.8, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 20.1, "min": 8.0, "max": 38.1, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 24.5, "min": 9.8, "max": 49.0, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_mid": {"type": "float", "default": 25.9, "min": 10.1, "max": 38.1, "step": 1.0, "group": "Body", "label": "Mid size (mm)"}, "loft_bore_d": {"type": "float", "default": 8.3, "min": 2.0, "max": 16.1, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330086 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 31.78, \"min\": 15.9, \"max\": 50.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 20.1, \"min\": 8.0, \"max\": 38.1, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 24.5, \"min\": 9.8, \"max\": 49.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_mid\": {\"type\": 'float', \"default\": 25.9, \"min\": 10.1, \"max\": 38.1, \"step\": 1.0, \"group\": 'Body', \"label\": 'Mid size (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 8.3, \"min\": 2.0, \"max\": 16.1, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .circle(p[\"loft_base\"] / 2)\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .rect(p[\"loft_mid\"], p[\"loft_mid\"])\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .rect(p[\"loft_top\"], p[\"loft_top\"])\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca1a7_1523", "family": "plate", "tier": 0, "seed": 1177330087, "symmetry": "radial", "op_count": 1, "ir_hash": "cac411248a5ef6f2", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 8650.0, "surface_area": 5080.0, "principal_moments": [1150000.0, 2150000.0, 3280000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 54.48 \u00d7 39.7 \u00d7 4 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 54.48 \u00d7 39.7 \u00d7 4 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 54.48, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 39.7, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 4.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330087 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 54.48, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 39.7, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 4.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca1a8_1524", "family": "revolved", "tier": 2, "seed": 1177330088, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "f1638e914900847f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 3720.0, "surface_area": 2080.0, "principal_moments": [197000.0, 197000.0, 329000.0], "n_faces": 9, "n_edges": 14, "n_vertices": 9}, "dimensions": {"lines": ["Revolved body, \u00d824.6 mm \u00d7 12.3 mm tall with 1 mm-wide groove 1.09 mm deep.", "Chamfer 1.2 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d824.6 mm \u00d7 12.3 mm tall with 1 mm-wide groove 1.09 mm deep. Chamfer 1.2 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 24.6, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 12.3, "min": 3.7, "max": 36.9, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "groove_depth": {"type": "float", "default": 1.09, "min": 0.44, "max": 3.27, "step": 0.1, "group": "Body", "label": "Groove depth (mm)"}, "groove_w": {"type": "float", "default": 1.0, "min": 0.4, "max": 3.0, "step": 0.2, "group": "Body", "label": "Groove width (mm)"}, "groove_pos": {"type": "float", "default": 3.8, "min": 1.8, "max": 10.5, "step": 1.0, "group": "Body", "label": "Groove position (mm)"}, "end_chamfer": {"type": "float", "default": 1.2, "min": 0.1, "max": 3.6, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330088 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 24.6, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 12.3, \"min\": 3.7, \"max\": 36.9, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"groove_depth\": {\"type\": 'float', \"default\": 1.09, \"min\": 0.44, \"max\": 3.27, \"step\": 0.1, \"group\": 'Body', \"label\": 'Groove depth (mm)'},\n    \"groove_w\": {\"type\": 'float', \"default\": 1.0, \"min\": 0.4, \"max\": 3.0, \"step\": 0.2, \"group\": 'Body', \"label\": 'Groove width (mm)'},\n    \"groove_pos\": {\"type\": 'float', \"default\": 3.8, \"min\": 1.8, \"max\": 10.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Groove position (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 1.2, \"min\": 0.1, \"max\": 3.6, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"groove_pos\"] - p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2 - p[\"groove_depth\"], p[\"groove_pos\"] - p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2 - p[\"groove_depth\"], p[\"groove_pos\"] + p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2, p[\"groove_pos\"] + p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca1a9_1525", "family": "compound", "tier": 2, "seed": 1177330089, "symmetry": "mirror_xy", "op_count": 5, "ir_hash": "8c686b9da1994def", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 64300.0, "surface_area": 13200.0, "principal_moments": [14099999.999999998, 21200000.0, 21500000.0], "n_faces": 37, "n_edges": 98, "n_vertices": 64}, "dimensions": {"lines": ["Rectangular body, 50 \u00d7 36.5 \u00d7 35.9 mm (W\u00d7D\u00d7H).", "6-sided polygon section, 11.2 mm across corners attachment, 11.9 mm long, from right face with a \u00d85.3 mm bore.", "6-sided polygon section, 11.2 mm across corners attachment, 11.9 mm long, from left face with a \u00d85.3 mm bore.", "6-sided polygon section, 11.2 mm across corners attachment, 11.9 mm long, from back face with a \u00d85.3 mm bore.", "Four \u00d86.4 mm holes at the corners, 35 \u00d7 25.55 mm spacing."], "text": "Rectangular body, 50 \u00d7 36.5 \u00d7 35.9 mm (W\u00d7D\u00d7H). 6-sided polygon section, 11.2 mm across corners attachment, 11.9 mm long, from right face with a \u00d85.3 mm bore. 6-sided polygon section, 11.2 mm across corners attachment, 11.9 mm long, from left face with a \u00d85.3 mm bore. 6-sided polygon section, 11.2 mm across corners attachment, 11.9 mm long, from back face with a \u00d85.3 mm bore. Four \u00d86.4 mm holes at the corners, 35 \u00d7 25.55 mm spacing."}, "params": {"block_w": {"type": "float", "default": 50, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body width (mm)"}, "block_d": {"type": "float", "default": 36.5, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body depth (mm)"}, "block_h": {"type": "float", "default": 35.9, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body height (mm)"}, "port_sides": {"type": "int", "default": 6, "min": 3, "max": 8, "step": 1, "group": "Ports", "label": "Ports sides"}, "port_r": {"type": "float", "default": 5.6, "min": 2.8, "max": 8.1, "step": 1.0, "group": "Ports", "label": "Ports circumradius (mm)"}, "port_len": {"type": "float", "default": 11.9, "min": 2.4, "max": 29.1, "step": 1.0, "group": "Ports", "label": "Port boss length (mm)"}, "port_bore": {"type": "float", "default": 5.3, "min": 2.0, "max": 7.0, "step": 0.5, "group": "Ports", "label": "Port bore diameter (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 8.2, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330089 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 50, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 36.5, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 35.9, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body height (mm)'},\n    \"port_sides\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Ports', \"label\": 'Ports sides'},\n    \"port_r\": {\"type\": 'float', \"default\": 5.6, \"min\": 2.8, \"max\": 8.1, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Ports circumradius (mm)'},\n    \"port_len\": {\"type\": 'float', \"default\": 11.9, \"min\": 2.4, \"max\": 29.1, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Port boss length (mm)'},\n    \"port_bore\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 7.0, \"step\": 0.5, \"group\": 'Ports', \"label\": 'Port bore diameter (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 8.2, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"port_sides\"], p[\"port_r\"] * 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"port_sides\"], p[\"port_r\"] * 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"port_sides\"], p[\"port_r\"] * 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462ca1aa_1526", "family": "flanged", "tier": 2, "seed": 1177330090, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "562e4c9a12b3ea57", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 935000.0, "surface_area": 108000.0, "principal_moments": [2370000000.0, 2370000000.0, 3210000000.0], "n_faces": 14, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["Revolved body, \u00d896.62 mm \u00d7 95.2 mm tall with \u00d847.1 mm bore, \u00d8197.8 mm \u00d7 17.3 mm flange.", "Eight \u00d84.3 mm holes on a \u00d8118.6 mm bolt circle."], "text": "Revolved body, \u00d896.62 mm \u00d7 95.2 mm tall with \u00d847.1 mm bore, \u00d8197.8 mm \u00d7 17.3 mm flange. Eight \u00d84.3 mm holes on a \u00d8118.6 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 96.62, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 95.2, "min": 28.6, "max": 238.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 47.1, "min": 2.0, "max": 67.6, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 197.8, "min": 125.6, "max": 289.9, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 17.3, "min": 5.2, "max": 38.1, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 59.3, "min": 39.6, "max": 89.0, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 8, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330090 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 96.62, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 95.2, \"min\": 28.6, \"max\": 238.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 47.1, \"min\": 2.0, \"max\": 67.6, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 197.8, \"min\": 125.6, \"max\": 289.9, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 17.3, \"min\": 5.2, \"max\": 38.1, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 59.3, \"min\": 39.6, \"max\": 89.0, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca1ab_1527", "family": "bracket", "tier": 3, "seed": 1177330091, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "54511517a4e377b2", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 26800.0, "surface_area": 13200.0, "principal_moments": [13099999.999999998, 29499999.999999996, 39900000.0], "n_faces": 26, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["C-channel bracket: base leg 80 mm, vertical leg 66.7 mm, 25 mm wide, 5 mm thick; 2 \u00d7 \u00d83.2 mm holes per leg; 5.6 mm corner gusset."], "text": "C-channel bracket: base leg 80 mm, vertical leg 66.7 mm, 25 mm wide, 5 mm thick; 2 \u00d7 \u00d83.2 mm holes per leg; 5.6 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 80, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 66.7, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 25, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 5.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 2, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 5.6, "min": 2.5, "max": 12.5, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330091 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 80, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 66.7, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 25, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 2, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 5.6, \"min\": 2.5, \"max\": 12.5, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl / 2, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bl - _bt, _bt).lineTo(_bl - _bt - _g, _bt)\n                    .lineTo(_bl - _bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462ca1ac_1528", "family": "threaded", "tier": 3, "seed": 1177330092, "symmetry": "none", "op_count": 1, "ir_hash": "c68e7750c5f7d951", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 7060.0, "surface_area": 3690.0, "principal_moments": [184000.0, 1290000.0, 1290000.0], "n_faces": 120, "n_edges": 306, "n_vertices": 188}, "dimensions": {"lines": ["Tr 16x4 external thread, 46 mm long."], "text": "Tr 16x4 external thread, 46 mm long."}, "params": {"thread_size": {"type": "enum", "default": "16x4", "choices": ["8x1.5", "10x2", "12x3", "14x3", "16x4", "18x4", "20x4", "24x5", "28x5", "30x6", "36x6", "40x7"], "group": "Thread", "label": "Size designation"}, "thread_len": {"type": "float", "default": 46.0, "min": 18.4, "max": 92.0, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330092 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"thread_size\": {\"type\": 'enum', \"default\": '16x4', \"choices\": ['8x1.5', '10x2', '12x3', '14x3', '16x4', '18x4', '20x4', '24x5', '28x5', '30x6', '36x6', '40x7'], \"group\": 'Thread', \"label\": 'Size designation'},\n    \"thread_len\": {\"type\": 'float', \"default\": 46.0, \"min\": 18.4, \"max\": 92.0, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.MetricTrapezoidalThread(size=p[\"thread_size\"], length=p[\"thread_len\"], external=True, end_finishes=(\"fade\", \"fade\"))\n    _r = _thr.min_radius if hasattr(_thr, 'min_radius') else _thr.root_radius\n    _shank = _bd.Cylinder(radius=_r, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = _shank + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca1ad_1529", "family": "plate", "tier": 1, "seed": 1177330093, "symmetry": "none", "op_count": 2, "ir_hash": "17c23836a7d32262", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 13800.0, "surface_area": 7090.0, "principal_moments": [1690000.0, 6540000.0, 8170000.0], "n_faces": 15, "n_edges": 39, "n_vertices": 26}, "dimensions": {"lines": ["Rectangular body, 75 \u00d7 37.7 \u00d7 5 mm (W\u00d7D\u00d7H).", "Nine \u00d83.2 mm holes in two staggered rows, 14.1 \u00d7 13.3 mm pitch."], "text": "Rectangular body, 75 \u00d7 37.7 \u00d7 5 mm (W\u00d7D\u00d7H). Nine \u00d83.2 mm holes in two staggered rows, 14.1 \u00d7 13.3 mm pitch."}, "params": {"plate_w": {"type": "float", "default": 75, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 37.7, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 5.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 3.8, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 5, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330093 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 75, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 37.7, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 5.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 3.8, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 5, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 14.1\n    _ssy = 13.3\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462ca1ae_1530", "family": "sketched", "tier": 3, "seed": 1177330094, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "be70ec5fd1d69430", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 38300.0, "surface_area": 9320.0, "principal_moments": [9940000.0, 12599999.999999998, 12599999.999999998], "n_faces": 7, "n_edges": 11, "n_vertices": 6}, "dimensions": {"lines": ["Revolved organic body from a freeform sketched section (7 segments: 4 straight, 1 arc, 2 curves), ~31.1 \u00d7 50.82 mm half-silhouette."], "text": "Revolved organic body from a freeform sketched section (7 segments: 4 straight, 1 arc, 2 curves), ~31.1 \u00d7 50.82 mm half-silhouette."}, "params": {"sk_r": {"type": "float", "default": 31.8, "min": 15.9, "max": 57.2, "step": 1.0, "group": "Sketch", "label": "Max radius (mm)"}, "sk_h": {"type": "float", "default": 50.82, "min": 25.4, "max": 91.5, "step": 1.0, "group": "Sketch", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330094 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_r\": {\"type\": 'float', \"default\": 31.8, \"min\": 15.9, \"max\": 57.2, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Max radius (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 50.82, \"min\": 25.4, \"max\": 91.5, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XZ').moveTo(p[\"sk_r\"] * 0.4261, p[\"sk_h\"] * 0.0).bezier([(p[\"sk_r\"] * 0.4261, p[\"sk_h\"] * 0.0), (p[\"sk_r\"] * 0.4311, p[\"sk_h\"] * 0.1258), (p[\"sk_r\"] * 0.1353, p[\"sk_h\"] * 0.2517)]).lineTo(p[\"sk_r\"] * 0.2004, p[\"sk_h\"] * 0.3283).threePointArc((p[\"sk_r\"] * 0.1066, p[\"sk_h\"] * 0.4047), (p[\"sk_r\"] * 0.1414, p[\"sk_h\"] * 0.4811)).bezier([(p[\"sk_r\"] * 0.1414, p[\"sk_h\"] * 0.4811), (p[\"sk_r\"] * 0.2879, p[\"sk_h\"] * 0.5203), (p[\"sk_r\"] * 0.3074, p[\"sk_h\"] * 0.5595)]).lineTo(p[\"sk_r\"] * 0.978, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.0, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.0, p[\"sk_h\"] * 0.0).close().revolve())\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca1af_1531", "family": "block", "tier": 2, "seed": 1177330095, "symmetry": "radial", "op_count": 3, "ir_hash": "1f63701bb79dc8ee", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 794000.0, "surface_area": 65100.0, "principal_moments": [1190000000.0, 1240000000.0, 1290000000.0], "n_faces": 15, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 96.75 \u00d7 90.3 \u00d7 100 mm (W\u00d7D\u00d7H).", "Four \u00d83.2 mm holes on a \u00d858 mm bolt circle.", "Pocket 44.7 \u00d7 54 mm, 31.8 mm deep, in top face."], "text": "Rectangular body, 96.75 \u00d7 90.3 \u00d7 100 mm (W\u00d7D\u00d7H). Four \u00d83.2 mm holes on a \u00d858 mm bolt circle. Pocket 44.7 \u00d7 54 mm, 31.8 mm deep, in top face."}, "params": {"block_w": {"type": "float", "default": 96.75, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 90.3, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 100.0, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "bolt_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 29.0, "min": 19.4, "max": 43.5, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 4, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}, "pocket_w": {"type": "float", "default": 44.7, "min": 22.4, "max": 77.4, "step": 1.0, "group": "Pocket", "label": "Pocket width (mm)"}, "pocket_d": {"type": "float", "default": 54.0, "min": 27.0, "max": 72.2, "step": 1.0, "group": "Pocket", "label": "Pocket depth (mm)"}, "pocket_h": {"type": "float", "default": 31.8, "min": 12.7, "max": 85.0, "step": 0.5, "group": "Pocket", "label": "Pocket height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330095 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 96.75, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 90.3, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 100.0, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 29.0, \"min\": 19.4, \"max\": 43.5, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 4, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n    \"pocket_w\": {\"type\": 'float', \"default\": 44.7, \"min\": 22.4, \"max\": 77.4, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket width (mm)'},\n    \"pocket_d\": {\"type\": 'float', \"default\": 54.0, \"min\": 27.0, \"max\": 72.2, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket depth (mm)'},\n    \"pocket_h\": {\"type\": 'float', \"default\": 31.8, \"min\": 12.7, \"max\": 85.0, \"step\": 0.5, \"group\": 'Pocket', \"label\": 'Pocket height (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"pocket_w\"], p[\"pocket_d\"])\n        .cutBlind(-p[\"pocket_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca1b0_1532", "family": "plate", "tier": 1, "seed": 1177330096, "symmetry": "none", "op_count": 2, "ir_hash": "09435e64026b24ea", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 14000.0, "surface_area": 4960.0, "principal_moments": [944000.0, 3480000.0, 4190000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 54.21 \u00d7 26.9 \u00d7 10 mm (W\u00d7D\u00d7H).", "Four \u00d84.3 mm holes at the corners, 37.947 \u00d7 18.83 mm spacing."], "text": "Rectangular body, 54.21 \u00d7 26.9 \u00d7 10 mm (W\u00d7D\u00d7H). Four \u00d84.3 mm holes at the corners, 37.947 \u00d7 18.83 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 54.21, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 26.9, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 6.1, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330096 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 54.21, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 26.9, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 6.1, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462ca1b1_1533", "family": "threaded", "tier": 1, "seed": 1177330097, "symmetry": "none", "op_count": 1, "ir_hash": "99cfd05b0b0a68e3", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 1120.0, "surface_area": 1300.0, "principal_moments": [14200.0, 58900.0, 58900.0], "n_faces": 239, "n_edges": 651, "n_vertices": 414}, "dimensions": {"lines": ["M5x0.8 internal thread, 23.6 mm long."], "text": "M5x0.8 internal thread, 23.6 mm long."}, "params": {"major_d": {"type": "float", "default": 5.0, "min": 4.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Major diameter (mm)"}, "pitch": {"type": "float", "default": 0.8, "min": 0.4, "max": 1.6, "step": 0.05, "group": "Thread", "label": "Pitch (mm)"}, "thread_len": {"type": "float", "default": 23.6, "min": 9.4, "max": 47.2, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330097 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 5.0, \"min\": 4.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Major diameter (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 0.8, \"min\": 0.4, \"max\": 1.6, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Pitch (mm)'},\n    \"thread_len\": {\"type\": 'float', \"default\": 23.6, \"min\": 9.4, \"max\": 47.2, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.IsoThread(major_diameter=p[\"major_d\"], pitch=p[\"pitch\"], length=p[\"thread_len\"], external=False, end_finishes=(\"fade\", \"fade\"))\n    _body = _bd.Cylinder(radius=(p[\"major_d\"]) * 0.9, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _bore = _bd.Cylinder(radius=(p[\"major_d\"]) / 2, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = (_body - _bore) + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca1b3_1535", "family": "revolved", "tier": 2, "seed": 1177330099, "symmetry": "radial", "op_count": 1, "ir_hash": "5e027ff65b4ab630", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 114000.0, "surface_area": 16900.0, "principal_moments": [39200000.0, 59199999.99999999, 59199999.99999999], "n_faces": 4, "n_edges": 6, "n_vertices": 4}, "dimensions": {"lines": ["Revolved body, \u00d850 mm \u00d7 64.5 mm tall with \u00d815.7 mm bore."], "text": "Revolved body, \u00d850 mm \u00d7 64.5 mm tall with \u00d815.7 mm bore."}, "params": {"outer_d": {"type": "float", "default": 50, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 64.5, "min": 19.3, "max": 193.5, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 15.7, "min": 2.0, "max": 35.0, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330099 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 50, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 64.5, \"min\": 19.3, \"max\": 193.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 15.7, \"min\": 2.0, \"max\": 35.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462ca1b4_1536", "family": "ribbed", "tier": 2, "seed": 1177330100, "symmetry": "none", "op_count": 2, "ir_hash": "99a2665b93e4a0c7", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 14800.0, "surface_area": 9180.0, "principal_moments": [1650000.0, 2160000.0, 2340000.0], "n_faces": 54, "n_edges": 132, "n_vertices": 80}, "dimensions": {"lines": ["Rectangular body, 35 \u00d7 25.9 \u00d7 6 mm (W\u00d7D\u00d7H).", "Six ribs, 3.2 mm thick, 17.5 mm tall."], "text": "Rectangular body, 35 \u00d7 25.9 \u00d7 6 mm (W\u00d7D\u00d7H). Six ribs, 3.2 mm thick, 17.5 mm tall."}, "params": {"base_w": {"type": "float", "default": 35, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 25.9, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 6.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 6, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 17.5, "min": 7.0, "max": 35.0, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 3.2, "min": 1.0, "max": 8.0, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330100 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 35, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 25.9, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 6, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 17.5, \"min\": 7.0, \"max\": 35.0, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 3.2, \"min\": 1.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462ca1b5_1537", "family": "flanged", "tier": 1, "seed": 1177330101, "symmetry": "none", "op_count": 2, "ir_hash": "f0c89fc6d4802a75", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 230000.0, "surface_area": 40900.0, "principal_moments": [229000000.0, 242000000.0, 242000000.0], "n_faces": 10, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["Revolved body, \u00d856.11 mm \u00d7 75 mm tall with \u00d823.4 mm bore, \u00d8115.1 mm \u00d7 9.8 mm flange.", "Four \u00d84.3 mm holes on a \u00d869 mm bolt circle."], "text": "Revolved body, \u00d856.11 mm \u00d7 75 mm tall with \u00d823.4 mm bore, \u00d8115.1 mm \u00d7 9.8 mm flange. Four \u00d84.3 mm holes on a \u00d869 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 56.11, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 75.0, "min": 22.5, "max": 187.5, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 23.4, "min": 2.0, "max": 39.3, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 115.1, "min": 72.9, "max": 168.3, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 9.8, "min": 2.9, "max": 30.0, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 34.5, "min": 23.0, "max": 51.8, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 4, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330101 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 56.11, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 75.0, \"min\": 22.5, \"max\": 187.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 23.4, \"min\": 2.0, \"max\": 39.3, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 115.1, \"min\": 72.9, \"max\": 168.3, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 9.8, \"min\": 2.9, \"max\": 30.0, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 34.5, \"min\": 23.0, \"max\": 51.8, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 4, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca1b6_1538", "family": "plate", "tier": 2, "seed": 1177330102, "symmetry": "radial", "op_count": 3, "ir_hash": "e0b73533b0193d56", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 10400.0, "surface_area": 4750.0, "principal_moments": [596000.0, 4240000.0, 4780000.0], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Rectangular body, 70 \u00d7 25.4 \u00d7 6 mm (W\u00d7D\u00d7H).", "Six \u00d84.3 mm holes on a \u00d842 mm bolt circle.", "Chamfer 2.2 mm on vertical edges."], "text": "Rectangular body, 70 \u00d7 25.4 \u00d7 6 mm (W\u00d7D\u00d7H). Six \u00d84.3 mm holes on a \u00d842 mm bolt circle. Chamfer 2.2 mm on vertical edges."}, "params": {"plate_w": {"type": "float", "default": 70, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 25.4, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 6.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "bolt_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 21.0, "min": 14.0, "max": 31.5, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 6, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}, "chamfer_d": {"type": "float", "default": 2.2, "min": 1.0, "max": 3.0, "step": 0.5, "group": "Body", "label": "Chamfer distance (mm)"}, "chamfered": {"type": "bool", "default": true, "group": "Body", "label": "Chamfer edges"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330102 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 70, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 25.4, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 21.0, \"min\": 14.0, \"max\": 31.5, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n    \"chamfer_d\": {\"type\": 'float', \"default\": 2.2, \"min\": 1.0, \"max\": 3.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Chamfer distance (mm)'},\n    \"chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Chamfer edges'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    if p[\"chamfered\"]:\n        result = result.edges('|Z').chamfer(p[\"chamfer_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462ca1b7_1539", "family": "sketched", "tier": 0, "seed": 1177330103, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "ed5e0c6ca23db46c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 98000.0, "surface_area": 21600.0, "principal_moments": [38100000.0, 39700000.0, 39700000.0], "n_faces": 9, "n_edges": 16, "n_vertices": 9}, "dimensions": {"lines": ["Revolved organic body from a freeform sketched section (8 segments: 5 straight, 2 arcs, 1 curve), ~34.276 \u00d7 67.75 mm half-silhouette."], "text": "Revolved organic body from a freeform sketched section (8 segments: 5 straight, 2 arcs, 1 curve), ~34.276 \u00d7 67.75 mm half-silhouette."}, "params": {"sk_r": {"type": "float", "default": 45.0, "min": 22.5, "max": 81.0, "step": 1.0, "group": "Sketch", "label": "Max radius (mm)"}, "sk_h": {"type": "float", "default": 67.75, "min": 33.9, "max": 122.0, "step": 1.0, "group": "Sketch", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330103 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_r\": {\"type\": 'float', \"default\": 45.0, \"min\": 22.5, \"max\": 81.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Max radius (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 67.75, \"min\": 33.9, \"max\": 122.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XZ').moveTo(p[\"sk_r\"] * 0.144, p[\"sk_h\"] * 0.0).lineTo(p[\"sk_r\"] * 0.5602, p[\"sk_h\"] * 0.1506).spline([(p[\"sk_r\"] * 0.5602, p[\"sk_h\"] * 0.1506), (p[\"sk_r\"] * 0.528, p[\"sk_h\"] * 0.1573), (p[\"sk_r\"] * 0.2018, p[\"sk_h\"] * 0.164)]).threePointArc((p[\"sk_r\"] * 0.4591, p[\"sk_h\"] * 0.2813), (p[\"sk_r\"] * 0.849, p[\"sk_h\"] * 0.3986)).lineTo(p[\"sk_r\"] * 0.2916, p[\"sk_h\"] * 0.7404).lineTo(p[\"sk_r\"] * 0.2627, p[\"sk_h\"] * 0.8766).threePointArc((p[\"sk_r\"] * 0.343, p[\"sk_h\"] * 0.9383), (p[\"sk_r\"] * 0.6295, p[\"sk_h\"] * 1.0)).lineTo(p[\"sk_r\"] * 0.0873, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.0873, p[\"sk_h\"] * 0.0).close().revolve())\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca1b8_1540", "family": "plate", "tier": 0, "seed": 1177330104, "symmetry": "none", "op_count": 1, "ir_hash": "03ec5370c1e43eae", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 7830.0, "surface_area": 4640.0, "principal_moments": [838000.0, 1980000.0, 2800000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 55 \u00d7 35.6 \u00d7 4 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 55 \u00d7 35.6 \u00d7 4 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 55, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 35.6, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 4.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330104 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 55, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 35.6, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 4.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca1b9_1541", "family": "plate", "tier": 2, "seed": 1177330105, "symmetry": "none", "op_count": 3, "ir_hash": "5a1957301e8f07cd", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 56800.0, "surface_area": 15300.0, "principal_moments": [15599999.999999998, 49099999.99999999, 63699999.99999999], "n_faces": 14, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 102.21 \u00d7 57 \u00d7 10 mm (W\u00d7D\u00d7H).", "Four \u00d86.4 mm holes at the corners, 71.547 \u00d7 39.9 mm spacing.", "Chamfer 3.1 mm on vertical edges."], "text": "Rectangular body, 102.21 \u00d7 57 \u00d7 10 mm (W\u00d7D\u00d7H). Four \u00d86.4 mm holes at the corners, 71.547 \u00d7 39.9 mm spacing. Chamfer 3.1 mm on vertical edges."}, "params": {"plate_w": {"type": "float", "default": 102.21, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 57.0, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 12.8, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "chamfer_d": {"type": "float", "default": 3.1, "min": 2.3, "max": 4.0, "step": 0.5, "group": "Body", "label": "Chamfer distance (mm)"}, "chamfered": {"type": "bool", "default": true, "group": "Body", "label": "Chamfer edges"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330105 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 102.21, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 57.0, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 12.8, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"chamfer_d\": {\"type\": 'float', \"default\": 3.1, \"min\": 2.3, \"max\": 4.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Chamfer distance (mm)'},\n    \"chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Chamfer edges'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"chamfered\"]:\n        result = result.edges('|Z').chamfer(p[\"chamfer_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca1ba_1542", "family": "bracket", "tier": 1, "seed": 1177330106, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "151523b419075b00", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 26600.0, "surface_area": 14800.0, "principal_moments": [9130000.0, 26399999.999999996, 28399999.999999996], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["L-bracket: base leg 85 mm, vertical leg 52.3 mm, 50 mm wide, 4 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."], "text": "L-bracket: base leg 85 mm, vertical leg 52.3 mm, 50 mm wide, 4 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 85, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 52.3, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 50, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 4.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330106 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 85, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 52.3, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 50, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca1bb_1543", "family": "revolved", "tier": 0, "seed": 1177330107, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "fb473246e3c7a87d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 293.0, "surface_area": 467.0, "principal_moments": [1620.0, 4830.0, 4830.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d86.07 mm \u00d7 15.2 mm tall."], "text": "Revolved body, \u00d86.07 mm \u00d7 15.2 mm tall."}, "params": {"outer_d": {"type": "float", "default": 6.07, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 15.2, "min": 4.6, "max": 45.6, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330107 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 6.07, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 15.2, \"min\": 4.6, \"max\": 45.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462ca1bc_1544", "family": "sketched", "tier": 2, "seed": 1177330108, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "0fc492fb39a75a94", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 95900.0, "surface_area": 18600.0, "principal_moments": [31799999.999999996, 31799999.999999996, 36400000.0], "n_faces": 6, "n_edges": 9, "n_vertices": 5}, "dimensions": {"lines": ["Revolved organic body from a freeform sketched section (6 segments: 5 straight, 1 arc), ~37.07 \u00d7 45.59 mm half-silhouette."], "text": "Revolved organic body from a freeform sketched section (6 segments: 5 straight, 1 arc), ~37.07 \u00d7 45.59 mm half-silhouette."}, "params": {"sk_r": {"type": "float", "default": 38.15, "min": 19.1, "max": 68.7, "step": 1.0, "group": "Sketch", "label": "Max radius (mm)"}, "sk_h": {"type": "float", "default": 45.59, "min": 22.8, "max": 82.1, "step": 1.0, "group": "Sketch", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330108 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_r\": {\"type\": 'float', \"default\": 38.15, \"min\": 19.1, \"max\": 68.7, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Max radius (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 45.59, \"min\": 22.8, \"max\": 82.1, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XZ').moveTo(p[\"sk_r\"] * 0.9717, p[\"sk_h\"] * 0.0).lineTo(p[\"sk_r\"] * 0.2415, p[\"sk_h\"] * 0.1265).lineTo(p[\"sk_r\"] * 0.7928, p[\"sk_h\"] * 0.2306).threePointArc((p[\"sk_r\"] * 0.7573, p[\"sk_h\"] * 0.5362), (p[\"sk_r\"] * 0.5671, p[\"sk_h\"] * 0.8418)).lineTo(p[\"sk_r\"] * 0.5224, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.0, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.0, p[\"sk_h\"] * 0.0).close().revolve())\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca1bd_1545", "family": "block", "tier": 1, "seed": 1177330109, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "f6cc50cff2215a77", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 5510.0, "surface_area": 3130.0, "principal_moments": [189000.0, 636000.0, 756000.0], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["Rectangular body, 18.26 \u00d7 8.7 \u00d7 36.2 mm (W\u00d7D\u00d7H).", "Seven \u00d81.1 mm holes in two staggered rows, 4.6 \u00d7 5 mm pitch."], "text": "Rectangular body, 18.26 \u00d7 8.7 \u00d7 36.2 mm (W\u00d7D\u00d7H). Seven \u00d81.1 mm holes in two staggered rows, 4.6 \u00d7 5 mm pitch."}, "params": {"block_w": {"type": "float", "default": 18.26, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 8.7, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 36.2, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 1.1, "min": 2.0, "max": 0.9, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 4, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330109 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 18.26, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 8.7, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 36.2, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 1.1, \"min\": 2.0, \"max\": 0.9, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 4, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 4.6\n    _ssy = 5.0\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462ca1be_1546", "family": "sketched", "tier": 3, "seed": 1177330110, "symmetry": "mirror_x", "op_count": 4, "ir_hash": "4324df89deb81cb2", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 23200.0, "surface_area": 5880.0, "principal_moments": [3090000.0, 3430000.0, 3610000.0], "n_faces": 12, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["freeform sketched section (5 segments: 2 straight, 2 arcs, 1 curve), ~33.484 \u00d7 28.035 mm, extruded 27.02 mm thick.", "One \u00d88.4 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch.", "Boss \u00d821.6 mm \u00d7 7.8 mm tall on top face with a \u00d86.4 mm bore.", "Fillet radius 1.8 mm on vertical edges (optional, off by default)."], "text": "freeform sketched section (5 segments: 2 straight, 2 arcs, 1 curve), ~33.484 \u00d7 28.035 mm, extruded 27.02 mm thick. One \u00d88.4 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch. Boss \u00d821.6 mm \u00d7 7.8 mm tall on top face with a \u00d86.4 mm bore. Fillet radius 1.8 mm on vertical edges (optional, off by default)."}, "params": {"sk_w": {"type": "float", "default": 54.82, "min": 27.4, "max": 98.7, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 45, "min": 22.5, "max": 81.0, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "sk_t": {"type": "float", "default": 27.02, "min": 10.8, "max": 59.4, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "sk_hole_d": {"type": "float", "default": 8.4, "min": 2.0, "max": 16.8, "step": 0.5, "group": "Holes", "label": "Hole diameter (mm)"}, "boss_d": {"type": "float", "default": 21.6, "min": 10.8, "max": 43.2, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 7.8, "min": 3.1, "max": 19.5, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}, "boss_bore_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 15.1, "step": 0.1, "group": "Boss", "label": "Bore diameter (mm)"}, "sk_fillet_r": {"type": "float", "default": 1.8, "min": 0.5, "max": 4.5, "step": 0.5, "group": "Body", "label": "Edge fillet radius (mm)"}, "sk_filleted": {"type": "bool", "default": false, "group": "Body", "label": "Fillet vertical edges"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330110 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 54.82, \"min\": 27.4, \"max\": 98.7, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 45, \"min\": 22.5, \"max\": 81.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"sk_t\": {\"type\": 'float', \"default\": 27.02, \"min\": 10.8, \"max\": 59.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"sk_hole_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 2.0, \"max\": 16.8, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"boss_d\": {\"type\": 'float', \"default\": 21.6, \"min\": 10.8, \"max\": 43.2, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 7.8, \"min\": 3.1, \"max\": 19.5, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n    \"boss_bore_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 15.1, \"step\": 0.1, \"group\": 'Boss', \"label\": 'Bore diameter (mm)'},\n    \"sk_fillet_r\": {\"type\": 'float', \"default\": 1.8, \"min\": 0.5, \"max\": 4.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Edge fillet radius (mm)'},\n    \"sk_filleted\": {\"type\": 'bool', \"default\": False, \"group\": 'Body', \"label\": 'Fillet vertical edges'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.3449, p[\"sk_h\"] * -0.0878).bezier([(p[\"sk_w\"] * 0.3449, p[\"sk_h\"] * -0.0878), (p[\"sk_w\"] * 0.2981, p[\"sk_h\"] * 0.1042), (p[\"sk_w\"] * 0.2021, p[\"sk_h\"] * 0.2768)]).threePointArc((p[\"sk_w\"] * -0.043, p[\"sk_h\"] * 0.2997), (p[\"sk_w\"] * -0.2659, p[\"sk_h\"] * 0.2454)).lineTo(p[\"sk_w\"] * -0.2286, p[\"sk_h\"] * -0.3462).threePointArc((p[\"sk_w\"] * -0.0074, p[\"sk_h\"] * -0.3504), (p[\"sk_w\"] * 0.225, p[\"sk_h\"] * -0.3)).lineTo(p[\"sk_w\"] * 0.3449, p[\"sk_h\"] * -0.0878).close().extrude(p[\"sk_t\"]))\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"sk_hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .hole(p[\"boss_bore_d\"])\n    )\n    if p[\"sk_filleted\"]:\n        result = result.edges('|Z').fillet(p[\"sk_fillet_r\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca1bf_1547", "family": "compound", "tier": 2, "seed": 1177330111, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "f9c2aa26bfa0f0d4", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 83400.0, "surface_area": 35600.0, "principal_moments": [131000000.0, 149000000.0, 166000000.0], "n_faces": 17, "n_edges": 42, "n_vertices": 28}, "dimensions": {"lines": ["Rectangular body, 100 \u00d7 114.6 \u00d7 6 mm (W\u00d7D\u00d7H).", "5-sided polygon section, 16.2 mm across corners attachment, 138.7 mm long, from top face with a \u00d87.4 mm bore.", "Four \u00d86.4 mm holes at the corners, 70 \u00d7 80.22 mm spacing."], "text": "Rectangular body, 100 \u00d7 114.6 \u00d7 6 mm (W\u00d7D\u00d7H). 5-sided polygon section, 16.2 mm across corners attachment, 138.7 mm long, from top face with a \u00d87.4 mm bore. Four \u00d86.4 mm holes at the corners, 70 \u00d7 80.22 mm spacing."}, "params": {"base_w": {"type": "float", "default": 100, "min": 30.0, "max": 160.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 114.6, "min": 25.0, "max": 160.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_h": {"type": "float", "default": 6.0, "min": 3.0, "max": 30.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "col_sides": {"type": "int", "default": 5, "min": 3, "max": 8, "step": 1, "group": "Column", "label": "Column sides"}, "col_r": {"type": "float", "default": 8.1, "min": 4.0, "max": 25.0, "step": 1.0, "group": "Column", "label": "Column circumradius (mm)"}, "col_h": {"type": "float", "default": 138.7, "min": 41.6, "max": 416.1, "step": 1.0, "group": "Column", "label": "Column height (mm)"}, "col_bore": {"type": "float", "default": 7.4, "min": 2.0, "max": 9.4, "step": 0.5, "group": "Column", "label": "Column bore diameter (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330111 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 100, \"min\": 30.0, \"max\": 160.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 114.6, \"min\": 25.0, \"max\": 160.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_h\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 30.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"col_sides\": {\"type\": 'int', \"default\": 5, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Column', \"label\": 'Column sides'},\n    \"col_r\": {\"type\": 'float', \"default\": 8.1, \"min\": 4.0, \"max\": 25.0, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column circumradius (mm)'},\n    \"col_h\": {\"type\": 'float', \"default\": 138.7, \"min\": 41.6, \"max\": 416.1, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column height (mm)'},\n    \"col_bore\": {\"type\": 'float', \"default\": 7.4, \"min\": 2.0, \"max\": 9.4, \"step\": 0.5, \"group\": 'Column', \"label\": 'Column bore diameter (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_h\"])\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"col_sides\"], p[\"col_r\"] * 2).extrude(p[\"col_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"col_bore\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"base_w\"] * 0.7, p[\"base_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca1c0_1548", "family": "plate", "tier": 1, "seed": 1177330112, "symmetry": "radial", "op_count": 2, "ir_hash": "a021cc2c84d0382a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 40100.0, "surface_area": 11200.0, "principal_moments": [5360000.0, 37100000.0, 41800000.0], "n_faces": 8, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["Rectangular body, 104.97 \u00d7 38.6 \u00d7 10 mm (W\u00d7D\u00d7H).", "Four \u00d85.3 mm holes on a \u00d863 mm bolt circle."], "text": "Rectangular body, 104.97 \u00d7 38.6 \u00d7 10 mm (W\u00d7D\u00d7H). Four \u00d85.3 mm holes on a \u00d863 mm bolt circle."}, "params": {"plate_w": {"type": "float", "default": 104.97, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 38.6, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "bolt_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 31.5, "min": 21.0, "max": 47.2, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 4, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330112 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 104.97, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 38.6, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 31.5, \"min\": 21.0, \"max\": 47.2, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 4, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca1c1_1549", "family": "compound", "tier": 1, "seed": 1177330113, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "70447277409f84ce", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 39900.0, "surface_area": 9630.0, "principal_moments": [6170000.0, 11999999.999999998, 11999999.999999998], "n_faces": 6, "n_edges": 9, "n_vertices": 6}, "dimensions": {"lines": ["\u00d835.26 mm circular section, extruded 39.6 mm thick.", "\u00d817.1 mm circular section attachment, 26.5 mm long, from top face with a \u00d89.7 mm bore."], "text": "\u00d835.26 mm circular section, extruded 39.6 mm thick. \u00d817.1 mm circular section attachment, 26.5 mm long, from top face with a \u00d89.7 mm bore."}, "params": {"shaft_d": {"type": "float", "default": 35.26, "min": 17.6, "max": 63.5, "step": 1.0, "group": "Body", "label": "Shaft diameter (mm)"}, "shaft_len": {"type": "float", "default": 39.6, "min": 15.8, "max": 79.2, "step": 1.0, "group": "Body", "label": "Shaft length (mm)"}, "step_d": {"type": "float", "default": 17.1, "min": 8.6, "max": 31.7, "step": 1.0, "group": "Step", "label": "Step diameter (mm)"}, "step_len": {"type": "float", "default": 26.5, "min": 7.9, "max": 66.2, "step": 1.0, "group": "Step", "label": "Step length (mm)"}, "axial_bore": {"type": "float", "default": 9.7, "min": 2.0, "max": 12.3, "step": 0.5, "group": "Bore", "label": "Axial bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330113 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"shaft_d\": {\"type\": 'float', \"default\": 35.26, \"min\": 17.6, \"max\": 63.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft diameter (mm)'},\n    \"shaft_len\": {\"type\": 'float', \"default\": 39.6, \"min\": 15.8, \"max\": 79.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft length (mm)'},\n    \"step_d\": {\"type\": 'float', \"default\": 17.1, \"min\": 8.6, \"max\": 31.7, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step diameter (mm)'},\n    \"step_len\": {\"type\": 'float', \"default\": 26.5, \"min\": 7.9, \"max\": 66.2, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step length (mm)'},\n    \"axial_bore\": {\"type\": 'float', \"default\": 9.7, \"min\": 2.0, \"max\": 12.3, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Axial bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').circle(p[\"shaft_d\"] / 2).extrude(p[\"shaft_len\"]))\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"step_d\"] / 2).extrude(p[\"step_len\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"axial_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462ca1c2_1550", "family": "threaded", "tier": 2, "seed": 1177330114, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "41ec9b047d660ffd", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 9760.0, "surface_area": 3630.0, "principal_moments": [576000.0, 868000.0, 872000.0], "n_faces": 60, "n_edges": 150, "n_vertices": 92}, "dimensions": {"lines": ["Tr 24x5 external thread, 27.5 mm long."], "text": "Tr 24x5 external thread, 27.5 mm long."}, "params": {"thread_size": {"type": "enum", "default": "24x5", "choices": ["8x1.5", "10x2", "12x3", "14x3", "16x4", "18x4", "20x4", "24x5", "28x5", "30x6", "36x6", "40x7"], "group": "Thread", "label": "Size designation"}, "thread_len": {"type": "float", "default": 27.5, "min": 11.0, "max": 55.0, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330114 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"thread_size\": {\"type\": 'enum', \"default\": '24x5', \"choices\": ['8x1.5', '10x2', '12x3', '14x3', '16x4', '18x4', '20x4', '24x5', '28x5', '30x6', '36x6', '40x7'], \"group\": 'Thread', \"label\": 'Size designation'},\n    \"thread_len\": {\"type\": 'float', \"default\": 27.5, \"min\": 11.0, \"max\": 55.0, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.MetricTrapezoidalThread(size=p[\"thread_size\"], length=p[\"thread_len\"], external=True, end_finishes=(\"fade\", \"fade\"))\n    _r = _thr.min_radius if hasattr(_thr, 'min_radius') else _thr.root_radius\n    _shank = _bd.Cylinder(radius=_r, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = _shank + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca1c3_1551", "family": "revolved", "tier": 0, "seed": 1177330115, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "5cb206a32ee65fa6", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 31800.0, "surface_area": 9870.0, "principal_moments": [4880000.0, 9130000.0, 9130000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d831.96 mm \u00d7 59.5 mm tall."], "text": "Revolved body, \u00d831.96 mm \u00d7 59.5 mm tall."}, "params": {"outer_d": {"type": "float", "default": 31.96, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 59.5, "min": 17.8, "max": 178.5, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330115 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 31.96, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 59.5, \"min\": 17.8, \"max\": 178.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca1c4_1552", "family": "plate", "tier": 0, "seed": 1177330116, "symmetry": "none", "op_count": 1, "ir_hash": "fabbcc766ff3a26c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 3400.0, "surface_area": 2240.0, "principal_moments": [86400.0, 713000.0, 790000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 50 \u00d7 17 \u00d7 4 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 50 \u00d7 17 \u00d7 4 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 50, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 17.0, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 4.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330116 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 50, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 17.0, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 4.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462ca1c5_1553", "family": "profiled", "tier": 1, "seed": 1177330117, "symmetry": "none", "op_count": 1, "ir_hash": "fbcaf1880ed21045", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 154000.0, "surface_area": 23700.0, "principal_moments": [19700000.0, 522000000.0, 522000000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["4-sided polygon section, 39.2 mm across corners, extruded 200 mm thick."], "text": "4-sided polygon section, 39.2 mm across corners, extruded 200 mm thick."}, "params": {"circ_r": {"type": "float", "default": 19.6, "min": 9.8, "max": 39.2, "step": 1.0, "group": "Profile", "label": "Circumscribed radius (mm)"}, "n_sides": {"type": "int", "default": 4, "min": 3, "max": 8, "step": 1, "group": "Profile", "label": "Sides"}, "length": {"type": "float", "default": 200.0, "min": 60.0, "max": 600.0, "step": 5.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330117 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"circ_r\": {\"type\": 'float', \"default\": 19.6, \"min\": 9.8, \"max\": 39.2, \"step\": 1.0, \"group\": 'Profile', \"label\": 'Circumscribed radius (mm)'},\n    \"n_sides\": {\"type\": 'int', \"default\": 4, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Profile', \"label\": 'Sides'},\n    \"length\": {\"type\": 'float', \"default\": 200.0, \"min\": 60.0, \"max\": 600.0, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').polygon(p[\"n_sides\"], p[\"circ_r\"] * 2).extrude(p[\"length\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca1c6_1554", "family": "bracket", "tier": 1, "seed": 1177330118, "symmetry": "none", "op_count": 1, "ir_hash": "d84783ceb54d66b1", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 42500.0, "surface_area": 13500.0, "principal_moments": [14799999.999999998, 17300000.0, 24199999.999999996], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["C-channel bracket: base leg 49.06 mm, vertical leg 32.4 mm, 55 mm wide, 8 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."], "text": "C-channel bracket: base leg 49.06 mm, vertical leg 32.4 mm, 55 mm wide, 8 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 49.06, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 32.4, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 55, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 8.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330118 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 49.06, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 32.4, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 55, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462ca1c7_1555", "family": "ribbed", "tier": 1, "seed": 1177330119, "symmetry": "none", "op_count": 2, "ir_hash": "fbe6a69cb6dfcaa7", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 10100.0, "surface_area": 6120.0, "principal_moments": [1110000.0, 2000000.0, 2390000.0], "n_faces": 30, "n_edges": 72, "n_vertices": 44}, "dimensions": {"lines": ["Rectangular body, 40 \u00d7 23.2 \u00d7 3 mm (W\u00d7D\u00d7H).", "Three ribs, 4.6 mm thick, 16.6 mm tall."], "text": "Rectangular body, 40 \u00d7 23.2 \u00d7 3 mm (W\u00d7D\u00d7H). Three ribs, 4.6 mm thick, 16.6 mm tall."}, "params": {"base_w": {"type": "float", "default": 40, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 23.2, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 3.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 3, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 16.6, "min": 6.6, "max": 33.2, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 4.6, "min": 1.0, "max": 11.5, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330119 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 40, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 23.2, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 3, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 16.6, \"min\": 6.6, \"max\": 33.2, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 4.6, \"min\": 1.0, \"max\": 11.5, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca1c8_1556", "family": "revolved", "tier": 1, "seed": 1177330120, "symmetry": "none", "op_count": 2, "ir_hash": "efedddd5d64a99fc", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 1850.0, "surface_area": 1560.0, "principal_moments": [45500.0, 86100.0, 86100.0], "n_faces": 7, "n_edges": 11, "n_vertices": 7}, "dimensions": {"lines": ["Revolved body, \u00d810.39 mm \u00d7 23.8 mm tall with \u00d816.4 mm \u00d7 4 mm flange.", "Chamfer 0.3 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d810.39 mm \u00d7 23.8 mm tall with \u00d816.4 mm \u00d7 4 mm flange. Chamfer 0.3 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 10.39, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 23.8, "min": 7.1, "max": 71.4, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "flange_d": {"type": "float", "default": 16.4, "min": 12.5, "max": 31.2, "step": 1.0, "group": "Body", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 4.0, "min": 1.2, "max": 11.9, "step": 0.5, "group": "Body", "label": "Flange height (mm)"}, "end_chamfer": {"type": "float", "default": 0.3, "min": 0.1, "max": 0.9, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330120 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 10.39, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 23.8, \"min\": 7.1, \"max\": 71.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 16.4, \"min\": 12.5, \"max\": 31.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 4.0, \"min\": 1.2, \"max\": 11.9, \"step\": 0.5, \"group\": 'Body', \"label\": 'Flange height (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.3, \"min\": 0.1, \"max\": 0.9, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca1c9_1557", "family": "revolved", "tier": 1, "seed": 1177330121, "symmetry": "none", "op_count": 2, "ir_hash": "ae97a84b773e59e6", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 2300.0, "surface_area": 1470.0, "principal_moments": [76500.0, 89900.0, 89900.0], "n_faces": 5, "n_edges": 8, "n_vertices": 5}, "dimensions": {"lines": ["Revolved body, \u00d815 mm \u00d7 20 mm tall.", "Chamfer 1.4 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d815 mm \u00d7 20 mm tall. Chamfer 1.4 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 15, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 20.0, "min": 6.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "end_chamfer": {"type": "float", "default": 1.4, "min": 0.1, "max": 4.2, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330121 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 15, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 20.0, \"min\": 6.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 1.4, \"min\": 0.1, \"max\": 4.2, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca1ca_1558", "family": "revolved", "tier": 0, "seed": 1177330122, "symmetry": "none", "op_count": 1, "ir_hash": "29cdcb4ef01dc9c3", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 135000.0, "surface_area": 24700.0, "principal_moments": [62899999.99999999, 87300000.0, 87300000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d855.67 mm \u00d7 83.4 mm tall."], "text": "Revolved body, \u00d855.67 mm \u00d7 83.4 mm tall."}, "params": {"outer_d": {"type": "float", "default": 55.67, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 83.4, "min": 25.0, "max": 250.2, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330122 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 55.67, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 83.4, \"min\": 25.0, \"max\": 250.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462ca1cb_1559", "family": "lofted", "tier": 1, "seed": 1177330123, "symmetry": "none", "op_count": 2, "ir_hash": "1c04f27a3366cf64", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 48400.0, "surface_area": 9960.0, "principal_moments": [9670000.0, 14599999.999999998, 14599999.999999998], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["Lofted body through 2 sections: 6-sided polygon section, 51.44 mm across corners \u2192 20.6 \u00d7 20.6 mm rectangular section.", "One \u00d810.6 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 2 sections: 6-sided polygon section, 51.44 mm across corners \u2192 20.6 \u00d7 20.6 mm rectangular section. One \u00d810.6 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 51.44, "min": 25.7, "max": 82.3, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 20.6, "min": 8.2, "max": 61.7, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 52.9, "min": 21.2, "max": 105.8, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_bore_d": {"type": "float", "default": 10.6, "min": 2.0, "max": 16.5, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330123 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 51.44, \"min\": 25.7, \"max\": 82.3, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 20.6, \"min\": 8.2, \"max\": 61.7, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 52.9, \"min\": 21.2, \"max\": 105.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 10.6, \"min\": 2.0, \"max\": 16.5, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .polygon(6, p[\"loft_base\"] * 0.5 * 2)\n        .workplane(offset=p[\"loft_h\"])\n        .rect(p[\"loft_top\"], p[\"loft_top\"])\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca1cc_1560", "family": "plate", "tier": 2, "seed": 1177330124, "symmetry": "none", "op_count": 3, "ir_hash": "8cabc10aeb0a0097", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 25800.0, "surface_area": 7430.0, "principal_moments": [2460000.0, 13899999.999999998, 15999999.999999998], "n_faces": 30, "n_edges": 84, "n_vertices": 56}, "dimensions": {"lines": ["Rectangular body, 80 \u00d7 32.8 \u00d7 10 mm (W\u00d7D\u00d7H).", "Five \u00d83.2 mm holes in two staggered rows, 30 \u00d7 32.2 mm pitch.", "Chamfer 1.8 mm on vertical edges."], "text": "Rectangular body, 80 \u00d7 32.8 \u00d7 10 mm (W\u00d7D\u00d7H). Five \u00d83.2 mm holes in two staggered rows, 30 \u00d7 32.2 mm pitch. Chamfer 1.8 mm on vertical edges."}, "params": {"plate_w": {"type": "float", "default": 80, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 32.8, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 3.3, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 3, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}, "chamfer_d": {"type": "float", "default": 1.8, "min": 1.1, "max": 1.9, "step": 0.5, "group": "Body", "label": "Chamfer distance (mm)"}, "chamfered": {"type": "bool", "default": true, "group": "Body", "label": "Chamfer edges"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330124 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 80, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 32.8, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 3.3, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 3, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n    \"chamfer_d\": {\"type\": 'float', \"default\": 1.8, \"min\": 1.1, \"max\": 1.9, \"step\": 0.5, \"group\": 'Body', \"label\": 'Chamfer distance (mm)'},\n    \"chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Chamfer edges'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 30.0\n    _ssy = 32.2\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    if p[\"chamfered\"]:\n        result = result.edges('|Z').chamfer(p[\"chamfer_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462ca1cd_1561", "family": "lofted", "tier": 2, "seed": 1177330125, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "faded0afb488d71e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 32700.0, "surface_area": 8670.0, "principal_moments": [7240000.0, 7390000.0, 7400000.0], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["Lofted body through 3 sections: 6-sided polygon section, 45 mm across corners \u2192 6-sided polygon section, 40.4 mm across corners \u2192 35.7 \u00d7 35.7 mm rectangular section.", "One \u00d817.1 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 3 sections: 6-sided polygon section, 45 mm across corners \u2192 6-sided polygon section, 40.4 mm across corners \u2192 35.7 \u00d7 35.7 mm rectangular section. One \u00d817.1 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 45, "min": 22.5, "max": 72.0, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 35.7, "min": 14.3, "max": 54.0, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 36.0, "min": 14.4, "max": 72.0, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_mid": {"type": "float", "default": 40.4, "min": 17.9, "max": 54.0, "step": 1.0, "group": "Body", "label": "Mid size (mm)"}, "loft_bore_d": {"type": "float", "default": 17.1, "min": 2.0, "max": 28.6, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330125 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 45, \"min\": 22.5, \"max\": 72.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 35.7, \"min\": 14.3, \"max\": 54.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 36.0, \"min\": 14.4, \"max\": 72.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_mid\": {\"type\": 'float', \"default\": 40.4, \"min\": 17.9, \"max\": 54.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Mid size (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 17.1, \"min\": 2.0, \"max\": 28.6, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .polygon(6, p[\"loft_base\"] * 0.5 * 2)\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .polygon(6, p[\"loft_mid\"] * 0.5 * 2)\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .rect(p[\"loft_top\"], p[\"loft_top\"])\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca1ce_1562", "family": "revolved", "tier": 1, "seed": 1177330126, "symmetry": "none", "op_count": 2, "ir_hash": "0359e7df4ba2da5b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 83400.0, "surface_area": 13900.0, "principal_moments": [21700000.0, 38600000.0, 38600000.0], "n_faces": 8, "n_edges": 14, "n_vertices": 8}, "dimensions": {"lines": ["Revolved body, \u00d843.38 mm \u00d7 63.3 mm tall with \u00d814.2 mm bore.", "Chamfer 0.8 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d843.38 mm \u00d7 63.3 mm tall with \u00d814.2 mm bore. Chamfer 0.8 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 43.38, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 63.3, "min": 19.0, "max": 189.9, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 14.2, "min": 2.0, "max": 30.4, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "end_chamfer": {"type": "float", "default": 0.8, "min": 0.1, "max": 2.4, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330126 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 43.38, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 63.3, \"min\": 19.0, \"max\": 189.9, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 14.2, \"min\": 2.0, \"max\": 30.4, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.8, \"min\": 0.1, \"max\": 2.4, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462ca1cf_1563", "family": "gear", "tier": 1, "seed": 1177330127, "symmetry": "none", "op_count": 1, "ir_hash": "c9950ea8ce072675", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 18200.0, "surface_area": 6510.0, "principal_moments": [2370000.0, 2370000.0, 4170000.0], "n_faces": 129, "n_edges": 381, "n_vertices": 254}, "dimensions": {"lines": ["Spur gear, module 2 mm, 21 teeth (pitch \u00d842 mm), face width 13.7 mm, \u00d86.7 mm bore."], "text": "Spur gear, module 2 mm, 21 teeth (pitch \u00d842 mm), face width 13.7 mm, \u00d86.7 mm bore."}, "params": {"module": {"type": "float", "default": 2.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 21, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 13.7, "min": 5.5, "max": 34.2, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "bore_d": {"type": "float", "default": 6.7, "min": 2.0, "max": 22.2, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330127 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 2.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 21, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 13.7, \"min\": 5.5, \"max\": 34.2, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 6.7, \"min\": 2.0, \"max\": 22.2, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca1d0_1564", "family": "revolved", "tier": 2, "seed": 1177330128, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "1d2fc30a0aee66e7", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 10100.0, "surface_area": 4130.0, "principal_moments": [467000.0, 2090000.0, 2090000.0], "n_faces": 12, "n_edges": 20, "n_vertices": 12}, "dimensions": {"lines": ["Revolved body, \u00d818.09 mm \u00d7 47.1 mm tall with \u00d87 mm bore, 5.59 mm-wide groove 0.63 mm deep.", "Chamfer 0.7 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d818.09 mm \u00d7 47.1 mm tall with \u00d87 mm bore, 5.59 mm-wide groove 0.63 mm deep. Chamfer 0.7 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 18.09, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 47.1, "min": 14.1, "max": 141.3, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 7.0, "min": 2.0, "max": 12.7, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "groove_depth": {"type": "float", "default": 0.63, "min": 0.25, "max": 1.89, "step": 0.1, "group": "Body", "label": "Groove depth (mm)"}, "groove_w": {"type": "float", "default": 5.59, "min": 2.24, "max": 16.77, "step": 0.2, "group": "Body", "label": "Groove width (mm)"}, "groove_pos": {"type": "float", "default": 12.1, "min": 7.1, "max": 40.0, "step": 1.0, "group": "Body", "label": "Groove position (mm)"}, "end_chamfer": {"type": "float", "default": 0.7, "min": 0.1, "max": 2.1, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330128 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 18.09, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 47.1, \"min\": 14.1, \"max\": 141.3, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 7.0, \"min\": 2.0, \"max\": 12.7, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"groove_depth\": {\"type\": 'float', \"default\": 0.63, \"min\": 0.25, \"max\": 1.89, \"step\": 0.1, \"group\": 'Body', \"label\": 'Groove depth (mm)'},\n    \"groove_w\": {\"type\": 'float', \"default\": 5.59, \"min\": 2.24, \"max\": 16.77, \"step\": 0.2, \"group\": 'Body', \"label\": 'Groove width (mm)'},\n    \"groove_pos\": {\"type\": 'float', \"default\": 12.1, \"min\": 7.1, \"max\": 40.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Groove position (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.7, \"min\": 0.1, \"max\": 2.1, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"groove_pos\"] - p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2 - p[\"groove_depth\"], p[\"groove_pos\"] - p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2 - p[\"groove_depth\"], p[\"groove_pos\"] + p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2, p[\"groove_pos\"] + p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462ca1d1_1565", "family": "ribbed", "tier": 1, "seed": 1177330129, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "4b6b4c9de1429f7d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 5000.0, "surface_area": 2880.0, "principal_moments": [285000.0, 636000.0, 719000.0], "n_faces": 22, "n_edges": 52, "n_vertices": 32}, "dimensions": {"lines": ["Rectangular body, 30 \u00d7 18.2 \u00d7 5 mm (W\u00d7D\u00d7H).", "Two ribs, 4.5 mm thick, 10.5 mm tall."], "text": "Rectangular body, 30 \u00d7 18.2 \u00d7 5 mm (W\u00d7D\u00d7H). Two ribs, 4.5 mm thick, 10.5 mm tall."}, "params": {"base_w": {"type": "float", "default": 30.0, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 18.2, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 5.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 2, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 10.5, "min": 4.2, "max": 21.0, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 4.5, "min": 1.0, "max": 11.2, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330129 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 30.0, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 18.2, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 2, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 10.5, \"min\": 4.2, \"max\": 21.0, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 4.5, \"min\": 1.0, \"max\": 11.2, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca1d2_1566", "family": "compound", "tier": 1, "seed": 1177330130, "symmetry": "none", "op_count": 2, "ir_hash": "4469a18b2f18dc67", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 15500.0, "surface_area": 5060.0, "principal_moments": [1730000.0, 1810000.0, 2060000.0], "n_faces": 9, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["Rectangular body, 22.53 \u00d7 27.9 \u00d7 24.1 mm (W\u00d7D\u00d7H).", "\u00d810.3 mm circular section attachment, 19.3 mm long, from right face with a \u00d86.1 mm bore."], "text": "Rectangular body, 22.53 \u00d7 27.9 \u00d7 24.1 mm (W\u00d7D\u00d7H). \u00d810.3 mm circular section attachment, 19.3 mm long, from right face with a \u00d86.1 mm bore."}, "params": {"block_w": {"type": "float", "default": 22.53, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 27.9, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 24.1, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "spig_d": {"type": "float", "default": 10.3, "min": 4.1, "max": 16.9, "step": 1.0, "group": "Spigot", "label": "Spigot diameter (mm)"}, "spig_len": {"type": "float", "default": 19.3, "min": 3.1, "max": 41.2, "step": 1.0, "group": "Spigot", "label": "Spigot length (mm)"}, "spig_bore": {"type": "float", "default": 6.1, "min": 2.0, "max": 7.4, "step": 0.5, "group": "Spigot", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330130 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 22.53, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 27.9, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 24.1, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"spig_d\": {\"type\": 'float', \"default\": 10.3, \"min\": 4.1, \"max\": 16.9, \"step\": 1.0, \"group\": 'Spigot', \"label\": 'Spigot diameter (mm)'},\n    \"spig_len\": {\"type\": 'float', \"default\": 19.3, \"min\": 3.1, \"max\": 41.2, \"step\": 1.0, \"group\": 'Spigot', \"label\": 'Spigot length (mm)'},\n    \"spig_bore\": {\"type\": 'float', \"default\": 6.1, \"min\": 2.0, \"max\": 7.4, \"step\": 0.5, \"group\": 'Spigot', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"spig_d\"] / 2).extrude(p[\"spig_len\"])\n    )\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"spig_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462ca1d3_1567", "family": "tapped", "tier": 0, "seed": 1177330131, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "9f7b0b6c05cc8302", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 2870.0, "surface_area": 1690.0, "principal_moments": [91300.0, 129000.0, 129000.0], "n_faces": 155, "n_edges": 421, "n_vertices": 268}, "dimensions": {"lines": ["One M6x1 tapped hole in a cylinder."], "text": "One M6x1 tapped hole in a cylinder."}, "params": {"major_d": {"type": "float", "default": 6.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 1.0, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 18.7, "min": 7.2, "max": 33.7, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "body_d": {"type": "float", "default": 15.0, "min": 10.8, "max": 24.0, "step": 1.0, "group": "Body", "label": "Outer \u00d8 (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330131 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.0, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 18.7, \"min\": 7.2, \"max\": 33.7, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"body_d\": {\"type\": 'float', \"default\": 15.0, \"min\": 10.8, \"max\": 24.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer \u00d8 (mm)'},\n}\n\n\ndef build(p):\n\n    _W = _D = p[\"body_d\"]\n    _H = p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Cylinder(radius=_W / 2, height=_H)\n    _locs = [(0.0, 0.0)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca1d4_1568", "family": "bracket", "tier": 1, "seed": 1177330132, "symmetry": "none", "op_count": 1, "ir_hash": "6c41110224c2c2c2", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 41500.0, "surface_area": 18800.0, "principal_moments": [18800000.0, 38700000.0, 42200000.0], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["C-channel bracket: base leg 70 mm, vertical leg 43.4 mm, 56.72 mm wide, 5 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."], "text": "C-channel bracket: base leg 70 mm, vertical leg 43.4 mm, 56.72 mm wide, 5 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 70, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 43.4, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 56.72, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 5.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330132 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 70, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 43.4, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 56.72, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462ca1d5_1569", "family": "enclosure", "tier": 2, "seed": 1177330133, "symmetry": "mirror_x", "op_count": 4, "ir_hash": "20e56afe66e60ca5", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 44400.0, "surface_area": 37400.0, "principal_moments": [29499999.999999996, 52799999.99999999, 60299999.99999999], "n_faces": 35, "n_edges": 108, "n_vertices": 72}, "dimensions": {"lines": ["Rectangular body, 89.6 \u00d7 39.5 \u00d7 64.5 mm (W\u00d7D\u00d7H).", "Hollowed to 2.4 mm wall thickness, open at top face.", "Four \u00d88.4 mm holes at the corners, 62.72 \u00d7 27.65 mm spacing.", "Fillet radius 4.537 mm on vertical edges."], "text": "Rectangular body, 89.6 \u00d7 39.5 \u00d7 64.5 mm (W\u00d7D\u00d7H). Hollowed to 2.4 mm wall thickness, open at top face. Four \u00d88.4 mm holes at the corners, 62.72 \u00d7 27.65 mm spacing. Fillet radius 4.537 mm on vertical edges."}, "params": {"enc_w": {"type": "float", "default": 89.6, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 39.5, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 64.5, "min": 25.8, "max": 129.0, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 2.4, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}, "hole_d": {"type": "float", "default": 8.4, "min": 2.0, "max": 8.9, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330133 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 89.6, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 39.5, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 64.5, \"min\": 25.8, \"max\": 129.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 2.4, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 2.0, \"max\": 8.9, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"enc_w\"] * 0.7, p[\"enc_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"enc_w\"], p[\"enc_d\"]) * 0.1148685104062282)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462ca1d6_1570", "family": "tapped", "tier": 1, "seed": 1177330134, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "ac05ba1ff70be0e7", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 18100.0, "surface_area": 7930.0, "principal_moments": [1610000.0, 3470000.0, 4060000.0], "n_faces": 406, "n_edges": 1460, "n_vertices": 1056}, "dimensions": {"lines": ["Four M10x1.5 tapped holes in a plate."], "text": "Four M10x1.5 tapped holes in a plate."}, "params": {"major_d": {"type": "float", "default": 10.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 1.5, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 18.5, "min": 12.0, "max": 33.3, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "plate_w": {"type": "float", "default": 45.0, "min": 27.0, "max": 72.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 27.6, "min": 16.6, "max": 44.2, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330134 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 10.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.5, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 18.5, \"min\": 12.0, \"max\": 33.3, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"plate_w\": {\"type\": 'float', \"default\": 45.0, \"min\": 27.0, \"max\": 72.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 27.6, \"min\": 16.6, \"max\": 44.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n}\n\n\ndef build(p):\n\n    _W, _D, _H = p[\"plate_w\"], p[\"plate_d\"], p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Box(_W, _D, _H)\n    _sx, _sy = p[\"plate_w\"] * 0.6, p[\"plate_d\"] * 0.6\n    _locs = [(_xx, _yy) for _xx in (-_sx / 2, _sx / 2) for _yy in (-_sy / 2, _sy / 2)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462ca1d7_1571", "family": "profiled", "tier": 1, "seed": 1177330135, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "8481ef6a5e21fbcd", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 72200.0, "surface_area": 13000.0, "principal_moments": [6160000.0, 116000000.0, 116000000.0], "n_faces": 7, "n_edges": 15, "n_vertices": 10}, "dimensions": {"lines": ["5-sided polygon section, 29.78 mm across corners, extruded 137 mm thick."], "text": "5-sided polygon section, 29.78 mm across corners, extruded 137 mm thick."}, "params": {"circ_r": {"type": "float", "default": 14.89, "min": 7.4, "max": 29.8, "step": 1.0, "group": "Profile", "label": "Circumscribed radius (mm)"}, "n_sides": {"type": "int", "default": 5, "min": 3, "max": 8, "step": 1, "group": "Profile", "label": "Sides"}, "length": {"type": "float", "default": 137.0, "min": 41.1, "max": 411.0, "step": 5.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330135 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"circ_r\": {\"type\": 'float', \"default\": 14.89, \"min\": 7.4, \"max\": 29.8, \"step\": 1.0, \"group\": 'Profile', \"label\": 'Circumscribed radius (mm)'},\n    \"n_sides\": {\"type\": 'int', \"default\": 5, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Profile', \"label\": 'Sides'},\n    \"length\": {\"type\": 'float', \"default\": 137.0, \"min\": 41.1, \"max\": 411.0, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').polygon(p[\"n_sides\"], p[\"circ_r\"] * 2).extrude(p[\"length\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462ca1d8_1572", "family": "sketched", "tier": 1, "seed": 1177330136, "symmetry": "none", "op_count": 1, "ir_hash": "2bdb31754af999cc", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 41700.0, "surface_area": 8880.0, "principal_moments": [5240000.0, 14599999.999999998, 14599999.999999998], "n_faces": 8, "n_edges": 14, "n_vertices": 8}, "dimensions": {"lines": ["Revolved organic body from a freeform sketched section (7 segments: 3 straight, 4 arcs), ~18.075 \u00d7 60 mm half-silhouette."], "text": "Revolved organic body from a freeform sketched section (7 segments: 3 straight, 4 arcs), ~18.075 \u00d7 60 mm half-silhouette."}, "params": {"sk_r": {"type": "float", "default": 19.95, "min": 10.0, "max": 35.9, "step": 1.0, "group": "Sketch", "label": "Max radius (mm)"}, "sk_h": {"type": "float", "default": 60, "min": 30.0, "max": 108.0, "step": 1.0, "group": "Sketch", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330136 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_r\": {\"type\": 'float', \"default\": 19.95, \"min\": 10.0, \"max\": 35.9, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Max radius (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 60, \"min\": 30.0, \"max\": 108.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XZ').moveTo(p[\"sk_r\"] * 0.4667, p[\"sk_h\"] * 0.0).threePointArc((p[\"sk_r\"] * 0.6919, p[\"sk_h\"] * 0.0581), (p[\"sk_r\"] * 0.9844, p[\"sk_h\"] * 0.1162)).threePointArc((p[\"sk_r\"] * 0.6418, p[\"sk_h\"] * 0.1686), (p[\"sk_r\"] * 0.1262, p[\"sk_h\"] * 0.2209)).threePointArc((p[\"sk_r\"] * 0.5472, p[\"sk_h\"] * 0.2935), (p[\"sk_r\"] * 0.784, p[\"sk_h\"] * 0.366)).threePointArc((p[\"sk_r\"] * 0.7856, p[\"sk_h\"] * 0.4894), (p[\"sk_r\"] * 0.8225, p[\"sk_h\"] * 0.6127)).lineTo(p[\"sk_r\"] * 0.8087, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.0784, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.0784, p[\"sk_h\"] * 0.0).close().revolve())\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca1d9_1573", "family": "bracket", "tier": 2, "seed": 1177330137, "symmetry": "none", "op_count": 1, "ir_hash": "3a02c3daada3dd5d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 28400.0, "surface_area": 15300.0, "principal_moments": [9740000.0, 28499999.999999996, 31599999.999999996], "n_faces": 15, "n_edges": 37, "n_vertices": 24}, "dimensions": {"lines": ["L-bracket: base leg 82.09 mm, vertical leg 76.5 mm, 40 mm wide, 4 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 5.2 mm corner gusset."], "text": "L-bracket: base leg 82.09 mm, vertical leg 76.5 mm, 40 mm wide, 4 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 5.2 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 82.09, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 76.5, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 40, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 4.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 5.2, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330137 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 82.09, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 76.5, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 40, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 5.2, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca1da_1574", "family": "compound", "tier": 1, "seed": 1177330138, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "e0d450c7821c1443", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 10600.0, "surface_area": 4960.0, "principal_moments": [1500000.0, 1690000.0, 2470000.0], "n_faces": 19, "n_edges": 48, "n_vertices": 32}, "dimensions": {"lines": ["Rectangular body, 41.44 \u00d7 38.4 \u00d7 6 mm (W\u00d7D\u00d7H).", "8-sided polygon section, 8.4 mm across corners attachment, 25 mm long, from top face.", "Four \u00d83.2 mm holes at the corners, 29.008 \u00d7 26.88 mm spacing."], "text": "Rectangular body, 41.44 \u00d7 38.4 \u00d7 6 mm (W\u00d7D\u00d7H). 8-sided polygon section, 8.4 mm across corners attachment, 25 mm long, from top face. Four \u00d83.2 mm holes at the corners, 29.008 \u00d7 26.88 mm spacing."}, "params": {"base_w": {"type": "float", "default": 41.44, "min": 30.0, "max": 160.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 38.4, "min": 25.0, "max": 160.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_h": {"type": "float", "default": 6.0, "min": 3.0, "max": 30.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "col_sides": {"type": "int", "default": 8, "min": 3, "max": 8, "step": 1, "group": "Column", "label": "Column sides"}, "col_r": {"type": "float", "default": 4.2, "min": 2.1, "max": 9.6, "step": 1.0, "group": "Column", "label": "Column circumradius (mm)"}, "col_h": {"type": "float", "default": 25.0, "min": 7.5, "max": 75.0, "step": 1.0, "group": "Column", "label": "Column height (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 8.6, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330138 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 41.44, \"min\": 30.0, \"max\": 160.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 38.4, \"min\": 25.0, \"max\": 160.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_h\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 30.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"col_sides\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Column', \"label\": 'Column sides'},\n    \"col_r\": {\"type\": 'float', \"default\": 4.2, \"min\": 2.1, \"max\": 9.6, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column circumradius (mm)'},\n    \"col_h\": {\"type\": 'float', \"default\": 25.0, \"min\": 7.5, \"max\": 75.0, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 8.6, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_h\"])\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"col_sides\"], p[\"col_r\"] * 2).extrude(p[\"col_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"base_w\"] * 0.7, p[\"base_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca1dc_1576", "family": "bracket", "tier": 2, "seed": 1177330140, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "736cba8d74cb5e49", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 35300.0, "surface_area": 11700.0, "principal_moments": [9310000.0, 19300000.0, 20000000.0], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["C-channel bracket: base leg 55.56 mm, vertical leg 39.2 mm, 37.96 mm wide, 8 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg; 11.1 mm corner gusset."], "text": "C-channel bracket: base leg 55.56 mm, vertical leg 39.2 mm, 37.96 mm wide, 8 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg; 11.1 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 55.56, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 39.2, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 37.96, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 8.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 11.1, "min": 4.0, "max": 19.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330140 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 55.56, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 39.2, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 37.96, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 11.1, \"min\": 4.0, \"max\": 19.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl / 2, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bl - _bt, _bt).lineTo(_bl - _bt - _g, _bt)\n                    .lineTo(_bl - _bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca1de_1578", "family": "bracket", "tier": 2, "seed": 1177330142, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "6cf9d720f33e1b23", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 16400.0, "surface_area": 11900.0, "principal_moments": [5470000.0, 7740000.0, 10300000.0], "n_faces": 14, "n_edges": 37, "n_vertices": 24}, "dimensions": {"lines": ["L-bracket: base leg 45 mm, vertical leg 54 mm, 55 mm wide, 3 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 2.5 mm corner gusset."], "text": "L-bracket: base leg 45 mm, vertical leg 54 mm, 55 mm wide, 3 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 2.5 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 45, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 54.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 55, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 3.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 2.5, "min": 1.5, "max": 9.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330142 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 45, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 54.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 55, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 2.5, \"min\": 1.5, \"max\": 9.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462ca1df_1579", "family": "flanged", "tier": 1, "seed": 1177330143, "symmetry": "none", "op_count": 2, "ir_hash": "f7b5af09bffdda52", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 702000.0, "surface_area": 88300.0, "principal_moments": [1470000000.0, 1520000000.0, 1520000000.0], "n_faces": 10, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["Revolved body, \u00d882.16 mm \u00d7 105.6 mm tall with \u00d829.1 mm bore, \u00d8176.6 mm \u00d7 11.1 mm flange.", "Four \u00d84.3 mm holes on a \u00d8106 mm bolt circle."], "text": "Revolved body, \u00d882.16 mm \u00d7 105.6 mm tall with \u00d829.1 mm bore, \u00d8176.6 mm \u00d7 11.1 mm flange. Four \u00d84.3 mm holes on a \u00d8106 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 82.16, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 105.6, "min": 31.7, "max": 264.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 29.1, "min": 2.0, "max": 57.5, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 176.6, "min": 106.8, "max": 246.5, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 11.1, "min": 3.3, "max": 42.2, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 53.0, "min": 35.3, "max": 79.5, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 4, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330143 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 82.16, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 105.6, \"min\": 31.7, \"max\": 264.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 29.1, \"min\": 2.0, \"max\": 57.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 176.6, \"min\": 106.8, \"max\": 246.5, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 11.1, \"min\": 3.3, \"max\": 42.2, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 53.0, \"min\": 35.3, \"max\": 79.5, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 4, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462ca1e0_1580", "family": "enclosure", "tier": 1, "seed": 1177330144, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "b3adc2ad93bfd8e8", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 166000.0, "surface_area": 86800.0, "principal_moments": [332000000.0, 402000000.0, 419000000.0], "n_faces": 11, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 105 \u00d7 85.3 \u00d7 96.3 mm (W\u00d7D\u00d7H).", "Hollowed to 3.9 mm wall thickness, open at top face."], "text": "Rectangular body, 105 \u00d7 85.3 \u00d7 96.3 mm (W\u00d7D\u00d7H). Hollowed to 3.9 mm wall thickness, open at top face."}, "params": {"enc_w": {"type": "float", "default": 105, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 85.3, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 96.3, "min": 38.5, "max": 192.6, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 3.9, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330144 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 105, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 85.3, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 96.3, \"min\": 38.5, \"max\": 192.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 3.9, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca1e1_1581", "family": "bracket", "tier": 1, "seed": 1177330145, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "49ed1e8f54a41bd6", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 14800.0, "surface_area": 5080.0, "principal_moments": [1790000.0, 2400000.0, 3330000.0], "n_faces": 8, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["L-bracket: base leg 27.04 mm, vertical leg 27.2 mm, 40 mm wide, 8 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."], "text": "L-bracket: base leg 27.04 mm, vertical leg 27.2 mm, 40 mm wide, 8 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 27.04, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 27.2, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 40, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 8.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330145 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 27.04, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 27.2, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 40, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca1e2_1582", "family": "plate", "tier": 3, "seed": 1177330146, "symmetry": "radial", "op_count": 4, "ir_hash": "77fbd4f6dc7c3919", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 4410.0, "surface_area": 1900.0, "principal_moments": [173000.0, 218000.0, 298000.0], "n_faces": 27, "n_edges": 65, "n_vertices": 42}, "dimensions": {"lines": ["Rectangular body, 25.53 \u00d7 12.3 \u00d7 4 mm (W\u00d7D\u00d7H).", "Four \u00d84.3 mm holes on a \u00d815.4 mm bolt circle.", "Fillet radius 1.207 mm on vertical edges.", "Boss \u00d823.3 mm \u00d7 7.7 mm tall on top face."], "text": "Rectangular body, 25.53 \u00d7 12.3 \u00d7 4 mm (W\u00d7D\u00d7H). Four \u00d84.3 mm holes on a \u00d815.4 mm bolt circle. Fillet radius 1.207 mm on vertical edges. Boss \u00d823.3 mm \u00d7 7.7 mm tall on top face."}, "params": {"plate_w": {"type": "float", "default": 25.53, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 12.3, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 4.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "bolt_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 7.7, "min": 5.1, "max": 11.5, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 4, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}, "boss_d": {"type": "float", "default": 23.3, "min": 11.7, "max": 46.6, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 7.7, "min": 3.1, "max": 19.2, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330146 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 25.53, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 12.3, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 4.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 7.7, \"min\": 5.1, \"max\": 11.5, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 4, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n    \"boss_d\": {\"type\": 'float', \"default\": 23.3, \"min\": 11.7, \"max\": 46.6, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 7.7, \"min\": 3.1, \"max\": 19.2, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"plate_w\"], p[\"plate_d\"]) * 0.09811375221792036)\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca1e3_1583", "family": "plate", "tier": 1, "seed": 1177330147, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "2786ebb9d54c8d84", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 4250.0, "surface_area": 2880.0, "principal_moments": [276000.0, 557000.0, 822000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 40 \u00d7 28 \u00d7 4 mm (W\u00d7D\u00d7H).", "Four \u00d84.3 mm holes at the corners, 28 \u00d7 19.6 mm spacing."], "text": "Rectangular body, 40 \u00d7 28 \u00d7 4 mm (W\u00d7D\u00d7H). Four \u00d84.3 mm holes at the corners, 28 \u00d7 19.6 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 40, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 28.0, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 4.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 6.3, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330147 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 40, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 28.0, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 4.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 6.3, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca1e4_1584", "family": "bracket", "tier": 2, "seed": 1177330148, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "5223ecffe39d9169", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 50500.0, "surface_area": 19600.0, "principal_moments": [17100000.0, 90900000.0, 94999999.99999999], "n_faces": 18, "n_edges": 48, "n_vertices": 32}, "dimensions": {"lines": ["Z-bracket: base leg 87.7 mm, vertical leg 71.4 mm, top leg 55.4 mm, 40 mm wide, 6 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg; 8.8 mm corner gusset."], "text": "Z-bracket: base leg 87.7 mm, vertical leg 71.4 mm, top leg 55.4 mm, 40 mm wide, 6 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg; 8.8 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 87.7, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 71.4, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 40, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 6.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 55.4, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}, "gusset_t": {"type": "float", "default": 8.8, "min": 3.0, "max": 18.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330148 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 87.7, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 71.4, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 40, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 55.4, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 8.8, \"min\": 3.0, \"max\": 18.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _tl, _vl) * 0.4 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(0, _vl - _bt).lineTo(-_g, _vl - _bt)\n                    .lineTo(0, _vl - _bt - _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462ca1e6_1586", "family": "flanged", "tier": 2, "seed": 1177330150, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "6beff26d70da3d19", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 225000.0, "surface_area": 40500.0, "principal_moments": [165000000.0, 235000000.0, 235000000.0], "n_faces": 18, "n_edges": 45, "n_vertices": 30}, "dimensions": {"lines": ["Revolved body, \u00d856.7 mm \u00d7 82 mm tall with \u00d818.9 mm bore, \u00d8113.3 mm \u00d7 5.5 mm flange.", "Twelve \u00d83.2 mm holes on a \u00d868 mm bolt circle."], "text": "Revolved body, \u00d856.7 mm \u00d7 82 mm tall with \u00d818.9 mm bore, \u00d8113.3 mm \u00d7 5.5 mm flange. Twelve \u00d83.2 mm holes on a \u00d868 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 56.7, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 82.0, "min": 24.6, "max": 205.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 18.9, "min": 2.0, "max": 39.7, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 113.3, "min": 73.7, "max": 170.1, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 5.5, "min": 1.6, "max": 32.8, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 34.0, "min": 22.7, "max": 51.0, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 12, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330150 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 56.7, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 82.0, \"min\": 24.6, \"max\": 205.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 18.9, \"min\": 2.0, \"max\": 39.7, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 113.3, \"min\": 73.7, \"max\": 170.1, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 5.5, \"min\": 1.6, \"max\": 32.8, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 34.0, \"min\": 22.7, \"max\": 51.0, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 12, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca1e7_1587", "family": "block", "tier": 1, "seed": 1177330151, "symmetry": "radial", "op_count": 2, "ir_hash": "d82c010615dbcd87", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 100000.0, "surface_area": 25700.0, "principal_moments": [35500000.0, 48399999.99999999, 62899999.99999999], "n_faces": 24, "n_edges": 66, "n_vertices": 44}, "dimensions": {"lines": ["Rectangular body, 64.24 \u00d7 36.8 \u00d7 54.8 mm (W\u00d7D\u00d7H).", "Twelve \u00d88.4 mm holes on a \u00d838.6 mm bolt circle."], "text": "Rectangular body, 64.24 \u00d7 36.8 \u00d7 54.8 mm (W\u00d7D\u00d7H). Twelve \u00d88.4 mm holes on a \u00d838.6 mm bolt circle."}, "params": {"block_w": {"type": "float", "default": 64.24, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 36.8, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 54.8, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "bolt_d": {"type": "float", "default": 8.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 19.3, "min": 12.8, "max": 28.9, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 12, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330151 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 64.24, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 36.8, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 54.8, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 19.3, \"min\": 12.8, \"max\": 28.9, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 12, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca1e8_1588", "family": "block", "tier": 1, "seed": 1177330152, "symmetry": "none", "op_count": 2, "ir_hash": "1555c3acb1c47313", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 2740.0, "surface_area": 2070.0, "principal_moments": [57300.0, 206000.0, 239000.0], "n_faces": 22, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 15 \u00d7 7.8 \u00d7 29.1 mm (W\u00d7D\u00d7H).", "Four 2.4 mm square holes at the corners, 10.5 \u00d7 5.46 mm spacing."], "text": "Rectangular body, 15 \u00d7 7.8 \u00d7 29.1 mm (W\u00d7D\u00d7H). Four 2.4 mm square holes at the corners, 10.5 \u00d7 5.46 mm spacing."}, "params": {"block_w": {"type": "float", "default": 15.0, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 7.8, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 29.1, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 2.4, "min": 2.0, "max": 2.3, "step": 0.5, "group": "Holes", "label": "Square hole size (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330152 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 15.0, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 7.8, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 29.1, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 2.4, \"min\": 2.0, \"max\": 2.3, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Square hole size (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().rect(p[\"hole_d\"], p[\"hole_d\"]).cutThruAll()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462ca1e9_1589", "family": "swept", "tier": 2, "seed": 1177330153, "symmetry": "none", "op_count": 1, "ir_hash": "3e6aafbb7db32d41", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 840.0, "surface_area": 3980.0, "principal_moments": [63000.0, 1210000.0, 1250000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["18.8 \u00d7 14.5 mm rectangular section swept along a curved path, ~74.03 mm span."], "text": "18.8 \u00d7 14.5 mm rectangular section swept along a curved path, ~74.03 mm span."}, "params": {"path_w": {"type": "float", "default": 74.03, "min": 37.0, "max": 133.3, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 50, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_a": {"type": "float", "default": 18.8, "min": 9.4, "max": 33.8, "step": 1.0, "group": "Section", "label": "Section width (mm)"}, "sweep_b": {"type": "float", "default": 14.5, "min": 7.2, "max": 26.1, "step": 1.0, "group": "Section", "label": "Section depth (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330153 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 74.03, \"min\": 37.0, \"max\": 133.3, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 50, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_a\": {\"type\": 'float', \"default\": 18.8, \"min\": 9.4, \"max\": 33.8, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section width (mm)'},\n    \"sweep_b\": {\"type\": 'float', \"default\": 14.5, \"min\": 7.2, \"max\": 26.1, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section depth (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.3425, p[\"path_h\"] * 0.2281), (p[\"path_w\"] * 0.189, p[\"path_h\"] * 0.6172), (p[\"path_w\"] * 0.5849, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').rect(p[\"sweep_a\"], p[\"sweep_b\"]).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca1ea_1590", "family": "bracket", "tier": 1, "seed": 1177330154, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "b2fc6062fde3c65b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 27300.0, "surface_area": 12900.0, "principal_moments": [10200000.0, 13099999.999999998, 14499999.999999998], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["C-channel bracket: base leg 45 mm, vertical leg 45.9 mm, 43.63 mm wide, 5 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."], "text": "C-channel bracket: base leg 45 mm, vertical leg 45.9 mm, 43.63 mm wide, 5 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 45, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 45.9, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 43.63, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 5.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330154 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 45, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 45.9, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 43.63, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca1eb_1591", "family": "plate", "tier": 1, "seed": 1177330155, "symmetry": "none", "op_count": 2, "ir_hash": "837241c3229a66dc", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 70600.0, "surface_area": 17900.0, "principal_moments": [30099999.999999996, 59299999.99999999, 88200000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 100 \u00d7 70.9 \u00d7 10 mm (W\u00d7D\u00d7H).", "Four \u00d83.2 mm holes at the corners, 70 \u00d7 49.63 mm spacing."], "text": "Rectangular body, 100 \u00d7 70.9 \u00d7 10 mm (W\u00d7D\u00d7H). Four \u00d83.2 mm holes at the corners, 70 \u00d7 49.63 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 100, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 70.9, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330155 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 100, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 70.9, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca1ec_1592", "family": "plate", "tier": 1, "seed": 1177330156, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "4699cf31a4603c2e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 2950.0, "surface_area": 2550.0, "principal_moments": [105000.0, 599000.0, 699000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 50 \u00d7 20.8 \u00d7 3 mm (W\u00d7D\u00d7H).", "Four \u00d84.3 mm holes at the corners, 35 \u00d7 14.56 mm spacing."], "text": "Rectangular body, 50 \u00d7 20.8 \u00d7 3 mm (W\u00d7D\u00d7H). Four \u00d84.3 mm holes at the corners, 35 \u00d7 14.56 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 50, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 20.8, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 3.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 4.7, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330156 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 50, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 20.8, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 3.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 4.7, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462ca1ed_1593", "family": "profiled", "tier": 2, "seed": 1177330157, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "9317bc0fba56f728", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 175000.0, "surface_area": 28600.0, "principal_moments": [17400000.0, 1450000000.0, 1450000000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["32.6 \u00d7 19.64 mm slot section, extruded 314.2 mm thick."], "text": "32.6 \u00d7 19.64 mm slot section, extruded 314.2 mm thick."}, "params": {"slot_len": {"type": "float", "default": 32.6, "min": 16.3, "max": 65.2, "step": 1.0, "group": "Profile", "label": "Slot length (mm)"}, "slot_w": {"type": "float", "default": 19.64, "min": 9.8, "max": 39.3, "step": 0.5, "group": "Profile", "label": "Slot width (mm)"}, "length": {"type": "float", "default": 314.2, "min": 94.3, "max": 942.6, "step": 5.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330157 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"slot_len\": {\"type\": 'float', \"default\": 32.6, \"min\": 16.3, \"max\": 65.2, \"step\": 1.0, \"group\": 'Profile', \"label\": 'Slot length (mm)'},\n    \"slot_w\": {\"type\": 'float', \"default\": 19.64, \"min\": 9.8, \"max\": 39.3, \"step\": 0.5, \"group\": 'Profile', \"label\": 'Slot width (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 314.2, \"min\": 94.3, \"max\": 942.6, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').slot2D(p[\"slot_len\"], p[\"slot_w\"]).extrude(p[\"length\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462ca1ee_1594", "family": "tapped", "tier": 2, "seed": 1177330158, "symmetry": "none", "op_count": 1, "ir_hash": "9be9ef062840f02d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 29500.0, "surface_area": 8330.0, "principal_moments": [4330000.0, 9220000.0, 12799999.999999998], "n_faces": 522, "n_edges": 1432, "n_vertices": 912}, "dimensions": {"lines": ["Four M5x0.8 tapped holes in a plate."], "text": "Four M5x0.8 tapped holes in a plate."}, "params": {"major_d": {"type": "float", "default": 5.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 0.8, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 12.6, "min": 6.0, "max": 22.7, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "plate_w": {"type": "float", "default": 60, "min": 36.0, "max": 96.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 40.1, "min": 24.1, "max": 64.2, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330158 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 0.8, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 12.6, \"min\": 6.0, \"max\": 22.7, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"plate_w\": {\"type\": 'float', \"default\": 60, \"min\": 36.0, \"max\": 96.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 40.1, \"min\": 24.1, \"max\": 64.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n}\n\n\ndef build(p):\n\n    _W, _D, _H = p[\"plate_w\"], p[\"plate_d\"], p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Box(_W, _D, _H)\n    _sx, _sy = p[\"plate_w\"] * 0.6, p[\"plate_d\"] * 0.6\n    _locs = [(_xx, _yy) for _xx in (-_sx / 2, _sx / 2) for _yy in (-_sy / 2, _sy / 2)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462ca1ef_1595", "family": "profiled", "tier": 1, "seed": 1177330159, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "9bb6023382e06a18", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 18000.0, "surface_area": 4420.0, "principal_moments": [838000.0, 6110000.0, 6110000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["8-sided polygon section, 20.32 mm across corners, extruded 61.6 mm thick."], "text": "8-sided polygon section, 20.32 mm across corners, extruded 61.6 mm thick."}, "params": {"circ_r": {"type": "float", "default": 10.16, "min": 5.1, "max": 20.3, "step": 1.0, "group": "Profile", "label": "Circumscribed radius (mm)"}, "n_sides": {"type": "int", "default": 8, "min": 3, "max": 8, "step": 1, "group": "Profile", "label": "Sides"}, "length": {"type": "float", "default": 61.6, "min": 18.5, "max": 184.8, "step": 5.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330159 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"circ_r\": {\"type\": 'float', \"default\": 10.16, \"min\": 5.1, \"max\": 20.3, \"step\": 1.0, \"group\": 'Profile', \"label\": 'Circumscribed radius (mm)'},\n    \"n_sides\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Profile', \"label\": 'Sides'},\n    \"length\": {\"type\": 'float', \"default\": 61.6, \"min\": 18.5, \"max\": 184.8, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').polygon(p[\"n_sides\"], p[\"circ_r\"] * 2).extrude(p[\"length\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462ca1f0_1596", "family": "flanged", "tier": 2, "seed": 1177330160, "symmetry": "none", "op_count": 2, "ir_hash": "69fe34748c9e01e9", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 107000.0, "surface_area": 24500.0, "principal_moments": [59399999.99999999, 59399999.99999999, 100000000.0], "n_faces": 14, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["Revolved body, \u00d849.89 mm \u00d7 32.8 mm tall with \u00d816.7 mm bore, \u00d8101.6 mm \u00d7 8.2 mm flange.", "Eight \u00d83.2 mm holes on a \u00d861 mm bolt circle."], "text": "Revolved body, \u00d849.89 mm \u00d7 32.8 mm tall with \u00d816.7 mm bore, \u00d8101.6 mm \u00d7 8.2 mm flange. Eight \u00d83.2 mm holes on a \u00d861 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 49.89, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 32.8, "min": 9.8, "max": 82.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 16.7, "min": 2.0, "max": 34.9, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 101.6, "min": 64.9, "max": 149.7, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 8.2, "min": 2.5, "max": 13.1, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 30.5, "min": 20.3, "max": 45.7, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 8, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330160 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 49.89, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 32.8, \"min\": 9.8, \"max\": 82.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 16.7, \"min\": 2.0, \"max\": 34.9, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 101.6, \"min\": 64.9, \"max\": 149.7, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 8.2, \"min\": 2.5, \"max\": 13.1, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 30.5, \"min\": 20.3, \"max\": 45.7, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca1f1_1597", "family": "plate", "tier": 1, "seed": 1177330161, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "82d76d42aa9892bd", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 31800.0, "surface_area": 9950.0, "principal_moments": [4010000.0, 20400000.0, 23899999.999999996], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 88.73 \u00d7 38.3 \u00d7 10 mm (W\u00d7D\u00d7H).", "Four \u00d88.4 mm holes at the corners, 62.111 \u00d7 26.81 mm spacing."], "text": "Rectangular body, 88.73 \u00d7 38.3 \u00d7 10 mm (W\u00d7D\u00d7H). Four \u00d88.4 mm holes at the corners, 62.111 \u00d7 26.81 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 88.73, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 38.3, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 8.4, "min": 2.0, "max": 8.6, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330161 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 88.73, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 38.3, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 2.0, \"max\": 8.6, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca1f2_1598", "family": "compound", "tier": 2, "seed": 1177330162, "symmetry": "mirror_x", "op_count": 4, "ir_hash": "1f823d91cbfbfb90", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 87300.0, "surface_area": 15600.0, "principal_moments": [25799999.999999996, 31999999.999999996, 43900000.0], "n_faces": 20, "n_edges": 54, "n_vertices": 36}, "dimensions": {"lines": ["Rectangular body, 50 \u00d7 58.8 \u00d7 31.1 mm (W\u00d7D\u00d7H).", "31 \u00d7 19.7 mm rectangular section attachment, 4 mm long, from back face.", "Four \u00d83.2 mm holes at the corners, 18.6 \u00d7 11.82 mm spacing on the >Y face.", "Pocket 25 \u00d7 28.2 mm, 15.2 mm deep, in top face."], "text": "Rectangular body, 50 \u00d7 58.8 \u00d7 31.1 mm (W\u00d7D\u00d7H). 31 \u00d7 19.7 mm rectangular section attachment, 4 mm long, from back face. Four \u00d83.2 mm holes at the corners, 18.6 \u00d7 11.82 mm spacing on the >Y face. Pocket 25 \u00d7 28.2 mm, 15.2 mm deep, in top face."}, "params": {"block_w": {"type": "float", "default": 50, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 58.8, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 31.1, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "tab_a": {"type": "float", "default": 31.0, "min": 12.4, "max": 49.6, "step": 1.0, "group": "Tab", "label": "Tab width (mm)"}, "tab_b": {"type": "float", "default": 19.7, "min": 7.9, "max": 31.5, "step": 1.0, "group": "Tab", "label": "Tab height (mm)"}, "tab_t": {"type": "float", "default": 4.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Tab", "label": "Tab thickness (mm)"}, "tab_hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 4.3, "step": 0.1, "group": "Tab", "label": "Tab hole diameter (mm)"}, "pocket_w": {"type": "float", "default": 25.0, "min": 12.5, "max": 40.0, "step": 1.0, "group": "Pocket", "label": "Pocket width (mm)"}, "pocket_d": {"type": "float", "default": 28.2, "min": 14.1, "max": 47.0, "step": 1.0, "group": "Pocket", "label": "Pocket depth (mm)"}, "pocket_h": {"type": "float", "default": 15.2, "min": 6.1, "max": 26.4, "step": 0.5, "group": "Pocket", "label": "Pocket height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330162 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 50, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 58.8, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 31.1, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"tab_a\": {\"type\": 'float', \"default\": 31.0, \"min\": 12.4, \"max\": 49.6, \"step\": 1.0, \"group\": 'Tab', \"label\": 'Tab width (mm)'},\n    \"tab_b\": {\"type\": 'float', \"default\": 19.7, \"min\": 7.9, \"max\": 31.5, \"step\": 1.0, \"group\": 'Tab', \"label\": 'Tab height (mm)'},\n    \"tab_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Tab', \"label\": 'Tab thickness (mm)'},\n    \"tab_hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 4.3, \"step\": 0.1, \"group\": 'Tab', \"label\": 'Tab hole diameter (mm)'},\n    \"pocket_w\": {\"type\": 'float', \"default\": 25.0, \"min\": 12.5, \"max\": 40.0, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket width (mm)'},\n    \"pocket_d\": {\"type\": 'float', \"default\": 28.2, \"min\": 14.1, \"max\": 47.0, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket depth (mm)'},\n    \"pocket_h\": {\"type\": 'float', \"default\": 15.2, \"min\": 6.1, \"max\": 26.4, \"step\": 0.5, \"group\": 'Pocket', \"label\": 'Pocket height (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .rect(p[\"tab_a\"], p[\"tab_b\"]).extrude(p[\"tab_t\"])\n    )\n    result = (\n        result.faces('>Y').workplane()\n        .rect(p[\"tab_a\"] * 0.6, p[\"tab_b\"] * 0.6, forConstruction=True)\n        .vertices().hole(p[\"tab_hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"pocket_w\"], p[\"pocket_d\"])\n        .cutBlind(-p[\"pocket_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca1f3_1599", "family": "revolved", "tier": 1, "seed": 1177330163, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "edf3625551c86631", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 489000.0, "surface_area": 55600.0, "principal_moments": [485000000.0, 911000000.0, 911000000.0], "n_faces": 4, "n_edges": 6, "n_vertices": 4}, "dimensions": {"lines": ["Revolved body, \u00d880 mm \u00d7 128.1 mm tall with \u00d839.3 mm bore."], "text": "Revolved body, \u00d880 mm \u00d7 128.1 mm tall with \u00d839.3 mm bore."}, "params": {"outer_d": {"type": "float", "default": 80.0, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 128.1, "min": 38.4, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 39.3, "min": 2.0, "max": 56.0, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330163 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 80.0, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 128.1, \"min\": 38.4, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 39.3, \"min\": 2.0, \"max\": 56.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462ca1f4_1600", "family": "lofted", "tier": 0, "seed": 1177330164, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "a65378954a7dad08", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 83900.0, "surface_area": 11300.0, "principal_moments": [25699999.999999996, 25699999.999999996, 30599999.999999996], "n_faces": 8, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["Lofted body through 2 sections: \u00d865 mm circular section \u2192 6-sided polygon section, 40.4 mm across corners."], "text": "Lofted body through 2 sections: \u00d865 mm circular section \u2192 6-sided polygon section, 40.4 mm across corners."}, "params": {"loft_base": {"type": "float", "default": 65, "min": 32.5, "max": 104.0, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 40.4, "min": 16.2, "max": 78.0, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 40.2, "min": 16.1, "max": 80.4, "step": 1.0, "group": "Body", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330164 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 65, \"min\": 32.5, \"max\": 104.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 40.4, \"min\": 16.2, \"max\": 78.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 40.2, \"min\": 16.1, \"max\": 80.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .circle(p[\"loft_base\"] / 2)\n        .workplane(offset=p[\"loft_h\"])\n        .polygon(6, p[\"loft_top\"] * 0.5 * 2)\n        .loft(combine=True)\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca1f5_1601", "family": "bracket", "tier": 3, "seed": 1177330165, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "ce3f543c60b36e2d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 12600.0, "surface_area": 7360.0, "principal_moments": [2080000.0, 3560000.0, 4780000.0], "n_faces": 17, "n_edges": 39, "n_vertices": 26}, "dimensions": {"lines": ["L-bracket: base leg 30 mm, vertical leg 30.5 mm, 55 mm wide, 4 mm thick; 2 \u00d7 \u00d83.2 mm holes per leg; 4 mm corner gusset."], "text": "L-bracket: base leg 30 mm, vertical leg 30.5 mm, 55 mm wide, 4 mm thick; 2 \u00d7 \u00d83.2 mm holes per leg; 4 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 30, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 30.5, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 55, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 4.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 2, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 4.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330165 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 30, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 30.5, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 55, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 2, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca1f6_1602", "family": "block", "tier": 2, "seed": 1177330166, "symmetry": "radial", "op_count": 3, "ir_hash": "b36eb36031ae6b66", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 429000.0, "surface_area": 47500.0, "principal_moments": [427000000.0, 428000000.0, 717000000.0], "n_faces": 15, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 100 \u00d7 43.9 \u00d7 100 mm (W\u00d7D\u00d7H).", "Twelve \u00d84.3 mm holes on a \u00d860 mm bolt circle.", "Boss \u00d810.4 mm \u00d7 7.5 mm tall on top face with a \u00d85.3 mm bore."], "text": "Rectangular body, 100 \u00d7 43.9 \u00d7 100 mm (W\u00d7D\u00d7H). Twelve \u00d84.3 mm holes on a \u00d860 mm bolt circle. Boss \u00d810.4 mm \u00d7 7.5 mm tall on top face with a \u00d85.3 mm bore."}, "params": {"block_w": {"type": "float", "default": 100.0, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 43.9, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 100.0, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "bolt_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 30.0, "min": 20.0, "max": 45.0, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 12, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}, "boss_d": {"type": "float", "default": 10.4, "min": 5.2, "max": 20.8, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 7.5, "min": 3.0, "max": 18.8, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}, "boss_bore_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 7.3, "step": 0.1, "group": "Boss", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330166 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 100.0, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 43.9, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 100.0, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 30.0, \"min\": 20.0, \"max\": 45.0, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 12, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n    \"boss_d\": {\"type\": 'float', \"default\": 10.4, \"min\": 5.2, \"max\": 20.8, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 7.5, \"min\": 3.0, \"max\": 18.8, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n    \"boss_bore_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 7.3, \"step\": 0.1, \"group\": 'Boss', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .hole(p[\"boss_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462ca1f7_1603", "family": "enclosure", "tier": 1, "seed": 1177330167, "symmetry": "none", "op_count": 2, "ir_hash": "7ce32c1a419dde44", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 22800.0, "surface_area": 9170.0, "principal_moments": [2780000.0, 8440000.0, 8560000.0], "n_faces": 11, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 56.5 \u00d7 22.7 \u00d7 26.5 mm (W\u00d7D\u00d7H).", "Hollowed to 5.5 mm wall thickness, open at top face."], "text": "Rectangular body, 56.5 \u00d7 22.7 \u00d7 26.5 mm (W\u00d7D\u00d7H). Hollowed to 5.5 mm wall thickness, open at top face."}, "params": {"enc_w": {"type": "float", "default": 56.5, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 22.7, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 26.5, "min": 10.6, "max": 53.0, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 5.5, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330167 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 56.5, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 22.7, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 26.5, \"min\": 10.6, \"max\": 53.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 5.5, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca1f9_1605", "family": "revolved", "tier": 1, "seed": 1177330169, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "5d6c70f0374f911b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 618000.0, "surface_area": 74800.0, "principal_moments": [948000000.0, 1130000000.0, 1130000000.0], "n_faces": 5, "n_edges": 7, "n_vertices": 5}, "dimensions": {"lines": ["Revolved body, \u00d875 mm \u00d7 135.9 mm tall with \u00d8129.6 mm \u00d7 24.8 mm flange."], "text": "Revolved body, \u00d875 mm \u00d7 135.9 mm tall with \u00d8129.6 mm \u00d7 24.8 mm flange."}, "params": {"outer_d": {"type": "float", "default": 75, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 135.9, "min": 40.8, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "flange_d": {"type": "float", "default": 129.6, "min": 90.0, "max": 225.0, "step": 1.0, "group": "Body", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 24.8, "min": 7.4, "max": 68.0, "step": 0.5, "group": "Body", "label": "Flange height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330169 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 75, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 135.9, \"min\": 40.8, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 129.6, \"min\": 90.0, \"max\": 225.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 24.8, \"min\": 7.4, \"max\": 68.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Flange height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462ca1fa_1606", "family": "tapped", "tier": 2, "seed": 1177330170, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "832162c3c747caea", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 26100.0, "surface_area": 7930.0, "principal_moments": [3760000.0, 7300000.0, 10400000.0], "n_faces": 394, "n_edges": 1080, "n_vertices": 688}, "dimensions": {"lines": ["Four M6x1 tapped holes in a plate."], "text": "Four M6x1 tapped holes in a plate."}, "params": {"major_d": {"type": "float", "default": 6.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 1.0, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 12.0, "min": 7.2, "max": 21.6, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "plate_w": {"type": "float", "default": 56.82, "min": 34.1, "max": 90.9, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 39.9, "min": 23.9, "max": 63.8, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330170 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.0, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 12.0, \"min\": 7.2, \"max\": 21.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"plate_w\": {\"type\": 'float', \"default\": 56.82, \"min\": 34.1, \"max\": 90.9, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 39.9, \"min\": 23.9, \"max\": 63.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n}\n\n\ndef build(p):\n\n    _W, _D, _H = p[\"plate_w\"], p[\"plate_d\"], p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Box(_W, _D, _H)\n    _sx, _sy = p[\"plate_w\"] * 0.6, p[\"plate_d\"] * 0.6\n    _locs = [(_xx, _yy) for _xx in (-_sx / 2, _sx / 2) for _yy in (-_sy / 2, _sy / 2)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462ca1fb_1607", "family": "lofted", "tier": 1, "seed": 1177330171, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "33fdaa8f2ca1500e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 10900.0, "surface_area": 3520.0, "principal_moments": [970000.0, 970000.0, 1100000.0], "n_faces": 8, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["Lofted body through 2 sections: 30 \u00d7 30 mm rectangular section \u2192 \u00d814.7 mm circular section.", "One \u00d85.9 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 2 sections: 30 \u00d7 30 mm rectangular section \u2192 \u00d814.7 mm circular section. One \u00d85.9 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 30.0, "min": 15.0, "max": 48.0, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 14.7, "min": 5.9, "max": 36.0, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 23.6, "min": 9.4, "max": 47.2, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_bore_d": {"type": "float", "default": 5.9, "min": 2.0, "max": 11.8, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330171 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 30.0, \"min\": 15.0, \"max\": 48.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 14.7, \"min\": 5.9, \"max\": 36.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 23.6, \"min\": 9.4, \"max\": 47.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 5.9, \"min\": 2.0, \"max\": 11.8, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .rect(p[\"loft_base\"], p[\"loft_base\"])\n        .workplane(offset=p[\"loft_h\"])\n        .circle(p[\"loft_top\"] / 2)\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca1fc_1608", "family": "compound", "tier": 1, "seed": 1177330172, "symmetry": "mirror_xy", "op_count": 3, "ir_hash": "d2665cda5b006374", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 117000.0, "surface_area": 24800.0, "principal_moments": [78400000.0, 80900000.0, 121000000.0], "n_faces": 13, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Rectangular body, 83.4 \u00d7 81.7 \u00d7 16 mm (W\u00d7D\u00d7H).", "\u00d817.1 mm circular section attachment, 59 mm long, from top face with a \u00d87.7 mm bore.", "Four \u00d86.4 mm holes at the corners, 58.38 \u00d7 57.19 mm spacing."], "text": "Rectangular body, 83.4 \u00d7 81.7 \u00d7 16 mm (W\u00d7D\u00d7H). \u00d817.1 mm circular section attachment, 59 mm long, from top face with a \u00d87.7 mm bore. Four \u00d86.4 mm holes at the corners, 58.38 \u00d7 57.19 mm spacing."}, "params": {"base_w": {"type": "float", "default": 83.4, "min": 30.0, "max": 160.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 81.7, "min": 25.0, "max": 160.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_h": {"type": "float", "default": 16.0, "min": 3.0, "max": 30.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "col_d": {"type": "float", "default": 17.1, "min": 6.8, "max": 40.9, "step": 1.0, "group": "Column", "label": "Column diameter (mm)"}, "col_h": {"type": "float", "default": 59.0, "min": 17.7, "max": 177.0, "step": 1.0, "group": "Column", "label": "Column height (mm)"}, "col_bore": {"type": "float", "default": 7.7, "min": 2.0, "max": 12.3, "step": 0.5, "group": "Column", "label": "Column bore diameter (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330172 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 83.4, \"min\": 30.0, \"max\": 160.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 81.7, \"min\": 25.0, \"max\": 160.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_h\": {\"type\": 'float', \"default\": 16.0, \"min\": 3.0, \"max\": 30.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"col_d\": {\"type\": 'float', \"default\": 17.1, \"min\": 6.8, \"max\": 40.9, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column diameter (mm)'},\n    \"col_h\": {\"type\": 'float', \"default\": 59.0, \"min\": 17.7, \"max\": 177.0, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column height (mm)'},\n    \"col_bore\": {\"type\": 'float', \"default\": 7.7, \"min\": 2.0, \"max\": 12.3, \"step\": 0.5, \"group\": 'Column', \"label\": 'Column bore diameter (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_h\"])\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"col_d\"] / 2).extrude(p[\"col_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"col_bore\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"base_w\"] * 0.7, p[\"base_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462ca1fe_1610", "family": "swept", "tier": 2, "seed": 1177330174, "symmetry": "none", "op_count": 1, "ir_hash": "c10e4000f12ff82f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 15600.0, "surface_area": 6210.0, "principal_moments": [2240000.0, 17600000.0, 19400000.0], "n_faces": 3, "n_edges": 3, "n_vertices": 2}, "dimensions": {"lines": ["\u00d814.3 mm circular section swept along a curved path, ~110 mm span."], "text": "\u00d814.3 mm circular section swept along a curved path, ~110 mm span."}, "params": {"path_w": {"type": "float", "default": 40, "min": 20.0, "max": 72.0, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 110.0, "min": 55.0, "max": 198.0, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_d": {"type": "float", "default": 14.3, "min": 7.2, "max": 25.7, "step": 1.0, "group": "Section", "label": "Section diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330174 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 40, \"min\": 20.0, \"max\": 72.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 110.0, \"min\": 55.0, \"max\": 198.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_d\": {\"type\": 'float', \"default\": 14.3, \"min\": 7.2, \"max\": 25.7, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.2415, p[\"path_h\"] * 0.6062), (p[\"path_w\"] * 0.332, p[\"path_h\"] * 0.6314), (p[\"path_w\"] * 0.1838, p[\"path_h\"] * 0.8355), (p[\"path_w\"] * 0.419, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').circle(p[\"sweep_d\"] / 2).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca1ff_1611", "family": "plate", "tier": 1, "seed": 1177330175, "symmetry": "none", "op_count": 2, "ir_hash": "3ac6d1b1ca9c4c0b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 881.0, "surface_area": 780.0, "principal_moments": [10600.0, 30700.0, 38900.0], "n_faces": 11, "n_edges": 27, "n_vertices": 18}, "dimensions": {"lines": ["Rectangular body, 20 \u00d7 11.4 \u00d7 4 mm (W\u00d7D\u00d7H).", "Five \u00d81.4 mm holes in two staggered rows, 7.5 \u00d7 8 mm pitch."], "text": "Rectangular body, 20 \u00d7 11.4 \u00d7 4 mm (W\u00d7D\u00d7H). Five \u00d81.4 mm holes in two staggered rows, 7.5 \u00d7 8 mm pitch."}, "params": {"plate_w": {"type": "float", "default": 20.0, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 11.4, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 4.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 1.4, "min": 2.0, "max": 1.1, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 3, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330175 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 20.0, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 11.4, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 4.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 1.4, \"min\": 2.0, \"max\": 1.1, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 3, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 7.5\n    _ssy = 8.0\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca200_1612", "family": "bracket", "tier": 3, "seed": 1177330176, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "5d7378047159a29c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 12200.0, "surface_area": 5430.0, "principal_moments": [1360000.0, 4540000.0, 5140000.0], "n_faces": 14, "n_edges": 37, "n_vertices": 24}, "dimensions": {"lines": ["L-bracket: base leg 55 mm, vertical leg 43.8 mm, 20 mm wide, 6 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg; 8.1 mm corner gusset."], "text": "L-bracket: base leg 55 mm, vertical leg 43.8 mm, 20 mm wide, 6 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg; 8.1 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 55, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 43.8, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 20, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 6.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 8.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 8.1, "min": 3.0, "max": 10.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330176 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 55, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 43.8, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 20, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 8.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 8.1, \"min\": 3.0, \"max\": 10.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462ca201_1613", "family": "sketched", "tier": 1, "seed": 1177330177, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "4f15582fb5fe28dc", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 68100.0, "surface_area": 20100.0, "principal_moments": [19300000.0, 19300000.0, 31599999.999999996], "n_faces": 7, "n_edges": 11, "n_vertices": 6}, "dimensions": {"lines": ["Revolved organic body from a freeform sketched section (7 segments: 5 straight, 1 arc, 1 curve), ~37.918 \u00d7 26.18 mm half-silhouette."], "text": "Revolved organic body from a freeform sketched section (7 segments: 5 straight, 1 arc, 1 curve), ~37.918 \u00d7 26.18 mm half-silhouette."}, "params": {"sk_r": {"type": "float", "default": 44.04, "min": 22.0, "max": 79.3, "step": 1.0, "group": "Sketch", "label": "Max radius (mm)"}, "sk_h": {"type": "float", "default": 26.18, "min": 13.1, "max": 47.1, "step": 1.0, "group": "Sketch", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330177 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_r\": {\"type\": 'float', \"default\": 44.04, \"min\": 22.0, \"max\": 79.3, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Max radius (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 26.18, \"min\": 13.1, \"max\": 47.1, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XZ').moveTo(p[\"sk_r\"] * 0.861, p[\"sk_h\"] * 0.0).lineTo(p[\"sk_r\"] * 0.4225, p[\"sk_h\"] * 0.1885).bezier([(p[\"sk_r\"] * 0.4225, p[\"sk_h\"] * 0.1885), (p[\"sk_r\"] * 0.5429, p[\"sk_h\"] * 0.2511), (p[\"sk_r\"] * 0.6878, p[\"sk_h\"] * 0.3138)]).lineTo(p[\"sk_r\"] * 0.8451, p[\"sk_h\"] * 0.5651).threePointArc((p[\"sk_r\"] * 0.5826, p[\"sk_h\"] * 0.7246), (p[\"sk_r\"] * 0.473, p[\"sk_h\"] * 0.8841)).lineTo(p[\"sk_r\"] * 0.7037, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.0, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.0, p[\"sk_h\"] * 0.0).close().revolve())\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462ca202_1614", "family": "enclosure", "tier": 2, "seed": 1177330178, "symmetry": "none", "op_count": 3, "ir_hash": "8337919ff8a0ee07", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 71300.0, "surface_area": 68700.0, "principal_moments": [98999999.99999999, 148000000.0, 154000000.0], "n_faces": 15, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 105 \u00d7 64.1 \u00d7 84.8 mm (W\u00d7D\u00d7H).", "Hollowed to 2.1 mm wall thickness, open at top face.", "Four \u00d83.2 mm holes at the corners, 73.5 \u00d7 44.87 mm spacing."], "text": "Rectangular body, 105 \u00d7 64.1 \u00d7 84.8 mm (W\u00d7D\u00d7H). Hollowed to 2.1 mm wall thickness, open at top face. Four \u00d83.2 mm holes at the corners, 73.5 \u00d7 44.87 mm spacing."}, "params": {"enc_w": {"type": "float", "default": 105, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 64.1, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 84.8, "min": 33.9, "max": 169.6, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 2.1, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330178 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 105, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 64.1, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 84.8, \"min\": 33.9, \"max\": 169.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 2.1, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"enc_w\"] * 0.7, p[\"enc_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca203_1615", "family": "bracket", "tier": 3, "seed": 1177330179, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "ee6ed8188d3a0382", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 43800.0, "surface_area": 20500.0, "principal_moments": [16800000.0, 91899999.99999999, 97599999.99999999], "n_faces": 22, "n_edges": 70, "n_vertices": 44}, "dimensions": {"lines": ["Z-bracket: base leg 83.44 mm, vertical leg 90 mm, top leg 55.6 mm, 39.29 mm wide, 5 mm thick; 2 \u00d7 \u00d86.4 mm holes per leg; 4.9 mm corner gusset."], "text": "Z-bracket: base leg 83.44 mm, vertical leg 90 mm, top leg 55.6 mm, 39.29 mm wide, 5 mm thick; 2 \u00d7 \u00d86.4 mm holes per leg; 4.9 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 83.44, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 90.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 39.29, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 5.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 55.6, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 2, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}, "gusset_t": {"type": "float", "default": 4.9, "min": 2.5, "max": 15.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330179 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 83.44, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 90.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 39.29, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 55.6, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 2, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 4.9, \"min\": 2.5, \"max\": 15.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _tl, _vl) * 0.4 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(0, _vl - _bt).lineTo(-_g, _vl - _bt)\n                    .lineTo(0, _vl - _bt - _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca204_1616", "family": "plate", "tier": 2, "seed": 1177330180, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "dca9f8bb45de1e46", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 55200.0, "surface_area": 17200.0, "principal_moments": [23199999.999999996, 45400000.0, 68000000.0], "n_faces": 18, "n_edges": 44, "n_vertices": 28}, "dimensions": {"lines": ["Rectangular body, 100 \u00d7 71.2 \u00d7 8 mm (W\u00d7D\u00d7H).", "Four \u00d86.4 mm countersunk holes (82\u00b0) at the corners, 70 \u00d7 49.84 mm spacing.", "Chamfer 2.7 mm on vertical edges."], "text": "Rectangular body, 100 \u00d7 71.2 \u00d7 8 mm (W\u00d7D\u00d7H). Four \u00d86.4 mm countersunk holes (82\u00b0) at the corners, 70 \u00d7 49.84 mm spacing. Chamfer 2.7 mm on vertical edges."}, "params": {"plate_w": {"type": "float", "default": 100, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 71.2, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "cs_angle": {"type": "float", "default": 82.0, "min": 60.0, "max": 120.0, "step": 15.0, "group": "Holes", "label": "Countersink angle (\u00b0)"}, "chamfer_d": {"type": "float", "default": 2.7, "min": 1.9, "max": 3.2, "step": 0.5, "group": "Body", "label": "Chamfer distance (mm)"}, "chamfered": {"type": "bool", "default": true, "group": "Body", "label": "Chamfer edges"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330180 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 100, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 71.2, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"cs_angle\": {\"type\": 'float', \"default\": 82.0, \"min\": 60.0, \"max\": 120.0, \"step\": 15.0, \"group\": 'Holes', \"label\": 'Countersink angle (\u00b0)'},\n    \"chamfer_d\": {\"type\": 'float', \"default\": 2.7, \"min\": 1.9, \"max\": 3.2, \"step\": 0.5, \"group\": 'Body', \"label\": 'Chamfer distance (mm)'},\n    \"chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Chamfer edges'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().cskHole(p[\"hole_d\"], p[\"hole_d\"] * 2, p[\"cs_angle\"])\n    )\n    if p[\"chamfered\"]:\n        result = result.edges('|Z').chamfer(p[\"chamfer_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca205_1617", "family": "plate", "tier": 0, "seed": 1177330181, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "818a9dc568226738", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 28000.0, "surface_area": 8920.0, "principal_moments": [6250000.0, 11100000.0, 17100000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 68.57 \u00d7 51.1 \u00d7 8 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 68.57 \u00d7 51.1 \u00d7 8 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 68.57, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 51.1, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330181 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 68.57, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 51.1, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462ca206_1618", "family": "profiled", "tier": 1, "seed": 1177330182, "symmetry": "none", "op_count": 1, "ir_hash": "88af5f2633e5183f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 271000.0, "surface_area": 30100.0, "principal_moments": [58999999.99999999, 934000000.0, 934000000.0], "n_faces": 8, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["6-sided polygon section, 45.7 mm across corners, extruded 200 mm thick."], "text": "6-sided polygon section, 45.7 mm across corners, extruded 200 mm thick."}, "params": {"circ_r": {"type": "float", "default": 22.85, "min": 11.4, "max": 45.7, "step": 1.0, "group": "Profile", "label": "Circumscribed radius (mm)"}, "n_sides": {"type": "int", "default": 6, "min": 3, "max": 8, "step": 1, "group": "Profile", "label": "Sides"}, "length": {"type": "float", "default": 200.0, "min": 60.0, "max": 600.0, "step": 5.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330182 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"circ_r\": {\"type\": 'float', \"default\": 22.85, \"min\": 11.4, \"max\": 45.7, \"step\": 1.0, \"group\": 'Profile', \"label\": 'Circumscribed radius (mm)'},\n    \"n_sides\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Profile', \"label\": 'Sides'},\n    \"length\": {\"type\": 'float', \"default\": 200.0, \"min\": 60.0, \"max\": 600.0, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').polygon(p[\"n_sides\"], p[\"circ_r\"] * 2).extrude(p[\"length\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462ca207_1619", "family": "enclosure", "tier": 1, "seed": 1177330183, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "eecd1772d5f4d180", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 97100.0, "surface_area": 47400.0, "principal_moments": [81400000.0, 135000000.0, 160000000.0], "n_faces": 11, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 97.82 \u00d7 44.1 \u00d7 74.6 mm (W\u00d7D\u00d7H).", "Hollowed to 4.2 mm wall thickness, open at top face."], "text": "Rectangular body, 97.82 \u00d7 44.1 \u00d7 74.6 mm (W\u00d7D\u00d7H). Hollowed to 4.2 mm wall thickness, open at top face."}, "params": {"enc_w": {"type": "float", "default": 97.82, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 44.1, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 74.6, "min": 29.8, "max": 149.2, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 4.2, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330183 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 97.82, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 44.1, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 74.6, \"min\": 29.8, \"max\": 149.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 4.2, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462ca208_1620", "family": "enclosure", "tier": 1, "seed": 1177330184, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "16422f47a30d8f84", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 12400.0, "surface_area": 6970.0, "principal_moments": [1520000.0, 2330000.0, 3010000.0], "n_faces": 11, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 38.81 \u00d7 16.8 \u00d7 31.1 mm (W\u00d7D\u00d7H).", "Hollowed to 3.8 mm wall thickness, open at top face."], "text": "Rectangular body, 38.81 \u00d7 16.8 \u00d7 31.1 mm (W\u00d7D\u00d7H). Hollowed to 3.8 mm wall thickness, open at top face."}, "params": {"enc_w": {"type": "float", "default": 38.81, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 16.8, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 31.1, "min": 12.4, "max": 62.2, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 3.8, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330184 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 38.81, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 16.8, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 31.1, \"min\": 12.4, \"max\": 62.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 3.8, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462ca209_1621", "family": "swept", "tier": 2, "seed": 1177330185, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "47dddabc5c015c79", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 21100.0, "surface_area": 8340.0, "principal_moments": [5340000.0, 10200000.0, 14799999.999999998], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["21.8 \u00d7 14.6 mm rectangular section swept along a curved path, ~75 mm span."], "text": "21.8 \u00d7 14.6 mm rectangular section swept along a curved path, ~75 mm span."}, "params": {"path_w": {"type": "float", "default": 65, "min": 32.5, "max": 117.0, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 75, "min": 37.5, "max": 135.0, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_a": {"type": "float", "default": 21.8, "min": 10.9, "max": 39.2, "step": 1.0, "group": "Section", "label": "Section width (mm)"}, "sweep_b": {"type": "float", "default": 14.6, "min": 7.3, "max": 26.3, "step": 1.0, "group": "Section", "label": "Section depth (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330185 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 65, \"min\": 32.5, \"max\": 117.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 75, \"min\": 37.5, \"max\": 135.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_a\": {\"type\": 'float', \"default\": 21.8, \"min\": 10.9, \"max\": 39.2, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section width (mm)'},\n    \"sweep_b\": {\"type\": 'float', \"default\": 14.6, \"min\": 7.3, \"max\": 26.3, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section depth (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.4294, p[\"path_h\"] * 0.668), (p[\"path_w\"] * 0.1903, p[\"path_h\"] * 0.7272), (p[\"path_w\"] * 0.4916, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').rect(p[\"sweep_a\"], p[\"sweep_b\"]).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462ca20a_1622", "family": "ribbed", "tier": 1, "seed": 1177330186, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "06b3cd26347ddd1a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 32600.0, "surface_area": 14300.0, "principal_moments": [12699999.999999998, 16399999.999999998, 28599999.999999996], "n_faces": 21, "n_edges": 48, "n_vertices": 32}, "dimensions": {"lines": ["Rectangular body, 75 \u00d7 69.4 \u00d7 5 mm (W\u00d7D\u00d7H).", "Three ribs, 5.9 mm thick, 6.2 mm tall."], "text": "Rectangular body, 75 \u00d7 69.4 \u00d7 5 mm (W\u00d7D\u00d7H). Three ribs, 5.9 mm thick, 6.2 mm tall."}, "params": {"base_w": {"type": "float", "default": 75, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 69.4, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 5.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 3, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 6.2, "min": 2.5, "max": 12.4, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 5.9, "min": 1.0, "max": 14.8, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330186 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 75, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 69.4, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 3, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 6.2, \"min\": 2.5, \"max\": 12.4, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 5.9, \"min\": 1.0, \"max\": 14.8, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca20b_1623", "family": "revolved", "tier": 1, "seed": 1177330187, "symmetry": "none", "op_count": 2, "ir_hash": "d66ec8d8ff94a46d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 220000.0, "surface_area": 37000.0, "principal_moments": [109000000.0, 266000000.0, 266000000.0], "n_faces": 5, "n_edges": 8, "n_vertices": 5}, "dimensions": {"lines": ["Revolved body, \u00d857.49 mm \u00d7 127.2 mm tall.", "Chamfer 0.8 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d857.49 mm \u00d7 127.2 mm tall. Chamfer 0.8 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 57.49, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 127.2, "min": 38.2, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "end_chamfer": {"type": "float", "default": 0.8, "min": 0.1, "max": 2.4, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330187 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 57.49, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 127.2, \"min\": 38.2, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.8, \"min\": 0.1, \"max\": 2.4, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca20c_1624", "family": "plate", "tier": 3, "seed": 1177330188, "symmetry": "none", "op_count": 3, "ir_hash": "b219d77bb3977747", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 18900.0, "surface_area": 8910.0, "principal_moments": [1740000.0, 11699999.999999998, 13099999.999999998], "n_faces": 41, "n_edges": 114, "n_vertices": 76}, "dimensions": {"lines": ["Rectangular body, 90 \u00d7 34 \u00d7 6 mm (W\u00d7D\u00d7H).", "Eight 8.9 \u00d7 3.2 mm slots in a 4\u00d72 grid, 24 \u00d7 27.2 mm pitch.", "Boss \u00d817.4 mm \u00d7 9 mm tall on top face with a \u00d85.3 mm bore."], "text": "Rectangular body, 90 \u00d7 34 \u00d7 6 mm (W\u00d7D\u00d7H). Eight 8.9 \u00d7 3.2 mm slots in a 4\u00d72 grid, 24 \u00d7 27.2 mm pitch. Boss \u00d817.4 mm \u00d7 9 mm tall on top face with a \u00d85.3 mm bore."}, "params": {"plate_w": {"type": "float", "default": 90, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 34.0, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 6.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 4.1, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 4, "min": 1, "max": 4, "step": 1, "group": "Holes", "label": "Holes across"}, "hole_ny": {"type": "int", "default": 2, "min": 1, "max": 4, "step": 1, "group": "Holes", "label": "Holes deep"}, "hole_slot_len": {"type": "float", "default": 8.9, "min": 4.8, "max": 16.8, "step": 0.5, "group": "Holes", "label": "Slot length (mm)"}, "boss_d": {"type": "float", "default": 17.4, "min": 8.7, "max": 34.8, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 9.0, "min": 3.6, "max": 22.5, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}, "boss_bore_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 12.2, "step": 0.1, "group": "Boss", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330188 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 90, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 34.0, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 4.1, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 4, \"min\": 1, \"max\": 4, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes across'},\n    \"hole_ny\": {\"type\": 'int', \"default\": 2, \"min\": 1, \"max\": 4, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes deep'},\n    \"hole_slot_len\": {\"type\": 'float', \"default\": 8.9, \"min\": 4.8, \"max\": 16.8, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Slot length (mm)'},\n    \"boss_d\": {\"type\": 'float', \"default\": 17.4, \"min\": 8.7, \"max\": 34.8, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 9.0, \"min\": 3.6, \"max\": 22.5, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n    \"boss_bore_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 12.2, \"step\": 0.1, \"group\": 'Boss', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(24.0, 27.2, p[\"hole_nx\"], p[\"hole_ny\"])\n        .slot2D(p[\"hole_slot_len\"], p[\"hole_d\"]).cutThruAll()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .hole(p[\"boss_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462ca20d_1625", "family": "enclosure", "tier": 1, "seed": 1177330189, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "04f2585995a72ae5", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 34500.0, "surface_area": 21500.0, "principal_moments": [15999999.999999998, 19600000.0, 22100000.0], "n_faces": 11, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 55 \u00d7 37.4 \u00d7 52.2 mm (W\u00d7D\u00d7H).", "Hollowed to 3.3 mm wall thickness, open at top face."], "text": "Rectangular body, 55 \u00d7 37.4 \u00d7 52.2 mm (W\u00d7D\u00d7H). Hollowed to 3.3 mm wall thickness, open at top face."}, "params": {"enc_w": {"type": "float", "default": 55, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 37.4, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 52.2, "min": 20.9, "max": 104.4, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 3.3, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330189 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 55, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 37.4, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 52.2, \"min\": 20.9, \"max\": 104.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 3.3, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca20e_1626", "family": "revolved", "tier": 1, "seed": 1177330190, "symmetry": "none", "op_count": 1, "ir_hash": "42a0b6395694b602", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 813000.0, "surface_area": 77000.0, "principal_moments": [974000000.0, 3290000000.0, 3290000000.0], "n_faces": 6, "n_edges": 9, "n_vertices": 6}, "dimensions": {"lines": ["Revolved body, \u00d856.12 mm \u00d7 201.6 mm tall with \u00d818.9 mm bore, \u00d8117 mm \u00d7 44.8 mm flange."], "text": "Revolved body, \u00d856.12 mm \u00d7 201.6 mm tall with \u00d818.9 mm bore, \u00d8117 mm \u00d7 44.8 mm flange."}, "params": {"outer_d": {"type": "float", "default": 56.12, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 201.6, "min": 60.5, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 18.9, "min": 2.0, "max": 39.3, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 117.0, "min": 67.3, "max": 168.4, "step": 1.0, "group": "Body", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 44.8, "min": 13.4, "max": 100.8, "step": 0.5, "group": "Body", "label": "Flange height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330190 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 56.12, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 201.6, \"min\": 60.5, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 18.9, \"min\": 2.0, \"max\": 39.3, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 117.0, \"min\": 67.3, \"max\": 168.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 44.8, \"min\": 13.4, \"max\": 100.8, \"step\": 0.5, \"group\": 'Body', \"label\": 'Flange height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca20f_1627", "family": "bracket", "tier": 1, "seed": 1177330191, "symmetry": "none", "op_count": 1, "ir_hash": "16b993cf057ba093", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 28200.0, "surface_area": 15700.0, "principal_moments": [11699999.999999998, 29199999.999999996, 29599999.999999996], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["L-bracket: base leg 77.52 mm, vertical leg 66.6 mm, 50.56 mm wide, 4 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."], "text": "L-bracket: base leg 77.52 mm, vertical leg 66.6 mm, 50.56 mm wide, 4 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 77.52, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 66.6, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 50.56, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 4.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330191 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 77.52, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 66.6, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 50.56, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca210_1628", "family": "bracket", "tier": 1, "seed": 1177330192, "symmetry": "none", "op_count": 1, "ir_hash": "3d5eae0bfc39479f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 11200.0, "surface_area": 6600.0, "principal_moments": [1940000.0, 2780000.0, 3910000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["L-bracket: base leg 30 mm, vertical leg 31 mm, 50 mm wide, 4 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."], "text": "L-bracket: base leg 30 mm, vertical leg 31 mm, 50 mm wide, 4 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 30, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 31.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 50, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 4.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330192 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 30, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 31.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 50, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca211_1629", "family": "compound", "tier": 2, "seed": 1177330193, "symmetry": "mirror_xy", "op_count": 3, "ir_hash": "957c941f329c0fa3", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 76200.0, "surface_area": 13700.0, "principal_moments": [22400000.0, 24499999.999999996, 30899999.999999996], "n_faces": 14, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["Rectangular body, 40 \u00d7 51.6 \u00d7 35.9 mm (W\u00d7D\u00d7H).", "6-sided polygon section, 16.2 mm across corners attachment, 30.1 mm long, from left face with a \u00d87.4 mm bore.", "Four \u00d83.2 mm holes at the corners, 28 \u00d7 36.12 mm spacing."], "text": "Rectangular body, 40 \u00d7 51.6 \u00d7 35.9 mm (W\u00d7D\u00d7H). 6-sided polygon section, 16.2 mm across corners attachment, 30.1 mm long, from left face with a \u00d87.4 mm bore. Four \u00d83.2 mm holes at the corners, 28 \u00d7 36.12 mm spacing."}, "params": {"block_w": {"type": "float", "default": 40, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 51.6, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 35.9, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "spig_sides": {"type": "int", "default": 6, "min": 3, "max": 8, "step": 1, "group": "Spigot", "label": "Spigot sides"}, "spig_r": {"type": "float", "default": 8.1, "min": 4.0, "max": 12.6, "step": 1.0, "group": "Spigot", "label": "Spigot circumradius (mm)"}, "spig_len": {"type": "float", "default": 30.1, "min": 4.2, "max": 56.1, "step": 1.0, "group": "Spigot", "label": "Spigot length (mm)"}, "spig_bore": {"type": "float", "default": 7.4, "min": 2.0, "max": 10.1, "step": 0.5, "group": "Spigot", "label": "Bore diameter (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 9.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330193 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 40, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 51.6, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 35.9, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"spig_sides\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Spigot', \"label\": 'Spigot sides'},\n    \"spig_r\": {\"type\": 'float', \"default\": 8.1, \"min\": 4.0, \"max\": 12.6, \"step\": 1.0, \"group\": 'Spigot', \"label\": 'Spigot circumradius (mm)'},\n    \"spig_len\": {\"type\": 'float', \"default\": 30.1, \"min\": 4.2, \"max\": 56.1, \"step\": 1.0, \"group\": 'Spigot', \"label\": 'Spigot length (mm)'},\n    \"spig_bore\": {\"type\": 'float', \"default\": 7.4, \"min\": 2.0, \"max\": 10.1, \"step\": 0.5, \"group\": 'Spigot', \"label\": 'Bore diameter (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 9.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"spig_sides\"], p[\"spig_r\"] * 2).extrude(p[\"spig_len\"])\n    )\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"spig_bore\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462ca212_1630", "family": "swept", "tier": 0, "seed": 1177330194, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "d3411fe4b2a1260b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 6850.0, "surface_area": 2990.0, "principal_moments": [160000.0, 2550000.0, 2600000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["13.4 \u00d7 9.8 mm rectangular section swept along a curved path, ~78.02 mm span."], "text": "13.4 \u00d7 9.8 mm rectangular section swept along a curved path, ~78.02 mm span."}, "params": {"path_w": {"type": "float", "default": 78.02, "min": 39.0, "max": 140.4, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 64.87, "min": 32.4, "max": 116.8, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_a": {"type": "float", "default": 13.4, "min": 6.7, "max": 24.1, "step": 1.0, "group": "Section", "label": "Section width (mm)"}, "sweep_b": {"type": "float", "default": 9.8, "min": 4.9, "max": 17.6, "step": 1.0, "group": "Section", "label": "Section depth (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330194 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 78.02, \"min\": 39.0, \"max\": 140.4, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 64.87, \"min\": 32.4, \"max\": 116.8, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_a\": {\"type\": 'float', \"default\": 13.4, \"min\": 6.7, \"max\": 24.1, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section width (mm)'},\n    \"sweep_b\": {\"type\": 'float', \"default\": 9.8, \"min\": 4.9, \"max\": 17.6, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section depth (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.1, p[\"path_h\"] * 0.4549), (p[\"path_w\"] * 0.0244, p[\"path_h\"] * 0.8222), (p[\"path_w\"] * 0.0, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').rect(p[\"sweep_a\"], p[\"sweep_b\"]).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca213_1631", "family": "plate", "tier": 2, "seed": 1177330195, "symmetry": "none", "op_count": 3, "ir_hash": "695a43364671fd6e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 3730.0, "surface_area": 2300.0, "principal_moments": [220000.0, 277000.0, 481000.0], "n_faces": 42, "n_edges": 120, "n_vertices": 80}, "dimensions": {"lines": ["Rectangular body, 30 \u00d7 26.6 \u00d7 5 mm (W\u00d7D\u00d7H).", "Four 3.8 mm square holes at the corners, 21 \u00d7 18.62 mm spacing.", "Chamfer 1 mm on vertical edges."], "text": "Rectangular body, 30 \u00d7 26.6 \u00d7 5 mm (W\u00d7D\u00d7H). Four 3.8 mm square holes at the corners, 21 \u00d7 18.62 mm spacing. Chamfer 1 mm on vertical edges."}, "params": {"plate_w": {"type": "float", "default": 30, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 26.6, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 5.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.8, "min": 2.0, "max": 7.8, "step": 0.5, "group": "Holes", "label": "Square hole size (mm)"}, "chamfer_d": {"type": "float", "default": 1.0, "min": 0.6, "max": 1.0, "step": 0.5, "group": "Body", "label": "Chamfer distance (mm)"}, "chamfered": {"type": "bool", "default": true, "group": "Body", "label": "Chamfer edges"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330195 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 30, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 26.6, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 5.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.8, \"min\": 2.0, \"max\": 7.8, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Square hole size (mm)'},\n    \"chamfer_d\": {\"type\": 'float', \"default\": 1.0, \"min\": 0.6, \"max\": 1.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Chamfer distance (mm)'},\n    \"chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Chamfer edges'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().rect(p[\"hole_d\"], p[\"hole_d\"]).cutThruAll()\n    )\n    if p[\"chamfered\"]:\n        result = result.edges('|Z').chamfer(p[\"chamfer_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca214_1632", "family": "block", "tier": 1, "seed": 1177330196, "symmetry": "radial", "op_count": 2, "ir_hash": "70294c40624b34a9", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 28500.0, "surface_area": 10900.0, "principal_moments": [3510000.0, 7460000.0, 9320000.0], "n_faces": 24, "n_edges": 66, "n_vertices": 44}, "dimensions": {"lines": ["Rectangular body, 32.67 \u00d7 19.1 \u00d7 52.8 mm (W\u00d7D\u00d7H).", "Twelve \u00d83.2 mm holes on a \u00d819.6 mm bolt circle."], "text": "Rectangular body, 32.67 \u00d7 19.1 \u00d7 52.8 mm (W\u00d7D\u00d7H). Twelve \u00d83.2 mm holes on a \u00d819.6 mm bolt circle."}, "params": {"block_w": {"type": "float", "default": 32.67, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 19.1, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 52.8, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "bolt_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 9.8, "min": 6.5, "max": 14.7, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 12, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330196 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 32.67, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 19.1, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 52.8, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 9.8, \"min\": 6.5, \"max\": 14.7, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 12, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462ca215_1633", "family": "enclosure", "tier": 1, "seed": 1177330197, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "6d2da7dfb84501b9", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 59700.0, "surface_area": 27500.0, "principal_moments": [31399999.999999996, 42400000.0, 54899999.99999999], "n_faces": 11, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 70 \u00d7 33.8 \u00d7 62 mm (W\u00d7D\u00d7H).", "Hollowed to 4.5 mm wall thickness, open at top face."], "text": "Rectangular body, 70 \u00d7 33.8 \u00d7 62 mm (W\u00d7D\u00d7H). Hollowed to 4.5 mm wall thickness, open at top face."}, "params": {"enc_w": {"type": "float", "default": 70, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 33.8, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 62.0, "min": 24.8, "max": 124.0, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 4.5, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330197 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 70, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 33.8, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 62.0, \"min\": 24.8, \"max\": 124.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 4.5, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca216_1634", "family": "revolved", "tier": 1, "seed": 1177330198, "symmetry": "none", "op_count": 2, "ir_hash": "12ce0f22412173a7", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 2190.0, "surface_area": 1530.0, "principal_moments": [31300.0, 209000.0, 209000.0], "n_faces": 8, "n_edges": 14, "n_vertices": 8}, "dimensions": {"lines": ["Revolved body, \u00d810 mm \u00d7 32.9 mm tall with \u00d83.8 mm bore.", "Chamfer 0.7 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d810 mm \u00d7 32.9 mm tall with \u00d83.8 mm bore. Chamfer 0.7 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 10, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 32.9, "min": 9.9, "max": 98.7, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 3.8, "min": 2.0, "max": 7.0, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "end_chamfer": {"type": "float", "default": 0.7, "min": 0.1, "max": 2.1, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330198 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 10, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 32.9, \"min\": 9.9, \"max\": 98.7, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 3.8, \"min\": 2.0, \"max\": 7.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.7, \"min\": 0.1, \"max\": 2.1, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca217_1635", "family": "plate", "tier": 1, "seed": 1177330199, "symmetry": "none", "op_count": 2, "ir_hash": "92d42856f511b40f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 25900.0, "surface_area": 11100.0, "principal_moments": [4900000.0, 19800000.0, 24499999.999999996], "n_faces": 15, "n_edges": 39, "n_vertices": 26}, "dimensions": {"lines": ["Rectangular body, 95 \u00d7 46.9 \u00d7 6 mm (W\u00d7D\u00d7H).", "Nine \u00d84.3 mm holes in two staggered rows, 17.8 \u00d7 20.4 mm pitch."], "text": "Rectangular body, 95 \u00d7 46.9 \u00d7 6 mm (W\u00d7D\u00d7H). Nine \u00d84.3 mm holes in two staggered rows, 17.8 \u00d7 20.4 mm pitch."}, "params": {"plate_w": {"type": "float", "default": 95, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 46.9, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 6.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 4.7, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 5, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330199 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 95, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 46.9, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 4.7, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 5, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 17.8\n    _ssy = 20.4\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca218_1636", "family": "compound", "tier": 1, "seed": 1177330200, "symmetry": "none", "op_count": 2, "ir_hash": "8bab87226f69e3e3", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 33700.0, "surface_area": 6060.0, "principal_moments": [4690000.0, 6430000.0, 6430000.0], "n_faces": 5, "n_edges": 6, "n_vertices": 4}, "dimensions": {"lines": ["\u00d835 mm circular section, extruded 28.7 mm thick.", "\u00d824.7 mm circular section attachment, 12.6 mm long, from top face."], "text": "\u00d835 mm circular section, extruded 28.7 mm thick. \u00d824.7 mm circular section attachment, 12.6 mm long, from top face."}, "params": {"shaft_d": {"type": "float", "default": 35, "min": 17.5, "max": 63.0, "step": 1.0, "group": "Body", "label": "Shaft diameter (mm)"}, "shaft_len": {"type": "float", "default": 28.7, "min": 11.5, "max": 57.4, "step": 1.0, "group": "Body", "label": "Shaft length (mm)"}, "step_d": {"type": "float", "default": 24.7, "min": 12.3, "max": 31.5, "step": 1.0, "group": "Step", "label": "Step diameter (mm)"}, "step_len": {"type": "float", "default": 12.6, "min": 3.8, "max": 31.5, "step": 1.0, "group": "Step", "label": "Step length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330200 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"shaft_d\": {\"type\": 'float', \"default\": 35, \"min\": 17.5, \"max\": 63.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft diameter (mm)'},\n    \"shaft_len\": {\"type\": 'float', \"default\": 28.7, \"min\": 11.5, \"max\": 57.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft length (mm)'},\n    \"step_d\": {\"type\": 'float', \"default\": 24.7, \"min\": 12.3, \"max\": 31.5, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step diameter (mm)'},\n    \"step_len\": {\"type\": 'float', \"default\": 12.6, \"min\": 3.8, \"max\": 31.5, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').circle(p[\"shaft_d\"] / 2).extrude(p[\"shaft_len\"]))\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"step_d\"] / 2).extrude(p[\"step_len\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca219_1637", "family": "revolved", "tier": 0, "seed": 1177330201, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "de2004c40b4bb049", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 24800.0, "surface_area": 10100.0, "principal_moments": [1990000.0, 12599999.999999998, 12599999.999999998], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d823.13 mm \u00d7 88.6 mm tall."], "text": "Revolved body, \u00d823.13 mm \u00d7 88.6 mm tall."}, "params": {"outer_d": {"type": "float", "default": 23.13, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 88.6, "min": 26.6, "max": 265.8, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330201 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 23.13, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 88.6, \"min\": 26.6, \"max\": 265.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462ca21a_1638", "family": "enclosure", "tier": 1, "seed": 1177330202, "symmetry": "none", "op_count": 2, "ir_hash": "2a0c12da35651ac9", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 14400.0, "surface_area": 6570.0, "principal_moments": [2260000.0, 2330000.0, 2780000.0], "n_faces": 11, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 30 \u00d7 29.2 \u00d7 26.2 mm (W\u00d7D\u00d7H).", "Hollowed to 4.8 mm wall thickness, open at top face."], "text": "Rectangular body, 30 \u00d7 29.2 \u00d7 26.2 mm (W\u00d7D\u00d7H). Hollowed to 4.8 mm wall thickness, open at top face."}, "params": {"enc_w": {"type": "float", "default": 30.0, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 29.2, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 26.2, "min": 10.5, "max": 52.4, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 4.8, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330202 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 30.0, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 29.2, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 26.2, \"min\": 10.5, \"max\": 52.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 4.8, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca21b_1639", "family": "bracket", "tier": 1, "seed": 1177330203, "symmetry": "none", "op_count": 1, "ir_hash": "9b76fea460fc593e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 37300.0, "surface_area": 14800.0, "principal_moments": [13699999.999999998, 35300000.0, 35400000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["L-bracket: base leg 75 mm, vertical leg 65 mm, 46.66 mm wide, 6 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."], "text": "L-bracket: base leg 75 mm, vertical leg 65 mm, 46.66 mm wide, 6 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 75, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 65.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 46.66, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 6.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330203 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 75, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 65.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 46.66, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462ca21c_1640", "family": "profiled", "tier": 0, "seed": 1177330204, "symmetry": "none", "op_count": 1, "ir_hash": "19029b37dcadfeb3", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 72900.0, "surface_area": 22800.0, "principal_moments": [9660000.0, 113000000.0, 113000000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d829.71 mm \u00d7 157.8 mm tall."], "text": "Revolved body, \u00d829.71 mm \u00d7 157.8 mm tall."}, "params": {"outer_d": {"type": "float", "default": 29.71, "min": 14.9, "max": 59.4, "step": 1.0, "group": "Profile", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 157.8, "min": 47.3, "max": 473.4, "step": 5.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330204 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 29.71, \"min\": 14.9, \"max\": 59.4, \"step\": 1.0, \"group\": 'Profile', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 157.8, \"min\": 47.3, \"max\": 473.4, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca21d_1641", "family": "compound", "tier": 1, "seed": 1177330205, "symmetry": "mirror_xy", "op_count": 3, "ir_hash": "949a8c03894191a7", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 119000.0, "surface_area": 17400.0, "principal_moments": [40500000.0, 55599999.99999999, 55599999.99999999], "n_faces": 22, "n_edges": 57, "n_vertices": 37}, "dimensions": {"lines": ["Rectangular body, 59.04 \u00d7 44.5 \u00d7 45.2 mm (W\u00d7D\u00d7H).", "5-sided polygon section, 14.2 mm across corners attachment, 10.6 mm long, from right face with a \u00d85.3 mm bore.", "5-sided polygon section, 14.2 mm across corners attachment, 10.6 mm long, from front face with a \u00d85.3 mm bore."], "text": "Rectangular body, 59.04 \u00d7 44.5 \u00d7 45.2 mm (W\u00d7D\u00d7H). 5-sided polygon section, 14.2 mm across corners attachment, 10.6 mm long, from right face with a \u00d85.3 mm bore. 5-sided polygon section, 14.2 mm across corners attachment, 10.6 mm long, from front face with a \u00d85.3 mm bore."}, "params": {"block_w": {"type": "float", "default": 59.04, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body width (mm)"}, "block_d": {"type": "float", "default": 44.5, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body depth (mm)"}, "block_h": {"type": "float", "default": 45.2, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body height (mm)"}, "port_sides": {"type": "int", "default": 5, "min": 3, "max": 8, "step": 1, "group": "Ports", "label": "Ports sides"}, "port_r": {"type": "float", "default": 7.1, "min": 3.5, "max": 10.0, "step": 1.0, "group": "Ports", "label": "Ports circumradius (mm)"}, "port_len": {"type": "float", "default": 10.6, "min": 2.9, "max": 34.5, "step": 1.0, "group": "Ports", "label": "Port boss length (mm)"}, "port_bore": {"type": "float", "default": 5.3, "min": 2.0, "max": 8.3, "step": 0.5, "group": "Ports", "label": "Port bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330205 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 59.04, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 44.5, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 45.2, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body height (mm)'},\n    \"port_sides\": {\"type\": 'int', \"default\": 5, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Ports', \"label\": 'Ports sides'},\n    \"port_r\": {\"type\": 'float', \"default\": 7.1, \"min\": 3.5, \"max\": 10.0, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Ports circumradius (mm)'},\n    \"port_len\": {\"type\": 'float', \"default\": 10.6, \"min\": 2.9, \"max\": 34.5, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Port boss length (mm)'},\n    \"port_bore\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 8.3, \"step\": 0.5, \"group\": 'Ports', \"label\": 'Port bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"port_sides\"], p[\"port_r\"] * 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"port_sides\"], p[\"port_r\"] * 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca21e_1642", "family": "bracket", "tier": 1, "seed": 1177330206, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "ac873c1bd71f07b6", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 12600.0, "surface_area": 6270.0, "principal_moments": [1650000.0, 5030000.0, 5280000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["L-bracket: base leg 55 mm, vertical leg 34.3 mm, 30 mm wide, 5 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."], "text": "L-bracket: base leg 55 mm, vertical leg 34.3 mm, 30 mm wide, 5 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 55, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 34.3, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 30, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 5.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330206 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 55, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 34.3, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 30, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462ca21f_1643", "family": "ribbed", "tier": 1, "seed": 1177330207, "symmetry": "none", "op_count": 2, "ir_hash": "bca4426d6b0a9359", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 9160.0, "surface_area": 4750.0, "principal_moments": [749000.0, 1190000.0, 1280000.0], "n_faces": 30, "n_edges": 72, "n_vertices": 44}, "dimensions": {"lines": ["Rectangular body, 30 \u00d7 20.6 \u00d7 3 mm (W\u00d7D\u00d7H).", "Three ribs, 5.9 mm thick, 17.2 mm tall."], "text": "Rectangular body, 30 \u00d7 20.6 \u00d7 3 mm (W\u00d7D\u00d7H). Three ribs, 5.9 mm thick, 17.2 mm tall."}, "params": {"base_w": {"type": "float", "default": 30.0, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 20.6, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 3.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 3, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 17.2, "min": 6.9, "max": 34.4, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 5.9, "min": 1.0, "max": 14.8, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330207 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 30.0, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 20.6, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 3, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 17.2, \"min\": 6.9, \"max\": 34.4, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 5.9, \"min\": 1.0, \"max\": 14.8, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462ca220_1644", "family": "threaded", "tier": 0, "seed": 1177330208, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "8706ae4e62318560", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 1520.0, "surface_area": 1420.0, "principal_moments": [10200.0, 176000.0, 176000.0], "n_faces": 300, "n_edges": 770, "n_vertices": 472}, "dimensions": {"lines": ["M8x1.25 external thread, 36.9 mm long."], "text": "M8x1.25 external thread, 36.9 mm long."}, "params": {"major_d": {"type": "float", "default": 8.0, "min": 4.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Major diameter (mm)"}, "pitch": {"type": "float", "default": 1.25, "min": 0.62, "max": 2.5, "step": 0.05, "group": "Thread", "label": "Pitch (mm)"}, "thread_len": {"type": "float", "default": 36.9, "min": 14.8, "max": 73.8, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330208 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 8.0, \"min\": 4.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Major diameter (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.25, \"min\": 0.62, \"max\": 2.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Pitch (mm)'},\n    \"thread_len\": {\"type\": 'float', \"default\": 36.9, \"min\": 14.8, \"max\": 73.8, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.IsoThread(major_diameter=p[\"major_d\"], pitch=p[\"pitch\"], length=p[\"thread_len\"], external=True, end_finishes=(\"fade\", \"fade\"))\n    _r = _thr.min_radius if hasattr(_thr, 'min_radius') else _thr.root_radius\n    _shank = _bd.Cylinder(radius=_r, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = _shank + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca221_1645", "family": "revolved", "tier": 2, "seed": 1177330209, "symmetry": "none", "op_count": 1, "ir_hash": "0514212942bfee8f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 147000.0, "surface_area": 34800.0, "principal_moments": [104000000.0, 104000000.0, 144000000.0], "n_faces": 10, "n_edges": 15, "n_vertices": 10}, "dimensions": {"lines": ["Revolved body, \u00d861.52 mm \u00d7 47.1 mm tall with \u00d828.8 mm bore, \u00d8114.6 mm \u00d7 5.3 mm flange, 2.61 mm-wide groove 3.47 mm deep."], "text": "Revolved body, \u00d861.52 mm \u00d7 47.1 mm tall with \u00d828.8 mm bore, \u00d8114.6 mm \u00d7 5.3 mm flange, 2.61 mm-wide groove 3.47 mm deep."}, "params": {"outer_d": {"type": "float", "default": 61.52, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 47.1, "min": 14.1, "max": 141.3, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 28.8, "min": 2.0, "max": 43.1, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 114.6, "min": 73.8, "max": 184.6, "step": 1.0, "group": "Body", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 5.3, "min": 1.6, "max": 23.6, "step": 0.5, "group": "Body", "label": "Flange height (mm)"}, "groove_depth": {"type": "float", "default": 3.47, "min": 1.39, "max": 10.41, "step": 0.1, "group": "Body", "label": "Groove depth (mm)"}, "groove_w": {"type": "float", "default": 2.61, "min": 1.04, "max": 7.83, "step": 0.2, "group": "Body", "label": "Groove width (mm)"}, "groove_pos": {"type": "float", "default": 33.7, "min": 7.1, "max": 40.0, "step": 1.0, "group": "Body", "label": "Groove position (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330209 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 61.52, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 47.1, \"min\": 14.1, \"max\": 141.3, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 28.8, \"min\": 2.0, \"max\": 43.1, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 114.6, \"min\": 73.8, \"max\": 184.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 5.3, \"min\": 1.6, \"max\": 23.6, \"step\": 0.5, \"group\": 'Body', \"label\": 'Flange height (mm)'},\n    \"groove_depth\": {\"type\": 'float', \"default\": 3.47, \"min\": 1.39, \"max\": 10.41, \"step\": 0.1, \"group\": 'Body', \"label\": 'Groove depth (mm)'},\n    \"groove_w\": {\"type\": 'float', \"default\": 2.61, \"min\": 1.04, \"max\": 7.83, \"step\": 0.2, \"group\": 'Body', \"label\": 'Groove width (mm)'},\n    \"groove_pos\": {\"type\": 'float', \"default\": 33.7, \"min\": 7.1, \"max\": 40.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Groove position (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"groove_pos\"] - p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2 - p[\"groove_depth\"], p[\"groove_pos\"] - p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2 - p[\"groove_depth\"], p[\"groove_pos\"] + p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2, p[\"groove_pos\"] + p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca222_1646", "family": "bracket", "tier": 2, "seed": 1177330210, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "efa90ed7d3b64b43", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 22600.0, "surface_area": 7520.0, "principal_moments": [4480000.0, 5200000.0, 8040000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["L-bracket: base leg 38.91 mm, vertical leg 28.1 mm, 48.11 mm wide, 8 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 7.4 mm corner gusset."], "text": "L-bracket: base leg 38.91 mm, vertical leg 28.1 mm, 48.11 mm wide, 8 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 7.4 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 38.91, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 28.1, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 48.11, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 8.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 7.4, "min": 4.0, "max": 24.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330210 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 38.91, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 28.1, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 48.11, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 7.4, \"min\": 4.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462ca223_1647", "family": "lofted", "tier": 3, "seed": 1177330211, "symmetry": "none", "op_count": 2, "ir_hash": "cdfbd8319436f9aa", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 62500.0, "surface_area": 11400.0, "principal_moments": [17600000.0, 17600000.0, 21900000.0], "n_faces": 9, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["Lofted body through 3 sections: \u00d865 mm circular section \u2192 \u00d842.8 mm circular section \u2192 6-sided polygon section, 20.5 mm across corners.", "One \u00d811.1 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 3 sections: \u00d865 mm circular section \u2192 \u00d842.8 mm circular section \u2192 6-sided polygon section, 20.5 mm across corners. One \u00d811.1 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 65, "min": 32.5, "max": 104.0, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 20.5, "min": 8.2, "max": 78.0, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 42.8, "min": 17.1, "max": 85.6, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_mid": {"type": "float", "default": 42.8, "min": 10.2, "max": 78.0, "step": 1.0, "group": "Body", "label": "Mid size (mm)"}, "loft_bore_d": {"type": "float", "default": 11.1, "min": 2.0, "max": 16.4, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330211 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 65, \"min\": 32.5, \"max\": 104.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 20.5, \"min\": 8.2, \"max\": 78.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 42.8, \"min\": 17.1, \"max\": 85.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_mid\": {\"type\": 'float', \"default\": 42.8, \"min\": 10.2, \"max\": 78.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Mid size (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 11.1, \"min\": 2.0, \"max\": 16.4, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .circle(p[\"loft_base\"] / 2)\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .circle(p[\"loft_mid\"] / 2)\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .polygon(6, p[\"loft_top\"] * 0.5 * 2)\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462ca224_1648", "family": "gear", "tier": 1, "seed": 1177330212, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "20f42031e3349416", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 790000.0, "surface_area": 87200.0, "principal_moments": [1660000000.0, 1660000000.0, 3170000000.0], "n_faces": 213, "n_edges": 633, "n_vertices": 422}, "dimensions": {"lines": ["Spur gear, module 5 mm, 35 teeth (pitch \u00d8175 mm), face width 34.7 mm, \u00d837.1 mm bore."], "text": "Spur gear, module 5 mm, 35 teeth (pitch \u00d8175 mm), face width 34.7 mm, \u00d837.1 mm bore."}, "params": {"module": {"type": "float", "default": 5.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 35, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 34.7, "min": 13.9, "max": 86.8, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "bore_d": {"type": "float", "default": 37.1, "min": 2.0, "max": 97.5, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330212 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 5.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 35, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 34.7, \"min\": 13.9, \"max\": 86.8, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 37.1, \"min\": 2.0, \"max\": 97.5, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca225_1649", "family": "revolved", "tier": 0, "seed": 1177330213, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "22f87ec25b4eec7d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 250000.0, "surface_area": 44600.0, "principal_moments": [107000000.0, 470000000.0, 470000000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d853.42 mm \u00d7 167.5 mm tall."], "text": "Revolved body, \u00d853.42 mm \u00d7 167.5 mm tall."}, "params": {"outer_d": {"type": "float", "default": 53.42, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 167.5, "min": 50.2, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330213 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 53.42, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 167.5, \"min\": 50.2, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca226_1650", "family": "block", "tier": 3, "seed": 1177330214, "symmetry": "radial", "op_count": 5, "ir_hash": "72ea313318d010ab", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 93600.0, "surface_area": 17600.0, "principal_moments": [26899999.999999996, 38400000.0, 44200000.0], "n_faces": 18, "n_edges": 46, "n_vertices": 30}, "dimensions": {"lines": ["Rectangular body, 45.3 \u00d7 36.6 \u00d7 59.8 mm (W\u00d7D\u00d7H).", "Six \u00d84.3 mm holes on a \u00d827.2 mm bolt circle.", "Fillet radius 2.096 mm on vertical edges.", "Fillet radius 3.534 mm on vertical edges (optional, off by default).", "One \u00d85.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch, angled 10.1\u00b0 on the >Y face."], "text": "Rectangular body, 45.3 \u00d7 36.6 \u00d7 59.8 mm (W\u00d7D\u00d7H). Six \u00d84.3 mm holes on a \u00d827.2 mm bolt circle. Fillet radius 2.096 mm on vertical edges. Fillet radius 3.534 mm on vertical edges (optional, off by default). One \u00d85.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch, angled 10.1\u00b0 on the >Y face."}, "params": {"block_w": {"type": "float", "default": 45.3, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 36.6, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 59.8, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "bolt_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 13.6, "min": 9.1, "max": 20.4, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 6, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}, "filleted2": {"type": "bool", "default": false, "group": "Body", "label": "Fillet corners"}, "face_hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 9.5, "step": 0.5, "group": "Holes", "label": "Side hole diameter (mm)"}, "face_hole_tilt": {"type": "float", "default": 10.1, "min": 0.0, "max": 30.0, "step": 1.0, "group": "Holes", "label": "Side hole angle (deg)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330214 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 45.3, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 36.6, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 59.8, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 13.6, \"min\": 9.1, \"max\": 20.4, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n    \"filleted2\": {\"type\": 'bool', \"default\": False, \"group\": 'Body', \"label\": 'Fillet corners'},\n    \"face_hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 9.5, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Side hole diameter (mm)'},\n    \"face_hole_tilt\": {\"type\": 'float', \"default\": 10.1, \"min\": 0.0, \"max\": 30.0, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Side hole angle (deg)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"block_w\"], p[\"block_d\"]) * 0.05727595058536938)\n    if p[\"filleted2\"]:\n        result = result.edges('|Z').fillet(min(p[\"block_w\"], p[\"block_d\"]) * 0.09655217641309402)\n    result = (\n        result.faces('>Y').workplane().transformed(rotate=(p[\"face_hole_tilt\"], 0, 0))\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"face_hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462ca228_1652", "family": "profiled", "tier": 0, "seed": 1177330216, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "cc47b371879af27e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 72300.0, "surface_area": 14600.0, "principal_moments": [4900000.0, 209000000.0, 211000000.0], "n_faces": 9, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["freeform sketched section (7 segments: 3 straight, 1 arc, 3 curves), ~27.759 \u00d7 18.432 mm, extruded 185.6 mm thick."], "text": "freeform sketched section (7 segments: 3 straight, 1 arc, 3 curves), ~27.759 \u00d7 18.432 mm, extruded 185.6 mm thick."}, "params": {"sk_w": {"type": "float", "default": 32.04, "min": 16.0, "max": 57.7, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 25.26, "min": 12.6, "max": 45.5, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "length": {"type": "float", "default": 185.6, "min": 55.7, "max": 556.8, "step": 5.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330216 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 32.04, \"min\": 16.0, \"max\": 57.7, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 25.26, \"min\": 12.6, \"max\": 45.5, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 185.6, \"min\": 55.7, \"max\": 556.8, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.454, p[\"sk_h\"] * 0.0966).lineTo(p[\"sk_w\"] * 0.2322, p[\"sk_h\"] * 0.2763).lineTo(p[\"sk_w\"] * -0.0124, p[\"sk_h\"] * 0.3833).spline([(p[\"sk_w\"] * -0.0124, p[\"sk_h\"] * 0.3833), (p[\"sk_w\"] * -0.2312, p[\"sk_h\"] * 0.3445), (p[\"sk_w\"] * -0.4124, p[\"sk_h\"] * 0.2161)]).lineTo(p[\"sk_w\"] * -0.3509, p[\"sk_h\"] * -0.213).bezier([(p[\"sk_w\"] * -0.3509, p[\"sk_h\"] * -0.213), (p[\"sk_w\"] * -0.1998, p[\"sk_h\"] * -0.2965), (p[\"sk_w\"] * -0.0311, p[\"sk_h\"] * -0.3334)]).spline([(p[\"sk_w\"] * -0.0311, p[\"sk_h\"] * -0.3334), (p[\"sk_w\"] * 0.1036, p[\"sk_h\"] * -0.3622), (p[\"sk_w\"] * 0.2404, p[\"sk_h\"] * -0.3464)]).threePointArc((p[\"sk_w\"] * 0.3823, p[\"sk_h\"] * -0.1394), (p[\"sk_w\"] * 0.454, p[\"sk_h\"] * 0.0966)).close().extrude(p[\"length\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462ca229_1653", "family": "lofted", "tier": 2, "seed": 1177330217, "symmetry": "none", "op_count": 2, "ir_hash": "1dbf611873f687e5", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 17400.0, "surface_area": 5050.0, "principal_moments": [2190000.0, 2190000.0, 2360000.0], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["Lofted body through 3 sections: 6-sided polygon section, 40 mm across corners \u2192 6-sided polygon section, 32.8 mm across corners \u2192 25.6 \u00d7 25.6 mm rectangular section.", "One \u00d89.9 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 3 sections: 6-sided polygon section, 40 mm across corners \u2192 6-sided polygon section, 32.8 mm across corners \u2192 25.6 \u00d7 25.6 mm rectangular section. One \u00d89.9 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 40, "min": 20.0, "max": 64.0, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 25.6, "min": 10.2, "max": 48.0, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 25.9, "min": 10.4, "max": 51.8, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_mid": {"type": "float", "default": 32.8, "min": 12.8, "max": 48.0, "step": 1.0, "group": "Body", "label": "Mid size (mm)"}, "loft_bore_d": {"type": "float", "default": 9.9, "min": 2.0, "max": 20.5, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330217 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 40, \"min\": 20.0, \"max\": 64.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 25.6, \"min\": 10.2, \"max\": 48.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 25.9, \"min\": 10.4, \"max\": 51.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_mid\": {\"type\": 'float', \"default\": 32.8, \"min\": 12.8, \"max\": 48.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Mid size (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 9.9, \"min\": 2.0, \"max\": 20.5, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .polygon(6, p[\"loft_base\"] * 0.5 * 2)\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .polygon(6, p[\"loft_mid\"] * 0.5 * 2)\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .rect(p[\"loft_top\"], p[\"loft_top\"])\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca22a_1654", "family": "plate", "tier": 3, "seed": 1177330218, "symmetry": "radial", "op_count": 4, "ir_hash": "378ffef4bbb72cd0", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 27700.0, "surface_area": 9540.0, "principal_moments": [3620000.0, 19100000.0, 22200000.0], "n_faces": 17, "n_edges": 42, "n_vertices": 28}, "dimensions": {"lines": ["Rectangular body, 86.54 \u00d7 36.4 \u00d7 10 mm (W\u00d7D\u00d7H).", "Six \u00d84.3 mm holes on a \u00d852 mm bolt circle.", "Fillet radius 1.801 mm on vertical edges.", "Pocket 44.4 \u00d7 15.9 mm, 5 mm deep, in top face."], "text": "Rectangular body, 86.54 \u00d7 36.4 \u00d7 10 mm (W\u00d7D\u00d7H). Six \u00d84.3 mm holes on a \u00d852 mm bolt circle. Fillet radius 1.801 mm on vertical edges. Pocket 44.4 \u00d7 15.9 mm, 5 mm deep, in top face."}, "params": {"plate_w": {"type": "float", "default": 86.54, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 36.4, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "bolt_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 26.0, "min": 17.3, "max": 38.9, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 6, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}, "pocket_w": {"type": "float", "default": 44.4, "min": 22.2, "max": 69.2, "step": 1.0, "group": "Pocket", "label": "Pocket width (mm)"}, "pocket_d": {"type": "float", "default": 15.9, "min": 8.0, "max": 29.1, "step": 1.0, "group": "Pocket", "label": "Pocket depth (mm)"}, "pocket_h": {"type": "float", "default": 5.0, "min": 2.0, "max": 8.5, "step": 0.5, "group": "Pocket", "label": "Pocket height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330218 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 86.54, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 36.4, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 26.0, \"min\": 17.3, \"max\": 38.9, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n    \"pocket_w\": {\"type\": 'float', \"default\": 44.4, \"min\": 22.2, \"max\": 69.2, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket width (mm)'},\n    \"pocket_d\": {\"type\": 'float', \"default\": 15.9, \"min\": 8.0, \"max\": 29.1, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket depth (mm)'},\n    \"pocket_h\": {\"type\": 'float', \"default\": 5.0, \"min\": 2.0, \"max\": 8.5, \"step\": 0.5, \"group\": 'Pocket', \"label\": 'Pocket height (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"plate_w\"], p[\"plate_d\"]) * 0.04947771387866944)\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"pocket_w\"], p[\"pocket_d\"])\n        .cutBlind(-p[\"pocket_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca22b_1655", "family": "compound", "tier": 1, "seed": 1177330219, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "4d88ae8d28f7b01e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 34000.0, "surface_area": 7070.0, "principal_moments": [5570000.0, 5800000.0, 8110000.0], "n_faces": 13, "n_edges": 26, "n_vertices": 17}, "dimensions": {"lines": ["Rectangular body, 38.47 \u00d7 23.5 \u00d7 37.4 mm (W\u00d7D\u00d7H).", "\u00d87.3 mm circular section attachment, 5.8 mm long, from front face with a \u00d83.4 mm bore.", "\u00d87.3 mm circular section attachment, 5.8 mm long, from back face with a \u00d83.4 mm bore."], "text": "Rectangular body, 38.47 \u00d7 23.5 \u00d7 37.4 mm (W\u00d7D\u00d7H). \u00d87.3 mm circular section attachment, 5.8 mm long, from front face with a \u00d83.4 mm bore. \u00d87.3 mm circular section attachment, 5.8 mm long, from back face with a \u00d83.4 mm bore."}, "params": {"block_w": {"type": "float", "default": 38.47, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body width (mm)"}, "block_d": {"type": "float", "default": 23.5, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body depth (mm)"}, "block_h": {"type": "float", "default": 37.4, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body height (mm)"}, "port_d": {"type": "float", "default": 7.3, "min": 2.9, "max": 10.6, "step": 1.0, "group": "Ports", "label": "Ports diameter (mm)"}, "port_len": {"type": "float", "default": 5.8, "min": 1.8, "max": 21.9, "step": 1.0, "group": "Ports", "label": "Port boss length (mm)"}, "port_bore": {"type": "float", "default": 3.4, "min": 2.0, "max": 5.3, "step": 0.5, "group": "Ports", "label": "Port bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330219 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 38.47, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 23.5, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 37.4, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body height (mm)'},\n    \"port_d\": {\"type\": 'float', \"default\": 7.3, \"min\": 2.9, \"max\": 10.6, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Ports diameter (mm)'},\n    \"port_len\": {\"type\": 'float', \"default\": 5.8, \"min\": 1.8, \"max\": 21.9, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Port boss length (mm)'},\n    \"port_bore\": {\"type\": 'float', \"default\": 3.4, \"min\": 2.0, \"max\": 5.3, \"step\": 0.5, \"group\": 'Ports', \"label\": 'Port bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462ca22c_1656", "family": "threaded", "tier": 1, "seed": 1177330220, "symmetry": "none", "op_count": 1, "ir_hash": "b0965cbe92fe5ec8", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 479.0, "surface_area": 697.0, "principal_moments": [3880.0, 11700.0, 11700.0], "n_faces": 183, "n_edges": 497, "n_vertices": 316}, "dimensions": {"lines": ["M4x0.7 internal thread, 15.7 mm long."], "text": "M4x0.7 internal thread, 15.7 mm long."}, "params": {"major_d": {"type": "float", "default": 4.0, "min": 4.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Major diameter (mm)"}, "pitch": {"type": "float", "default": 0.7, "min": 0.35, "max": 1.4, "step": 0.05, "group": "Thread", "label": "Pitch (mm)"}, "thread_len": {"type": "float", "default": 15.7, "min": 6.3, "max": 31.4, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330220 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 4.0, \"min\": 4.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Major diameter (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 0.7, \"min\": 0.35, \"max\": 1.4, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Pitch (mm)'},\n    \"thread_len\": {\"type\": 'float', \"default\": 15.7, \"min\": 6.3, \"max\": 31.4, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.IsoThread(major_diameter=p[\"major_d\"], pitch=p[\"pitch\"], length=p[\"thread_len\"], external=False, end_finishes=(\"fade\", \"fade\"))\n    _body = _bd.Cylinder(radius=(p[\"major_d\"]) * 0.9, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _bore = _bd.Cylinder(radius=(p[\"major_d\"]) / 2, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = (_body - _bore) + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462ca22d_1657", "family": "threaded", "tier": 0, "seed": 1177330221, "symmetry": "none", "op_count": 1, "ir_hash": "a10b108155225813", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 157.0, "surface_area": 300.0, "principal_moments": [258.0, 3320.0, 3320.0], "n_faces": 230, "n_edges": 588, "n_vertices": 360}, "dimensions": {"lines": ["M4x0.7 external thread, 15.7 mm long."], "text": "M4x0.7 external thread, 15.7 mm long."}, "params": {"major_d": {"type": "float", "default": 4.0, "min": 4.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Major diameter (mm)"}, "pitch": {"type": "float", "default": 0.7, "min": 0.35, "max": 1.4, "step": 0.05, "group": "Thread", "label": "Pitch (mm)"}, "thread_len": {"type": "float", "default": 15.7, "min": 6.3, "max": 31.4, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330221 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 4.0, \"min\": 4.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Major diameter (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 0.7, \"min\": 0.35, \"max\": 1.4, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Pitch (mm)'},\n    \"thread_len\": {\"type\": 'float', \"default\": 15.7, \"min\": 6.3, \"max\": 31.4, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.IsoThread(major_diameter=p[\"major_d\"], pitch=p[\"pitch\"], length=p[\"thread_len\"], external=True, end_finishes=(\"fade\", \"fade\"))\n    _r = _thr.min_radius if hasattr(_thr, 'min_radius') else _thr.root_radius\n    _shank = _bd.Cylinder(radius=_r, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = _shank + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462ca22e_1658", "family": "swept", "tier": 0, "seed": 1177330222, "symmetry": "none", "op_count": 1, "ir_hash": "4b70fbac38550335", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 20100.0, "surface_area": 5470.0, "principal_moments": [1590000.0, 8930000.0, 9720000.0], "n_faces": 3, "n_edges": 3, "n_vertices": 2}, "dimensions": {"lines": ["\u00d817.8 mm circular section swept along a curved path, ~62.02 mm span."], "text": "\u00d817.8 mm circular section swept along a curved path, ~62.02 mm span."}, "params": {"path_w": {"type": "float", "default": 51.24, "min": 25.6, "max": 92.2, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 62.02, "min": 31.0, "max": 111.6, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_d": {"type": "float", "default": 17.8, "min": 8.9, "max": 32.0, "step": 1.0, "group": "Section", "label": "Section diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330222 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 51.24, \"min\": 25.6, \"max\": 92.2, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 62.02, \"min\": 31.0, \"max\": 111.6, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_d\": {\"type\": 'float', \"default\": 17.8, \"min\": 8.9, \"max\": 32.0, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.4908), (p[\"path_w\"] * 0.3925, p[\"path_h\"] * 0.5133), (p[\"path_w\"] * 0.5469, p[\"path_h\"] * 0.6908), (p[\"path_w\"] * 0.5924, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').circle(p[\"sweep_d\"] / 2).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca22f_1659", "family": "revolved", "tier": 0, "seed": 1177330223, "symmetry": "none", "op_count": 1, "ir_hash": "386854666f64cd57", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 1140.0, "surface_area": 937.0, "principal_moments": [25200.0, 25200.0, 32100.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d813.7 mm \u00d7 11.6 mm tall."], "text": "Revolved body, \u00d813.7 mm \u00d7 11.6 mm tall."}, "params": {"outer_d": {"type": "float", "default": 13.7, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 11.6, "min": 3.5, "max": 34.8, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330223 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 13.7, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 11.6, \"min\": 3.5, \"max\": 34.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462ca230_1660", "family": "ribbed", "tier": 2, "seed": 1177330224, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "e49eb0507c339265", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 50900.0, "surface_area": 22800.0, "principal_moments": [28899999.999999996, 41200000.0, 68700000.0], "n_faces": 29, "n_edges": 84, "n_vertices": 56}, "dimensions": {"lines": ["Rectangular body, 95 \u00d7 83.6 \u00d7 5 mm (W\u00d7D\u00d7H).", "Three ribs, 5.2 mm thick, 10.1 mm tall.", "Four \u00d86.4 mm holes at the corners, 66.5 \u00d7 58.52 mm spacing."], "text": "Rectangular body, 95 \u00d7 83.6 \u00d7 5 mm (W\u00d7D\u00d7H). Three ribs, 5.2 mm thick, 10.1 mm tall. Four \u00d86.4 mm holes at the corners, 66.5 \u00d7 58.52 mm spacing."}, "params": {"base_w": {"type": "float", "default": 95, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 83.6, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 5.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 3, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 10.1, "min": 4.0, "max": 20.2, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 5.2, "min": 1.0, "max": 13.0, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330224 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 95, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 83.6, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 3, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 10.1, \"min\": 4.0, \"max\": 20.2, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 5.2, \"min\": 1.0, \"max\": 13.0, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"base_w\"] * 0.7, p[\"base_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca231_1661", "family": "revolved", "tier": 2, "seed": 1177330225, "symmetry": "radial", "op_count": 1, "ir_hash": "db94fe1bb2cf33b7", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 101000.0, "surface_area": 20300.0, "principal_moments": [51899999.99999999, 51899999.99999999, 70900000.0], "n_faces": 8, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Revolved body, \u00d865.87 mm \u00d7 43.7 mm tall with \u00d836.2 mm bore, 3.19 mm-wide groove 4.27 mm deep."], "text": "Revolved body, \u00d865.87 mm \u00d7 43.7 mm tall with \u00d836.2 mm bore, 3.19 mm-wide groove 4.27 mm deep."}, "params": {"outer_d": {"type": "float", "default": 65.87, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 43.7, "min": 13.1, "max": 131.1, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 36.2, "min": 2.0, "max": 46.1, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "groove_depth": {"type": "float", "default": 4.27, "min": 1.71, "max": 12.81, "step": 0.1, "group": "Body", "label": "Groove depth (mm)"}, "groove_w": {"type": "float", "default": 3.19, "min": 1.28, "max": 9.57, "step": 0.2, "group": "Body", "label": "Groove width (mm)"}, "groove_pos": {"type": "float", "default": 17.4, "min": 6.6, "max": 37.1, "step": 1.0, "group": "Body", "label": "Groove position (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330225 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 65.87, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 43.7, \"min\": 13.1, \"max\": 131.1, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 36.2, \"min\": 2.0, \"max\": 46.1, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"groove_depth\": {\"type\": 'float', \"default\": 4.27, \"min\": 1.71, \"max\": 12.81, \"step\": 0.1, \"group\": 'Body', \"label\": 'Groove depth (mm)'},\n    \"groove_w\": {\"type\": 'float', \"default\": 3.19, \"min\": 1.28, \"max\": 9.57, \"step\": 0.2, \"group\": 'Body', \"label\": 'Groove width (mm)'},\n    \"groove_pos\": {\"type\": 'float', \"default\": 17.4, \"min\": 6.6, \"max\": 37.1, \"step\": 1.0, \"group\": 'Body', \"label\": 'Groove position (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"groove_pos\"] - p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2 - p[\"groove_depth\"], p[\"groove_pos\"] - p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2 - p[\"groove_depth\"], p[\"groove_pos\"] + p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2, p[\"groove_pos\"] + p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462ca232_1662", "family": "tapped", "tier": 1, "seed": 1177330226, "symmetry": "none", "op_count": 1, "ir_hash": "26541c0083be4dfc", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 19400.0, "surface_area": 5370.0, "principal_moments": [2440000.0, 2440000.0, 3370000.0], "n_faces": 147, "n_edges": 409, "n_vertices": 264}, "dimensions": {"lines": ["One M12x1.75 tapped hole in a cylinder."], "text": "One M12x1.75 tapped hole in a cylinder."}, "params": {"major_d": {"type": "float", "default": 12.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 1.75, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 21.6, "min": 14.4, "max": 38.9, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "body_d": {"type": "float", "default": 35.6, "min": 21.6, "max": 57.0, "step": 1.0, "group": "Body", "label": "Outer \u00d8 (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330226 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 12.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.75, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 21.6, \"min\": 14.4, \"max\": 38.9, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"body_d\": {\"type\": 'float', \"default\": 35.6, \"min\": 21.6, \"max\": 57.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer \u00d8 (mm)'},\n}\n\n\ndef build(p):\n\n    _W = _D = p[\"body_d\"]\n    _H = p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Cylinder(radius=_W / 2, height=_H)\n    _locs = [(0.0, 0.0)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca233_1663", "family": "compound", "tier": 2, "seed": 1177330227, "symmetry": "none", "op_count": 5, "ir_hash": "f988fea31dd50329", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 315000.0, "surface_area": 39400.0, "principal_moments": [222000000.0, 259000000.0, 342000000.0], "n_faces": 35, "n_edges": 93, "n_vertices": 61}, "dimensions": {"lines": ["Rectangular body, 85 \u00d7 51.2 \u00d7 75.9 mm (W\u00d7D\u00d7H).", "5-sided polygon section, 13.6 mm across corners attachment, 14.7 mm long, from back face with a \u00d86.7 mm bore.", "5-sided polygon section, 13.6 mm across corners attachment, 14.7 mm long, from front face with a \u00d86.7 mm bore.", "5-sided polygon section, 13.6 mm across corners attachment, 14.7 mm long, from right face with a \u00d86.7 mm bore.", "Four \u00d810.5 mm holes at the corners, 59.5 \u00d7 35.84 mm spacing."], "text": "Rectangular body, 85 \u00d7 51.2 \u00d7 75.9 mm (W\u00d7D\u00d7H). 5-sided polygon section, 13.6 mm across corners attachment, 14.7 mm long, from back face with a \u00d86.7 mm bore. 5-sided polygon section, 13.6 mm across corners attachment, 14.7 mm long, from front face with a \u00d86.7 mm bore. 5-sided polygon section, 13.6 mm across corners attachment, 14.7 mm long, from right face with a \u00d86.7 mm bore. Four \u00d810.5 mm holes at the corners, 59.5 \u00d7 35.84 mm spacing."}, "params": {"block_w": {"type": "float", "default": 85, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body width (mm)"}, "block_d": {"type": "float", "default": 51.2, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body depth (mm)"}, "block_h": {"type": "float", "default": 75.9, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body height (mm)"}, "port_sides": {"type": "int", "default": 5, "min": 3, "max": 8, "step": 1, "group": "Ports", "label": "Ports sides"}, "port_r": {"type": "float", "default": 6.8, "min": 3.4, "max": 11.5, "step": 1.0, "group": "Ports", "label": "Ports circumradius (mm)"}, "port_len": {"type": "float", "default": 14.7, "min": 2.8, "max": 33.0, "step": 1.0, "group": "Ports", "label": "Port boss length (mm)"}, "port_bore": {"type": "float", "default": 6.7, "min": 2.0, "max": 7.9, "step": 0.5, "group": "Ports", "label": "Port bore diameter (mm)"}, "hole_d": {"type": "float", "default": 10.5, "min": 2.0, "max": 11.5, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330227 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 85, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 51.2, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 75.9, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body height (mm)'},\n    \"port_sides\": {\"type\": 'int', \"default\": 5, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Ports', \"label\": 'Ports sides'},\n    \"port_r\": {\"type\": 'float', \"default\": 6.8, \"min\": 3.4, \"max\": 11.5, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Ports circumradius (mm)'},\n    \"port_len\": {\"type\": 'float', \"default\": 14.7, \"min\": 2.8, \"max\": 33.0, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Port boss length (mm)'},\n    \"port_bore\": {\"type\": 'float', \"default\": 6.7, \"min\": 2.0, \"max\": 7.9, \"step\": 0.5, \"group\": 'Ports', \"label\": 'Port bore diameter (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 10.5, \"min\": 2.0, \"max\": 11.5, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"port_sides\"], p[\"port_r\"] * 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"port_sides\"], p[\"port_r\"] * 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"port_sides\"], p[\"port_r\"] * 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca234_1664", "family": "compound", "tier": 2, "seed": 1177330228, "symmetry": "mirror_x", "op_count": 5, "ir_hash": "34bec98094331aaf", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 180000.0, "surface_area": 24200.0, "principal_moments": [80700000.0, 113000000.0, 118000000.0], "n_faces": 35, "n_edges": 93, "n_vertices": 61}, "dimensions": {"lines": ["Rectangular body, 70 \u00d7 53.2 \u00d7 49.8 mm (W\u00d7D\u00d7H).", "5-sided polygon section, 11.6 mm across corners attachment, 4.9 mm long, from back face with a \u00d85.8 mm bore.", "5-sided polygon section, 11.6 mm across corners attachment, 4.9 mm long, from right face with a \u00d85.8 mm bore.", "5-sided polygon section, 11.6 mm across corners attachment, 4.9 mm long, from left face with a \u00d85.8 mm bore.", "Four \u00d85.3 mm holes at the corners, 49 \u00d7 37.24 mm spacing."], "text": "Rectangular body, 70 \u00d7 53.2 \u00d7 49.8 mm (W\u00d7D\u00d7H). 5-sided polygon section, 11.6 mm across corners attachment, 4.9 mm long, from back face with a \u00d85.8 mm bore. 5-sided polygon section, 11.6 mm across corners attachment, 4.9 mm long, from right face with a \u00d85.8 mm bore. 5-sided polygon section, 11.6 mm across corners attachment, 4.9 mm long, from left face with a \u00d85.8 mm bore. Four \u00d85.3 mm holes at the corners, 49 \u00d7 37.24 mm spacing."}, "params": {"block_w": {"type": "float", "default": 70, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body width (mm)"}, "block_d": {"type": "float", "default": 53.2, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body depth (mm)"}, "block_h": {"type": "float", "default": 49.8, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body height (mm)"}, "port_sides": {"type": "int", "default": 5, "min": 3, "max": 8, "step": 1, "group": "Ports", "label": "Ports sides"}, "port_r": {"type": "float", "default": 5.8, "min": 2.9, "max": 11.2, "step": 1.0, "group": "Ports", "label": "Ports circumradius (mm)"}, "port_len": {"type": "float", "default": 4.9, "min": 2.3, "max": 28.2, "step": 1.0, "group": "Ports", "label": "Port boss length (mm)"}, "port_bore": {"type": "float", "default": 5.8, "min": 2.0, "max": 6.8, "step": 0.5, "group": "Ports", "label": "Port bore diameter (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 12.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330228 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 70, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 53.2, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 49.8, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body height (mm)'},\n    \"port_sides\": {\"type\": 'int', \"default\": 5, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Ports', \"label\": 'Ports sides'},\n    \"port_r\": {\"type\": 'float', \"default\": 5.8, \"min\": 2.9, \"max\": 11.2, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Ports circumradius (mm)'},\n    \"port_len\": {\"type\": 'float', \"default\": 4.9, \"min\": 2.3, \"max\": 28.2, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Port boss length (mm)'},\n    \"port_bore\": {\"type\": 'float', \"default\": 5.8, \"min\": 2.0, \"max\": 6.8, \"step\": 0.5, \"group\": 'Ports', \"label\": 'Port bore diameter (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 12.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"port_sides\"], p[\"port_r\"] * 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"port_sides\"], p[\"port_r\"] * 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"port_sides\"], p[\"port_r\"] * 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca235_1665", "family": "plate", "tier": 1, "seed": 1177330229, "symmetry": "none", "op_count": 2, "ir_hash": "8130c51632dc269e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 51300.0, "surface_area": 19800.0, "principal_moments": [28599999.999999996, 47799999.99999999, 76100000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 105.82 \u00d7 81.7 \u00d7 6 mm (W\u00d7D\u00d7H).", "Four \u00d85.3 mm holes at the corners, 74.074 \u00d7 57.19 mm spacing."], "text": "Rectangular body, 105.82 \u00d7 81.7 \u00d7 6 mm (W\u00d7D\u00d7H). Four \u00d85.3 mm holes at the corners, 74.074 \u00d7 57.19 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 105.82, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 81.7, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 6.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330229 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 105.82, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 81.7, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462ca236_1666", "family": "lofted", "tier": 1, "seed": 1177330230, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "d6331d4b97bdefea", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 50800.0, "surface_area": 10100.0, "principal_moments": [12999999.999999998, 12999999.999999998, 15299999.999999998], "n_faces": 8, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["Lofted body through 2 sections: \u00d850 mm circular section \u2192 36 \u00d7 36 mm rectangular section.", "One \u00d816.6 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 2 sections: \u00d850 mm circular section \u2192 36 \u00d7 36 mm rectangular section. One \u00d816.6 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 50, "min": 25.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 36.0, "min": 14.4, "max": 60.0, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 36.0, "min": 14.4, "max": 72.0, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_bore_d": {"type": "float", "default": 16.6, "min": 2.0, "max": 28.8, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330230 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 50, \"min\": 25.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 36.0, \"min\": 14.4, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 36.0, \"min\": 14.4, \"max\": 72.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 16.6, \"min\": 2.0, \"max\": 28.8, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .circle(p[\"loft_base\"] / 2)\n        .workplane(offset=p[\"loft_h\"])\n        .rect(p[\"loft_top\"], p[\"loft_top\"])\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462ca237_1667", "family": "flanged", "tier": 1, "seed": 1177330231, "symmetry": "none", "op_count": 2, "ir_hash": "a411a319d58fc548", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 301000.0, "surface_area": 47600.0, "principal_moments": [314000000.0, 314000000.0, 421000000.0], "n_faces": 12, "n_edges": 27, "n_vertices": 18}, "dimensions": {"lines": ["Revolved body, \u00d869.32 mm \u00d7 60.1 mm tall with \u00d823.5 mm bore, \u00d8134.6 mm \u00d7 9.6 mm flange.", "Six \u00d83.2 mm holes on a \u00d880.8 mm bolt circle."], "text": "Revolved body, \u00d869.32 mm \u00d7 60.1 mm tall with \u00d823.5 mm bore, \u00d8134.6 mm \u00d7 9.6 mm flange. Six \u00d83.2 mm holes on a \u00d880.8 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 69.32, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 60.1, "min": 18.0, "max": 150.2, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 23.5, "min": 2.0, "max": 48.5, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 134.6, "min": 90.1, "max": 208.0, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 9.6, "min": 2.9, "max": 24.0, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 40.4, "min": 26.9, "max": 60.6, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 6, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330231 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 69.32, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 60.1, \"min\": 18.0, \"max\": 150.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 23.5, \"min\": 2.0, \"max\": 48.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 134.6, \"min\": 90.1, \"max\": 208.0, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 9.6, \"min\": 2.9, \"max\": 24.0, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 40.4, \"min\": 26.9, \"max\": 60.6, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca238_1668", "family": "block", "tier": 2, "seed": 1177330232, "symmetry": "none", "op_count": 3, "ir_hash": "494080c85af86b6e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 66300.0, "surface_area": 14700.0, "principal_moments": [12999999.999999998, 26199999.999999996, 26599999.999999996], "n_faces": 18, "n_edges": 44, "n_vertices": 28}, "dimensions": {"lines": ["Rectangular body, 35 \u00d7 33.6 \u00d7 57.3 mm (W\u00d7D\u00d7H).", "Seven \u00d83.2 mm holes in two staggered rows, 8.8 \u00d7 9.9 mm pitch.", "Boss \u00d815.9 mm \u00d7 10.6 mm tall on top face."], "text": "Rectangular body, 35 \u00d7 33.6 \u00d7 57.3 mm (W\u00d7D\u00d7H). Seven \u00d83.2 mm holes in two staggered rows, 8.8 \u00d7 9.9 mm pitch. Boss \u00d815.9 mm \u00d7 10.6 mm tall on top face."}, "params": {"block_w": {"type": "float", "default": 35, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 33.6, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 57.3, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 3.4, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 4, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}, "boss_d": {"type": "float", "default": 15.9, "min": 8.0, "max": 31.8, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 10.6, "min": 4.2, "max": 26.5, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330232 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 35, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 33.6, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 57.3, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 3.4, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 4, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n    \"boss_d\": {\"type\": 'float', \"default\": 15.9, \"min\": 8.0, \"max\": 31.8, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 10.6, \"min\": 4.2, \"max\": 26.5, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 8.8\n    _ssy = 9.9\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca239_1669", "family": "revolved", "tier": 1, "seed": 1177330233, "symmetry": "none", "op_count": 1, "ir_hash": "4a0c09f5bdcc4103", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 12000.0, "surface_area": 3860.0, "principal_moments": [1060000.0, 1320000.0, 1320000.0], "n_faces": 4, "n_edges": 6, "n_vertices": 4}, "dimensions": {"lines": ["Revolved body, \u00d825 mm \u00d7 28.1 mm tall with \u00d89 mm bore."], "text": "Revolved body, \u00d825 mm \u00d7 28.1 mm tall with \u00d89 mm bore."}, "params": {"outer_d": {"type": "float", "default": 25, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 28.1, "min": 8.4, "max": 84.3, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 9.0, "min": 2.0, "max": 17.5, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330233 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 25, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 28.1, \"min\": 8.4, \"max\": 84.3, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 9.0, \"min\": 2.0, \"max\": 17.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca23a_1670", "family": "compound", "tier": 1, "seed": 1177330234, "symmetry": "none", "op_count": 3, "ir_hash": "ba696e7ea4c90e64", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 12800.0, "surface_area": 3470.0, "principal_moments": [869000.0, 1480000.0, 1500000.0], "n_faces": 18, "n_edges": 42, "n_vertices": 28}, "dimensions": {"lines": ["Rectangular body, 31.64 \u00d7 20 \u00d7 20 mm (W\u00d7D\u00d7H).", "5-sided polygon section, 6 mm across corners attachment, 4 mm long, from front face.", "5-sided polygon section, 6 mm across corners attachment, 4 mm long, from back face."], "text": "Rectangular body, 31.64 \u00d7 20 \u00d7 20 mm (W\u00d7D\u00d7H). 5-sided polygon section, 6 mm across corners attachment, 4 mm long, from front face. 5-sided polygon section, 6 mm across corners attachment, 4 mm long, from back face."}, "params": {"block_w": {"type": "float", "default": 31.64, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body width (mm)"}, "block_d": {"type": "float", "default": 20.0, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body depth (mm)"}, "block_h": {"type": "float", "default": 20.0, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body height (mm)"}, "port_sides": {"type": "int", "default": 5, "min": 3, "max": 8, "step": 1, "group": "Ports", "label": "Ports sides"}, "port_r": {"type": "float", "default": 3.0, "min": 1.5, "max": 4.5, "step": 1.0, "group": "Ports", "label": "Ports circumradius (mm)"}, "port_len": {"type": "float", "default": 4.0, "min": 1.2, "max": 14.6, "step": 1.0, "group": "Ports", "label": "Port boss length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330234 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 31.64, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 20.0, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 20.0, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body height (mm)'},\n    \"port_sides\": {\"type\": 'int', \"default\": 5, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Ports', \"label\": 'Ports sides'},\n    \"port_r\": {\"type\": 'float', \"default\": 3.0, \"min\": 1.5, \"max\": 4.5, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Ports circumradius (mm)'},\n    \"port_len\": {\"type\": 'float', \"default\": 4.0, \"min\": 1.2, \"max\": 14.6, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Port boss length (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"port_sides\"], p[\"port_r\"] * 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"port_sides\"], p[\"port_r\"] * 2).extrude(p[\"port_len\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462ca23b_1671", "family": "sketched", "tier": 1, "seed": 1177330235, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "07eb4b1980e72962", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 19800.0, "surface_area": 4970.0, "principal_moments": [1840000.0, 3280000.0, 3480000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["freeform sketched section (7 segments: 5 straight, 2 curves), ~31.404 \u00d7 44.661 mm, extruded 22.3 mm thick.", "One \u00d88.4 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "freeform sketched section (7 segments: 5 straight, 2 curves), ~31.404 \u00d7 44.661 mm, extruded 22.3 mm thick. One \u00d88.4 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"sk_w": {"type": "float", "default": 40.0, "min": 20.0, "max": 72.0, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 49.04, "min": 24.5, "max": 88.3, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "sk_t": {"type": "float", "default": 22.3, "min": 8.9, "max": 49.1, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "sk_hole_d": {"type": "float", "default": 8.4, "min": 2.0, "max": 16.8, "step": 0.5, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330235 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 40.0, \"min\": 20.0, \"max\": 72.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 49.04, \"min\": 24.5, \"max\": 88.3, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"sk_t\": {\"type\": 'float', \"default\": 22.3, \"min\": 8.9, \"max\": 49.1, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"sk_hole_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 2.0, \"max\": 16.8, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.3386, p[\"sk_h\"] * -0.0927).lineTo(p[\"sk_w\"] * 0.2504, p[\"sk_h\"] * 0.2831).lineTo(p[\"sk_w\"] * 0.0168, p[\"sk_h\"] * 0.4623).spline([(p[\"sk_w\"] * 0.0168, p[\"sk_h\"] * 0.4623), (p[\"sk_w\"] * -0.2558, p[\"sk_h\"] * 0.3768), (p[\"sk_w\"] * -0.4465, p[\"sk_h\"] * 0.164)]).lineTo(p[\"sk_w\"] * -0.3365, p[\"sk_h\"] * -0.0796).lineTo(p[\"sk_w\"] * -0.016, p[\"sk_h\"] * -0.4484).lineTo(p[\"sk_w\"] * 0.319, p[\"sk_h\"] * -0.2939).spline([(p[\"sk_w\"] * 0.319, p[\"sk_h\"] * -0.2939), (p[\"sk_w\"] * 0.3529, p[\"sk_h\"] * -0.1957), (p[\"sk_w\"] * 0.3386, p[\"sk_h\"] * -0.0927)]).close().extrude(p[\"sk_t\"]))\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"sk_hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca23c_1672", "family": "compound", "tier": 1, "seed": 1177330236, "symmetry": "mirror_xy", "op_count": 3, "ir_hash": "d6b56d78d023144e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 76900.0, "surface_area": 18300.0, "principal_moments": [27899999.999999996, 50699999.99999999, 51599999.99999999], "n_faces": 13, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Rectangular body, 79.7 \u00d7 48.1 \u00d7 20 mm (W\u00d7D\u00d7H).", "\u00d810.9 mm circular section attachment, 70.9 mm long, from top face with a \u00d85.2 mm bore.", "Four \u00d88.4 mm holes at the corners, 55.79 \u00d7 33.67 mm spacing."], "text": "Rectangular body, 79.7 \u00d7 48.1 \u00d7 20 mm (W\u00d7D\u00d7H). \u00d810.9 mm circular section attachment, 70.9 mm long, from top face with a \u00d85.2 mm bore. Four \u00d88.4 mm holes at the corners, 55.79 \u00d7 33.67 mm spacing."}, "params": {"base_w": {"type": "float", "default": 79.7, "min": 30.0, "max": 160.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 48.1, "min": 25.0, "max": 160.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_h": {"type": "float", "default": 20.0, "min": 3.0, "max": 30.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "col_d": {"type": "float", "default": 10.9, "min": 4.4, "max": 24.1, "step": 1.0, "group": "Column", "label": "Column diameter (mm)"}, "col_h": {"type": "float", "default": 70.9, "min": 21.3, "max": 212.7, "step": 1.0, "group": "Column", "label": "Column height (mm)"}, "col_bore": {"type": "float", "default": 5.2, "min": 2.0, "max": 7.8, "step": 0.5, "group": "Column", "label": "Column bore diameter (mm)"}, "hole_d": {"type": "float", "default": 8.4, "min": 2.0, "max": 10.8, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330236 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 79.7, \"min\": 30.0, \"max\": 160.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 48.1, \"min\": 25.0, \"max\": 160.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_h\": {\"type\": 'float', \"default\": 20.0, \"min\": 3.0, \"max\": 30.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"col_d\": {\"type\": 'float', \"default\": 10.9, \"min\": 4.4, \"max\": 24.1, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column diameter (mm)'},\n    \"col_h\": {\"type\": 'float', \"default\": 70.9, \"min\": 21.3, \"max\": 212.7, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column height (mm)'},\n    \"col_bore\": {\"type\": 'float', \"default\": 5.2, \"min\": 2.0, \"max\": 7.8, \"step\": 0.5, \"group\": 'Column', \"label\": 'Column bore diameter (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 2.0, \"max\": 10.8, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_h\"])\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"col_d\"] / 2).extrude(p[\"col_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"col_bore\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"base_w\"] * 0.7, p[\"base_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca23d_1673", "family": "block", "tier": 1, "seed": 1177330237, "symmetry": "none", "op_count": 2, "ir_hash": "5b7dc140c176382f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 156000.0, "surface_area": 31700.0, "principal_moments": [60699999.99999999, 139000000.0, 182000000.0], "n_faces": 22, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 65 \u00d7 26.5 \u00d7 100 mm (W\u00d7D\u00d7H).", "Four 6.4 mm square holes at the corners, 45.5 \u00d7 18.55 mm spacing."], "text": "Rectangular body, 65 \u00d7 26.5 \u00d7 100 mm (W\u00d7D\u00d7H). Four 6.4 mm square holes at the corners, 45.5 \u00d7 18.55 mm spacing."}, "params": {"block_w": {"type": "float", "default": 65, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 26.5, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 100.0, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 7.8, "step": 0.5, "group": "Holes", "label": "Square hole size (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330237 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 65, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 26.5, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 100.0, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 7.8, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Square hole size (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().rect(p[\"hole_d\"], p[\"hole_d\"]).cutThruAll()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca23e_1674", "family": "compound", "tier": 1, "seed": 1177330238, "symmetry": "none", "op_count": 3, "ir_hash": "1a453659e4b863e3", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 71600.0, "surface_area": 12400.0, "principal_moments": [19100000.0, 21600000.0, 21800000.0], "n_faces": 15, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 40 \u00d7 40.6 \u00d7 40.2 mm (W\u00d7D\u00d7H).", "37.3 \u00d7 34.8 mm rectangular section attachment, 6 mm long, from left face.", "Four \u00d83.2 mm holes at the corners, 22.38 \u00d7 20.88 mm spacing on the <X face."], "text": "Rectangular body, 40 \u00d7 40.6 \u00d7 40.2 mm (W\u00d7D\u00d7H). 37.3 \u00d7 34.8 mm rectangular section attachment, 6 mm long, from left face. Four \u00d83.2 mm holes at the corners, 22.38 \u00d7 20.88 mm spacing on the <X face."}, "params": {"block_w": {"type": "float", "default": 40, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 40.6, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 40.2, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "tab_a": {"type": "float", "default": 37.3, "min": 14.9, "max": 59.7, "step": 1.0, "group": "Tab", "label": "Tab width (mm)"}, "tab_b": {"type": "float", "default": 34.8, "min": 13.9, "max": 55.7, "step": 1.0, "group": "Tab", "label": "Tab height (mm)"}, "tab_t": {"type": "float", "default": 6.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Tab", "label": "Tab thickness (mm)"}, "tab_hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 7.7, "step": 0.1, "group": "Tab", "label": "Tab hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330238 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 40, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 40.6, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 40.2, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"tab_a\": {\"type\": 'float', \"default\": 37.3, \"min\": 14.9, \"max\": 59.7, \"step\": 1.0, \"group\": 'Tab', \"label\": 'Tab width (mm)'},\n    \"tab_b\": {\"type\": 'float', \"default\": 34.8, \"min\": 13.9, \"max\": 55.7, \"step\": 1.0, \"group\": 'Tab', \"label\": 'Tab height (mm)'},\n    \"tab_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Tab', \"label\": 'Tab thickness (mm)'},\n    \"tab_hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 7.7, \"step\": 0.1, \"group\": 'Tab', \"label\": 'Tab hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .rect(p[\"tab_a\"], p[\"tab_b\"]).extrude(p[\"tab_t\"])\n    )\n    result = (\n        result.faces('<X').workplane()\n        .rect(p[\"tab_a\"] * 0.6, p[\"tab_b\"] * 0.6, forConstruction=True)\n        .vertices().hole(p[\"tab_hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462ca23f_1675", "family": "lofted", "tier": 1, "seed": 1177330239, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "a16d89b51c347919", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 84000.0, "surface_area": 15800.0, "principal_moments": [27399999.999999996, 38800000.0, 38800000.0], "n_faces": 8, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["Lofted body through 2 sections: 50 \u00d7 50 mm rectangular section \u2192 \u00d831.1 mm circular section.", "One \u00d817.5 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 2 sections: 50 \u00d7 50 mm rectangular section \u2192 \u00d831.1 mm circular section. One \u00d817.5 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 50, "min": 25.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 31.1, "min": 12.4, "max": 60.0, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 64.0, "min": 25.6, "max": 128.0, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_bore_d": {"type": "float", "default": 17.5, "min": 2.0, "max": 24.9, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330239 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 50, \"min\": 25.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 31.1, \"min\": 12.4, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 64.0, \"min\": 25.6, \"max\": 128.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 17.5, \"min\": 2.0, \"max\": 24.9, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .rect(p[\"loft_base\"], p[\"loft_base\"])\n        .workplane(offset=p[\"loft_h\"])\n        .circle(p[\"loft_top\"] / 2)\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462ca240_1676", "family": "flanged", "tier": 2, "seed": 1177330240, "symmetry": "radial", "op_count": 2, "ir_hash": "a9022f02dd71f22a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 427000.0, "surface_area": 73500.0, "principal_moments": [632000000.0, 784000000.0, 784000000.0], "n_faces": 10, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["Revolved body, \u00d869.88 mm \u00d7 102.8 mm tall with \u00d829.6 mm bore, \u00d8161 mm \u00d7 6.3 mm flange.", "Four \u00d85.3 mm holes on a \u00d896.6 mm bolt circle."], "text": "Revolved body, \u00d869.88 mm \u00d7 102.8 mm tall with \u00d829.6 mm bore, \u00d8161 mm \u00d7 6.3 mm flange. Four \u00d85.3 mm holes on a \u00d896.6 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 69.88, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 102.8, "min": 30.8, "max": 257.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 29.6, "min": 2.0, "max": 48.9, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 161.0, "min": 90.8, "max": 209.6, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 6.3, "min": 1.9, "max": 41.1, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 48.3, "min": 32.2, "max": 72.5, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 4, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330240 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 69.88, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 102.8, \"min\": 30.8, \"max\": 257.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 29.6, \"min\": 2.0, \"max\": 48.9, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 161.0, \"min\": 90.8, \"max\": 209.6, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 6.3, \"min\": 1.9, \"max\": 41.1, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 48.3, \"min\": 32.2, \"max\": 72.5, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 4, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462ca241_1677", "family": "enclosure", "tier": 3, "seed": 1177330241, "symmetry": "mirror_xy", "op_count": 4, "ir_hash": "91a4a565cd889a1b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 8650.0, "surface_area": 5410.0, "principal_moments": [583000.0, 1600000.0, 1630000.0], "n_faces": 23, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 40 \u00d7 17.9 \u00d7 18.9 mm (W\u00d7D\u00d7H).", "Hollowed to 4.3 mm wall thickness, open at top face.", "Four \u00d83.2 mm holes at the corners, 28 \u00d7 12.53 mm spacing.", "Fillet radius 1.651 mm on vertical edges."], "text": "Rectangular body, 40 \u00d7 17.9 \u00d7 18.9 mm (W\u00d7D\u00d7H). Hollowed to 4.3 mm wall thickness, open at top face. Four \u00d83.2 mm holes at the corners, 28 \u00d7 12.53 mm spacing. Fillet radius 1.651 mm on vertical edges."}, "params": {"enc_w": {"type": "float", "default": 40, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 17.9, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 18.9, "min": 7.6, "max": 37.8, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 4.3, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 4.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330241 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 40, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 17.9, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 18.9, \"min\": 7.6, \"max\": 37.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 4.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"enc_w\"] * 0.7, p[\"enc_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"enc_w\"], p[\"enc_d\"]) * 0.0922164510438211)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca242_1678", "family": "compound", "tier": 1, "seed": 1177330242, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "d2b19be9462e2eb9", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 6230.0, "surface_area": 3000.0, "principal_moments": [356000.0, 628000.0, 628000.0], "n_faces": 11, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["6-sided polygon section, 24.88 mm across corners, extruded 13.1 mm thick.", "\u00d89.5 mm circular section attachment, 23.3 mm long, from top face with a \u00d84.9 mm bore."], "text": "6-sided polygon section, 24.88 mm across corners, extruded 13.1 mm thick. \u00d89.5 mm circular section attachment, 23.3 mm long, from top face with a \u00d84.9 mm bore."}, "params": {"base_sides": {"type": "int", "default": 6, "min": 3, "max": 8, "step": 1, "group": "Base", "label": "Base sides"}, "base_r": {"type": "float", "default": 12.44, "min": 7.5, "max": 19.9, "step": 1.0, "group": "Base", "label": "Base circumradius (mm)"}, "base_h": {"type": "float", "default": 13.1, "min": 5.2, "max": 32.8, "step": 1.0, "group": "Base", "label": "Base height (mm)"}, "col_d": {"type": "float", "default": 9.5, "min": 4.8, "max": 17.2, "step": 1.0, "group": "Column", "label": "Column diameter (mm)"}, "col_h": {"type": "float", "default": 23.3, "min": 7.0, "max": 58.2, "step": 1.0, "group": "Column", "label": "Column height (mm)"}, "col_bore": {"type": "float", "default": 4.9, "min": 2.0, "max": 6.8, "step": 0.5, "group": "Column", "label": "Column bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330242 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_sides\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Base', \"label\": 'Base sides'},\n    \"base_r\": {\"type\": 'float', \"default\": 12.44, \"min\": 7.5, \"max\": 19.9, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base circumradius (mm)'},\n    \"base_h\": {\"type\": 'float', \"default\": 13.1, \"min\": 5.2, \"max\": 32.8, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base height (mm)'},\n    \"col_d\": {\"type\": 'float', \"default\": 9.5, \"min\": 4.8, \"max\": 17.2, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column diameter (mm)'},\n    \"col_h\": {\"type\": 'float', \"default\": 23.3, \"min\": 7.0, \"max\": 58.2, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column height (mm)'},\n    \"col_bore\": {\"type\": 'float', \"default\": 4.9, \"min\": 2.0, \"max\": 6.8, \"step\": 0.5, \"group\": 'Column', \"label\": 'Column bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').polygon(p[\"base_sides\"], p[\"base_r\"] * 2).extrude(p[\"base_h\"]))\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"col_d\"] / 2).extrude(p[\"col_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"col_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca243_1679", "family": "block", "tier": 1, "seed": 1177330243, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "38de8b0d6de84c2b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 62000.0, "surface_area": 13200.0, "principal_moments": [15399999.999999998, 20000000.0, 30499999.999999996], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["Rectangular body, 50 \u00d7 21.8 \u00d7 58.2 mm (W\u00d7D\u00d7H).", "Seven \u00d82.1 mm holes in two staggered rows, 12.5 \u00d7 13.5 mm pitch."], "text": "Rectangular body, 50 \u00d7 21.8 \u00d7 58.2 mm (W\u00d7D\u00d7H). Seven \u00d82.1 mm holes in two staggered rows, 12.5 \u00d7 13.5 mm pitch."}, "params": {"block_w": {"type": "float", "default": 50, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 21.8, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 58.2, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 2.1, "min": 2.0, "max": 2.2, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 4, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330243 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 50, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 21.8, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 58.2, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 2.1, \"min\": 2.0, \"max\": 2.2, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 4, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 12.5\n    _ssy = 13.5\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462ca244_1680", "family": "threaded", "tier": 3, "seed": 1177330244, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "74ed824680d57557", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 4210.0, "surface_area": 2510.0, "principal_moments": [85800.0, 448000.0, 449000.0], "n_faces": 120, "n_edges": 302, "n_vertices": 184}, "dimensions": {"lines": ["Tr 14x3 external thread, 34.5 mm long."], "text": "Tr 14x3 external thread, 34.5 mm long."}, "params": {"thread_size": {"type": "enum", "default": "14x3", "choices": ["8x1.5", "10x2", "12x3", "14x3", "16x4", "18x4", "20x4", "24x5", "28x5", "30x6", "36x6", "40x7"], "group": "Thread", "label": "Size designation"}, "thread_len": {"type": "float", "default": 34.5, "min": 13.8, "max": 69.0, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330244 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"thread_size\": {\"type\": 'enum', \"default\": '14x3', \"choices\": ['8x1.5', '10x2', '12x3', '14x3', '16x4', '18x4', '20x4', '24x5', '28x5', '30x6', '36x6', '40x7'], \"group\": 'Thread', \"label\": 'Size designation'},\n    \"thread_len\": {\"type\": 'float', \"default\": 34.5, \"min\": 13.8, \"max\": 69.0, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.MetricTrapezoidalThread(size=p[\"thread_size\"], length=p[\"thread_len\"], external=True, end_finishes=(\"fade\", \"fade\"))\n    _r = _thr.min_radius if hasattr(_thr, 'min_radius') else _thr.root_radius\n    _shank = _bd.Cylinder(radius=_r, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = _shank + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462ca245_1681", "family": "profiled", "tier": 1, "seed": 1177330245, "symmetry": "none", "op_count": 1, "ir_hash": "1f1ffc431747337b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 131000.0, "surface_area": 24900.0, "principal_moments": [12899999.999999998, 752000000.0, 759000000.0], "n_faces": 8, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["freeform sketched section (6 segments: 3 straight, 2 arcs, 1 curve), ~39.218 \u00d7 16.856 mm, extruded 262.1 mm thick."], "text": "freeform sketched section (6 segments: 3 straight, 2 arcs, 1 curve), ~39.218 \u00d7 16.856 mm, extruded 262.1 mm thick."}, "params": {"sk_w": {"type": "float", "default": 43.75, "min": 21.9, "max": 78.8, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 25.96, "min": 13.0, "max": 46.7, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "length": {"type": "float", "default": 262.1, "min": 78.6, "max": 786.3, "step": 5.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330245 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 43.75, \"min\": 21.9, \"max\": 78.8, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 25.96, \"min\": 13.0, \"max\": 46.7, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 262.1, \"min\": 78.6, \"max\": 786.3, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.4425, p[\"sk_h\"] * -0.1511).lineTo(p[\"sk_w\"] * 0.1013, p[\"sk_h\"] * 0.3323).threePointArc((p[\"sk_w\"] * -0.0864, p[\"sk_h\"] * 0.3636), (p[\"sk_w\"] * -0.2686, p[\"sk_h\"] * 0.3471)).lineTo(p[\"sk_w\"] * -0.4539, p[\"sk_h\"] * 0.0718).lineTo(p[\"sk_w\"] * -0.2738, p[\"sk_h\"] * -0.2904).threePointArc((p[\"sk_w\"] * -0.0433, p[\"sk_h\"] * -0.3605), (p[\"sk_w\"] * 0.1868, p[\"sk_h\"] * -0.3022)).spline([(p[\"sk_w\"] * 0.1868, p[\"sk_h\"] * -0.3022), (p[\"sk_w\"] * 0.3258, p[\"sk_h\"] * -0.2456), (p[\"sk_w\"] * 0.4425, p[\"sk_h\"] * -0.1511)]).close().extrude(p[\"length\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca246_1682", "family": "plate", "tier": 0, "seed": 1177330246, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "54ea33c407fb9653", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 40300.0, "surface_area": 12400.0, "principal_moments": [11999999.999999998, 24499999.999999996, 36100000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 85 \u00d7 59.3 \u00d7 8 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 85 \u00d7 59.3 \u00d7 8 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 85, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 59.3, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330246 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 85, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 59.3, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462ca247_1683", "family": "tapped", "tier": 0, "seed": 1177330247, "symmetry": "none", "op_count": 1, "ir_hash": "c2546662554f834d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 13400.0, "surface_area": 3980.0, "principal_moments": [1240000.0, 1240000.0, 1570000.0], "n_faces": 170, "n_edges": 462, "n_vertices": 294}, "dimensions": {"lines": ["One M6x1 tapped hole in a plate."], "text": "One M6x1 tapped hole in a plate."}, "params": {"major_d": {"type": "float", "default": 6.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 1.0, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 20.3, "min": 7.2, "max": 36.5, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "plate_w": {"type": "float", "default": 26.1, "min": 15.7, "max": 41.8, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 26.1, "min": 15.7, "max": 41.8, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330247 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.0, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 20.3, \"min\": 7.2, \"max\": 36.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"plate_w\": {\"type\": 'float', \"default\": 26.1, \"min\": 15.7, \"max\": 41.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 26.1, \"min\": 15.7, \"max\": 41.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n}\n\n\ndef build(p):\n\n    _W, _D, _H = p[\"plate_w\"], p[\"plate_d\"], p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Box(_W, _D, _H)\n    _locs = [(0.0, 0.0)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462ca248_1684", "family": "swept", "tier": 1, "seed": 1177330248, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "f76d99f4fd9187cf", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 27200.0, "surface_area": 8600.0, "principal_moments": [8200000.0, 21700000.0, 28999999.999999996], "n_faces": 3, "n_edges": 3, "n_vertices": 2}, "dimensions": {"lines": ["\u00d816.4 mm circular section swept along a curved path, ~95.55 mm span."], "text": "\u00d816.4 mm circular section swept along a curved path, ~95.55 mm span."}, "params": {"path_w": {"type": "float", "default": 70, "min": 35.0, "max": 126.0, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 95.55, "min": 47.8, "max": 172.0, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_d": {"type": "float", "default": 16.4, "min": 8.2, "max": 29.5, "step": 1.0, "group": "Section", "label": "Section diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330248 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 70, \"min\": 35.0, \"max\": 126.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 95.55, \"min\": 47.8, \"max\": 172.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_d\": {\"type\": 'float', \"default\": 16.4, \"min\": 8.2, \"max\": 29.5, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.6014), (p[\"path_w\"] * 0.3992, p[\"path_h\"] * 0.6301), (p[\"path_w\"] * 0.383, p[\"path_h\"] * 0.6798), (p[\"path_w\"] * 0.4043, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').circle(p[\"sweep_d\"] / 2).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca249_1685", "family": "bracket", "tier": 1, "seed": 1177330249, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "0e844f70a0f02caa", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 49200.0, "surface_area": 19500.0, "principal_moments": [17100000.0, 93299999.99999999, 97299999.99999999], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Z-bracket: base leg 76.11 mm, vertical leg 81.4 mm, top leg 60.1 mm, 40 mm wide, 6 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."], "text": "Z-bracket: base leg 76.11 mm, vertical leg 81.4 mm, top leg 60.1 mm, 40 mm wide, 6 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 76.11, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 81.4, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 40, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 6.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 60.1, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330249 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 76.11, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 81.4, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 40, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 60.1, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca24a_1686", "family": "bracket", "tier": 1, "seed": 1177330250, "symmetry": "none", "op_count": 1, "ir_hash": "194088e48882f115", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 10900.0, "surface_area": 6420.0, "principal_moments": [1230000.0, 3570000.0, 4280000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["L-bracket: base leg 25 mm, vertical leg 25 mm, 60 mm wide, 4 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."], "text": "L-bracket: base leg 25 mm, vertical leg 25 mm, 60 mm wide, 4 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 25.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 25.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 60.0, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 4.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330250 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 25.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 25.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 60.0, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca24b_1687", "family": "bracket", "tier": 1, "seed": 1177330251, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "a33f004166340a9e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 7690.0, "surface_area": 4970.0, "principal_moments": [714000.0, 4290000.0, 4620000.0], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Z-bracket: base leg 45.53 mm, vertical leg 44 mm, top leg 31.7 mm, 17.13 mm wide, 4 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."], "text": "Z-bracket: base leg 45.53 mm, vertical leg 44 mm, top leg 31.7 mm, 17.13 mm wide, 4 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 45.53, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 44.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 17.13, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 4.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 31.7, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 6.9, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330251 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 45.53, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 44.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 17.13, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 31.7, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 6.9, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462ca24c_1688", "family": "enclosure", "tier": 1, "seed": 1177330252, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "37b7ba7cc547804d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 22800.0, "surface_area": 9370.0, "principal_moments": [3850000.0, 7450000.0, 9180000.0], "n_faces": 11, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 51.78 \u00d7 32.7 \u00d7 22.6 mm (W\u00d7D\u00d7H).", "Hollowed to 5.4 mm wall thickness, open at top face."], "text": "Rectangular body, 51.78 \u00d7 32.7 \u00d7 22.6 mm (W\u00d7D\u00d7H). Hollowed to 5.4 mm wall thickness, open at top face."}, "params": {"enc_w": {"type": "float", "default": 51.78, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 32.7, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 22.6, "min": 9.0, "max": 45.2, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 5.4, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330252 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 51.78, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 32.7, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 22.6, \"min\": 9.0, \"max\": 45.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 5.4, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462ca24d_1689", "family": "threaded", "tier": 1, "seed": 1177330253, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "3db2f13bff0c0996", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 991.0, "surface_area": 1010.0, "principal_moments": [18100.0, 26300.0, 26300.0], "n_faces": 119, "n_edges": 321, "n_vertices": 204}, "dimensions": {"lines": ["M6x1 internal thread, 14.5 mm long."], "text": "M6x1 internal thread, 14.5 mm long."}, "params": {"major_d": {"type": "float", "default": 6.0, "min": 4.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Major diameter (mm)"}, "pitch": {"type": "float", "default": 1.0, "min": 0.5, "max": 2.0, "step": 0.05, "group": "Thread", "label": "Pitch (mm)"}, "thread_len": {"type": "float", "default": 14.5, "min": 5.8, "max": 29.0, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330253 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 6.0, \"min\": 4.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Major diameter (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.0, \"min\": 0.5, \"max\": 2.0, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Pitch (mm)'},\n    \"thread_len\": {\"type\": 'float', \"default\": 14.5, \"min\": 5.8, \"max\": 29.0, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.IsoThread(major_diameter=p[\"major_d\"], pitch=p[\"pitch\"], length=p[\"thread_len\"], external=False, end_finishes=(\"fade\", \"fade\"))\n    _body = _bd.Cylinder(radius=(p[\"major_d\"]) * 0.9, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _bore = _bd.Cylinder(radius=(p[\"major_d\"]) / 2, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = (_body - _bore) + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca24e_1690", "family": "revolved", "tier": 0, "seed": 1177330254, "symmetry": "none", "op_count": 1, "ir_hash": "efd0b7e83419bbbd", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 42300.0, "surface_area": 12000.0, "principal_moments": [7770000.0, 14799999.999999998, 14799999.999999998], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d835 mm \u00d7 65.9 mm tall."], "text": "Revolved body, \u00d835 mm \u00d7 65.9 mm tall."}, "params": {"outer_d": {"type": "float", "default": 35, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 65.9, "min": 19.8, "max": 197.7, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330254 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 35, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 65.9, \"min\": 19.8, \"max\": 197.7, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca24f_1691", "family": "compound", "tier": 1, "seed": 1177330255, "symmetry": "mirror_xy", "op_count": 3, "ir_hash": "9d8dfefabae15450", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 67500.0, "surface_area": 10700.0, "principal_moments": [15299999.999999998, 20600000.0, 23999999.999999996], "n_faces": 10, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["Rectangular body, 50 \u00d7 31.6 \u00d7 41.4 mm (W\u00d7D\u00d7H).", "\u00d810.6 mm circular section attachment, 12.1 mm long, from right face.", "\u00d810.6 mm circular section attachment, 12.1 mm long, from back face."], "text": "Rectangular body, 50 \u00d7 31.6 \u00d7 41.4 mm (W\u00d7D\u00d7H). \u00d810.6 mm circular section attachment, 12.1 mm long, from right face. \u00d810.6 mm circular section attachment, 12.1 mm long, from back face."}, "params": {"block_w": {"type": "float", "default": 50, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body width (mm)"}, "block_d": {"type": "float", "default": 31.6, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body depth (mm)"}, "block_h": {"type": "float", "default": 41.4, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body height (mm)"}, "port_d": {"type": "float", "default": 10.6, "min": 4.2, "max": 14.2, "step": 1.0, "group": "Ports", "label": "Ports diameter (mm)"}, "port_len": {"type": "float", "default": 12.1, "min": 2.6, "max": 31.8, "step": 1.0, "group": "Ports", "label": "Port boss length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330255 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 50, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 31.6, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 41.4, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body height (mm)'},\n    \"port_d\": {\"type\": 'float', \"default\": 10.6, \"min\": 4.2, \"max\": 14.2, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Ports diameter (mm)'},\n    \"port_len\": {\"type\": 'float', \"default\": 12.1, \"min\": 2.6, \"max\": 31.8, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Port boss length (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca250_1692", "family": "block", "tier": 1, "seed": 1177330256, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "2f9ca0b85e04237f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 67300.0, "surface_area": 14200.0, "principal_moments": [17000000.0, 22600000.0, 33399999.999999996], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 50.34 \u00d7 23.8 \u00d7 59 mm (W\u00d7D\u00d7H).", "Four \u00d84.3 mm holes at the corners, 35.238 \u00d7 16.66 mm spacing."], "text": "Rectangular body, 50.34 \u00d7 23.8 \u00d7 59 mm (W\u00d7D\u00d7H). Four \u00d84.3 mm holes at the corners, 35.238 \u00d7 16.66 mm spacing."}, "params": {"block_w": {"type": "float", "default": 50.34, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 23.8, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 59.0, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 5.4, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330256 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 50.34, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 23.8, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 59.0, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 5.4, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca251_1693", "family": "block", "tier": 3, "seed": 1177330257, "symmetry": "mirror_xy", "op_count": 5, "ir_hash": "c68870e2ddd3c806", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 34900.0, "surface_area": 11600.0, "principal_moments": [6700000.0, 7970000.0, 11499999.999999998], "n_faces": 17, "n_edges": 43, "n_vertices": 28}, "dimensions": {"lines": ["Rectangular body, 45 \u00d7 22.5 \u00d7 43.2 mm (W\u00d7D\u00d7H).", "Four \u00d84.3 mm holes at the corners, 31.5 \u00d7 15.75 mm spacing.", "Pocket 27.1 \u00d7 12.5 mm, 18.7 mm deep, in top face.", "Fillet radius 1.468 mm on vertical edges (optional, off by default).", "One \u00d84.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch, angled 16.4\u00b0 on the >Y face."], "text": "Rectangular body, 45 \u00d7 22.5 \u00d7 43.2 mm (W\u00d7D\u00d7H). Four \u00d84.3 mm holes at the corners, 31.5 \u00d7 15.75 mm spacing. Pocket 27.1 \u00d7 12.5 mm, 18.7 mm deep, in top face. Fillet radius 1.468 mm on vertical edges (optional, off by default). One \u00d84.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch, angled 16.4\u00b0 on the >Y face."}, "params": {"block_w": {"type": "float", "default": 45, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 22.5, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 43.2, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 5.1, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "pocket_w": {"type": "float", "default": 27.1, "min": 13.6, "max": 36.0, "step": 1.0, "group": "Pocket", "label": "Pocket width (mm)"}, "pocket_d": {"type": "float", "default": 12.5, "min": 6.2, "max": 18.0, "step": 1.0, "group": "Pocket", "label": "Pocket depth (mm)"}, "pocket_h": {"type": "float", "default": 18.7, "min": 7.5, "max": 36.7, "step": 0.5, "group": "Pocket", "label": "Pocket height (mm)"}, "filleted2": {"type": "bool", "default": false, "group": "Body", "label": "Fillet corners"}, "face_hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 7.7, "step": 0.5, "group": "Holes", "label": "Side hole diameter (mm)"}, "face_hole_tilt": {"type": "float", "default": 16.4, "min": 0.0, "max": 30.0, "step": 1.0, "group": "Holes", "label": "Side hole angle (deg)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330257 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 45, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 22.5, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 43.2, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 5.1, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"pocket_w\": {\"type\": 'float', \"default\": 27.1, \"min\": 13.6, \"max\": 36.0, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket width (mm)'},\n    \"pocket_d\": {\"type\": 'float', \"default\": 12.5, \"min\": 6.2, \"max\": 18.0, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket depth (mm)'},\n    \"pocket_h\": {\"type\": 'float', \"default\": 18.7, \"min\": 7.5, \"max\": 36.7, \"step\": 0.5, \"group\": 'Pocket', \"label\": 'Pocket height (mm)'},\n    \"filleted2\": {\"type\": 'bool', \"default\": False, \"group\": 'Body', \"label\": 'Fillet corners'},\n    \"face_hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 7.7, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Side hole diameter (mm)'},\n    \"face_hole_tilt\": {\"type\": 'float', \"default\": 16.4, \"min\": 0.0, \"max\": 30.0, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Side hole angle (deg)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"pocket_w\"], p[\"pocket_d\"])\n        .cutBlind(-p[\"pocket_h\"])\n    )\n    if p[\"filleted2\"]:\n        result = result.edges('|Z').fillet(min(p[\"block_w\"], p[\"block_d\"]) * 0.06523212107407522)\n    result = (\n        result.faces('>Y').workplane().transformed(rotate=(p[\"face_hole_tilt\"], 0, 0))\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"face_hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca252_1694", "family": "bracket", "tier": 1, "seed": 1177330258, "symmetry": "none", "op_count": 1, "ir_hash": "a15eb209a60a2bfc", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 23000.0, "surface_area": 13400.0, "principal_moments": [6450000.0, 39600000.0, 42700000.0], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Z-bracket: base leg 75 mm, vertical leg 79.9 mm, top leg 51.3 mm, 29.14 mm wide, 4 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."], "text": "Z-bracket: base leg 75 mm, vertical leg 79.9 mm, top leg 51.3 mm, 29.14 mm wide, 4 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 75, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 79.9, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 29.14, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 4.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 51.3, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330258 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 75, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 79.9, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 29.14, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 51.3, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462ca253_1695", "family": "swept", "tier": 1, "seed": 1177330259, "symmetry": "none", "op_count": 1, "ir_hash": "c8d823767b01d489", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 8320.0, "surface_area": 4140.0, "principal_moments": [393000.0, 5040000.0, 5180000.0], "n_faces": 3, "n_edges": 3, "n_vertices": 2}, "dimensions": {"lines": ["\u00d815.5 mm circular section swept along a curved path, ~80 mm span."], "text": "\u00d815.5 mm circular section swept along a curved path, ~80 mm span."}, "params": {"path_w": {"type": "float", "default": 60.18, "min": 30.1, "max": 108.3, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 80, "min": 40.0, "max": 144.0, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_d": {"type": "float", "default": 15.5, "min": 7.8, "max": 27.9, "step": 1.0, "group": "Section", "label": "Section diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330259 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 60.18, \"min\": 30.1, \"max\": 108.3, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 80, \"min\": 40.0, \"max\": 144.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_d\": {\"type\": 'float', \"default\": 15.5, \"min\": 7.8, \"max\": 27.9, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.2272, p[\"path_h\"] * 0.2732), (p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.4477), (p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.5441), (p[\"path_w\"] * 0.0, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').circle(p[\"sweep_d\"] / 2).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462ca254_1696", "family": "tapped", "tier": 1, "seed": 1177330260, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "55e16689a284dc31", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 27000.0, "surface_area": 9050.0, "principal_moments": [3950000.0, 6120000.0, 8920000.0], "n_faces": 358, "n_edges": 1268, "n_vertices": 912}, "dimensions": {"lines": ["Four M10x1.5 tapped holes in a plate."], "text": "Four M10x1.5 tapped holes in a plate."}, "params": {"major_d": {"type": "float", "default": 10.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 1.5, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 16.0, "min": 12.0, "max": 28.8, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "plate_w": {"type": "float", "default": 50, "min": 30.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 39.1, "min": 23.5, "max": 62.6, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330260 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 10.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.5, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 16.0, \"min\": 12.0, \"max\": 28.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"plate_w\": {\"type\": 'float', \"default\": 50, \"min\": 30.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 39.1, \"min\": 23.5, \"max\": 62.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n}\n\n\ndef build(p):\n\n    _W, _D, _H = p[\"plate_w\"], p[\"plate_d\"], p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Box(_W, _D, _H)\n    _sx, _sy = p[\"plate_w\"] * 0.6, p[\"plate_d\"] * 0.6\n    _locs = [(_xx, _yy) for _xx in (-_sx / 2, _sx / 2) for _yy in (-_sy / 2, _sy / 2)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462ca256_1698", "family": "sketched", "tier": 3, "seed": 1177330262, "symmetry": "mirror_x", "op_count": 4, "ir_hash": "4e807328cd6dfa36", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 20700.0, "surface_area": 6190.0, "principal_moments": [1840000.0, 5180000.0, 5920000.0], "n_faces": 11, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["freeform sketched section (6 segments: 3 straight, 3 arcs), ~61.394 \u00d7 28.919 mm, extruded 12.88 mm thick.", "One \u00d86.4 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch.", "Boss \u00d820.8 mm \u00d7 9.8 mm tall on top face with a \u00d810.5 mm bore.", "Fillet radius 1.9 mm on vertical edges (optional, off by default)."], "text": "freeform sketched section (6 segments: 3 straight, 3 arcs), ~61.394 \u00d7 28.919 mm, extruded 12.88 mm thick. One \u00d86.4 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch. Boss \u00d820.8 mm \u00d7 9.8 mm tall on top face with a \u00d810.5 mm bore. Fillet radius 1.9 mm on vertical edges (optional, off by default)."}, "params": {"sk_w": {"type": "float", "default": 72.69, "min": 36.3, "max": 130.8, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 47.37, "min": 23.7, "max": 85.3, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "sk_t": {"type": "float", "default": 12.88, "min": 5.2, "max": 28.3, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "sk_hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 12.8, "step": 0.5, "group": "Holes", "label": "Hole diameter (mm)"}, "boss_d": {"type": "float", "default": 20.8, "min": 10.4, "max": 41.6, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 9.8, "min": 3.9, "max": 24.5, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}, "boss_bore_d": {"type": "float", "default": 10.5, "min": 2.0, "max": 14.6, "step": 0.1, "group": "Boss", "label": "Bore diameter (mm)"}, "sk_fillet_r": {"type": "float", "default": 1.9, "min": 0.5, "max": 4.8, "step": 0.5, "group": "Body", "label": "Edge fillet radius (mm)"}, "sk_filleted": {"type": "bool", "default": false, "group": "Body", "label": "Fillet vertical edges"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330262 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 72.69, \"min\": 36.3, \"max\": 130.8, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 47.37, \"min\": 23.7, \"max\": 85.3, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"sk_t\": {\"type\": 'float', \"default\": 12.88, \"min\": 5.2, \"max\": 28.3, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"sk_hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 12.8, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"boss_d\": {\"type\": 'float', \"default\": 20.8, \"min\": 10.4, \"max\": 41.6, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 9.8, \"min\": 3.9, \"max\": 24.5, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n    \"boss_bore_d\": {\"type\": 'float', \"default\": 10.5, \"min\": 2.0, \"max\": 14.6, \"step\": 0.1, \"group\": 'Boss', \"label\": 'Bore diameter (mm)'},\n    \"sk_fillet_r\": {\"type\": 'float', \"default\": 1.9, \"min\": 0.5, \"max\": 4.8, \"step\": 0.5, \"group\": 'Body', \"label\": 'Edge fillet radius (mm)'},\n    \"sk_filleted\": {\"type\": 'bool', \"default\": False, \"group\": 'Body', \"label\": 'Fillet vertical edges'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.4103, p[\"sk_h\"] * -0.0959).threePointArc((p[\"sk_w\"] * 0.4056, p[\"sk_h\"] * 0.1116), (p[\"sk_w\"] * 0.3157, p[\"sk_h\"] * 0.2876)).lineTo(p[\"sk_w\"] * -0.1944, p[\"sk_h\"] * 0.2801).lineTo(p[\"sk_w\"] * -0.4343, p[\"sk_h\"] * 0.0279).threePointArc((p[\"sk_w\"] * -0.3388, p[\"sk_h\"] * -0.1666), (p[\"sk_w\"] * -0.1422, p[\"sk_h\"] * -0.3229)).threePointArc((p[\"sk_w\"] * 0.0981, p[\"sk_h\"] * -0.3498), (p[\"sk_w\"] * 0.3266, p[\"sk_h\"] * -0.3009)).lineTo(p[\"sk_w\"] * 0.4103, p[\"sk_h\"] * -0.0959).close().extrude(p[\"sk_t\"]))\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"sk_hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .hole(p[\"boss_bore_d\"])\n    )\n    if p[\"sk_filleted\"]:\n        result = result.edges('|Z').fillet(p[\"sk_fillet_r\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca257_1699", "family": "block", "tier": 1, "seed": 1177330263, "symmetry": "none", "op_count": 2, "ir_hash": "ce8e934f16256682", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 110000.0, "surface_area": 19200.0, "principal_moments": [29899999.999999996, 62299999.99999999, 76200000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 49.47 \u00d7 29.9 \u00d7 77.1 mm (W\u00d7D\u00d7H).", "Four \u00d84.3 mm holes at the corners, 34.629 \u00d7 20.93 mm spacing."], "text": "Rectangular body, 49.47 \u00d7 29.9 \u00d7 77.1 mm (W\u00d7D\u00d7H). Four \u00d84.3 mm holes at the corners, 34.629 \u00d7 20.93 mm spacing."}, "params": {"block_w": {"type": "float", "default": 49.47, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 29.9, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 77.1, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 6.7, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330263 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 49.47, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 29.9, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 77.1, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 6.7, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca258_1700", "family": "block", "tier": 3, "seed": 1177330264, "symmetry": "none", "op_count": 4, "ir_hash": "cdb8e2db8c2d6caf", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 28900.0, "surface_area": 8900.0, "principal_moments": [4420000.0, 7470000.0, 8580000.0], "n_faces": 16, "n_edges": 39, "n_vertices": 26}, "dimensions": {"lines": ["Rectangular body, 45 \u00d7 31.6 \u00d7 26.3 mm (W\u00d7D\u00d7H).", "Five \u00d82.5 mm holes in two staggered rows, 16.9 \u00d7 17.5 mm pitch.", "Pocket 24.7 \u00d7 21.7 mm, 15.1 mm deep, in top face.", "Fillet radius 3.028 mm on vertical edges (optional, off by default)."], "text": "Rectangular body, 45 \u00d7 31.6 \u00d7 26.3 mm (W\u00d7D\u00d7H). Five \u00d82.5 mm holes in two staggered rows, 16.9 \u00d7 17.5 mm pitch. Pocket 24.7 \u00d7 21.7 mm, 15.1 mm deep, in top face. Fillet radius 3.028 mm on vertical edges (optional, off by default)."}, "params": {"block_w": {"type": "float", "default": 45, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 31.6, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 26.3, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 2.5, "min": 2.0, "max": 3.2, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 3, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}, "pocket_w": {"type": "float", "default": 24.7, "min": 12.3, "max": 36.0, "step": 1.0, "group": "Pocket", "label": "Pocket width (mm)"}, "pocket_d": {"type": "float", "default": 21.7, "min": 10.8, "max": 25.3, "step": 1.0, "group": "Pocket", "label": "Pocket depth (mm)"}, "pocket_h": {"type": "float", "default": 15.1, "min": 6.0, "max": 22.4, "step": 0.5, "group": "Pocket", "label": "Pocket height (mm)"}, "filleted2": {"type": "bool", "default": false, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330264 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 45, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 31.6, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 26.3, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 2.5, \"min\": 2.0, \"max\": 3.2, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 3, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n    \"pocket_w\": {\"type\": 'float', \"default\": 24.7, \"min\": 12.3, \"max\": 36.0, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket width (mm)'},\n    \"pocket_d\": {\"type\": 'float', \"default\": 21.7, \"min\": 10.8, \"max\": 25.3, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket depth (mm)'},\n    \"pocket_h\": {\"type\": 'float', \"default\": 15.1, \"min\": 6.0, \"max\": 22.4, \"step\": 0.5, \"group\": 'Pocket', \"label\": 'Pocket height (mm)'},\n    \"filleted2\": {\"type\": 'bool', \"default\": False, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 16.9\n    _ssy = 17.5\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"pocket_w\"], p[\"pocket_d\"])\n        .cutBlind(-p[\"pocket_h\"])\n    )\n    if p[\"filleted2\"]:\n        result = result.edges('|Z').fillet(min(p[\"block_w\"], p[\"block_d\"]) * 0.09583046381206246)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462ca259_1701", "family": "enclosure", "tier": 2, "seed": 1177330265, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "671d1cbc7bb33a63", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 18800.0, "surface_area": 11300.0, "principal_moments": [3900000.0, 7350000.0, 9200000.0], "n_faces": 19, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 55 \u00d7 34.9 \u00d7 23.8 mm (W\u00d7D\u00d7H).", "Hollowed to 3.7 mm wall thickness, open at top face.", "Four \u00d85.3 mm holes at the corners, 38.5 \u00d7 24.43 mm spacing."], "text": "Rectangular body, 55 \u00d7 34.9 \u00d7 23.8 mm (W\u00d7D\u00d7H). Hollowed to 3.7 mm wall thickness, open at top face. Four \u00d85.3 mm holes at the corners, 38.5 \u00d7 24.43 mm spacing."}, "params": {"enc_w": {"type": "float", "default": 55, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 34.9, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 23.8, "min": 9.5, "max": 47.6, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 3.7, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 7.9, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330265 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 55, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 34.9, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 23.8, \"min\": 9.5, \"max\": 47.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 3.7, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 7.9, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"enc_w\"] * 0.7, p[\"enc_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462ca25a_1702", "family": "enclosure", "tier": 2, "seed": 1177330266, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "cbffe8e8d3ac6d0e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 84100.0, "surface_area": 41100.0, "principal_moments": [70600000.0, 97999999.99999999, 105000000.0], "n_faces": 19, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 80.18 \u00d7 51.7 \u00d7 68.3 mm (W\u00d7D\u00d7H).", "Hollowed to 4.3 mm wall thickness, open at top face.", "Four \u00d88.4 mm holes at the corners, 56.126 \u00d7 36.19 mm spacing."], "text": "Rectangular body, 80.18 \u00d7 51.7 \u00d7 68.3 mm (W\u00d7D\u00d7H). Hollowed to 4.3 mm wall thickness, open at top face. Four \u00d88.4 mm holes at the corners, 56.126 \u00d7 36.19 mm spacing."}, "params": {"enc_w": {"type": "float", "default": 80.18, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 51.7, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 68.3, "min": 27.3, "max": 136.6, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 4.3, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}, "hole_d": {"type": "float", "default": 8.4, "min": 2.0, "max": 11.6, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330266 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 80.18, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 51.7, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 68.3, \"min\": 27.3, \"max\": 136.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 2.0, \"max\": 11.6, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"enc_w\"] * 0.7, p[\"enc_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca25c_1704", "family": "compound", "tier": 3, "seed": 1177330268, "symmetry": "mirror_x", "op_count": 4, "ir_hash": "45d58efc16a3e70e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 55900.0, "surface_area": 9730.0, "principal_moments": [5520000.0, 41500000.0, 41500000.0], "n_faces": 13, "n_edges": 26, "n_vertices": 17}, "dimensions": {"lines": ["\u00d830 mm circular section, extruded 64 mm thick.", "\u00d819.6 mm circular section attachment, 30.8 mm long, from top face.", "6-sided polygon section, 14.2 mm across corners attachment, 12 mm long, from top face.", "Chamfer 2.2 mm on bottom edges."], "text": "\u00d830 mm circular section, extruded 64 mm thick. \u00d819.6 mm circular section attachment, 30.8 mm long, from top face. 6-sided polygon section, 14.2 mm across corners attachment, 12 mm long, from top face. Chamfer 2.2 mm on bottom edges."}, "params": {"shaft_d": {"type": "float", "default": 30, "min": 15.0, "max": 54.0, "step": 1.0, "group": "Body", "label": "Shaft diameter (mm)"}, "shaft_len": {"type": "float", "default": 64.0, "min": 25.6, "max": 128.0, "step": 1.0, "group": "Body", "label": "Shaft length (mm)"}, "step_d": {"type": "float", "default": 19.6, "min": 9.8, "max": 27.0, "step": 1.0, "group": "Step", "label": "Step diameter (mm)"}, "step_len": {"type": "float", "default": 30.8, "min": 9.2, "max": 77.0, "step": 1.0, "group": "Step", "label": "Step length (mm)"}, "head_sides": {"type": "int", "default": 6, "min": 3, "max": 8, "step": 1, "group": "Head", "label": "Drive head sides"}, "head_r": {"type": "float", "default": 7.1, "min": 4.3, "max": 9.4, "step": 1.0, "group": "Head", "label": "Drive head circumradius (mm)"}, "head_len": {"type": "float", "default": 12.0, "min": 3.6, "max": 24.0, "step": 1.0, "group": "Head", "label": "Drive head length (mm)"}, "chamfer_d": {"type": "float", "default": 2.2, "min": 0.5, "max": 3.0, "step": 0.5, "group": "Body", "label": "Chamfer distance (mm)"}, "chamfered": {"type": "bool", "default": true, "group": "Body", "label": "Chamfer edges"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330268 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"shaft_d\": {\"type\": 'float', \"default\": 30, \"min\": 15.0, \"max\": 54.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft diameter (mm)'},\n    \"shaft_len\": {\"type\": 'float', \"default\": 64.0, \"min\": 25.6, \"max\": 128.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft length (mm)'},\n    \"step_d\": {\"type\": 'float', \"default\": 19.6, \"min\": 9.8, \"max\": 27.0, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step diameter (mm)'},\n    \"step_len\": {\"type\": 'float', \"default\": 30.8, \"min\": 9.2, \"max\": 77.0, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step length (mm)'},\n    \"head_sides\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Head', \"label\": 'Drive head sides'},\n    \"head_r\": {\"type\": 'float', \"default\": 7.1, \"min\": 4.3, \"max\": 9.4, \"step\": 1.0, \"group\": 'Head', \"label\": 'Drive head circumradius (mm)'},\n    \"head_len\": {\"type\": 'float', \"default\": 12.0, \"min\": 3.6, \"max\": 24.0, \"step\": 1.0, \"group\": 'Head', \"label\": 'Drive head length (mm)'},\n    \"chamfer_d\": {\"type\": 'float', \"default\": 2.2, \"min\": 0.5, \"max\": 3.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Chamfer distance (mm)'},\n    \"chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Chamfer edges'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').circle(p[\"shaft_d\"] / 2).extrude(p[\"shaft_len\"]))\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"step_d\"] / 2).extrude(p[\"step_len\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"head_sides\"], p[\"head_r\"] * 2).extrude(p[\"head_len\"])\n    )\n    if p[\"chamfered\"]:\n        result = result.edges('<Z').chamfer(p[\"chamfer_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca25d_1705", "family": "compound", "tier": 1, "seed": 1177330269, "symmetry": "none", "op_count": 3, "ir_hash": "b785eb8f56baff87", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 28000.0, "surface_area": 6800.0, "principal_moments": [4130000.0, 4570000.0, 4910000.0], "n_faces": 14, "n_edges": 34, "n_vertices": 22}, "dimensions": {"lines": ["Rectangular body, 33.35 \u00d7 30.4 \u00d7 28.2 mm (W\u00d7D\u00d7H).", "\u00d88.4 mm circular section attachment, 5.2 mm long, from front face with a \u00d84.5 mm bore.", "\u00d88.4 mm circular section attachment, 5.2 mm long, from right face with a \u00d84.5 mm bore."], "text": "Rectangular body, 33.35 \u00d7 30.4 \u00d7 28.2 mm (W\u00d7D\u00d7H). \u00d88.4 mm circular section attachment, 5.2 mm long, from front face with a \u00d84.5 mm bore. \u00d88.4 mm circular section attachment, 5.2 mm long, from right face with a \u00d84.5 mm bore."}, "params": {"block_w": {"type": "float", "default": 33.35, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body width (mm)"}, "block_d": {"type": "float", "default": 30.4, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body depth (mm)"}, "block_h": {"type": "float", "default": 28.2, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body height (mm)"}, "port_d": {"type": "float", "default": 8.4, "min": 3.4, "max": 12.7, "step": 1.0, "group": "Ports", "label": "Ports diameter (mm)"}, "port_len": {"type": "float", "default": 5.2, "min": 2.1, "max": 25.2, "step": 1.0, "group": "Ports", "label": "Port boss length (mm)"}, "port_bore": {"type": "float", "default": 4.5, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Ports", "label": "Port bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330269 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 33.35, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 30.4, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 28.2, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body height (mm)'},\n    \"port_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 3.4, \"max\": 12.7, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Ports diameter (mm)'},\n    \"port_len\": {\"type\": 'float', \"default\": 5.2, \"min\": 2.1, \"max\": 25.2, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Port boss length (mm)'},\n    \"port_bore\": {\"type\": 'float', \"default\": 4.5, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Ports', \"label\": 'Port bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca25e_1706", "family": "bracket", "tier": 1, "seed": 1177330270, "symmetry": "none", "op_count": 1, "ir_hash": "5c0c7ad803b3edca", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 6410.0, "surface_area": 4940.0, "principal_moments": [918000.0, 1300000.0, 1710000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["L-bracket: base leg 35 mm, vertical leg 29.9 mm, 35 mm wide, 3 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."], "text": "L-bracket: base leg 35 mm, vertical leg 29.9 mm, 35 mm wide, 3 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 35, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 29.9, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 35, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 3.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330270 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 35, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 29.9, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 35, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462ca25f_1707", "family": "gear", "tier": 2, "seed": 1177330271, "symmetry": "none", "op_count": 1, "ir_hash": "eb22bce981342c03", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 8840.0, "surface_area": 4570.0, "principal_moments": [1070000.0, 1070000.0, 2090000.0], "n_faces": 207, "n_edges": 615, "n_vertices": 410}, "dimensions": {"lines": ["Spur gear, module 1.25 mm, 34 teeth (pitch \u00d842.5 mm), face width 6.2 mm, \u00d85.3 mm bore."], "text": "Spur gear, module 1.25 mm, 34 teeth (pitch \u00d842.5 mm), face width 6.2 mm, \u00d85.3 mm bore."}, "params": {"module": {"type": "float", "default": 1.25, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 34, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 6.2, "min": 2.5, "max": 15.5, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "profile_shift": {"type": "float", "default": 0.24, "min": -0.5, "max": 0.7, "step": 0.05, "group": "Gear", "label": "Profile shift"}, "root_fillet": {"type": "float", "default": 0.17, "min": 0.0, "max": 0.62, "step": 0.05, "group": "Gear", "label": "Root fillet (mm)"}, "bore_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 23.6, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330271 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 1.25, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 34, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 6.2, \"min\": 2.5, \"max\": 15.5, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"profile_shift\": {\"type\": 'float', \"default\": 0.24, \"min\": -0.5, \"max\": 0.7, \"step\": 0.05, \"group\": 'Gear', \"label\": 'Profile shift'},\n    \"root_fillet\": {\"type\": 'float', \"default\": 0.17, \"min\": 0.0, \"max\": 0.62, \"step\": 0.05, \"group\": 'Gear', \"label\": 'Root fillet (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 23.6, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"], profile_shift=p[\"profile_shift\"], root_fillet=p[\"root_fillet\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca260_1708", "family": "revolved", "tier": 0, "seed": 1177330272, "symmetry": "none", "op_count": 1, "ir_hash": "f72a5b261a22bee8", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 15500.0, "surface_area": 7330.0, "principal_moments": [932000.0, 5550000.0, 5550000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d820 mm \u00d7 74.2 mm tall."], "text": "Revolved body, \u00d820 mm \u00d7 74.2 mm tall."}, "params": {"outer_d": {"type": "float", "default": 20, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 74.2, "min": 22.3, "max": 222.6, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330272 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 20, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 74.2, \"min\": 22.3, \"max\": 222.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca261_1709", "family": "plate", "tier": 2, "seed": 1177330273, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "77867ddd630ace33", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 63700.0, "surface_area": 17500.0, "principal_moments": [32899999.999999996, 37600000.0, 69500000.0], "n_faces": 26, "n_edges": 72, "n_vertices": 48}, "dimensions": {"lines": ["Rectangular body, 85 \u00d7 79.4 \u00d7 10 mm (W\u00d7D\u00d7H).", "Four 15.8 \u00d7 6.4 mm slots at the corners, 59.5 \u00d7 55.58 mm spacing.", "Chamfer 2.5 mm on vertical edges."], "text": "Rectangular body, 85 \u00d7 79.4 \u00d7 10 mm (W\u00d7D\u00d7H). Four 15.8 \u00d7 6.4 mm slots at the corners, 59.5 \u00d7 55.58 mm spacing. Chamfer 2.5 mm on vertical edges."}, "params": {"plate_w": {"type": "float", "default": 85, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 79.4, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 13.0, "step": 0.5, "group": "Holes", "label": "Slot width (mm)"}, "hole_slot_len": {"type": "float", "default": 15.8, "min": 9.6, "max": 23.8, "step": 0.5, "group": "Holes", "label": "Slot length (mm)"}, "chamfer_d": {"type": "float", "default": 2.5, "min": 1.8, "max": 3.0, "step": 0.5, "group": "Body", "label": "Chamfer distance (mm)"}, "chamfered": {"type": "bool", "default": true, "group": "Body", "label": "Chamfer edges"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330273 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 85, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 79.4, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 13.0, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Slot width (mm)'},\n    \"hole_slot_len\": {\"type\": 'float', \"default\": 15.8, \"min\": 9.6, \"max\": 23.8, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Slot length (mm)'},\n    \"chamfer_d\": {\"type\": 'float', \"default\": 2.5, \"min\": 1.8, \"max\": 3.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Chamfer distance (mm)'},\n    \"chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Chamfer edges'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().slot2D(p[\"hole_slot_len\"], p[\"hole_d\"]).cutThruAll()\n    )\n    if p[\"chamfered\"]:\n        result = result.edges('|Z').chamfer(p[\"chamfer_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca262_1710", "family": "bracket", "tier": 2, "seed": 1177330274, "symmetry": "none", "op_count": 1, "ir_hash": "80af69cf3fd2fc4f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 15300.0, "surface_area": 5330.0, "principal_moments": [1930000.0, 2580000.0, 3640000.0], "n_faces": 9, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["L-bracket: base leg 30 mm, vertical leg 25 mm, 40.92 mm wide, 8 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg; 7.1 mm corner gusset."], "text": "L-bracket: base leg 30 mm, vertical leg 25 mm, 40.92 mm wide, 8 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg; 7.1 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 30, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 25.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 40.92, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 8.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 7.1, "min": 4.0, "max": 20.5, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330274 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 30, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 25.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 40.92, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 7.1, \"min\": 4.0, \"max\": 20.5, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca263_1711", "family": "bracket", "tier": 2, "seed": 1177330275, "symmetry": "none", "op_count": 1, "ir_hash": "0444c13ae5bebc34", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 63300.0, "surface_area": 24600.0, "principal_moments": [60699999.99999999, 90300000.0, 135000000.0], "n_faces": 19, "n_edges": 51, "n_vertices": 34}, "dimensions": {"lines": ["C-channel bracket: base leg 87.36 mm, vertical leg 90 mm, 40 mm wide, 6 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg; 7.3 mm corner gusset."], "text": "C-channel bracket: base leg 87.36 mm, vertical leg 90 mm, 40 mm wide, 6 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg; 7.3 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 87.36, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 90.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 40, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 6.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 7.3, "min": 3.0, "max": 18.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330275 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 87.36, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 90.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 40, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 7.3, \"min\": 3.0, \"max\": 18.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl / 2, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bl - _bt, _bt).lineTo(_bl - _bt - _g, _bt)\n                    .lineTo(_bl - _bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462ca264_1712", "family": "tapped", "tier": 0, "seed": 1177330276, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "868013128bb5efad", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 2950.0, "surface_area": 1630.0, "principal_moments": [86900.0, 131000.0, 131000.0], "n_faces": 223, "n_edges": 609, "n_vertices": 388}, "dimensions": {"lines": ["One M4x0.7 tapped hole in a plate."], "text": "One M4x0.7 tapped hole in a plate."}, "params": {"major_d": {"type": "float", "default": 4.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 0.7, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 18.9, "min": 4.8, "max": 34.0, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "plate_w": {"type": "float", "default": 12.9, "min": 7.7, "max": 20.6, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 12.9, "min": 7.7, "max": 20.6, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330276 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 4.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 0.7, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 18.9, \"min\": 4.8, \"max\": 34.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"plate_w\": {\"type\": 'float', \"default\": 12.9, \"min\": 7.7, \"max\": 20.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 12.9, \"min\": 7.7, \"max\": 20.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n}\n\n\ndef build(p):\n\n    _W, _D, _H = p[\"plate_w\"], p[\"plate_d\"], p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Box(_W, _D, _H)\n    _locs = [(0.0, 0.0)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462ca265_1713", "family": "ribbed", "tier": 2, "seed": 1177330277, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "bcf2e58d347a9fa0", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 31300.0, "surface_area": 18600.0, "principal_moments": [13799999.999999998, 34400000.0, 46799999.99999999], "n_faces": 22, "n_edges": 52, "n_vertices": 32}, "dimensions": {"lines": ["Rectangular body, 97.72 \u00d7 65.7 \u00d7 3 mm (W\u00d7D\u00d7H).", "Two ribs, 5.7 mm thick, 13.5 mm tall."], "text": "Rectangular body, 97.72 \u00d7 65.7 \u00d7 3 mm (W\u00d7D\u00d7H). Two ribs, 5.7 mm thick, 13.5 mm tall."}, "params": {"base_w": {"type": "float", "default": 97.72, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 65.7, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 3.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 2, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 13.5, "min": 5.4, "max": 27.0, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 5.7, "min": 1.0, "max": 14.2, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330277 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 97.72, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 65.7, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 2, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 13.5, \"min\": 5.4, \"max\": 27.0, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 5.7, \"min\": 1.0, \"max\": 14.2, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462ca266_1714", "family": "flanged", "tier": 1, "seed": 1177330278, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "12b1672751bafc36", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 631000.0, "surface_area": 78000.0, "principal_moments": [1160000000.0, 1160000000.0, 1360000000.0], "n_faces": 12, "n_edges": 27, "n_vertices": 18}, "dimensions": {"lines": ["Revolved body, \u00d880 mm \u00d7 89.1 mm tall with \u00d826 mm bore, \u00d8168 mm \u00d7 13.6 mm flange.", "Six \u00d86.4 mm holes on a \u00d8100.8 mm bolt circle."], "text": "Revolved body, \u00d880 mm \u00d7 89.1 mm tall with \u00d826 mm bore, \u00d8168 mm \u00d7 13.6 mm flange. Six \u00d86.4 mm holes on a \u00d8100.8 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 80, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 89.1, "min": 26.7, "max": 222.8, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 26.0, "min": 2.0, "max": 56.0, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 168.0, "min": 104.0, "max": 240.0, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 13.6, "min": 4.1, "max": 35.6, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 50.4, "min": 33.6, "max": 75.6, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 6, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330278 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 80, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 89.1, \"min\": 26.7, \"max\": 222.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 26.0, \"min\": 2.0, \"max\": 56.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 168.0, \"min\": 104.0, \"max\": 240.0, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 13.6, \"min\": 4.1, \"max\": 35.6, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 50.4, \"min\": 33.6, \"max\": 75.6, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca267_1715", "family": "bracket", "tier": 2, "seed": 1177330279, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "5d9b181543b6f577", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 6260.0, "surface_area": 4870.0, "principal_moments": [639000.0, 2120000.0, 2170000.0], "n_faces": 14, "n_edges": 37, "n_vertices": 24}, "dimensions": {"lines": ["L-bracket: base leg 49.99 mm, vertical leg 34.3 mm, 24.43 mm wide, 3 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 2.8 mm corner gusset."], "text": "L-bracket: base leg 49.99 mm, vertical leg 34.3 mm, 24.43 mm wide, 3 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 2.8 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 49.99, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 34.3, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 24.43, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 3.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 9.8, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 2.8, "min": 1.5, "max": 9.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330279 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 49.99, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 34.3, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 24.43, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 9.8, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 2.8, \"min\": 1.5, \"max\": 9.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca268_1716", "family": "compound", "tier": 2, "seed": 1177330280, "symmetry": "none", "op_count": 2, "ir_hash": "20b8b8e90d5fb4c0", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 39900.0, "surface_area": 7000.0, "principal_moments": [5500000.0, 10200000.0, 10200000.0], "n_faces": 5, "n_edges": 6, "n_vertices": 4}, "dimensions": {"lines": ["\u00d835 mm circular section, extruded 35.5 mm thick.", "\u00d819.5 mm circular section attachment, 19.1 mm long, from top face."], "text": "\u00d835 mm circular section, extruded 35.5 mm thick. \u00d819.5 mm circular section attachment, 19.1 mm long, from top face."}, "params": {"shaft_d": {"type": "float", "default": 35, "min": 17.5, "max": 63.0, "step": 1.0, "group": "Body", "label": "Shaft diameter (mm)"}, "shaft_len": {"type": "float", "default": 35.5, "min": 14.2, "max": 71.0, "step": 1.0, "group": "Body", "label": "Shaft length (mm)"}, "step_d": {"type": "float", "default": 19.5, "min": 9.8, "max": 31.5, "step": 1.0, "group": "Step", "label": "Step diameter (mm)"}, "step_len": {"type": "float", "default": 19.1, "min": 5.7, "max": 47.8, "step": 1.0, "group": "Step", "label": "Step length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330280 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"shaft_d\": {\"type\": 'float', \"default\": 35, \"min\": 17.5, \"max\": 63.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft diameter (mm)'},\n    \"shaft_len\": {\"type\": 'float', \"default\": 35.5, \"min\": 14.2, \"max\": 71.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft length (mm)'},\n    \"step_d\": {\"type\": 'float', \"default\": 19.5, \"min\": 9.8, \"max\": 31.5, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step diameter (mm)'},\n    \"step_len\": {\"type\": 'float', \"default\": 19.1, \"min\": 5.7, \"max\": 47.8, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').circle(p[\"shaft_d\"] / 2).extrude(p[\"shaft_len\"]))\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"step_d\"] / 2).extrude(p[\"step_len\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462ca269_1717", "family": "flanged", "tier": 1, "seed": 1177330281, "symmetry": "none", "op_count": 2, "ir_hash": "3d91e3859db98887", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 626000.0, "surface_area": 76700.0, "principal_moments": [1080000000.0, 1080000000.0, 1660000000.0], "n_faces": 13, "n_edges": 42, "n_vertices": 28}, "dimensions": {"lines": ["Revolved body, \u00d894.88 mm \u00d7 67.6 mm tall with \u00d841.6 mm bore, \u00d8170.3 mm \u00d7 15.5 mm flange.", "Four \u00d88.4 mm holes on a \u00d8102.2 mm bolt circle."], "text": "Revolved body, \u00d894.88 mm \u00d7 67.6 mm tall with \u00d841.6 mm bore, \u00d8170.3 mm \u00d7 15.5 mm flange. Four \u00d88.4 mm holes on a \u00d8102.2 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 94.88, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 67.6, "min": 20.3, "max": 169.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 41.6, "min": 2.0, "max": 66.4, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 170.3, "min": 123.3, "max": 284.6, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 15.5, "min": 4.6, "max": 27.0, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 8.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 51.1, "min": 34.1, "max": 76.6, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 4, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330281 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 94.88, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 67.6, \"min\": 20.3, \"max\": 169.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 41.6, \"min\": 2.0, \"max\": 66.4, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 170.3, \"min\": 123.3, \"max\": 284.6, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 15.5, \"min\": 4.6, \"max\": 27.0, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 51.1, \"min\": 34.1, \"max\": 76.6, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 4, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca26a_1718", "family": "block", "tier": 1, "seed": 1177330282, "symmetry": "none", "op_count": 2, "ir_hash": "da3a8f607e758fe2", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 204000.0, "surface_area": 32500.0, "principal_moments": [98899999.99999999, 185000000.0, 254000000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 71.15 \u00d7 30.5 \u00d7 100 mm (W\u00d7D\u00d7H).", "Four \u00d86.4 mm holes at the corners, 49.805 \u00d7 21.35 mm spacing."], "text": "Rectangular body, 71.15 \u00d7 30.5 \u00d7 100 mm (W\u00d7D\u00d7H). Four \u00d86.4 mm holes at the corners, 49.805 \u00d7 21.35 mm spacing."}, "params": {"block_w": {"type": "float", "default": 71.15, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 30.5, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 100.0, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 6.9, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330282 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 71.15, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 30.5, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 100.0, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 6.9, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca26d_1721", "family": "compound", "tier": 2, "seed": 1177330285, "symmetry": "mirror_x", "op_count": 4, "ir_hash": "196fabb5aa5fe752", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 32100.0, "surface_area": 14000.0, "principal_moments": [11100000.0, 23399999.999999996, 26399999.999999996], "n_faces": 32, "n_edges": 87, "n_vertices": 58}, "dimensions": {"lines": ["Rectangular body, 90 \u00d7 54.2 \u00d7 6 mm (W\u00d7D\u00d7H).", "8-sided polygon section, 10 mm across corners attachment, 58.3 mm long, from top face with a \u00d83.9 mm bore.", "Four \u00d83.2 mm holes at the corners, 63 \u00d7 37.94 mm spacing.", "Fillet radius 4.368 mm on vertical edges."], "text": "Rectangular body, 90 \u00d7 54.2 \u00d7 6 mm (W\u00d7D\u00d7H). 8-sided polygon section, 10 mm across corners attachment, 58.3 mm long, from top face with a \u00d83.9 mm bore. Four \u00d83.2 mm holes at the corners, 63 \u00d7 37.94 mm spacing. Fillet radius 4.368 mm on vertical edges."}, "params": {"base_w": {"type": "float", "default": 90, "min": 30.0, "max": 160.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 54.2, "min": 25.0, "max": 160.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_h": {"type": "float", "default": 6.0, "min": 3.0, "max": 30.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "col_sides": {"type": "int", "default": 8, "min": 3, "max": 8, "step": 1, "group": "Column", "label": "Column sides"}, "col_r": {"type": "float", "default": 5.0, "min": 2.5, "max": 13.6, "step": 1.0, "group": "Column", "label": "Column circumradius (mm)"}, "col_h": {"type": "float", "default": 58.3, "min": 17.5, "max": 174.9, "step": 1.0, "group": "Column", "label": "Column height (mm)"}, "col_bore": {"type": "float", "default": 3.9, "min": 2.0, "max": 6.7, "step": 0.5, "group": "Column", "label": "Column bore diameter (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 12.2, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330285 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 90, \"min\": 30.0, \"max\": 160.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 54.2, \"min\": 25.0, \"max\": 160.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_h\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 30.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"col_sides\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Column', \"label\": 'Column sides'},\n    \"col_r\": {\"type\": 'float', \"default\": 5.0, \"min\": 2.5, \"max\": 13.6, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column circumradius (mm)'},\n    \"col_h\": {\"type\": 'float', \"default\": 58.3, \"min\": 17.5, \"max\": 174.9, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column height (mm)'},\n    \"col_bore\": {\"type\": 'float', \"default\": 3.9, \"min\": 2.0, \"max\": 6.7, \"step\": 0.5, \"group\": 'Column', \"label\": 'Column bore diameter (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 12.2, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_h\"])\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"col_sides\"], p[\"col_r\"] * 2).extrude(p[\"col_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"col_bore\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"base_w\"] * 0.7, p[\"base_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"base_w\"], p[\"base_d\"]) * 0.08059298105099111)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462ca26e_1722", "family": "ribbed", "tier": 1, "seed": 1177330286, "symmetry": "none", "op_count": 2, "ir_hash": "d5fe4f271e6ee19b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 24900.0, "surface_area": 15300.0, "principal_moments": [6200000.0, 9970000.0, 15399999.999999998], "n_faces": 54, "n_edges": 132, "n_vertices": 80}, "dimensions": {"lines": ["Rectangular body, 70 \u00d7 47.8 \u00d7 3 mm (W\u00d7D\u00d7H).", "Six ribs, 4.3 mm thick, 10.3 mm tall."], "text": "Rectangular body, 70 \u00d7 47.8 \u00d7 3 mm (W\u00d7D\u00d7H). Six ribs, 4.3 mm thick, 10.3 mm tall."}, "params": {"base_w": {"type": "float", "default": 70, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 47.8, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 3.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 6, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 10.3, "min": 4.1, "max": 20.6, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 4.3, "min": 1.0, "max": 10.8, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330286 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 70, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 47.8, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 6, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 10.3, \"min\": 4.1, \"max\": 20.6, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 4.3, \"min\": 1.0, \"max\": 10.8, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca26f_1723", "family": "compound", "tier": 3, "seed": 1177330287, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "6a225d19695be181", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 131000.0, "surface_area": 22600.0, "principal_moments": [69300000.0, 69300000.0, 86000000.0], "n_faces": 12, "n_edges": 25, "n_vertices": 16}, "dimensions": {"lines": ["Lofted body through 3 sections: 79.2 \u00d7 79.2 mm rectangular section \u2192 \u00d862.2 mm circular section \u2192 \u00d845.1 mm circular section.", "\u00d833.5 mm circular section attachment, 19 mm long, from top face with a \u00d820.7 mm bore.", "Chamfer 0.5 mm on top edges."], "text": "Lofted body through 3 sections: 79.2 \u00d7 79.2 mm rectangular section \u2192 \u00d862.2 mm circular section \u2192 \u00d845.1 mm circular section. \u00d833.5 mm circular section attachment, 19 mm long, from top face with a \u00d820.7 mm bore. Chamfer 0.5 mm on top edges."}, "params": {"adapter_base": {"type": "float", "default": 79.2, "min": 47.5, "max": 118.8, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "adapter_top": {"type": "float", "default": 45.1, "min": 22.6, "max": 79.2, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "adapter_h": {"type": "float", "default": 40.3, "min": 16.1, "max": 80.6, "step": 1.0, "group": "Body", "label": "Transition height (mm)"}, "adapter_mid": {"type": "float", "default": 62.2, "min": 22.6, "max": 79.2, "step": 1.0, "group": "Body", "label": "Mid size (mm)"}, "neck_d": {"type": "float", "default": 33.5, "min": 13.4, "max": 45.1, "step": 1.0, "group": "Neck", "label": "Neck diameter (mm)"}, "neck_l": {"type": "float", "default": 19.0, "min": 7.6, "max": 47.5, "step": 1.0, "group": "Neck", "label": "Neck length (mm)"}, "neck_bore": {"type": "float", "default": 20.7, "min": 2.0, "max": 24.1, "step": 0.5, "group": "Neck", "label": "Neck bore diameter (mm)"}, "chamfer_d": {"type": "float", "default": 0.5, "min": 0.5, "max": 3.0, "step": 0.5, "group": "Body", "label": "Chamfer distance (mm)"}, "chamfered": {"type": "bool", "default": true, "group": "Body", "label": "Chamfer edges"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330287 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"adapter_base\": {\"type\": 'float', \"default\": 79.2, \"min\": 47.5, \"max\": 118.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"adapter_top\": {\"type\": 'float', \"default\": 45.1, \"min\": 22.6, \"max\": 79.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"adapter_h\": {\"type\": 'float', \"default\": 40.3, \"min\": 16.1, \"max\": 80.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Transition height (mm)'},\n    \"adapter_mid\": {\"type\": 'float', \"default\": 62.2, \"min\": 22.6, \"max\": 79.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Mid size (mm)'},\n    \"neck_d\": {\"type\": 'float', \"default\": 33.5, \"min\": 13.4, \"max\": 45.1, \"step\": 1.0, \"group\": 'Neck', \"label\": 'Neck diameter (mm)'},\n    \"neck_l\": {\"type\": 'float', \"default\": 19.0, \"min\": 7.6, \"max\": 47.5, \"step\": 1.0, \"group\": 'Neck', \"label\": 'Neck length (mm)'},\n    \"neck_bore\": {\"type\": 'float', \"default\": 20.7, \"min\": 2.0, \"max\": 24.1, \"step\": 0.5, \"group\": 'Neck', \"label\": 'Neck bore diameter (mm)'},\n    \"chamfer_d\": {\"type\": 'float', \"default\": 0.5, \"min\": 0.5, \"max\": 3.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Chamfer distance (mm)'},\n    \"chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Chamfer edges'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .rect(p[\"adapter_base\"], p[\"adapter_base\"])\n        .workplane(offset=p[\"adapter_h\"] * 0.5)\n        .circle(p[\"adapter_mid\"] / 2)\n        .workplane(offset=p[\"adapter_h\"] * 0.5)\n        .circle(p[\"adapter_top\"] / 2)\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"neck_d\"] / 2).extrude(p[\"neck_l\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"neck_bore\"])\n    )\n    if p[\"chamfered\"]:\n        result = result.edges('>Z').chamfer(p[\"chamfer_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca270_1724", "family": "compound", "tier": 2, "seed": 1177330288, "symmetry": "none", "op_count": 3, "ir_hash": "6b68c053ec97f051", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 77000.0, "surface_area": 13100.0, "principal_moments": [22700000.0, 23099999.999999996, 30499999.999999996], "n_faces": 15, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 50 \u00d7 30.9 \u00d7 49.2 mm (W\u00d7D\u00d7H).", "6-sided polygon section, 13.6 mm across corners attachment, 20.3 mm long, from front face.", "Four \u00d84.3 mm holes at the corners, 35 \u00d7 21.63 mm spacing."], "text": "Rectangular body, 50 \u00d7 30.9 \u00d7 49.2 mm (W\u00d7D\u00d7H). 6-sided polygon section, 13.6 mm across corners attachment, 20.3 mm long, from front face. Four \u00d84.3 mm holes at the corners, 35 \u00d7 21.63 mm spacing."}, "params": {"block_w": {"type": "float", "default": 50, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 30.9, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 49.2, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "spig_sides": {"type": "int", "default": 6, "min": 3, "max": 8, "step": 1, "group": "Spigot", "label": "Spigot sides"}, "spig_r": {"type": "float", "default": 6.8, "min": 3.4, "max": 17.2, "step": 1.0, "group": "Spigot", "label": "Spigot circumradius (mm)"}, "spig_len": {"type": "float", "default": 20.3, "min": 3.5, "max": 47.1, "step": 1.0, "group": "Spigot", "label": "Spigot length (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 7.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330288 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 50, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 30.9, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 49.2, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"spig_sides\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Spigot', \"label\": 'Spigot sides'},\n    \"spig_r\": {\"type\": 'float', \"default\": 6.8, \"min\": 3.4, \"max\": 17.2, \"step\": 1.0, \"group\": 'Spigot', \"label\": 'Spigot circumradius (mm)'},\n    \"spig_len\": {\"type\": 'float', \"default\": 20.3, \"min\": 3.5, \"max\": 47.1, \"step\": 1.0, \"group\": 'Spigot', \"label\": 'Spigot length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 7.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"spig_sides\"], p[\"spig_r\"] * 2).extrude(p[\"spig_len\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca271_1725", "family": "bracket", "tier": 2, "seed": 1177330289, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "f249a8aed4cbf133", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 15100.0, "surface_area": 5170.0, "principal_moments": [1530000.0, 2930000.0, 3700000.0], "n_faces": 8, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["L-bracket: base leg 25 mm, vertical leg 25 mm, 45 mm wide, 8 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg; 10.7 mm corner gusset."], "text": "L-bracket: base leg 25 mm, vertical leg 25 mm, 45 mm wide, 8 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg; 10.7 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 25.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 25.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 45, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 8.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 10.7, "min": 4.0, "max": 22.5, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330289 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 25.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 25.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 45, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 10.7, \"min\": 4.0, \"max\": 22.5, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462ca272_1726", "family": "tapped", "tier": 2, "seed": 1177330290, "symmetry": "none", "op_count": 1, "ir_hash": "5a8d81b12a19fca3", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 70300.0, "surface_area": 17400.0, "principal_moments": [26499999.999999996, 30599999.999999996, 53899999.99999999], "n_faces": 558, "n_edges": 2004, "n_vertices": 1448}, "dimensions": {"lines": ["Six M10x1.5 tapped holes in a plate."], "text": "Six M10x1.5 tapped holes in a plate."}, "params": {"major_d": {"type": "float", "default": 10.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 1.5, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 16.6, "min": 12.0, "max": 29.9, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "plate_w": {"type": "float", "default": 70, "min": 42.0, "max": 112.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 66.2, "min": 39.7, "max": 105.9, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330290 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 10.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.5, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 16.6, \"min\": 12.0, \"max\": 29.9, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"plate_w\": {\"type\": 'float', \"default\": 70, \"min\": 42.0, \"max\": 112.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 66.2, \"min\": 39.7, \"max\": 105.9, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n}\n\n\ndef build(p):\n\n    _W, _D, _H = p[\"plate_w\"], p[\"plate_d\"], p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Box(_W, _D, _H)\n    _nx, _ny = max(1, int(3)), max(1, int(2))\n    _sx, _sy = p[\"plate_w\"] * 0.33, p[\"plate_d\"] * 0.66\n    _locs = [(_sx * (_i - (_nx - 1) / 2), _sy * (_j - (_ny - 1) / 2))\n             for _i in range(_nx) for _j in range(_ny)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca273_1727", "family": "plate", "tier": 0, "seed": 1177330291, "symmetry": "none", "op_count": 1, "ir_hash": "e35007ef20649753", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 88700.0, "surface_area": 18900.0, "principal_moments": [48399999.99999999, 64199999.99999999, 110000000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 92.43 \u00d7 80 \u00d7 12 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 92.43 \u00d7 80 \u00d7 12 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 92.43, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 80.0, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330291 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 92.43, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 80.0, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca274_1728", "family": "plate", "tier": 2, "seed": 1177330292, "symmetry": "radial", "op_count": 3, "ir_hash": "70ab3105432080e2", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 2280.0, "surface_area": 1950.0, "principal_moments": [74200.0, 319000.0, 390000.0], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Rectangular body, 41.21 \u00d7 19.3 \u00d7 3 mm (W\u00d7D\u00d7H).", "Four \u00d84.3 mm holes on a \u00d824.8 mm bolt circle.", "Chamfer 1.7 mm on vertical edges."], "text": "Rectangular body, 41.21 \u00d7 19.3 \u00d7 3 mm (W\u00d7D\u00d7H). Four \u00d84.3 mm holes on a \u00d824.8 mm bolt circle. Chamfer 1.7 mm on vertical edges."}, "params": {"plate_w": {"type": "float", "default": 41.21, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 19.3, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 3.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "bolt_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 12.4, "min": 8.2, "max": 18.5, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 4, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}, "chamfer_d": {"type": "float", "default": 1.7, "min": 0.8, "max": 2.3, "step": 0.5, "group": "Body", "label": "Chamfer distance (mm)"}, "chamfered": {"type": "bool", "default": true, "group": "Body", "label": "Chamfer edges"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330292 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 41.21, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 19.3, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 3.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 12.4, \"min\": 8.2, \"max\": 18.5, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 4, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n    \"chamfer_d\": {\"type\": 'float', \"default\": 1.7, \"min\": 0.8, \"max\": 2.3, \"step\": 0.5, \"group\": 'Body', \"label\": 'Chamfer distance (mm)'},\n    \"chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Chamfer edges'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    if p[\"chamfered\"]:\n        result = result.edges('|Z').chamfer(p[\"chamfer_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca275_1729", "family": "bracket", "tier": 2, "seed": 1177330293, "symmetry": "none", "op_count": 1, "ir_hash": "898ad08182ab01f4", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 33600.0, "surface_area": 14800.0, "principal_moments": [10800000.0, 27699999.999999996, 28599999.999999996], "n_faces": 15, "n_edges": 41, "n_vertices": 26}, "dimensions": {"lines": ["L-bracket: base leg 70 mm, vertical leg 69.3 mm, 44.4 mm wide, 5 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 7.1 mm corner gusset."], "text": "L-bracket: base leg 70 mm, vertical leg 69.3 mm, 44.4 mm wide, 5 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 7.1 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 70, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 69.3, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 44.4, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 5.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 7.1, "min": 2.5, "max": 15.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330293 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 70, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 69.3, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 44.4, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 7.1, \"min\": 2.5, \"max\": 15.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462ca276_1730", "family": "flanged", "tier": 2, "seed": 1177330294, "symmetry": "none", "op_count": 2, "ir_hash": "faa6b8ecc3085795", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 48200.0, "surface_area": 16900.0, "principal_moments": [19000000.0, 19000000.0, 24699999.999999996], "n_faces": 12, "n_edges": 27, "n_vertices": 18}, "dimensions": {"lines": ["Revolved body, \u00d837.2 mm \u00d7 37.7 mm tall with \u00d819.8 mm bore, \u00d879.3 mm \u00d7 5 mm flange.", "Six \u00d84.3 mm holes on a \u00d847.6 mm bolt circle."], "text": "Revolved body, \u00d837.2 mm \u00d7 37.7 mm tall with \u00d819.8 mm bore, \u00d879.3 mm \u00d7 5 mm flange. Six \u00d84.3 mm holes on a \u00d847.6 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 37.2, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 37.7, "min": 11.3, "max": 94.2, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 19.8, "min": 2.0, "max": 26.0, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 79.3, "min": 48.4, "max": 111.6, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 5.0, "min": 1.5, "max": 15.1, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 23.8, "min": 15.9, "max": 35.7, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 6, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330294 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 37.2, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 37.7, \"min\": 11.3, \"max\": 94.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 19.8, \"min\": 2.0, \"max\": 26.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 79.3, \"min\": 48.4, \"max\": 111.6, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 5.0, \"min\": 1.5, \"max\": 15.1, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 23.8, \"min\": 15.9, \"max\": 35.7, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca277_1731", "family": "plate", "tier": 2, "seed": 1177330295, "symmetry": "none", "op_count": 2, "ir_hash": "95779eaa09697aa2", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 20200.0, "surface_area": 6450.0, "principal_moments": [1500000.0, 6960000.0, 7970000.0], "n_faces": 22, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 63.92 \u00d7 27.7 \u00d7 12 mm (W\u00d7D\u00d7H).", "Four 7.4 \u00d7 3.2 mm slots at the corners, 44.744 \u00d7 19.39 mm spacing."], "text": "Rectangular body, 63.92 \u00d7 27.7 \u00d7 12 mm (W\u00d7D\u00d7H). Four 7.4 \u00d7 3.2 mm slots at the corners, 44.744 \u00d7 19.39 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 63.92, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 27.7, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 6.2, "step": 0.5, "group": "Holes", "label": "Slot width (mm)"}, "hole_slot_len": {"type": "float", "default": 7.4, "min": 4.8, "max": 8.3, "step": 0.5, "group": "Holes", "label": "Slot length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330295 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 63.92, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 27.7, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 6.2, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Slot width (mm)'},\n    \"hole_slot_len\": {\"type\": 'float', \"default\": 7.4, \"min\": 4.8, \"max\": 8.3, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Slot length (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().slot2D(p[\"hole_slot_len\"], p[\"hole_d\"]).cutThruAll()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca278_1732", "family": "bracket", "tier": 3, "seed": 1177330296, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "8bdf7376acba70fe", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 8490.0, "surface_area": 3990.0, "principal_moments": [749000.0, 1400000.0, 1610000.0], "n_faces": 14, "n_edges": 37, "n_vertices": 24}, "dimensions": {"lines": ["L-bracket: base leg 34.53 mm, vertical leg 26.5 mm, 25.96 mm wide, 6 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg; 5 mm corner gusset."], "text": "L-bracket: base leg 34.53 mm, vertical leg 26.5 mm, 25.96 mm wide, 6 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg; 5 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 34.53, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 26.5, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 25.96, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 6.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 5.0, "min": 3.0, "max": 13.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330296 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 34.53, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 26.5, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 25.96, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 13.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca279_1733", "family": "plate", "tier": 3, "seed": 1177330297, "symmetry": "none", "op_count": 4, "ir_hash": "2280a46fee0d8d4c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 5700.0, "surface_area": 3680.0, "principal_moments": [459000.0, 653000.0, 1050000.0], "n_faces": 19, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 35 \u00d7 29.2 \u00d7 8 mm (W\u00d7D\u00d7H).", "Four \u00d86.4 mm holes at the corners, 24.5 \u00d7 20.44 mm spacing.", "Chamfer 0.8 mm on vertical edges.", "Pocket 20.7 \u00d7 18 mm, 3.9 mm deep, in top face."], "text": "Rectangular body, 35 \u00d7 29.2 \u00d7 8 mm (W\u00d7D\u00d7H). Four \u00d86.4 mm holes at the corners, 24.5 \u00d7 20.44 mm spacing. Chamfer 0.8 mm on vertical edges. Pocket 20.7 \u00d7 18 mm, 3.9 mm deep, in top face."}, "params": {"plate_w": {"type": "float", "default": 35, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 29.2, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 6.6, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "chamfer_d": {"type": "float", "default": 0.8, "min": 0.6, "max": 0.9, "step": 0.5, "group": "Body", "label": "Chamfer distance (mm)"}, "chamfered": {"type": "bool", "default": true, "group": "Body", "label": "Chamfer edges"}, "pocket_w": {"type": "float", "default": 20.7, "min": 10.3, "max": 28.0, "step": 1.0, "group": "Pocket", "label": "Pocket width (mm)"}, "pocket_d": {"type": "float", "default": 18.0, "min": 9.0, "max": 23.4, "step": 1.0, "group": "Pocket", "label": "Pocket depth (mm)"}, "pocket_h": {"type": "float", "default": 3.9, "min": 1.6, "max": 6.8, "step": 0.5, "group": "Pocket", "label": "Pocket height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330297 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 35, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 29.2, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 6.6, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"chamfer_d\": {\"type\": 'float', \"default\": 0.8, \"min\": 0.6, \"max\": 0.9, \"step\": 0.5, \"group\": 'Body', \"label\": 'Chamfer distance (mm)'},\n    \"chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Chamfer edges'},\n    \"pocket_w\": {\"type\": 'float', \"default\": 20.7, \"min\": 10.3, \"max\": 28.0, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket width (mm)'},\n    \"pocket_d\": {\"type\": 'float', \"default\": 18.0, \"min\": 9.0, \"max\": 23.4, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket depth (mm)'},\n    \"pocket_h\": {\"type\": 'float', \"default\": 3.9, \"min\": 1.6, \"max\": 6.8, \"step\": 0.5, \"group\": 'Pocket', \"label\": 'Pocket height (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"chamfered\"]:\n        result = result.edges('|Z').chamfer(p[\"chamfer_d\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"pocket_w\"], p[\"pocket_d\"])\n        .cutBlind(-p[\"pocket_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca27a_1734", "family": "block", "tier": 2, "seed": 1177330298, "symmetry": "radial", "op_count": 3, "ir_hash": "d9ae030d41830a3e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 12400.0, "surface_area": 8800.0, "principal_moments": [1290000.0, 2250000.0, 2710000.0], "n_faces": 35, "n_edges": 132, "n_vertices": 88}, "dimensions": {"lines": ["Rectangular body, 25 \u00d7 18.7 \u00d7 42 mm (W\u00d7D\u00d7H).", "Twelve \u00d83.2 mm holes on a \u00d815 mm bolt circle.", "Pocket 12.1 \u00d7 12.9 mm, 25 mm deep, in top face."], "text": "Rectangular body, 25 \u00d7 18.7 \u00d7 42 mm (W\u00d7D\u00d7H). Twelve \u00d83.2 mm holes on a \u00d815 mm bolt circle. Pocket 12.1 \u00d7 12.9 mm, 25 mm deep, in top face."}, "params": {"block_w": {"type": "float", "default": 25, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 18.7, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 42.0, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "bolt_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 7.5, "min": 5.0, "max": 11.2, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 12, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}, "pocket_w": {"type": "float", "default": 12.1, "min": 6.0, "max": 20.0, "step": 1.0, "group": "Pocket", "label": "Pocket width (mm)"}, "pocket_d": {"type": "float", "default": 12.9, "min": 6.5, "max": 15.0, "step": 1.0, "group": "Pocket", "label": "Pocket depth (mm)"}, "pocket_h": {"type": "float", "default": 25.0, "min": 10.0, "max": 35.7, "step": 0.5, "group": "Pocket", "label": "Pocket height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330298 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 25, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 18.7, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 42.0, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 7.5, \"min\": 5.0, \"max\": 11.2, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 12, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n    \"pocket_w\": {\"type\": 'float', \"default\": 12.1, \"min\": 6.0, \"max\": 20.0, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket width (mm)'},\n    \"pocket_d\": {\"type\": 'float', \"default\": 12.9, \"min\": 6.5, \"max\": 15.0, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket depth (mm)'},\n    \"pocket_h\": {\"type\": 'float', \"default\": 25.0, \"min\": 10.0, \"max\": 35.7, \"step\": 0.5, \"group\": 'Pocket', \"label\": 'Pocket height (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"pocket_w\"], p[\"pocket_d\"])\n        .cutBlind(-p[\"pocket_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca27b_1735", "family": "plate", "tier": 1, "seed": 1177330299, "symmetry": "radial", "op_count": 2, "ir_hash": "1bb70763bbb7200d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 23700.0, "surface_area": 8120.0, "principal_moments": [2340000.0, 16099999.999999998, 18200000.0], "n_faces": 8, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["Rectangular body, 90 \u00d7 33.3 \u00d7 8 mm (W\u00d7D\u00d7H).", "Eight \u00d84.3 mm holes on a \u00d854 mm bolt circle."], "text": "Rectangular body, 90 \u00d7 33.3 \u00d7 8 mm (W\u00d7D\u00d7H). Eight \u00d84.3 mm holes on a \u00d854 mm bolt circle."}, "params": {"plate_w": {"type": "float", "default": 90, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 33.3, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "bolt_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 27.0, "min": 18.0, "max": 40.5, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 8, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330299 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 90, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 33.3, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 27.0, \"min\": 18.0, \"max\": 40.5, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca27c_1736", "family": "revolved", "tier": 1, "seed": 1177330300, "symmetry": "radial", "op_count": 2, "ir_hash": "0c6384fa978819a9", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 304000.0, "surface_area": 44100.0, "principal_moments": [130000000.0, 780000000.0, 780000000.0], "n_faces": 8, "n_edges": 14, "n_vertices": 8}, "dimensions": {"lines": ["Revolved body, \u00d853.48 mm \u00d7 167.9 mm tall with \u00d823.5 mm bore.", "Chamfer 0.4 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d853.48 mm \u00d7 167.9 mm tall with \u00d823.5 mm bore. Chamfer 0.4 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 53.48, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 167.9, "min": 50.4, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 23.5, "min": 2.0, "max": 37.4, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "end_chamfer": {"type": "float", "default": 0.4, "min": 0.1, "max": 1.2, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330300 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 53.48, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 167.9, \"min\": 50.4, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 23.5, \"min\": 2.0, \"max\": 37.4, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.4, \"min\": 0.1, \"max\": 1.2, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462ca27d_1737", "family": "profiled", "tier": 2, "seed": 1177330301, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "eb457f683112ea16", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 99900.0, "surface_area": 20500.0, "principal_moments": [10600000.0, 277000000.0, 277000000.0], "n_faces": 5, "n_edges": 9, "n_vertices": 6}, "dimensions": {"lines": ["3-sided polygon section, 41.26 mm across corners, extruded 180.7 mm thick."], "text": "3-sided polygon section, 41.26 mm across corners, extruded 180.7 mm thick."}, "params": {"circ_r": {"type": "float", "default": 20.63, "min": 10.3, "max": 41.3, "step": 1.0, "group": "Profile", "label": "Circumscribed radius (mm)"}, "n_sides": {"type": "int", "default": 3, "min": 3, "max": 8, "step": 1, "group": "Profile", "label": "Sides"}, "length": {"type": "float", "default": 180.7, "min": 54.2, "max": 542.1, "step": 5.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330301 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"circ_r\": {\"type\": 'float', \"default\": 20.63, \"min\": 10.3, \"max\": 41.3, \"step\": 1.0, \"group\": 'Profile', \"label\": 'Circumscribed radius (mm)'},\n    \"n_sides\": {\"type\": 'int', \"default\": 3, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Profile', \"label\": 'Sides'},\n    \"length\": {\"type\": 'float', \"default\": 180.7, \"min\": 54.2, \"max\": 542.1, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').polygon(p[\"n_sides\"], p[\"circ_r\"] * 2).extrude(p[\"length\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462ca27e_1738", "family": "gear", "tier": 1, "seed": 1177330302, "symmetry": "none", "op_count": 1, "ir_hash": "85dded07ee343a8f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 11500.0, "surface_area": 5890.0, "principal_moments": [1920000.0, 1920000.0, 3770000.0], "n_faces": 163, "n_edges": 483, "n_vertices": 322}, "dimensions": {"lines": ["Spur gear, module 1.25 mm, 40 teeth (pitch \u00d850 mm), face width 6.2 mm, \u00d810.5 mm bore."], "text": "Spur gear, module 1.25 mm, 40 teeth (pitch \u00d850 mm), face width 6.2 mm, \u00d810.5 mm bore."}, "params": {"module": {"type": "float", "default": 1.25, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 40, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 6.2, "min": 2.5, "max": 15.5, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "bore_d": {"type": "float", "default": 10.5, "min": 2.0, "max": 28.1, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330302 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 1.25, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 40, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 6.2, \"min\": 2.5, \"max\": 15.5, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 10.5, \"min\": 2.0, \"max\": 28.1, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462ca27f_1739", "family": "ribbed", "tier": 1, "seed": 1177330303, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "18843fa6c04c9339", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 45600.0, "surface_area": 25400.0, "principal_moments": [24799999.999999996, 36600000.0, 60099999.99999999], "n_faces": 31, "n_edges": 72, "n_vertices": 48}, "dimensions": {"lines": ["Rectangular body, 98.14 \u00d7 80.8 \u00d7 3 mm (W\u00d7D\u00d7H).", "Five ribs, 5.5 mm thick, 10.1 mm tall."], "text": "Rectangular body, 98.14 \u00d7 80.8 \u00d7 3 mm (W\u00d7D\u00d7H). Five ribs, 5.5 mm thick, 10.1 mm tall."}, "params": {"base_w": {"type": "float", "default": 98.14, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 80.8, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 3.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 5, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 10.1, "min": 4.0, "max": 20.2, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 5.5, "min": 1.0, "max": 13.8, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330303 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 98.14, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 80.8, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 5, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 10.1, \"min\": 4.0, \"max\": 20.2, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 5.5, \"min\": 1.0, \"max\": 13.8, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca280_1740", "family": "block", "tier": 1, "seed": 1177330304, "symmetry": "none", "op_count": 2, "ir_hash": "f816246e96b664e9", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 593000.0, "surface_area": 55900.0, "principal_moments": [621000000.0, 719000000.0, 889000000.0], "n_faces": 22, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 90.37 \u00d7 68.2 \u00d7 100 mm (W\u00d7D\u00d7H).", "Four 7.7 mm square holes at the corners, 63.259 \u00d7 47.74 mm spacing."], "text": "Rectangular body, 90.37 \u00d7 68.2 \u00d7 100 mm (W\u00d7D\u00d7H). Four 7.7 mm square holes at the corners, 63.259 \u00d7 47.74 mm spacing."}, "params": {"block_w": {"type": "float", "default": 90.37, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 68.2, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 100.0, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 7.7, "min": 2.0, "max": 16.9, "step": 0.5, "group": "Holes", "label": "Square hole size (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330304 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 90.37, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 68.2, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 100.0, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 7.7, \"min\": 2.0, \"max\": 16.9, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Square hole size (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().rect(p[\"hole_d\"], p[\"hole_d\"]).cutThruAll()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca281_1741", "family": "plate", "tier": 1, "seed": 1177330305, "symmetry": "none", "op_count": 2, "ir_hash": "f9d41b25763b665b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 2200.0, "surface_area": 1430.0, "principal_moments": [35800.0, 167000.0, 190000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 30 \u00d7 12.8 \u00d7 6 mm (W\u00d7D\u00d7H).", "Four \u00d82.4 mm holes at the corners, 21 \u00d7 8.96 mm spacing."], "text": "Rectangular body, 30 \u00d7 12.8 \u00d7 6 mm (W\u00d7D\u00d7H). Four \u00d82.4 mm holes at the corners, 21 \u00d7 8.96 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 30, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 12.8, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 6.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 2.4, "min": 2.0, "max": 2.9, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330305 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 30, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 12.8, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 2.4, \"min\": 2.0, \"max\": 2.9, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462ca282_1742", "family": "gear", "tier": 1, "seed": 1177330306, "symmetry": "none", "op_count": 1, "ir_hash": "bc8b76e3a19d573f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 3040.0, "surface_area": 2630.0, "principal_moments": [244000.0, 244000.0, 483000.0], "n_faces": 213, "n_edges": 633, "n_vertices": 422}, "dimensions": {"lines": ["Spur gear, module 1 mm, 35 teeth (pitch \u00d835 mm), face width 3.3 mm, \u00d86.5 mm bore."], "text": "Spur gear, module 1 mm, 35 teeth (pitch \u00d835 mm), face width 3.3 mm, \u00d86.5 mm bore."}, "params": {"module": {"type": "float", "default": 1.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 35, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 3.3, "min": 1.3, "max": 8.2, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "bore_d": {"type": "float", "default": 6.5, "min": 2.0, "max": 19.5, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330306 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 1.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 35, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 3.3, \"min\": 1.3, \"max\": 8.2, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 6.5, \"min\": 2.0, \"max\": 19.5, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca284_1744", "family": "bracket", "tier": 1, "seed": 1177330308, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "6aa84b0da4f36aa9", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 18400.0, "surface_area": 13400.0, "principal_moments": [6240000.0, 15299999.999999998, 16699999.999999998], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["L-bracket: base leg 75 mm, vertical leg 51.3 mm, 50 mm wide, 3 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."], "text": "L-bracket: base leg 75 mm, vertical leg 51.3 mm, 50 mm wide, 3 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 75, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 51.3, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 50, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 3.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330308 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 75, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 51.3, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 50, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca285_1745", "family": "revolved", "tier": 2, "seed": 1177330309, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "eb5ed639dca367d8", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 7660.0, "surface_area": 4250.0, "principal_moments": [431000.0, 1080000.0, 1080000.0], "n_faces": 5, "n_edges": 7, "n_vertices": 5}, "dimensions": {"lines": ["Revolved body, \u00d816.44 mm \u00d7 42.4 mm tall with \u00d825.2 mm \u00d7 5.8 mm flange."], "text": "Revolved body, \u00d816.44 mm \u00d7 42.4 mm tall with \u00d825.2 mm \u00d7 5.8 mm flange."}, "params": {"outer_d": {"type": "float", "default": 16.44, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 42.4, "min": 12.7, "max": 127.2, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "flange_d": {"type": "float", "default": 25.2, "min": 19.7, "max": 49.3, "step": 1.0, "group": "Body", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 5.8, "min": 1.7, "max": 21.2, "step": 0.5, "group": "Body", "label": "Flange height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330309 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 16.44, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 42.4, \"min\": 12.7, \"max\": 127.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 25.2, \"min\": 19.7, \"max\": 49.3, \"step\": 1.0, \"group\": 'Body', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 5.8, \"min\": 1.7, \"max\": 21.2, \"step\": 0.5, \"group\": 'Body', \"label\": 'Flange height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca286_1746", "family": "plate", "tier": 0, "seed": 1177330310, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "85e533e52e3cf911", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 49700.0, "surface_area": 15100.0, "principal_moments": [12299999.999999998, 54999999.99999999, 66799999.99999999], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 115 \u00d7 54 \u00d7 8 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 115 \u00d7 54 \u00d7 8 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 115, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 54.0, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330310 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 115, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 54.0, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca287_1747", "family": "plate", "tier": 0, "seed": 1177330311, "symmetry": "radial", "op_count": 1, "ir_hash": "aa1f60df3d82a466", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 7200.0, "surface_area": 2600.0, "principal_moments": [254000.0, 1020000.0, 1150000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 40 \u00d7 18 \u00d7 10 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 40 \u00d7 18 \u00d7 10 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 40, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 18.0, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330311 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 40, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 18.0, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462ca288_1748", "family": "flanged", "tier": 1, "seed": 1177330312, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "b0d20dac9df94b38", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 29600.0, "surface_area": 10900.0, "principal_moments": [7470000.0, 7470000.0, 9530000.0], "n_faces": 12, "n_edges": 27, "n_vertices": 18}, "dimensions": {"lines": ["Revolved body, \u00d830 mm \u00d7 31.3 mm tall with \u00d813 mm bore, \u00d862.6 mm \u00d7 5.1 mm flange.", "Six \u00d84.3 mm holes on a \u00d837.6 mm bolt circle."], "text": "Revolved body, \u00d830 mm \u00d7 31.3 mm tall with \u00d813 mm bore, \u00d862.6 mm \u00d7 5.1 mm flange. Six \u00d84.3 mm holes on a \u00d837.6 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 30, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 31.3, "min": 9.4, "max": 78.2, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 13.0, "min": 2.0, "max": 21.0, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 62.6, "min": 39.0, "max": 90.0, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 5.1, "min": 1.5, "max": 12.5, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 18.8, "min": 12.5, "max": 28.2, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 6, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330312 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 30, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 31.3, \"min\": 9.4, \"max\": 78.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 13.0, \"min\": 2.0, \"max\": 21.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 62.6, \"min\": 39.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 5.1, \"min\": 1.5, \"max\": 12.5, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 18.8, \"min\": 12.5, \"max\": 28.2, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca289_1749", "family": "plate", "tier": 0, "seed": 1177330313, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "7b61c5a7ebc1d476", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 5370.0, "surface_area": 3320.0, "principal_moments": [273000.0, 1360000.0, 1620000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 55 \u00d7 24.4 \u00d7 4 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 55 \u00d7 24.4 \u00d7 4 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 55, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 24.4, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 4.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330313 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 55, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 24.4, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 4.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462ca28a_1750", "family": "threaded", "tier": 1, "seed": 1177330314, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "6104085f35a17de0", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 3060.0, "surface_area": 2290.0, "principal_moments": [32200.0, 580000.0, 580000.0], "n_faces": 320, "n_edges": 822, "n_vertices": 504}, "dimensions": {"lines": ["M10x1.5 external thread, 47.2 mm long."], "text": "M10x1.5 external thread, 47.2 mm long."}, "params": {"major_d": {"type": "float", "default": 10.0, "min": 4.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Major diameter (mm)"}, "pitch": {"type": "float", "default": 1.5, "min": 0.75, "max": 3.0, "step": 0.05, "group": "Thread", "label": "Pitch (mm)"}, "thread_len": {"type": "float", "default": 47.2, "min": 18.9, "max": 94.4, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330314 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 10.0, \"min\": 4.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Major diameter (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.5, \"min\": 0.75, \"max\": 3.0, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Pitch (mm)'},\n    \"thread_len\": {\"type\": 'float', \"default\": 47.2, \"min\": 18.9, \"max\": 94.4, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.IsoThread(major_diameter=p[\"major_d\"], pitch=p[\"pitch\"], length=p[\"thread_len\"], external=True, end_finishes=(\"fade\", \"fade\"))\n    _r = _thr.min_radius if hasattr(_thr, 'min_radius') else _thr.root_radius\n    _shank = _bd.Cylinder(radius=_r, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = _shank + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca28b_1751", "family": "plate", "tier": 1, "seed": 1177330315, "symmetry": "radial", "op_count": 2, "ir_hash": "b5d7174efe5dd212", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 22700.0, "surface_area": 11000.0, "principal_moments": [5750000.0, 13099999.999999998, 18700000.0], "n_faces": 20, "n_edges": 54, "n_vertices": 36}, "dimensions": {"lines": ["Rectangular body, 80 \u00d7 55.5 \u00d7 6 mm (W\u00d7D\u00d7H).", "Twelve \u00d88.4 mm holes on a \u00d848 mm bolt circle."], "text": "Rectangular body, 80 \u00d7 55.5 \u00d7 6 mm (W\u00d7D\u00d7H). Twelve \u00d88.4 mm holes on a \u00d848 mm bolt circle."}, "params": {"plate_w": {"type": "float", "default": 80, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 55.5, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 6.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "bolt_d": {"type": "float", "default": 8.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 24.0, "min": 16.0, "max": 36.0, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 12, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330315 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 80, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 55.5, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 24.0, \"min\": 16.0, \"max\": 36.0, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 12, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462ca28c_1752", "family": "sketched", "tier": 0, "seed": 1177330316, "symmetry": "none", "op_count": 1, "ir_hash": "fe77b74bf4416550", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 28100.0, "surface_area": 5890.0, "principal_moments": [2770000.0, 6910000.0, 8120000.0], "n_faces": 12, "n_edges": 28, "n_vertices": 18}, "dimensions": {"lines": ["freeform sketched section (6 segments: 2 straight, 2 arcs, 2 curves), ~61.611 \u00d7 33.79 mm, extruded 18.29 mm thick with a 7.7\u00b0 draft."], "text": "freeform sketched section (6 segments: 2 straight, 2 arcs, 2 curves), ~61.611 \u00d7 33.79 mm, extruded 18.29 mm thick with a 7.7\u00b0 draft."}, "params": {"sk_w": {"type": "float", "default": 72.56, "min": 36.3, "max": 130.6, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 51.62, "min": 25.8, "max": 92.9, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "sk_t": {"type": "float", "default": 18.29, "min": 7.3, "max": 40.2, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "sk_draft": {"type": "float", "default": 7.7, "min": 0.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Draft angle (deg)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330316 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 72.56, \"min\": 36.3, \"max\": 130.6, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 51.62, \"min\": 25.8, \"max\": 92.9, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"sk_t\": {\"type\": 'float', \"default\": 18.29, \"min\": 7.3, \"max\": 40.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"sk_draft\": {\"type\": 'float', \"default\": 7.7, \"min\": 0.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Draft angle (deg)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.3955, p[\"sk_h\"] * 0.1057).threePointArc((p[\"sk_w\"] * 0.3054, p[\"sk_h\"] * 0.2194), (p[\"sk_w\"] * 0.1515, p[\"sk_h\"] * 0.2994)).bezier([(p[\"sk_w\"] * 0.1515, p[\"sk_h\"] * 0.2994), (p[\"sk_w\"] * -0.0109, p[\"sk_h\"] * 0.337), (p[\"sk_w\"] * -0.1773, p[\"sk_h\"] * 0.3269)]).threePointArc((p[\"sk_w\"] * -0.3603, p[\"sk_h\"] * 0.2623), (p[\"sk_w\"] * -0.4536, p[\"sk_h\"] * 0.1341)).lineTo(p[\"sk_w\"] * -0.3692, p[\"sk_h\"] * -0.3188).lineTo(p[\"sk_w\"] * 0.2017, p[\"sk_h\"] * -0.3277).bezier([(p[\"sk_w\"] * 0.2017, p[\"sk_h\"] * -0.3277), (p[\"sk_w\"] * 0.3496, p[\"sk_h\"] * -0.1338), (p[\"sk_w\"] * 0.3955, p[\"sk_h\"] * 0.1057)]).close().extrude(p[\"sk_t\"], taper=p[\"sk_draft\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca28d_1753", "family": "revolved", "tier": 1, "seed": 1177330317, "symmetry": "none", "op_count": 2, "ir_hash": "6169a5d2655d854f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 99300.0, "surface_area": 17300.0, "principal_moments": [19100000.0, 92099999.99999999, 92099999.99999999], "n_faces": 8, "n_edges": 14, "n_vertices": 8}, "dimensions": {"lines": ["Revolved body, \u00d837.43 mm \u00d7 99.9 mm tall with \u00d811.6 mm bore.", "Chamfer 0.5 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d837.43 mm \u00d7 99.9 mm tall with \u00d811.6 mm bore. Chamfer 0.5 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 37.43, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 99.9, "min": 30.0, "max": 299.7, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 11.6, "min": 2.0, "max": 26.2, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "end_chamfer": {"type": "float", "default": 0.5, "min": 0.1, "max": 1.5, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330317 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 37.43, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 99.9, \"min\": 30.0, \"max\": 299.7, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 11.6, \"min\": 2.0, \"max\": 26.2, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.5, \"min\": 0.1, \"max\": 1.5, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462ca28e_1754", "family": "sketched", "tier": 3, "seed": 1177330318, "symmetry": "none", "op_count": 1, "ir_hash": "6728afeb3984e67e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 49500.0, "surface_area": 11900.0, "principal_moments": [10700000.0, 10700000.0, 14699999.999999998], "n_faces": 6, "n_edges": 9, "n_vertices": 5}, "dimensions": {"lines": ["Revolved organic body from a freeform sketched section (6 segments: 3 straight, 2 arcs, 1 curve), ~29.995 \u00d7 30 mm half-silhouette."], "text": "Revolved organic body from a freeform sketched section (6 segments: 3 straight, 2 arcs, 1 curve), ~29.995 \u00d7 30 mm half-silhouette."}, "params": {"sk_r": {"type": "float", "default": 33.48, "min": 16.7, "max": 60.3, "step": 1.0, "group": "Sketch", "label": "Max radius (mm)"}, "sk_h": {"type": "float", "default": 30, "min": 15.0, "max": 54.0, "step": 1.0, "group": "Sketch", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330318 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_r\": {\"type\": 'float', \"default\": 33.48, \"min\": 16.7, \"max\": 60.3, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Max radius (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 30, \"min\": 15.0, \"max\": 54.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XZ').moveTo(p[\"sk_r\"] * 0.6467, p[\"sk_h\"] * 0.0).threePointArc((p[\"sk_r\"] * 0.6555, p[\"sk_h\"] * 0.0659), (p[\"sk_r\"] * 0.6827, p[\"sk_h\"] * 0.1319)).bezier([(p[\"sk_r\"] * 0.6827, p[\"sk_h\"] * 0.1319), (p[\"sk_r\"] * 0.8669, p[\"sk_h\"] * 0.3592), (p[\"sk_r\"] * 0.7622, p[\"sk_h\"] * 0.5866)]).lineTo(p[\"sk_r\"] * 0.2686, p[\"sk_h\"] * 0.8754).threePointArc((p[\"sk_r\"] * 0.6884, p[\"sk_h\"] * 0.9377), (p[\"sk_r\"] * 0.8959, p[\"sk_h\"] * 1.0)).lineTo(p[\"sk_r\"] * 0.0, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.0, p[\"sk_h\"] * 0.0).close().revolve())\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca290_1756", "family": "bracket", "tier": 1, "seed": 1177330320, "symmetry": "none", "op_count": 1, "ir_hash": "ac15de4c0268fbe9", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 13600.0, "surface_area": 8510.0, "principal_moments": [6070000.0, 7610000.0, 12799999.999999998], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["C-channel bracket: base leg 55 mm, vertical leg 62.7 mm, 20 mm wide, 4 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."], "text": "C-channel bracket: base leg 55 mm, vertical leg 62.7 mm, 20 mm wide, 4 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 55, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 62.7, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 20, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 4.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 8.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330320 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 55, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 62.7, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 20, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 8.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca291_1757", "family": "bracket", "tier": 1, "seed": 1177330321, "symmetry": "none", "op_count": 1, "ir_hash": "a17f694101e7e880", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 11000.0, "surface_area": 4180.0, "principal_moments": [960000.0, 1960000.0, 2180000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["C-channel bracket: base leg 35 mm, vertical leg 25 mm, 20 mm wide, 8 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."], "text": "C-channel bracket: base leg 35 mm, vertical leg 25 mm, 20 mm wide, 8 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 35, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 25.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 20, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 8.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 8.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330321 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 35, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 25.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 20, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 8.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca292_1758", "family": "plate", "tier": 2, "seed": 1177330322, "symmetry": "none", "op_count": 2, "ir_hash": "265de0102f904460", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 1380.0, "surface_area": 1370.0, "principal_moments": [31700.0, 97400.0, 127000.0], "n_faces": 30, "n_edges": 84, "n_vertices": 56}, "dimensions": {"lines": ["Rectangular body, 30 \u00d7 16.5 \u00d7 3 mm (W\u00d7D\u00d7H).", "Six 2.4 mm square holes in a 2\u00d73 grid, 24 \u00d7 6.6 mm pitch."], "text": "Rectangular body, 30 \u00d7 16.5 \u00d7 3 mm (W\u00d7D\u00d7H). Six 2.4 mm square holes in a 2\u00d73 grid, 24 \u00d7 6.6 mm pitch."}, "params": {"plate_w": {"type": "float", "default": 30, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 16.5, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 3.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 2.4, "min": 2.0, "max": 2.6, "step": 0.1, "group": "Holes", "label": "Square hole size (mm)"}, "hole_nx": {"type": "int", "default": 2, "min": 1, "max": 4, "step": 1, "group": "Holes", "label": "Holes across"}, "hole_ny": {"type": "int", "default": 3, "min": 1, "max": 4, "step": 1, "group": "Holes", "label": "Holes deep"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330322 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 30, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 16.5, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 3.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 2.4, \"min\": 2.0, \"max\": 2.6, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Square hole size (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 2, \"min\": 1, \"max\": 4, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes across'},\n    \"hole_ny\": {\"type\": 'int', \"default\": 3, \"min\": 1, \"max\": 4, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes deep'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(24.0, 6.6, p[\"hole_nx\"], p[\"hole_ny\"])\n        .rect(p[\"hole_d\"], p[\"hole_d\"]).cutThruAll()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462ca293_1759", "family": "profiled", "tier": 2, "seed": 1177330323, "symmetry": "none", "op_count": 1, "ir_hash": "1781324fb11a9d2c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 119000.0, "surface_area": 16900.0, "principal_moments": [14999999.999999998, 229000000.0, 229000000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["8-sided polygon section, 33.48 mm across corners, extruded 149.7 mm thick."], "text": "8-sided polygon section, 33.48 mm across corners, extruded 149.7 mm thick."}, "params": {"circ_r": {"type": "float", "default": 16.74, "min": 8.4, "max": 33.5, "step": 1.0, "group": "Profile", "label": "Circumscribed radius (mm)"}, "n_sides": {"type": "int", "default": 8, "min": 3, "max": 8, "step": 1, "group": "Profile", "label": "Sides"}, "length": {"type": "float", "default": 149.7, "min": 44.9, "max": 449.1, "step": 5.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330323 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"circ_r\": {\"type\": 'float', \"default\": 16.74, \"min\": 8.4, \"max\": 33.5, \"step\": 1.0, \"group\": 'Profile', \"label\": 'Circumscribed radius (mm)'},\n    \"n_sides\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Profile', \"label\": 'Sides'},\n    \"length\": {\"type\": 'float', \"default\": 149.7, \"min\": 44.9, \"max\": 449.1, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').polygon(p[\"n_sides\"], p[\"circ_r\"] * 2).extrude(p[\"length\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462ca294_1760", "family": "profiled", "tier": 2, "seed": 1177330324, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "21b63df7d8f4ebbe", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 34200.0, "surface_area": 7870.0, "principal_moments": [3950000.0, 13299999.999999998, 15799999.999999998], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["freeform sketched section (4 segments: 3 straight, 1 arc), ~20.301 \u00d7 45.785 mm, extruded 66.4 mm thick."], "text": "freeform sketched section (4 segments: 3 straight, 1 arc), ~20.301 \u00d7 45.785 mm, extruded 66.4 mm thick."}, "params": {"sk_w": {"type": "float", "default": 25.1, "min": 12.6, "max": 45.2, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 54.97, "min": 27.5, "max": 98.9, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "length": {"type": "float", "default": 66.4, "min": 19.9, "max": 199.2, "step": 5.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330324 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 25.1, \"min\": 12.6, \"max\": 45.2, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 54.97, \"min\": 27.5, \"max\": 98.9, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 66.4, \"min\": 19.9, \"max\": 199.2, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.3841, p[\"sk_h\"] * 0.0999).lineTo(p[\"sk_w\"] * 0.1545, p[\"sk_h\"] * 0.4143).lineTo(p[\"sk_w\"] * -0.4247, p[\"sk_h\"] * 0.0955).threePointArc((p[\"sk_w\"] * -0.1293, p[\"sk_h\"] * -0.2096), (p[\"sk_w\"] * 0.2482, p[\"sk_h\"] * -0.4186)).lineTo(p[\"sk_w\"] * 0.3841, p[\"sk_h\"] * 0.0999).close().extrude(p[\"length\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462ca295_1761", "family": "lofted", "tier": 2, "seed": 1177330325, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "16c43257596440c2", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 22500.0, "surface_area": 6160.0, "principal_moments": [2940000.0, 3990000.0, 3990000.0], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["Lofted body through 3 sections: 6-sided polygon section, 43.27 mm across corners \u2192 6-sided polygon section, 29.6 mm across corners \u2192 15.9 \u00d7 15.9 mm rectangular section.", "One \u00d88.5 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 3 sections: 6-sided polygon section, 43.27 mm across corners \u2192 6-sided polygon section, 29.6 mm across corners \u2192 15.9 \u00d7 15.9 mm rectangular section. One \u00d88.5 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 43.27, "min": 21.6, "max": 69.2, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 15.9, "min": 6.4, "max": 51.9, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 39.7, "min": 15.9, "max": 79.4, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_mid": {"type": "float", "default": 29.6, "min": 8.0, "max": 51.9, "step": 1.0, "group": "Body", "label": "Mid size (mm)"}, "loft_bore_d": {"type": "float", "default": 8.5, "min": 2.0, "max": 12.7, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330325 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 43.27, \"min\": 21.6, \"max\": 69.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 15.9, \"min\": 6.4, \"max\": 51.9, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 39.7, \"min\": 15.9, \"max\": 79.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_mid\": {\"type\": 'float', \"default\": 29.6, \"min\": 8.0, \"max\": 51.9, \"step\": 1.0, \"group\": 'Body', \"label\": 'Mid size (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 8.5, \"min\": 2.0, \"max\": 12.7, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .polygon(6, p[\"loft_base\"] * 0.5 * 2)\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .polygon(6, p[\"loft_mid\"] * 0.5 * 2)\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .rect(p[\"loft_top\"], p[\"loft_top\"])\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca296_1762", "family": "revolved", "tier": 0, "seed": 1177330326, "symmetry": "none", "op_count": 1, "ir_hash": "5c0d8be19f062b70", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 679000.0, "surface_area": 91500.0, "principal_moments": [499000000.0, 3080000000.0, 3080000000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d870 mm \u00d7 264.8 mm tall."], "text": "Revolved body, \u00d870 mm \u00d7 264.8 mm tall."}, "params": {"outer_d": {"type": "float", "default": 70, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 264.8, "min": 79.4, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330326 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 70, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 264.8, \"min\": 79.4, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462ca297_1763", "family": "swept", "tier": 1, "seed": 1177330327, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "2bc91a96f89eeec4", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 11200.0, "surface_area": 3370.0, "principal_moments": [363000.0, 3820000.0, 3850000.0], "n_faces": 3, "n_edges": 3, "n_vertices": 2}, "dimensions": {"lines": ["\u00d815.3 mm circular section swept along a curved path, ~55 mm span."], "text": "\u00d815.3 mm circular section swept along a curved path, ~55 mm span."}, "params": {"path_w": {"type": "float", "default": 52.66, "min": 26.3, "max": 94.8, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 55, "min": 27.5, "max": 99.0, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_d": {"type": "float", "default": 15.3, "min": 7.7, "max": 27.5, "step": 1.0, "group": "Section", "label": "Section diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330327 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 52.66, \"min\": 26.3, \"max\": 94.8, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 55, \"min\": 27.5, \"max\": 99.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_d\": {\"type\": 'float', \"default\": 15.3, \"min\": 7.7, \"max\": 27.5, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.3226), (p[\"path_w\"] * 0.2509, p[\"path_h\"] * 0.6965), (p[\"path_w\"] * 0.3967, p[\"path_h\"] * 0.8596), (p[\"path_w\"] * 0.5055, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').circle(p[\"sweep_d\"] / 2).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca298_1764", "family": "bracket", "tier": 1, "seed": 1177330328, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "3e3c09f1c55368d9", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 19700.0, "surface_area": 14300.0, "principal_moments": [7660000.0, 17800000.0, 18400000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["L-bracket: base leg 65 mm, vertical leg 69.5 mm, 50 mm wide, 3 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."], "text": "L-bracket: base leg 65 mm, vertical leg 69.5 mm, 50 mm wide, 3 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 65, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 69.5, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 50, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 3.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330328 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 65, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 69.5, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 50, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca299_1765", "family": "revolved", "tier": 2, "seed": 1177330329, "symmetry": "none", "op_count": 1, "ir_hash": "f949aa32420e0c75", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 134000.0, "surface_area": 28300.0, "principal_moments": [43800000.0, 146000000.0, 146000000.0], "n_faces": 9, "n_edges": 13, "n_vertices": 9}, "dimensions": {"lines": ["Revolved body, \u00d835.01 mm \u00d7 130.7 mm tall with \u00d857.1 mm \u00d7 32.1 mm flange, 7.46 mm-wide groove 1.59 mm deep."], "text": "Revolved body, \u00d835.01 mm \u00d7 130.7 mm tall with \u00d857.1 mm \u00d7 32.1 mm flange, 7.46 mm-wide groove 1.59 mm deep."}, "params": {"outer_d": {"type": "float", "default": 35.01, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 130.7, "min": 39.2, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "flange_d": {"type": "float", "default": 57.1, "min": 42.0, "max": 105.0, "step": 1.0, "group": "Body", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 32.1, "min": 9.6, "max": 65.3, "step": 0.5, "group": "Body", "label": "Flange height (mm)"}, "groove_depth": {"type": "float", "default": 1.59, "min": 0.64, "max": 4.77, "step": 0.1, "group": "Body", "label": "Groove depth (mm)"}, "groove_w": {"type": "float", "default": 7.46, "min": 2.98, "max": 22.38, "step": 0.2, "group": "Body", "label": "Groove width (mm)"}, "groove_pos": {"type": "float", "default": 43.6, "min": 19.6, "max": 111.1, "step": 1.0, "group": "Body", "label": "Groove position (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330329 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 35.01, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 130.7, \"min\": 39.2, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 57.1, \"min\": 42.0, \"max\": 105.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 32.1, \"min\": 9.6, \"max\": 65.3, \"step\": 0.5, \"group\": 'Body', \"label\": 'Flange height (mm)'},\n    \"groove_depth\": {\"type\": 'float', \"default\": 1.59, \"min\": 0.64, \"max\": 4.77, \"step\": 0.1, \"group\": 'Body', \"label\": 'Groove depth (mm)'},\n    \"groove_w\": {\"type\": 'float', \"default\": 7.46, \"min\": 2.98, \"max\": 22.38, \"step\": 0.2, \"group\": 'Body', \"label\": 'Groove width (mm)'},\n    \"groove_pos\": {\"type\": 'float', \"default\": 43.6, \"min\": 19.6, \"max\": 111.1, \"step\": 1.0, \"group\": 'Body', \"label\": 'Groove position (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"groove_pos\"] - p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2 - p[\"groove_depth\"], p[\"groove_pos\"] - p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2 - p[\"groove_depth\"], p[\"groove_pos\"] + p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2, p[\"groove_pos\"] + p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462ca29a_1766", "family": "flanged", "tier": 1, "seed": 1177330330, "symmetry": "none", "op_count": 2, "ir_hash": "0a2c5c362d466092", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 223000.0, "surface_area": 36700.0, "principal_moments": [162000000.0, 199000000.0, 199000000.0], "n_faces": 17, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Revolved body, \u00d860 mm \u00d7 73.1 mm tall with \u00d818.9 mm bore, \u00d8105.9 mm \u00d7 6.5 mm flange.", "Six \u00d85.3 mm holes on a \u00d863.6 mm bolt circle."], "text": "Revolved body, \u00d860 mm \u00d7 73.1 mm tall with \u00d818.9 mm bore, \u00d8105.9 mm \u00d7 6.5 mm flange. Six \u00d85.3 mm holes on a \u00d863.6 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 60, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 73.1, "min": 21.9, "max": 182.8, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 18.9, "min": 2.0, "max": 42.0, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 105.9, "min": 78.0, "max": 180.0, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 6.5, "min": 1.9, "max": 29.2, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 31.8, "min": 21.2, "max": 47.7, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 6, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330330 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 60, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 73.1, \"min\": 21.9, \"max\": 182.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 18.9, \"min\": 2.0, \"max\": 42.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 105.9, \"min\": 78.0, \"max\": 180.0, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 6.5, \"min\": 1.9, \"max\": 29.2, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 31.8, \"min\": 21.2, \"max\": 47.7, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca29b_1767", "family": "block", "tier": 1, "seed": 1177330331, "symmetry": "radial", "op_count": 2, "ir_hash": "dc1eda1973a36a38", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 277000.0, "surface_area": 35400.0, "principal_moments": [180000000.0, 209000000.0, 231000000.0], "n_faces": 18, "n_edges": 48, "n_vertices": 32}, "dimensions": {"lines": ["Rectangular body, 74.4 \u00d7 65.8 \u00d7 58.6 mm (W\u00d7D\u00d7H).", "Twelve \u00d84.3 mm holes on a \u00d844.6 mm bolt circle."], "text": "Rectangular body, 74.4 \u00d7 65.8 \u00d7 58.6 mm (W\u00d7D\u00d7H). Twelve \u00d84.3 mm holes on a \u00d844.6 mm bolt circle."}, "params": {"block_w": {"type": "float", "default": 74.4, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 65.8, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 58.6, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "bolt_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 22.3, "min": 14.9, "max": 33.5, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 12, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330331 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 74.4, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 65.8, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 58.6, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 22.3, \"min\": 14.9, \"max\": 33.5, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 12, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca29c_1768", "family": "plate", "tier": 2, "seed": 1177330332, "symmetry": "mirror_xy", "op_count": 3, "ir_hash": "4dd2c3401c0c3106", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 15400.0, "surface_area": 7660.0, "principal_moments": [3390000.0, 4760000.0, 8080000.0], "n_faces": 22, "n_edges": 48, "n_vertices": 32}, "dimensions": {"lines": ["Rectangular body, 61.22 \u00d7 51.6 \u00d7 5 mm (W\u00d7D\u00d7H).", "Four \u00d83.2 mm counterbored holes (\u00d86.4 mm \u00d7 2.6 mm counterbore) at the corners, 42.854 \u00d7 36.12 mm spacing.", "Fillet radius 2.266 mm on vertical edges."], "text": "Rectangular body, 61.22 \u00d7 51.6 \u00d7 5 mm (W\u00d7D\u00d7H). Four \u00d83.2 mm counterbored holes (\u00d86.4 mm \u00d7 2.6 mm counterbore) at the corners, 42.854 \u00d7 36.12 mm spacing. Fillet radius 2.266 mm on vertical edges."}, "params": {"plate_w": {"type": "float", "default": 61.22, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 51.6, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 5.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 11.6, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "cb_d": {"type": "float", "default": 6.4, "min": 4.8, "max": 9.6, "step": 0.5, "group": "Holes", "label": "Counterbore diameter (mm)"}, "cb_depth": {"type": "float", "default": 2.6, "min": 1.3, "max": 5.2, "step": 0.5, "group": "Holes", "label": "Counterbore depth (mm)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330332 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 61.22, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 51.6, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 5.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 11.6, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"cb_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 4.8, \"max\": 9.6, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Counterbore diameter (mm)'},\n    \"cb_depth\": {\"type\": 'float', \"default\": 2.6, \"min\": 1.3, \"max\": 5.2, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Counterbore depth (mm)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().cboreHole(p[\"hole_d\"], p[\"cb_d\"], p[\"cb_depth\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"plate_w\"], p[\"plate_d\"]) * 0.043918914809670855)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462ca29d_1769", "family": "enclosure", "tier": 2, "seed": 1177330333, "symmetry": "mirror_x", "op_count": 4, "ir_hash": "88a8f09c49fb8a91", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 14100.0, "surface_area": 12100.0, "principal_moments": [2470000.0, 7470000.0, 7980000.0], "n_faces": 35, "n_edges": 108, "n_vertices": 72}, "dimensions": {"lines": ["Rectangular body, 65 \u00d7 27.3 \u00d7 26.3 mm (W\u00d7D\u00d7H).", "Hollowed to 2.4 mm wall thickness, open at top face.", "Four \u00d84.3 mm holes at the corners, 45.5 \u00d7 19.11 mm spacing.", "Fillet radius 3.044 mm on vertical edges."], "text": "Rectangular body, 65 \u00d7 27.3 \u00d7 26.3 mm (W\u00d7D\u00d7H). Hollowed to 2.4 mm wall thickness, open at top face. Four \u00d84.3 mm holes at the corners, 45.5 \u00d7 19.11 mm spacing. Fillet radius 3.044 mm on vertical edges."}, "params": {"enc_w": {"type": "float", "default": 65, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 27.3, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 26.3, "min": 10.5, "max": 52.6, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 2.4, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 6.1, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330333 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 65, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 27.3, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 26.3, \"min\": 10.5, \"max\": 52.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 2.4, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 6.1, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"enc_w\"] * 0.7, p[\"enc_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"enc_w\"], p[\"enc_d\"]) * 0.11149225126264412)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462ca29e_1770", "family": "swept", "tier": 2, "seed": 1177330334, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "c6641c1e111887ad", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 3020.0, "surface_area": 2450.0, "principal_moments": [90900.0, 2430000.0, 2510000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["9.1 \u00d7 4.7 mm rectangular section swept along a curved path, ~88.28 mm span."], "text": "9.1 \u00d7 4.7 mm rectangular section swept along a curved path, ~88.28 mm span."}, "params": {"path_w": {"type": "float", "default": 50.95, "min": 25.5, "max": 91.7, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 88.28, "min": 44.1, "max": 158.9, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_a": {"type": "float", "default": 9.1, "min": 4.5, "max": 16.4, "step": 1.0, "group": "Section", "label": "Section width (mm)"}, "sweep_b": {"type": "float", "default": 4.7, "min": 2.4, "max": 8.5, "step": 1.0, "group": "Section", "label": "Section depth (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330334 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 50.95, \"min\": 25.5, \"max\": 91.7, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 88.28, \"min\": 44.1, \"max\": 158.9, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_a\": {\"type\": 'float', \"default\": 9.1, \"min\": 4.5, \"max\": 16.4, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section width (mm)'},\n    \"sweep_b\": {\"type\": 'float', \"default\": 4.7, \"min\": 2.4, \"max\": 8.5, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section depth (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.1641, p[\"path_h\"] * 0.4899), (p[\"path_w\"] * 0.3309, p[\"path_h\"] * 0.6568), (p[\"path_w\"] * 0.2169, p[\"path_h\"] * 0.7798), (p[\"path_w\"] * 0.4983, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').rect(p[\"sweep_a\"], p[\"sweep_b\"]).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca29f_1771", "family": "bracket", "tier": 1, "seed": 1177330335, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "dc0e9e0c4392987d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 30800.0, "surface_area": 14100.0, "principal_moments": [10500000.0, 25599999.999999996, 27899999.999999996], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["L-bracket: base leg 75.88 mm, vertical leg 52.5 mm, 50 mm wide, 5 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."], "text": "L-bracket: base leg 75.88 mm, vertical leg 52.5 mm, 50 mm wide, 5 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 75.88, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 52.5, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 50, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 5.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330335 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 75.88, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 52.5, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 50, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca2a0_1772", "family": "plate", "tier": 1, "seed": 1177330336, "symmetry": "radial", "op_count": 2, "ir_hash": "213bff67a04fe7b7", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 82100.0, "surface_area": 20900.0, "principal_moments": [43800000.0, 76600000.0, 119000000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 105 \u00d7 79.4 \u00d7 10 mm (W\u00d7D\u00d7H).", "Four \u00d86.4 mm holes on a \u00d863 mm bolt circle."], "text": "Rectangular body, 105 \u00d7 79.4 \u00d7 10 mm (W\u00d7D\u00d7H). Four \u00d86.4 mm holes on a \u00d863 mm bolt circle."}, "params": {"plate_w": {"type": "float", "default": 105, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 79.4, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "bolt_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 31.5, "min": 21.0, "max": 47.2, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 4, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330336 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 105, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 79.4, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 31.5, \"min\": 21.0, \"max\": 47.2, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 4, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca2a1_1773", "family": "bracket", "tier": 2, "seed": 1177330337, "symmetry": "none", "op_count": 1, "ir_hash": "a1302489b4ac2668", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 7350.0, "surface_area": 3630.0, "principal_moments": [568000.0, 1250000.0, 1270000.0], "n_faces": 15, "n_edges": 41, "n_vertices": 26}, "dimensions": {"lines": ["L-bracket: base leg 30 mm, vertical leg 32.8 mm, 21.82 mm wide, 6 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg; 5.4 mm corner gusset."], "text": "L-bracket: base leg 30 mm, vertical leg 32.8 mm, 21.82 mm wide, 6 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg; 5.4 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 30, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 32.8, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 21.82, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 6.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 8.7, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 5.4, "min": 3.0, "max": 10.9, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330337 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 30, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 32.8, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 21.82, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 8.7, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 5.4, \"min\": 3.0, \"max\": 10.9, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca2a2_1774", "family": "bracket", "tier": 1, "seed": 1177330338, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "40457cbfbcce21f6", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 18500.0, "surface_area": 6350.0, "principal_moments": [2340000.0, 4440000.0, 5740000.0], "n_faces": 9, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["L-bracket: base leg 30 mm, vertical leg 25 mm, 50 mm wide, 8 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."], "text": "L-bracket: base leg 30 mm, vertical leg 25 mm, 50 mm wide, 8 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 30, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 25.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 50, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 8.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330338 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 30, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 25.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 50, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462ca2a3_1775", "family": "profiled", "tier": 0, "seed": 1177330339, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "2b19760cef780c49", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 4010.0, "surface_area": 1730.0, "principal_moments": [60800.0, 635000.0, 635000.0], "n_faces": 8, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["6-sided polygon section, 12.06 mm across corners, extruded 42.5 mm thick."], "text": "6-sided polygon section, 12.06 mm across corners, extruded 42.5 mm thick."}, "params": {"circ_r": {"type": "float", "default": 6.03, "min": 3.0, "max": 12.1, "step": 1.0, "group": "Profile", "label": "Circumscribed radius (mm)"}, "n_sides": {"type": "int", "default": 6, "min": 3, "max": 8, "step": 1, "group": "Profile", "label": "Sides"}, "length": {"type": "float", "default": 42.5, "min": 12.8, "max": 127.5, "step": 5.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330339 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"circ_r\": {\"type\": 'float', \"default\": 6.03, \"min\": 3.0, \"max\": 12.1, \"step\": 1.0, \"group\": 'Profile', \"label\": 'Circumscribed radius (mm)'},\n    \"n_sides\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Profile', \"label\": 'Sides'},\n    \"length\": {\"type\": 'float', \"default\": 42.5, \"min\": 12.8, \"max\": 127.5, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').polygon(p[\"n_sides\"], p[\"circ_r\"] * 2).extrude(p[\"length\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca2a4_1776", "family": "plate", "tier": 2, "seed": 1177330340, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "323dfee0db5135a3", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 386.0, "surface_area": 557.0, "principal_moments": [3240.0, 13300.0, 16200.0], "n_faces": 14, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 20.54 \u00d7 10 \u00d7 2 mm (W\u00d7D\u00d7H).", "Four \u00d82 mm holes at the corners, 14.378 \u00d7 7 mm spacing.", "Fillet radius 0.237 mm on vertical edges."], "text": "Rectangular body, 20.54 \u00d7 10 \u00d7 2 mm (W\u00d7D\u00d7H). Four \u00d82 mm holes at the corners, 14.378 \u00d7 7 mm spacing. Fillet radius 0.237 mm on vertical edges."}, "params": {"plate_w": {"type": "float", "default": 20.54, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 10.0, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 2.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 2.0, "min": 2.0, "max": 2.2, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330340 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 20.54, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 10.0, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 2.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 2.0, \"min\": 2.0, \"max\": 2.2, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"plate_w\"], p[\"plate_d\"]) * 0.02374854251513461)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462ca2a6_1778", "family": "gear", "tier": 1, "seed": 1177330342, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "67b8c24db6531192", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 1700.0, "surface_area": 1360.0, "principal_moments": [42700.0, 42700.0, 64400.0], "n_faces": 69, "n_edges": 201, "n_vertices": 134}, "dimensions": {"lines": ["Spur gear, module 1.5 mm, 11 teeth (pitch \u00d816.5 mm), face width 8.6 mm, \u00d83 mm bore."], "text": "Spur gear, module 1.5 mm, 11 teeth (pitch \u00d816.5 mm), face width 8.6 mm, \u00d83 mm bore."}, "params": {"module": {"type": "float", "default": 1.5, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 11, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 8.6, "min": 3.4, "max": 21.5, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "bore_d": {"type": "float", "default": 3.0, "min": 2.0, "max": 7.6, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330342 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 1.5, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 11, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 8.6, \"min\": 3.4, \"max\": 21.5, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 3.0, \"min\": 2.0, \"max\": 7.6, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca2a7_1779", "family": "block", "tier": 1, "seed": 1177330343, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "fde869c8817ada52", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 29900.0, "surface_area": 8710.0, "principal_moments": [4330000.0, 5910000.0, 8560000.0], "n_faces": 22, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 45.89 \u00d7 18.7 \u00d7 37.4 mm (W\u00d7D\u00d7H).", "Four 3.8 mm square holes at the corners, 32.123 \u00d7 13.09 mm spacing."], "text": "Rectangular body, 45.89 \u00d7 18.7 \u00d7 37.4 mm (W\u00d7D\u00d7H). Four 3.8 mm square holes at the corners, 32.123 \u00d7 13.09 mm spacing."}, "params": {"block_w": {"type": "float", "default": 45.89, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 18.7, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 37.4, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 3.8, "min": 2.0, "max": 5.5, "step": 0.5, "group": "Holes", "label": "Square hole size (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330343 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 45.89, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 18.7, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 37.4, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.8, \"min\": 2.0, \"max\": 5.5, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Square hole size (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().rect(p[\"hole_d\"], p[\"hole_d\"]).cutThruAll()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca2a8_1780", "family": "plate", "tier": 0, "seed": 1177330344, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "f43261290116e0e6", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 5640.0, "surface_area": 2110.0, "principal_moments": [151000.0, 655000.0, 671000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 35.35 \u00d7 13.3 \u00d7 12 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 35.35 \u00d7 13.3 \u00d7 12 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 35.35, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 13.3, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330344 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 35.35, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 13.3, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca2a9_1781", "family": "compound", "tier": 1, "seed": 1177330345, "symmetry": "none", "op_count": 3, "ir_hash": "0f66c3d127a0b20b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 56400.0, "surface_area": 11700.0, "principal_moments": [12199999.999999998, 15399999.999999998, 16299999.999999998], "n_faces": 15, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 34.73 \u00d7 43 \u00d7 37.4 mm (W\u00d7D\u00d7H).", "25.3 \u00d7 32.3 mm rectangular section attachment, 4 mm long, from front face.", "Four \u00d84.3 mm holes at the corners, 15.18 \u00d7 19.38 mm spacing on the <Y face."], "text": "Rectangular body, 34.73 \u00d7 43 \u00d7 37.4 mm (W\u00d7D\u00d7H). 25.3 \u00d7 32.3 mm rectangular section attachment, 4 mm long, from front face. Four \u00d84.3 mm holes at the corners, 15.18 \u00d7 19.38 mm spacing on the <Y face."}, "params": {"block_w": {"type": "float", "default": 34.73, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 43.0, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 37.4, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "tab_a": {"type": "float", "default": 25.3, "min": 10.1, "max": 40.5, "step": 1.0, "group": "Tab", "label": "Tab width (mm)"}, "tab_b": {"type": "float", "default": 32.3, "min": 12.9, "max": 51.7, "step": 1.0, "group": "Tab", "label": "Tab height (mm)"}, "tab_t": {"type": "float", "default": 4.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Tab", "label": "Tab thickness (mm)"}, "tab_hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 5.6, "step": 0.1, "group": "Tab", "label": "Tab hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330345 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 34.73, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 43.0, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 37.4, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"tab_a\": {\"type\": 'float', \"default\": 25.3, \"min\": 10.1, \"max\": 40.5, \"step\": 1.0, \"group\": 'Tab', \"label\": 'Tab width (mm)'},\n    \"tab_b\": {\"type\": 'float', \"default\": 32.3, \"min\": 12.9, \"max\": 51.7, \"step\": 1.0, \"group\": 'Tab', \"label\": 'Tab height (mm)'},\n    \"tab_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Tab', \"label\": 'Tab thickness (mm)'},\n    \"tab_hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 5.6, \"step\": 0.1, \"group\": 'Tab', \"label\": 'Tab hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .rect(p[\"tab_a\"], p[\"tab_b\"]).extrude(p[\"tab_t\"])\n    )\n    result = (\n        result.faces('<Y').workplane()\n        .rect(p[\"tab_a\"] * 0.6, p[\"tab_b\"] * 0.6, forConstruction=True)\n        .vertices().hole(p[\"tab_hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462ca2aa_1782", "family": "gear", "tier": 1, "seed": 1177330346, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "50c2840cfa1414bb", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 603000.0, "surface_area": 74000.0, "principal_moments": [1110000000.0, 1110000000.0, 2140000000.0], "n_faces": 201, "n_edges": 597, "n_vertices": 398}, "dimensions": {"lines": ["Spur gear, module 5 mm, 33 teeth (pitch \u00d8165 mm), face width 29.6 mm, \u00d832.5 mm bore."], "text": "Spur gear, module 5 mm, 33 teeth (pitch \u00d8165 mm), face width 29.6 mm, \u00d832.5 mm bore."}, "params": {"module": {"type": "float", "default": 5.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 33, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 29.6, "min": 11.8, "max": 74.0, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "bore_d": {"type": "float", "default": 32.5, "min": 2.0, "max": 91.5, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330346 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 5.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 33, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 29.6, \"min\": 11.8, \"max\": 74.0, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 32.5, \"min\": 2.0, \"max\": 91.5, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462ca2ab_1783", "family": "enclosure", "tier": 2, "seed": 1177330347, "symmetry": "mirror_xy", "op_count": 4, "ir_hash": "bc90b0b6e3680b21", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 123000.0, "surface_area": 57200.0, "principal_moments": [138000000.0, 187000000.0, 238000000.0], "n_faces": 35, "n_edges": 108, "n_vertices": 72}, "dimensions": {"lines": ["Rectangular body, 100 \u00d7 48.6 \u00d7 89.2 mm (W\u00d7D\u00d7H).", "Hollowed to 4.4 mm wall thickness, open at top face.", "Four \u00d88.4 mm holes at the corners, 70 \u00d7 34.02 mm spacing.", "Fillet radius 4.591 mm on vertical edges."], "text": "Rectangular body, 100 \u00d7 48.6 \u00d7 89.2 mm (W\u00d7D\u00d7H). Hollowed to 4.4 mm wall thickness, open at top face. Four \u00d88.4 mm holes at the corners, 70 \u00d7 34.02 mm spacing. Fillet radius 4.591 mm on vertical edges."}, "params": {"enc_w": {"type": "float", "default": 100, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 48.6, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 89.2, "min": 35.7, "max": 178.4, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 4.4, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}, "hole_d": {"type": "float", "default": 8.4, "min": 2.0, "max": 10.9, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330347 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 100, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 48.6, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 89.2, \"min\": 35.7, \"max\": 178.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 4.4, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 2.0, \"max\": 10.9, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"enc_w\"] * 0.7, p[\"enc_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"enc_w\"], p[\"enc_d\"]) * 0.0944624080625126)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462ca2ac_1784", "family": "lofted", "tier": 0, "seed": 1177330348, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "c9a4abcd2ce68350", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 18400.0, "surface_area": 4100.0, "principal_moments": [1790000.0, 2600000.0, 2600000.0], "n_faces": 7, "n_edges": 15, "n_vertices": 10}, "dimensions": {"lines": ["Lofted body through 2 sections: \u00d835 mm circular section \u2192 12.3 \u00d7 12.3 mm rectangular section."], "text": "Lofted body through 2 sections: \u00d835 mm circular section \u2192 12.3 \u00d7 12.3 mm rectangular section."}, "params": {"loft_base": {"type": "float", "default": 35, "min": 17.5, "max": 56.0, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 12.3, "min": 4.9, "max": 42.0, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 36.7, "min": 14.7, "max": 73.4, "step": 1.0, "group": "Body", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330348 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 35, \"min\": 17.5, \"max\": 56.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 12.3, \"min\": 4.9, \"max\": 42.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 36.7, \"min\": 14.7, \"max\": 73.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .circle(p[\"loft_base\"] / 2)\n        .workplane(offset=p[\"loft_h\"])\n        .rect(p[\"loft_top\"], p[\"loft_top\"])\n        .loft(combine=True)\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca2ad_1785", "family": "block", "tier": 1, "seed": 1177330349, "symmetry": "radial", "op_count": 2, "ir_hash": "6b85d8aa48368d7f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 415000.0, "surface_area": 41600.0, "principal_moments": [383000000.0, 418000000.0, 658000000.0], "n_faces": 8, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["Rectangular body, 95 \u00d7 44.9 \u00d7 100 mm (W\u00d7D\u00d7H).", "Four \u00d88.4 mm holes on a \u00d857 mm bolt circle."], "text": "Rectangular body, 95 \u00d7 44.9 \u00d7 100 mm (W\u00d7D\u00d7H). Four \u00d88.4 mm holes on a \u00d857 mm bolt circle."}, "params": {"block_w": {"type": "float", "default": 95, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 44.9, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 100.0, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "bolt_d": {"type": "float", "default": 8.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 28.5, "min": 19.0, "max": 42.8, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 4, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330349 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 95, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 44.9, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 100.0, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 28.5, \"min\": 19.0, \"max\": 42.8, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 4, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca2ae_1786", "family": "plate", "tier": 1, "seed": 1177330350, "symmetry": "none", "op_count": 2, "ir_hash": "b822d1b530eebd7e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 28400.0, "surface_area": 10300.0, "principal_moments": [3320000.0, 17300000.0, 20100000.0], "n_faces": 22, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 85 \u00d7 36.2 \u00d7 10 mm (W\u00d7D\u00d7H).", "16 \u00d84.3 mm holes in a 4\u00d74 grid, 22.7 \u00d7 9.7 mm pitch."], "text": "Rectangular body, 85 \u00d7 36.2 \u00d7 10 mm (W\u00d7D\u00d7H). 16 \u00d84.3 mm holes in a 4\u00d74 grid, 22.7 \u00d7 9.7 mm pitch."}, "params": {"plate_w": {"type": "float", "default": 85, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 36.2, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 4.3, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 4, "min": 1, "max": 4, "step": 1, "group": "Holes", "label": "Holes across"}, "hole_ny": {"type": "int", "default": 4, "min": 1, "max": 4, "step": 1, "group": "Holes", "label": "Holes deep"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330350 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 85, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 36.2, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 4.3, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 4, \"min\": 1, \"max\": 4, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes across'},\n    \"hole_ny\": {\"type\": 'int', \"default\": 4, \"min\": 1, \"max\": 4, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes deep'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(22.7, 9.7, p[\"hole_nx\"], p[\"hole_ny\"])\n        .hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462ca2af_1787", "family": "threaded", "tier": 1, "seed": 1177330351, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "f33458c18033594d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 2490.0, "surface_area": 1910.0, "principal_moments": [81100.0, 128000.0, 128000.0], "n_faces": 135, "n_edges": 365, "n_vertices": 232}, "dimensions": {"lines": ["M8x1.25 internal thread, 20.6 mm long."], "text": "M8x1.25 internal thread, 20.6 mm long."}, "params": {"major_d": {"type": "float", "default": 8.0, "min": 4.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Major diameter (mm)"}, "pitch": {"type": "float", "default": 1.25, "min": 0.62, "max": 2.5, "step": 0.05, "group": "Thread", "label": "Pitch (mm)"}, "thread_len": {"type": "float", "default": 20.6, "min": 8.2, "max": 41.2, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330351 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 8.0, \"min\": 4.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Major diameter (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.25, \"min\": 0.62, \"max\": 2.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Pitch (mm)'},\n    \"thread_len\": {\"type\": 'float', \"default\": 20.6, \"min\": 8.2, \"max\": 41.2, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.IsoThread(major_diameter=p[\"major_d\"], pitch=p[\"pitch\"], length=p[\"thread_len\"], external=False, end_finishes=(\"fade\", \"fade\"))\n    _body = _bd.Cylinder(radius=(p[\"major_d\"]) * 0.9, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _bore = _bd.Cylinder(radius=(p[\"major_d\"]) / 2, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = (_body - _bore) + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca2b0_1788", "family": "compound", "tier": 2, "seed": 1177330352, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "c932c17a049ed466", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 20400.0, "surface_area": 4840.0, "principal_moments": [1610000.0, 4790000.0, 4790000.0], "n_faces": 12, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["\u00d827.23 mm circular section, extruded 28.5 mm thick.", "\u00d813 mm circular section attachment, 23.1 mm long, from top face.", "6-sided polygon section, 11.6 mm across corners attachment, 8.4 mm long, from top face."], "text": "\u00d827.23 mm circular section, extruded 28.5 mm thick. \u00d813 mm circular section attachment, 23.1 mm long, from top face. 6-sided polygon section, 11.6 mm across corners attachment, 8.4 mm long, from top face."}, "params": {"shaft_d": {"type": "float", "default": 27.23, "min": 13.6, "max": 49.0, "step": 1.0, "group": "Body", "label": "Shaft diameter (mm)"}, "shaft_len": {"type": "float", "default": 28.5, "min": 11.4, "max": 57.0, "step": 1.0, "group": "Body", "label": "Shaft length (mm)"}, "step_d": {"type": "float", "default": 13.0, "min": 6.5, "max": 24.5, "step": 1.0, "group": "Step", "label": "Step diameter (mm)"}, "step_len": {"type": "float", "default": 23.1, "min": 6.9, "max": 57.8, "step": 1.0, "group": "Step", "label": "Step length (mm)"}, "head_sides": {"type": "int", "default": 6, "min": 3, "max": 8, "step": 1, "group": "Head", "label": "Drive head sides"}, "head_r": {"type": "float", "default": 5.8, "min": 3.5, "max": 6.2, "step": 1.0, "group": "Head", "label": "Drive head circumradius (mm)"}, "head_len": {"type": "float", "default": 8.4, "min": 2.5, "max": 16.8, "step": 1.0, "group": "Head", "label": "Drive head length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330352 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"shaft_d\": {\"type\": 'float', \"default\": 27.23, \"min\": 13.6, \"max\": 49.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft diameter (mm)'},\n    \"shaft_len\": {\"type\": 'float', \"default\": 28.5, \"min\": 11.4, \"max\": 57.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft length (mm)'},\n    \"step_d\": {\"type\": 'float', \"default\": 13.0, \"min\": 6.5, \"max\": 24.5, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step diameter (mm)'},\n    \"step_len\": {\"type\": 'float', \"default\": 23.1, \"min\": 6.9, \"max\": 57.8, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step length (mm)'},\n    \"head_sides\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Head', \"label\": 'Drive head sides'},\n    \"head_r\": {\"type\": 'float', \"default\": 5.8, \"min\": 3.5, \"max\": 6.2, \"step\": 1.0, \"group\": 'Head', \"label\": 'Drive head circumradius (mm)'},\n    \"head_len\": {\"type\": 'float', \"default\": 8.4, \"min\": 2.5, \"max\": 16.8, \"step\": 1.0, \"group\": 'Head', \"label\": 'Drive head length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').circle(p[\"shaft_d\"] / 2).extrude(p[\"shaft_len\"]))\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"step_d\"] / 2).extrude(p[\"step_len\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"head_sides\"], p[\"head_r\"] * 2).extrude(p[\"head_len\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca2b1_1789", "family": "bracket", "tier": 1, "seed": 1177330353, "symmetry": "none", "op_count": 1, "ir_hash": "87aa89c64037bc25", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 39200.0, "surface_area": 17900.0, "principal_moments": [17000000.0, 44100000.0, 46999999.99999999], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["L-bracket: base leg 87.81 mm, vertical leg 60.8 mm, 55 mm wide, 5 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."], "text": "L-bracket: base leg 87.81 mm, vertical leg 60.8 mm, 55 mm wide, 5 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 87.81, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 60.8, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 55, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 5.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330353 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 87.81, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 60.8, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 55, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca2b2_1790", "family": "plate", "tier": 2, "seed": 1177330354, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "b9f2a2cd694f4d73", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 34800.0, "surface_area": 13000.0, "principal_moments": [10700000.0, 18200000.0, 28599999.999999996], "n_faces": 18, "n_edges": 56, "n_vertices": 36}, "dimensions": {"lines": ["Rectangular body, 85 \u00d7 64.9 \u00d7 8 mm (W\u00d7D\u00d7H).", "Four \u00d813 mm countersunk holes (82\u00b0) at the corners, 59.5 \u00d7 45.43 mm spacing."], "text": "Rectangular body, 85 \u00d7 64.9 \u00d7 8 mm (W\u00d7D\u00d7H). Four \u00d813 mm countersunk holes (82\u00b0) at the corners, 59.5 \u00d7 45.43 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 85, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 64.9, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 13.0, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "cs_angle": {"type": "float", "default": 82.0, "min": 60.0, "max": 120.0, "step": 15.0, "group": "Holes", "label": "Countersink angle (\u00b0)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330354 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 85, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 64.9, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 13.0, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"cs_angle\": {\"type\": 'float', \"default\": 82.0, \"min\": 60.0, \"max\": 120.0, \"step\": 15.0, \"group\": 'Holes', \"label\": 'Countersink angle (\u00b0)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().cskHole(p[\"hole_d\"], p[\"hole_d\"] * 2, p[\"cs_angle\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462ca2b3_1791", "family": "enclosure", "tier": 2, "seed": 1177330355, "symmetry": "none", "op_count": 3, "ir_hash": "440e67b7054234b6", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 18300.0, "surface_area": 10300.0, "principal_moments": [3520000.0, 5280000.0, 6170000.0], "n_faces": 15, "n_edges": 48, "n_vertices": 32}, "dimensions": {"lines": ["Rectangular body, 44.49 \u00d7 32 \u00d7 27.5 mm (W\u00d7D\u00d7H).", "Hollowed to 4.5 mm wall thickness, open at top face.", "Four \u00d86.4 mm holes at the corners, 31.143 \u00d7 22.4 mm spacing."], "text": "Rectangular body, 44.49 \u00d7 32 \u00d7 27.5 mm (W\u00d7D\u00d7H). Hollowed to 4.5 mm wall thickness, open at top face. Four \u00d86.4 mm holes at the corners, 31.143 \u00d7 22.4 mm spacing."}, "params": {"enc_w": {"type": "float", "default": 44.49, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 32.0, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 27.5, "min": 11.0, "max": 55.0, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 4.5, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 7.2, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330355 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 44.49, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 32.0, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 27.5, \"min\": 11.0, \"max\": 55.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 4.5, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 7.2, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"enc_w\"] * 0.7, p[\"enc_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462ca2b4_1792", "family": "swept", "tier": 0, "seed": 1177330356, "symmetry": "none", "op_count": 1, "ir_hash": "d8b378052e90967b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 31900.0, "surface_area": 8540.0, "principal_moments": [2470000.0, 35200000.0, 36600000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["19.3 \u00d7 13.7 mm rectangular section swept along a curved path, ~80 mm span."], "text": "19.3 \u00d7 13.7 mm rectangular section swept along a curved path, ~80 mm span."}, "params": {"path_w": {"type": "float", "default": 73.18, "min": 36.6, "max": 131.7, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 80, "min": 40.0, "max": 144.0, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_a": {"type": "float", "default": 19.3, "min": 9.7, "max": 34.7, "step": 1.0, "group": "Section", "label": "Section width (mm)"}, "sweep_b": {"type": "float", "default": 13.7, "min": 6.8, "max": 24.7, "step": 1.0, "group": "Section", "label": "Section depth (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330356 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 73.18, \"min\": 36.6, \"max\": 131.7, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 80, \"min\": 40.0, \"max\": 144.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_a\": {\"type\": 'float', \"default\": 19.3, \"min\": 9.7, \"max\": 34.7, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section width (mm)'},\n    \"sweep_b\": {\"type\": 'float', \"default\": 13.7, \"min\": 6.8, \"max\": 24.7, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section depth (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.0752, p[\"path_h\"] * 0.3387), (p[\"path_w\"] * 0.4666, p[\"path_h\"] * 0.6249), (p[\"path_w\"] * 0.8586, p[\"path_h\"] * 0.711), (p[\"path_w\"] * 1.0, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').rect(p[\"sweep_a\"], p[\"sweep_b\"]).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca2b5_1793", "family": "compound", "tier": 2, "seed": 1177330357, "symmetry": "none", "op_count": 4, "ir_hash": "df1d5d510b9e7db7", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 114000.0, "surface_area": 29500.0, "principal_moments": [114000000.0, 144000000.0, 166000000.0], "n_faces": 17, "n_edges": 42, "n_vertices": 28}, "dimensions": {"lines": ["Rectangular body, 110 \u00d7 75 \u00d7 12 mm (W\u00d7D\u00d7H).", "\u00d816 mm circular section attachment, 107.7 mm long, from top face with a \u00d87.7 mm bore.", "Four \u00d84.3 mm holes at the corners, 77 \u00d7 52.5 mm spacing.", "Fillet radius 5.323 mm on vertical edges."], "text": "Rectangular body, 110 \u00d7 75 \u00d7 12 mm (W\u00d7D\u00d7H). \u00d816 mm circular section attachment, 107.7 mm long, from top face with a \u00d87.7 mm bore. Four \u00d84.3 mm holes at the corners, 77 \u00d7 52.5 mm spacing. Fillet radius 5.323 mm on vertical edges."}, "params": {"base_w": {"type": "float", "default": 110, "min": 30.0, "max": 160.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 75.0, "min": 25.0, "max": 160.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_h": {"type": "float", "default": 12.0, "min": 3.0, "max": 30.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "col_d": {"type": "float", "default": 16.0, "min": 6.4, "max": 37.5, "step": 1.0, "group": "Column", "label": "Column diameter (mm)"}, "col_h": {"type": "float", "default": 107.7, "min": 32.3, "max": 323.1, "step": 1.0, "group": "Column", "label": "Column height (mm)"}, "col_bore": {"type": "float", "default": 7.7, "min": 2.0, "max": 11.5, "step": 0.5, "group": "Column", "label": "Column bore diameter (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330357 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 110, \"min\": 30.0, \"max\": 160.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 75.0, \"min\": 25.0, \"max\": 160.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_h\": {\"type\": 'float', \"default\": 12.0, \"min\": 3.0, \"max\": 30.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"col_d\": {\"type\": 'float', \"default\": 16.0, \"min\": 6.4, \"max\": 37.5, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column diameter (mm)'},\n    \"col_h\": {\"type\": 'float', \"default\": 107.7, \"min\": 32.3, \"max\": 323.1, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column height (mm)'},\n    \"col_bore\": {\"type\": 'float', \"default\": 7.7, \"min\": 2.0, \"max\": 11.5, \"step\": 0.5, \"group\": 'Column', \"label\": 'Column bore diameter (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_h\"])\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"col_d\"] / 2).extrude(p[\"col_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"col_bore\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"base_w\"] * 0.7, p[\"base_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"base_w\"], p[\"base_d\"]) * 0.07097823605830586)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca2b6_1794", "family": "bracket", "tier": 1, "seed": 1177330358, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "ef79201b06ea8593", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 45100.0, "surface_area": 17800.0, "principal_moments": [21300000.0, 42400000.0, 48299999.99999999], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["C-channel bracket: base leg 70 mm, vertical leg 54.9 mm, 45.09 mm wide, 6 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."], "text": "C-channel bracket: base leg 70 mm, vertical leg 54.9 mm, 45.09 mm wide, 6 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 70, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 54.9, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 45.09, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 6.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330358 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 70, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 54.9, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 45.09, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca2b7_1795", "family": "block", "tier": 1, "seed": 1177330359, "symmetry": "none", "op_count": 2, "ir_hash": "1ac3df432afe4d67", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 636000.0, "surface_area": 55900.0, "principal_moments": [700000000.0, 808000000.0, 952000000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 90 \u00d7 73.1 \u00d7 100 mm (W\u00d7D\u00d7H).", "Four \u00d88.4 mm holes at the corners, 63 \u00d7 51.17 mm spacing."], "text": "Rectangular body, 90 \u00d7 73.1 \u00d7 100 mm (W\u00d7D\u00d7H). Four \u00d88.4 mm holes at the corners, 63 \u00d7 51.17 mm spacing."}, "params": {"block_w": {"type": "float", "default": 90, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 73.1, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 100.0, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 8.4, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330359 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 90, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 73.1, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 100.0, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca2b8_1796", "family": "block", "tier": 3, "seed": 1177330360, "symmetry": "none", "op_count": 5, "ir_hash": "9e231ee3d77a2901", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 26000.0, "surface_area": 9210.0, "principal_moments": [3260000.0, 8490000.0, 10800000.0], "n_faces": 37, "n_edges": 90, "n_vertices": 56}, "dimensions": {"lines": ["Rectangular body, 35 \u00d7 14.4 \u00d7 53.7 mm (W\u00d7D\u00d7H).", "Five \u00d81.9 mm holes in two staggered rows, 13.1 \u00d7 13.7 mm pitch.", "Boss \u00d818 mm \u00d7 11.7 mm tall on top face with a \u00d88.4 mm bore.", "Fillet radius 1.428 mm on vertical edges (optional, off by default).", "\u00d86.8 mm circular section attachment, 7.3 mm long, from front face with a \u00d82.8 mm bore."], "text": "Rectangular body, 35 \u00d7 14.4 \u00d7 53.7 mm (W\u00d7D\u00d7H). Five \u00d81.9 mm holes in two staggered rows, 13.1 \u00d7 13.7 mm pitch. Boss \u00d818 mm \u00d7 11.7 mm tall on top face with a \u00d88.4 mm bore. Fillet radius 1.428 mm on vertical edges (optional, off by default). \u00d86.8 mm circular section attachment, 7.3 mm long, from front face with a \u00d82.8 mm bore."}, "params": {"block_w": {"type": "float", "default": 35, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 14.4, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 53.7, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 1.9, "min": 2.0, "max": 1.4, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 3, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}, "boss_d": {"type": "float", "default": 18.0, "min": 9.0, "max": 36.0, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 11.7, "min": 4.7, "max": 29.2, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}, "boss_bore_d": {"type": "float", "default": 8.4, "min": 2.0, "max": 12.6, "step": 0.1, "group": "Boss", "label": "Bore diameter (mm)"}, "filleted2": {"type": "bool", "default": false, "group": "Body", "label": "Fillet corners"}, "side_tube_d": {"type": "float", "default": 6.8, "min": 2.7, "max": 17.5, "step": 1.0, "group": "Side Tube", "label": "Side tube diameter (mm)"}, "side_tube_len": {"type": "float", "default": 7.3, "min": 2.2, "max": 20.4, "step": 1.0, "group": "Side Tube", "label": "Side tube length (mm)"}, "side_bore_d": {"type": "float", "default": 2.8, "min": 2.0, "max": 5.1, "step": 0.5, "group": "Side Tube", "label": "Side bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330360 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 35, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 14.4, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 53.7, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 1.9, \"min\": 2.0, \"max\": 1.4, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 3, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n    \"boss_d\": {\"type\": 'float', \"default\": 18.0, \"min\": 9.0, \"max\": 36.0, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 11.7, \"min\": 4.7, \"max\": 29.2, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n    \"boss_bore_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 2.0, \"max\": 12.6, \"step\": 0.1, \"group\": 'Boss', \"label\": 'Bore diameter (mm)'},\n    \"filleted2\": {\"type\": 'bool', \"default\": False, \"group\": 'Body', \"label\": 'Fillet corners'},\n    \"side_tube_d\": {\"type\": 'float', \"default\": 6.8, \"min\": 2.7, \"max\": 17.5, \"step\": 1.0, \"group\": 'Side Tube', \"label\": 'Side tube diameter (mm)'},\n    \"side_tube_len\": {\"type\": 'float', \"default\": 7.3, \"min\": 2.2, \"max\": 20.4, \"step\": 1.0, \"group\": 'Side Tube', \"label\": 'Side tube length (mm)'},\n    \"side_bore_d\": {\"type\": 'float', \"default\": 2.8, \"min\": 2.0, \"max\": 5.1, \"step\": 0.5, \"group\": 'Side Tube', \"label\": 'Side bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 13.1\n    _ssy = 13.7\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .hole(p[\"boss_bore_d\"])\n    )\n    if p[\"filleted2\"]:\n        result = result.edges('|Z').fillet(min(p[\"block_w\"], p[\"block_d\"]) * 0.09916243286357265)\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"side_tube_d\"] / 2).extrude(p[\"side_tube_len\"])\n    )\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"side_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca2b9_1797", "family": "revolved", "tier": 1, "seed": 1177330361, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "efd2790c55cb956f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 15200.0, "surface_area": 5350.0, "principal_moments": [2490000.0, 2490000.0, 4610000.0], "n_faces": 5, "n_edges": 8, "n_vertices": 5}, "dimensions": {"lines": ["Revolved body, \u00d845 mm \u00d7 14.4 mm tall.", "Chamfer 0.7 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d845 mm \u00d7 14.4 mm tall. Chamfer 0.7 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 45, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 14.4, "min": 4.3, "max": 43.2, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "end_chamfer": {"type": "float", "default": 0.7, "min": 0.1, "max": 2.1, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330361 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 45, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 14.4, \"min\": 4.3, \"max\": 43.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.7, \"min\": 0.1, \"max\": 2.1, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca2ba_1798", "family": "bracket", "tier": 2, "seed": 1177330362, "symmetry": "none", "op_count": 1, "ir_hash": "f700ecaad6802bc5", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 7000.0, "surface_area": 3110.0, "principal_moments": [445000.0, 960000.0, 996000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["L-bracket: base leg 28.98 mm, vertical leg 29.3 mm, 18.29 mm wide, 8 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg; 11.9 mm corner gusset."], "text": "L-bracket: base leg 28.98 mm, vertical leg 29.3 mm, 18.29 mm wide, 8 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg; 11.9 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 28.98, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 29.3, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 18.29, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 8.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 7.3, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 11.9, "min": 4.0, "max": 9.1, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330362 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 28.98, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 29.3, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 18.29, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 7.3, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 11.9, \"min\": 4.0, \"max\": 9.1, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462ca2bb_1799", "family": "swept", "tier": 2, "seed": 1177330363, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "cc11f402d0b4be34", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 3510.0, "surface_area": 2200.0, "principal_moments": [136000.0, 1720000.0, 1810000.0], "n_faces": 3, "n_edges": 3, "n_vertices": 2}, "dimensions": {"lines": ["\u00d89.9 mm circular section swept along a curved path, ~70 mm span."], "text": "\u00d89.9 mm circular section swept along a curved path, ~70 mm span."}, "params": {"path_w": {"type": "float", "default": 65, "min": 32.5, "max": 117.0, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 70, "min": 35.0, "max": 126.0, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_d": {"type": "float", "default": 9.9, "min": 5.0, "max": 17.8, "step": 1.0, "group": "Section", "label": "Section diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330363 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 65, \"min\": 32.5, \"max\": 117.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 70, \"min\": 35.0, \"max\": 126.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_d\": {\"type\": 'float', \"default\": 9.9, \"min\": 5.0, \"max\": 17.8, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.2804, p[\"path_h\"] * 0.4974), (p[\"path_w\"] * 0.1907, p[\"path_h\"] * 0.8382), (p[\"path_w\"] * 0.0, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').circle(p[\"sweep_d\"] / 2).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462ca2bc_1800", "family": "flanged", "tier": 1, "seed": 1177330364, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "1c9fa4e50856d8a5", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 56200.0, "surface_area": 17400.0, "principal_moments": [21300000.0, 21300000.0, 30999999.999999996], "n_faces": 18, "n_edges": 45, "n_vertices": 30}, "dimensions": {"lines": ["Revolved body, \u00d837.71 mm \u00d7 33.3 mm tall with \u00d811.7 mm bore, \u00d884.7 mm \u00d7 5.1 mm flange.", "Twelve \u00d83.2 mm holes on a \u00d850.8 mm bolt circle."], "text": "Revolved body, \u00d837.71 mm \u00d7 33.3 mm tall with \u00d811.7 mm bore, \u00d884.7 mm \u00d7 5.1 mm flange. Twelve \u00d83.2 mm holes on a \u00d850.8 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 37.71, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 33.3, "min": 10.0, "max": 83.2, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 11.7, "min": 2.0, "max": 26.4, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 84.7, "min": 49.0, "max": 113.1, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 5.1, "min": 1.5, "max": 13.3, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 25.4, "min": 16.9, "max": 38.1, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 12, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330364 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 37.71, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 33.3, \"min\": 10.0, \"max\": 83.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 11.7, \"min\": 2.0, \"max\": 26.4, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 84.7, \"min\": 49.0, \"max\": 113.1, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 5.1, \"min\": 1.5, \"max\": 13.3, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 25.4, \"min\": 16.9, \"max\": 38.1, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 12, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462ca2bd_1801", "family": "enclosure", "tier": 2, "seed": 1177330365, "symmetry": "none", "op_count": 4, "ir_hash": "597b8fe5259a4d7d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 26100.0, "surface_area": 16400.0, "principal_moments": [6410000.0, 11899999.999999998, 12499999.999999998], "n_faces": 42, "n_edges": 124, "n_vertices": 85}, "dimensions": {"lines": ["Rectangular body, 61.49 \u00d7 35.6 \u00d7 29.8 mm (W\u00d7D\u00d7H).", "Hollowed to 2.9 mm wall thickness, open at top face.", "Four \u00d86.4 mm holes at the corners, 43.043 \u00d7 24.92 mm spacing.", "Fillet radius 4.099 mm on vertical edges."], "text": "Rectangular body, 61.49 \u00d7 35.6 \u00d7 29.8 mm (W\u00d7D\u00d7H). Hollowed to 2.9 mm wall thickness, open at top face. Four \u00d86.4 mm holes at the corners, 43.043 \u00d7 24.92 mm spacing. Fillet radius 4.099 mm on vertical edges."}, "params": {"enc_w": {"type": "float", "default": 61.49, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 35.6, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 29.8, "min": 11.9, "max": 59.6, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 2.9, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 8.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330365 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 61.49, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 35.6, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 29.8, \"min\": 11.9, \"max\": 59.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 2.9, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 8.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"enc_w\"] * 0.7, p[\"enc_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"enc_w\"], p[\"enc_d\"]) * 0.11513366441128353)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca2be_1802", "family": "plate", "tier": 2, "seed": 1177330366, "symmetry": "none", "op_count": 3, "ir_hash": "0056577fe25d34cf", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 72200.0, "surface_area": 19100.0, "principal_moments": [24999999.999999996, 81600000.0, 105000000.0], "n_faces": 17, "n_edges": 45, "n_vertices": 30}, "dimensions": {"lines": ["Rectangular body, 115.94 \u00d7 63.7 \u00d7 10 mm (W\u00d7D\u00d7H).", "Seven \u00d85.3 mm holes in two staggered rows, 29 \u00d7 34.3 mm pitch.", "Fillet radius 3.855 mm on vertical edges."], "text": "Rectangular body, 115.94 \u00d7 63.7 \u00d7 10 mm (W\u00d7D\u00d7H). Seven \u00d85.3 mm holes in two staggered rows, 29 \u00d7 34.3 mm pitch. Fillet radius 3.855 mm on vertical edges."}, "params": {"plate_w": {"type": "float", "default": 115.94, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 63.7, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 6.4, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 4, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330366 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 115.94, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 63.7, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 6.4, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 4, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 29.0\n    _ssy = 34.3\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"plate_w\"], p[\"plate_d\"]) * 0.06051660183998854)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462ca2bf_1803", "family": "gear", "tier": 1, "seed": 1177330367, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "21cf524270289592", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 99600.0, "surface_area": 27500.0, "principal_moments": [83300000.0, 83300000.0, 165000000.0], "n_faces": 231, "n_edges": 687, "n_vertices": 458}, "dimensions": {"lines": ["Spur gear, module 3 mm, 38 teeth (pitch \u00d8114 mm), face width 10 mm, \u00d814.9 mm bore."], "text": "Spur gear, module 3 mm, 38 teeth (pitch \u00d8114 mm), face width 10 mm, \u00d814.9 mm bore."}, "params": {"module": {"type": "float", "default": 3.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 38, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 10.0, "min": 4.0, "max": 25.0, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "bore_d": {"type": "float", "default": 14.9, "min": 2.0, "max": 63.9, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330367 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 3.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 38, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 10.0, \"min\": 4.0, \"max\": 25.0, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 14.9, \"min\": 2.0, \"max\": 63.9, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca2c0_1804", "family": "bracket", "tier": 1, "seed": 1177330368, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "09e487042a568cb1", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 9320.0, "surface_area": 5590.0, "principal_moments": [1400000.0, 2340000.0, 2790000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["L-bracket: base leg 35 mm, vertical leg 37.9 mm, 34.25 mm wide, 4 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."], "text": "L-bracket: base leg 35 mm, vertical leg 37.9 mm, 34.25 mm wide, 4 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 35, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 37.9, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 34.25, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 4.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330368 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 35, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 37.9, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 34.25, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca2c1_1805", "family": "block", "tier": 1, "seed": 1177330369, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "8d86f6083ea952ea", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 396000.0, "surface_area": 56300.0, "principal_moments": [326000000.0, 409000000.0, 577000000.0], "n_faces": 22, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 90 \u00d7 51.1 \u00d7 100 mm (W\u00d7D\u00d7H).", "Four 12.6 mm square holes at the corners, 63 \u00d7 35.77 mm spacing."], "text": "Rectangular body, 90 \u00d7 51.1 \u00d7 100 mm (W\u00d7D\u00d7H). Four 12.6 mm square holes at the corners, 63 \u00d7 35.77 mm spacing."}, "params": {"block_w": {"type": "float", "default": 90, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 51.1, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 100.0, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 12.6, "min": 2.0, "max": 14.9, "step": 0.5, "group": "Holes", "label": "Square hole size (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330369 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 90, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 51.1, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 100.0, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 12.6, \"min\": 2.0, \"max\": 14.9, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Square hole size (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().rect(p[\"hole_d\"], p[\"hole_d\"]).cutThruAll()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca2c2_1806", "family": "revolved", "tier": 0, "seed": 1177330370, "symmetry": "none", "op_count": 1, "ir_hash": "b27a9e267de2301a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 14400.0, "surface_area": 6820.0, "principal_moments": [865000.0, 4480000.0, 4480000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d820 mm \u00d7 68.8 mm tall."], "text": "Revolved body, \u00d820 mm \u00d7 68.8 mm tall."}, "params": {"outer_d": {"type": "float", "default": 20, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 68.8, "min": 20.6, "max": 206.4, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330370 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 20, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 68.8, \"min\": 20.6, \"max\": 206.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca2c3_1807", "family": "revolved", "tier": 1, "seed": 1177330371, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "c0739617b563610e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 1480.0, "surface_area": 1440.0, "principal_moments": [43900.0, 54800.0, 54800.0], "n_faces": 7, "n_edges": 11, "n_vertices": 7}, "dimensions": {"lines": ["Revolved body, \u00d810 mm \u00d7 19 mm tall with \u00d819.7 mm \u00d7 2.2 mm flange.", "Chamfer 0.7 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d810 mm \u00d7 19 mm tall with \u00d819.7 mm \u00d7 2.2 mm flange. Chamfer 0.7 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 10, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 19.0, "min": 5.7, "max": 57.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "flange_d": {"type": "float", "default": 19.7, "min": 12.0, "max": 30.0, "step": 1.0, "group": "Body", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 2.2, "min": 0.7, "max": 9.5, "step": 0.5, "group": "Body", "label": "Flange height (mm)"}, "end_chamfer": {"type": "float", "default": 0.7, "min": 0.1, "max": 2.1, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330371 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 10, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 19.0, \"min\": 5.7, \"max\": 57.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 19.7, \"min\": 12.0, \"max\": 30.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 2.2, \"min\": 0.7, \"max\": 9.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Flange height (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.7, \"min\": 0.1, \"max\": 2.1, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462ca2c4_1808", "family": "ribbed", "tier": 2, "seed": 1177330372, "symmetry": "none", "op_count": 3, "ir_hash": "66f63def10c53d1e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 31400.0, "surface_area": 16400.0, "principal_moments": [9760000.0, 13099999.999999998, 21700000.0], "n_faces": 39, "n_edges": 108, "n_vertices": 72}, "dimensions": {"lines": ["Rectangular body, 70 \u00d7 62.4 \u00d7 4 mm (W\u00d7D\u00d7H).", "Five ribs, 4.9 mm thick, 10.6 mm tall.", "Four \u00d85.3 mm holes at the corners, 49 \u00d7 43.68 mm spacing."], "text": "Rectangular body, 70 \u00d7 62.4 \u00d7 4 mm (W\u00d7D\u00d7H). Five ribs, 4.9 mm thick, 10.6 mm tall. Four \u00d85.3 mm holes at the corners, 49 \u00d7 43.68 mm spacing."}, "params": {"base_w": {"type": "float", "default": 70, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 62.4, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 4.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 5, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 10.6, "min": 4.2, "max": 21.2, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 4.9, "min": 1.0, "max": 12.2, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330372 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 70, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 62.4, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 5, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 10.6, \"min\": 4.2, \"max\": 21.2, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 4.9, \"min\": 1.0, \"max\": 12.2, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"base_w\"] * 0.7, p[\"base_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462ca2c5_1809", "family": "gear", "tier": 1, "seed": 1177330373, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "5067b2150ecfbb4d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 838.0, "surface_area": 864.0, "principal_moments": [13100.0, 13100.0, 19600.0], "n_faces": 81, "n_edges": 237, "n_vertices": 158}, "dimensions": {"lines": ["Spur gear, module 1 mm, 13 teeth (pitch \u00d813 mm), face width 6.9 mm, \u00d83 mm bore."], "text": "Spur gear, module 1 mm, 13 teeth (pitch \u00d813 mm), face width 6.9 mm, \u00d83 mm bore."}, "params": {"module": {"type": "float", "default": 1.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 13, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 6.9, "min": 2.8, "max": 17.2, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "bore_d": {"type": "float", "default": 3.0, "min": 2.0, "max": 6.3, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330373 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 1.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 13, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 6.9, \"min\": 2.8, \"max\": 17.2, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 3.0, \"min\": 2.0, \"max\": 6.3, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462ca2c6_1810", "family": "gear", "tier": 2, "seed": 1177330374, "symmetry": "none", "op_count": 1, "ir_hash": "c0c896be70bc2417", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 49700.0, "surface_area": 11400.0, "principal_moments": [12499999.999999998, 12499999.999999998, 22100000.0], "n_faces": 68, "n_edges": 198, "n_vertices": 132}, "dimensions": {"lines": ["Helical gear, module 4 mm, 13 teeth (pitch \u00d852 mm), face width 19.1 mm, 27.5\u00b0 helix, \u00d87.3 mm bore."], "text": "Helical gear, module 4 mm, 13 teeth (pitch \u00d852 mm), face width 19.1 mm, 27.5\u00b0 helix, \u00d87.3 mm bore."}, "params": {"module": {"type": "float", "default": 4.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 13, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 19.1, "min": 7.6, "max": 47.8, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "helix_angle": {"type": "float", "default": 27.5, "min": 5.0, "max": 40.0, "step": 1.0, "group": "Gear", "label": "Helix angle (deg)"}, "profile_shift": {"type": "float", "default": -0.2, "min": -0.5, "max": 0.7, "step": 0.05, "group": "Gear", "label": "Profile shift"}, "root_fillet": {"type": "float", "default": 0.78, "min": 0.0, "max": 2.0, "step": 0.05, "group": "Gear", "label": "Root fillet (mm)"}, "bore_d": {"type": "float", "default": 7.3, "min": 2.0, "max": 25.2, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330374 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 4.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 13, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 19.1, \"min\": 7.6, \"max\": 47.8, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"helix_angle\": {\"type\": 'float', \"default\": 27.5, \"min\": 5.0, \"max\": 40.0, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Helix angle (deg)'},\n    \"profile_shift\": {\"type\": 'float', \"default\": -0.2, \"min\": -0.5, \"max\": 0.7, \"step\": 0.05, \"group\": 'Gear', \"label\": 'Profile shift'},\n    \"root_fillet\": {\"type\": 'float', \"default\": 0.78, \"min\": 0.0, \"max\": 2.0, \"step\": 0.05, \"group\": 'Gear', \"label\": 'Root fillet (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 7.3, \"min\": 2.0, \"max\": 25.2, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.HelicalGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"], helix_angle=math.radians(p[\"helix_angle\"]), herringbone=False, profile_shift=p[\"profile_shift\"], root_fillet=p[\"root_fillet\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462ca2c7_1811", "family": "lofted", "tier": 0, "seed": 1177330375, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "61b0b981f66d2561", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 12600.0, "surface_area": 3290.0, "principal_moments": [1170000.0, 1170000.0, 1220000.0], "n_faces": 7, "n_edges": 15, "n_vertices": 10}, "dimensions": {"lines": ["Lofted body through 2 sections: 30 \u00d7 30 mm rectangular section \u2192 \u00d815.8 mm circular section."], "text": "Lofted body through 2 sections: 30 \u00d7 30 mm rectangular section \u2192 \u00d815.8 mm circular section."}, "params": {"loft_base": {"type": "float", "default": 30.0, "min": 15.0, "max": 48.0, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 15.8, "min": 6.3, "max": 36.0, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 24.8, "min": 9.9, "max": 49.6, "step": 1.0, "group": "Body", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330375 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 30.0, \"min\": 15.0, \"max\": 48.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 15.8, \"min\": 6.3, \"max\": 36.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 24.8, \"min\": 9.9, \"max\": 49.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .rect(p[\"loft_base\"], p[\"loft_base\"])\n        .workplane(offset=p[\"loft_h\"])\n        .circle(p[\"loft_top\"] / 2)\n        .loft(combine=True)\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca2c8_1812", "family": "plate", "tier": 0, "seed": 1177330376, "symmetry": "none", "op_count": 1, "ir_hash": "35ff3a96de934218", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 78700.0, "surface_area": 17000.0, "principal_moments": [40100000.0, 48399999.99999999, 86500000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 85 \u00d7 77.2 \u00d7 12 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 85 \u00d7 77.2 \u00d7 12 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 85, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 77.2, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330376 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 85, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 77.2, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462ca2c9_1813", "family": "flanged", "tier": 2, "seed": 1177330377, "symmetry": "mirror_xy", "op_count": 3, "ir_hash": "d4ba0c9df4944306", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 156000.0, "surface_area": 34000.0, "principal_moments": [134000000.0, 134000000.0, 247000000.0], "n_faces": 22, "n_edges": 47, "n_vertices": 28}, "dimensions": {"lines": ["Revolved body, \u00d859.35 mm \u00d7 30.9 mm tall with \u00d826.9 mm bore, \u00d8124.5 mm \u00d7 9.5 mm flange.", "Six \u00d85.3 mm holes on a \u00d874.8 mm bolt circle.", "Chamfer 0.5 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d859.35 mm \u00d7 30.9 mm tall with \u00d826.9 mm bore, \u00d8124.5 mm \u00d7 9.5 mm flange. Six \u00d85.3 mm holes on a \u00d874.8 mm bolt circle. Chamfer 0.5 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 59.35, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 30.9, "min": 9.3, "max": 77.2, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 26.9, "min": 2.0, "max": 41.5, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 124.5, "min": 77.2, "max": 178.1, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 9.5, "min": 2.9, "max": 12.4, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 37.4, "min": 24.9, "max": 56.0, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 6, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}, "end_chamfer": {"type": "float", "default": 0.5, "min": 0.1, "max": 2.0, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330377 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 59.35, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 30.9, \"min\": 9.3, \"max\": 77.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 26.9, \"min\": 2.0, \"max\": 41.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 124.5, \"min\": 77.2, \"max\": 178.1, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 9.5, \"min\": 2.9, \"max\": 12.4, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 37.4, \"min\": 24.9, \"max\": 56.0, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.5, \"min\": 0.1, \"max\": 2.0, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca2ca_1814", "family": "block", "tier": 3, "seed": 1177330378, "symmetry": "none", "op_count": 5, "ir_hash": "8eb17b09d72fa436", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 251000.0, "surface_area": 37300.0, "principal_moments": [152000000.0, 195000000.0, 202000000.0], "n_faces": 15, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["Rectangular body, 63.62 \u00d7 53.3 \u00d7 76.8 mm (W\u00d7D\u00d7H).", "Four \u00d88.4 mm holes at the corners, 44.534 \u00d7 37.31 mm spacing.", "Boss \u00d814 mm \u00d7 8 mm tall on top face.", "Fillet radius 4.368 mm on vertical edges (optional, off by default).", "\u00d822.4 mm circular section attachment, 30.9 mm long, from front face with a \u00d89.5 mm bore."], "text": "Rectangular body, 63.62 \u00d7 53.3 \u00d7 76.8 mm (W\u00d7D\u00d7H). Four \u00d88.4 mm holes at the corners, 44.534 \u00d7 37.31 mm spacing. Boss \u00d814 mm \u00d7 8 mm tall on top face. Fillet radius 4.368 mm on vertical edges (optional, off by default). \u00d822.4 mm circular section attachment, 30.9 mm long, from front face with a \u00d89.5 mm bore."}, "params": {"block_w": {"type": "float", "default": 63.62, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 53.3, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 76.8, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 8.4, "min": 2.0, "max": 12.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "boss_d": {"type": "float", "default": 14.0, "min": 7.0, "max": 28.0, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 8.0, "min": 3.2, "max": 20.0, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}, "filleted2": {"type": "bool", "default": false, "group": "Body", "label": "Fillet corners"}, "side_tube_d": {"type": "float", "default": 22.4, "min": 9.0, "max": 31.8, "step": 1.0, "group": "Side Tube", "label": "Side tube diameter (mm)"}, "side_tube_len": {"type": "float", "default": 30.9, "min": 9.3, "max": 67.2, "step": 1.0, "group": "Side Tube", "label": "Side tube length (mm)"}, "side_bore_d": {"type": "float", "default": 9.5, "min": 2.0, "max": 16.8, "step": 0.5, "group": "Side Tube", "label": "Side bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330378 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 63.62, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 53.3, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 76.8, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 2.0, \"max\": 12.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"boss_d\": {\"type\": 'float', \"default\": 14.0, \"min\": 7.0, \"max\": 28.0, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.2, \"max\": 20.0, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n    \"filleted2\": {\"type\": 'bool', \"default\": False, \"group\": 'Body', \"label\": 'Fillet corners'},\n    \"side_tube_d\": {\"type\": 'float', \"default\": 22.4, \"min\": 9.0, \"max\": 31.8, \"step\": 1.0, \"group\": 'Side Tube', \"label\": 'Side tube diameter (mm)'},\n    \"side_tube_len\": {\"type\": 'float', \"default\": 30.9, \"min\": 9.3, \"max\": 67.2, \"step\": 1.0, \"group\": 'Side Tube', \"label\": 'Side tube length (mm)'},\n    \"side_bore_d\": {\"type\": 'float', \"default\": 9.5, \"min\": 2.0, \"max\": 16.8, \"step\": 0.5, \"group\": 'Side Tube', \"label\": 'Side bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    if p[\"filleted2\"]:\n        result = result.edges('|Z').fillet(min(p[\"block_w\"], p[\"block_d\"]) * 0.08194662093979298)\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"side_tube_d\"] / 2).extrude(p[\"side_tube_len\"])\n    )\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"side_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca2cb_1815", "family": "plate", "tier": 0, "seed": 1177330379, "symmetry": "none", "op_count": 1, "ir_hash": "ae4827241fe718ee", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 2980.0, "surface_area": 1940.0, "principal_moments": [117000.0, 308000.0, 417000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 35 \u00d7 21.3 \u00d7 4 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 35 \u00d7 21.3 \u00d7 4 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 35, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 21.3, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 4.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330379 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 35, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 21.3, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 4.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca2cc_1816", "family": "bracket", "tier": 2, "seed": 1177330380, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "a8a13c6114d5db68", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 12300.0, "surface_area": 6220.0, "principal_moments": [1250000.0, 5370000.0, 5390000.0], "n_faces": 18, "n_edges": 48, "n_vertices": 32}, "dimensions": {"lines": ["Z-bracket: base leg 40.24 mm, vertical leg 37.6 mm, top leg 29.6 mm, 25 mm wide, 5 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg; 6.3 mm corner gusset."], "text": "Z-bracket: base leg 40.24 mm, vertical leg 37.6 mm, top leg 29.6 mm, 25 mm wide, 5 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg; 6.3 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 40.24, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 37.6, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 25, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 5.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 29.6, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}, "gusset_t": {"type": "float", "default": 6.3, "min": 2.5, "max": 12.5, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330380 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 40.24, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 37.6, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 25, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 29.6, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 6.3, \"min\": 2.5, \"max\": 12.5, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _tl, _vl) * 0.4 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(0, _vl - _bt).lineTo(-_g, _vl - _bt)\n                    .lineTo(0, _vl - _bt - _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462ca2cd_1817", "family": "threaded", "tier": 0, "seed": 1177330381, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "815c10399441183e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 1980.0, "surface_area": 1840.0, "principal_moments": [13300.0, 386000.0, 386000.0], "n_faces": 390, "n_edges": 1004, "n_vertices": 616}, "dimensions": {"lines": ["M8x1.25 external thread, 48.1 mm long."], "text": "M8x1.25 external thread, 48.1 mm long."}, "params": {"major_d": {"type": "float", "default": 8.0, "min": 4.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Major diameter (mm)"}, "pitch": {"type": "float", "default": 1.25, "min": 0.62, "max": 2.5, "step": 0.05, "group": "Thread", "label": "Pitch (mm)"}, "thread_len": {"type": "float", "default": 48.1, "min": 19.2, "max": 96.2, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330381 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 8.0, \"min\": 4.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Major diameter (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.25, \"min\": 0.62, \"max\": 2.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Pitch (mm)'},\n    \"thread_len\": {\"type\": 'float', \"default\": 48.1, \"min\": 19.2, \"max\": 96.2, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.IsoThread(major_diameter=p[\"major_d\"], pitch=p[\"pitch\"], length=p[\"thread_len\"], external=True, end_finishes=(\"fade\", \"fade\"))\n    _r = _thr.min_radius if hasattr(_thr, 'min_radius') else _thr.root_radius\n    _shank = _bd.Cylinder(radius=_r, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = _shank + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca2ce_1818", "family": "plate", "tier": 1, "seed": 1177330382, "symmetry": "none", "op_count": 2, "ir_hash": "afaec76e4e7e7163", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 4940.0, "surface_area": 2470.0, "principal_moments": [231000.0, 284000.0, 432000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 25 \u00d7 22.1 \u00d7 10 mm (W\u00d7D\u00d7H).", "Four \u00d84.3 mm holes at the corners, 17.5 \u00d7 15.47 mm spacing."], "text": "Rectangular body, 25 \u00d7 22.1 \u00d7 10 mm (W\u00d7D\u00d7H). Four \u00d84.3 mm holes at the corners, 17.5 \u00d7 15.47 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 25, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 22.1, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 5.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330382 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 25, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 22.1, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 5.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca2cf_1819", "family": "revolved", "tier": 0, "seed": 1177330383, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "d8d5767e5588745a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 7890.0, "surface_area": 4420.0, "principal_moments": [343000.0, 1440000.0, 1440000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d817.02 mm \u00d7 52 mm tall."], "text": "Revolved body, \u00d817.02 mm \u00d7 52 mm tall."}, "params": {"outer_d": {"type": "float", "default": 17.02, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 52.0, "min": 15.6, "max": 156.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330383 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 17.02, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 52.0, \"min\": 15.6, \"max\": 156.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462ca2d0_1820", "family": "enclosure", "tier": 1, "seed": 1177330384, "symmetry": "none", "op_count": 2, "ir_hash": "c8896552f3c81f7c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 11600.0, "surface_area": 4530.0, "principal_moments": [1090000.0, 1190000.0, 1790000.0], "n_faces": 11, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 30 \u00d7 15 \u00d7 29.1 mm (W\u00d7D\u00d7H).", "Hollowed to 5.8 mm wall thickness, open at top face."], "text": "Rectangular body, 30 \u00d7 15 \u00d7 29.1 mm (W\u00d7D\u00d7H). Hollowed to 5.8 mm wall thickness, open at top face."}, "params": {"enc_w": {"type": "float", "default": 30.0, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 15.0, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 29.1, "min": 11.6, "max": 58.2, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 5.8, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330384 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 30.0, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 15.0, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 29.1, \"min\": 11.6, \"max\": 58.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 5.8, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca2d1_1821", "family": "bracket", "tier": 1, "seed": 1177330385, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "348091c2c300c6d4", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 12300.0, "surface_area": 5440.0, "principal_moments": [1640000.0, 1850000.0, 2090000.0], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["C-channel bracket: base leg 25.02 mm, vertical leg 25 mm, 33.13 mm wide, 6 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."], "text": "C-channel bracket: base leg 25.02 mm, vertical leg 25 mm, 33.13 mm wide, 6 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 25.02, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 25.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 33.13, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 6.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330385 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 25.02, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 25.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 33.13, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462ca2d2_1822", "family": "enclosure", "tier": 2, "seed": 1177330386, "symmetry": "none", "op_count": 3, "ir_hash": "2fd5bd450bc2f02d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 74400.0, "surface_area": 46300.0, "principal_moments": [61699999.99999999, 118000000.0, 123000000.0], "n_faces": 15, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 100 \u00d7 54.7 \u00d7 61.1 mm (W\u00d7D\u00d7H).", "Hollowed to 3.3 mm wall thickness, open at top face.", "Four \u00d83.2 mm holes at the corners, 70 \u00d7 38.29 mm spacing."], "text": "Rectangular body, 100 \u00d7 54.7 \u00d7 61.1 mm (W\u00d7D\u00d7H). Hollowed to 3.3 mm wall thickness, open at top face. Four \u00d83.2 mm holes at the corners, 70 \u00d7 38.29 mm spacing."}, "params": {"enc_w": {"type": "float", "default": 100, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 54.7, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 61.1, "min": 24.4, "max": 122.2, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 3.3, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 12.3, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330386 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 100, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 54.7, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 61.1, \"min\": 24.4, \"max\": 122.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 3.3, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 12.3, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"enc_w\"] * 0.7, p[\"enc_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca2d4_1824", "family": "compound", "tier": 3, "seed": 1177330388, "symmetry": "none", "op_count": 4, "ir_hash": "bdc9b84176877c07", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 118000.0, "surface_area": 32000.0, "principal_moments": [103000000.0, 125000000.0, 174000000.0], "n_faces": 34, "n_edges": 77, "n_vertices": 46}, "dimensions": {"lines": ["Rectangular body, 95 \u00d7 108 \u00d7 10 mm (W\u00d7D\u00d7H).", "6-sided polygon section, 25.4 mm across corners attachment, 63 mm long, from top face with a \u00d813 mm bore.", "Four \u00d85.3 mm holes at the corners, 66.5 \u00d7 75.6 mm spacing.", "Chamfer 1.6 mm on the >Z or <Z edges."], "text": "Rectangular body, 95 \u00d7 108 \u00d7 10 mm (W\u00d7D\u00d7H). 6-sided polygon section, 25.4 mm across corners attachment, 63 mm long, from top face with a \u00d813 mm bore. Four \u00d85.3 mm holes at the corners, 66.5 \u00d7 75.6 mm spacing. Chamfer 1.6 mm on the >Z or <Z edges."}, "params": {"base_w": {"type": "float", "default": 95, "min": 30.0, "max": 160.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 108.0, "min": 25.0, "max": 160.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_h": {"type": "float", "default": 10.0, "min": 3.0, "max": 30.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "col_sides": {"type": "int", "default": 6, "min": 3, "max": 8, "step": 1, "group": "Column", "label": "Column sides"}, "col_r": {"type": "float", "default": 12.7, "min": 6.3, "max": 23.8, "step": 1.0, "group": "Column", "label": "Column circumradius (mm)"}, "col_h": {"type": "float", "default": 63.0, "min": 18.9, "max": 189.0, "step": 1.0, "group": "Column", "label": "Column height (mm)"}, "col_bore": {"type": "float", "default": 13.0, "min": 2.0, "max": 15.8, "step": 0.5, "group": "Column", "label": "Column bore diameter (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "chamfer_d": {"type": "float", "default": 1.6, "min": 0.5, "max": 3.0, "step": 0.5, "group": "Body", "label": "Chamfer distance (mm)"}, "chamfered": {"type": "bool", "default": true, "group": "Body", "label": "Chamfer edges"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330388 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 95, \"min\": 30.0, \"max\": 160.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 108.0, \"min\": 25.0, \"max\": 160.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_h\": {\"type\": 'float', \"default\": 10.0, \"min\": 3.0, \"max\": 30.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"col_sides\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Column', \"label\": 'Column sides'},\n    \"col_r\": {\"type\": 'float', \"default\": 12.7, \"min\": 6.3, \"max\": 23.8, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column circumradius (mm)'},\n    \"col_h\": {\"type\": 'float', \"default\": 63.0, \"min\": 18.9, \"max\": 189.0, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column height (mm)'},\n    \"col_bore\": {\"type\": 'float', \"default\": 13.0, \"min\": 2.0, \"max\": 15.8, \"step\": 0.5, \"group\": 'Column', \"label\": 'Column bore diameter (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"chamfer_d\": {\"type\": 'float', \"default\": 1.6, \"min\": 0.5, \"max\": 3.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Chamfer distance (mm)'},\n    \"chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Chamfer edges'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_h\"])\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"col_sides\"], p[\"col_r\"] * 2).extrude(p[\"col_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"col_bore\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"base_w\"] * 0.7, p[\"base_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"chamfer_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca2d5_1825", "family": "bracket", "tier": 1, "seed": 1177330389, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "2a904f68708e4c3d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 19600.0, "surface_area": 14200.0, "principal_moments": [7590000.0, 17300000.0, 18100000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["L-bracket: base leg 70 mm, vertical leg 62.8 mm, 50.5 mm wide, 3 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."], "text": "L-bracket: base leg 70 mm, vertical leg 62.8 mm, 50.5 mm wide, 3 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 70, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 62.8, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 50.5, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 3.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330389 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 70, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 62.8, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 50.5, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca2d6_1826", "family": "bracket", "tier": 1, "seed": 1177330390, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "3c3ea164e6bd5e3e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 17600.0, "surface_area": 12900.0, "principal_moments": [6370000.0, 19800000.0, 21900000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["L-bracket: base leg 72.54 mm, vertical leg 84.4 mm, 38.22 mm wide, 3 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."], "text": "L-bracket: base leg 72.54 mm, vertical leg 84.4 mm, 38.22 mm wide, 3 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 72.54, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 84.4, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 38.22, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 3.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330390 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 72.54, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 84.4, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 38.22, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca2d8_1828", "family": "block", "tier": 3, "seed": 1177330392, "symmetry": "none", "op_count": 4, "ir_hash": "5f2f5a7e30310024", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 474000.0, "surface_area": 60000.0, "principal_moments": [427000000.0, 530000000.0, 698000000.0], "n_faces": 24, "n_edges": 63, "n_vertices": 42}, "dimensions": {"lines": ["Rectangular body, 90 \u00d7 59.5 \u00d7 100 mm (W\u00d7D\u00d7H).", "Four 12.6 mm square holes at the corners, 63 \u00d7 41.65 mm spacing.", "Boss \u00d819.1 mm \u00d7 7.9 mm tall on top face.", "Fillet radius 3.802 mm on vertical edges (optional, off by default)."], "text": "Rectangular body, 90 \u00d7 59.5 \u00d7 100 mm (W\u00d7D\u00d7H). Four 12.6 mm square holes at the corners, 63 \u00d7 41.65 mm spacing. Boss \u00d819.1 mm \u00d7 7.9 mm tall on top face. Fillet radius 3.802 mm on vertical edges (optional, off by default)."}, "params": {"block_w": {"type": "float", "default": 90, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 59.5, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 100.0, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 12.6, "min": 2.0, "max": 16.9, "step": 0.5, "group": "Holes", "label": "Square hole size (mm)"}, "boss_d": {"type": "float", "default": 19.1, "min": 9.6, "max": 38.2, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 7.9, "min": 3.2, "max": 19.8, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}, "filleted2": {"type": "bool", "default": false, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330392 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 90, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 59.5, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 100.0, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 12.6, \"min\": 2.0, \"max\": 16.9, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Square hole size (mm)'},\n    \"boss_d\": {\"type\": 'float', \"default\": 19.1, \"min\": 9.6, \"max\": 38.2, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 7.9, \"min\": 3.2, \"max\": 19.8, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n    \"filleted2\": {\"type\": 'bool', \"default\": False, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().rect(p[\"hole_d\"], p[\"hole_d\"]).cutThruAll()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    if p[\"filleted2\"]:\n        result = result.edges('|Z').fillet(min(p[\"block_w\"], p[\"block_d\"]) * 0.06390017475435884)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462ca2d9_1829", "family": "enclosure", "tier": 2, "seed": 1177330393, "symmetry": "none", "op_count": 4, "ir_hash": "0e013ac0468437ff", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 96000.0, "surface_area": 60800.0, "principal_moments": [107000000.0, 167000000.0, 207000000.0], "n_faces": 35, "n_edges": 108, "n_vertices": 72}, "dimensions": {"lines": ["Rectangular body, 109 \u00d7 46.5 \u00d7 88 mm (W\u00d7D\u00d7H).", "Hollowed to 3.2 mm wall thickness, open at top face.", "Four \u00d88.4 mm holes at the corners, 76.3 \u00d7 32.55 mm spacing.", "Fillet radius 2.834 mm on vertical edges."], "text": "Rectangular body, 109 \u00d7 46.5 \u00d7 88 mm (W\u00d7D\u00d7H). Hollowed to 3.2 mm wall thickness, open at top face. Four \u00d88.4 mm holes at the corners, 76.3 \u00d7 32.55 mm spacing. Fillet radius 2.834 mm on vertical edges."}, "params": {"enc_w": {"type": "float", "default": 109.0, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 46.5, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 88.0, "min": 35.2, "max": 176.0, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 3.2, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}, "hole_d": {"type": "float", "default": 8.4, "min": 2.0, "max": 10.5, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330393 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 109.0, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 46.5, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 88.0, \"min\": 35.2, \"max\": 176.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 2.0, \"max\": 10.5, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"enc_w\"] * 0.7, p[\"enc_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"enc_w\"], p[\"enc_d\"]) * 0.06095661386494339)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca2da_1830", "family": "revolved", "tier": 2, "seed": 1177330394, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "4f30dddd1183a7a1", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 271000.0, "surface_area": 39300.0, "principal_moments": [165000000.0, 460000000.0, 460000000.0], "n_faces": 14, "n_edges": 23, "n_vertices": 14}, "dimensions": {"lines": ["Revolved body, \u00d846.21 mm \u00d7 126.3 mm tall with \u00d820.4 mm bore, \u00d880.9 mm \u00d7 29.8 mm flange, 8.48 mm-wide groove 1.76 mm deep.", "Chamfer 1.4 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d846.21 mm \u00d7 126.3 mm tall with \u00d820.4 mm bore, \u00d880.9 mm \u00d7 29.8 mm flange, 8.48 mm-wide groove 1.76 mm deep. Chamfer 1.4 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 46.21, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 126.3, "min": 37.9, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 20.4, "min": 2.0, "max": 32.3, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 80.9, "min": 55.5, "max": 138.6, "step": 1.0, "group": "Body", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 29.8, "min": 8.9, "max": 63.1, "step": 0.5, "group": "Body", "label": "Flange height (mm)"}, "groove_depth": {"type": "float", "default": 1.76, "min": 0.7, "max": 5.28, "step": 0.1, "group": "Body", "label": "Groove depth (mm)"}, "groove_w": {"type": "float", "default": 8.48, "min": 3.39, "max": 25.44, "step": 0.2, "group": "Body", "label": "Groove width (mm)"}, "groove_pos": {"type": "float", "default": 91.6, "min": 18.9, "max": 107.4, "step": 1.0, "group": "Body", "label": "Groove position (mm)"}, "end_chamfer": {"type": "float", "default": 1.4, "min": 0.1, "max": 4.2, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330394 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 46.21, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 126.3, \"min\": 37.9, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 20.4, \"min\": 2.0, \"max\": 32.3, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 80.9, \"min\": 55.5, \"max\": 138.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 29.8, \"min\": 8.9, \"max\": 63.1, \"step\": 0.5, \"group\": 'Body', \"label\": 'Flange height (mm)'},\n    \"groove_depth\": {\"type\": 'float', \"default\": 1.76, \"min\": 0.7, \"max\": 5.28, \"step\": 0.1, \"group\": 'Body', \"label\": 'Groove depth (mm)'},\n    \"groove_w\": {\"type\": 'float', \"default\": 8.48, \"min\": 3.39, \"max\": 25.44, \"step\": 0.2, \"group\": 'Body', \"label\": 'Groove width (mm)'},\n    \"groove_pos\": {\"type\": 'float', \"default\": 91.6, \"min\": 18.9, \"max\": 107.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Groove position (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 1.4, \"min\": 0.1, \"max\": 4.2, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"groove_pos\"] - p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2 - p[\"groove_depth\"], p[\"groove_pos\"] - p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2 - p[\"groove_depth\"], p[\"groove_pos\"] + p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2, p[\"groove_pos\"] + p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca2db_1831", "family": "plate", "tier": 2, "seed": 1177330395, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "855bf250ce5d28c5", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 6740.0, "surface_area": 4310.0, "principal_moments": [463000.0, 1170000.0, 1590000.0], "n_faces": 18, "n_edges": 48, "n_vertices": 32}, "dimensions": {"lines": ["Rectangular body, 50.27 \u00d7 30.7 \u00d7 6 mm (W\u00d7D\u00d7H).", "Four \u00d86.4 mm counterbored holes (\u00d812.8 mm \u00d7 5.1 mm counterbore) at the corners, 35.189 \u00d7 21.49 mm spacing."], "text": "Rectangular body, 50.27 \u00d7 30.7 \u00d7 6 mm (W\u00d7D\u00d7H). Four \u00d86.4 mm counterbored holes (\u00d812.8 mm \u00d7 5.1 mm counterbore) at the corners, 35.189 \u00d7 21.49 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 50.27, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 30.7, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 6.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 6.9, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "cb_d": {"type": "float", "default": 12.8, "min": 9.6, "max": 19.2, "step": 0.5, "group": "Holes", "label": "Counterbore diameter (mm)"}, "cb_depth": {"type": "float", "default": 5.1, "min": 2.5, "max": 10.2, "step": 0.5, "group": "Holes", "label": "Counterbore depth (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330395 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 50.27, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 30.7, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 6.9, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"cb_d\": {\"type\": 'float', \"default\": 12.8, \"min\": 9.6, \"max\": 19.2, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Counterbore diameter (mm)'},\n    \"cb_depth\": {\"type\": 'float', \"default\": 5.1, \"min\": 2.5, \"max\": 10.2, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Counterbore depth (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().cboreHole(p[\"hole_d\"], p[\"cb_d\"], p[\"cb_depth\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca2dc_1832", "family": "bracket", "tier": 2, "seed": 1177330396, "symmetry": "none", "op_count": 1, "ir_hash": "0f5347502f4c5056", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 41000.0, "surface_area": 12600.0, "principal_moments": [12499999.999999998, 19800000.0, 23999999.999999996], "n_faces": 14, "n_edges": 37, "n_vertices": 24}, "dimensions": {"lines": ["L-bracket: base leg 50.95 mm, vertical leg 54.4 mm, 50.42 mm wide, 8 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg; 9.7 mm corner gusset."], "text": "L-bracket: base leg 50.95 mm, vertical leg 54.4 mm, 50.42 mm wide, 8 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg; 9.7 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 50.95, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 54.4, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 50.42, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 8.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 9.7, "min": 4.0, "max": 24.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330396 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 50.95, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 54.4, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 50.42, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 9.7, \"min\": 4.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca2dd_1833", "family": "block", "tier": 2, "seed": 1177330397, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "334d75404318306e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 244000.0, "surface_area": 28700.0, "principal_moments": [111000000.0, 235000000.0, 283000000.0], "n_faces": 14, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 62.88 \u00d7 39.6 \u00d7 100 mm (W\u00d7D\u00d7H).", "Four \u00d83.2 mm holes at the corners, 44.016 \u00d7 27.72 mm spacing.", "Fillet radius 3.882 mm on vertical edges."], "text": "Rectangular body, 62.88 \u00d7 39.6 \u00d7 100 mm (W\u00d7D\u00d7H). Four \u00d83.2 mm holes at the corners, 44.016 \u00d7 27.72 mm spacing. Fillet radius 3.882 mm on vertical edges."}, "params": {"block_w": {"type": "float", "default": 62.88, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 39.6, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 100.0, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 8.9, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330397 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 62.88, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 39.6, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 100.0, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 8.9, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"block_w\"], p[\"block_d\"]) * 0.0980196340076116)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca2de_1834", "family": "block", "tier": 2, "seed": 1177330398, "symmetry": "none", "op_count": 3, "ir_hash": "04e2a6ce40ffae5c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 622000.0, "surface_area": 77000.0, "principal_moments": [887000000.0, 917000000.0, 1010000000.0], "n_faces": 15, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 95.82 \u00d7 83.7 \u00d7 100 mm (W\u00d7D\u00d7H).", "Four \u00d813 mm holes at the corners, 67.074 \u00d7 58.59 mm spacing.", "Pocket 55.7 \u00d7 49.4 mm, 46.3 mm deep, in top face."], "text": "Rectangular body, 95.82 \u00d7 83.7 \u00d7 100 mm (W\u00d7D\u00d7H). Four \u00d813 mm holes at the corners, 67.074 \u00d7 58.59 mm spacing. Pocket 55.7 \u00d7 49.4 mm, 46.3 mm deep, in top face."}, "params": {"block_w": {"type": "float", "default": 95.82, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 83.7, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 100.0, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 13.0, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "pocket_w": {"type": "float", "default": 55.7, "min": 27.9, "max": 76.7, "step": 1.0, "group": "Pocket", "label": "Pocket width (mm)"}, "pocket_d": {"type": "float", "default": 49.4, "min": 24.7, "max": 67.0, "step": 1.0, "group": "Pocket", "label": "Pocket depth (mm)"}, "pocket_h": {"type": "float", "default": 46.3, "min": 18.5, "max": 85.0, "step": 0.5, "group": "Pocket", "label": "Pocket height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330398 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 95.82, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 83.7, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 100.0, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 13.0, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"pocket_w\": {\"type\": 'float', \"default\": 55.7, \"min\": 27.9, \"max\": 76.7, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket width (mm)'},\n    \"pocket_d\": {\"type\": 'float', \"default\": 49.4, \"min\": 24.7, \"max\": 67.0, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket depth (mm)'},\n    \"pocket_h\": {\"type\": 'float', \"default\": 46.3, \"min\": 18.5, \"max\": 85.0, \"step\": 0.5, \"group\": 'Pocket', \"label\": 'Pocket height (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"pocket_w\"], p[\"pocket_d\"])\n        .cutBlind(-p[\"pocket_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca2df_1835", "family": "bracket", "tier": 1, "seed": 1177330399, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "2379daddb49b4fd5", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 19300.0, "surface_area": 7230.0, "principal_moments": [1980000.0, 12699999.999999998, 13399999.999999998], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Z-bracket: base leg 48.18 mm, vertical leg 43.9 mm, top leg 45.1 mm, 20 mm wide, 8 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."], "text": "Z-bracket: base leg 48.18 mm, vertical leg 43.9 mm, top leg 45.1 mm, 20 mm wide, 8 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 48.18, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 43.9, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 20, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 8.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 45.1, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 8.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330399 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 48.18, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 43.9, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 20, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 45.1, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 8.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462ca2e0_1836", "family": "swept", "tier": 0, "seed": 1177330400, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "604d1f66a76b8e2e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 884.0, "surface_area": 3200.0, "principal_moments": [53400.0, 259000.0, 295000.0], "n_faces": 3, "n_edges": 3, "n_vertices": 2}, "dimensions": {"lines": ["\u00d812.7 mm circular section swept along a curved path, ~75 mm span."], "text": "\u00d812.7 mm circular section swept along a curved path, ~75 mm span."}, "params": {"path_w": {"type": "float", "default": 75, "min": 37.5, "max": 135.0, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 40.44, "min": 20.2, "max": 72.8, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_d": {"type": "float", "default": 12.7, "min": 6.3, "max": 22.9, "step": 1.0, "group": "Section", "label": "Section diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330400 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 75, \"min\": 37.5, \"max\": 135.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 40.44, \"min\": 20.2, \"max\": 72.8, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_d\": {\"type\": 'float', \"default\": 12.7, \"min\": 6.3, \"max\": 22.9, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.3884, p[\"path_h\"] * 0.6106), (p[\"path_w\"] * 0.3331, p[\"path_h\"] * 0.7363), (p[\"path_w\"] * 0.7664, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').circle(p[\"sweep_d\"] / 2).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca2e1_1837", "family": "plate", "tier": 0, "seed": 1177330401, "symmetry": "none", "op_count": 1, "ir_hash": "125fab896fcef2f3", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 991.0, "surface_area": 774.0, "principal_moments": [9580.0, 52000.0, 59000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 24.78 \u00d7 10 \u00d7 4 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 24.78 \u00d7 10 \u00d7 4 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 24.78, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 10.0, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 4.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330401 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 24.78, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 10.0, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 4.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca2e2_1838", "family": "bracket", "tier": 1, "seed": 1177330402, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "21f41aba52e73235", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 11400.0, "surface_area": 5510.0, "principal_moments": [1480000.0, 7010000.0, 7920000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["L-bracket: base leg 70.95 mm, vertical leg 46.9 mm, 17.23 mm wide, 6 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."], "text": "L-bracket: base leg 70.95 mm, vertical leg 46.9 mm, 17.23 mm wide, 6 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 70.95, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 46.9, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 17.23, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 6.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 6.9, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330402 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 70.95, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 46.9, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 17.23, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 6.9, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462ca2e4_1840", "family": "enclosure", "tier": 3, "seed": 1177330404, "symmetry": "none", "op_count": 4, "ir_hash": "7301915f897bad97", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 47600.0, "surface_area": 47200.0, "principal_moments": [40700000.0, 74400000.0, 80900000.0], "n_faces": 35, "n_edges": 108, "n_vertices": 72}, "dimensions": {"lines": ["Rectangular body, 100 \u00d7 47.3 \u00d7 69.9 mm (W\u00d7D\u00d7H).", "Hollowed to 2 mm wall thickness, open at top face.", "Four \u00d810.5 mm holes at the corners, 70 \u00d7 33.11 mm spacing.", "Fillet radius 5.656 mm on vertical edges."], "text": "Rectangular body, 100 \u00d7 47.3 \u00d7 69.9 mm (W\u00d7D\u00d7H). Hollowed to 2 mm wall thickness, open at top face. Four \u00d810.5 mm holes at the corners, 70 \u00d7 33.11 mm spacing. Fillet radius 5.656 mm on vertical edges."}, "params": {"enc_w": {"type": "float", "default": 100, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 47.3, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 69.9, "min": 28.0, "max": 139.8, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 2.0, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}, "hole_d": {"type": "float", "default": 10.5, "min": 2.0, "max": 10.6, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330404 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 100, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 47.3, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 69.9, \"min\": 28.0, \"max\": 139.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 2.0, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 10.5, \"min\": 2.0, \"max\": 10.6, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"enc_w\"] * 0.7, p[\"enc_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"enc_w\"], p[\"enc_d\"]) * 0.1195859058935311)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca2e5_1841", "family": "revolved", "tier": 2, "seed": 1177330405, "symmetry": "none", "op_count": 2, "ir_hash": "b9aba7892af4d87c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 284.0, "surface_area": 318.0, "principal_moments": [2400.0, 2400.0, 3550.0], "n_faces": 5, "n_edges": 8, "n_vertices": 5}, "dimensions": {"lines": ["Revolved body, \u00d89.42 mm \u00d7 7 mm tall.", "Chamfer 1.4 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d89.42 mm \u00d7 7 mm tall. Chamfer 1.4 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 9.42, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 7.0, "min": 2.1, "max": 21.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "end_chamfer": {"type": "float", "default": 1.4, "min": 0.1, "max": 4.2, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330405 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 9.42, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 7.0, \"min\": 2.1, \"max\": 21.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 1.4, \"min\": 0.1, \"max\": 4.2, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca2e7_1843", "family": "compound", "tier": 1, "seed": 1177330407, "symmetry": "mirror_xy", "op_count": 3, "ir_hash": "9bd8a99a40e16a49", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 17200.0, "surface_area": 4780.0, "principal_moments": [1460000.0, 2430000.0, 2600000.0], "n_faces": 22, "n_edges": 57, "n_vertices": 37}, "dimensions": {"lines": ["Rectangular body, 35 \u00d7 23.6 \u00d7 21.1 mm (W\u00d7D\u00d7H).", "5-sided polygon section, 6 mm across corners attachment, 4 mm long, from left face with a \u00d82.7 mm bore.", "5-sided polygon section, 6 mm across corners attachment, 4 mm long, from back face with a \u00d82.7 mm bore."], "text": "Rectangular body, 35 \u00d7 23.6 \u00d7 21.1 mm (W\u00d7D\u00d7H). 5-sided polygon section, 6 mm across corners attachment, 4 mm long, from left face with a \u00d82.7 mm bore. 5-sided polygon section, 6 mm across corners attachment, 4 mm long, from back face with a \u00d82.7 mm bore."}, "params": {"block_w": {"type": "float", "default": 35, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body width (mm)"}, "block_d": {"type": "float", "default": 23.6, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body depth (mm)"}, "block_h": {"type": "float", "default": 21.1, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body height (mm)"}, "port_sides": {"type": "int", "default": 5, "min": 3, "max": 8, "step": 1, "group": "Ports", "label": "Ports sides"}, "port_r": {"type": "float", "default": 3.0, "min": 1.5, "max": 4.8, "step": 1.0, "group": "Ports", "label": "Ports circumradius (mm)"}, "port_len": {"type": "float", "default": 4.0, "min": 1.2, "max": 14.6, "step": 1.0, "group": "Ports", "label": "Port boss length (mm)"}, "port_bore": {"type": "float", "default": 2.7, "min": 2.0, "max": 3.5, "step": 0.5, "group": "Ports", "label": "Port bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330407 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 35, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 23.6, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 21.1, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body height (mm)'},\n    \"port_sides\": {\"type\": 'int', \"default\": 5, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Ports', \"label\": 'Ports sides'},\n    \"port_r\": {\"type\": 'float', \"default\": 3.0, \"min\": 1.5, \"max\": 4.8, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Ports circumradius (mm)'},\n    \"port_len\": {\"type\": 'float', \"default\": 4.0, \"min\": 1.2, \"max\": 14.6, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Port boss length (mm)'},\n    \"port_bore\": {\"type\": 'float', \"default\": 2.7, \"min\": 2.0, \"max\": 3.5, \"step\": 0.5, \"group\": 'Ports', \"label\": 'Port bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"port_sides\"], p[\"port_r\"] * 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"port_sides\"], p[\"port_r\"] * 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462ca2e8_1844", "family": "sketched", "tier": 0, "seed": 1177330408, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "73cb2b6fdd82c156", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 31200.0, "surface_area": 6800.0, "principal_moments": [4230000.0, 8340000.0, 11399999.999999998], "n_faces": 7, "n_edges": 15, "n_vertices": 10}, "dimensions": {"lines": ["freeform sketched section (5 segments: 1 straight, 4 curves), ~65.754 \u00d7 45.721 mm, extruded 15 mm thick."], "text": "freeform sketched section (5 segments: 1 straight, 4 curves), ~65.754 \u00d7 45.721 mm, extruded 15 mm thick."}, "params": {"sk_w": {"type": "float", "default": 90.0, "min": 45.0, "max": 162.0, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 65, "min": 32.5, "max": 117.0, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "sk_t": {"type": "float", "default": 15, "min": 6.0, "max": 33.0, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330408 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 90.0, \"min\": 45.0, \"max\": 162.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 65, \"min\": 32.5, \"max\": 117.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"sk_t\": {\"type\": 'float', \"default\": 15, \"min\": 6.0, \"max\": 33.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.4167, p[\"sk_h\"] * 0.1933).bezier([(p[\"sk_w\"] * 0.4167, p[\"sk_h\"] * 0.1933), (p[\"sk_w\"] * 0.3132, p[\"sk_h\"] * 0.2931), (p[\"sk_w\"] * 0.1755, p[\"sk_h\"] * 0.3343)]).spline([(p[\"sk_w\"] * 0.1755, p[\"sk_h\"] * 0.3343), (p[\"sk_w\"] * -0.0864, p[\"sk_h\"] * 0.3126), (p[\"sk_w\"] * -0.3041, p[\"sk_h\"] * 0.1655)]).bezier([(p[\"sk_w\"] * -0.3041, p[\"sk_h\"] * 0.1655), (p[\"sk_w\"] * -0.3506, p[\"sk_h\"] * 0.0279), (p[\"sk_w\"] * -0.3139, p[\"sk_h\"] * -0.1126)]).bezier([(p[\"sk_w\"] * -0.3139, p[\"sk_h\"] * -0.1126), (p[\"sk_w\"] * -0.1233, p[\"sk_h\"] * -0.2927), (p[\"sk_w\"] * 0.1276, p[\"sk_h\"] * -0.3691)]).lineTo(p[\"sk_w\"] * 0.4167, p[\"sk_h\"] * 0.1933).close().extrude(p[\"sk_t\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca2e9_1845", "family": "plate", "tier": 0, "seed": 1177330409, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "18f76132ea80b60f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 9140.0, "surface_area": 3040.0, "principal_moments": [310000.0, 1790000.0, 1880000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 47.01 \u00d7 16.2 \u00d7 12 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 47.01 \u00d7 16.2 \u00d7 12 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 47.01, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 16.2, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330409 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 47.01, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 16.2, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca2eb_1847", "family": "bracket", "tier": 2, "seed": 1177330411, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "9990cfb2a8aaf4cd", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 26900.0, "surface_area": 14600.0, "principal_moments": [8780000.0, 23799999.999999996, 25099999.999999996], "n_faces": 14, "n_edges": 37, "n_vertices": 24}, "dimensions": {"lines": ["L-bracket: base leg 75.68 mm, vertical leg 68.2 mm, 43.08 mm wide, 4 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 5.1 mm corner gusset."], "text": "L-bracket: base leg 75.68 mm, vertical leg 68.2 mm, 43.08 mm wide, 4 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 5.1 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 75.68, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 68.2, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 43.08, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 4.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 5.1, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330411 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 75.68, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 68.2, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 43.08, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 5.1, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462ca2ec_1848", "family": "tapped", "tier": 2, "seed": 1177330412, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "98a7ebbe96ceaba5", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 2680.0, "surface_area": 1480.0, "principal_moments": [82300.0, 103000.0, 103000.0], "n_faces": 172, "n_edges": 468, "n_vertices": 298}, "dimensions": {"lines": ["One M5x0.8 tapped hole in a cylinder."], "text": "One M5x0.8 tapped hole in a cylinder."}, "params": {"major_d": {"type": "float", "default": 5.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 0.8, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 16.7, "min": 6.0, "max": 30.1, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "body_d": {"type": "float", "default": 15.0, "min": 9.0, "max": 24.0, "step": 1.0, "group": "Body", "label": "Outer \u00d8 (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330412 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 0.8, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 16.7, \"min\": 6.0, \"max\": 30.1, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"body_d\": {\"type\": 'float', \"default\": 15.0, \"min\": 9.0, \"max\": 24.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer \u00d8 (mm)'},\n}\n\n\ndef build(p):\n\n    _W = _D = p[\"body_d\"]\n    _H = p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Cylinder(radius=_W / 2, height=_H)\n    _locs = [(0.0, 0.0)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca2ed_1849", "family": "bracket", "tier": 3, "seed": 1177330413, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "10f9ae9c00d0759e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 10100.0, "surface_area": 5300.0, "principal_moments": [1150000.0, 3010000.0, 3220000.0], "n_faces": 15, "n_edges": 41, "n_vertices": 26}, "dimensions": {"lines": ["L-bracket: base leg 42.43 mm, vertical leg 42.8 mm, 24.04 mm wide, 5 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg; 4.5 mm corner gusset."], "text": "L-bracket: base leg 42.43 mm, vertical leg 42.8 mm, 24.04 mm wide, 5 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg; 4.5 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 42.43, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 42.8, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 24.04, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 5.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 9.6, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 4.5, "min": 2.5, "max": 12.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330413 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 42.43, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 42.8, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 24.04, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 9.6, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 4.5, \"min\": 2.5, \"max\": 12.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca2ee_1850", "family": "revolved", "tier": 1, "seed": 1177330414, "symmetry": "none", "op_count": 1, "ir_hash": "ea41b0452c3271d7", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 25700.0, "surface_area": 9470.0, "principal_moments": [3240000.0, 11100000.0, 11100000.0], "n_faces": 6, "n_edges": 9, "n_vertices": 6}, "dimensions": {"lines": ["Revolved body, \u00d823.87 mm \u00d7 61.1 mm tall with \u00d812 mm bore, \u00d839.7 mm \u00d7 6.7 mm flange."], "text": "Revolved body, \u00d823.87 mm \u00d7 61.1 mm tall with \u00d812 mm bore, \u00d839.7 mm \u00d7 6.7 mm flange."}, "params": {"outer_d": {"type": "float", "default": 23.87, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 61.1, "min": 18.3, "max": 183.3, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 12.0, "min": 2.0, "max": 16.7, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 39.7, "min": 28.6, "max": 71.6, "step": 1.0, "group": "Body", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 6.7, "min": 2.0, "max": 30.6, "step": 0.5, "group": "Body", "label": "Flange height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330414 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 23.87, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 61.1, \"min\": 18.3, \"max\": 183.3, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 16.7, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 39.7, \"min\": 28.6, \"max\": 71.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 6.7, \"min\": 2.0, \"max\": 30.6, \"step\": 0.5, \"group\": 'Body', \"label\": 'Flange height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462ca2ef_1851", "family": "ribbed", "tier": 3, "seed": 1177330415, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "99bd2b27ec733c81", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 5740.0, "surface_area": 4050.0, "principal_moments": [370000.0, 675000.0, 924000.0], "n_faces": 38, "n_edges": 92, "n_vertices": 56}, "dimensions": {"lines": ["Rectangular body, 35.3 \u00d7 23.1 \u00d7 4 mm (W\u00d7D\u00d7H).", "Four ribs, 3 mm thick, 7.3 mm tall."], "text": "Rectangular body, 35.3 \u00d7 23.1 \u00d7 4 mm (W\u00d7D\u00d7H). Four ribs, 3 mm thick, 7.3 mm tall."}, "params": {"base_w": {"type": "float", "default": 35.3, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 23.1, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 4.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 4, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 7.3, "min": 2.9, "max": 14.6, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 3.0, "min": 1.0, "max": 7.5, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330415 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 35.3, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 23.1, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 4, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 7.3, \"min\": 2.9, \"max\": 14.6, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 1.0, \"max\": 7.5, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca2f0_1852", "family": "bracket", "tier": 1, "seed": 1177330416, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "cee4a9d76a6fc768", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 13700.0, "surface_area": 10100.0, "principal_moments": [3810000.0, 7510000.0, 8340000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["L-bracket: base leg 55 mm, vertical leg 50.1 mm, 45 mm wide, 3 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."], "text": "L-bracket: base leg 55 mm, vertical leg 50.1 mm, 45 mm wide, 3 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 55, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 50.1, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 45, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 3.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330416 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 55, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 50.1, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 45, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462ca2f1_1853", "family": "swept", "tier": 2, "seed": 1177330417, "symmetry": "none", "op_count": 1, "ir_hash": "4305a289f5de852d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 19400.0, "surface_area": 5960.0, "principal_moments": [683000.0, 15799999.999999998, 15999999.999999998], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["15.7 \u00d7 12.6 mm rectangular section swept along a curved path, ~97.29 mm span."], "text": "15.7 \u00d7 12.6 mm rectangular section swept along a curved path, ~97.29 mm span."}, "params": {"path_w": {"type": "float", "default": 35, "min": 17.5, "max": 63.0, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 97.29, "min": 48.6, "max": 175.1, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_a": {"type": "float", "default": 15.7, "min": 7.8, "max": 28.3, "step": 1.0, "group": "Section", "label": "Section width (mm)"}, "sweep_b": {"type": "float", "default": 12.6, "min": 6.3, "max": 22.7, "step": 1.0, "group": "Section", "label": "Section depth (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330417 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 35, \"min\": 17.5, \"max\": 63.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 97.29, \"min\": 48.6, \"max\": 175.1, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_a\": {\"type\": 'float', \"default\": 15.7, \"min\": 7.8, \"max\": 28.3, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section width (mm)'},\n    \"sweep_b\": {\"type\": 'float', \"default\": 12.6, \"min\": 6.3, \"max\": 22.7, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section depth (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.2299), (p[\"path_w\"] * 0.1075, p[\"path_h\"] * 0.7474), (p[\"path_w\"] * 0.2881, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').rect(p[\"sweep_a\"], p[\"sweep_b\"]).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca2f2_1854", "family": "plate", "tier": 0, "seed": 1177330418, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "31c8762658e212fc", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 12000.0, "surface_area": 3810.0, "principal_moments": [1010000.0, 1710000.0, 2510000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 40 \u00d7 30.1 \u00d7 10 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 40 \u00d7 30.1 \u00d7 10 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 40, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 30.1, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330418 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 40, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 30.1, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca2f4_1856", "family": "block", "tier": 1, "seed": 1177330420, "symmetry": "radial", "op_count": 2, "ir_hash": "7aaee9b914fce176", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 129000.0, "surface_area": 36000.0, "principal_moments": [54299999.99999999, 91699999.99999999, 123000000.0], "n_faces": 24, "n_edges": 66, "n_vertices": 44}, "dimensions": {"lines": ["Rectangular body, 59.86 \u00d7 33.7 \u00d7 86.4 mm (W\u00d7D\u00d7H).", "Twelve \u00d88.4 mm holes on a \u00d836 mm bolt circle."], "text": "Rectangular body, 59.86 \u00d7 33.7 \u00d7 86.4 mm (W\u00d7D\u00d7H). Twelve \u00d88.4 mm holes on a \u00d836 mm bolt circle."}, "params": {"block_w": {"type": "float", "default": 59.86, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 33.7, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 86.4, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "bolt_d": {"type": "float", "default": 8.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 18.0, "min": 12.0, "max": 26.9, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 12, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330420 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 59.86, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 33.7, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 86.4, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 18.0, \"min\": 12.0, \"max\": 26.9, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 12, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462ca2f5_1857", "family": "threaded", "tier": 0, "seed": 1177330421, "symmetry": "none", "op_count": 1, "ir_hash": "fda3eccdb326c04c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 23700.0, "surface_area": 7560.0, "principal_moments": [1470000.0, 8130000.0, 8140000.0], "n_faces": 362, "n_edges": 992, "n_vertices": 632}, "dimensions": {"lines": ["M24x3 external thread, 61.5 mm long."], "text": "M24x3 external thread, 61.5 mm long."}, "params": {"major_d": {"type": "float", "default": 24.0, "min": 4.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Major diameter (mm)"}, "pitch": {"type": "float", "default": 3.0, "min": 1.5, "max": 6.0, "step": 0.05, "group": "Thread", "label": "Pitch (mm)"}, "thread_len": {"type": "float", "default": 61.5, "min": 24.6, "max": 123.0, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330421 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 24.0, \"min\": 4.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Major diameter (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 3.0, \"min\": 1.5, \"max\": 6.0, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Pitch (mm)'},\n    \"thread_len\": {\"type\": 'float', \"default\": 61.5, \"min\": 24.6, \"max\": 123.0, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.IsoThread(major_diameter=p[\"major_d\"], pitch=p[\"pitch\"], length=p[\"thread_len\"], external=True, end_finishes=(\"fade\", \"fade\"))\n    _r = _thr.min_radius if hasattr(_thr, 'min_radius') else _thr.root_radius\n    _shank = _bd.Cylinder(radius=_r, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = _shank + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca2f6_1858", "family": "plate", "tier": 1, "seed": 1177330422, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "64f2272b5625e154", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 13600.0, "surface_area": 8020.0, "principal_moments": [3250000.0, 4750000.0, 7960000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 65 \u00d7 53.7 \u00d7 4 mm (W\u00d7D\u00d7H).", "Four \u00d85.3 mm holes at the corners, 45.5 \u00d7 37.59 mm spacing."], "text": "Rectangular body, 65 \u00d7 53.7 \u00d7 4 mm (W\u00d7D\u00d7H). Four \u00d85.3 mm holes at the corners, 45.5 \u00d7 37.59 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 65, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 53.7, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 4.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 12.1, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330422 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 65, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 53.7, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 4.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 12.1, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca2f7_1859", "family": "block", "tier": 1, "seed": 1177330423, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "df43f9593889a712", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 261000.0, "surface_area": 29800.0, "principal_moments": [140000000.0, 224000000.0, 291000000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 69.36 \u00d7 40.9 \u00d7 92.9 mm (W\u00d7D\u00d7H).", "Four \u00d83.2 mm holes at the corners, 48.552 \u00d7 28.63 mm spacing."], "text": "Rectangular body, 69.36 \u00d7 40.9 \u00d7 92.9 mm (W\u00d7D\u00d7H). Four \u00d83.2 mm holes at the corners, 48.552 \u00d7 28.63 mm spacing."}, "params": {"block_w": {"type": "float", "default": 69.36, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 40.9, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 92.9, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 9.2, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330423 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 69.36, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 40.9, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 92.9, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 9.2, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462ca2f8_1860", "family": "threaded", "tier": 0, "seed": 1177330424, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "93f74ccba60cac84", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 3200.0, "surface_area": 2040.0, "principal_moments": [48500.0, 330000.0, 330000.0], "n_faces": 200, "n_edges": 510, "n_vertices": 312}, "dimensions": {"lines": ["M12x1.75 external thread, 34.1 mm long."], "text": "M12x1.75 external thread, 34.1 mm long."}, "params": {"major_d": {"type": "float", "default": 12.0, "min": 4.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Major diameter (mm)"}, "pitch": {"type": "float", "default": 1.75, "min": 0.88, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Pitch (mm)"}, "thread_len": {"type": "float", "default": 34.1, "min": 13.6, "max": 68.2, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330424 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 12.0, \"min\": 4.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Major diameter (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.75, \"min\": 0.88, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Pitch (mm)'},\n    \"thread_len\": {\"type\": 'float', \"default\": 34.1, \"min\": 13.6, \"max\": 68.2, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.IsoThread(major_diameter=p[\"major_d\"], pitch=p[\"pitch\"], length=p[\"thread_len\"], external=True, end_finishes=(\"fade\", \"fade\"))\n    _r = _thr.min_radius if hasattr(_thr, 'min_radius') else _thr.root_radius\n    _shank = _bd.Cylinder(radius=_r, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = _shank + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca2f9_1861", "family": "compound", "tier": 1, "seed": 1177330425, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "d8f16b371165a0e8", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 36700.0, "surface_area": 6910.0, "principal_moments": [4140000.0, 11799999.999999998, 11799999.999999998], "n_faces": 5, "n_edges": 6, "n_vertices": 4}, "dimensions": {"lines": ["\u00d832.08 mm circular section, extruded 37.8 mm thick.", "\u00d816.6 mm circular section attachment, 28.5 mm long, from top face."], "text": "\u00d832.08 mm circular section, extruded 37.8 mm thick. \u00d816.6 mm circular section attachment, 28.5 mm long, from top face."}, "params": {"shaft_d": {"type": "float", "default": 32.08, "min": 16.0, "max": 57.7, "step": 1.0, "group": "Body", "label": "Shaft diameter (mm)"}, "shaft_len": {"type": "float", "default": 37.8, "min": 15.1, "max": 75.6, "step": 1.0, "group": "Body", "label": "Shaft length (mm)"}, "step_d": {"type": "float", "default": 16.6, "min": 8.3, "max": 28.9, "step": 1.0, "group": "Step", "label": "Step diameter (mm)"}, "step_len": {"type": "float", "default": 28.5, "min": 8.5, "max": 71.2, "step": 1.0, "group": "Step", "label": "Step length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330425 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"shaft_d\": {\"type\": 'float', \"default\": 32.08, \"min\": 16.0, \"max\": 57.7, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft diameter (mm)'},\n    \"shaft_len\": {\"type\": 'float', \"default\": 37.8, \"min\": 15.1, \"max\": 75.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft length (mm)'},\n    \"step_d\": {\"type\": 'float', \"default\": 16.6, \"min\": 8.3, \"max\": 28.9, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step diameter (mm)'},\n    \"step_len\": {\"type\": 'float', \"default\": 28.5, \"min\": 8.5, \"max\": 71.2, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').circle(p[\"shaft_d\"] / 2).extrude(p[\"shaft_len\"]))\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"step_d\"] / 2).extrude(p[\"step_len\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca2fa_1862", "family": "bracket", "tier": 1, "seed": 1177330426, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "bb10bc5d87d5b227", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 27500.0, "surface_area": 11100.0, "principal_moments": [7630000.0, 15499999.999999998, 17300000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["L-bracket: base leg 60 mm, vertical leg 48.8 mm, 45 mm wide, 6 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."], "text": "L-bracket: base leg 60 mm, vertical leg 48.8 mm, 45 mm wide, 6 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 60, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 48.8, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 45, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 6.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330426 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 60, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 48.8, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 45, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462ca2fb_1863", "family": "swept", "tier": 0, "seed": 1177330427, "symmetry": "none", "op_count": 1, "ir_hash": "48c5cf26a8fef250", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 1700.0, "surface_area": 2280.0, "principal_moments": [115000.0, 574000.0, 668000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["10.4 \u00d7 8.5 mm rectangular section swept along a curved path, ~60 mm span."], "text": "10.4 \u00d7 8.5 mm rectangular section swept along a curved path, ~60 mm span."}, "params": {"path_w": {"type": "float", "default": 60, "min": 30.0, "max": 108.0, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 60, "min": 30.0, "max": 108.0, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_a": {"type": "float", "default": 10.4, "min": 5.2, "max": 18.7, "step": 1.0, "group": "Section", "label": "Section width (mm)"}, "sweep_b": {"type": "float", "default": 8.5, "min": 4.2, "max": 15.3, "step": 1.0, "group": "Section", "label": "Section depth (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330427 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 60, \"min\": 30.0, \"max\": 108.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 60, \"min\": 30.0, \"max\": 108.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_a\": {\"type\": 'float', \"default\": 10.4, \"min\": 5.2, \"max\": 18.7, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section width (mm)'},\n    \"sweep_b\": {\"type\": 'float', \"default\": 8.5, \"min\": 4.2, \"max\": 15.3, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section depth (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.4076, p[\"path_h\"] * 0.2487), (p[\"path_w\"] * 0.1974, p[\"path_h\"] * 0.4045), (p[\"path_w\"] * 0.1735, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').rect(p[\"sweep_a\"], p[\"sweep_b\"]).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462ca2fc_1864", "family": "lofted", "tier": 2, "seed": 1177330428, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "35e2042a3eedbd08", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 14700.0, "surface_area": 4240.0, "principal_moments": [1580000.0, 1580000.0, 2170000.0], "n_faces": 9, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["Lofted body through 3 sections: 6-sided polygon section, 40 mm across corners \u2192 \u00d832.1 mm circular section \u2192 \u00d824.3 mm circular section.", "One \u00d811 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 3 sections: 6-sided polygon section, 40 mm across corners \u2192 \u00d832.1 mm circular section \u2192 \u00d824.3 mm circular section. One \u00d811 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 40, "min": 20.0, "max": 64.0, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 24.3, "min": 9.7, "max": 48.0, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 21.1, "min": 8.4, "max": 42.2, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_mid": {"type": "float", "default": 32.1, "min": 12.2, "max": 48.0, "step": 1.0, "group": "Body", "label": "Mid size (mm)"}, "loft_bore_d": {"type": "float", "default": 11.0, "min": 2.0, "max": 19.4, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330428 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 40, \"min\": 20.0, \"max\": 64.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 24.3, \"min\": 9.7, \"max\": 48.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 21.1, \"min\": 8.4, \"max\": 42.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_mid\": {\"type\": 'float', \"default\": 32.1, \"min\": 12.2, \"max\": 48.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Mid size (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 11.0, \"min\": 2.0, \"max\": 19.4, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .polygon(6, p[\"loft_base\"] * 0.5 * 2)\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .circle(p[\"loft_mid\"] / 2)\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .circle(p[\"loft_top\"] / 2)\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462ca2fd_1865", "family": "tapped", "tier": 1, "seed": 1177330429, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "24baa539c9afc9c5", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 84800.0, "surface_area": 18200.0, "principal_moments": [40500000.0, 41400000.0, 78300000.0], "n_faces": 358, "n_edges": 1268, "n_vertices": 912}, "dimensions": {"lines": ["Four M10x1.5 tapped holes in a plate."], "text": "Four M10x1.5 tapped holes in a plate."}, "params": {"major_d": {"type": "float", "default": 10.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 1.5, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 16.0, "min": 12.0, "max": 28.8, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "plate_w": {"type": "float", "default": 75, "min": 45.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 74.2, "min": 44.5, "max": 118.7, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330429 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 10.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.5, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 16.0, \"min\": 12.0, \"max\": 28.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"plate_w\": {\"type\": 'float', \"default\": 75, \"min\": 45.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 74.2, \"min\": 44.5, \"max\": 118.7, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n}\n\n\ndef build(p):\n\n    _W, _D, _H = p[\"plate_w\"], p[\"plate_d\"], p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Box(_W, _D, _H)\n    _sx, _sy = p[\"plate_w\"] * 0.6, p[\"plate_d\"] * 0.6\n    _locs = [(_xx, _yy) for _xx in (-_sx / 2, _sx / 2) for _yy in (-_sy / 2, _sy / 2)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462ca2fe_1866", "family": "enclosure", "tier": 3, "seed": 1177330430, "symmetry": "none", "op_count": 4, "ir_hash": "d39838622ce48bcb", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 7840.0, "surface_area": 5790.0, "principal_moments": [999000.0, 1030000.0, 1470000.0], "n_faces": 27, "n_edges": 84, "n_vertices": 56}, "dimensions": {"lines": ["Rectangular body, 30 \u00d7 29.4 \u00d7 19.5 mm (W\u00d7D\u00d7H).", "Hollowed to 3.9 mm wall thickness, open at top face.", "Four \u00d86.4 mm holes at the corners, 21 \u00d7 20.58 mm spacing.", "Fillet radius 2.035 mm on vertical edges."], "text": "Rectangular body, 30 \u00d7 29.4 \u00d7 19.5 mm (W\u00d7D\u00d7H). Hollowed to 3.9 mm wall thickness, open at top face. Four \u00d86.4 mm holes at the corners, 21 \u00d7 20.58 mm spacing. Fillet radius 2.035 mm on vertical edges."}, "params": {"enc_w": {"type": "float", "default": 30.0, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 29.4, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 19.5, "min": 7.8, "max": 39.0, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 3.9, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 6.6, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330430 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 30.0, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 29.4, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 19.5, \"min\": 7.8, \"max\": 39.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 3.9, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 6.6, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"enc_w\"] * 0.7, p[\"enc_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"enc_w\"], p[\"enc_d\"]) * 0.06920537417476313)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca2ff_1867", "family": "plate", "tier": 1, "seed": 1177330431, "symmetry": "none", "op_count": 2, "ir_hash": "e279f4ea14ed00b9", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 80400.0, "surface_area": 20400.0, "principal_moments": [40600000.0, 74100000.0, 113000000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 105 \u00d7 77.4 \u00d7 10 mm (W\u00d7D\u00d7H).", "Four \u00d85.3 mm holes at the corners, 73.5 \u00d7 54.18 mm spacing."], "text": "Rectangular body, 105 \u00d7 77.4 \u00d7 10 mm (W\u00d7D\u00d7H). Four \u00d85.3 mm holes at the corners, 73.5 \u00d7 54.18 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 105, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 77.4, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330431 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 105, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 77.4, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca300_1868", "family": "plate", "tier": 2, "seed": 1177330432, "symmetry": "none", "op_count": 3, "ir_hash": "d85bb66e6ebbba4e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 22500.0, "surface_area": 7050.0, "principal_moments": [1690000.0, 11999999.999999998, 13299999.999999998], "n_faces": 14, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 80 \u00d7 28.5 \u00d7 10 mm (W\u00d7D\u00d7H).", "Four \u00d83.2 mm holes in a 2\u00d72 grid, 64 \u00d7 22.8 mm pitch.", "Chamfer 0.8 mm on vertical edges."], "text": "Rectangular body, 80 \u00d7 28.5 \u00d7 10 mm (W\u00d7D\u00d7H). Four \u00d83.2 mm holes in a 2\u00d72 grid, 64 \u00d7 22.8 mm pitch. Chamfer 0.8 mm on vertical edges."}, "params": {"plate_w": {"type": "float", "default": 80, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 28.5, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 3.4, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 2, "min": 1, "max": 4, "step": 1, "group": "Holes", "label": "Holes across"}, "hole_ny": {"type": "int", "default": 2, "min": 1, "max": 4, "step": 1, "group": "Holes", "label": "Holes deep"}, "chamfer_d": {"type": "float", "default": 0.8, "min": 0.6, "max": 0.9, "step": 0.5, "group": "Body", "label": "Chamfer distance (mm)"}, "chamfered": {"type": "bool", "default": true, "group": "Body", "label": "Chamfer edges"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330432 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 80, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 28.5, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 3.4, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 2, \"min\": 1, \"max\": 4, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes across'},\n    \"hole_ny\": {\"type\": 'int', \"default\": 2, \"min\": 1, \"max\": 4, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes deep'},\n    \"chamfer_d\": {\"type\": 'float', \"default\": 0.8, \"min\": 0.6, \"max\": 0.9, \"step\": 0.5, \"group\": 'Body', \"label\": 'Chamfer distance (mm)'},\n    \"chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Chamfer edges'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(64.0, 22.8, p[\"hole_nx\"], p[\"hole_ny\"])\n        .hole(p[\"hole_d\"])\n    )\n    if p[\"chamfered\"]:\n        result = result.edges('|Z').chamfer(p[\"chamfer_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca301_1869", "family": "revolved", "tier": 2, "seed": 1177330433, "symmetry": "none", "op_count": 2, "ir_hash": "7f27e84c26eb4778", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 3690.0, "surface_area": 2350.0, "principal_moments": [137000.0, 310000.0, 310000.0], "n_faces": 12, "n_edges": 20, "n_vertices": 12}, "dimensions": {"lines": ["Revolved body, \u00d815.45 mm \u00d7 28 mm tall with \u00d87.9 mm bore, 2.69 mm-wide groove 1.15 mm deep.", "Chamfer 0.8 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d815.45 mm \u00d7 28 mm tall with \u00d87.9 mm bore, 2.69 mm-wide groove 1.15 mm deep. Chamfer 0.8 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 15.45, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 28.0, "min": 8.4, "max": 84.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 7.9, "min": 2.0, "max": 10.8, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "groove_depth": {"type": "float", "default": 1.15, "min": 0.46, "max": 3.45, "step": 0.1, "group": "Body", "label": "Groove depth (mm)"}, "groove_w": {"type": "float", "default": 2.69, "min": 1.08, "max": 8.07, "step": 0.2, "group": "Body", "label": "Groove width (mm)"}, "groove_pos": {"type": "float", "default": 18.4, "min": 4.2, "max": 23.8, "step": 1.0, "group": "Body", "label": "Groove position (mm)"}, "end_chamfer": {"type": "float", "default": 0.8, "min": 0.1, "max": 2.4, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330433 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 15.45, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 28.0, \"min\": 8.4, \"max\": 84.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 7.9, \"min\": 2.0, \"max\": 10.8, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"groove_depth\": {\"type\": 'float', \"default\": 1.15, \"min\": 0.46, \"max\": 3.45, \"step\": 0.1, \"group\": 'Body', \"label\": 'Groove depth (mm)'},\n    \"groove_w\": {\"type\": 'float', \"default\": 2.69, \"min\": 1.08, \"max\": 8.07, \"step\": 0.2, \"group\": 'Body', \"label\": 'Groove width (mm)'},\n    \"groove_pos\": {\"type\": 'float', \"default\": 18.4, \"min\": 4.2, \"max\": 23.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Groove position (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.8, \"min\": 0.1, \"max\": 2.4, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"groove_pos\"] - p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2 - p[\"groove_depth\"], p[\"groove_pos\"] - p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2 - p[\"groove_depth\"], p[\"groove_pos\"] + p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2, p[\"groove_pos\"] + p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca302_1870", "family": "bracket", "tier": 1, "seed": 1177330434, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "2fc7067ba93948de", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 7810.0, "surface_area": 6200.0, "principal_moments": [860000.0, 5970000.0, 6310000.0], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Z-bracket: base leg 50 mm, vertical leg 43.3 mm, top leg 44.4 mm, 20 mm wide, 3 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."], "text": "Z-bracket: base leg 50 mm, vertical leg 43.3 mm, top leg 44.4 mm, 20 mm wide, 3 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 50, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 43.3, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 20, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 3.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 44.4, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 8.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330434 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 50, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 43.3, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 20, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 44.4, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 8.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca303_1871", "family": "compound", "tier": 1, "seed": 1177330435, "symmetry": "none", "op_count": 2, "ir_hash": "eeed8216463d697e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 26100.0, "surface_area": 6210.0, "principal_moments": [3910000.0, 5200000.0, 5230000.0], "n_faces": 9, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["5-sided polygon section, 47.82 mm across corners, extruded 10.4 mm thick.", "\u00d823.5 mm circular section attachment, 27.5 mm long, from top face."], "text": "5-sided polygon section, 47.82 mm across corners, extruded 10.4 mm thick. \u00d823.5 mm circular section attachment, 27.5 mm long, from top face."}, "params": {"base_sides": {"type": "int", "default": 5, "min": 3, "max": 8, "step": 1, "group": "Base", "label": "Base sides"}, "base_r": {"type": "float", "default": 23.91, "min": 14.3, "max": 38.3, "step": 1.0, "group": "Base", "label": "Base circumradius (mm)"}, "base_h": {"type": "float", "default": 10.4, "min": 4.2, "max": 26.0, "step": 1.0, "group": "Base", "label": "Base height (mm)"}, "col_d": {"type": "float", "default": 23.5, "min": 11.8, "max": 30.9, "step": 1.0, "group": "Column", "label": "Column diameter (mm)"}, "col_h": {"type": "float", "default": 27.5, "min": 8.2, "max": 68.8, "step": 1.0, "group": "Column", "label": "Column height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330435 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_sides\": {\"type\": 'int', \"default\": 5, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Base', \"label\": 'Base sides'},\n    \"base_r\": {\"type\": 'float', \"default\": 23.91, \"min\": 14.3, \"max\": 38.3, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base circumradius (mm)'},\n    \"base_h\": {\"type\": 'float', \"default\": 10.4, \"min\": 4.2, \"max\": 26.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base height (mm)'},\n    \"col_d\": {\"type\": 'float', \"default\": 23.5, \"min\": 11.8, \"max\": 30.9, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column diameter (mm)'},\n    \"col_h\": {\"type\": 'float', \"default\": 27.5, \"min\": 8.2, \"max\": 68.8, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').polygon(p[\"base_sides\"], p[\"base_r\"] * 2).extrude(p[\"base_h\"]))\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"col_d\"] / 2).extrude(p[\"col_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462ca304_1872", "family": "gear", "tier": 2, "seed": 1177330436, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "826a7020f3354cbb", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 34300.0, "surface_area": 10600.0, "principal_moments": [9330000.0, 9330000.0, 17900000.0], "n_faces": 147, "n_edges": 435, "n_vertices": 290}, "dimensions": {"lines": ["Helical gear, module 2.5 mm, 24 teeth (pitch \u00d860 mm), face width 11.3 mm, 12.1\u00b0 helix, \u00d811.2 mm bore."], "text": "Helical gear, module 2.5 mm, 24 teeth (pitch \u00d860 mm), face width 11.3 mm, 12.1\u00b0 helix, \u00d811.2 mm bore."}, "params": {"module": {"type": "float", "default": 2.5, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 24, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 11.3, "min": 4.5, "max": 28.2, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "helix_angle": {"type": "float", "default": 12.1, "min": 5.0, "max": 40.0, "step": 1.0, "group": "Gear", "label": "Helix angle (deg)"}, "profile_shift": {"type": "float", "default": 0.43, "min": -0.5, "max": 0.7, "step": 0.05, "group": "Gear", "label": "Profile shift"}, "root_fillet": {"type": "float", "default": 0.38, "min": 0.0, "max": 1.25, "step": 0.05, "group": "Gear", "label": "Root fillet (mm)"}, "bore_d": {"type": "float", "default": 11.2, "min": 2.0, "max": 32.2, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330436 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 2.5, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 24, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 11.3, \"min\": 4.5, \"max\": 28.2, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"helix_angle\": {\"type\": 'float', \"default\": 12.1, \"min\": 5.0, \"max\": 40.0, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Helix angle (deg)'},\n    \"profile_shift\": {\"type\": 'float', \"default\": 0.43, \"min\": -0.5, \"max\": 0.7, \"step\": 0.05, \"group\": 'Gear', \"label\": 'Profile shift'},\n    \"root_fillet\": {\"type\": 'float', \"default\": 0.38, \"min\": 0.0, \"max\": 1.25, \"step\": 0.05, \"group\": 'Gear', \"label\": 'Root fillet (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 11.2, \"min\": 2.0, \"max\": 32.2, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.HelicalGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"], helix_angle=math.radians(p[\"helix_angle\"]), herringbone=False, profile_shift=p[\"profile_shift\"], root_fillet=p[\"root_fillet\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca305_1873", "family": "revolved", "tier": 2, "seed": 1177330437, "symmetry": "none", "op_count": 2, "ir_hash": "eec1d72f1ca16fa1", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 1980.0, "surface_area": 1140.0, "principal_moments": [67100.0, 67100.0, 115000.0], "n_faces": 8, "n_edges": 14, "n_vertices": 8}, "dimensions": {"lines": ["Revolved body, \u00d820 mm \u00d7 7.7 mm tall with \u00d88.2 mm bore.", "Chamfer 0.6 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d820 mm \u00d7 7.7 mm tall with \u00d88.2 mm bore. Chamfer 0.6 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 20, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 7.7, "min": 2.3, "max": 23.1, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 8.2, "min": 2.0, "max": 14.0, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "end_chamfer": {"type": "float", "default": 0.6, "min": 0.1, "max": 1.8, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330437 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 20, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 7.7, \"min\": 2.3, \"max\": 23.1, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 8.2, \"min\": 2.0, \"max\": 14.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.6, \"min\": 0.1, \"max\": 1.8, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462ca306_1874", "family": "sketched", "tier": 0, "seed": 1177330438, "symmetry": "none", "op_count": 1, "ir_hash": "b9867a3d97a6855e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 66700.0, "surface_area": 14000.0, "principal_moments": [15799999.999999998, 23999999.999999996, 23999999.999999996], "n_faces": 9, "n_edges": 16, "n_vertices": 9}, "dimensions": {"lines": ["Revolved organic body from a freeform sketched section (8 segments: 4 straight, 1 arc, 3 curves), ~24.345 \u00d7 50 mm half-silhouette."], "text": "Revolved organic body from a freeform sketched section (8 segments: 4 straight, 1 arc, 3 curves), ~24.345 \u00d7 50 mm half-silhouette."}, "params": {"sk_r": {"type": "float", "default": 30, "min": 15.0, "max": 54.0, "step": 1.0, "group": "Sketch", "label": "Max radius (mm)"}, "sk_h": {"type": "float", "default": 50, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Sketch", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330438 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_r\": {\"type\": 'float', \"default\": 30, \"min\": 15.0, \"max\": 54.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Max radius (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 50, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XZ').moveTo(p[\"sk_r\"] * 0.7512, p[\"sk_h\"] * 0.0).lineTo(p[\"sk_r\"] * 0.8693, p[\"sk_h\"] * 0.1423).lineTo(p[\"sk_r\"] * 0.5839, p[\"sk_h\"] * 0.3238).spline([(p[\"sk_r\"] * 0.5839, p[\"sk_h\"] * 0.3238), (p[\"sk_r\"] * 0.6704, p[\"sk_h\"] * 0.5695), (p[\"sk_r\"] * 0.4397, p[\"sk_h\"] * 0.8151)]).spline([(p[\"sk_r\"] * 0.4397, p[\"sk_h\"] * 0.8151), (p[\"sk_r\"] * 0.4801, p[\"sk_h\"] * 0.8324), (p[\"sk_r\"] * 0.1798, p[\"sk_h\"] * 0.8496)]).spline([(p[\"sk_r\"] * 0.1798, p[\"sk_h\"] * 0.8496), (p[\"sk_r\"] * 0.3333, p[\"sk_h\"] * 0.8518), (p[\"sk_r\"] * 0.6473, p[\"sk_h\"] * 0.854)]).threePointArc((p[\"sk_r\"] * 0.7711, p[\"sk_h\"] * 0.927), (p[\"sk_r\"] * 0.8864, p[\"sk_h\"] * 1.0)).lineTo(p[\"sk_r\"] * 0.0749, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.0749, p[\"sk_h\"] * 0.0).close().revolve())\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca307_1875", "family": "bracket", "tier": 1, "seed": 1177330439, "symmetry": "none", "op_count": 1, "ir_hash": "87dd2e41be169be4", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 12800.0, "surface_area": 4630.0, "principal_moments": [1370000.0, 1980000.0, 2010000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["C-channel bracket: base leg 30 mm, vertical leg 25 mm, 25.06 mm wide, 8 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."], "text": "C-channel bracket: base leg 30 mm, vertical leg 25 mm, 25.06 mm wide, 8 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 30, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 25.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 25.06, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 8.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330439 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 30, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 25.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 25.06, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca308_1876", "family": "bracket", "tier": 1, "seed": 1177330440, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "a7dd41b3f4847d67", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 14200.0, "surface_area": 8600.0, "principal_moments": [3520000.0, 13899999.999999998, 15899999.999999998], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["L-bracket: base leg 85 mm, vertical leg 63.3 mm, 25 mm wide, 4 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."], "text": "L-bracket: base leg 85 mm, vertical leg 63.3 mm, 25 mm wide, 4 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 85, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 63.3, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 25, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 4.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330440 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 85, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 63.3, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 25, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca309_1877", "family": "compound", "tier": 1, "seed": 1177330441, "symmetry": "none", "op_count": 2, "ir_hash": "f5aae38fe0df3e58", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 11000.0, "surface_area": 3090.0, "principal_moments": [475000.0, 1790000.0, 1790000.0], "n_faces": 5, "n_edges": 6, "n_vertices": 4}, "dimensions": {"lines": ["\u00d819.44 mm circular section, extruded 32.7 mm thick.", "\u00d810.1 mm circular section attachment, 15.8 mm long, from top face."], "text": "\u00d819.44 mm circular section, extruded 32.7 mm thick. \u00d810.1 mm circular section attachment, 15.8 mm long, from top face."}, "params": {"shaft_d": {"type": "float", "default": 19.44, "min": 9.7, "max": 35.0, "step": 1.0, "group": "Body", "label": "Shaft diameter (mm)"}, "shaft_len": {"type": "float", "default": 32.7, "min": 13.1, "max": 65.4, "step": 1.0, "group": "Body", "label": "Shaft length (mm)"}, "step_d": {"type": "float", "default": 10.1, "min": 5.0, "max": 17.5, "step": 1.0, "group": "Step", "label": "Step diameter (mm)"}, "step_len": {"type": "float", "default": 15.8, "min": 4.7, "max": 39.5, "step": 1.0, "group": "Step", "label": "Step length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330441 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"shaft_d\": {\"type\": 'float', \"default\": 19.44, \"min\": 9.7, \"max\": 35.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft diameter (mm)'},\n    \"shaft_len\": {\"type\": 'float', \"default\": 32.7, \"min\": 13.1, \"max\": 65.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft length (mm)'},\n    \"step_d\": {\"type\": 'float', \"default\": 10.1, \"min\": 5.0, \"max\": 17.5, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step diameter (mm)'},\n    \"step_len\": {\"type\": 'float', \"default\": 15.8, \"min\": 4.7, \"max\": 39.5, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').circle(p[\"shaft_d\"] / 2).extrude(p[\"shaft_len\"]))\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"step_d\"] / 2).extrude(p[\"step_len\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462ca30a_1878", "family": "threaded", "tier": 2, "seed": 1177330442, "symmetry": "none", "op_count": 1, "ir_hash": "91b28ddda6047e32", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 21800.0, "surface_area": 6190.0, "principal_moments": [2340000.0, 3070000.0, 3080000.0], "n_faces": 70, "n_edges": 172, "n_vertices": 104}, "dimensions": {"lines": ["ACME 1 1/4 external thread, 33 mm long."], "text": "ACME 1 1/4 external thread, 33 mm long."}, "params": {"thread_size": {"type": "enum", "default": "1 1/4", "choices": ["1/4", "5/16", "3/8", "1/2", "5/8", "3/4", "7/8", "1", "1 1/4", "1 1/2"], "group": "Thread", "label": "Size designation"}, "thread_len": {"type": "float", "default": 33.0, "min": 13.2, "max": 66.0, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330442 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"thread_size\": {\"type\": 'enum', \"default\": '1 1/4', \"choices\": ['1/4', '5/16', '3/8', '1/2', '5/8', '3/4', '7/8', '1', '1 1/4', '1 1/2'], \"group\": 'Thread', \"label\": 'Size designation'},\n    \"thread_len\": {\"type\": 'float', \"default\": 33.0, \"min\": 13.2, \"max\": 66.0, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.AcmeThread(size=p[\"thread_size\"], length=p[\"thread_len\"], external=True, end_finishes=(\"fade\", \"fade\"))\n    _r = _thr.min_radius if hasattr(_thr, 'min_radius') else _thr.root_radius\n    _shank = _bd.Cylinder(radius=_r, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = _shank + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca30b_1879", "family": "block", "tier": 3, "seed": 1177330443, "symmetry": "none", "op_count": 5, "ir_hash": "d0f91d705139f52f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 76100.0, "surface_area": 13400.0, "principal_moments": [21100000.0, 23799999.999999996, 34800000.0], "n_faces": 16, "n_edges": 42, "n_vertices": 28}, "dimensions": {"lines": ["Rectangular body, 55 \u00d7 28.3 \u00d7 50.8 mm (W\u00d7D\u00d7H).", "Four \u00d83.2 mm holes at the corners, 38.5 \u00d7 19.81 mm spacing.", "Fillet radius 3.179 mm on vertical edges.", "Fillet radius 1.244 mm on vertical edges (optional, off by default).", "One \u00d86.4 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch on the <X face."], "text": "Rectangular body, 55 \u00d7 28.3 \u00d7 50.8 mm (W\u00d7D\u00d7H). Four \u00d83.2 mm holes at the corners, 38.5 \u00d7 19.81 mm spacing. Fillet radius 3.179 mm on vertical edges. Fillet radius 1.244 mm on vertical edges (optional, off by default). One \u00d86.4 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch on the <X face."}, "params": {"block_w": {"type": "float", "default": 55, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 28.3, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 50.8, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 6.4, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}, "filleted2": {"type": "bool", "default": false, "group": "Body", "label": "Fillet corners"}, "face_hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 11.5, "step": 0.5, "group": "Holes", "label": "Side hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330443 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 55, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 28.3, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 50.8, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 6.4, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n    \"filleted2\": {\"type\": 'bool', \"default\": False, \"group\": 'Body', \"label\": 'Fillet corners'},\n    \"face_hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 11.5, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Side hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"block_w\"], p[\"block_d\"]) * 0.11232313618508288)\n    if p[\"filleted2\"]:\n        result = result.edges('|Z').fillet(min(p[\"block_w\"], p[\"block_d\"]) * 0.04397028511978422)\n    result = (\n        result.faces('<X').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"face_hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462ca30c_1880", "family": "ribbed", "tier": 3, "seed": 1177330444, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "bbfd0b5c2d816161", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 64300.0, "surface_area": 21300.0, "principal_moments": [26599999.999999996, 39800000.0, 62399999.99999999], "n_faces": 26, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 83.16 \u00d7 68.3 \u00d7 8 mm (W\u00d7D\u00d7H).", "Four ribs, 5.4 mm thick, 13.1 mm tall."], "text": "Rectangular body, 83.16 \u00d7 68.3 \u00d7 8 mm (W\u00d7D\u00d7H). Four ribs, 5.4 mm thick, 13.1 mm tall."}, "params": {"base_w": {"type": "float", "default": 83.16, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 68.3, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 8.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 4, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 13.1, "min": 5.2, "max": 26.2, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 5.4, "min": 1.0, "max": 13.5, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330444 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 83.16, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 68.3, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 4, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 13.1, \"min\": 5.2, \"max\": 26.2, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 5.4, \"min\": 1.0, \"max\": 13.5, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462ca30d_1881", "family": "gear", "tier": 1, "seed": 1177330445, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "458366e8dae830c3", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 85100.0, "surface_area": 19400.0, "principal_moments": [39100000.0, 39100000.0, 73400000.0], "n_faces": 99, "n_edges": 291, "n_vertices": 194}, "dimensions": {"lines": ["Spur gear, module 5 mm, 16 teeth (pitch \u00d880 mm), face width 18.2 mm, \u00d817.2 mm bore."], "text": "Spur gear, module 5 mm, 16 teeth (pitch \u00d880 mm), face width 18.2 mm, \u00d817.2 mm bore."}, "params": {"module": {"type": "float", "default": 5.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 16, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 18.2, "min": 7.3, "max": 45.5, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "bore_d": {"type": "float", "default": 17.2, "min": 2.0, "max": 40.5, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330445 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 5.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 16, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 18.2, \"min\": 7.3, \"max\": 45.5, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 17.2, \"min\": 2.0, \"max\": 40.5, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462ca30e_1882", "family": "ribbed", "tier": 1, "seed": 1177330446, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "f76b55704ff7d647", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 33700.0, "surface_area": 16700.0, "principal_moments": [10300000.0, 24199999.999999996, 32599999.999999996], "n_faces": 22, "n_edges": 52, "n_vertices": 32}, "dimensions": {"lines": ["Rectangular body, 85 \u00d7 55.7 \u00d7 6 mm (W\u00d7D\u00d7H).", "Two ribs, 2 mm thick, 19.4 mm tall."], "text": "Rectangular body, 85 \u00d7 55.7 \u00d7 6 mm (W\u00d7D\u00d7H). Two ribs, 2 mm thick, 19.4 mm tall."}, "params": {"base_w": {"type": "float", "default": 85, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 55.7, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 6.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 2, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 19.4, "min": 7.8, "max": 38.8, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 2.0, "min": 1.0, "max": 5.0, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330446 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 85, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 55.7, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 2, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 19.4, \"min\": 7.8, \"max\": 38.8, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 2.0, \"min\": 1.0, \"max\": 5.0, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462ca30f_1883", "family": "gear", "tier": 1, "seed": 1177330447, "symmetry": "none", "op_count": 1, "ir_hash": "e805b802b9ca1c25", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 9340.0, "surface_area": 4460.0, "principal_moments": [978000.0, 978000.0, 1850000.0], "n_faces": 189, "n_edges": 561, "n_vertices": 374}, "dimensions": {"lines": ["Spur gear, module 1.25 mm, 31 teeth (pitch \u00d838.75 mm), face width 8.4 mm, \u00d88.5 mm bore."], "text": "Spur gear, module 1.25 mm, 31 teeth (pitch \u00d838.75 mm), face width 8.4 mm, \u00d88.5 mm bore."}, "params": {"module": {"type": "float", "default": 1.25, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 31, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 8.4, "min": 3.4, "max": 21.0, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "bore_d": {"type": "float", "default": 8.5, "min": 2.0, "max": 21.4, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330447 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 1.25, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 31, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 8.4, \"min\": 3.4, \"max\": 21.0, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 8.5, \"min\": 2.0, \"max\": 21.4, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca310_1884", "family": "bracket", "tier": 1, "seed": 1177330448, "symmetry": "none", "op_count": 1, "ir_hash": "d9c0a4409c59c77d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 12200.0, "surface_area": 6280.0, "principal_moments": [1730000.0, 5980000.0, 6360000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["L-bracket: base leg 60 mm, vertical leg 42.6 mm, 25.46 mm wide, 5 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."], "text": "L-bracket: base leg 60 mm, vertical leg 42.6 mm, 25.46 mm wide, 5 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 60, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 42.6, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 25.46, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 5.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330448 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 60, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 42.6, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 25.46, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca311_1885", "family": "plate", "tier": 0, "seed": 1177330449, "symmetry": "none", "op_count": 1, "ir_hash": "1d77761ecf20a2f2", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 22700.0, "surface_area": 9180.0, "principal_moments": [3060000.0, 17100000.0, 20100000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 95 \u00d7 39.8 \u00d7 6 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 95 \u00d7 39.8 \u00d7 6 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 95, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 39.8, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 6.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330449 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 95, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 39.8, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca312_1886", "family": "compound", "tier": 3, "seed": 1177330450, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "a3be684fa73e89f4", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 8670.0, "surface_area": 4090.0, "principal_moments": [902000.0, 939000.0, 939000.0], "n_faces": 11, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["6-sided polygon section, 33.76 mm across corners, extruded 8.8 mm thick.", "\u00d817 mm circular section attachment, 18.9 mm long, from top face with a \u00d89.9 mm bore."], "text": "6-sided polygon section, 33.76 mm across corners, extruded 8.8 mm thick. \u00d817 mm circular section attachment, 18.9 mm long, from top face with a \u00d89.9 mm bore."}, "params": {"base_sides": {"type": "int", "default": 6, "min": 3, "max": 8, "step": 1, "group": "Base", "label": "Base sides"}, "base_r": {"type": "float", "default": 16.88, "min": 10.1, "max": 27.0, "step": 1.0, "group": "Base", "label": "Base circumradius (mm)"}, "base_h": {"type": "float", "default": 8.8, "min": 3.5, "max": 22.0, "step": 1.0, "group": "Base", "label": "Base height (mm)"}, "col_d": {"type": "float", "default": 17.0, "min": 8.5, "max": 23.4, "step": 1.0, "group": "Column", "label": "Column diameter (mm)"}, "col_h": {"type": "float", "default": 18.9, "min": 5.7, "max": 47.2, "step": 1.0, "group": "Column", "label": "Column height (mm)"}, "col_bore": {"type": "float", "default": 9.9, "min": 2.0, "max": 12.2, "step": 0.5, "group": "Column", "label": "Column bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330450 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_sides\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Base', \"label\": 'Base sides'},\n    \"base_r\": {\"type\": 'float', \"default\": 16.88, \"min\": 10.1, \"max\": 27.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base circumradius (mm)'},\n    \"base_h\": {\"type\": 'float', \"default\": 8.8, \"min\": 3.5, \"max\": 22.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base height (mm)'},\n    \"col_d\": {\"type\": 'float', \"default\": 17.0, \"min\": 8.5, \"max\": 23.4, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column diameter (mm)'},\n    \"col_h\": {\"type\": 'float', \"default\": 18.9, \"min\": 5.7, \"max\": 47.2, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column height (mm)'},\n    \"col_bore\": {\"type\": 'float', \"default\": 9.9, \"min\": 2.0, \"max\": 12.2, \"step\": 0.5, \"group\": 'Column', \"label\": 'Column bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').polygon(p[\"base_sides\"], p[\"base_r\"] * 2).extrude(p[\"base_h\"]))\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"col_d\"] / 2).extrude(p[\"col_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"col_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca313_1887", "family": "plate", "tier": 2, "seed": 1177330451, "symmetry": "mirror_xy", "op_count": 3, "ir_hash": "e9684b619697d399", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 71700.0, "surface_area": 18500.0, "principal_moments": [32199999.999999996, 59099999.99999999, 90100000.0], "n_faces": 14, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 100 \u00d7 73.5 \u00d7 10 mm (W\u00d7D\u00d7H).", "Four \u00d86.4 mm holes at the corners, 70 \u00d7 51.45 mm spacing.", "Chamfer 5 mm on vertical edges."], "text": "Rectangular body, 100 \u00d7 73.5 \u00d7 10 mm (W\u00d7D\u00d7H). Four \u00d86.4 mm holes at the corners, 70 \u00d7 51.45 mm spacing. Chamfer 5 mm on vertical edges."}, "params": {"plate_w": {"type": "float", "default": 100, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 73.5, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "chamfer_d": {"type": "float", "default": 5.0, "min": 2.9, "max": 5.9, "step": 0.5, "group": "Body", "label": "Chamfer distance (mm)"}, "chamfered": {"type": "bool", "default": true, "group": "Body", "label": "Chamfer edges"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330451 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 100, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 73.5, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"chamfer_d\": {\"type\": 'float', \"default\": 5.0, \"min\": 2.9, \"max\": 5.9, \"step\": 0.5, \"group\": 'Body', \"label\": 'Chamfer distance (mm)'},\n    \"chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Chamfer edges'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"chamfered\"]:\n        result = result.edges('|Z').chamfer(p[\"chamfer_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462ca314_1888", "family": "tapped", "tier": 2, "seed": 1177330452, "symmetry": "none", "op_count": 1, "ir_hash": "d5a02265093374ab", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 40900.0, "surface_area": 8870.0, "principal_moments": [8560000.0, 8560000.0, 12699999.999999998], "n_faces": 196, "n_edges": 556, "n_vertices": 362}, "dimensions": {"lines": ["One M16x2 tapped hole in a cylinder."], "text": "One M16x2 tapped hole in a cylinder."}, "params": {"major_d": {"type": "float", "default": 16.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 2.0, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 25.6, "min": 19.2, "max": 46.1, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "body_d": {"type": "float", "default": 47.5, "min": 28.8, "max": 76.0, "step": 1.0, "group": "Body", "label": "Outer \u00d8 (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330452 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 16.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 2.0, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 25.6, \"min\": 19.2, \"max\": 46.1, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"body_d\": {\"type\": 'float', \"default\": 47.5, \"min\": 28.8, \"max\": 76.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer \u00d8 (mm)'},\n}\n\n\ndef build(p):\n\n    _W = _D = p[\"body_d\"]\n    _H = p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Cylinder(radius=_W / 2, height=_H)\n    _locs = [(0.0, 0.0)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462ca315_1889", "family": "threaded", "tier": 3, "seed": 1177330453, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "fafcc22b806004e9", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 17400.0, "surface_area": 6420.0, "principal_moments": [795000.0, 5740000.0, 5740000.0], "n_faces": 568, "n_edges": 1845, "n_vertices": 1279}, "dimensions": {"lines": ["M20x1.5 external thread, 60.8 mm long."], "text": "M20x1.5 external thread, 60.8 mm long."}, "params": {"major_d": {"type": "float", "default": 20.0, "min": 4.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Major diameter (mm)"}, "pitch": {"type": "float", "default": 1.5, "min": 0.75, "max": 3.0, "step": 0.05, "group": "Thread", "label": "Pitch (mm)"}, "thread_len": {"type": "float", "default": 60.8, "min": 24.3, "max": 121.6, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330453 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 20.0, \"min\": 4.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Major diameter (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.5, \"min\": 0.75, \"max\": 3.0, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Pitch (mm)'},\n    \"thread_len\": {\"type\": 'float', \"default\": 60.8, \"min\": 24.3, \"max\": 121.6, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.IsoThread(major_diameter=p[\"major_d\"], pitch=p[\"pitch\"], length=p[\"thread_len\"], external=True, end_finishes=(\"fade\", \"fade\"))\n    _r = _thr.min_radius if hasattr(_thr, 'min_radius') else _thr.root_radius\n    _shank = _bd.Cylinder(radius=_r, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = _shank + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca316_1890", "family": "plate", "tier": 2, "seed": 1177330454, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "7b688ee5112188c6", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 50400.0, "surface_area": 15600.0, "principal_moments": [16399999.999999998, 44100000.0, 59999999.99999999], "n_faces": 14, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 102.52 \u00d7 62.1 \u00d7 8 mm (W\u00d7D\u00d7H).", "Four \u00d84.3 mm holes at the corners, 71.764 \u00d7 43.47 mm spacing.", "Fillet radius 2.808 mm on vertical edges."], "text": "Rectangular body, 102.52 \u00d7 62.1 \u00d7 8 mm (W\u00d7D\u00d7H). Four \u00d84.3 mm holes at the corners, 71.764 \u00d7 43.47 mm spacing. Fillet radius 2.808 mm on vertical edges."}, "params": {"plate_w": {"type": "float", "default": 102.52, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 62.1, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330454 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 102.52, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 62.1, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"plate_w\"], p[\"plate_d\"]) * 0.04521342038444082)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462ca317_1891", "family": "lofted", "tier": 2, "seed": 1177330455, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "8a986f741e9e058a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 24800.0, "surface_area": 6110.0, "principal_moments": [3700000.0, 3700000.0, 4710000.0], "n_faces": 8, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["Lofted body through 3 sections: \u00d845 mm circular section \u2192 30.1 \u00d7 30.1 mm rectangular section \u2192 15.1 \u00d7 15.1 mm rectangular section.", "One \u00d88.7 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 3 sections: \u00d845 mm circular section \u2192 30.1 \u00d7 30.1 mm rectangular section \u2192 15.1 \u00d7 15.1 mm rectangular section. One \u00d88.7 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 45, "min": 22.5, "max": 72.0, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 15.1, "min": 6.0, "max": 54.0, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 29.2, "min": 11.7, "max": 58.4, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_mid": {"type": "float", "default": 30.1, "min": 7.5, "max": 54.0, "step": 1.0, "group": "Body", "label": "Mid size (mm)"}, "loft_bore_d": {"type": "float", "default": 8.7, "min": 2.0, "max": 12.1, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330455 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 45, \"min\": 22.5, \"max\": 72.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 15.1, \"min\": 6.0, \"max\": 54.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 29.2, \"min\": 11.7, \"max\": 58.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_mid\": {\"type\": 'float', \"default\": 30.1, \"min\": 7.5, \"max\": 54.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Mid size (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 8.7, \"min\": 2.0, \"max\": 12.1, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .circle(p[\"loft_base\"] / 2)\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .rect(p[\"loft_mid\"], p[\"loft_mid\"])\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .rect(p[\"loft_top\"], p[\"loft_top\"])\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca318_1892", "family": "bracket", "tier": 2, "seed": 1177330456, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "464dc93a1a3fd3b4", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 39400.0, "surface_area": 21200.0, "principal_moments": [19100000.0, 48799999.99999999, 49899999.99999999], "n_faces": 15, "n_edges": 37, "n_vertices": 24}, "dimensions": {"lines": ["L-bracket: base leg 80.73 mm, vertical leg 85.6 mm, 55 mm wide, 4 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 4.6 mm corner gusset."], "text": "L-bracket: base leg 80.73 mm, vertical leg 85.6 mm, 55 mm wide, 4 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 4.6 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 80.73, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 85.6, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 55, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 4.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 4.6, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330456 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 80.73, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 85.6, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 55, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 4.6, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca319_1893", "family": "plate", "tier": 1, "seed": 1177330457, "symmetry": "none", "op_count": 2, "ir_hash": "383a531e8391c1aa", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 59900.0, "surface_area": 15500.0, "principal_moments": [12599999.999999998, 54999999.99999999, 66099999.99999999], "n_faces": 30, "n_edges": 84, "n_vertices": 56}, "dimensions": {"lines": ["Rectangular body, 105 \u00d7 49.9 \u00d7 12 mm (W\u00d7D\u00d7H).", "Six 6.4 mm square holes in a 3\u00d72 grid, 42 \u00d7 39.9 mm pitch."], "text": "Rectangular body, 105 \u00d7 49.9 \u00d7 12 mm (W\u00d7D\u00d7H). Six 6.4 mm square holes in a 3\u00d72 grid, 42 \u00d7 39.9 mm pitch."}, "params": {"plate_w": {"type": "float", "default": 105, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 49.9, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 7.8, "step": 0.1, "group": "Holes", "label": "Square hole size (mm)"}, "hole_nx": {"type": "int", "default": 3, "min": 1, "max": 4, "step": 1, "group": "Holes", "label": "Holes across"}, "hole_ny": {"type": "int", "default": 2, "min": 1, "max": 4, "step": 1, "group": "Holes", "label": "Holes deep"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330457 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 105, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 49.9, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 7.8, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Square hole size (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 3, \"min\": 1, \"max\": 4, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes across'},\n    \"hole_ny\": {\"type\": 'int', \"default\": 2, \"min\": 1, \"max\": 4, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes deep'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(42.0, 39.9, p[\"hole_nx\"], p[\"hole_ny\"])\n        .rect(p[\"hole_d\"], p[\"hole_d\"]).cutThruAll()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca31a_1894", "family": "block", "tier": 1, "seed": 1177330458, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "a4000182ce76e215", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 25600.0, "surface_area": 7910.0, "principal_moments": [2520000.0, 6140000.0, 7340000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 30 \u00d7 17.9 \u00d7 50.7 mm (W\u00d7D\u00d7H).", "Four \u00d83.2 mm holes at the corners, 21 \u00d7 12.53 mm spacing."], "text": "Rectangular body, 30 \u00d7 17.9 \u00d7 50.7 mm (W\u00d7D\u00d7H). Four \u00d83.2 mm holes at the corners, 21 \u00d7 12.53 mm spacing."}, "params": {"block_w": {"type": "float", "default": 30, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 17.9, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 50.7, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 4.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330458 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 30, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 17.9, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 50.7, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 4.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca31b_1895", "family": "revolved", "tier": 1, "seed": 1177330459, "symmetry": "none", "op_count": 1, "ir_hash": "ef54578240e9c4de", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 114000.0, "surface_area": 26200.0, "principal_moments": [68900000.0, 68900000.0, 125000000.0], "n_faces": 5, "n_edges": 7, "n_vertices": 5}, "dimensions": {"lines": ["Revolved body, \u00d864.76 mm \u00d7 32.7 mm tall with \u00d8104.4 mm \u00d7 8 mm flange."], "text": "Revolved body, \u00d864.76 mm \u00d7 32.7 mm tall with \u00d8104.4 mm \u00d7 8 mm flange."}, "params": {"outer_d": {"type": "float", "default": 64.76, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 32.7, "min": 9.8, "max": 98.1, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "flange_d": {"type": "float", "default": 104.4, "min": 77.7, "max": 194.3, "step": 1.0, "group": "Body", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 8.0, "min": 2.4, "max": 16.4, "step": 0.5, "group": "Body", "label": "Flange height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330459 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 64.76, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 32.7, \"min\": 9.8, \"max\": 98.1, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 104.4, \"min\": 77.7, \"max\": 194.3, \"step\": 1.0, \"group\": 'Body', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.4, \"max\": 16.4, \"step\": 0.5, \"group\": 'Body', \"label\": 'Flange height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462ca31c_1896", "family": "enclosure", "tier": 2, "seed": 1177330460, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "92c1d47ea28b7ad0", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 181000.0, "surface_area": 69300.0, "principal_moments": [249000000.0, 386000000.0, 399000000.0], "n_faces": 15, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 110 \u00d7 71.5 \u00d7 80.7 mm (W\u00d7D\u00d7H).", "Hollowed to 5.4 mm wall thickness, open at top face.", "Four \u00d84.3 mm holes at the corners, 77 \u00d7 50.05 mm spacing."], "text": "Rectangular body, 110 \u00d7 71.5 \u00d7 80.7 mm (W\u00d7D\u00d7H). Hollowed to 5.4 mm wall thickness, open at top face. Four \u00d84.3 mm holes at the corners, 77 \u00d7 50.05 mm spacing."}, "params": {"enc_w": {"type": "float", "default": 110, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 71.5, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 80.7, "min": 32.3, "max": 161.4, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 5.4, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330460 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 110, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 71.5, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 80.7, \"min\": 32.3, \"max\": 161.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 5.4, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"enc_w\"] * 0.7, p[\"enc_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca31d_1897", "family": "plate", "tier": 0, "seed": 1177330461, "symmetry": "none", "op_count": 1, "ir_hash": "0f21892214df3c98", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 29900.0, "surface_area": 11700.0, "principal_moments": [10900000.0, 14299999.999999998, 24999999.999999996], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 75.54 \u00d7 65.9 \u00d7 6 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 75.54 \u00d7 65.9 \u00d7 6 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 75.54, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 65.9, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 6.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330461 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 75.54, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 65.9, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca31e_1898", "family": "revolved", "tier": 2, "seed": 1177330462, "symmetry": "none", "op_count": 2, "ir_hash": "ad54bca6ded1ec28", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 79300.0, "surface_area": 15500.0, "principal_moments": [29699999.999999996, 29699999.999999996, 35900000.0], "n_faces": 5, "n_edges": 8, "n_vertices": 5}, "dimensions": {"lines": ["Revolved body, \u00d855 mm \u00d7 50.2 mm tall.", "Chamfer 1.3 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d855 mm \u00d7 50.2 mm tall. Chamfer 1.3 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 55, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 50.2, "min": 15.1, "max": 150.6, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "end_chamfer": {"type": "float", "default": 1.3, "min": 0.1, "max": 3.9, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330462 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 55, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 50.2, \"min\": 15.1, \"max\": 150.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 1.3, \"min\": 0.1, \"max\": 3.9, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca31f_1899", "family": "revolved", "tier": 1, "seed": 1177330463, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "fcb13427e8c7dbb8", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 208000.0, "surface_area": 35300.0, "principal_moments": [102000000.0, 233000000.0, 233000000.0], "n_faces": 5, "n_edges": 8, "n_vertices": 5}, "dimensions": {"lines": ["Revolved body, \u00d857.21 mm \u00d7 121.5 mm tall.", "Chamfer 0.8 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d857.21 mm \u00d7 121.5 mm tall. Chamfer 0.8 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 57.21, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 121.5, "min": 36.4, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "end_chamfer": {"type": "float", "default": 0.8, "min": 0.1, "max": 2.4, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330463 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 57.21, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 121.5, \"min\": 36.4, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.8, \"min\": 0.1, \"max\": 2.4, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca320_1900", "family": "revolved", "tier": 0, "seed": 1177330464, "symmetry": "none", "op_count": 1, "ir_hash": "8b592c800ab88150", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 262000.0, "surface_area": 45500.0, "principal_moments": [119000000.0, 486000000.0, 486000000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d855 mm \u00d7 165.5 mm tall."], "text": "Revolved body, \u00d855 mm \u00d7 165.5 mm tall."}, "params": {"outer_d": {"type": "float", "default": 55, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 165.5, "min": 49.6, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330464 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 55, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 165.5, \"min\": 49.6, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462ca321_1901", "family": "enclosure", "tier": 1, "seed": 1177330465, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "d658962008c084f4", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 41600.0, "surface_area": 21600.0, "principal_moments": [14999999.999999998, 27699999.999999996, 32099999.999999996], "n_faces": 11, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 69.96 \u00d7 30.1 \u00d7 49.1 mm (W\u00d7D\u00d7H).", "Hollowed to 4 mm wall thickness, open at top face."], "text": "Rectangular body, 69.96 \u00d7 30.1 \u00d7 49.1 mm (W\u00d7D\u00d7H). Hollowed to 4 mm wall thickness, open at top face."}, "params": {"enc_w": {"type": "float", "default": 69.96, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 30.1, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 49.1, "min": 19.6, "max": 98.2, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 4.0, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330465 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 69.96, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 30.1, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 49.1, \"min\": 19.6, \"max\": 98.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462ca322_1902", "family": "tapped", "tier": 1, "seed": 1177330466, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "cfbd5d326a9055cd", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 49900.0, "surface_area": 12900.0, "principal_moments": [14999999.999999998, 20600000.0, 34200000.0], "n_faces": 342, "n_edges": 932, "n_vertices": 592}, "dimensions": {"lines": ["Four M8x1.25 tapped holes in a plate."], "text": "Four M8x1.25 tapped holes in a plate."}, "params": {"major_d": {"type": "float", "default": 8.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 1.25, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 12.8, "min": 9.6, "max": 23.0, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "plate_w": {"type": "float", "default": 69.29, "min": 41.6, "max": 110.9, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 58.7, "min": 35.2, "max": 93.9, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330466 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.25, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 12.8, \"min\": 9.6, \"max\": 23.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"plate_w\": {\"type\": 'float', \"default\": 69.29, \"min\": 41.6, \"max\": 110.9, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 58.7, \"min\": 35.2, \"max\": 93.9, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n}\n\n\ndef build(p):\n\n    _W, _D, _H = p[\"plate_w\"], p[\"plate_d\"], p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Box(_W, _D, _H)\n    _sx, _sy = p[\"plate_w\"] * 0.6, p[\"plate_d\"] * 0.6\n    _locs = [(_xx, _yy) for _xx in (-_sx / 2, _sx / 2) for _yy in (-_sy / 2, _sy / 2)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462ca323_1903", "family": "threaded", "tier": 2, "seed": 1177330467, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "dd0cdaea4b1337e2", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 45000.0, "surface_area": 10400.0, "principal_moments": [6960000.0, 11699999.999999998, 11699999.999999998], "n_faces": 80, "n_edges": 198, "n_vertices": 120}, "dimensions": {"lines": ["ACME 1 1/2 external thread, 47.6 mm long."], "text": "ACME 1 1/2 external thread, 47.6 mm long."}, "params": {"thread_size": {"type": "enum", "default": "1 1/2", "choices": ["1/4", "5/16", "3/8", "1/2", "5/8", "3/4", "7/8", "1", "1 1/4", "1 1/2"], "group": "Thread", "label": "Size designation"}, "thread_len": {"type": "float", "default": 47.6, "min": 19.0, "max": 95.2, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330467 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"thread_size\": {\"type\": 'enum', \"default\": '1 1/2', \"choices\": ['1/4', '5/16', '3/8', '1/2', '5/8', '3/4', '7/8', '1', '1 1/4', '1 1/2'], \"group\": 'Thread', \"label\": 'Size designation'},\n    \"thread_len\": {\"type\": 'float', \"default\": 47.6, \"min\": 19.0, \"max\": 95.2, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.AcmeThread(size=p[\"thread_size\"], length=p[\"thread_len\"], external=True, end_finishes=(\"fade\", \"fade\"))\n    _r = _thr.min_radius if hasattr(_thr, 'min_radius') else _thr.root_radius\n    _shank = _bd.Cylinder(radius=_r, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = _shank + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca324_1904", "family": "compound", "tier": 1, "seed": 1177330468, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "60b2c59abffccbe0", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 33900.0, "surface_area": 6970.0, "principal_moments": [4960000.0, 6710000.0, 6980000.0], "n_faces": 9, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["Rectangular body, 28.77 \u00d7 38.8 \u00d7 30.4 mm (W\u00d7D\u00d7H).", "\u00d87.5 mm circular section attachment, 7.5 mm long, from front face with a \u00d83.2 mm bore."], "text": "Rectangular body, 28.77 \u00d7 38.8 \u00d7 30.4 mm (W\u00d7D\u00d7H). \u00d87.5 mm circular section attachment, 7.5 mm long, from front face with a \u00d83.2 mm bore."}, "params": {"block_w": {"type": "float", "default": 28.77, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 38.8, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 30.4, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "spig_d": {"type": "float", "default": 7.5, "min": 3.0, "max": 20.1, "step": 1.0, "group": "Spigot", "label": "Spigot diameter (mm)"}, "spig_len": {"type": "float", "default": 7.5, "min": 2.2, "max": 30.0, "step": 1.0, "group": "Spigot", "label": "Spigot length (mm)"}, "spig_bore": {"type": "float", "default": 3.2, "min": 2.0, "max": 5.4, "step": 0.5, "group": "Spigot", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330468 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 28.77, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 38.8, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 30.4, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"spig_d\": {\"type\": 'float', \"default\": 7.5, \"min\": 3.0, \"max\": 20.1, \"step\": 1.0, \"group\": 'Spigot', \"label\": 'Spigot diameter (mm)'},\n    \"spig_len\": {\"type\": 'float', \"default\": 7.5, \"min\": 2.2, \"max\": 30.0, \"step\": 1.0, \"group\": 'Spigot', \"label\": 'Spigot length (mm)'},\n    \"spig_bore\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 5.4, \"step\": 0.5, \"group\": 'Spigot', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"spig_d\"] / 2).extrude(p[\"spig_len\"])\n    )\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"spig_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462ca325_1905", "family": "swept", "tier": 1, "seed": 1177330469, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "b6023466b9faab0f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 31500.0, "surface_area": 8140.0, "principal_moments": [3960000.0, 30099999.999999996, 32899999.999999996], "n_faces": 3, "n_edges": 3, "n_vertices": 2}, "dimensions": {"lines": ["\u00d817.2 mm circular section swept along a curved path, ~105.01 mm span."], "text": "\u00d817.2 mm circular section swept along a curved path, ~105.01 mm span."}, "params": {"path_w": {"type": "float", "default": 60, "min": 30.0, "max": 108.0, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 105.01, "min": 52.5, "max": 189.0, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_d": {"type": "float", "default": 17.2, "min": 8.6, "max": 31.0, "step": 1.0, "group": "Section", "label": "Section diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330469 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 60, \"min\": 30.0, \"max\": 108.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 105.01, \"min\": 52.5, \"max\": 189.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_d\": {\"type\": 'float', \"default\": 17.2, \"min\": 8.6, \"max\": 31.0, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.2515, p[\"path_h\"] * 0.2623), (p[\"path_w\"] * 0.2936, p[\"path_h\"] * 0.5555), (p[\"path_w\"] * 0.1892, p[\"path_h\"] * 0.5825), (p[\"path_w\"] * 0.6008, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').circle(p[\"sweep_d\"] / 2).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462ca326_1906", "family": "swept", "tier": 2, "seed": 1177330470, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "324c8ee33d748a33", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 6190.0, "surface_area": 2700.0, "principal_moments": [153000.0, 1740000.0, 1830000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["13 \u00d7 8.3 mm rectangular section swept along a curved path, ~57.31 mm span."], "text": "13 \u00d7 8.3 mm rectangular section swept along a curved path, ~57.31 mm span."}, "params": {"path_w": {"type": "float", "default": 50, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 57.31, "min": 28.7, "max": 103.2, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_a": {"type": "float", "default": 13.0, "min": 6.5, "max": 23.4, "step": 1.0, "group": "Section", "label": "Section width (mm)"}, "sweep_b": {"type": "float", "default": 8.3, "min": 4.2, "max": 14.9, "step": 1.0, "group": "Section", "label": "Section depth (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330470 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 50, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 57.31, \"min\": 28.7, \"max\": 103.2, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_a\": {\"type\": 'float', \"default\": 13.0, \"min\": 6.5, \"max\": 23.4, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section width (mm)'},\n    \"sweep_b\": {\"type\": 'float', \"default\": 8.3, \"min\": 4.2, \"max\": 14.9, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section depth (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.2361), (p[\"path_w\"] * 0.075, p[\"path_h\"] * 0.8185), (p[\"path_w\"] * 0.0213, p[\"path_h\"] * 0.8938), (p[\"path_w\"] * 0.0, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').rect(p[\"sweep_a\"], p[\"sweep_b\"]).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca327_1907", "family": "bracket", "tier": 1, "seed": 1177330471, "symmetry": "none", "op_count": 1, "ir_hash": "2c92a0da748e7cbe", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 12700.0, "surface_area": 6370.0, "principal_moments": [1800000.0, 2480000.0, 2790000.0], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["C-channel bracket: base leg 25 mm, vertical leg 25 mm, 40 mm wide, 5 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."], "text": "C-channel bracket: base leg 25 mm, vertical leg 25 mm, 40 mm wide, 5 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 25.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 25.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 40, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 5.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330471 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 25.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 25.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 40, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462ca328_1908", "family": "swept", "tier": 2, "seed": 1177330472, "symmetry": "none", "op_count": 1, "ir_hash": "9f7c94bc28c7e449", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 19000.0, "surface_area": 7680.0, "principal_moments": [5380000.0, 10000000.0, 14899999.999999998], "n_faces": 3, "n_edges": 3, "n_vertices": 2}, "dimensions": {"lines": ["\u00d815 mm circular section swept along a curved path, ~80.57 mm span."], "text": "\u00d815 mm circular section swept along a curved path, ~80.57 mm span."}, "params": {"path_w": {"type": "float", "default": 55, "min": 27.5, "max": 99.0, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 80.57, "min": 40.3, "max": 145.0, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_d": {"type": "float", "default": 15.0, "min": 7.5, "max": 27.0, "step": 1.0, "group": "Section", "label": "Section diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330472 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 55, \"min\": 27.5, \"max\": 99.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 80.57, \"min\": 40.3, \"max\": 145.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_d\": {\"type\": 'float', \"default\": 15.0, \"min\": 7.5, \"max\": 27.0, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.2287), (p[\"path_w\"] * 0.2978, p[\"path_h\"] * 0.2907), (p[\"path_w\"] * 0.1015, p[\"path_h\"] * 0.3098), (p[\"path_w\"] * 0.3658, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').circle(p[\"sweep_d\"] / 2).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462ca329_1909", "family": "flanged", "tier": 2, "seed": 1177330473, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "f17e702adc010f5b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 21000.0, "surface_area": 10300.0, "principal_moments": [4920000.0, 4920000.0, 5370000.0], "n_faces": 14, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["Revolved body, \u00d828.86 mm \u00d7 32.2 mm tall with \u00d814.6 mm bore, \u00d862.4 mm \u00d7 2.5 mm flange.", "Eight \u00d86.4 mm holes on a \u00d837.4 mm bolt circle."], "text": "Revolved body, \u00d828.86 mm \u00d7 32.2 mm tall with \u00d814.6 mm bore, \u00d862.4 mm \u00d7 2.5 mm flange. Eight \u00d86.4 mm holes on a \u00d837.4 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 28.86, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 32.2, "min": 9.7, "max": 80.5, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 14.6, "min": 2.0, "max": 20.2, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 62.4, "min": 37.5, "max": 86.6, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 2.5, "min": 0.8, "max": 12.9, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 18.7, "min": 12.5, "max": 28.1, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 8, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330473 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 28.86, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 32.2, \"min\": 9.7, \"max\": 80.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 14.6, \"min\": 2.0, \"max\": 20.2, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 62.4, \"min\": 37.5, \"max\": 86.6, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 2.5, \"min\": 0.8, \"max\": 12.9, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 18.7, \"min\": 12.5, \"max\": 28.1, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca32a_1910", "family": "revolved", "tier": 0, "seed": 1177330474, "symmetry": "none", "op_count": 1, "ir_hash": "fdb7291db2ead31b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 17500.0, "surface_area": 6830.0, "principal_moments": [4090000.0, 4090000.0, 7910000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d854.89 mm \u00d7 11.1 mm tall."], "text": "Revolved body, \u00d854.89 mm \u00d7 11.1 mm tall."}, "params": {"outer_d": {"type": "float", "default": 54.89, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 11.1, "min": 3.3, "max": 33.3, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330474 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 54.89, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 11.1, \"min\": 3.3, \"max\": 33.3, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca32b_1911", "family": "bracket", "tier": 2, "seed": 1177330475, "symmetry": "none", "op_count": 1, "ir_hash": "2ce1b436b489b583", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 28400.0, "surface_area": 20100.0, "principal_moments": [13299999.999999998, 33199999.999999996, 33499999.999999996], "n_faces": 15, "n_edges": 44, "n_vertices": 27}, "dimensions": {"lines": ["L-bracket: base leg 81.15 mm, vertical leg 78.4 mm, 55 mm wide, 3 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 3.2 mm corner gusset."], "text": "L-bracket: base leg 81.15 mm, vertical leg 78.4 mm, 55 mm wide, 3 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 3.2 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 81.15, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 78.4, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 55, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 3.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 3.2, "min": 1.5, "max": 9.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330475 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 81.15, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 78.4, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 55, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 3.2, \"min\": 1.5, \"max\": 9.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca32c_1912", "family": "block", "tier": 2, "seed": 1177330476, "symmetry": "none", "op_count": 3, "ir_hash": "de14579e63d7457b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 161000.0, "surface_area": 33200.0, "principal_moments": [73100000.0, 119000000.0, 158000000.0], "n_faces": 27, "n_edges": 72, "n_vertices": 48}, "dimensions": {"lines": ["Rectangular body, 84.73 \u00d7 34.8 \u00d7 68 mm (W\u00d7D\u00d7H).", "Four 7.7 mm square holes at the corners, 59.311 \u00d7 24.36 mm spacing.", "Pocket 44.5 \u00d7 22.8 mm, 23.4 mm deep, in top face."], "text": "Rectangular body, 84.73 \u00d7 34.8 \u00d7 68 mm (W\u00d7D\u00d7H). Four 7.7 mm square holes at the corners, 59.311 \u00d7 24.36 mm spacing. Pocket 44.5 \u00d7 22.8 mm, 23.4 mm deep, in top face."}, "params": {"block_w": {"type": "float", "default": 84.73, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 34.8, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 68.0, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 7.7, "min": 2.0, "max": 10.2, "step": 0.5, "group": "Holes", "label": "Square hole size (mm)"}, "pocket_w": {"type": "float", "default": 44.5, "min": 22.2, "max": 67.8, "step": 1.0, "group": "Pocket", "label": "Pocket width (mm)"}, "pocket_d": {"type": "float", "default": 22.8, "min": 11.4, "max": 27.8, "step": 1.0, "group": "Pocket", "label": "Pocket depth (mm)"}, "pocket_h": {"type": "float", "default": 23.4, "min": 9.4, "max": 57.8, "step": 0.5, "group": "Pocket", "label": "Pocket height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330476 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 84.73, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 34.8, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 68.0, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 7.7, \"min\": 2.0, \"max\": 10.2, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Square hole size (mm)'},\n    \"pocket_w\": {\"type\": 'float', \"default\": 44.5, \"min\": 22.2, \"max\": 67.8, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket width (mm)'},\n    \"pocket_d\": {\"type\": 'float', \"default\": 22.8, \"min\": 11.4, \"max\": 27.8, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket depth (mm)'},\n    \"pocket_h\": {\"type\": 'float', \"default\": 23.4, \"min\": 9.4, \"max\": 57.8, \"step\": 0.5, \"group\": 'Pocket', \"label\": 'Pocket height (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().rect(p[\"hole_d\"], p[\"hole_d\"]).cutThruAll()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"pocket_w\"], p[\"pocket_d\"])\n        .cutBlind(-p[\"pocket_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca32e_1914", "family": "bracket", "tier": 2, "seed": 1177330478, "symmetry": "none", "op_count": 1, "ir_hash": "8cd132ad0b9de6df", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 27700.0, "surface_area": 15300.0, "principal_moments": [9450000.0, 25699999.999999996, 26599999.999999996], "n_faces": 14, "n_edges": 37, "n_vertices": 24}, "dimensions": {"lines": ["L-bracket: base leg 80.66 mm, vertical leg 57.6 mm, 48.7 mm wide, 4 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg; 4.6 mm corner gusset."], "text": "L-bracket: base leg 80.66 mm, vertical leg 57.6 mm, 48.7 mm wide, 4 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg; 4.6 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 80.66, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 57.6, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 48.7, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 4.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 4.6, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330478 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 80.66, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 57.6, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 48.7, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 4.6, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca32f_1915", "family": "bracket", "tier": 1, "seed": 1177330479, "symmetry": "none", "op_count": 1, "ir_hash": "fed19bc75272b140", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 68900.0, "surface_area": 21000.0, "principal_moments": [40500000.0, 58299999.99999999, 70100000.0], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["C-channel bracket: base leg 64.73 mm, vertical leg 62 mm, 50 mm wide, 8 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."], "text": "C-channel bracket: base leg 64.73 mm, vertical leg 62 mm, 50 mm wide, 8 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 64.73, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 62.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 50, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 8.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330479 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 64.73, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 62.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 50, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca330_1916", "family": "revolved", "tier": 2, "seed": 1177330480, "symmetry": "radial", "op_count": 1, "ir_hash": "32f117f1af4a8a43", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 367000.0, "surface_area": 50200.0, "principal_moments": [321000000.0, 539000000.0, 539000000.0], "n_faces": 5, "n_edges": 7, "n_vertices": 5}, "dimensions": {"lines": ["Revolved body, \u00d843.69 mm \u00d7 155.1 mm tall with \u00d892.3 mm \u00d7 40.9 mm flange."], "text": "Revolved body, \u00d843.69 mm \u00d7 155.1 mm tall with \u00d892.3 mm \u00d7 40.9 mm flange."}, "params": {"outer_d": {"type": "float", "default": 43.69, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 155.1, "min": 46.5, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "flange_d": {"type": "float", "default": 92.3, "min": 52.4, "max": 131.1, "step": 1.0, "group": "Body", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 40.9, "min": 12.3, "max": 77.5, "step": 0.5, "group": "Body", "label": "Flange height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330480 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 43.69, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 155.1, \"min\": 46.5, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 92.3, \"min\": 52.4, \"max\": 131.1, \"step\": 1.0, \"group\": 'Body', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 40.9, \"min\": 12.3, \"max\": 77.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Flange height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca331_1917", "family": "block", "tier": 3, "seed": 1177330481, "symmetry": "mirror_x", "op_count": 4, "ir_hash": "d9c90271cb91d684", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 510000.0, "surface_area": 60300.0, "principal_moments": [590000000.0, 592000000.0, 822000000.0], "n_faces": 15, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 95 \u00d7 62.8 \u00d7 100 mm (W\u00d7D\u00d7H).", "Four \u00d88.4 mm holes at the corners, 66.5 \u00d7 43.96 mm spacing.", "Pocket 46.8 \u00d7 32 mm, 42.8 mm deep, in top face.", "Fillet radius 4.933 mm on vertical edges (optional, off by default)."], "text": "Rectangular body, 95 \u00d7 62.8 \u00d7 100 mm (W\u00d7D\u00d7H). Four \u00d88.4 mm holes at the corners, 66.5 \u00d7 43.96 mm spacing. Pocket 46.8 \u00d7 32 mm, 42.8 mm deep, in top face. Fillet radius 4.933 mm on vertical edges (optional, off by default)."}, "params": {"block_w": {"type": "float", "default": 95, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 62.8, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 100.0, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 8.4, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "pocket_w": {"type": "float", "default": 46.8, "min": 23.4, "max": 76.0, "step": 1.0, "group": "Pocket", "label": "Pocket width (mm)"}, "pocket_d": {"type": "float", "default": 32.0, "min": 16.0, "max": 50.2, "step": 1.0, "group": "Pocket", "label": "Pocket depth (mm)"}, "pocket_h": {"type": "float", "default": 42.8, "min": 17.1, "max": 85.0, "step": 0.5, "group": "Pocket", "label": "Pocket height (mm)"}, "filleted2": {"type": "bool", "default": false, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330481 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 95, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 62.8, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 100.0, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"pocket_w\": {\"type\": 'float', \"default\": 46.8, \"min\": 23.4, \"max\": 76.0, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket width (mm)'},\n    \"pocket_d\": {\"type\": 'float', \"default\": 32.0, \"min\": 16.0, \"max\": 50.2, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket depth (mm)'},\n    \"pocket_h\": {\"type\": 'float', \"default\": 42.8, \"min\": 17.1, \"max\": 85.0, \"step\": 0.5, \"group\": 'Pocket', \"label\": 'Pocket height (mm)'},\n    \"filleted2\": {\"type\": 'bool', \"default\": False, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"pocket_w\"], p[\"pocket_d\"])\n        .cutBlind(-p[\"pocket_h\"])\n    )\n    if p[\"filleted2\"]:\n        result = result.edges('|Z').fillet(min(p[\"block_w\"], p[\"block_d\"]) * 0.0785567659226582)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca332_1918", "family": "revolved", "tier": 1, "seed": 1177330482, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "4ee4ae37684ab316", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 712000.0, "surface_area": 77900.0, "principal_moments": [1370000000.0, 1470000000.0, 1470000000.0], "n_faces": 10, "n_edges": 17, "n_vertices": 10}, "dimensions": {"lines": ["Revolved body, \u00d879.75 mm \u00d7 107.6 mm tall with \u00d828.9 mm bore, \u00d8156.9 mm \u00d7 17.1 mm flange.", "Chamfer 0.6 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d879.75 mm \u00d7 107.6 mm tall with \u00d828.9 mm bore, \u00d8156.9 mm \u00d7 17.1 mm flange. Chamfer 0.6 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 79.75, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 107.6, "min": 32.3, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 28.9, "min": 2.0, "max": 55.8, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 156.9, "min": 95.7, "max": 239.2, "step": 1.0, "group": "Body", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 17.1, "min": 5.1, "max": 53.8, "step": 0.5, "group": "Body", "label": "Flange height (mm)"}, "end_chamfer": {"type": "float", "default": 0.6, "min": 0.1, "max": 1.8, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330482 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 79.75, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 107.6, \"min\": 32.3, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 28.9, \"min\": 2.0, \"max\": 55.8, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 156.9, \"min\": 95.7, \"max\": 239.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 17.1, \"min\": 5.1, \"max\": 53.8, \"step\": 0.5, \"group\": 'Body', \"label\": 'Flange height (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.6, \"min\": 0.1, \"max\": 1.8, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca333_1919", "family": "bracket", "tier": 1, "seed": 1177330483, "symmetry": "none", "op_count": 1, "ir_hash": "a4a80089971362de", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 17300.0, "surface_area": 8430.0, "principal_moments": [3200000.0, 27799999.999999996, 30399999.999999996], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Z-bracket: base leg 75 mm, vertical leg 64.7 mm, top leg 66.3 mm, 15 mm wide, 6 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."], "text": "Z-bracket: base leg 75 mm, vertical leg 64.7 mm, top leg 66.3 mm, 15 mm wide, 6 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 75, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 64.7, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 15.0, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 6.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 66.3, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 6.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330483 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 75, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 64.7, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 15.0, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 66.3, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 6.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462ca334_1920", "family": "ribbed", "tier": 2, "seed": 1177330484, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "46286bb1be786e8f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 23700.0, "surface_area": 9500.0, "principal_moments": [4170000.0, 6210000.0, 9720000.0], "n_faces": 34, "n_edges": 96, "n_vertices": 64}, "dimensions": {"lines": ["Rectangular body, 54.66 \u00d7 44.7 \u00d7 8 mm (W\u00d7D\u00d7H).", "Four ribs, 4.3 mm thick, 6.8 mm tall.", "Four \u00d85.3 mm holes at the corners, 38.262 \u00d7 31.29 mm spacing."], "text": "Rectangular body, 54.66 \u00d7 44.7 \u00d7 8 mm (W\u00d7D\u00d7H). Four ribs, 4.3 mm thick, 6.8 mm tall. Four \u00d85.3 mm holes at the corners, 38.262 \u00d7 31.29 mm spacing."}, "params": {"base_w": {"type": "float", "default": 54.66, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 44.7, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 8.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 4, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 6.8, "min": 2.7, "max": 13.6, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 4.3, "min": 1.0, "max": 10.8, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 10.1, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330484 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 54.66, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 44.7, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 4, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 6.8, \"min\": 2.7, \"max\": 13.6, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 4.3, \"min\": 1.0, \"max\": 10.8, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 10.1, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"base_w\"] * 0.7, p[\"base_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462ca335_1921", "family": "enclosure", "tier": 1, "seed": 1177330485, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "220b7cf58ad7c8bf", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 12300.0, "surface_area": 5730.0, "principal_moments": [1440000.0, 1720000.0, 2220000.0], "n_faces": 11, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 31.7 \u00d7 18.7 \u00d7 29.5 mm (W\u00d7D\u00d7H).", "Hollowed to 4.7 mm wall thickness, open at top face."], "text": "Rectangular body, 31.7 \u00d7 18.7 \u00d7 29.5 mm (W\u00d7D\u00d7H). Hollowed to 4.7 mm wall thickness, open at top face."}, "params": {"enc_w": {"type": "float", "default": 31.7, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 18.7, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 29.5, "min": 11.8, "max": 59.0, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 4.7, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330485 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 31.7, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 18.7, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 29.5, \"min\": 11.8, \"max\": 59.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 4.7, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462ca336_1922", "family": "tapped", "tier": 2, "seed": 1177330486, "symmetry": "none", "op_count": 1, "ir_hash": "7e31c4089eeb3fde", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 87700.0, "surface_area": 17000.0, "principal_moments": [38300000.0, 45100000.0, 79400000.0], "n_faces": 662, "n_edges": 1812, "n_vertices": 1152}, "dimensions": {"lines": ["Four M5x0.8 tapped holes in a plate."], "text": "Four M5x0.8 tapped holes in a plate."}, "params": {"major_d": {"type": "float", "default": 5.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 0.8, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 16.4, "min": 6.0, "max": 29.5, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "plate_w": {"type": "float", "default": 76.81, "min": 46.1, "max": 122.9, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 70.5, "min": 42.3, "max": 112.8, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330486 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 0.8, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 16.4, \"min\": 6.0, \"max\": 29.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"plate_w\": {\"type\": 'float', \"default\": 76.81, \"min\": 46.1, \"max\": 122.9, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 70.5, \"min\": 42.3, \"max\": 112.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n}\n\n\ndef build(p):\n\n    _W, _D, _H = p[\"plate_w\"], p[\"plate_d\"], p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Box(_W, _D, _H)\n    _sx, _sy = p[\"plate_w\"] * 0.6, p[\"plate_d\"] * 0.6\n    _locs = [(_xx, _yy) for _xx in (-_sx / 2, _sx / 2) for _yy in (-_sy / 2, _sy / 2)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462ca337_1923", "family": "sketched", "tier": 2, "seed": 1177330487, "symmetry": "mirror_xy", "op_count": 3, "ir_hash": "b25409433258811c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 41000.0, "surface_area": 8390.0, "principal_moments": [7970000.0, 9050000.0, 14099999.999999998], "n_faces": 14, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["freeform sketched section (7 segments: 3 straight, 4 curves), ~50.57 \u00d7 48.99 mm, extruded 18 mm thick.", "One \u00d84.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch.", "Boss \u00d814.6 mm \u00d7 11.5 mm tall on top face with a \u00d83.2 mm bore."], "text": "freeform sketched section (7 segments: 3 straight, 4 curves), ~50.57 \u00d7 48.99 mm, extruded 18 mm thick. One \u00d84.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch. Boss \u00d814.6 mm \u00d7 11.5 mm tall on top face with a \u00d83.2 mm bore."}, "params": {"sk_w": {"type": "float", "default": 65, "min": 32.5, "max": 117.0, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 60, "min": 30.0, "max": 108.0, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "sk_t": {"type": "float", "default": 18.0, "min": 7.2, "max": 39.6, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "sk_hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 8.6, "step": 0.5, "group": "Holes", "label": "Hole diameter (mm)"}, "boss_d": {"type": "float", "default": 14.6, "min": 7.3, "max": 29.2, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 11.5, "min": 4.6, "max": 28.8, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}, "boss_bore_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 10.2, "step": 0.1, "group": "Boss", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330487 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 65, \"min\": 32.5, \"max\": 117.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 60, \"min\": 30.0, \"max\": 108.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"sk_t\": {\"type\": 'float', \"default\": 18.0, \"min\": 7.2, \"max\": 39.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"sk_hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 8.6, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"boss_d\": {\"type\": 'float', \"default\": 14.6, \"min\": 7.3, \"max\": 29.2, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 11.5, \"min\": 4.6, \"max\": 28.8, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n    \"boss_bore_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 10.2, \"step\": 0.1, \"group\": 'Boss', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.396, p[\"sk_h\"] * 0.1054).lineTo(p[\"sk_w\"] * 0.2915, p[\"sk_h\"] * 0.382).lineTo(p[\"sk_w\"] * -0.1635, p[\"sk_h\"] * 0.4697).bezier([(p[\"sk_w\"] * -0.1635, p[\"sk_h\"] * 0.4697), (p[\"sk_w\"] * -0.2876, p[\"sk_h\"] * 0.3706), (p[\"sk_w\"] * -0.3743, p[\"sk_h\"] * 0.2375)]).lineTo(p[\"sk_w\"] * -0.382, p[\"sk_h\"] * -0.2928).spline([(p[\"sk_w\"] * -0.382, p[\"sk_h\"] * -0.2928), (p[\"sk_w\"] * -0.223, p[\"sk_h\"] * -0.3321), (p[\"sk_w\"] * -0.0592, p[\"sk_h\"] * -0.3357)]).spline([(p[\"sk_w\"] * -0.0592, p[\"sk_h\"] * -0.3357), (p[\"sk_w\"] * 0.1391, p[\"sk_h\"] * -0.3683), (p[\"sk_w\"] * 0.3389, p[\"sk_h\"] * -0.3468)]).spline([(p[\"sk_w\"] * 0.3389, p[\"sk_h\"] * -0.3468), (p[\"sk_w\"] * 0.4001, p[\"sk_h\"] * -0.1248), (p[\"sk_w\"] * 0.396, p[\"sk_h\"] * 0.1054)]).close().extrude(p[\"sk_t\"]))\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"sk_hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .hole(p[\"boss_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462ca338_1924", "family": "threaded", "tier": 0, "seed": 1177330488, "symmetry": "none", "op_count": 1, "ir_hash": "dc9597f0995129b3", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 3530.0, "surface_area": 2240.0, "principal_moments": [53500.0, 438000.0, 438000.0], "n_faces": 220, "n_edges": 562, "n_vertices": 344}, "dimensions": {"lines": ["M12x1.75 external thread, 37.6 mm long."], "text": "M12x1.75 external thread, 37.6 mm long."}, "params": {"major_d": {"type": "float", "default": 12.0, "min": 4.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Major diameter (mm)"}, "pitch": {"type": "float", "default": 1.75, "min": 0.88, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Pitch (mm)"}, "thread_len": {"type": "float", "default": 37.6, "min": 15.0, "max": 75.2, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330488 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 12.0, \"min\": 4.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Major diameter (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.75, \"min\": 0.88, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Pitch (mm)'},\n    \"thread_len\": {\"type\": 'float', \"default\": 37.6, \"min\": 15.0, \"max\": 75.2, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.IsoThread(major_diameter=p[\"major_d\"], pitch=p[\"pitch\"], length=p[\"thread_len\"], external=True, end_finishes=(\"fade\", \"fade\"))\n    _r = _thr.min_radius if hasattr(_thr, 'min_radius') else _thr.root_radius\n    _shank = _bd.Cylinder(radius=_r, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = _shank + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462ca339_1925", "family": "profiled", "tier": 1, "seed": 1177330489, "symmetry": "none", "op_count": 1, "ir_hash": "0e2a8c0dcbe0cb8d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 128000.0, "surface_area": 21200.0, "principal_moments": [13099999.999999998, 496000000.0, 499000000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["freeform sketched section (4 segments: 2 arcs, 2 curves), ~23.9 \u00d7 35.186 mm, extruded 214.9 mm thick."], "text": "freeform sketched section (4 segments: 2 arcs, 2 curves), ~23.9 \u00d7 35.186 mm, extruded 214.9 mm thick."}, "params": {"sk_w": {"type": "float", "default": 31.85, "min": 15.9, "max": 57.3, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 45, "min": 22.5, "max": 81.0, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "length": {"type": "float", "default": 214.9, "min": 64.5, "max": 644.7, "step": 5.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330489 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 31.85, \"min\": 15.9, \"max\": 57.3, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 45, \"min\": 22.5, \"max\": 81.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 214.9, \"min\": 64.5, \"max\": 644.7, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.4409, p[\"sk_h\"] * 0.0673).bezier([(p[\"sk_w\"] * 0.4409, p[\"sk_h\"] * 0.0673), (p[\"sk_w\"] * 0.1758, p[\"sk_h\"] * 0.329), (p[\"sk_w\"] * -0.1824, p[\"sk_h\"] * 0.4309)]).bezier([(p[\"sk_w\"] * -0.1824, p[\"sk_h\"] * 0.4309), (p[\"sk_w\"] * -0.2715, p[\"sk_h\"] * 0.3117), (p[\"sk_w\"] * -0.3095, p[\"sk_h\"] * 0.1677)]).threePointArc((p[\"sk_w\"] * -0.3173, p[\"sk_h\"] * -0.1483), (p[\"sk_w\"] * -0.1978, p[\"sk_h\"] * -0.351)).threePointArc((p[\"sk_w\"] * 0.2045, p[\"sk_h\"] * -0.2414), (p[\"sk_w\"] * 0.4409, p[\"sk_h\"] * 0.0673)).close().extrude(p[\"length\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca33b_1927", "family": "bracket", "tier": 3, "seed": 1177330491, "symmetry": "none", "op_count": 1, "ir_hash": "d7114ebf37b7e533", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 13200.0, "surface_area": 10100.0, "principal_moments": [3080000.0, 10200000.0, 11399999.999999998], "n_faces": 26, "n_edges": 92, "n_vertices": 56}, "dimensions": {"lines": ["C-channel bracket: base leg 66.57 mm, vertical leg 41.6 mm, 29.46 mm wide, 3 mm thick; 2 \u00d7 \u00d85.3 mm holes per leg; 3.7 mm corner gusset."], "text": "C-channel bracket: base leg 66.57 mm, vertical leg 41.6 mm, 29.46 mm wide, 3 mm thick; 2 \u00d7 \u00d85.3 mm holes per leg; 3.7 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 66.57, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 41.6, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 29.46, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 3.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 2, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 3.7, "min": 1.5, "max": 9.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330491 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 66.57, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 41.6, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 29.46, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 2, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 3.7, \"min\": 1.5, \"max\": 9.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl / 2, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bl - _bt, _bt).lineTo(_bl - _bt - _g, _bt)\n                    .lineTo(_bl - _bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462ca33d_1929", "family": "flanged", "tier": 1, "seed": 1177330493, "symmetry": "none", "op_count": 2, "ir_hash": "c3d12c58a15bae9f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 123000.0, "surface_area": 27600.0, "principal_moments": [82300000.0, 82300000.0, 94199999.99999999], "n_faces": 10, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["Revolved body, \u00d845.93 mm \u00d7 54.9 mm tall with \u00d818.7 mm bore, \u00d898.6 mm \u00d7 8.2 mm flange.", "Four \u00d88.4 mm holes on a \u00d859.2 mm bolt circle."], "text": "Revolved body, \u00d845.93 mm \u00d7 54.9 mm tall with \u00d818.7 mm bore, \u00d898.6 mm \u00d7 8.2 mm flange. Four \u00d88.4 mm holes on a \u00d859.2 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 45.93, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 54.9, "min": 16.5, "max": 137.2, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 18.7, "min": 2.0, "max": 32.2, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 98.6, "min": 59.7, "max": 137.8, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 8.2, "min": 2.5, "max": 22.0, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 8.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 29.6, "min": 19.7, "max": 44.4, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 4, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330493 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 45.93, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 54.9, \"min\": 16.5, \"max\": 137.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 18.7, \"min\": 2.0, \"max\": 32.2, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 98.6, \"min\": 59.7, \"max\": 137.8, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 8.2, \"min\": 2.5, \"max\": 22.0, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 29.6, \"min\": 19.7, \"max\": 44.4, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 4, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462ca33e_1930", "family": "ribbed", "tier": 1, "seed": 1177330494, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "e083605ec3ba728b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 16900.0, "surface_area": 10200.0, "principal_moments": [3020000.0, 5350000.0, 6720000.0], "n_faces": 30, "n_edges": 72, "n_vertices": 44}, "dimensions": {"lines": ["Rectangular body, 53.54 \u00d7 36.8 \u00d7 5 mm (W\u00d7D\u00d7H).", "Three ribs, 2.9 mm thick, 19 mm tall."], "text": "Rectangular body, 53.54 \u00d7 36.8 \u00d7 5 mm (W\u00d7D\u00d7H). Three ribs, 2.9 mm thick, 19 mm tall."}, "params": {"base_w": {"type": "float", "default": 53.54, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 36.8, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 5.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 3, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 19.0, "min": 7.6, "max": 38.0, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 2.9, "min": 1.0, "max": 7.2, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330494 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 53.54, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 36.8, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 3, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 19.0, \"min\": 7.6, \"max\": 38.0, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 2.9, \"min\": 1.0, \"max\": 7.2, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462ca33f_1931", "family": "ribbed", "tier": 1, "seed": 1177330495, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "970117d6f5affd0a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 6470.0, "surface_area": 5510.0, "principal_moments": [558000.0, 1030000.0, 1480000.0], "n_faces": 46, "n_edges": 112, "n_vertices": 68}, "dimensions": {"lines": ["Rectangular body, 42.91 \u00d7 26.6 \u00d7 3 mm (W\u00d7D\u00d7H).", "Five ribs, 2.5 mm thick, 7.1 mm tall."], "text": "Rectangular body, 42.91 \u00d7 26.6 \u00d7 3 mm (W\u00d7D\u00d7H). Five ribs, 2.5 mm thick, 7.1 mm tall."}, "params": {"base_w": {"type": "float", "default": 42.91, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 26.6, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 3.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 5, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 7.1, "min": 2.8, "max": 14.2, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 2.5, "min": 1.0, "max": 6.2, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330495 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 42.91, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 26.6, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 5, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 7.1, \"min\": 2.8, \"max\": 14.2, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 2.5, \"min\": 1.0, \"max\": 6.2, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462ca340_1932", "family": "sketched", "tier": 2, "seed": 1177330496, "symmetry": "mirror_xy", "op_count": 3, "ir_hash": "c61edcb968697ce9", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 13000.0, "surface_area": 4230.0, "principal_moments": [943000.0, 2060000.0, 2630000.0], "n_faces": 11, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["freeform sketched section (5 segments: 3 straight, 1 arc, 1 curve), ~49.853 \u00d7 38.412 mm, extruded 9.79 mm thick.", "One \u00d85.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch.", "Boss \u00d817.4 mm \u00d7 6.5 mm tall on top face."], "text": "freeform sketched section (5 segments: 3 straight, 1 arc, 1 curve), ~49.853 \u00d7 38.412 mm, extruded 9.79 mm thick. One \u00d85.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch. Boss \u00d817.4 mm \u00d7 6.5 mm tall on top face."}, "params": {"sk_w": {"type": "float", "default": 75, "min": 37.5, "max": 135.0, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 45, "min": 22.5, "max": 81.0, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "sk_t": {"type": "float", "default": 9.79, "min": 3.9, "max": 21.5, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "sk_hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 10.6, "step": 0.5, "group": "Holes", "label": "Hole diameter (mm)"}, "boss_d": {"type": "float", "default": 17.4, "min": 8.7, "max": 34.8, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 6.5, "min": 2.6, "max": 16.2, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330496 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 75, \"min\": 37.5, \"max\": 135.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 45, \"min\": 22.5, \"max\": 81.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"sk_t\": {\"type\": 'float', \"default\": 9.79, \"min\": 3.9, \"max\": 21.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"sk_hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 10.6, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"boss_d\": {\"type\": 'float', \"default\": 17.4, \"min\": 8.7, \"max\": 34.8, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 6.5, \"min\": 2.6, \"max\": 16.2, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.3347, p[\"sk_h\"] * 0.0289).spline([(p[\"sk_w\"] * 0.3347, p[\"sk_h\"] * 0.0289), (p[\"sk_w\"] * 0.2979, p[\"sk_h\"] * 0.2192), (p[\"sk_w\"] * 0.2123, p[\"sk_h\"] * 0.3931)]).lineTo(p[\"sk_w\"] * -0.33, p[\"sk_h\"] * 0.1618).threePointArc((p[\"sk_w\"] * -0.3266, p[\"sk_h\"] * -0.0551), (p[\"sk_w\"] * -0.2101, p[\"sk_h\"] * -0.2626)).lineTo(p[\"sk_w\"] * -0.0085, p[\"sk_h\"] * -0.4605).lineTo(p[\"sk_w\"] * 0.3347, p[\"sk_h\"] * 0.0289).close().extrude(p[\"sk_t\"]))\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"sk_hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca341_1933", "family": "plate", "tier": 1, "seed": 1177330497, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "0129125439411d4d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 47800.0, "surface_area": 13900.0, "principal_moments": [10500000.0, 38900000.0, 48599999.99999999], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 100 \u00d7 51.3 \u00d7 10 mm (W\u00d7D\u00d7H).", "Four \u00d810.5 mm holes at the corners, 70 \u00d7 35.91 mm spacing."], "text": "Rectangular body, 100 \u00d7 51.3 \u00d7 10 mm (W\u00d7D\u00d7H). Four \u00d810.5 mm holes at the corners, 70 \u00d7 35.91 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 100, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 51.3, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 10.5, "min": 2.0, "max": 11.5, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330497 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 100, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 51.3, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 10.5, \"min\": 2.0, \"max\": 11.5, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca342_1934", "family": "block", "tier": 2, "seed": 1177330498, "symmetry": "none", "op_count": 3, "ir_hash": "c73b41bc71b081e7", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 11600.0, "surface_area": 6010.0, "principal_moments": [766000.0, 2640000.0, 2800000.0], "n_faces": 28, "n_edges": 58, "n_vertices": 36}, "dimensions": {"lines": ["Rectangular body, 20 \u00d7 13.6 \u00d7 35.8 mm (W\u00d7D\u00d7H).", "Nine \u00d81.6 mm holes in two staggered rows, 3.8 \u00d7 3.1 mm pitch.", "Boss \u00d823.3 mm \u00d7 11.4 mm tall on top face with a \u00d88.4 mm bore."], "text": "Rectangular body, 20 \u00d7 13.6 \u00d7 35.8 mm (W\u00d7D\u00d7H). Nine \u00d81.6 mm holes in two staggered rows, 3.8 \u00d7 3.1 mm pitch. Boss \u00d823.3 mm \u00d7 11.4 mm tall on top face with a \u00d88.4 mm bore."}, "params": {"block_w": {"type": "float", "default": 20, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 13.6, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 35.8, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 1.6, "min": 2.0, "max": 1.4, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 5, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}, "boss_d": {"type": "float", "default": 23.3, "min": 11.7, "max": 46.6, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 11.4, "min": 4.6, "max": 28.5, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}, "boss_bore_d": {"type": "float", "default": 8.4, "min": 2.0, "max": 16.3, "step": 0.1, "group": "Boss", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330498 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 20, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 13.6, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 35.8, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 1.6, \"min\": 2.0, \"max\": 1.4, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 5, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n    \"boss_d\": {\"type\": 'float', \"default\": 23.3, \"min\": 11.7, \"max\": 46.6, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 11.4, \"min\": 4.6, \"max\": 28.5, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n    \"boss_bore_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 2.0, \"max\": 16.3, \"step\": 0.1, \"group\": 'Boss', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 3.8\n    _ssy = 3.1\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .hole(p[\"boss_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462ca343_1935", "family": "ribbed", "tier": 2, "seed": 1177330499, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "05cc7018833906e6", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 16400.0, "surface_area": 9400.0, "principal_moments": [1950000.0, 3600000.0, 4830000.0], "n_faces": 54, "n_edges": 132, "n_vertices": 80}, "dimensions": {"lines": ["Rectangular body, 50 \u00d7 26.4 \u00d7 6 mm (W\u00d7D\u00d7H).", "Six ribs, 3.5 mm thick, 10.1 mm tall."], "text": "Rectangular body, 50 \u00d7 26.4 \u00d7 6 mm (W\u00d7D\u00d7H). Six ribs, 3.5 mm thick, 10.1 mm tall."}, "params": {"base_w": {"type": "float", "default": 50, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 26.4, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 6.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 6, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 10.1, "min": 4.0, "max": 20.2, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 3.5, "min": 1.0, "max": 8.8, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330499 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 50, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 26.4, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 6, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 10.1, \"min\": 4.0, \"max\": 20.2, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 3.5, \"min\": 1.0, \"max\": 8.8, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca344_1936", "family": "bracket", "tier": 2, "seed": 1177330500, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "ddb8cdda7955c609", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 59800.0, "surface_area": 18300.0, "principal_moments": [17700000.0, 72500000.0, 74600000.0], "n_faces": 18, "n_edges": 48, "n_vertices": 32}, "dimensions": {"lines": ["Z-bracket: base leg 60.42 mm, vertical leg 63.8 mm, top leg 54.2 mm, 45 mm wide, 8 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg; 8.2 mm corner gusset."], "text": "Z-bracket: base leg 60.42 mm, vertical leg 63.8 mm, top leg 54.2 mm, 45 mm wide, 8 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg; 8.2 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 60.42, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 63.8, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 45, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 8.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 54.2, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}, "gusset_t": {"type": "float", "default": 8.2, "min": 4.0, "max": 22.5, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330500 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 60.42, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 63.8, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 45, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 54.2, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 8.2, \"min\": 4.0, \"max\": 22.5, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _tl, _vl) * 0.4 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(0, _vl - _bt).lineTo(-_g, _vl - _bt)\n                    .lineTo(0, _vl - _bt - _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca345_1937", "family": "plate", "tier": 1, "seed": 1177330501, "symmetry": "none", "op_count": 2, "ir_hash": "1355fd66fbf65103", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 38200.0, "surface_area": 11100.0, "principal_moments": [5100000.0, 32299999.999999996, 36800000.0], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["Rectangular body, 100 \u00d7 38.8 \u00d7 10 mm (W\u00d7D\u00d7H).", "Seven \u00d83.2 mm holes in two staggered rows, 25 \u00d7 24.9 mm pitch."], "text": "Rectangular body, 100 \u00d7 38.8 \u00d7 10 mm (W\u00d7D\u00d7H). Seven \u00d83.2 mm holes in two staggered rows, 25 \u00d7 24.9 mm pitch."}, "params": {"plate_w": {"type": "float", "default": 100, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 38.8, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 3.9, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 4, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330501 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 100, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 38.8, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 3.9, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 4, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 25.0\n    _ssy = 24.9\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca346_1938", "family": "compound", "tier": 2, "seed": 1177330502, "symmetry": "mirror_xy", "op_count": 3, "ir_hash": "717849dab9b4a6c9", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 6820.0, "surface_area": 2480.0, "principal_moments": [166000.0, 1420000.0, 1420000.0], "n_faces": 14, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["\u00d815 mm circular section, extruded 31.4 mm thick.", "\u00d88.1 mm circular section attachment, 22.5 mm long, from top face.", "8-sided polygon section, 6.2 mm across corners attachment, 4 mm long, from top face."], "text": "\u00d815 mm circular section, extruded 31.4 mm thick. \u00d88.1 mm circular section attachment, 22.5 mm long, from top face. 8-sided polygon section, 6.2 mm across corners attachment, 4 mm long, from top face."}, "params": {"shaft_d": {"type": "float", "default": 15, "min": 7.5, "max": 27.0, "step": 1.0, "group": "Body", "label": "Shaft diameter (mm)"}, "shaft_len": {"type": "float", "default": 31.4, "min": 12.6, "max": 62.8, "step": 1.0, "group": "Body", "label": "Shaft length (mm)"}, "step_d": {"type": "float", "default": 8.1, "min": 4.0, "max": 13.5, "step": 1.0, "group": "Step", "label": "Step diameter (mm)"}, "step_len": {"type": "float", "default": 22.5, "min": 6.8, "max": 56.2, "step": 1.0, "group": "Step", "label": "Step length (mm)"}, "head_sides": {"type": "int", "default": 8, "min": 3, "max": 8, "step": 1, "group": "Head", "label": "Drive head sides"}, "head_r": {"type": "float", "default": 3.1, "min": 1.9, "max": 3.9, "step": 1.0, "group": "Head", "label": "Drive head circumradius (mm)"}, "head_len": {"type": "float", "default": 4.0, "min": 1.2, "max": 8.0, "step": 1.0, "group": "Head", "label": "Drive head length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330502 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"shaft_d\": {\"type\": 'float', \"default\": 15, \"min\": 7.5, \"max\": 27.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft diameter (mm)'},\n    \"shaft_len\": {\"type\": 'float', \"default\": 31.4, \"min\": 12.6, \"max\": 62.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft length (mm)'},\n    \"step_d\": {\"type\": 'float', \"default\": 8.1, \"min\": 4.0, \"max\": 13.5, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step diameter (mm)'},\n    \"step_len\": {\"type\": 'float', \"default\": 22.5, \"min\": 6.8, \"max\": 56.2, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step length (mm)'},\n    \"head_sides\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Head', \"label\": 'Drive head sides'},\n    \"head_r\": {\"type\": 'float', \"default\": 3.1, \"min\": 1.9, \"max\": 3.9, \"step\": 1.0, \"group\": 'Head', \"label\": 'Drive head circumradius (mm)'},\n    \"head_len\": {\"type\": 'float', \"default\": 4.0, \"min\": 1.2, \"max\": 8.0, \"step\": 1.0, \"group\": 'Head', \"label\": 'Drive head length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').circle(p[\"shaft_d\"] / 2).extrude(p[\"shaft_len\"]))\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"step_d\"] / 2).extrude(p[\"step_len\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"head_sides\"], p[\"head_r\"] * 2).extrude(p[\"head_len\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca347_1939", "family": "plate", "tier": 2, "seed": 1177330503, "symmetry": "none", "op_count": 3, "ir_hash": "857c6f9c1109c349", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 75000.0, "surface_area": 19900.0, "principal_moments": [30999999.999999996, 74500000.0, 104000000.0], "n_faces": 18, "n_edges": 48, "n_vertices": 32}, "dimensions": {"lines": ["Rectangular body, 110 \u00d7 69.8 \u00d7 10 mm (W\u00d7D\u00d7H).", "Eight \u00d85.3 mm holes in a 2\u00d74 grid, 88 \u00d7 18.6 mm pitch.", "Fillet radius 2.192 mm on vertical edges."], "text": "Rectangular body, 110 \u00d7 69.8 \u00d7 10 mm (W\u00d7D\u00d7H). Eight \u00d85.3 mm holes in a 2\u00d74 grid, 88 \u00d7 18.6 mm pitch. Fillet radius 2.192 mm on vertical edges."}, "params": {"plate_w": {"type": "float", "default": 110, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 69.8, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 8.4, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 2, "min": 1, "max": 4, "step": 1, "group": "Holes", "label": "Holes across"}, "hole_ny": {"type": "int", "default": 4, "min": 1, "max": 4, "step": 1, "group": "Holes", "label": "Holes deep"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330503 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 110, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 69.8, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 8.4, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 2, \"min\": 1, \"max\": 4, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes across'},\n    \"hole_ny\": {\"type\": 'int', \"default\": 4, \"min\": 1, \"max\": 4, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes deep'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(88.0, 18.6, p[\"hole_nx\"], p[\"hole_ny\"])\n        .hole(p[\"hole_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"plate_w\"], p[\"plate_d\"]) * 0.03140509112300604)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca348_1940", "family": "revolved", "tier": 1, "seed": 1177330504, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "1f4feb1f02553403", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 40000.0, "surface_area": 14100.0, "principal_moments": [6120000.0, 29199999.999999996, 29199999.999999996], "n_faces": 8, "n_edges": 14, "n_vertices": 8}, "dimensions": {"lines": ["Revolved body, \u00d830 mm \u00d7 89.1 mm tall with \u00d818 mm bore.", "Chamfer 1.4 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d830 mm \u00d7 89.1 mm tall with \u00d818 mm bore. Chamfer 1.4 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 30, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 89.1, "min": 26.7, "max": 267.3, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 18.0, "min": 2.0, "max": 21.0, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "end_chamfer": {"type": "float", "default": 1.4, "min": 0.1, "max": 4.2, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330504 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 30, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 89.1, \"min\": 26.7, \"max\": 267.3, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 18.0, \"min\": 2.0, \"max\": 21.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 1.4, \"min\": 0.1, \"max\": 4.2, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca349_1941", "family": "plate", "tier": 3, "seed": 1177330505, "symmetry": "mirror_xy", "op_count": 3, "ir_hash": "eae3674e9986ced6", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 18900.0, "surface_area": 7140.0, "principal_moments": [1300000.0, 9610000.0, 10600000.0], "n_faces": 24, "n_edges": 63, "n_vertices": 42}, "dimensions": {"lines": ["Rectangular body, 82.28 \u00d7 28.1 \u00d7 8 mm (W\u00d7D\u00d7H).", "Four 8.4 \u00d7 5.3 mm slots at the corners, 57.596 \u00d7 19.67 mm spacing.", "Boss \u00d820.6 mm \u00d7 5 mm tall on top face."], "text": "Rectangular body, 82.28 \u00d7 28.1 \u00d7 8 mm (W\u00d7D\u00d7H). Four 8.4 \u00d7 5.3 mm slots at the corners, 57.596 \u00d7 19.67 mm spacing. Boss \u00d820.6 mm \u00d7 5 mm tall on top face."}, "params": {"plate_w": {"type": "float", "default": 82.28, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 28.1, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 6.3, "step": 0.5, "group": "Holes", "label": "Slot width (mm)"}, "hole_slot_len": {"type": "float", "default": 8.4, "min": 7.9, "max": 8.4, "step": 0.5, "group": "Holes", "label": "Slot length (mm)"}, "boss_d": {"type": "float", "default": 20.6, "min": 10.3, "max": 41.2, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 5.0, "min": 2.0, "max": 12.5, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330505 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 82.28, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 28.1, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 6.3, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Slot width (mm)'},\n    \"hole_slot_len\": {\"type\": 'float', \"default\": 8.4, \"min\": 7.9, \"max\": 8.4, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Slot length (mm)'},\n    \"boss_d\": {\"type\": 'float', \"default\": 20.6, \"min\": 10.3, \"max\": 41.2, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 5.0, \"min\": 2.0, \"max\": 12.5, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().slot2D(p[\"hole_slot_len\"], p[\"hole_d\"]).cutThruAll()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462ca34a_1942", "family": "profiled", "tier": 2, "seed": 1177330506, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "e3c95422e815f1db", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 37600.0, "surface_area": 6960.0, "principal_moments": [3520000.0, 14699999.999999998, 14699999.999999998], "n_faces": 8, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["6-sided polygon section, 30 mm across corners, extruded 64.3 mm thick."], "text": "6-sided polygon section, 30 mm across corners, extruded 64.3 mm thick."}, "params": {"circ_r": {"type": "float", "default": 15, "min": 7.5, "max": 30.0, "step": 1.0, "group": "Profile", "label": "Circumscribed radius (mm)"}, "n_sides": {"type": "int", "default": 6, "min": 3, "max": 8, "step": 1, "group": "Profile", "label": "Sides"}, "length": {"type": "float", "default": 64.3, "min": 19.3, "max": 192.9, "step": 5.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330506 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"circ_r\": {\"type\": 'float', \"default\": 15, \"min\": 7.5, \"max\": 30.0, \"step\": 1.0, \"group\": 'Profile', \"label\": 'Circumscribed radius (mm)'},\n    \"n_sides\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Profile', \"label\": 'Sides'},\n    \"length\": {\"type\": 'float', \"default\": 64.3, \"min\": 19.3, \"max\": 192.9, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').polygon(p[\"n_sides\"], p[\"circ_r\"] * 2).extrude(p[\"length\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca34b_1943", "family": "revolved", "tier": 2, "seed": 1177330507, "symmetry": "none", "op_count": 2, "ir_hash": "dbdc2d3c571c9a20", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 553000.0, "surface_area": 70300.0, "principal_moments": [950000000.0, 950000000.0, 1500000000.0], "n_faces": 10, "n_edges": 17, "n_vertices": 10}, "dimensions": {"lines": ["Revolved body, \u00d878.41 mm \u00d7 69.4 mm tall with \u00d838.9 mm bore, \u00d8165.4 mm \u00d7 18.1 mm flange.", "Chamfer 1.3 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d878.41 mm \u00d7 69.4 mm tall with \u00d838.9 mm bore, \u00d8165.4 mm \u00d7 18.1 mm flange. Chamfer 1.3 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 78.41, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 69.4, "min": 20.8, "max": 208.2, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 38.9, "min": 2.0, "max": 54.9, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 165.4, "min": 94.1, "max": 235.2, "step": 1.0, "group": "Body", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 18.1, "min": 5.4, "max": 34.7, "step": 0.5, "group": "Body", "label": "Flange height (mm)"}, "end_chamfer": {"type": "float", "default": 1.3, "min": 0.1, "max": 3.9, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330507 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 78.41, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 69.4, \"min\": 20.8, \"max\": 208.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 38.9, \"min\": 2.0, \"max\": 54.9, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 165.4, \"min\": 94.1, \"max\": 235.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 18.1, \"min\": 5.4, \"max\": 34.7, \"step\": 0.5, \"group\": 'Body', \"label\": 'Flange height (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 1.3, \"min\": 0.1, \"max\": 3.9, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca34c_1944", "family": "revolved", "tier": 1, "seed": 1177330508, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "f589ad1e5eb090f3", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 1050000.0, "surface_area": 103000.0, "principal_moments": [1350000000.0, 5630000000.0, 5630000000.0], "n_faces": 10, "n_edges": 17, "n_vertices": 10}, "dimensions": {"lines": ["Revolved body, \u00d875 mm \u00d7 222 mm tall with \u00d833.9 mm bore, \u00d8123 mm \u00d7 35.8 mm flange.", "Chamfer 0.7 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d875 mm \u00d7 222 mm tall with \u00d833.9 mm bore, \u00d8123 mm \u00d7 35.8 mm flange. Chamfer 0.7 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 75, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 222.0, "min": 66.6, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 33.9, "min": 2.0, "max": 52.5, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 123.0, "min": 90.0, "max": 225.0, "step": 1.0, "group": "Body", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 35.8, "min": 10.7, "max": 111.0, "step": 0.5, "group": "Body", "label": "Flange height (mm)"}, "end_chamfer": {"type": "float", "default": 0.7, "min": 0.1, "max": 2.1, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330508 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 75, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 222.0, \"min\": 66.6, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 33.9, \"min\": 2.0, \"max\": 52.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 123.0, \"min\": 90.0, \"max\": 225.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 35.8, \"min\": 10.7, \"max\": 111.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Flange height (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.7, \"min\": 0.1, \"max\": 2.1, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca34d_1945", "family": "compound", "tier": 2, "seed": 1177330509, "symmetry": "none", "op_count": 2, "ir_hash": "c9fd30f6865cbbca", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 66900.0, "surface_area": 12800.0, "principal_moments": [17500000.0, 24299999.999999996, 24299999.999999996], "n_faces": 10, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["Lofted body through 3 sections: 50 \u00d7 50 mm rectangular section \u2192 \u00d840.7 mm circular section \u2192 \u00d831.4 mm circular section.", "\u00d817.5 mm circular section attachment, 18.2 mm long, from top face with a \u00d89.8 mm bore."], "text": "Lofted body through 3 sections: 50 \u00d7 50 mm rectangular section \u2192 \u00d840.7 mm circular section \u2192 \u00d831.4 mm circular section. \u00d817.5 mm circular section attachment, 18.2 mm long, from top face with a \u00d89.8 mm bore."}, "params": {"adapter_base": {"type": "float", "default": 50, "min": 30.0, "max": 75.0, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "adapter_top": {"type": "float", "default": 31.4, "min": 15.7, "max": 50, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "adapter_h": {"type": "float", "default": 47.7, "min": 19.1, "max": 95.4, "step": 1.0, "group": "Body", "label": "Transition height (mm)"}, "adapter_mid": {"type": "float", "default": 40.7, "min": 15.7, "max": 50, "step": 1.0, "group": "Body", "label": "Mid size (mm)"}, "neck_d": {"type": "float", "default": 17.5, "min": 7.0, "max": 31.4, "step": 1.0, "group": "Neck", "label": "Neck diameter (mm)"}, "neck_l": {"type": "float", "default": 18.2, "min": 7.3, "max": 45.5, "step": 1.0, "group": "Neck", "label": "Neck length (mm)"}, "neck_bore": {"type": "float", "default": 9.8, "min": 2.0, "max": 12.6, "step": 0.5, "group": "Neck", "label": "Neck bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330509 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"adapter_base\": {\"type\": 'float', \"default\": 50, \"min\": 30.0, \"max\": 75.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"adapter_top\": {\"type\": 'float', \"default\": 31.4, \"min\": 15.7, \"max\": 50, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"adapter_h\": {\"type\": 'float', \"default\": 47.7, \"min\": 19.1, \"max\": 95.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Transition height (mm)'},\n    \"adapter_mid\": {\"type\": 'float', \"default\": 40.7, \"min\": 15.7, \"max\": 50, \"step\": 1.0, \"group\": 'Body', \"label\": 'Mid size (mm)'},\n    \"neck_d\": {\"type\": 'float', \"default\": 17.5, \"min\": 7.0, \"max\": 31.4, \"step\": 1.0, \"group\": 'Neck', \"label\": 'Neck diameter (mm)'},\n    \"neck_l\": {\"type\": 'float', \"default\": 18.2, \"min\": 7.3, \"max\": 45.5, \"step\": 1.0, \"group\": 'Neck', \"label\": 'Neck length (mm)'},\n    \"neck_bore\": {\"type\": 'float', \"default\": 9.8, \"min\": 2.0, \"max\": 12.6, \"step\": 0.5, \"group\": 'Neck', \"label\": 'Neck bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .rect(p[\"adapter_base\"], p[\"adapter_base\"])\n        .workplane(offset=p[\"adapter_h\"] * 0.5)\n        .circle(p[\"adapter_mid\"] / 2)\n        .workplane(offset=p[\"adapter_h\"] * 0.5)\n        .circle(p[\"adapter_top\"] / 2)\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"neck_d\"] / 2).extrude(p[\"neck_l\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"neck_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca34e_1946", "family": "revolved", "tier": 0, "seed": 1177330510, "symmetry": "none", "op_count": 1, "ir_hash": "82fdb426da91c2ef", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 6130.0, "surface_area": 3870.0, "principal_moments": [207000.0, 1090000.0, 1090000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d815 mm \u00d7 52 mm tall."], "text": "Revolved body, \u00d815 mm \u00d7 52 mm tall."}, "params": {"outer_d": {"type": "float", "default": 15, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 52.0, "min": 15.6, "max": 156.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330510 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 15, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 52.0, \"min\": 15.6, \"max\": 156.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462ca34f_1947", "family": "threaded", "tier": 1, "seed": 1177330511, "symmetry": "none", "op_count": 1, "ir_hash": "a8d3415c78383023", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 5510.0, "surface_area": 3410.0, "principal_moments": [83800.0, 1610000.0, 1610000.0], "n_faces": 340, "n_edges": 874, "n_vertices": 536}, "dimensions": {"lines": ["M12x1.75 external thread, 58.6 mm long."], "text": "M12x1.75 external thread, 58.6 mm long."}, "params": {"major_d": {"type": "float", "default": 12.0, "min": 4.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Major diameter (mm)"}, "pitch": {"type": "float", "default": 1.75, "min": 0.88, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Pitch (mm)"}, "thread_len": {"type": "float", "default": 58.6, "min": 23.4, "max": 117.2, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330511 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 12.0, \"min\": 4.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Major diameter (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.75, \"min\": 0.88, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Pitch (mm)'},\n    \"thread_len\": {\"type\": 'float', \"default\": 58.6, \"min\": 23.4, \"max\": 117.2, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.IsoThread(major_diameter=p[\"major_d\"], pitch=p[\"pitch\"], length=p[\"thread_len\"], external=True, end_finishes=(\"fade\", \"fade\"))\n    _r = _thr.min_radius if hasattr(_thr, 'min_radius') else _thr.root_radius\n    _shank = _bd.Cylinder(radius=_r, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = _shank + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462ca350_1948", "family": "flanged", "tier": 2, "seed": 1177330512, "symmetry": "radial", "op_count": 3, "ir_hash": "f1b5286177e69529", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 210000.0, "surface_area": 41300.0, "principal_moments": [204000000.0, 204000000.0, 235000000.0], "n_faces": 32, "n_edges": 80, "n_vertices": 47}, "dimensions": {"lines": ["Revolved body, \u00d865.47 mm \u00d7 64.6 mm tall with \u00d835.2 mm bore, \u00d8115.5 mm \u00d7 8.5 mm flange.", "Four \u00d88.4 mm holes on a \u00d869.2 mm bolt circle.", "Chamfer 0.5 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d865.47 mm \u00d7 64.6 mm tall with \u00d835.2 mm bore, \u00d8115.5 mm \u00d7 8.5 mm flange. Four \u00d88.4 mm holes on a \u00d869.2 mm bolt circle. Chamfer 0.5 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 65.47, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 64.6, "min": 19.4, "max": 161.5, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 35.2, "min": 2.0, "max": 45.8, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 115.5, "min": 85.1, "max": 196.4, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 8.5, "min": 2.5, "max": 25.8, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 8.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 34.6, "min": 23.1, "max": 52.0, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 4, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}, "end_chamfer": {"type": "float", "default": 0.5, "min": 0.1, "max": 2.0, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330512 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 65.47, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 64.6, \"min\": 19.4, \"max\": 161.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 35.2, \"min\": 2.0, \"max\": 45.8, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 115.5, \"min\": 85.1, \"max\": 196.4, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 8.5, \"min\": 2.5, \"max\": 25.8, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 34.6, \"min\": 23.1, \"max\": 52.0, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 4, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.5, \"min\": 0.1, \"max\": 2.0, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462ca351_1949", "family": "gear", "tier": 2, "seed": 1177330513, "symmetry": "none", "op_count": 1, "ir_hash": "6ad3ca9192477479", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 57600.0, "surface_area": 14400.0, "principal_moments": [19000000.0, 19000000.0, 35700000.0], "n_faces": 187, "n_edges": 555, "n_vertices": 370}, "dimensions": {"lines": ["Spur gear, module 3 mm, 23 teeth (pitch \u00d869 mm), face width 15.7 mm, \u00d89.3 mm bore."], "text": "Spur gear, module 3 mm, 23 teeth (pitch \u00d869 mm), face width 15.7 mm, \u00d89.3 mm bore."}, "params": {"module": {"type": "float", "default": 3.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 23, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 15.7, "min": 6.3, "max": 39.2, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "profile_shift": {"type": "float", "default": 0.07, "min": -0.5, "max": 0.7, "step": 0.05, "group": "Gear", "label": "Profile shift"}, "root_fillet": {"type": "float", "default": 0.33, "min": 0.0, "max": 1.5, "step": 0.05, "group": "Gear", "label": "Root fillet (mm)"}, "bore_d": {"type": "float", "default": 9.3, "min": 2.0, "max": 36.9, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330513 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 3.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 23, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 15.7, \"min\": 6.3, \"max\": 39.2, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"profile_shift\": {\"type\": 'float', \"default\": 0.07, \"min\": -0.5, \"max\": 0.7, \"step\": 0.05, \"group\": 'Gear', \"label\": 'Profile shift'},\n    \"root_fillet\": {\"type\": 'float', \"default\": 0.33, \"min\": 0.0, \"max\": 1.5, \"step\": 0.05, \"group\": 'Gear', \"label\": 'Root fillet (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 9.3, \"min\": 2.0, \"max\": 36.9, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"], profile_shift=p[\"profile_shift\"], root_fillet=p[\"root_fillet\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca352_1950", "family": "plate", "tier": 1, "seed": 1177330514, "symmetry": "radial", "op_count": 2, "ir_hash": "4c4a92ce812c3d2c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 48000.0, "surface_area": 12200.0, "principal_moments": [6330000.0, 48899999.99999999, 54099999.99999999], "n_faces": 8, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["Rectangular body, 110 \u00d7 37.4 \u00d7 12 mm (W\u00d7D\u00d7H).", "Eight \u00d88.4 mm holes on a \u00d866 mm bolt circle."], "text": "Rectangular body, 110 \u00d7 37.4 \u00d7 12 mm (W\u00d7D\u00d7H). Eight \u00d88.4 mm holes on a \u00d866 mm bolt circle."}, "params": {"plate_w": {"type": "float", "default": 110, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 37.4, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "bolt_d": {"type": "float", "default": 8.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 33.0, "min": 22.0, "max": 49.5, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 8, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330514 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 110, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 37.4, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 33.0, \"min\": 22.0, \"max\": 49.5, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462ca353_1951", "family": "flanged", "tier": 2, "seed": 1177330515, "symmetry": "radial", "op_count": 2, "ir_hash": "d3a72bdc7e59b461", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 26400.0, "surface_area": 11200.0, "principal_moments": [7290000.0, 7290000.0, 13199999.999999998], "n_faces": 10, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["Revolved body, \u00d830 mm \u00d7 19.2 mm tall with \u00d813 mm bore, \u00d871.7 mm \u00d7 4.7 mm flange.", "Four \u00d84.3 mm holes on a \u00d843 mm bolt circle."], "text": "Revolved body, \u00d830 mm \u00d7 19.2 mm tall with \u00d813 mm bore, \u00d871.7 mm \u00d7 4.7 mm flange. Four \u00d84.3 mm holes on a \u00d843 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 30, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 19.2, "min": 5.8, "max": 48.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 13.0, "min": 2.0, "max": 21.0, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 71.7, "min": 39.0, "max": 90.0, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 4.7, "min": 1.4, "max": 7.7, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 21.5, "min": 14.3, "max": 32.3, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 4, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330515 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 30, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 19.2, \"min\": 5.8, \"max\": 48.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 13.0, \"min\": 2.0, \"max\": 21.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 71.7, \"min\": 39.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 4.7, \"min\": 1.4, \"max\": 7.7, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 21.5, \"min\": 14.3, \"max\": 32.3, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 4, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca354_1952", "family": "bracket", "tier": 2, "seed": 1177330516, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "44987105d0aee899", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 13900.0, "surface_area": 9800.0, "principal_moments": [3020000.0, 7780000.0, 8060000.0], "n_faces": 15, "n_edges": 41, "n_vertices": 26}, "dimensions": {"lines": ["L-bracket: base leg 55.67 mm, vertical leg 58.6 mm, 36.67 mm wide, 3 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg; 4.5 mm corner gusset."], "text": "L-bracket: base leg 55.67 mm, vertical leg 58.6 mm, 36.67 mm wide, 3 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg; 4.5 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 55.67, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 58.6, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 36.67, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 3.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 4.5, "min": 1.5, "max": 9.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330516 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 55.67, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 58.6, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 36.67, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 4.5, \"min\": 1.5, \"max\": 9.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462ca355_1953", "family": "gear", "tier": 1, "seed": 1177330517, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "487b2d8ed02568c0", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 42100.0, "surface_area": 13900.0, "principal_moments": [16699999.999999998, 16699999.999999998, 32699999.999999996], "n_faces": 189, "n_edges": 561, "n_vertices": 374}, "dimensions": {"lines": ["Spur gear, module 2.5 mm, 31 teeth (pitch \u00d877.5 mm), face width 9.3 mm, \u00d813.5 mm bore."], "text": "Spur gear, module 2.5 mm, 31 teeth (pitch \u00d877.5 mm), face width 9.3 mm, \u00d813.5 mm bore."}, "params": {"module": {"type": "float", "default": 2.5, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 31, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 9.3, "min": 3.7, "max": 23.2, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "bore_d": {"type": "float", "default": 13.5, "min": 2.0, "max": 42.8, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330517 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 2.5, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 31, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 9.3, \"min\": 3.7, \"max\": 23.2, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 13.5, \"min\": 2.0, \"max\": 42.8, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca356_1954", "family": "compound", "tier": 1, "seed": 1177330518, "symmetry": "none", "op_count": 3, "ir_hash": "a1e80d3aab000124", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 560000.0, "surface_area": 44100.0, "principal_moments": [604000000.0, 652000000.0, 662000000.0], "n_faces": 23, "n_edges": 56, "n_vertices": 37}, "dimensions": {"lines": ["Rectangular body, 87.26 \u00d7 79.1 \u00d7 81.1 mm (W\u00d7D\u00d7H).", "6-sided polygon section, 18.4 mm across corners attachment, 9.9 mm long, from front face with a \u00d87.3 mm bore.", "6-sided polygon section, 18.4 mm across corners attachment, 9.9 mm long, from back face with a \u00d87.3 mm bore."], "text": "Rectangular body, 87.26 \u00d7 79.1 \u00d7 81.1 mm (W\u00d7D\u00d7H). 6-sided polygon section, 18.4 mm across corners attachment, 9.9 mm long, from front face with a \u00d87.3 mm bore. 6-sided polygon section, 18.4 mm across corners attachment, 9.9 mm long, from back face with a \u00d87.3 mm bore."}, "params": {"block_w": {"type": "float", "default": 87.26, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body width (mm)"}, "block_d": {"type": "float", "default": 79.1, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body depth (mm)"}, "block_h": {"type": "float", "default": 81.1, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body height (mm)"}, "port_sides": {"type": "int", "default": 6, "min": 3, "max": 8, "step": 1, "group": "Ports", "label": "Ports sides"}, "port_r": {"type": "float", "default": 9.2, "min": 4.6, "max": 17.8, "step": 1.0, "group": "Ports", "label": "Ports circumradius (mm)"}, "port_len": {"type": "float", "default": 9.9, "min": 4.0, "max": 47.8, "step": 1.0, "group": "Ports", "label": "Port boss length (mm)"}, "port_bore": {"type": "float", "default": 7.3, "min": 2.0, "max": 11.5, "step": 0.5, "group": "Ports", "label": "Port bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330518 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 87.26, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 79.1, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 81.1, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body height (mm)'},\n    \"port_sides\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Ports', \"label\": 'Ports sides'},\n    \"port_r\": {\"type\": 'float', \"default\": 9.2, \"min\": 4.6, \"max\": 17.8, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Ports circumradius (mm)'},\n    \"port_len\": {\"type\": 'float', \"default\": 9.9, \"min\": 4.0, \"max\": 47.8, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Port boss length (mm)'},\n    \"port_bore\": {\"type\": 'float', \"default\": 7.3, \"min\": 2.0, \"max\": 11.5, \"step\": 0.5, \"group\": 'Ports', \"label\": 'Port bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"port_sides\"], p[\"port_r\"] * 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"port_sides\"], p[\"port_r\"] * 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462ca357_1955", "family": "ribbed", "tier": 3, "seed": 1177330519, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "3bdfac800d1839af", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 7770.0, "surface_area": 6390.0, "principal_moments": [732000.0, 1240000.0, 1570000.0], "n_faces": 46, "n_edges": 128, "n_vertices": 80}, "dimensions": {"lines": ["Rectangular body, 40 \u00d7 24.4 \u00d7 4 mm (W\u00d7D\u00d7H).", "Four ribs, 2.6 mm thick, 13 mm tall.", "Four \u00d84.3 mm holes at the corners, 28 \u00d7 17.08 mm spacing."], "text": "Rectangular body, 40 \u00d7 24.4 \u00d7 4 mm (W\u00d7D\u00d7H). Four ribs, 2.6 mm thick, 13 mm tall. Four \u00d84.3 mm holes at the corners, 28 \u00d7 17.08 mm spacing."}, "params": {"base_w": {"type": "float", "default": 40, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 24.4, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 4.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 4, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 13.0, "min": 5.2, "max": 26.0, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 2.6, "min": 1.0, "max": 6.5, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 5.5, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330519 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 40, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 24.4, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 4, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 13.0, \"min\": 5.2, \"max\": 26.0, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 2.6, \"min\": 1.0, \"max\": 6.5, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 5.5, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"base_w\"] * 0.7, p[\"base_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462ca358_1956", "family": "profiled", "tier": 2, "seed": 1177330520, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "ad91e2f1ddcd419b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 38100.0, "surface_area": 10700.0, "principal_moments": [2140000.0, 55099999.99999999, 55099999.99999999], "n_faces": 5, "n_edges": 9, "n_vertices": 6}, "dimensions": {"lines": ["3-sided polygon section, 30 mm across corners, extruded 130.4 mm thick."], "text": "3-sided polygon section, 30 mm across corners, extruded 130.4 mm thick."}, "params": {"circ_r": {"type": "float", "default": 15, "min": 7.5, "max": 30.0, "step": 1.0, "group": "Profile", "label": "Circumscribed radius (mm)"}, "n_sides": {"type": "int", "default": 3, "min": 3, "max": 8, "step": 1, "group": "Profile", "label": "Sides"}, "length": {"type": "float", "default": 130.4, "min": 39.1, "max": 391.2, "step": 5.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330520 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"circ_r\": {\"type\": 'float', \"default\": 15, \"min\": 7.5, \"max\": 30.0, \"step\": 1.0, \"group\": 'Profile', \"label\": 'Circumscribed radius (mm)'},\n    \"n_sides\": {\"type\": 'int', \"default\": 3, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Profile', \"label\": 'Sides'},\n    \"length\": {\"type\": 'float', \"default\": 130.4, \"min\": 39.1, \"max\": 391.2, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').polygon(p[\"n_sides\"], p[\"circ_r\"] * 2).extrude(p[\"length\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca359_1957", "family": "compound", "tier": 1, "seed": 1177330521, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "41e1e47900b23605", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 33700.0, "surface_area": 6960.0, "principal_moments": [4690000.0, 9520000.0, 9520000.0], "n_faces": 10, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["6-sided polygon section, 42.36 mm across corners, extruded 18.1 mm thick.", "\u00d821.7 mm circular section attachment, 34.1 mm long, from top face."], "text": "6-sided polygon section, 42.36 mm across corners, extruded 18.1 mm thick. \u00d821.7 mm circular section attachment, 34.1 mm long, from top face."}, "params": {"base_sides": {"type": "int", "default": 6, "min": 3, "max": 8, "step": 1, "group": "Base", "label": "Base sides"}, "base_r": {"type": "float", "default": 21.18, "min": 12.7, "max": 33.9, "step": 1.0, "group": "Base", "label": "Base circumradius (mm)"}, "base_h": {"type": "float", "default": 18.1, "min": 7.2, "max": 45.2, "step": 1.0, "group": "Base", "label": "Base height (mm)"}, "col_d": {"type": "float", "default": 21.7, "min": 10.8, "max": 29.3, "step": 1.0, "group": "Column", "label": "Column diameter (mm)"}, "col_h": {"type": "float", "default": 34.1, "min": 10.2, "max": 85.2, "step": 1.0, "group": "Column", "label": "Column height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330521 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_sides\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Base', \"label\": 'Base sides'},\n    \"base_r\": {\"type\": 'float', \"default\": 21.18, \"min\": 12.7, \"max\": 33.9, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base circumradius (mm)'},\n    \"base_h\": {\"type\": 'float', \"default\": 18.1, \"min\": 7.2, \"max\": 45.2, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base height (mm)'},\n    \"col_d\": {\"type\": 'float', \"default\": 21.7, \"min\": 10.8, \"max\": 29.3, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column diameter (mm)'},\n    \"col_h\": {\"type\": 'float', \"default\": 34.1, \"min\": 10.2, \"max\": 85.2, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').polygon(p[\"base_sides\"], p[\"base_r\"] * 2).extrude(p[\"base_h\"]))\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"col_d\"] / 2).extrude(p[\"col_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462ca35a_1958", "family": "enclosure", "tier": 1, "seed": 1177330522, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "0f775e0ee00352e0", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 81100.0, "surface_area": 68600.0, "principal_moments": [133000000.0, 162000000.0, 230000000.0], "n_faces": 11, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 110.17 \u00d7 94 \u00d7 61.2 mm (W\u00d7D\u00d7H).", "Hollowed to 2.4 mm wall thickness, open at top face."], "text": "Rectangular body, 110.17 \u00d7 94 \u00d7 61.2 mm (W\u00d7D\u00d7H). Hollowed to 2.4 mm wall thickness, open at top face."}, "params": {"enc_w": {"type": "float", "default": 110.17, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 94.0, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 61.2, "min": 24.5, "max": 122.4, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 2.4, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330522 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 110.17, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 94.0, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 61.2, \"min\": 24.5, \"max\": 122.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 2.4, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca35b_1959", "family": "bracket", "tier": 2, "seed": 1177330523, "symmetry": "none", "op_count": 1, "ir_hash": "bdf661de9b1445b9", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 24900.0, "surface_area": 8460.0, "principal_moments": [4570000.0, 8430000.0, 8980000.0], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["C-channel bracket: base leg 45 mm, vertical leg 30.3 mm, 35 mm wide, 8 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 8.4 mm corner gusset."], "text": "C-channel bracket: base leg 45 mm, vertical leg 30.3 mm, 35 mm wide, 8 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 8.4 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 45, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 30.3, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 35, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 8.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 8.4, "min": 4.0, "max": 17.5, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330523 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 45, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 30.3, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 35, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 8.4, \"min\": 4.0, \"max\": 17.5, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl / 2, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bl - _bt, _bt).lineTo(_bl - _bt - _g, _bt)\n                    .lineTo(_bl - _bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462ca35c_1960", "family": "lofted", "tier": 2, "seed": 1177330524, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "fcad44b89eea0fd2", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 31000.0, "surface_area": 7170.0, "principal_moments": [5710000.0, 5710000.0, 5870000.0], "n_faces": 9, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["Lofted body through 3 sections: 6-sided polygon section, 50 mm across corners \u2192 6-sided polygon section, 38.2 mm across corners \u2192 \u00d826.5 mm circular section.", "One \u00d810.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 3 sections: 6-sided polygon section, 50 mm across corners \u2192 6-sided polygon section, 38.2 mm across corners \u2192 \u00d826.5 mm circular section. One \u00d810.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 50, "min": 25.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 26.5, "min": 10.6, "max": 60.0, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 34.0, "min": 13.6, "max": 68.0, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_mid": {"type": "float", "default": 38.2, "min": 13.2, "max": 60.0, "step": 1.0, "group": "Body", "label": "Mid size (mm)"}, "loft_bore_d": {"type": "float", "default": 10.3, "min": 2.0, "max": 21.2, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330524 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 50, \"min\": 25.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 26.5, \"min\": 10.6, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 34.0, \"min\": 13.6, \"max\": 68.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_mid\": {\"type\": 'float', \"default\": 38.2, \"min\": 13.2, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Mid size (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 10.3, \"min\": 2.0, \"max\": 21.2, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .polygon(6, p[\"loft_base\"] * 0.5 * 2)\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .polygon(6, p[\"loft_mid\"] * 0.5 * 2)\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .circle(p[\"loft_top\"] / 2)\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca35d_1961", "family": "plate", "tier": 0, "seed": 1177330525, "symmetry": "none", "op_count": 1, "ir_hash": "e7251b004217bce0", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 1200.0, "surface_area": 760.0, "principal_moments": [13600.0, 43600.0, 50000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 20 \u00d7 10 \u00d7 6 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 20 \u00d7 10 \u00d7 6 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 20.0, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 10.0, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 6.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330525 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 20.0, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 10.0, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462ca35e_1962", "family": "gear", "tier": 1, "seed": 1177330526, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "470d29cb375d220a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 21100.0, "surface_area": 7080.0, "principal_moments": [2910000.0, 2910000.0, 4980000.0], "n_faces": 105, "n_edges": 309, "n_vertices": 206}, "dimensions": {"lines": ["Spur gear, module 2.5 mm, 17 teeth (pitch \u00d842.5 mm), face width 15.5 mm, \u00d85.6 mm bore."], "text": "Spur gear, module 2.5 mm, 17 teeth (pitch \u00d842.5 mm), face width 15.5 mm, \u00d85.6 mm bore."}, "params": {"module": {"type": "float", "default": 2.5, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 17, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 15.5, "min": 6.2, "max": 38.8, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "bore_d": {"type": "float", "default": 5.6, "min": 2.0, "max": 21.8, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330526 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 2.5, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 17, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 15.5, \"min\": 6.2, \"max\": 38.8, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 5.6, \"min\": 2.0, \"max\": 21.8, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca35f_1963", "family": "revolved", "tier": 2, "seed": 1177330527, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "701dc215d993a074", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 351000.0, "surface_area": 53400.0, "principal_moments": [169000000.0, 1140000000.0, 1140000000.0], "n_faces": 4, "n_edges": 6, "n_vertices": 4}, "dimensions": {"lines": ["Revolved body, \u00d855.71 mm \u00d7 190.2 mm tall with \u00d827.5 mm bore."], "text": "Revolved body, \u00d855.71 mm \u00d7 190.2 mm tall with \u00d827.5 mm bore."}, "params": {"outer_d": {"type": "float", "default": 55.71, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 190.2, "min": 57.1, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 27.5, "min": 2.0, "max": 39.0, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330527 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 55.71, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 190.2, \"min\": 57.1, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 27.5, \"min\": 2.0, \"max\": 39.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462ca360_1964", "family": "threaded", "tier": 0, "seed": 1177330528, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "73bc58b34d677ea1", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 20200.0, "surface_area": 6530.0, "principal_moments": [1250000.0, 5220000.0, 5220000.0], "n_faces": 308, "n_edges": 842, "n_vertices": 536}, "dimensions": {"lines": ["M24x3 external thread, 52.5 mm long."], "text": "M24x3 external thread, 52.5 mm long."}, "params": {"major_d": {"type": "float", "default": 24.0, "min": 4.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Major diameter (mm)"}, "pitch": {"type": "float", "default": 3.0, "min": 1.5, "max": 6.0, "step": 0.05, "group": "Thread", "label": "Pitch (mm)"}, "thread_len": {"type": "float", "default": 52.5, "min": 21.0, "max": 105.0, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330528 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 24.0, \"min\": 4.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Major diameter (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 3.0, \"min\": 1.5, \"max\": 6.0, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Pitch (mm)'},\n    \"thread_len\": {\"type\": 'float', \"default\": 52.5, \"min\": 21.0, \"max\": 105.0, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.IsoThread(major_diameter=p[\"major_d\"], pitch=p[\"pitch\"], length=p[\"thread_len\"], external=True, end_finishes=(\"fade\", \"fade\"))\n    _r = _thr.min_radius if hasattr(_thr, 'min_radius') else _thr.root_radius\n    _shank = _bd.Cylinder(radius=_r, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = _shank + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462ca361_1965", "family": "ribbed", "tier": 1, "seed": 1177330529, "symmetry": "none", "op_count": 2, "ir_hash": "438b6bc3209233ef", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 17400.0, "surface_area": 10400.0, "principal_moments": [4650000.0, 6250000.0, 10700000.0], "n_faces": 21, "n_edges": 48, "n_vertices": 32}, "dimensions": {"lines": ["Rectangular body, 63.49 \u00d7 56.9 \u00d7 4 mm (W\u00d7D\u00d7H).", "Three ribs, 2.8 mm thick, 7 mm tall."], "text": "Rectangular body, 63.49 \u00d7 56.9 \u00d7 4 mm (W\u00d7D\u00d7H). Three ribs, 2.8 mm thick, 7 mm tall."}, "params": {"base_w": {"type": "float", "default": 63.49, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 56.9, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 4.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 3, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 7.0, "min": 2.8, "max": 14.0, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 2.8, "min": 1.0, "max": 7.0, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330529 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 63.49, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 56.9, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 3, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 7.0, \"min\": 2.8, \"max\": 14.0, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 2.8, \"min\": 1.0, \"max\": 7.0, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca362_1966", "family": "plate", "tier": 2, "seed": 1177330530, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "28eb3139bd4edee0", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 4740.0, "surface_area": 3230.0, "principal_moments": [203000.0, 1170000.0, 1360000.0], "n_faces": 22, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 55 \u00d7 22.6 \u00d7 4 mm (W\u00d7D\u00d7H).", "Four 3.8 mm square holes at the corners, 38.5 \u00d7 15.82 mm spacing."], "text": "Rectangular body, 55 \u00d7 22.6 \u00d7 4 mm (W\u00d7D\u00d7H). Four 3.8 mm square holes at the corners, 38.5 \u00d7 15.82 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 55, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 22.6, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 4.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.8, "min": 2.0, "max": 6.6, "step": 0.5, "group": "Holes", "label": "Square hole size (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330530 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 55, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 22.6, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 4.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.8, \"min\": 2.0, \"max\": 6.6, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Square hole size (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().rect(p[\"hole_d\"], p[\"hole_d\"]).cutThruAll()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462ca363_1967", "family": "profiled", "tier": 2, "seed": 1177330531, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "3fd22d71b8004101", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 257000.0, "surface_area": 37100.0, "principal_moments": [45300000.0, 2090000000.0, 2120000000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["45.45 \u00d7 20.03 mm slot section, extruded 311.9 mm thick."], "text": "45.45 \u00d7 20.03 mm slot section, extruded 311.9 mm thick."}, "params": {"slot_len": {"type": "float", "default": 45.45, "min": 22.7, "max": 90.9, "step": 1.0, "group": "Profile", "label": "Slot length (mm)"}, "slot_w": {"type": "float", "default": 20.03, "min": 10.0, "max": 40.1, "step": 0.5, "group": "Profile", "label": "Slot width (mm)"}, "length": {"type": "float", "default": 311.9, "min": 93.6, "max": 935.7, "step": 5.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330531 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"slot_len\": {\"type\": 'float', \"default\": 45.45, \"min\": 22.7, \"max\": 90.9, \"step\": 1.0, \"group\": 'Profile', \"label\": 'Slot length (mm)'},\n    \"slot_w\": {\"type\": 'float', \"default\": 20.03, \"min\": 10.0, \"max\": 40.1, \"step\": 0.5, \"group\": 'Profile', \"label\": 'Slot width (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 311.9, \"min\": 93.6, \"max\": 935.7, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').slot2D(p[\"slot_len\"], p[\"slot_w\"]).extrude(p[\"length\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca364_1968", "family": "bracket", "tier": 2, "seed": 1177330532, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "8af552d88c0df568", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 3980.0, "surface_area": 3330.0, "principal_moments": [389000.0, 524000.0, 637000.0], "n_faces": 19, "n_edges": 51, "n_vertices": 34}, "dimensions": {"lines": ["C-channel bracket: base leg 25.01 mm, vertical leg 25 mm, 20 mm wide, 3 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg; 2.7 mm corner gusset."], "text": "C-channel bracket: base leg 25.01 mm, vertical leg 25 mm, 20 mm wide, 3 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg; 2.7 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 25.01, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 25.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 20, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 3.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 8.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 2.7, "min": 1.5, "max": 9.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330532 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 25.01, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 25.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 20, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 8.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 2.7, \"min\": 1.5, \"max\": 9.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl / 2, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bl - _bt, _bt).lineTo(_bl - _bt - _g, _bt)\n                    .lineTo(_bl - _bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462ca365_1969", "family": "gear", "tier": 1, "seed": 1177330533, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "754fa60ca6e8a78b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 279000.0, "surface_area": 52300.0, "principal_moments": [436000000.0, 436000000.0, 862000000.0], "n_faces": 189, "n_edges": 561, "n_vertices": 374}, "dimensions": {"lines": ["Spur gear, module 5 mm, 31 teeth (pitch \u00d8155 mm), face width 15.3 mm, \u00d824.3 mm bore."], "text": "Spur gear, module 5 mm, 31 teeth (pitch \u00d8155 mm), face width 15.3 mm, \u00d824.3 mm bore."}, "params": {"module": {"type": "float", "default": 5.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 31, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 15.3, "min": 6.1, "max": 38.2, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "bore_d": {"type": "float", "default": 24.3, "min": 2.0, "max": 85.5, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330533 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 5.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 31, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 15.3, \"min\": 6.1, \"max\": 38.2, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 24.3, \"min\": 2.0, \"max\": 85.5, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca366_1970", "family": "block", "tier": 1, "seed": 1177330534, "symmetry": "radial", "op_count": 2, "ir_hash": "8e92d697f113d799", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 226000.0, "surface_area": 30800.0, "principal_moments": [106000000.0, 212000000.0, 269000000.0], "n_faces": 16, "n_edges": 42, "n_vertices": 28}, "dimensions": {"lines": ["Rectangular body, 65 \u00d7 36.5 \u00d7 100 mm (W\u00d7D\u00d7H).", "Six \u00d85.3 mm holes on a \u00d839 mm bolt circle."], "text": "Rectangular body, 65 \u00d7 36.5 \u00d7 100 mm (W\u00d7D\u00d7H). Six \u00d85.3 mm holes on a \u00d839 mm bolt circle."}, "params": {"block_w": {"type": "float", "default": 65, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 36.5, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 100.0, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "bolt_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 19.5, "min": 13.0, "max": 29.2, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 6, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330534 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 65, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 36.5, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 100.0, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 19.5, \"min\": 13.0, \"max\": 29.2, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca367_1971", "family": "plate", "tier": 0, "seed": 1177330535, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "370911aa93fbcfc1", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 13100.0, "surface_area": 5660.0, "principal_moments": [874000.0, 6930000.0, 7730000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 79.35 \u00d7 27.6 \u00d7 6 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 79.35 \u00d7 27.6 \u00d7 6 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 79.35, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 27.6, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 6.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330535 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 79.35, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 27.6, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca368_1972", "family": "bracket", "tier": 2, "seed": 1177330536, "symmetry": "none", "op_count": 1, "ir_hash": "3f96b11211b4ff9a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 8410.0, "surface_area": 5050.0, "principal_moments": [1150000.0, 1480000.0, 2020000.0], "n_faces": 15, "n_edges": 41, "n_vertices": 26}, "dimensions": {"lines": ["L-bracket: base leg 29.92 mm, vertical leg 32.8 mm, 35 mm wide, 4 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg; 4.7 mm corner gusset."], "text": "L-bracket: base leg 29.92 mm, vertical leg 32.8 mm, 35 mm wide, 4 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg; 4.7 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 29.92, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 32.8, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 35, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 4.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 4.7, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330536 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 29.92, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 32.8, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 35, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 4.7, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462ca369_1973", "family": "threaded", "tier": 0, "seed": 1177330537, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "33de139a94210853", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 1990.0, "surface_area": 1520.0, "principal_moments": [20900.0, 166000.0, 166000.0], "n_faces": 210, "n_edges": 536, "n_vertices": 328}, "dimensions": {"lines": ["M10x1.5 external thread, 30.8 mm long."], "text": "M10x1.5 external thread, 30.8 mm long."}, "params": {"major_d": {"type": "float", "default": 10.0, "min": 4.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Major diameter (mm)"}, "pitch": {"type": "float", "default": 1.5, "min": 0.75, "max": 3.0, "step": 0.05, "group": "Thread", "label": "Pitch (mm)"}, "thread_len": {"type": "float", "default": 30.8, "min": 12.3, "max": 61.6, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330537 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 10.0, \"min\": 4.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Major diameter (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.5, \"min\": 0.75, \"max\": 3.0, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Pitch (mm)'},\n    \"thread_len\": {\"type\": 'float', \"default\": 30.8, \"min\": 12.3, \"max\": 61.6, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.IsoThread(major_diameter=p[\"major_d\"], pitch=p[\"pitch\"], length=p[\"thread_len\"], external=True, end_finishes=(\"fade\", \"fade\"))\n    _r = _thr.min_radius if hasattr(_thr, 'min_radius') else _thr.root_radius\n    _shank = _bd.Cylinder(radius=_r, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = _shank + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca36a_1974", "family": "plate", "tier": 2, "seed": 1177330538, "symmetry": "none", "op_count": 2, "ir_hash": "8a12f747eef6e044", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 16900.0, "surface_area": 6250.0, "principal_moments": [975000.0, 7640000.0, 8330000.0], "n_faces": 18, "n_edges": 48, "n_vertices": 32}, "dimensions": {"lines": ["Rectangular body, 75 \u00d7 25 \u00d7 10 mm (W\u00d7D\u00d7H).", "Four \u00d85.3 mm counterbored holes (\u00d810.6 mm \u00d7 4.2 mm counterbore) at the corners, 52.5 \u00d7 17.5 mm spacing."], "text": "Rectangular body, 75 \u00d7 25 \u00d7 10 mm (W\u00d7D\u00d7H). Four \u00d85.3 mm counterbored holes (\u00d810.6 mm \u00d7 4.2 mm counterbore) at the corners, 52.5 \u00d7 17.5 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 75, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 25.0, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 5.6, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "cb_d": {"type": "float", "default": 10.6, "min": 7.9, "max": 15.9, "step": 0.5, "group": "Holes", "label": "Counterbore diameter (mm)"}, "cb_depth": {"type": "float", "default": 4.2, "min": 2.1, "max": 8.4, "step": 0.5, "group": "Holes", "label": "Counterbore depth (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330538 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 75, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 25.0, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 5.6, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"cb_d\": {\"type\": 'float', \"default\": 10.6, \"min\": 7.9, \"max\": 15.9, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Counterbore diameter (mm)'},\n    \"cb_depth\": {\"type\": 'float', \"default\": 4.2, \"min\": 2.1, \"max\": 8.4, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Counterbore depth (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().cboreHole(p[\"hole_d\"], p[\"cb_d\"], p[\"cb_depth\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca36b_1975", "family": "revolved", "tier": 1, "seed": 1177330539, "symmetry": "radial", "op_count": 1, "ir_hash": "d188132f550e3a42", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 527000.0, "surface_area": 67400.0, "principal_moments": [586000000.0, 1020000000.0, 1020000000.0], "n_faces": 5, "n_edges": 7, "n_vertices": 5}, "dimensions": {"lines": ["Revolved body, \u00d865 mm \u00d7 155.1 mm tall with \u00d8108.8 mm \u00d7 30.7 mm flange."], "text": "Revolved body, \u00d865 mm \u00d7 155.1 mm tall with \u00d8108.8 mm \u00d7 30.7 mm flange."}, "params": {"outer_d": {"type": "float", "default": 65, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 155.1, "min": 46.5, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "flange_d": {"type": "float", "default": 108.8, "min": 78.0, "max": 195.0, "step": 1.0, "group": "Body", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 30.7, "min": 9.2, "max": 77.5, "step": 0.5, "group": "Body", "label": "Flange height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330539 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 65, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 155.1, \"min\": 46.5, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 108.8, \"min\": 78.0, \"max\": 195.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 30.7, \"min\": 9.2, \"max\": 77.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Flange height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462ca36c_1976", "family": "threaded", "tier": 0, "seed": 1177330540, "symmetry": "none", "op_count": 1, "ir_hash": "d86c4914f5e3de2f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 2380.0, "surface_area": 1550.0, "principal_moments": [36000.0, 144000.0, 144000.0], "n_faces": 150, "n_edges": 380, "n_vertices": 232}, "dimensions": {"lines": ["M12x1.75 external thread, 25.4 mm long."], "text": "M12x1.75 external thread, 25.4 mm long."}, "params": {"major_d": {"type": "float", "default": 12.0, "min": 4.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Major diameter (mm)"}, "pitch": {"type": "float", "default": 1.75, "min": 0.88, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Pitch (mm)"}, "thread_len": {"type": "float", "default": 25.4, "min": 10.2, "max": 50.8, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330540 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 12.0, \"min\": 4.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Major diameter (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.75, \"min\": 0.88, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Pitch (mm)'},\n    \"thread_len\": {\"type\": 'float', \"default\": 25.4, \"min\": 10.2, \"max\": 50.8, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.IsoThread(major_diameter=p[\"major_d\"], pitch=p[\"pitch\"], length=p[\"thread_len\"], external=True, end_finishes=(\"fade\", \"fade\"))\n    _r = _thr.min_radius if hasattr(_thr, 'min_radius') else _thr.root_radius\n    _shank = _bd.Cylinder(radius=_r, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = _shank + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca36d_1977", "family": "block", "tier": 1, "seed": 1177330541, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "f03979bf0d5781a7", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 634000.0, "surface_area": 58700.0, "principal_moments": [697000000.0, 824000000.0, 929000000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 88.25 \u00d7 75.8 \u00d7 100 mm (W\u00d7D\u00d7H).", "Four \u00d810.5 mm holes at the corners, 61.775 \u00d7 53.06 mm spacing."], "text": "Rectangular body, 88.25 \u00d7 75.8 \u00d7 100 mm (W\u00d7D\u00d7H). Four \u00d810.5 mm holes at the corners, 61.775 \u00d7 53.06 mm spacing."}, "params": {"block_w": {"type": "float", "default": 88.25, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 75.8, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 100.0, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 10.5, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330541 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 88.25, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 75.8, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 100.0, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 10.5, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca36e_1978", "family": "revolved", "tier": 1, "seed": 1177330542, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "4929c19ed620d22b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 718000.0, "surface_area": 89500.0, "principal_moments": [917000000.0, 2440000000.0, 2440000000.0], "n_faces": 5, "n_edges": 7, "n_vertices": 5}, "dimensions": {"lines": ["Revolved body, \u00d859.71 mm \u00d7 221.3 mm tall with \u00d8121.3 mm \u00d7 34.8 mm flange."], "text": "Revolved body, \u00d859.71 mm \u00d7 221.3 mm tall with \u00d8121.3 mm \u00d7 34.8 mm flange."}, "params": {"outer_d": {"type": "float", "default": 59.71, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 221.3, "min": 66.4, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "flange_d": {"type": "float", "default": 121.3, "min": 71.7, "max": 179.1, "step": 1.0, "group": "Body", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 34.8, "min": 10.4, "max": 110.7, "step": 0.5, "group": "Body", "label": "Flange height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330542 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 59.71, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 221.3, \"min\": 66.4, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 121.3, \"min\": 71.7, \"max\": 179.1, \"step\": 1.0, \"group\": 'Body', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 34.8, \"min\": 10.4, \"max\": 110.7, \"step\": 0.5, \"group\": 'Body', \"label\": 'Flange height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462ca36f_1979", "family": "flanged", "tier": 1, "seed": 1177330543, "symmetry": "radial", "op_count": 2, "ir_hash": "dafffcd166765525", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 330000.0, "surface_area": 59500.0, "principal_moments": [444000000.0, 444000000.0, 718000000.0], "n_faces": 10, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["Revolved body, \u00d874.85 mm \u00d7 53.5 mm tall with \u00d834.4 mm bore, \u00d8159.6 mm \u00d7 9.3 mm flange.", "Four \u00d86.4 mm holes on a \u00d895.8 mm bolt circle."], "text": "Revolved body, \u00d874.85 mm \u00d7 53.5 mm tall with \u00d834.4 mm bore, \u00d8159.6 mm \u00d7 9.3 mm flange. Four \u00d86.4 mm holes on a \u00d895.8 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 74.85, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 53.5, "min": 16.1, "max": 133.8, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 34.4, "min": 2.0, "max": 52.4, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 159.6, "min": 97.3, "max": 224.5, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 9.3, "min": 2.8, "max": 21.4, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 47.9, "min": 31.9, "max": 71.8, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 4, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330543 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 74.85, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 53.5, \"min\": 16.1, \"max\": 133.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 34.4, \"min\": 2.0, \"max\": 52.4, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 159.6, \"min\": 97.3, \"max\": 224.5, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 9.3, \"min\": 2.8, \"max\": 21.4, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 47.9, \"min\": 31.9, \"max\": 71.8, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 4, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462ca370_1980", "family": "gear", "tier": 0, "seed": 1177330544, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "e6ff5aa15ad0d2db", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 16000.0, "surface_area": 6390.0, "principal_moments": [2560000.0, 2560000.0, 4920000.0], "n_faces": 200, "n_edges": 594, "n_vertices": 396}, "dimensions": {"lines": ["Spur gear, module 1.5 mm, 33 teeth (pitch \u00d849.5 mm), face width 8.4 mm."], "text": "Spur gear, module 1.5 mm, 33 teeth (pitch \u00d849.5 mm), face width 8.4 mm."}, "params": {"module": {"type": "float", "default": 1.5, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 33, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 8.4, "min": 3.4, "max": 21.0, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330544 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 1.5, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 33, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 8.4, \"min\": 3.4, \"max\": 21.0, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462ca371_1981", "family": "enclosure", "tier": 1, "seed": 1177330545, "symmetry": "none", "op_count": 2, "ir_hash": "18a2ae049b1bfe71", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 49800.0, "surface_area": 35000.0, "principal_moments": [35200000.0, 41700000.0, 59299999.99999999], "n_faces": 11, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 75 \u00d7 33.7 \u00d7 74 mm (W\u00d7D\u00d7H).", "Hollowed to 2.9 mm wall thickness, open at top face."], "text": "Rectangular body, 75 \u00d7 33.7 \u00d7 74 mm (W\u00d7D\u00d7H). Hollowed to 2.9 mm wall thickness, open at top face."}, "params": {"enc_w": {"type": "float", "default": 75, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 33.7, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 74.0, "min": 29.6, "max": 148.0, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 2.9, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330545 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 75, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 33.7, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 74.0, \"min\": 29.6, \"max\": 148.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 2.9, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462ca372_1982", "family": "sketched", "tier": 2, "seed": 1177330546, "symmetry": "none", "op_count": 3, "ir_hash": "3a81c5979d4b3ad6", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 25700.0, "surface_area": 6130.0, "principal_moments": [2610000.0, 6050000.0, 7580000.0], "n_faces": 11, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["freeform sketched section (6 segments: 1 straight, 3 arcs, 2 curves), ~38.547 \u00d7 59.058 mm, extruded 15 mm thick.", "One \u00d84.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch.", "Boss \u00d815.6 mm \u00d7 4.6 mm tall on top face with a \u00d84.3 mm bore."], "text": "freeform sketched section (6 segments: 1 straight, 3 arcs, 2 curves), ~38.547 \u00d7 59.058 mm, extruded 15 mm thick. One \u00d84.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch. Boss \u00d815.6 mm \u00d7 4.6 mm tall on top face with a \u00d84.3 mm bore."}, "params": {"sk_w": {"type": "float", "default": 45, "min": 22.5, "max": 81.0, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 82.15, "min": 41.1, "max": 147.9, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "sk_t": {"type": "float", "default": 15, "min": 6.0, "max": 33.0, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "sk_hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 8.6, "step": 0.5, "group": "Holes", "label": "Hole diameter (mm)"}, "boss_d": {"type": "float", "default": 15.6, "min": 7.8, "max": 31.2, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 4.6, "min": 1.8, "max": 11.5, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}, "boss_bore_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 10.9, "step": 0.1, "group": "Boss", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330546 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 45, \"min\": 22.5, \"max\": 81.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 82.15, \"min\": 41.1, \"max\": 147.9, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"sk_t\": {\"type\": 'float', \"default\": 15, \"min\": 6.0, \"max\": 33.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"sk_hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 8.6, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"boss_d\": {\"type\": 'float', \"default\": 15.6, \"min\": 7.8, \"max\": 31.2, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 4.6, \"min\": 1.8, \"max\": 11.5, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n    \"boss_bore_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 10.9, \"step\": 0.1, \"group\": 'Boss', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.4124, p[\"sk_h\"] * 0.0416).lineTo(p[\"sk_w\"] * 0.1283, p[\"sk_h\"] * 0.3872).threePointArc((p[\"sk_w\"] * -0.0077, p[\"sk_h\"] * 0.4191), (p[\"sk_w\"] * -0.1359, p[\"sk_h\"] * 0.3562)).spline([(p[\"sk_w\"] * -0.1359, p[\"sk_h\"] * 0.3562), (p[\"sk_w\"] * -0.3305, p[\"sk_h\"] * 0.2668), (p[\"sk_w\"] * -0.4442, p[\"sk_h\"] * 0.0854)]).threePointArc((p[\"sk_w\"] * -0.3298, p[\"sk_h\"] * -0.1596), (p[\"sk_w\"] * -0.0928, p[\"sk_h\"] * -0.3317)).bezier([(p[\"sk_w\"] * -0.0928, p[\"sk_h\"] * -0.3317), (p[\"sk_w\"] * 0.0996, p[\"sk_h\"] * -0.3317), (p[\"sk_w\"] * 0.2692, p[\"sk_h\"] * -0.2409)]).threePointArc((p[\"sk_w\"] * 0.3647, p[\"sk_h\"] * -0.1109), (p[\"sk_w\"] * 0.4124, p[\"sk_h\"] * 0.0416)).close().extrude(p[\"sk_t\"]))\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"sk_hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .hole(p[\"boss_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca373_1983", "family": "plate", "tier": 0, "seed": 1177330547, "symmetry": "none", "op_count": 1, "ir_hash": "fdcde462e8c71de2", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 40000.0, "surface_area": 12500.0, "principal_moments": [6520000.0, 44300000.0, 50399999.99999999], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 115 \u00d7 43.5 \u00d7 8 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 115 \u00d7 43.5 \u00d7 8 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 115, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 43.5, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330547 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 115, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 43.5, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462ca375_1985", "family": "tapped", "tier": 2, "seed": 1177330549, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "482aa1144977d812", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 2090.0, "surface_area": 1350.0, "principal_moments": [40400.0, 94800.0, 94800.0], "n_faces": 239, "n_edges": 651, "n_vertices": 414}, "dimensions": {"lines": ["One M4x0.7 tapped hole in a cylinder."], "text": "One M4x0.7 tapped hole in a cylinder."}, "params": {"major_d": {"type": "float", "default": 4.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 0.7, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 20.7, "min": 4.8, "max": 37.3, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "body_d": {"type": "float", "default": 11.9, "min": 7.2, "max": 19.0, "step": 1.0, "group": "Body", "label": "Outer \u00d8 (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330549 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 4.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 0.7, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 20.7, \"min\": 4.8, \"max\": 37.3, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"body_d\": {\"type\": 'float', \"default\": 11.9, \"min\": 7.2, \"max\": 19.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer \u00d8 (mm)'},\n}\n\n\ndef build(p):\n\n    _W = _D = p[\"body_d\"]\n    _H = p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Cylinder(radius=_W / 2, height=_H)\n    _locs = [(0.0, 0.0)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca376_1986", "family": "plate", "tier": 0, "seed": 1177330550, "symmetry": "none", "op_count": 1, "ir_hash": "51a814a17fa14d49", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 20800.0, "surface_area": 8560.0, "principal_moments": [2150000.0, 17400000.0, 19400000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 100 \u00d7 34.7 \u00d7 6 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 100 \u00d7 34.7 \u00d7 6 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 100, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 34.7, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 6.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330550 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 100, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 34.7, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462ca377_1987", "family": "flanged", "tier": 3, "seed": 1177330551, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "914be5d83309d4ef", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 372000.0, "surface_area": 68400.0, "principal_moments": [525000000.0, 576000000.0, 576000000.0], "n_faces": 29, "n_edges": 114, "n_vertices": 76}, "dimensions": {"lines": ["Revolved body, \u00d880.68 mm \u00d7 92 mm tall with \u00d843.8 mm bore, \u00d8134.3 mm \u00d7 8.1 mm flange.", "Twelve \u00d88.4 mm holes on a \u00d880.6 mm bolt circle."], "text": "Revolved body, \u00d880.68 mm \u00d7 92 mm tall with \u00d843.8 mm bore, \u00d8134.3 mm \u00d7 8.1 mm flange. Twelve \u00d88.4 mm holes on a \u00d880.6 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 80.68, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 92.0, "min": 27.6, "max": 230.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 43.8, "min": 2.0, "max": 56.5, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 134.3, "min": 104.9, "max": 242.0, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 8.1, "min": 2.4, "max": 36.8, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 8.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 40.3, "min": 26.9, "max": 60.4, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 12, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330551 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 80.68, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 92.0, \"min\": 27.6, \"max\": 230.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 43.8, \"min\": 2.0, \"max\": 56.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 134.3, \"min\": 104.9, \"max\": 242.0, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 8.1, \"min\": 2.4, \"max\": 36.8, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 40.3, \"min\": 26.9, \"max\": 60.4, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 12, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462ca378_1988", "family": "gear", "tier": 0, "seed": 1177330552, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "a35353957f1b8795", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 1250000.0, "surface_area": 132000.0, "principal_moments": [4600000000.0, 4600000000.0, 9030000000.0], "n_faces": 162, "n_edges": 480, "n_vertices": 320}, "dimensions": {"lines": ["Spur gear, module 6 mm, 40 teeth (pitch \u00d8240 mm), face width 27.9 mm."], "text": "Spur gear, module 6 mm, 40 teeth (pitch \u00d8240 mm), face width 27.9 mm."}, "params": {"module": {"type": "float", "default": 6.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 40, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 27.9, "min": 11.2, "max": 69.8, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330552 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 6.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 40, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 27.9, \"min\": 11.2, \"max\": 69.8, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca379_1989", "family": "plate", "tier": 0, "seed": 1177330553, "symmetry": "none", "op_count": 1, "ir_hash": "01217ca2dfa9f224", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 50000.0, "surface_area": 15200.0, "principal_moments": [13799999.999999998, 50499999.99999999, 63699999.99999999], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 109.83 \u00d7 56.9 \u00d7 8 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 109.83 \u00d7 56.9 \u00d7 8 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 109.83, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 56.9, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330553 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 109.83, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 56.9, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462ca37a_1990", "family": "flanged", "tier": 3, "seed": 1177330554, "symmetry": "radial", "op_count": 3, "ir_hash": "d2393ac277bd34be", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 200000.0, "surface_area": 43400.0, "principal_moments": [211000000.0, 211000000.0, 387000000.0], "n_faces": 26, "n_edges": 57, "n_vertices": 34}, "dimensions": {"lines": ["Revolved body, \u00d863.23 mm \u00d7 34.3 mm tall with \u00d823.4 mm bore, \u00d8143.7 mm \u00d7 8.5 mm flange.", "Eight \u00d88.4 mm holes on a \u00d886.2 mm bolt circle.", "Chamfer 1 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d863.23 mm \u00d7 34.3 mm tall with \u00d823.4 mm bore, \u00d8143.7 mm \u00d7 8.5 mm flange. Eight \u00d88.4 mm holes on a \u00d886.2 mm bolt circle. Chamfer 1 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 63.23, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 34.3, "min": 10.3, "max": 85.8, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 23.4, "min": 2.0, "max": 44.3, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 143.7, "min": 82.2, "max": 189.7, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 8.5, "min": 2.5, "max": 13.7, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 8.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 43.1, "min": 28.7, "max": 64.7, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 8, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}, "end_chamfer": {"type": "float", "default": 1.0, "min": 0.1, "max": 2.0, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330554 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 63.23, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 34.3, \"min\": 10.3, \"max\": 85.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 23.4, \"min\": 2.0, \"max\": 44.3, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 143.7, \"min\": 82.2, \"max\": 189.7, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 8.5, \"min\": 2.5, \"max\": 13.7, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 43.1, \"min\": 28.7, \"max\": 64.7, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 1.0, \"min\": 0.1, \"max\": 2.0, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462ca37c_1992", "family": "enclosure", "tier": 1, "seed": 1177330556, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "7dbc1cdd0cae8f17", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 14000.0, "surface_area": 6710.0, "principal_moments": [1900000.0, 2840000.0, 3670000.0], "n_faces": 11, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 39.26 \u00d7 29.3 \u00d7 20.5 mm (W\u00d7D\u00d7H).", "Hollowed to 4.6 mm wall thickness, open at top face."], "text": "Rectangular body, 39.26 \u00d7 29.3 \u00d7 20.5 mm (W\u00d7D\u00d7H). Hollowed to 4.6 mm wall thickness, open at top face."}, "params": {"enc_w": {"type": "float", "default": 39.26, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 29.3, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 20.5, "min": 8.2, "max": 41.0, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 4.6, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330556 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 39.26, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 29.3, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 20.5, \"min\": 8.2, \"max\": 41.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 4.6, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462ca37e_1994", "family": "sketched", "tier": 1, "seed": 1177330558, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "2e06790bdae4facb", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 35400.0, "surface_area": 8790.0, "principal_moments": [8590000.0, 10400000.0, 18300000.0], "n_faces": 9, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["freeform sketched section (6 segments: 2 straight, 4 arcs), ~62.12 \u00d7 56.927 mm, extruded 11.2 mm thick.", "One \u00d85.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "freeform sketched section (6 segments: 2 straight, 4 arcs), ~62.12 \u00d7 56.927 mm, extruded 11.2 mm thick. One \u00d85.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"sk_w": {"type": "float", "default": 77.64, "min": 38.8, "max": 139.8, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 81.51, "min": 40.8, "max": 146.7, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "sk_t": {"type": "float", "default": 11.2, "min": 4.5, "max": 24.6, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "sk_hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 10.6, "step": 0.5, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330558 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 77.64, \"min\": 38.8, \"max\": 139.8, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 81.51, \"min\": 40.8, \"max\": 146.7, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"sk_t\": {\"type\": 'float', \"default\": 11.2, \"min\": 4.5, \"max\": 24.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"sk_hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 10.6, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.3302, p[\"sk_h\"] * -0.014).threePointArc((p[\"sk_w\"] * 0.2826, p[\"sk_h\"] * 0.1908), (p[\"sk_w\"] * 0.1234, p[\"sk_h\"] * 0.3165)).lineTo(p[\"sk_w\"] * -0.1359, p[\"sk_h\"] * 0.3814).threePointArc((p[\"sk_w\"] * -0.3796, p[\"sk_h\"] * 0.1534), (p[\"sk_w\"] * -0.447, p[\"sk_h\"] * -0.1559)).threePointArc((p[\"sk_w\"] * -0.3858, p[\"sk_h\"] * -0.2451), (p[\"sk_w\"] * -0.2878, p[\"sk_h\"] * -0.3119)).threePointArc((p[\"sk_w\"] * 0.0487, p[\"sk_h\"] * -0.4248), (p[\"sk_w\"] * 0.3531, p[\"sk_h\"] * -0.317)).lineTo(p[\"sk_w\"] * 0.3302, p[\"sk_h\"] * -0.014).close().extrude(p[\"sk_t\"]))\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"sk_hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca37f_1995", "family": "plate", "tier": 2, "seed": 1177330559, "symmetry": "radial", "op_count": 3, "ir_hash": "371a5ea173cf66c5", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 53100.0, "surface_area": 12600.0, "principal_moments": [9820000.0, 43600000.0, 52099999.99999999], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Rectangular body, 98.76 \u00d7 45.4 \u00d7 12 mm (W\u00d7D\u00d7H).", "Six \u00d85.3 mm holes on a \u00d859.2 mm bolt circle.", "Fillet radius 3.57 mm on vertical edges."], "text": "Rectangular body, 98.76 \u00d7 45.4 \u00d7 12 mm (W\u00d7D\u00d7H). Six \u00d85.3 mm holes on a \u00d859.2 mm bolt circle. Fillet radius 3.57 mm on vertical edges."}, "params": {"plate_w": {"type": "float", "default": 98.76, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 45.4, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "bolt_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 29.6, "min": 19.8, "max": 44.4, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 6, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330559 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 98.76, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 45.4, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 29.6, \"min\": 19.8, \"max\": 44.4, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"plate_w\"], p[\"plate_d\"]) * 0.07863298208835444)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca380_1996", "family": "bracket", "tier": 2, "seed": 1177330560, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "1e9e18d91cc03ab7", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 12600.0, "surface_area": 9710.0, "principal_moments": [3490000.0, 12299999.999999998, 15199999.999999998], "n_faces": 15, "n_edges": 49, "n_vertices": 30}, "dimensions": {"lines": ["L-bracket: base leg 85 mm, vertical leg 85 mm, 20 mm wide, 3 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg; 2.8 mm corner gusset."], "text": "L-bracket: base leg 85 mm, vertical leg 85 mm, 20 mm wide, 3 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg; 2.8 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 85, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 85.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 20, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 3.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 8.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 2.8, "min": 1.5, "max": 9.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330560 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 85, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 85.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 20, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 8.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 2.8, \"min\": 1.5, \"max\": 9.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca381_1997", "family": "revolved", "tier": 1, "seed": 1177330561, "symmetry": "radial", "op_count": 2, "ir_hash": "b2c6b61d538ea8d8", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 225000.0, "surface_area": 35200.0, "principal_moments": [190000000.0, 190000000.0, 190000000.0], "n_faces": 7, "n_edges": 11, "n_vertices": 7}, "dimensions": {"lines": ["Revolved body, \u00d841.21 mm \u00d7 101.3 mm tall with \u00d890.3 mm \u00d7 26.7 mm flange.", "Chamfer 0.6 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d841.21 mm \u00d7 101.3 mm tall with \u00d890.3 mm \u00d7 26.7 mm flange. Chamfer 0.6 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 41.21, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 101.3, "min": 30.4, "max": 303.9, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "flange_d": {"type": "float", "default": 90.3, "min": 49.5, "max": 123.6, "step": 1.0, "group": "Body", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 26.7, "min": 8.0, "max": 50.6, "step": 0.5, "group": "Body", "label": "Flange height (mm)"}, "end_chamfer": {"type": "float", "default": 0.6, "min": 0.1, "max": 1.8, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330561 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 41.21, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 101.3, \"min\": 30.4, \"max\": 303.9, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 90.3, \"min\": 49.5, \"max\": 123.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 26.7, \"min\": 8.0, \"max\": 50.6, \"step\": 0.5, \"group\": 'Body', \"label\": 'Flange height (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.6, \"min\": 0.1, \"max\": 1.8, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca382_1998", "family": "block", "tier": 1, "seed": 1177330562, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "f87f5720ac763b1d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 267000.0, "surface_area": 36100.0, "principal_moments": [153000000.0, 253000000.0, 346000000.0], "n_faces": 22, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 75 \u00d7 37.1 \u00d7 100 mm (W\u00d7D\u00d7H).", "Four 5.2 mm square holes at the corners, 52.5 \u00d7 25.97 mm spacing."], "text": "Rectangular body, 75 \u00d7 37.1 \u00d7 100 mm (W\u00d7D\u00d7H). Four 5.2 mm square holes at the corners, 52.5 \u00d7 25.97 mm spacing."}, "params": {"block_w": {"type": "float", "default": 75, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 37.1, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 100.0, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 5.2, "min": 2.0, "max": 10.9, "step": 0.5, "group": "Holes", "label": "Square hole size (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330562 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 75, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 37.1, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 100.0, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.2, \"min\": 2.0, \"max\": 10.9, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Square hole size (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().rect(p[\"hole_d\"], p[\"hole_d\"]).cutThruAll()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462ca383_1999", "family": "threaded", "tier": 0, "seed": 1177330563, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "9139c28e1d66e825", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 3170.0, "surface_area": 2360.0, "principal_moments": [33300.0, 640000.0, 640000.0], "n_faces": 330, "n_edges": 848, "n_vertices": 520}, "dimensions": {"lines": ["M10x1.5 external thread, 48.8 mm long."], "text": "M10x1.5 external thread, 48.8 mm long."}, "params": {"major_d": {"type": "float", "default": 10.0, "min": 4.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Major diameter (mm)"}, "pitch": {"type": "float", "default": 1.5, "min": 0.75, "max": 3.0, "step": 0.05, "group": "Thread", "label": "Pitch (mm)"}, "thread_len": {"type": "float", "default": 48.8, "min": 19.5, "max": 97.6, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330563 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 10.0, \"min\": 4.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Major diameter (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.5, \"min\": 0.75, \"max\": 3.0, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Pitch (mm)'},\n    \"thread_len\": {\"type\": 'float', \"default\": 48.8, \"min\": 19.5, \"max\": 97.6, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.IsoThread(major_diameter=p[\"major_d\"], pitch=p[\"pitch\"], length=p[\"thread_len\"], external=True, end_finishes=(\"fade\", \"fade\"))\n    _r = _thr.min_radius if hasattr(_thr, 'min_radius') else _thr.root_radius\n    _shank = _bd.Cylinder(radius=_r, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = _shank + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca384_2000", "family": "compound", "tier": 1, "seed": 1177330564, "symmetry": "none", "op_count": 2, "ir_hash": "0074df0977bba569", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 7010.0, "surface_area": 2540.0, "principal_moments": [383000.0, 749000.0, 749000.0], "n_faces": 9, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["5-sided polygon section, 26.82 mm across corners, extruded 12.2 mm thick.", "\u00d810 mm circular section attachment, 22.9 mm long, from top face."], "text": "5-sided polygon section, 26.82 mm across corners, extruded 12.2 mm thick. \u00d810 mm circular section attachment, 22.9 mm long, from top face."}, "params": {"base_sides": {"type": "int", "default": 5, "min": 3, "max": 8, "step": 1, "group": "Base", "label": "Base sides"}, "base_r": {"type": "float", "default": 13.41, "min": 8.0, "max": 21.5, "step": 1.0, "group": "Base", "label": "Base circumradius (mm)"}, "base_h": {"type": "float", "default": 12.2, "min": 4.9, "max": 30.5, "step": 1.0, "group": "Base", "label": "Base height (mm)"}, "col_d": {"type": "float", "default": 10.0, "min": 5.0, "max": 17.4, "step": 1.0, "group": "Column", "label": "Column diameter (mm)"}, "col_h": {"type": "float", "default": 22.9, "min": 6.9, "max": 57.2, "step": 1.0, "group": "Column", "label": "Column height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330564 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_sides\": {\"type\": 'int', \"default\": 5, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Base', \"label\": 'Base sides'},\n    \"base_r\": {\"type\": 'float', \"default\": 13.41, \"min\": 8.0, \"max\": 21.5, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base circumradius (mm)'},\n    \"base_h\": {\"type\": 'float', \"default\": 12.2, \"min\": 4.9, \"max\": 30.5, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base height (mm)'},\n    \"col_d\": {\"type\": 'float', \"default\": 10.0, \"min\": 5.0, \"max\": 17.4, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column diameter (mm)'},\n    \"col_h\": {\"type\": 'float', \"default\": 22.9, \"min\": 6.9, \"max\": 57.2, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').polygon(p[\"base_sides\"], p[\"base_r\"] * 2).extrude(p[\"base_h\"]))\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"col_d\"] / 2).extrude(p[\"col_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca385_2001", "family": "compound", "tier": 1, "seed": 1177330565, "symmetry": "none", "op_count": 3, "ir_hash": "ed99d25c0409584b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 59500.0, "surface_area": 12000.0, "principal_moments": [11899999.999999998, 18300000.0, 22100000.0], "n_faces": 15, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 40 \u00d7 50.8 \u00d7 28.8 mm (W\u00d7D\u00d7H).", "26.2 \u00d7 17.7 mm rectangular section attachment, 6 mm long, from front face.", "Four \u00d83.2 mm holes at the corners, 15.72 \u00d7 10.62 mm spacing on the <Y face."], "text": "Rectangular body, 40 \u00d7 50.8 \u00d7 28.8 mm (W\u00d7D\u00d7H). 26.2 \u00d7 17.7 mm rectangular section attachment, 6 mm long, from front face. Four \u00d83.2 mm holes at the corners, 15.72 \u00d7 10.62 mm spacing on the <Y face."}, "params": {"block_w": {"type": "float", "default": 40, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 50.8, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 28.8, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "tab_a": {"type": "float", "default": 26.2, "min": 10.5, "max": 41.9, "step": 1.0, "group": "Tab", "label": "Tab width (mm)"}, "tab_b": {"type": "float", "default": 17.7, "min": 7.1, "max": 28.3, "step": 1.0, "group": "Tab", "label": "Tab height (mm)"}, "tab_t": {"type": "float", "default": 6.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Tab", "label": "Tab thickness (mm)"}, "tab_hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 3.9, "step": 0.1, "group": "Tab", "label": "Tab hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330565 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 40, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 50.8, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 28.8, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"tab_a\": {\"type\": 'float', \"default\": 26.2, \"min\": 10.5, \"max\": 41.9, \"step\": 1.0, \"group\": 'Tab', \"label\": 'Tab width (mm)'},\n    \"tab_b\": {\"type\": 'float', \"default\": 17.7, \"min\": 7.1, \"max\": 28.3, \"step\": 1.0, \"group\": 'Tab', \"label\": 'Tab height (mm)'},\n    \"tab_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Tab', \"label\": 'Tab thickness (mm)'},\n    \"tab_hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 3.9, \"step\": 0.1, \"group\": 'Tab', \"label\": 'Tab hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .rect(p[\"tab_a\"], p[\"tab_b\"]).extrude(p[\"tab_t\"])\n    )\n    result = (\n        result.faces('<Y').workplane()\n        .rect(p[\"tab_a\"] * 0.6, p[\"tab_b\"] * 0.6, forConstruction=True)\n        .vertices().hole(p[\"tab_hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca386_2002", "family": "bracket", "tier": 1, "seed": 1177330566, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "54849c6cf402f08e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 29100.0, "surface_area": 16100.0, "principal_moments": [9710000.0, 23799999.999999996, 29099999.999999996], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Z-bracket: base leg 58.3 mm, vertical leg 41 mm, top leg 39.5 mm, 55.72 mm wide, 4 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."], "text": "Z-bracket: base leg 58.3 mm, vertical leg 41 mm, top leg 39.5 mm, 55.72 mm wide, 4 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 58.3, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 41.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 55.72, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 4.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 39.5, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330566 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 58.3, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 41.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 55.72, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 39.5, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca387_2003", "family": "revolved", "tier": 0, "seed": 1177330567, "symmetry": "none", "op_count": 1, "ir_hash": "046ad7d05daa9fb7", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 212000.0, "surface_area": 40200.0, "principal_moments": [79300000.0, 368000000.0, 368000000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d850 mm \u00d7 161.6 mm tall."], "text": "Revolved body, \u00d850 mm \u00d7 161.6 mm tall."}, "params": {"outer_d": {"type": "float", "default": 50, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 161.6, "min": 48.5, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330567 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 50, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 161.6, \"min\": 48.5, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462ca388_2004", "family": "swept", "tier": 1, "seed": 1177330568, "symmetry": "none", "op_count": 1, "ir_hash": "e8e08dd9c20837d3", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 7210.0, "surface_area": 3560.0, "principal_moments": [171000.0, 4870000.0, 4990000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["12.4 \u00d7 6.7 mm rectangular section swept along a curved path, ~84.25 mm span."], "text": "12.4 \u00d7 6.7 mm rectangular section swept along a curved path, ~84.25 mm span."}, "params": {"path_w": {"type": "float", "default": 50, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 84.25, "min": 42.1, "max": 151.7, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_a": {"type": "float", "default": 12.4, "min": 6.2, "max": 22.3, "step": 1.0, "group": "Section", "label": "Section width (mm)"}, "sweep_b": {"type": "float", "default": 6.7, "min": 3.4, "max": 12.1, "step": 1.0, "group": "Section", "label": "Section depth (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330568 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 50, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 84.25, \"min\": 42.1, \"max\": 151.7, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_a\": {\"type\": 'float', \"default\": 12.4, \"min\": 6.2, \"max\": 22.3, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section width (mm)'},\n    \"sweep_b\": {\"type\": 'float', \"default\": 6.7, \"min\": 3.4, \"max\": 12.1, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section depth (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.3365, p[\"path_h\"] * 0.3653), (p[\"path_w\"] * 0.4569, p[\"path_h\"] * 0.5214), (p[\"path_w\"] * 0.4691, p[\"path_h\"] * 0.8124), (p[\"path_w\"] * 0.6199, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').rect(p[\"sweep_a\"], p[\"sweep_b\"]).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca389_2005", "family": "bracket", "tier": 2, "seed": 1177330569, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "fbfec6d236624c96", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 16300.0, "surface_area": 8010.0, "principal_moments": [2600000.0, 4480000.0, 5150000.0], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["C-channel bracket: base leg 27.19 mm, vertical leg 25 mm, 50.1 mm wide, 5 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg; 5.5 mm corner gusset."], "text": "C-channel bracket: base leg 27.19 mm, vertical leg 25 mm, 50.1 mm wide, 5 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg; 5.5 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 27.19, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 25.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 50.1, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 5.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 5.5, "min": 2.5, "max": 15.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330569 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 27.19, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 25.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 50.1, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 5.5, \"min\": 2.5, \"max\": 15.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl / 2, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bl - _bt, _bt).lineTo(_bl - _bt - _g, _bt)\n                    .lineTo(_bl - _bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462ca38a_2006", "family": "gear", "tier": 2, "seed": 1177330570, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "9acd918b669b3e5a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 14900.0, "surface_area": 6160.0, "principal_moments": [2290000.0, 2290000.0, 4400000.0], "n_faces": 201, "n_edges": 597, "n_vertices": 398}, "dimensions": {"lines": ["Helical gear, module 1.25 mm, 33 teeth (pitch \u00d841.25 mm), face width 8.4 mm, 29.4\u00b0 helix, \u00d86.1 mm bore."], "text": "Helical gear, module 1.25 mm, 33 teeth (pitch \u00d841.25 mm), face width 8.4 mm, 29.4\u00b0 helix, \u00d86.1 mm bore."}, "params": {"module": {"type": "float", "default": 1.25, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 33, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 8.4, "min": 3.4, "max": 21.0, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "helix_angle": {"type": "float", "default": 29.4, "min": 5.0, "max": 40.0, "step": 1.0, "group": "Gear", "label": "Helix angle (deg)"}, "profile_shift": {"type": "float", "default": 0.31, "min": -0.5, "max": 0.7, "step": 0.05, "group": "Gear", "label": "Profile shift"}, "root_fillet": {"type": "float", "default": 0.16, "min": 0.0, "max": 0.62, "step": 0.05, "group": "Gear", "label": "Root fillet (mm)"}, "bore_d": {"type": "float", "default": 6.1, "min": 2.0, "max": 22.9, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330570 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 1.25, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 33, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 8.4, \"min\": 3.4, \"max\": 21.0, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"helix_angle\": {\"type\": 'float', \"default\": 29.4, \"min\": 5.0, \"max\": 40.0, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Helix angle (deg)'},\n    \"profile_shift\": {\"type\": 'float', \"default\": 0.31, \"min\": -0.5, \"max\": 0.7, \"step\": 0.05, \"group\": 'Gear', \"label\": 'Profile shift'},\n    \"root_fillet\": {\"type\": 'float', \"default\": 0.16, \"min\": 0.0, \"max\": 0.62, \"step\": 0.05, \"group\": 'Gear', \"label\": 'Root fillet (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 6.1, \"min\": 2.0, \"max\": 22.9, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.HelicalGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"], helix_angle=math.radians(p[\"helix_angle\"]), herringbone=False, profile_shift=p[\"profile_shift\"], root_fillet=p[\"root_fillet\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462ca38c_2008", "family": "flanged", "tier": 1, "seed": 1177330572, "symmetry": "none", "op_count": 2, "ir_hash": "44825ead7df200f7", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 148000.0, "surface_area": 35800.0, "principal_moments": [117000000.0, 117000000.0, 195000000.0], "n_faces": 14, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["Revolved body, \u00d860 mm \u00d7 37.6 mm tall with \u00d825.7 mm bore, \u00d8125.8 mm \u00d7 6.5 mm flange.", "Eight \u00d86.4 mm holes on a \u00d875.4 mm bolt circle."], "text": "Revolved body, \u00d860 mm \u00d7 37.6 mm tall with \u00d825.7 mm bore, \u00d8125.8 mm \u00d7 6.5 mm flange. Eight \u00d86.4 mm holes on a \u00d875.4 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 60, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 37.6, "min": 11.3, "max": 94.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 25.7, "min": 2.0, "max": 42.0, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 125.8, "min": 78.0, "max": 180.0, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 6.5, "min": 1.9, "max": 15.0, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 37.7, "min": 25.2, "max": 56.6, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 8, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330572 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 60, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 37.6, \"min\": 11.3, \"max\": 94.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 25.7, \"min\": 2.0, \"max\": 42.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 125.8, \"min\": 78.0, \"max\": 180.0, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 6.5, \"min\": 1.9, \"max\": 15.0, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 37.7, \"min\": 25.2, \"max\": 56.6, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca38d_2009", "family": "bracket", "tier": 2, "seed": 1177330573, "symmetry": "none", "op_count": 1, "ir_hash": "55163f07e6409584", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 9340.0, "surface_area": 5480.0, "principal_moments": [1550000.0, 1580000.0, 2590000.0], "n_faces": 14, "n_edges": 37, "n_vertices": 24}, "dimensions": {"lines": ["L-bracket: base leg 35 mm, vertical leg 25 mm, 40.94 mm wide, 4 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 4.9 mm corner gusset."], "text": "L-bracket: base leg 35 mm, vertical leg 25 mm, 40.94 mm wide, 4 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 4.9 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 35, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 25.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 40.94, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 4.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 4.9, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330573 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 35, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 25.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 40.94, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 4.9, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca38e_2010", "family": "plate", "tier": 1, "seed": 1177330574, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "c5089956251b42f3", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 38000.0, "surface_area": 12300.0, "principal_moments": [7830000.0, 30399999.999999996, 37800000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 97.82 \u00d7 49.2 \u00d7 8 mm (W\u00d7D\u00d7H).", "Four \u00d84.3 mm holes at the corners, 68.474 \u00d7 34.44 mm spacing."], "text": "Rectangular body, 97.82 \u00d7 49.2 \u00d7 8 mm (W\u00d7D\u00d7H). Four \u00d84.3 mm holes at the corners, 68.474 \u00d7 34.44 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 97.82, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 49.2, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 11.1, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330574 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 97.82, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 49.2, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 11.1, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462ca38f_2011", "family": "gear", "tier": 0, "seed": 1177330575, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "846d3c0e6d01daaf", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 43900.0, "surface_area": 11700.0, "principal_moments": [11599999.999999998, 11599999.999999998, 21600000.0], "n_faces": 152, "n_edges": 450, "n_vertices": 300}, "dimensions": {"lines": ["Spur gear, module 2.5 mm, 25 teeth (pitch \u00d862.5 mm), face width 14.5 mm."], "text": "Spur gear, module 2.5 mm, 25 teeth (pitch \u00d862.5 mm), face width 14.5 mm."}, "params": {"module": {"type": "float", "default": 2.5, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 25, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 14.5, "min": 5.8, "max": 36.2, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330575 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 2.5, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 25, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 14.5, \"min\": 5.8, \"max\": 36.2, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca390_2012", "family": "plate", "tier": 2, "seed": 1177330576, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "0767af6b8e3fd515", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 473.0, "surface_area": 676.0, "principal_moments": [3870.0, 26000.0, 29600.0], "n_faces": 14, "n_edges": 44, "n_vertices": 28}, "dimensions": {"lines": ["Rectangular body, 26.35 \u00d7 10 \u00d7 2 mm (W\u00d7D\u00d7H).", "Four \u00d82.2 mm countersunk holes (82\u00b0) at the corners, 18.445 \u00d7 7 mm spacing."], "text": "Rectangular body, 26.35 \u00d7 10 \u00d7 2 mm (W\u00d7D\u00d7H). Four \u00d82.2 mm countersunk holes (82\u00b0) at the corners, 18.445 \u00d7 7 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 26.35, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 10.0, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 2.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 2.2, "min": 2.0, "max": 2.2, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "cs_angle": {"type": "float", "default": 82.0, "min": 60.0, "max": 120.0, "step": 15.0, "group": "Holes", "label": "Countersink angle (\u00b0)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330576 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 26.35, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 10.0, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 2.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 2.2, \"min\": 2.0, \"max\": 2.2, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"cs_angle\": {\"type\": 'float', \"default\": 82.0, \"min\": 60.0, \"max\": 120.0, \"step\": 15.0, \"group\": 'Holes', \"label\": 'Countersink angle (\u00b0)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().cskHole(p[\"hole_d\"], p[\"hole_d\"] * 2, p[\"cs_angle\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462ca391_2013", "family": "flanged", "tier": 3, "seed": 1177330577, "symmetry": "none", "op_count": 2, "ir_hash": "3728c3e4b40a5253", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 831000.0, "surface_area": 121000.0, "principal_moments": [2290000000.0, 2290000000.0, 2590000000.0], "n_faces": 18, "n_edges": 45, "n_vertices": 30}, "dimensions": {"lines": ["Revolved body, \u00d898.62 mm \u00d7 107.9 mm tall with \u00d853.2 mm bore, \u00d8210.3 mm \u00d7 9.2 mm flange.", "Twelve \u00d85.3 mm holes on a \u00d8126.2 mm bolt circle."], "text": "Revolved body, \u00d898.62 mm \u00d7 107.9 mm tall with \u00d853.2 mm bore, \u00d8210.3 mm \u00d7 9.2 mm flange. Twelve \u00d85.3 mm holes on a \u00d8126.2 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 98.62, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 107.9, "min": 32.4, "max": 269.8, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 53.2, "min": 2.0, "max": 69.0, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 210.3, "min": 128.2, "max": 295.9, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 9.2, "min": 2.8, "max": 43.2, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 63.1, "min": 42.1, "max": 94.6, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 12, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330577 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 98.62, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 107.9, \"min\": 32.4, \"max\": 269.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 53.2, \"min\": 2.0, \"max\": 69.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 210.3, \"min\": 128.2, \"max\": 295.9, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 9.2, \"min\": 2.8, \"max\": 43.2, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 63.1, \"min\": 42.1, \"max\": 94.6, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 12, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca392_2014", "family": "bracket", "tier": 1, "seed": 1177330578, "symmetry": "none", "op_count": 1, "ir_hash": "3ed1c0f8c3b2f2a9", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 15200.0, "surface_area": 7500.0, "principal_moments": [5080000.0, 19000000.0, 23499999.999999996], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["L-bracket: base leg 87.59 mm, vertical leg 90 mm, 15 mm wide, 6 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."], "text": "L-bracket: base leg 87.59 mm, vertical leg 90 mm, 15 mm wide, 6 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 87.59, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 90.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 15.0, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 6.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 6.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330578 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 87.59, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 90.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 15.0, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 6.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462ca393_2015", "family": "swept", "tier": 0, "seed": 1177330579, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "25907e0f68db69cd", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 10500.0, "surface_area": 3560.0, "principal_moments": [305000.0, 4570000.0, 4590000.0], "n_faces": 3, "n_edges": 3, "n_vertices": 2}, "dimensions": {"lines": ["\u00d815.7 mm circular section swept along a curved path, ~70 mm span."], "text": "\u00d815.7 mm circular section swept along a curved path, ~70 mm span."}, "params": {"path_w": {"type": "float", "default": 62.65, "min": 31.3, "max": 112.8, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 70, "min": 35.0, "max": 126.0, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_d": {"type": "float", "default": 15.7, "min": 7.8, "max": 28.3, "step": 1.0, "group": "Section", "label": "Section diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330579 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 62.65, \"min\": 31.3, \"max\": 112.8, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 70, \"min\": 35.0, \"max\": 126.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_d\": {\"type\": 'float', \"default\": 15.7, \"min\": 7.8, \"max\": 28.3, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.1102, p[\"path_h\"] * 0.227), (p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.6879), (p[\"path_w\"] * 0.0, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').circle(p[\"sweep_d\"] / 2).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462ca394_2016", "family": "flanged", "tier": 1, "seed": 1177330580, "symmetry": "radial", "op_count": 2, "ir_hash": "d70cfff3852a4d13", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 944000.0, "surface_area": 118000.0, "principal_moments": [2550000000.0, 2550000000.0, 3390000000.0], "n_faces": 18, "n_edges": 45, "n_vertices": 30}, "dimensions": {"lines": ["Revolved body, \u00d898.57 mm \u00d7 97.7 mm tall with \u00d847.2 mm bore, \u00d8212 mm \u00d7 13.4 mm flange.", "Twelve \u00d83.2 mm holes on a \u00d8127.2 mm bolt circle."], "text": "Revolved body, \u00d898.57 mm \u00d7 97.7 mm tall with \u00d847.2 mm bore, \u00d8212 mm \u00d7 13.4 mm flange. Twelve \u00d83.2 mm holes on a \u00d8127.2 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 98.57, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 97.7, "min": 29.3, "max": 244.2, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 47.2, "min": 2.0, "max": 69.0, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 212.0, "min": 128.1, "max": 295.7, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 13.4, "min": 4.0, "max": 39.1, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 63.6, "min": 42.4, "max": 95.4, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 12, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330580 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 98.57, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 97.7, \"min\": 29.3, \"max\": 244.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 47.2, \"min\": 2.0, \"max\": 69.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 212.0, \"min\": 128.1, \"max\": 295.7, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 13.4, \"min\": 4.0, \"max\": 39.1, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 63.6, \"min\": 42.4, \"max\": 95.4, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 12, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca395_2017", "family": "plate", "tier": 1, "seed": 1177330581, "symmetry": "none", "op_count": 2, "ir_hash": "8baee6260919f53c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 27000.0, "surface_area": 9340.0, "principal_moments": [4960000.0, 12599999.999999998, 17200000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 75 \u00d7 46.7 \u00d7 8 mm (W\u00d7D\u00d7H).", "Four \u00d86.4 mm holes at the corners, 52.5 \u00d7 32.69 mm spacing."], "text": "Rectangular body, 75 \u00d7 46.7 \u00d7 8 mm (W\u00d7D\u00d7H). Four \u00d86.4 mm holes at the corners, 52.5 \u00d7 32.69 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 75, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 46.7, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 10.5, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330581 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 75, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 46.7, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 10.5, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462ca396_2018", "family": "tapped", "tier": 3, "seed": 1177330582, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "e3d1458cde012b9b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 132000.0, "surface_area": 25500.0, "principal_moments": [59499999.99999999, 83400000.0, 129000000.0], "n_faces": 778, "n_edges": 2224, "n_vertices": 1448}, "dimensions": {"lines": ["Four M16x2 tapped holes in a plate."], "text": "Four M16x2 tapped holes in a plate."}, "params": {"major_d": {"type": "float", "default": 16.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 2.0, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 25.6, "min": 19.2, "max": 46.1, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "plate_w": {"type": "float", "default": 83.92, "min": 50.4, "max": 134.3, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 69.6, "min": 41.8, "max": 111.4, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330582 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 16.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 2.0, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 25.6, \"min\": 19.2, \"max\": 46.1, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"plate_w\": {\"type\": 'float', \"default\": 83.92, \"min\": 50.4, \"max\": 134.3, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 69.6, \"min\": 41.8, \"max\": 111.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n}\n\n\ndef build(p):\n\n    _W, _D, _H = p[\"plate_w\"], p[\"plate_d\"], p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Box(_W, _D, _H)\n    _sx, _sy = p[\"plate_w\"] * 0.6, p[\"plate_d\"] * 0.6\n    _locs = [(_xx, _yy) for _xx in (-_sx / 2, _sx / 2) for _yy in (-_sy / 2, _sy / 2)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462ca397_2019", "family": "sketched", "tier": 1, "seed": 1177330583, "symmetry": "none", "op_count": 1, "ir_hash": "2cb32cc3a904fb26", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 32500.0, "surface_area": 6620.0, "principal_moments": [3440000.0, 11599999.999999998, 11599999.999999998], "n_faces": 7, "n_edges": 11, "n_vertices": 6}, "dimensions": {"lines": ["Revolved organic body from a freeform sketched section (7 segments: 4 straight, 1 arc, 2 curves), ~18.598 \u00d7 57.28 mm half-silhouette."], "text": "Revolved organic body from a freeform sketched section (7 segments: 4 straight, 1 arc, 2 curves), ~18.598 \u00d7 57.28 mm half-silhouette."}, "params": {"sk_r": {"type": "float", "default": 20, "min": 10.0, "max": 36.0, "step": 1.0, "group": "Sketch", "label": "Max radius (mm)"}, "sk_h": {"type": "float", "default": 57.28, "min": 28.6, "max": 103.1, "step": 1.0, "group": "Sketch", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330583 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_r\": {\"type\": 'float', \"default\": 20, \"min\": 10.0, \"max\": 36.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Max radius (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 57.28, \"min\": 28.6, \"max\": 103.1, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XZ').moveTo(p[\"sk_r\"] * 0.7802, p[\"sk_h\"] * 0.0).lineTo(p[\"sk_r\"] * 0.6721, p[\"sk_h\"] * 0.1426).lineTo(p[\"sk_r\"] * 0.7196, p[\"sk_h\"] * 0.1632).threePointArc((p[\"sk_r\"] * 0.6218, p[\"sk_h\"] * 0.3863), (p[\"sk_r\"] * 0.3071, p[\"sk_h\"] * 0.6093)).spline([(p[\"sk_r\"] * 0.3071, p[\"sk_h\"] * 0.6093), (p[\"sk_r\"] * 0.7679, p[\"sk_h\"] * 0.7088), (p[\"sk_r\"] * 0.9299, p[\"sk_h\"] * 0.8082)]).bezier([(p[\"sk_r\"] * 0.9299, p[\"sk_h\"] * 0.8082), (p[\"sk_r\"] * 0.7889, p[\"sk_h\"] * 0.9041), (p[\"sk_r\"] * 0.3465, p[\"sk_h\"] * 1.0)]).lineTo(p[\"sk_r\"] * 0.0, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.0, p[\"sk_h\"] * 0.0).close().revolve())\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca398_2020", "family": "bracket", "tier": 2, "seed": 1177330584, "symmetry": "none", "op_count": 1, "ir_hash": "24fc6fb4314fd402", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 17000.0, "surface_area": 7620.0, "principal_moments": [3450000.0, 9180000.0, 11399999.999999998], "n_faces": 19, "n_edges": 51, "n_vertices": 34}, "dimensions": {"lines": ["C-channel bracket: base leg 58.3 mm, vertical leg 42.1 mm, 21.16 mm wide, 6 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg; 7.1 mm corner gusset."], "text": "C-channel bracket: base leg 58.3 mm, vertical leg 42.1 mm, 21.16 mm wide, 6 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg; 7.1 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 58.3, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 42.1, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 21.16, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 6.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 8.5, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 7.1, "min": 3.0, "max": 10.6, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330584 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 58.3, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 42.1, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 21.16, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 8.5, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 7.1, \"min\": 3.0, \"max\": 10.6, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl / 2, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bl - _bt, _bt).lineTo(_bl - _bt - _g, _bt)\n                    .lineTo(_bl - _bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca399_2021", "family": "block", "tier": 2, "seed": 1177330585, "symmetry": "radial", "op_count": 3, "ir_hash": "a62004243cc0fdec", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 59800.0, "surface_area": 20200.0, "principal_moments": [18600000.0, 24999999.999999996, 32699999.999999996], "n_faces": 31, "n_edges": 102, "n_vertices": 68}, "dimensions": {"lines": ["Rectangular body, 55.56 \u00d7 31.5 \u00d7 51.3 mm (W\u00d7D\u00d7H).", "Twelve \u00d86.4 mm holes on a \u00d833.4 mm bolt circle.", "Pocket 29.5 \u00d7 17.6 mm, 30.2 mm deep, in top face."], "text": "Rectangular body, 55.56 \u00d7 31.5 \u00d7 51.3 mm (W\u00d7D\u00d7H). Twelve \u00d86.4 mm holes on a \u00d833.4 mm bolt circle. Pocket 29.5 \u00d7 17.6 mm, 30.2 mm deep, in top face."}, "params": {"block_w": {"type": "float", "default": 55.56, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 31.5, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 51.3, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "bolt_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 16.7, "min": 11.1, "max": 25.0, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 12, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}, "pocket_w": {"type": "float", "default": 29.5, "min": 14.8, "max": 44.4, "step": 1.0, "group": "Pocket", "label": "Pocket width (mm)"}, "pocket_d": {"type": "float", "default": 17.6, "min": 8.8, "max": 25.2, "step": 1.0, "group": "Pocket", "label": "Pocket depth (mm)"}, "pocket_h": {"type": "float", "default": 30.2, "min": 12.1, "max": 43.6, "step": 0.5, "group": "Pocket", "label": "Pocket height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330585 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 55.56, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 31.5, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 51.3, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 16.7, \"min\": 11.1, \"max\": 25.0, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 12, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n    \"pocket_w\": {\"type\": 'float', \"default\": 29.5, \"min\": 14.8, \"max\": 44.4, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket width (mm)'},\n    \"pocket_d\": {\"type\": 'float', \"default\": 17.6, \"min\": 8.8, \"max\": 25.2, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket depth (mm)'},\n    \"pocket_h\": {\"type\": 'float', \"default\": 30.2, \"min\": 12.1, \"max\": 43.6, \"step\": 0.5, \"group\": 'Pocket', \"label\": 'Pocket height (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"pocket_w\"], p[\"pocket_d\"])\n        .cutBlind(-p[\"pocket_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca39a_2022", "family": "revolved", "tier": 0, "seed": 1177330586, "symmetry": "none", "op_count": 1, "ir_hash": "a7dda70450e943ad", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 140000.0, "surface_area": 24100.0, "principal_moments": [79600000.0, 81800000.0, 81800000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d861.46 mm \u00d7 71 mm tall."], "text": "Revolved body, \u00d861.46 mm \u00d7 71 mm tall."}, "params": {"outer_d": {"type": "float", "default": 61.46, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 71.0, "min": 21.3, "max": 213.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330586 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 61.46, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 71.0, \"min\": 21.3, \"max\": 213.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462ca39b_2023", "family": "ribbed", "tier": 2, "seed": 1177330587, "symmetry": "none", "op_count": 3, "ir_hash": "195cf664665def04", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 14600.0, "surface_area": 8600.0, "principal_moments": [2560000.0, 5130000.0, 6660000.0], "n_faces": 24, "n_edges": 72, "n_vertices": 48}, "dimensions": {"lines": ["Rectangular body, 52.24 \u00d7 42.7 \u00d7 4 mm (W\u00d7D\u00d7H).", "Two ribs, 5.3 mm thick, 16.3 mm tall.", "Four \u00d86.4 mm holes at the corners, 36.568 \u00d7 29.89 mm spacing."], "text": "Rectangular body, 52.24 \u00d7 42.7 \u00d7 4 mm (W\u00d7D\u00d7H). Two ribs, 5.3 mm thick, 16.3 mm tall. Four \u00d86.4 mm holes at the corners, 36.568 \u00d7 29.89 mm spacing."}, "params": {"base_w": {"type": "float", "default": 52.24, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 42.7, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 4.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 2, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 16.3, "min": 6.5, "max": 32.6, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 5.3, "min": 1.0, "max": 13.2, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 9.6, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330587 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 52.24, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 42.7, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 2, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 16.3, \"min\": 6.5, \"max\": 32.6, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 5.3, \"min\": 1.0, \"max\": 13.2, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 9.6, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"base_w\"] * 0.7, p[\"base_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca39c_2024", "family": "plate", "tier": 1, "seed": 1177330588, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "6e9f0adcc4bb91da", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 6990.0, "surface_area": 3930.0, "principal_moments": [308000.0, 2360000.0, 2640000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 64.14 \u00d7 22.7 \u00d7 5 mm (W\u00d7D\u00d7H).", "Four \u00d84.3 mm holes at the corners, 44.898 \u00d7 15.89 mm spacing."], "text": "Rectangular body, 64.14 \u00d7 22.7 \u00d7 5 mm (W\u00d7D\u00d7H). Four \u00d84.3 mm holes at the corners, 44.898 \u00d7 15.89 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 64.14, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 22.7, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 5.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 5.1, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330588 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 64.14, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 22.7, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 5.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 5.1, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca39d_2025", "family": "plate", "tier": 3, "seed": 1177330589, "symmetry": "none", "op_count": 3, "ir_hash": "a674d371e6c1118a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 26700.0, "surface_area": 9530.0, "principal_moments": [2630000.0, 17100000.0, 19100000.0], "n_faces": 27, "n_edges": 84, "n_vertices": 56}, "dimensions": {"lines": ["Rectangular body, 85 \u00d7 31.7 \u00d7 12 mm (W\u00d7D\u00d7H).", "Four 9.5 \u00d7 5.3 mm slots at the corners, 59.5 \u00d7 22.19 mm spacing.", "Pocket 51.7 \u00d7 18.9 mm, 3.6 mm deep, in top face."], "text": "Rectangular body, 85 \u00d7 31.7 \u00d7 12 mm (W\u00d7D\u00d7H). Four 9.5 \u00d7 5.3 mm slots at the corners, 59.5 \u00d7 22.19 mm spacing. Pocket 51.7 \u00d7 18.9 mm, 3.6 mm deep, in top face."}, "params": {"plate_w": {"type": "float", "default": 85, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 31.7, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 7.1, "step": 0.5, "group": "Holes", "label": "Slot width (mm)"}, "hole_slot_len": {"type": "float", "default": 9.5, "min": 7.9, "max": 9.5, "step": 0.5, "group": "Holes", "label": "Slot length (mm)"}, "pocket_w": {"type": "float", "default": 51.7, "min": 25.9, "max": 68.0, "step": 1.0, "group": "Pocket", "label": "Pocket width (mm)"}, "pocket_d": {"type": "float", "default": 18.9, "min": 9.4, "max": 25.4, "step": 1.0, "group": "Pocket", "label": "Pocket depth (mm)"}, "pocket_h": {"type": "float", "default": 3.6, "min": 1.4, "max": 10.2, "step": 0.5, "group": "Pocket", "label": "Pocket height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330589 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 85, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 31.7, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 7.1, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Slot width (mm)'},\n    \"hole_slot_len\": {\"type\": 'float', \"default\": 9.5, \"min\": 7.9, \"max\": 9.5, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Slot length (mm)'},\n    \"pocket_w\": {\"type\": 'float', \"default\": 51.7, \"min\": 25.9, \"max\": 68.0, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket width (mm)'},\n    \"pocket_d\": {\"type\": 'float', \"default\": 18.9, \"min\": 9.4, \"max\": 25.4, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket depth (mm)'},\n    \"pocket_h\": {\"type\": 'float', \"default\": 3.6, \"min\": 1.4, \"max\": 10.2, \"step\": 0.5, \"group\": 'Pocket', \"label\": 'Pocket height (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().slot2D(p[\"hole_slot_len\"], p[\"hole_d\"]).cutThruAll()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"pocket_w\"], p[\"pocket_d\"])\n        .cutBlind(-p[\"pocket_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca39f_2027", "family": "plate", "tier": 2, "seed": 1177330591, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "7aa87b4c79527396", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 2570.0, "surface_area": 1610.0, "principal_moments": [41300.0, 199000.0, 213000.0], "n_faces": 22, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 30 \u00d7 11.6 \u00d7 8 mm (W\u00d7D\u00d7H).", "Four 3.5 \u00d7 2.2 mm slots at the corners, 21 \u00d7 8.12 mm spacing."], "text": "Rectangular body, 30 \u00d7 11.6 \u00d7 8 mm (W\u00d7D\u00d7H). Four 3.5 \u00d7 2.2 mm slots at the corners, 21 \u00d7 8.12 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 30, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 11.6, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 2.2, "min": 2.0, "max": 2.6, "step": 0.5, "group": "Holes", "label": "Slot width (mm)"}, "hole_slot_len": {"type": "float", "default": 3.5, "min": 3.3, "max": 3.5, "step": 0.5, "group": "Holes", "label": "Slot length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330591 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 30, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 11.6, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 2.2, \"min\": 2.0, \"max\": 2.6, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Slot width (mm)'},\n    \"hole_slot_len\": {\"type\": 'float', \"default\": 3.5, \"min\": 3.3, \"max\": 3.5, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Slot length (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().slot2D(p[\"hole_slot_len\"], p[\"hole_d\"]).cutThruAll()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462ca3a0_2028", "family": "swept", "tier": 1, "seed": 1177330592, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "a7fe6ccfe1c0782e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 9000.0, "surface_area": 4910.0, "principal_moments": [1210000.0, 5800000.0, 6860000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["18.9 \u00d7 10.1 mm rectangular section swept along a curved path, ~80 mm span."], "text": "18.9 \u00d7 10.1 mm rectangular section swept along a curved path, ~80 mm span."}, "params": {"path_w": {"type": "float", "default": 56.89, "min": 28.4, "max": 102.4, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 80, "min": 40.0, "max": 144.0, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_a": {"type": "float", "default": 18.9, "min": 9.4, "max": 34.0, "step": 1.0, "group": "Section", "label": "Section width (mm)"}, "sweep_b": {"type": "float", "default": 10.1, "min": 5.0, "max": 18.2, "step": 1.0, "group": "Section", "label": "Section depth (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330592 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 56.89, \"min\": 28.4, \"max\": 102.4, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 80, \"min\": 40.0, \"max\": 144.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_a\": {\"type\": 'float', \"default\": 18.9, \"min\": 9.4, \"max\": 34.0, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section width (mm)'},\n    \"sweep_b\": {\"type\": 'float', \"default\": 10.1, \"min\": 5.0, \"max\": 18.2, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section depth (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.2657, p[\"path_h\"] * 0.6577), (p[\"path_w\"] * 0.1201, p[\"path_h\"] * 0.7671), (p[\"path_w\"] * 0.5363, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').rect(p[\"sweep_a\"], p[\"sweep_b\"]).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca3a1_2029", "family": "revolved", "tier": 1, "seed": 1177330593, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "3fad1157efce8006", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 138000.0, "surface_area": 22800.0, "principal_moments": [72200000.0, 93399999.99999999, 93399999.99999999], "n_faces": 8, "n_edges": 14, "n_vertices": 8}, "dimensions": {"lines": ["Revolved body, \u00d857.79 mm \u00d7 70.8 mm tall with \u00d829 mm bore.", "Chamfer 1.5 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d857.79 mm \u00d7 70.8 mm tall with \u00d829 mm bore. Chamfer 1.5 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 57.79, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 70.8, "min": 21.2, "max": 212.4, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 29.0, "min": 2.0, "max": 40.5, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "end_chamfer": {"type": "float", "default": 1.5, "min": 0.1, "max": 4.5, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330593 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 57.79, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 70.8, \"min\": 21.2, \"max\": 212.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 29.0, \"min\": 2.0, \"max\": 40.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 1.5, \"min\": 0.1, \"max\": 4.5, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462ca3a2_2030", "family": "flanged", "tier": 1, "seed": 1177330594, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "972d067863802d8c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 15300.0, "surface_area": 7990.0, "principal_moments": [2730000.0, 2880000.0, 2880000.0], "n_faces": 18, "n_edges": 45, "n_vertices": 30}, "dimensions": {"lines": ["Revolved body, \u00d825 mm \u00d7 31 mm tall with \u00d812.2 mm bore, \u00d852.3 mm \u00d7 2.4 mm flange.", "Twelve \u00d83.2 mm holes on a \u00d831.4 mm bolt circle."], "text": "Revolved body, \u00d825 mm \u00d7 31 mm tall with \u00d812.2 mm bore, \u00d852.3 mm \u00d7 2.4 mm flange. Twelve \u00d83.2 mm holes on a \u00d831.4 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 25, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 31.0, "min": 9.3, "max": 77.5, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 12.2, "min": 2.0, "max": 17.5, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 52.3, "min": 32.5, "max": 75.0, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 2.4, "min": 0.7, "max": 12.4, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 15.7, "min": 10.5, "max": 23.5, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 12, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330594 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 25, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 31.0, \"min\": 9.3, \"max\": 77.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 12.2, \"min\": 2.0, \"max\": 17.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 52.3, \"min\": 32.5, \"max\": 75.0, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 2.4, \"min\": 0.7, \"max\": 12.4, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 15.7, \"min\": 10.5, \"max\": 23.5, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 12, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462ca3a3_2031", "family": "swept", "tier": 1, "seed": 1177330595, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "a750ee123297d8e8", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 2160.0, "surface_area": 2240.0, "principal_moments": [80300.0, 1010000.0, 1070000.0], "n_faces": 3, "n_edges": 3, "n_vertices": 2}, "dimensions": {"lines": ["\u00d88.7 mm circular section swept along a curved path, ~60 mm span."], "text": "\u00d88.7 mm circular section swept along a curved path, ~60 mm span."}, "params": {"path_w": {"type": "float", "default": 50, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 60, "min": 30.0, "max": 108.0, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_d": {"type": "float", "default": 8.7, "min": 4.3, "max": 15.7, "step": 1.0, "group": "Section", "label": "Section diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330595 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 50, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 60, \"min\": 30.0, \"max\": 108.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_d\": {\"type\": 'float', \"default\": 8.7, \"min\": 4.3, \"max\": 15.7, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.3126, p[\"path_h\"] * 0.5279), (p[\"path_w\"] * 0.558, p[\"path_h\"] * 0.7039), (p[\"path_w\"] * 0.444, p[\"path_h\"] * 0.7486), (p[\"path_w\"] * 0.6002, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').circle(p[\"sweep_d\"] / 2).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca3a4_2032", "family": "plate", "tier": 3, "seed": 1177330596, "symmetry": "none", "op_count": 4, "ir_hash": "7572f9b98009b32b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 3030.0, "surface_area": 1960.0, "principal_moments": [86900.0, 224000.0, 280000.0], "n_faces": 24, "n_edges": 63, "n_vertices": 42}, "dimensions": {"lines": ["Rectangular body, 27.49 \u00d7 16 \u00d7 8 mm (W\u00d7D\u00d7H).", "Nine \u00d81.7 mm holes in two staggered rows, 5.2 \u00d7 5.8 mm pitch.", "Fillet radius 0.812 mm on vertical edges.", "Pocket 13.8 \u00d7 8.6 mm, 3 mm deep, in top face."], "text": "Rectangular body, 27.49 \u00d7 16 \u00d7 8 mm (W\u00d7D\u00d7H). Nine \u00d81.7 mm holes in two staggered rows, 5.2 \u00d7 5.8 mm pitch. Fillet radius 0.812 mm on vertical edges. Pocket 13.8 \u00d7 8.6 mm, 3 mm deep, in top face."}, "params": {"plate_w": {"type": "float", "default": 27.49, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 16.0, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 1.7, "min": 2.0, "max": 1.6, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 5, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}, "pocket_w": {"type": "float", "default": 13.8, "min": 6.9, "max": 22.0, "step": 1.0, "group": "Pocket", "label": "Pocket width (mm)"}, "pocket_d": {"type": "float", "default": 8.6, "min": 4.3, "max": 12.8, "step": 1.0, "group": "Pocket", "label": "Pocket depth (mm)"}, "pocket_h": {"type": "float", "default": 3.0, "min": 1.2, "max": 6.8, "step": 0.5, "group": "Pocket", "label": "Pocket height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330596 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 27.49, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 16.0, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 1.7, \"min\": 2.0, \"max\": 1.6, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 5, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n    \"pocket_w\": {\"type\": 'float', \"default\": 13.8, \"min\": 6.9, \"max\": 22.0, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket width (mm)'},\n    \"pocket_d\": {\"type\": 'float', \"default\": 8.6, \"min\": 4.3, \"max\": 12.8, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket depth (mm)'},\n    \"pocket_h\": {\"type\": 'float', \"default\": 3.0, \"min\": 1.2, \"max\": 6.8, \"step\": 0.5, \"group\": 'Pocket', \"label\": 'Pocket height (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 5.2\n    _ssy = 5.8\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"plate_w\"], p[\"plate_d\"]) * 0.05075442926684484)\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"pocket_w\"], p[\"pocket_d\"])\n        .cutBlind(-p[\"pocket_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462ca3a5_2033", "family": "tapped", "tier": 0, "seed": 1177330597, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "cccc979b0b820805", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 2350.0, "surface_area": 1550.0, "principal_moments": [65500.0, 98200.0, 98200.0], "n_faces": 151, "n_edges": 409, "n_vertices": 260}, "dimensions": {"lines": ["One M6x1 tapped hole in a cylinder."], "text": "One M6x1 tapped hole in a cylinder."}, "params": {"major_d": {"type": "float", "default": 6.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 1.0, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 18.3, "min": 7.2, "max": 32.9, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "body_d": {"type": "float", "default": 13.9, "min": 10.8, "max": 22.2, "step": 1.0, "group": "Body", "label": "Outer \u00d8 (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330597 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.0, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 18.3, \"min\": 7.2, \"max\": 32.9, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"body_d\": {\"type\": 'float', \"default\": 13.9, \"min\": 10.8, \"max\": 22.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer \u00d8 (mm)'},\n}\n\n\ndef build(p):\n\n    _W = _D = p[\"body_d\"]\n    _H = p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Cylinder(radius=_W / 2, height=_H)\n    _locs = [(0.0, 0.0)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462ca3a6_2034", "family": "ribbed", "tier": 1, "seed": 1177330598, "symmetry": "none", "op_count": 2, "ir_hash": "dabf200690516d70", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 10200.0, "surface_area": 8850.0, "principal_moments": [1620000.0, 3250000.0, 4190000.0], "n_faces": 30, "n_edges": 72, "n_vertices": 44}, "dimensions": {"lines": ["Rectangular body, 55 \u00d7 33.5 \u00d7 3 mm (W\u00d7D\u00d7H).", "Three ribs, 2.2 mm thick, 16.2 mm tall."], "text": "Rectangular body, 55 \u00d7 33.5 \u00d7 3 mm (W\u00d7D\u00d7H). Three ribs, 2.2 mm thick, 16.2 mm tall."}, "params": {"base_w": {"type": "float", "default": 55, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 33.5, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 3.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 3, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 16.2, "min": 6.5, "max": 32.4, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 2.2, "min": 1.0, "max": 5.5, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330598 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 55, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 33.5, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 3, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 16.2, \"min\": 6.5, \"max\": 32.4, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 2.2, \"min\": 1.0, \"max\": 5.5, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462ca3a7_2035", "family": "profiled", "tier": 0, "seed": 1177330599, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "94f9fee3a3ce35ea", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 61000.0, "surface_area": 11600.0, "principal_moments": [4380000.0, 96999999.99999999, 96999999.99999999], "n_faces": 8, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["6-sided polygon section, 26.24 mm across corners, extruded 136.5 mm thick."], "text": "6-sided polygon section, 26.24 mm across corners, extruded 136.5 mm thick."}, "params": {"circ_r": {"type": "float", "default": 13.12, "min": 6.6, "max": 26.2, "step": 1.0, "group": "Profile", "label": "Circumscribed radius (mm)"}, "n_sides": {"type": "int", "default": 6, "min": 3, "max": 8, "step": 1, "group": "Profile", "label": "Sides"}, "length": {"type": "float", "default": 136.5, "min": 40.9, "max": 409.5, "step": 5.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330599 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"circ_r\": {\"type\": 'float', \"default\": 13.12, \"min\": 6.6, \"max\": 26.2, \"step\": 1.0, \"group\": 'Profile', \"label\": 'Circumscribed radius (mm)'},\n    \"n_sides\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Profile', \"label\": 'Sides'},\n    \"length\": {\"type\": 'float', \"default\": 136.5, \"min\": 40.9, \"max\": 409.5, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').polygon(p[\"n_sides\"], p[\"circ_r\"] * 2).extrude(p[\"length\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462ca3a9_2037", "family": "ribbed", "tier": 1, "seed": 1177330601, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "774c20f335e5a6ba", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 63100.0, "surface_area": 28400.0, "principal_moments": [33700000.0, 38300000.0, 68100000.0], "n_faces": 36, "n_edges": 84, "n_vertices": 56}, "dimensions": {"lines": ["Rectangular body, 85 \u00d7 84.4 \u00d7 5 mm (W\u00d7D\u00d7H).", "Six ribs, 4.7 mm thick, 14.2 mm tall."], "text": "Rectangular body, 85 \u00d7 84.4 \u00d7 5 mm (W\u00d7D\u00d7H). Six ribs, 4.7 mm thick, 14.2 mm tall."}, "params": {"base_w": {"type": "float", "default": 85, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 84.4, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 5.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 6, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 14.2, "min": 5.7, "max": 28.4, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 4.7, "min": 1.0, "max": 11.8, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330601 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 85, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 84.4, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 6, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 14.2, \"min\": 5.7, \"max\": 28.4, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 4.7, \"min\": 1.0, \"max\": 11.8, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca3aa_2038", "family": "bracket", "tier": 2, "seed": 1177330602, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "2f300bc53d198e79", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 39200.0, "surface_area": 17900.0, "principal_moments": [11999999.999999998, 59399999.99999999, 60599999.99999999], "n_faces": 18, "n_edges": 48, "n_vertices": 32}, "dimensions": {"lines": ["Z-bracket: base leg 65 mm, vertical leg 74.7 mm, top leg 53.1 mm, 41.52 mm wide, 5 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg; 5.3 mm corner gusset."], "text": "Z-bracket: base leg 65 mm, vertical leg 74.7 mm, top leg 53.1 mm, 41.52 mm wide, 5 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg; 5.3 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 65, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 74.7, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 41.52, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 5.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 53.1, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}, "gusset_t": {"type": "float", "default": 5.3, "min": 2.5, "max": 15.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330602 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 65, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 74.7, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 41.52, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 53.1, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.5, \"max\": 15.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _tl, _vl) * 0.4 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(0, _vl - _bt).lineTo(-_g, _vl - _bt)\n                    .lineTo(0, _vl - _bt - _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca3ab_2039", "family": "plate", "tier": 1, "seed": 1177330603, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "f04ee87f3844f29c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 3640.0, "surface_area": 2090.0, "principal_moments": [115000.0, 352000.0, 445000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 33.97 \u00d7 18.8 \u00d7 6 mm (W\u00d7D\u00d7H).", "Four \u00d83.2 mm holes at the corners, 23.779 \u00d7 13.16 mm spacing."], "text": "Rectangular body, 33.97 \u00d7 18.8 \u00d7 6 mm (W\u00d7D\u00d7H). Four \u00d83.2 mm holes at the corners, 23.779 \u00d7 13.16 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 33.97, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 18.8, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 6.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 4.2, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330603 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 33.97, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 18.8, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 4.2, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca3ac_2040", "family": "bracket", "tier": 1, "seed": 1177330604, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "bbd8406627b6390b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 39900.0, "surface_area": 12900.0, "principal_moments": [12299999.999999998, 31199999.999999996, 32299999.999999996], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["L-bracket: base leg 65 mm, vertical leg 66.6 mm, 40.87 mm wide, 8 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."], "text": "L-bracket: base leg 65 mm, vertical leg 66.6 mm, 40.87 mm wide, 8 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 65, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 66.6, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 40.87, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 8.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330604 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 65, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 66.6, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 40.87, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462ca3ad_2041", "family": "sketched", "tier": 2, "seed": 1177330605, "symmetry": "mirror_xy", "op_count": 3, "ir_hash": "9f5cf19c19f3032a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 35400.0, "surface_area": 7830.0, "principal_moments": [3960000.0, 10900000.0, 11799999.999999998], "n_faces": 10, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["freeform sketched section (5 segments: 2 straight, 3 curves), ~33.253 \u00d7 71.281 mm, extruded 21.47 mm thick.", "One \u00d86.4 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch.", "Boss \u00d816.4 mm \u00d7 6.8 mm tall on top face with a \u00d88.4 mm bore."], "text": "freeform sketched section (5 segments: 2 straight, 3 curves), ~33.253 \u00d7 71.281 mm, extruded 21.47 mm thick. One \u00d86.4 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch. Boss \u00d816.4 mm \u00d7 6.8 mm tall on top face with a \u00d88.4 mm bore."}, "params": {"sk_w": {"type": "float", "default": 45.31, "min": 22.7, "max": 81.6, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 85, "min": 42.5, "max": 153.0, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "sk_t": {"type": "float", "default": 21.47, "min": 8.6, "max": 47.2, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "sk_hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 12.8, "step": 0.5, "group": "Holes", "label": "Hole diameter (mm)"}, "boss_d": {"type": "float", "default": 16.4, "min": 8.2, "max": 32.8, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 6.8, "min": 2.7, "max": 17.0, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}, "boss_bore_d": {"type": "float", "default": 8.4, "min": 2.0, "max": 11.5, "step": 0.1, "group": "Boss", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330605 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 45.31, \"min\": 22.7, \"max\": 81.6, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 85, \"min\": 42.5, \"max\": 153.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"sk_t\": {\"type\": 'float', \"default\": 21.47, \"min\": 8.6, \"max\": 47.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"sk_hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 12.8, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"boss_d\": {\"type\": 'float', \"default\": 16.4, \"min\": 8.2, \"max\": 32.8, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 6.8, \"min\": 2.7, \"max\": 17.0, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n    \"boss_bore_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 2.0, \"max\": 11.5, \"step\": 0.1, \"group\": 'Boss', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.4021, p[\"sk_h\"] * -0.0294).spline([(p[\"sk_w\"] * 0.4021, p[\"sk_h\"] * -0.0294), (p[\"sk_w\"] * 0.253, p[\"sk_h\"] * 0.2407), (p[\"sk_w\"] * -0.0049, p[\"sk_h\"] * 0.41)]).spline([(p[\"sk_w\"] * -0.0049, p[\"sk_h\"] * 0.41), (p[\"sk_w\"] * -0.184, p[\"sk_h\"] * 0.3461), (p[\"sk_w\"] * -0.3318, p[\"sk_h\"] * 0.2264)]).spline([(p[\"sk_w\"] * -0.3318, p[\"sk_h\"] * 0.2264), (p[\"sk_w\"] * -0.3581, p[\"sk_h\"] * -0.0102), (p[\"sk_w\"] * -0.3151, p[\"sk_h\"] * -0.2443)]).lineTo(p[\"sk_w\"] * 0.0042, p[\"sk_h\"] * -0.4286).lineTo(p[\"sk_w\"] * 0.4021, p[\"sk_h\"] * -0.0294).close().extrude(p[\"sk_t\"]))\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"sk_hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .hole(p[\"boss_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca3ae_2042", "family": "compound", "tier": 1, "seed": 1177330606, "symmetry": "none", "op_count": 2, "ir_hash": "3612a427a59cc538", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 134000.0, "surface_area": 20800.0, "principal_moments": [69100000.0, 70500000.0, 70600000.0], "n_faces": 14, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["Lofted body through 2 sections: \u00d876.95 mm circular section \u2192 43.5 \u00d7 43.5 mm rectangular section.", "5-sided polygon section, 29 mm across corners attachment, 35.9 mm long, from top face with a \u00d812.6 mm bore."], "text": "Lofted body through 2 sections: \u00d876.95 mm circular section \u2192 43.5 \u00d7 43.5 mm rectangular section. 5-sided polygon section, 29 mm across corners attachment, 35.9 mm long, from top face with a \u00d812.6 mm bore."}, "params": {"adapter_base": {"type": "float", "default": 76.95, "min": 46.2, "max": 115.4, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "adapter_top": {"type": "float", "default": 43.5, "min": 21.8, "max": 77.0, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "adapter_h": {"type": "float", "default": 39.3, "min": 15.7, "max": 78.6, "step": 1.0, "group": "Body", "label": "Transition height (mm)"}, "neck_sides": {"type": "int", "default": 5, "min": 3, "max": 8, "step": 1, "group": "Neck", "label": "Neck sides"}, "neck_r": {"type": "float", "default": 14.5, "min": 7.2, "max": 21.8, "step": 1.0, "group": "Neck", "label": "Neck circumradius (mm)"}, "neck_l": {"type": "float", "default": 35.9, "min": 14.4, "max": 89.8, "step": 1.0, "group": "Neck", "label": "Neck length (mm)"}, "neck_bore": {"type": "float", "default": 12.6, "min": 2.0, "max": 16.9, "step": 0.5, "group": "Neck", "label": "Neck bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330606 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"adapter_base\": {\"type\": 'float', \"default\": 76.95, \"min\": 46.2, \"max\": 115.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"adapter_top\": {\"type\": 'float', \"default\": 43.5, \"min\": 21.8, \"max\": 77.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"adapter_h\": {\"type\": 'float', \"default\": 39.3, \"min\": 15.7, \"max\": 78.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Transition height (mm)'},\n    \"neck_sides\": {\"type\": 'int', \"default\": 5, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Neck', \"label\": 'Neck sides'},\n    \"neck_r\": {\"type\": 'float', \"default\": 14.5, \"min\": 7.2, \"max\": 21.8, \"step\": 1.0, \"group\": 'Neck', \"label\": 'Neck circumradius (mm)'},\n    \"neck_l\": {\"type\": 'float', \"default\": 35.9, \"min\": 14.4, \"max\": 89.8, \"step\": 1.0, \"group\": 'Neck', \"label\": 'Neck length (mm)'},\n    \"neck_bore\": {\"type\": 'float', \"default\": 12.6, \"min\": 2.0, \"max\": 16.9, \"step\": 0.5, \"group\": 'Neck', \"label\": 'Neck bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .circle(p[\"adapter_base\"] / 2)\n        .workplane(offset=p[\"adapter_h\"])\n        .rect(p[\"adapter_top\"], p[\"adapter_top\"])\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"neck_sides\"], p[\"neck_r\"] * 2).extrude(p[\"neck_l\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"neck_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462ca3af_2043", "family": "tapped", "tier": 2, "seed": 1177330607, "symmetry": "none", "op_count": 1, "ir_hash": "2dc4d0fd70dae4df", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 53200.0, "surface_area": 13900.0, "principal_moments": [13499999.999999998, 17500000.0, 27799999.999999996], "n_faces": 506, "n_edges": 1424, "n_vertices": 920}, "dimensions": {"lines": ["Four M12x1.75 tapped holes in a plate."], "text": "Four M12x1.75 tapped holes in a plate."}, "params": {"major_d": {"type": "float", "default": 12.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 1.75, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 19.2, "min": 14.4, "max": 34.6, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "plate_w": {"type": "float", "default": 60.37, "min": 36.2, "max": 96.6, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 52.2, "min": 31.3, "max": 83.5, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330607 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 12.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.75, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 19.2, \"min\": 14.4, \"max\": 34.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"plate_w\": {\"type\": 'float', \"default\": 60.37, \"min\": 36.2, \"max\": 96.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 52.2, \"min\": 31.3, \"max\": 83.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n}\n\n\ndef build(p):\n\n    _W, _D, _H = p[\"plate_w\"], p[\"plate_d\"], p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Box(_W, _D, _H)\n    _sx, _sy = p[\"plate_w\"] * 0.6, p[\"plate_d\"] * 0.6\n    _locs = [(_xx, _yy) for _xx in (-_sx / 2, _sx / 2) for _yy in (-_sy / 2, _sy / 2)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca3b0_2044", "family": "bracket", "tier": 1, "seed": 1177330608, "symmetry": "none", "op_count": 1, "ir_hash": "9646ff7871c4115e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 4370.0, "surface_area": 3580.0, "principal_moments": [362000.0, 1300000.0, 1360000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["L-bracket: base leg 46.65 mm, vertical leg 31.4 mm, 20 mm wide, 3 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."], "text": "L-bracket: base leg 46.65 mm, vertical leg 31.4 mm, 20 mm wide, 3 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 46.65, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 31.4, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 20, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 3.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 8.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330608 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 46.65, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 31.4, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 20, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 8.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca3b1_2045", "family": "compound", "tier": 1, "seed": 1177330609, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "72efeff96388fa7f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 98600.0, "surface_area": 15800.0, "principal_moments": [34700000.0, 35400000.0, 52999999.99999999], "n_faces": 9, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["Rectangular body, 55 \u00d7 32.1 \u00d7 56.2 mm (W\u00d7D\u00d7H).", "\u00d813.3 mm circular section attachment, 18.8 mm long, from left face with a \u00d87.5 mm bore."], "text": "Rectangular body, 55 \u00d7 32.1 \u00d7 56.2 mm (W\u00d7D\u00d7H). \u00d813.3 mm circular section attachment, 18.8 mm long, from left face with a \u00d87.5 mm bore."}, "params": {"block_w": {"type": "float", "default": 55, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 32.1, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 56.2, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "spig_d": {"type": "float", "default": 13.3, "min": 5.3, "max": 22.5, "step": 1.0, "group": "Spigot", "label": "Spigot diameter (mm)"}, "spig_len": {"type": "float", "default": 18.8, "min": 4.0, "max": 53.2, "step": 1.0, "group": "Spigot", "label": "Spigot length (mm)"}, "spig_bore": {"type": "float", "default": 7.5, "min": 2.0, "max": 9.6, "step": 0.5, "group": "Spigot", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330609 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 55, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 32.1, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 56.2, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"spig_d\": {\"type\": 'float', \"default\": 13.3, \"min\": 5.3, \"max\": 22.5, \"step\": 1.0, \"group\": 'Spigot', \"label\": 'Spigot diameter (mm)'},\n    \"spig_len\": {\"type\": 'float', \"default\": 18.8, \"min\": 4.0, \"max\": 53.2, \"step\": 1.0, \"group\": 'Spigot', \"label\": 'Spigot length (mm)'},\n    \"spig_bore\": {\"type\": 'float', \"default\": 7.5, \"min\": 2.0, \"max\": 9.6, \"step\": 0.5, \"group\": 'Spigot', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"spig_d\"] / 2).extrude(p[\"spig_len\"])\n    )\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"spig_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462ca3b2_2046", "family": "sketched", "tier": 2, "seed": 1177330610, "symmetry": "none", "op_count": 3, "ir_hash": "98a0f68eab4a0b03", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 31300.0, "surface_area": 8550.0, "principal_moments": [5940000.0, 9750000.0, 14999999.999999998], "n_faces": 13, "n_edges": 27, "n_vertices": 18}, "dimensions": {"lines": ["freeform sketched section (6 segments: 1 straight, 1 arc, 4 curves), ~66.597 \u00d7 54.072 mm, extruded 10 mm thick.", "One \u00d85.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch.", "Boss \u00d819.2 mm \u00d7 5.3 mm tall on top face with a \u00d84.3 mm bore."], "text": "freeform sketched section (6 segments: 1 straight, 1 arc, 4 curves), ~66.597 \u00d7 54.072 mm, extruded 10 mm thick. One \u00d85.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch. Boss \u00d819.2 mm \u00d7 5.3 mm tall on top face with a \u00d84.3 mm bore."}, "params": {"sk_w": {"type": "float", "default": 79.9, "min": 40.0, "max": 143.8, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 80, "min": 40.0, "max": 144.0, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "sk_t": {"type": "float", "default": 10, "min": 4.0, "max": 22.0, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "sk_hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 10.6, "step": 0.5, "group": "Holes", "label": "Hole diameter (mm)"}, "boss_d": {"type": "float", "default": 19.2, "min": 9.6, "max": 38.4, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 5.3, "min": 2.1, "max": 13.2, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}, "boss_bore_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 13.4, "step": 0.1, "group": "Boss", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330610 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 79.9, \"min\": 40.0, \"max\": 143.8, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 80, \"min\": 40.0, \"max\": 144.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"sk_t\": {\"type\": 'float', \"default\": 10, \"min\": 4.0, \"max\": 22.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"sk_hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 10.6, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"boss_d\": {\"type\": 'float', \"default\": 19.2, \"min\": 9.6, \"max\": 38.4, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.1, \"max\": 13.2, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n    \"boss_bore_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 13.4, \"step\": 0.1, \"group\": 'Boss', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.3556, p[\"sk_h\"] * 0.125).threePointArc((p[\"sk_w\"] * 0.2784, p[\"sk_h\"] * 0.2384), (p[\"sk_w\"] * 0.1497, p[\"sk_h\"] * 0.3211)).spline([(p[\"sk_w\"] * 0.1497, p[\"sk_h\"] * 0.3211), (p[\"sk_w\"] * -0.0457, p[\"sk_h\"] * 0.3771), (p[\"sk_w\"] * -0.2488, p[\"sk_h\"] * 0.3862)]).bezier([(p[\"sk_w\"] * -0.2488, p[\"sk_h\"] * 0.3862), (p[\"sk_w\"] * -0.3913, p[\"sk_h\"] * 0.2582), (p[\"sk_w\"] * -0.4779, p[\"sk_h\"] * 0.0874)]).lineTo(p[\"sk_w\"] * -0.2179, p[\"sk_h\"] * -0.2632).spline([(p[\"sk_w\"] * -0.2179, p[\"sk_h\"] * -0.2632), (p[\"sk_w\"] * 0.0541, p[\"sk_h\"] * -0.3505), (p[\"sk_w\"] * 0.3333, p[\"sk_h\"] * -0.2897)]).bezier([(p[\"sk_w\"] * 0.3333, p[\"sk_h\"] * -0.2897), (p[\"sk_w\"] * 0.4054, p[\"sk_h\"] * -0.0856), (p[\"sk_w\"] * 0.3556, p[\"sk_h\"] * 0.125)]).close().extrude(p[\"sk_t\"]))\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"sk_hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .hole(p[\"boss_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca3b3_2047", "family": "block", "tier": 1, "seed": 1177330611, "symmetry": "radial", "op_count": 2, "ir_hash": "e712b105c963b269", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 14400.0, "surface_area": 9130.0, "principal_moments": [1370000.0, 3500000.0, 4140000.0], "n_faces": 16, "n_edges": 42, "n_vertices": 28}, "dimensions": {"lines": ["Rectangular body, 25.92 \u00d7 17.8 \u00d7 51.1 mm (W\u00d7D\u00d7H).", "Six \u00d86.4 mm holes on a \u00d815.6 mm bolt circle."], "text": "Rectangular body, 25.92 \u00d7 17.8 \u00d7 51.1 mm (W\u00d7D\u00d7H). Six \u00d86.4 mm holes on a \u00d815.6 mm bolt circle."}, "params": {"block_w": {"type": "float", "default": 25.92, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 17.8, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 51.1, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "bolt_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 7.8, "min": 5.2, "max": 11.7, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 6, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330611 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 25.92, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 17.8, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 51.1, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 7.8, \"min\": 5.2, \"max\": 11.7, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462ca3b4_2048", "family": "flanged", "tier": 1, "seed": 1177330612, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "183b1ab34e51f4ff", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 270000.0, "surface_area": 50300.0, "principal_moments": [294000000.0, 294000000.0, 471000000.0], "n_faces": 12, "n_edges": 27, "n_vertices": 18}, "dimensions": {"lines": ["Revolved body, \u00d868.55 mm \u00d7 48.2 mm tall with \u00d821.1 mm bore, \u00d8149.3 mm \u00d7 7.9 mm flange.", "Six \u00d83.2 mm holes on a \u00d889.6 mm bolt circle."], "text": "Revolved body, \u00d868.55 mm \u00d7 48.2 mm tall with \u00d821.1 mm bore, \u00d8149.3 mm \u00d7 7.9 mm flange. Six \u00d83.2 mm holes on a \u00d889.6 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 68.55, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 48.2, "min": 14.5, "max": 120.5, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 21.1, "min": 2.0, "max": 48.0, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 149.3, "min": 89.1, "max": 205.6, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 7.9, "min": 2.4, "max": 19.3, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 44.8, "min": 29.9, "max": 67.2, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 6, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330612 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 68.55, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 48.2, \"min\": 14.5, \"max\": 120.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 21.1, \"min\": 2.0, \"max\": 48.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 149.3, \"min\": 89.1, \"max\": 205.6, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 7.9, \"min\": 2.4, \"max\": 19.3, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 44.8, \"min\": 29.9, \"max\": 67.2, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca3b5_2049", "family": "bracket", "tier": 1, "seed": 1177330613, "symmetry": "none", "op_count": 1, "ir_hash": "b6e1a1e86a8d021e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 43900.0, "surface_area": 17500.0, "principal_moments": [13799999.999999998, 68600000.0, 70800000.0], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Z-bracket: base leg 71.98 mm, vertical leg 74.4 mm, top leg 50.9 mm, 39.7 mm wide, 6 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."], "text": "Z-bracket: base leg 71.98 mm, vertical leg 74.4 mm, top leg 50.9 mm, 39.7 mm wide, 6 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 71.98, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 74.4, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 39.7, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 6.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 50.9, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330613 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 71.98, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 74.4, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 39.7, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 50.9, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462ca3b6_2050", "family": "threaded", "tier": 1, "seed": 1177330614, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "136c7ff562e6a77a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 1730.0, "surface_area": 1610.0, "principal_moments": [11500.0, 256000.0, 256000.0], "n_faces": 340, "n_edges": 874, "n_vertices": 536}, "dimensions": {"lines": ["M8x1.25 external thread, 41.9 mm long."], "text": "M8x1.25 external thread, 41.9 mm long."}, "params": {"major_d": {"type": "float", "default": 8.0, "min": 4.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Major diameter (mm)"}, "pitch": {"type": "float", "default": 1.25, "min": 0.62, "max": 2.5, "step": 0.05, "group": "Thread", "label": "Pitch (mm)"}, "thread_len": {"type": "float", "default": 41.9, "min": 16.8, "max": 83.8, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330614 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 8.0, \"min\": 4.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Major diameter (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.25, \"min\": 0.62, \"max\": 2.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Pitch (mm)'},\n    \"thread_len\": {\"type\": 'float', \"default\": 41.9, \"min\": 16.8, \"max\": 83.8, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.IsoThread(major_diameter=p[\"major_d\"], pitch=p[\"pitch\"], length=p[\"thread_len\"], external=True, end_finishes=(\"fade\", \"fade\"))\n    _r = _thr.min_radius if hasattr(_thr, 'min_radius') else _thr.root_radius\n    _shank = _bd.Cylinder(radius=_r, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = _shank + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca3b7_2051", "family": "compound", "tier": 2, "seed": 1177330615, "symmetry": "none", "op_count": 3, "ir_hash": "4e88e24d8b9dd61d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 35500.0, "surface_area": 7640.0, "principal_moments": [7070000.0, 9490000.0, 9490000.0], "n_faces": 16, "n_edges": 39, "n_vertices": 26}, "dimensions": {"lines": ["6-sided polygon section, 50 mm across corners, extruded 15.6 mm thick.", "\u00d819.6 mm circular section attachment, 33.9 mm long, from top face.", "Fillet radius 2.715 mm on vertical edges."], "text": "6-sided polygon section, 50 mm across corners, extruded 15.6 mm thick. \u00d819.6 mm circular section attachment, 33.9 mm long, from top face. Fillet radius 2.715 mm on vertical edges."}, "params": {"base_sides": {"type": "int", "default": 6, "min": 3, "max": 8, "step": 1, "group": "Base", "label": "Base sides"}, "base_r": {"type": "float", "default": 25, "min": 15.0, "max": 40.0, "step": 1.0, "group": "Base", "label": "Base circumradius (mm)"}, "base_h": {"type": "float", "default": 15.6, "min": 6.2, "max": 39.0, "step": 1.0, "group": "Base", "label": "Base height (mm)"}, "col_d": {"type": "float", "default": 19.6, "min": 9.8, "max": 34.6, "step": 1.0, "group": "Column", "label": "Column diameter (mm)"}, "col_h": {"type": "float", "default": 33.9, "min": 10.2, "max": 84.8, "step": 1.0, "group": "Column", "label": "Column height (mm)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330615 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_sides\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Base', \"label\": 'Base sides'},\n    \"base_r\": {\"type\": 'float', \"default\": 25, \"min\": 15.0, \"max\": 40.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base circumradius (mm)'},\n    \"base_h\": {\"type\": 'float', \"default\": 15.6, \"min\": 6.2, \"max\": 39.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base height (mm)'},\n    \"col_d\": {\"type\": 'float', \"default\": 19.6, \"min\": 9.8, \"max\": 34.6, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column diameter (mm)'},\n    \"col_h\": {\"type\": 'float', \"default\": 33.9, \"min\": 10.2, \"max\": 84.8, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column height (mm)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').polygon(p[\"base_sides\"], p[\"base_r\"] * 2).extrude(p[\"base_h\"]))\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"col_d\"] / 2).extrude(p[\"col_h\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"base_r\"], p[\"base_r\"]) * 0.10859388076561949)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca3b8_2052", "family": "plate", "tier": 1, "seed": 1177330616, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "d264e868e00fb96e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 87800.0, "surface_area": 21800.0, "principal_moments": [44800000.0, 94699999.99999999, 138000000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 113.41 \u00d7 77.7 \u00d7 10 mm (W\u00d7D\u00d7H).", "Four \u00d83.2 mm holes at the corners, 79.387 \u00d7 54.39 mm spacing."], "text": "Rectangular body, 113.41 \u00d7 77.7 \u00d7 10 mm (W\u00d7D\u00d7H). Four \u00d83.2 mm holes at the corners, 79.387 \u00d7 54.39 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 113.41, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 77.7, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330616 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 113.41, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 77.7, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca3b9_2053", "family": "plate", "tier": 1, "seed": 1177330617, "symmetry": "none", "op_count": 2, "ir_hash": "6c8c6d96c32835c1", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 3640.0, "surface_area": 2240.0, "principal_moments": [94600.0, 232000.0, 239000.0], "n_faces": 18, "n_edges": 48, "n_vertices": 32}, "dimensions": {"lines": ["Rectangular body, 25 \u00d7 13.1 \u00d7 12 mm (W\u00d7D\u00d7H).", "Twelve \u00d81.6 mm holes in a 4\u00d73 grid, 6.7 \u00d7 5.2 mm pitch."], "text": "Rectangular body, 25 \u00d7 13.1 \u00d7 12 mm (W\u00d7D\u00d7H). Twelve \u00d81.6 mm holes in a 4\u00d73 grid, 6.7 \u00d7 5.2 mm pitch."}, "params": {"plate_w": {"type": "float", "default": 25, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 13.1, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 1.6, "min": 2.0, "max": 1.6, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 4, "min": 1, "max": 4, "step": 1, "group": "Holes", "label": "Holes across"}, "hole_ny": {"type": "int", "default": 3, "min": 1, "max": 4, "step": 1, "group": "Holes", "label": "Holes deep"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330617 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 25, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 13.1, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 1.6, \"min\": 2.0, \"max\": 1.6, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 4, \"min\": 1, \"max\": 4, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes across'},\n    \"hole_ny\": {\"type\": 'int', \"default\": 3, \"min\": 1, \"max\": 4, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes deep'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(6.7, 5.2, p[\"hole_nx\"], p[\"hole_ny\"])\n        .hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462ca3ba_2054", "family": "tapped", "tier": 1, "seed": 1177330618, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "eb171d227b5a48f3", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 39700.0, "surface_area": 14400.0, "principal_moments": [6740000.0, 13599999.999999998, 17700000.0], "n_faces": 798, "n_edges": 2244, "n_vertices": 1448}, "dimensions": {"lines": ["Six M12x1.75 tapped holes in a plate."], "text": "Six M12x1.75 tapped holes in a plate."}, "params": {"major_d": {"type": "float", "default": 12.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 1.75, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 19.9, "min": 14.4, "max": 35.8, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "plate_w": {"type": "float", "default": 60, "min": 36.0, "max": 96.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 42.8, "min": 25.7, "max": 68.5, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330618 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 12.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.75, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 19.9, \"min\": 14.4, \"max\": 35.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"plate_w\": {\"type\": 'float', \"default\": 60, \"min\": 36.0, \"max\": 96.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 42.8, \"min\": 25.7, \"max\": 68.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n}\n\n\ndef build(p):\n\n    _W, _D, _H = p[\"plate_w\"], p[\"plate_d\"], p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Box(_W, _D, _H)\n    _nx, _ny = max(1, int(3)), max(1, int(2))\n    _sx, _sy = p[\"plate_w\"] * 0.33, p[\"plate_d\"] * 0.66\n    _locs = [(_sx * (_i - (_nx - 1) / 2), _sy * (_j - (_ny - 1) / 2))\n             for _i in range(_nx) for _j in range(_ny)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca3bb_2055", "family": "bracket", "tier": 1, "seed": 1177330619, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "6ba771cda091da11", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 43100.0, "surface_area": 20000.0, "principal_moments": [17100000.0, 94799999.99999999, 101000000.0], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Z-bracket: base leg 86.55 mm, vertical leg 89.8 mm, top leg 56.3 mm, 38.83 mm wide, 5 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."], "text": "Z-bracket: base leg 86.55 mm, vertical leg 89.8 mm, top leg 56.3 mm, 38.83 mm wide, 5 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 86.55, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 89.8, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 38.83, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 5.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 56.3, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330619 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 86.55, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 89.8, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 38.83, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 56.3, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca3bd_2057", "family": "plate", "tier": 1, "seed": 1177330621, "symmetry": "radial", "op_count": 2, "ir_hash": "a623854644c2e229", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 22200.0, "surface_area": 9240.0, "principal_moments": [2680000.0, 18500000.0, 21100000.0], "n_faces": 16, "n_edges": 42, "n_vertices": 28}, "dimensions": {"lines": ["Rectangular body, 100 \u00d7 37.4 \u00d7 6 mm (W\u00d7D\u00d7H).", "Eight \u00d85.3 mm holes on a \u00d860 mm bolt circle."], "text": "Rectangular body, 100 \u00d7 37.4 \u00d7 6 mm (W\u00d7D\u00d7H). Eight \u00d85.3 mm holes on a \u00d860 mm bolt circle."}, "params": {"plate_w": {"type": "float", "default": 100, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 37.4, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 6.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "bolt_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 30.0, "min": 20.0, "max": 45.0, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 8, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330621 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 100, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 37.4, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 30.0, \"min\": 20.0, \"max\": 45.0, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462ca3be_2058", "family": "gear", "tier": 3, "seed": 1177330622, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "4be30048c3cf0ab8", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 236000.0, "surface_area": 41500.0, "principal_moments": [192000000.0, 192000000.0, 344000000.0], "n_faces": 113, "n_edges": 330, "n_vertices": 220}, "dimensions": {"lines": ["Cycloid gear, module 6 mm, 18 teeth (pitch \u00d8108 mm), face width 25.8 mm, \u00d817.5 mm bore, \u00d831.5 mm \u00d7 23.3 mm hub."], "text": "Cycloid gear, module 6 mm, 18 teeth (pitch \u00d8108 mm), face width 25.8 mm, \u00d817.5 mm bore, \u00d831.5 mm \u00d7 23.3 mm hub."}, "params": {"module": {"type": "float", "default": 6.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 18, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 25.8, "min": 10.3, "max": 64.5, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "bore_d": {"type": "float", "default": 17.5, "min": 2.0, "max": 55.8, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}, "hub_d": {"type": "float", "default": 31.5, "min": 24.5, "max": 54.0, "step": 1.0, "group": "Hub", "label": "Hub diameter (mm)"}, "hub_h": {"type": "float", "default": 23.3, "min": 7.0, "max": 46.6, "step": 0.5, "group": "Hub", "label": "Hub height (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330622 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 6.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 18, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 25.8, \"min\": 10.3, \"max\": 64.5, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 17.5, \"min\": 2.0, \"max\": 55.8, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n    \"hub_d\": {\"type\": 'float', \"default\": 31.5, \"min\": 24.5, \"max\": 54.0, \"step\": 1.0, \"group\": 'Hub', \"label\": 'Hub diameter (mm)'},\n    \"hub_h\": {\"type\": 'float', \"default\": 23.3, \"min\": 7.0, \"max\": 46.6, \"step\": 0.5, \"group\": 'Hub', \"label\": 'Hub height (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.CycloidGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"hub_d\"] / 2).extrude(p[\"hub_h\"])\n    )\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462ca3bf_2059", "family": "enclosure", "tier": 2, "seed": 1177330623, "symmetry": "mirror_x", "op_count": 4, "ir_hash": "f378c12a39af861d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 196000.0, "surface_area": 85100.0, "principal_moments": [329000000.0, 461000000.0, 548000000.0], "n_faces": 35, "n_edges": 108, "n_vertices": 72}, "dimensions": {"lines": ["Rectangular body, 119.94 \u00d7 64.1 \u00d7 103.7 mm (W\u00d7D\u00d7H).", "Hollowed to 4.8 mm wall thickness, open at top face.", "Four \u00d813 mm holes at the corners, 83.958 \u00d7 44.87 mm spacing.", "Fillet radius 3.013 mm on vertical edges."], "text": "Rectangular body, 119.94 \u00d7 64.1 \u00d7 103.7 mm (W\u00d7D\u00d7H). Hollowed to 4.8 mm wall thickness, open at top face. Four \u00d813 mm holes at the corners, 83.958 \u00d7 44.87 mm spacing. Fillet radius 3.013 mm on vertical edges."}, "params": {"enc_w": {"type": "float", "default": 119.94, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 64.1, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 103.7, "min": 41.5, "max": 207.4, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 4.8, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}, "hole_d": {"type": "float", "default": 13.0, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330623 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 119.94, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 64.1, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 103.7, \"min\": 41.5, \"max\": 207.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 4.8, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 13.0, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"enc_w\"] * 0.7, p[\"enc_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"enc_w\"], p[\"enc_d\"]) * 0.04700980447255069)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462ca3c0_2060", "family": "swept", "tier": 2, "seed": 1177330624, "symmetry": "none", "op_count": 1, "ir_hash": "9b5f5ac7ea5fc166", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 6940.0, "surface_area": 4030.0, "principal_moments": [472000.0, 7640000.0, 8080000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["10.9 \u00d7 5.5 mm rectangular section swept along a curved path, ~105 mm span."], "text": "10.9 \u00d7 5.5 mm rectangular section swept along a curved path, ~105 mm span."}, "params": {"path_w": {"type": "float", "default": 70.08, "min": 35.0, "max": 126.1, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 105, "min": 52.5, "max": 189.0, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_a": {"type": "float", "default": 10.9, "min": 5.5, "max": 19.6, "step": 1.0, "group": "Section", "label": "Section width (mm)"}, "sweep_b": {"type": "float", "default": 5.5, "min": 2.8, "max": 9.9, "step": 1.0, "group": "Section", "label": "Section depth (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330624 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 70.08, \"min\": 35.0, \"max\": 126.1, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 105, \"min\": 52.5, \"max\": 189.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_a\": {\"type\": 'float', \"default\": 10.9, \"min\": 5.5, \"max\": 19.6, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section width (mm)'},\n    \"sweep_b\": {\"type\": 'float', \"default\": 5.5, \"min\": 2.8, \"max\": 9.9, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section depth (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.3762), (p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.4649), (p[\"path_w\"] * 0.3339, p[\"path_h\"] * 0.7011), (p[\"path_w\"] * 0.685, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').rect(p[\"sweep_a\"], p[\"sweep_b\"]).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca3c1_2061", "family": "compound", "tier": 1, "seed": 1177330625, "symmetry": "none", "op_count": 3, "ir_hash": "6a9a4217bef09784", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 59800.0, "surface_area": 9790.0, "principal_moments": [13799999.999999998, 15099999.999999998, 18900000.0], "n_faces": 27, "n_edges": 68, "n_vertices": 45}, "dimensions": {"lines": ["Rectangular body, 45 \u00d7 31.6 \u00d7 42 mm (W\u00d7D\u00d7H).", "8-sided polygon section, 6.8 mm across corners attachment, 4.7 mm long, from back face with a \u00d82.5 mm bore.", "8-sided polygon section, 6.8 mm across corners attachment, 4.7 mm long, from front face with a \u00d82.5 mm bore."], "text": "Rectangular body, 45 \u00d7 31.6 \u00d7 42 mm (W\u00d7D\u00d7H). 8-sided polygon section, 6.8 mm across corners attachment, 4.7 mm long, from back face with a \u00d82.5 mm bore. 8-sided polygon section, 6.8 mm across corners attachment, 4.7 mm long, from front face with a \u00d82.5 mm bore."}, "params": {"block_w": {"type": "float", "default": 45, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body width (mm)"}, "block_d": {"type": "float", "default": 31.6, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body depth (mm)"}, "block_h": {"type": "float", "default": 42.0, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body height (mm)"}, "port_sides": {"type": "int", "default": 8, "min": 3, "max": 8, "step": 1, "group": "Ports", "label": "Ports sides"}, "port_r": {"type": "float", "default": 3.4, "min": 1.7, "max": 7.1, "step": 1.0, "group": "Ports", "label": "Ports circumradius (mm)"}, "port_len": {"type": "float", "default": 4.7, "min": 1.6, "max": 18.8, "step": 1.0, "group": "Ports", "label": "Port boss length (mm)"}, "port_bore": {"type": "float", "default": 2.5, "min": 2.0, "max": 4.5, "step": 0.5, "group": "Ports", "label": "Port bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330625 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 45, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 31.6, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 42.0, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body height (mm)'},\n    \"port_sides\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Ports', \"label\": 'Ports sides'},\n    \"port_r\": {\"type\": 'float', \"default\": 3.4, \"min\": 1.7, \"max\": 7.1, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Ports circumradius (mm)'},\n    \"port_len\": {\"type\": 'float', \"default\": 4.7, \"min\": 1.6, \"max\": 18.8, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Port boss length (mm)'},\n    \"port_bore\": {\"type\": 'float', \"default\": 2.5, \"min\": 2.0, \"max\": 4.5, \"step\": 0.5, \"group\": 'Ports', \"label\": 'Port bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"port_sides\"], p[\"port_r\"] * 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"port_sides\"], p[\"port_r\"] * 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462ca3c2_2062", "family": "enclosure", "tier": 1, "seed": 1177330626, "symmetry": "none", "op_count": 2, "ir_hash": "2b31a9cd2bdf747d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 16300.0, "surface_area": 7450.0, "principal_moments": [1730000.0, 4350000.0, 4680000.0], "n_faces": 11, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 47.74 \u00d7 19.4 \u00d7 26.3 mm (W\u00d7D\u00d7H).", "Hollowed to 4.8 mm wall thickness, open at top face."], "text": "Rectangular body, 47.74 \u00d7 19.4 \u00d7 26.3 mm (W\u00d7D\u00d7H). Hollowed to 4.8 mm wall thickness, open at top face."}, "params": {"enc_w": {"type": "float", "default": 47.74, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 19.4, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 26.3, "min": 10.5, "max": 52.6, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 4.8, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330626 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 47.74, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 19.4, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 26.3, \"min\": 10.5, \"max\": 52.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 4.8, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca3c3_2063", "family": "plate", "tier": 0, "seed": 1177330627, "symmetry": "none", "op_count": 1, "ir_hash": "b2b1e8501c73b32d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 21200.0, "surface_area": 6190.0, "principal_moments": [2050000.0, 7640000.0, 9340000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 65 \u00d7 32.6 \u00d7 10 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 65 \u00d7 32.6 \u00d7 10 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 65, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 32.6, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330627 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 65, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 32.6, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca3c4_2064", "family": "block", "tier": 2, "seed": 1177330628, "symmetry": "none", "op_count": 3, "ir_hash": "fd0983aa46a682cc", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 113000.0, "surface_area": 26400.0, "principal_moments": [34700000.0, 78100000.0, 81400000.0], "n_faces": 27, "n_edges": 72, "n_vertices": 48}, "dimensions": {"lines": ["Rectangular body, 80.38 \u00d7 40.4 \u00d7 45.1 mm (W\u00d7D\u00d7H).", "Four 10.1 mm square holes at the corners, 56.266 \u00d7 28.28 mm spacing.", "Pocket 37.5 \u00d7 17.1 mm, 23.3 mm deep, in top face."], "text": "Rectangular body, 80.38 \u00d7 40.4 \u00d7 45.1 mm (W\u00d7D\u00d7H). Four 10.1 mm square holes at the corners, 56.266 \u00d7 28.28 mm spacing. Pocket 37.5 \u00d7 17.1 mm, 23.3 mm deep, in top face."}, "params": {"block_w": {"type": "float", "default": 80.38, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 40.4, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 45.1, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 10.1, "min": 2.0, "max": 11.8, "step": 0.5, "group": "Holes", "label": "Square hole size (mm)"}, "pocket_w": {"type": "float", "default": 37.5, "min": 18.8, "max": 64.3, "step": 1.0, "group": "Pocket", "label": "Pocket width (mm)"}, "pocket_d": {"type": "float", "default": 17.1, "min": 8.6, "max": 32.3, "step": 1.0, "group": "Pocket", "label": "Pocket depth (mm)"}, "pocket_h": {"type": "float", "default": 23.3, "min": 9.3, "max": 38.3, "step": 0.5, "group": "Pocket", "label": "Pocket height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330628 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 80.38, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 40.4, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 45.1, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 10.1, \"min\": 2.0, \"max\": 11.8, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Square hole size (mm)'},\n    \"pocket_w\": {\"type\": 'float', \"default\": 37.5, \"min\": 18.8, \"max\": 64.3, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket width (mm)'},\n    \"pocket_d\": {\"type\": 'float', \"default\": 17.1, \"min\": 8.6, \"max\": 32.3, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket depth (mm)'},\n    \"pocket_h\": {\"type\": 'float', \"default\": 23.3, \"min\": 9.3, \"max\": 38.3, \"step\": 0.5, \"group\": 'Pocket', \"label\": 'Pocket height (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().rect(p[\"hole_d\"], p[\"hole_d\"]).cutThruAll()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"pocket_w\"], p[\"pocket_d\"])\n        .cutBlind(-p[\"pocket_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca3c5_2065", "family": "plate", "tier": 2, "seed": 1177330629, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "ead1fe954884e60f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 26300.0, "surface_area": 8920.0, "principal_moments": [2690000.0, 15099999.999999998, 17400000.0], "n_faces": 18, "n_edges": 48, "n_vertices": 32}, "dimensions": {"lines": ["Rectangular body, 85 \u00d7 34.6 \u00d7 10 mm (W\u00d7D\u00d7H).", "Four \u00d86.4 mm counterbored holes (\u00d812.8 mm \u00d7 5.1 mm counterbore) at the corners, 59.5 \u00d7 24.22 mm spacing."], "text": "Rectangular body, 85 \u00d7 34.6 \u00d7 10 mm (W\u00d7D\u00d7H). Four \u00d86.4 mm counterbored holes (\u00d812.8 mm \u00d7 5.1 mm counterbore) at the corners, 59.5 \u00d7 24.22 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 85, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 34.6, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 7.8, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "cb_d": {"type": "float", "default": 12.8, "min": 9.6, "max": 19.2, "step": 0.5, "group": "Holes", "label": "Counterbore diameter (mm)"}, "cb_depth": {"type": "float", "default": 5.1, "min": 2.5, "max": 10.2, "step": 0.5, "group": "Holes", "label": "Counterbore depth (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330629 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 85, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 34.6, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 7.8, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"cb_d\": {\"type\": 'float', \"default\": 12.8, \"min\": 9.6, \"max\": 19.2, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Counterbore diameter (mm)'},\n    \"cb_depth\": {\"type\": 'float', \"default\": 5.1, \"min\": 2.5, \"max\": 10.2, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Counterbore depth (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().cboreHole(p[\"hole_d\"], p[\"cb_d\"], p[\"cb_depth\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462ca3c6_2066", "family": "tapped", "tier": 0, "seed": 1177330630, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "5b540a63ef8d4922", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 4140.0, "surface_area": 1870.0, "principal_moments": [180000.0, 180000.0, 260000.0], "n_faces": 127, "n_edges": 345, "n_vertices": 220}, "dimensions": {"lines": ["One M5x0.8 tapped hole in a plate."], "text": "One M5x0.8 tapped hole in a plate."}, "params": {"major_d": {"type": "float", "default": 5.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 0.8, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 12.0, "min": 6.0, "max": 21.6, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "plate_w": {"type": "float", "default": 19.0, "min": 11.4, "max": 30.4, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 19.0, "min": 11.4, "max": 30.4, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330630 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 0.8, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 12.0, \"min\": 6.0, \"max\": 21.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"plate_w\": {\"type\": 'float', \"default\": 19.0, \"min\": 11.4, \"max\": 30.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 19.0, \"min\": 11.4, \"max\": 30.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n}\n\n\ndef build(p):\n\n    _W, _D, _H = p[\"plate_w\"], p[\"plate_d\"], p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Box(_W, _D, _H)\n    _locs = [(0.0, 0.0)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca3c7_2067", "family": "plate", "tier": 1, "seed": 1177330631, "symmetry": "none", "op_count": 2, "ir_hash": "23c68737daefac22", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 17600.0, "surface_area": 6630.0, "principal_moments": [1200000.0, 9530000.0, 10500000.0], "n_faces": 22, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 81.2 \u00d7 27.8 \u00d7 8 mm (W\u00d7D\u00d7H).", "Four 3.8 mm square holes in a 2\u00d72 grid, 65 \u00d7 22.2 mm pitch."], "text": "Rectangular body, 81.2 \u00d7 27.8 \u00d7 8 mm (W\u00d7D\u00d7H). Four 3.8 mm square holes in a 2\u00d72 grid, 65 \u00d7 22.2 mm pitch."}, "params": {"plate_w": {"type": "float", "default": 81.2, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 27.8, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.8, "min": 2.0, "max": 4.3, "step": 0.1, "group": "Holes", "label": "Square hole size (mm)"}, "hole_nx": {"type": "int", "default": 2, "min": 1, "max": 4, "step": 1, "group": "Holes", "label": "Holes across"}, "hole_ny": {"type": "int", "default": 2, "min": 1, "max": 4, "step": 1, "group": "Holes", "label": "Holes deep"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330631 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 81.2, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 27.8, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.8, \"min\": 2.0, \"max\": 4.3, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Square hole size (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 2, \"min\": 1, \"max\": 4, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes across'},\n    \"hole_ny\": {\"type\": 'int', \"default\": 2, \"min\": 1, \"max\": 4, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes deep'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(65.0, 22.2, p[\"hole_nx\"], p[\"hole_ny\"])\n        .rect(p[\"hole_d\"], p[\"hole_d\"]).cutThruAll()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462ca3c8_2068", "family": "enclosure", "tier": 1, "seed": 1177330632, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "f2c16771946e3f7c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 59800.0, "surface_area": 37100.0, "principal_moments": [40000000.0, 71800000.0, 75000000.0], "n_faces": 11, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 86.53 \u00d7 45.4 \u00d7 59.9 mm (W\u00d7D\u00d7H).", "Hollowed to 3.3 mm wall thickness, open at top face."], "text": "Rectangular body, 86.53 \u00d7 45.4 \u00d7 59.9 mm (W\u00d7D\u00d7H). Hollowed to 3.3 mm wall thickness, open at top face."}, "params": {"enc_w": {"type": "float", "default": 86.53, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 45.4, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 59.9, "min": 24.0, "max": 119.8, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 3.3, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330632 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 86.53, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 45.4, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 59.9, \"min\": 24.0, \"max\": 119.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 3.3, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462ca3c9_2069", "family": "enclosure", "tier": 2, "seed": 1177330633, "symmetry": "none", "op_count": 4, "ir_hash": "393b2efcfe22d6de", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 77200.0, "surface_area": 60300.0, "principal_moments": [93799999.99999999, 114000000.0, 163000000.0], "n_faces": 35, "n_edges": 108, "n_vertices": 72}, "dimensions": {"lines": ["Rectangular body, 100 \u00d7 41.9 \u00d7 97.5 mm (W\u00d7D\u00d7H).", "Hollowed to 2.6 mm wall thickness, open at top face.", "Four \u00d88.4 mm holes at the corners, 70 \u00d7 29.33 mm spacing.", "Fillet radius 1.722 mm on vertical edges."], "text": "Rectangular body, 100 \u00d7 41.9 \u00d7 97.5 mm (W\u00d7D\u00d7H). Hollowed to 2.6 mm wall thickness, open at top face. Four \u00d88.4 mm holes at the corners, 70 \u00d7 29.33 mm spacing. Fillet radius 1.722 mm on vertical edges."}, "params": {"enc_w": {"type": "float", "default": 100, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 41.9, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 97.5, "min": 39.0, "max": 195.0, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 2.6, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}, "hole_d": {"type": "float", "default": 8.4, "min": 2.0, "max": 9.4, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330633 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 100, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 41.9, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 97.5, \"min\": 39.0, \"max\": 195.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 2.6, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 2.0, \"max\": 9.4, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"enc_w\"] * 0.7, p[\"enc_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"enc_w\"], p[\"enc_d\"]) * 0.04110083505507428)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462ca3ca_2070", "family": "ribbed", "tier": 1, "seed": 1177330634, "symmetry": "none", "op_count": 2, "ir_hash": "d1d59bd15b285f33", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 30100.0, "surface_area": 23600.0, "principal_moments": [11399999.999999998, 20100000.0, 30099999.999999996], "n_faces": 54, "n_edges": 132, "n_vertices": 80}, "dimensions": {"lines": ["Rectangular body, 90.27 \u00d7 58.6 \u00d7 3 mm (W\u00d7D\u00d7H).", "Six ribs, 2.5 mm thick, 13.1 mm tall."], "text": "Rectangular body, 90.27 \u00d7 58.6 \u00d7 3 mm (W\u00d7D\u00d7H). Six ribs, 2.5 mm thick, 13.1 mm tall."}, "params": {"base_w": {"type": "float", "default": 90.27, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 58.6, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 3.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 6, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 13.1, "min": 5.2, "max": 26.2, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 2.5, "min": 1.0, "max": 6.2, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330634 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 90.27, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 58.6, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 6, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 13.1, \"min\": 5.2, \"max\": 26.2, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 2.5, \"min\": 1.0, \"max\": 6.2, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca3cb_2071", "family": "compound", "tier": 2, "seed": 1177330635, "symmetry": "none", "op_count": 3, "ir_hash": "d6c0658c439e471c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 223000.0, "surface_area": 24000.0, "principal_moments": [126000000.0, 133000000.0, 167000000.0], "n_faces": 15, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 65 \u00d7 50 \u00d7 68.6 mm (W\u00d7D\u00d7H).", "6-sided polygon section, 13.6 mm across corners attachment, 10.2 mm long, from right face.", "Four \u00d83.2 mm holes at the corners, 45.5 \u00d7 35 mm spacing."], "text": "Rectangular body, 65 \u00d7 50 \u00d7 68.6 mm (W\u00d7D\u00d7H). 6-sided polygon section, 13.6 mm across corners attachment, 10.2 mm long, from right face. Four \u00d83.2 mm holes at the corners, 45.5 \u00d7 35 mm spacing."}, "params": {"block_w": {"type": "float", "default": 65, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 50.0, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 68.6, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "spig_sides": {"type": "int", "default": 6, "min": 3, "max": 8, "step": 1, "group": "Spigot", "label": "Spigot sides"}, "spig_r": {"type": "float", "default": 6.8, "min": 3.4, "max": 17.5, "step": 1.0, "group": "Spigot", "label": "Spigot circumradius (mm)"}, "spig_len": {"type": "float", "default": 10.2, "min": 3.5, "max": 47.1, "step": 1.0, "group": "Spigot", "label": "Spigot length (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 11.2, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330635 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 65, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 50.0, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 68.6, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"spig_sides\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Spigot', \"label\": 'Spigot sides'},\n    \"spig_r\": {\"type\": 'float', \"default\": 6.8, \"min\": 3.4, \"max\": 17.5, \"step\": 1.0, \"group\": 'Spigot', \"label\": 'Spigot circumradius (mm)'},\n    \"spig_len\": {\"type\": 'float', \"default\": 10.2, \"min\": 3.5, \"max\": 47.1, \"step\": 1.0, \"group\": 'Spigot', \"label\": 'Spigot length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 11.2, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"spig_sides\"], p[\"spig_r\"] * 2).extrude(p[\"spig_len\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462ca3cc_2072", "family": "sketched", "tier": 2, "seed": 1177330636, "symmetry": "none", "op_count": 3, "ir_hash": "15779ec9f9d73c2d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 22900.0, "surface_area": 6420.0, "principal_moments": [1860000.0, 8460000.0, 9750000.0], "n_faces": 12, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["freeform sketched section (5 segments: 1 straight, 2 arcs, 2 curves), ~71.12 \u00d7 32.25 mm, extruded 11.84 mm thick.", "One \u00d85.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch.", "Boss \u00d88 mm \u00d7 6.2 mm tall on top face with a \u00d84.3 mm bore."], "text": "freeform sketched section (5 segments: 1 straight, 2 arcs, 2 curves), ~71.12 \u00d7 32.25 mm, extruded 11.84 mm thick. One \u00d85.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch. Boss \u00d88 mm \u00d7 6.2 mm tall on top face with a \u00d84.3 mm bore."}, "params": {"sk_w": {"type": "float", "default": 85, "min": 42.5, "max": 153.0, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 47.75, "min": 23.9, "max": 86.0, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "sk_t": {"type": "float", "default": 11.84, "min": 4.7, "max": 26.0, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "sk_hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 10.6, "step": 0.5, "group": "Holes", "label": "Hole diameter (mm)"}, "boss_d": {"type": "float", "default": 8.0, "min": 4.0, "max": 16.0, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 6.2, "min": 2.5, "max": 15.5, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}, "boss_bore_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 5.6, "step": 0.1, "group": "Boss", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330636 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 85, \"min\": 42.5, \"max\": 153.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 47.75, \"min\": 23.9, \"max\": 86.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"sk_t\": {\"type\": 'float', \"default\": 11.84, \"min\": 4.7, \"max\": 26.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"sk_hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 10.6, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"boss_d\": {\"type\": 'float', \"default\": 8.0, \"min\": 4.0, \"max\": 16.0, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 6.2, \"min\": 2.5, \"max\": 15.5, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n    \"boss_bore_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 5.6, \"step\": 0.1, \"group\": 'Boss', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.453, p[\"sk_h\"] * -0.0741).threePointArc((p[\"sk_w\"] * 0.3934, p[\"sk_h\"] * 0.128), (p[\"sk_w\"] * 0.2644, p[\"sk_h\"] * 0.3081)).bezier([(p[\"sk_w\"] * 0.2644, p[\"sk_h\"] * 0.3081), (p[\"sk_w\"] * -0.0179, p[\"sk_h\"] * 0.3852), (p[\"sk_w\"] * -0.3086, p[\"sk_h\"] * 0.3506)]).threePointArc((p[\"sk_w\"] * -0.4317, p[\"sk_h\"] * 0.0778), (p[\"sk_w\"] * -0.3837, p[\"sk_h\"] * -0.2221)).bezier([(p[\"sk_w\"] * -0.3837, p[\"sk_h\"] * -0.2221), (p[\"sk_w\"] * -0.1887, p[\"sk_h\"] * -0.3302), (p[\"sk_w\"] * 0.0343, p[\"sk_h\"] * -0.3248)]).lineTo(p[\"sk_w\"] * 0.453, p[\"sk_h\"] * -0.0741).close().extrude(p[\"sk_t\"]))\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"sk_hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .hole(p[\"boss_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca3cd_2073", "family": "revolved", "tier": 1, "seed": 1177330637, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "2326e85ad085ba3c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 159000.0, "surface_area": 30900.0, "principal_moments": [107000000.0, 107000000.0, 141000000.0], "n_faces": 5, "n_edges": 7, "n_vertices": 5}, "dimensions": {"lines": ["Revolved body, \u00d850.96 mm \u00d7 65.7 mm tall with \u00d897.5 mm \u00d7 12.9 mm flange."], "text": "Revolved body, \u00d850.96 mm \u00d7 65.7 mm tall with \u00d897.5 mm \u00d7 12.9 mm flange."}, "params": {"outer_d": {"type": "float", "default": 50.96, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 65.7, "min": 19.7, "max": 197.1, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "flange_d": {"type": "float", "default": 97.5, "min": 61.2, "max": 152.9, "step": 1.0, "group": "Body", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 12.9, "min": 3.9, "max": 32.9, "step": 0.5, "group": "Body", "label": "Flange height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330637 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 50.96, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 65.7, \"min\": 19.7, \"max\": 197.1, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 97.5, \"min\": 61.2, \"max\": 152.9, \"step\": 1.0, \"group\": 'Body', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 12.9, \"min\": 3.9, \"max\": 32.9, \"step\": 0.5, \"group\": 'Body', \"label\": 'Flange height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca3cf_2075", "family": "bracket", "tier": 2, "seed": 1177330639, "symmetry": "none", "op_count": 1, "ir_hash": "0935916dfecff549", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 28300.0, "surface_area": 9290.0, "principal_moments": [6830000.0, 7090000.0, 7320000.0], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["C-channel bracket: base leg 30.94 mm, vertical leg 36.9 mm, 40 mm wide, 8 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 9.6 mm corner gusset."], "text": "C-channel bracket: base leg 30.94 mm, vertical leg 36.9 mm, 40 mm wide, 8 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 9.6 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 30.94, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 36.9, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 40, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 8.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 9.6, "min": 4.0, "max": 20.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330639 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 30.94, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 36.9, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 40, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 9.6, \"min\": 4.0, \"max\": 20.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl / 2, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bl - _bt, _bt).lineTo(_bl - _bt - _g, _bt)\n                    .lineTo(_bl - _bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462ca3d0_2076", "family": "lofted", "tier": 1, "seed": 1177330640, "symmetry": "none", "op_count": 2, "ir_hash": "b69f3233089ed34a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 102000.0, "surface_area": 17600.0, "principal_moments": [46499999.99999999, 46499999.99999999, 48099999.99999999], "n_faces": 9, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["Lofted body through 2 sections: \u00d868.52 mm circular section \u2192 6-sided polygon section, 40.2 mm across corners.", "One \u00d822.9 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 2 sections: \u00d868.52 mm circular section \u2192 6-sided polygon section, 40.2 mm across corners. One \u00d822.9 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 68.52, "min": 34.3, "max": 109.6, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 40.2, "min": 16.1, "max": 82.2, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 55.7, "min": 22.3, "max": 111.4, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_bore_d": {"type": "float", "default": 22.9, "min": 2.0, "max": 32.2, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330640 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 68.52, \"min\": 34.3, \"max\": 109.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 40.2, \"min\": 16.1, \"max\": 82.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 55.7, \"min\": 22.3, \"max\": 111.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 22.9, \"min\": 2.0, \"max\": 32.2, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .circle(p[\"loft_base\"] / 2)\n        .workplane(offset=p[\"loft_h\"])\n        .polygon(6, p[\"loft_top\"] * 0.5 * 2)\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca3d1_2077", "family": "revolved", "tier": 0, "seed": 1177330641, "symmetry": "radial", "op_count": 1, "ir_hash": "cad444d82ac44abc", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 241000.0, "surface_area": 42000.0, "principal_moments": [109000000.0, 386000000.0, 386000000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d855 mm \u00d7 152.2 mm tall."], "text": "Revolved body, \u00d855 mm \u00d7 152.2 mm tall."}, "params": {"outer_d": {"type": "float", "default": 55, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 152.2, "min": 45.7, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330641 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 55, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 152.2, \"min\": 45.7, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca3d2_2078", "family": "compound", "tier": 3, "seed": 1177330642, "symmetry": "none", "op_count": 3, "ir_hash": "51c06291bc5d9ce0", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 72200.0, "surface_area": 14300.0, "principal_moments": [14999999.999999998, 37400000.0, 37400000.0], "n_faces": 8, "n_edges": 13, "n_vertices": 8}, "dimensions": {"lines": ["\u00d840.69 mm circular section, extruded 52 mm thick.", "\u00d827 mm circular section attachment, 27.6 mm long, from top face with a \u00d813 mm bore.", "Chamfer 2.7 mm on bottom edges."], "text": "\u00d840.69 mm circular section, extruded 52 mm thick. \u00d827 mm circular section attachment, 27.6 mm long, from top face with a \u00d813 mm bore. Chamfer 2.7 mm on bottom edges."}, "params": {"shaft_d": {"type": "float", "default": 40.69, "min": 20.3, "max": 73.2, "step": 1.0, "group": "Body", "label": "Shaft diameter (mm)"}, "shaft_len": {"type": "float", "default": 52.0, "min": 20.8, "max": 104.0, "step": 1.0, "group": "Body", "label": "Shaft length (mm)"}, "step_d": {"type": "float", "default": 27.0, "min": 13.5, "max": 36.6, "step": 1.0, "group": "Step", "label": "Step diameter (mm)"}, "step_len": {"type": "float", "default": 27.6, "min": 8.3, "max": 69.0, "step": 1.0, "group": "Step", "label": "Step length (mm)"}, "axial_bore": {"type": "float", "default": 13.0, "min": 2.0, "max": 19.4, "step": 0.5, "group": "Bore", "label": "Axial bore diameter (mm)"}, "chamfer_d": {"type": "float", "default": 2.7, "min": 0.5, "max": 3.0, "step": 0.5, "group": "Body", "label": "Chamfer distance (mm)"}, "chamfered": {"type": "bool", "default": true, "group": "Body", "label": "Chamfer edges"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330642 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"shaft_d\": {\"type\": 'float', \"default\": 40.69, \"min\": 20.3, \"max\": 73.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft diameter (mm)'},\n    \"shaft_len\": {\"type\": 'float', \"default\": 52.0, \"min\": 20.8, \"max\": 104.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft length (mm)'},\n    \"step_d\": {\"type\": 'float', \"default\": 27.0, \"min\": 13.5, \"max\": 36.6, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step diameter (mm)'},\n    \"step_len\": {\"type\": 'float', \"default\": 27.6, \"min\": 8.3, \"max\": 69.0, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step length (mm)'},\n    \"axial_bore\": {\"type\": 'float', \"default\": 13.0, \"min\": 2.0, \"max\": 19.4, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Axial bore diameter (mm)'},\n    \"chamfer_d\": {\"type\": 'float', \"default\": 2.7, \"min\": 0.5, \"max\": 3.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Chamfer distance (mm)'},\n    \"chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Chamfer edges'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').circle(p[\"shaft_d\"] / 2).extrude(p[\"shaft_len\"]))\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"step_d\"] / 2).extrude(p[\"step_len\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"axial_bore\"])\n    )\n    if p[\"chamfered\"]:\n        result = result.edges('<Z').chamfer(p[\"chamfer_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca3d3_2079", "family": "plate", "tier": 1, "seed": 1177330643, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "7cab553545aaadae", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 23600.0, "surface_area": 8290.0, "principal_moments": [3070000.0, 11799999.999999998, 14599999.999999998], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 77.77 \u00d7 39 \u00d7 8 mm (W\u00d7D\u00d7H).", "Four \u00d85.3 mm holes at the corners, 54.439 \u00d7 27.3 mm spacing."], "text": "Rectangular body, 77.77 \u00d7 39 \u00d7 8 mm (W\u00d7D\u00d7H). Four \u00d85.3 mm holes at the corners, 54.439 \u00d7 27.3 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 77.77, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 39.0, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 8.8, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330643 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 77.77, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 39.0, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 8.8, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462ca3d4_2080", "family": "sketched", "tier": 1, "seed": 1177330644, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "97e49e7b6d831436", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 22900.0, "surface_area": 6670.0, "principal_moments": [2900000.0, 7370000.0, 9890000.0], "n_faces": 9, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["freeform sketched section (6 segments: 3 straight, 2 arcs, 1 curve), ~68.636 \u00d7 45.516 mm, extruded 10 mm thick.", "One \u00d88.4 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "freeform sketched section (6 segments: 3 straight, 2 arcs, 1 curve), ~68.636 \u00d7 45.516 mm, extruded 10 mm thick. One \u00d88.4 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"sk_w": {"type": "float", "default": 84.34, "min": 42.2, "max": 151.8, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 60, "min": 30.0, "max": 108.0, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "sk_t": {"type": "float", "default": 10, "min": 4.0, "max": 22.0, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "sk_hole_d": {"type": "float", "default": 8.4, "min": 2.0, "max": 16.8, "step": 0.5, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330644 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 84.34, \"min\": 42.2, \"max\": 151.8, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 60, \"min\": 30.0, \"max\": 108.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"sk_t\": {\"type\": 'float', \"default\": 10, \"min\": 4.0, \"max\": 22.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"sk_hole_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 2.0, \"max\": 16.8, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.4556, p[\"sk_h\"] * 0.1732).threePointArc((p[\"sk_w\"] * 0.3343, p[\"sk_h\"] * 0.2855), (p[\"sk_w\"] * 0.1519, p[\"sk_h\"] * 0.3521)).lineTo(p[\"sk_w\"] * -0.2554, p[\"sk_h\"] * 0.2879).lineTo(p[\"sk_w\"] * -0.3582, p[\"sk_h\"] * 0.1015).threePointArc((p[\"sk_w\"] * -0.3291, p[\"sk_h\"] * -0.1933), (p[\"sk_w\"] * -0.1822, p[\"sk_h\"] * -0.4065)).lineTo(p[\"sk_w\"] * 0.1757, p[\"sk_h\"] * -0.3078).spline([(p[\"sk_w\"] * 0.1757, p[\"sk_h\"] * -0.3078), (p[\"sk_w\"] * 0.3742, p[\"sk_h\"] * -0.1013), (p[\"sk_w\"] * 0.4556, p[\"sk_h\"] * 0.1732)]).close().extrude(p[\"sk_t\"]))\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"sk_hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca3d5_2081", "family": "plate", "tier": 0, "seed": 1177330645, "symmetry": "none", "op_count": 1, "ir_hash": "ef87e286d6048050", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 9030.0, "surface_area": 2860.0, "principal_moments": [456000.0, 1030000.0, 1270000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 35 \u00d7 21.5 \u00d7 12 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 35 \u00d7 21.5 \u00d7 12 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 35, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 21.5, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330645 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 35, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 21.5, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca3d6_2082", "family": "compound", "tier": 2, "seed": 1177330646, "symmetry": "none", "op_count": 2, "ir_hash": "1bf1f212b901c14f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 92300.0, "surface_area": 17300.0, "principal_moments": [33099999.999999996, 45599999.99999999, 45599999.99999999], "n_faces": 15, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Lofted body through 3 sections: 60 \u00d7 60 mm rectangular section \u2192 \u00d850.5 mm circular section \u2192 \u00d841 mm circular section.", "6-sided polygon section, 27.6 mm across corners attachment, 34.5 mm long, from top face with a \u00d812.1 mm bore."], "text": "Lofted body through 3 sections: 60 \u00d7 60 mm rectangular section \u2192 \u00d850.5 mm circular section \u2192 \u00d841 mm circular section. 6-sided polygon section, 27.6 mm across corners attachment, 34.5 mm long, from top face with a \u00d812.1 mm bore."}, "params": {"adapter_base": {"type": "float", "default": 60, "min": 36.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "adapter_top": {"type": "float", "default": 41.0, "min": 20.5, "max": 60, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "adapter_h": {"type": "float", "default": 38.8, "min": 15.5, "max": 77.6, "step": 1.0, "group": "Body", "label": "Transition height (mm)"}, "adapter_mid": {"type": "float", "default": 50.5, "min": 20.5, "max": 60, "step": 1.0, "group": "Body", "label": "Mid size (mm)"}, "neck_sides": {"type": "int", "default": 6, "min": 3, "max": 8, "step": 1, "group": "Neck", "label": "Neck sides"}, "neck_r": {"type": "float", "default": 13.8, "min": 6.9, "max": 20.5, "step": 1.0, "group": "Neck", "label": "Neck circumradius (mm)"}, "neck_l": {"type": "float", "default": 34.5, "min": 13.8, "max": 86.2, "step": 1.0, "group": "Neck", "label": "Neck length (mm)"}, "neck_bore": {"type": "float", "default": 12.1, "min": 2.0, "max": 17.2, "step": 0.5, "group": "Neck", "label": "Neck bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330646 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"adapter_base\": {\"type\": 'float', \"default\": 60, \"min\": 36.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"adapter_top\": {\"type\": 'float', \"default\": 41.0, \"min\": 20.5, \"max\": 60, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"adapter_h\": {\"type\": 'float', \"default\": 38.8, \"min\": 15.5, \"max\": 77.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Transition height (mm)'},\n    \"adapter_mid\": {\"type\": 'float', \"default\": 50.5, \"min\": 20.5, \"max\": 60, \"step\": 1.0, \"group\": 'Body', \"label\": 'Mid size (mm)'},\n    \"neck_sides\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Neck', \"label\": 'Neck sides'},\n    \"neck_r\": {\"type\": 'float', \"default\": 13.8, \"min\": 6.9, \"max\": 20.5, \"step\": 1.0, \"group\": 'Neck', \"label\": 'Neck circumradius (mm)'},\n    \"neck_l\": {\"type\": 'float', \"default\": 34.5, \"min\": 13.8, \"max\": 86.2, \"step\": 1.0, \"group\": 'Neck', \"label\": 'Neck length (mm)'},\n    \"neck_bore\": {\"type\": 'float', \"default\": 12.1, \"min\": 2.0, \"max\": 17.2, \"step\": 0.5, \"group\": 'Neck', \"label\": 'Neck bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .rect(p[\"adapter_base\"], p[\"adapter_base\"])\n        .workplane(offset=p[\"adapter_h\"] * 0.5)\n        .circle(p[\"adapter_mid\"] / 2)\n        .workplane(offset=p[\"adapter_h\"] * 0.5)\n        .circle(p[\"adapter_top\"] / 2)\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"neck_sides\"], p[\"neck_r\"] * 2).extrude(p[\"neck_l\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"neck_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462ca3d7_2083", "family": "enclosure", "tier": 1, "seed": 1177330647, "symmetry": "none", "op_count": 2, "ir_hash": "288c7597adfd3ca6", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 88800.0, "surface_area": 44400.0, "principal_moments": [77300000.0, 105000000.0, 129000000.0], "n_faces": 11, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 86.35 \u00d7 45 \u00d7 76.3 mm (W\u00d7D\u00d7H).", "Hollowed to 4.1 mm wall thickness, open at top face."], "text": "Rectangular body, 86.35 \u00d7 45 \u00d7 76.3 mm (W\u00d7D\u00d7H). Hollowed to 4.1 mm wall thickness, open at top face."}, "params": {"enc_w": {"type": "float", "default": 86.35, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 45.0, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 76.3, "min": 30.5, "max": 152.6, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 4.1, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330647 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 86.35, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 45.0, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 76.3, \"min\": 30.5, \"max\": 152.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 4.1, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca3d8_2084", "family": "block", "tier": 1, "seed": 1177330648, "symmetry": "none", "op_count": 2, "ir_hash": "13f47a0848a1cd62", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 152000.0, "surface_area": 22200.0, "principal_moments": [53799999.99999999, 94599999.99999999, 103000000.0], "n_faces": 15, "n_edges": 39, "n_vertices": 26}, "dimensions": {"lines": ["Rectangular body, 75 \u00d7 42 \u00d7 49.5 mm (W\u00d7D\u00d7H).", "Nine \u00d83.2 mm holes in two staggered rows, 14.1 \u00d7 15.7 mm pitch."], "text": "Rectangular body, 75 \u00d7 42 \u00d7 49.5 mm (W\u00d7D\u00d7H). Nine \u00d83.2 mm holes in two staggered rows, 14.1 \u00d7 15.7 mm pitch."}, "params": {"block_w": {"type": "float", "default": 75, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 42.0, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 49.5, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 4.2, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 5, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330648 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 75, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 42.0, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 49.5, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 4.2, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 5, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 14.1\n    _ssy = 15.7\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca3d9_2085", "family": "bracket", "tier": 1, "seed": 1177330649, "symmetry": "none", "op_count": 1, "ir_hash": "9c13dc5be2e06f6c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 11300.0, "surface_area": 5310.0, "principal_moments": [1370000.0, 3610000.0, 4220000.0], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["C-channel bracket: base leg 45.43 mm, vertical leg 30.8 mm, 20 mm wide, 6 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."], "text": "C-channel bracket: base leg 45.43 mm, vertical leg 30.8 mm, 20 mm wide, 6 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 45.43, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 30.8, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 20, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 6.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 8.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330649 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 45.43, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 30.8, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 20, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 8.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462ca3da_2086", "family": "enclosure", "tier": 2, "seed": 1177330650, "symmetry": "none", "op_count": 3, "ir_hash": "53fe5a1b36da87f6", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 6880.0, "surface_area": 6910.0, "principal_moments": [1090000.0, 1340000.0, 1830000.0], "n_faces": 15, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 35 \u00d7 29.8 \u00d7 20.8 mm (W\u00d7D\u00d7H).", "Hollowed to 2.1 mm wall thickness, open at top face.", "Four \u00d83.2 mm holes at the corners, 24.5 \u00d7 20.86 mm spacing."], "text": "Rectangular body, 35 \u00d7 29.8 \u00d7 20.8 mm (W\u00d7D\u00d7H). Hollowed to 2.1 mm wall thickness, open at top face. Four \u00d83.2 mm holes at the corners, 24.5 \u00d7 20.86 mm spacing."}, "params": {"enc_w": {"type": "float", "default": 35, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 29.8, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 20.8, "min": 8.3, "max": 41.6, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 2.1, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 6.7, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330650 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 35, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 29.8, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 20.8, \"min\": 8.3, \"max\": 41.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 2.1, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 6.7, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"enc_w\"] * 0.7, p[\"enc_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca3db_2087", "family": "revolved", "tier": 1, "seed": 1177330651, "symmetry": "none", "op_count": 1, "ir_hash": "977fab6da32e7ce0", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 2010.0, "surface_area": 1890.0, "principal_moments": [30200.0, 191000.0, 191000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d810 mm \u00d7 38.4 mm tall."], "text": "Revolved body, \u00d810 mm \u00d7 38.4 mm tall."}, "params": {"outer_d": {"type": "float", "default": 10, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 38.4, "min": 11.5, "max": 115.2, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330651 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 10, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 38.4, \"min\": 11.5, \"max\": 115.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca3dc_2088", "family": "revolved", "tier": 1, "seed": 1177330652, "symmetry": "radial", "op_count": 2, "ir_hash": "c2c7f82e32c9be8a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 87.0, "surface_area": 156.0, "principal_moments": [518.0, 518.0, 975.0], "n_faces": 8, "n_edges": 14, "n_vertices": 8}, "dimensions": {"lines": ["Revolved body, \u00d88.52 mm \u00d7 2.1 mm tall with \u00d84.2 mm bore.", "Chamfer 0.3 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d88.52 mm \u00d7 2.1 mm tall with \u00d84.2 mm bore. Chamfer 0.3 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 8.52, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 2.1, "min": 1.0, "max": 6.3, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 4.2, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "end_chamfer": {"type": "float", "default": 0.3, "min": 0.1, "max": 0.9, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330652 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 8.52, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 2.1, \"min\": 1.0, \"max\": 6.3, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 4.2, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.3, \"min\": 0.1, \"max\": 0.9, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca3dd_2089", "family": "compound", "tier": 1, "seed": 1177330653, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "5843a251d08111eb", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 79400.0, "surface_area": 11700.0, "principal_moments": [25699999.999999996, 25699999.999999996, 27199999.999999996], "n_faces": 14, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["Lofted body through 2 sections: \u00d866.37 mm circular section \u2192 24.7 \u00d7 24.7 mm rectangular section.", "6-sided polygon section, 17.8 mm across corners attachment, 13 mm long, from top face."], "text": "Lofted body through 2 sections: \u00d866.37 mm circular section \u2192 24.7 \u00d7 24.7 mm rectangular section. 6-sided polygon section, 17.8 mm across corners attachment, 13 mm long, from top face."}, "params": {"adapter_base": {"type": "float", "default": 66.37, "min": 39.8, "max": 99.6, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "adapter_top": {"type": "float", "default": 24.7, "min": 12.3, "max": 66.4, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "adapter_h": {"type": "float", "default": 41.5, "min": 16.6, "max": 83.0, "step": 1.0, "group": "Body", "label": "Transition height (mm)"}, "neck_sides": {"type": "int", "default": 6, "min": 3, "max": 8, "step": 1, "group": "Neck", "label": "Neck sides"}, "neck_r": {"type": "float", "default": 8.9, "min": 4.5, "max": 12.3, "step": 1.0, "group": "Neck", "label": "Neck circumradius (mm)"}, "neck_l": {"type": "float", "default": 13.0, "min": 5.2, "max": 32.5, "step": 1.0, "group": "Neck", "label": "Neck length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330653 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"adapter_base\": {\"type\": 'float', \"default\": 66.37, \"min\": 39.8, \"max\": 99.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"adapter_top\": {\"type\": 'float', \"default\": 24.7, \"min\": 12.3, \"max\": 66.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"adapter_h\": {\"type\": 'float', \"default\": 41.5, \"min\": 16.6, \"max\": 83.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Transition height (mm)'},\n    \"neck_sides\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Neck', \"label\": 'Neck sides'},\n    \"neck_r\": {\"type\": 'float', \"default\": 8.9, \"min\": 4.5, \"max\": 12.3, \"step\": 1.0, \"group\": 'Neck', \"label\": 'Neck circumradius (mm)'},\n    \"neck_l\": {\"type\": 'float', \"default\": 13.0, \"min\": 5.2, \"max\": 32.5, \"step\": 1.0, \"group\": 'Neck', \"label\": 'Neck length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .circle(p[\"adapter_base\"] / 2)\n        .workplane(offset=p[\"adapter_h\"])\n        .rect(p[\"adapter_top\"], p[\"adapter_top\"])\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"neck_sides\"], p[\"neck_r\"] * 2).extrude(p[\"neck_l\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462ca3de_2090", "family": "ribbed", "tier": 1, "seed": 1177330654, "symmetry": "none", "op_count": 2, "ir_hash": "ef3d5a37cc87a724", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 41100.0, "surface_area": 23800.0, "principal_moments": [17600000.0, 24599999.999999996, 40400000.0], "n_faces": 36, "n_edges": 84, "n_vertices": 56}, "dimensions": {"lines": ["Rectangular body, 85 \u00d7 71.1 \u00d7 4 mm (W\u00d7D\u00d7H).", "Six ribs, 3.4 mm thick, 12.2 mm tall."], "text": "Rectangular body, 85 \u00d7 71.1 \u00d7 4 mm (W\u00d7D\u00d7H). Six ribs, 3.4 mm thick, 12.2 mm tall."}, "params": {"base_w": {"type": "float", "default": 85, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 71.1, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 4.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 6, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 12.2, "min": 4.9, "max": 24.4, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 3.4, "min": 1.0, "max": 8.5, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330654 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 85, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 71.1, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 6, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 12.2, \"min\": 4.9, \"max\": 24.4, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 3.4, \"min\": 1.0, \"max\": 8.5, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462ca3df_2091", "family": "gear", "tier": 3, "seed": 1177330655, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "3244c4824c2e2c7b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 8840.0, "surface_area": 7300.0, "principal_moments": [6160000.0, 6160000.0, 12199999.999999998], "n_faces": 213, "n_edges": 633, "n_vertices": 422}, "dimensions": {"lines": ["Ring gear, module 2 mm, 35 teeth (pitch \u00d870 mm), face width 7.2 mm."], "text": "Ring gear, module 2 mm, 35 teeth (pitch \u00d870 mm), face width 7.2 mm."}, "params": {"module": {"type": "float", "default": 2.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 35, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 7.2, "min": 2.9, "max": 18.0, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "profile_shift": {"type": "float", "default": -0.16, "min": -0.5, "max": 0.7, "step": 0.05, "group": "Gear", "label": "Profile shift"}, "root_fillet": {"type": "float", "default": 0.5, "min": 0.0, "max": 1.0, "step": 0.05, "group": "Gear", "label": "Root fillet (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330655 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 2.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 35, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 7.2, \"min\": 2.9, \"max\": 18.0, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"profile_shift\": {\"type\": 'float', \"default\": -0.16, \"min\": -0.5, \"max\": 0.7, \"step\": 0.05, \"group\": 'Gear', \"label\": 'Profile shift'},\n    \"root_fillet\": {\"type\": 'float', \"default\": 0.5, \"min\": 0.0, \"max\": 1.0, \"step\": 0.05, \"group\": 'Gear', \"label\": 'Root fillet (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurRingGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"], profile_shift=p[\"profile_shift\"], root_fillet=p[\"root_fillet\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462ca3e0_2092", "family": "gear", "tier": 1, "seed": 1177330656, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "bf65ae831cd1f793", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 2680.0, "surface_area": 1800.0, "principal_moments": [88600.0, 88600.0, 137000.0], "n_faces": 81, "n_edges": 237, "n_vertices": 158}, "dimensions": {"lines": ["Spur gear, module 1.5 mm, 13 teeth (pitch \u00d819.5 mm), face width 9.5 mm, \u00d83 mm bore."], "text": "Spur gear, module 1.5 mm, 13 teeth (pitch \u00d819.5 mm), face width 9.5 mm, \u00d83 mm bore."}, "params": {"module": {"type": "float", "default": 1.5, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 13, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 9.5, "min": 3.8, "max": 23.8, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "bore_d": {"type": "float", "default": 3.0, "min": 2.0, "max": 9.4, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330656 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 1.5, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 13, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 9.5, \"min\": 3.8, \"max\": 23.8, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 3.0, \"min\": 2.0, \"max\": 9.4, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca3e1_2093", "family": "compound", "tier": 1, "seed": 1177330657, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "d1af8b637f60ae65", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 41800.0, "surface_area": 8140.0, "principal_moments": [8850000.0, 10800000.0, 10900000.0], "n_faces": 9, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["5-sided polygon section, 51.36 mm across corners, extruded 21.5 mm thick.", "\u00d818.4 mm circular section attachment, 30.5 mm long, from top face."], "text": "5-sided polygon section, 51.36 mm across corners, extruded 21.5 mm thick. \u00d818.4 mm circular section attachment, 30.5 mm long, from top face."}, "params": {"base_sides": {"type": "int", "default": 5, "min": 3, "max": 8, "step": 1, "group": "Base", "label": "Base sides"}, "base_r": {"type": "float", "default": 25.68, "min": 15.4, "max": 41.1, "step": 1.0, "group": "Base", "label": "Base circumradius (mm)"}, "base_h": {"type": "float", "default": 21.5, "min": 8.6, "max": 53.8, "step": 1.0, "group": "Base", "label": "Base height (mm)"}, "col_d": {"type": "float", "default": 18.4, "min": 9.2, "max": 33.2, "step": 1.0, "group": "Column", "label": "Column diameter (mm)"}, "col_h": {"type": "float", "default": 30.5, "min": 9.2, "max": 76.2, "step": 1.0, "group": "Column", "label": "Column height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330657 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_sides\": {\"type\": 'int', \"default\": 5, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Base', \"label\": 'Base sides'},\n    \"base_r\": {\"type\": 'float', \"default\": 25.68, \"min\": 15.4, \"max\": 41.1, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base circumradius (mm)'},\n    \"base_h\": {\"type\": 'float', \"default\": 21.5, \"min\": 8.6, \"max\": 53.8, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base height (mm)'},\n    \"col_d\": {\"type\": 'float', \"default\": 18.4, \"min\": 9.2, \"max\": 33.2, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column diameter (mm)'},\n    \"col_h\": {\"type\": 'float', \"default\": 30.5, \"min\": 9.2, \"max\": 76.2, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').polygon(p[\"base_sides\"], p[\"base_r\"] * 2).extrude(p[\"base_h\"]))\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"col_d\"] / 2).extrude(p[\"col_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462ca3e2_2094", "family": "profiled", "tier": 2, "seed": 1177330658, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "ae551295ac296931", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 8760.0, "surface_area": 2880.0, "principal_moments": [292000.0, 1550000.0, 1550000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["4-sided polygon section, 20 mm across corners, extruded 43.8 mm thick."], "text": "4-sided polygon section, 20 mm across corners, extruded 43.8 mm thick."}, "params": {"circ_r": {"type": "float", "default": 10, "min": 5.0, "max": 20.0, "step": 1.0, "group": "Profile", "label": "Circumscribed radius (mm)"}, "n_sides": {"type": "int", "default": 4, "min": 3, "max": 8, "step": 1, "group": "Profile", "label": "Sides"}, "length": {"type": "float", "default": 43.8, "min": 13.1, "max": 131.4, "step": 5.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330658 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"circ_r\": {\"type\": 'float', \"default\": 10, \"min\": 5.0, \"max\": 20.0, \"step\": 1.0, \"group\": 'Profile', \"label\": 'Circumscribed radius (mm)'},\n    \"n_sides\": {\"type\": 'int', \"default\": 4, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Profile', \"label\": 'Sides'},\n    \"length\": {\"type\": 'float', \"default\": 43.8, \"min\": 13.1, \"max\": 131.4, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').polygon(p[\"n_sides\"], p[\"circ_r\"] * 2).extrude(p[\"length\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462ca3e3_2095", "family": "sketched", "tier": 0, "seed": 1177330659, "symmetry": "none", "op_count": 1, "ir_hash": "fd4132acdc2b819b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 38200.0, "surface_area": 6870.0, "principal_moments": [5510000.0, 8810000.0, 8810000.0], "n_faces": 7, "n_edges": 11, "n_vertices": 6}, "dimensions": {"lines": ["Revolved organic body from a freeform sketched section (7 segments: 4 straight, 2 arcs, 1 curve), ~20.744 \u00d7 45 mm half-silhouette."], "text": "Revolved organic body from a freeform sketched section (7 segments: 4 straight, 2 arcs, 1 curve), ~20.744 \u00d7 45 mm half-silhouette."}, "params": {"sk_r": {"type": "float", "default": 20.99, "min": 10.5, "max": 37.8, "step": 1.0, "group": "Sketch", "label": "Max radius (mm)"}, "sk_h": {"type": "float", "default": 45, "min": 22.5, "max": 81.0, "step": 1.0, "group": "Sketch", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330659 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_r\": {\"type\": 'float', \"default\": 20.99, \"min\": 10.5, \"max\": 37.8, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Max radius (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 45, \"min\": 22.5, \"max\": 81.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XZ').moveTo(p[\"sk_r\"] * 0.3051, p[\"sk_h\"] * 0.0).lineTo(p[\"sk_r\"] * 0.9524, p[\"sk_h\"] * 0.1827).bezier([(p[\"sk_r\"] * 0.9524, p[\"sk_h\"] * 0.1827), (p[\"sk_r\"] * 0.9427, p[\"sk_h\"] * 0.2011), (p[\"sk_r\"] * 0.8508, p[\"sk_h\"] * 0.2195)]).threePointArc((p[\"sk_r\"] * 0.7747, p[\"sk_h\"] * 0.528), (p[\"sk_r\"] * 0.7424, p[\"sk_h\"] * 0.8366)).lineTo(p[\"sk_r\"] * 0.9883, p[\"sk_h\"] * 0.9131).threePointArc((p[\"sk_r\"] * 0.884, p[\"sk_h\"] * 0.9565), (p[\"sk_r\"] * 0.7414, p[\"sk_h\"] * 1.0)).lineTo(p[\"sk_r\"] * 0.0, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.0, p[\"sk_h\"] * 0.0).close().revolve())\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca3e4_2096", "family": "plate", "tier": 0, "seed": 1177330660, "symmetry": "none", "op_count": 1, "ir_hash": "48b38786dc288663", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 2420.0, "surface_area": 1250.0, "principal_moments": [33500.0, 195000.0, 202000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 30 \u00d7 10.1 \u00d7 8 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 30 \u00d7 10.1 \u00d7 8 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 30, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 10.1, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330660 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 30, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 10.1, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca3e5_2097", "family": "revolved", "tier": 2, "seed": 1177330661, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "458cfc8da9ecb509", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 171000.0, "surface_area": 26600.0, "principal_moments": [108000000.0, 108000000.0, 128000000.0], "n_faces": 5, "n_edges": 8, "n_vertices": 5}, "dimensions": {"lines": ["Revolved body, \u00d870.56 mm \u00d7 65.7 mm tall.", "Chamfer 0.3 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d870.56 mm \u00d7 65.7 mm tall. Chamfer 0.3 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 70.56, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 65.7, "min": 19.7, "max": 197.1, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "end_chamfer": {"type": "float", "default": 0.3, "min": 0.1, "max": 0.9, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330661 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 70.56, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 65.7, \"min\": 19.7, \"max\": 197.1, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.3, \"min\": 0.1, \"max\": 0.9, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462ca3e6_2098", "family": "flanged", "tier": 3, "seed": 1177330662, "symmetry": "mirror_xy", "op_count": 3, "ir_hash": "ca8f8fed7ea5ef3b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 17500.0, "surface_area": 8090.0, "principal_moments": [3300000.0, 3300000.0, 4020000.0], "n_faces": 18, "n_edges": 37, "n_vertices": 22}, "dimensions": {"lines": ["Revolved body, \u00d825 mm \u00d7 27.3 mm tall with \u00d88.7 mm bore, \u00d858.1 mm \u00d7 3 mm flange.", "Four \u00d88.4 mm holes on a \u00d834.8 mm bolt circle.", "Chamfer 0.7 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d825 mm \u00d7 27.3 mm tall with \u00d88.7 mm bore, \u00d858.1 mm \u00d7 3 mm flange. Four \u00d88.4 mm holes on a \u00d834.8 mm bolt circle. Chamfer 0.7 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 25, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 27.3, "min": 8.2, "max": 68.2, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 8.7, "min": 2.0, "max": 17.5, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 58.1, "min": 32.5, "max": 75.0, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 3.0, "min": 0.9, "max": 10.9, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 8.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 17.4, "min": 11.6, "max": 26.1, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 4, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}, "end_chamfer": {"type": "float", "default": 0.7, "min": 0.1, "max": 2.0, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330662 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 25, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 27.3, \"min\": 8.2, \"max\": 68.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 8.7, \"min\": 2.0, \"max\": 17.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 58.1, \"min\": 32.5, \"max\": 75.0, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 3.0, \"min\": 0.9, \"max\": 10.9, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 17.4, \"min\": 11.6, \"max\": 26.1, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 4, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.7, \"min\": 0.1, \"max\": 2.0, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca3e7_2099", "family": "bracket", "tier": 1, "seed": 1177330663, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "7b77bd5a2c7af0b2", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 40800.0, "surface_area": 15900.0, "principal_moments": [17200000.0, 31399999.999999996, 36100000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["L-bracket: base leg 60 mm, vertical leg 66.8 mm, 56.6 mm wide, 6 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."], "text": "L-bracket: base leg 60 mm, vertical leg 66.8 mm, 56.6 mm wide, 6 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 60, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 66.8, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 56.6, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 6.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330663 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 60, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 66.8, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 56.6, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462ca3e8_2100", "family": "ribbed", "tier": 2, "seed": 1177330664, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "1280bb5c3f1fbc9d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 17900.0, "surface_area": 10700.0, "principal_moments": [2890000.0, 4800000.0, 6920000.0], "n_faces": 46, "n_edges": 112, "n_vertices": 68}, "dimensions": {"lines": ["Rectangular body, 55 \u00d7 32.6 \u00d7 3 mm (W\u00d7D\u00d7H).", "Five ribs, 4.6 mm thick, 12.4 mm tall."], "text": "Rectangular body, 55 \u00d7 32.6 \u00d7 3 mm (W\u00d7D\u00d7H). Five ribs, 4.6 mm thick, 12.4 mm tall."}, "params": {"base_w": {"type": "float", "default": 55, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 32.6, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 3.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 5, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 12.4, "min": 5.0, "max": 24.8, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 4.6, "min": 1.0, "max": 11.5, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330664 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 55, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 32.6, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 5, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 12.4, \"min\": 5.0, \"max\": 24.8, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 4.6, \"min\": 1.0, \"max\": 11.5, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462ca3e9_2101", "family": "profiled", "tier": 0, "seed": 1177330665, "symmetry": "none", "op_count": 1, "ir_hash": "b330788ed020dc95", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 64000.0, "surface_area": 12100.0, "principal_moments": [4950000.0, 97899999.99999999, 97899999.99999999], "n_faces": 7, "n_edges": 15, "n_vertices": 10}, "dimensions": {"lines": ["5-sided polygon section, 28.36 mm across corners, extruded 133.8 mm thick."], "text": "5-sided polygon section, 28.36 mm across corners, extruded 133.8 mm thick."}, "params": {"circ_r": {"type": "float", "default": 14.18, "min": 7.1, "max": 28.4, "step": 1.0, "group": "Profile", "label": "Circumscribed radius (mm)"}, "n_sides": {"type": "int", "default": 5, "min": 3, "max": 8, "step": 1, "group": "Profile", "label": "Sides"}, "length": {"type": "float", "default": 133.8, "min": 40.1, "max": 401.4, "step": 5.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330665 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"circ_r\": {\"type\": 'float', \"default\": 14.18, \"min\": 7.1, \"max\": 28.4, \"step\": 1.0, \"group\": 'Profile', \"label\": 'Circumscribed radius (mm)'},\n    \"n_sides\": {\"type\": 'int', \"default\": 5, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Profile', \"label\": 'Sides'},\n    \"length\": {\"type\": 'float', \"default\": 133.8, \"min\": 40.1, \"max\": 401.4, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').polygon(p[\"n_sides\"], p[\"circ_r\"] * 2).extrude(p[\"length\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462ca3ea_2102", "family": "sketched", "tier": 1, "seed": 1177330666, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "6ecdf81ae4ab513e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 51000.0, "surface_area": 15500.0, "principal_moments": [17800000.0, 18000000.0, 18000000.0], "n_faces": 9, "n_edges": 16, "n_vertices": 9}, "dimensions": {"lines": ["Revolved organic body from a freeform sketched section (8 segments: 5 straight, 2 arcs, 1 curve), ~30.327 \u00d7 40 mm half-silhouette."], "text": "Revolved organic body from a freeform sketched section (8 segments: 5 straight, 2 arcs, 1 curve), ~30.327 \u00d7 40 mm half-silhouette."}, "params": {"sk_r": {"type": "float", "default": 38.07, "min": 19.0, "max": 68.5, "step": 1.0, "group": "Sketch", "label": "Max radius (mm)"}, "sk_h": {"type": "float", "default": 40, "min": 20.0, "max": 72.0, "step": 1.0, "group": "Sketch", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330666 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_r\": {\"type\": 'float', \"default\": 38.07, \"min\": 19.0, \"max\": 68.5, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Max radius (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 40, \"min\": 20.0, \"max\": 72.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XZ').moveTo(p[\"sk_r\"] * 0.9435, p[\"sk_h\"] * 0.0).lineTo(p[\"sk_r\"] * 0.6313, p[\"sk_h\"] * 0.2209).bezier([(p[\"sk_r\"] * 0.6313, p[\"sk_h\"] * 0.2209), (p[\"sk_r\"] * 0.6519, p[\"sk_h\"] * 0.24), (p[\"sk_r\"] * 0.6808, p[\"sk_h\"] * 0.2591)]).lineTo(p[\"sk_r\"] * 0.3154, p[\"sk_h\"] * 0.2992).threePointArc((p[\"sk_r\"] * 0.3576, p[\"sk_h\"] * 0.4837), (p[\"sk_r\"] * 0.2616, p[\"sk_h\"] * 0.6681)).threePointArc((p[\"sk_r\"] * 0.5143, p[\"sk_h\"] * 0.729), (p[\"sk_r\"] * 0.6467, p[\"sk_h\"] * 0.7898)).lineTo(p[\"sk_r\"] * 0.4402, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.1469, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.1469, p[\"sk_h\"] * 0.0).close().revolve())\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462ca3eb_2103", "family": "gear", "tier": 0, "seed": 1177330667, "symmetry": "none", "op_count": 1, "ir_hash": "b89a1d704d7085f4", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 14200.0, "surface_area": 6210.0, "principal_moments": [2290000.0, 2290000.0, 4450000.0], "n_faces": 162, "n_edges": 480, "n_vertices": 320}, "dimensions": {"lines": ["Spur gear, module 1.25 mm, 40 teeth (pitch \u00d850 mm), face width 7.3 mm."], "text": "Spur gear, module 1.25 mm, 40 teeth (pitch \u00d850 mm), face width 7.3 mm."}, "params": {"module": {"type": "float", "default": 1.25, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 40, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 7.3, "min": 2.9, "max": 18.2, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330667 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 1.25, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 40, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 7.3, \"min\": 2.9, \"max\": 18.2, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca3ec_2104", "family": "revolved", "tier": 2, "seed": 1177330668, "symmetry": "none", "op_count": 1, "ir_hash": "cb67b1e87b61ee2a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 96200.0, "surface_area": 21700.0, "principal_moments": [38900000.0, 81800000.0, 81800000.0], "n_faces": 6, "n_edges": 9, "n_vertices": 6}, "dimensions": {"lines": ["Revolved body, \u00d833.76 mm \u00d7 82.6 mm tall with \u00d815.2 mm bore, \u00d871.1 mm \u00d7 12.1 mm flange."], "text": "Revolved body, \u00d833.76 mm \u00d7 82.6 mm tall with \u00d815.2 mm bore, \u00d871.1 mm \u00d7 12.1 mm flange."}, "params": {"outer_d": {"type": "float", "default": 33.76, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 82.6, "min": 24.8, "max": 247.8, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 15.2, "min": 2.0, "max": 23.6, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 71.1, "min": 40.5, "max": 101.3, "step": 1.0, "group": "Body", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 12.1, "min": 3.6, "max": 41.3, "step": 0.5, "group": "Body", "label": "Flange height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330668 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 33.76, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 82.6, \"min\": 24.8, \"max\": 247.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 15.2, \"min\": 2.0, \"max\": 23.6, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 71.1, \"min\": 40.5, \"max\": 101.3, \"step\": 1.0, \"group\": 'Body', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 12.1, \"min\": 3.6, \"max\": 41.3, \"step\": 0.5, \"group\": 'Body', \"label\": 'Flange height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca3ed_2105", "family": "revolved", "tier": 0, "seed": 1177330669, "symmetry": "none", "op_count": 1, "ir_hash": "3e9d65032b30c8d0", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 144000.0, "surface_area": 25000.0, "principal_moments": [77300000.0, 88900000.0, 88900000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d859.86 mm \u00d7 76.7 mm tall."], "text": "Revolved body, \u00d859.86 mm \u00d7 76.7 mm tall."}, "params": {"outer_d": {"type": "float", "default": 59.86, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 76.7, "min": 23.0, "max": 230.1, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330669 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 59.86, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 76.7, \"min\": 23.0, \"max\": 230.1, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca3ee_2106", "family": "plate", "tier": 2, "seed": 1177330670, "symmetry": "none", "op_count": 3, "ir_hash": "bb40a748396a9a87", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 1580.0, "surface_area": 1430.0, "principal_moments": [43500.0, 120000.0, 161000.0], "n_faces": 15, "n_edges": 39, "n_vertices": 26}, "dimensions": {"lines": ["Rectangular body, 30 \u00d7 18.1 \u00d7 3 mm (W\u00d7D\u00d7H).", "Five \u00d82 mm holes in two staggered rows, 11.2 \u00d7 12.9 mm pitch.", "Fillet radius 0.925 mm on vertical edges."], "text": "Rectangular body, 30 \u00d7 18.1 \u00d7 3 mm (W\u00d7D\u00d7H). Five \u00d82 mm holes in two staggered rows, 11.2 \u00d7 12.9 mm pitch. Fillet radius 0.925 mm on vertical edges."}, "params": {"plate_w": {"type": "float", "default": 30, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 18.1, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 3.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 2.0, "min": 2.0, "max": 1.8, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 3, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330670 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 30, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 18.1, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 3.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 2.0, \"min\": 2.0, \"max\": 1.8, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 3, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 11.2\n    _ssy = 12.9\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"plate_w\"], p[\"plate_d\"]) * 0.05111181737810701)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca3ef_2107", "family": "revolved", "tier": 2, "seed": 1177330671, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "475fc814a29d8d6f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 31700.0, "surface_area": 9850.0, "principal_moments": [5760000.0, 7750000.0, 7750000.0], "n_faces": 7, "n_edges": 10, "n_vertices": 7}, "dimensions": {"lines": ["Revolved body, \u00d835 mm \u00d7 50.4 mm tall with 2.92 mm-wide groove 2.21 mm deep."], "text": "Revolved body, \u00d835 mm \u00d7 50.4 mm tall with 2.92 mm-wide groove 2.21 mm deep."}, "params": {"outer_d": {"type": "float", "default": 35, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 50.4, "min": 15.1, "max": 151.2, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "groove_depth": {"type": "float", "default": 2.21, "min": 0.88, "max": 6.63, "step": 0.1, "group": "Body", "label": "Groove depth (mm)"}, "groove_w": {"type": "float", "default": 2.92, "min": 1.17, "max": 8.76, "step": 0.2, "group": "Body", "label": "Groove width (mm)"}, "groove_pos": {"type": "float", "default": 20.8, "min": 7.6, "max": 42.8, "step": 1.0, "group": "Body", "label": "Groove position (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330671 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 35, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 50.4, \"min\": 15.1, \"max\": 151.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"groove_depth\": {\"type\": 'float', \"default\": 2.21, \"min\": 0.88, \"max\": 6.63, \"step\": 0.1, \"group\": 'Body', \"label\": 'Groove depth (mm)'},\n    \"groove_w\": {\"type\": 'float', \"default\": 2.92, \"min\": 1.17, \"max\": 8.76, \"step\": 0.2, \"group\": 'Body', \"label\": 'Groove width (mm)'},\n    \"groove_pos\": {\"type\": 'float', \"default\": 20.8, \"min\": 7.6, \"max\": 42.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Groove position (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"groove_pos\"] - p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2 - p[\"groove_depth\"], p[\"groove_pos\"] - p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2 - p[\"groove_depth\"], p[\"groove_pos\"] + p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2, p[\"groove_pos\"] + p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca3f0_2108", "family": "plate", "tier": 2, "seed": 1177330672, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "64c936280059f276", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 967.0, "surface_area": 915.0, "principal_moments": [10000.0, 49100.0, 56500.0], "n_faces": 22, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 25 \u00d7 10.7 \u00d7 4 mm (W\u00d7D\u00d7H).", "Four 3.2 \u00d7 2.4 mm slots at the corners, 17.5 \u00d7 7.49 mm spacing."], "text": "Rectangular body, 25 \u00d7 10.7 \u00d7 4 mm (W\u00d7D\u00d7H). Four 3.2 \u00d7 2.4 mm slots at the corners, 17.5 \u00d7 7.49 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 25, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 10.7, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 4.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 2.4, "min": 2.0, "max": 2.4, "step": 0.5, "group": "Holes", "label": "Slot width (mm)"}, "hole_slot_len": {"type": "float", "default": 3.2, "min": 3.6, "max": 3.2, "step": 0.5, "group": "Holes", "label": "Slot length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330672 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 25, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 10.7, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 4.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 2.4, \"min\": 2.0, \"max\": 2.4, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Slot width (mm)'},\n    \"hole_slot_len\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.6, \"max\": 3.2, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Slot length (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().slot2D(p[\"hole_slot_len\"], p[\"hole_d\"]).cutThruAll()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca3f1_2109", "family": "plate", "tier": 1, "seed": 1177330673, "symmetry": "radial", "op_count": 2, "ir_hash": "2c54830fcb60b5ef", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 71200.0, "surface_area": 18700.0, "principal_moments": [23699999.999999996, 79400000.0, 102000000.0], "n_faces": 20, "n_edges": 54, "n_vertices": 36}, "dimensions": {"lines": ["Rectangular body, 115 \u00d7 62.6 \u00d7 10 mm (W\u00d7D\u00d7H).", "Twelve \u00d83.2 mm holes on a \u00d869 mm bolt circle."], "text": "Rectangular body, 115 \u00d7 62.6 \u00d7 10 mm (W\u00d7D\u00d7H). Twelve \u00d83.2 mm holes on a \u00d869 mm bolt circle."}, "params": {"plate_w": {"type": "float", "default": 115, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 62.6, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "bolt_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 34.5, "min": 23.0, "max": 51.8, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 12, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330673 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 115, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 62.6, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 34.5, \"min\": 23.0, \"max\": 51.8, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 12, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca3f2_2110", "family": "compound", "tier": 1, "seed": 1177330674, "symmetry": "none", "op_count": 2, "ir_hash": "712b9a141e00cb7e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 42000.0, "surface_area": 7890.0, "principal_moments": [6000000.0, 14499999.999999998, 14499999.999999998], "n_faces": 10, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["6-sided polygon section, 42.64 mm across corners, extruded 21.6 mm thick.", "\u00d823.8 mm circular section attachment, 37 mm long, from top face."], "text": "6-sided polygon section, 42.64 mm across corners, extruded 21.6 mm thick. \u00d823.8 mm circular section attachment, 37 mm long, from top face."}, "params": {"base_sides": {"type": "int", "default": 6, "min": 3, "max": 8, "step": 1, "group": "Base", "label": "Base sides"}, "base_r": {"type": "float", "default": 21.32, "min": 12.8, "max": 34.1, "step": 1.0, "group": "Base", "label": "Base circumradius (mm)"}, "base_h": {"type": "float", "default": 21.6, "min": 8.6, "max": 54.0, "step": 1.0, "group": "Base", "label": "Base height (mm)"}, "col_d": {"type": "float", "default": 23.8, "min": 11.9, "max": 29.5, "step": 1.0, "group": "Column", "label": "Column diameter (mm)"}, "col_h": {"type": "float", "default": 37.0, "min": 11.1, "max": 92.5, "step": 1.0, "group": "Column", "label": "Column height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330674 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_sides\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Base', \"label\": 'Base sides'},\n    \"base_r\": {\"type\": 'float', \"default\": 21.32, \"min\": 12.8, \"max\": 34.1, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base circumradius (mm)'},\n    \"base_h\": {\"type\": 'float', \"default\": 21.6, \"min\": 8.6, \"max\": 54.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base height (mm)'},\n    \"col_d\": {\"type\": 'float', \"default\": 23.8, \"min\": 11.9, \"max\": 29.5, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column diameter (mm)'},\n    \"col_h\": {\"type\": 'float', \"default\": 37.0, \"min\": 11.1, \"max\": 92.5, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').polygon(p[\"base_sides\"], p[\"base_r\"] * 2).extrude(p[\"base_h\"]))\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"col_d\"] / 2).extrude(p[\"col_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca3f3_2111", "family": "compound", "tier": 1, "seed": 1177330675, "symmetry": "none", "op_count": 2, "ir_hash": "6eecc3339eb89922", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 85400.0, "surface_area": 13400.0, "principal_moments": [22100000.0, 32699999.999999996, 40200000.0], "n_faces": 12, "n_edges": 27, "n_vertices": 18}, "dimensions": {"lines": ["Rectangular body, 45.55 \u00d7 59 \u00d7 31.9 mm (W\u00d7D\u00d7H).", "13.9 \u00d7 8.4 mm rectangular section attachment, 7.9 mm long, from back face with a \u00d84.9 mm bore."], "text": "Rectangular body, 45.55 \u00d7 59 \u00d7 31.9 mm (W\u00d7D\u00d7H). 13.9 \u00d7 8.4 mm rectangular section attachment, 7.9 mm long, from back face with a \u00d84.9 mm bore."}, "params": {"block_w": {"type": "float", "default": 45.55, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 59.0, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 31.9, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "spig_a": {"type": "float", "default": 13.9, "min": 7.0, "max": 22.3, "step": 1.0, "group": "Spigot", "label": "Spigot width (mm)"}, "spig_b": {"type": "float", "default": 8.4, "min": 4.2, "max": 22.3, "step": 1.0, "group": "Spigot", "label": "Spigot depth (mm)"}, "spig_len": {"type": "float", "default": 7.9, "min": 2.5, "max": 33.6, "step": 1.0, "group": "Spigot", "label": "Spigot length (mm)"}, "spig_bore": {"type": "float", "default": 4.9, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Spigot", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330675 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 45.55, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 59.0, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 31.9, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"spig_a\": {\"type\": 'float', \"default\": 13.9, \"min\": 7.0, \"max\": 22.3, \"step\": 1.0, \"group\": 'Spigot', \"label\": 'Spigot width (mm)'},\n    \"spig_b\": {\"type\": 'float', \"default\": 8.4, \"min\": 4.2, \"max\": 22.3, \"step\": 1.0, \"group\": 'Spigot', \"label\": 'Spigot depth (mm)'},\n    \"spig_len\": {\"type\": 'float', \"default\": 7.9, \"min\": 2.5, \"max\": 33.6, \"step\": 1.0, \"group\": 'Spigot', \"label\": 'Spigot length (mm)'},\n    \"spig_bore\": {\"type\": 'float', \"default\": 4.9, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Spigot', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .rect(p[\"spig_a\"], p[\"spig_b\"]).extrude(p[\"spig_len\"])\n    )\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"spig_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca3f4_2112", "family": "plate", "tier": 1, "seed": 1177330676, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "138c7da8197cc2bd", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 95700.0, "surface_area": 23700.0, "principal_moments": [52499999.99999999, 114000000.0, 165000000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 119.48 \u00d7 80.6 \u00d7 10 mm (W\u00d7D\u00d7H).", "Four \u00d84.3 mm holes at the corners, 83.636 \u00d7 56.42 mm spacing."], "text": "Rectangular body, 119.48 \u00d7 80.6 \u00d7 10 mm (W\u00d7D\u00d7H). Four \u00d84.3 mm holes at the corners, 83.636 \u00d7 56.42 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 119.48, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 80.6, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330676 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 119.48, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 80.6, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca3f5_2113", "family": "revolved", "tier": 1, "seed": 1177330677, "symmetry": "none", "op_count": 2, "ir_hash": "62347f12d74423dc", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 32000.0, "surface_area": 11700.0, "principal_moments": [3230000.0, 24199999.999999996, 24199999.999999996], "n_faces": 8, "n_edges": 14, "n_vertices": 8}, "dimensions": {"lines": ["Revolved body, \u00d825 mm \u00d7 92.3 mm tall with \u00d813.5 mm bore.", "Chamfer 0.9 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d825 mm \u00d7 92.3 mm tall with \u00d813.5 mm bore. Chamfer 0.9 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 25, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 92.3, "min": 27.7, "max": 276.9, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 13.5, "min": 2.0, "max": 17.5, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "end_chamfer": {"type": "float", "default": 0.9, "min": 0.1, "max": 2.7, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330677 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 25, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 92.3, \"min\": 27.7, \"max\": 276.9, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 13.5, \"min\": 2.0, \"max\": 17.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.9, \"min\": 0.1, \"max\": 2.7, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462ca3f6_2114", "family": "tapped", "tier": 1, "seed": 1177330678, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "7b8f61a62fd79b15", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 41300.0, "surface_area": 8910.0, "principal_moments": [8690000.0, 8690000.0, 12899999.999999998], "n_faces": 196, "n_edges": 556, "n_vertices": 362}, "dimensions": {"lines": ["One M16x2 tapped hole in a cylinder."], "text": "One M16x2 tapped hole in a cylinder."}, "params": {"major_d": {"type": "float", "default": 16.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 2.0, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 25.6, "min": 19.2, "max": 46.1, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "body_d": {"type": "float", "default": 47.7, "min": 28.8, "max": 76.3, "step": 1.0, "group": "Body", "label": "Outer \u00d8 (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330678 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 16.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 2.0, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 25.6, \"min\": 19.2, \"max\": 46.1, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"body_d\": {\"type\": 'float', \"default\": 47.7, \"min\": 28.8, \"max\": 76.3, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer \u00d8 (mm)'},\n}\n\n\ndef build(p):\n\n    _W = _D = p[\"body_d\"]\n    _H = p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Cylinder(radius=_W / 2, height=_H)\n    _locs = [(0.0, 0.0)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca3f7_2115", "family": "block", "tier": 3, "seed": 1177330679, "symmetry": "mirror_xy", "op_count": 5, "ir_hash": "6746d891c7e535b7", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 25300.0, "surface_area": 10400.0, "principal_moments": [4300000.0, 5040000.0, 5160000.0], "n_faces": 31, "n_edges": 81, "n_vertices": 54}, "dimensions": {"lines": ["Rectangular body, 30 \u00d7 29.6 \u00d7 37.9 mm (W\u00d7D\u00d7H).", "Four 3.8 mm square holes at the corners, 21 \u00d7 20.72 mm spacing.", "Pocket 19.5 \u00d7 15.8 mm, 21.1 mm deep, in top face.", "Fillet radius 1.29 mm on vertical edges (optional, off by default).", "\u00d89.3 mm circular section attachment, 7.7 mm long, from left face with a \u00d83.8 mm bore."], "text": "Rectangular body, 30 \u00d7 29.6 \u00d7 37.9 mm (W\u00d7D\u00d7H). Four 3.8 mm square holes at the corners, 21 \u00d7 20.72 mm spacing. Pocket 19.5 \u00d7 15.8 mm, 21.1 mm deep, in top face. Fillet radius 1.29 mm on vertical edges (optional, off by default). \u00d89.3 mm circular section attachment, 7.7 mm long, from left face with a \u00d83.8 mm bore."}, "params": {"block_w": {"type": "float", "default": 30, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 29.6, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 37.9, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 3.8, "min": 2.0, "max": 8.7, "step": 0.5, "group": "Holes", "label": "Square hole size (mm)"}, "pocket_w": {"type": "float", "default": 19.5, "min": 9.8, "max": 24.0, "step": 1.0, "group": "Pocket", "label": "Pocket width (mm)"}, "pocket_d": {"type": "float", "default": 15.8, "min": 7.9, "max": 23.7, "step": 1.0, "group": "Pocket", "label": "Pocket depth (mm)"}, "pocket_h": {"type": "float", "default": 21.1, "min": 8.4, "max": 32.2, "step": 0.5, "group": "Pocket", "label": "Pocket height (mm)"}, "filleted2": {"type": "bool", "default": false, "group": "Body", "label": "Fillet corners"}, "side_tube_d": {"type": "float", "default": 9.3, "min": 3.7, "max": 14.8, "step": 1.0, "group": "Side Tube", "label": "Side tube diameter (mm)"}, "side_tube_len": {"type": "float", "default": 7.7, "min": 2.3, "max": 27.9, "step": 1.0, "group": "Side Tube", "label": "Side tube length (mm)"}, "side_bore_d": {"type": "float", "default": 3.8, "min": 2.0, "max": 7.0, "step": 0.5, "group": "Side Tube", "label": "Side bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330679 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 30, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 29.6, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 37.9, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.8, \"min\": 2.0, \"max\": 8.7, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Square hole size (mm)'},\n    \"pocket_w\": {\"type\": 'float', \"default\": 19.5, \"min\": 9.8, \"max\": 24.0, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket width (mm)'},\n    \"pocket_d\": {\"type\": 'float', \"default\": 15.8, \"min\": 7.9, \"max\": 23.7, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket depth (mm)'},\n    \"pocket_h\": {\"type\": 'float', \"default\": 21.1, \"min\": 8.4, \"max\": 32.2, \"step\": 0.5, \"group\": 'Pocket', \"label\": 'Pocket height (mm)'},\n    \"filleted2\": {\"type\": 'bool', \"default\": False, \"group\": 'Body', \"label\": 'Fillet corners'},\n    \"side_tube_d\": {\"type\": 'float', \"default\": 9.3, \"min\": 3.7, \"max\": 14.8, \"step\": 1.0, \"group\": 'Side Tube', \"label\": 'Side tube diameter (mm)'},\n    \"side_tube_len\": {\"type\": 'float', \"default\": 7.7, \"min\": 2.3, \"max\": 27.9, \"step\": 1.0, \"group\": 'Side Tube', \"label\": 'Side tube length (mm)'},\n    \"side_bore_d\": {\"type\": 'float', \"default\": 3.8, \"min\": 2.0, \"max\": 7.0, \"step\": 0.5, \"group\": 'Side Tube', \"label\": 'Side bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().rect(p[\"hole_d\"], p[\"hole_d\"]).cutThruAll()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"pocket_w\"], p[\"pocket_d\"])\n        .cutBlind(-p[\"pocket_h\"])\n    )\n    if p[\"filleted2\"]:\n        result = result.edges('|Z').fillet(min(p[\"block_w\"], p[\"block_d\"]) * 0.043570632032703824)\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"side_tube_d\"] / 2).extrude(p[\"side_tube_len\"])\n    )\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"side_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca3f8_2116", "family": "revolved", "tier": 2, "seed": 1177330680, "symmetry": "radial", "op_count": 2, "ir_hash": "e2ae4fdb0ae0012b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 26400.0, "surface_area": 9100.0, "principal_moments": [1890000.0, 17300000.0, 17300000.0], "n_faces": 8, "n_edges": 14, "n_vertices": 8}, "dimensions": {"lines": ["Revolved body, \u00d821.94 mm \u00d7 86.3 mm tall with \u00d89.6 mm bore.", "Chamfer 0.5 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d821.94 mm \u00d7 86.3 mm tall with \u00d89.6 mm bore. Chamfer 0.5 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 21.94, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 86.3, "min": 25.9, "max": 258.9, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 9.6, "min": 2.0, "max": 15.4, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "end_chamfer": {"type": "float", "default": 0.5, "min": 0.1, "max": 1.5, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330680 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 21.94, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 86.3, \"min\": 25.9, \"max\": 258.9, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 9.6, \"min\": 2.0, \"max\": 15.4, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.5, \"min\": 0.1, \"max\": 1.5, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca3f9_2117", "family": "revolved", "tier": 1, "seed": 1177330681, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "38edff2a7cd9ff00", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 91200.0, "surface_area": 21100.0, "principal_moments": [37000000.0, 46099999.99999999, 46099999.99999999], "n_faces": 5, "n_edges": 7, "n_vertices": 5}, "dimensions": {"lines": ["Revolved body, \u00d845 mm \u00d7 69.2 mm tall with \u00d867.6 mm \u00d7 8.9 mm flange."], "text": "Revolved body, \u00d845 mm \u00d7 69.2 mm tall with \u00d867.6 mm \u00d7 8.9 mm flange."}, "params": {"outer_d": {"type": "float", "default": 45, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 69.2, "min": 20.8, "max": 207.6, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "flange_d": {"type": "float", "default": 67.6, "min": 54.0, "max": 135.0, "step": 1.0, "group": "Body", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 8.9, "min": 2.7, "max": 34.6, "step": 0.5, "group": "Body", "label": "Flange height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330681 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 45, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 69.2, \"min\": 20.8, \"max\": 207.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 67.6, \"min\": 54.0, \"max\": 135.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 8.9, \"min\": 2.7, \"max\": 34.6, \"step\": 0.5, \"group\": 'Body', \"label\": 'Flange height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462ca3fa_2118", "family": "ribbed", "tier": 1, "seed": 1177330682, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "3b4cf1fd8227ab01", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 35300.0, "surface_area": 14000.0, "principal_moments": [7260000.0, 16699999.999999998, 22500000.0], "n_faces": 46, "n_edges": 112, "n_vertices": 68}, "dimensions": {"lines": ["Rectangular body, 74.01 \u00d7 39.3 \u00d7 8 mm (W\u00d7D\u00d7H).", "Five ribs, 4.8 mm thick, 8.5 mm tall."], "text": "Rectangular body, 74.01 \u00d7 39.3 \u00d7 8 mm (W\u00d7D\u00d7H). Five ribs, 4.8 mm thick, 8.5 mm tall."}, "params": {"base_w": {"type": "float", "default": 74.01, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 39.3, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 8.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 5, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 8.5, "min": 3.4, "max": 17.0, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 4.8, "min": 1.0, "max": 12.0, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330682 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 74.01, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 39.3, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 5, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 8.5, \"min\": 3.4, \"max\": 17.0, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 4.8, \"min\": 1.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462ca3fb_2119", "family": "lofted", "tier": 3, "seed": 1177330683, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "b6d27024eb6fc793", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 38400.0, "surface_area": 9610.0, "principal_moments": [7360000.0, 11399999.999999998, 11399999.999999998], "n_faces": 9, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["Lofted body through 3 sections: 6-sided polygon section, 40 mm across corners \u2192 \u00d835.9 mm circular section \u2192 \u00d831.8 mm circular section.", "One \u00d816.5 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 3 sections: 6-sided polygon section, 40 mm across corners \u2192 \u00d835.9 mm circular section \u2192 \u00d831.8 mm circular section. One \u00d816.5 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 40, "min": 20.0, "max": 64.0, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 31.8, "min": 12.7, "max": 48.0, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 50.1, "min": 20.0, "max": 100.2, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_mid": {"type": "float", "default": 35.9, "min": 15.9, "max": 48.0, "step": 1.0, "group": "Body", "label": "Mid size (mm)"}, "loft_bore_d": {"type": "float", "default": 16.5, "min": 2.0, "max": 25.4, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330683 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 40, \"min\": 20.0, \"max\": 64.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 31.8, \"min\": 12.7, \"max\": 48.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 50.1, \"min\": 20.0, \"max\": 100.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_mid\": {\"type\": 'float', \"default\": 35.9, \"min\": 15.9, \"max\": 48.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Mid size (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 16.5, \"min\": 2.0, \"max\": 25.4, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .polygon(6, p[\"loft_base\"] * 0.5 * 2)\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .circle(p[\"loft_mid\"] / 2)\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .circle(p[\"loft_top\"] / 2)\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca3fc_2120", "family": "plate", "tier": 1, "seed": 1177330684, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "18e7cdbd5f79b12c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 21900.0, "surface_area": 9390.0, "principal_moments": [2340000.0, 20100000.0, 22300000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 105.32 \u00d7 35.5 \u00d7 6 mm (W\u00d7D\u00d7H).", "Four \u00d85.3 mm holes at the corners, 73.724 \u00d7 24.85 mm spacing."], "text": "Rectangular body, 105.32 \u00d7 35.5 \u00d7 6 mm (W\u00d7D\u00d7H). Four \u00d85.3 mm holes at the corners, 73.724 \u00d7 24.85 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 105.32, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 35.5, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 6.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 8.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330684 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 105.32, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 35.5, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 8.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca3fd_2121", "family": "compound", "tier": 1, "seed": 1177330685, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "4e56a8d5c0843d9c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 72000.0, "surface_area": 11000.0, "principal_moments": [15899999.999999998, 30699999.999999996, 30699999.999999996], "n_faces": 9, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["Lofted body through 2 sections: 46.14 \u00d7 46.14 mm rectangular section \u2192 \u00d829.7 mm circular section.", "\u00d820.9 mm circular section attachment, 23.8 mm long, from top face."], "text": "Lofted body through 2 sections: 46.14 \u00d7 46.14 mm rectangular section \u2192 \u00d829.7 mm circular section. \u00d820.9 mm circular section attachment, 23.8 mm long, from top face."}, "params": {"adapter_base": {"type": "float", "default": 46.14, "min": 27.7, "max": 69.2, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "adapter_top": {"type": "float", "default": 29.7, "min": 14.8, "max": 46.1, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "adapter_h": {"type": "float", "default": 47.2, "min": 18.9, "max": 94.4, "step": 1.0, "group": "Body", "label": "Transition height (mm)"}, "neck_d": {"type": "float", "default": 20.9, "min": 8.4, "max": 29.7, "step": 1.0, "group": "Neck", "label": "Neck diameter (mm)"}, "neck_l": {"type": "float", "default": 23.8, "min": 9.5, "max": 59.5, "step": 1.0, "group": "Neck", "label": "Neck length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330685 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"adapter_base\": {\"type\": 'float', \"default\": 46.14, \"min\": 27.7, \"max\": 69.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"adapter_top\": {\"type\": 'float', \"default\": 29.7, \"min\": 14.8, \"max\": 46.1, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"adapter_h\": {\"type\": 'float', \"default\": 47.2, \"min\": 18.9, \"max\": 94.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Transition height (mm)'},\n    \"neck_d\": {\"type\": 'float', \"default\": 20.9, \"min\": 8.4, \"max\": 29.7, \"step\": 1.0, \"group\": 'Neck', \"label\": 'Neck diameter (mm)'},\n    \"neck_l\": {\"type\": 'float', \"default\": 23.8, \"min\": 9.5, \"max\": 59.5, \"step\": 1.0, \"group\": 'Neck', \"label\": 'Neck length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .rect(p[\"adapter_base\"], p[\"adapter_base\"])\n        .workplane(offset=p[\"adapter_h\"])\n        .circle(p[\"adapter_top\"] / 2)\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"neck_d\"] / 2).extrude(p[\"neck_l\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca3fe_2122", "family": "bracket", "tier": 2, "seed": 1177330686, "symmetry": "none", "op_count": 1, "ir_hash": "5143ecc17daf8e05", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 9390.0, "surface_area": 4850.0, "principal_moments": [1260000.0, 1490000.0, 2170000.0], "n_faces": 14, "n_edges": 37, "n_vertices": 24}, "dimensions": {"lines": ["L-bracket: base leg 33.03 mm, vertical leg 26.3 mm, 35 mm wide, 5 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg; 4.5 mm corner gusset."], "text": "L-bracket: base leg 33.03 mm, vertical leg 26.3 mm, 35 mm wide, 5 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg; 4.5 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 33.03, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 26.3, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 35, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 5.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 4.5, "min": 2.5, "max": 15.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330686 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 33.03, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 26.3, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 35, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 4.5, \"min\": 2.5, \"max\": 15.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca3ff_2123", "family": "block", "tier": 2, "seed": 1177330687, "symmetry": "mirror_xy", "op_count": 3, "ir_hash": "ee143cf0a1cc842a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 3900.0, "surface_area": 1960.0, "principal_moments": [112000.0, 234000.0, 273000.0], "n_faces": 14, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 25 \u00d7 10.8 \u00d7 15.2 mm (W\u00d7D\u00d7H).", "Four \u00d82 mm holes at the corners, 17.5 \u00d7 7.56 mm spacing.", "Fillet radius 0.859 mm on vertical edges."], "text": "Rectangular body, 25 \u00d7 10.8 \u00d7 15.2 mm (W\u00d7D\u00d7H). Four \u00d82 mm holes at the corners, 17.5 \u00d7 7.56 mm spacing. Fillet radius 0.859 mm on vertical edges."}, "params": {"block_w": {"type": "float", "default": 25, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 10.8, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 15.2, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 2.0, "min": 2.0, "max": 2.4, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330687 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 25, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 10.8, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 15.2, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 2.0, \"min\": 2.0, \"max\": 2.4, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"block_w\"], p[\"block_d\"]) * 0.07956057880783597)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462ca400_2124", "family": "sketched", "tier": 2, "seed": 1177330688, "symmetry": "none", "op_count": 1, "ir_hash": "80bc1f8cfd4a577e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 78000.0, "surface_area": 20800.0, "principal_moments": [26399999.999999996, 26399999.999999996, 35600000.0], "n_faces": 7, "n_edges": 12, "n_vertices": 7}, "dimensions": {"lines": ["Revolved organic body from a freeform sketched section (6 segments: 3 straight, 2 arcs, 1 curve), ~37.521 \u00d7 40.44 mm half-silhouette."], "text": "Revolved organic body from a freeform sketched section (6 segments: 3 straight, 2 arcs, 1 curve), ~37.521 \u00d7 40.44 mm half-silhouette."}, "params": {"sk_r": {"type": "float", "default": 43.7, "min": 21.9, "max": 78.7, "step": 1.0, "group": "Sketch", "label": "Max radius (mm)"}, "sk_h": {"type": "float", "default": 40.44, "min": 20.2, "max": 72.8, "step": 1.0, "group": "Sketch", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330688 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_r\": {\"type\": 'float', \"default\": 43.7, \"min\": 21.9, \"max\": 78.7, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Max radius (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 40.44, \"min\": 20.2, \"max\": 72.8, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XZ').moveTo(p[\"sk_r\"] * 0.3151, p[\"sk_h\"] * 0.0).threePointArc((p[\"sk_r\"] * 0.7098, p[\"sk_h\"] * 0.0761), (p[\"sk_r\"] * 0.9404, p[\"sk_h\"] * 0.1522)).threePointArc((p[\"sk_r\"] * 0.6125, p[\"sk_h\"] * 0.1576), (p[\"sk_r\"] * 0.1401, p[\"sk_h\"] * 0.1629)).lineTo(p[\"sk_r\"] * 0.8198, p[\"sk_h\"] * 0.5984).bezier([(p[\"sk_r\"] * 0.8198, p[\"sk_h\"] * 0.5984), (p[\"sk_r\"] * 0.6279, p[\"sk_h\"] * 0.7992), (p[\"sk_r\"] * 0.1678, p[\"sk_h\"] * 1.0)]).lineTo(p[\"sk_r\"] * 0.0818, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.0818, p[\"sk_h\"] * 0.0).close().revolve())\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca401_2125", "family": "bracket", "tier": 1, "seed": 1177330689, "symmetry": "none", "op_count": 1, "ir_hash": "3eec90d46d98941d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 38600.0, "surface_area": 15100.0, "principal_moments": [13399999.999999998, 22000000.0, 31999999.999999996], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Z-bracket: base leg 45 mm, vertical leg 33.2 mm, top leg 42.1 mm, 60 mm wide, 6 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."], "text": "Z-bracket: base leg 45 mm, vertical leg 33.2 mm, top leg 42.1 mm, 60 mm wide, 6 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 45, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 33.2, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 60.0, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 6.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 42.1, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330689 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 45, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 33.2, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 60.0, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 42.1, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca402_2126", "family": "bracket", "tier": 2, "seed": 1177330690, "symmetry": "none", "op_count": 1, "ir_hash": "fbaec6298d745e9a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 6250.0, "surface_area": 3920.0, "principal_moments": [491000.0, 1790000.0, 1940000.0], "n_faces": 14, "n_edges": 37, "n_vertices": 24}, "dimensions": {"lines": ["L-bracket: base leg 48.28 mm, vertical leg 33.9 mm, 18.64 mm wide, 4 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg; 5.6 mm corner gusset."], "text": "L-bracket: base leg 48.28 mm, vertical leg 33.9 mm, 18.64 mm wide, 4 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg; 5.6 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 48.28, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 33.9, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 18.64, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 4.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 7.5, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 5.6, "min": 2.0, "max": 9.3, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330690 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 48.28, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 33.9, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 18.64, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 7.5, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 5.6, \"min\": 2.0, \"max\": 9.3, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca403_2127", "family": "plate", "tier": 2, "seed": 1177330691, "symmetry": "none", "op_count": 3, "ir_hash": "52e30113f62ac898", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 76300.0, "surface_area": 17700.0, "principal_moments": [23099999.999999996, 76800000.0, 98099999.99999999], "n_faces": 18, "n_edges": 44, "n_vertices": 28}, "dimensions": {"lines": ["Rectangular body, 110 \u00d7 59.5 \u00d7 12 mm (W\u00d7D\u00d7H).", "Four \u00d86.4 mm countersunk holes (82\u00b0) at the corners, 77 \u00d7 41.65 mm spacing.", "Fillet radius 1.286 mm on vertical edges."], "text": "Rectangular body, 110 \u00d7 59.5 \u00d7 12 mm (W\u00d7D\u00d7H). Four \u00d86.4 mm countersunk holes (82\u00b0) at the corners, 77 \u00d7 41.65 mm spacing. Fillet radius 1.286 mm on vertical edges."}, "params": {"plate_w": {"type": "float", "default": 110, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 59.5, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "cs_angle": {"type": "float", "default": 82.0, "min": 60.0, "max": 120.0, "step": 15.0, "group": "Holes", "label": "Countersink angle (\u00b0)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330691 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 110, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 59.5, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"cs_angle\": {\"type\": 'float', \"default\": 82.0, \"min\": 60.0, \"max\": 120.0, \"step\": 15.0, \"group\": 'Holes', \"label\": 'Countersink angle (\u00b0)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().cskHole(p[\"hole_d\"], p[\"hole_d\"] * 2, p[\"cs_angle\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"plate_w\"], p[\"plate_d\"]) * 0.021608772410701457)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462ca404_2128", "family": "lofted", "tier": 1, "seed": 1177330692, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "77f87ecd9cfcc391", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 84000.0, "surface_area": 13400.0, "principal_moments": [24099999.999999996, 35200000.0, 35200000.0], "n_faces": 9, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["Lofted body through 2 sections: \u00d860 mm circular section \u2192 6-sided polygon section, 18.4 mm across corners.", "One \u00d88.2 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 2 sections: \u00d860 mm circular section \u2192 6-sided polygon section, 18.4 mm across corners. One \u00d88.2 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 60, "min": 30.0, "max": 96.0, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 18.4, "min": 7.4, "max": 72.0, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 68.5, "min": 27.4, "max": 137.0, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_bore_d": {"type": "float", "default": 8.2, "min": 2.0, "max": 14.7, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330692 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 60, \"min\": 30.0, \"max\": 96.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 18.4, \"min\": 7.4, \"max\": 72.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 68.5, \"min\": 27.4, \"max\": 137.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 8.2, \"min\": 2.0, \"max\": 14.7, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .circle(p[\"loft_base\"] / 2)\n        .workplane(offset=p[\"loft_h\"])\n        .polygon(6, p[\"loft_top\"] * 0.5 * 2)\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca405_2129", "family": "plate", "tier": 0, "seed": 1177330693, "symmetry": "none", "op_count": 1, "ir_hash": "04e0c83a45b0bc50", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 21300.0, "surface_area": 7160.0, "principal_moments": [1960000.0, 12099999.999999998, 13899999.999999998], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 82.36 \u00d7 32.3 \u00d7 8 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 82.36 \u00d7 32.3 \u00d7 8 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 82.36, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 32.3, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330693 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 82.36, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 32.3, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca406_2130", "family": "bracket", "tier": 1, "seed": 1177330694, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "6822030c4f377673", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 20600.0, "surface_area": 15100.0, "principal_moments": [9560000.0, 14299999.999999998, 16900000.0], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["C-channel bracket: base leg 55 mm, vertical leg 52.7 mm, 45 mm wide, 3 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."], "text": "C-channel bracket: base leg 55 mm, vertical leg 52.7 mm, 45 mm wide, 3 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 55, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 52.7, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 45, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 3.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330694 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 55, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 52.7, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 45, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462ca407_2131", "family": "swept", "tier": 1, "seed": 1177330695, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "3ca0fc88d8738952", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 6840.0, "surface_area": 4600.0, "principal_moments": [338000.0, 7170000.0, 7300000.0], "n_faces": 3, "n_edges": 3, "n_vertices": 2}, "dimensions": {"lines": ["\u00d815.4 mm circular section swept along a curved path, ~95.21 mm span."], "text": "\u00d815.4 mm circular section swept along a curved path, ~95.21 mm span."}, "params": {"path_w": {"type": "float", "default": 65, "min": 32.5, "max": 117.0, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 95.21, "min": 47.6, "max": 171.4, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_d": {"type": "float", "default": 15.4, "min": 7.7, "max": 27.7, "step": 1.0, "group": "Section", "label": "Section diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330695 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 65, \"min\": 32.5, \"max\": 117.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 95.21, \"min\": 47.6, \"max\": 171.4, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_d\": {\"type\": 'float', \"default\": 15.4, \"min\": 7.7, \"max\": 27.7, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.3612, p[\"path_h\"] * 0.2729), (p[\"path_w\"] * 0.3195, p[\"path_h\"] * 0.5092), (p[\"path_w\"] * 0.41, p[\"path_h\"] * 0.8547), (p[\"path_w\"] * 0.7763, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').circle(p[\"sweep_d\"] / 2).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462ca408_2132", "family": "sketched", "tier": 1, "seed": 1177330696, "symmetry": "none", "op_count": 1, "ir_hash": "2da039debb5fd8c1", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 27800.0, "surface_area": 6610.0, "principal_moments": [2900000.0, 7180000.0, 7180000.0], "n_faces": 9, "n_edges": 16, "n_vertices": 9}, "dimensions": {"lines": ["Revolved organic body from a freeform sketched section (8 segments: 5 straight, 1 arc, 2 curves), ~15.681 \u00d7 53.72 mm half-silhouette."], "text": "Revolved organic body from a freeform sketched section (8 segments: 5 straight, 1 arc, 2 curves), ~15.681 \u00d7 53.72 mm half-silhouette."}, "params": {"sk_r": {"type": "float", "default": 20.41, "min": 10.2, "max": 36.7, "step": 1.0, "group": "Sketch", "label": "Max radius (mm)"}, "sk_h": {"type": "float", "default": 53.72, "min": 26.9, "max": 96.7, "step": 1.0, "group": "Sketch", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330696 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_r\": {\"type\": 'float', \"default\": 20.41, \"min\": 10.2, \"max\": 36.7, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Max radius (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 53.72, \"min\": 26.9, \"max\": 96.7, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XZ').moveTo(p[\"sk_r\"] * 0.5453, p[\"sk_h\"] * 0.0).lineTo(p[\"sk_r\"] * 0.414, p[\"sk_h\"] * 0.119).lineTo(p[\"sk_r\"] * 0.6662, p[\"sk_h\"] * 0.1497).lineTo(p[\"sk_r\"] * 0.8662, p[\"sk_h\"] * 0.2529).spline([(p[\"sk_r\"] * 0.8662, p[\"sk_h\"] * 0.2529), (p[\"sk_r\"] * 0.7147, p[\"sk_h\"] * 0.4151), (p[\"sk_r\"] * 0.3721, p[\"sk_h\"] * 0.5772)]).threePointArc((p[\"sk_r\"] * 0.6179, p[\"sk_h\"] * 0.7122), (p[\"sk_r\"] * 0.8085, p[\"sk_h\"] * 0.8472)).bezier([(p[\"sk_r\"] * 0.8085, p[\"sk_h\"] * 0.8472), (p[\"sk_r\"] * 0.5104, p[\"sk_h\"] * 0.9236), (p[\"sk_r\"] * 0.2216, p[\"sk_h\"] * 1.0)]).lineTo(p[\"sk_r\"] * 0.0979, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.0979, p[\"sk_h\"] * 0.0).close().revolve())\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca409_2133", "family": "bracket", "tier": 1, "seed": 1177330697, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "3b15a994ea6d116a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 29000.0, "surface_area": 21000.0, "principal_moments": [12099999.999999998, 57999999.99999999, 59199999.99999999], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Z-bracket: base leg 75 mm, vertical leg 89 mm, top leg 47.7 mm, 47.25 mm wide, 3 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."], "text": "Z-bracket: base leg 75 mm, vertical leg 89 mm, top leg 47.7 mm, 47.25 mm wide, 3 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 75, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 89.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 47.25, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 3.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 47.7, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330697 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 75, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 89.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 47.25, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 47.7, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462ca40a_2134", "family": "lofted", "tier": 3, "seed": 1177330698, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "20792b35650c59da", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 165000.0, "surface_area": 20700.0, "principal_moments": [63199999.99999999, 113000000.0, 113000000.0], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["Lofted body through 3 sections: 6-sided polygon section, 67.81 mm across corners \u2192 45.7 \u00d7 45.7 mm rectangular section \u2192 23.5 \u00d7 23.5 mm rectangular section.", "One \u00d88.8 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 3 sections: 6-sided polygon section, 67.81 mm across corners \u2192 45.7 \u00d7 45.7 mm rectangular section \u2192 23.5 \u00d7 23.5 mm rectangular section. One \u00d88.8 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 67.81, "min": 33.9, "max": 108.5, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 23.5, "min": 9.4, "max": 81.4, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 85.9, "min": 34.4, "max": 171.8, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_mid": {"type": "float", "default": 45.7, "min": 11.8, "max": 81.4, "step": 1.0, "group": "Body", "label": "Mid size (mm)"}, "loft_bore_d": {"type": "float", "default": 8.8, "min": 2.0, "max": 18.8, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330698 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 67.81, \"min\": 33.9, \"max\": 108.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 23.5, \"min\": 9.4, \"max\": 81.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 85.9, \"min\": 34.4, \"max\": 171.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_mid\": {\"type\": 'float', \"default\": 45.7, \"min\": 11.8, \"max\": 81.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Mid size (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 8.8, \"min\": 2.0, \"max\": 18.8, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .polygon(6, p[\"loft_base\"] * 0.5 * 2)\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .rect(p[\"loft_mid\"], p[\"loft_mid\"])\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .rect(p[\"loft_top\"], p[\"loft_top\"])\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca40b_2135", "family": "revolved", "tier": 0, "seed": 1177330699, "symmetry": "none", "op_count": 1, "ir_hash": "bdfcf0d58d17d872", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 1240.0, "surface_area": 1080.0, "principal_moments": [25400.0, 34700.0, 34700.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d811.69 mm \u00d7 17.3 mm tall."], "text": "Revolved body, \u00d811.69 mm \u00d7 17.3 mm tall."}, "params": {"outer_d": {"type": "float", "default": 11.69, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 17.3, "min": 5.2, "max": 51.9, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330699 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 11.69, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 17.3, \"min\": 5.2, \"max\": 51.9, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462ca40c_2136", "family": "swept", "tier": 1, "seed": 1177330700, "symmetry": "none", "op_count": 1, "ir_hash": "d42b0edfbba795a9", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 16900.0, "surface_area": 5400.0, "principal_moments": [606000.0, 11399999.999999998, 11599999.999999998], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["17 \u00d7 11.3 mm rectangular section swept along a curved path, ~70 mm span."], "text": "17 \u00d7 11.3 mm rectangular section swept along a curved path, ~70 mm span."}, "params": {"path_w": {"type": "float", "default": 60, "min": 30.0, "max": 108.0, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 70, "min": 35.0, "max": 126.0, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_a": {"type": "float", "default": 17.0, "min": 8.5, "max": 30.6, "step": 1.0, "group": "Section", "label": "Section width (mm)"}, "sweep_b": {"type": "float", "default": 11.3, "min": 5.7, "max": 20.3, "step": 1.0, "group": "Section", "label": "Section depth (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330700 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 60, \"min\": 30.0, \"max\": 108.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 70, \"min\": 35.0, \"max\": 126.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_a\": {\"type\": 'float', \"default\": 17.0, \"min\": 8.5, \"max\": 30.6, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section width (mm)'},\n    \"sweep_b\": {\"type\": 'float', \"default\": 11.3, \"min\": 5.7, \"max\": 20.3, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section depth (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.4173, p[\"path_h\"] * 0.5613), (p[\"path_w\"] * 0.7193, p[\"path_h\"] * 0.8058), (p[\"path_w\"] * 0.8841, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').rect(p[\"sweep_a\"], p[\"sweep_b\"]).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca40e_2138", "family": "revolved", "tier": 1, "seed": 1177330702, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "1daaca6c3aa37aeb", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 165000.0, "surface_area": 31500.0, "principal_moments": [52099999.99999999, 288000000.0, 288000000.0], "n_faces": 4, "n_edges": 6, "n_vertices": 4}, "dimensions": {"lines": ["Revolved body, \u00d845 mm \u00d7 137.8 mm tall with \u00d822.3 mm bore."], "text": "Revolved body, \u00d845 mm \u00d7 137.8 mm tall with \u00d822.3 mm bore."}, "params": {"outer_d": {"type": "float", "default": 45, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 137.8, "min": 41.3, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 22.3, "min": 2.0, "max": 31.5, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330702 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 45, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 137.8, \"min\": 41.3, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 22.3, \"min\": 2.0, \"max\": 31.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca40f_2139", "family": "revolved", "tier": 1, "seed": 1177330703, "symmetry": "none", "op_count": 1, "ir_hash": "2c56c063dbf5f7b3", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 30200.0, "surface_area": 9560.0, "principal_moments": [6750000.0, 6750000.0, 7110000.0], "n_faces": 5, "n_edges": 7, "n_vertices": 5}, "dimensions": {"lines": ["Revolved body, \u00d823.53 mm \u00d7 47.9 mm tall with \u00d848.7 mm \u00d7 11.4 mm flange."], "text": "Revolved body, \u00d823.53 mm \u00d7 47.9 mm tall with \u00d848.7 mm \u00d7 11.4 mm flange."}, "params": {"outer_d": {"type": "float", "default": 23.53, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 47.9, "min": 14.4, "max": 143.7, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "flange_d": {"type": "float", "default": 48.7, "min": 28.2, "max": 70.6, "step": 1.0, "group": "Body", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 11.4, "min": 3.4, "max": 23.9, "step": 0.5, "group": "Body", "label": "Flange height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330703 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 23.53, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 47.9, \"min\": 14.4, \"max\": 143.7, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 48.7, \"min\": 28.2, \"max\": 70.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 11.4, \"min\": 3.4, \"max\": 23.9, \"step\": 0.5, \"group\": 'Body', \"label\": 'Flange height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca410_2140", "family": "plate", "tier": 2, "seed": 1177330704, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "d2d02296449d7c57", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 6320.0, "surface_area": 2730.0, "principal_moments": [237000.0, 679000.0, 811000.0], "n_faces": 14, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 35 \u00d7 19 \u00d7 10 mm (W\u00d7D\u00d7H).", "Four \u00d83.2 mm holes at the corners, 24.5 \u00d7 13.3 mm spacing.", "Chamfer 0.8 mm on vertical edges."], "text": "Rectangular body, 35 \u00d7 19 \u00d7 10 mm (W\u00d7D\u00d7H). Four \u00d83.2 mm holes at the corners, 24.5 \u00d7 13.3 mm spacing. Chamfer 0.8 mm on vertical edges."}, "params": {"plate_w": {"type": "float", "default": 35, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 19.0, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 4.3, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "chamfer_d": {"type": "float", "default": 0.8, "min": 0.6, "max": 0.9, "step": 0.5, "group": "Body", "label": "Chamfer distance (mm)"}, "chamfered": {"type": "bool", "default": true, "group": "Body", "label": "Chamfer edges"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330704 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 35, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 19.0, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 4.3, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"chamfer_d\": {\"type\": 'float', \"default\": 0.8, \"min\": 0.6, \"max\": 0.9, \"step\": 0.5, \"group\": 'Body', \"label\": 'Chamfer distance (mm)'},\n    \"chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Chamfer edges'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"chamfered\"]:\n        result = result.edges('|Z').chamfer(p[\"chamfer_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462ca411_2141", "family": "sketched", "tier": 2, "seed": 1177330705, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "00ab5d941e175e8e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 33400.0, "surface_area": 13000.0, "principal_moments": [7100000.0, 7560000.0, 7560000.0], "n_faces": 9, "n_edges": 16, "n_vertices": 9}, "dimensions": {"lines": ["Revolved organic body from a freeform sketched section (8 segments: 5 straight, 3 curves), ~25.914 \u00d7 35 mm half-silhouette."], "text": "Revolved organic body from a freeform sketched section (8 segments: 5 straight, 3 curves), ~25.914 \u00d7 35 mm half-silhouette."}, "params": {"sk_r": {"type": "float", "default": 30, "min": 15.0, "max": 54.0, "step": 1.0, "group": "Sketch", "label": "Max radius (mm)"}, "sk_h": {"type": "float", "default": 35, "min": 17.5, "max": 63.0, "step": 1.0, "group": "Sketch", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330705 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_r\": {\"type\": 'float', \"default\": 30, \"min\": 15.0, \"max\": 54.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Max radius (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 35, \"min\": 17.5, \"max\": 63.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XZ').moveTo(p[\"sk_r\"] * 0.2724, p[\"sk_h\"] * 0.0).lineTo(p[\"sk_r\"] * 0.9591, p[\"sk_h\"] * 0.2335).lineTo(p[\"sk_r\"] * 0.2341, p[\"sk_h\"] * 0.3176).lineTo(p[\"sk_r\"] * 0.2006, p[\"sk_h\"] * 0.3258).spline([(p[\"sk_r\"] * 0.2006, p[\"sk_h\"] * 0.3258), (p[\"sk_r\"] * 0.4152, p[\"sk_h\"] * 0.3787), (p[\"sk_r\"] * 0.7622, p[\"sk_h\"] * 0.4317)]).bezier([(p[\"sk_r\"] * 0.7622, p[\"sk_h\"] * 0.4317), (p[\"sk_r\"] * 0.5094, p[\"sk_h\"] * 0.4765), (p[\"sk_r\"] * 0.3266, p[\"sk_h\"] * 0.5214)]).bezier([(p[\"sk_r\"] * 0.3266, p[\"sk_h\"] * 0.5214), (p[\"sk_r\"] * 0.5812, p[\"sk_h\"] * 0.7607), (p[\"sk_r\"] * 0.8048, p[\"sk_h\"] * 1.0)]).lineTo(p[\"sk_r\"] * 0.0953, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.0953, p[\"sk_h\"] * 0.0).close().revolve())\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462ca413_2143", "family": "swept", "tier": 1, "seed": 1177330707, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "d7bb4400fbb9592a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 9810.0, "surface_area": 4350.0, "principal_moments": [260000.0, 8230000.0, 8330000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["15.8 \u00d7 9.7 mm rectangular section swept along a curved path, ~95 mm span."], "text": "15.8 \u00d7 9.7 mm rectangular section swept along a curved path, ~95 mm span."}, "params": {"path_w": {"type": "float", "default": 36.8, "min": 18.4, "max": 66.2, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 95, "min": 47.5, "max": 171.0, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_a": {"type": "float", "default": 15.8, "min": 7.9, "max": 28.4, "step": 1.0, "group": "Section", "label": "Section width (mm)"}, "sweep_b": {"type": "float", "default": 9.7, "min": 4.8, "max": 17.5, "step": 1.0, "group": "Section", "label": "Section depth (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330707 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 36.8, \"min\": 18.4, \"max\": 66.2, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 95, \"min\": 47.5, \"max\": 171.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_a\": {\"type\": 'float', \"default\": 15.8, \"min\": 7.9, \"max\": 28.4, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section width (mm)'},\n    \"sweep_b\": {\"type\": 'float', \"default\": 9.7, \"min\": 4.8, \"max\": 17.5, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section depth (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.4143, p[\"path_h\"] * 0.4845), (p[\"path_w\"] * 0.3907, p[\"path_h\"] * 0.759), (p[\"path_w\"] * 0.6931, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').rect(p[\"sweep_a\"], p[\"sweep_b\"]).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca414_2144", "family": "revolved", "tier": 1, "seed": 1177330708, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "6f675d75f6ac169a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 578000.0, "surface_area": 74700.0, "principal_moments": [552000000.0, 1920000000.0, 1920000000.0], "n_faces": 8, "n_edges": 14, "n_vertices": 8}, "dimensions": {"lines": ["Revolved body, \u00d876.25 mm \u00d7 184.8 mm tall with \u00d842.7 mm bore.", "Chamfer 1.4 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d876.25 mm \u00d7 184.8 mm tall with \u00d842.7 mm bore. Chamfer 1.4 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 76.25, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 184.8, "min": 55.4, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 42.7, "min": 2.0, "max": 53.4, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "end_chamfer": {"type": "float", "default": 1.4, "min": 0.1, "max": 4.2, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330708 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 76.25, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 184.8, \"min\": 55.4, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 42.7, \"min\": 2.0, \"max\": 53.4, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 1.4, \"min\": 0.1, \"max\": 4.2, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca415_2145", "family": "plate", "tier": 2, "seed": 1177330709, "symmetry": "radial", "op_count": 3, "ir_hash": "f1d90150c9031fba", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 109000.0, "surface_area": 27000.0, "principal_moments": [83800000.0, 122000000.0, 204000000.0], "n_faces": 18, "n_edges": 48, "n_vertices": 32}, "dimensions": {"lines": ["Rectangular body, 115.84 \u00d7 95.8 \u00d7 10 mm (W\u00d7D\u00d7H).", "Eight \u00d84.3 mm holes on a \u00d869.6 mm bolt circle.", "Fillet radius 8.483 mm on vertical edges."], "text": "Rectangular body, 115.84 \u00d7 95.8 \u00d7 10 mm (W\u00d7D\u00d7H). Eight \u00d84.3 mm holes on a \u00d869.6 mm bolt circle. Fillet radius 8.483 mm on vertical edges."}, "params": {"plate_w": {"type": "float", "default": 115.84, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 95.8, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "bolt_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 34.8, "min": 23.2, "max": 52.1, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 8, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330709 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 115.84, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 95.8, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 34.8, \"min\": 23.2, \"max\": 52.1, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"plate_w\"], p[\"plate_d\"]) * 0.08854908446523645)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca416_2146", "family": "revolved", "tier": 0, "seed": 1177330710, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "f6b4f8355d5c9bc2", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 360000.0, "surface_area": 55400.0, "principal_moments": [209000000.0, 780000000.0, 780000000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d862.19 mm \u00d7 177.8 mm tall."], "text": "Revolved body, \u00d862.19 mm \u00d7 177.8 mm tall."}, "params": {"outer_d": {"type": "float", "default": 62.19, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 177.8, "min": 53.3, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330710 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 62.19, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 177.8, \"min\": 53.3, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca417_2147", "family": "plate", "tier": 2, "seed": 1177330711, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "ae66cbc8f7cefa17", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 1700.0, "surface_area": 1570.0, "principal_moments": [36100.0, 197000.0, 231000.0], "n_faces": 14, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 37.71 \u00d7 15.9 \u00d7 3 mm (W\u00d7D\u00d7H).", "Four \u00d83.2 mm holes at the corners, 26.397 \u00d7 11.13 mm spacing.", "Fillet radius 0.377 mm on vertical edges."], "text": "Rectangular body, 37.71 \u00d7 15.9 \u00d7 3 mm (W\u00d7D\u00d7H). Four \u00d83.2 mm holes at the corners, 26.397 \u00d7 11.13 mm spacing. Fillet radius 0.377 mm on vertical edges."}, "params": {"plate_w": {"type": "float", "default": 37.71, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 15.9, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 3.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 3.6, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330711 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 37.71, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 15.9, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 3.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 3.6, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"plate_w\"], p[\"plate_d\"]) * 0.023734035275188657)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca418_2148", "family": "revolved", "tier": 2, "seed": 1177330712, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "dce43a4c52ba2702", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 484000.0, "surface_area": 63200.0, "principal_moments": [528000000.0, 911000000.0, 911000000.0], "n_faces": 7, "n_edges": 11, "n_vertices": 7}, "dimensions": {"lines": ["Revolved body, \u00d855 mm \u00d7 161.7 mm tall with \u00d8107 mm \u00d7 34.4 mm flange.", "Chamfer 0.3 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d855 mm \u00d7 161.7 mm tall with \u00d8107 mm \u00d7 34.4 mm flange. Chamfer 0.3 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 55, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 161.7, "min": 48.5, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "flange_d": {"type": "float", "default": 107.0, "min": 66.0, "max": 165.0, "step": 1.0, "group": "Body", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 34.4, "min": 10.3, "max": 80.8, "step": 0.5, "group": "Body", "label": "Flange height (mm)"}, "end_chamfer": {"type": "float", "default": 0.3, "min": 0.1, "max": 0.9, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330712 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 55, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 161.7, \"min\": 48.5, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 107.0, \"min\": 66.0, \"max\": 165.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 34.4, \"min\": 10.3, \"max\": 80.8, \"step\": 0.5, \"group\": 'Body', \"label\": 'Flange height (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.3, \"min\": 0.1, \"max\": 0.9, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462ca419_2149", "family": "sketched", "tier": 0, "seed": 1177330713, "symmetry": "none", "op_count": 1, "ir_hash": "32b39a41f8c8f4eb", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 40000.0, "surface_area": 7210.0, "principal_moments": [6380000.0, 9000000.0, 9880000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["freeform sketched section (4 segments: 4 straight), ~61.41 \u00d7 53.883 mm, extruded 28.85 mm thick with a 6.1\u00b0 draft."], "text": "freeform sketched section (4 segments: 4 straight), ~61.41 \u00d7 53.883 mm, extruded 28.85 mm thick with a 6.1\u00b0 draft."}, "params": {"sk_w": {"type": "float", "default": 75, "min": 37.5, "max": 135.0, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 72.2, "min": 36.1, "max": 130.0, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "sk_t": {"type": "float", "default": 28.85, "min": 11.5, "max": 63.5, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "sk_draft": {"type": "float", "default": 6.1, "min": 0.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Draft angle (deg)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330713 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 75, \"min\": 37.5, \"max\": 135.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 72.2, \"min\": 36.1, \"max\": 130.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"sk_t\": {\"type\": 'float', \"default\": 28.85, \"min\": 11.5, \"max\": 63.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"sk_draft\": {\"type\": 'float', \"default\": 6.1, \"min\": 0.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Draft angle (deg)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.3998, p[\"sk_h\"] * -0.0261).lineTo(p[\"sk_w\"] * -0.0593, p[\"sk_h\"] * 0.3689).lineTo(p[\"sk_w\"] * -0.419, p[\"sk_h\"] * -0.146).lineTo(p[\"sk_w\"] * -0.1427, p[\"sk_h\"] * -0.3774).lineTo(p[\"sk_w\"] * 0.3998, p[\"sk_h\"] * -0.0261).close().extrude(p[\"sk_t\"], taper=p[\"sk_draft\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462ca41a_2150", "family": "flanged", "tier": 1, "seed": 1177330714, "symmetry": "radial", "op_count": 2, "ir_hash": "6189df0bdfaa6f94", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 60600.0, "surface_area": 22700.0, "principal_moments": [32199999.999999996, 32199999.999999996, 54399999.99999999], "n_faces": 18, "n_edges": 45, "n_vertices": 30}, "dimensions": {"lines": ["Revolved body, \u00d845 mm \u00d7 30 mm tall with \u00d824.6 mm bore, \u00d8101.1 mm \u00d7 4.7 mm flange.", "Twelve \u00d88.4 mm holes on a \u00d860.6 mm bolt circle."], "text": "Revolved body, \u00d845 mm \u00d7 30 mm tall with \u00d824.6 mm bore, \u00d8101.1 mm \u00d7 4.7 mm flange. Twelve \u00d88.4 mm holes on a \u00d860.6 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 45, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 30.0, "min": 9.0, "max": 75.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 24.6, "min": 2.0, "max": 31.5, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 101.1, "min": 58.5, "max": 135.0, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 4.7, "min": 1.4, "max": 12.0, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 8.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 30.3, "min": 20.2, "max": 45.5, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 12, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330714 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 45, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 30.0, \"min\": 9.0, \"max\": 75.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 24.6, \"min\": 2.0, \"max\": 31.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 101.1, \"min\": 58.5, \"max\": 135.0, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 4.7, \"min\": 1.4, \"max\": 12.0, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 30.3, \"min\": 20.2, \"max\": 45.5, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 12, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca41b_2151", "family": "bracket", "tier": 1, "seed": 1177330715, "symmetry": "none", "op_count": 1, "ir_hash": "c2421448468c9f1b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 17600.0, "surface_area": 12800.0, "principal_moments": [6620000.0, 10800000.0, 13099999.999999998], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["L-bracket: base leg 52.36 mm, vertical leg 58.5 mm, 55 mm wide, 3 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."], "text": "L-bracket: base leg 52.36 mm, vertical leg 58.5 mm, 55 mm wide, 3 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 52.36, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 58.5, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 55, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 3.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330715 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 52.36, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 58.5, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 55, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462ca41c_2152", "family": "profiled", "tier": 1, "seed": 1177330716, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "28a06d0f5c21f109", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 93800.0, "surface_area": 14700.0, "principal_moments": [10400000.0, 150000000.0, 150000000.0], "n_faces": 8, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["6-sided polygon section, 32.58 mm across corners, extruded 136.1 mm thick."], "text": "6-sided polygon section, 32.58 mm across corners, extruded 136.1 mm thick."}, "params": {"circ_r": {"type": "float", "default": 16.29, "min": 8.1, "max": 32.6, "step": 1.0, "group": "Profile", "label": "Circumscribed radius (mm)"}, "n_sides": {"type": "int", "default": 6, "min": 3, "max": 8, "step": 1, "group": "Profile", "label": "Sides"}, "length": {"type": "float", "default": 136.1, "min": 40.8, "max": 408.3, "step": 5.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330716 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"circ_r\": {\"type\": 'float', \"default\": 16.29, \"min\": 8.1, \"max\": 32.6, \"step\": 1.0, \"group\": 'Profile', \"label\": 'Circumscribed radius (mm)'},\n    \"n_sides\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Profile', \"label\": 'Sides'},\n    \"length\": {\"type\": 'float', \"default\": 136.1, \"min\": 40.8, \"max\": 408.3, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').polygon(p[\"n_sides\"], p[\"circ_r\"] * 2).extrude(p[\"length\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462ca41d_2153", "family": "sketched", "tier": 1, "seed": 1177330717, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "3f06b70740bf91d3", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 18800.0, "surface_area": 4920.0, "principal_moments": [1720000.0, 3390000.0, 4400000.0], "n_faces": 9, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["freeform sketched section (6 segments: 1 straight, 3 arcs, 2 curves), ~33.268 \u00d7 49.044 mm, extruded 15 mm thick.", "One \u00d88.4 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "freeform sketched section (6 segments: 1 straight, 3 arcs, 2 curves), ~33.268 \u00d7 49.044 mm, extruded 15 mm thick. One \u00d88.4 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"sk_w": {"type": "float", "default": 40.68, "min": 20.3, "max": 73.2, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 60, "min": 30.0, "max": 108.0, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "sk_t": {"type": "float", "default": 15, "min": 6.0, "max": 33.0, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "sk_hole_d": {"type": "float", "default": 8.4, "min": 2.0, "max": 16.8, "step": 0.5, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330717 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 40.68, \"min\": 20.3, \"max\": 73.2, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 60, \"min\": 30.0, \"max\": 108.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"sk_t\": {\"type\": 'float', \"default\": 15, \"min\": 6.0, \"max\": 33.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"sk_hole_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 2.0, \"max\": 16.8, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.3639, p[\"sk_h\"] * 0.1019).bezier([(p[\"sk_w\"] * 0.3639, p[\"sk_h\"] * 0.1019), (p[\"sk_w\"] * 0.3504, p[\"sk_h\"] * 0.2241), (p[\"sk_w\"] * 0.3054, p[\"sk_h\"] * 0.3386)]).lineTo(p[\"sk_w\"] * -0.1409, p[\"sk_h\"] * 0.4475).threePointArc((p[\"sk_w\"] * -0.3521, p[\"sk_h\"] * 0.2486), (p[\"sk_w\"] * -0.4539, p[\"sk_h\"] * -0.0152)).threePointArc((p[\"sk_w\"] * -0.3799, p[\"sk_h\"] * -0.2061), (p[\"sk_w\"] * -0.2617, p[\"sk_h\"] * -0.3699)).threePointArc((p[\"sk_w\"] * -0.0091, p[\"sk_h\"] * -0.3791), (p[\"sk_w\"] * 0.2475, p[\"sk_h\"] * -0.3015)).spline([(p[\"sk_w\"] * 0.2475, p[\"sk_h\"] * -0.3015), (p[\"sk_w\"] * 0.3483, p[\"sk_h\"] * -0.1121), (p[\"sk_w\"] * 0.3639, p[\"sk_h\"] * 0.1019)]).close().extrude(p[\"sk_t\"]))\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"sk_hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca41e_2154", "family": "compound", "tier": 1, "seed": 1177330718, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "e92a9dd1ea1a6598", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 23600.0, "surface_area": 7370.0, "principal_moments": [4170000.0, 4170000.0, 6100000.0], "n_faces": 11, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["6-sided polygon section, 52.1 mm across corners, extruded 11.8 mm thick.", "\u00d819.1 mm circular section attachment, 19.2 mm long, from top face with a \u00d810.5 mm bore."], "text": "6-sided polygon section, 52.1 mm across corners, extruded 11.8 mm thick. \u00d819.1 mm circular section attachment, 19.2 mm long, from top face with a \u00d810.5 mm bore."}, "params": {"base_sides": {"type": "int", "default": 6, "min": 3, "max": 8, "step": 1, "group": "Base", "label": "Base sides"}, "base_r": {"type": "float", "default": 26.05, "min": 15.6, "max": 41.7, "step": 1.0, "group": "Base", "label": "Base circumradius (mm)"}, "base_h": {"type": "float", "default": 11.8, "min": 4.7, "max": 29.5, "step": 1.0, "group": "Base", "label": "Base height (mm)"}, "col_d": {"type": "float", "default": 19.1, "min": 9.6, "max": 36.1, "step": 1.0, "group": "Column", "label": "Column diameter (mm)"}, "col_h": {"type": "float", "default": 19.2, "min": 5.8, "max": 48.0, "step": 1.0, "group": "Column", "label": "Column height (mm)"}, "col_bore": {"type": "float", "default": 10.5, "min": 2.0, "max": 13.8, "step": 0.5, "group": "Column", "label": "Column bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330718 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_sides\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Base', \"label\": 'Base sides'},\n    \"base_r\": {\"type\": 'float', \"default\": 26.05, \"min\": 15.6, \"max\": 41.7, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base circumradius (mm)'},\n    \"base_h\": {\"type\": 'float', \"default\": 11.8, \"min\": 4.7, \"max\": 29.5, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base height (mm)'},\n    \"col_d\": {\"type\": 'float', \"default\": 19.1, \"min\": 9.6, \"max\": 36.1, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column diameter (mm)'},\n    \"col_h\": {\"type\": 'float', \"default\": 19.2, \"min\": 5.8, \"max\": 48.0, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column height (mm)'},\n    \"col_bore\": {\"type\": 'float', \"default\": 10.5, \"min\": 2.0, \"max\": 13.8, \"step\": 0.5, \"group\": 'Column', \"label\": 'Column bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').polygon(p[\"base_sides\"], p[\"base_r\"] * 2).extrude(p[\"base_h\"]))\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"col_d\"] / 2).extrude(p[\"col_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"col_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca41f_2155", "family": "plate", "tier": 0, "seed": 1177330719, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "7859a61d57036679", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 912.0, "surface_area": 848.0, "principal_moments": [8590.0, 68200.0, 75400.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 29.8 \u00d7 10.2 \u00d7 3 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 29.8 \u00d7 10.2 \u00d7 3 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 29.8, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 10.2, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 3.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330719 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 29.8, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 10.2, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 3.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462ca421_2157", "family": "swept", "tier": 1, "seed": 1177330721, "symmetry": "none", "op_count": 1, "ir_hash": "048b001569c33dd7", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 17800.0, "surface_area": 4540.0, "principal_moments": [888000.0, 7690000.0, 7890000.0], "n_faces": 3, "n_edges": 3, "n_vertices": 2}, "dimensions": {"lines": ["\u00d817.7 mm circular section swept along a curved path, ~55 mm span."], "text": "\u00d817.7 mm circular section swept along a curved path, ~55 mm span."}, "params": {"path_w": {"type": "float", "default": 55, "min": 27.5, "max": 99.0, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 43.65, "min": 21.8, "max": 78.6, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_d": {"type": "float", "default": 17.7, "min": 8.8, "max": 31.9, "step": 1.0, "group": "Section", "label": "Section diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330721 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 55, \"min\": 27.5, \"max\": 99.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 43.65, \"min\": 21.8, \"max\": 78.6, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_d\": {\"type\": 'float', \"default\": 17.7, \"min\": 8.8, \"max\": 31.9, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.0556, p[\"path_h\"] * 0.2483), (p[\"path_w\"] * 0.4721, p[\"path_h\"] * 0.8716), (p[\"path_w\"] * 0.9217, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').circle(p[\"sweep_d\"] / 2).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca422_2158", "family": "compound", "tier": 3, "seed": 1177330722, "symmetry": "none", "op_count": 7, "ir_hash": "c419b3c6e7c3819f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 28500.0, "surface_area": 7480.0, "principal_moments": [4180000.0, 4430000.0, 5990000.0], "n_faces": 34, "n_edges": 84, "n_vertices": 54}, "dimensions": {"lines": ["Rectangular body, 36.47 \u00d7 24 \u00d7 34.7 mm (W\u00d7D\u00d7H).", "\u00d85.6 mm circular section attachment, 5.9 mm long, from left face with a \u00d83.3 mm bore.", "\u00d85.6 mm circular section attachment, 5.9 mm long, from back face with a \u00d83.3 mm bore.", "\u00d85.6 mm circular section attachment, 5.9 mm long, from right face with a \u00d83.3 mm bore.", "\u00d85.6 mm circular section attachment, 5.9 mm long, from front face with a \u00d83.3 mm bore.", "Four \u00d85.3 mm holes at the corners, 25.529 \u00d7 16.8 mm spacing.", "Fillet radius 1.339 mm on vertical edges."], "text": "Rectangular body, 36.47 \u00d7 24 \u00d7 34.7 mm (W\u00d7D\u00d7H). \u00d85.6 mm circular section attachment, 5.9 mm long, from left face with a \u00d83.3 mm bore. \u00d85.6 mm circular section attachment, 5.9 mm long, from back face with a \u00d83.3 mm bore. \u00d85.6 mm circular section attachment, 5.9 mm long, from right face with a \u00d83.3 mm bore. \u00d85.6 mm circular section attachment, 5.9 mm long, from front face with a \u00d83.3 mm bore. Four \u00d85.3 mm holes at the corners, 25.529 \u00d7 16.8 mm spacing. Fillet radius 1.339 mm on vertical edges."}, "params": {"block_w": {"type": "float", "default": 36.47, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body width (mm)"}, "block_d": {"type": "float", "default": 24.0, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body depth (mm)"}, "block_h": {"type": "float", "default": 34.7, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body height (mm)"}, "port_d": {"type": "float", "default": 5.6, "min": 2.2, "max": 10.8, "step": 1.0, "group": "Ports", "label": "Ports diameter (mm)"}, "port_len": {"type": "float", "default": 5.9, "min": 1.4, "max": 16.8, "step": 1.0, "group": "Ports", "label": "Port boss length (mm)"}, "port_bore": {"type": "float", "default": 3.3, "min": 2.0, "max": 4.0, "step": 0.5, "group": "Ports", "label": "Port bore diameter (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 5.4, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330722 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 36.47, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 24.0, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 34.7, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body height (mm)'},\n    \"port_d\": {\"type\": 'float', \"default\": 5.6, \"min\": 2.2, \"max\": 10.8, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Ports diameter (mm)'},\n    \"port_len\": {\"type\": 'float', \"default\": 5.9, \"min\": 1.4, \"max\": 16.8, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Port boss length (mm)'},\n    \"port_bore\": {\"type\": 'float', \"default\": 3.3, \"min\": 2.0, \"max\": 4.0, \"step\": 0.5, \"group\": 'Ports', \"label\": 'Port bore diameter (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 5.4, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"block_w\"], p[\"block_d\"]) * 0.05579065726915053)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca423_2159", "family": "plate", "tier": 3, "seed": 1177330723, "symmetry": "none", "op_count": 4, "ir_hash": "c2a17385f3c53102", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 54800.0, "surface_area": 14500.0, "principal_moments": [9530000.0, 50999999.99999999, 58999999.99999999], "n_faces": 20, "n_edges": 51, "n_vertices": 34}, "dimensions": {"lines": ["Rectangular body, 105 \u00d7 44.2 \u00d7 12 mm (W\u00d7D\u00d7H).", "Seven \u00d84.3 mm holes in two staggered rows, 26.2 \u00d7 29.3 mm pitch.", "Fillet radius 2.049 mm on vertical edges.", "Boss \u00d89.7 mm \u00d7 12 mm tall on top face with a \u00d85.3 mm bore."], "text": "Rectangular body, 105 \u00d7 44.2 \u00d7 12 mm (W\u00d7D\u00d7H). Seven \u00d84.3 mm holes in two staggered rows, 26.2 \u00d7 29.3 mm pitch. Fillet radius 2.049 mm on vertical edges. Boss \u00d89.7 mm \u00d7 12 mm tall on top face with a \u00d85.3 mm bore."}, "params": {"plate_w": {"type": "float", "default": 105, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 44.2, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 4.4, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 4, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}, "boss_d": {"type": "float", "default": 9.7, "min": 4.8, "max": 19.4, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 12.0, "min": 4.8, "max": 30.0, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}, "boss_bore_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 6.8, "step": 0.1, "group": "Boss", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330723 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 105, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 44.2, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 4.4, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 4, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n    \"boss_d\": {\"type\": 'float', \"default\": 9.7, \"min\": 4.8, \"max\": 19.4, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 12.0, \"min\": 4.8, \"max\": 30.0, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n    \"boss_bore_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 6.8, \"step\": 0.1, \"group\": 'Boss', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 26.2\n    _ssy = 29.3\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"plate_w\"], p[\"plate_d\"]) * 0.04635706109103043)\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .hole(p[\"boss_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca424_2160", "family": "revolved", "tier": 1, "seed": 1177330724, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "fc34ceb1e1bf981f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 12300.0, "surface_area": 5410.0, "principal_moments": [812000.0, 3760000.0, 3760000.0], "n_faces": 6, "n_edges": 9, "n_vertices": 6}, "dimensions": {"lines": ["Revolved body, \u00d816.41 mm \u00d7 52.2 mm tall with \u00d86.4 mm bore, \u00d830.7 mm \u00d7 5.6 mm flange."], "text": "Revolved body, \u00d816.41 mm \u00d7 52.2 mm tall with \u00d86.4 mm bore, \u00d830.7 mm \u00d7 5.6 mm flange."}, "params": {"outer_d": {"type": "float", "default": 16.41, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 52.2, "min": 15.7, "max": 156.6, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 11.5, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 30.7, "min": 19.7, "max": 49.2, "step": 1.0, "group": "Body", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 5.6, "min": 1.7, "max": 26.1, "step": 0.5, "group": "Body", "label": "Flange height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330724 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 16.41, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 52.2, \"min\": 15.7, \"max\": 156.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 11.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 30.7, \"min\": 19.7, \"max\": 49.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 5.6, \"min\": 1.7, \"max\": 26.1, \"step\": 0.5, \"group\": 'Body', \"label\": 'Flange height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca425_2161", "family": "bracket", "tier": 3, "seed": 1177330725, "symmetry": "none", "op_count": 1, "ir_hash": "ddda04a9b02a7c79", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 13800.0, "surface_area": 6760.0, "principal_moments": [2130000.0, 7060000.0, 8400000.0], "n_faces": 15, "n_edges": 41, "n_vertices": 26}, "dimensions": {"lines": ["L-bracket: base leg 62.98 mm, vertical leg 58.4 mm, 20 mm wide, 5 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg; 6.4 mm corner gusset."], "text": "L-bracket: base leg 62.98 mm, vertical leg 58.4 mm, 20 mm wide, 5 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg; 6.4 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 62.98, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 58.4, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 20, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 5.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 8.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 6.4, "min": 2.5, "max": 10.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330725 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 62.98, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 58.4, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 20, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 8.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.5, \"max\": 10.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca426_2162", "family": "block", "tier": 1, "seed": 1177330726, "symmetry": "none", "op_count": 2, "ir_hash": "dad056023300a0af", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 172000.0, "surface_area": 28700.0, "principal_moments": [69800000.0, 154000000.0, 202000000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 65 \u00d7 27.8 \u00d7 100 mm (W\u00d7D\u00d7H).", "Four \u00d85.3 mm holes at the corners, 45.5 \u00d7 19.46 mm spacing."], "text": "Rectangular body, 65 \u00d7 27.8 \u00d7 100 mm (W\u00d7D\u00d7H). Four \u00d85.3 mm holes at the corners, 45.5 \u00d7 19.46 mm spacing."}, "params": {"block_w": {"type": "float", "default": 65, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 27.8, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 100.0, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 6.3, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330726 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 65, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 27.8, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 100.0, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 6.3, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca428_2164", "family": "revolved", "tier": 1, "seed": 1177330728, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "bdd9db1a905c1a24", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 27300.0, "surface_area": 7740.0, "principal_moments": [4990000.0, 4990000.0, 6610000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d840.17 mm \u00d7 32.3 mm tall."], "text": "Revolved body, \u00d840.17 mm \u00d7 32.3 mm tall."}, "params": {"outer_d": {"type": "float", "default": 40.17, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 32.3, "min": 9.7, "max": 96.9, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330728 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 40.17, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 32.3, \"min\": 9.7, \"max\": 96.9, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca429_2165", "family": "bracket", "tier": 1, "seed": 1177330729, "symmetry": "none", "op_count": 1, "ir_hash": "711a483de9d647b6", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 37900.0, "surface_area": 12700.0, "principal_moments": [7380000.0, 46299999.99999999, 48399999.99999999], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Z-bracket: base leg 70 mm, vertical leg 56.7 mm, top leg 53.6 mm, 28.92 mm wide, 8 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."], "text": "Z-bracket: base leg 70 mm, vertical leg 56.7 mm, top leg 53.6 mm, 28.92 mm wide, 8 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 70, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 56.7, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 28.92, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 8.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 53.6, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330729 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 70, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 56.7, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 28.92, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 53.6, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462ca42a_2166", "family": "gear", "tier": 0, "seed": 1177330730, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "de73c6fc948f133e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 523000.0, "surface_area": 64300.0, "principal_moments": [823000000.0, 823000000.0, 1580000000.0], "n_faces": 188, "n_edges": 558, "n_vertices": 372}, "dimensions": {"lines": ["Spur gear, module 5 mm, 31 teeth (pitch \u00d8155 mm), face width 28 mm."], "text": "Spur gear, module 5 mm, 31 teeth (pitch \u00d8155 mm), face width 28 mm."}, "params": {"module": {"type": "float", "default": 5.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 31, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 28.0, "min": 11.2, "max": 70.0, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330730 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 5.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 31, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 28.0, \"min\": 11.2, \"max\": 70.0, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca42b_2167", "family": "revolved", "tier": 2, "seed": 1177330731, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "65c4ecbd08e30732", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 273000.0, "surface_area": 36800.0, "principal_moments": [89900000.0, 662000000.0, 662000000.0], "n_faces": 4, "n_edges": 6, "n_vertices": 4}, "dimensions": {"lines": ["Revolved body, \u00d848.71 mm \u00d7 164.5 mm tall with \u00d816 mm bore."], "text": "Revolved body, \u00d848.71 mm \u00d7 164.5 mm tall with \u00d816 mm bore."}, "params": {"outer_d": {"type": "float", "default": 48.71, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 164.5, "min": 49.4, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 16.0, "min": 2.0, "max": 34.1, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330731 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 48.71, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 164.5, \"min\": 49.4, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 16.0, \"min\": 2.0, \"max\": 34.1, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca42c_2168", "family": "block", "tier": 1, "seed": 1177330732, "symmetry": "none", "op_count": 2, "ir_hash": "e303c8ec92890f28", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 296000.0, "surface_area": 34600.0, "principal_moments": [196000000.0, 280000000.0, 410000000.0], "n_faces": 11, "n_edges": 27, "n_vertices": 18}, "dimensions": {"lines": ["Rectangular body, 81.26 \u00d7 36.9 \u00d7 100 mm (W\u00d7D\u00d7H).", "Five \u00d83.2 mm holes in two staggered rows, 30.5 \u00d7 28 mm pitch."], "text": "Rectangular body, 81.26 \u00d7 36.9 \u00d7 100 mm (W\u00d7D\u00d7H). Five \u00d83.2 mm holes in two staggered rows, 30.5 \u00d7 28 mm pitch."}, "params": {"block_w": {"type": "float", "default": 81.26, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 36.9, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 100.0, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 3.7, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 3, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330732 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 81.26, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 36.9, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 100.0, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 3.7, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 3, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 30.5\n    _ssy = 28.0\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca42d_2169", "family": "compound", "tier": 1, "seed": 1177330733, "symmetry": "mirror_xy", "op_count": 3, "ir_hash": "19f9f7f282648c97", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 141000.0, "surface_area": 19000.0, "principal_moments": [50499999.99999999, 72000000.0, 85600000.0], "n_faces": 15, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 53.65 \u00d7 35.1 \u00d7 68.9 mm (W\u00d7D\u00d7H).", "31.6 \u00d7 49.2 mm rectangular section attachment, 8 mm long, from back face.", "Four \u00d83.2 mm holes at the corners, 18.96 \u00d7 29.52 mm spacing on the >Y face."], "text": "Rectangular body, 53.65 \u00d7 35.1 \u00d7 68.9 mm (W\u00d7D\u00d7H). 31.6 \u00d7 49.2 mm rectangular section attachment, 8 mm long, from back face. Four \u00d83.2 mm holes at the corners, 18.96 \u00d7 29.52 mm spacing on the >Y face."}, "params": {"block_w": {"type": "float", "default": 53.65, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 35.1, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 68.9, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "tab_a": {"type": "float", "default": 31.6, "min": 12.6, "max": 50.6, "step": 1.0, "group": "Tab", "label": "Tab width (mm)"}, "tab_b": {"type": "float", "default": 49.2, "min": 19.7, "max": 78.7, "step": 1.0, "group": "Tab", "label": "Tab height (mm)"}, "tab_t": {"type": "float", "default": 8.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Tab", "label": "Tab thickness (mm)"}, "tab_hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 7.0, "step": 0.1, "group": "Tab", "label": "Tab hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330733 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 53.65, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 35.1, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 68.9, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"tab_a\": {\"type\": 'float', \"default\": 31.6, \"min\": 12.6, \"max\": 50.6, \"step\": 1.0, \"group\": 'Tab', \"label\": 'Tab width (mm)'},\n    \"tab_b\": {\"type\": 'float', \"default\": 49.2, \"min\": 19.7, \"max\": 78.7, \"step\": 1.0, \"group\": 'Tab', \"label\": 'Tab height (mm)'},\n    \"tab_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Tab', \"label\": 'Tab thickness (mm)'},\n    \"tab_hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 7.0, \"step\": 0.1, \"group\": 'Tab', \"label\": 'Tab hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .rect(p[\"tab_a\"], p[\"tab_b\"]).extrude(p[\"tab_t\"])\n    )\n    result = (\n        result.faces('>Y').workplane()\n        .rect(p[\"tab_a\"] * 0.6, p[\"tab_b\"] * 0.6, forConstruction=True)\n        .vertices().hole(p[\"tab_hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca42e_2170", "family": "bracket", "tier": 1, "seed": 1177330734, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "bf328cf363769967", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 13500.0, "surface_area": 9960.0, "principal_moments": [3300000.0, 5660000.0, 7680000.0], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Z-bracket: base leg 35 mm, vertical leg 39.8 mm, top leg 25.5 mm, 48.32 mm wide, 3 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."], "text": "Z-bracket: base leg 35 mm, vertical leg 39.8 mm, top leg 25.5 mm, 48.32 mm wide, 3 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 35, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 39.8, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 48.32, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 3.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 25.5, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330734 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 35, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 39.8, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 48.32, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 25.5, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca42f_2171", "family": "bracket", "tier": 2, "seed": 1177330735, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "f9a0720c598d965f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 20800.0, "surface_area": 8560.0, "principal_moments": [2910000.0, 6500000.0, 7030000.0], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["C-channel bracket: base leg 25.83 mm, vertical leg 25 mm, 55 mm wide, 6 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg; 8.8 mm corner gusset."], "text": "C-channel bracket: base leg 25.83 mm, vertical leg 25 mm, 55 mm wide, 6 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg; 8.8 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 25.83, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 25.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 55, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 6.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 8.8, "min": 3.0, "max": 18.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330735 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 25.83, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 25.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 55, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 8.8, \"min\": 3.0, \"max\": 18.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl / 2, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bl - _bt, _bt).lineTo(_bl - _bt - _g, _bt)\n                    .lineTo(_bl - _bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462ca430_2172", "family": "sketched", "tier": 2, "seed": 1177330736, "symmetry": "none", "op_count": 3, "ir_hash": "6859a6f753fa590b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 40400.0, "surface_area": 7850.0, "principal_moments": [5850000.0, 10100000.0, 11499999.999999998], "n_faces": 11, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["freeform sketched section (6 segments: 2 straight, 2 arcs, 2 curves), ~58.78 \u00d7 37.055 mm, extruded 25 mm thick.", "One \u00d85.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch.", "Boss \u00d814.4 mm \u00d7 5.2 mm tall on top face with a \u00d86.4 mm bore."], "text": "freeform sketched section (6 segments: 2 straight, 2 arcs, 2 curves), ~58.78 \u00d7 37.055 mm, extruded 25 mm thick. One \u00d85.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch. Boss \u00d814.4 mm \u00d7 5.2 mm tall on top face with a \u00d86.4 mm bore."}, "params": {"sk_w": {"type": "float", "default": 65, "min": 32.5, "max": 117.0, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 50, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "sk_t": {"type": "float", "default": 25, "min": 10.0, "max": 55.0, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "sk_hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 10.6, "step": 0.5, "group": "Holes", "label": "Hole diameter (mm)"}, "boss_d": {"type": "float", "default": 14.4, "min": 7.2, "max": 28.8, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 5.2, "min": 2.1, "max": 13.0, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}, "boss_bore_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 10.1, "step": 0.1, "group": "Boss", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330736 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 65, \"min\": 32.5, \"max\": 117.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 50, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"sk_t\": {\"type\": 'float', \"default\": 25, \"min\": 10.0, \"max\": 55.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"sk_hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 10.6, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"boss_d\": {\"type\": 'float', \"default\": 14.4, \"min\": 7.2, \"max\": 28.8, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 5.2, \"min\": 2.1, \"max\": 13.0, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n    \"boss_bore_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 10.1, \"step\": 0.1, \"group\": 'Boss', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.4433, p[\"sk_h\"] * 0.0091).lineTo(p[\"sk_w\"] * 0.2573, p[\"sk_h\"] * 0.4042).spline([(p[\"sk_w\"] * 0.2573, p[\"sk_h\"] * 0.4042), (p[\"sk_w\"] * 0.0008, p[\"sk_h\"] * 0.3772), (p[\"sk_w\"] * -0.2437, p[\"sk_h\"] * 0.2949)]).threePointArc((p[\"sk_w\"] * -0.3845, p[\"sk_h\"] * 0.2349), (p[\"sk_w\"] * -0.461, p[\"sk_h\"] * 0.144)).threePointArc((p[\"sk_w\"] * -0.3365, p[\"sk_h\"] * -0.1194), (p[\"sk_w\"] * -0.0764, p[\"sk_h\"] * -0.3283)).spline([(p[\"sk_w\"] * -0.0764, p[\"sk_h\"] * -0.3283), (p[\"sk_w\"] * 0.1152, p[\"sk_h\"] * -0.364), (p[\"sk_w\"] * 0.3081, p[\"sk_h\"] * -0.3369)]).lineTo(p[\"sk_w\"] * 0.4433, p[\"sk_h\"] * 0.0091).close().extrude(p[\"sk_t\"]))\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"sk_hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .hole(p[\"boss_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca431_2173", "family": "plate", "tier": 2, "seed": 1177330737, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "2b10c250674c5def", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 14300.0, "surface_area": 5300.0, "principal_moments": [1580000.0, 2240000.0, 3590000.0], "n_faces": 22, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 43.28 \u00d7 35.9 \u00d7 10 mm (W\u00d7D\u00d7H).", "Four 8.4 \u00d7 4.3 mm slots at the corners, 30.296 \u00d7 25.13 mm spacing."], "text": "Rectangular body, 43.28 \u00d7 35.9 \u00d7 10 mm (W\u00d7D\u00d7H). Four 8.4 \u00d7 4.3 mm slots at the corners, 30.296 \u00d7 25.13 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 43.28, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 35.9, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 8.1, "step": 0.5, "group": "Holes", "label": "Slot width (mm)"}, "hole_slot_len": {"type": "float", "default": 8.4, "min": 6.4, "max": 10.8, "step": 0.5, "group": "Holes", "label": "Slot length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330737 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 43.28, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 35.9, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 8.1, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Slot width (mm)'},\n    \"hole_slot_len\": {\"type\": 'float', \"default\": 8.4, \"min\": 6.4, \"max\": 10.8, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Slot length (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().slot2D(p[\"hole_slot_len\"], p[\"hole_d\"]).cutThruAll()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca432_2174", "family": "plate", "tier": 1, "seed": 1177330738, "symmetry": "none", "op_count": 2, "ir_hash": "999b5eec7cfeabf3", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 5950.0, "surface_area": 2810.0, "principal_moments": [173000.0, 1030000.0, 1140000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 45.34 \u00d7 17.1 \u00d7 8 mm (W\u00d7D\u00d7H).", "Four \u00d83.2 mm holes at the corners, 31.738 \u00d7 11.97 mm spacing."], "text": "Rectangular body, 45.34 \u00d7 17.1 \u00d7 8 mm (W\u00d7D\u00d7H). Four \u00d83.2 mm holes at the corners, 31.738 \u00d7 11.97 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 45.34, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 17.1, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 3.8, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330738 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 45.34, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 17.1, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 3.8, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462ca433_2175", "family": "tapped", "tier": 2, "seed": 1177330739, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "b22e2a51fc3ff0e7", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 61600.0, "surface_area": 16400.0, "principal_moments": [26499999.999999996, 36600000.0, 61999999.99999999], "n_faces": 654, "n_edges": 1788, "n_vertices": 1136}, "dimensions": {"lines": ["Six M5x0.8 tapped holes in a plate."], "text": "Six M5x0.8 tapped holes in a plate."}, "params": {"major_d": {"type": "float", "default": 5.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 0.8, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 10.5, "min": 6.0, "max": 18.9, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "plate_w": {"type": "float", "default": 83.65, "min": 50.2, "max": 133.8, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 71.3, "min": 42.8, "max": 114.1, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330739 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 0.8, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 10.5, \"min\": 6.0, \"max\": 18.9, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"plate_w\": {\"type\": 'float', \"default\": 83.65, \"min\": 50.2, \"max\": 133.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 71.3, \"min\": 42.8, \"max\": 114.1, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n}\n\n\ndef build(p):\n\n    _W, _D, _H = p[\"plate_w\"], p[\"plate_d\"], p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Box(_W, _D, _H)\n    _nx, _ny = max(1, int(3)), max(1, int(2))\n    _sx, _sy = p[\"plate_w\"] * 0.33, p[\"plate_d\"] * 0.66\n    _locs = [(_sx * (_i - (_nx - 1) / 2), _sy * (_j - (_ny - 1) / 2))\n             for _i in range(_nx) for _j in range(_ny)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462ca434_2176", "family": "lofted", "tier": 2, "seed": 1177330740, "symmetry": "none", "op_count": 2, "ir_hash": "237567c64c1aa53d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 90900.0, "surface_area": 16700.0, "principal_moments": [38800000.0, 41300000.0, 41300000.0], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["Lofted body through 3 sections: 6-sided polygon section, 60 mm across corners \u2192 \u00d852.5 mm circular section \u2192 45.1 \u00d7 45.1 mm rectangular section.", "One \u00d824.8 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 3 sections: 6-sided polygon section, 60 mm across corners \u2192 \u00d852.5 mm circular section \u2192 45.1 \u00d7 45.1 mm rectangular section. One \u00d824.8 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 60, "min": 30.0, "max": 96.0, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 45.1, "min": 18.0, "max": 72.0, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 53.8, "min": 21.5, "max": 107.6, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_mid": {"type": "float", "default": 52.5, "min": 22.6, "max": 72.0, "step": 1.0, "group": "Body", "label": "Mid size (mm)"}, "loft_bore_d": {"type": "float", "default": 24.8, "min": 2.0, "max": 36.1, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330740 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 60, \"min\": 30.0, \"max\": 96.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 45.1, \"min\": 18.0, \"max\": 72.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 53.8, \"min\": 21.5, \"max\": 107.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_mid\": {\"type\": 'float', \"default\": 52.5, \"min\": 22.6, \"max\": 72.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Mid size (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 24.8, \"min\": 2.0, \"max\": 36.1, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .polygon(6, p[\"loft_base\"] * 0.5 * 2)\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .circle(p[\"loft_mid\"] / 2)\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .rect(p[\"loft_top\"], p[\"loft_top\"])\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca435_2177", "family": "plate", "tier": 0, "seed": 1177330741, "symmetry": "none", "op_count": 1, "ir_hash": "faeab078b1bc9c39", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 4290.0, "surface_area": 2380.0, "principal_moments": [118000.0, 868000.0, 969000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 49.03 \u00d7 17.5 \u00d7 5 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 49.03 \u00d7 17.5 \u00d7 5 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 49.03, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 17.5, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 5.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330741 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 49.03, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 17.5, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 5.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca436_2178", "family": "revolved", "tier": 1, "seed": 1177330742, "symmetry": "none", "op_count": 2, "ir_hash": "299113ae84f26308", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 219000.0, "surface_area": 39300.0, "principal_moments": [72400000.0, 570000000.0, 570000000.0], "n_faces": 8, "n_edges": 14, "n_vertices": 8}, "dimensions": {"lines": ["Revolved body, \u00d846.24 mm \u00d7 171.5 mm tall with \u00d822.6 mm bore.", "Chamfer 1.4 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d846.24 mm \u00d7 171.5 mm tall with \u00d822.6 mm bore. Chamfer 1.4 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 46.24, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 171.5, "min": 51.4, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 22.6, "min": 2.0, "max": 32.4, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "end_chamfer": {"type": "float", "default": 1.4, "min": 0.1, "max": 4.2, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330742 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 46.24, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 171.5, \"min\": 51.4, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 22.6, \"min\": 2.0, \"max\": 32.4, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 1.4, \"min\": 0.1, \"max\": 4.2, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462ca437_2179", "family": "ribbed", "tier": 1, "seed": 1177330743, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "7321817fdf6020fe", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 43200.0, "surface_area": 24900.0, "principal_moments": [14699999.999999998, 32999999.999999996, 43900000.0], "n_faces": 46, "n_edges": 112, "n_vertices": 68}, "dimensions": {"lines": ["Rectangular body, 93.61 \u00d7 47.8 \u00d7 6 mm (W\u00d7D\u00d7H).", "Five ribs, 2.5 mm thick, 17.5 mm tall."], "text": "Rectangular body, 93.61 \u00d7 47.8 \u00d7 6 mm (W\u00d7D\u00d7H). Five ribs, 2.5 mm thick, 17.5 mm tall."}, "params": {"base_w": {"type": "float", "default": 93.61, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 47.8, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 6.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 5, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 17.5, "min": 7.0, "max": 35.0, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 2.5, "min": 1.0, "max": 6.2, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330743 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 93.61, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 47.8, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 5, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 17.5, \"min\": 7.0, \"max\": 35.0, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 2.5, \"min\": 1.0, \"max\": 6.2, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca438_2180", "family": "plate", "tier": 0, "seed": 1177330744, "symmetry": "none", "op_count": 1, "ir_hash": "b0ffacaf78b4b2bb", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 12800.0, "surface_area": 5420.0, "principal_moments": [1170000.0, 4530000.0, 5630000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 65 \u00d7 32.7 \u00d7 6 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 65 \u00d7 32.7 \u00d7 6 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 65, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 32.7, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 6.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330744 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 65, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 32.7, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462ca439_2181", "family": "flanged", "tier": 1, "seed": 1177330745, "symmetry": "none", "op_count": 2, "ir_hash": "1e1772335a43ed36", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 74300.0, "surface_area": 22700.0, "principal_moments": [36100000.0, 36100000.0, 51599999.99999999], "n_faces": 18, "n_edges": 45, "n_vertices": 30}, "dimensions": {"lines": ["Revolved body, \u00d850 mm \u00d7 37.3 mm tall with \u00d826.2 mm bore, \u00d894 mm \u00d7 4.4 mm flange.", "Twelve \u00d84.3 mm holes on a \u00d856.4 mm bolt circle."], "text": "Revolved body, \u00d850 mm \u00d7 37.3 mm tall with \u00d826.2 mm bore, \u00d894 mm \u00d7 4.4 mm flange. Twelve \u00d84.3 mm holes on a \u00d856.4 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 50, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 37.3, "min": 11.2, "max": 93.2, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 26.2, "min": 2.0, "max": 35.0, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 94.0, "min": 65.0, "max": 150.0, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 4.4, "min": 1.3, "max": 14.9, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 28.2, "min": 18.8, "max": 42.3, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 12, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330745 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 50, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 37.3, \"min\": 11.2, \"max\": 93.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 26.2, \"min\": 2.0, \"max\": 35.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 94.0, \"min\": 65.0, \"max\": 150.0, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 4.4, \"min\": 1.3, \"max\": 14.9, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 28.2, \"min\": 18.8, \"max\": 42.3, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 12, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca43a_2182", "family": "plate", "tier": 2, "seed": 1177330746, "symmetry": "none", "op_count": 3, "ir_hash": "4d250eca82994c68", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 83700.0, "surface_area": 21800.0, "principal_moments": [55099999.99999999, 67600000.0, 121000000.0], "n_faces": 19, "n_edges": 51, "n_vertices": 34}, "dimensions": {"lines": ["Rectangular body, 98.22 \u00d7 87.9 \u00d7 10 mm (W\u00d7D\u00d7H).", "Nine \u00d85.3 mm holes in two staggered rows, 18.4 \u00d7 14.8 mm pitch.", "Chamfer 5.5 mm on vertical edges."], "text": "Rectangular body, 98.22 \u00d7 87.9 \u00d7 10 mm (W\u00d7D\u00d7H). Nine \u00d85.3 mm holes in two staggered rows, 18.4 \u00d7 14.8 mm pitch. Chamfer 5.5 mm on vertical edges."}, "params": {"plate_w": {"type": "float", "default": 98.22, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 87.9, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 8.8, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 5, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}, "chamfer_d": {"type": "float", "default": 5.5, "min": 3.5, "max": 6.3, "step": 0.5, "group": "Body", "label": "Chamfer distance (mm)"}, "chamfered": {"type": "bool", "default": true, "group": "Body", "label": "Chamfer edges"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330746 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 98.22, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 87.9, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 8.8, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 5, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n    \"chamfer_d\": {\"type\": 'float', \"default\": 5.5, \"min\": 3.5, \"max\": 6.3, \"step\": 0.5, \"group\": 'Body', \"label\": 'Chamfer distance (mm)'},\n    \"chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Chamfer edges'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 18.4\n    _ssy = 14.8\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    if p[\"chamfered\"]:\n        result = result.edges('|Z').chamfer(p[\"chamfer_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462ca43b_2183", "family": "ribbed", "tier": 1, "seed": 1177330747, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "09e2cf4452c33562", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 8510.0, "surface_area": 5010.0, "principal_moments": [971000.0, 1770000.0, 2400000.0], "n_faces": 16, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 39.05 \u00d7 35.8 \u00d7 3 mm (W\u00d7D\u00d7H).", "Two ribs, 5.8 mm thick, 11.9 mm tall."], "text": "Rectangular body, 39.05 \u00d7 35.8 \u00d7 3 mm (W\u00d7D\u00d7H). Two ribs, 5.8 mm thick, 11.9 mm tall."}, "params": {"base_w": {"type": "float", "default": 39.05, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 35.8, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 3.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 2, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 11.9, "min": 4.8, "max": 23.8, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 5.8, "min": 1.0, "max": 14.5, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330747 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 39.05, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 35.8, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 2, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 11.9, \"min\": 4.8, \"max\": 23.8, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 5.8, \"min\": 1.0, \"max\": 14.5, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca43c_2184", "family": "plate", "tier": 1, "seed": 1177330748, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "65529f9004cae642", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 78100.0, "surface_area": 20900.0, "principal_moments": [40300000.0, 70000000.0, 109000000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 105 \u00d7 79.4 \u00d7 10 mm (W\u00d7D\u00d7H).", "Four \u00d813 mm holes at the corners, 73.5 \u00d7 55.58 mm spacing."], "text": "Rectangular body, 105 \u00d7 79.4 \u00d7 10 mm (W\u00d7D\u00d7H). Four \u00d813 mm holes at the corners, 73.5 \u00d7 55.58 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 105, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 79.4, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 13.0, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330748 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 105, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 79.4, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 13.0, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca43d_2185", "family": "compound", "tier": 1, "seed": 1177330749, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "b30072ecd3b5dad4", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 236000.0, "surface_area": 27600.0, "principal_moments": [145000000.0, 153000000.0, 211000000.0], "n_faces": 12, "n_edges": 27, "n_vertices": 18}, "dimensions": {"lines": ["Rectangular body, 65 \u00d7 47.6 \u00d7 73.3 mm (W\u00d7D\u00d7H).", "26.2 \u00d7 15.4 mm slot section attachment, 37.5 mm long, from right face with a \u00d87.2 mm bore."], "text": "Rectangular body, 65 \u00d7 47.6 \u00d7 73.3 mm (W\u00d7D\u00d7H). 26.2 \u00d7 15.4 mm slot section attachment, 37.5 mm long, from right face with a \u00d87.2 mm bore."}, "params": {"block_w": {"type": "float", "default": 65, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 47.6, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 73.3, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "spig_w": {"type": "float", "default": 15.4, "min": 7.7, "max": 26.6, "step": 0.5, "group": "Spigot", "label": "Spigot width (mm)"}, "spig_slot_l": {"type": "float", "default": 26.2, "min": 18.5, "max": 33.3, "step": 1.0, "group": "Spigot", "label": "Spigot slot length (mm)"}, "spig_len": {"type": "float", "default": 37.5, "min": 4.6, "max": 61.6, "step": 1.0, "group": "Spigot", "label": "Spigot length (mm)"}, "spig_bore": {"type": "float", "default": 7.2, "min": 2.0, "max": 11.1, "step": 0.5, "group": "Spigot", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330749 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 65, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 47.6, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 73.3, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"spig_w\": {\"type\": 'float', \"default\": 15.4, \"min\": 7.7, \"max\": 26.6, \"step\": 0.5, \"group\": 'Spigot', \"label\": 'Spigot width (mm)'},\n    \"spig_slot_l\": {\"type\": 'float', \"default\": 26.2, \"min\": 18.5, \"max\": 33.3, \"step\": 1.0, \"group\": 'Spigot', \"label\": 'Spigot slot length (mm)'},\n    \"spig_len\": {\"type\": 'float', \"default\": 37.5, \"min\": 4.6, \"max\": 61.6, \"step\": 1.0, \"group\": 'Spigot', \"label\": 'Spigot length (mm)'},\n    \"spig_bore\": {\"type\": 'float', \"default\": 7.2, \"min\": 2.0, \"max\": 11.1, \"step\": 0.5, \"group\": 'Spigot', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .slot2D(p[\"spig_slot_l\"], p[\"spig_w\"]).extrude(p[\"spig_len\"])\n    )\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"spig_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462ca43e_2186", "family": "enclosure", "tier": 2, "seed": 1177330750, "symmetry": "mirror_x", "op_count": 4, "ir_hash": "e21af0ae7514e14a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 173000.0, "surface_area": 86600.0, "principal_moments": [314000000.0, 380000000.0, 495000000.0], "n_faces": 23, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 115 \u00d7 60.9 \u00d7 112.3 mm (W\u00d7D\u00d7H).", "Hollowed to 4 mm wall thickness, open at top face.", "Four \u00d86.4 mm holes at the corners, 80.5 \u00d7 42.63 mm spacing.", "Fillet radius 4.123 mm on vertical edges."], "text": "Rectangular body, 115 \u00d7 60.9 \u00d7 112.3 mm (W\u00d7D\u00d7H). Hollowed to 4 mm wall thickness, open at top face. Four \u00d86.4 mm holes at the corners, 80.5 \u00d7 42.63 mm spacing. Fillet radius 4.123 mm on vertical edges."}, "params": {"enc_w": {"type": "float", "default": 115, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 60.9, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 112.3, "min": 44.9, "max": 224.6, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 4.0, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330750 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 115, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 60.9, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 112.3, \"min\": 44.9, \"max\": 224.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"enc_w\"] * 0.7, p[\"enc_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"enc_w\"], p[\"enc_d\"]) * 0.06770759880381311)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462ca43f_2187", "family": "tapped", "tier": 0, "seed": 1177330751, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "2606f07b63af0aa5", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 48000.0, "surface_area": 9800.0, "principal_moments": [11699999.999999998, 11699999.999999998, 20000000.0], "n_faces": 143, "n_edges": 399, "n_vertices": 258}, "dimensions": {"lines": ["One M12x1.75 tapped hole in a plate."], "text": "One M12x1.75 tapped hole in a plate."}, "params": {"major_d": {"type": "float", "default": 12.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 1.75, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 20.8, "min": 14.4, "max": 37.4, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "plate_w": {"type": "float", "default": 49.0, "min": 29.4, "max": 78.4, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 49.0, "min": 29.4, "max": 78.4, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330751 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 12.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.75, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 20.8, \"min\": 14.4, \"max\": 37.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"plate_w\": {\"type\": 'float', \"default\": 49.0, \"min\": 29.4, \"max\": 78.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 49.0, \"min\": 29.4, \"max\": 78.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n}\n\n\ndef build(p):\n\n    _W, _D, _H = p[\"plate_w\"], p[\"plate_d\"], p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Box(_W, _D, _H)\n    _locs = [(0.0, 0.0)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca440_2188", "family": "plate", "tier": 1, "seed": 1177330752, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "8a658439b33412f9", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 39500.0, "surface_area": 10800.0, "principal_moments": [4250000.0, 32799999.999999996, 36100000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 100 \u00d7 34.2 \u00d7 12 mm (W\u00d7D\u00d7H).", "Four \u00d86.4 mm holes at the corners, 70 \u00d7 23.94 mm spacing."], "text": "Rectangular body, 100 \u00d7 34.2 \u00d7 12 mm (W\u00d7D\u00d7H). Four \u00d86.4 mm holes at the corners, 70 \u00d7 23.94 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 100, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 34.2, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 7.7, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330752 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 100, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 34.2, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 7.7, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca441_2189", "family": "block", "tier": 3, "seed": 1177330753, "symmetry": "radial", "op_count": 4, "ir_hash": "21461f01561cb394", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 17200.0, "surface_area": 7960.0, "principal_moments": [2580000.0, 2770000.0, 2990000.0], "n_faces": 19, "n_edges": 66, "n_vertices": 44}, "dimensions": {"lines": ["Rectangular body, 30 \u00d7 28.4 \u00d7 29 mm (W\u00d7D\u00d7H).", "Six \u00d86.4 mm holes on a \u00d818 mm bolt circle.", "Pocket 12.8 \u00d7 15.8 mm, 13.7 mm deep, in top face.", "Fillet radius 1.421 mm on vertical edges (optional, off by default)."], "text": "Rectangular body, 30 \u00d7 28.4 \u00d7 29 mm (W\u00d7D\u00d7H). Six \u00d86.4 mm holes on a \u00d818 mm bolt circle. Pocket 12.8 \u00d7 15.8 mm, 13.7 mm deep, in top face. Fillet radius 1.421 mm on vertical edges (optional, off by default)."}, "params": {"block_w": {"type": "float", "default": 30, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 28.4, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 29.0, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "bolt_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 9.0, "min": 6.0, "max": 13.5, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 6, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}, "pocket_w": {"type": "float", "default": 12.8, "min": 6.4, "max": 24.0, "step": 1.0, "group": "Pocket", "label": "Pocket width (mm)"}, "pocket_d": {"type": "float", "default": 15.8, "min": 7.9, "max": 22.7, "step": 1.0, "group": "Pocket", "label": "Pocket depth (mm)"}, "pocket_h": {"type": "float", "default": 13.7, "min": 5.5, "max": 24.6, "step": 0.5, "group": "Pocket", "label": "Pocket height (mm)"}, "filleted2": {"type": "bool", "default": false, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330753 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 30, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 28.4, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 29.0, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 9.0, \"min\": 6.0, \"max\": 13.5, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n    \"pocket_w\": {\"type\": 'float', \"default\": 12.8, \"min\": 6.4, \"max\": 24.0, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket width (mm)'},\n    \"pocket_d\": {\"type\": 'float', \"default\": 15.8, \"min\": 7.9, \"max\": 22.7, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket depth (mm)'},\n    \"pocket_h\": {\"type\": 'float', \"default\": 13.7, \"min\": 5.5, \"max\": 24.6, \"step\": 0.5, \"group\": 'Pocket', \"label\": 'Pocket height (mm)'},\n    \"filleted2\": {\"type\": 'bool', \"default\": False, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"pocket_w\"], p[\"pocket_d\"])\n        .cutBlind(-p[\"pocket_h\"])\n    )\n    if p[\"filleted2\"]:\n        result = result.edges('|Z').fillet(min(p[\"block_w\"], p[\"block_d\"]) * 0.05005218424294851)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462ca442_2190", "family": "swept", "tier": 0, "seed": 1177330754, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "fc7455ab6905e59b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 15900.0, "surface_area": 4590.0, "principal_moments": [864000.0, 8350000.0, 8620000.0], "n_faces": 3, "n_edges": 3, "n_vertices": 2}, "dimensions": {"lines": ["\u00d817.3 mm circular section swept along a curved path, ~55.33 mm span."], "text": "\u00d817.3 mm circular section swept along a curved path, ~55.33 mm span."}, "params": {"path_w": {"type": "float", "default": 55.33, "min": 27.7, "max": 99.6, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 53.18, "min": 26.6, "max": 95.7, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_d": {"type": "float", "default": 17.3, "min": 8.7, "max": 31.1, "step": 1.0, "group": "Section", "label": "Section diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330754 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 55.33, \"min\": 27.7, \"max\": 99.6, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 53.18, \"min\": 26.6, \"max\": 95.7, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_d\": {\"type\": 'float', \"default\": 17.3, \"min\": 8.7, \"max\": 31.1, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.4396, p[\"path_h\"] * 0.2771), (p[\"path_w\"] * 0.7951, p[\"path_h\"] * 0.4526), (p[\"path_w\"] * 0.8841, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').circle(p[\"sweep_d\"] / 2).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462ca443_2191", "family": "sketched", "tier": 1, "seed": 1177330755, "symmetry": "none", "op_count": 1, "ir_hash": "64923fa6f52d40a1", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 79000.0, "surface_area": 17300.0, "principal_moments": [28599999.999999996, 47199999.99999999, 47199999.99999999], "n_faces": 6, "n_edges": 9, "n_vertices": 5}, "dimensions": {"lines": ["Revolved organic body from a freeform sketched section (6 segments: 4 straight, 1 arc, 1 curve), ~37.464 \u00d7 57.84 mm half-silhouette."], "text": "Revolved organic body from a freeform sketched section (6 segments: 4 straight, 1 arc, 1 curve), ~37.464 \u00d7 57.84 mm half-silhouette."}, "params": {"sk_r": {"type": "float", "default": 40, "min": 20.0, "max": 72.0, "step": 1.0, "group": "Sketch", "label": "Max radius (mm)"}, "sk_h": {"type": "float", "default": 57.84, "min": 28.9, "max": 104.1, "step": 1.0, "group": "Sketch", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330755 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_r\": {\"type\": 'float', \"default\": 40, \"min\": 20.0, \"max\": 72.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Max radius (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 57.84, \"min\": 28.9, \"max\": 104.1, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XZ').moveTo(p[\"sk_r\"] * 0.6013, p[\"sk_h\"] * 0.0).lineTo(p[\"sk_r\"] * 0.7451, p[\"sk_h\"] * 0.1464).lineTo(p[\"sk_r\"] * 0.3501, p[\"sk_h\"] * 0.158).threePointArc((p[\"sk_r\"] * 0.2176, p[\"sk_h\"] * 0.2943), (p[\"sk_r\"] * 0.2426, p[\"sk_h\"] * 0.4305)).spline([(p[\"sk_r\"] * 0.2426, p[\"sk_h\"] * 0.4305), (p[\"sk_r\"] * 0.5085, p[\"sk_h\"] * 0.7153), (p[\"sk_r\"] * 0.9366, p[\"sk_h\"] * 1.0)]).lineTo(p[\"sk_r\"] * 0.0, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.0, p[\"sk_h\"] * 0.0).close().revolve())\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462ca444_2192", "family": "enclosure", "tier": 1, "seed": 1177330756, "symmetry": "none", "op_count": 2, "ir_hash": "815f8153971cb027", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 124000.0, "surface_area": 43800.0, "principal_moments": [98699999.99999999, 177000000.0, 179000000.0], "n_faces": 11, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 95 \u00d7 53.2 \u00d7 64.5 mm (W\u00d7D\u00d7H).", "Hollowed to 5.9 mm wall thickness, open at top face."], "text": "Rectangular body, 95 \u00d7 53.2 \u00d7 64.5 mm (W\u00d7D\u00d7H). Hollowed to 5.9 mm wall thickness, open at top face."}, "params": {"enc_w": {"type": "float", "default": 95, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 53.2, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 64.5, "min": 25.8, "max": 129.0, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 5.9, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330756 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 95, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 53.2, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 64.5, \"min\": 25.8, \"max\": 129.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 5.9, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca445_2193", "family": "plate", "tier": 0, "seed": 1177330757, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "b125ce7e9edc3fdb", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 68300.0, "surface_area": 20100.0, "principal_moments": [36100000.0, 66199999.99999999, 102000000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 107.61 \u00d7 79.3 \u00d7 8 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 107.61 \u00d7 79.3 \u00d7 8 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 107.61, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 79.3, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330757 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 107.61, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 79.3, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca446_2194", "family": "compound", "tier": 1, "seed": 1177330758, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "a09ebadb8c53dabe", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 41300.0, "surface_area": 8660.0, "principal_moments": [7840000.0, 8580000.0, 9230000.0], "n_faces": 21, "n_edges": 51, "n_vertices": 34}, "dimensions": {"lines": ["Rectangular body, 35 \u00d7 36.9 \u00d7 32.2 mm (W\u00d7D\u00d7H).", "5-sided polygon section, 10.6 mm across corners attachment, 8.4 mm long, from back face with a \u00d85.2 mm bore.", "5-sided polygon section, 10.6 mm across corners attachment, 8.4 mm long, from front face with a \u00d85.2 mm bore."], "text": "Rectangular body, 35 \u00d7 36.9 \u00d7 32.2 mm (W\u00d7D\u00d7H). 5-sided polygon section, 10.6 mm across corners attachment, 8.4 mm long, from back face with a \u00d85.2 mm bore. 5-sided polygon section, 10.6 mm across corners attachment, 8.4 mm long, from front face with a \u00d85.2 mm bore."}, "params": {"block_w": {"type": "float", "default": 35, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body width (mm)"}, "block_d": {"type": "float", "default": 36.9, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body depth (mm)"}, "block_h": {"type": "float", "default": 32.2, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body height (mm)"}, "port_sides": {"type": "int", "default": 5, "min": 3, "max": 8, "step": 1, "group": "Ports", "label": "Ports sides"}, "port_r": {"type": "float", "default": 5.3, "min": 2.6, "max": 7.2, "step": 1.0, "group": "Ports", "label": "Ports circumradius (mm)"}, "port_len": {"type": "float", "default": 8.4, "min": 2.1, "max": 25.7, "step": 1.0, "group": "Ports", "label": "Port boss length (mm)"}, "port_bore": {"type": "float", "default": 5.2, "min": 2.0, "max": 6.2, "step": 0.5, "group": "Ports", "label": "Port bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330758 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 35, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 36.9, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 32.2, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body height (mm)'},\n    \"port_sides\": {\"type\": 'int', \"default\": 5, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Ports', \"label\": 'Ports sides'},\n    \"port_r\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.6, \"max\": 7.2, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Ports circumradius (mm)'},\n    \"port_len\": {\"type\": 'float', \"default\": 8.4, \"min\": 2.1, \"max\": 25.7, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Port boss length (mm)'},\n    \"port_bore\": {\"type\": 'float', \"default\": 5.2, \"min\": 2.0, \"max\": 6.2, \"step\": 0.5, \"group\": 'Ports', \"label\": 'Port bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"port_sides\"], p[\"port_r\"] * 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"port_sides\"], p[\"port_r\"] * 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462ca447_2195", "family": "sketched", "tier": 0, "seed": 1177330759, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "39be5ef22a59d2fd", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 53200.0, "surface_area": 8400.0, "principal_moments": [10900000.0, 12799999.999999998, 18200000.0], "n_faces": 8, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["freeform sketched section (6 segments: 1 straight, 2 arcs, 3 curves), ~52.67 \u00d7 49.894 mm, extruded 25 mm thick."], "text": "freeform sketched section (6 segments: 1 straight, 2 arcs, 3 curves), ~52.67 \u00d7 49.894 mm, extruded 25 mm thick."}, "params": {"sk_w": {"type": "float", "default": 66.11, "min": 33.1, "max": 119.0, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 65, "min": 32.5, "max": 117.0, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "sk_t": {"type": "float", "default": 25, "min": 10.0, "max": 55.0, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330759 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 66.11, \"min\": 33.1, \"max\": 119.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 65, \"min\": 32.5, \"max\": 117.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"sk_t\": {\"type\": 'float', \"default\": 25, \"min\": 10.0, \"max\": 55.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.3619, p[\"sk_h\"] * -0.0671).bezier([(p[\"sk_w\"] * 0.3619, p[\"sk_h\"] * -0.0671), (p[\"sk_w\"] * 0.3737, p[\"sk_h\"] * 0.1237), (p[\"sk_w\"] * 0.2815, p[\"sk_h\"] * 0.2911)]).lineTo(p[\"sk_w\"] * -0.1673, p[\"sk_h\"] * 0.4434).threePointArc((p[\"sk_w\"] * -0.3746, p[\"sk_h\"] * 0.2784), (p[\"sk_w\"] * -0.4348, p[\"sk_h\"] * 0.0069)).spline([(p[\"sk_w\"] * -0.4348, p[\"sk_h\"] * 0.0069), (p[\"sk_w\"] * -0.3905, p[\"sk_h\"] * -0.1509), (p[\"sk_w\"] * -0.2803, p[\"sk_h\"] * -0.2722)]).threePointArc((p[\"sk_w\"] * -0.0505, p[\"sk_h\"] * -0.3513), (p[\"sk_w\"] * 0.1916, p[\"sk_h\"] * -0.3242)).bezier([(p[\"sk_w\"] * 0.1916, p[\"sk_h\"] * -0.3242), (p[\"sk_w\"] * 0.301, p[\"sk_h\"] * -0.2117), (p[\"sk_w\"] * 0.3619, p[\"sk_h\"] * -0.0671)]).close().extrude(p[\"sk_t\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca448_2196", "family": "bracket", "tier": 2, "seed": 1177330760, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "0936c5e472585efb", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 61000.0, "surface_area": 17900.0, "principal_moments": [24499999.999999996, 50299999.99999999, 54399999.99999999], "n_faces": 14, "n_edges": 37, "n_vertices": 24}, "dimensions": {"lines": ["L-bracket: base leg 65 mm, vertical leg 72 mm, 55 mm wide, 8 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 11.3 mm corner gusset."], "text": "L-bracket: base leg 65 mm, vertical leg 72 mm, 55 mm wide, 8 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 11.3 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 65, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 72.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 55, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 8.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 11.3, "min": 4.0, "max": 24.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330760 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 65, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 72.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 55, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 11.3, \"min\": 4.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca449_2197", "family": "plate", "tier": 2, "seed": 1177330761, "symmetry": "none", "op_count": 3, "ir_hash": "9721d5fa690fc0de", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 84500.0, "surface_area": 19800.0, "principal_moments": [47899999.99999999, 57999999.99999999, 104000000.0], "n_faces": 17, "n_edges": 45, "n_vertices": 30}, "dimensions": {"lines": ["Rectangular body, 90 \u00d7 81.1 \u00d7 12 mm (W\u00d7D\u00d7H).", "Seven \u00d86.4 mm holes in two staggered rows, 22.5 \u00d7 26.9 mm pitch.", "Chamfer 4.1 mm on vertical edges."], "text": "Rectangular body, 90 \u00d7 81.1 \u00d7 12 mm (W\u00d7D\u00d7H). Seven \u00d86.4 mm holes in two staggered rows, 22.5 \u00d7 26.9 mm pitch. Chamfer 4.1 mm on vertical edges."}, "params": {"plate_w": {"type": "float", "default": 90, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 81.1, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 8.1, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 4, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}, "chamfer_d": {"type": "float", "default": 4.1, "min": 3.1, "max": 5.2, "step": 0.5, "group": "Body", "label": "Chamfer distance (mm)"}, "chamfered": {"type": "bool", "default": true, "group": "Body", "label": "Chamfer edges"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330761 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 90, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 81.1, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 8.1, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 4, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n    \"chamfer_d\": {\"type\": 'float', \"default\": 4.1, \"min\": 3.1, \"max\": 5.2, \"step\": 0.5, \"group\": 'Body', \"label\": 'Chamfer distance (mm)'},\n    \"chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Chamfer edges'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 22.5\n    _ssy = 26.9\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    if p[\"chamfered\"]:\n        result = result.edges('|Z').chamfer(p[\"chamfer_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462ca44a_2198", "family": "lofted", "tier": 1, "seed": 1177330762, "symmetry": "none", "op_count": 2, "ir_hash": "d6c8a4abbf1503ce", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 19800.0, "surface_area": 5770.0, "principal_moments": [2970000.0, 2970000.0, 3210000.0], "n_faces": 9, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["Lofted body through 2 sections: 6-sided polygon section, 42.33 mm across corners \u2192 \u00d825.3 mm circular section.", "One \u00d813.6 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 2 sections: 6-sided polygon section, 42.33 mm across corners \u2192 \u00d825.3 mm circular section. One \u00d813.6 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 42.33, "min": 21.2, "max": 67.7, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 25.3, "min": 10.1, "max": 50.8, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 29.8, "min": 11.9, "max": 59.6, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_bore_d": {"type": "float", "default": 13.6, "min": 2.0, "max": 20.2, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330762 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 42.33, \"min\": 21.2, \"max\": 67.7, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 25.3, \"min\": 10.1, \"max\": 50.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 29.8, \"min\": 11.9, \"max\": 59.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 13.6, \"min\": 2.0, \"max\": 20.2, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .polygon(6, p[\"loft_base\"] * 0.5 * 2)\n        .workplane(offset=p[\"loft_h\"])\n        .circle(p[\"loft_top\"] / 2)\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca44b_2199", "family": "plate", "tier": 0, "seed": 1177330763, "symmetry": "radial", "op_count": 1, "ir_hash": "f5d5f5accfc70c5a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 15200.0, "surface_area": 4440.0, "principal_moments": [801000.0, 4340000.0, 4780000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 57.32 \u00d7 22.1 \u00d7 12 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 57.32 \u00d7 22.1 \u00d7 12 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 57.32, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 22.1, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330763 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 57.32, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 22.1, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462ca44c_2200", "family": "enclosure", "tier": 2, "seed": 1177330764, "symmetry": "none", "op_count": 3, "ir_hash": "a414697b5871e67c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 78200.0, "surface_area": 39100.0, "principal_moments": [57299999.99999999, 112000000.0, 138000000.0], "n_faces": 19, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 102.81 \u00d7 62.8 \u00d7 44.2 mm (W\u00d7D\u00d7H).", "Hollowed to 4.3 mm wall thickness, open at top face.", "Four \u00d813 mm holes at the corners, 71.967 \u00d7 43.96 mm spacing."], "text": "Rectangular body, 102.81 \u00d7 62.8 \u00d7 44.2 mm (W\u00d7D\u00d7H). Hollowed to 4.3 mm wall thickness, open at top face. Four \u00d813 mm holes at the corners, 71.967 \u00d7 43.96 mm spacing."}, "params": {"enc_w": {"type": "float", "default": 102.81, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 62.8, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 44.2, "min": 17.7, "max": 88.4, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 4.3, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}, "hole_d": {"type": "float", "default": 13.0, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330764 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 102.81, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 62.8, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 44.2, \"min\": 17.7, \"max\": 88.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 13.0, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"enc_w\"] * 0.7, p[\"enc_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462ca44d_2201", "family": "swept", "tier": 2, "seed": 1177330765, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "1c3e7c634caa8bcd", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 16900.0, "surface_area": 4680.0, "principal_moments": [755000.0, 8330000.0, 8490000.0], "n_faces": 3, "n_edges": 3, "n_vertices": 2}, "dimensions": {"lines": ["\u00d816.9 mm circular section swept along a curved path, ~55 mm span."], "text": "\u00d816.9 mm circular section swept along a curved path, ~55 mm span."}, "params": {"path_w": {"type": "float", "default": 55, "min": 27.5, "max": 99.0, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 45, "min": 22.5, "max": 81.0, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_d": {"type": "float", "default": 16.9, "min": 8.4, "max": 30.4, "step": 1.0, "group": "Section", "label": "Section diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330765 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 55, \"min\": 27.5, \"max\": 99.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 45, \"min\": 22.5, \"max\": 81.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_d\": {\"type\": 'float', \"default\": 16.9, \"min\": 8.4, \"max\": 30.4, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.3136), (p[\"path_w\"] * 0.4065, p[\"path_h\"] * 0.3848), (p[\"path_w\"] * 0.7201, p[\"path_h\"] * 0.6525), (p[\"path_w\"] * 1.0, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').circle(p[\"sweep_d\"] / 2).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca44e_2202", "family": "block", "tier": 1, "seed": 1177330766, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "9108bcb695ed51b3", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 9130.0, "surface_area": 4350.0, "principal_moments": [404000.0, 1320000.0, 1500000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 20 \u00d7 12.5 \u00d7 39.9 mm (W\u00d7D\u00d7H).", "Four \u00d82.6 mm holes at the corners, 14 \u00d7 8.75 mm spacing."], "text": "Rectangular body, 20 \u00d7 12.5 \u00d7 39.9 mm (W\u00d7D\u00d7H). Four \u00d82.6 mm holes at the corners, 14 \u00d7 8.75 mm spacing."}, "params": {"block_w": {"type": "float", "default": 20, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 12.5, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 39.9, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 2.6, "min": 2.0, "max": 2.8, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330766 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 20, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 12.5, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 39.9, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 2.6, \"min\": 2.0, \"max\": 2.8, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462ca44f_2203", "family": "ribbed", "tier": 1, "seed": 1177330767, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "121ac2f81a9be485", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 30000.0, "surface_area": 11900.0, "principal_moments": [6060000.0, 11599999.999999998, 15499999.999999998], "n_faces": 30, "n_edges": 72, "n_vertices": 44}, "dimensions": {"lines": ["Rectangular body, 62.23 \u00d7 42.2 \u00d7 8 mm (W\u00d7D\u00d7H).", "Three ribs, 4.1 mm thick, 14.7 mm tall."], "text": "Rectangular body, 62.23 \u00d7 42.2 \u00d7 8 mm (W\u00d7D\u00d7H). Three ribs, 4.1 mm thick, 14.7 mm tall."}, "params": {"base_w": {"type": "float", "default": 62.23, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 42.2, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 8.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 3, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 14.7, "min": 5.9, "max": 29.4, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 4.1, "min": 1.0, "max": 10.2, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330767 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 62.23, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 42.2, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 3, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 14.7, \"min\": 5.9, \"max\": 29.4, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 4.1, \"min\": 1.0, \"max\": 10.2, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462ca450_2204", "family": "flanged", "tier": 2, "seed": 1177330768, "symmetry": "radial", "op_count": 3, "ir_hash": "3824d2b17f6cdae3", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 703000.0, "surface_area": 96000.0, "principal_moments": [1540000000.0, 1540000000.0, 1990000000.0], "n_faces": 22, "n_edges": 47, "n_vertices": 28}, "dimensions": {"lines": ["Revolved body, \u00d897.54 mm \u00d7 89 mm tall with \u00d851.7 mm bore, \u00d8187.7 mm \u00d7 11.2 mm flange.", "Six \u00d83.2 mm holes on a \u00d8112.6 mm bolt circle.", "Chamfer 0.9 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d897.54 mm \u00d7 89 mm tall with \u00d851.7 mm bore, \u00d8187.7 mm \u00d7 11.2 mm flange. Six \u00d83.2 mm holes on a \u00d8112.6 mm bolt circle. Chamfer 0.9 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 97.54, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 89.0, "min": 26.7, "max": 222.5, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 51.7, "min": 2.0, "max": 68.3, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 187.7, "min": 126.8, "max": 292.6, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 11.2, "min": 3.4, "max": 35.6, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 56.3, "min": 37.5, "max": 84.5, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 6, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}, "end_chamfer": {"type": "float", "default": 0.9, "min": 0.1, "max": 2.0, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330768 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 97.54, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 89.0, \"min\": 26.7, \"max\": 222.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 51.7, \"min\": 2.0, \"max\": 68.3, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 187.7, \"min\": 126.8, \"max\": 292.6, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 11.2, \"min\": 3.4, \"max\": 35.6, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 56.3, \"min\": 37.5, \"max\": 84.5, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.9, \"min\": 0.1, \"max\": 2.0, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca451_2205", "family": "block", "tier": 1, "seed": 1177330769, "symmetry": "none", "op_count": 2, "ir_hash": "cc192306cf6c6a87", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 374000.0, "surface_area": 40100.0, "principal_moments": [285000000.0, 374000000.0, 534000000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 85 \u00d7 45 \u00d7 100 mm (W\u00d7D\u00d7H).", "Four \u00d85.3 mm holes at the corners, 59.5 \u00d7 31.5 mm spacing."], "text": "Rectangular body, 85 \u00d7 45 \u00d7 100 mm (W\u00d7D\u00d7H). Four \u00d85.3 mm holes at the corners, 59.5 \u00d7 31.5 mm spacing."}, "params": {"block_w": {"type": "float", "default": 85, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 45.0, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 100.0, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 10.1, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330769 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 85, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 45.0, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 100.0, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 10.1, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca452_2206", "family": "revolved", "tier": 1, "seed": 1177330770, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "db845306fa715abe", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 381000.0, "surface_area": 48400.0, "principal_moments": [362000000.0, 481000000.0, 481000000.0], "n_faces": 5, "n_edges": 8, "n_vertices": 5}, "dimensions": {"lines": ["Revolved body, \u00d879.57 mm \u00d7 115.1 mm tall.", "Chamfer 1 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d879.57 mm \u00d7 115.1 mm tall. Chamfer 1 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 79.57, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 115.1, "min": 34.5, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "end_chamfer": {"type": "float", "default": 1.0, "min": 0.1, "max": 3.0, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330770 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 79.57, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 115.1, \"min\": 34.5, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 1.0, \"min\": 0.1, \"max\": 3.0, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462ca453_2207", "family": "flanged", "tier": 1, "seed": 1177330771, "symmetry": "radial", "op_count": 2, "ir_hash": "a7ef03ef701546b1", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 144000.0, "surface_area": 31300.0, "principal_moments": [107000000.0, 107000000.0, 136000000.0], "n_faces": 12, "n_edges": 27, "n_vertices": 18}, "dimensions": {"lines": ["Revolved body, \u00d850 mm \u00d7 54.3 mm tall with \u00d822.7 mm bore, \u00d8106.4 mm \u00d7 8.7 mm flange.", "Six \u00d83.2 mm holes on a \u00d863.8 mm bolt circle."], "text": "Revolved body, \u00d850 mm \u00d7 54.3 mm tall with \u00d822.7 mm bore, \u00d8106.4 mm \u00d7 8.7 mm flange. Six \u00d83.2 mm holes on a \u00d863.8 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 50, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 54.3, "min": 16.3, "max": 135.8, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 22.7, "min": 2.0, "max": 35.0, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 106.4, "min": 65.0, "max": 150.0, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 8.7, "min": 2.6, "max": 21.7, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 31.9, "min": 21.3, "max": 47.9, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 6, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330771 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 50, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 54.3, \"min\": 16.3, \"max\": 135.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 22.7, \"min\": 2.0, \"max\": 35.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 106.4, \"min\": 65.0, \"max\": 150.0, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 8.7, \"min\": 2.6, \"max\": 21.7, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 31.9, \"min\": 21.3, \"max\": 47.9, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca454_2208", "family": "block", "tier": 2, "seed": 1177330772, "symmetry": "none", "op_count": 3, "ir_hash": "7853e38d8fe7f072", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 531000.0, "surface_area": 42100.0, "principal_moments": [541000000.0, 567000000.0, 826000000.0], "n_faces": 14, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 99.21 \u00d7 96.1 \u00d7 56.5 mm (W\u00d7D\u00d7H).", "Four \u00d83.2 mm holes at the corners, 69.447 \u00d7 67.27 mm spacing.", "Fillet radius 11.156 mm on vertical edges."], "text": "Rectangular body, 99.21 \u00d7 96.1 \u00d7 56.5 mm (W\u00d7D\u00d7H). Four \u00d83.2 mm holes at the corners, 69.447 \u00d7 67.27 mm spacing. Fillet radius 11.156 mm on vertical edges."}, "params": {"block_w": {"type": "float", "default": 99.21, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 96.1, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 56.5, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330772 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 99.21, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 96.1, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 56.5, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"block_w\"], p[\"block_d\"]) * 0.11608740927513808)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462ca455_2209", "family": "tapped", "tier": 0, "seed": 1177330773, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "5d4adfdb0b7e89b9", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 42700.0, "surface_area": 9030.0, "principal_moments": [9300000.0, 9300000.0, 15199999.999999998], "n_faces": 150, "n_edges": 418, "n_vertices": 270}, "dimensions": {"lines": ["One M12x1.75 tapped hole in a plate."], "text": "One M12x1.75 tapped hole in a plate."}, "params": {"major_d": {"type": "float", "default": 12.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 1.75, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 21.9, "min": 14.4, "max": 39.4, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "plate_w": {"type": "float", "default": 45.2, "min": 27.1, "max": 72.3, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 45.2, "min": 27.1, "max": 72.3, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330773 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 12.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.75, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 21.9, \"min\": 14.4, \"max\": 39.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"plate_w\": {\"type\": 'float', \"default\": 45.2, \"min\": 27.1, \"max\": 72.3, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 45.2, \"min\": 27.1, \"max\": 72.3, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n}\n\n\ndef build(p):\n\n    _W, _D, _H = p[\"plate_w\"], p[\"plate_d\"], p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Box(_W, _D, _H)\n    _locs = [(0.0, 0.0)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca456_2210", "family": "revolved", "tier": 1, "seed": 1177330774, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "2c5e876435a8f8f7", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 1280.0, "surface_area": 1150.0, "principal_moments": [23700.0, 42000.0, 42000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d811.1 mm \u00d7 19.9 mm tall."], "text": "Revolved body, \u00d811.1 mm \u00d7 19.9 mm tall."}, "params": {"outer_d": {"type": "float", "default": 11.1, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 19.9, "min": 6.0, "max": 59.7, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330774 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 11.1, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 19.9, \"min\": 6.0, \"max\": 59.7, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462ca457_2211", "family": "flanged", "tier": 2, "seed": 1177330775, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "abe87adc8effdc81", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 73800.0, "surface_area": 22000.0, "principal_moments": [37200000.0, 37200000.0, 47699999.99999999], "n_faces": 14, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["Revolved body, \u00d840 mm \u00d7 43.1 mm tall with \u00d816.4 mm bore, \u00d892.8 mm \u00d7 5.4 mm flange.", "Eight \u00d85.3 mm holes on a \u00d855.6 mm bolt circle."], "text": "Revolved body, \u00d840 mm \u00d7 43.1 mm tall with \u00d816.4 mm bore, \u00d892.8 mm \u00d7 5.4 mm flange. Eight \u00d85.3 mm holes on a \u00d855.6 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 40, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 43.1, "min": 12.9, "max": 107.8, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 16.4, "min": 2.0, "max": 28.0, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 92.8, "min": 52.0, "max": 120.0, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 5.4, "min": 1.6, "max": 17.2, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 27.8, "min": 18.6, "max": 41.8, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 8, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330775 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 40, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 43.1, \"min\": 12.9, \"max\": 107.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 16.4, \"min\": 2.0, \"max\": 28.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 92.8, \"min\": 52.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 5.4, \"min\": 1.6, \"max\": 17.2, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 27.8, \"min\": 18.6, \"max\": 41.8, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462ca458_2212", "family": "flanged", "tier": 1, "seed": 1177330776, "symmetry": "none", "op_count": 2, "ir_hash": "af471f07bc836b65", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 48000.0, "surface_area": 14800.0, "principal_moments": [16499999.999999998, 16499999.999999998, 28699999.999999996], "n_faces": 12, "n_edges": 27, "n_vertices": 18}, "dimensions": {"lines": ["Revolved body, \u00d840.27 mm \u00d7 23.3 mm tall with \u00d815 mm bore, \u00d880.3 mm \u00d7 6 mm flange.", "Six \u00d83.2 mm holes on a \u00d848.2 mm bolt circle."], "text": "Revolved body, \u00d840.27 mm \u00d7 23.3 mm tall with \u00d815 mm bore, \u00d880.3 mm \u00d7 6 mm flange. Six \u00d83.2 mm holes on a \u00d848.2 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 40.27, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 23.3, "min": 7.0, "max": 58.2, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 15.0, "min": 2.0, "max": 28.2, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 80.3, "min": 52.4, "max": 120.8, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 6.0, "min": 1.8, "max": 9.3, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 24.1, "min": 16.1, "max": 36.1, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 6, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330776 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 40.27, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 23.3, \"min\": 7.0, \"max\": 58.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 15.0, \"min\": 2.0, \"max\": 28.2, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 80.3, \"min\": 52.4, \"max\": 120.8, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 6.0, \"min\": 1.8, \"max\": 9.3, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 24.1, \"min\": 16.1, \"max\": 36.1, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462ca459_2213", "family": "gear", "tier": 2, "seed": 1177330777, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "dd288909d677956d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 10200.0, "surface_area": 4590.0, "principal_moments": [1030000.0, 1030000.0, 1910000.0], "n_faces": 203, "n_edges": 503, "n_vertices": 302}, "dimensions": {"lines": ["Helical gear, module 1.5 mm, 25 teeth (pitch \u00d837.5 mm), face width 9.4 mm, 11.4\u00b0 helix, \u00d86.3 mm bore."], "text": "Helical gear, module 1.5 mm, 25 teeth (pitch \u00d837.5 mm), face width 9.4 mm, 11.4\u00b0 helix, \u00d86.3 mm bore."}, "params": {"module": {"type": "float", "default": 1.5, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 25, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 9.4, "min": 3.8, "max": 23.5, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "helix_angle": {"type": "float", "default": 11.4, "min": 5.0, "max": 40.0, "step": 1.0, "group": "Gear", "label": "Helix angle (deg)"}, "profile_shift": {"type": "float", "default": -0.09, "min": -0.5, "max": 0.7, "step": 0.05, "group": "Gear", "label": "Profile shift"}, "root_fillet": {"type": "float", "default": 0.34, "min": 0.0, "max": 0.75, "step": 0.05, "group": "Gear", "label": "Root fillet (mm)"}, "bore_d": {"type": "float", "default": 6.3, "min": 2.0, "max": 20.2, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330777 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 1.5, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 25, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 9.4, \"min\": 3.8, \"max\": 23.5, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"helix_angle\": {\"type\": 'float', \"default\": 11.4, \"min\": 5.0, \"max\": 40.0, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Helix angle (deg)'},\n    \"profile_shift\": {\"type\": 'float', \"default\": -0.09, \"min\": -0.5, \"max\": 0.7, \"step\": 0.05, \"group\": 'Gear', \"label\": 'Profile shift'},\n    \"root_fillet\": {\"type\": 'float', \"default\": 0.34, \"min\": 0.0, \"max\": 0.75, \"step\": 0.05, \"group\": 'Gear', \"label\": 'Root fillet (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 6.3, \"min\": 2.0, \"max\": 20.2, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.HelicalGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"], helix_angle=math.radians(p[\"helix_angle\"]), herringbone=False, profile_shift=p[\"profile_shift\"], root_fillet=p[\"root_fillet\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462ca45a_2214", "family": "gear", "tier": 1, "seed": 1177330778, "symmetry": "none", "op_count": 1, "ir_hash": "1148fce23f8ad664", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 8180.0, "surface_area": 4110.0, "principal_moments": [816000.0, 816000.0, 1550000.0], "n_faces": 117, "n_edges": 345, "n_vertices": 230}, "dimensions": {"lines": ["Spur gear, module 2 mm, 19 teeth (pitch \u00d838 mm), face width 7.6 mm, \u00d86.9 mm bore."], "text": "Spur gear, module 2 mm, 19 teeth (pitch \u00d838 mm), face width 7.6 mm, \u00d86.9 mm bore."}, "params": {"module": {"type": "float", "default": 2.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 19, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 7.6, "min": 3.0, "max": 19.0, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "bore_d": {"type": "float", "default": 6.9, "min": 2.0, "max": 19.8, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330778 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 2.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 19, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 7.6, \"min\": 3.0, \"max\": 19.0, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 6.9, \"min\": 2.0, \"max\": 19.8, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca45b_2215", "family": "plate", "tier": 1, "seed": 1177330779, "symmetry": "none", "op_count": 2, "ir_hash": "49f32d12fe4da4c6", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 22800.0, "surface_area": 7960.0, "principal_moments": [2090000.0, 15099999.999999998, 17000000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 89.14 \u00d7 32.3 \u00d7 8 mm (W\u00d7D\u00d7H).", "Four \u00d83.2 mm holes at the corners, 62.398 \u00d7 22.61 mm spacing."], "text": "Rectangular body, 89.14 \u00d7 32.3 \u00d7 8 mm (W\u00d7D\u00d7H). Four \u00d83.2 mm holes at the corners, 62.398 \u00d7 22.61 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 89.14, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 32.3, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 7.3, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330779 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 89.14, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 32.3, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 7.3, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca45c_2216", "family": "compound", "tier": 2, "seed": 1177330780, "symmetry": "mirror_x", "op_count": 5, "ir_hash": "c946ccf27c653de4", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 337000.0, "surface_area": 39500.0, "principal_moments": [265000000.0, 278000000.0, 400000000.0], "n_faces": 21, "n_edges": 49, "n_vertices": 31}, "dimensions": {"lines": ["Rectangular body, 85 \u00d7 83.1 \u00d7 50.1 mm (W\u00d7D\u00d7H).", "\u00d813.1 mm circular section attachment, 8.8 mm long, from front face with a \u00d87 mm bore.", "\u00d813.1 mm circular section attachment, 8.8 mm long, from back face with a \u00d87 mm bore.", "\u00d813.1 mm circular section attachment, 8.8 mm long, from left face with a \u00d87 mm bore.", "Four \u00d813 mm holes at the corners, 59.5 \u00d7 58.17 mm spacing."], "text": "Rectangular body, 85 \u00d7 83.1 \u00d7 50.1 mm (W\u00d7D\u00d7H). \u00d813.1 mm circular section attachment, 8.8 mm long, from front face with a \u00d87 mm bore. \u00d813.1 mm circular section attachment, 8.8 mm long, from back face with a \u00d87 mm bore. \u00d813.1 mm circular section attachment, 8.8 mm long, from left face with a \u00d87 mm bore. Four \u00d813 mm holes at the corners, 59.5 \u00d7 58.17 mm spacing."}, "params": {"block_w": {"type": "float", "default": 85, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body width (mm)"}, "block_d": {"type": "float", "default": 83.1, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body depth (mm)"}, "block_h": {"type": "float", "default": 50.1, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body height (mm)"}, "port_d": {"type": "float", "default": 13.1, "min": 5.2, "max": 22.5, "step": 1.0, "group": "Ports", "label": "Ports diameter (mm)"}, "port_len": {"type": "float", "default": 8.8, "min": 3.3, "max": 39.3, "step": 1.0, "group": "Ports", "label": "Port boss length (mm)"}, "port_bore": {"type": "float", "default": 7.0, "min": 2.0, "max": 9.4, "step": 0.5, "group": "Ports", "label": "Port bore diameter (mm)"}, "hole_d": {"type": "float", "default": 13.0, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330780 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 85, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 83.1, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 50.1, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body height (mm)'},\n    \"port_d\": {\"type\": 'float', \"default\": 13.1, \"min\": 5.2, \"max\": 22.5, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Ports diameter (mm)'},\n    \"port_len\": {\"type\": 'float', \"default\": 8.8, \"min\": 3.3, \"max\": 39.3, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Port boss length (mm)'},\n    \"port_bore\": {\"type\": 'float', \"default\": 7.0, \"min\": 2.0, \"max\": 9.4, \"step\": 0.5, \"group\": 'Ports', \"label\": 'Port bore diameter (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 13.0, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca45d_2217", "family": "bracket", "tier": 1, "seed": 1177330781, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "d6c841e0b3debf6e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 15300.0, "surface_area": 6630.0, "principal_moments": [2260000.0, 5040000.0, 5800000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["L-bracket: base leg 50 mm, vertical leg 32.2 mm, 34.11 mm wide, 6 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."], "text": "L-bracket: base leg 50 mm, vertical leg 32.2 mm, 34.11 mm wide, 6 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 50, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 32.2, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 34.11, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 6.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330781 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 50, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 32.2, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 34.11, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462ca45e_2218", "family": "lofted", "tier": 0, "seed": 1177330782, "symmetry": "none", "op_count": 1, "ir_hash": "a649342ca15b225d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 38700.0, "surface_area": 7020.0, "principal_moments": [7420000.0, 7440000.0, 8490000.0], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Lofted body through 2 sections: 45 \u00d7 45 mm rectangular section \u2192 6-sided polygon section, 26.7 mm across corners."], "text": "Lofted body through 2 sections: 45 \u00d7 45 mm rectangular section \u2192 6-sided polygon section, 26.7 mm across corners."}, "params": {"loft_base": {"type": "float", "default": 45, "min": 22.5, "max": 72.0, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 26.7, "min": 10.7, "max": 54.0, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 33.5, "min": 13.4, "max": 67.0, "step": 1.0, "group": "Body", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330782 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 45, \"min\": 22.5, \"max\": 72.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 26.7, \"min\": 10.7, \"max\": 54.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 33.5, \"min\": 13.4, \"max\": 67.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .rect(p[\"loft_base\"], p[\"loft_base\"])\n        .workplane(offset=p[\"loft_h\"])\n        .polygon(6, p[\"loft_top\"] * 0.5 * 2)\n        .loft(combine=True)\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462ca45f_2219", "family": "swept", "tier": 1, "seed": 1177330783, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "6e0cbd4d7c410d6d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 22000.0, "surface_area": 5540.0, "principal_moments": [1460000.0, 13799999.999999998, 14399999.999999998], "n_faces": 3, "n_edges": 3, "n_vertices": 2}, "dimensions": {"lines": ["\u00d817.7 mm circular section swept along a curved path, ~76.15 mm span."], "text": "\u00d817.7 mm circular section swept along a curved path, ~76.15 mm span."}, "params": {"path_w": {"type": "float", "default": 73.36, "min": 36.7, "max": 132.0, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 76.15, "min": 38.1, "max": 137.1, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_d": {"type": "float", "default": 17.7, "min": 8.8, "max": 31.9, "step": 1.0, "group": "Section", "label": "Section diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330783 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 73.36, \"min\": 36.7, \"max\": 132.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 76.15, \"min\": 38.1, \"max\": 137.1, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_d\": {\"type\": 'float', \"default\": 17.7, \"min\": 8.8, \"max\": 31.9, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.4698), (p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.557), (p[\"path_w\"] * 0.41, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').circle(p[\"sweep_d\"] / 2).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca460_2220", "family": "revolved", "tier": 2, "seed": 1177330784, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "6d4212447899f184", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 295.0, "surface_area": 370.0, "principal_moments": [2760.0, 2760.0, 4720.0], "n_faces": 8, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Revolved body, \u00d810.64 mm \u00d7 4 mm tall with \u00d84.1 mm bore, 0.46 mm-wide groove 0.55 mm deep."], "text": "Revolved body, \u00d810.64 mm \u00d7 4 mm tall with \u00d84.1 mm bore, 0.46 mm-wide groove 0.55 mm deep."}, "params": {"outer_d": {"type": "float", "default": 10.64, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 4.0, "min": 1.2, "max": 12.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 4.1, "min": 2.0, "max": 7.4, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "groove_depth": {"type": "float", "default": 0.55, "min": 0.22, "max": 1.65, "step": 0.1, "group": "Body", "label": "Groove depth (mm)"}, "groove_w": {"type": "float", "default": 0.46, "min": 0.18, "max": 1.38, "step": 0.2, "group": "Body", "label": "Groove width (mm)"}, "groove_pos": {"type": "float", "default": 1.8, "min": 0.6, "max": 3.4, "step": 1.0, "group": "Body", "label": "Groove position (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330784 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 10.64, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 4.0, \"min\": 1.2, \"max\": 12.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 4.1, \"min\": 2.0, \"max\": 7.4, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"groove_depth\": {\"type\": 'float', \"default\": 0.55, \"min\": 0.22, \"max\": 1.65, \"step\": 0.1, \"group\": 'Body', \"label\": 'Groove depth (mm)'},\n    \"groove_w\": {\"type\": 'float', \"default\": 0.46, \"min\": 0.18, \"max\": 1.38, \"step\": 0.2, \"group\": 'Body', \"label\": 'Groove width (mm)'},\n    \"groove_pos\": {\"type\": 'float', \"default\": 1.8, \"min\": 0.6, \"max\": 3.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Groove position (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"groove_pos\"] - p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2 - p[\"groove_depth\"], p[\"groove_pos\"] - p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2 - p[\"groove_depth\"], p[\"groove_pos\"] + p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2, p[\"groove_pos\"] + p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462ca461_2221", "family": "enclosure", "tier": 1, "seed": 1177330785, "symmetry": "none", "op_count": 2, "ir_hash": "667305515c127d1c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 18800.0, "surface_area": 7230.0, "principal_moments": [2300000.0, 4250000.0, 4550000.0], "n_faces": 11, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 41.94 \u00d7 22.2 \u00d7 27.8 mm (W\u00d7D\u00d7H).", "Hollowed to 5.8 mm wall thickness, open at top face."], "text": "Rectangular body, 41.94 \u00d7 22.2 \u00d7 27.8 mm (W\u00d7D\u00d7H). Hollowed to 5.8 mm wall thickness, open at top face."}, "params": {"enc_w": {"type": "float", "default": 41.94, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 22.2, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 27.8, "min": 11.1, "max": 55.6, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 5.8, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330785 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 41.94, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 22.2, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 27.8, \"min\": 11.1, \"max\": 55.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 5.8, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca462_2222", "family": "plate", "tier": 1, "seed": 1177330786, "symmetry": "radial", "op_count": 2, "ir_hash": "3d28c58efb823064", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 2380.0, "surface_area": 2230.0, "principal_moments": [71000.0, 525000.0, 593000.0], "n_faces": 16, "n_edges": 42, "n_vertices": 28}, "dimensions": {"lines": ["Rectangular body, 50.93 \u00d7 19 \u00d7 3 mm (W\u00d7D\u00d7H).", "Twelve \u00d86.4 mm holes on a \u00d830.6 mm bolt circle."], "text": "Rectangular body, 50.93 \u00d7 19 \u00d7 3 mm (W\u00d7D\u00d7H). Twelve \u00d86.4 mm holes on a \u00d830.6 mm bolt circle."}, "params": {"plate_w": {"type": "float", "default": 50.93, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 19.0, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 3.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "bolt_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 15.3, "min": 10.2, "max": 22.9, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 12, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330786 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 50.93, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 19.0, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 3.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 15.3, \"min\": 10.2, \"max\": 22.9, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 12, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462ca463_2223", "family": "threaded", "tier": 0, "seed": 1177330787, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "9056615c4b2eb803", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 1570.0, "surface_area": 1470.0, "principal_moments": [10500.0, 193000.0, 194000.0], "n_faces": 310, "n_edges": 796, "n_vertices": 488}, "dimensions": {"lines": ["M8x1.25 external thread, 38.1 mm long."], "text": "M8x1.25 external thread, 38.1 mm long."}, "params": {"major_d": {"type": "float", "default": 8.0, "min": 4.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Major diameter (mm)"}, "pitch": {"type": "float", "default": 1.25, "min": 0.62, "max": 2.5, "step": 0.05, "group": "Thread", "label": "Pitch (mm)"}, "thread_len": {"type": "float", "default": 38.1, "min": 15.2, "max": 76.2, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330787 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 8.0, \"min\": 4.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Major diameter (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.25, \"min\": 0.62, \"max\": 2.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Pitch (mm)'},\n    \"thread_len\": {\"type\": 'float', \"default\": 38.1, \"min\": 15.2, \"max\": 76.2, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.IsoThread(major_diameter=p[\"major_d\"], pitch=p[\"pitch\"], length=p[\"thread_len\"], external=True, end_finishes=(\"fade\", \"fade\"))\n    _r = _thr.min_radius if hasattr(_thr, 'min_radius') else _thr.root_radius\n    _shank = _bd.Cylinder(radius=_r, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = _shank + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462ca464_2224", "family": "profiled", "tier": 1, "seed": 1177330788, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "3ef00062c272d452", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 38000.0, "surface_area": 17400.0, "principal_moments": [2280000.0, 75100000.0, 75100000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d820 mm \u00d7 181.2 mm tall."], "text": "Revolved body, \u00d820 mm \u00d7 181.2 mm tall."}, "params": {"outer_d": {"type": "float", "default": 20, "min": 10.0, "max": 40.0, "step": 1.0, "group": "Profile", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 181.2, "min": 54.4, "max": 543.6, "step": 5.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330788 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 20, \"min\": 10.0, \"max\": 40.0, \"step\": 1.0, \"group\": 'Profile', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 181.2, \"min\": 54.4, \"max\": 543.6, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462ca465_2225", "family": "sketched", "tier": 0, "seed": 1177330789, "symmetry": "none", "op_count": 1, "ir_hash": "f096d87c84eec954", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 41000.0, "surface_area": 8810.0, "principal_moments": [7590000.0, 7590000.0, 8560000.0], "n_faces": 8, "n_edges": 13, "n_vertices": 7}, "dimensions": {"lines": ["Revolved organic body from a freeform sketched section (8 segments: 5 straight, 2 arcs, 1 curve), ~27.115 \u00d7 35 mm half-silhouette."], "text": "Revolved organic body from a freeform sketched section (8 segments: 5 straight, 2 arcs, 1 curve), ~27.115 \u00d7 35 mm half-silhouette."}, "params": {"sk_r": {"type": "float", "default": 30.69, "min": 15.3, "max": 55.2, "step": 1.0, "group": "Sketch", "label": "Max radius (mm)"}, "sk_h": {"type": "float", "default": 35, "min": 17.5, "max": 63.0, "step": 1.0, "group": "Sketch", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330789 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_r\": {\"type\": 'float', \"default\": 30.69, \"min\": 15.3, \"max\": 55.2, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Max radius (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 35, \"min\": 17.5, \"max\": 63.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XZ').moveTo(p[\"sk_r\"] * 0.3689, p[\"sk_h\"] * 0.0).bezier([(p[\"sk_r\"] * 0.3689, p[\"sk_h\"] * 0.0), (p[\"sk_r\"] * 0.6448, p[\"sk_h\"] * 0.1432), (p[\"sk_r\"] * 0.6844, p[\"sk_h\"] * 0.2863)]).threePointArc((p[\"sk_r\"] * 0.8341, p[\"sk_h\"] * 0.2937), (p[\"sk_r\"] * 0.8835, p[\"sk_h\"] * 0.301)).lineTo(p[\"sk_r\"] * 0.4885, p[\"sk_h\"] * 0.4513).lineTo(p[\"sk_r\"] * 0.8077, p[\"sk_h\"] * 0.6027).lineTo(p[\"sk_r\"] * 0.4983, p[\"sk_h\"] * 0.8915).threePointArc((p[\"sk_r\"] * 0.5052, p[\"sk_h\"] * 0.9458), (p[\"sk_r\"] * 0.3245, p[\"sk_h\"] * 1.0)).lineTo(p[\"sk_r\"] * 0.0, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.0, p[\"sk_h\"] * 0.0).close().revolve())\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462ca466_2226", "family": "threaded", "tier": 0, "seed": 1177330790, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "b680355eb2a46020", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 284.0, "surface_area": 375.0, "principal_moments": [1050.0, 4140.0, 4150.0], "n_faces": 130, "n_edges": 328, "n_vertices": 200}, "dimensions": {"lines": ["M6x1 external thread, 12.5 mm long."], "text": "M6x1 external thread, 12.5 mm long."}, "params": {"major_d": {"type": "float", "default": 6.0, "min": 4.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Major diameter (mm)"}, "pitch": {"type": "float", "default": 1.0, "min": 0.5, "max": 2.0, "step": 0.05, "group": "Thread", "label": "Pitch (mm)"}, "thread_len": {"type": "float", "default": 12.5, "min": 5.0, "max": 25.0, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330790 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 6.0, \"min\": 4.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Major diameter (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.0, \"min\": 0.5, \"max\": 2.0, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Pitch (mm)'},\n    \"thread_len\": {\"type\": 'float', \"default\": 12.5, \"min\": 5.0, \"max\": 25.0, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.IsoThread(major_diameter=p[\"major_d\"], pitch=p[\"pitch\"], length=p[\"thread_len\"], external=True, end_finishes=(\"fade\", \"fade\"))\n    _r = _thr.min_radius if hasattr(_thr, 'min_radius') else _thr.root_radius\n    _shank = _bd.Cylinder(radius=_r, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = _shank + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462ca467_2227", "family": "lofted", "tier": 1, "seed": 1177330791, "symmetry": "none", "op_count": 2, "ir_hash": "54fdb617e8f2b0aa", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 48600.0, "surface_area": 11000.0, "principal_moments": [9650000.0, 17300000.0, 17300000.0], "n_faces": 9, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["Lofted body through 2 sections: 6-sided polygon section, 45 mm across corners \u2192 \u00d831.6 mm circular section.", "One \u00d815 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 2 sections: 6-sided polygon section, 45 mm across corners \u2192 \u00d831.6 mm circular section. One \u00d815 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 45, "min": 22.5, "max": 72.0, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 31.6, "min": 12.6, "max": 54.0, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 56.3, "min": 22.5, "max": 112.6, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_bore_d": {"type": "float", "default": 15.0, "min": 2.0, "max": 25.3, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330791 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 45, \"min\": 22.5, \"max\": 72.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 31.6, \"min\": 12.6, \"max\": 54.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 56.3, \"min\": 22.5, \"max\": 112.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 15.0, \"min\": 2.0, \"max\": 25.3, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .polygon(6, p[\"loft_base\"] * 0.5 * 2)\n        .workplane(offset=p[\"loft_h\"])\n        .circle(p[\"loft_top\"] / 2)\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462ca468_2228", "family": "flanged", "tier": 3, "seed": 1177330792, "symmetry": "mirror_xy", "op_count": 3, "ir_hash": "be9e51635b860230", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 541000.0, "surface_area": 84500.0, "principal_moments": [1060000000.0, 1060000000.0, 1740000000.0], "n_faces": 34, "n_edges": 77, "n_vertices": 46}, "dimensions": {"lines": ["Revolved body, \u00d885 mm \u00d7 65 mm tall with \u00d843.2 mm bore, \u00d8186.8 mm \u00d7 12.7 mm flange.", "Twelve \u00d88.4 mm holes on a \u00d8112 mm bolt circle.", "Chamfer 0.4 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d885 mm \u00d7 65 mm tall with \u00d843.2 mm bore, \u00d8186.8 mm \u00d7 12.7 mm flange. Twelve \u00d88.4 mm holes on a \u00d8112 mm bolt circle. Chamfer 0.4 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 85, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 65.0, "min": 19.5, "max": 162.5, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 43.2, "min": 2.0, "max": 59.5, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 186.8, "min": 110.5, "max": 255.0, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 12.7, "min": 3.8, "max": 26.0, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 8.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 56.0, "min": 37.4, "max": 84.1, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 12, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}, "end_chamfer": {"type": "float", "default": 0.4, "min": 0.1, "max": 2.0, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330792 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 85, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 65.0, \"min\": 19.5, \"max\": 162.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 43.2, \"min\": 2.0, \"max\": 59.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 186.8, \"min\": 110.5, \"max\": 255.0, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 12.7, \"min\": 3.8, \"max\": 26.0, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 56.0, \"min\": 37.4, \"max\": 84.1, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 12, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.4, \"min\": 0.1, \"max\": 2.0, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca469_2229", "family": "revolved", "tier": 1, "seed": 1177330793, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "f691836d128f51b3", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 237000.0, "surface_area": 38200.0, "principal_moments": [75300000.0, 674000000.0, 674000000.0], "n_faces": 10, "n_edges": 17, "n_vertices": 10}, "dimensions": {"lines": ["Revolved body, \u00d843.2 mm \u00d7 168.9 mm tall with \u00d816.7 mm bore, \u00d861.3 mm \u00d7 18.1 mm flange.", "Chamfer 0.5 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d843.2 mm \u00d7 168.9 mm tall with \u00d816.7 mm bore, \u00d861.3 mm \u00d7 18.1 mm flange. Chamfer 0.5 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 43.2, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 168.9, "min": 50.7, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 16.7, "min": 2.0, "max": 30.2, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 61.3, "min": 51.8, "max": 129.6, "step": 1.0, "group": "Body", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 18.1, "min": 5.4, "max": 84.5, "step": 0.5, "group": "Body", "label": "Flange height (mm)"}, "end_chamfer": {"type": "float", "default": 0.5, "min": 0.1, "max": 1.5, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330793 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 43.2, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 168.9, \"min\": 50.7, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 16.7, \"min\": 2.0, \"max\": 30.2, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 61.3, \"min\": 51.8, \"max\": 129.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 18.1, \"min\": 5.4, \"max\": 84.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Flange height (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.5, \"min\": 0.1, \"max\": 1.5, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca46a_2230", "family": "plate", "tier": 2, "seed": 1177330794, "symmetry": "radial", "op_count": 3, "ir_hash": "939cd17b00ca858c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 37900.0, "surface_area": 12800.0, "principal_moments": [5910000.0, 41500000.0, 46999999.99999999], "n_faces": 16, "n_edges": 42, "n_vertices": 28}, "dimensions": {"lines": ["Rectangular body, 114.2 \u00d7 42.7 \u00d7 8 mm (W\u00d7D\u00d7H).", "Twelve \u00d85.3 mm holes on a \u00d868.6 mm bolt circle.", "Fillet radius 2.069 mm on vertical edges."], "text": "Rectangular body, 114.2 \u00d7 42.7 \u00d7 8 mm (W\u00d7D\u00d7H). Twelve \u00d85.3 mm holes on a \u00d868.6 mm bolt circle. Fillet radius 2.069 mm on vertical edges."}, "params": {"plate_w": {"type": "float", "default": 114.2, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 42.7, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "bolt_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 34.3, "min": 22.8, "max": 51.4, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 12, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330794 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 114.2, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 42.7, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 34.3, \"min\": 22.8, \"max\": 51.4, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 12, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"plate_w\"], p[\"plate_d\"]) * 0.04845421565243984)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca46b_2231", "family": "revolved", "tier": 1, "seed": 1177330795, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "b2adfb465fea793b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 293000.0, "surface_area": 31400.0, "principal_moments": [237000000.0, 250000000.0, 250000000.0], "n_faces": 8, "n_edges": 14, "n_vertices": 8}, "dimensions": {"lines": ["Revolved body, \u00d876.05 mm \u00d7 73.3 mm tall with \u00d826.4 mm bore.", "Chamfer 0.5 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d876.05 mm \u00d7 73.3 mm tall with \u00d826.4 mm bore. Chamfer 0.5 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 76.05, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 73.3, "min": 22.0, "max": 219.9, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 26.4, "min": 2.0, "max": 53.2, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "end_chamfer": {"type": "float", "default": 0.5, "min": 0.1, "max": 1.5, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330795 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 76.05, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 73.3, \"min\": 22.0, \"max\": 219.9, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 26.4, \"min\": 2.0, \"max\": 53.2, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.5, \"min\": 0.1, \"max\": 1.5, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca46c_2232", "family": "revolved", "tier": 2, "seed": 1177330796, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "5f787b938a620b64", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 398000.0, "surface_area": 61500.0, "principal_moments": [227000000.0, 1410000000.0, 1410000000.0], "n_faces": 8, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Revolved body, \u00d860 mm \u00d7 197.6 mm tall with \u00d831.6 mm bore, 16.61 mm-wide groove 1.95 mm deep."], "text": "Revolved body, \u00d860 mm \u00d7 197.6 mm tall with \u00d831.6 mm bore, 16.61 mm-wide groove 1.95 mm deep."}, "params": {"outer_d": {"type": "float", "default": 60, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 197.6, "min": 59.3, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 31.6, "min": 2.0, "max": 42.0, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "groove_depth": {"type": "float", "default": 1.95, "min": 0.78, "max": 5.85, "step": 0.1, "group": "Body", "label": "Groove depth (mm)"}, "groove_w": {"type": "float", "default": 16.61, "min": 6.64, "max": 49.83, "step": 0.2, "group": "Body", "label": "Groove width (mm)"}, "groove_pos": {"type": "float", "default": 50.9, "min": 29.6, "max": 168.0, "step": 1.0, "group": "Body", "label": "Groove position (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330796 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 60, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 197.6, \"min\": 59.3, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 31.6, \"min\": 2.0, \"max\": 42.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"groove_depth\": {\"type\": 'float', \"default\": 1.95, \"min\": 0.78, \"max\": 5.85, \"step\": 0.1, \"group\": 'Body', \"label\": 'Groove depth (mm)'},\n    \"groove_w\": {\"type\": 'float', \"default\": 16.61, \"min\": 6.64, \"max\": 49.83, \"step\": 0.2, \"group\": 'Body', \"label\": 'Groove width (mm)'},\n    \"groove_pos\": {\"type\": 'float', \"default\": 50.9, \"min\": 29.6, \"max\": 168.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Groove position (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"groove_pos\"] - p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2 - p[\"groove_depth\"], p[\"groove_pos\"] - p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2 - p[\"groove_depth\"], p[\"groove_pos\"] + p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2, p[\"groove_pos\"] + p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca46e_2234", "family": "compound", "tier": 1, "seed": 1177330798, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "d8d187f5de5b727f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 101000.0, "surface_area": 18400.0, "principal_moments": [29399999.999999996, 45300000.0, 54999999.99999999], "n_faces": 15, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 58.63 \u00d7 48.3 \u00d7 34.5 mm (W\u00d7D\u00d7H).", "44.9 \u00d7 26.5 mm rectangular section attachment, 8 mm long, from left face.", "Four \u00d85.3 mm holes at the corners, 26.94 \u00d7 15.9 mm spacing on the <X face."], "text": "Rectangular body, 58.63 \u00d7 48.3 \u00d7 34.5 mm (W\u00d7D\u00d7H). 44.9 \u00d7 26.5 mm rectangular section attachment, 8 mm long, from left face. Four \u00d85.3 mm holes at the corners, 26.94 \u00d7 15.9 mm spacing on the <X face."}, "params": {"block_w": {"type": "float", "default": 58.63, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 48.3, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 34.5, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "tab_a": {"type": "float", "default": 44.9, "min": 18.0, "max": 71.8, "step": 1.0, "group": "Tab", "label": "Tab width (mm)"}, "tab_b": {"type": "float", "default": 26.5, "min": 10.6, "max": 42.4, "step": 1.0, "group": "Tab", "label": "Tab height (mm)"}, "tab_t": {"type": "float", "default": 8.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Tab", "label": "Tab thickness (mm)"}, "tab_hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 5.8, "step": 0.1, "group": "Tab", "label": "Tab hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330798 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 58.63, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 48.3, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 34.5, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"tab_a\": {\"type\": 'float', \"default\": 44.9, \"min\": 18.0, \"max\": 71.8, \"step\": 1.0, \"group\": 'Tab', \"label\": 'Tab width (mm)'},\n    \"tab_b\": {\"type\": 'float', \"default\": 26.5, \"min\": 10.6, \"max\": 42.4, \"step\": 1.0, \"group\": 'Tab', \"label\": 'Tab height (mm)'},\n    \"tab_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Tab', \"label\": 'Tab thickness (mm)'},\n    \"tab_hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 5.8, \"step\": 0.1, \"group\": 'Tab', \"label\": 'Tab hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .rect(p[\"tab_a\"], p[\"tab_b\"]).extrude(p[\"tab_t\"])\n    )\n    result = (\n        result.faces('<X').workplane()\n        .rect(p[\"tab_a\"] * 0.6, p[\"tab_b\"] * 0.6, forConstruction=True)\n        .vertices().hole(p[\"tab_hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca46f_2235", "family": "plate", "tier": 1, "seed": 1177330799, "symmetry": "radial", "op_count": 2, "ir_hash": "96b16c1c618ed3e1", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 28500.0, "surface_area": 9460.0, "principal_moments": [3210000.0, 23899999.999999996, 26799999.999999996], "n_faces": 8, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["Rectangular body, 100 \u00d7 35.8 \u00d7 8 mm (W\u00d7D\u00d7H).", "Eight \u00d83.2 mm holes on a \u00d860 mm bolt circle."], "text": "Rectangular body, 100 \u00d7 35.8 \u00d7 8 mm (W\u00d7D\u00d7H). Eight \u00d83.2 mm holes on a \u00d860 mm bolt circle."}, "params": {"plate_w": {"type": "float", "default": 100, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 35.8, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "bolt_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 30.0, "min": 20.0, "max": 45.0, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 8, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330799 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 100, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 35.8, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 30.0, \"min\": 20.0, \"max\": 45.0, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca470_2236", "family": "plate", "tier": 1, "seed": 1177330800, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "dcc353e51079aa25", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 9130.0, "surface_area": 4320.0, "principal_moments": [533000.0, 2740000.0, 3220000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 60 \u00d7 25.9 \u00d7 6 mm (W\u00d7D\u00d7H).", "Four \u00d83.2 mm holes at the corners, 42 \u00d7 18.13 mm spacing."], "text": "Rectangular body, 60 \u00d7 25.9 \u00d7 6 mm (W\u00d7D\u00d7H). Four \u00d83.2 mm holes at the corners, 42 \u00d7 18.13 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 60, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 25.9, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 6.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 5.8, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330800 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 60, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 25.9, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 5.8, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca471_2237", "family": "bracket", "tier": 1, "seed": 1177330801, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "cc97cfc4590b8537", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 33200.0, "surface_area": 18500.0, "principal_moments": [17200000.0, 27599999.999999996, 27899999.999999996], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["C-channel bracket: base leg 59.07 mm, vertical leg 50.5 mm, 55 mm wide, 4 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."], "text": "C-channel bracket: base leg 59.07 mm, vertical leg 50.5 mm, 55 mm wide, 4 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 59.07, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 50.5, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 55, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 4.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330801 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 59.07, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 50.5, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 55, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca472_2238", "family": "plate", "tier": 0, "seed": 1177330802, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "cf24a6147d228030", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 35900.0, "surface_area": 11300.0, "principal_moments": [5560000.0, 33600000.0, 38800000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 105.7 \u00d7 42.4 \u00d7 8 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 105.7 \u00d7 42.4 \u00d7 8 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 105.7, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 42.4, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330802 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 105.7, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 42.4, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca473_2239", "family": "compound", "tier": 1, "seed": 1177330803, "symmetry": "none", "op_count": 3, "ir_hash": "a74cae6fb86ec9de", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 33700.0, "surface_area": 7410.0, "principal_moments": [4960000.0, 6750000.0, 7080000.0], "n_faces": 14, "n_edges": 34, "n_vertices": 22}, "dimensions": {"lines": ["Rectangular body, 39.43 \u00d7 30.4 \u00d7 28.5 mm (W\u00d7D\u00d7H).", "\u00d86.6 mm circular section attachment, 5.2 mm long, from right face with a \u00d83.6 mm bore.", "\u00d86.6 mm circular section attachment, 5.2 mm long, from back face with a \u00d83.6 mm bore."], "text": "Rectangular body, 39.43 \u00d7 30.4 \u00d7 28.5 mm (W\u00d7D\u00d7H). \u00d86.6 mm circular section attachment, 5.2 mm long, from right face with a \u00d83.6 mm bore. \u00d86.6 mm circular section attachment, 5.2 mm long, from back face with a \u00d83.6 mm bore."}, "params": {"block_w": {"type": "float", "default": 39.43, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body width (mm)"}, "block_d": {"type": "float", "default": 30.4, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body depth (mm)"}, "block_h": {"type": "float", "default": 28.5, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body height (mm)"}, "port_d": {"type": "float", "default": 6.6, "min": 2.6, "max": 12.8, "step": 1.0, "group": "Ports", "label": "Ports diameter (mm)"}, "port_len": {"type": "float", "default": 5.2, "min": 1.6, "max": 19.8, "step": 1.0, "group": "Ports", "label": "Port boss length (mm)"}, "port_bore": {"type": "float", "default": 3.6, "min": 2.0, "max": 4.8, "step": 0.5, "group": "Ports", "label": "Port bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330803 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 39.43, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 30.4, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 28.5, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body height (mm)'},\n    \"port_d\": {\"type\": 'float', \"default\": 6.6, \"min\": 2.6, \"max\": 12.8, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Ports diameter (mm)'},\n    \"port_len\": {\"type\": 'float', \"default\": 5.2, \"min\": 1.6, \"max\": 19.8, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Port boss length (mm)'},\n    \"port_bore\": {\"type\": 'float', \"default\": 3.6, \"min\": 2.0, \"max\": 4.8, \"step\": 0.5, \"group\": 'Ports', \"label\": 'Port bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca474_2240", "family": "block", "tier": 2, "seed": 1177330804, "symmetry": "radial", "op_count": 3, "ir_hash": "51eeaf2f70f1cde3", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 21500.0, "surface_area": 10100.0, "principal_moments": [2230000.0, 6640000.0, 7700000.0], "n_faces": 24, "n_edges": 64, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 29.45 \u00d7 17.5 \u00d7 46.6 mm (W\u00d7D\u00d7H).", "Six \u00d85.3 mm holes on a \u00d817.6 mm bolt circle.", "Boss \u00d822.3 mm \u00d7 11.7 mm tall on top face with a \u00d86.4 mm bore."], "text": "Rectangular body, 29.45 \u00d7 17.5 \u00d7 46.6 mm (W\u00d7D\u00d7H). Six \u00d85.3 mm holes on a \u00d817.6 mm bolt circle. Boss \u00d822.3 mm \u00d7 11.7 mm tall on top face with a \u00d86.4 mm bore."}, "params": {"block_w": {"type": "float", "default": 29.45, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 17.5, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 46.6, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "bolt_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 8.8, "min": 5.9, "max": 13.3, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 6, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}, "boss_d": {"type": "float", "default": 22.3, "min": 11.2, "max": 44.6, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 11.7, "min": 4.7, "max": 29.2, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}, "boss_bore_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 15.6, "step": 0.1, "group": "Boss", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330804 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 29.45, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 17.5, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 46.6, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 8.8, \"min\": 5.9, \"max\": 13.3, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n    \"boss_d\": {\"type\": 'float', \"default\": 22.3, \"min\": 11.2, \"max\": 44.6, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 11.7, \"min\": 4.7, \"max\": 29.2, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n    \"boss_bore_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 15.6, \"step\": 0.1, \"group\": 'Boss', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .hole(p[\"boss_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462ca475_2241", "family": "gear", "tier": 0, "seed": 1177330805, "symmetry": "none", "op_count": 1, "ir_hash": "d1a07ee7ea788ee2", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 170000.0, "surface_area": 27700.0, "principal_moments": [100000000.0, 100000000.0, 179000000.0], "n_faces": 92, "n_edges": 270, "n_vertices": 180}, "dimensions": {"lines": ["Spur gear, module 6 mm, 15 teeth (pitch \u00d890 mm), face width 27.5 mm."], "text": "Spur gear, module 6 mm, 15 teeth (pitch \u00d890 mm), face width 27.5 mm."}, "params": {"module": {"type": "float", "default": 6.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 15, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 27.5, "min": 11.0, "max": 68.8, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330805 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 6.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 15, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 27.5, \"min\": 11.0, \"max\": 68.8, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca477_2243", "family": "block", "tier": 1, "seed": 1177330807, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "5aa09ae50ed634d5", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 305000.0, "surface_area": 34800.0, "principal_moments": [185000000.0, 297000000.0, 395000000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 75 \u00d7 41.4 \u00d7 100 mm (W\u00d7D\u00d7H).", "Four \u00d84.3 mm holes at the corners, 52.5 \u00d7 28.98 mm spacing."], "text": "Rectangular body, 75 \u00d7 41.4 \u00d7 100 mm (W\u00d7D\u00d7H). Four \u00d84.3 mm holes at the corners, 52.5 \u00d7 28.98 mm spacing."}, "params": {"block_w": {"type": "float", "default": 75, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 41.4, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 100.0, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 9.3, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330807 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 75, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 41.4, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 100.0, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 9.3, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca478_2244", "family": "plate", "tier": 1, "seed": 1177330808, "symmetry": "none", "op_count": 2, "ir_hash": "c749bd7c2fb7d3f1", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 4750.0, "surface_area": 2330.0, "principal_moments": [123000.0, 489000.0, 533000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 34.25 \u00d7 14.8 \u00d7 10 mm (W\u00d7D\u00d7H).", "Four \u00d83.2 mm holes at the corners, 23.975 \u00d7 10.36 mm spacing."], "text": "Rectangular body, 34.25 \u00d7 14.8 \u00d7 10 mm (W\u00d7D\u00d7H). Four \u00d83.2 mm holes at the corners, 23.975 \u00d7 10.36 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 34.25, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 14.8, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 3.3, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330808 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 34.25, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 14.8, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 3.3, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462ca479_2245", "family": "sketched", "tier": 1, "seed": 1177330809, "symmetry": "none", "op_count": 1, "ir_hash": "94858a9eb9131a2f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 164000.0, "surface_area": 22500.0, "principal_moments": [83100000.0, 83100000.0, 91599999.99999999], "n_faces": 7, "n_edges": 12, "n_vertices": 7}, "dimensions": {"lines": ["Revolved organic body from a freeform sketched section (6 segments: 2 straight, 4 curves), ~26.988 \u00d7 55 mm half-silhouette."], "text": "Revolved organic body from a freeform sketched section (6 segments: 2 straight, 4 curves), ~26.988 \u00d7 55 mm half-silhouette."}, "params": {"sk_r": {"type": "float", "default": 40, "min": 20.0, "max": 72.0, "step": 1.0, "group": "Sketch", "label": "Max radius (mm)"}, "sk_h": {"type": "float", "default": 55, "min": 27.5, "max": 99.0, "step": 1.0, "group": "Sketch", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330809 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_r\": {\"type\": 'float', \"default\": 40, \"min\": 20.0, \"max\": 72.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Max radius (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 55, \"min\": 27.5, \"max\": 99.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XZ').moveTo(p[\"sk_r\"] * 0.6012, p[\"sk_h\"] * 0.0).bezier([(p[\"sk_r\"] * 0.6012, p[\"sk_h\"] * 0.0), (p[\"sk_r\"] * 0.6535, p[\"sk_h\"] * 0.0668), (p[\"sk_r\"] * 0.8073, p[\"sk_h\"] * 0.1336)]).spline([(p[\"sk_r\"] * 0.8073, p[\"sk_h\"] * 0.1336), (p[\"sk_r\"] * 0.5986, p[\"sk_h\"] * 0.1443), (p[\"sk_r\"] * 0.4388, p[\"sk_h\"] * 0.1551)]).spline([(p[\"sk_r\"] * 0.4388, p[\"sk_h\"] * 0.1551), (p[\"sk_r\"] * 0.628, p[\"sk_h\"] * 0.2253), (p[\"sk_r\"] * 0.7223, p[\"sk_h\"] * 0.2956)]).bezier([(p[\"sk_r\"] * 0.7223, p[\"sk_h\"] * 0.2956), (p[\"sk_r\"] * 0.9428, p[\"sk_h\"] * 0.6478), (p[\"sk_r\"] * 0.859, p[\"sk_h\"] * 1.0)]).lineTo(p[\"sk_r\"] * 0.1843, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.1843, p[\"sk_h\"] * 0.0).close().revolve())\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca47b_2247", "family": "plate", "tier": 1, "seed": 1177330811, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "135e113a7f05fce3", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 11600.0, "surface_area": 4690.0, "principal_moments": [658000.0, 3470000.0, 4010000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 60 \u00d7 25.1 \u00d7 8 mm (W\u00d7D\u00d7H).", "Four \u00d84.3 mm holes at the corners, 42 \u00d7 17.57 mm spacing."], "text": "Rectangular body, 60 \u00d7 25.1 \u00d7 8 mm (W\u00d7D\u00d7H). Four \u00d84.3 mm holes at the corners, 42 \u00d7 17.57 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 60, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 25.1, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 5.6, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330811 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 60, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 25.1, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 5.6, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462ca47c_2248", "family": "ribbed", "tier": 2, "seed": 1177330812, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "5b6e7f9fa07641eb", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 62500.0, "surface_area": 21800.0, "principal_moments": [19300000.0, 27399999.999999996, 40500000.0], "n_faces": 54, "n_edges": 132, "n_vertices": 80}, "dimensions": {"lines": ["Rectangular body, 70 \u00d7 55.6 \u00d7 8 mm (W\u00d7D\u00d7H).", "Six ribs, 5.8 mm thick, 16.1 mm tall."], "text": "Rectangular body, 70 \u00d7 55.6 \u00d7 8 mm (W\u00d7D\u00d7H). Six ribs, 5.8 mm thick, 16.1 mm tall."}, "params": {"base_w": {"type": "float", "default": 70, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 55.6, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 8.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 6, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 16.1, "min": 6.4, "max": 32.2, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 5.8, "min": 1.0, "max": 14.5, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330812 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 70, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 55.6, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 6, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 16.1, \"min\": 6.4, \"max\": 32.2, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 5.8, \"min\": 1.0, \"max\": 14.5, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462ca47d_2249", "family": "gear", "tier": 1, "seed": 1177330813, "symmetry": "none", "op_count": 1, "ir_hash": "8aad2f9a281925b7", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 3750.0, "surface_area": 2310.0, "principal_moments": [175000.0, 175000.0, 310000.0], "n_faces": 123, "n_edges": 363, "n_vertices": 242}, "dimensions": {"lines": ["Spur gear, module 1.25 mm, 20 teeth (pitch \u00d825 mm), face width 8.1 mm, \u00d85 mm bore."], "text": "Spur gear, module 1.25 mm, 20 teeth (pitch \u00d825 mm), face width 8.1 mm, \u00d85 mm bore."}, "params": {"module": {"type": "float", "default": 1.25, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 20, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 8.1, "min": 3.2, "max": 20.2, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "bore_d": {"type": "float", "default": 5.0, "min": 2.0, "max": 13.1, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330813 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 1.25, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 20, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 8.1, \"min\": 3.2, \"max\": 20.2, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 5.0, \"min\": 2.0, \"max\": 13.1, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462ca47e_2250", "family": "tapped", "tier": 1, "seed": 1177330814, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "57061cdce6e60d4f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 41400.0, "surface_area": 11400.0, "principal_moments": [9520000.0, 11399999.999999998, 19100000.0], "n_faces": 358, "n_edges": 1268, "n_vertices": 912}, "dimensions": {"lines": ["Four M10x1.5 tapped holes in a plate."], "text": "Four M10x1.5 tapped holes in a plate."}, "params": {"major_d": {"type": "float", "default": 10.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 1.5, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 16.0, "min": 12.0, "max": 28.8, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "plate_w": {"type": "float", "default": 56.07, "min": 33.6, "max": 89.7, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 50.9, "min": 30.5, "max": 81.4, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330814 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 10.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.5, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 16.0, \"min\": 12.0, \"max\": 28.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"plate_w\": {\"type\": 'float', \"default\": 56.07, \"min\": 33.6, \"max\": 89.7, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 50.9, \"min\": 30.5, \"max\": 81.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n}\n\n\ndef build(p):\n\n    _W, _D, _H = p[\"plate_w\"], p[\"plate_d\"], p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Box(_W, _D, _H)\n    _nx, _ny = max(1, int(2)), max(1, int(2))\n    _sx, _sy = p[\"plate_w\"] * 0.66, p[\"plate_d\"] * 0.66\n    _locs = [(_sx * (_i - (_nx - 1) / 2), _sy * (_j - (_ny - 1) / 2))\n             for _i in range(_nx) for _j in range(_ny)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462ca47f_2251", "family": "tapped", "tier": 2, "seed": 1177330815, "symmetry": "none", "op_count": 1, "ir_hash": "a56b0f15e3ec5034", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 110000.0, "surface_area": 21800.0, "principal_moments": [63999999.99999999, 68100000.0, 127000000.0], "n_faces": 362, "n_edges": 1280, "n_vertices": 920}, "dimensions": {"lines": ["Four M10x1.5 tapped holes in a plate."], "text": "Four M10x1.5 tapped holes in a plate."}, "params": {"major_d": {"type": "float", "default": 10.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 1.5, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 16.4, "min": 12.0, "max": 29.5, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "plate_w": {"type": "float", "default": 85, "min": 51.0, "max": 136.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 82.3, "min": 49.4, "max": 131.7, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330815 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 10.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.5, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 16.4, \"min\": 12.0, \"max\": 29.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"plate_w\": {\"type\": 'float', \"default\": 85, \"min\": 51.0, \"max\": 136.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 82.3, \"min\": 49.4, \"max\": 131.7, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n}\n\n\ndef build(p):\n\n    _W, _D, _H = p[\"plate_w\"], p[\"plate_d\"], p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Box(_W, _D, _H)\n    _nx, _ny = max(1, int(2)), max(1, int(2))\n    _sx, _sy = p[\"plate_w\"] * 0.66, p[\"plate_d\"] * 0.66\n    _locs = [(_sx * (_i - (_nx - 1) / 2), _sy * (_j - (_ny - 1) / 2))\n             for _i in range(_nx) for _j in range(_ny)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462ca480_2252", "family": "lofted", "tier": 1, "seed": 1177330816, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "fccb6f642d718aaf", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 29900.0, "surface_area": 6820.0, "principal_moments": [5080000.0, 5100000.0, 6410000.0], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["Lofted body through 2 sections: 6-sided polygon section, 45 mm across corners \u2192 32.9 \u00d7 32.9 mm rectangular section.", "One \u00d812.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 2 sections: 6-sided polygon section, 45 mm across corners \u2192 32.9 \u00d7 32.9 mm rectangular section. One \u00d812.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 45, "min": 22.5, "max": 72.0, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 32.9, "min": 13.2, "max": 54.0, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 27.6, "min": 11.0, "max": 55.2, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_bore_d": {"type": "float", "default": 12.3, "min": 2.0, "max": 26.3, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330816 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 45, \"min\": 22.5, \"max\": 72.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 32.9, \"min\": 13.2, \"max\": 54.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 27.6, \"min\": 11.0, \"max\": 55.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 12.3, \"min\": 2.0, \"max\": 26.3, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .polygon(6, p[\"loft_base\"] * 0.5 * 2)\n        .workplane(offset=p[\"loft_h\"])\n        .rect(p[\"loft_top\"], p[\"loft_top\"])\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca481_2253", "family": "bracket", "tier": 2, "seed": 1177330817, "symmetry": "none", "op_count": 1, "ir_hash": "031e05cc5814471f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 19100.0, "surface_area": 9500.0, "principal_moments": [4290000.0, 16900000.0, 19500000.0], "n_faces": 14, "n_edges": 37, "n_vertices": 24}, "dimensions": {"lines": ["L-bracket: base leg 85 mm, vertical leg 64.1 mm, 23.95 mm wide, 5 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 4.3 mm corner gusset."], "text": "L-bracket: base leg 85 mm, vertical leg 64.1 mm, 23.95 mm wide, 5 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 4.3 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 85, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 64.1, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 23.95, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 5.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 9.6, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 4.3, "min": 2.5, "max": 12.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330817 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 85, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 64.1, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 23.95, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 9.6, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.5, \"max\": 12.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca482_2254", "family": "revolved", "tier": 0, "seed": 1177330818, "symmetry": "none", "op_count": 1, "ir_hash": "83e8bccbf196e995", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 67000.0, "surface_area": 16600.0, "principal_moments": [15799999.999999998, 34400000.0, 34400000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d839.61 mm \u00d7 81.6 mm tall."], "text": "Revolved body, \u00d839.61 mm \u00d7 81.6 mm tall."}, "params": {"outer_d": {"type": "float", "default": 39.61, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 81.6, "min": 24.5, "max": 244.8, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330818 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 39.61, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 81.6, \"min\": 24.5, \"max\": 244.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca484_2256", "family": "plate", "tier": 1, "seed": 1177330820, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "d0b70ea0b63407d3", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 5420.0, "surface_area": 3640.0, "principal_moments": [278000.0, 1480000.0, 1740000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 57.95 \u00d7 24.9 \u00d7 4 mm (W\u00d7D\u00d7H).", "Four \u00d85.3 mm holes at the corners, 40.565 \u00d7 17.43 mm spacing."], "text": "Rectangular body, 57.95 \u00d7 24.9 \u00d7 4 mm (W\u00d7D\u00d7H). Four \u00d85.3 mm holes at the corners, 40.565 \u00d7 17.43 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 57.95, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 24.9, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 4.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 5.6, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330820 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 57.95, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 24.9, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 4.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 5.6, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462ca485_2257", "family": "swept", "tier": 2, "seed": 1177330821, "symmetry": "none", "op_count": 1, "ir_hash": "02240b787bf7349e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 8080.0, "surface_area": 4030.0, "principal_moments": [206000.0, 8460000.0, 8570000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["10.8 \u00d7 8.5 mm rectangular section swept along a curved path, ~110 mm span."], "text": "10.8 \u00d7 8.5 mm rectangular section swept along a curved path, ~110 mm span."}, "params": {"path_w": {"type": "float", "default": 59.54, "min": 29.8, "max": 107.2, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 110.0, "min": 55.0, "max": 198.0, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_a": {"type": "float", "default": 10.8, "min": 5.4, "max": 19.4, "step": 1.0, "group": "Section", "label": "Section width (mm)"}, "sweep_b": {"type": "float", "default": 8.5, "min": 4.2, "max": 15.3, "step": 1.0, "group": "Section", "label": "Section depth (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330821 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 59.54, \"min\": 29.8, \"max\": 107.2, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 110.0, \"min\": 55.0, \"max\": 198.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_a\": {\"type\": 'float', \"default\": 10.8, \"min\": 5.4, \"max\": 19.4, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section width (mm)'},\n    \"sweep_b\": {\"type\": 'float', \"default\": 8.5, \"min\": 4.2, \"max\": 15.3, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section depth (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.2141, p[\"path_h\"] * 0.3376), (p[\"path_w\"] * 0.0769, p[\"path_h\"] * 0.7257), (p[\"path_w\"] * 0.0, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').rect(p[\"sweep_a\"], p[\"sweep_b\"]).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462ca486_2258", "family": "gear", "tier": 0, "seed": 1177330822, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "0feb898fddb5eb9f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 10400.0, "surface_area": 4210.0, "principal_moments": [825000.0, 825000.0, 1240000.0], "n_faces": 74, "n_edges": 216, "n_vertices": 144}, "dimensions": {"lines": ["Spur gear, module 2.5 mm, 12 teeth (pitch \u00d830 mm), face width 15.3 mm."], "text": "Spur gear, module 2.5 mm, 12 teeth (pitch \u00d830 mm), face width 15.3 mm."}, "params": {"module": {"type": "float", "default": 2.5, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 12, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 15.3, "min": 6.1, "max": 38.2, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330822 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 2.5, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 12, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 15.3, \"min\": 6.1, \"max\": 38.2, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca487_2259", "family": "bracket", "tier": 2, "seed": 1177330823, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "fca521d533f9e9b7", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 11900.0, "surface_area": 5280.0, "principal_moments": [2030000.0, 2780000.0, 4350000.0], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["C-channel bracket: base leg 40 mm, vertical leg 39.9 mm, 15 mm wide, 8 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg; 6.9 mm corner gusset."], "text": "C-channel bracket: base leg 40 mm, vertical leg 39.9 mm, 15 mm wide, 8 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg; 6.9 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 40, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 39.9, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 15.0, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 8.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 6.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 6.9, "min": 4.0, "max": 7.5, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330823 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 40, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 39.9, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 15.0, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 6.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 6.9, \"min\": 4.0, \"max\": 7.5, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl / 2, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bl - _bt, _bt).lineTo(_bl - _bt - _g, _bt)\n                    .lineTo(_bl - _bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca488_2260", "family": "bracket", "tier": 1, "seed": 1177330824, "symmetry": "none", "op_count": 1, "ir_hash": "f5e54423195b4e87", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 16700.0, "surface_area": 8440.0, "principal_moments": [2230000.0, 13899999.999999998, 14399999.999999998], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Z-bracket: base leg 57.31 mm, vertical leg 44.3 mm, top leg 43.6 mm, 25 mm wide, 5 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."], "text": "Z-bracket: base leg 57.31 mm, vertical leg 44.3 mm, top leg 43.6 mm, 25 mm wide, 5 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 57.31, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 44.3, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 25, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 5.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 43.6, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330824 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 57.31, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 44.3, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 25, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 43.6, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462ca489_2261", "family": "gear", "tier": 2, "seed": 1177330825, "symmetry": "none", "op_count": 1, "ir_hash": "128b7c0123d704d5", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 2460.0, "surface_area": 1770.0, "principal_moments": [105000.0, 105000.0, 199000.0], "n_faces": 129, "n_edges": 381, "n_vertices": 254}, "dimensions": {"lines": ["Helical gear, module 1 mm, 21 teeth (pitch \u00d821 mm), face width 5.1 mm, 29.5\u00b0 helix, \u00d83 mm bore."], "text": "Helical gear, module 1 mm, 21 teeth (pitch \u00d821 mm), face width 5.1 mm, 29.5\u00b0 helix, \u00d83 mm bore."}, "params": {"module": {"type": "float", "default": 1.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 21, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 5.1, "min": 2.0, "max": 12.8, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "helix_angle": {"type": "float", "default": 29.5, "min": 5.0, "max": 40.0, "step": 1.0, "group": "Gear", "label": "Helix angle (deg)"}, "profile_shift": {"type": "float", "default": 0.5, "min": -0.5, "max": 0.7, "step": 0.05, "group": "Gear", "label": "Profile shift"}, "root_fillet": {"type": "float", "default": 0.16, "min": 0.0, "max": 0.5, "step": 0.05, "group": "Gear", "label": "Root fillet (mm)"}, "bore_d": {"type": "float", "default": 3.0, "min": 2.0, "max": 11.1, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330825 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 1.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 21, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 5.1, \"min\": 2.0, \"max\": 12.8, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"helix_angle\": {\"type\": 'float', \"default\": 29.5, \"min\": 5.0, \"max\": 40.0, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Helix angle (deg)'},\n    \"profile_shift\": {\"type\": 'float', \"default\": 0.5, \"min\": -0.5, \"max\": 0.7, \"step\": 0.05, \"group\": 'Gear', \"label\": 'Profile shift'},\n    \"root_fillet\": {\"type\": 'float', \"default\": 0.16, \"min\": 0.0, \"max\": 0.5, \"step\": 0.05, \"group\": 'Gear', \"label\": 'Root fillet (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 3.0, \"min\": 2.0, \"max\": 11.1, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.HelicalGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"], helix_angle=math.radians(p[\"helix_angle\"]), herringbone=False, profile_shift=p[\"profile_shift\"], root_fillet=p[\"root_fillet\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca48a_2262", "family": "bracket", "tier": 1, "seed": 1177330826, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "365c93aead72a975", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 45500.0, "surface_area": 17900.0, "principal_moments": [21400000.0, 61999999.99999999, 68000000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["L-bracket: base leg 85 mm, vertical leg 90 mm, 45 mm wide, 6 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."], "text": "L-bracket: base leg 85 mm, vertical leg 90 mm, 45 mm wide, 6 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 85, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 90.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 45, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 6.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330826 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 85, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 90.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 45, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca48b_2263", "family": "compound", "tier": 1, "seed": 1177330827, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "757455bf706c74cb", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 29500.0, "surface_area": 7700.0, "principal_moments": [4350000.0, 4770000.0, 6350000.0], "n_faces": 15, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 35.68 \u00d7 31.5 \u00d7 24 mm (W\u00d7D\u00d7H).", "22.6 \u00d7 21.1 mm rectangular section attachment, 8 mm long, from back face.", "Four \u00d83.2 mm holes at the corners, 13.56 \u00d7 12.66 mm spacing on the >Y face."], "text": "Rectangular body, 35.68 \u00d7 31.5 \u00d7 24 mm (W\u00d7D\u00d7H). 22.6 \u00d7 21.1 mm rectangular section attachment, 8 mm long, from back face. Four \u00d83.2 mm holes at the corners, 13.56 \u00d7 12.66 mm spacing on the >Y face."}, "params": {"block_w": {"type": "float", "default": 35.68, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 31.5, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 24.0, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "tab_a": {"type": "float", "default": 22.6, "min": 9.0, "max": 36.2, "step": 1.0, "group": "Tab", "label": "Tab width (mm)"}, "tab_b": {"type": "float", "default": 21.1, "min": 8.4, "max": 33.8, "step": 1.0, "group": "Tab", "label": "Tab height (mm)"}, "tab_t": {"type": "float", "default": 8.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Tab", "label": "Tab thickness (mm)"}, "tab_hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 4.6, "step": 0.1, "group": "Tab", "label": "Tab hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330827 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 35.68, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 31.5, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 24.0, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"tab_a\": {\"type\": 'float', \"default\": 22.6, \"min\": 9.0, \"max\": 36.2, \"step\": 1.0, \"group\": 'Tab', \"label\": 'Tab width (mm)'},\n    \"tab_b\": {\"type\": 'float', \"default\": 21.1, \"min\": 8.4, \"max\": 33.8, \"step\": 1.0, \"group\": 'Tab', \"label\": 'Tab height (mm)'},\n    \"tab_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Tab', \"label\": 'Tab thickness (mm)'},\n    \"tab_hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 4.6, \"step\": 0.1, \"group\": 'Tab', \"label\": 'Tab hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .rect(p[\"tab_a\"], p[\"tab_b\"]).extrude(p[\"tab_t\"])\n    )\n    result = (\n        result.faces('>Y').workplane()\n        .rect(p[\"tab_a\"] * 0.6, p[\"tab_b\"] * 0.6, forConstruction=True)\n        .vertices().hole(p[\"tab_hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462ca48c_2264", "family": "sketched", "tier": 0, "seed": 1177330828, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "079f32acf89ee8cd", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 45400.0, "surface_area": 15400.0, "principal_moments": [10300000.0, 10300000.0, 17800000.0], "n_faces": 8, "n_edges": 13, "n_vertices": 7}, "dimensions": {"lines": ["Revolved organic body from a freeform sketched section (8 segments: 4 straight, 2 arcs, 2 curves), ~36.544 \u00d7 25 mm half-silhouette."], "text": "Revolved organic body from a freeform sketched section (8 segments: 4 straight, 2 arcs, 2 curves), ~36.544 \u00d7 25 mm half-silhouette."}, "params": {"sk_r": {"type": "float", "default": 40, "min": 20.0, "max": 72.0, "step": 1.0, "group": "Sketch", "label": "Max radius (mm)"}, "sk_h": {"type": "float", "default": 25, "min": 12.5, "max": 45.0, "step": 1.0, "group": "Sketch", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330828 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_r\": {\"type\": 'float', \"default\": 40, \"min\": 20.0, \"max\": 72.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Max radius (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 25, \"min\": 12.5, \"max\": 45.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XZ').moveTo(p[\"sk_r\"] * 0.3716, p[\"sk_h\"] * 0.0).threePointArc((p[\"sk_r\"] * 0.4491, p[\"sk_h\"] * 0.0652), (p[\"sk_r\"] * 0.644, p[\"sk_h\"] * 0.1303)).threePointArc((p[\"sk_r\"] * 0.6935, p[\"sk_h\"] * 0.1567), (p[\"sk_r\"] * 0.8309, p[\"sk_h\"] * 0.1831)).lineTo(p[\"sk_r\"] * 0.5491, p[\"sk_h\"] * 0.3264).bezier([(p[\"sk_r\"] * 0.5491, p[\"sk_h\"] * 0.3264), (p[\"sk_r\"] * 0.6556, p[\"sk_h\"] * 0.4083), (p[\"sk_r\"] * 0.9136, p[\"sk_h\"] * 0.4901)]).spline([(p[\"sk_r\"] * 0.9136, p[\"sk_h\"] * 0.4901), (p[\"sk_r\"] * 0.5444, p[\"sk_h\"] * 0.7044), (p[\"sk_r\"] * 0.1229, p[\"sk_h\"] * 0.9186)]).lineTo(p[\"sk_r\"] * 0.5179, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.0, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.0, p[\"sk_h\"] * 0.0).close().revolve())\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462ca48d_2265", "family": "gear", "tier": 1, "seed": 1177330829, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "3848321ec8120633", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 4790.0, "surface_area": 3230.0, "principal_moments": [438000.0, 438000.0, 858000.0], "n_faces": 225, "n_edges": 669, "n_vertices": 446}, "dimensions": {"lines": ["Spur gear, module 1 mm, 37 teeth (pitch \u00d837 mm), face width 4.7 mm, \u00d87.8 mm bore."], "text": "Spur gear, module 1 mm, 37 teeth (pitch \u00d837 mm), face width 4.7 mm, \u00d87.8 mm bore."}, "params": {"module": {"type": "float", "default": 1.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 37, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 4.7, "min": 1.9, "max": 11.8, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "bore_d": {"type": "float", "default": 7.8, "min": 2.0, "max": 20.7, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330829 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 1.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 37, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 4.7, \"min\": 1.9, \"max\": 11.8, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 7.8, \"min\": 2.0, \"max\": 20.7, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca48e_2266", "family": "plate", "tier": 1, "seed": 1177330830, "symmetry": "radial", "op_count": 2, "ir_hash": "71e19bebabf41e49", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 59000.0, "surface_area": 18800.0, "principal_moments": [31599999.999999996, 45200000.0, 76100000.0], "n_faces": 18, "n_edges": 48, "n_vertices": 32}, "dimensions": {"lines": ["Rectangular body, 95 \u00d7 79.5 \u00d7 8 mm (W\u00d7D\u00d7H).", "Twelve \u00d84.3 mm holes on a \u00d857 mm bolt circle."], "text": "Rectangular body, 95 \u00d7 79.5 \u00d7 8 mm (W\u00d7D\u00d7H). Twelve \u00d84.3 mm holes on a \u00d857 mm bolt circle."}, "params": {"plate_w": {"type": "float", "default": 95, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 79.5, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "bolt_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 28.5, "min": 19.0, "max": 42.8, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 12, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330830 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 95, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 79.5, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 28.5, \"min\": 19.0, \"max\": 42.8, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 12, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca48f_2267", "family": "plate", "tier": 1, "seed": 1177330831, "symmetry": "radial", "op_count": 2, "ir_hash": "e3b428945b3fdd00", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 54200.0, "surface_area": 16700.0, "principal_moments": [16299999.999999998, 60299999.99999999, 76000000.0], "n_faces": 16, "n_edges": 42, "n_vertices": 28}, "dimensions": {"lines": ["Rectangular body, 115 \u00d7 59.7 \u00d7 8 mm (W\u00d7D\u00d7H).", "Six \u00d85.3 mm holes on a \u00d869 mm bolt circle."], "text": "Rectangular body, 115 \u00d7 59.7 \u00d7 8 mm (W\u00d7D\u00d7H). Six \u00d85.3 mm holes on a \u00d869 mm bolt circle."}, "params": {"plate_w": {"type": "float", "default": 115, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 59.7, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "bolt_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 34.5, "min": 23.0, "max": 51.8, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 6, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330831 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 115, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 59.7, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 34.5, \"min\": 23.0, \"max\": 51.8, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462ca490_2268", "family": "lofted", "tier": 1, "seed": 1177330832, "symmetry": "none", "op_count": 2, "ir_hash": "35c3dbc768bda72a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 63400.0, "surface_area": 12500.0, "principal_moments": [17400000.0, 22500000.0, 22500000.0], "n_faces": 8, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["Lofted body through 2 sections: 45 \u00d7 45 mm rectangular section \u2192 \u00d832.5 mm circular section.", "One \u00d815.6 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 2 sections: 45 \u00d7 45 mm rectangular section \u2192 \u00d832.5 mm circular section. One \u00d815.6 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 45, "min": 22.5, "max": 72.0, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 32.5, "min": 13.0, "max": 54.0, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 52.9, "min": 21.2, "max": 105.8, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_bore_d": {"type": "float", "default": 15.6, "min": 2.0, "max": 26.0, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330832 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 45, \"min\": 22.5, \"max\": 72.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 32.5, \"min\": 13.0, \"max\": 54.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 52.9, \"min\": 21.2, \"max\": 105.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 15.6, \"min\": 2.0, \"max\": 26.0, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .rect(p[\"loft_base\"], p[\"loft_base\"])\n        .workplane(offset=p[\"loft_h\"])\n        .circle(p[\"loft_top\"] / 2)\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462ca491_2269", "family": "enclosure", "tier": 1, "seed": 1177330833, "symmetry": "none", "op_count": 2, "ir_hash": "f56fe84be69ff7ea", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 66800.0, "surface_area": 31500.0, "principal_moments": [31499999.999999996, 82000000.0, 82400000.0], "n_faces": 11, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 95 \u00d7 40.5 \u00d7 49.1 mm (W\u00d7D\u00d7H).", "Hollowed to 4.4 mm wall thickness, open at top face."], "text": "Rectangular body, 95 \u00d7 40.5 \u00d7 49.1 mm (W\u00d7D\u00d7H). Hollowed to 4.4 mm wall thickness, open at top face."}, "params": {"enc_w": {"type": "float", "default": 95, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 40.5, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 49.1, "min": 19.6, "max": 98.2, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 4.4, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330833 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 95, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 40.5, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 49.1, \"min\": 19.6, \"max\": 98.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 4.4, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca492_2270", "family": "compound", "tier": 1, "seed": 1177330834, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "08878ccc1e6a5173", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 86800.0, "surface_area": 13600.0, "principal_moments": [22500000.0, 34300000.0, 35000000.0], "n_faces": 21, "n_edges": 51, "n_vertices": 34}, "dimensions": {"lines": ["Rectangular body, 57.05 \u00d7 37.7 \u00d7 40.1 mm (W\u00d7D\u00d7H).", "5-sided polygon section, 11 mm across corners attachment, 12 mm long, from front face with a \u00d84.5 mm bore.", "5-sided polygon section, 11 mm across corners attachment, 12 mm long, from back face with a \u00d84.5 mm bore."], "text": "Rectangular body, 57.05 \u00d7 37.7 \u00d7 40.1 mm (W\u00d7D\u00d7H). 5-sided polygon section, 11 mm across corners attachment, 12 mm long, from front face with a \u00d84.5 mm bore. 5-sided polygon section, 11 mm across corners attachment, 12 mm long, from back face with a \u00d84.5 mm bore."}, "params": {"block_w": {"type": "float", "default": 57.05, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body width (mm)"}, "block_d": {"type": "float", "default": 37.7, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body depth (mm)"}, "block_h": {"type": "float", "default": 40.1, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body height (mm)"}, "port_sides": {"type": "int", "default": 5, "min": 3, "max": 8, "step": 1, "group": "Ports", "label": "Ports sides"}, "port_r": {"type": "float", "default": 5.5, "min": 2.8, "max": 8.5, "step": 1.0, "group": "Ports", "label": "Ports circumradius (mm)"}, "port_len": {"type": "float", "default": 12.0, "min": 2.2, "max": 26.7, "step": 1.0, "group": "Ports", "label": "Port boss length (mm)"}, "port_bore": {"type": "float", "default": 4.5, "min": 2.0, "max": 6.4, "step": 0.5, "group": "Ports", "label": "Port bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330834 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 57.05, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 37.7, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 40.1, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body height (mm)'},\n    \"port_sides\": {\"type\": 'int', \"default\": 5, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Ports', \"label\": 'Ports sides'},\n    \"port_r\": {\"type\": 'float', \"default\": 5.5, \"min\": 2.8, \"max\": 8.5, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Ports circumradius (mm)'},\n    \"port_len\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.2, \"max\": 26.7, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Port boss length (mm)'},\n    \"port_bore\": {\"type\": 'float', \"default\": 4.5, \"min\": 2.0, \"max\": 6.4, \"step\": 0.5, \"group\": 'Ports', \"label\": 'Port bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"port_sides\"], p[\"port_r\"] * 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"port_sides\"], p[\"port_r\"] * 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462ca493_2271", "family": "profiled", "tier": 0, "seed": 1177330835, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "51236944da15cba6", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 94200.0, "surface_area": 17500.0, "principal_moments": [6240000.0, 419000000.0, 421000000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["24.72 \u00d7 20 mm slot section, extruded 230.5 mm thick."], "text": "24.72 \u00d7 20 mm slot section, extruded 230.5 mm thick."}, "params": {"slot_len": {"type": "float", "default": 24.72, "min": 12.4, "max": 49.4, "step": 1.0, "group": "Profile", "label": "Slot length (mm)"}, "slot_w": {"type": "float", "default": 20, "min": 10.0, "max": 40.0, "step": 0.5, "group": "Profile", "label": "Slot width (mm)"}, "length": {"type": "float", "default": 230.5, "min": 69.1, "max": 691.5, "step": 5.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330835 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"slot_len\": {\"type\": 'float', \"default\": 24.72, \"min\": 12.4, \"max\": 49.4, \"step\": 1.0, \"group\": 'Profile', \"label\": 'Slot length (mm)'},\n    \"slot_w\": {\"type\": 'float', \"default\": 20, \"min\": 10.0, \"max\": 40.0, \"step\": 0.5, \"group\": 'Profile', \"label\": 'Slot width (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 230.5, \"min\": 69.1, \"max\": 691.5, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').slot2D(p[\"slot_len\"], p[\"slot_w\"]).extrude(p[\"length\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca494_2272", "family": "revolved", "tier": 2, "seed": 1177330836, "symmetry": "none", "op_count": 2, "ir_hash": "5fbbe39d0196270e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 56700.0, "surface_area": 12300.0, "principal_moments": [16900000.0, 16900000.0, 22200000.0], "n_faces": 5, "n_edges": 8, "n_vertices": 5}, "dimensions": {"lines": ["Revolved body, \u00d851.13 mm \u00d7 41.5 mm tall.", "Chamfer 1 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d851.13 mm \u00d7 41.5 mm tall. Chamfer 1 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 51.13, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 41.5, "min": 12.4, "max": 124.5, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "end_chamfer": {"type": "float", "default": 1.0, "min": 0.1, "max": 3.0, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330836 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 51.13, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 41.5, \"min\": 12.4, \"max\": 124.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 1.0, \"min\": 0.1, \"max\": 3.0, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca495_2273", "family": "compound", "tier": 1, "seed": 1177330837, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "b3cbba94c7c45939", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 421000.0, "surface_area": 37500.0, "principal_moments": [347000000.0, 426000000.0, 443000000.0], "n_faces": 13, "n_edges": 26, "n_vertices": 17}, "dimensions": {"lines": ["Rectangular body, 85 \u00d7 68.7 \u00d7 72 mm (W\u00d7D\u00d7H).", "\u00d814.2 mm circular section attachment, 15.3 mm long, from right face with a \u00d86.6 mm bore.", "\u00d814.2 mm circular section attachment, 15.3 mm long, from left face with a \u00d86.6 mm bore."], "text": "Rectangular body, 85 \u00d7 68.7 \u00d7 72 mm (W\u00d7D\u00d7H). \u00d814.2 mm circular section attachment, 15.3 mm long, from right face with a \u00d86.6 mm bore. \u00d814.2 mm circular section attachment, 15.3 mm long, from left face with a \u00d86.6 mm bore."}, "params": {"block_w": {"type": "float", "default": 85, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body width (mm)"}, "block_d": {"type": "float", "default": 68.7, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body depth (mm)"}, "block_h": {"type": "float", "default": 72.0, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body height (mm)"}, "port_d": {"type": "float", "default": 14.2, "min": 5.7, "max": 30.9, "step": 1.0, "group": "Ports", "label": "Ports diameter (mm)"}, "port_len": {"type": "float", "default": 15.3, "min": 3.5, "max": 42.6, "step": 1.0, "group": "Ports", "label": "Port boss length (mm)"}, "port_bore": {"type": "float", "default": 6.6, "min": 2.0, "max": 10.2, "step": 0.5, "group": "Ports", "label": "Port bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330837 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 85, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 68.7, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 72.0, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body height (mm)'},\n    \"port_d\": {\"type\": 'float', \"default\": 14.2, \"min\": 5.7, \"max\": 30.9, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Ports diameter (mm)'},\n    \"port_len\": {\"type\": 'float', \"default\": 15.3, \"min\": 3.5, \"max\": 42.6, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Port boss length (mm)'},\n    \"port_bore\": {\"type\": 'float', \"default\": 6.6, \"min\": 2.0, \"max\": 10.2, \"step\": 0.5, \"group\": 'Ports', \"label\": 'Port bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462ca497_2275", "family": "threaded", "tier": 0, "seed": 1177330839, "symmetry": "none", "op_count": 1, "ir_hash": "4ff25a4fb6cf0383", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 3650.0, "surface_area": 2710.0, "principal_moments": [38400.0, 973000.0, 973000.0], "n_faces": 380, "n_edges": 978, "n_vertices": 600}, "dimensions": {"lines": ["M10x1.5 external thread, 56.2 mm long."], "text": "M10x1.5 external thread, 56.2 mm long."}, "params": {"major_d": {"type": "float", "default": 10.0, "min": 4.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Major diameter (mm)"}, "pitch": {"type": "float", "default": 1.5, "min": 0.75, "max": 3.0, "step": 0.05, "group": "Thread", "label": "Pitch (mm)"}, "thread_len": {"type": "float", "default": 56.2, "min": 22.5, "max": 112.4, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330839 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 10.0, \"min\": 4.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Major diameter (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.5, \"min\": 0.75, \"max\": 3.0, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Pitch (mm)'},\n    \"thread_len\": {\"type\": 'float', \"default\": 56.2, \"min\": 22.5, \"max\": 112.4, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.IsoThread(major_diameter=p[\"major_d\"], pitch=p[\"pitch\"], length=p[\"thread_len\"], external=True, end_finishes=(\"fade\", \"fade\"))\n    _r = _thr.min_radius if hasattr(_thr, 'min_radius') else _thr.root_radius\n    _shank = _bd.Cylinder(radius=_r, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = _shank + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462ca498_2276", "family": "enclosure", "tier": 3, "seed": 1177330840, "symmetry": "mirror_xy", "op_count": 4, "ir_hash": "521ae02b343294f3", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 71300.0, "surface_area": 49200.0, "principal_moments": [61299999.99999999, 130000000.0, 131000000.0], "n_faces": 35, "n_edges": 108, "n_vertices": 72}, "dimensions": {"lines": ["Rectangular body, 108.66 \u00d7 53.4 \u00d7 64.3 mm (W\u00d7D\u00d7H).", "Hollowed to 2.9 mm wall thickness, open at top face.", "Four \u00d810.5 mm holes at the corners, 76.062 \u00d7 37.38 mm spacing.", "Fillet radius 6.328 mm on vertical edges."], "text": "Rectangular body, 108.66 \u00d7 53.4 \u00d7 64.3 mm (W\u00d7D\u00d7H). Hollowed to 2.9 mm wall thickness, open at top face. Four \u00d810.5 mm holes at the corners, 76.062 \u00d7 37.38 mm spacing. Fillet radius 6.328 mm on vertical edges."}, "params": {"enc_w": {"type": "float", "default": 108.66, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 53.4, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 64.3, "min": 25.7, "max": 128.6, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 2.9, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}, "hole_d": {"type": "float", "default": 10.5, "min": 2.0, "max": 12.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330840 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 108.66, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 53.4, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 64.3, \"min\": 25.7, \"max\": 128.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 2.9, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 10.5, \"min\": 2.0, \"max\": 12.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"enc_w\"] * 0.7, p[\"enc_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"enc_w\"], p[\"enc_d\"]) * 0.11850648623274693)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462ca499_2277", "family": "profiled", "tier": 0, "seed": 1177330841, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "359b2b8b14bd8178", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 34800.0, "surface_area": 13600.0, "principal_moments": [2970000.0, 29799999.999999996, 29799999.999999996], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d823.84 mm \u00d7 117 mm tall."], "text": "Revolved body, \u00d823.84 mm \u00d7 117 mm tall."}, "params": {"outer_d": {"type": "float", "default": 23.84, "min": 11.9, "max": 47.7, "step": 1.0, "group": "Profile", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 117.0, "min": 35.1, "max": 351.0, "step": 5.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330841 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 23.84, \"min\": 11.9, \"max\": 47.7, \"step\": 1.0, \"group\": 'Profile', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 117.0, \"min\": 35.1, \"max\": 351.0, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca49a_2278", "family": "revolved", "tier": 2, "seed": 1177330842, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "3452d4acc0b6a5ab", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 16200.0, "surface_area": 7140.0, "principal_moments": [1150000.0, 4970000.0, 4970000.0], "n_faces": 11, "n_edges": 17, "n_vertices": 11}, "dimensions": {"lines": ["Revolved body, \u00d819.03 mm \u00d7 67.7 mm tall with \u00d826.7 mm \u00d7 12.9 mm flange, 4.15 mm-wide groove 0.67 mm deep.", "Chamfer 1 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d819.03 mm \u00d7 67.7 mm tall with \u00d826.7 mm \u00d7 12.9 mm flange, 4.15 mm-wide groove 0.67 mm deep. Chamfer 1 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 19.03, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 67.7, "min": 20.3, "max": 203.1, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "flange_d": {"type": "float", "default": 26.7, "min": 22.8, "max": 57.1, "step": 1.0, "group": "Body", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 12.9, "min": 3.9, "max": 33.9, "step": 0.5, "group": "Body", "label": "Flange height (mm)"}, "groove_depth": {"type": "float", "default": 0.67, "min": 0.27, "max": 2.01, "step": 0.1, "group": "Body", "label": "Groove depth (mm)"}, "groove_w": {"type": "float", "default": 4.15, "min": 1.66, "max": 12.45, "step": 0.2, "group": "Body", "label": "Groove width (mm)"}, "groove_pos": {"type": "float", "default": 48.3, "min": 10.2, "max": 57.5, "step": 1.0, "group": "Body", "label": "Groove position (mm)"}, "end_chamfer": {"type": "float", "default": 1.0, "min": 0.1, "max": 3.0, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330842 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 19.03, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 67.7, \"min\": 20.3, \"max\": 203.1, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 26.7, \"min\": 22.8, \"max\": 57.1, \"step\": 1.0, \"group\": 'Body', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 12.9, \"min\": 3.9, \"max\": 33.9, \"step\": 0.5, \"group\": 'Body', \"label\": 'Flange height (mm)'},\n    \"groove_depth\": {\"type\": 'float', \"default\": 0.67, \"min\": 0.27, \"max\": 2.01, \"step\": 0.1, \"group\": 'Body', \"label\": 'Groove depth (mm)'},\n    \"groove_w\": {\"type\": 'float', \"default\": 4.15, \"min\": 1.66, \"max\": 12.45, \"step\": 0.2, \"group\": 'Body', \"label\": 'Groove width (mm)'},\n    \"groove_pos\": {\"type\": 'float', \"default\": 48.3, \"min\": 10.2, \"max\": 57.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Groove position (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 1.0, \"min\": 0.1, \"max\": 3.0, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"groove_pos\"] - p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2 - p[\"groove_depth\"], p[\"groove_pos\"] - p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2 - p[\"groove_depth\"], p[\"groove_pos\"] + p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2, p[\"groove_pos\"] + p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca49b_2279", "family": "bracket", "tier": 2, "seed": 1177330843, "symmetry": "none", "op_count": 1, "ir_hash": "1ab02728a98c53b3", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 20100.0, "surface_area": 8210.0, "principal_moments": [3640000.0, 7730000.0, 8150000.0], "n_faces": 15, "n_edges": 41, "n_vertices": 26}, "dimensions": {"lines": ["L-bracket: base leg 48.72 mm, vertical leg 45.4 mm, 35.82 mm wide, 6 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg; 8.4 mm corner gusset."], "text": "L-bracket: base leg 48.72 mm, vertical leg 45.4 mm, 35.82 mm wide, 6 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg; 8.4 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 48.72, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 45.4, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 35.82, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 6.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 8.4, "min": 3.0, "max": 17.9, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330843 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 48.72, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 45.4, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 35.82, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 8.4, \"min\": 3.0, \"max\": 17.9, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca49c_2280", "family": "plate", "tier": 3, "seed": 1177330844, "symmetry": "mirror_xy", "op_count": 4, "ir_hash": "986739806a49daa0", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 62800.0, "surface_area": 23000.0, "principal_moments": [39200000.0, 74600000.0, 113000000.0], "n_faces": 23, "n_edges": 68, "n_vertices": 44}, "dimensions": {"lines": ["Rectangular body, 115 \u00d7 82.3 \u00d7 8 mm (W\u00d7D\u00d7H).", "Four \u00d86.4 mm countersunk holes (82\u00b0) at the corners, 80.5 \u00d7 57.61 mm spacing.", "Chamfer 3.9 mm on vertical edges.", "Pocket 79 \u00d7 47.9 mm, 2.9 mm deep, in top face."], "text": "Rectangular body, 115 \u00d7 82.3 \u00d7 8 mm (W\u00d7D\u00d7H). Four \u00d86.4 mm countersunk holes (82\u00b0) at the corners, 80.5 \u00d7 57.61 mm spacing. Chamfer 3.9 mm on vertical edges. Pocket 79 \u00d7 47.9 mm, 2.9 mm deep, in top face."}, "params": {"plate_w": {"type": "float", "default": 115, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 82.3, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "cs_angle": {"type": "float", "default": 82.0, "min": 60.0, "max": 120.0, "step": 15.0, "group": "Holes", "label": "Countersink angle (\u00b0)"}, "chamfer_d": {"type": "float", "default": 3.9, "min": 2.7, "max": 4.5, "step": 0.5, "group": "Body", "label": "Chamfer distance (mm)"}, "chamfered": {"type": "bool", "default": true, "group": "Body", "label": "Chamfer edges"}, "pocket_w": {"type": "float", "default": 79.0, "min": 39.5, "max": 92.0, "step": 1.0, "group": "Pocket", "label": "Pocket width (mm)"}, "pocket_d": {"type": "float", "default": 47.9, "min": 23.9, "max": 65.8, "step": 1.0, "group": "Pocket", "label": "Pocket depth (mm)"}, "pocket_h": {"type": "float", "default": 2.9, "min": 1.2, "max": 6.8, "step": 0.5, "group": "Pocket", "label": "Pocket height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330844 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 115, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 82.3, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"cs_angle\": {\"type\": 'float', \"default\": 82.0, \"min\": 60.0, \"max\": 120.0, \"step\": 15.0, \"group\": 'Holes', \"label\": 'Countersink angle (\u00b0)'},\n    \"chamfer_d\": {\"type\": 'float', \"default\": 3.9, \"min\": 2.7, \"max\": 4.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Chamfer distance (mm)'},\n    \"chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Chamfer edges'},\n    \"pocket_w\": {\"type\": 'float', \"default\": 79.0, \"min\": 39.5, \"max\": 92.0, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket width (mm)'},\n    \"pocket_d\": {\"type\": 'float', \"default\": 47.9, \"min\": 23.9, \"max\": 65.8, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket depth (mm)'},\n    \"pocket_h\": {\"type\": 'float', \"default\": 2.9, \"min\": 1.2, \"max\": 6.8, \"step\": 0.5, \"group\": 'Pocket', \"label\": 'Pocket height (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().cskHole(p[\"hole_d\"], p[\"hole_d\"] * 2, p[\"cs_angle\"])\n    )\n    if p[\"chamfered\"]:\n        result = result.edges('|Z').chamfer(p[\"chamfer_d\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"pocket_w\"], p[\"pocket_d\"])\n        .cutBlind(-p[\"pocket_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462ca49d_2281", "family": "flanged", "tier": 1, "seed": 1177330845, "symmetry": "none", "op_count": 2, "ir_hash": "4430d651de2da312", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 736000.0, "surface_area": 96100.0, "principal_moments": [1720000000.0, 1720000000.0, 1920000000.0], "n_faces": 12, "n_edges": 27, "n_vertices": 18}, "dimensions": {"lines": ["Revolved body, \u00d881.6 mm \u00d7 103 mm tall with \u00d831.8 mm bore, \u00d8188.9 mm \u00d7 12.3 mm flange.", "Six \u00d84.3 mm holes on a \u00d8113.4 mm bolt circle."], "text": "Revolved body, \u00d881.6 mm \u00d7 103 mm tall with \u00d831.8 mm bore, \u00d8188.9 mm \u00d7 12.3 mm flange. Six \u00d84.3 mm holes on a \u00d8113.4 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 81.6, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 103.0, "min": 30.9, "max": 257.5, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 31.8, "min": 2.0, "max": 57.1, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 188.9, "min": 106.1, "max": 244.8, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 12.3, "min": 3.7, "max": 41.2, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 56.7, "min": 37.8, "max": 85.0, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 6, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330845 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 81.6, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 103.0, \"min\": 30.9, \"max\": 257.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 31.8, \"min\": 2.0, \"max\": 57.1, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 188.9, \"min\": 106.1, \"max\": 244.8, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 12.3, \"min\": 3.7, \"max\": 41.2, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 56.7, \"min\": 37.8, \"max\": 85.0, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca49e_2282", "family": "plate", "tier": 0, "seed": 1177330846, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "0946f543d9094130", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 1830.0, "surface_area": 1150.0, "principal_moments": [26500.0, 141000.0, 160000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 30 \u00d7 12.2 \u00d7 5 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 30 \u00d7 12.2 \u00d7 5 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 30, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 12.2, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 5.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330846 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 30, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 12.2, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 5.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca49f_2283", "family": "revolved", "tier": 1, "seed": 1177330847, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "011787a6fbe786ff", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 47100.0, "surface_area": 13600.0, "principal_moments": [11300000.0, 21800000.0, 21800000.0], "n_faces": 4, "n_edges": 6, "n_vertices": 4}, "dimensions": {"lines": ["Revolved body, \u00d837.8 mm \u00d7 64.1 mm tall with \u00d822.2 mm bore."], "text": "Revolved body, \u00d837.8 mm \u00d7 64.1 mm tall with \u00d822.2 mm bore."}, "params": {"outer_d": {"type": "float", "default": 37.8, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 64.1, "min": 19.2, "max": 192.3, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 22.2, "min": 2.0, "max": 26.5, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330847 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 37.8, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 64.1, \"min\": 19.2, \"max\": 192.3, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 22.2, \"min\": 2.0, \"max\": 26.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca4a0_2284", "family": "bracket", "tier": 1, "seed": 1177330848, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "cfc4e93b956301a2", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 22700.0, "surface_area": 9430.0, "principal_moments": [5370000.0, 11100000.0, 11899999.999999998], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["L-bracket: base leg 50 mm, vertical leg 52.1 mm, 40 mm wide, 6 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."], "text": "L-bracket: base leg 50 mm, vertical leg 52.1 mm, 40 mm wide, 6 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 50, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 52.1, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 40, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 6.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330848 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 50, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 52.1, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 40, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462ca4a1_2285", "family": "sketched", "tier": 0, "seed": 1177330849, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "f6976c5a09d3ddf5", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 19900.0, "surface_area": 5180.0, "principal_moments": [1400000.0, 7620000.0, 7620000.0], "n_faces": 8, "n_edges": 13, "n_vertices": 7}, "dimensions": {"lines": ["Revolved organic body from a freeform sketched section (8 segments: 4 straight, 4 arcs), ~15.077 \u00d7 65 mm half-silhouette."], "text": "Revolved organic body from a freeform sketched section (8 segments: 4 straight, 4 arcs), ~15.077 \u00d7 65 mm half-silhouette."}, "params": {"sk_r": {"type": "float", "default": 18.5, "min": 9.2, "max": 33.3, "step": 1.0, "group": "Sketch", "label": "Max radius (mm)"}, "sk_h": {"type": "float", "default": 65, "min": 32.5, "max": 117.0, "step": 1.0, "group": "Sketch", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330849 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_r\": {\"type\": 'float', \"default\": 18.5, \"min\": 9.2, \"max\": 33.3, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Max radius (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 65, \"min\": 32.5, \"max\": 117.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XZ').moveTo(p[\"sk_r\"] * 0.3156, p[\"sk_h\"] * 0.0).threePointArc((p[\"sk_r\"] * 0.5213, p[\"sk_h\"] * 0.0907), (p[\"sk_r\"] * 0.7738, p[\"sk_h\"] * 0.1814)).lineTo(p[\"sk_r\"] * 0.2486, p[\"sk_h\"] * 0.3443).threePointArc((p[\"sk_r\"] * 0.3618, p[\"sk_h\"] * 0.4902), (p[\"sk_r\"] * 0.5219, p[\"sk_h\"] * 0.6361)).lineTo(p[\"sk_r\"] * 0.815, p[\"sk_h\"] * 0.7307).threePointArc((p[\"sk_r\"] * 0.9304, p[\"sk_h\"] * 0.747), (p[\"sk_r\"] * 0.8083, p[\"sk_h\"] * 0.7633)).threePointArc((p[\"sk_r\"] * 0.515, p[\"sk_h\"] * 0.8817), (p[\"sk_r\"] * 0.2746, p[\"sk_h\"] * 1.0)).lineTo(p[\"sk_r\"] * 0.0, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.0, p[\"sk_h\"] * 0.0).close().revolve())\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462ca4a2_2286", "family": "swept", "tier": 0, "seed": 1177330850, "symmetry": "none", "op_count": 1, "ir_hash": "95ffbf3098cf7639", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 8020.0, "surface_area": 3360.0, "principal_moments": [265000.0, 3970000.0, 4030000.0], "n_faces": 3, "n_edges": 3, "n_vertices": 2}, "dimensions": {"lines": ["\u00d814.3 mm circular section swept along a curved path, ~65 mm span."], "text": "\u00d814.3 mm circular section swept along a curved path, ~65 mm span."}, "params": {"path_w": {"type": "float", "default": 54.07, "min": 27.0, "max": 97.3, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 65, "min": 32.5, "max": 117.0, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_d": {"type": "float", "default": 14.3, "min": 7.2, "max": 25.7, "step": 1.0, "group": "Section", "label": "Section diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330850 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 54.07, \"min\": 27.0, \"max\": 97.3, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 65, \"min\": 32.5, \"max\": 117.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_d\": {\"type\": 'float', \"default\": 14.3, \"min\": 7.2, \"max\": 25.7, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.1754, p[\"path_h\"] * 0.4279), (p[\"path_w\"] * 0.2535, p[\"path_h\"] * 0.8848), (p[\"path_w\"] * 0.5956, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').circle(p[\"sweep_d\"] / 2).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca4a3_2287", "family": "plate", "tier": 3, "seed": 1177330851, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "f8ff67d01b1a14e0", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 9250.0, "surface_area": 6510.0, "principal_moments": [708000.0, 5960000.0, 6630000.0], "n_faces": 27, "n_edges": 72, "n_vertices": 48}, "dimensions": {"lines": ["Rectangular body, 85 \u00d7 28.7 \u00d7 5 mm (W\u00d7D\u00d7H).", "Four 7.7 mm square holes at the corners, 59.5 \u00d7 20.09 mm spacing.", "Pocket 48.6 \u00d7 12.5 mm, 2.9 mm deep, in top face."], "text": "Rectangular body, 85 \u00d7 28.7 \u00d7 5 mm (W\u00d7D\u00d7H). Four 7.7 mm square holes at the corners, 59.5 \u00d7 20.09 mm spacing. Pocket 48.6 \u00d7 12.5 mm, 2.9 mm deep, in top face."}, "params": {"plate_w": {"type": "float", "default": 85, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 28.7, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 5.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 7.7, "min": 2.0, "max": 8.4, "step": 0.5, "group": "Holes", "label": "Square hole size (mm)"}, "pocket_w": {"type": "float", "default": 48.6, "min": 24.3, "max": 68.0, "step": 1.0, "group": "Pocket", "label": "Pocket width (mm)"}, "pocket_d": {"type": "float", "default": 12.5, "min": 6.2, "max": 23.0, "step": 1.0, "group": "Pocket", "label": "Pocket depth (mm)"}, "pocket_h": {"type": "float", "default": 2.9, "min": 1.2, "max": 4.2, "step": 0.5, "group": "Pocket", "label": "Pocket height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330851 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 85, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 28.7, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 5.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 7.7, \"min\": 2.0, \"max\": 8.4, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Square hole size (mm)'},\n    \"pocket_w\": {\"type\": 'float', \"default\": 48.6, \"min\": 24.3, \"max\": 68.0, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket width (mm)'},\n    \"pocket_d\": {\"type\": 'float', \"default\": 12.5, \"min\": 6.2, \"max\": 23.0, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket depth (mm)'},\n    \"pocket_h\": {\"type\": 'float', \"default\": 2.9, \"min\": 1.2, \"max\": 4.2, \"step\": 0.5, \"group\": 'Pocket', \"label\": 'Pocket height (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().rect(p[\"hole_d\"], p[\"hole_d\"]).cutThruAll()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"pocket_w\"], p[\"pocket_d\"])\n        .cutBlind(-p[\"pocket_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca4a4_2288", "family": "revolved", "tier": 0, "seed": 1177330852, "symmetry": "radial", "op_count": 1, "ir_hash": "95bb61268dc4fe5f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 84200.0, "surface_area": 17000.0, "principal_moments": [34300000.0, 34300000.0, 34900000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d852.6 mm \u00d7 58.1 mm tall."], "text": "Revolved body, \u00d852.6 mm \u00d7 58.1 mm tall."}, "params": {"outer_d": {"type": "float", "default": 52.6, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 58.1, "min": 17.4, "max": 174.3, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330852 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 52.6, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 58.1, \"min\": 17.4, \"max\": 174.3, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462ca4a5_2289", "family": "sketched", "tier": 1, "seed": 1177330853, "symmetry": "none", "op_count": 1, "ir_hash": "ec3886e05202aca2", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 40600.0, "surface_area": 7290.0, "principal_moments": [7350000.0, 7350000.0, 8580000.0], "n_faces": 7, "n_edges": 11, "n_vertices": 6}, "dimensions": {"lines": ["Revolved organic body from a freeform sketched section (7 segments: 3 straight, 2 arcs, 2 curves), ~23.85 \u00d7 35 mm half-silhouette."], "text": "Revolved organic body from a freeform sketched section (7 segments: 3 straight, 2 arcs, 2 curves), ~23.85 \u00d7 35 mm half-silhouette."}, "params": {"sk_r": {"type": "float", "default": 32.13, "min": 16.1, "max": 57.8, "step": 1.0, "group": "Sketch", "label": "Max radius (mm)"}, "sk_h": {"type": "float", "default": 35, "min": 17.5, "max": 63.0, "step": 1.0, "group": "Sketch", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330853 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_r\": {\"type\": 'float', \"default\": 32.13, \"min\": 16.1, \"max\": 57.8, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Max radius (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 35, \"min\": 17.5, \"max\": 63.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XZ').moveTo(p[\"sk_r\"] * 0.4528, p[\"sk_h\"] * 0.0).bezier([(p[\"sk_r\"] * 0.4528, p[\"sk_h\"] * 0.0), (p[\"sk_r\"] * 0.3133, p[\"sk_h\"] * 0.0804), (p[\"sk_r\"] * 0.4093, p[\"sk_h\"] * 0.1608)]).threePointArc((p[\"sk_r\"] * 0.4521, p[\"sk_h\"] * 0.2602), (p[\"sk_r\"] * 0.7194, p[\"sk_h\"] * 0.3596)).threePointArc((p[\"sk_r\"] * 0.7126, p[\"sk_h\"] * 0.4789), (p[\"sk_r\"] * 0.7423, p[\"sk_h\"] * 0.5981)).lineTo(p[\"sk_r\"] * 0.6561, p[\"sk_h\"] * 0.6013).bezier([(p[\"sk_r\"] * 0.6561, p[\"sk_h\"] * 0.6013), (p[\"sk_r\"] * 0.6832, p[\"sk_h\"] * 0.8007), (p[\"sk_r\"] * 0.5862, p[\"sk_h\"] * 1.0)]).lineTo(p[\"sk_r\"] * 0.0, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.0, p[\"sk_h\"] * 0.0).close().revolve())\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462ca4a6_2290", "family": "enclosure", "tier": 2, "seed": 1177330854, "symmetry": "mirror_xy", "op_count": 4, "ir_hash": "d975e3f9bd32d3b8", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 78200.0, "surface_area": 48400.0, "principal_moments": [82100000.0, 120000000.0, 151000000.0], "n_faces": 23, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 98.07 \u00d7 71.8 \u00d7 56 mm (W\u00d7D\u00d7H).", "Hollowed to 3.3 mm wall thickness, open at top face.", "Four \u00d813 mm holes at the corners, 68.649 \u00d7 50.26 mm spacing.", "Fillet radius 3.699 mm on vertical edges."], "text": "Rectangular body, 98.07 \u00d7 71.8 \u00d7 56 mm (W\u00d7D\u00d7H). Hollowed to 3.3 mm wall thickness, open at top face. Four \u00d813 mm holes at the corners, 68.649 \u00d7 50.26 mm spacing. Fillet radius 3.699 mm on vertical edges."}, "params": {"enc_w": {"type": "float", "default": 98.07, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 71.8, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 56.0, "min": 22.4, "max": 112.0, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 3.3, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}, "hole_d": {"type": "float", "default": 13.0, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330854 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 98.07, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 71.8, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 56.0, \"min\": 22.4, \"max\": 112.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 3.3, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 13.0, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"enc_w\"] * 0.7, p[\"enc_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"enc_w\"], p[\"enc_d\"]) * 0.05152048439545925)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462ca4a7_2291", "family": "flanged", "tier": 1, "seed": 1177330855, "symmetry": "radial", "op_count": 2, "ir_hash": "cb27791fd9e4890b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 193000.0, "surface_area": 44400.0, "principal_moments": [200000000.0, 200000000.0, 260000000.0], "n_faces": 14, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["Revolved body, \u00d855 mm \u00d7 61.5 mm tall with \u00d826.4 mm bore, \u00d8131.8 mm \u00d7 7.4 mm flange.", "Eight \u00d88.4 mm holes on a \u00d879 mm bolt circle."], "text": "Revolved body, \u00d855 mm \u00d7 61.5 mm tall with \u00d826.4 mm bore, \u00d8131.8 mm \u00d7 7.4 mm flange. Eight \u00d88.4 mm holes on a \u00d879 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 55, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 61.5, "min": 18.4, "max": 153.8, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 26.4, "min": 2.0, "max": 38.5, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 131.8, "min": 71.5, "max": 165.0, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 7.4, "min": 2.2, "max": 24.6, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 8.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 39.5, "min": 26.4, "max": 59.3, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 8, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330855 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 55, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 61.5, \"min\": 18.4, \"max\": 153.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 26.4, \"min\": 2.0, \"max\": 38.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 131.8, \"min\": 71.5, \"max\": 165.0, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 7.4, \"min\": 2.2, \"max\": 24.6, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 39.5, \"min\": 26.4, \"max\": 59.3, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462ca4a8_2292", "family": "ribbed", "tier": 1, "seed": 1177330856, "symmetry": "none", "op_count": 2, "ir_hash": "8f4d56edf066f9c7", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 18500.0, "surface_area": 12700.0, "principal_moments": [5490000.0, 10900000.0, 16199999.999999998], "n_faces": 30, "n_edges": 72, "n_vertices": 44}, "dimensions": {"lines": ["Rectangular body, 80.77 \u00d7 57.3 \u00d7 3 mm (W\u00d7D\u00d7H).", "Three ribs, 4.1 mm thick, 5.8 mm tall."], "text": "Rectangular body, 80.77 \u00d7 57.3 \u00d7 3 mm (W\u00d7D\u00d7H). Three ribs, 4.1 mm thick, 5.8 mm tall."}, "params": {"base_w": {"type": "float", "default": 80.77, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 57.3, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 3.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 3, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 5.8, "min": 2.3, "max": 11.6, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 4.1, "min": 1.0, "max": 10.2, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330856 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 80.77, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 57.3, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 3, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 5.8, \"min\": 2.3, \"max\": 11.6, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 4.1, \"min\": 1.0, \"max\": 10.2, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462ca4a9_2293", "family": "profiled", "tier": 0, "seed": 1177330857, "symmetry": "none", "op_count": 1, "ir_hash": "72a8754b0aeb2129", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 60400.0, "surface_area": 13200.0, "principal_moments": [3200000.0, 181000000.0, 182000000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["freeform sketched section (4 segments: 2 arcs, 2 curves), ~19.746 \u00d7 24.31 mm, extruded 189 mm thick."], "text": "freeform sketched section (4 segments: 2 arcs, 2 curves), ~19.746 \u00d7 24.31 mm, extruded 189 mm thick."}, "params": {"sk_w": {"type": "float", "default": 30, "min": 15.0, "max": 54.0, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 28.36, "min": 14.2, "max": 51.0, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "length": {"type": "float", "default": 189.0, "min": 56.7, "max": 567.0, "step": 5.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330857 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 30, \"min\": 15.0, \"max\": 54.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 28.36, \"min\": 14.2, \"max\": 51.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 189.0, \"min\": 56.7, \"max\": 567.0, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.3228, p[\"sk_h\"] * 0.1659).threePointArc((p[\"sk_w\"] * 0.2028, p[\"sk_h\"] * 0.2983), (p[\"sk_w\"] * 0.0613, p[\"sk_h\"] * 0.3911)).spline([(p[\"sk_w\"] * 0.0613, p[\"sk_h\"] * 0.3911), (p[\"sk_w\"] * -0.1995, p[\"sk_h\"] * 0.237), (p[\"sk_w\"] * -0.3354, p[\"sk_h\"] * -0.0337)]).bezier([(p[\"sk_w\"] * -0.3354, p[\"sk_h\"] * -0.0337), (p[\"sk_w\"] * -0.1243, p[\"sk_h\"] * -0.2827), (p[\"sk_w\"] * 0.1459, p[\"sk_h\"] * -0.4661)]).threePointArc((p[\"sk_w\"] * 0.3032, p[\"sk_h\"] * -0.2111), (p[\"sk_w\"] * 0.3228, p[\"sk_h\"] * 0.1659)).close().extrude(p[\"length\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462ca4aa_2294", "family": "lofted", "tier": 3, "seed": 1177330858, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "4515de48dc577514", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 16800.0, "surface_area": 4740.0, "principal_moments": [2080000.0, 2080000.0, 2200000.0], "n_faces": 9, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["Lofted body through 3 sections: 6-sided polygon section, 40 mm across corners \u2192 \u00d828.9 mm circular section \u2192 \u00d817.8 mm circular section.", "One \u00d89.5 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 3 sections: 6-sided polygon section, 40 mm across corners \u2192 \u00d828.9 mm circular section \u2192 \u00d817.8 mm circular section. One \u00d89.5 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 40, "min": 20.0, "max": 64.0, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 17.8, "min": 7.1, "max": 48.0, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 29.0, "min": 11.6, "max": 58.0, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_mid": {"type": "float", "default": 28.9, "min": 8.9, "max": 48.0, "step": 1.0, "group": "Body", "label": "Mid size (mm)"}, "loft_bore_d": {"type": "float", "default": 9.5, "min": 2.0, "max": 14.2, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330858 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 40, \"min\": 20.0, \"max\": 64.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 17.8, \"min\": 7.1, \"max\": 48.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 29.0, \"min\": 11.6, \"max\": 58.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_mid\": {\"type\": 'float', \"default\": 28.9, \"min\": 8.9, \"max\": 48.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Mid size (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 9.5, \"min\": 2.0, \"max\": 14.2, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .polygon(6, p[\"loft_base\"] * 0.5 * 2)\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .circle(p[\"loft_mid\"] / 2)\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .circle(p[\"loft_top\"] / 2)\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca4ab_2295", "family": "block", "tier": 1, "seed": 1177330859, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "7f061efd36de41ca", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 153000.0, "surface_area": 22700.0, "principal_moments": [63499999.99999999, 99499999.99999999, 143000000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 65 \u00d7 28.5 \u00d7 83.8 mm (W\u00d7D\u00d7H).", "Four \u00d83.2 mm holes at the corners, 45.5 \u00d7 19.95 mm spacing."], "text": "Rectangular body, 65 \u00d7 28.5 \u00d7 83.8 mm (W\u00d7D\u00d7H). Four \u00d83.2 mm holes at the corners, 45.5 \u00d7 19.95 mm spacing."}, "params": {"block_w": {"type": "float", "default": 65, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 28.5, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 83.8, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 6.4, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330859 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 65, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 28.5, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 83.8, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 6.4, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca4ac_2296", "family": "bracket", "tier": 1, "seed": 1177330860, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "e06d60c70de56987", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 26700.0, "surface_area": 8680.0, "principal_moments": [5890000.0, 6580000.0, 11100000.0], "n_faces": 11, "n_edges": 27, "n_vertices": 18}, "dimensions": {"lines": ["Z-bracket: base leg 35 mm, vertical leg 25 mm, top leg 25.5 mm, 48.32 mm wide, 8 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."], "text": "Z-bracket: base leg 35 mm, vertical leg 25 mm, top leg 25.5 mm, 48.32 mm wide, 8 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 35, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 25.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 48.32, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 8.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 25.5, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330860 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 35, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 25.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 48.32, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 25.5, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca4ad_2297", "family": "revolved", "tier": 1, "seed": 1177330861, "symmetry": "radial", "op_count": 2, "ir_hash": "150cf0743526b568", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 178000.0, "surface_area": 36200.0, "principal_moments": [74500000.0, 316000000.0, 316000000.0], "n_faces": 8, "n_edges": 14, "n_vertices": 8}, "dimensions": {"lines": ["Revolved body, \u00d850 mm \u00d7 137.3 mm tall with \u00d829 mm bore.", "Chamfer 1.5 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d850 mm \u00d7 137.3 mm tall with \u00d829 mm bore. Chamfer 1.5 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 50, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 137.3, "min": 41.2, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 29.0, "min": 2.0, "max": 35.0, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "end_chamfer": {"type": "float", "default": 1.5, "min": 0.1, "max": 4.5, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330861 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 50, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 137.3, \"min\": 41.2, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 29.0, \"min\": 2.0, \"max\": 35.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 1.5, \"min\": 0.1, \"max\": 4.5, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462ca4ae_2298", "family": "flanged", "tier": 1, "seed": 1177330862, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "fe774b5529ae09f9", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 162000.0, "surface_area": 35600.0, "principal_moments": [135000000.0, 135000000.0, 230000000.0], "n_faces": 12, "n_edges": 27, "n_vertices": 18}, "dimensions": {"lines": ["Revolved body, \u00d855 mm \u00d7 38.9 mm tall with \u00d821.3 mm bore, \u00d8124.6 mm \u00d7 8.7 mm flange.", "Six \u00d86.4 mm holes on a \u00d874.8 mm bolt circle."], "text": "Revolved body, \u00d855 mm \u00d7 38.9 mm tall with \u00d821.3 mm bore, \u00d8124.6 mm \u00d7 8.7 mm flange. Six \u00d86.4 mm holes on a \u00d874.8 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 55, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 38.9, "min": 11.7, "max": 97.2, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 21.3, "min": 2.0, "max": 38.5, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 124.6, "min": 71.5, "max": 165.0, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 8.7, "min": 2.6, "max": 15.6, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 37.4, "min": 24.9, "max": 56.1, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 6, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330862 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 55, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 38.9, \"min\": 11.7, \"max\": 97.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 21.3, \"min\": 2.0, \"max\": 38.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 124.6, \"min\": 71.5, \"max\": 165.0, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 8.7, \"min\": 2.6, \"max\": 15.6, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 37.4, \"min\": 24.9, \"max\": 56.1, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462ca4af_2299", "family": "enclosure", "tier": 2, "seed": 1177330863, "symmetry": "none", "op_count": 3, "ir_hash": "4c12189e595606e7", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 26700.0, "surface_area": 13100.0, "principal_moments": [6180000.0, 8800000.0, 10800000.0], "n_faces": 19, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 48.63 \u00d7 25.3 \u00d7 40.4 mm (W\u00d7D\u00d7H).", "Hollowed to 4.8 mm wall thickness, open at top face.", "Four \u00d83.2 mm holes at the corners, 34.041 \u00d7 17.71 mm spacing."], "text": "Rectangular body, 48.63 \u00d7 25.3 \u00d7 40.4 mm (W\u00d7D\u00d7H). Hollowed to 4.8 mm wall thickness, open at top face. Four \u00d83.2 mm holes at the corners, 34.041 \u00d7 17.71 mm spacing."}, "params": {"enc_w": {"type": "float", "default": 48.63, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 25.3, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 40.4, "min": 16.2, "max": 80.8, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 4.8, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 5.7, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330863 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 48.63, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 25.3, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 40.4, \"min\": 16.2, \"max\": 80.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 4.8, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 5.7, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"enc_w\"] * 0.7, p[\"enc_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca4b0_2300", "family": "block", "tier": 3, "seed": 1177330864, "symmetry": "none", "op_count": 6, "ir_hash": "63c3b5ca904a1bf8", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 88700.0, "surface_area": 22100.0, "principal_moments": [24499999.999999996, 62499999.99999999, 78800000.0], "n_faces": 26, "n_edges": 73, "n_vertices": 48}, "dimensions": {"lines": ["Rectangular body, 50 \u00d7 22.1 \u00d7 92.6 mm (W\u00d7D\u00d7H).", "Seven \u00d82 mm holes in two staggered rows, 12.5 \u00d7 10 mm pitch.", "Pocket 24.6 \u00d7 15.3 mm, 33.2 mm deep, in top face.", "Fillet radius 0.998 mm on vertical edges (optional, off by default).", "One \u00d83.2 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch, angled 20.8\u00b0 on the >Y face.", "\u00d89.3 mm circular section attachment, 14.1 mm long, from front face with a \u00d83.8 mm bore."], "text": "Rectangular body, 50 \u00d7 22.1 \u00d7 92.6 mm (W\u00d7D\u00d7H). Seven \u00d82 mm holes in two staggered rows, 12.5 \u00d7 10 mm pitch. Pocket 24.6 \u00d7 15.3 mm, 33.2 mm deep, in top face. Fillet radius 0.998 mm on vertical edges (optional, off by default). One \u00d83.2 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch, angled 20.8\u00b0 on the >Y face. \u00d89.3 mm circular section attachment, 14.1 mm long, from front face with a \u00d83.8 mm bore."}, "params": {"block_w": {"type": "float", "default": 50, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 22.1, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 92.6, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 2.0, "min": 2.0, "max": 2.2, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 4, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}, "pocket_w": {"type": "float", "default": 24.6, "min": 12.3, "max": 40.0, "step": 1.0, "group": "Pocket", "label": "Pocket width (mm)"}, "pocket_d": {"type": "float", "default": 15.3, "min": 7.7, "max": 17.7, "step": 1.0, "group": "Pocket", "label": "Pocket depth (mm)"}, "pocket_h": {"type": "float", "default": 33.2, "min": 13.3, "max": 78.7, "step": 0.5, "group": "Pocket", "label": "Pocket height (mm)"}, "filleted2": {"type": "bool", "default": false, "group": "Body", "label": "Fillet corners"}, "face_hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 5.8, "step": 0.5, "group": "Holes", "label": "Side hole diameter (mm)"}, "face_hole_tilt": {"type": "float", "default": 20.8, "min": 0.0, "max": 30.0, "step": 1.0, "group": "Holes", "label": "Side hole angle (deg)"}, "side_tube_d": {"type": "float", "default": 9.3, "min": 3.7, "max": 25.0, "step": 1.0, "group": "Side Tube", "label": "Side tube diameter (mm)"}, "side_tube_len": {"type": "float", "default": 14.1, "min": 4.2, "max": 27.9, "step": 1.0, "group": "Side Tube", "label": "Side tube length (mm)"}, "side_bore_d": {"type": "float", "default": 3.8, "min": 2.0, "max": 7.0, "step": 0.5, "group": "Side Tube", "label": "Side bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330864 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 50, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 22.1, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 92.6, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 2.0, \"min\": 2.0, \"max\": 2.2, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 4, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n    \"pocket_w\": {\"type\": 'float', \"default\": 24.6, \"min\": 12.3, \"max\": 40.0, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket width (mm)'},\n    \"pocket_d\": {\"type\": 'float', \"default\": 15.3, \"min\": 7.7, \"max\": 17.7, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket depth (mm)'},\n    \"pocket_h\": {\"type\": 'float', \"default\": 33.2, \"min\": 13.3, \"max\": 78.7, \"step\": 0.5, \"group\": 'Pocket', \"label\": 'Pocket height (mm)'},\n    \"filleted2\": {\"type\": 'bool', \"default\": False, \"group\": 'Body', \"label\": 'Fillet corners'},\n    \"face_hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 5.8, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Side hole diameter (mm)'},\n    \"face_hole_tilt\": {\"type\": 'float', \"default\": 20.8, \"min\": 0.0, \"max\": 30.0, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Side hole angle (deg)'},\n    \"side_tube_d\": {\"type\": 'float', \"default\": 9.3, \"min\": 3.7, \"max\": 25.0, \"step\": 1.0, \"group\": 'Side Tube', \"label\": 'Side tube diameter (mm)'},\n    \"side_tube_len\": {\"type\": 'float', \"default\": 14.1, \"min\": 4.2, \"max\": 27.9, \"step\": 1.0, \"group\": 'Side Tube', \"label\": 'Side tube length (mm)'},\n    \"side_bore_d\": {\"type\": 'float', \"default\": 3.8, \"min\": 2.0, \"max\": 7.0, \"step\": 0.5, \"group\": 'Side Tube', \"label\": 'Side bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 12.5\n    _ssy = 10.0\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"pocket_w\"], p[\"pocket_d\"])\n        .cutBlind(-p[\"pocket_h\"])\n    )\n    if p[\"filleted2\"]:\n        result = result.edges('|Z').fillet(min(p[\"block_w\"], p[\"block_d\"]) * 0.04516924143427265)\n    result = (\n        result.faces('>Y').workplane().transformed(rotate=(p[\"face_hole_tilt\"], 0, 0))\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"face_hole_d\"])\n    )\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"side_tube_d\"] / 2).extrude(p[\"side_tube_len\"])\n    )\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"side_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462ca4b1_2301", "family": "threaded", "tier": 1, "seed": 1177330865, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "9512da081769233a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 193.0, "surface_area": 365.0, "principal_moments": [316.0, 6020.0, 6020.0], "n_faces": 280, "n_edges": 718, "n_vertices": 440}, "dimensions": {"lines": ["M4x0.7 external thread, 19.2 mm long."], "text": "M4x0.7 external thread, 19.2 mm long."}, "params": {"major_d": {"type": "float", "default": 4.0, "min": 4.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Major diameter (mm)"}, "pitch": {"type": "float", "default": 0.7, "min": 0.35, "max": 1.4, "step": 0.05, "group": "Thread", "label": "Pitch (mm)"}, "thread_len": {"type": "float", "default": 19.2, "min": 7.7, "max": 38.4, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330865 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 4.0, \"min\": 4.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Major diameter (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 0.7, \"min\": 0.35, \"max\": 1.4, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Pitch (mm)'},\n    \"thread_len\": {\"type\": 'float', \"default\": 19.2, \"min\": 7.7, \"max\": 38.4, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.IsoThread(major_diameter=p[\"major_d\"], pitch=p[\"pitch\"], length=p[\"thread_len\"], external=True, end_finishes=(\"fade\", \"fade\"))\n    _r = _thr.min_radius if hasattr(_thr, 'min_radius') else _thr.root_radius\n    _shank = _bd.Cylinder(radius=_r, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = _shank + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462ca4b2_2302", "family": "lofted", "tier": 2, "seed": 1177330866, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "4815ab73cc7a5bd8", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 19000.0, "surface_area": 5460.0, "principal_moments": [2510000.0, 2510000.0, 3680000.0], "n_faces": 9, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["Lofted body through 3 sections: \u00d847.15 mm circular section \u2192 \u00d832.3 mm circular section \u2192 6-sided polygon section, 17.5 mm across corners.", "One \u00d810.5 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 3 sections: \u00d847.15 mm circular section \u2192 \u00d832.3 mm circular section \u2192 6-sided polygon section, 17.5 mm across corners. One \u00d810.5 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 47.15, "min": 23.6, "max": 75.4, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 17.5, "min": 7.0, "max": 56.6, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 24.2, "min": 9.7, "max": 48.4, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_mid": {"type": "float", "default": 32.3, "min": 8.8, "max": 56.6, "step": 1.0, "group": "Body", "label": "Mid size (mm)"}, "loft_bore_d": {"type": "float", "default": 10.5, "min": 2.0, "max": 14.0, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330866 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 47.15, \"min\": 23.6, \"max\": 75.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 17.5, \"min\": 7.0, \"max\": 56.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 24.2, \"min\": 9.7, \"max\": 48.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_mid\": {\"type\": 'float', \"default\": 32.3, \"min\": 8.8, \"max\": 56.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Mid size (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 10.5, \"min\": 2.0, \"max\": 14.0, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .circle(p[\"loft_base\"] / 2)\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .circle(p[\"loft_mid\"] / 2)\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .polygon(6, p[\"loft_top\"] * 0.5 * 2)\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462ca4b3_2303", "family": "enclosure", "tier": 2, "seed": 1177330867, "symmetry": "mirror_xy", "op_count": 4, "ir_hash": "4dfd5431cee9907d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 101000.0, "surface_area": 40300.0, "principal_moments": [68400000.0, 159000000.0, 183000000.0], "n_faces": 35, "n_edges": 108, "n_vertices": 72}, "dimensions": {"lines": ["Rectangular body, 110 \u00d7 58.4 \u00d7 46.8 mm (W\u00d7D\u00d7H).", "Hollowed to 5.4 mm wall thickness, open at top face.", "Four \u00d810.5 mm holes at the corners, 77 \u00d7 40.88 mm spacing.", "Fillet radius 4.066 mm on vertical edges."], "text": "Rectangular body, 110 \u00d7 58.4 \u00d7 46.8 mm (W\u00d7D\u00d7H). Hollowed to 5.4 mm wall thickness, open at top face. Four \u00d810.5 mm holes at the corners, 77 \u00d7 40.88 mm spacing. Fillet radius 4.066 mm on vertical edges."}, "params": {"enc_w": {"type": "float", "default": 110, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 58.4, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 46.8, "min": 18.7, "max": 93.6, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 5.4, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}, "hole_d": {"type": "float", "default": 10.5, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330867 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 110, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 58.4, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 46.8, \"min\": 18.7, \"max\": 93.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 5.4, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 10.5, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"enc_w\"] * 0.7, p[\"enc_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"enc_w\"], p[\"enc_d\"]) * 0.06961728298419895)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462ca4b4_2304", "family": "gear", "tier": 1, "seed": 1177330868, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "39692edc2661c6f6", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 1470.0, "surface_area": 1270.0, "principal_moments": [42500.0, 42500.0, 78800.0], "n_faces": 99, "n_edges": 291, "n_vertices": 194}, "dimensions": {"lines": ["Spur gear, module 1.25 mm, 16 teeth (pitch \u00d820 mm), face width 5 mm, \u00d83.9 mm bore."], "text": "Spur gear, module 1.25 mm, 16 teeth (pitch \u00d820 mm), face width 5 mm, \u00d83.9 mm bore."}, "params": {"module": {"type": "float", "default": 1.25, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 16, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 5.0, "min": 2.0, "max": 12.5, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "bore_d": {"type": "float", "default": 3.9, "min": 2.0, "max": 10.1, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330868 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 1.25, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 16, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 5.0, \"min\": 2.0, \"max\": 12.5, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 3.9, \"min\": 2.0, \"max\": 10.1, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462ca4b5_2305", "family": "sketched", "tier": 0, "seed": 1177330869, "symmetry": "none", "op_count": 1, "ir_hash": "b10de7cae59b7162", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 17000.0, "surface_area": 6980.0, "principal_moments": [2080000.0, 2080000.0, 2150000.0], "n_faces": 8, "n_edges": 13, "n_vertices": 7}, "dimensions": {"lines": ["Revolved organic body from a freeform sketched section (8 segments: 5 straight, 2 arcs, 1 curve), ~21.562 \u00d7 35 mm half-silhouette."], "text": "Revolved organic body from a freeform sketched section (8 segments: 5 straight, 2 arcs, 1 curve), ~21.562 \u00d7 35 mm half-silhouette."}, "params": {"sk_r": {"type": "float", "default": 25, "min": 12.5, "max": 45.0, "step": 1.0, "group": "Sketch", "label": "Max radius (mm)"}, "sk_h": {"type": "float", "default": 35, "min": 17.5, "max": 63.0, "step": 1.0, "group": "Sketch", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330869 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_r\": {\"type\": 'float', \"default\": 25, \"min\": 12.5, \"max\": 45.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Max radius (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 35, \"min\": 17.5, \"max\": 63.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XZ').moveTo(p[\"sk_r\"] * 0.1323, p[\"sk_h\"] * 0.0).lineTo(p[\"sk_r\"] * 0.4691, p[\"sk_h\"] * 0.3826).lineTo(p[\"sk_r\"] * 0.8625, p[\"sk_h\"] * 0.6791).lineTo(p[\"sk_r\"] * 0.1675, p[\"sk_h\"] * 0.7429).threePointArc((p[\"sk_r\"] * 0.32, p[\"sk_h\"] * 0.764), (p[\"sk_r\"] * 0.4687, p[\"sk_h\"] * 0.7851)).threePointArc((p[\"sk_r\"] * 0.3642, p[\"sk_h\"] * 0.8083), (p[\"sk_r\"] * 0.1995, p[\"sk_h\"] * 0.8314)).bezier([(p[\"sk_r\"] * 0.1995, p[\"sk_h\"] * 0.8314), (p[\"sk_r\"] * 0.4252, p[\"sk_h\"] * 0.9157), (p[\"sk_r\"] * 0.8032, p[\"sk_h\"] * 1.0)]).lineTo(p[\"sk_r\"] * 0.0, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.0, p[\"sk_h\"] * 0.0).close().revolve())\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca4b6_2306", "family": "bracket", "tier": 1, "seed": 1177330870, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "0ab8060b0ae17570", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 44500.0, "surface_area": 14200.0, "principal_moments": [14499999.999999998, 26799999.999999996, 28699999.999999996], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["C-channel bracket: base leg 57.83 mm, vertical leg 39.3 mm, 46.77 mm wide, 8 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."], "text": "C-channel bracket: base leg 57.83 mm, vertical leg 39.3 mm, 46.77 mm wide, 8 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 57.83, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 39.3, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 46.77, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 8.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330870 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 57.83, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 39.3, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 46.77, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca4b7_2307", "family": "bracket", "tier": 1, "seed": 1177330871, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "29a137fc4cd5fec1", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 10700.0, "surface_area": 4760.0, "principal_moments": [1090000.0, 3010000.0, 3640000.0], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["C-channel bracket: base leg 45 mm, vertical leg 30.1 mm, 15.77 mm wide, 8 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."], "text": "C-channel bracket: base leg 45 mm, vertical leg 30.1 mm, 15.77 mm wide, 8 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 45, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 30.1, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 15.77, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 8.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 6.3, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330871 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 45, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 30.1, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 15.77, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 6.3, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462ca4b8_2308", "family": "tapped", "tier": 1, "seed": 1177330872, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "efbc4f001e0e7f3b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 54200.0, "surface_area": 14800.0, "principal_moments": [21400000.0, 29299999.999999996, 49799999.99999999], "n_faces": 342, "n_edges": 932, "n_vertices": 592}, "dimensions": {"lines": ["Four M6x1 tapped holes in a plate."], "text": "Four M6x1 tapped holes in a plate."}, "params": {"major_d": {"type": "float", "default": 6.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 1.0, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 10.1, "min": 7.2, "max": 18.2, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "plate_w": {"type": "float", "default": 80, "min": 48.0, "max": 128.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 68.2, "min": 40.9, "max": 109.1, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330872 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.0, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 10.1, \"min\": 7.2, \"max\": 18.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"plate_w\": {\"type\": 'float', \"default\": 80, \"min\": 48.0, \"max\": 128.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 68.2, \"min\": 40.9, \"max\": 109.1, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n}\n\n\ndef build(p):\n\n    _W, _D, _H = p[\"plate_w\"], p[\"plate_d\"], p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Box(_W, _D, _H)\n    _sx, _sy = p[\"plate_w\"] * 0.6, p[\"plate_d\"] * 0.6\n    _locs = [(_xx, _yy) for _xx in (-_sx / 2, _sx / 2) for _yy in (-_sy / 2, _sy / 2)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca4b9_2309", "family": "compound", "tier": 1, "seed": 1177330873, "symmetry": "none", "op_count": 2, "ir_hash": "ab54d54dd15485ba", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 194000.0, "surface_area": 25500.0, "principal_moments": [102000000.0, 133000000.0, 133000000.0], "n_faces": 15, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Lofted body through 2 sections: \u00d872.89 mm circular section \u2192 45.3 \u00d7 45.3 mm rectangular section.", "6-sided polygon section, 30 mm across corners attachment, 23.8 mm long, from top face with a \u00d815.6 mm bore."], "text": "Lofted body through 2 sections: \u00d872.89 mm circular section \u2192 45.3 \u00d7 45.3 mm rectangular section. 6-sided polygon section, 30 mm across corners attachment, 23.8 mm long, from top face with a \u00d815.6 mm bore."}, "params": {"adapter_base": {"type": "float", "default": 72.89, "min": 43.7, "max": 109.3, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "adapter_top": {"type": "float", "default": 45.3, "min": 22.6, "max": 72.9, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "adapter_h": {"type": "float", "default": 64.3, "min": 25.7, "max": 128.6, "step": 1.0, "group": "Body", "label": "Transition height (mm)"}, "neck_sides": {"type": "int", "default": 6, "min": 3, "max": 8, "step": 1, "group": "Neck", "label": "Neck sides"}, "neck_r": {"type": "float", "default": 15.0, "min": 7.5, "max": 22.6, "step": 1.0, "group": "Neck", "label": "Neck circumradius (mm)"}, "neck_l": {"type": "float", "default": 23.8, "min": 9.5, "max": 59.5, "step": 1.0, "group": "Neck", "label": "Neck length (mm)"}, "neck_bore": {"type": "float", "default": 15.6, "min": 2.0, "max": 18.7, "step": 0.5, "group": "Neck", "label": "Neck bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330873 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"adapter_base\": {\"type\": 'float', \"default\": 72.89, \"min\": 43.7, \"max\": 109.3, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"adapter_top\": {\"type\": 'float', \"default\": 45.3, \"min\": 22.6, \"max\": 72.9, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"adapter_h\": {\"type\": 'float', \"default\": 64.3, \"min\": 25.7, \"max\": 128.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Transition height (mm)'},\n    \"neck_sides\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Neck', \"label\": 'Neck sides'},\n    \"neck_r\": {\"type\": 'float', \"default\": 15.0, \"min\": 7.5, \"max\": 22.6, \"step\": 1.0, \"group\": 'Neck', \"label\": 'Neck circumradius (mm)'},\n    \"neck_l\": {\"type\": 'float', \"default\": 23.8, \"min\": 9.5, \"max\": 59.5, \"step\": 1.0, \"group\": 'Neck', \"label\": 'Neck length (mm)'},\n    \"neck_bore\": {\"type\": 'float', \"default\": 15.6, \"min\": 2.0, \"max\": 18.7, \"step\": 0.5, \"group\": 'Neck', \"label\": 'Neck bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .circle(p[\"adapter_base\"] / 2)\n        .workplane(offset=p[\"adapter_h\"])\n        .rect(p[\"adapter_top\"], p[\"adapter_top\"])\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"neck_sides\"], p[\"neck_r\"] * 2).extrude(p[\"neck_l\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"neck_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca4ba_2310", "family": "compound", "tier": 3, "seed": 1177330874, "symmetry": "mirror_x", "op_count": 7, "ir_hash": "1d98300749fe559b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 60200.0, "surface_area": 12800.0, "principal_moments": [11499999.999999998, 20400000.0, 22899999.999999996], "n_faces": 34, "n_edges": 84, "n_vertices": 54}, "dimensions": {"lines": ["Rectangular body, 55 \u00d7 36.6 \u00d7 30.2 mm (W\u00d7D\u00d7H).", "\u00d89 mm circular section attachment, 12.1 mm long, from front face with a \u00d84.6 mm bore.", "\u00d89 mm circular section attachment, 12.1 mm long, from left face with a \u00d84.6 mm bore.", "\u00d89 mm circular section attachment, 12.1 mm long, from right face with a \u00d84.6 mm bore.", "\u00d89 mm circular section attachment, 12.1 mm long, from back face with a \u00d84.6 mm bore.", "Four \u00d86.4 mm holes at the corners, 38.5 \u00d7 25.62 mm spacing.", "Fillet radius 1.782 mm on vertical edges."], "text": "Rectangular body, 55 \u00d7 36.6 \u00d7 30.2 mm (W\u00d7D\u00d7H). \u00d89 mm circular section attachment, 12.1 mm long, from front face with a \u00d84.6 mm bore. \u00d89 mm circular section attachment, 12.1 mm long, from left face with a \u00d84.6 mm bore. \u00d89 mm circular section attachment, 12.1 mm long, from right face with a \u00d84.6 mm bore. \u00d89 mm circular section attachment, 12.1 mm long, from back face with a \u00d84.6 mm bore. Four \u00d86.4 mm holes at the corners, 38.5 \u00d7 25.62 mm spacing. Fillet radius 1.782 mm on vertical edges."}, "params": {"block_w": {"type": "float", "default": 55, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body width (mm)"}, "block_d": {"type": "float", "default": 36.6, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body depth (mm)"}, "block_h": {"type": "float", "default": 30.2, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body height (mm)"}, "port_d": {"type": "float", "default": 9.0, "min": 3.6, "max": 13.6, "step": 1.0, "group": "Ports", "label": "Ports diameter (mm)"}, "port_len": {"type": "float", "default": 12.1, "min": 2.2, "max": 27.0, "step": 1.0, "group": "Ports", "label": "Port boss length (mm)"}, "port_bore": {"type": "float", "default": 4.6, "min": 2.0, "max": 6.5, "step": 0.5, "group": "Ports", "label": "Port bore diameter (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 8.2, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330874 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 55, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 36.6, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 30.2, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body height (mm)'},\n    \"port_d\": {\"type\": 'float', \"default\": 9.0, \"min\": 3.6, \"max\": 13.6, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Ports diameter (mm)'},\n    \"port_len\": {\"type\": 'float', \"default\": 12.1, \"min\": 2.2, \"max\": 27.0, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Port boss length (mm)'},\n    \"port_bore\": {\"type\": 'float', \"default\": 4.6, \"min\": 2.0, \"max\": 6.5, \"step\": 0.5, \"group\": 'Ports', \"label\": 'Port bore diameter (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 8.2, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"block_w\"], p[\"block_d\"]) * 0.04870116299754873)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462ca4bb_2311", "family": "tapped", "tier": 1, "seed": 1177330875, "symmetry": "none", "op_count": 1, "ir_hash": "6bac89c65666cf87", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 39500.0, "surface_area": 12000.0, "principal_moments": [7550000.0, 11000000.0, 16099999.999999998], "n_faces": 506, "n_edges": 1424, "n_vertices": 920}, "dimensions": {"lines": ["Four M12x1.75 tapped holes in a plate."], "text": "Four M12x1.75 tapped holes in a plate."}, "params": {"major_d": {"type": "float", "default": 12.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 1.75, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 19.2, "min": 14.4, "max": 34.6, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "plate_w": {"type": "float", "default": 55, "min": 33.0, "max": 88.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 44.4, "min": 26.6, "max": 71.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330875 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 12.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.75, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 19.2, \"min\": 14.4, \"max\": 34.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"plate_w\": {\"type\": 'float', \"default\": 55, \"min\": 33.0, \"max\": 88.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 44.4, \"min\": 26.6, \"max\": 71.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n}\n\n\ndef build(p):\n\n    _W, _D, _H = p[\"plate_w\"], p[\"plate_d\"], p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Box(_W, _D, _H)\n    _sx, _sy = p[\"plate_w\"] * 0.6, p[\"plate_d\"] * 0.6\n    _locs = [(_xx, _yy) for _xx in (-_sx / 2, _sx / 2) for _yy in (-_sy / 2, _sy / 2)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462ca4bc_2312", "family": "swept", "tier": 2, "seed": 1177330876, "symmetry": "none", "op_count": 1, "ir_hash": "d46099a8a70b8c43", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 8950.0, "surface_area": 3400.0, "principal_moments": [411000.0, 2490000.0, 2770000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["14.8 \u00d7 9.4 mm rectangular section swept along a curved path, ~53.61 mm span."], "text": "14.8 \u00d7 9.4 mm rectangular section swept along a curved path, ~53.61 mm span."}, "params": {"path_w": {"type": "float", "default": 44.09, "min": 22.0, "max": 79.4, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 53.61, "min": 26.8, "max": 96.5, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_a": {"type": "float", "default": 14.8, "min": 7.4, "max": 26.6, "step": 1.0, "group": "Section", "label": "Section width (mm)"}, "sweep_b": {"type": "float", "default": 9.4, "min": 4.7, "max": 16.9, "step": 1.0, "group": "Section", "label": "Section depth (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330876 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 44.09, \"min\": 22.0, \"max\": 79.4, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 53.61, \"min\": 26.8, \"max\": 96.5, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_a\": {\"type\": 'float', \"default\": 14.8, \"min\": 7.4, \"max\": 26.6, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section width (mm)'},\n    \"sweep_b\": {\"type\": 'float', \"default\": 9.4, \"min\": 4.7, \"max\": 16.9, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section depth (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.1988, p[\"path_h\"] * 0.3533), (p[\"path_w\"] * 0.338, p[\"path_h\"] * 0.4734), (p[\"path_w\"] * 0.1463, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').rect(p[\"sweep_a\"], p[\"sweep_b\"]).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca4bd_2313", "family": "block", "tier": 3, "seed": 1177330877, "symmetry": "mirror_xy", "op_count": 5, "ir_hash": "ef7326a519140695", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 102000.0, "surface_area": 25500.0, "principal_moments": [34000000.0, 77400000.0, 94599999.99999999], "n_faces": 21, "n_edges": 64, "n_vertices": 42}, "dimensions": {"lines": ["Rectangular body, 50 \u00d7 29.6 \u00d7 90.3 mm (W\u00d7D\u00d7H).", "Five \u00d82.7 mm holes in two staggered rows, 18.8 \u00d7 22.4 mm pitch.", "Pocket 27 \u00d7 20.6 mm, 52.9 mm deep, in top face.", "Fillet radius 3.345 mm on vertical edges (optional, off by default).", "One \u00d83.2 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch, angled 14.1\u00b0 on the >Y face."], "text": "Rectangular body, 50 \u00d7 29.6 \u00d7 90.3 mm (W\u00d7D\u00d7H). Five \u00d82.7 mm holes in two staggered rows, 18.8 \u00d7 22.4 mm pitch. Pocket 27 \u00d7 20.6 mm, 52.9 mm deep, in top face. Fillet radius 3.345 mm on vertical edges (optional, off by default). One \u00d83.2 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch, angled 14.1\u00b0 on the >Y face."}, "params": {"block_w": {"type": "float", "default": 50, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 29.6, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 90.3, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 2.7, "min": 2.0, "max": 3.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 3, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}, "pocket_w": {"type": "float", "default": 27.0, "min": 13.5, "max": 40.0, "step": 1.0, "group": "Pocket", "label": "Pocket width (mm)"}, "pocket_d": {"type": "float", "default": 20.6, "min": 10.3, "max": 23.7, "step": 1.0, "group": "Pocket", "label": "Pocket depth (mm)"}, "pocket_h": {"type": "float", "default": 52.9, "min": 21.2, "max": 76.8, "step": 0.5, "group": "Pocket", "label": "Pocket height (mm)"}, "filleted2": {"type": "bool", "default": false, "group": "Body", "label": "Fillet corners"}, "face_hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 5.8, "step": 0.5, "group": "Holes", "label": "Side hole diameter (mm)"}, "face_hole_tilt": {"type": "float", "default": 14.1, "min": 0.0, "max": 30.0, "step": 1.0, "group": "Holes", "label": "Side hole angle (deg)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330877 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 50, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 29.6, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 90.3, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 2.7, \"min\": 2.0, \"max\": 3.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 3, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n    \"pocket_w\": {\"type\": 'float', \"default\": 27.0, \"min\": 13.5, \"max\": 40.0, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket width (mm)'},\n    \"pocket_d\": {\"type\": 'float', \"default\": 20.6, \"min\": 10.3, \"max\": 23.7, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket depth (mm)'},\n    \"pocket_h\": {\"type\": 'float', \"default\": 52.9, \"min\": 21.2, \"max\": 76.8, \"step\": 0.5, \"group\": 'Pocket', \"label\": 'Pocket height (mm)'},\n    \"filleted2\": {\"type\": 'bool', \"default\": False, \"group\": 'Body', \"label\": 'Fillet corners'},\n    \"face_hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 5.8, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Side hole diameter (mm)'},\n    \"face_hole_tilt\": {\"type\": 'float', \"default\": 14.1, \"min\": 0.0, \"max\": 30.0, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Side hole angle (deg)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 18.8\n    _ssy = 22.4\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"pocket_w\"], p[\"pocket_d\"])\n        .cutBlind(-p[\"pocket_h\"])\n    )\n    if p[\"filleted2\"]:\n        result = result.edges('|Z').fillet(min(p[\"block_w\"], p[\"block_d\"]) * 0.11299503466884578)\n    result = (\n        result.faces('>Y').workplane().transformed(rotate=(p[\"face_hole_tilt\"], 0, 0))\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"face_hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca4be_2314", "family": "compound", "tier": 1, "seed": 1177330878, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "f7e558e084d7d180", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 90800.0, "surface_area": 13800.0, "principal_moments": [24599999.999999996, 35700000.0, 44100000.0], "n_faces": 22, "n_edges": 57, "n_vertices": 37}, "dimensions": {"lines": ["Rectangular body, 60.29 \u00d7 46.5 \u00d7 32.6 mm (W\u00d7D\u00d7H).", "5-sided polygon section, 7 mm across corners attachment, 4 mm long, from left face with a \u00d83.1 mm bore.", "5-sided polygon section, 7 mm across corners attachment, 4 mm long, from back face with a \u00d83.1 mm bore."], "text": "Rectangular body, 60.29 \u00d7 46.5 \u00d7 32.6 mm (W\u00d7D\u00d7H). 5-sided polygon section, 7 mm across corners attachment, 4 mm long, from left face with a \u00d83.1 mm bore. 5-sided polygon section, 7 mm across corners attachment, 4 mm long, from back face with a \u00d83.1 mm bore."}, "params": {"block_w": {"type": "float", "default": 60.29, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body width (mm)"}, "block_d": {"type": "float", "default": 46.5, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body depth (mm)"}, "block_h": {"type": "float", "default": 32.6, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body height (mm)"}, "port_sides": {"type": "int", "default": 5, "min": 3, "max": 8, "step": 1, "group": "Ports", "label": "Ports sides"}, "port_r": {"type": "float", "default": 3.5, "min": 1.8, "max": 7.3, "step": 1.0, "group": "Ports", "label": "Ports circumradius (mm)"}, "port_len": {"type": "float", "default": 4.0, "min": 1.4, "max": 17.0, "step": 1.0, "group": "Ports", "label": "Port boss length (mm)"}, "port_bore": {"type": "float", "default": 3.1, "min": 2.0, "max": 4.1, "step": 0.5, "group": "Ports", "label": "Port bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330878 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 60.29, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 46.5, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 32.6, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body height (mm)'},\n    \"port_sides\": {\"type\": 'int', \"default\": 5, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Ports', \"label\": 'Ports sides'},\n    \"port_r\": {\"type\": 'float', \"default\": 3.5, \"min\": 1.8, \"max\": 7.3, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Ports circumradius (mm)'},\n    \"port_len\": {\"type\": 'float', \"default\": 4.0, \"min\": 1.4, \"max\": 17.0, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Port boss length (mm)'},\n    \"port_bore\": {\"type\": 'float', \"default\": 3.1, \"min\": 2.0, \"max\": 4.1, \"step\": 0.5, \"group\": 'Ports', \"label\": 'Port bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"port_sides\"], p[\"port_r\"] * 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"port_sides\"], p[\"port_r\"] * 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462ca4bf_2315", "family": "gear", "tier": 1, "seed": 1177330879, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "d1d8afa6f6914410", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 625000.0, "surface_area": 87400.0, "principal_moments": [1610000000.0, 1610000000.0, 3180000000.0], "n_faces": 201, "n_edges": 597, "n_vertices": 398}, "dimensions": {"lines": ["Spur gear, module 6 mm, 33 teeth (pitch \u00d8198 mm), face width 21.2 mm, \u00d836.7 mm bore."], "text": "Spur gear, module 6 mm, 33 teeth (pitch \u00d8198 mm), face width 21.2 mm, \u00d836.7 mm bore."}, "params": {"module": {"type": "float", "default": 6.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 33, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 21.2, "min": 8.5, "max": 53.0, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "bore_d": {"type": "float", "default": 36.7, "min": 2.0, "max": 109.8, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330879 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 6.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 33, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 21.2, \"min\": 8.5, \"max\": 53.0, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 36.7, \"min\": 2.0, \"max\": 109.8, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462ca4c0_2316", "family": "sketched", "tier": 1, "seed": 1177330880, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "22b60a6563598399", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 44300.0, "surface_area": 9280.0, "principal_moments": [6620000.0, 15099999.999999998, 15099999.999999998], "n_faces": 7, "n_edges": 11, "n_vertices": 6}, "dimensions": {"lines": ["Revolved organic body from a freeform sketched section (7 segments: 3 straight, 4 arcs), ~22.34 \u00d7 58.78 mm half-silhouette."], "text": "Revolved organic body from a freeform sketched section (7 segments: 3 straight, 4 arcs), ~22.34 \u00d7 58.78 mm half-silhouette."}, "params": {"sk_r": {"type": "float", "default": 25, "min": 12.5, "max": 45.0, "step": 1.0, "group": "Sketch", "label": "Max radius (mm)"}, "sk_h": {"type": "float", "default": 58.78, "min": 29.4, "max": 105.8, "step": 1.0, "group": "Sketch", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330880 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_r\": {\"type\": 'float', \"default\": 25, \"min\": 12.5, \"max\": 45.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Max radius (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 58.78, \"min\": 29.4, \"max\": 105.8, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XZ').moveTo(p[\"sk_r\"] * 0.5699, p[\"sk_h\"] * 0.0).lineTo(p[\"sk_r\"] * 0.1248, p[\"sk_h\"] * 0.1591).threePointArc((p[\"sk_r\"] * 0.5153, p[\"sk_h\"] * 0.2087), (p[\"sk_r\"] * 0.8936, p[\"sk_h\"] * 0.2583)).threePointArc((p[\"sk_r\"] * 0.6797, p[\"sk_h\"] * 0.3509), (p[\"sk_r\"] * 0.4679, p[\"sk_h\"] * 0.4435)).threePointArc((p[\"sk_r\"] * 0.6465, p[\"sk_h\"] * 0.6967), (p[\"sk_r\"] * 0.8379, p[\"sk_h\"] * 0.9498)).threePointArc((p[\"sk_r\"] * 0.6967, p[\"sk_h\"] * 0.9749), (p[\"sk_r\"] * 0.4545, p[\"sk_h\"] * 1.0)).lineTo(p[\"sk_r\"] * 0.0, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.0, p[\"sk_h\"] * 0.0).close().revolve())\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462ca4c1_2317", "family": "threaded", "tier": 1, "seed": 1177330881, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "f1064ed9c2ac16a7", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 45700.0, "surface_area": 14100.0, "principal_moments": [9370000.0, 18900000.0, 18900000.0], "n_faces": 383, "n_edges": 1093, "n_vertices": 712}, "dimensions": {"lines": ["M20x2.5 internal thread, 61.2 mm long."], "text": "M20x2.5 internal thread, 61.2 mm long."}, "params": {"major_d": {"type": "float", "default": 20.0, "min": 4.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Major diameter (mm)"}, "pitch": {"type": "float", "default": 2.5, "min": 1.25, "max": 5.0, "step": 0.05, "group": "Thread", "label": "Pitch (mm)"}, "thread_len": {"type": "float", "default": 61.2, "min": 24.5, "max": 122.4, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330881 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 20.0, \"min\": 4.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Major diameter (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 2.5, \"min\": 1.25, \"max\": 5.0, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Pitch (mm)'},\n    \"thread_len\": {\"type\": 'float', \"default\": 61.2, \"min\": 24.5, \"max\": 122.4, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.IsoThread(major_diameter=p[\"major_d\"], pitch=p[\"pitch\"], length=p[\"thread_len\"], external=False, end_finishes=(\"fade\", \"fade\"))\n    _body = _bd.Cylinder(radius=(p[\"major_d\"]) * 0.9, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _bore = _bd.Cylinder(radius=(p[\"major_d\"]) / 2, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = (_body - _bore) + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca4c3_2319", "family": "block", "tier": 2, "seed": 1177330883, "symmetry": "radial", "op_count": 3, "ir_hash": "4c89b2ff035ade3b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 110000.0, "surface_area": 17900.0, "principal_moments": [26499999.999999996, 69400000.0, 74300000.0], "n_faces": 16, "n_edges": 42, "n_vertices": 28}, "dimensions": {"lines": ["Rectangular body, 80 \u00d7 34.4 \u00d7 41.4 mm (W\u00d7D\u00d7H).", "Twelve \u00d84.3 mm holes on a \u00d848 mm bolt circle.", "Fillet radius 2.795 mm on vertical edges."], "text": "Rectangular body, 80 \u00d7 34.4 \u00d7 41.4 mm (W\u00d7D\u00d7H). Twelve \u00d84.3 mm holes on a \u00d848 mm bolt circle. Fillet radius 2.795 mm on vertical edges."}, "params": {"block_w": {"type": "float", "default": 80, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 34.4, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 41.4, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "bolt_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 24.0, "min": 16.0, "max": 36.0, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 12, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330883 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 80, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 34.4, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 41.4, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 24.0, \"min\": 16.0, \"max\": 36.0, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 12, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"block_w\"], p[\"block_d\"]) * 0.08124963455397807)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca4c4_2320", "family": "bracket", "tier": 3, "seed": 1177330884, "symmetry": "none", "op_count": 1, "ir_hash": "40eecb2b64112c0c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 23500.0, "surface_area": 9860.0, "principal_moments": [5040000.0, 7100000.0, 7740000.0], "n_faces": 16, "n_edges": 42, "n_vertices": 28}, "dimensions": {"lines": ["C-channel bracket: base leg 30 mm, vertical leg 31.5 mm, 49.46 mm wide, 6 mm thick; 2 \u00d7 \u00d84.3 mm holes per leg; 9 mm corner gusset."], "text": "C-channel bracket: base leg 30 mm, vertical leg 31.5 mm, 49.46 mm wide, 6 mm thick; 2 \u00d7 \u00d84.3 mm holes per leg; 9 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 30, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 31.5, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 49.46, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 6.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 2, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 9.0, "min": 3.0, "max": 18.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330884 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 30, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 31.5, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 49.46, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 2, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 9.0, \"min\": 3.0, \"max\": 18.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl / 2, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bl - _bt, _bt).lineTo(_bl - _bt - _g, _bt)\n                    .lineTo(_bl - _bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462ca4c5_2321", "family": "threaded", "tier": 3, "seed": 1177330885, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "01114edde0a3eba2", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 5090.0, "surface_area": 3260.0, "principal_moments": [86600.0, 1060000.0, 1060000.0], "n_faces": 200, "n_edges": 510, "n_vertices": 312}, "dimensions": {"lines": ["ACME 1/2 external thread, 49.5 mm long."], "text": "ACME 1/2 external thread, 49.5 mm long."}, "params": {"thread_size": {"type": "enum", "default": "1/2", "choices": ["1/4", "5/16", "3/8", "1/2", "5/8", "3/4", "7/8", "1", "1 1/4", "1 1/2"], "group": "Thread", "label": "Size designation"}, "thread_len": {"type": "float", "default": 49.5, "min": 19.8, "max": 99.0, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330885 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"thread_size\": {\"type\": 'enum', \"default\": '1/2', \"choices\": ['1/4', '5/16', '3/8', '1/2', '5/8', '3/4', '7/8', '1', '1 1/4', '1 1/2'], \"group\": 'Thread', \"label\": 'Size designation'},\n    \"thread_len\": {\"type\": 'float', \"default\": 49.5, \"min\": 19.8, \"max\": 99.0, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.AcmeThread(size=p[\"thread_size\"], length=p[\"thread_len\"], external=True, end_finishes=(\"fade\", \"fade\"))\n    _r = _thr.min_radius if hasattr(_thr, 'min_radius') else _thr.root_radius\n    _shank = _bd.Cylinder(radius=_r, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = _shank + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca4c6_2322", "family": "block", "tier": 2, "seed": 1177330886, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "c5cbbcefb409fd41", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 2290.0, "surface_area": 1680.0, "principal_moments": [61200.0, 77600.0, 113000.0], "n_faces": 42, "n_edges": 120, "n_vertices": 80}, "dimensions": {"lines": ["Rectangular body, 19.1 \u00d7 8.6 \u00d7 15.9 mm (W\u00d7D\u00d7H).", "Four 2.3 mm square holes at the corners, 13.37 \u00d7 6.02 mm spacing.", "Fillet radius 0.56 mm on vertical edges."], "text": "Rectangular body, 19.1 \u00d7 8.6 \u00d7 15.9 mm (W\u00d7D\u00d7H). Four 2.3 mm square holes at the corners, 13.37 \u00d7 6.02 mm spacing. Fillet radius 0.56 mm on vertical edges."}, "params": {"block_w": {"type": "float", "default": 19.1, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 8.6, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 15.9, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 2.3, "min": 2.0, "max": 2.5, "step": 0.5, "group": "Holes", "label": "Square hole size (mm)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330886 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 19.1, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 8.6, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 15.9, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 2.3, \"min\": 2.0, \"max\": 2.5, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Square hole size (mm)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().rect(p[\"hole_d\"], p[\"hole_d\"]).cutThruAll()\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"block_w\"], p[\"block_d\"]) * 0.06506084037991329)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca4c7_2323", "family": "plate", "tier": 3, "seed": 1177330887, "symmetry": "none", "op_count": 3, "ir_hash": "21c61ea06d60eb73", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 6170.0, "surface_area": 4410.0, "principal_moments": [319000.0, 1680000.0, 1950000.0], "n_faces": 59, "n_edges": 170, "n_vertices": 112}, "dimensions": {"lines": ["Rectangular body, 59.75 \u00d7 25 \u00d7 4 mm (W\u00d7D\u00d7H).", "Twelve 4.5 \u00d7 2.1 mm slots in a 4\u00d73 grid, 15.9 \u00d7 10 mm pitch.", "Boss \u00d812.6 mm \u00d7 6.7 mm tall on top face with a \u00d85.3 mm bore."], "text": "Rectangular body, 59.75 \u00d7 25 \u00d7 4 mm (W\u00d7D\u00d7H). Twelve 4.5 \u00d7 2.1 mm slots in a 4\u00d73 grid, 15.9 \u00d7 10 mm pitch. Boss \u00d812.6 mm \u00d7 6.7 mm tall on top face with a \u00d85.3 mm bore."}, "params": {"plate_w": {"type": "float", "default": 59.75, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 25.0, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 4.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 2.1, "min": 2.0, "max": 3.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 4, "min": 1, "max": 4, "step": 1, "group": "Holes", "label": "Holes across"}, "hole_ny": {"type": "int", "default": 3, "min": 1, "max": 4, "step": 1, "group": "Holes", "label": "Holes deep"}, "hole_slot_len": {"type": "float", "default": 4.5, "min": 3.2, "max": 7.0, "step": 0.5, "group": "Holes", "label": "Slot length (mm)"}, "boss_d": {"type": "float", "default": 12.6, "min": 6.3, "max": 25.2, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 6.7, "min": 2.7, "max": 16.8, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}, "boss_bore_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 8.8, "step": 0.1, "group": "Boss", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330887 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 59.75, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 25.0, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 4.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 2.1, \"min\": 2.0, \"max\": 3.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 4, \"min\": 1, \"max\": 4, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes across'},\n    \"hole_ny\": {\"type\": 'int', \"default\": 3, \"min\": 1, \"max\": 4, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes deep'},\n    \"hole_slot_len\": {\"type\": 'float', \"default\": 4.5, \"min\": 3.2, \"max\": 7.0, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Slot length (mm)'},\n    \"boss_d\": {\"type\": 'float', \"default\": 12.6, \"min\": 6.3, \"max\": 25.2, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 6.7, \"min\": 2.7, \"max\": 16.8, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n    \"boss_bore_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 8.8, \"step\": 0.1, \"group\": 'Boss', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(15.9, 10.0, p[\"hole_nx\"], p[\"hole_ny\"])\n        .slot2D(p[\"hole_slot_len\"], p[\"hole_d\"]).cutThruAll()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .hole(p[\"boss_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462ca4c8_2324", "family": "sketched", "tier": 3, "seed": 1177330888, "symmetry": "mirror_xy", "op_count": 4, "ir_hash": "9503142347f2ffbb", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 27200.0, "surface_area": 6200.0, "principal_moments": [3610000.0, 4600000.0, 4810000.0], "n_faces": 12, "n_edges": 25, "n_vertices": 16}, "dimensions": {"lines": ["freeform sketched section (4 segments: 2 straight, 2 curves), ~46.194 \u00d7 41.443 mm, extruded 23.98 mm thick.", "One \u00d86.4 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch.", "Boss \u00d824.3 mm \u00d7 7.1 mm tall on top face with a \u00d84.3 mm bore.", "Fillet radius 2.2 mm on vertical edges (optional, off by default)."], "text": "freeform sketched section (4 segments: 2 straight, 2 curves), ~46.194 \u00d7 41.443 mm, extruded 23.98 mm thick. One \u00d86.4 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch. Boss \u00d824.3 mm \u00d7 7.1 mm tall on top face with a \u00d84.3 mm bore. Fillet radius 2.2 mm on vertical edges (optional, off by default)."}, "params": {"sk_w": {"type": "float", "default": 55, "min": 27.5, "max": 99.0, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 55, "min": 27.5, "max": 99.0, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "sk_t": {"type": "float", "default": 23.98, "min": 9.6, "max": 52.8, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "sk_hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 12.8, "step": 0.5, "group": "Holes", "label": "Hole diameter (mm)"}, "boss_d": {"type": "float", "default": 24.3, "min": 12.2, "max": 48.6, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 7.1, "min": 2.8, "max": 17.8, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}, "boss_bore_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 17.0, "step": 0.1, "group": "Boss", "label": "Bore diameter (mm)"}, "sk_fillet_r": {"type": "float", "default": 2.2, "min": 0.5, "max": 5.5, "step": 0.5, "group": "Body", "label": "Edge fillet radius (mm)"}, "sk_filleted": {"type": "bool", "default": false, "group": "Body", "label": "Fillet vertical edges"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330888 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 55, \"min\": 27.5, \"max\": 99.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 55, \"min\": 27.5, \"max\": 99.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"sk_t\": {\"type\": 'float', \"default\": 23.98, \"min\": 9.6, \"max\": 52.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"sk_hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 12.8, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"boss_d\": {\"type\": 'float', \"default\": 24.3, \"min\": 12.2, \"max\": 48.6, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 7.1, \"min\": 2.8, \"max\": 17.8, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n    \"boss_bore_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 17.0, \"step\": 0.1, \"group\": 'Boss', \"label\": 'Bore diameter (mm)'},\n    \"sk_fillet_r\": {\"type\": 'float', \"default\": 2.2, \"min\": 0.5, \"max\": 5.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Edge fillet radius (mm)'},\n    \"sk_filleted\": {\"type\": 'bool', \"default\": False, \"group\": 'Body', \"label\": 'Fillet vertical edges'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.426, p[\"sk_h\"] * -0.0974).lineTo(p[\"sk_w\"] * -0.0964, p[\"sk_h\"] * 0.3765).spline([(p[\"sk_w\"] * -0.0964, p[\"sk_h\"] * 0.3765), (p[\"sk_w\"] * -0.2814, p[\"sk_h\"] * 0.1549), (p[\"sk_w\"] * -0.4139, p[\"sk_h\"] * -0.1015)]).lineTo(p[\"sk_w\"] * 0.0175, p[\"sk_h\"] * -0.377).spline([(p[\"sk_w\"] * 0.0175, p[\"sk_h\"] * -0.377), (p[\"sk_w\"] * 0.2446, p[\"sk_h\"] * -0.2706), (p[\"sk_w\"] * 0.426, p[\"sk_h\"] * -0.0974)]).close().extrude(p[\"sk_t\"]))\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"sk_hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .hole(p[\"boss_bore_d\"])\n    )\n    if p[\"sk_filleted\"]:\n        result = result.edges('|Z').fillet(p[\"sk_fillet_r\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462ca4c9_2325", "family": "enclosure", "tier": 2, "seed": 1177330889, "symmetry": "mirror_x", "op_count": 4, "ir_hash": "978ca18174e6a42c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 89000.0, "surface_area": 52100.0, "principal_moments": [89600000.0, 163000000.0, 195000000.0], "n_faces": 23, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 111.72 \u00d7 68.9 \u00d7 56.1 mm (W\u00d7D\u00d7H).", "Hollowed to 3.5 mm wall thickness, open at top face.", "Four \u00d813 mm holes at the corners, 78.204 \u00d7 48.23 mm spacing.", "Fillet radius 3.369 mm on vertical edges."], "text": "Rectangular body, 111.72 \u00d7 68.9 \u00d7 56.1 mm (W\u00d7D\u00d7H). Hollowed to 3.5 mm wall thickness, open at top face. Four \u00d813 mm holes at the corners, 78.204 \u00d7 48.23 mm spacing. Fillet radius 3.369 mm on vertical edges."}, "params": {"enc_w": {"type": "float", "default": 111.72, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 68.9, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 56.1, "min": 22.4, "max": 112.2, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 3.5, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}, "hole_d": {"type": "float", "default": 13.0, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330889 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 111.72, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 68.9, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 56.1, \"min\": 22.4, \"max\": 112.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 3.5, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 13.0, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"enc_w\"] * 0.7, p[\"enc_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"enc_w\"], p[\"enc_d\"]) * 0.048894750778991886)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca4ca_2326", "family": "bracket", "tier": 1, "seed": 1177330890, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "027f5853168ae435", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 33000.0, "surface_area": 15100.0, "principal_moments": [12899999.999999998, 29899999.999999996, 30899999.999999996], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["L-bracket: base leg 65 mm, vertical leg 71.3 mm, 50.4 mm wide, 5 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."], "text": "L-bracket: base leg 65 mm, vertical leg 71.3 mm, 50.4 mm wide, 5 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 65, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 71.3, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 50.4, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 5.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330890 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 65, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 71.3, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 50.4, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462ca4cb_2327", "family": "flanged", "tier": 2, "seed": 1177330891, "symmetry": "none", "op_count": 2, "ir_hash": "37f70e2bdb585c8a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 554000.0, "surface_area": 80000.0, "principal_moments": [1030000000.0, 1160000000.0, 1160000000.0], "n_faces": 14, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["Revolved body, \u00d877.2 mm \u00d7 107.5 mm tall with \u00d838 mm bore, \u00d8158.8 mm \u00d7 11.5 mm flange.", "Eight \u00d83.2 mm holes on a \u00d895.2 mm bolt circle."], "text": "Revolved body, \u00d877.2 mm \u00d7 107.5 mm tall with \u00d838 mm bore, \u00d8158.8 mm \u00d7 11.5 mm flange. Eight \u00d83.2 mm holes on a \u00d895.2 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 77.2, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 107.5, "min": 32.2, "max": 268.8, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 38.0, "min": 2.0, "max": 54.0, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 158.8, "min": 100.4, "max": 231.6, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 11.5, "min": 3.4, "max": 43.0, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 47.6, "min": 31.8, "max": 71.5, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 8, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330891 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 77.2, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 107.5, \"min\": 32.2, \"max\": 268.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 38.0, \"min\": 2.0, \"max\": 54.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 158.8, \"min\": 100.4, \"max\": 231.6, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 11.5, \"min\": 3.4, \"max\": 43.0, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 47.6, \"min\": 31.8, \"max\": 71.5, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca4cc_2328", "family": "bracket", "tier": 1, "seed": 1177330892, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "0c717e601b629817", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 12100.0, "surface_area": 5550.0, "principal_moments": [1610000.0, 5180000.0, 5870000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["L-bracket: base leg 55 mm, vertical leg 46.5 mm, 21.25 mm wide, 6 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."], "text": "L-bracket: base leg 55 mm, vertical leg 46.5 mm, 21.25 mm wide, 6 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 55, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 46.5, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 21.25, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 6.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 8.5, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330892 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 55, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 46.5, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 21.25, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 8.5, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462ca4cd_2329", "family": "swept", "tier": 1, "seed": 1177330893, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "50b52a55064c8abd", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 18600.0, "surface_area": 5550.0, "principal_moments": [1120000.0, 8520000.0, 8910000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["17.4 \u00d7 15.3 mm rectangular section swept along a curved path, ~65 mm span."], "text": "17.4 \u00d7 15.3 mm rectangular section swept along a curved path, ~65 mm span."}, "params": {"path_w": {"type": "float", "default": 43.22, "min": 21.6, "max": 77.8, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 65, "min": 32.5, "max": 117.0, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_a": {"type": "float", "default": 17.4, "min": 8.7, "max": 31.3, "step": 1.0, "group": "Section", "label": "Section width (mm)"}, "sweep_b": {"type": "float", "default": 15.3, "min": 7.7, "max": 27.5, "step": 1.0, "group": "Section", "label": "Section depth (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330893 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 43.22, \"min\": 21.6, \"max\": 77.8, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 65, \"min\": 32.5, \"max\": 117.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_a\": {\"type\": 'float', \"default\": 17.4, \"min\": 8.7, \"max\": 31.3, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section width (mm)'},\n    \"sweep_b\": {\"type\": 'float', \"default\": 15.3, \"min\": 7.7, \"max\": 27.5, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section depth (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.3467), (p[\"path_w\"] * 0.3024, p[\"path_h\"] * 0.447), (p[\"path_w\"] * 0.5646, p[\"path_h\"] * 0.8028), (p[\"path_w\"] * 0.4147, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').rect(p[\"sweep_a\"], p[\"sweep_b\"]).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462ca4ce_2330", "family": "flanged", "tier": 1, "seed": 1177330894, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "9ddd2bc1780d6b98", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 141000.0, "surface_area": 33400.0, "principal_moments": [100000000.0, 100000000.0, 158000000.0], "n_faces": 10, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["Revolved body, \u00d860 mm \u00d7 39.4 mm tall with \u00d824.3 mm bore, \u00d8119.9 mm \u00d7 5.8 mm flange.", "Four \u00d86.4 mm holes on a \u00d872 mm bolt circle."], "text": "Revolved body, \u00d860 mm \u00d7 39.4 mm tall with \u00d824.3 mm bore, \u00d8119.9 mm \u00d7 5.8 mm flange. Four \u00d86.4 mm holes on a \u00d872 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 60, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 39.4, "min": 11.8, "max": 98.5, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 24.3, "min": 2.0, "max": 42.0, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 119.9, "min": 78.0, "max": 180.0, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 5.8, "min": 1.7, "max": 15.8, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 36.0, "min": 24.0, "max": 54.0, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 4, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330894 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 60, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 39.4, \"min\": 11.8, \"max\": 98.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 24.3, \"min\": 2.0, \"max\": 42.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 119.9, \"min\": 78.0, \"max\": 180.0, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 5.8, \"min\": 1.7, \"max\": 15.8, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 36.0, \"min\": 24.0, \"max\": 54.0, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 4, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462ca4d0_2332", "family": "enclosure", "tier": 2, "seed": 1177330896, "symmetry": "mirror_xy", "op_count": 3, "ir_hash": "b472a62495ee274b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 33000.0, "surface_area": 19000.0, "principal_moments": [9450000.0, 23599999.999999996, 23799999.999999996], "n_faces": 19, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 72.39 \u00d7 32.5 \u00d7 37.8 mm (W\u00d7D\u00d7H).", "Hollowed to 3.8 mm wall thickness, open at top face.", "Four \u00d85.3 mm holes at the corners, 50.673 \u00d7 22.75 mm spacing."], "text": "Rectangular body, 72.39 \u00d7 32.5 \u00d7 37.8 mm (W\u00d7D\u00d7H). Hollowed to 3.8 mm wall thickness, open at top face. Four \u00d85.3 mm holes at the corners, 50.673 \u00d7 22.75 mm spacing."}, "params": {"enc_w": {"type": "float", "default": 72.39, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 32.5, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 37.8, "min": 15.1, "max": 75.6, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 3.8, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 7.3, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330896 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 72.39, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 32.5, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 37.8, \"min\": 15.1, \"max\": 75.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 3.8, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 7.3, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"enc_w\"] * 0.7, p[\"enc_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca4d1_2333", "family": "plate", "tier": 1, "seed": 1177330897, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "569be0e2dc713435", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 53600.0, "surface_area": 16600.0, "principal_moments": [17000000.0, 54099999.99999999, 70600000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 110 \u00d7 61.4 \u00d7 8 mm (W\u00d7D\u00d7H).", "Four \u00d84.3 mm holes at the corners, 77 \u00d7 42.98 mm spacing."], "text": "Rectangular body, 110 \u00d7 61.4 \u00d7 8 mm (W\u00d7D\u00d7H). Four \u00d84.3 mm holes at the corners, 77 \u00d7 42.98 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 110, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 61.4, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330897 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 110, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 61.4, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462ca4d2_2334", "family": "profiled", "tier": 1, "seed": 1177330898, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "79f58097ac6633da", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 8300.0, "surface_area": 4920.0, "principal_moments": [168000.0, 5800000.0, 5800000.0], "n_faces": 4, "n_edges": 6, "n_vertices": 4}, "dimensions": {"lines": ["Revolved body, \u00d811.8 mm \u00d7 90.9 mm tall with \u00d84.8 mm bore."], "text": "Revolved body, \u00d811.8 mm \u00d7 90.9 mm tall with \u00d84.8 mm bore."}, "params": {"outer_d": {"type": "float", "default": 11.8, "min": 5.9, "max": 23.6, "step": 1.0, "group": "Profile", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 90.9, "min": 27.3, "max": 272.7, "step": 5.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 4.8, "min": 2.0, "max": 9.4, "step": 0.5, "group": "Profile", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330898 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 11.8, \"min\": 5.9, \"max\": 23.6, \"step\": 1.0, \"group\": 'Profile', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 90.9, \"min\": 27.3, \"max\": 272.7, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 4.8, \"min\": 2.0, \"max\": 9.4, \"step\": 0.5, \"group\": 'Profile', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca4d3_2335", "family": "compound", "tier": 3, "seed": 1177330899, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "85c1f1a7b1804716", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 55400.0, "surface_area": 8460.0, "principal_moments": [10000000.0, 16099999.999999998, 16099999.999999998], "n_faces": 6, "n_edges": 8, "n_vertices": 5}, "dimensions": {"lines": ["\u00d840 mm circular section, extruded 37.9 mm thick.", "\u00d824 mm circular section attachment, 17.8 mm long, from top face.", "Chamfer 2.1 mm on bottom edges."], "text": "\u00d840 mm circular section, extruded 37.9 mm thick. \u00d824 mm circular section attachment, 17.8 mm long, from top face. Chamfer 2.1 mm on bottom edges."}, "params": {"shaft_d": {"type": "float", "default": 40, "min": 20.0, "max": 72.0, "step": 1.0, "group": "Body", "label": "Shaft diameter (mm)"}, "shaft_len": {"type": "float", "default": 37.9, "min": 15.2, "max": 75.8, "step": 1.0, "group": "Body", "label": "Shaft length (mm)"}, "step_d": {"type": "float", "default": 24.0, "min": 12.0, "max": 36.0, "step": 1.0, "group": "Step", "label": "Step diameter (mm)"}, "step_len": {"type": "float", "default": 17.8, "min": 5.3, "max": 44.5, "step": 1.0, "group": "Step", "label": "Step length (mm)"}, "chamfer_d": {"type": "float", "default": 2.1, "min": 0.5, "max": 3.0, "step": 0.5, "group": "Body", "label": "Chamfer distance (mm)"}, "chamfered": {"type": "bool", "default": true, "group": "Body", "label": "Chamfer edges"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330899 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"shaft_d\": {\"type\": 'float', \"default\": 40, \"min\": 20.0, \"max\": 72.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft diameter (mm)'},\n    \"shaft_len\": {\"type\": 'float', \"default\": 37.9, \"min\": 15.2, \"max\": 75.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft length (mm)'},\n    \"step_d\": {\"type\": 'float', \"default\": 24.0, \"min\": 12.0, \"max\": 36.0, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step diameter (mm)'},\n    \"step_len\": {\"type\": 'float', \"default\": 17.8, \"min\": 5.3, \"max\": 44.5, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step length (mm)'},\n    \"chamfer_d\": {\"type\": 'float', \"default\": 2.1, \"min\": 0.5, \"max\": 3.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Chamfer distance (mm)'},\n    \"chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Chamfer edges'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').circle(p[\"shaft_d\"] / 2).extrude(p[\"shaft_len\"]))\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"step_d\"] / 2).extrude(p[\"step_len\"])\n    )\n    if p[\"chamfered\"]:\n        result = result.edges('<Z').chamfer(p[\"chamfer_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca4d4_2336", "family": "revolved", "tier": 2, "seed": 1177330900, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "99fb1d781b8606a0", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 508000.0, "surface_area": 75800.0, "principal_moments": [319000000.0, 1770000000.0, 1770000000.0], "n_faces": 7, "n_edges": 10, "n_vertices": 7}, "dimensions": {"lines": ["Revolved body, \u00d864.98 mm \u00d7 233.9 mm tall with 18.59 mm-wide groove 2.41 mm deep."], "text": "Revolved body, \u00d864.98 mm \u00d7 233.9 mm tall with 18.59 mm-wide groove 2.41 mm deep."}, "params": {"outer_d": {"type": "float", "default": 64.98, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 233.9, "min": 70.2, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "groove_depth": {"type": "float", "default": 2.41, "min": 0.96, "max": 7.23, "step": 0.1, "group": "Body", "label": "Groove depth (mm)"}, "groove_w": {"type": "float", "default": 18.59, "min": 7.44, "max": 55.77, "step": 0.2, "group": "Body", "label": "Groove width (mm)"}, "groove_pos": {"type": "float", "default": 174.8, "min": 35.1, "max": 198.8, "step": 1.0, "group": "Body", "label": "Groove position (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330900 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 64.98, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 233.9, \"min\": 70.2, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"groove_depth\": {\"type\": 'float', \"default\": 2.41, \"min\": 0.96, \"max\": 7.23, \"step\": 0.1, \"group\": 'Body', \"label\": 'Groove depth (mm)'},\n    \"groove_w\": {\"type\": 'float', \"default\": 18.59, \"min\": 7.44, \"max\": 55.77, \"step\": 0.2, \"group\": 'Body', \"label\": 'Groove width (mm)'},\n    \"groove_pos\": {\"type\": 'float', \"default\": 174.8, \"min\": 35.1, \"max\": 198.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Groove position (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"groove_pos\"] - p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2 - p[\"groove_depth\"], p[\"groove_pos\"] - p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2 - p[\"groove_depth\"], p[\"groove_pos\"] + p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2, p[\"groove_pos\"] + p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462ca4d5_2337", "family": "tapped", "tier": 3, "seed": 1177330901, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "ba952fd8df188c7d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 15700.0, "surface_area": 4710.0, "principal_moments": [1740000.0, 1740000.0, 2520000.0], "n_faces": 128, "n_edges": 356, "n_vertices": 230}, "dimensions": {"lines": ["One M12x1.75 tapped hole in a cylinder."], "text": "One M12x1.75 tapped hole in a cylinder."}, "params": {"major_d": {"type": "float", "default": 12.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 1.75, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 19.2, "min": 14.4, "max": 34.6, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "body_d": {"type": "float", "default": 34.1, "min": 21.6, "max": 54.6, "step": 1.0, "group": "Body", "label": "Outer \u00d8 (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330901 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 12.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.75, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 19.2, \"min\": 14.4, \"max\": 34.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"body_d\": {\"type\": 'float', \"default\": 34.1, \"min\": 21.6, \"max\": 54.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer \u00d8 (mm)'},\n}\n\n\ndef build(p):\n\n    _W = _D = p[\"body_d\"]\n    _H = p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Cylinder(radius=_W / 2, height=_H)\n    _locs = [(0.0, 0.0)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462ca4d6_2338", "family": "sketched", "tier": 2, "seed": 1177330902, "symmetry": "none", "op_count": 3, "ir_hash": "e214bdf588eb2c49", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 36400.0, "surface_area": 7440.0, "principal_moments": [5590000.0, 7670000.0, 8230000.0], "n_faces": 12, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["freeform sketched section (6 segments: 3 straight, 2 arcs, 1 curve), ~41.961 \u00d7 46.906 mm, extruded 25 mm thick.", "One \u00d88.4 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch.", "Boss \u00d824 mm \u00d7 7.3 mm tall on top face."], "text": "freeform sketched section (6 segments: 3 straight, 2 arcs, 1 curve), ~41.961 \u00d7 46.906 mm, extruded 25 mm thick. One \u00d88.4 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch. Boss \u00d824 mm \u00d7 7.3 mm tall on top face."}, "params": {"sk_w": {"type": "float", "default": 50.72, "min": 25.4, "max": 91.3, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 64.37, "min": 32.2, "max": 115.9, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "sk_t": {"type": "float", "default": 25, "min": 10.0, "max": 55.0, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "sk_hole_d": {"type": "float", "default": 8.4, "min": 2.0, "max": 16.8, "step": 0.5, "group": "Holes", "label": "Hole diameter (mm)"}, "boss_d": {"type": "float", "default": 24.0, "min": 12.0, "max": 48.0, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 7.3, "min": 2.9, "max": 18.2, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330902 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 50.72, \"min\": 25.4, \"max\": 91.3, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 64.37, \"min\": 32.2, \"max\": 115.9, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"sk_t\": {\"type\": 'float', \"default\": 25, \"min\": 10.0, \"max\": 55.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"sk_hole_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 2.0, \"max\": 16.8, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"boss_d\": {\"type\": 'float', \"default\": 24.0, \"min\": 12.0, \"max\": 48.0, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 7.3, \"min\": 2.9, \"max\": 18.2, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.3991, p[\"sk_h\"] * 0.0263).bezier([(p[\"sk_w\"] * 0.3991, p[\"sk_h\"] * 0.0263), (p[\"sk_w\"] * 0.2774, p[\"sk_h\"] * 0.2434), (p[\"sk_w\"] * 0.0916, p[\"sk_h\"] * 0.4089)]).lineTo(p[\"sk_w\"] * -0.1628, p[\"sk_h\"] * 0.2799).lineTo(p[\"sk_w\"] * -0.4282, p[\"sk_h\"] * -0.1369).threePointArc((p[\"sk_w\"] * -0.3423, p[\"sk_h\"] * -0.2421), (p[\"sk_w\"] * -0.2177, p[\"sk_h\"] * -0.3198)).threePointArc((p[\"sk_w\"] * 0.0482, p[\"sk_h\"] * -0.3703), (p[\"sk_w\"] * 0.2922, p[\"sk_h\"] * -0.2665)).lineTo(p[\"sk_w\"] * 0.3991, p[\"sk_h\"] * 0.0263).close().extrude(p[\"sk_t\"]))\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"sk_hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca4d7_2339", "family": "plate", "tier": 2, "seed": 1177330903, "symmetry": "none", "op_count": 3, "ir_hash": "565109eaf6b4480a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 2910.0, "surface_area": 2060.0, "principal_moments": [67600.0, 499000.0, 559000.0], "n_faces": 15, "n_edges": 39, "n_vertices": 26}, "dimensions": {"lines": ["Rectangular body, 45.19 \u00d7 16.4 \u00d7 4 mm (W\u00d7D\u00d7H).", "Five \u00d81.9 mm holes in two staggered rows, 16.9 \u00d7 13.6 mm pitch.", "Fillet radius 0.732 mm on vertical edges."], "text": "Rectangular body, 45.19 \u00d7 16.4 \u00d7 4 mm (W\u00d7D\u00d7H). Five \u00d81.9 mm holes in two staggered rows, 16.9 \u00d7 13.6 mm pitch. Fillet radius 0.732 mm on vertical edges."}, "params": {"plate_w": {"type": "float", "default": 45.19, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 16.4, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 4.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 1.9, "min": 2.0, "max": 1.6, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 3, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330903 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 45.19, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 16.4, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 4.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 1.9, \"min\": 2.0, \"max\": 1.6, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 3, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 16.9\n    _ssy = 13.6\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"plate_w\"], p[\"plate_d\"]) * 0.044606933585821684)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca4d8_2340", "family": "bracket", "tier": 1, "seed": 1177330904, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "7424138b8f83beaf", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 31200.0, "surface_area": 13100.0, "principal_moments": [5870000.0, 47899999.99999999, 49399999.99999999], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Z-bracket: base leg 75.59 mm, vertical leg 52.1 mm, top leg 65.4 mm, 28.9 mm wide, 6 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."], "text": "Z-bracket: base leg 75.59 mm, vertical leg 52.1 mm, top leg 65.4 mm, 28.9 mm wide, 6 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 75.59, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 52.1, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 28.9, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 6.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 65.4, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330904 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 75.59, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 52.1, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 28.9, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 65.4, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca4d9_2341", "family": "plate", "tier": 1, "seed": 1177330905, "symmetry": "none", "op_count": 2, "ir_hash": "653332f97a1b2b02", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 54200.0, "surface_area": 17000.0, "principal_moments": [25899999.999999996, 37400000.0, 62699999.99999999], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Rectangular body, 90.9 \u00d7 76 \u00d7 8 mm (W\u00d7D\u00d7H).", "Six \u00d85.3 mm holes in a 3\u00d72 grid, 36.4 \u00d7 60.8 mm pitch."], "text": "Rectangular body, 90.9 \u00d7 76 \u00d7 8 mm (W\u00d7D\u00d7H). Six \u00d85.3 mm holes in a 3\u00d72 grid, 36.4 \u00d7 60.8 mm pitch."}, "params": {"plate_w": {"type": "float", "default": 90.9, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 76.0, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 9.1, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 3, "min": 1, "max": 4, "step": 1, "group": "Holes", "label": "Holes across"}, "hole_ny": {"type": "int", "default": 2, "min": 1, "max": 4, "step": 1, "group": "Holes", "label": "Holes deep"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330905 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 90.9, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 76.0, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 9.1, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 3, \"min\": 1, \"max\": 4, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes across'},\n    \"hole_ny\": {\"type\": 'int', \"default\": 2, \"min\": 1, \"max\": 4, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes deep'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(36.4, 60.8, p[\"hole_nx\"], p[\"hole_ny\"])\n        .hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca4da_2342", "family": "bracket", "tier": 2, "seed": 1177330906, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "6b3cebbd56b445b9", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 77300.0, "surface_area": 29200.0, "principal_moments": [65399999.99999999, 115000000.0, 143000000.0], "n_faces": 19, "n_edges": 51, "n_vertices": 34}, "dimensions": {"lines": ["C-channel bracket: base leg 86.79 mm, vertical leg 76.9 mm, 55 mm wide, 6 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg; 7.8 mm corner gusset."], "text": "C-channel bracket: base leg 86.79 mm, vertical leg 76.9 mm, 55 mm wide, 6 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg; 7.8 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 86.79, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 76.9, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 55, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 6.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 7.8, "min": 3.0, "max": 18.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330906 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 86.79, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 76.9, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 55, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 7.8, \"min\": 3.0, \"max\": 18.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl / 2, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bl - _bt, _bt).lineTo(_bl - _bt - _g, _bt)\n                    .lineTo(_bl - _bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462ca4db_2343", "family": "ribbed", "tier": 2, "seed": 1177330907, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "84482bf99e45be7e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 13800.0, "surface_area": 6480.0, "principal_moments": [1480000.0, 1840000.0, 2490000.0], "n_faces": 26, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 35 \u00d7 31 \u00d7 10 mm (W\u00d7D\u00d7H).", "Four ribs, 2.1 mm thick, 12.4 mm tall."], "text": "Rectangular body, 35 \u00d7 31 \u00d7 10 mm (W\u00d7D\u00d7H). Four ribs, 2.1 mm thick, 12.4 mm tall."}, "params": {"base_w": {"type": "float", "default": 35, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 31.0, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 10.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 4, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 12.4, "min": 5.0, "max": 24.8, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 2.1, "min": 1.0, "max": 5.2, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330907 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 35, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 31.0, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 4, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 12.4, \"min\": 5.0, \"max\": 24.8, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 2.1, \"min\": 1.0, \"max\": 5.2, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca4dc_2344", "family": "plate", "tier": 1, "seed": 1177330908, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "d62adfbd633abc7c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 14500.0, "surface_area": 5760.0, "principal_moments": [1240000.0, 4500000.0, 5590000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 61.5 \u00d7 31.6 \u00d7 8 mm (W\u00d7D\u00d7H).", "Four \u00d86.4 mm holes at the corners, 43.05 \u00d7 22.12 mm spacing."], "text": "Rectangular body, 61.5 \u00d7 31.6 \u00d7 8 mm (W\u00d7D\u00d7H). Four \u00d86.4 mm holes at the corners, 43.05 \u00d7 22.12 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 61.5, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 31.6, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 7.1, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330908 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 61.5, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 31.6, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 7.1, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462ca4dd_2345", "family": "lofted", "tier": 3, "seed": 1177330909, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "9161d26e86af442c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 107000.0, "surface_area": 16000.0, "principal_moments": [44700000.0, 44700000.0, 46099999.99999999], "n_faces": 8, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["Lofted body through 3 sections: \u00d870 mm circular section \u2192 \u00d852 mm circular section \u2192 33.9 \u00d7 33.9 mm rectangular section.", "One \u00d814.2 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 3 sections: \u00d870 mm circular section \u2192 \u00d852 mm circular section \u2192 33.9 \u00d7 33.9 mm rectangular section. One \u00d814.2 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 70.0, "min": 35.0, "max": 112.0, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 33.9, "min": 13.6, "max": 84.0, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 51.4, "min": 20.6, "max": 102.8, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_mid": {"type": "float", "default": 52.0, "min": 16.9, "max": 84.0, "step": 1.0, "group": "Body", "label": "Mid size (mm)"}, "loft_bore_d": {"type": "float", "default": 14.2, "min": 2.0, "max": 27.1, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330909 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 70.0, \"min\": 35.0, \"max\": 112.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 33.9, \"min\": 13.6, \"max\": 84.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 51.4, \"min\": 20.6, \"max\": 102.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_mid\": {\"type\": 'float', \"default\": 52.0, \"min\": 16.9, \"max\": 84.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Mid size (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 14.2, \"min\": 2.0, \"max\": 27.1, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .circle(p[\"loft_base\"] / 2)\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .circle(p[\"loft_mid\"] / 2)\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .rect(p[\"loft_top\"], p[\"loft_top\"])\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462ca4de_2346", "family": "sketched", "tier": 1, "seed": 1177330910, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "c938f09e91784a89", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 156000.0, "surface_area": 25200.0, "principal_moments": [73600000.0, 73600000.0, 96599999.99999999], "n_faces": 9, "n_edges": 16, "n_vertices": 9}, "dimensions": {"lines": ["Revolved organic body from a freeform sketched section (8 segments: 5 straight, 3 curves), ~31.872 \u00d7 50 mm half-silhouette."], "text": "Revolved organic body from a freeform sketched section (8 segments: 5 straight, 3 curves), ~31.872 \u00d7 50 mm half-silhouette."}, "params": {"sk_r": {"type": "float", "default": 40, "min": 20.0, "max": 72.0, "step": 1.0, "group": "Sketch", "label": "Max radius (mm)"}, "sk_h": {"type": "float", "default": 50, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Sketch", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330910 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_r\": {\"type\": 'float', \"default\": 40, \"min\": 20.0, \"max\": 72.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Max radius (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 50, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XZ').moveTo(p[\"sk_r\"] * 0.9572, p[\"sk_h\"] * 0.0).lineTo(p[\"sk_r\"] * 0.6669, p[\"sk_h\"] * 0.1114).spline([(p[\"sk_r\"] * 0.6669, p[\"sk_h\"] * 0.1114), (p[\"sk_r\"] * 0.7032, p[\"sk_h\"] * 0.2555), (p[\"sk_r\"] * 0.9783, p[\"sk_h\"] * 0.3997)]).spline([(p[\"sk_r\"] * 0.9783, p[\"sk_h\"] * 0.3997), (p[\"sk_r\"] * 0.9675, p[\"sk_h\"] * 0.5898), (p[\"sk_r\"] * 0.7615, p[\"sk_h\"] * 0.7798)]).lineTo(p[\"sk_r\"] * 0.878, p[\"sk_h\"] * 0.8168).lineTo(p[\"sk_r\"] * 0.4929, p[\"sk_h\"] * 0.836).bezier([(p[\"sk_r\"] * 0.4929, p[\"sk_h\"] * 0.836), (p[\"sk_r\"] * 0.6629, p[\"sk_h\"] * 0.918), (p[\"sk_r\"] * 0.5576, p[\"sk_h\"] * 1.0)]).lineTo(p[\"sk_r\"] * 0.1815, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.1815, p[\"sk_h\"] * 0.0).close().revolve())\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca4df_2347", "family": "plate", "tier": 1, "seed": 1177330911, "symmetry": "radial", "op_count": 2, "ir_hash": "1ecdd21f34500085", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 584.0, "surface_area": 801.0, "principal_moments": [6250.0, 43600.0, 49400.0], "n_faces": 8, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["Rectangular body, 30 \u00d7 10.7 \u00d7 2 mm (W\u00d7D\u00d7H).", "Six \u00d84.3 mm holes on a \u00d818 mm bolt circle."], "text": "Rectangular body, 30 \u00d7 10.7 \u00d7 2 mm (W\u00d7D\u00d7H). Six \u00d84.3 mm holes on a \u00d818 mm bolt circle."}, "params": {"plate_w": {"type": "float", "default": 30, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 10.7, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 2.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "bolt_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 9.0, "min": 6.0, "max": 13.5, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 6, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330911 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 30, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 10.7, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 2.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 9.0, \"min\": 6.0, \"max\": 13.5, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca4e0_2348", "family": "revolved", "tier": 0, "seed": 1177330912, "symmetry": "none", "op_count": 1, "ir_hash": "79edc54615dadb90", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 130000.0, "surface_area": 24500.0, "principal_moments": [55599999.99999999, 86700000.0, 86700000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d853.37 mm \u00d7 87.3 mm tall."], "text": "Revolved body, \u00d853.37 mm \u00d7 87.3 mm tall."}, "params": {"outer_d": {"type": "float", "default": 53.37, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 87.3, "min": 26.2, "max": 261.9, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330912 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 53.37, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 87.3, \"min\": 26.2, \"max\": 261.9, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca4e1_2349", "family": "plate", "tier": 0, "seed": 1177330913, "symmetry": "none", "op_count": 1, "ir_hash": "f301e80528857e69", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 18500.0, "surface_area": 5440.0, "principal_moments": [2410000.0, 3790000.0, 5890000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 48.52 \u00d7 38.2 \u00d7 10 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 48.52 \u00d7 38.2 \u00d7 10 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 48.52, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 38.2, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330913 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 48.52, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 38.2, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca4e2_2350", "family": "bracket", "tier": 2, "seed": 1177330914, "symmetry": "none", "op_count": 1, "ir_hash": "06d74096bfb570d9", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 25700.0, "surface_area": 18400.0, "principal_moments": [14499999.999999998, 17500000.0, 18200000.0], "n_faces": 19, "n_edges": 51, "n_vertices": 34}, "dimensions": {"lines": ["C-channel bracket: base leg 48.56 mm, vertical leg 53.1 mm, 57.08 mm wide, 3 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg; 4.1 mm corner gusset."], "text": "C-channel bracket: base leg 48.56 mm, vertical leg 53.1 mm, 57.08 mm wide, 3 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg; 4.1 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 48.56, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 53.1, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 57.08, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 3.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 4.1, "min": 1.5, "max": 9.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330914 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 48.56, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 53.1, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 57.08, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 4.1, \"min\": 1.5, \"max\": 9.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl / 2, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bl - _bt, _bt).lineTo(_bl - _bt - _g, _bt)\n                    .lineTo(_bl - _bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca4e3_2351", "family": "plate", "tier": 0, "seed": 1177330915, "symmetry": "none", "op_count": 1, "ir_hash": "142efc18d67a615c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 13400.0, "surface_area": 4670.0, "principal_moments": [1310000.0, 2850000.0, 4030000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 50 \u00d7 33.4 \u00d7 8 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 50 \u00d7 33.4 \u00d7 8 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 50, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 33.4, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330915 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 50, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 33.4, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462ca4e4_2352", "family": "threaded", "tier": 2, "seed": 1177330916, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "199889dc4a87d202", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 26600.0, "surface_area": 8010.0, "principal_moments": [2220000.0, 7060000.0, 7060000.0], "n_faces": 110, "n_edges": 276, "n_vertices": 168}, "dimensions": {"lines": ["Tr 28x5 external thread, 52.5 mm long."], "text": "Tr 28x5 external thread, 52.5 mm long."}, "params": {"thread_size": {"type": "enum", "default": "28x5", "choices": ["8x1.5", "10x2", "12x3", "14x3", "16x4", "18x4", "20x4", "24x5", "28x5", "30x6", "36x6", "40x7"], "group": "Thread", "label": "Size designation"}, "thread_len": {"type": "float", "default": 52.5, "min": 21.0, "max": 105.0, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330916 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"thread_size\": {\"type\": 'enum', \"default\": '28x5', \"choices\": ['8x1.5', '10x2', '12x3', '14x3', '16x4', '18x4', '20x4', '24x5', '28x5', '30x6', '36x6', '40x7'], \"group\": 'Thread', \"label\": 'Size designation'},\n    \"thread_len\": {\"type\": 'float', \"default\": 52.5, \"min\": 21.0, \"max\": 105.0, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.MetricTrapezoidalThread(size=p[\"thread_size\"], length=p[\"thread_len\"], external=True, end_finishes=(\"fade\", \"fade\"))\n    _r = _thr.min_radius if hasattr(_thr, 'min_radius') else _thr.root_radius\n    _shank = _bd.Cylinder(radius=_r, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = _shank + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462ca4e5_2353", "family": "enclosure", "tier": 1, "seed": 1177330917, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "7e238cc712864313", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 90500.0, "surface_area": 59300.0, "principal_moments": [110000000.0, 148000000.0, 168000000.0], "n_faces": 11, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 95 \u00d7 56.9 \u00d7 84.7 mm (W\u00d7D\u00d7H).", "Hollowed to 3.1 mm wall thickness, open at top face."], "text": "Rectangular body, 95 \u00d7 56.9 \u00d7 84.7 mm (W\u00d7D\u00d7H). Hollowed to 3.1 mm wall thickness, open at top face."}, "params": {"enc_w": {"type": "float", "default": 95, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 56.9, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 84.7, "min": 33.9, "max": 169.4, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 3.1, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330917 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 95, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 56.9, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 84.7, \"min\": 33.9, \"max\": 169.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 3.1, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462ca4e7_2355", "family": "sketched", "tier": 1, "seed": 1177330919, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "baf48dbd448741b5", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 9990.0, "surface_area": 3530.0, "principal_moments": [784000.0, 784000.0, 836000.0], "n_faces": 7, "n_edges": 12, "n_vertices": 7}, "dimensions": {"lines": ["Revolved organic body from a freeform sketched section (6 segments: 3 straight, 2 arcs, 1 curve), ~12.111 \u00d7 23.56 mm half-silhouette."], "text": "Revolved organic body from a freeform sketched section (6 segments: 3 straight, 2 arcs, 1 curve), ~12.111 \u00d7 23.56 mm half-silhouette."}, "params": {"sk_r": {"type": "float", "default": 15, "min": 7.5, "max": 27.0, "step": 1.0, "group": "Sketch", "label": "Max radius (mm)"}, "sk_h": {"type": "float", "default": 23.56, "min": 11.8, "max": 42.4, "step": 1.0, "group": "Sketch", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330919 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_r\": {\"type\": 'float', \"default\": 15, \"min\": 7.5, \"max\": 27.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Max radius (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 23.56, \"min\": 11.8, \"max\": 42.4, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XZ').moveTo(p[\"sk_r\"] * 0.7617, p[\"sk_h\"] * 0.0).spline([(p[\"sk_r\"] * 0.7617, p[\"sk_h\"] * 0.0), (p[\"sk_r\"] * 0.7077, p[\"sk_h\"] * 0.0591), (p[\"sk_r\"] * 0.4808, p[\"sk_h\"] * 0.1182)]).threePointArc((p[\"sk_r\"] * 0.2779, p[\"sk_h\"] * 0.1272), (p[\"sk_r\"] * 0.2874, p[\"sk_h\"] * 0.1362)).threePointArc((p[\"sk_r\"] * 0.7084, p[\"sk_h\"] * 0.3504), (p[\"sk_r\"] * 0.9256, p[\"sk_h\"] * 0.5646)).lineTo(p[\"sk_r\"] * 0.8922, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.1182, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.1182, p[\"sk_h\"] * 0.0).close().revolve())\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca4e8_2356", "family": "revolved", "tier": 0, "seed": 1177330920, "symmetry": "none", "op_count": 1, "ir_hash": "5bf620810c4e66d0", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 559000.0, "surface_area": 80900.0, "principal_moments": [354000000.0, 2290000000.0, 2290000000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d865 mm \u00d7 252.6 mm tall."], "text": "Revolved body, \u00d865 mm \u00d7 252.6 mm tall."}, "params": {"outer_d": {"type": "float", "default": 65, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 252.6, "min": 75.8, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330920 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 65, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 252.6, \"min\": 75.8, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca4e9_2357", "family": "revolved", "tier": 0, "seed": 1177330921, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "6ca44a59639098e9", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 201.0, "surface_area": 301.0, "principal_moments": [1430.0, 1430.0, 1590.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d87.26 mm \u00d7 7.3 mm tall."], "text": "Revolved body, \u00d87.26 mm \u00d7 7.3 mm tall."}, "params": {"outer_d": {"type": "float", "default": 7.26, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 7.3, "min": 2.2, "max": 21.9, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330921 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 7.26, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 7.3, \"min\": 2.2, \"max\": 21.9, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca4ea_2358", "family": "revolved", "tier": 0, "seed": 1177330922, "symmetry": "none", "op_count": 1, "ir_hash": "4eeadcb0d93c0910", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 52700.0, "surface_area": 13800.0, "principal_moments": [11200000.0, 21300000.0, 21300000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d837.66 mm \u00d7 70.9 mm tall."], "text": "Revolved body, \u00d837.66 mm \u00d7 70.9 mm tall."}, "params": {"outer_d": {"type": "float", "default": 37.66, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 70.9, "min": 21.3, "max": 212.7, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330922 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 37.66, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 70.9, \"min\": 21.3, \"max\": 212.7, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca4eb_2359", "family": "plate", "tier": 1, "seed": 1177330923, "symmetry": "none", "op_count": 2, "ir_hash": "a7e95e48c43b9020", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 4070.0, "surface_area": 2570.0, "principal_moments": [222000.0, 402000.0, 608000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 35 \u00d7 25.8 \u00d7 5 mm (W\u00d7D\u00d7H).", "Four \u00d85.3 mm holes at the corners, 24.5 \u00d7 18.06 mm spacing."], "text": "Rectangular body, 35 \u00d7 25.8 \u00d7 5 mm (W\u00d7D\u00d7H). Four \u00d85.3 mm holes at the corners, 24.5 \u00d7 18.06 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 35, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 25.8, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 5.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 5.8, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330923 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 35, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 25.8, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 5.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 5.8, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462ca4ec_2360", "family": "threaded", "tier": 0, "seed": 1177330924, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "2399fcd62355eb35", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 365.0, "surface_area": 549.0, "principal_moments": [949.0, 16100.0, 16100.0], "n_faces": 290, "n_edges": 744, "n_vertices": 456}, "dimensions": {"lines": ["M5x0.8 external thread, 22.8 mm long."], "text": "M5x0.8 external thread, 22.8 mm long."}, "params": {"major_d": {"type": "float", "default": 5.0, "min": 4.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Major diameter (mm)"}, "pitch": {"type": "float", "default": 0.8, "min": 0.4, "max": 1.6, "step": 0.05, "group": "Thread", "label": "Pitch (mm)"}, "thread_len": {"type": "float", "default": 22.8, "min": 9.1, "max": 45.6, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330924 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 5.0, \"min\": 4.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Major diameter (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 0.8, \"min\": 0.4, \"max\": 1.6, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Pitch (mm)'},\n    \"thread_len\": {\"type\": 'float', \"default\": 22.8, \"min\": 9.1, \"max\": 45.6, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.IsoThread(major_diameter=p[\"major_d\"], pitch=p[\"pitch\"], length=p[\"thread_len\"], external=True, end_finishes=(\"fade\", \"fade\"))\n    _r = _thr.min_radius if hasattr(_thr, 'min_radius') else _thr.root_radius\n    _shank = _bd.Cylinder(radius=_r, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = _shank + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca4ed_2361", "family": "block", "tier": 2, "seed": 1177330925, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "75c4aa0942529166", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 40900.0, "surface_area": 11100.0, "principal_moments": [7980000.0, 9360000.0, 10100000.0], "n_faces": 19, "n_edges": 50, "n_vertices": 32}, "dimensions": {"lines": ["Rectangular body, 35 \u00d7 31.5 \u00d7 40 mm (W\u00d7D\u00d7H).", "Seven \u00d82.8 mm holes in two staggered rows, 8.8 \u00d7 10.1 mm pitch.", "Boss \u00d815.4 mm \u00d7 5.8 mm tall on top face with a \u00d88.4 mm bore."], "text": "Rectangular body, 35 \u00d7 31.5 \u00d7 40 mm (W\u00d7D\u00d7H). Seven \u00d82.8 mm holes in two staggered rows, 8.8 \u00d7 10.1 mm pitch. Boss \u00d815.4 mm \u00d7 5.8 mm tall on top face with a \u00d88.4 mm bore."}, "params": {"block_w": {"type": "float", "default": 35, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 31.5, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 40.0, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 2.8, "min": 2.0, "max": 3.2, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 4, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}, "boss_d": {"type": "float", "default": 15.4, "min": 7.7, "max": 30.8, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 5.8, "min": 2.3, "max": 14.5, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}, "boss_bore_d": {"type": "float", "default": 8.4, "min": 2.0, "max": 10.8, "step": 0.1, "group": "Boss", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330925 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 35, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 31.5, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 40.0, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 2.8, \"min\": 2.0, \"max\": 3.2, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 4, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n    \"boss_d\": {\"type\": 'float', \"default\": 15.4, \"min\": 7.7, \"max\": 30.8, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 5.8, \"min\": 2.3, \"max\": 14.5, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n    \"boss_bore_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 2.0, \"max\": 10.8, \"step\": 0.1, \"group\": 'Boss', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 8.8\n    _ssy = 10.1\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .hole(p[\"boss_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462ca4ee_2362", "family": "gear", "tier": 1, "seed": 1177330926, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "8f88225caa8fc545", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 71200.0, "surface_area": 15800.0, "principal_moments": [21000000.0, 21000000.0, 33700000.0], "n_faces": 93, "n_edges": 273, "n_vertices": 182}, "dimensions": {"lines": ["Spur gear, module 4 mm, 15 teeth (pitch \u00d860 mm), face width 26.3 mm, \u00d87.9 mm bore."], "text": "Spur gear, module 4 mm, 15 teeth (pitch \u00d860 mm), face width 26.3 mm, \u00d87.9 mm bore."}, "params": {"module": {"type": "float", "default": 4.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 15, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 26.3, "min": 10.5, "max": 65.8, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "bore_d": {"type": "float", "default": 7.9, "min": 2.0, "max": 30.0, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330926 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 4.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 15, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 26.3, \"min\": 10.5, \"max\": 65.8, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 7.9, \"min\": 2.0, \"max\": 30.0, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca4ef_2363", "family": "block", "tier": 2, "seed": 1177330927, "symmetry": "none", "op_count": 3, "ir_hash": "04e3445a70ff9550", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 256000.0, "surface_area": 33500.0, "principal_moments": [185000000.0, 186000000.0, 224000000.0], "n_faces": 17, "n_edges": 51, "n_vertices": 34}, "dimensions": {"lines": ["Rectangular body, 70 \u00d7 69.3 \u00d7 59.2 mm (W\u00d7D\u00d7H).", "Five \u00d86.4 mm holes in two staggered rows, 26.2 \u00d7 28.4 mm pitch.", "Pocket 29 \u00d7 31.8 mm, 24.8 mm deep, in top face."], "text": "Rectangular body, 70 \u00d7 69.3 \u00d7 59.2 mm (W\u00d7D\u00d7H). Five \u00d86.4 mm holes in two staggered rows, 26.2 \u00d7 28.4 mm pitch. Pocket 29 \u00d7 31.8 mm, 24.8 mm deep, in top face."}, "params": {"block_w": {"type": "float", "default": 70, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 69.3, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 59.2, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 6.9, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 3, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}, "pocket_w": {"type": "float", "default": 29.0, "min": 14.5, "max": 56.0, "step": 1.0, "group": "Pocket", "label": "Pocket width (mm)"}, "pocket_d": {"type": "float", "default": 31.8, "min": 15.9, "max": 55.4, "step": 1.0, "group": "Pocket", "label": "Pocket depth (mm)"}, "pocket_h": {"type": "float", "default": 24.8, "min": 9.9, "max": 50.3, "step": 0.5, "group": "Pocket", "label": "Pocket height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330927 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 70, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 69.3, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 59.2, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 6.9, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 3, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n    \"pocket_w\": {\"type\": 'float', \"default\": 29.0, \"min\": 14.5, \"max\": 56.0, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket width (mm)'},\n    \"pocket_d\": {\"type\": 'float', \"default\": 31.8, \"min\": 15.9, \"max\": 55.4, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket depth (mm)'},\n    \"pocket_h\": {\"type\": 'float', \"default\": 24.8, \"min\": 9.9, \"max\": 50.3, \"step\": 0.5, \"group\": 'Pocket', \"label\": 'Pocket height (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 26.2\n    _ssy = 28.4\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"pocket_w\"], p[\"pocket_d\"])\n        .cutBlind(-p[\"pocket_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca4f0_2364", "family": "plate", "tier": 1, "seed": 1177330928, "symmetry": "none", "op_count": 2, "ir_hash": "36ec18c95de7ef12", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 14800.0, "surface_area": 6670.0, "principal_moments": [1120000.0, 8800000.0, 9830000.0], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Rectangular body, 85 \u00d7 29.6 \u00d7 6 mm (W\u00d7D\u00d7H).", "Six \u00d83.2 mm holes in a 2\u00d73 grid, 68 \u00d7 11.8 mm pitch."], "text": "Rectangular body, 85 \u00d7 29.6 \u00d7 6 mm (W\u00d7D\u00d7H). Six \u00d83.2 mm holes in a 2\u00d73 grid, 68 \u00d7 11.8 mm pitch."}, "params": {"plate_w": {"type": "float", "default": 85, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 29.6, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 6.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 3.6, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 2, "min": 1, "max": 4, "step": 1, "group": "Holes", "label": "Holes across"}, "hole_ny": {"type": "int", "default": 3, "min": 1, "max": 4, "step": 1, "group": "Holes", "label": "Holes deep"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330928 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 85, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 29.6, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 3.6, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 2, \"min\": 1, \"max\": 4, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes across'},\n    \"hole_ny\": {\"type\": 'int', \"default\": 3, \"min\": 1, \"max\": 4, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes deep'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(68.0, 11.8, p[\"hole_nx\"], p[\"hole_ny\"])\n        .hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca4f1_2365", "family": "block", "tier": 2, "seed": 1177330929, "symmetry": "mirror_xy", "op_count": 3, "ir_hash": "b998a096eca4a413", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 78100.0, "surface_area": 18000.0, "principal_moments": [16099999.999999998, 53299999.99999999, 64299999.99999999], "n_faces": 14, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 46.62 \u00d7 20.3 \u00d7 88.3 mm (W\u00d7D\u00d7H).", "Four \u00d84.3 mm holes at the corners, 32.634 \u00d7 14.21 mm spacing.", "Fillet radius 2.238 mm on vertical edges."], "text": "Rectangular body, 46.62 \u00d7 20.3 \u00d7 88.3 mm (W\u00d7D\u00d7H). Four \u00d84.3 mm holes at the corners, 32.634 \u00d7 14.21 mm spacing. Fillet radius 2.238 mm on vertical edges."}, "params": {"block_w": {"type": "float", "default": 46.62, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 20.3, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 88.3, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 4.6, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330929 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 46.62, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 20.3, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 88.3, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 4.6, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"block_w\"], p[\"block_d\"]) * 0.11024009334124477)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462ca4f2_2366", "family": "flanged", "tier": 2, "seed": 1177330930, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "00fe7768ffe68e2d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 15100.0, "surface_area": 7970.0, "principal_moments": [2850000.0, 2850000.0, 4460000.0], "n_faces": 14, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["Revolved body, \u00d825 mm \u00d7 21.8 mm tall with \u00d812.8 mm bore, \u00d857 mm \u00d7 4 mm flange.", "Eight \u00d86.4 mm holes on a \u00d834.2 mm bolt circle."], "text": "Revolved body, \u00d825 mm \u00d7 21.8 mm tall with \u00d812.8 mm bore, \u00d857 mm \u00d7 4 mm flange. Eight \u00d86.4 mm holes on a \u00d834.2 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 25, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 21.8, "min": 6.5, "max": 54.5, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 12.8, "min": 2.0, "max": 17.5, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 57.0, "min": 32.5, "max": 75.0, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 4.0, "min": 1.2, "max": 8.7, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 17.1, "min": 11.4, "max": 25.7, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 8, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330930 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 25, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 21.8, \"min\": 6.5, \"max\": 54.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 12.8, \"min\": 2.0, \"max\": 17.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 57.0, \"min\": 32.5, \"max\": 75.0, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 4.0, \"min\": 1.2, \"max\": 8.7, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 17.1, \"min\": 11.4, \"max\": 25.7, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462ca4f3_2367", "family": "flanged", "tier": 1, "seed": 1177330931, "symmetry": "none", "op_count": 2, "ir_hash": "be4141b94b5dfcbb", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 689000.0, "surface_area": 85200.0, "principal_moments": [1340000000.0, 1340000000.0, 1380000000.0], "n_faces": 13, "n_edges": 42, "n_vertices": 28}, "dimensions": {"lines": ["Revolved body, \u00d897.13 mm \u00d7 97.7 mm tall with \u00d845.8 mm bore, \u00d8161.7 mm \u00d7 10 mm flange.", "Four \u00d85.3 mm holes on a \u00d897 mm bolt circle."], "text": "Revolved body, \u00d897.13 mm \u00d7 97.7 mm tall with \u00d845.8 mm bore, \u00d8161.7 mm \u00d7 10 mm flange. Four \u00d85.3 mm holes on a \u00d897 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 97.13, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 97.7, "min": 29.3, "max": 244.2, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 45.8, "min": 2.0, "max": 68.0, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 161.7, "min": 126.3, "max": 291.4, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 10.0, "min": 3.0, "max": 39.1, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 48.5, "min": 32.3, "max": 72.8, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 4, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330931 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 97.13, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 97.7, \"min\": 29.3, \"max\": 244.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 45.8, \"min\": 2.0, \"max\": 68.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 161.7, \"min\": 126.3, \"max\": 291.4, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 10.0, \"min\": 3.0, \"max\": 39.1, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 48.5, \"min\": 32.3, \"max\": 72.8, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 4, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca4f4_2368", "family": "block", "tier": 3, "seed": 1177330932, "symmetry": "none", "op_count": 5, "ir_hash": "dd2225f2274eac30", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 248000.0, "surface_area": 31200.0, "principal_moments": [159000000.0, 204000000.0, 319000000.0], "n_faces": 17, "n_edges": 43, "n_vertices": 28}, "dimensions": {"lines": ["Rectangular body, 81.47 \u00d7 33 \u00d7 93.8 mm (W\u00d7D\u00d7H).", "Five \u00d83.2 mm holes in two staggered rows, 30.6 \u00d7 25.9 mm pitch.", "Fillet radius 1.799 mm on vertical edges.", "Fillet radius 1.332 mm on vertical edges (optional, off by default).", "One \u00d85.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch, angled 21.9\u00b0 on the <Y face."], "text": "Rectangular body, 81.47 \u00d7 33 \u00d7 93.8 mm (W\u00d7D\u00d7H). Five \u00d83.2 mm holes in two staggered rows, 30.6 \u00d7 25.9 mm pitch. Fillet radius 1.799 mm on vertical edges. Fillet radius 1.332 mm on vertical edges (optional, off by default). One \u00d85.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch, angled 21.9\u00b0 on the <Y face."}, "params": {"block_w": {"type": "float", "default": 81.47, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 33.0, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 93.8, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 3.3, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 3, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}, "filleted2": {"type": "bool", "default": false, "group": "Body", "label": "Fillet corners"}, "face_hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 9.5, "step": 0.5, "group": "Holes", "label": "Side hole diameter (mm)"}, "face_hole_tilt": {"type": "float", "default": 21.9, "min": 0.0, "max": 30.0, "step": 1.0, "group": "Holes", "label": "Side hole angle (deg)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330932 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 81.47, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 33.0, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 93.8, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 3.3, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 3, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n    \"filleted2\": {\"type\": 'bool', \"default\": False, \"group\": 'Body', \"label\": 'Fillet corners'},\n    \"face_hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 9.5, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Side hole diameter (mm)'},\n    \"face_hole_tilt\": {\"type\": 'float', \"default\": 21.9, \"min\": 0.0, \"max\": 30.0, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Side hole angle (deg)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 30.6\n    _ssy = 25.9\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"block_w\"], p[\"block_d\"]) * 0.05452823259180034)\n    if p[\"filleted2\"]:\n        result = result.edges('|Z').fillet(min(p[\"block_w\"], p[\"block_d\"]) * 0.04037752950571852)\n    result = (\n        result.faces('<Y').workplane().transformed(rotate=(p[\"face_hole_tilt\"], 0, 0))\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"face_hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca4f5_2369", "family": "plate", "tier": 2, "seed": 1177330933, "symmetry": "none", "op_count": 2, "ir_hash": "5e33b011055043fb", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 51000.0, "surface_area": 17100.0, "principal_moments": [18300000.0, 45300000.0, 63099999.99999999], "n_faces": 22, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 105.95 \u00d7 67 \u00d7 8 mm (W\u00d7D\u00d7H).", "Four 19.4 \u00d7 10.5 mm slots at the corners, 74.165 \u00d7 46.9 mm spacing."], "text": "Rectangular body, 105.95 \u00d7 67 \u00d7 8 mm (W\u00d7D\u00d7H). Four 19.4 \u00d7 10.5 mm slots at the corners, 74.165 \u00d7 46.9 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 105.95, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 67.0, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 10.5, "min": 2.0, "max": 13.0, "step": 0.5, "group": "Holes", "label": "Slot width (mm)"}, "hole_slot_len": {"type": "float", "default": 19.4, "min": 15.8, "max": 20.1, "step": 0.5, "group": "Holes", "label": "Slot length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330933 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 105.95, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 67.0, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 10.5, \"min\": 2.0, \"max\": 13.0, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Slot width (mm)'},\n    \"hole_slot_len\": {\"type\": 'float', \"default\": 19.4, \"min\": 15.8, \"max\": 20.1, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Slot length (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().slot2D(p[\"hole_slot_len\"], p[\"hole_d\"]).cutThruAll()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462ca4f7_2371", "family": "sketched", "tier": 1, "seed": 1177330935, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "014b7769aabd7db0", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 107000.0, "surface_area": 12900.0, "principal_moments": [37600000.0, 37900000.0, 37900000.0], "n_faces": 6, "n_edges": 9, "n_vertices": 5}, "dimensions": {"lines": ["Revolved organic body from a freeform sketched section (6 segments: 5 straight, 1 arc), ~29.657 \u00d7 55 mm half-silhouette."], "text": "Revolved organic body from a freeform sketched section (6 segments: 5 straight, 1 arc), ~29.657 \u00d7 55 mm half-silhouette."}, "params": {"sk_r": {"type": "float", "default": 37.65, "min": 18.8, "max": 67.8, "step": 1.0, "group": "Sketch", "label": "Max radius (mm)"}, "sk_h": {"type": "float", "default": 55, "min": 27.5, "max": 99.0, "step": 1.0, "group": "Sketch", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330935 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_r\": {\"type\": 'float', \"default\": 37.65, \"min\": 18.8, \"max\": 67.8, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Max radius (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 55, \"min\": 27.5, \"max\": 99.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XZ').moveTo(p[\"sk_r\"] * 0.6421, p[\"sk_h\"] * 0.0).lineTo(p[\"sk_r\"] * 0.4593, p[\"sk_h\"] * 0.1342).threePointArc((p[\"sk_r\"] * 0.704, p[\"sk_h\"] * 0.2987), (p[\"sk_r\"] * 0.7439, p[\"sk_h\"] * 0.4632)).lineTo(p[\"sk_r\"] * 0.7877, p[\"sk_h\"] * 0.7826).lineTo(p[\"sk_r\"] * 0.1552, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.0, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.0, p[\"sk_h\"] * 0.0).close().revolve())\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca4f8_2372", "family": "compound", "tier": 1, "seed": 1177330936, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "f2ce0e0959ef2011", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 34700.0, "surface_area": 7770.0, "principal_moments": [5980000.0, 6410000.0, 6870000.0], "n_faces": 24, "n_edges": 63, "n_vertices": 41}, "dimensions": {"lines": ["Rectangular body, 35 \u00d7 30.4 \u00d7 33.1 mm (W\u00d7D\u00d7H).", "6-sided polygon section, 10.2 mm across corners attachment, 5.6 mm long, from right face with a \u00d84.7 mm bore.", "6-sided polygon section, 10.2 mm across corners attachment, 5.6 mm long, from front face with a \u00d84.7 mm bore."], "text": "Rectangular body, 35 \u00d7 30.4 \u00d7 33.1 mm (W\u00d7D\u00d7H). 6-sided polygon section, 10.2 mm across corners attachment, 5.6 mm long, from right face with a \u00d84.7 mm bore. 6-sided polygon section, 10.2 mm across corners attachment, 5.6 mm long, from front face with a \u00d84.7 mm bore."}, "params": {"block_w": {"type": "float", "default": 35, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body width (mm)"}, "block_d": {"type": "float", "default": 30.4, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body depth (mm)"}, "block_h": {"type": "float", "default": 33.1, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body height (mm)"}, "port_sides": {"type": "int", "default": 6, "min": 3, "max": 8, "step": 1, "group": "Ports", "label": "Ports sides"}, "port_r": {"type": "float", "default": 5.1, "min": 2.5, "max": 6.8, "step": 1.0, "group": "Ports", "label": "Ports circumradius (mm)"}, "port_len": {"type": "float", "default": 5.6, "min": 2.2, "max": 26.5, "step": 1.0, "group": "Ports", "label": "Port boss length (mm)"}, "port_bore": {"type": "float", "default": 4.7, "min": 2.0, "max": 6.4, "step": 0.5, "group": "Ports", "label": "Port bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330936 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 35, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 30.4, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 33.1, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body height (mm)'},\n    \"port_sides\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Ports', \"label\": 'Ports sides'},\n    \"port_r\": {\"type\": 'float', \"default\": 5.1, \"min\": 2.5, \"max\": 6.8, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Ports circumradius (mm)'},\n    \"port_len\": {\"type\": 'float', \"default\": 5.6, \"min\": 2.2, \"max\": 26.5, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Port boss length (mm)'},\n    \"port_bore\": {\"type\": 'float', \"default\": 4.7, \"min\": 2.0, \"max\": 6.4, \"step\": 0.5, \"group\": 'Ports', \"label\": 'Port bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"port_sides\"], p[\"port_r\"] * 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"port_sides\"], p[\"port_r\"] * 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462ca4fa_2374", "family": "tapped", "tier": 3, "seed": 1177330938, "symmetry": "none", "op_count": 1, "ir_hash": "744edf7a85ca9053", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 1120.0, "surface_area": 873.0, "principal_moments": [23300.0, 23300.0, 23700.0], "n_faces": 116, "n_edges": 314, "n_vertices": 200}, "dimensions": {"lines": ["One M5x0.8 tapped hole in a cylinder."], "text": "One M5x0.8 tapped hole in a cylinder."}, "params": {"major_d": {"type": "float", "default": 5.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 0.8, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 11.1, "min": 6.0, "max": 20.0, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "body_d": {"type": "float", "default": 12.2, "min": 9.0, "max": 19.5, "step": 1.0, "group": "Body", "label": "Outer \u00d8 (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330938 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 0.8, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 11.1, \"min\": 6.0, \"max\": 20.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"body_d\": {\"type\": 'float', \"default\": 12.2, \"min\": 9.0, \"max\": 19.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer \u00d8 (mm)'},\n}\n\n\ndef build(p):\n\n    _W = _D = p[\"body_d\"]\n    _H = p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Cylinder(radius=_W / 2, height=_H)\n    _locs = [(0.0, 0.0)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462ca4fb_2375", "family": "swept", "tier": 1, "seed": 1177330939, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "fe35e243976f58b7", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 16800.0, "surface_area": 4380.0, "principal_moments": [936000.0, 4040000.0, 4230000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["20.1 \u00d7 16.3 mm rectangular section swept along a curved path, ~51.21 mm span."], "text": "20.1 \u00d7 16.3 mm rectangular section swept along a curved path, ~51.21 mm span."}, "params": {"path_w": {"type": "float", "default": 33.29, "min": 16.6, "max": 59.9, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 51.21, "min": 25.6, "max": 92.2, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_a": {"type": "float", "default": 20.1, "min": 10.1, "max": 36.2, "step": 1.0, "group": "Section", "label": "Section width (mm)"}, "sweep_b": {"type": "float", "default": 16.3, "min": 8.2, "max": 29.3, "step": 1.0, "group": "Section", "label": "Section depth (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330939 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 33.29, \"min\": 16.6, \"max\": 59.9, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 51.21, \"min\": 25.6, \"max\": 92.2, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_a\": {\"type\": 'float', \"default\": 20.1, \"min\": 10.1, \"max\": 36.2, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section width (mm)'},\n    \"sweep_b\": {\"type\": 'float', \"default\": 16.3, \"min\": 8.2, \"max\": 29.3, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section depth (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.4509), (p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.4918), (p[\"path_w\"] * 0.0, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').rect(p[\"sweep_a\"], p[\"sweep_b\"]).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca4fc_2376", "family": "bracket", "tier": 1, "seed": 1177330940, "symmetry": "none", "op_count": 1, "ir_hash": "507f85251200d648", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 19900.0, "surface_area": 6800.0, "principal_moments": [3370000.0, 4830000.0, 6140000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["L-bracket: base leg 35 mm, vertical leg 39.7 mm, 37.49 mm wide, 8 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."], "text": "L-bracket: base leg 35 mm, vertical leg 39.7 mm, 37.49 mm wide, 8 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 35, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 39.7, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 37.49, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 8.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330940 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 35, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 39.7, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 37.49, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca4fd_2377", "family": "bracket", "tier": 1, "seed": 1177330941, "symmetry": "none", "op_count": 1, "ir_hash": "aa570ac29dfb7092", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 25900.0, "surface_area": 10500.0, "principal_moments": [7560000.0, 10400000.0, 13699999.999999998], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["L-bracket: base leg 44.23 mm, vertical leg 48.8 mm, 50 mm wide, 6 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."], "text": "L-bracket: base leg 44.23 mm, vertical leg 48.8 mm, 50 mm wide, 6 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 44.23, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 48.8, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 50, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 6.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330941 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 44.23, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 48.8, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 50, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca4fe_2378", "family": "plate", "tier": 3, "seed": 1177330942, "symmetry": "radial", "op_count": 4, "ir_hash": "9a0374eddb60584a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 64900.0, "surface_area": 22100.0, "principal_moments": [47599999.99999999, 59799999.99999999, 107000000.0], "n_faces": 21, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 102.81 \u00d7 91 \u00d7 8 mm (W\u00d7D\u00d7H).", "Four \u00d88.4 mm holes on a \u00d861.6 mm bolt circle.", "Chamfer 9.3 mm on vertical edges.", "Pocket 66.6 \u00d7 41.9 mm, 2.5 mm deep, in top face."], "text": "Rectangular body, 102.81 \u00d7 91 \u00d7 8 mm (W\u00d7D\u00d7H). Four \u00d88.4 mm holes on a \u00d861.6 mm bolt circle. Chamfer 9.3 mm on vertical edges. Pocket 66.6 \u00d7 41.9 mm, 2.5 mm deep, in top face."}, "params": {"plate_w": {"type": "float", "default": 102.81, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 91.0, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "bolt_d": {"type": "float", "default": 8.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 30.8, "min": 20.6, "max": 46.3, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 4, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}, "chamfer_d": {"type": "float", "default": 9.3, "min": 3.6, "max": 10.9, "step": 0.5, "group": "Body", "label": "Chamfer distance (mm)"}, "chamfered": {"type": "bool", "default": true, "group": "Body", "label": "Chamfer edges"}, "pocket_w": {"type": "float", "default": 66.6, "min": 33.3, "max": 82.2, "step": 1.0, "group": "Pocket", "label": "Pocket width (mm)"}, "pocket_d": {"type": "float", "default": 41.9, "min": 20.9, "max": 72.8, "step": 1.0, "group": "Pocket", "label": "Pocket depth (mm)"}, "pocket_h": {"type": "float", "default": 2.5, "min": 1.0, "max": 6.8, "step": 0.5, "group": "Pocket", "label": "Pocket height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330942 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 102.81, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 91.0, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 30.8, \"min\": 20.6, \"max\": 46.3, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 4, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n    \"chamfer_d\": {\"type\": 'float', \"default\": 9.3, \"min\": 3.6, \"max\": 10.9, \"step\": 0.5, \"group\": 'Body', \"label\": 'Chamfer distance (mm)'},\n    \"chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Chamfer edges'},\n    \"pocket_w\": {\"type\": 'float', \"default\": 66.6, \"min\": 33.3, \"max\": 82.2, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket width (mm)'},\n    \"pocket_d\": {\"type\": 'float', \"default\": 41.9, \"min\": 20.9, \"max\": 72.8, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket depth (mm)'},\n    \"pocket_h\": {\"type\": 'float', \"default\": 2.5, \"min\": 1.0, \"max\": 6.8, \"step\": 0.5, \"group\": 'Pocket', \"label\": 'Pocket height (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    if p[\"chamfered\"]:\n        result = result.edges('|Z').chamfer(p[\"chamfer_d\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"pocket_w\"], p[\"pocket_d\"])\n        .cutBlind(-p[\"pocket_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462ca4ff_2379", "family": "profiled", "tier": 0, "seed": 1177330943, "symmetry": "none", "op_count": 1, "ir_hash": "a82e02d19dd340c4", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 188000.0, "surface_area": 27600.0, "principal_moments": [32899999.999999996, 823000000.0, 845000000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["45.35 \u00d7 20 mm slot section, extruded 228.6 mm thick."], "text": "45.35 \u00d7 20 mm slot section, extruded 228.6 mm thick."}, "params": {"slot_len": {"type": "float", "default": 45.35, "min": 22.7, "max": 90.7, "step": 1.0, "group": "Profile", "label": "Slot length (mm)"}, "slot_w": {"type": "float", "default": 20, "min": 10.0, "max": 40.0, "step": 0.5, "group": "Profile", "label": "Slot width (mm)"}, "length": {"type": "float", "default": 228.6, "min": 68.6, "max": 685.8, "step": 5.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330943 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"slot_len\": {\"type\": 'float', \"default\": 45.35, \"min\": 22.7, \"max\": 90.7, \"step\": 1.0, \"group\": 'Profile', \"label\": 'Slot length (mm)'},\n    \"slot_w\": {\"type\": 'float', \"default\": 20, \"min\": 10.0, \"max\": 40.0, \"step\": 0.5, \"group\": 'Profile', \"label\": 'Slot width (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 228.6, \"min\": 68.6, \"max\": 685.8, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').slot2D(p[\"slot_len\"], p[\"slot_w\"]).extrude(p[\"length\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca500_2380", "family": "bracket", "tier": 2, "seed": 1177330944, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "81e861e751dfd4cf", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 50700.0, "surface_area": 15700.0, "principal_moments": [14099999.999999998, 40300000.0, 47299999.99999999], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Z-bracket: base leg 62.45 mm, vertical leg 40.7 mm, top leg 39.8 mm, 50 mm wide, 8 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 8.5 mm corner gusset."], "text": "Z-bracket: base leg 62.45 mm, vertical leg 40.7 mm, top leg 39.8 mm, 50 mm wide, 8 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 8.5 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 62.45, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 40.7, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 50, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 8.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 39.8, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}, "gusset_t": {"type": "float", "default": 8.5, "min": 4.0, "max": 24.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330944 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 62.45, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 40.7, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 50, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 39.8, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 8.5, \"min\": 4.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _tl, _vl) * 0.4 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(0, _vl - _bt).lineTo(-_g, _vl - _bt)\n                    .lineTo(0, _vl - _bt - _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462ca501_2381", "family": "sketched", "tier": 1, "seed": 1177330945, "symmetry": "none", "op_count": 2, "ir_hash": "e059db9e3d45b372", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 31500.0, "surface_area": 6280.0, "principal_moments": [4020000.0, 6270000.0, 7010000.0], "n_faces": 8, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["freeform sketched section (5 segments: 2 straight, 3 curves), ~49.858 \u00d7 39.17 mm, extruded 25 mm thick.", "One \u00d84.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "freeform sketched section (5 segments: 2 straight, 3 curves), ~49.858 \u00d7 39.17 mm, extruded 25 mm thick. One \u00d84.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"sk_w": {"type": "float", "default": 61.79, "min": 30.9, "max": 111.2, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 50, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "sk_t": {"type": "float", "default": 25, "min": 10.0, "max": 55.0, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "sk_hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 8.6, "step": 0.5, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330945 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 61.79, \"min\": 30.9, \"max\": 111.2, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 50, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"sk_t\": {\"type\": 'float', \"default\": 25, \"min\": 10.0, \"max\": 55.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"sk_hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 8.6, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.4225, p[\"sk_h\"] * -0.0282).lineTo(p[\"sk_w\"] * 0.2392, p[\"sk_h\"] * 0.3161).lineTo(p[\"sk_w\"] * -0.3844, p[\"sk_h\"] * 0.1013).spline([(p[\"sk_w\"] * -0.3844, p[\"sk_h\"] * 0.1013), (p[\"sk_w\"] * -0.3535, p[\"sk_h\"] * -0.1383), (p[\"sk_w\"] * -0.2473, p[\"sk_h\"] * -0.3552)]).bezier([(p[\"sk_w\"] * -0.2473, p[\"sk_h\"] * -0.3552), (p[\"sk_w\"] * -0.0975, p[\"sk_h\"] * -0.4284), (p[\"sk_w\"] * 0.0646, p[\"sk_h\"] * -0.4673)]).bezier([(p[\"sk_w\"] * 0.0646, p[\"sk_h\"] * -0.4673), (p[\"sk_w\"] * 0.2747, p[\"sk_h\"] * -0.2732), (p[\"sk_w\"] * 0.4225, p[\"sk_h\"] * -0.0282)]).close().extrude(p[\"sk_t\"]))\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"sk_hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca502_2382", "family": "bracket", "tier": 3, "seed": 1177330946, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "79e95ee052a25e0c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 40900.0, "surface_area": 16000.0, "principal_moments": [14399999.999999998, 45699999.99999999, 52799999.99999999], "n_faces": 17, "n_edges": 39, "n_vertices": 26}, "dimensions": {"lines": ["L-bracket: base leg 84.83 mm, vertical leg 89.7 mm, 35 mm wide, 6 mm thick; 2 \u00d7 \u00d85.3 mm holes per leg; 7.3 mm corner gusset."], "text": "L-bracket: base leg 84.83 mm, vertical leg 89.7 mm, 35 mm wide, 6 mm thick; 2 \u00d7 \u00d85.3 mm holes per leg; 7.3 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 84.83, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 89.7, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 35, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 6.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 2, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 7.3, "min": 3.0, "max": 17.5, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330946 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 84.83, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 89.7, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 35, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 2, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 7.3, \"min\": 3.0, \"max\": 17.5, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca503_2383", "family": "bracket", "tier": 1, "seed": 1177330947, "symmetry": "none", "op_count": 1, "ir_hash": "39d10bdcefbf7245", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 11500.0, "surface_area": 8630.0, "principal_moments": [2980000.0, 3160000.0, 4250000.0], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["C-channel bracket: base leg 34.76 mm, vertical leg 28.5 mm, 45.62 mm wide, 3 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."], "text": "C-channel bracket: base leg 34.76 mm, vertical leg 28.5 mm, 45.62 mm wide, 3 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 34.76, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 28.5, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 45.62, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 3.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330947 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 34.76, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 28.5, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 45.62, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca504_2384", "family": "block", "tier": 2, "seed": 1177330948, "symmetry": "none", "op_count": 3, "ir_hash": "1d60abdd1bae5ec8", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 131000.0, "surface_area": 25700.0, "principal_moments": [60399999.99999999, 71800000.0, 111000000.0], "n_faces": 23, "n_edges": 75, "n_vertices": 50}, "dimensions": {"lines": ["Rectangular body, 65 \u00d7 29.8 \u00d7 78.6 mm (W\u00d7D\u00d7H).", "Seven \u00d82.7 mm holes in two staggered rows, 16.2 \u00d7 16.7 mm pitch.", "Pocket 44.5 \u00d7 16.3 mm, 25.7 mm deep, in top face."], "text": "Rectangular body, 65 \u00d7 29.8 \u00d7 78.6 mm (W\u00d7D\u00d7H). Seven \u00d82.7 mm holes in two staggered rows, 16.2 \u00d7 16.7 mm pitch. Pocket 44.5 \u00d7 16.3 mm, 25.7 mm deep, in top face."}, "params": {"block_w": {"type": "float", "default": 65, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 29.8, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 78.6, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 2.7, "min": 2.0, "max": 3.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 4, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}, "pocket_w": {"type": "float", "default": 44.5, "min": 22.2, "max": 52.0, "step": 1.0, "group": "Pocket", "label": "Pocket width (mm)"}, "pocket_d": {"type": "float", "default": 16.3, "min": 8.2, "max": 23.8, "step": 1.0, "group": "Pocket", "label": "Pocket depth (mm)"}, "pocket_h": {"type": "float", "default": 25.7, "min": 10.3, "max": 66.8, "step": 0.5, "group": "Pocket", "label": "Pocket height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330948 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 65, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 29.8, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 78.6, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 2.7, \"min\": 2.0, \"max\": 3.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 4, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n    \"pocket_w\": {\"type\": 'float', \"default\": 44.5, \"min\": 22.2, \"max\": 52.0, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket width (mm)'},\n    \"pocket_d\": {\"type\": 'float', \"default\": 16.3, \"min\": 8.2, \"max\": 23.8, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket depth (mm)'},\n    \"pocket_h\": {\"type\": 'float', \"default\": 25.7, \"min\": 10.3, \"max\": 66.8, \"step\": 0.5, \"group\": 'Pocket', \"label\": 'Pocket height (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 16.2\n    _ssy = 16.7\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"pocket_w\"], p[\"pocket_d\"])\n        .cutBlind(-p[\"pocket_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462ca505_2385", "family": "sketched", "tier": 1, "seed": 1177330949, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "c007627f931badda", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 45800.0, "surface_area": 8500.0, "principal_moments": [5770000.0, 17300000.0, 18900000.0], "n_faces": 9, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["freeform sketched section (6 segments: 2 straight, 2 arcs, 2 curves), ~36.553 \u00d7 71.64 mm, extruded 23.52 mm thick.", "One \u00d85.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "freeform sketched section (6 segments: 2 straight, 2 arcs, 2 curves), ~36.553 \u00d7 71.64 mm, extruded 23.52 mm thick. One \u00d85.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"sk_w": {"type": "float", "default": 45, "min": 22.5, "max": 81.0, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 85.52, "min": 42.8, "max": 153.9, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "sk_t": {"type": "float", "default": 23.52, "min": 9.4, "max": 51.7, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "sk_hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 10.6, "step": 0.5, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330949 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 45, \"min\": 22.5, \"max\": 81.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 85.52, \"min\": 42.8, \"max\": 153.9, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"sk_t\": {\"type\": 'float', \"default\": 23.52, \"min\": 9.4, \"max\": 51.7, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"sk_hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 10.6, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.4131, p[\"sk_h\"] * 0.1476).threePointArc((p[\"sk_w\"] * 0.3633, p[\"sk_h\"] * 0.3154), (p[\"sk_w\"] * 0.223, p[\"sk_h\"] * 0.4183)).lineTo(p[\"sk_w\"] * -0.2958, p[\"sk_h\"] * 0.3085).threePointArc((p[\"sk_w\"] * -0.3928, p[\"sk_h\"] * 0.1908), (p[\"sk_w\"] * -0.3992, p[\"sk_h\"] * 0.0285)).spline([(p[\"sk_w\"] * -0.3992, p[\"sk_h\"] * 0.0285), (p[\"sk_w\"] * -0.4035, p[\"sk_h\"] * -0.1763), (p[\"sk_w\"] * -0.3092, p[\"sk_h\"] * -0.3582)]).bezier([(p[\"sk_w\"] * -0.3092, p[\"sk_h\"] * -0.3582), (p[\"sk_w\"] * -0.1169, p[\"sk_h\"] * -0.4165), (p[\"sk_w\"] * 0.0841, p[\"sk_h\"] * -0.4194)]).lineTo(p[\"sk_w\"] * 0.4131, p[\"sk_h\"] * 0.1476).close().extrude(p[\"sk_t\"]))\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"sk_hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462ca506_2386", "family": "sketched", "tier": 1, "seed": 1177330950, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "5b90d342766a0a38", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 18700.0, "surface_area": 6120.0, "principal_moments": [1360000.0, 5320000.0, 5320000.0], "n_faces": 9, "n_edges": 16, "n_vertices": 9}, "dimensions": {"lines": ["Revolved organic body from a freeform sketched section (8 segments: 6 straight, 2 curves), ~9.756 \u00d7 55 mm half-silhouette."], "text": "Revolved organic body from a freeform sketched section (8 segments: 6 straight, 2 curves), ~9.756 \u00d7 55 mm half-silhouette."}, "params": {"sk_r": {"type": "float", "default": 15, "min": 7.5, "max": 27.0, "step": 1.0, "group": "Sketch", "label": "Max radius (mm)"}, "sk_h": {"type": "float", "default": 55, "min": 27.5, "max": 99.0, "step": 1.0, "group": "Sketch", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330950 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_r\": {\"type\": 'float', \"default\": 15, \"min\": 7.5, \"max\": 27.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Max radius (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 55, \"min\": 27.5, \"max\": 99.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XZ').moveTo(p[\"sk_r\"] * 0.8515, p[\"sk_h\"] * 0.0).lineTo(p[\"sk_r\"] * 0.6655, p[\"sk_h\"] * 0.5068).bezier([(p[\"sk_r\"] * 0.6655, p[\"sk_h\"] * 0.5068), (p[\"sk_r\"] * 0.6655, p[\"sk_h\"] * 0.5976), (p[\"sk_r\"] * 0.8429, p[\"sk_h\"] * 0.6883)]).lineTo(p[\"sk_r\"] * 0.6988, p[\"sk_h\"] * 0.8232).lineTo(p[\"sk_r\"] * 0.9079, p[\"sk_h\"] * 0.8861).lineTo(p[\"sk_r\"] * 0.5047, p[\"sk_h\"] * 0.9333).bezier([(p[\"sk_r\"] * 0.5047, p[\"sk_h\"] * 0.9333), (p[\"sk_r\"] * 0.3805, p[\"sk_h\"] * 0.9667), (p[\"sk_r\"] * 0.4284, p[\"sk_h\"] * 1.0)]).lineTo(p[\"sk_r\"] * 0.2575, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.2575, p[\"sk_h\"] * 0.0).close().revolve())\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca507_2387", "family": "bracket", "tier": 2, "seed": 1177330951, "symmetry": "none", "op_count": 1, "ir_hash": "d7e3db894868a897", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 20700.0, "surface_area": 7250.0, "principal_moments": [2920000.0, 12399999.999999998, 13999999.999999998], "n_faces": 14, "n_edges": 37, "n_vertices": 24}, "dimensions": {"lines": ["L-bracket: base leg 73.43 mm, vertical leg 50.8 mm, 20 mm wide, 8 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg; 11.7 mm corner gusset."], "text": "L-bracket: base leg 73.43 mm, vertical leg 50.8 mm, 20 mm wide, 8 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg; 11.7 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 73.43, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 50.8, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 20, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 8.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 8.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 11.7, "min": 4.0, "max": 10.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330951 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 73.43, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 50.8, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 20, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 8.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 11.7, \"min\": 4.0, \"max\": 10.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462ca508_2388", "family": "tapped", "tier": 0, "seed": 1177330952, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "28d63c4a6f5622c7", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 12200.0, "surface_area": 3960.0, "principal_moments": [1210000.0, 1210000.0, 2100000.0], "n_faces": 90, "n_edges": 242, "n_vertices": 154}, "dimensions": {"lines": ["One M8x1.25 tapped hole in a plate."], "text": "One M8x1.25 tapped hole in a plate."}, "params": {"major_d": {"type": "float", "default": 8.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 1.25, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 12.8, "min": 9.6, "max": 23.0, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "plate_w": {"type": "float", "default": 31.5, "min": 18.9, "max": 50.4, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 31.5, "min": 18.9, "max": 50.4, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330952 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.25, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 12.8, \"min\": 9.6, \"max\": 23.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"plate_w\": {\"type\": 'float', \"default\": 31.5, \"min\": 18.9, \"max\": 50.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 31.5, \"min\": 18.9, \"max\": 50.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n}\n\n\ndef build(p):\n\n    _W, _D, _H = p[\"plate_w\"], p[\"plate_d\"], p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Box(_W, _D, _H)\n    _locs = [(0.0, 0.0)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca50a_2390", "family": "bracket", "tier": 2, "seed": 1177330954, "symmetry": "none", "op_count": 1, "ir_hash": "e4b9239bc650ec72", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 39300.0, "surface_area": 17600.0, "principal_moments": [14799999.999999998, 30799999.999999996, 38900000.0], "n_faces": 18, "n_edges": 48, "n_vertices": 32}, "dimensions": {"lines": ["Z-bracket: base leg 50 mm, vertical leg 50.2 mm, top leg 39.8 mm, 59.65 mm wide, 5 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 5.1 mm corner gusset."], "text": "Z-bracket: base leg 50 mm, vertical leg 50.2 mm, top leg 39.8 mm, 59.65 mm wide, 5 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 5.1 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 50, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 50.2, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 59.65, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 5.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 39.8, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}, "gusset_t": {"type": "float", "default": 5.1, "min": 2.5, "max": 15.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330954 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 50, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 50.2, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 59.65, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 39.8, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 5.1, \"min\": 2.5, \"max\": 15.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _tl, _vl) * 0.4 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(0, _vl - _bt).lineTo(-_g, _vl - _bt)\n                    .lineTo(0, _vl - _bt - _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca50b_2391", "family": "revolved", "tier": 1, "seed": 1177330955, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "c1345b61b3b129b6", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 541000.0, "surface_area": 65900.0, "principal_moments": [727000000.0, 1190000000.0, 1190000000.0], "n_faces": 10, "n_edges": 17, "n_vertices": 10}, "dimensions": {"lines": ["Revolved body, \u00d860.92 mm \u00d7 137.9 mm tall with \u00d833.8 mm bore, \u00d8115.3 mm \u00d7 34.9 mm flange.", "Chamfer 0.4 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d860.92 mm \u00d7 137.9 mm tall with \u00d833.8 mm bore, \u00d8115.3 mm \u00d7 34.9 mm flange. Chamfer 0.4 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 60.92, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 137.9, "min": 41.4, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 33.8, "min": 2.0, "max": 42.6, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 115.3, "min": 73.1, "max": 182.8, "step": 1.0, "group": "Body", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 34.9, "min": 10.5, "max": 69.0, "step": 0.5, "group": "Body", "label": "Flange height (mm)"}, "end_chamfer": {"type": "float", "default": 0.4, "min": 0.1, "max": 1.2, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330955 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 60.92, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 137.9, \"min\": 41.4, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 33.8, \"min\": 2.0, \"max\": 42.6, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 115.3, \"min\": 73.1, \"max\": 182.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 34.9, \"min\": 10.5, \"max\": 69.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Flange height (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.4, \"min\": 0.1, \"max\": 1.2, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462ca50c_2392", "family": "enclosure", "tier": 1, "seed": 1177330956, "symmetry": "none", "op_count": 2, "ir_hash": "12ea701230b6ba91", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 18300.0, "surface_area": 8090.0, "principal_moments": [2920000.0, 4710000.0, 6090000.0], "n_faces": 11, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 45 \u00d7 32.1 \u00d7 21.5 mm (W\u00d7D\u00d7H).", "Hollowed to 5 mm wall thickness, open at top face."], "text": "Rectangular body, 45 \u00d7 32.1 \u00d7 21.5 mm (W\u00d7D\u00d7H). Hollowed to 5 mm wall thickness, open at top face."}, "params": {"enc_w": {"type": "float", "default": 45, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 32.1, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 21.5, "min": 8.6, "max": 43.0, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 5.0, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330956 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 45, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 32.1, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 21.5, \"min\": 8.6, \"max\": 43.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462ca50d_2393", "family": "tapped", "tier": 2, "seed": 1177330957, "symmetry": "none", "op_count": 1, "ir_hash": "d95e02f43f9e246c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 2860.0, "surface_area": 1530.0, "principal_moments": [104000.0, 104000.0, 112000.0], "n_faces": 119, "n_edges": 321, "n_vertices": 204}, "dimensions": {"lines": ["One M6x1 tapped hole in a cylinder."], "text": "One M6x1 tapped hole in a cylinder."}, "params": {"major_d": {"type": "float", "default": 6.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 1.0, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 14.2, "min": 7.2, "max": 25.6, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "body_d": {"type": "float", "default": 16.9, "min": 10.8, "max": 27.0, "step": 1.0, "group": "Body", "label": "Outer \u00d8 (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330957 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.0, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 14.2, \"min\": 7.2, \"max\": 25.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"body_d\": {\"type\": 'float', \"default\": 16.9, \"min\": 10.8, \"max\": 27.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer \u00d8 (mm)'},\n}\n\n\ndef build(p):\n\n    _W = _D = p[\"body_d\"]\n    _H = p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Cylinder(radius=_W / 2, height=_H)\n    _locs = [(0.0, 0.0)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca50e_2394", "family": "block", "tier": 1, "seed": 1177330958, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "9a3ba824e2d7ef61", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 21200.0, "surface_area": 8040.0, "principal_moments": [2000000.0, 4190000.0, 5190000.0], "n_faces": 22, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 30 \u00d7 17.4 \u00d7 45.7 mm (W\u00d7D\u00d7H).", "Four 3.8 mm square holes at the corners, 21 \u00d7 12.18 mm spacing."], "text": "Rectangular body, 30 \u00d7 17.4 \u00d7 45.7 mm (W\u00d7D\u00d7H). Four 3.8 mm square holes at the corners, 21 \u00d7 12.18 mm spacing."}, "params": {"block_w": {"type": "float", "default": 30, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 17.4, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 45.7, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 3.8, "min": 2.0, "max": 5.1, "step": 0.5, "group": "Holes", "label": "Square hole size (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330958 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 30, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 17.4, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 45.7, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.8, \"min\": 2.0, \"max\": 5.1, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Square hole size (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().rect(p[\"hole_d\"], p[\"hole_d\"]).cutThruAll()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462ca50f_2395", "family": "flanged", "tier": 1, "seed": 1177330959, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "d335f07f43306226", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 634000.0, "surface_area": 87100.0, "principal_moments": [1260000000.0, 1260000000.0, 1990000000.0], "n_faces": 18, "n_edges": 45, "n_vertices": 30}, "dimensions": {"lines": ["Revolved body, \u00d888.5 mm \u00d7 70.3 mm tall with \u00d842.7 mm bore, \u00d8183.5 mm \u00d7 15.4 mm flange.", "Twelve \u00d88.4 mm holes on a \u00d8110 mm bolt circle."], "text": "Revolved body, \u00d888.5 mm \u00d7 70.3 mm tall with \u00d842.7 mm bore, \u00d8183.5 mm \u00d7 15.4 mm flange. Twelve \u00d88.4 mm holes on a \u00d8110 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 88.5, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 70.3, "min": 21.1, "max": 175.8, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 42.7, "min": 2.0, "max": 61.9, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 183.5, "min": 115.0, "max": 265.5, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 15.4, "min": 4.6, "max": 28.1, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 8.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 55.0, "min": 36.7, "max": 82.6, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 12, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330959 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 88.5, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 70.3, \"min\": 21.1, \"max\": 175.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 42.7, \"min\": 2.0, \"max\": 61.9, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 183.5, \"min\": 115.0, \"max\": 265.5, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 15.4, \"min\": 4.6, \"max\": 28.1, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 55.0, \"min\": 36.7, \"max\": 82.6, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 12, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca510_2396", "family": "revolved", "tier": 1, "seed": 1177330960, "symmetry": "radial", "op_count": 1, "ir_hash": "bf4c311bc05c6bb1", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 29100.0, "surface_area": 9890.0, "principal_moments": [4760000.0, 11000000.0, 11000000.0], "n_faces": 6, "n_edges": 9, "n_vertices": 6}, "dimensions": {"lines": ["Revolved body, \u00d825 mm \u00d7 54.6 mm tall with \u00d811.4 mm bore, \u00d846.6 mm \u00d7 6.5 mm flange."], "text": "Revolved body, \u00d825 mm \u00d7 54.6 mm tall with \u00d811.4 mm bore, \u00d846.6 mm \u00d7 6.5 mm flange."}, "params": {"outer_d": {"type": "float", "default": 25, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 54.6, "min": 16.4, "max": 163.8, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 11.4, "min": 2.0, "max": 17.5, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 46.6, "min": 30.0, "max": 75.0, "step": 1.0, "group": "Body", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 6.5, "min": 1.9, "max": 27.3, "step": 0.5, "group": "Body", "label": "Flange height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330960 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 25, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 54.6, \"min\": 16.4, \"max\": 163.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 11.4, \"min\": 2.0, \"max\": 17.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 46.6, \"min\": 30.0, \"max\": 75.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 6.5, \"min\": 1.9, \"max\": 27.3, \"step\": 0.5, \"group\": 'Body', \"label\": 'Flange height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca511_2397", "family": "plate", "tier": 1, "seed": 1177330961, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "c36aacfeca629fe1", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 53200.0, "surface_area": 16900.0, "principal_moments": [18200000.0, 50499999.99999999, 68200000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 107.26 \u00d7 64.1 \u00d7 8 mm (W\u00d7D\u00d7H).", "Four \u00d88.4 mm holes at the corners, 75.082 \u00d7 44.87 mm spacing."], "text": "Rectangular body, 107.26 \u00d7 64.1 \u00d7 8 mm (W\u00d7D\u00d7H). Four \u00d88.4 mm holes at the corners, 75.082 \u00d7 44.87 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 107.26, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 64.1, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 8.4, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330961 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 107.26, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 64.1, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca512_2398", "family": "compound", "tier": 1, "seed": 1177330962, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "1f7ab6765f05c67b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 31100.0, "surface_area": 7180.0, "principal_moments": [5650000.0, 5650000.0, 5840000.0], "n_faces": 15, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Lofted body through 2 sections: \u00d848.35 mm circular section \u2192 18.7 \u00d7 18.7 mm rectangular section.", "6-sided polygon section, 11.4 mm across corners attachment, 15.5 mm long, from top face with a \u00d85.2 mm bore."], "text": "Lofted body through 2 sections: \u00d848.35 mm circular section \u2192 18.7 \u00d7 18.7 mm rectangular section. 6-sided polygon section, 11.4 mm across corners attachment, 15.5 mm long, from top face with a \u00d85.2 mm bore."}, "params": {"adapter_base": {"type": "float", "default": 48.35, "min": 29.0, "max": 72.5, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "adapter_top": {"type": "float", "default": 18.7, "min": 9.3, "max": 48.4, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "adapter_h": {"type": "float", "default": 30.8, "min": 12.3, "max": 61.6, "step": 1.0, "group": "Body", "label": "Transition height (mm)"}, "neck_sides": {"type": "int", "default": 6, "min": 3, "max": 8, "step": 1, "group": "Neck", "label": "Neck sides"}, "neck_r": {"type": "float", "default": 5.7, "min": 2.9, "max": 9.3, "step": 1.0, "group": "Neck", "label": "Neck circumradius (mm)"}, "neck_l": {"type": "float", "default": 15.5, "min": 6.2, "max": 38.8, "step": 1.0, "group": "Neck", "label": "Neck length (mm)"}, "neck_bore": {"type": "float", "default": 5.2, "min": 2.0, "max": 7.1, "step": 0.5, "group": "Neck", "label": "Neck bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330962 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"adapter_base\": {\"type\": 'float', \"default\": 48.35, \"min\": 29.0, \"max\": 72.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"adapter_top\": {\"type\": 'float', \"default\": 18.7, \"min\": 9.3, \"max\": 48.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"adapter_h\": {\"type\": 'float', \"default\": 30.8, \"min\": 12.3, \"max\": 61.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Transition height (mm)'},\n    \"neck_sides\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Neck', \"label\": 'Neck sides'},\n    \"neck_r\": {\"type\": 'float', \"default\": 5.7, \"min\": 2.9, \"max\": 9.3, \"step\": 1.0, \"group\": 'Neck', \"label\": 'Neck circumradius (mm)'},\n    \"neck_l\": {\"type\": 'float', \"default\": 15.5, \"min\": 6.2, \"max\": 38.8, \"step\": 1.0, \"group\": 'Neck', \"label\": 'Neck length (mm)'},\n    \"neck_bore\": {\"type\": 'float', \"default\": 5.2, \"min\": 2.0, \"max\": 7.1, \"step\": 0.5, \"group\": 'Neck', \"label\": 'Neck bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .circle(p[\"adapter_base\"] / 2)\n        .workplane(offset=p[\"adapter_h\"])\n        .rect(p[\"adapter_top\"], p[\"adapter_top\"])\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"neck_sides\"], p[\"neck_r\"] * 2).extrude(p[\"neck_l\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"neck_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462ca513_2399", "family": "sketched", "tier": 1, "seed": 1177330963, "symmetry": "none", "op_count": 2, "ir_hash": "41e4f439ec9300c7", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 46200.0, "surface_area": 8530.0, "principal_moments": [7910000.0, 13399999.999999998, 18200000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["freeform sketched section (7 segments: 3 straight, 2 arcs, 2 curves), ~67.162 \u00d7 47.927 mm, extruded 20 mm thick.", "One \u00d84.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "freeform sketched section (7 segments: 3 straight, 2 arcs, 2 curves), ~67.162 \u00d7 47.927 mm, extruded 20 mm thick. One \u00d84.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"sk_w": {"type": "float", "default": 75, "min": 37.5, "max": 135.0, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 55, "min": 27.5, "max": 99.0, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "sk_t": {"type": "float", "default": 20, "min": 8.0, "max": 44.0, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "sk_hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 8.6, "step": 0.5, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330963 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 75, \"min\": 37.5, \"max\": 135.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 55, \"min\": 27.5, \"max\": 99.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"sk_t\": {\"type\": 'float', \"default\": 20, \"min\": 8.0, \"max\": 44.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"sk_hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 8.6, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.4212, p[\"sk_h\"] * 0.1338).lineTo(p[\"sk_w\"] * 0.2218, p[\"sk_h\"] * 0.3913).lineTo(p[\"sk_w\"] * -0.1718, p[\"sk_h\"] * 0.4331).spline([(p[\"sk_w\"] * -0.1718, p[\"sk_h\"] * 0.4331), (p[\"sk_w\"] * -0.2313, p[\"sk_h\"] * 0.3357), (p[\"sk_w\"] * -0.2505, p[\"sk_h\"] * 0.2232)]).threePointArc((p[\"sk_w\"] * -0.4103, p[\"sk_h\"] * 0.0339), (p[\"sk_w\"] * -0.4743, p[\"sk_h\"] * -0.1557)).threePointArc((p[\"sk_w\"] * -0.3782, p[\"sk_h\"] * -0.3463), (p[\"sk_w\"] * -0.1925, p[\"sk_h\"] * -0.4383)).spline([(p[\"sk_w\"] * -0.1925, p[\"sk_h\"] * -0.4383), (p[\"sk_w\"] * 0.0168, p[\"sk_h\"] * -0.4542), (p[\"sk_w\"] * 0.2041, p[\"sk_h\"] * -0.3593)]).lineTo(p[\"sk_w\"] * 0.4212, p[\"sk_h\"] * 0.1338).close().extrude(p[\"sk_t\"]))\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"sk_hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca514_2400", "family": "plate", "tier": 3, "seed": 1177330964, "symmetry": "mirror_xy", "op_count": 4, "ir_hash": "f41b29931b6a88e2", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 56500.0, "surface_area": 15000.0, "principal_moments": [10800000.0, 52399999.99999999, 61299999.99999999], "n_faces": 28, "n_edges": 75, "n_vertices": 50}, "dimensions": {"lines": ["Rectangular body, 110 \u00d7 47.6 \u00d7 10 mm (W\u00d7D\u00d7H).", "Four 8 \u00d7 3.2 mm slots at the corners, 77 \u00d7 33.32 mm spacing.", "Fillet radius 2.244 mm on vertical edges.", "Boss \u00d824.7 mm \u00d7 10.7 mm tall on top face."], "text": "Rectangular body, 110 \u00d7 47.6 \u00d7 10 mm (W\u00d7D\u00d7H). Four 8 \u00d7 3.2 mm slots at the corners, 77 \u00d7 33.32 mm spacing. Fillet radius 2.244 mm on vertical edges. Boss \u00d824.7 mm \u00d7 10.7 mm tall on top face."}, "params": {"plate_w": {"type": "float", "default": 110, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 47.6, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 10.7, "step": 0.5, "group": "Holes", "label": "Slot width (mm)"}, "hole_slot_len": {"type": "float", "default": 8.0, "min": 4.8, "max": 14.3, "step": 0.5, "group": "Holes", "label": "Slot length (mm)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}, "boss_d": {"type": "float", "default": 24.7, "min": 12.3, "max": 49.4, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 10.7, "min": 4.3, "max": 26.8, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330964 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 110, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 47.6, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 10.7, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Slot width (mm)'},\n    \"hole_slot_len\": {\"type\": 'float', \"default\": 8.0, \"min\": 4.8, \"max\": 14.3, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Slot length (mm)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n    \"boss_d\": {\"type\": 'float', \"default\": 24.7, \"min\": 12.3, \"max\": 49.4, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 10.7, \"min\": 4.3, \"max\": 26.8, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().slot2D(p[\"hole_slot_len\"], p[\"hole_d\"]).cutThruAll()\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"plate_w\"], p[\"plate_d\"]) * 0.04714746351491576)\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca515_2401", "family": "revolved", "tier": 1, "seed": 1177330965, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "4346fd538ce38acd", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 1210.0, "surface_area": 1190.0, "principal_moments": [19800.0, 60900.0, 60900.0], "n_faces": 8, "n_edges": 14, "n_vertices": 8}, "dimensions": {"lines": ["Revolved body, \u00d810 mm \u00d7 22.9 mm tall with \u00d85.6 mm bore.", "Chamfer 0.7 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d810 mm \u00d7 22.9 mm tall with \u00d85.6 mm bore. Chamfer 0.7 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 10, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 22.9, "min": 6.9, "max": 68.7, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 5.6, "min": 2.0, "max": 7.0, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "end_chamfer": {"type": "float", "default": 0.7, "min": 0.1, "max": 2.1, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330965 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 10, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 22.9, \"min\": 6.9, \"max\": 68.7, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 5.6, \"min\": 2.0, \"max\": 7.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.7, \"min\": 0.1, \"max\": 2.1, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca516_2402", "family": "bracket", "tier": 2, "seed": 1177330966, "symmetry": "none", "op_count": 1, "ir_hash": "9826266d46785839", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 22900.0, "surface_area": 12600.0, "principal_moments": [7720000.0, 11399999.999999998, 14699999.999999998], "n_faces": 14, "n_edges": 37, "n_vertices": 24}, "dimensions": {"lines": ["L-bracket: base leg 47.36 mm, vertical leg 55.9 mm, 55 mm wide, 4 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg; 5.2 mm corner gusset."], "text": "L-bracket: base leg 47.36 mm, vertical leg 55.9 mm, 55 mm wide, 4 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg; 5.2 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 47.36, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 55.9, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 55, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 4.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 5.2, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330966 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 47.36, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 55.9, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 55, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 5.2, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462ca518_2404", "family": "swept", "tier": 0, "seed": 1177330968, "symmetry": "none", "op_count": 1, "ir_hash": "5ee07f24a919fb90", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 6590.0, "surface_area": 2840.0, "principal_moments": [197000.0, 2700000.0, 2750000.0], "n_faces": 3, "n_edges": 3, "n_vertices": 2}, "dimensions": {"lines": ["\u00d813.2 mm circular section swept along a curved path, ~67.48 mm span."], "text": "\u00d813.2 mm circular section swept along a curved path, ~67.48 mm span."}, "params": {"path_w": {"type": "float", "default": 43.51, "min": 21.8, "max": 78.3, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 67.48, "min": 33.7, "max": 121.5, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_d": {"type": "float", "default": 13.2, "min": 6.6, "max": 23.8, "step": 1.0, "group": "Section", "label": "Section diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330968 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 43.51, \"min\": 21.8, \"max\": 78.3, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 67.48, \"min\": 33.7, \"max\": 121.5, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_d\": {\"type\": 'float', \"default\": 13.2, \"min\": 6.6, \"max\": 23.8, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.2181, p[\"path_h\"] * 0.5025), (p[\"path_w\"] * 0.0975, p[\"path_h\"] * 0.684), (p[\"path_w\"] * 0.0, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').circle(p[\"sweep_d\"] / 2).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462ca519_2405", "family": "ribbed", "tier": 1, "seed": 1177330969, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "92e53e4c0c3b8242", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 24200.0, "surface_area": 19500.0, "principal_moments": [9460000.0, 16599999.999999998, 24299999.999999996], "n_faces": 30, "n_edges": 72, "n_vertices": 44}, "dimensions": {"lines": ["Rectangular body, 84.59 \u00d7 64.2 \u00d7 3 mm (W\u00d7D\u00d7H).", "Three ribs, 2.1 mm thick, 18.5 mm tall."], "text": "Rectangular body, 84.59 \u00d7 64.2 \u00d7 3 mm (W\u00d7D\u00d7H). Three ribs, 2.1 mm thick, 18.5 mm tall."}, "params": {"base_w": {"type": "float", "default": 84.59, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 64.2, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 3.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 3, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 18.5, "min": 7.4, "max": 37.0, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 2.1, "min": 1.0, "max": 5.2, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330969 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 84.59, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 64.2, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 3, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 18.5, \"min\": 7.4, \"max\": 37.0, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 2.1, \"min\": 1.0, \"max\": 5.2, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca51c_2408", "family": "bracket", "tier": 2, "seed": 1177330972, "symmetry": "none", "op_count": 1, "ir_hash": "828bdd9f3fb7e357", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 25600.0, "surface_area": 11700.0, "principal_moments": [8100000.0, 11100000.0, 15599999.999999998], "n_faces": 14, "n_edges": 37, "n_vertices": 24}, "dimensions": {"lines": ["L-bracket: base leg 55.94 mm, vertical leg 39.5 mm, 55 mm wide, 5 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg; 6.9 mm corner gusset."], "text": "L-bracket: base leg 55.94 mm, vertical leg 39.5 mm, 55 mm wide, 5 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg; 6.9 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 55.94, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 39.5, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 55, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 5.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 6.9, "min": 2.5, "max": 15.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330972 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 55.94, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 39.5, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 55, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 6.9, \"min\": 2.5, \"max\": 15.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca51d_2409", "family": "compound", "tier": 1, "seed": 1177330973, "symmetry": "mirror_xy", "op_count": 3, "ir_hash": "78791937c16a5942", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 122000.0, "surface_area": 16200.0, "principal_moments": [39600000.0, 57599999.99999999, 67700000.0], "n_faces": 21, "n_edges": 51, "n_vertices": 34}, "dimensions": {"lines": ["Rectangular body, 65 \u00d7 49.2 \u00d7 38.1 mm (W\u00d7D\u00d7H).", "5-sided polygon section, 8.6 mm across corners attachment, 6.9 mm long, from front face with a \u00d83.3 mm bore.", "5-sided polygon section, 8.6 mm across corners attachment, 6.9 mm long, from back face with a \u00d83.3 mm bore."], "text": "Rectangular body, 65 \u00d7 49.2 \u00d7 38.1 mm (W\u00d7D\u00d7H). 5-sided polygon section, 8.6 mm across corners attachment, 6.9 mm long, from front face with a \u00d83.3 mm bore. 5-sided polygon section, 8.6 mm across corners attachment, 6.9 mm long, from back face with a \u00d83.3 mm bore."}, "params": {"block_w": {"type": "float", "default": 65, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body width (mm)"}, "block_d": {"type": "float", "default": 49.2, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body depth (mm)"}, "block_h": {"type": "float", "default": 38.1, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body height (mm)"}, "port_sides": {"type": "int", "default": 5, "min": 3, "max": 8, "step": 1, "group": "Ports", "label": "Ports sides"}, "port_r": {"type": "float", "default": 4.3, "min": 2.1, "max": 8.6, "step": 1.0, "group": "Ports", "label": "Ports circumradius (mm)"}, "port_len": {"type": "float", "default": 6.9, "min": 1.7, "max": 20.9, "step": 1.0, "group": "Ports", "label": "Port boss length (mm)"}, "port_bore": {"type": "float", "default": 3.3, "min": 2.0, "max": 5.0, "step": 0.5, "group": "Ports", "label": "Port bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330973 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 65, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 49.2, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 38.1, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body height (mm)'},\n    \"port_sides\": {\"type\": 'int', \"default\": 5, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Ports', \"label\": 'Ports sides'},\n    \"port_r\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.1, \"max\": 8.6, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Ports circumradius (mm)'},\n    \"port_len\": {\"type\": 'float', \"default\": 6.9, \"min\": 1.7, \"max\": 20.9, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Port boss length (mm)'},\n    \"port_bore\": {\"type\": 'float', \"default\": 3.3, \"min\": 2.0, \"max\": 5.0, \"step\": 0.5, \"group\": 'Ports', \"label\": 'Port bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"port_sides\"], p[\"port_r\"] * 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"port_sides\"], p[\"port_r\"] * 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462ca51e_2410", "family": "profiled", "tier": 1, "seed": 1177330974, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "be76d7c521c21436", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 176000.0, "surface_area": 35000.0, "principal_moments": [60199999.99999999, 255000000.0, 255000000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d847.8 mm \u00d7 146.9 mm tall."], "text": "Revolved body, \u00d847.8 mm \u00d7 146.9 mm tall."}, "params": {"outer_d": {"type": "float", "default": 47.8, "min": 23.9, "max": 95.6, "step": 1.0, "group": "Profile", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 146.9, "min": 44.1, "max": 440.7, "step": 5.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330974 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 47.8, \"min\": 23.9, \"max\": 95.6, \"step\": 1.0, \"group\": 'Profile', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 146.9, \"min\": 44.1, \"max\": 440.7, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca51f_2411", "family": "bracket", "tier": 1, "seed": 1177330975, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "ce3ec25bec643b6b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 29800.0, "surface_area": 21400.0, "principal_moments": [17100000.0, 36400000.0, 38500000.0], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["C-channel bracket: base leg 75.71 mm, vertical leg 55.6 mm, 55 mm wide, 3 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."], "text": "C-channel bracket: base leg 75.71 mm, vertical leg 55.6 mm, 55 mm wide, 3 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 75.71, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 55.6, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 55, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 3.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330975 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 75.71, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 55.6, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 55, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca520_2412", "family": "plate", "tier": 0, "seed": 1177330976, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "008d311f2e9fac53", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 3450.0, "surface_area": 1450.0, "principal_moments": [79400.0, 218000.0, 221000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 25 \u00d7 11.5 \u00d7 12 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 25 \u00d7 11.5 \u00d7 12 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 25, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 11.5, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330976 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 25, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 11.5, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462ca521_2413", "family": "profiled", "tier": 2, "seed": 1177330977, "symmetry": "none", "op_count": 1, "ir_hash": "6b5b77c0487b8301", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 2740.0, "surface_area": 2550.0, "principal_moments": [41100.0, 465000.0, 465000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d810 mm \u00d7 52.3 mm tall."], "text": "Revolved body, \u00d810 mm \u00d7 52.3 mm tall."}, "params": {"outer_d": {"type": "float", "default": 10, "min": 5.0, "max": 20.0, "step": 1.0, "group": "Profile", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 52.3, "min": 15.7, "max": 156.9, "step": 5.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330977 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 10, \"min\": 5.0, \"max\": 20.0, \"step\": 1.0, \"group\": 'Profile', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 52.3, \"min\": 15.7, \"max\": 156.9, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca522_2414", "family": "plate", "tier": 1, "seed": 1177330978, "symmetry": "radial", "op_count": 2, "ir_hash": "1e1a38355d7cd912", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 17900.0, "surface_area": 6160.0, "principal_moments": [1670000.0, 5060000.0, 6300000.0], "n_faces": 16, "n_edges": 42, "n_vertices": 28}, "dimensions": {"lines": ["Rectangular body, 55 \u00d7 32.2 \u00d7 12 mm (W\u00d7D\u00d7H).", "Six \u00d88.4 mm holes on a \u00d833 mm bolt circle."], "text": "Rectangular body, 55 \u00d7 32.2 \u00d7 12 mm (W\u00d7D\u00d7H). Six \u00d88.4 mm holes on a \u00d833 mm bolt circle."}, "params": {"plate_w": {"type": "float", "default": 55, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 32.2, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "bolt_d": {"type": "float", "default": 8.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 16.5, "min": 11.0, "max": 24.8, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 6, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330978 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 55, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 32.2, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 16.5, \"min\": 11.0, \"max\": 24.8, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462ca523_2415", "family": "sketched", "tier": 2, "seed": 1177330979, "symmetry": "none", "op_count": 1, "ir_hash": "0cec2e30a03f500e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 43200.0, "surface_area": 12500.0, "principal_moments": [8300000.0, 15299999.999999998, 15299999.999999998], "n_faces": 8, "n_edges": 14, "n_vertices": 8}, "dimensions": {"lines": ["Revolved organic body from a freeform sketched section (7 segments: 5 straight, 2 arcs), ~26.002 \u00d7 55 mm half-silhouette."], "text": "Revolved organic body from a freeform sketched section (7 segments: 5 straight, 2 arcs), ~26.002 \u00d7 55 mm half-silhouette."}, "params": {"sk_r": {"type": "float", "default": 40.35, "min": 20.2, "max": 72.6, "step": 1.0, "group": "Sketch", "label": "Max radius (mm)"}, "sk_h": {"type": "float", "default": 55, "min": 27.5, "max": 99.0, "step": 1.0, "group": "Sketch", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330979 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_r\": {\"type\": 'float', \"default\": 40.35, \"min\": 20.2, \"max\": 72.6, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Max radius (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 55, \"min\": 27.5, \"max\": 99.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XZ').moveTo(p[\"sk_r\"] * 0.7117, p[\"sk_h\"] * 0.0).lineTo(p[\"sk_r\"] * 0.352, p[\"sk_h\"] * 0.233).threePointArc((p[\"sk_r\"] * 0.4073, p[\"sk_h\"] * 0.3179), (p[\"sk_r\"] * 0.4017, p[\"sk_h\"] * 0.4029)).threePointArc((p[\"sk_r\"] * 0.4614, p[\"sk_h\"] * 0.4287), (p[\"sk_r\"] * 0.424, p[\"sk_h\"] * 0.4545)).lineTo(p[\"sk_r\"] * 0.1397, p[\"sk_h\"] * 0.8708).lineTo(p[\"sk_r\"] * 0.5311, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.0673, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.0673, p[\"sk_h\"] * 0.0).close().revolve())\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca524_2416", "family": "revolved", "tier": 1, "seed": 1177330980, "symmetry": "radial", "op_count": 2, "ir_hash": "218ea0b014cc88b7", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 181000.0, "surface_area": 39700.0, "principal_moments": [60899999.99999999, 464000000.0, 464000000.0], "n_faces": 8, "n_edges": 14, "n_vertices": 8}, "dimensions": {"lines": ["Revolved body, \u00d845 mm \u00d7 169.6 mm tall with \u00d825.8 mm bore.", "Chamfer 0.5 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d845 mm \u00d7 169.6 mm tall with \u00d825.8 mm bore. Chamfer 0.5 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 45, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 169.6, "min": 50.9, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 25.8, "min": 2.0, "max": 31.5, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "end_chamfer": {"type": "float", "default": 0.5, "min": 0.1, "max": 1.5, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330980 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 45, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 169.6, \"min\": 50.9, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 25.8, \"min\": 2.0, \"max\": 31.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.5, \"min\": 0.1, \"max\": 1.5, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462ca525_2417", "family": "tapped", "tier": 2, "seed": 1177330981, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "29250390ca3b5f51", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 38200.0, "surface_area": 11800.0, "principal_moments": [8140000.0, 8940000.0, 14699999.999999998], "n_faces": 506, "n_edges": 1424, "n_vertices": 920}, "dimensions": {"lines": ["Four M12x1.75 tapped holes in a plate."], "text": "Four M12x1.75 tapped holes in a plate."}, "params": {"major_d": {"type": "float", "default": 12.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 1.75, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 19.2, "min": 14.4, "max": 34.6, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "plate_w": {"type": "float", "default": 50, "min": 30.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 47.4, "min": 28.4, "max": 75.8, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330981 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 12.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.75, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 19.2, \"min\": 14.4, \"max\": 34.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"plate_w\": {\"type\": 'float', \"default\": 50, \"min\": 30.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 47.4, \"min\": 28.4, \"max\": 75.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n}\n\n\ndef build(p):\n\n    _W, _D, _H = p[\"plate_w\"], p[\"plate_d\"], p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Box(_W, _D, _H)\n    _sx, _sy = p[\"plate_w\"] * 0.6, p[\"plate_d\"] * 0.6\n    _locs = [(_xx, _yy) for _xx in (-_sx / 2, _sx / 2) for _yy in (-_sy / 2, _sy / 2)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca526_2418", "family": "plate", "tier": 0, "seed": 1177330982, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "8af25dc95a1db7be", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 55300.0, "surface_area": 16500.0, "principal_moments": [26199999.999999996, 39600000.0, 65199999.99999999], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 92.32 \u00d7 74.9 \u00d7 8 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 92.32 \u00d7 74.9 \u00d7 8 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 92.32, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 74.9, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330982 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 92.32, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 74.9, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca527_2419", "family": "revolved", "tier": 1, "seed": 1177330983, "symmetry": "none", "op_count": 1, "ir_hash": "dddd24257fcf45f8", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 1350.0, "surface_area": 1180.0, "principal_moments": [40900.0, 40900.0, 42300.0], "n_faces": 6, "n_edges": 9, "n_vertices": 6}, "dimensions": {"lines": ["Revolved body, \u00d810 mm \u00d7 12.7 mm tall with \u00d84.1 mm bore, \u00d819.1 mm \u00d7 2.5 mm flange."], "text": "Revolved body, \u00d810 mm \u00d7 12.7 mm tall with \u00d84.1 mm bore, \u00d819.1 mm \u00d7 2.5 mm flange."}, "params": {"outer_d": {"type": "float", "default": 10, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 12.7, "min": 3.8, "max": 38.1, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 4.1, "min": 2.0, "max": 7.0, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 19.1, "min": 12.0, "max": 30.0, "step": 1.0, "group": "Body", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 2.5, "min": 0.8, "max": 6.3, "step": 0.5, "group": "Body", "label": "Flange height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330983 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 10, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 12.7, \"min\": 3.8, \"max\": 38.1, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 4.1, \"min\": 2.0, \"max\": 7.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 19.1, \"min\": 12.0, \"max\": 30.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 2.5, \"min\": 0.8, \"max\": 6.3, \"step\": 0.5, \"group\": 'Body', \"label\": 'Flange height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462ca528_2420", "family": "ribbed", "tier": 1, "seed": 1177330984, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "e4f5e4cb23146ff8", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 48100.0, "surface_area": 18600.0, "principal_moments": [11999999.999999998, 24599999.999999996, 32799999.999999996], "n_faces": 46, "n_edges": 112, "n_vertices": 68}, "dimensions": {"lines": ["Rectangular body, 75.75 \u00d7 45.1 \u00d7 10 mm (W\u00d7D\u00d7H).", "Five ribs, 3.3 mm thick, 13.9 mm tall."], "text": "Rectangular body, 75.75 \u00d7 45.1 \u00d7 10 mm (W\u00d7D\u00d7H). Five ribs, 3.3 mm thick, 13.9 mm tall."}, "params": {"base_w": {"type": "float", "default": 75.75, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 45.1, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 10.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 5, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 13.9, "min": 5.6, "max": 27.8, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 3.3, "min": 1.0, "max": 8.2, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330984 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 75.75, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 45.1, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 5, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 13.9, \"min\": 5.6, \"max\": 27.8, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 3.3, \"min\": 1.0, \"max\": 8.2, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca529_2421", "family": "bracket", "tier": 1, "seed": 1177330985, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "a4da88eab7c5ea6f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 6570.0, "surface_area": 5320.0, "principal_moments": [1030000.0, 3150000.0, 3780000.0], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["C-channel bracket: base leg 52.9 mm, vertical leg 35.3 mm, 19.02 mm wide, 3 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."], "text": "C-channel bracket: base leg 52.9 mm, vertical leg 35.3 mm, 19.02 mm wide, 3 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 52.9, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 35.3, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 19.02, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 3.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 7.6, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330985 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 52.9, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 35.3, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 19.02, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 7.6, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462ca52b_2423", "family": "threaded", "tier": 1, "seed": 1177330987, "symmetry": "none", "op_count": 1, "ir_hash": "fe9127c5b11e775a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 9090.0, "surface_area": 4270.0, "principal_moments": [251000.0, 2240000.0, 2240000.0], "n_faces": 470, "n_edges": 1292, "n_vertices": 824}, "dimensions": {"lines": ["M16x2 external thread, 53 mm long."], "text": "M16x2 external thread, 53 mm long."}, "params": {"major_d": {"type": "float", "default": 16.0, "min": 4.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Major diameter (mm)"}, "pitch": {"type": "float", "default": 2.0, "min": 1.0, "max": 4.0, "step": 0.05, "group": "Thread", "label": "Pitch (mm)"}, "thread_len": {"type": "float", "default": 53.0, "min": 21.2, "max": 106.0, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330987 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 16.0, \"min\": 4.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Major diameter (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 2.0, \"min\": 1.0, \"max\": 4.0, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Pitch (mm)'},\n    \"thread_len\": {\"type\": 'float', \"default\": 53.0, \"min\": 21.2, \"max\": 106.0, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.IsoThread(major_diameter=p[\"major_d\"], pitch=p[\"pitch\"], length=p[\"thread_len\"], external=True, end_finishes=(\"fade\", \"fade\"))\n    _r = _thr.min_radius if hasattr(_thr, 'min_radius') else _thr.root_radius\n    _shank = _bd.Cylinder(radius=_r, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = _shank + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca52c_2424", "family": "block", "tier": 1, "seed": 1177330988, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "7b3019e0558803f2", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 6820.0, "surface_area": 3130.0, "principal_moments": [378000.0, 495000.0, 737000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 23.67 \u00d7 11.1 \u00d7 27.4 mm (W\u00d7D\u00d7H).", "Four \u00d82.1 mm holes at the corners, 16.569 \u00d7 7.77 mm spacing."], "text": "Rectangular body, 23.67 \u00d7 11.1 \u00d7 27.4 mm (W\u00d7D\u00d7H). Four \u00d82.1 mm holes at the corners, 16.569 \u00d7 7.77 mm spacing."}, "params": {"block_w": {"type": "float", "default": 23.67, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 11.1, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 27.4, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 2.1, "min": 2.0, "max": 2.5, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330988 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 23.67, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 11.1, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 27.4, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 2.1, \"min\": 2.0, \"max\": 2.5, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462ca52d_2425", "family": "flanged", "tier": 2, "seed": 1177330989, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "c5e802951d34d69e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 35200.0, "surface_area": 13900.0, "principal_moments": [11200000.0, 11200000.0, 12099999.999999998], "n_faces": 18, "n_edges": 45, "n_vertices": 30}, "dimensions": {"lines": ["Revolved body, \u00d834.04 mm \u00d7 37.8 mm tall with \u00d817.4 mm bore, \u00d869.5 mm \u00d7 3.6 mm flange.", "Twelve \u00d84.3 mm holes on a \u00d841.6 mm bolt circle."], "text": "Revolved body, \u00d834.04 mm \u00d7 37.8 mm tall with \u00d817.4 mm bore, \u00d869.5 mm \u00d7 3.6 mm flange. Twelve \u00d84.3 mm holes on a \u00d841.6 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 34.04, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 37.8, "min": 11.3, "max": 94.5, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 17.4, "min": 2.0, "max": 23.8, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 69.5, "min": 44.3, "max": 102.1, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 3.6, "min": 1.1, "max": 15.1, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 20.8, "min": 13.9, "max": 31.3, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 12, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330989 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 34.04, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 37.8, \"min\": 11.3, \"max\": 94.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 17.4, \"min\": 2.0, \"max\": 23.8, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 69.5, \"min\": 44.3, \"max\": 102.1, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 3.6, \"min\": 1.1, \"max\": 15.1, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 20.8, \"min\": 13.9, \"max\": 31.3, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 12, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca52e_2426", "family": "plate", "tier": 1, "seed": 1177330990, "symmetry": "none", "op_count": 2, "ir_hash": "679ad5fe105838b0", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 51300.0, "surface_area": 14900.0, "principal_moments": [8740000.0, 46599999.99999999, 54099999.99999999], "n_faces": 42, "n_edges": 120, "n_vertices": 80}, "dimensions": {"lines": ["Rectangular body, 105 \u00d7 44.2 \u00d7 12 mm (W\u00d7D\u00d7H).", "Nine 6.4 mm square holes in a 3\u00d73 grid, 42 \u00d7 17.7 mm pitch."], "text": "Rectangular body, 105 \u00d7 44.2 \u00d7 12 mm (W\u00d7D\u00d7H). Nine 6.4 mm square holes in a 3\u00d73 grid, 42 \u00d7 17.7 mm pitch."}, "params": {"plate_w": {"type": "float", "default": 105, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 44.2, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 6.9, "step": 0.1, "group": "Holes", "label": "Square hole size (mm)"}, "hole_nx": {"type": "int", "default": 3, "min": 1, "max": 4, "step": 1, "group": "Holes", "label": "Holes across"}, "hole_ny": {"type": "int", "default": 3, "min": 1, "max": 4, "step": 1, "group": "Holes", "label": "Holes deep"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330990 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 105, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 44.2, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 6.9, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Square hole size (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 3, \"min\": 1, \"max\": 4, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes across'},\n    \"hole_ny\": {\"type\": 'int', \"default\": 3, \"min\": 1, \"max\": 4, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes deep'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(42.0, 17.7, p[\"hole_nx\"], p[\"hole_ny\"])\n        .rect(p[\"hole_d\"], p[\"hole_d\"]).cutThruAll()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca52f_2427", "family": "revolved", "tier": 0, "seed": 1177330991, "symmetry": "none", "op_count": 1, "ir_hash": "22fc9f2a4b7874bd", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 30000.0, "surface_area": 8300.0, "principal_moments": [5860000.0, 5860000.0, 7340000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d840.39 mm \u00d7 35.1 mm tall."], "text": "Revolved body, \u00d840.39 mm \u00d7 35.1 mm tall."}, "params": {"outer_d": {"type": "float", "default": 40.39, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 35.1, "min": 10.5, "max": 105.3, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330991 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 40.39, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 35.1, \"min\": 10.5, \"max\": 105.3, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462ca530_2428", "family": "ribbed", "tier": 2, "seed": 1177330992, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "6c7b0d166fcfc53c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 37400.0, "surface_area": 15100.0, "principal_moments": [11100000.0, 31899999.999999996, 41200000.0], "n_faces": 22, "n_edges": 52, "n_vertices": 32}, "dimensions": {"lines": ["Rectangular body, 89.02 \u00d7 50.6 \u00d7 6 mm (W\u00d7D\u00d7H).", "Two ribs, 5.6 mm thick, 13 mm tall."], "text": "Rectangular body, 89.02 \u00d7 50.6 \u00d7 6 mm (W\u00d7D\u00d7H). Two ribs, 5.6 mm thick, 13 mm tall."}, "params": {"base_w": {"type": "float", "default": 89.02, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 50.6, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 6.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 2, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 13.0, "min": 5.2, "max": 26.0, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 5.6, "min": 1.0, "max": 14.0, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330992 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 89.02, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 50.6, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 2, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 13.0, \"min\": 5.2, \"max\": 26.0, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 5.6, \"min\": 1.0, \"max\": 14.0, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca531_2429", "family": "block", "tier": 2, "seed": 1177330993, "symmetry": "radial", "op_count": 3, "ir_hash": "b5fa5a2e88ba4b18", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 53200.0, "surface_area": 21500.0, "principal_moments": [11599999.999999998, 27399999.999999996, 33299999.999999996], "n_faces": 31, "n_edges": 102, "n_vertices": 68}, "dimensions": {"lines": ["Rectangular body, 40 \u00d7 24.7 \u00d7 75.8 mm (W\u00d7D\u00d7H).", "Twelve \u00d84.3 mm holes on a \u00d824 mm bolt circle.", "Pocket 22.3 \u00d7 13.4 mm, 35.9 mm deep, in top face."], "text": "Rectangular body, 40 \u00d7 24.7 \u00d7 75.8 mm (W\u00d7D\u00d7H). Twelve \u00d84.3 mm holes on a \u00d824 mm bolt circle. Pocket 22.3 \u00d7 13.4 mm, 35.9 mm deep, in top face."}, "params": {"block_w": {"type": "float", "default": 40, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 24.7, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 75.8, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "bolt_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 12.0, "min": 8.0, "max": 18.0, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 12, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}, "pocket_w": {"type": "float", "default": 22.3, "min": 11.2, "max": 32.0, "step": 1.0, "group": "Pocket", "label": "Pocket width (mm)"}, "pocket_d": {"type": "float", "default": 13.4, "min": 6.7, "max": 19.8, "step": 1.0, "group": "Pocket", "label": "Pocket depth (mm)"}, "pocket_h": {"type": "float", "default": 35.9, "min": 14.4, "max": 64.4, "step": 0.5, "group": "Pocket", "label": "Pocket height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330993 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 40, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 24.7, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 75.8, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 12.0, \"min\": 8.0, \"max\": 18.0, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 12, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n    \"pocket_w\": {\"type\": 'float', \"default\": 22.3, \"min\": 11.2, \"max\": 32.0, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket width (mm)'},\n    \"pocket_d\": {\"type\": 'float', \"default\": 13.4, \"min\": 6.7, \"max\": 19.8, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket depth (mm)'},\n    \"pocket_h\": {\"type\": 'float', \"default\": 35.9, \"min\": 14.4, \"max\": 64.4, \"step\": 0.5, \"group\": 'Pocket', \"label\": 'Pocket height (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"pocket_w\"], p[\"pocket_d\"])\n        .cutBlind(-p[\"pocket_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca532_2430", "family": "revolved", "tier": 2, "seed": 1177330994, "symmetry": "radial", "op_count": 2, "ir_hash": "4e016597d7840e68", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 224000.0, "surface_area": 36900.0, "principal_moments": [125000000.0, 343000000.0, 343000000.0], "n_faces": 10, "n_edges": 17, "n_vertices": 10}, "dimensions": {"lines": ["Revolved body, \u00d849.57 mm \u00d7 117.1 mm tall with \u00d826.2 mm bore, \u00d873.8 mm \u00d7 26.5 mm flange.", "Chamfer 1.5 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d849.57 mm \u00d7 117.1 mm tall with \u00d826.2 mm bore, \u00d873.8 mm \u00d7 26.5 mm flange. Chamfer 1.5 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 49.57, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 117.1, "min": 35.1, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 26.2, "min": 2.0, "max": 34.7, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 73.8, "min": 59.5, "max": 148.7, "step": 1.0, "group": "Body", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 26.5, "min": 7.9, "max": 58.5, "step": 0.5, "group": "Body", "label": "Flange height (mm)"}, "end_chamfer": {"type": "float", "default": 1.5, "min": 0.1, "max": 4.5, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330994 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 49.57, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 117.1, \"min\": 35.1, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 26.2, \"min\": 2.0, \"max\": 34.7, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 73.8, \"min\": 59.5, \"max\": 148.7, \"step\": 1.0, \"group\": 'Body', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 26.5, \"min\": 7.9, \"max\": 58.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Flange height (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 1.5, \"min\": 0.1, \"max\": 4.5, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca533_2431", "family": "plate", "tier": 1, "seed": 1177330995, "symmetry": "none", "op_count": 2, "ir_hash": "8993ef70685d7bf9", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 16400.0, "surface_area": 5400.0, "principal_moments": [957000.0, 5030000.0, 5590000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 60 \u00d7 23.8 \u00d7 12 mm (W\u00d7D\u00d7H).", "Four \u00d84.3 mm holes at the corners, 42 \u00d7 16.66 mm spacing."], "text": "Rectangular body, 60 \u00d7 23.8 \u00d7 12 mm (W\u00d7D\u00d7H). Four \u00d84.3 mm holes at the corners, 42 \u00d7 16.66 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 60, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 23.8, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 5.4, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330995 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 60, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 23.8, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 5.4, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca534_2432", "family": "revolved", "tier": 0, "seed": 1177330996, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "7a92032b3cc7196e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 74600.0, "surface_area": 18400.0, "principal_moments": [17300000.0, 46299999.99999999, 46299999.99999999], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d839.32 mm \u00d7 92.2 mm tall."], "text": "Revolved body, \u00d839.32 mm \u00d7 92.2 mm tall."}, "params": {"outer_d": {"type": "float", "default": 39.32, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 92.2, "min": 27.7, "max": 276.6, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330996 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 39.32, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 92.2, \"min\": 27.7, \"max\": 276.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462ca535_2433", "family": "enclosure", "tier": 1, "seed": 1177330997, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "a1c2919b6749d07e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 13200.0, "surface_area": 11800.0, "principal_moments": [2610000.0, 5030000.0, 5520000.0], "n_faces": 11, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 51.41 \u00d7 23.4 \u00d7 34.5 mm (W\u00d7D\u00d7H).", "Hollowed to 2.3 mm wall thickness, open at top face."], "text": "Rectangular body, 51.41 \u00d7 23.4 \u00d7 34.5 mm (W\u00d7D\u00d7H). Hollowed to 2.3 mm wall thickness, open at top face."}, "params": {"enc_w": {"type": "float", "default": 51.41, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 23.4, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 34.5, "min": 13.8, "max": 69.0, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 2.3, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330997 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 51.41, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 23.4, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 34.5, \"min\": 13.8, \"max\": 69.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 2.3, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462ca536_2434", "family": "enclosure", "tier": 2, "seed": 1177330998, "symmetry": "mirror_xy", "op_count": 3, "ir_hash": "40c06e15e23a3fcf", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 20200.0, "surface_area": 12500.0, "principal_moments": [4250000.0, 6650000.0, 8290000.0], "n_faces": 19, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 50 \u00d7 22.3 \u00d7 39.3 mm (W\u00d7D\u00d7H).", "Hollowed to 3.8 mm wall thickness, open at top face.", "Four \u00d84.3 mm holes at the corners, 35 \u00d7 15.61 mm spacing."], "text": "Rectangular body, 50 \u00d7 22.3 \u00d7 39.3 mm (W\u00d7D\u00d7H). Hollowed to 3.8 mm wall thickness, open at top face. Four \u00d84.3 mm holes at the corners, 35 \u00d7 15.61 mm spacing."}, "params": {"enc_w": {"type": "float", "default": 50, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 22.3, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 39.3, "min": 15.7, "max": 78.6, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 3.8, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 5.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330998 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 50, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 22.3, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 39.3, \"min\": 15.7, \"max\": 78.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 3.8, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 5.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"enc_w\"] * 0.7, p[\"enc_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462ca537_2435", "family": "tapped", "tier": 3, "seed": 1177330999, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "a572dc7598999656", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 85000.0, "surface_area": 17300.0, "principal_moments": [35700000.0, 41500000.0, 73100000.0], "n_faces": 438, "n_edges": 1196, "n_vertices": 760}, "dimensions": {"lines": ["Four M8x1.25 tapped holes in a plate."], "text": "Four M8x1.25 tapped holes in a plate."}, "params": {"major_d": {"type": "float", "default": 8.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 1.25, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 16.9, "min": 9.6, "max": 30.4, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "plate_w": {"type": "float", "default": 75, "min": 45.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 69.3, "min": 41.6, "max": 110.9, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177330999 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.25, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 16.9, \"min\": 9.6, \"max\": 30.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"plate_w\": {\"type\": 'float', \"default\": 75, \"min\": 45.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 69.3, \"min\": 41.6, \"max\": 110.9, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n}\n\n\ndef build(p):\n\n    _W, _D, _H = p[\"plate_w\"], p[\"plate_d\"], p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Box(_W, _D, _H)\n    _nx, _ny = max(1, int(2)), max(1, int(2))\n    _sx, _sy = p[\"plate_w\"] * 0.66, p[\"plate_d\"] * 0.66\n    _locs = [(_sx * (_i - (_nx - 1) / 2), _sy * (_j - (_ny - 1) / 2))\n             for _i in range(_nx) for _j in range(_ny)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca538_2436", "family": "block", "tier": 1, "seed": 1177331000, "symmetry": "none", "op_count": 2, "ir_hash": "578f57640cad0c42", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 19300.0, "surface_area": 5340.0, "principal_moments": [1910000.0, 2620000.0, 3230000.0], "n_faces": 11, "n_edges": 27, "n_vertices": 18}, "dimensions": {"lines": ["Rectangular body, 35 \u00d7 20.1 \u00d7 28 mm (W\u00d7D\u00d7H).", "Five \u00d82 mm holes in two staggered rows, 13.1 \u00d7 11.1 mm pitch."], "text": "Rectangular body, 35 \u00d7 20.1 \u00d7 28 mm (W\u00d7D\u00d7H). Five \u00d82 mm holes in two staggered rows, 13.1 \u00d7 11.1 mm pitch."}, "params": {"block_w": {"type": "float", "default": 35, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 20.1, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 28.0, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 2.0, "min": 2.0, "max": 2.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 3, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331000 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 35, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 20.1, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 28.0, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 2.0, \"min\": 2.0, \"max\": 2.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 3, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 13.1\n    _ssy = 11.1\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462ca539_2437", "family": "ribbed", "tier": 1, "seed": 1177331001, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "cfc2fb51a94a08a4", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 4770.0, "surface_area": 2550.0, "principal_moments": [234000.0, 528000.0, 669000.0], "n_faces": 22, "n_edges": 52, "n_vertices": 32}, "dimensions": {"lines": ["Rectangular body, 30 \u00d7 20.3 \u00d7 5 mm (W\u00d7D\u00d7H).", "Two ribs, 5.7 mm thick, 6.3 mm tall."], "text": "Rectangular body, 30 \u00d7 20.3 \u00d7 5 mm (W\u00d7D\u00d7H). Two ribs, 5.7 mm thick, 6.3 mm tall."}, "params": {"base_w": {"type": "float", "default": 30.0, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 20.3, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 5.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 2, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 6.3, "min": 2.5, "max": 12.6, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 5.7, "min": 1.0, "max": 14.2, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331001 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 30.0, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 20.3, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 2, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 6.3, \"min\": 2.5, \"max\": 12.6, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 5.7, \"min\": 1.0, \"max\": 14.2, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462ca53a_2438", "family": "sketched", "tier": 1, "seed": 1177331002, "symmetry": "none", "op_count": 2, "ir_hash": "7a0a971aead5584a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 16100.0, "surface_area": 4560.0, "principal_moments": [901000.0, 4090000.0, 4510000.0], "n_faces": 8, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["freeform sketched section (5 segments: 5 arcs), ~26.195 \u00d7 65.849 mm, extruded 13.32 mm thick.", "One \u00d84.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "freeform sketched section (5 segments: 5 arcs), ~26.195 \u00d7 65.849 mm, extruded 13.32 mm thick. One \u00d84.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"sk_w": {"type": "float", "default": 40.43, "min": 20.2, "max": 72.8, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 74.71, "min": 37.4, "max": 134.5, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "sk_t": {"type": "float", "default": 13.32, "min": 5.3, "max": 29.3, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "sk_hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 8.6, "step": 0.5, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331002 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 40.43, \"min\": 20.2, \"max\": 72.8, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 74.71, \"min\": 37.4, \"max\": 134.5, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"sk_t\": {\"type\": 'float', \"default\": 13.32, \"min\": 5.3, \"max\": 29.3, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"sk_hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 8.6, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.3239, p[\"sk_h\"] * 0.0199).threePointArc((p[\"sk_w\"] * 0.1997, p[\"sk_h\"] * 0.273), (p[\"sk_w\"] * -0.0146, p[\"sk_h\"] * 0.4469)).threePointArc((p[\"sk_w\"] * -0.1641, p[\"sk_h\"] * 0.4165), (p[\"sk_w\"] * -0.2848, p[\"sk_h\"] * 0.2932)).threePointArc((p[\"sk_w\"] * -0.3372, p[\"sk_h\"] * 0.1231), (p[\"sk_w\"] * -0.324, p[\"sk_h\"] * -0.0632)).threePointArc((p[\"sk_w\"] * -0.1554, p[\"sk_h\"] * -0.3012), (p[\"sk_w\"] * 0.0441, p[\"sk_h\"] * -0.4345)).threePointArc((p[\"sk_w\"] * 0.2103, p[\"sk_h\"] * -0.2364), (p[\"sk_w\"] * 0.3239, p[\"sk_h\"] * 0.0199)).close().extrude(p[\"sk_t\"]))\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"sk_hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462ca53b_2439", "family": "lofted", "tier": 1, "seed": 1177331003, "symmetry": "none", "op_count": 2, "ir_hash": "0bd62aedd37022d7", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 52600.0, "surface_area": 10000.0, "principal_moments": [13499999.999999998, 13499999.999999998, 15099999.999999998], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["Lofted body through 2 sections: 52.44 \u00d7 52.44 mm rectangular section \u2192 6-sided polygon section, 17.2 mm across corners.", "One \u00d86.9 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 2 sections: 52.44 \u00d7 52.44 mm rectangular section \u2192 6-sided polygon section, 17.2 mm across corners. One \u00d86.9 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 52.44, "min": 26.2, "max": 83.9, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 17.2, "min": 6.9, "max": 62.9, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 44.2, "min": 17.7, "max": 88.4, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_bore_d": {"type": "float", "default": 6.9, "min": 2.0, "max": 13.8, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331003 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 52.44, \"min\": 26.2, \"max\": 83.9, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 17.2, \"min\": 6.9, \"max\": 62.9, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 44.2, \"min\": 17.7, \"max\": 88.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 6.9, \"min\": 2.0, \"max\": 13.8, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .rect(p[\"loft_base\"], p[\"loft_base\"])\n        .workplane(offset=p[\"loft_h\"])\n        .polygon(6, p[\"loft_top\"] * 0.5 * 2)\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca53c_2440", "family": "plate", "tier": 0, "seed": 1177331004, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "71b8b5b3d6036b6c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 1690.0, "surface_area": 1450.0, "principal_moments": [29300.0, 227000.0, 254000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 40 \u00d7 14.1 \u00d7 3 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 40 \u00d7 14.1 \u00d7 3 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 40, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 14.1, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 3.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331004 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 40, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 14.1, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 3.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462ca53d_2441", "family": "threaded", "tier": 1, "seed": 1177331005, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "ef9e5929bfa5d993", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 16400.0, "surface_area": 7970.0, "principal_moments": [1200000.0, 5580000.0, 5580000.0], "n_faces": 411, "n_edges": 1157, "n_vertices": 748}, "dimensions": {"lines": ["M12x1.75 internal thread, 60.4 mm long."], "text": "M12x1.75 internal thread, 60.4 mm long."}, "params": {"major_d": {"type": "float", "default": 12.0, "min": 4.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Major diameter (mm)"}, "pitch": {"type": "float", "default": 1.75, "min": 0.88, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Pitch (mm)"}, "thread_len": {"type": "float", "default": 60.4, "min": 24.2, "max": 120.8, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331005 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 12.0, \"min\": 4.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Major diameter (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.75, \"min\": 0.88, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Pitch (mm)'},\n    \"thread_len\": {\"type\": 'float', \"default\": 60.4, \"min\": 24.2, \"max\": 120.8, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.IsoThread(major_diameter=p[\"major_d\"], pitch=p[\"pitch\"], length=p[\"thread_len\"], external=False, end_finishes=(\"fade\", \"fade\"))\n    _body = _bd.Cylinder(radius=(p[\"major_d\"]) * 0.9, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _bore = _bd.Cylinder(radius=(p[\"major_d\"]) / 2, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = (_body - _bore) + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca53e_2442", "family": "bracket", "tier": 1, "seed": 1177331006, "symmetry": "none", "op_count": 1, "ir_hash": "31e8673d85ae71bb", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 9000.0, "surface_area": 6860.0, "principal_moments": [1400000.0, 5070000.0, 5120000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["L-bracket: base leg 63.76 mm, vertical leg 40.3 mm, 29.96 mm wide, 3 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."], "text": "L-bracket: base leg 63.76 mm, vertical leg 40.3 mm, 29.96 mm wide, 3 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 63.76, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 40.3, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 29.96, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 3.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331006 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 63.76, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 40.3, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 29.96, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462ca53f_2443", "family": "threaded", "tier": 0, "seed": 1177331007, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "90f87f149aa91483", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 899.0, "surface_area": 868.0, "principal_moments": [5990.0, 38400.0, 38400.0], "n_faces": 180, "n_edges": 458, "n_vertices": 280}, "dimensions": {"lines": ["M8x1.25 external thread, 21.9 mm long."], "text": "M8x1.25 external thread, 21.9 mm long."}, "params": {"major_d": {"type": "float", "default": 8.0, "min": 4.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Major diameter (mm)"}, "pitch": {"type": "float", "default": 1.25, "min": 0.62, "max": 2.5, "step": 0.05, "group": "Thread", "label": "Pitch (mm)"}, "thread_len": {"type": "float", "default": 21.9, "min": 8.8, "max": 43.8, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331007 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 8.0, \"min\": 4.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Major diameter (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.25, \"min\": 0.62, \"max\": 2.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Pitch (mm)'},\n    \"thread_len\": {\"type\": 'float', \"default\": 21.9, \"min\": 8.8, \"max\": 43.8, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.IsoThread(major_diameter=p[\"major_d\"], pitch=p[\"pitch\"], length=p[\"thread_len\"], external=True, end_finishes=(\"fade\", \"fade\"))\n    _r = _thr.min_radius if hasattr(_thr, 'min_radius') else _thr.root_radius\n    _shank = _bd.Cylinder(radius=_r, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = _shank + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462ca540_2444", "family": "swept", "tier": 0, "seed": 1177331008, "symmetry": "none", "op_count": 1, "ir_hash": "547a8fb597228727", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 4880.0, "surface_area": 2520.0, "principal_moments": [196000.0, 2680000.0, 2830000.0], "n_faces": 3, "n_edges": 3, "n_vertices": 2}, "dimensions": {"lines": ["\u00d88.7 mm circular section swept along a curved path, ~80 mm span."], "text": "\u00d88.7 mm circular section swept along a curved path, ~80 mm span."}, "params": {"path_w": {"type": "float", "default": 67.53, "min": 33.8, "max": 121.6, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 80, "min": 40.0, "max": 144.0, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_d": {"type": "float", "default": 8.7, "min": 4.3, "max": 15.7, "step": 1.0, "group": "Section", "label": "Section diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331008 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 67.53, \"min\": 33.8, \"max\": 121.6, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 80, \"min\": 40.0, \"max\": 144.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_d\": {\"type\": 'float', \"default\": 8.7, \"min\": 4.3, \"max\": 15.7, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.2545), (p[\"path_w\"] * 0.2951, p[\"path_h\"] * 0.5523), (p[\"path_w\"] * 0.1384, p[\"path_h\"] * 0.8908), (p[\"path_w\"] * 0.2136, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').circle(p[\"sweep_d\"] / 2).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca541_2445", "family": "block", "tier": 1, "seed": 1177331009, "symmetry": "none", "op_count": 2, "ir_hash": "94dfebe174a6bc2e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 2370.0, "surface_area": 1400.0, "principal_moments": [52800.0, 94000.0, 117000.0], "n_faces": 11, "n_edges": 27, "n_vertices": 18}, "dimensions": {"lines": ["Rectangular body, 20 \u00d7 8.8 \u00d7 13.9 mm (W\u00d7D\u00d7H).", "Five \u00d81.2 mm holes in two staggered rows, 7.5 \u00d7 7.5 mm pitch."], "text": "Rectangular body, 20 \u00d7 8.8 \u00d7 13.9 mm (W\u00d7D\u00d7H). Five \u00d81.2 mm holes in two staggered rows, 7.5 \u00d7 7.5 mm pitch."}, "params": {"block_w": {"type": "float", "default": 20, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 8.8, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 13.9, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 1.2, "min": 2.0, "max": 0.9, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 3, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331009 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 20, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 8.8, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 13.9, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 1.2, \"min\": 2.0, \"max\": 0.9, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 3, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 7.5\n    _ssy = 7.5\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca542_2446", "family": "block", "tier": 2, "seed": 1177331010, "symmetry": "none", "op_count": 3, "ir_hash": "c0ea6dd7d1cec609", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 136000.0, "surface_area": 28600.0, "principal_moments": [45300000.0, 117000000.0, 141000000.0], "n_faces": 22, "n_edges": 63, "n_vertices": 42}, "dimensions": {"lines": ["Rectangular body, 53.4 \u00d7 29 \u00d7 100 mm (W\u00d7D\u00d7H).", "Nine \u00d82.9 mm holes in two staggered rows, 10 \u00d7 10.3 mm pitch.", "Pocket 30.3 \u00d7 14.7 mm, 31.7 mm deep, in top face."], "text": "Rectangular body, 53.4 \u00d7 29 \u00d7 100 mm (W\u00d7D\u00d7H). Nine \u00d82.9 mm holes in two staggered rows, 10 \u00d7 10.3 mm pitch. Pocket 30.3 \u00d7 14.7 mm, 31.7 mm deep, in top face."}, "params": {"block_w": {"type": "float", "default": 53.4, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 29.0, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 100.0, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 2.9, "min": 2.0, "max": 2.9, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 5, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}, "pocket_w": {"type": "float", "default": 30.3, "min": 15.2, "max": 42.7, "step": 1.0, "group": "Pocket", "label": "Pocket width (mm)"}, "pocket_d": {"type": "float", "default": 14.7, "min": 7.3, "max": 23.2, "step": 1.0, "group": "Pocket", "label": "Pocket depth (mm)"}, "pocket_h": {"type": "float", "default": 31.7, "min": 12.7, "max": 85.0, "step": 0.5, "group": "Pocket", "label": "Pocket height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331010 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 53.4, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 29.0, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 100.0, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 2.9, \"min\": 2.0, \"max\": 2.9, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 5, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n    \"pocket_w\": {\"type\": 'float', \"default\": 30.3, \"min\": 15.2, \"max\": 42.7, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket width (mm)'},\n    \"pocket_d\": {\"type\": 'float', \"default\": 14.7, \"min\": 7.3, \"max\": 23.2, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket depth (mm)'},\n    \"pocket_h\": {\"type\": 'float', \"default\": 31.7, \"min\": 12.7, \"max\": 85.0, \"step\": 0.5, \"group\": 'Pocket', \"label\": 'Pocket height (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 10.0\n    _ssy = 10.3\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"pocket_w\"], p[\"pocket_d\"])\n        .cutBlind(-p[\"pocket_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462ca543_2447", "family": "profiled", "tier": 0, "seed": 1177331011, "symmetry": "none", "op_count": 1, "ir_hash": "0b1c69eabc9b6732", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 1810.0, "surface_area": 1560.0, "principal_moments": [28300.0, 156000.0, 156000.0], "n_faces": 4, "n_edges": 6, "n_vertices": 4}, "dimensions": {"lines": ["Revolved body, \u00d810 mm \u00d7 30.7 mm tall with \u00d85 mm bore."], "text": "Revolved body, \u00d810 mm \u00d7 30.7 mm tall with \u00d85 mm bore."}, "params": {"outer_d": {"type": "float", "default": 10, "min": 5.0, "max": 20.0, "step": 1.0, "group": "Profile", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 30.7, "min": 9.2, "max": 92.1, "step": 5.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 5.0, "min": 2.0, "max": 8.0, "step": 0.5, "group": "Profile", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331011 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 10, \"min\": 5.0, \"max\": 20.0, \"step\": 1.0, \"group\": 'Profile', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 30.7, \"min\": 9.2, \"max\": 92.1, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 5.0, \"min\": 2.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Profile', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462ca544_2448", "family": "threaded", "tier": 2, "seed": 1177331012, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "1910576d833ff61e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 3260.0, "surface_area": 2610.0, "principal_moments": [34400.0, 713000.0, 714000.0], "n_faces": 260, "n_edges": 666, "n_vertices": 408}, "dimensions": {"lines": ["Tr 10x2 external thread, 51 mm long."], "text": "Tr 10x2 external thread, 51 mm long."}, "params": {"thread_size": {"type": "enum", "default": "10x2", "choices": ["8x1.5", "10x2", "12x3", "14x3", "16x4", "18x4", "20x4", "24x5", "28x5", "30x6", "36x6", "40x7"], "group": "Thread", "label": "Size designation"}, "thread_len": {"type": "float", "default": 51.0, "min": 20.4, "max": 102.0, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331012 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"thread_size\": {\"type\": 'enum', \"default\": '10x2', \"choices\": ['8x1.5', '10x2', '12x3', '14x3', '16x4', '18x4', '20x4', '24x5', '28x5', '30x6', '36x6', '40x7'], \"group\": 'Thread', \"label\": 'Size designation'},\n    \"thread_len\": {\"type\": 'float', \"default\": 51.0, \"min\": 20.4, \"max\": 102.0, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.MetricTrapezoidalThread(size=p[\"thread_size\"], length=p[\"thread_len\"], external=True, end_finishes=(\"fade\", \"fade\"))\n    _r = _thr.min_radius if hasattr(_thr, 'min_radius') else _thr.root_radius\n    _shank = _bd.Cylinder(radius=_r, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = _shank + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca545_2449", "family": "block", "tier": 1, "seed": 1177331013, "symmetry": "none", "op_count": 2, "ir_hash": "775ef3b60b3b6123", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 178000.0, "surface_area": 28500.0, "principal_moments": [69400000.0, 124000000.0, 140000000.0], "n_faces": 22, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 54.45 \u00d7 43.4 \u00d7 81 mm (W\u00d7D\u00d7H).", "Four 6.4 mm square holes at the corners, 38.115 \u00d7 30.38 mm spacing."], "text": "Rectangular body, 54.45 \u00d7 43.4 \u00d7 81 mm (W\u00d7D\u00d7H). Four 6.4 mm square holes at the corners, 38.115 \u00d7 30.38 mm spacing."}, "params": {"block_w": {"type": "float", "default": 54.45, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 43.4, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 81.0, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 12.7, "step": 0.5, "group": "Holes", "label": "Square hole size (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331013 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 54.45, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 43.4, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 81.0, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 12.7, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Square hole size (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().rect(p[\"hole_d\"], p[\"hole_d\"]).cutThruAll()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca546_2450", "family": "compound", "tier": 1, "seed": 1177331014, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "2045721a313f2f3f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 158000.0, "surface_area": 29600.0, "principal_moments": [187000000.0, 241000000.0, 255000000.0], "n_faces": 12, "n_edges": 27, "n_vertices": 18}, "dimensions": {"lines": ["Rectangular body, 95 \u00d7 88 \u00d7 16 mm (W\u00d7D\u00d7H).", "\u00d815.6 mm circular section attachment, 131.7 mm long, from top face.", "Four \u00d83.2 mm holes at the corners, 66.5 \u00d7 61.6 mm spacing."], "text": "Rectangular body, 95 \u00d7 88 \u00d7 16 mm (W\u00d7D\u00d7H). \u00d815.6 mm circular section attachment, 131.7 mm long, from top face. Four \u00d83.2 mm holes at the corners, 66.5 \u00d7 61.6 mm spacing."}, "params": {"base_w": {"type": "float", "default": 95, "min": 30.0, "max": 160.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 88.0, "min": 25.0, "max": 160.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_h": {"type": "float", "default": 16.0, "min": 3.0, "max": 30.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "col_d": {"type": "float", "default": 15.6, "min": 6.2, "max": 44.0, "step": 1.0, "group": "Column", "label": "Column diameter (mm)"}, "col_h": {"type": "float", "default": 131.7, "min": 39.5, "max": 395.1, "step": 1.0, "group": "Column", "label": "Column height (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331014 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 95, \"min\": 30.0, \"max\": 160.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 88.0, \"min\": 25.0, \"max\": 160.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_h\": {\"type\": 'float', \"default\": 16.0, \"min\": 3.0, \"max\": 30.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"col_d\": {\"type\": 'float', \"default\": 15.6, \"min\": 6.2, \"max\": 44.0, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column diameter (mm)'},\n    \"col_h\": {\"type\": 'float', \"default\": 131.7, \"min\": 39.5, \"max\": 395.1, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_h\"])\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"col_d\"] / 2).extrude(p[\"col_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"base_w\"] * 0.7, p[\"base_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca547_2451", "family": "revolved", "tier": 1, "seed": 1177331015, "symmetry": "none", "op_count": 1, "ir_hash": "d1f38bd3729f51b2", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 791000.0, "surface_area": 99700.0, "principal_moments": [668000000.0, 3730000000.0, 3730000000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d875 mm \u00d7 268.7 mm tall."], "text": "Revolved body, \u00d875 mm \u00d7 268.7 mm tall."}, "params": {"outer_d": {"type": "float", "default": 75, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 268.7, "min": 80.6, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331015 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 75, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 268.7, \"min\": 80.6, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca548_2452", "family": "plate", "tier": 1, "seed": 1177331016, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "9ee018bbf6b486a9", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 33100.0, "surface_area": 9330.0, "principal_moments": [3470000.0, 20000000.0, 22700000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 85.32 \u00d7 33.8 \u00d7 12 mm (W\u00d7D\u00d7H).", "Four \u00d86.4 mm holes at the corners, 59.724 \u00d7 23.66 mm spacing."], "text": "Rectangular body, 85.32 \u00d7 33.8 \u00d7 12 mm (W\u00d7D\u00d7H). Four \u00d86.4 mm holes at the corners, 59.724 \u00d7 23.66 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 85.32, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 33.8, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 7.6, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331016 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 85.32, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 33.8, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 7.6, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca549_2453", "family": "revolved", "tier": 1, "seed": 1177331017, "symmetry": "radial", "op_count": 1, "ir_hash": "4f6fb9917325a97e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 41300.0, "surface_area": 11800.0, "principal_moments": [11300000.0, 11300000.0, 19000000.0], "n_faces": 6, "n_edges": 9, "n_vertices": 6}, "dimensions": {"lines": ["Revolved body, \u00d840 mm \u00d7 22.7 mm tall with \u00d814.7 mm bore, \u00d869.7 mm \u00d7 6.5 mm flange."], "text": "Revolved body, \u00d840 mm \u00d7 22.7 mm tall with \u00d814.7 mm bore, \u00d869.7 mm \u00d7 6.5 mm flange."}, "params": {"outer_d": {"type": "float", "default": 40, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 22.7, "min": 6.8, "max": 68.1, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 14.7, "min": 2.0, "max": 28.0, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 69.7, "min": 48.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 6.5, "min": 1.9, "max": 11.3, "step": 0.5, "group": "Body", "label": "Flange height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331017 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 40, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 22.7, \"min\": 6.8, \"max\": 68.1, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 14.7, \"min\": 2.0, \"max\": 28.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 69.7, \"min\": 48.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 6.5, \"min\": 1.9, \"max\": 11.3, \"step\": 0.5, \"group\": 'Body', \"label\": 'Flange height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca54a_2454", "family": "block", "tier": 2, "seed": 1177331018, "symmetry": "mirror_xy", "op_count": 3, "ir_hash": "3ec28b7d141254d1", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 344000.0, "surface_area": 42500.0, "principal_moments": [250000000.0, 339000000.0, 488000000.0], "n_faces": 25, "n_edges": 66, "n_vertices": 44}, "dimensions": {"lines": ["Rectangular body, 83.93 \u00d7 42.4 \u00d7 100 mm (W\u00d7D\u00d7H).", "Four 5.2 mm square holes at the corners, 58.751 \u00d7 29.68 mm spacing.", "Boss \u00d814.6 mm \u00d7 5.7 mm tall on top face with a \u00d85.3 mm bore."], "text": "Rectangular body, 83.93 \u00d7 42.4 \u00d7 100 mm (W\u00d7D\u00d7H). Four 5.2 mm square holes at the corners, 58.751 \u00d7 29.68 mm spacing. Boss \u00d814.6 mm \u00d7 5.7 mm tall on top face with a \u00d85.3 mm bore."}, "params": {"block_w": {"type": "float", "default": 83.93, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 42.4, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 100.0, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 5.2, "min": 2.0, "max": 12.4, "step": 0.5, "group": "Holes", "label": "Square hole size (mm)"}, "boss_d": {"type": "float", "default": 14.6, "min": 7.3, "max": 29.2, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 5.7, "min": 2.3, "max": 14.2, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}, "boss_bore_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 10.2, "step": 0.1, "group": "Boss", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331018 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 83.93, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 42.4, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 100.0, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.2, \"min\": 2.0, \"max\": 12.4, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Square hole size (mm)'},\n    \"boss_d\": {\"type\": 'float', \"default\": 14.6, \"min\": 7.3, \"max\": 29.2, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 5.7, \"min\": 2.3, \"max\": 14.2, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n    \"boss_bore_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 10.2, \"step\": 0.1, \"group\": 'Boss', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().rect(p[\"hole_d\"], p[\"hole_d\"]).cutThruAll()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .hole(p[\"boss_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462ca54b_2455", "family": "flanged", "tier": 2, "seed": 1177331019, "symmetry": "none", "op_count": 3, "ir_hash": "264c8036ff6b44ad", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 625000.0, "surface_area": 90400.0, "principal_moments": [1380000000.0, 1380000000.0, 2330000000.0], "n_faces": 22, "n_edges": 47, "n_vertices": 28}, "dimensions": {"lines": ["Revolved body, \u00d890.78 mm \u00d7 65 mm tall with \u00d849.5 mm bore, \u00d8196.9 mm \u00d7 13.8 mm flange.", "Six \u00d83.2 mm holes on a \u00d8118.2 mm bolt circle.", "Chamfer 0.9 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d890.78 mm \u00d7 65 mm tall with \u00d849.5 mm bore, \u00d8196.9 mm \u00d7 13.8 mm flange. Six \u00d83.2 mm holes on a \u00d8118.2 mm bolt circle. Chamfer 0.9 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 90.78, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 65.0, "min": 19.5, "max": 162.5, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 49.5, "min": 2.0, "max": 63.5, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 196.9, "min": 118.0, "max": 272.3, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 13.8, "min": 4.1, "max": 26.0, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 59.1, "min": 39.4, "max": 88.6, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 6, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}, "end_chamfer": {"type": "float", "default": 0.9, "min": 0.1, "max": 2.0, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331019 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 90.78, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 65.0, \"min\": 19.5, \"max\": 162.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 49.5, \"min\": 2.0, \"max\": 63.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 196.9, \"min\": 118.0, \"max\": 272.3, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 13.8, \"min\": 4.1, \"max\": 26.0, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 59.1, \"min\": 39.4, \"max\": 88.6, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.9, \"min\": 0.1, \"max\": 2.0, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca54c_2456", "family": "bracket", "tier": 1, "seed": 1177331020, "symmetry": "none", "op_count": 1, "ir_hash": "b46fd408707d944e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 41700.0, "surface_area": 16300.0, "principal_moments": [14399999.999999998, 31799999.999999996, 38900000.0], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Z-bracket: base leg 49.77 mm, vertical leg 53.3 mm, top leg 36.1 mm, 55.22 mm wide, 6 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."], "text": "Z-bracket: base leg 49.77 mm, vertical leg 53.3 mm, top leg 36.1 mm, 55.22 mm wide, 6 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 49.77, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 53.3, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 55.22, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 6.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 36.1, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331020 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 49.77, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 53.3, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 55.22, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 36.1, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462ca54d_2457", "family": "enclosure", "tier": 1, "seed": 1177331021, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "c3236d044c2bfafb", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 144000.0, "surface_area": 54200.0, "principal_moments": [154000000.0, 242000000.0, 259000000.0], "n_faces": 11, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 100 \u00d7 65.6 \u00d7 69 mm (W\u00d7D\u00d7H).", "Hollowed to 5.5 mm wall thickness, open at top face."], "text": "Rectangular body, 100 \u00d7 65.6 \u00d7 69 mm (W\u00d7D\u00d7H). Hollowed to 5.5 mm wall thickness, open at top face."}, "params": {"enc_w": {"type": "float", "default": 100, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 65.6, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 69.0, "min": 27.6, "max": 138.0, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 5.5, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331021 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 100, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 65.6, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 69.0, \"min\": 27.6, \"max\": 138.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 5.5, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca54e_2458", "family": "block", "tier": 1, "seed": 1177331022, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "031857339a05d835", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 6870.0, "surface_area": 3100.0, "principal_moments": [324000.0, 517000.0, 636000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 20 \u00d7 13.6 \u00d7 26.9 mm (W\u00d7D\u00d7H).", "Four \u00d82.3 mm holes at the corners, 14 \u00d7 9.52 mm spacing."], "text": "Rectangular body, 20 \u00d7 13.6 \u00d7 26.9 mm (W\u00d7D\u00d7H). Four \u00d82.3 mm holes at the corners, 14 \u00d7 9.52 mm spacing."}, "params": {"block_w": {"type": "float", "default": 20, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 13.6, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 26.9, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 2.3, "min": 2.0, "max": 3.1, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331022 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 20, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 13.6, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 26.9, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 2.3, \"min\": 2.0, \"max\": 3.1, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca54f_2459", "family": "plate", "tier": 0, "seed": 1177331023, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "72b12584a3261c91", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 6050.0, "surface_area": 4580.0, "principal_moments": [736000.0, 1420000.0, 2140000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 52.93 \u00d7 38.1 \u00d7 3 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 52.93 \u00d7 38.1 \u00d7 3 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 52.93, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 38.1, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 3.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331023 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 52.93, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 38.1, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 3.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca550_2460", "family": "plate", "tier": 2, "seed": 1177331024, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "c45a6c0d714b1af9", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 45600.0, "surface_area": 15300.0, "principal_moments": [8640000.0, 44500000.0, 52399999.99999999], "n_faces": 18, "n_edges": 48, "n_vertices": 32}, "dimensions": {"lines": ["Rectangular body, 115 \u00d7 49.3 \u00d7 10 mm (W\u00d7D\u00d7H).", "Four \u00d810.5 mm counterbored holes (\u00d821 mm \u00d7 8.4 mm counterbore) at the corners, 80.5 \u00d7 34.51 mm spacing."], "text": "Rectangular body, 115 \u00d7 49.3 \u00d7 10 mm (W\u00d7D\u00d7H). Four \u00d810.5 mm counterbored holes (\u00d821 mm \u00d7 8.4 mm counterbore) at the corners, 80.5 \u00d7 34.51 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 115, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 49.3, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 10.5, "min": 2.0, "max": 11.1, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "cb_d": {"type": "float", "default": 21.0, "min": 15.8, "max": 31.5, "step": 0.5, "group": "Holes", "label": "Counterbore diameter (mm)"}, "cb_depth": {"type": "float", "default": 8.4, "min": 4.2, "max": 16.8, "step": 0.5, "group": "Holes", "label": "Counterbore depth (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331024 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 115, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 49.3, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 10.5, \"min\": 2.0, \"max\": 11.1, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"cb_d\": {\"type\": 'float', \"default\": 21.0, \"min\": 15.8, \"max\": 31.5, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Counterbore diameter (mm)'},\n    \"cb_depth\": {\"type\": 'float', \"default\": 8.4, \"min\": 4.2, \"max\": 16.8, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Counterbore depth (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().cboreHole(p[\"hole_d\"], p[\"cb_d\"], p[\"cb_depth\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462ca551_2461", "family": "tapped", "tier": 1, "seed": 1177331025, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "55a34a999fbc34aa", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 73600.0, "surface_area": 16700.0, "principal_moments": [27799999.999999996, 27899999.999999996, 51299999.99999999], "n_faces": 506, "n_edges": 1424, "n_vertices": 920}, "dimensions": {"lines": ["Four M12x1.75 tapped holes in a plate."], "text": "Four M12x1.75 tapped holes in a plate."}, "params": {"major_d": {"type": "float", "default": 12.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 1.75, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 19.2, "min": 14.4, "max": 34.6, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "plate_w": {"type": "float", "default": 65, "min": 39.0, "max": 104.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 64.9, "min": 38.9, "max": 103.8, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331025 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 12.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.75, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 19.2, \"min\": 14.4, \"max\": 34.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"plate_w\": {\"type\": 'float', \"default\": 65, \"min\": 39.0, \"max\": 104.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 64.9, \"min\": 38.9, \"max\": 103.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n}\n\n\ndef build(p):\n\n    _W, _D, _H = p[\"plate_w\"], p[\"plate_d\"], p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Box(_W, _D, _H)\n    _sx, _sy = p[\"plate_w\"] * 0.6, p[\"plate_d\"] * 0.6\n    _locs = [(_xx, _yy) for _xx in (-_sx / 2, _sx / 2) for _yy in (-_sy / 2, _sy / 2)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462ca552_2462", "family": "ribbed", "tier": 2, "seed": 1177331026, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "b52881b9546973a6", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 29800.0, "surface_area": 8890.0, "principal_moments": [5710000.0, 9270000.0, 13699999.999999998], "n_faces": 16, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 55 \u00d7 45.5 \u00d7 10 mm (W\u00d7D\u00d7H).", "Two ribs, 5.8 mm thick, 9.4 mm tall."], "text": "Rectangular body, 55 \u00d7 45.5 \u00d7 10 mm (W\u00d7D\u00d7H). Two ribs, 5.8 mm thick, 9.4 mm tall."}, "params": {"base_w": {"type": "float", "default": 55, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 45.5, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 10.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 2, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 9.4, "min": 3.8, "max": 18.8, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 5.8, "min": 1.0, "max": 14.5, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331026 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 55, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 45.5, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 2, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 9.4, \"min\": 3.8, \"max\": 18.8, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 5.8, \"min\": 1.0, \"max\": 14.5, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca553_2463", "family": "plate", "tier": 2, "seed": 1177331027, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "7da10dd4d2b96e81", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 11800.0, "surface_area": 4760.0, "principal_moments": [503000.0, 2950000.0, 3170000.0], "n_faces": 22, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 55 \u00d7 19.8 \u00d7 12 mm (W\u00d7D\u00d7H).", "Four 5.2 mm square holes at the corners, 38.5 \u00d7 13.86 mm spacing."], "text": "Rectangular body, 55 \u00d7 19.8 \u00d7 12 mm (W\u00d7D\u00d7H). Four 5.2 mm square holes at the corners, 38.5 \u00d7 13.86 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 55, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 19.8, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.2, "min": 2.0, "max": 5.8, "step": 0.5, "group": "Holes", "label": "Square hole size (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331027 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 55, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 19.8, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.2, \"min\": 2.0, \"max\": 5.8, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Square hole size (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().rect(p[\"hole_d\"], p[\"hole_d\"]).cutThruAll()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462ca554_2464", "family": "gear", "tier": 1, "seed": 1177331028, "symmetry": "none", "op_count": 1, "ir_hash": "9e51d0d39602d446", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 1120000.0, "surface_area": 120000.0, "principal_moments": [3640000000.0, 3640000000.0, 7110000000.0], "n_faces": 225, "n_edges": 669, "n_vertices": 446}, "dimensions": {"lines": ["Spur gear, module 6 mm, 37 teeth (pitch \u00d8222 mm), face width 30 mm, \u00d834.2 mm bore."], "text": "Spur gear, module 6 mm, 37 teeth (pitch \u00d8222 mm), face width 30 mm, \u00d834.2 mm bore."}, "params": {"module": {"type": "float", "default": 6.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 37, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 30.0, "min": 12.0, "max": 75.0, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "bore_d": {"type": "float", "default": 34.2, "min": 2.0, "max": 124.2, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331028 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 6.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 37, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 30.0, \"min\": 12.0, \"max\": 75.0, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 34.2, \"min\": 2.0, \"max\": 124.2, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca555_2465", "family": "compound", "tier": 1, "seed": 1177331029, "symmetry": "none", "op_count": 2, "ir_hash": "41a764e4bb002b17", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 26400.0, "surface_area": 5980.0, "principal_moments": [4140000.0, 4700000.0, 4700000.0], "n_faces": 10, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["6-sided polygon section, 44.42 mm across corners, extruded 13.5 mm thick.", "\u00d822.6 mm circular section attachment, 22.8 mm long, from top face."], "text": "6-sided polygon section, 44.42 mm across corners, extruded 13.5 mm thick. \u00d822.6 mm circular section attachment, 22.8 mm long, from top face."}, "params": {"base_sides": {"type": "int", "default": 6, "min": 3, "max": 8, "step": 1, "group": "Base", "label": "Base sides"}, "base_r": {"type": "float", "default": 22.21, "min": 13.3, "max": 35.5, "step": 1.0, "group": "Base", "label": "Base circumradius (mm)"}, "base_h": {"type": "float", "default": 13.5, "min": 5.4, "max": 33.8, "step": 1.0, "group": "Base", "label": "Base height (mm)"}, "col_d": {"type": "float", "default": 22.6, "min": 11.3, "max": 30.8, "step": 1.0, "group": "Column", "label": "Column diameter (mm)"}, "col_h": {"type": "float", "default": 22.8, "min": 6.8, "max": 57.0, "step": 1.0, "group": "Column", "label": "Column height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331029 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_sides\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Base', \"label\": 'Base sides'},\n    \"base_r\": {\"type\": 'float', \"default\": 22.21, \"min\": 13.3, \"max\": 35.5, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base circumradius (mm)'},\n    \"base_h\": {\"type\": 'float', \"default\": 13.5, \"min\": 5.4, \"max\": 33.8, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base height (mm)'},\n    \"col_d\": {\"type\": 'float', \"default\": 22.6, \"min\": 11.3, \"max\": 30.8, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column diameter (mm)'},\n    \"col_h\": {\"type\": 'float', \"default\": 22.8, \"min\": 6.8, \"max\": 57.0, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').polygon(p[\"base_sides\"], p[\"base_r\"] * 2).extrude(p[\"base_h\"]))\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"col_d\"] / 2).extrude(p[\"col_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca556_2466", "family": "block", "tier": 3, "seed": 1177331030, "symmetry": "none", "op_count": 5, "ir_hash": "ec4a115f3d814b55", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 200000.0, "surface_area": 30000.0, "principal_moments": [98899999.99999999, 143000000.0, 194000000.0], "n_faces": 21, "n_edges": 51, "n_vertices": 34}, "dimensions": {"lines": ["Rectangular body, 85 \u00d7 35.1 \u00d7 67.3 mm (W\u00d7D\u00d7H).", "Seven \u00d83.2 mm holes in two staggered rows, 21.2 \u00d7 17.6 mm pitch.", "Boss \u00d88.6 mm \u00d7 11 mm tall on top face with a \u00d83.2 mm bore.", "Fillet radius 1.6 mm on vertical edges (optional, off by default).", "\u00d814.8 mm circular section attachment, 26.2 mm long, from back face with a \u00d86.3 mm bore."], "text": "Rectangular body, 85 \u00d7 35.1 \u00d7 67.3 mm (W\u00d7D\u00d7H). Seven \u00d83.2 mm holes in two staggered rows, 21.2 \u00d7 17.6 mm pitch. Boss \u00d88.6 mm \u00d7 11 mm tall on top face with a \u00d83.2 mm bore. Fillet radius 1.6 mm on vertical edges (optional, off by default). \u00d814.8 mm circular section attachment, 26.2 mm long, from back face with a \u00d86.3 mm bore."}, "params": {"block_w": {"type": "float", "default": 85, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 35.1, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 67.3, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 3.5, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 4, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}, "boss_d": {"type": "float", "default": 8.6, "min": 4.3, "max": 17.2, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 11.0, "min": 4.4, "max": 27.5, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}, "boss_bore_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 6.0, "step": 0.1, "group": "Boss", "label": "Bore diameter (mm)"}, "filleted2": {"type": "bool", "default": false, "group": "Body", "label": "Fillet corners"}, "side_tube_d": {"type": "float", "default": 14.8, "min": 5.9, "max": 33.6, "step": 1.0, "group": "Side Tube", "label": "Side tube diameter (mm)"}, "side_tube_len": {"type": "float", "default": 26.2, "min": 7.9, "max": 44.4, "step": 1.0, "group": "Side Tube", "label": "Side tube length (mm)"}, "side_bore_d": {"type": "float", "default": 6.3, "min": 2.0, "max": 11.1, "step": 0.5, "group": "Side Tube", "label": "Side bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331030 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 85, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 35.1, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 67.3, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 3.5, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 4, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n    \"boss_d\": {\"type\": 'float', \"default\": 8.6, \"min\": 4.3, \"max\": 17.2, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 11.0, \"min\": 4.4, \"max\": 27.5, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n    \"boss_bore_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 6.0, \"step\": 0.1, \"group\": 'Boss', \"label\": 'Bore diameter (mm)'},\n    \"filleted2\": {\"type\": 'bool', \"default\": False, \"group\": 'Body', \"label\": 'Fillet corners'},\n    \"side_tube_d\": {\"type\": 'float', \"default\": 14.8, \"min\": 5.9, \"max\": 33.6, \"step\": 1.0, \"group\": 'Side Tube', \"label\": 'Side tube diameter (mm)'},\n    \"side_tube_len\": {\"type\": 'float', \"default\": 26.2, \"min\": 7.9, \"max\": 44.4, \"step\": 1.0, \"group\": 'Side Tube', \"label\": 'Side tube length (mm)'},\n    \"side_bore_d\": {\"type\": 'float', \"default\": 6.3, \"min\": 2.0, \"max\": 11.1, \"step\": 0.5, \"group\": 'Side Tube', \"label\": 'Side bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 21.2\n    _ssy = 17.6\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .hole(p[\"boss_bore_d\"])\n    )\n    if p[\"filleted2\"]:\n        result = result.edges('|Z').fillet(min(p[\"block_w\"], p[\"block_d\"]) * 0.04557644779340534)\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"side_tube_d\"] / 2).extrude(p[\"side_tube_len\"])\n    )\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"side_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca557_2467", "family": "revolved", "tier": 1, "seed": 1177331031, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "82dc3cb8793cfa3b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 904000.0, "surface_area": 101000.0, "principal_moments": [1450000000.0, 3610000000.0, 3610000000.0], "n_faces": 6, "n_edges": 9, "n_vertices": 6}, "dimensions": {"lines": ["Revolved body, \u00d879.15 mm \u00d7 179.7 mm tall with \u00d839.8 mm bore, \u00d8141.7 mm \u00d7 22.4 mm flange."], "text": "Revolved body, \u00d879.15 mm \u00d7 179.7 mm tall with \u00d839.8 mm bore, \u00d8141.7 mm \u00d7 22.4 mm flange."}, "params": {"outer_d": {"type": "float", "default": 79.15, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 179.7, "min": 53.9, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 39.8, "min": 2.0, "max": 55.4, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 141.7, "min": 95.0, "max": 237.5, "step": 1.0, "group": "Body", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 22.4, "min": 6.7, "max": 89.8, "step": 0.5, "group": "Body", "label": "Flange height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331031 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 79.15, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 179.7, \"min\": 53.9, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 39.8, \"min\": 2.0, \"max\": 55.4, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 141.7, \"min\": 95.0, \"max\": 237.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 22.4, \"min\": 6.7, \"max\": 89.8, \"step\": 0.5, \"group\": 'Body', \"label\": 'Flange height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca558_2468", "family": "bracket", "tier": 2, "seed": 1177331032, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "e2145ad9eef462b5", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 24200.0, "surface_area": 10300.0, "principal_moments": [5670000.0, 17900000.0, 20900000.0], "n_faces": 15, "n_edges": 41, "n_vertices": 26}, "dimensions": {"lines": ["L-bracket: base leg 69.17 mm, vertical leg 71.1 mm, 27.24 mm wide, 6 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg; 4.9 mm corner gusset."], "text": "L-bracket: base leg 69.17 mm, vertical leg 71.1 mm, 27.24 mm wide, 6 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg; 4.9 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 69.17, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 71.1, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 27.24, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 6.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 4.9, "min": 3.0, "max": 13.6, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331032 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 69.17, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 71.1, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 27.24, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 4.9, \"min\": 3.0, \"max\": 13.6, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca559_2469", "family": "block", "tier": 1, "seed": 1177331033, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "f1d5732edd567ac4", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 173000.0, "surface_area": 29500.0, "principal_moments": [79500000.0, 135000000.0, 192000000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 69.92 \u00d7 28.5 \u00d7 92.8 mm (W\u00d7D\u00d7H).", "Four \u00d86.4 mm holes at the corners, 48.944 \u00d7 19.95 mm spacing."], "text": "Rectangular body, 69.92 \u00d7 28.5 \u00d7 92.8 mm (W\u00d7D\u00d7H). Four \u00d86.4 mm holes at the corners, 48.944 \u00d7 19.95 mm spacing."}, "params": {"block_w": {"type": "float", "default": 69.92, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 28.5, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 92.8, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 6.4, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331033 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 69.92, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 28.5, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 92.8, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 6.4, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca55a_2470", "family": "plate", "tier": 1, "seed": 1177331034, "symmetry": "none", "op_count": 2, "ir_hash": "11f9c53d033aab90", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 10800.0, "surface_area": 4120.0, "principal_moments": [448000.0, 2870000.0, 3140000.0], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["Rectangular body, 55.34 \u00d7 20 \u00d7 10 mm (W\u00d7D\u00d7H).", "Seven \u00d82 mm holes in two staggered rows, 13.8 \u00d7 14.6 mm pitch."], "text": "Rectangular body, 55.34 \u00d7 20 \u00d7 10 mm (W\u00d7D\u00d7H). Seven \u00d82 mm holes in two staggered rows, 13.8 \u00d7 14.6 mm pitch."}, "params": {"plate_w": {"type": "float", "default": 55.34, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 20.0, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 2.0, "min": 2.0, "max": 2.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 4, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331034 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 55.34, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 20.0, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 2.0, \"min\": 2.0, \"max\": 2.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 4, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 13.8\n    _ssy = 14.6\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca55b_2471", "family": "bracket", "tier": 2, "seed": 1177331035, "symmetry": "none", "op_count": 1, "ir_hash": "0674f89df79bf686", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 27200.0, "surface_area": 11000.0, "principal_moments": [6260000.0, 20400000.0, 22000000.0], "n_faces": 14, "n_edges": 37, "n_vertices": 24}, "dimensions": {"lines": ["L-bracket: base leg 75.41 mm, vertical leg 57.6 mm, 33.07 mm wide, 6 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg; 6.7 mm corner gusset."], "text": "L-bracket: base leg 75.41 mm, vertical leg 57.6 mm, 33.07 mm wide, 6 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg; 6.7 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 75.41, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 57.6, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 33.07, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 6.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 6.7, "min": 3.0, "max": 16.5, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331035 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 75.41, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 57.6, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 33.07, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 6.7, \"min\": 3.0, \"max\": 16.5, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca55c_2472", "family": "plate", "tier": 2, "seed": 1177331036, "symmetry": "none", "op_count": 2, "ir_hash": "fd10323d11c50e97", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 18000.0, "surface_area": 6350.0, "principal_moments": [1620000.0, 5320000.0, 6640000.0], "n_faces": 30, "n_edges": 84, "n_vertices": 56}, "dimensions": {"lines": ["Rectangular body, 60 \u00d7 31.5 \u00d7 10 mm (W\u00d7D\u00d7H).", "Six 3.8 mm square holes in a 2\u00d73 grid, 48 \u00d7 12.6 mm pitch."], "text": "Rectangular body, 60 \u00d7 31.5 \u00d7 10 mm (W\u00d7D\u00d7H). Six 3.8 mm square holes in a 2\u00d73 grid, 48 \u00d7 12.6 mm pitch."}, "params": {"plate_w": {"type": "float", "default": 60, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 31.5, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.8, "min": 2.0, "max": 4.9, "step": 0.1, "group": "Holes", "label": "Square hole size (mm)"}, "hole_nx": {"type": "int", "default": 2, "min": 1, "max": 4, "step": 1, "group": "Holes", "label": "Holes across"}, "hole_ny": {"type": "int", "default": 3, "min": 1, "max": 4, "step": 1, "group": "Holes", "label": "Holes deep"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331036 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 60, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 31.5, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.8, \"min\": 2.0, \"max\": 4.9, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Square hole size (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 2, \"min\": 1, \"max\": 4, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes across'},\n    \"hole_ny\": {\"type\": 'int', \"default\": 3, \"min\": 1, \"max\": 4, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes deep'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(48.0, 12.6, p[\"hole_nx\"], p[\"hole_ny\"])\n        .rect(p[\"hole_d\"], p[\"hole_d\"]).cutThruAll()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462ca55d_2473", "family": "threaded", "tier": 1, "seed": 1177331037, "symmetry": "none", "op_count": 1, "ir_hash": "a73439c9258732d3", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 376.0, "surface_area": 485.0, "principal_moments": [1390.0, 9080.0, 9080.0], "n_faces": 170, "n_edges": 432, "n_vertices": 264}, "dimensions": {"lines": ["M6x1 external thread, 16.5 mm long."], "text": "M6x1 external thread, 16.5 mm long."}, "params": {"major_d": {"type": "float", "default": 6.0, "min": 4.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Major diameter (mm)"}, "pitch": {"type": "float", "default": 1.0, "min": 0.5, "max": 2.0, "step": 0.05, "group": "Thread", "label": "Pitch (mm)"}, "thread_len": {"type": "float", "default": 16.5, "min": 6.6, "max": 33.0, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331037 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 6.0, \"min\": 4.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Major diameter (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.0, \"min\": 0.5, \"max\": 2.0, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Pitch (mm)'},\n    \"thread_len\": {\"type\": 'float', \"default\": 16.5, \"min\": 6.6, \"max\": 33.0, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.IsoThread(major_diameter=p[\"major_d\"], pitch=p[\"pitch\"], length=p[\"thread_len\"], external=True, end_finishes=(\"fade\", \"fade\"))\n    _r = _thr.min_radius if hasattr(_thr, 'min_radius') else _thr.root_radius\n    _shank = _bd.Cylinder(radius=_r, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = _shank + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca55e_2474", "family": "plate", "tier": 0, "seed": 1177331038, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "29c6d8848e4ed0d5", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 46500.0, "surface_area": 14100.0, "principal_moments": [16399999.999999998, 31599999.999999996, 47599999.99999999], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 90 \u00d7 64.6 \u00d7 8 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 90 \u00d7 64.6 \u00d7 8 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 90, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 64.6, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331038 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 90, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 64.6, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462ca55f_2475", "family": "enclosure", "tier": 1, "seed": 1177331039, "symmetry": "none", "op_count": 2, "ir_hash": "f3640ce90808bd4a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 13200.0, "surface_area": 12300.0, "principal_moments": [3300000.0, 4880000.0, 5010000.0], "n_faces": 11, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 45 \u00d7 29 \u00d7 36 mm (W\u00d7D\u00d7H).", "Hollowed to 2.2 mm wall thickness, open at top face."], "text": "Rectangular body, 45 \u00d7 29 \u00d7 36 mm (W\u00d7D\u00d7H). Hollowed to 2.2 mm wall thickness, open at top face."}, "params": {"enc_w": {"type": "float", "default": 45, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 29.0, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 36.0, "min": 14.4, "max": 72.0, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 2.2, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331039 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 45, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 29.0, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 36.0, \"min\": 14.4, \"max\": 72.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 2.2, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca561_2477", "family": "compound", "tier": 2, "seed": 1177331041, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "65a5a311e053c881", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 112000.0, "surface_area": 14800.0, "principal_moments": [20300000.0, 102000000.0, 102000000.0], "n_faces": 5, "n_edges": 6, "n_vertices": 4}, "dimensions": {"lines": ["\u00d840 mm circular section, extruded 76.6 mm thick.", "\u00d823 mm circular section attachment, 37.1 mm long, from top face."], "text": "\u00d840 mm circular section, extruded 76.6 mm thick. \u00d823 mm circular section attachment, 37.1 mm long, from top face."}, "params": {"shaft_d": {"type": "float", "default": 40, "min": 20.0, "max": 72.0, "step": 1.0, "group": "Body", "label": "Shaft diameter (mm)"}, "shaft_len": {"type": "float", "default": 76.6, "min": 30.6, "max": 153.2, "step": 1.0, "group": "Body", "label": "Shaft length (mm)"}, "step_d": {"type": "float", "default": 23.0, "min": 11.5, "max": 36.0, "step": 1.0, "group": "Step", "label": "Step diameter (mm)"}, "step_len": {"type": "float", "default": 37.1, "min": 11.1, "max": 92.8, "step": 1.0, "group": "Step", "label": "Step length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331041 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"shaft_d\": {\"type\": 'float', \"default\": 40, \"min\": 20.0, \"max\": 72.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft diameter (mm)'},\n    \"shaft_len\": {\"type\": 'float', \"default\": 76.6, \"min\": 30.6, \"max\": 153.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft length (mm)'},\n    \"step_d\": {\"type\": 'float', \"default\": 23.0, \"min\": 11.5, \"max\": 36.0, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step diameter (mm)'},\n    \"step_len\": {\"type\": 'float', \"default\": 37.1, \"min\": 11.1, \"max\": 92.8, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').circle(p[\"shaft_d\"] / 2).extrude(p[\"shaft_len\"]))\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"step_d\"] / 2).extrude(p[\"step_len\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca562_2478", "family": "compound", "tier": 1, "seed": 1177331042, "symmetry": "none", "op_count": 2, "ir_hash": "33e358e6b987ce71", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 30500.0, "surface_area": 6540.0, "principal_moments": [2010000.0, 16599999.999999998, 16599999.999999998], "n_faces": 5, "n_edges": 6, "n_vertices": 4}, "dimensions": {"lines": ["\u00d825 mm circular section, extruded 44.2 mm thick.", "\u00d816.9 mm circular section attachment, 39.3 mm long, from top face."], "text": "\u00d825 mm circular section, extruded 44.2 mm thick. \u00d816.9 mm circular section attachment, 39.3 mm long, from top face."}, "params": {"shaft_d": {"type": "float", "default": 25, "min": 12.5, "max": 45.0, "step": 1.0, "group": "Body", "label": "Shaft diameter (mm)"}, "shaft_len": {"type": "float", "default": 44.2, "min": 17.7, "max": 88.4, "step": 1.0, "group": "Body", "label": "Shaft length (mm)"}, "step_d": {"type": "float", "default": 16.9, "min": 8.4, "max": 22.5, "step": 1.0, "group": "Step", "label": "Step diameter (mm)"}, "step_len": {"type": "float", "default": 39.3, "min": 11.8, "max": 98.2, "step": 1.0, "group": "Step", "label": "Step length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331042 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"shaft_d\": {\"type\": 'float', \"default\": 25, \"min\": 12.5, \"max\": 45.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft diameter (mm)'},\n    \"shaft_len\": {\"type\": 'float', \"default\": 44.2, \"min\": 17.7, \"max\": 88.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft length (mm)'},\n    \"step_d\": {\"type\": 'float', \"default\": 16.9, \"min\": 8.4, \"max\": 22.5, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step diameter (mm)'},\n    \"step_len\": {\"type\": 'float', \"default\": 39.3, \"min\": 11.8, \"max\": 98.2, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').circle(p[\"shaft_d\"] / 2).extrude(p[\"shaft_len\"]))\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"step_d\"] / 2).extrude(p[\"step_len\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca563_2479", "family": "plate", "tier": 1, "seed": 1177331043, "symmetry": "none", "op_count": 2, "ir_hash": "812775e694025560", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 16600.0, "surface_area": 8410.0, "principal_moments": [4580000.0, 5250000.0, 9760000.0], "n_faces": 15, "n_edges": 39, "n_vertices": 26}, "dimensions": {"lines": ["Rectangular body, 61.09 \u00d7 56.4 \u00d7 5 mm (W\u00d7D\u00d7H).", "Nine \u00d84.3 mm holes in two staggered rows, 11.5 \u00d7 10.1 mm pitch."], "text": "Rectangular body, 61.09 \u00d7 56.4 \u00d7 5 mm (W\u00d7D\u00d7H). Nine \u00d84.3 mm holes in two staggered rows, 11.5 \u00d7 10.1 mm pitch."}, "params": {"plate_w": {"type": "float", "default": 61.09, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 56.4, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 5.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 5.6, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 5, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331043 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 61.09, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 56.4, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 5.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 5.6, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 5, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 11.5\n    _ssy = 10.1\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462ca564_2480", "family": "ribbed", "tier": 1, "seed": 1177331044, "symmetry": "none", "op_count": 2, "ir_hash": "90922b466703826e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 42600.0, "surface_area": 23600.0, "principal_moments": [15799999.999999998, 31699999.999999996, 45799999.99999999], "n_faces": 54, "n_edges": 132, "n_vertices": 80}, "dimensions": {"lines": ["Rectangular body, 95 \u00d7 58.2 \u00d7 5 mm (W\u00d7D\u00d7H).", "Six ribs, 3 mm thick, 10.9 mm tall."], "text": "Rectangular body, 95 \u00d7 58.2 \u00d7 5 mm (W\u00d7D\u00d7H). Six ribs, 3 mm thick, 10.9 mm tall."}, "params": {"base_w": {"type": "float", "default": 95, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 58.2, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 5.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 6, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 10.9, "min": 4.4, "max": 21.8, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 3.0, "min": 1.0, "max": 7.5, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331044 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 95, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 58.2, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 6, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 10.9, \"min\": 4.4, \"max\": 21.8, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 1.0, \"max\": 7.5, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca565_2481", "family": "bracket", "tier": 2, "seed": 1177331045, "symmetry": "none", "op_count": 1, "ir_hash": "2ce8dd36e65c0cfe", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 37800.0, "surface_area": 20800.0, "principal_moments": [14999999.999999998, 82400000.0, 87800000.0], "n_faces": 18, "n_edges": 48, "n_vertices": 32}, "dimensions": {"lines": ["Z-bracket: base leg 89.81 mm, vertical leg 84.5 mm, top leg 58.7 mm, 40 mm wide, 4 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 5 mm corner gusset."], "text": "Z-bracket: base leg 89.81 mm, vertical leg 84.5 mm, top leg 58.7 mm, 40 mm wide, 4 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 5 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 89.81, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 84.5, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 40, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 4.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 58.7, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}, "gusset_t": {"type": "float", "default": 5.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331045 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 89.81, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 84.5, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 40, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 58.7, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _tl, _vl) * 0.4 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(0, _vl - _bt).lineTo(-_g, _vl - _bt)\n                    .lineTo(0, _vl - _bt - _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462ca566_2482", "family": "lofted", "tier": 0, "seed": 1177331046, "symmetry": "none", "op_count": 1, "ir_hash": "f9aafd630a0fd352", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 18900.0, "surface_area": 4140.0, "principal_moments": [1680000.0, 2910000.0, 2910000.0], "n_faces": 7, "n_edges": 15, "n_vertices": 10}, "dimensions": {"lines": ["Lofted body through 2 sections: \u00d832.44 mm circular section \u2192 14.9 \u00d7 14.9 mm rectangular section."], "text": "Lofted body through 2 sections: \u00d832.44 mm circular section \u2192 14.9 \u00d7 14.9 mm rectangular section."}, "params": {"loft_base": {"type": "float", "default": 32.44, "min": 16.2, "max": 51.9, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 14.9, "min": 6.0, "max": 38.9, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 38.2, "min": 15.3, "max": 76.4, "step": 1.0, "group": "Body", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331046 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 32.44, \"min\": 16.2, \"max\": 51.9, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 14.9, \"min\": 6.0, \"max\": 38.9, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 38.2, \"min\": 15.3, \"max\": 76.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .circle(p[\"loft_base\"] / 2)\n        .workplane(offset=p[\"loft_h\"])\n        .rect(p[\"loft_top\"], p[\"loft_top\"])\n        .loft(combine=True)\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca567_2483", "family": "block", "tier": 1, "seed": 1177331047, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "0e8884455ffa5eb5", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 328000.0, "surface_area": 32000.0, "principal_moments": [238000000.0, 255000000.0, 332000000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 80 \u00d7 76.2 \u00d7 54.3 mm (W\u00d7D\u00d7H).", "Four \u00d84.3 mm holes at the corners, 56 \u00d7 53.34 mm spacing."], "text": "Rectangular body, 80 \u00d7 76.2 \u00d7 54.3 mm (W\u00d7D\u00d7H). Four \u00d84.3 mm holes at the corners, 56 \u00d7 53.34 mm spacing."}, "params": {"block_w": {"type": "float", "default": 80, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 76.2, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 54.3, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331047 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 80, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 76.2, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 54.3, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca568_2484", "family": "bracket", "tier": 1, "seed": 1177331048, "symmetry": "none", "op_count": 1, "ir_hash": "fa514d32f3e019d2", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 54500.0, "surface_area": 21300.0, "principal_moments": [31399999.999999996, 60999999.99999999, 69400000.0], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["C-channel bracket: base leg 75.44 mm, vertical leg 60.1 mm, 50 mm wide, 6 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."], "text": "C-channel bracket: base leg 75.44 mm, vertical leg 60.1 mm, 50 mm wide, 6 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 75.44, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 60.1, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 50, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 6.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331048 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 75.44, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 60.1, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 50, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462ca569_2485", "family": "flanged", "tier": 1, "seed": 1177331049, "symmetry": "radial", "op_count": 2, "ir_hash": "0eb2a035ef7c1317", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 816000.0, "surface_area": 98900.0, "principal_moments": [1790000000.0, 1790000000.0, 2490000000.0], "n_faces": 18, "n_edges": 45, "n_vertices": 30}, "dimensions": {"lines": ["Revolved body, \u00d892.66 mm \u00d7 85 mm tall with \u00d834.4 mm bore, \u00d8194.8 mm \u00d7 14.2 mm flange.", "Twelve \u00d86.4 mm holes on a \u00d8116.8 mm bolt circle."], "text": "Revolved body, \u00d892.66 mm \u00d7 85 mm tall with \u00d834.4 mm bore, \u00d8194.8 mm \u00d7 14.2 mm flange. Twelve \u00d86.4 mm holes on a \u00d8116.8 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 92.66, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 85.0, "min": 25.5, "max": 212.5, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 34.4, "min": 2.0, "max": 64.9, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 194.8, "min": 120.5, "max": 278.0, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 14.2, "min": 4.3, "max": 34.0, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 58.4, "min": 39.0, "max": 87.7, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 12, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331049 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 92.66, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 85.0, \"min\": 25.5, \"max\": 212.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 34.4, \"min\": 2.0, \"max\": 64.9, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 194.8, \"min\": 120.5, \"max\": 278.0, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 14.2, \"min\": 4.3, \"max\": 34.0, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 58.4, \"min\": 39.0, \"max\": 87.7, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 12, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462ca56a_2486", "family": "enclosure", "tier": 1, "seed": 1177331050, "symmetry": "none", "op_count": 2, "ir_hash": "b938595af81e027d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 5340.0, "surface_area": 2670.0, "principal_moments": [220000.0, 528000.0, 587000.0], "n_faces": 11, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 30 \u00d7 16.3 \u00d7 13.3 mm (W\u00d7D\u00d7H).", "Hollowed to 4.8 mm wall thickness, open at top face."], "text": "Rectangular body, 30 \u00d7 16.3 \u00d7 13.3 mm (W\u00d7D\u00d7H). Hollowed to 4.8 mm wall thickness, open at top face."}, "params": {"enc_w": {"type": "float", "default": 30.0, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 16.3, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 13.3, "min": 5.3, "max": 26.6, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 4.8, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331050 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 30.0, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 16.3, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 13.3, \"min\": 5.3, \"max\": 26.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 4.8, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca56b_2487", "family": "plate", "tier": 1, "seed": 1177331051, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "639a5ead3cce0bfc", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 1850.0, "surface_area": 1250.0, "principal_moments": [30200.0, 73900.0, 74600.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 20 \u00d7 10 \u00d7 10 mm (W\u00d7D\u00d7H).", "Four \u00d82.2 mm holes at the corners, 14 \u00d7 7 mm spacing."], "text": "Rectangular body, 20 \u00d7 10 \u00d7 10 mm (W\u00d7D\u00d7H). Four \u00d82.2 mm holes at the corners, 14 \u00d7 7 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 20.0, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 10.0, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 2.2, "min": 2.0, "max": 2.2, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331051 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 20.0, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 10.0, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 2.2, \"min\": 2.0, \"max\": 2.2, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca56c_2488", "family": "plate", "tier": 1, "seed": 1177331052, "symmetry": "none", "op_count": 2, "ir_hash": "837357fc8772afee", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 69400.0, "surface_area": 21900.0, "principal_moments": [39800000.0, 71000000.0, 110000000.0], "n_faces": 15, "n_edges": 39, "n_vertices": 26}, "dimensions": {"lines": ["Rectangular body, 110 \u00d7 81.5 \u00d7 8 mm (W\u00d7D\u00d7H).", "Nine \u00d86.4 mm holes in two staggered rows, 20.6 \u00d7 20.7 mm pitch."], "text": "Rectangular body, 110 \u00d7 81.5 \u00d7 8 mm (W\u00d7D\u00d7H). Nine \u00d86.4 mm holes in two staggered rows, 20.6 \u00d7 20.7 mm pitch."}, "params": {"plate_w": {"type": "float", "default": 110, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 81.5, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 8.2, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 5, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331052 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 110, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 81.5, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 8.2, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 5, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 20.6\n    _ssy = 20.7\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca56d_2489", "family": "compound", "tier": 3, "seed": 1177331053, "symmetry": "none", "op_count": 2, "ir_hash": "3f9af845306ee76a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 88800.0, "surface_area": 16700.0, "principal_moments": [30599999.999999996, 52299999.99999999, 52299999.99999999], "n_faces": 13, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["8-sided polygon section, 60 mm across corners, extruded 28.2 mm thick.", "\u00d822.7 mm circular section attachment, 57.1 mm long, from top face with a \u00d89.5 mm bore."], "text": "8-sided polygon section, 60 mm across corners, extruded 28.2 mm thick. \u00d822.7 mm circular section attachment, 57.1 mm long, from top face with a \u00d89.5 mm bore."}, "params": {"base_sides": {"type": "int", "default": 8, "min": 3, "max": 8, "step": 1, "group": "Base", "label": "Base sides"}, "base_r": {"type": "float", "default": 30.0, "min": 18.0, "max": 48.0, "step": 1.0, "group": "Base", "label": "Base circumradius (mm)"}, "base_h": {"type": "float", "default": 28.2, "min": 11.3, "max": 70.5, "step": 1.0, "group": "Base", "label": "Base height (mm)"}, "col_d": {"type": "float", "default": 22.7, "min": 11.3, "max": 44.3, "step": 1.0, "group": "Column", "label": "Column diameter (mm)"}, "col_h": {"type": "float", "default": 57.1, "min": 17.1, "max": 142.8, "step": 1.0, "group": "Column", "label": "Column height (mm)"}, "col_bore": {"type": "float", "default": 9.5, "min": 2.0, "max": 16.3, "step": 0.5, "group": "Column", "label": "Column bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331053 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_sides\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Base', \"label\": 'Base sides'},\n    \"base_r\": {\"type\": 'float', \"default\": 30.0, \"min\": 18.0, \"max\": 48.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base circumradius (mm)'},\n    \"base_h\": {\"type\": 'float', \"default\": 28.2, \"min\": 11.3, \"max\": 70.5, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base height (mm)'},\n    \"col_d\": {\"type\": 'float', \"default\": 22.7, \"min\": 11.3, \"max\": 44.3, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column diameter (mm)'},\n    \"col_h\": {\"type\": 'float', \"default\": 57.1, \"min\": 17.1, \"max\": 142.8, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column height (mm)'},\n    \"col_bore\": {\"type\": 'float', \"default\": 9.5, \"min\": 2.0, \"max\": 16.3, \"step\": 0.5, \"group\": 'Column', \"label\": 'Column bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').polygon(p[\"base_sides\"], p[\"base_r\"] * 2).extrude(p[\"base_h\"]))\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"col_d\"] / 2).extrude(p[\"col_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"col_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca56e_2490", "family": "revolved", "tier": 1, "seed": 1177331054, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "7c677f0f8d079861", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 20600.0, "surface_area": 6500.0, "principal_moments": [3610000.0, 3610000.0, 4080000.0], "n_faces": 4, "n_edges": 6, "n_vertices": 4}, "dimensions": {"lines": ["Revolved body, \u00d835 mm \u00d7 30.3 mm tall with \u00d819 mm bore."], "text": "Revolved body, \u00d835 mm \u00d7 30.3 mm tall with \u00d819 mm bore."}, "params": {"outer_d": {"type": "float", "default": 35, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 30.3, "min": 9.1, "max": 90.9, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 19.0, "min": 2.0, "max": 24.5, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331054 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 35, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 30.3, \"min\": 9.1, \"max\": 90.9, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 19.0, \"min\": 2.0, \"max\": 24.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462ca56f_2491", "family": "threaded", "tier": 3, "seed": 1177331055, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "5b152b5b349a56ce", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 21500.0, "surface_area": 6590.0, "principal_moments": [1780000.0, 4020000.0, 4020000.0], "n_faces": 90, "n_edges": 224, "n_vertices": 136}, "dimensions": {"lines": ["Tr 28x5 external thread, 42.5 mm long."], "text": "Tr 28x5 external thread, 42.5 mm long."}, "params": {"thread_size": {"type": "enum", "default": "28x5", "choices": ["8x1.5", "10x2", "12x3", "14x3", "16x4", "18x4", "20x4", "24x5", "28x5", "30x6", "36x6", "40x7"], "group": "Thread", "label": "Size designation"}, "thread_len": {"type": "float", "default": 42.5, "min": 17.0, "max": 85.0, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331055 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"thread_size\": {\"type\": 'enum', \"default\": '28x5', \"choices\": ['8x1.5', '10x2', '12x3', '14x3', '16x4', '18x4', '20x4', '24x5', '28x5', '30x6', '36x6', '40x7'], \"group\": 'Thread', \"label\": 'Size designation'},\n    \"thread_len\": {\"type\": 'float', \"default\": 42.5, \"min\": 17.0, \"max\": 85.0, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.MetricTrapezoidalThread(size=p[\"thread_size\"], length=p[\"thread_len\"], external=True, end_finishes=(\"fade\", \"fade\"))\n    _r = _thr.min_radius if hasattr(_thr, 'min_radius') else _thr.root_radius\n    _shank = _bd.Cylinder(radius=_r, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = _shank + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462ca570_2492", "family": "ribbed", "tier": 1, "seed": 1177331056, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "1c6ed1c07dc77370", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 30800.0, "surface_area": 14300.0, "principal_moments": [9130000.0, 14999999.999999998, 23499999.999999996], "n_faces": 38, "n_edges": 92, "n_vertices": 56}, "dimensions": {"lines": ["Rectangular body, 75.18 \u00d7 58.4 \u00d7 6 mm (W\u00d7D\u00d7H).", "Four ribs, 2.4 mm thick, 7.8 mm tall."], "text": "Rectangular body, 75.18 \u00d7 58.4 \u00d7 6 mm (W\u00d7D\u00d7H). Four ribs, 2.4 mm thick, 7.8 mm tall."}, "params": {"base_w": {"type": "float", "default": 75.18, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 58.4, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 6.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 4, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 7.8, "min": 3.1, "max": 15.6, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 2.4, "min": 1.0, "max": 6.0, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331056 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 75.18, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 58.4, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 4, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 7.8, \"min\": 3.1, \"max\": 15.6, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 2.4, \"min\": 1.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca571_2493", "family": "plate", "tier": 1, "seed": 1177331057, "symmetry": "none", "op_count": 2, "ir_hash": "1c3d94837305df6e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 17000.0, "surface_area": 6370.0, "principal_moments": [1190000.0, 8510000.0, 9520000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 77.62 \u00d7 28.1 \u00d7 8 mm (W\u00d7D\u00d7H).", "Four \u00d84.3 mm holes at the corners, 54.334 \u00d7 19.67 mm spacing."], "text": "Rectangular body, 77.62 \u00d7 28.1 \u00d7 8 mm (W\u00d7D\u00d7H). Four \u00d84.3 mm holes at the corners, 54.334 \u00d7 19.67 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 77.62, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 28.1, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 6.3, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331057 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 77.62, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 28.1, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 6.3, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca572_2494", "family": "bracket", "tier": 2, "seed": 1177331058, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "fe018e40630c9b96", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 33800.0, "surface_area": 13100.0, "principal_moments": [12499999.999999998, 14699999.999999998, 21900000.0], "n_faces": 14, "n_edges": 37, "n_vertices": 24}, "dimensions": {"lines": ["L-bracket: base leg 55 mm, vertical leg 42 mm, 60 mm wide, 6 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg; 8.1 mm corner gusset."], "text": "L-bracket: base leg 55 mm, vertical leg 42 mm, 60 mm wide, 6 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg; 8.1 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 55, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 42.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 60.0, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 6.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 8.1, "min": 3.0, "max": 18.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331058 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 55, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 42.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 60.0, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 8.1, \"min\": 3.0, \"max\": 18.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462ca573_2495", "family": "tapped", "tier": 1, "seed": 1177331059, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "64637d2bfa791d42", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 7400.0, "surface_area": 2930.0, "principal_moments": [517000.0, 525000.0, 525000.0], "n_faces": 135, "n_edges": 365, "n_vertices": 232}, "dimensions": {"lines": ["One M8x1.25 tapped hole in a cylinder."], "text": "One M8x1.25 tapped hole in a cylinder."}, "params": {"major_d": {"type": "float", "default": 8.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 1.25, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 20.8, "min": 9.6, "max": 37.4, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "body_d": {"type": "float", "default": 22.5, "min": 14.4, "max": 36.0, "step": 1.0, "group": "Body", "label": "Outer \u00d8 (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331059 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.25, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 20.8, \"min\": 9.6, \"max\": 37.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"body_d\": {\"type\": 'float', \"default\": 22.5, \"min\": 14.4, \"max\": 36.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer \u00d8 (mm)'},\n}\n\n\ndef build(p):\n\n    _W = _D = p[\"body_d\"]\n    _H = p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Cylinder(radius=_W / 2, height=_H)\n    _locs = [(0.0, 0.0)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca574_2496", "family": "plate", "tier": 2, "seed": 1177331060, "symmetry": "none", "op_count": 3, "ir_hash": "b3927392979a083d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 1210.0, "surface_area": 1030.0, "principal_moments": [12200.0, 93100.0, 102000.0], "n_faces": 14, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 30.49 \u00d7 10.4 \u00d7 4 mm (W\u00d7D\u00d7H).", "Four \u00d82.1 mm holes at the corners, 21.343 \u00d7 7.28 mm spacing.", "Chamfer 0.5 mm on vertical edges."], "text": "Rectangular body, 30.49 \u00d7 10.4 \u00d7 4 mm (W\u00d7D\u00d7H). Four \u00d82.1 mm holes at the corners, 21.343 \u00d7 7.28 mm spacing. Chamfer 0.5 mm on vertical edges."}, "params": {"plate_w": {"type": "float", "default": 30.49, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 10.4, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 4.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 2.1, "min": 2.0, "max": 2.3, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "chamfer_d": {"type": "float", "default": 0.5, "min": 0.5, "max": 0.5, "step": 0.5, "group": "Body", "label": "Chamfer distance (mm)"}, "chamfered": {"type": "bool", "default": true, "group": "Body", "label": "Chamfer edges"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331060 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 30.49, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 10.4, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 4.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 2.1, \"min\": 2.0, \"max\": 2.3, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"chamfer_d\": {\"type\": 'float', \"default\": 0.5, \"min\": 0.5, \"max\": 0.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Chamfer distance (mm)'},\n    \"chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Chamfer edges'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"chamfered\"]:\n        result = result.edges('|Z').chamfer(p[\"chamfer_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca575_2497", "family": "block", "tier": 1, "seed": 1177331061, "symmetry": "none", "op_count": 2, "ir_hash": "476cfa6545cb2457", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 38700.0, "surface_area": 9180.0, "principal_moments": [6690000.0, 8320000.0, 11999999.999999998], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["Rectangular body, 45.74 \u00d7 21.7 \u00d7 40 mm (W\u00d7D\u00d7H).", "Seven \u00d82.1 mm holes in two staggered rows, 11.4 \u00d7 10.9 mm pitch."], "text": "Rectangular body, 45.74 \u00d7 21.7 \u00d7 40 mm (W\u00d7D\u00d7H). Seven \u00d82.1 mm holes in two staggered rows, 11.4 \u00d7 10.9 mm pitch."}, "params": {"block_w": {"type": "float", "default": 45.74, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 21.7, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 40.0, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 2.1, "min": 2.0, "max": 2.2, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 4, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331061 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 45.74, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 21.7, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 40.0, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 2.1, \"min\": 2.0, \"max\": 2.2, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 4, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 11.4\n    _ssy = 10.9\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca576_2498", "family": "bracket", "tier": 2, "seed": 1177331062, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "442ec1f6c7045e5e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 37400.0, "surface_area": 20600.0, "principal_moments": [21100000.0, 35500000.0, 38600000.0], "n_faces": 19, "n_edges": 51, "n_vertices": 34}, "dimensions": {"lines": ["C-channel bracket: base leg 65 mm, vertical leg 56.3 mm, 54.19 mm wide, 4 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg; 4.3 mm corner gusset."], "text": "C-channel bracket: base leg 65 mm, vertical leg 56.3 mm, 54.19 mm wide, 4 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg; 4.3 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 65, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 56.3, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 54.19, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 4.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 4.3, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331062 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 65, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 56.3, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 54.19, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl / 2, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bl - _bt, _bt).lineTo(_bl - _bt - _g, _bt)\n                    .lineTo(_bl - _bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca577_2499", "family": "revolved", "tier": 1, "seed": 1177331063, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "c1e9be4814d1b462", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 5310.0, "surface_area": 3220.0, "principal_moments": [371000.0, 371000.0, 584000.0], "n_faces": 7, "n_edges": 11, "n_vertices": 7}, "dimensions": {"lines": ["Revolved body, \u00d819.91 mm \u00d7 16.3 mm tall with \u00d834.7 mm \u00d7 3.1 mm flange.", "Chamfer 0.8 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d819.91 mm \u00d7 16.3 mm tall with \u00d834.7 mm \u00d7 3.1 mm flange. Chamfer 0.8 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 19.91, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 16.3, "min": 4.9, "max": 48.9, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "flange_d": {"type": "float", "default": 34.7, "min": 23.9, "max": 59.7, "step": 1.0, "group": "Body", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 3.1, "min": 0.9, "max": 8.2, "step": 0.5, "group": "Body", "label": "Flange height (mm)"}, "end_chamfer": {"type": "float", "default": 0.8, "min": 0.1, "max": 2.4, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331063 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 19.91, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 16.3, \"min\": 4.9, \"max\": 48.9, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 34.7, \"min\": 23.9, \"max\": 59.7, \"step\": 1.0, \"group\": 'Body', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 3.1, \"min\": 0.9, \"max\": 8.2, \"step\": 0.5, \"group\": 'Body', \"label\": 'Flange height (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.8, \"min\": 0.1, \"max\": 2.4, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462ca578_2500", "family": "tapped", "tier": 2, "seed": 1177331064, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "9595b05759838555", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 67600.0, "surface_area": 15600.0, "principal_moments": [23999999.999999996, 29599999.999999996, 50699999.99999999], "n_faces": 358, "n_edges": 1268, "n_vertices": 912}, "dimensions": {"lines": ["Four M10x1.5 tapped holes in a plate."], "text": "Four M10x1.5 tapped holes in a plate."}, "params": {"major_d": {"type": "float", "default": 10.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 1.5, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 16.0, "min": 12.0, "max": 28.8, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "plate_w": {"type": "float", "default": 70.86, "min": 42.5, "max": 113.4, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 63.4, "min": 38.0, "max": 101.4, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331064 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 10.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.5, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 16.0, \"min\": 12.0, \"max\": 28.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"plate_w\": {\"type\": 'float', \"default\": 70.86, \"min\": 42.5, \"max\": 113.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 63.4, \"min\": 38.0, \"max\": 101.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n}\n\n\ndef build(p):\n\n    _W, _D, _H = p[\"plate_w\"], p[\"plate_d\"], p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Box(_W, _D, _H)\n    _sx, _sy = p[\"plate_w\"] * 0.6, p[\"plate_d\"] * 0.6\n    _locs = [(_xx, _yy) for _xx in (-_sx / 2, _sx / 2) for _yy in (-_sy / 2, _sy / 2)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462ca579_2501", "family": "enclosure", "tier": 3, "seed": 1177331065, "symmetry": "mirror_xy", "op_count": 3, "ir_hash": "2653780229a785f4", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 141000.0, "surface_area": 92400.0, "principal_moments": [306000000.0, 359000000.0, 368000000.0], "n_faces": 15, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 104.57 \u00d7 87.3 \u00d7 101.4 mm (W\u00d7D\u00d7H).", "Hollowed to 3.1 mm wall thickness, open at top face.", "Four \u00d86.4 mm holes at the corners, 73.199 \u00d7 61.11 mm spacing."], "text": "Rectangular body, 104.57 \u00d7 87.3 \u00d7 101.4 mm (W\u00d7D\u00d7H). Hollowed to 3.1 mm wall thickness, open at top face. Four \u00d86.4 mm holes at the corners, 73.199 \u00d7 61.11 mm spacing."}, "params": {"enc_w": {"type": "float", "default": 104.57, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 87.3, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 101.4, "min": 40.6, "max": 202.8, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 3.1, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331065 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 104.57, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 87.3, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 101.4, \"min\": 40.6, \"max\": 202.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 3.1, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"enc_w\"] * 0.7, p[\"enc_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462ca57a_2502", "family": "tapped", "tier": 2, "seed": 1177331066, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "9e21313ac675d91c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 3890.0, "surface_area": 1920.0, "principal_moments": [174000.0, 174000.0, 230000.0], "n_faces": 92, "n_edges": 248, "n_vertices": 158}, "dimensions": {"lines": ["One M8x1.25 tapped hole in a cylinder."], "text": "One M8x1.25 tapped hole in a cylinder."}, "params": {"major_d": {"type": "float", "default": 8.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 1.25, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 13.5, "min": 9.6, "max": 24.3, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "body_d": {"type": "float", "default": 20.5, "min": 14.4, "max": 32.8, "step": 1.0, "group": "Body", "label": "Outer \u00d8 (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331066 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.25, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 13.5, \"min\": 9.6, \"max\": 24.3, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"body_d\": {\"type\": 'float', \"default\": 20.5, \"min\": 14.4, \"max\": 32.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer \u00d8 (mm)'},\n}\n\n\ndef build(p):\n\n    _W = _D = p[\"body_d\"]\n    _H = p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Cylinder(radius=_W / 2, height=_H)\n    _locs = [(0.0, 0.0)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462ca57b_2503", "family": "threaded", "tier": 2, "seed": 1177331067, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "65fb19c9836f6ea3", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 13800.0, "surface_area": 6000.0, "principal_moments": [521000.0, 4490000.0, 4490000.0], "n_faces": 150, "n_edges": 384, "n_vertices": 236}, "dimensions": {"lines": ["ACME 3/4 external thread, 61.4 mm long."], "text": "ACME 3/4 external thread, 61.4 mm long."}, "params": {"thread_size": {"type": "enum", "default": "3/4", "choices": ["1/4", "5/16", "3/8", "1/2", "5/8", "3/4", "7/8", "1", "1 1/4", "1 1/2"], "group": "Thread", "label": "Size designation"}, "thread_len": {"type": "float", "default": 61.4, "min": 24.6, "max": 122.8, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331067 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"thread_size\": {\"type\": 'enum', \"default\": '3/4', \"choices\": ['1/4', '5/16', '3/8', '1/2', '5/8', '3/4', '7/8', '1', '1 1/4', '1 1/2'], \"group\": 'Thread', \"label\": 'Size designation'},\n    \"thread_len\": {\"type\": 'float', \"default\": 61.4, \"min\": 24.6, \"max\": 122.8, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.AcmeThread(size=p[\"thread_size\"], length=p[\"thread_len\"], external=True, end_finishes=(\"fade\", \"fade\"))\n    _r = _thr.min_radius if hasattr(_thr, 'min_radius') else _thr.root_radius\n    _shank = _bd.Cylinder(radius=_r, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = _shank + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462ca57c_2504", "family": "flanged", "tier": 2, "seed": 1177331068, "symmetry": "radial", "op_count": 3, "ir_hash": "810bb168f2faebf7", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 215000.0, "surface_area": 43800.0, "principal_moments": [192000000.0, 192000000.0, 246000000.0], "n_faces": 34, "n_edges": 77, "n_vertices": 46}, "dimensions": {"lines": ["Revolved body, \u00d865 mm \u00d7 56.3 mm tall with \u00d824.1 mm bore, \u00d8132.9 mm \u00d7 5.3 mm flange.", "Twelve \u00d86.4 mm holes on a \u00d879.8 mm bolt circle.", "Chamfer 0.8 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d865 mm \u00d7 56.3 mm tall with \u00d824.1 mm bore, \u00d8132.9 mm \u00d7 5.3 mm flange. Twelve \u00d86.4 mm holes on a \u00d879.8 mm bolt circle. Chamfer 0.8 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 65, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 56.3, "min": 16.9, "max": 140.8, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 24.1, "min": 2.0, "max": 45.5, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 132.9, "min": 84.5, "max": 195.0, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 5.3, "min": 1.6, "max": 22.5, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 39.9, "min": 26.6, "max": 59.8, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 12, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}, "end_chamfer": {"type": "float", "default": 0.8, "min": 0.1, "max": 2.0, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331068 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 65, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 56.3, \"min\": 16.9, \"max\": 140.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 24.1, \"min\": 2.0, \"max\": 45.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 132.9, \"min\": 84.5, \"max\": 195.0, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 5.3, \"min\": 1.6, \"max\": 22.5, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 39.9, \"min\": 26.6, \"max\": 59.8, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 12, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.8, \"min\": 0.1, \"max\": 2.0, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462ca57d_2505", "family": "sketched", "tier": 2, "seed": 1177331069, "symmetry": "mirror_xy", "op_count": 3, "ir_hash": "83be6de7d4e13a79", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 14000.0, "surface_area": 5340.0, "principal_moments": [1310000.0, 3070000.0, 4120000.0], "n_faces": 14, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["freeform sketched section (7 segments: 1 straight, 4 arcs, 2 curves), ~61.615 \u00d7 39.325 mm, extruded 6.48 mm thick.", "One \u00d84.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch.", "Boss \u00d820 mm \u00d7 6.8 mm tall on top face with a \u00d83.2 mm bore."], "text": "freeform sketched section (7 segments: 1 straight, 4 arcs, 2 curves), ~61.615 \u00d7 39.325 mm, extruded 6.48 mm thick. One \u00d84.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch. Boss \u00d820 mm \u00d7 6.8 mm tall on top face with a \u00d83.2 mm bore."}, "params": {"sk_w": {"type": "float", "default": 79.76, "min": 39.9, "max": 143.6, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 48.82, "min": 24.4, "max": 87.9, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "sk_t": {"type": "float", "default": 6.48, "min": 2.6, "max": 14.3, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "sk_hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 8.6, "step": 0.5, "group": "Holes", "label": "Hole diameter (mm)"}, "boss_d": {"type": "float", "default": 20.0, "min": 10.0, "max": 40.0, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 6.8, "min": 2.7, "max": 17.0, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}, "boss_bore_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 14.0, "step": 0.1, "group": "Boss", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331069 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 79.76, \"min\": 39.9, \"max\": 143.6, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 48.82, \"min\": 24.4, \"max\": 87.9, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"sk_t\": {\"type\": 'float', \"default\": 6.48, \"min\": 2.6, \"max\": 14.3, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"sk_hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 8.6, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"boss_d\": {\"type\": 'float', \"default\": 20.0, \"min\": 10.0, \"max\": 40.0, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 6.8, \"min\": 2.7, \"max\": 17.0, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n    \"boss_bore_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 14.0, \"step\": 0.1, \"group\": 'Boss', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.3335, p[\"sk_h\"] * -0.0781).threePointArc((p[\"sk_w\"] * 0.2887, p[\"sk_h\"] * 0.1268), (p[\"sk_w\"] * 0.1498, p[\"sk_h\"] * 0.2928)).threePointArc((p[\"sk_w\"] * -0.0206, p[\"sk_h\"] * 0.4098), (p[\"sk_w\"] * -0.1931, p[\"sk_h\"] * 0.4535)).spline([(p[\"sk_w\"] * -0.1931, p[\"sk_h\"] * 0.4535), (p[\"sk_w\"] * -0.3046, p[\"sk_h\"] * 0.299), (p[\"sk_w\"] * -0.3734, p[\"sk_h\"] * 0.1213)]).threePointArc((p[\"sk_w\"] * -0.4055, p[\"sk_h\"] * -0.0511), (p[\"sk_w\"] * -0.3502, p[\"sk_h\"] * -0.2128)).threePointArc((p[\"sk_w\"] * -0.2784, p[\"sk_h\"] * -0.2922), (p[\"sk_w\"] * -0.1896, p[\"sk_h\"] * -0.352)).spline([(p[\"sk_w\"] * -0.1896, p[\"sk_h\"] * -0.352), (p[\"sk_w\"] * 0.1111, p[\"sk_h\"] * -0.352), (p[\"sk_w\"] * 0.3991, p[\"sk_h\"] * -0.2654)]).lineTo(p[\"sk_w\"] * 0.3335, p[\"sk_h\"] * -0.0781).close().extrude(p[\"sk_t\"]))\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"sk_hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .hole(p[\"boss_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462ca57e_2506", "family": "sketched", "tier": 1, "seed": 1177331070, "symmetry": "none", "op_count": 2, "ir_hash": "ff3894e917dd6ccb", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 15300.0, "surface_area": 4750.0, "principal_moments": [1820000.0, 2480000.0, 4050000.0], "n_faces": 8, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["freeform sketched section (5 segments: 3 arcs, 2 curves), ~45.344 \u00d7 42.876 mm, extruded 10 mm thick.", "One \u00d88.4 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "freeform sketched section (5 segments: 3 arcs, 2 curves), ~45.344 \u00d7 42.876 mm, extruded 10 mm thick. One \u00d88.4 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"sk_w": {"type": "float", "default": 58.72, "min": 29.4, "max": 105.7, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 58.35, "min": 29.2, "max": 105.0, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "sk_t": {"type": "float", "default": 10, "min": 4.0, "max": 22.0, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "sk_hole_d": {"type": "float", "default": 8.4, "min": 2.0, "max": 16.8, "step": 0.5, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331070 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 58.72, \"min\": 29.4, \"max\": 105.7, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 58.35, \"min\": 29.2, \"max\": 105.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"sk_t\": {\"type\": 'float', \"default\": 10, \"min\": 4.0, \"max\": 22.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"sk_hole_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 2.0, \"max\": 16.8, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.3796, p[\"sk_h\"] * 0.1021).threePointArc((p[\"sk_w\"] * 0.2379, p[\"sk_h\"] * 0.3239), (p[\"sk_w\"] * -0.0319, p[\"sk_h\"] * 0.4264)).threePointArc((p[\"sk_w\"] * -0.2316, p[\"sk_h\"] * 0.3838), (p[\"sk_w\"] * -0.3714, p[\"sk_h\"] * 0.2481)).bezier([(p[\"sk_w\"] * -0.3714, p[\"sk_h\"] * 0.2481), (p[\"sk_w\"] * -0.4081, p[\"sk_h\"] * 0.0739), (p[\"sk_w\"] * -0.3926, p[\"sk_h\"] * -0.1035)]).spline([(p[\"sk_w\"] * -0.3926, p[\"sk_h\"] * -0.1035), (p[\"sk_w\"] * -0.0861, p[\"sk_h\"] * -0.2668), (p[\"sk_w\"] * 0.2588, p[\"sk_h\"] * -0.3084)]).threePointArc((p[\"sk_w\"] * 0.3592, p[\"sk_h\"] * -0.1233), (p[\"sk_w\"] * 0.3796, p[\"sk_h\"] * 0.1021)).close().extrude(p[\"sk_t\"]))\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"sk_hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca57f_2507", "family": "plate", "tier": 3, "seed": 1177331071, "symmetry": "none", "op_count": 3, "ir_hash": "d6819e46e2c8d904", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 16500.0, "surface_area": 6000.0, "principal_moments": [976000.0, 5190000.0, 5660000.0], "n_faces": 25, "n_edges": 66, "n_vertices": 44}, "dimensions": {"lines": ["Rectangular body, 65 \u00d7 23.6 \u00d7 10 mm (W\u00d7D\u00d7H).", "Four 7.1 \u00d7 4.3 mm slots at the corners, 45.5 \u00d7 16.52 mm spacing.", "Boss \u00d823.4 mm \u00d7 5.8 mm tall on top face with a \u00d84.3 mm bore."], "text": "Rectangular body, 65 \u00d7 23.6 \u00d7 10 mm (W\u00d7D\u00d7H). Four 7.1 \u00d7 4.3 mm slots at the corners, 45.5 \u00d7 16.52 mm spacing. Boss \u00d823.4 mm \u00d7 5.8 mm tall on top face with a \u00d84.3 mm bore."}, "params": {"plate_w": {"type": "float", "default": 65, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 23.6, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 5.3, "step": 0.5, "group": "Holes", "label": "Slot width (mm)"}, "hole_slot_len": {"type": "float", "default": 7.1, "min": 6.4, "max": 7.1, "step": 0.5, "group": "Holes", "label": "Slot length (mm)"}, "boss_d": {"type": "float", "default": 23.4, "min": 11.7, "max": 46.8, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 5.8, "min": 2.3, "max": 14.5, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}, "boss_bore_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 16.4, "step": 0.1, "group": "Boss", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331071 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 65, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 23.6, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 5.3, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Slot width (mm)'},\n    \"hole_slot_len\": {\"type\": 'float', \"default\": 7.1, \"min\": 6.4, \"max\": 7.1, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Slot length (mm)'},\n    \"boss_d\": {\"type\": 'float', \"default\": 23.4, \"min\": 11.7, \"max\": 46.8, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 5.8, \"min\": 2.3, \"max\": 14.5, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n    \"boss_bore_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 16.4, \"step\": 0.1, \"group\": 'Boss', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().slot2D(p[\"hole_slot_len\"], p[\"hole_d\"]).cutThruAll()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .hole(p[\"boss_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462ca580_2508", "family": "gear", "tier": 2, "seed": 1177331072, "symmetry": "none", "op_count": 1, "ir_hash": "e99a808a8bf4e984", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 38500.0, "surface_area": 11700.0, "principal_moments": [11399999.999999998, 11399999.999999998, 21900000.0], "n_faces": 323, "n_edges": 803, "n_vertices": 482}, "dimensions": {"lines": ["Helical gear, module 3 mm, 20 teeth (pitch \u00d860 mm), face width 11.7 mm, 26.4\u00b0 helix (herringbone), \u00d811.1 mm bore."], "text": "Helical gear, module 3 mm, 20 teeth (pitch \u00d860 mm), face width 11.7 mm, 26.4\u00b0 helix (herringbone), \u00d811.1 mm bore."}, "params": {"module": {"type": "float", "default": 3.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 20, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 11.7, "min": 4.7, "max": 29.2, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "helix_angle": {"type": "float", "default": 26.4, "min": 5.0, "max": 40.0, "step": 1.0, "group": "Gear", "label": "Helix angle (deg)"}, "profile_shift": {"type": "float", "default": -0.16, "min": -0.5, "max": 0.7, "step": 0.05, "group": "Gear", "label": "Profile shift"}, "root_fillet": {"type": "float", "default": 0.5, "min": 0.0, "max": 1.5, "step": 0.05, "group": "Gear", "label": "Root fillet (mm)"}, "bore_d": {"type": "float", "default": 11.1, "min": 2.0, "max": 31.5, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331072 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 3.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 20, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 11.7, \"min\": 4.7, \"max\": 29.2, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"helix_angle\": {\"type\": 'float', \"default\": 26.4, \"min\": 5.0, \"max\": 40.0, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Helix angle (deg)'},\n    \"profile_shift\": {\"type\": 'float', \"default\": -0.16, \"min\": -0.5, \"max\": 0.7, \"step\": 0.05, \"group\": 'Gear', \"label\": 'Profile shift'},\n    \"root_fillet\": {\"type\": 'float', \"default\": 0.5, \"min\": 0.0, \"max\": 1.5, \"step\": 0.05, \"group\": 'Gear', \"label\": 'Root fillet (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 11.1, \"min\": 2.0, \"max\": 31.5, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.HelicalGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"], helix_angle=math.radians(p[\"helix_angle\"]), herringbone=True, profile_shift=p[\"profile_shift\"], root_fillet=p[\"root_fillet\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca581_2509", "family": "bracket", "tier": 2, "seed": 1177331073, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "4284e2a742a6ab7d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 56900.0, "surface_area": 17100.0, "principal_moments": [20600000.0, 49899999.99999999, 57099999.99999999], "n_faces": 14, "n_edges": 37, "n_vertices": 24}, "dimensions": {"lines": ["L-bracket: base leg 83.06 mm, vertical leg 50.6 mm, 55 mm wide, 8 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 8.6 mm corner gusset."], "text": "L-bracket: base leg 83.06 mm, vertical leg 50.6 mm, 55 mm wide, 8 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 8.6 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 83.06, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 50.6, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 55, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 8.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 8.6, "min": 4.0, "max": 24.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331073 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 83.06, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 50.6, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 55, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 8.6, \"min\": 4.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462ca582_2510", "family": "swept", "tier": 1, "seed": 1177331074, "symmetry": "none", "op_count": 1, "ir_hash": "0a072ca3dccdbb92", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 17900.0, "surface_area": 4730.0, "principal_moments": [1260000.0, 4330000.0, 4820000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["20.2 \u00d7 16.1 mm rectangular section swept along a curved path, ~43.02 mm span."], "text": "20.2 \u00d7 16.1 mm rectangular section swept along a curved path, ~43.02 mm span."}, "params": {"path_w": {"type": "float", "default": 40.94, "min": 20.5, "max": 73.7, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 43.02, "min": 21.5, "max": 77.4, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_a": {"type": "float", "default": 20.2, "min": 10.1, "max": 36.4, "step": 1.0, "group": "Section", "label": "Section width (mm)"}, "sweep_b": {"type": "float", "default": 16.1, "min": 8.1, "max": 29.0, "step": 1.0, "group": "Section", "label": "Section depth (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331074 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 40.94, \"min\": 20.5, \"max\": 73.7, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 43.02, \"min\": 21.5, \"max\": 77.4, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_a\": {\"type\": 'float', \"default\": 20.2, \"min\": 10.1, \"max\": 36.4, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section width (mm)'},\n    \"sweep_b\": {\"type\": 'float', \"default\": 16.1, \"min\": 8.1, \"max\": 29.0, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section depth (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.621), (p[\"path_w\"] * 0.0599, p[\"path_h\"] * 0.7803), (p[\"path_w\"] * 0.2157, p[\"path_h\"] * 0.895), (p[\"path_w\"] * 0.5564, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').rect(p[\"sweep_a\"], p[\"sweep_b\"]).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca583_2511", "family": "bracket", "tier": 2, "seed": 1177331075, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "fa076f7fb84f0b75", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 26800.0, "surface_area": 12400.0, "principal_moments": [8720000.0, 13299999.999999998, 17800000.0], "n_faces": 14, "n_edges": 37, "n_vertices": 24}, "dimensions": {"lines": ["L-bracket: base leg 60 mm, vertical leg 40.8 mm, 55 mm wide, 5 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg; 5.4 mm corner gusset."], "text": "L-bracket: base leg 60 mm, vertical leg 40.8 mm, 55 mm wide, 5 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg; 5.4 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 60, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 40.8, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 55, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 5.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 5.4, "min": 2.5, "max": 15.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331075 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 60, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 40.8, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 55, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 5.4, \"min\": 2.5, \"max\": 15.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462ca584_2512", "family": "flanged", "tier": 1, "seed": 1177331076, "symmetry": "radial", "op_count": 2, "ir_hash": "95da0913b2108ef1", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 839000.0, "surface_area": 109000.0, "principal_moments": [1930000000.0, 2170000000.0, 2170000000.0], "n_faces": 18, "n_edges": 45, "n_vertices": 30}, "dimensions": {"lines": ["Revolved body, \u00d888.36 mm \u00d7 118.1 mm tall with \u00d831.9 mm bore, \u00d8197.9 mm \u00d7 8.6 mm flange.", "Twelve \u00d85.3 mm holes on a \u00d8118.8 mm bolt circle."], "text": "Revolved body, \u00d888.36 mm \u00d7 118.1 mm tall with \u00d831.9 mm bore, \u00d8197.9 mm \u00d7 8.6 mm flange. Twelve \u00d85.3 mm holes on a \u00d8118.8 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 88.36, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 118.1, "min": 35.4, "max": 295.2, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 31.9, "min": 2.0, "max": 61.9, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 197.9, "min": 114.9, "max": 265.1, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 8.6, "min": 2.6, "max": 47.2, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 59.4, "min": 39.6, "max": 89.1, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 12, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331076 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 88.36, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 118.1, \"min\": 35.4, \"max\": 295.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 31.9, \"min\": 2.0, \"max\": 61.9, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 197.9, \"min\": 114.9, \"max\": 265.1, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 8.6, \"min\": 2.6, \"max\": 47.2, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 59.4, \"min\": 39.6, \"max\": 89.1, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 12, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462ca585_2513", "family": "swept", "tier": 1, "seed": 1177331077, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "18c7d2e6fe3b60e4", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 16300.0, "surface_area": 4770.0, "principal_moments": [439000.0, 12699999.999999998, 12699999.999999998], "n_faces": 3, "n_edges": 3, "n_vertices": 2}, "dimensions": {"lines": ["\u00d814.7 mm circular section swept along a curved path, ~95.96 mm span."], "text": "\u00d814.7 mm circular section swept along a curved path, ~95.96 mm span."}, "params": {"path_w": {"type": "float", "default": 47.8, "min": 23.9, "max": 86.0, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 95.96, "min": 48.0, "max": 172.7, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_d": {"type": "float", "default": 14.7, "min": 7.3, "max": 26.5, "step": 1.0, "group": "Section", "label": "Section diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331077 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 47.8, \"min\": 23.9, \"max\": 86.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 95.96, \"min\": 48.0, \"max\": 172.7, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_d\": {\"type\": 'float', \"default\": 14.7, \"min\": 7.3, \"max\": 26.5, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.0047, p[\"path_h\"] * 0.5756), (p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.6983), (p[\"path_w\"] * 0.0, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').circle(p[\"sweep_d\"] / 2).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462ca586_2514", "family": "gear", "tier": 1, "seed": 1177331078, "symmetry": "none", "op_count": 1, "ir_hash": "d7420a6bccfcacc8", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 170000.0, "surface_area": 29500.0, "principal_moments": [105000000.0, 105000000.0, 189000000.0], "n_faces": 141, "n_edges": 417, "n_vertices": 278}, "dimensions": {"lines": ["Spur gear, module 4 mm, 23 teeth (pitch \u00d892 mm), face width 27 mm, \u00d817.9 mm bore."], "text": "Spur gear, module 4 mm, 23 teeth (pitch \u00d892 mm), face width 27 mm, \u00d817.9 mm bore."}, "params": {"module": {"type": "float", "default": 4.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 23, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 27.0, "min": 10.8, "max": 67.5, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "bore_d": {"type": "float", "default": 17.9, "min": 2.0, "max": 49.2, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331078 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 4.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 23, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 27.0, \"min\": 10.8, \"max\": 67.5, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 17.9, \"min\": 2.0, \"max\": 49.2, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462ca587_2515", "family": "swept", "tier": 1, "seed": 1177331079, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "acaf691e2f3b58bc", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 8190.0, "surface_area": 3690.0, "principal_moments": [188000.0, 5500000.0, 5570000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["10.4 \u00d7 9.3 mm rectangular section swept along a curved path, ~87.29 mm span."], "text": "10.4 \u00d7 9.3 mm rectangular section swept along a curved path, ~87.29 mm span."}, "params": {"path_w": {"type": "float", "default": 31.89, "min": 15.9, "max": 57.4, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 87.29, "min": 43.6, "max": 157.1, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_a": {"type": "float", "default": 10.4, "min": 5.2, "max": 18.7, "step": 1.0, "group": "Section", "label": "Section width (mm)"}, "sweep_b": {"type": "float", "default": 9.3, "min": 4.7, "max": 16.7, "step": 1.0, "group": "Section", "label": "Section depth (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331079 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 31.89, \"min\": 15.9, \"max\": 57.4, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 87.29, \"min\": 43.6, \"max\": 157.1, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_a\": {\"type\": 'float', \"default\": 10.4, \"min\": 5.2, \"max\": 18.7, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section width (mm)'},\n    \"sweep_b\": {\"type\": 'float', \"default\": 9.3, \"min\": 4.7, \"max\": 16.7, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section depth (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.0918, p[\"path_h\"] * 0.2463), (p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.5281), (p[\"path_w\"] * 0.3875, p[\"path_h\"] * 0.869), (p[\"path_w\"] * 0.1956, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').rect(p[\"sweep_a\"], p[\"sweep_b\"]).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca588_2516", "family": "revolved", "tier": 2, "seed": 1177331080, "symmetry": "none", "op_count": 1, "ir_hash": "a203ee2c4086296a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 102000.0, "surface_area": 19700.0, "principal_moments": [47599999.99999999, 59599999.99999999, 59599999.99999999], "n_faces": 10, "n_edges": 15, "n_vertices": 10}, "dimensions": {"lines": ["Revolved body, \u00d835.66 mm \u00d7 64.6 mm tall with \u00d812.5 mm bore, \u00d872.1 mm \u00d7 15.1 mm flange, 4.18 mm-wide groove 1.64 mm deep."], "text": "Revolved body, \u00d835.66 mm \u00d7 64.6 mm tall with \u00d812.5 mm bore, \u00d872.1 mm \u00d7 15.1 mm flange, 4.18 mm-wide groove 1.64 mm deep."}, "params": {"outer_d": {"type": "float", "default": 35.66, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 64.6, "min": 19.4, "max": 193.8, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 12.5, "min": 2.0, "max": 25.0, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 72.1, "min": 42.8, "max": 107.0, "step": 1.0, "group": "Body", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 15.1, "min": 4.5, "max": 32.3, "step": 0.5, "group": "Body", "label": "Flange height (mm)"}, "groove_depth": {"type": "float", "default": 1.64, "min": 0.66, "max": 4.92, "step": 0.1, "group": "Body", "label": "Groove depth (mm)"}, "groove_w": {"type": "float", "default": 4.18, "min": 1.67, "max": 12.54, "step": 0.2, "group": "Body", "label": "Groove width (mm)"}, "groove_pos": {"type": "float", "default": 43.2, "min": 9.7, "max": 54.9, "step": 1.0, "group": "Body", "label": "Groove position (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331080 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 35.66, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 64.6, \"min\": 19.4, \"max\": 193.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 12.5, \"min\": 2.0, \"max\": 25.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 72.1, \"min\": 42.8, \"max\": 107.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 15.1, \"min\": 4.5, \"max\": 32.3, \"step\": 0.5, \"group\": 'Body', \"label\": 'Flange height (mm)'},\n    \"groove_depth\": {\"type\": 'float', \"default\": 1.64, \"min\": 0.66, \"max\": 4.92, \"step\": 0.1, \"group\": 'Body', \"label\": 'Groove depth (mm)'},\n    \"groove_w\": {\"type\": 'float', \"default\": 4.18, \"min\": 1.67, \"max\": 12.54, \"step\": 0.2, \"group\": 'Body', \"label\": 'Groove width (mm)'},\n    \"groove_pos\": {\"type\": 'float', \"default\": 43.2, \"min\": 9.7, \"max\": 54.9, \"step\": 1.0, \"group\": 'Body', \"label\": 'Groove position (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"groove_pos\"] - p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2 - p[\"groove_depth\"], p[\"groove_pos\"] - p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2 - p[\"groove_depth\"], p[\"groove_pos\"] + p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2, p[\"groove_pos\"] + p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca589_2517", "family": "plate", "tier": 0, "seed": 1177331081, "symmetry": "radial", "op_count": 1, "ir_hash": "1d153b79a06c1a55", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 17100.0, "surface_area": 7110.0, "principal_moments": [1810000.0, 9510000.0, 11200000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 81.38 \u00d7 35.1 \u00d7 6 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 81.38 \u00d7 35.1 \u00d7 6 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 81.38, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 35.1, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 6.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331081 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 81.38, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 35.1, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca58a_2518", "family": "compound", "tier": 3, "seed": 1177331082, "symmetry": "none", "op_count": 5, "ir_hash": "5076cf38024323f0", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 63900.0, "surface_area": 13400.0, "principal_moments": [17000000.0, 31299999.999999996, 42000000.0], "n_faces": 29, "n_edges": 65, "n_vertices": 39}, "dimensions": {"lines": ["Rectangular body, 75.52 \u00d7 53.1 \u00d7 16 mm (W\u00d7D\u00d7H).", "\u00d89.7 mm circular section attachment, 35.8 mm long, from top face.", "Four \u00d85.3 mm holes at the corners, 52.864 \u00d7 37.17 mm spacing.", "Fillet radius 5.53 mm on vertical edges.", "Chamfer 2.5 mm on the >Z or <Z edges."], "text": "Rectangular body, 75.52 \u00d7 53.1 \u00d7 16 mm (W\u00d7D\u00d7H). \u00d89.7 mm circular section attachment, 35.8 mm long, from top face. Four \u00d85.3 mm holes at the corners, 52.864 \u00d7 37.17 mm spacing. Fillet radius 5.53 mm on vertical edges. Chamfer 2.5 mm on the >Z or <Z edges."}, "params": {"base_w": {"type": "float", "default": 75.52, "min": 30.0, "max": 160.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 53.1, "min": 25.0, "max": 160.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_h": {"type": "float", "default": 16.0, "min": 3.0, "max": 30.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "col_d": {"type": "float", "default": 9.7, "min": 3.9, "max": 26.6, "step": 1.0, "group": "Column", "label": "Column diameter (mm)"}, "col_h": {"type": "float", "default": 35.8, "min": 10.7, "max": 107.4, "step": 1.0, "group": "Column", "label": "Column height (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 11.9, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}, "chamfer_d": {"type": "float", "default": 2.5, "min": 0.5, "max": 3.0, "step": 0.5, "group": "Body", "label": "Chamfer distance (mm)"}, "chamfered": {"type": "bool", "default": true, "group": "Body", "label": "Chamfer edges"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331082 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 75.52, \"min\": 30.0, \"max\": 160.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 53.1, \"min\": 25.0, \"max\": 160.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_h\": {\"type\": 'float', \"default\": 16.0, \"min\": 3.0, \"max\": 30.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"col_d\": {\"type\": 'float', \"default\": 9.7, \"min\": 3.9, \"max\": 26.6, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column diameter (mm)'},\n    \"col_h\": {\"type\": 'float', \"default\": 35.8, \"min\": 10.7, \"max\": 107.4, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 11.9, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n    \"chamfer_d\": {\"type\": 'float', \"default\": 2.5, \"min\": 0.5, \"max\": 3.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Chamfer distance (mm)'},\n    \"chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Chamfer edges'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_h\"])\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"col_d\"] / 2).extrude(p[\"col_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"base_w\"] * 0.7, p[\"base_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"base_w\"], p[\"base_d\"]) * 0.10413713893098628)\n    if p[\"chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"chamfer_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462ca58b_2519", "family": "flanged", "tier": 1, "seed": 1177331083, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "f33ba69a806f6a2a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 95300.0, "surface_area": 24300.0, "principal_moments": [53999999.99999999, 53999999.99999999, 66599999.99999999], "n_faces": 12, "n_edges": 27, "n_vertices": 18}, "dimensions": {"lines": ["Revolved body, \u00d843.57 mm \u00d7 47.8 mm tall with \u00d818.2 mm bore, \u00d894.1 mm \u00d7 7.1 mm flange.", "Six \u00d88.4 mm holes on a \u00d856.4 mm bolt circle."], "text": "Revolved body, \u00d843.57 mm \u00d7 47.8 mm tall with \u00d818.2 mm bore, \u00d894.1 mm \u00d7 7.1 mm flange. Six \u00d88.4 mm holes on a \u00d856.4 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 43.57, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 47.8, "min": 14.3, "max": 119.5, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 18.2, "min": 2.0, "max": 30.5, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 94.1, "min": 56.6, "max": 130.7, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 7.1, "min": 2.1, "max": 19.1, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 8.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 28.2, "min": 18.8, "max": 42.3, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 6, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331083 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 43.57, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 47.8, \"min\": 14.3, \"max\": 119.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 18.2, \"min\": 2.0, \"max\": 30.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 94.1, \"min\": 56.6, \"max\": 130.7, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 7.1, \"min\": 2.1, \"max\": 19.1, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 28.2, \"min\": 18.8, \"max\": 42.3, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca58c_2520", "family": "bracket", "tier": 1, "seed": 1177331084, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "03ea8bee455a6fec", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 21000.0, "surface_area": 7110.0, "principal_moments": [3830000.0, 5080000.0, 6890000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["L-bracket: base leg 41.28 mm, vertical leg 32.8 mm, 40 mm wide, 8 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."], "text": "L-bracket: base leg 41.28 mm, vertical leg 32.8 mm, 40 mm wide, 8 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 41.28, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 32.8, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 40, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 8.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331084 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 41.28, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 32.8, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 40, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca58d_2521", "family": "plate", "tier": 2, "seed": 1177331085, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "5ce8aa83448d50a2", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 25800.0, "surface_area": 8130.0, "principal_moments": [2080000.0, 13499999.999999998, 14999999.999999998], "n_faces": 22, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 80 \u00d7 29.3 \u00d7 12 mm (W\u00d7D\u00d7H).", "Four 8.8 \u00d7 6.4 mm slots at the corners, 56 \u00d7 20.51 mm spacing."], "text": "Rectangular body, 80 \u00d7 29.3 \u00d7 12 mm (W\u00d7D\u00d7H). Four 8.8 \u00d7 6.4 mm slots at the corners, 56 \u00d7 20.51 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 80, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 29.3, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 6.6, "step": 0.5, "group": "Holes", "label": "Slot width (mm)"}, "hole_slot_len": {"type": "float", "default": 8.8, "min": 9.6, "max": 8.8, "step": 0.5, "group": "Holes", "label": "Slot length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331085 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 80, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 29.3, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 6.6, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Slot width (mm)'},\n    \"hole_slot_len\": {\"type\": 'float', \"default\": 8.8, \"min\": 9.6, \"max\": 8.8, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Slot length (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().slot2D(p[\"hole_slot_len\"], p[\"hole_d\"]).cutThruAll()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca58e_2522", "family": "plate", "tier": 0, "seed": 1177331086, "symmetry": "none", "op_count": 1, "ir_hash": "71fc8f74c0d50eb0", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 108000.0, "surface_area": 22500.0, "principal_moments": [60799999.99999999, 110000000.0, 168000000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 110 \u00d7 81.5 \u00d7 12 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 110 \u00d7 81.5 \u00d7 12 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 110, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 81.5, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331086 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 110, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 81.5, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca58f_2523", "family": "bracket", "tier": 1, "seed": 1177331087, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "9bf4e7bd7884e4ca", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 12700.0, "surface_area": 6180.0, "principal_moments": [1470000.0, 3530000.0, 4360000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["L-bracket: base leg 26.33 mm, vertical leg 25 mm, 55 mm wide, 5 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."], "text": "L-bracket: base leg 26.33 mm, vertical leg 25 mm, 55 mm wide, 5 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 26.33, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 25.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 55, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 5.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331087 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 26.33, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 25.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 55, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca590_2524", "family": "compound", "tier": 2, "seed": 1177331088, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "deda4d574e02eac3", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 349000.0, "surface_area": 34300.0, "principal_moments": [283000000.0, 300000000.0, 307000000.0], "n_faces": 12, "n_edges": 27, "n_vertices": 18}, "dimensions": {"lines": ["Rectangular body, 75 \u00d7 65.7 \u00d7 69.5 mm (W\u00d7D\u00d7H).", "34.2 \u00d7 14.9 mm slot section attachment, 27.4 mm long, from back face with a \u00d89 mm bore.", "Four \u00d88.4 mm holes at the corners, 52.5 \u00d7 45.99 mm spacing."], "text": "Rectangular body, 75 \u00d7 65.7 \u00d7 69.5 mm (W\u00d7D\u00d7H). 34.2 \u00d7 14.9 mm slot section attachment, 27.4 mm long, from back face with a \u00d89 mm bore. Four \u00d88.4 mm holes at the corners, 52.5 \u00d7 45.99 mm spacing."}, "params": {"block_w": {"type": "float", "default": 75, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 65.7, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 69.5, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "spig_w": {"type": "float", "default": 14.9, "min": 7.5, "max": 38.9, "step": 0.5, "group": "Spigot", "label": "Spigot width (mm)"}, "spig_slot_l": {"type": "float", "default": 34.2, "min": 17.9, "max": 48.6, "step": 1.0, "group": "Spigot", "label": "Spigot slot length (mm)"}, "spig_len": {"type": "float", "default": 27.4, "min": 4.5, "max": 59.6, "step": 1.0, "group": "Spigot", "label": "Spigot length (mm)"}, "spig_bore": {"type": "float", "default": 9.0, "min": 2.0, "max": 10.7, "step": 0.5, "group": "Spigot", "label": "Bore diameter (mm)"}, "hole_d": {"type": "float", "default": 8.4, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331088 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 75, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 65.7, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 69.5, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"spig_w\": {\"type\": 'float', \"default\": 14.9, \"min\": 7.5, \"max\": 38.9, \"step\": 0.5, \"group\": 'Spigot', \"label\": 'Spigot width (mm)'},\n    \"spig_slot_l\": {\"type\": 'float', \"default\": 34.2, \"min\": 17.9, \"max\": 48.6, \"step\": 1.0, \"group\": 'Spigot', \"label\": 'Spigot slot length (mm)'},\n    \"spig_len\": {\"type\": 'float', \"default\": 27.4, \"min\": 4.5, \"max\": 59.6, \"step\": 1.0, \"group\": 'Spigot', \"label\": 'Spigot length (mm)'},\n    \"spig_bore\": {\"type\": 'float', \"default\": 9.0, \"min\": 2.0, \"max\": 10.7, \"step\": 0.5, \"group\": 'Spigot', \"label\": 'Bore diameter (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .slot2D(p[\"spig_slot_l\"], p[\"spig_w\"]).extrude(p[\"spig_len\"])\n    )\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"spig_bore\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca591_2525", "family": "plate", "tier": 0, "seed": 1177331089, "symmetry": "radial", "op_count": 1, "ir_hash": "97b239b63ddbf69b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 3140.0, "surface_area": 1500.0, "principal_moments": [53800.0, 302000.0, 322000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 33 \u00d7 11.9 \u00d7 8 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 33 \u00d7 11.9 \u00d7 8 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 33.0, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 11.9, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331089 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 33.0, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 11.9, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462ca592_2526", "family": "lofted", "tier": 1, "seed": 1177331090, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "448dcd509957ccbf", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 7560.0, "surface_area": 2860.0, "principal_moments": [528000.0, 528000.0, 758000.0], "n_faces": 8, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["Lofted body through 2 sections: \u00d833.16 mm circular section \u2192 14.5 \u00d7 14.5 mm rectangular section.", "One \u00d87.7 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 2 sections: \u00d833.16 mm circular section \u2192 14.5 \u00d7 14.5 mm rectangular section. One \u00d87.7 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 33.16, "min": 16.6, "max": 53.1, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 14.5, "min": 5.8, "max": 39.8, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 16.6, "min": 6.6, "max": 33.2, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_bore_d": {"type": "float", "default": 7.7, "min": 2.0, "max": 11.6, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331090 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 33.16, \"min\": 16.6, \"max\": 53.1, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 14.5, \"min\": 5.8, \"max\": 39.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 16.6, \"min\": 6.6, \"max\": 33.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 7.7, \"min\": 2.0, \"max\": 11.6, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .circle(p[\"loft_base\"] / 2)\n        .workplane(offset=p[\"loft_h\"])\n        .rect(p[\"loft_top\"], p[\"loft_top\"])\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca593_2527", "family": "revolved", "tier": 0, "seed": 1177331091, "symmetry": "none", "op_count": 1, "ir_hash": "23620725642d2d7f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 150000.0, "surface_area": 24800.0, "principal_moments": [88200000.0, 88200000.0, 94899999.99999999], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d865 mm \u00d7 67.7 mm tall."], "text": "Revolved body, \u00d865 mm \u00d7 67.7 mm tall."}, "params": {"outer_d": {"type": "float", "default": 65, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 67.7, "min": 20.3, "max": 203.1, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331091 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 65, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 67.7, \"min\": 20.3, \"max\": 203.1, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462ca594_2528", "family": "sketched", "tier": 2, "seed": 1177331092, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "afb727719d72eb2b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 30000.0, "surface_area": 12000.0, "principal_moments": [6970000.0, 6970000.0, 9100000.0], "n_faces": 7, "n_edges": 12, "n_vertices": 7}, "dimensions": {"lines": ["Revolved organic body from a freeform sketched section (6 segments: 2 straight, 2 arcs, 2 curves), ~14.77 \u00d7 29.26 mm half-silhouette."], "text": "Revolved organic body from a freeform sketched section (6 segments: 2 straight, 2 arcs, 2 curves), ~14.77 \u00d7 29.26 mm half-silhouette."}, "params": {"sk_r": {"type": "float", "default": 25, "min": 12.5, "max": 45.0, "step": 1.0, "group": "Sketch", "label": "Max radius (mm)"}, "sk_h": {"type": "float", "default": 29.26, "min": 14.6, "max": 52.7, "step": 1.0, "group": "Sketch", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331092 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_r\": {\"type\": 'float', \"default\": 25, \"min\": 12.5, \"max\": 45.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Max radius (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 29.26, \"min\": 14.6, \"max\": 52.7, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XZ').moveTo(p[\"sk_r\"] * 0.9813, p[\"sk_h\"] * 0.0).bezier([(p[\"sk_r\"] * 0.9813, p[\"sk_h\"] * 0.0), (p[\"sk_r\"] * 0.9331, p[\"sk_h\"] * 0.124), (p[\"sk_r\"] * 0.6646, p[\"sk_h\"] * 0.2481)]).threePointArc((p[\"sk_r\"] * 0.6334, p[\"sk_h\"] * 0.2598), (p[\"sk_r\"] * 0.8415, p[\"sk_h\"] * 0.2716)).bezier([(p[\"sk_r\"] * 0.8415, p[\"sk_h\"] * 0.2716), (p[\"sk_r\"] * 1.0121, p[\"sk_h\"] * 0.5509), (p[\"sk_r\"] * 0.9728, p[\"sk_h\"] * 0.8302)]).threePointArc((p[\"sk_r\"] * 0.8628, p[\"sk_h\"] * 0.9151), (p[\"sk_r\"] * 0.5794, p[\"sk_h\"] * 1.0)).lineTo(p[\"sk_r\"] * 0.3905, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.3905, p[\"sk_h\"] * 0.0).close().revolve())\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca595_2529", "family": "revolved", "tier": 0, "seed": 1177331093, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "30cce8305dd24c23", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 108000.0, "surface_area": 23900.0, "principal_moments": [30699999.999999996, 90800000.0, 90800000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d843.54 mm \u00d7 108.6 mm tall."], "text": "Revolved body, \u00d843.54 mm \u00d7 108.6 mm tall."}, "params": {"outer_d": {"type": "float", "default": 43.54, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 108.6, "min": 32.6, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331093 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 43.54, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 108.6, \"min\": 32.6, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca596_2530", "family": "revolved", "tier": 1, "seed": 1177331094, "symmetry": "none", "op_count": 2, "ir_hash": "9d74e9c3f8295bac", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 430000.0, "surface_area": 67300.0, "principal_moments": [232000000.0, 1450000000.0, 1450000000.0], "n_faces": 5, "n_edges": 8, "n_vertices": 5}, "dimensions": {"lines": ["Revolved body, \u00d860 mm \u00d7 228.4 mm tall.", "Chamfer 0.7 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d860 mm \u00d7 228.4 mm tall. Chamfer 0.7 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 60, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 228.4, "min": 68.5, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "end_chamfer": {"type": "float", "default": 0.7, "min": 0.1, "max": 2.1, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331094 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 60, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 228.4, \"min\": 68.5, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.7, \"min\": 0.1, \"max\": 2.1, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462ca597_2531", "family": "enclosure", "tier": 1, "seed": 1177331095, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "c4172f7f1f832dd5", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 39700.0, "surface_area": 14800.0, "principal_moments": [11499999.999999998, 17600000.0, 19500000.0], "n_faces": 11, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 54.04 \u00d7 37.6 \u00d7 35.9 mm (W\u00d7D\u00d7H).", "Hollowed to 5.8 mm wall thickness, open at top face."], "text": "Rectangular body, 54.04 \u00d7 37.6 \u00d7 35.9 mm (W\u00d7D\u00d7H). Hollowed to 5.8 mm wall thickness, open at top face."}, "params": {"enc_w": {"type": "float", "default": 54.04, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 37.6, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 35.9, "min": 14.4, "max": 71.8, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 5.8, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331095 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 54.04, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 37.6, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 35.9, \"min\": 14.4, \"max\": 71.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 5.8, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca598_2532", "family": "compound", "tier": 1, "seed": 1177331096, "symmetry": "none", "op_count": 3, "ir_hash": "3dd92cc9851da763", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 18700.0, "surface_area": 6260.0, "principal_moments": [3450000.0, 4050000.0, 4510000.0], "n_faces": 12, "n_edges": 27, "n_vertices": 18}, "dimensions": {"lines": ["Rectangular body, 45 \u00d7 34.3 \u00d7 10 mm (W\u00d7D\u00d7H).", "\u00d811.4 mm circular section attachment, 35 mm long, from top face.", "Four \u00d83.2 mm holes at the corners, 31.5 \u00d7 24.01 mm spacing."], "text": "Rectangular body, 45 \u00d7 34.3 \u00d7 10 mm (W\u00d7D\u00d7H). \u00d811.4 mm circular section attachment, 35 mm long, from top face. Four \u00d83.2 mm holes at the corners, 31.5 \u00d7 24.01 mm spacing."}, "params": {"base_w": {"type": "float", "default": 45, "min": 30.0, "max": 160.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 34.3, "min": 25.0, "max": 160.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_h": {"type": "float", "default": 10.0, "min": 3.0, "max": 30.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "col_d": {"type": "float", "default": 11.4, "min": 4.6, "max": 17.1, "step": 1.0, "group": "Column", "label": "Column diameter (mm)"}, "col_h": {"type": "float", "default": 35.0, "min": 10.5, "max": 105.0, "step": 1.0, "group": "Column", "label": "Column height (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 7.7, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331096 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 45, \"min\": 30.0, \"max\": 160.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 34.3, \"min\": 25.0, \"max\": 160.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_h\": {\"type\": 'float', \"default\": 10.0, \"min\": 3.0, \"max\": 30.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"col_d\": {\"type\": 'float', \"default\": 11.4, \"min\": 4.6, \"max\": 17.1, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column diameter (mm)'},\n    \"col_h\": {\"type\": 'float', \"default\": 35.0, \"min\": 10.5, \"max\": 105.0, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 7.7, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_h\"])\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"col_d\"] / 2).extrude(p[\"col_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"base_w\"] * 0.7, p[\"base_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462ca599_2533", "family": "tapped", "tier": 1, "seed": 1177331097, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "699e0a77fb051fdf", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 1800.0, "surface_area": 1190.0, "principal_moments": [34700.0, 64800.0, 64800.0], "n_faces": 207, "n_edges": 563, "n_vertices": 358}, "dimensions": {"lines": ["One M4x0.7 tapped hole in a cylinder."], "text": "One M4x0.7 tapped hole in a cylinder."}, "params": {"major_d": {"type": "float", "default": 4.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 0.7, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 17.8, "min": 4.8, "max": 32.0, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "body_d": {"type": "float", "default": 11.9, "min": 7.2, "max": 19.0, "step": 1.0, "group": "Body", "label": "Outer \u00d8 (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331097 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 4.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 0.7, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 17.8, \"min\": 4.8, \"max\": 32.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"body_d\": {\"type\": 'float', \"default\": 11.9, \"min\": 7.2, \"max\": 19.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer \u00d8 (mm)'},\n}\n\n\ndef build(p):\n\n    _W = _D = p[\"body_d\"]\n    _H = p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Cylinder(radius=_W / 2, height=_H)\n    _locs = [(0.0, 0.0)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462ca59a_2534", "family": "ribbed", "tier": 3, "seed": 1177331098, "symmetry": "mirror_xy", "op_count": 3, "ir_hash": "8fa84c3dc4b6151e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 29200.0, "surface_area": 16900.0, "principal_moments": [11399999.999999998, 20800000.0, 31899999.999999996], "n_faces": 34, "n_edges": 84, "n_vertices": 52}, "dimensions": {"lines": ["Rectangular body, 90 \u00d7 67.2 \u00d7 4 mm (W\u00d7D\u00d7H).", "Three ribs, 3.2 mm thick, 7.4 mm tall.", "Four \u00d83.2 mm holes at the corners, 63 \u00d7 47.04 mm spacing."], "text": "Rectangular body, 90 \u00d7 67.2 \u00d7 4 mm (W\u00d7D\u00d7H). Three ribs, 3.2 mm thick, 7.4 mm tall. Four \u00d83.2 mm holes at the corners, 63 \u00d7 47.04 mm spacing."}, "params": {"base_w": {"type": "float", "default": 90, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 67.2, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 4.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 3, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 7.4, "min": 3.0, "max": 14.8, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 3.2, "min": 1.0, "max": 8.0, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331098 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 90, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 67.2, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 3, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 7.4, \"min\": 3.0, \"max\": 14.8, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 3.2, \"min\": 1.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"base_w\"] * 0.7, p[\"base_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca59b_2535", "family": "block", "tier": 1, "seed": 1177331099, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "7ea84a19ce57139a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 230000.0, "surface_area": 32700.0, "principal_moments": [136000000.0, 144000000.0, 207000000.0], "n_faces": 22, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 76.35 \u00d7 44.8 \u00d7 72.1 mm (W\u00d7D\u00d7H).", "Four 7.7 mm square holes at the corners, 53.445 \u00d7 31.36 mm spacing."], "text": "Rectangular body, 76.35 \u00d7 44.8 \u00d7 72.1 mm (W\u00d7D\u00d7H). Four 7.7 mm square holes at the corners, 53.445 \u00d7 31.36 mm spacing."}, "params": {"block_w": {"type": "float", "default": 76.35, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 44.8, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 72.1, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 7.7, "min": 2.0, "max": 13.1, "step": 0.5, "group": "Holes", "label": "Square hole size (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331099 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 76.35, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 44.8, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 72.1, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 7.7, \"min\": 2.0, \"max\": 13.1, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Square hole size (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().rect(p[\"hole_d\"], p[\"hole_d\"]).cutThruAll()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca59c_2536", "family": "plate", "tier": 1, "seed": 1177331100, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "de7260b8241ade85", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 3080.0, "surface_area": 1700.0, "principal_moments": [61600.0, 243000.0, 272000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 30 \u00d7 13.4 \u00d7 8 mm (W\u00d7D\u00d7H).", "Four \u00d82.3 mm holes at the corners, 21 \u00d7 9.38 mm spacing."], "text": "Rectangular body, 30 \u00d7 13.4 \u00d7 8 mm (W\u00d7D\u00d7H). Four \u00d82.3 mm holes at the corners, 21 \u00d7 9.38 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 30, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 13.4, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 2.3, "min": 2.0, "max": 3.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331100 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 30, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 13.4, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 2.3, \"min\": 2.0, \"max\": 3.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca59d_2537", "family": "revolved", "tier": 1, "seed": 1177331101, "symmetry": "none", "op_count": 2, "ir_hash": "6c6ed7f5ee72253d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 181000.0, "surface_area": 33200.0, "principal_moments": [74800000.0, 209000000.0, 209000000.0], "n_faces": 5, "n_edges": 8, "n_vertices": 5}, "dimensions": {"lines": ["Revolved body, \u00d852.43 mm \u00d7 126.1 mm tall.", "Chamfer 0.8 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d852.43 mm \u00d7 126.1 mm tall. Chamfer 0.8 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 52.43, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 126.1, "min": 37.8, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "end_chamfer": {"type": "float", "default": 0.8, "min": 0.1, "max": 2.4, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331101 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 52.43, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 126.1, \"min\": 37.8, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.8, \"min\": 0.1, \"max\": 2.4, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462ca59f_2539", "family": "lofted", "tier": 2, "seed": 1177331103, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "a6276f9af8c978a1", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 49600.0, "surface_area": 10500.0, "principal_moments": [10800000.0, 15299999.999999998, 15299999.999999998], "n_faces": 9, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["Lofted body through 3 sections: 6-sided polygon section, 52.97 mm across corners \u2192 6-sided polygon section, 40 mm across corners \u2192 \u00d827.1 mm circular section.", "One \u00d812.7 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 3 sections: 6-sided polygon section, 52.97 mm across corners \u2192 6-sided polygon section, 40 mm across corners \u2192 \u00d827.1 mm circular section. One \u00d812.7 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 52.97, "min": 26.5, "max": 84.8, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 27.1, "min": 10.8, "max": 63.6, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 51.4, "min": 20.6, "max": 102.8, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_mid": {"type": "float", "default": 40.0, "min": 13.6, "max": 63.6, "step": 1.0, "group": "Body", "label": "Mid size (mm)"}, "loft_bore_d": {"type": "float", "default": 12.7, "min": 2.0, "max": 21.7, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331103 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 52.97, \"min\": 26.5, \"max\": 84.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 27.1, \"min\": 10.8, \"max\": 63.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 51.4, \"min\": 20.6, \"max\": 102.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_mid\": {\"type\": 'float', \"default\": 40.0, \"min\": 13.6, \"max\": 63.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Mid size (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 12.7, \"min\": 2.0, \"max\": 21.7, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .polygon(6, p[\"loft_base\"] * 0.5 * 2)\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .polygon(6, p[\"loft_mid\"] * 0.5 * 2)\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .circle(p[\"loft_top\"] / 2)\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462ca5a0_2540", "family": "lofted", "tier": 1, "seed": 1177331104, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "ea9863c3cf71bf19", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 40800.0, "surface_area": 8910.0, "principal_moments": [9100000.0, 9640000.0, 9670000.0], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["Lofted body through 2 sections: 6-sided polygon section, 43.71 mm across corners \u2192 34.3 \u00d7 34.3 mm rectangular section.", "One \u00d814.4 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 2 sections: 6-sided polygon section, 43.71 mm across corners \u2192 34.3 \u00d7 34.3 mm rectangular section. One \u00d814.4 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 43.71, "min": 21.9, "max": 69.9, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 34.3, "min": 13.7, "max": 52.5, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 38.8, "min": 15.5, "max": 77.6, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_bore_d": {"type": "float", "default": 14.4, "min": 2.0, "max": 27.4, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331104 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 43.71, \"min\": 21.9, \"max\": 69.9, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 34.3, \"min\": 13.7, \"max\": 52.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 38.8, \"min\": 15.5, \"max\": 77.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 14.4, \"min\": 2.0, \"max\": 27.4, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .polygon(6, p[\"loft_base\"] * 0.5 * 2)\n        .workplane(offset=p[\"loft_h\"])\n        .rect(p[\"loft_top\"], p[\"loft_top\"])\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca5a1_2541", "family": "revolved", "tier": 2, "seed": 1177331105, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "8767bdd80b656537", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 175000.0, "surface_area": 26100.0, "principal_moments": [111000000.0, 111000000.0, 154000000.0], "n_faces": 5, "n_edges": 8, "n_vertices": 5}, "dimensions": {"lines": ["Revolved body, \u00d876.78 mm \u00d7 56.7 mm tall.", "Chamfer 1 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d876.78 mm \u00d7 56.7 mm tall. Chamfer 1 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 76.78, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 56.7, "min": 17.0, "max": 170.1, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "end_chamfer": {"type": "float", "default": 1.0, "min": 0.1, "max": 3.0, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331105 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 76.78, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 56.7, \"min\": 17.0, \"max\": 170.1, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 1.0, \"min\": 0.1, \"max\": 3.0, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca5a3_2543", "family": "revolved", "tier": 1, "seed": 1177331107, "symmetry": "none", "op_count": 1, "ir_hash": "a266e4dd97c8ed05", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 8680.0, "surface_area": 3950.0, "principal_moments": [450000.0, 1470000.0, 1470000.0], "n_faces": 4, "n_edges": 6, "n_vertices": 4}, "dimensions": {"lines": ["Revolved body, \u00d818.45 mm \u00d7 41.5 mm tall with \u00d88.6 mm bore."], "text": "Revolved body, \u00d818.45 mm \u00d7 41.5 mm tall with \u00d88.6 mm bore."}, "params": {"outer_d": {"type": "float", "default": 18.45, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 41.5, "min": 12.4, "max": 124.5, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 8.6, "min": 2.0, "max": 12.9, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331107 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 18.45, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 41.5, \"min\": 12.4, \"max\": 124.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 8.6, \"min\": 2.0, \"max\": 12.9, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462ca5a4_2544", "family": "sketched", "tier": 1, "seed": 1177331108, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "c71dae11e32442ba", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 16900.0, "surface_area": 4210.0, "principal_moments": [1690000.0, 1690000.0, 2330000.0], "n_faces": 6, "n_edges": 9, "n_vertices": 5}, "dimensions": {"lines": ["Revolved organic body from a freeform sketched section (6 segments: 5 straight, 1 curve), ~20.968 \u00d7 28.93 mm half-silhouette."], "text": "Revolved organic body from a freeform sketched section (6 segments: 5 straight, 1 curve), ~20.968 \u00d7 28.93 mm half-silhouette."}, "params": {"sk_r": {"type": "float", "default": 25, "min": 12.5, "max": 45.0, "step": 1.0, "group": "Sketch", "label": "Max radius (mm)"}, "sk_h": {"type": "float", "default": 28.93, "min": 14.5, "max": 52.1, "step": 1.0, "group": "Sketch", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331108 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_r\": {\"type\": 'float', \"default\": 25, \"min\": 12.5, \"max\": 45.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Max radius (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 28.93, \"min\": 14.5, \"max\": 52.1, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XZ').moveTo(p[\"sk_r\"] * 0.1486, p[\"sk_h\"] * 0.0).lineTo(p[\"sk_r\"] * 0.4948, p[\"sk_h\"] * 0.3776).lineTo(p[\"sk_r\"] * 0.8049, p[\"sk_h\"] * 0.4118).spline([(p[\"sk_r\"] * 0.8049, p[\"sk_h\"] * 0.4118), (p[\"sk_r\"] * 0.7215, p[\"sk_h\"] * 0.4982), (p[\"sk_r\"] * 0.8387, p[\"sk_h\"] * 0.5846)]).lineTo(p[\"sk_r\"] * 0.2803, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.0, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.0, p[\"sk_h\"] * 0.0).close().revolve())\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca5a5_2545", "family": "revolved", "tier": 1, "seed": 1177331109, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "01b995d8f6661618", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 498.0, "surface_area": 484.0, "principal_moments": [6260.0, 6260.0, 7180.0], "n_faces": 5, "n_edges": 8, "n_vertices": 5}, "dimensions": {"lines": ["Revolved body, \u00d810 mm \u00d7 10.4 mm tall.", "Chamfer 1.5 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d810 mm \u00d7 10.4 mm tall. Chamfer 1.5 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 10, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 10.4, "min": 3.1, "max": 31.2, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "end_chamfer": {"type": "float", "default": 1.5, "min": 0.1, "max": 4.5, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331109 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 10, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 10.4, \"min\": 3.1, \"max\": 31.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 1.5, \"min\": 0.1, \"max\": 4.5, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462ca5a6_2546", "family": "ribbed", "tier": 1, "seed": 1177331110, "symmetry": "none", "op_count": 2, "ir_hash": "03ddeddea48265a3", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 26700.0, "surface_area": 14100.0, "principal_moments": [7870000.0, 13499999.999999998, 20700000.0], "n_faces": 30, "n_edges": 72, "n_vertices": 44}, "dimensions": {"lines": ["Rectangular body, 75 \u00d7 57.7 \u00d7 5 mm (W\u00d7D\u00d7H).", "Three ribs, 2.6 mm thick, 10.8 mm tall."], "text": "Rectangular body, 75 \u00d7 57.7 \u00d7 5 mm (W\u00d7D\u00d7H). Three ribs, 2.6 mm thick, 10.8 mm tall."}, "params": {"base_w": {"type": "float", "default": 75, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 57.7, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 5.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 3, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 10.8, "min": 4.3, "max": 21.6, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 2.6, "min": 1.0, "max": 6.5, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331110 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 75, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 57.7, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 3, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 10.8, \"min\": 4.3, \"max\": 21.6, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 2.6, \"min\": 1.0, \"max\": 6.5, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca5a7_2547", "family": "revolved", "tier": 0, "seed": 1177331111, "symmetry": "none", "op_count": 1, "ir_hash": "06c78b02930b8d48", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 33300.0, "surface_area": 10800.0, "principal_moments": [4420000.0, 12399999.999999998, 12399999.999999998], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d829.75 mm \u00d7 71.9 mm tall."], "text": "Revolved body, \u00d829.75 mm \u00d7 71.9 mm tall."}, "params": {"outer_d": {"type": "float", "default": 29.75, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 71.9, "min": 21.6, "max": 215.7, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331111 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 29.75, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 71.9, \"min\": 21.6, \"max\": 215.7, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462ca5a8_2548", "family": "sketched", "tier": 1, "seed": 1177331112, "symmetry": "none", "op_count": 2, "ir_hash": "09363a26ba36371b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 19700.0, "surface_area": 5700.0, "principal_moments": [2700000.0, 4000000.0, 6310000.0], "n_faces": 7, "n_edges": 15, "n_vertices": 10}, "dimensions": {"lines": ["freeform sketched section (4 segments: 2 straight, 1 arc, 1 curve), ~61.488 \u00d7 52.233 mm, extruded 10.98 mm thick.", "One \u00d88.4 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "freeform sketched section (4 segments: 2 straight, 1 arc, 1 curve), ~61.488 \u00d7 52.233 mm, extruded 10.98 mm thick. One \u00d88.4 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"sk_w": {"type": "float", "default": 70, "min": 35.0, "max": 126.0, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 55, "min": 27.5, "max": 99.0, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "sk_t": {"type": "float", "default": 10.98, "min": 4.4, "max": 24.2, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "sk_hole_d": {"type": "float", "default": 8.4, "min": 2.0, "max": 16.8, "step": 0.5, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331112 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 70, \"min\": 35.0, \"max\": 126.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 55, \"min\": 27.5, \"max\": 99.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"sk_t\": {\"type\": 'float', \"default\": 10.98, \"min\": 4.4, \"max\": 24.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"sk_hole_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 2.0, \"max\": 16.8, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.4501, p[\"sk_h\"] * 0.0151).lineTo(p[\"sk_w\"] * 0.0069, p[\"sk_h\"] * 0.4689).lineTo(p[\"sk_w\"] * -0.4283, p[\"sk_h\"] * -0.1929).spline([(p[\"sk_w\"] * -0.4283, p[\"sk_h\"] * -0.1929), (p[\"sk_w\"] * -0.2151, p[\"sk_h\"] * -0.4111), (p[\"sk_w\"] * 0.0819, p[\"sk_h\"] * -0.4808)]).threePointArc((p[\"sk_w\"] * 0.3074, p[\"sk_h\"] * -0.265), (p[\"sk_w\"] * 0.4501, p[\"sk_h\"] * 0.0151)).close().extrude(p[\"sk_t\"]))\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"sk_hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462ca5aa_2550", "family": "flanged", "tier": 2, "seed": 1177331114, "symmetry": "none", "op_count": 2, "ir_hash": "96619dd0a85a5739", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 359000.0, "surface_area": 77100.0, "principal_moments": [610000000.0, 610000000.0, 764000000.0], "n_faces": 18, "n_edges": 45, "n_vertices": 30}, "dimensions": {"lines": ["Revolved body, \u00d873.73 mm \u00d7 78.5 mm tall with \u00d839.3 mm bore, \u00d8176.7 mm \u00d7 6.1 mm flange.", "Twelve \u00d88.4 mm holes on a \u00d8106 mm bolt circle."], "text": "Revolved body, \u00d873.73 mm \u00d7 78.5 mm tall with \u00d839.3 mm bore, \u00d8176.7 mm \u00d7 6.1 mm flange. Twelve \u00d88.4 mm holes on a \u00d8106 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 73.73, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 78.5, "min": 23.6, "max": 196.2, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 39.3, "min": 2.0, "max": 51.6, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 176.7, "min": 95.8, "max": 221.2, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 6.1, "min": 1.8, "max": 31.4, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 8.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 53.0, "min": 35.3, "max": 79.5, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 12, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331114 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 73.73, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 78.5, \"min\": 23.6, \"max\": 196.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 39.3, \"min\": 2.0, \"max\": 51.6, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 176.7, \"min\": 95.8, \"max\": 221.2, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 6.1, \"min\": 1.8, \"max\": 31.4, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 53.0, \"min\": 35.3, \"max\": 79.5, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 12, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462ca5ab_2551", "family": "enclosure", "tier": 2, "seed": 1177331115, "symmetry": "none", "op_count": 4, "ir_hash": "da441333430cd6d8", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 77700.0, "surface_area": 73200.0, "principal_moments": [120000000.0, 148000000.0, 189000000.0], "n_faces": 23, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 105 \u00d7 55.9 \u00d7 101.6 mm (W\u00d7D\u00d7H).", "Hollowed to 2.1 mm wall thickness, open at top face.", "Four \u00d84.3 mm holes at the corners, 73.5 \u00d7 39.13 mm spacing.", "Fillet radius 4.37 mm on vertical edges."], "text": "Rectangular body, 105 \u00d7 55.9 \u00d7 101.6 mm (W\u00d7D\u00d7H). Hollowed to 2.1 mm wall thickness, open at top face. Four \u00d84.3 mm holes at the corners, 73.5 \u00d7 39.13 mm spacing. Fillet radius 4.37 mm on vertical edges."}, "params": {"enc_w": {"type": "float", "default": 105, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 55.9, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 101.6, "min": 40.6, "max": 203.2, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 2.1, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 12.6, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331115 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 105, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 55.9, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 101.6, \"min\": 40.6, \"max\": 203.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 2.1, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 12.6, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"enc_w\"] * 0.7, p[\"enc_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"enc_w\"], p[\"enc_d\"]) * 0.07817071938891304)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca5ac_2552", "family": "plate", "tier": 3, "seed": 1177331116, "symmetry": "none", "op_count": 4, "ir_hash": "8f01a38ab76424e5", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 12900.0, "surface_area": 8060.0, "principal_moments": [2850000.0, 5510000.0, 8310000.0], "n_faces": 19, "n_edges": 48, "n_vertices": 32}, "dimensions": {"lines": ["Rectangular body, 66.71 \u00d7 48.3 \u00d7 5 mm (W\u00d7D\u00d7H).", "Four \u00d84.3 mm holes at the corners, 46.697 \u00d7 33.81 mm spacing.", "Chamfer 2.4 mm on vertical edges.", "Pocket 34 \u00d7 28.7 mm, 2.9 mm deep, in top face."], "text": "Rectangular body, 66.71 \u00d7 48.3 \u00d7 5 mm (W\u00d7D\u00d7H). Four \u00d84.3 mm holes at the corners, 46.697 \u00d7 33.81 mm spacing. Chamfer 2.4 mm on vertical edges. Pocket 34 \u00d7 28.7 mm, 2.9 mm deep, in top face."}, "params": {"plate_w": {"type": "float", "default": 66.71, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 48.3, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 5.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 10.9, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "chamfer_d": {"type": "float", "default": 2.4, "min": 1.9, "max": 3.8, "step": 0.5, "group": "Body", "label": "Chamfer distance (mm)"}, "chamfered": {"type": "bool", "default": true, "group": "Body", "label": "Chamfer edges"}, "pocket_w": {"type": "float", "default": 34.0, "min": 17.0, "max": 53.4, "step": 1.0, "group": "Pocket", "label": "Pocket width (mm)"}, "pocket_d": {"type": "float", "default": 28.7, "min": 14.3, "max": 38.6, "step": 1.0, "group": "Pocket", "label": "Pocket depth (mm)"}, "pocket_h": {"type": "float", "default": 2.9, "min": 1.2, "max": 4.2, "step": 0.5, "group": "Pocket", "label": "Pocket height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331116 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 66.71, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 48.3, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 5.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 10.9, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"chamfer_d\": {\"type\": 'float', \"default\": 2.4, \"min\": 1.9, \"max\": 3.8, \"step\": 0.5, \"group\": 'Body', \"label\": 'Chamfer distance (mm)'},\n    \"chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Chamfer edges'},\n    \"pocket_w\": {\"type\": 'float', \"default\": 34.0, \"min\": 17.0, \"max\": 53.4, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket width (mm)'},\n    \"pocket_d\": {\"type\": 'float', \"default\": 28.7, \"min\": 14.3, \"max\": 38.6, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket depth (mm)'},\n    \"pocket_h\": {\"type\": 'float', \"default\": 2.9, \"min\": 1.2, \"max\": 4.2, \"step\": 0.5, \"group\": 'Pocket', \"label\": 'Pocket height (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"chamfered\"]:\n        result = result.edges('|Z').chamfer(p[\"chamfer_d\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"pocket_w\"], p[\"pocket_d\"])\n        .cutBlind(-p[\"pocket_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462ca5ad_2553", "family": "lofted", "tier": 0, "seed": 1177331117, "symmetry": "none", "op_count": 1, "ir_hash": "6e0972732fe7a818", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 52200.0, "surface_area": 8520.0, "principal_moments": [11699999.999999998, 11699999.999999998, 15499999.999999998], "n_faces": 8, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["Lofted body through 2 sections: \u00d860 mm circular section \u2192 6-sided polygon section, 32.1 mm across corners."], "text": "Lofted body through 2 sections: \u00d860 mm circular section \u2192 6-sided polygon section, 32.1 mm across corners."}, "params": {"loft_base": {"type": "float", "default": 60, "min": 30.0, "max": 96.0, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 32.1, "min": 12.8, "max": 72.0, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 32.1, "min": 12.8, "max": 64.2, "step": 1.0, "group": "Body", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331117 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 60, \"min\": 30.0, \"max\": 96.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 32.1, \"min\": 12.8, \"max\": 72.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 32.1, \"min\": 12.8, \"max\": 64.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .circle(p[\"loft_base\"] / 2)\n        .workplane(offset=p[\"loft_h\"])\n        .polygon(6, p[\"loft_top\"] * 0.5 * 2)\n        .loft(combine=True)\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca5ae_2554", "family": "plate", "tier": 1, "seed": 1177331118, "symmetry": "radial", "op_count": 2, "ir_hash": "4b0ad193e45c2c6e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 25000.0, "surface_area": 8900.0, "principal_moments": [4140000.0, 6950000.0, 10500000.0], "n_faces": 18, "n_edges": 48, "n_vertices": 32}, "dimensions": {"lines": ["Rectangular body, 54.95 \u00d7 42.7 \u00d7 12 mm (W\u00d7D\u00d7H).", "Twelve \u00d85.3 mm holes on a \u00d833 mm bolt circle."], "text": "Rectangular body, 54.95 \u00d7 42.7 \u00d7 12 mm (W\u00d7D\u00d7H). Twelve \u00d85.3 mm holes on a \u00d833 mm bolt circle."}, "params": {"plate_w": {"type": "float", "default": 54.95, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 42.7, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "bolt_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 16.5, "min": 11.0, "max": 24.7, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 12, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331118 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 54.95, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 42.7, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 16.5, \"min\": 11.0, \"max\": 24.7, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 12, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca5af_2555", "family": "block", "tier": 1, "seed": 1177331119, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "d3312bcec5ddac59", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 83500.0, "surface_area": 18300.0, "principal_moments": [24599999.999999996, 27999999.999999996, 37000000.0], "n_faces": 22, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 55.87 \u00d7 34.7 \u00d7 49.1 mm (W\u00d7D\u00d7H).", "Four 7.7 mm square holes at the corners, 39.109 \u00d7 24.29 mm spacing."], "text": "Rectangular body, 55.87 \u00d7 34.7 \u00d7 49.1 mm (W\u00d7D\u00d7H). Four 7.7 mm square holes at the corners, 39.109 \u00d7 24.29 mm spacing."}, "params": {"block_w": {"type": "float", "default": 55.87, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 34.7, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 49.1, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 7.7, "min": 2.0, "max": 10.1, "step": 0.5, "group": "Holes", "label": "Square hole size (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331119 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 55.87, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 34.7, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 49.1, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 7.7, \"min\": 2.0, \"max\": 10.1, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Square hole size (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().rect(p[\"hole_d\"], p[\"hole_d\"]).cutThruAll()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462ca5b0_2556", "family": "flanged", "tier": 3, "seed": 1177331120, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "b53318e7f3725c6a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 23500.0, "surface_area": 9610.0, "principal_moments": [5140000.0, 5540000.0, 5540000.0], "n_faces": 14, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["Revolved body, \u00d826.62 mm \u00d7 35.3 mm tall with \u00d810.2 mm bore, \u00d857.6 mm \u00d7 3.4 mm flange.", "Eight \u00d83.2 mm holes on a \u00d834.6 mm bolt circle."], "text": "Revolved body, \u00d826.62 mm \u00d7 35.3 mm tall with \u00d810.2 mm bore, \u00d857.6 mm \u00d7 3.4 mm flange. Eight \u00d83.2 mm holes on a \u00d834.6 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 26.62, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 35.3, "min": 10.6, "max": 88.2, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 10.2, "min": 2.0, "max": 18.6, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 57.6, "min": 34.6, "max": 79.9, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 3.4, "min": 1.0, "max": 14.1, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 17.3, "min": 11.5, "max": 25.9, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 8, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331120 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 26.62, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 35.3, \"min\": 10.6, \"max\": 88.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 10.2, \"min\": 2.0, \"max\": 18.6, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 57.6, \"min\": 34.6, \"max\": 79.9, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 3.4, \"min\": 1.0, \"max\": 14.1, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 17.3, \"min\": 11.5, \"max\": 25.9, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca5b1_2557", "family": "plate", "tier": 0, "seed": 1177331121, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "c8a076fb6cebf484", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 1600.0, "surface_area": 1360.0, "principal_moments": [38800.0, 135000.0, 172000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 31.72 \u00d7 16.8 \u00d7 3 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 31.72 \u00d7 16.8 \u00d7 3 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 31.72, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 16.8, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 3.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331121 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 31.72, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 16.8, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 3.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462ca5b2_2558", "family": "sketched", "tier": 2, "seed": 1177331122, "symmetry": "none", "op_count": 3, "ir_hash": "a334583da2db95d6", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 26800.0, "surface_area": 7890.0, "principal_moments": [4600000.0, 7110000.0, 10900000.0], "n_faces": 11, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["freeform sketched section (6 segments: 2 straight, 3 arcs, 1 curve), ~53.184 \u00d7 65.952 mm, extruded 9.9 mm thick.", "One \u00d84.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch.", "Boss \u00d814.8 mm \u00d7 11.1 mm tall on top face with a \u00d86.4 mm bore."], "text": "freeform sketched section (6 segments: 2 straight, 3 arcs, 1 curve), ~53.184 \u00d7 65.952 mm, extruded 9.9 mm thick. One \u00d84.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch. Boss \u00d814.8 mm \u00d7 11.1 mm tall on top face with a \u00d86.4 mm bore."}, "params": {"sk_w": {"type": "float", "default": 60, "min": 30.0, "max": 108.0, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 72.34, "min": 36.2, "max": 130.2, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "sk_t": {"type": "float", "default": 9.9, "min": 4.0, "max": 21.8, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "sk_hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 8.6, "step": 0.5, "group": "Holes", "label": "Hole diameter (mm)"}, "boss_d": {"type": "float", "default": 14.8, "min": 7.4, "max": 29.6, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 11.1, "min": 4.4, "max": 27.8, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}, "boss_bore_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 10.4, "step": 0.1, "group": "Boss", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331122 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 60, \"min\": 30.0, \"max\": 108.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 72.34, \"min\": 36.2, \"max\": 130.2, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"sk_t\": {\"type\": 'float', \"default\": 9.9, \"min\": 4.0, \"max\": 21.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"sk_hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 8.6, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"boss_d\": {\"type\": 'float', \"default\": 14.8, \"min\": 7.4, \"max\": 29.6, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 11.1, \"min\": 4.4, \"max\": 27.8, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n    \"boss_bore_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 10.4, \"step\": 0.1, \"group\": 'Boss', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.422, p[\"sk_h\"] * -0.0396).threePointArc((p[\"sk_w\"] * 0.34, p[\"sk_h\"] * 0.2349), (p[\"sk_w\"] * 0.1521, p[\"sk_h\"] * 0.4413)).lineTo(p[\"sk_w\"] * -0.2643, p[\"sk_h\"] * 0.3622).spline([(p[\"sk_w\"] * -0.2643, p[\"sk_h\"] * 0.3622), (p[\"sk_w\"] * -0.405, p[\"sk_h\"] * 0.2106), (p[\"sk_w\"] * -0.4644, p[\"sk_h\"] * 0.0125)]).threePointArc((p[\"sk_w\"] * -0.4111, p[\"sk_h\"] * -0.2314), (p[\"sk_w\"] * -0.2139, p[\"sk_h\"] * -0.3893)).threePointArc((p[\"sk_w\"] * -0.0663, p[\"sk_h\"] * -0.4828), (p[\"sk_w\"] * 0.0855, p[\"sk_h\"] * -0.4704)).lineTo(p[\"sk_w\"] * 0.422, p[\"sk_h\"] * -0.0396).close().extrude(p[\"sk_t\"]))\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"sk_hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .hole(p[\"boss_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462ca5b3_2559", "family": "sketched", "tier": 1, "seed": 1177331123, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "fdd505b4862bb5ce", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 11100.0, "surface_area": 3640.0, "principal_moments": [715000.0, 1770000.0, 2300000.0], "n_faces": 7, "n_edges": 15, "n_vertices": 10}, "dimensions": {"lines": ["freeform sketched section (4 segments: 2 arcs, 2 curves), ~51.936 \u00d7 31.268 mm, extruded 10 mm thick.", "One \u00d84.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "freeform sketched section (4 segments: 2 arcs, 2 curves), ~51.936 \u00d7 31.268 mm, extruded 10 mm thick. One \u00d84.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"sk_w": {"type": "float", "default": 55, "min": 27.5, "max": 99.0, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 40.0, "min": 20.0, "max": 72.0, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "sk_t": {"type": "float", "default": 10, "min": 4.0, "max": 22.0, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "sk_hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 8.6, "step": 0.5, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331123 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 55, \"min\": 27.5, \"max\": 99.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 40.0, \"min\": 20.0, \"max\": 72.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"sk_t\": {\"type\": 'float', \"default\": 10, \"min\": 4.0, \"max\": 22.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"sk_hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 8.6, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.4613, p[\"sk_h\"] * 0.1156).spline([(p[\"sk_w\"] * 0.4613, p[\"sk_h\"] * 0.1156), (p[\"sk_w\"] * 0.1524, p[\"sk_h\"] * 0.2712), (p[\"sk_w\"] * -0.1887, p[\"sk_h\"] * 0.3292)]).spline([(p[\"sk_w\"] * -0.1887, p[\"sk_h\"] * 0.3292), (p[\"sk_w\"] * -0.3542, p[\"sk_h\"] * 0.211), (p[\"sk_w\"] * -0.483, p[\"sk_h\"] * 0.0538)]).threePointArc((p[\"sk_w\"] * -0.2518, p[\"sk_h\"] * -0.2955), (p[\"sk_w\"] * 0.1236, p[\"sk_h\"] * -0.4525)).threePointArc((p[\"sk_w\"] * 0.3645, p[\"sk_h\"] * -0.2098), (p[\"sk_w\"] * 0.4613, p[\"sk_h\"] * 0.1156)).close().extrude(p[\"sk_t\"]))\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"sk_hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca5b4_2560", "family": "revolved", "tier": 1, "seed": 1177331124, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "58dce5bc0ada85ec", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 32100.0, "surface_area": 12000.0, "principal_moments": [3040000.0, 19400000.0, 19400000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d825.15 mm \u00d7 96.8 mm tall."], "text": "Revolved body, \u00d825.15 mm \u00d7 96.8 mm tall."}, "params": {"outer_d": {"type": "float", "default": 25.15, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 96.8, "min": 29.0, "max": 290.4, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331124 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 25.15, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 96.8, \"min\": 29.0, \"max\": 290.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca5b5_2561", "family": "bracket", "tier": 1, "seed": 1177331125, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "ec99a57b4be1493f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 32500.0, "surface_area": 13400.0, "principal_moments": [6500000.0, 41300000.0, 41700000.0], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Z-bracket: base leg 60 mm, vertical leg 50.7 mm, top leg 65.9 mm, 33.26 mm wide, 6 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."], "text": "Z-bracket: base leg 60 mm, vertical leg 50.7 mm, top leg 65.9 mm, 33.26 mm wide, 6 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 60, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 50.7, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 33.26, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 6.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 65.9, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331125 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 60, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 50.7, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 33.26, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 65.9, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca5b6_2562", "family": "compound", "tier": 3, "seed": 1177331126, "symmetry": "mirror_x", "op_count": 4, "ir_hash": "14f406018f26d674", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 7920.0, "surface_area": 3490.0, "principal_moments": [244000.0, 1790000.0, 1790000.0], "n_faces": 17, "n_edges": 37, "n_vertices": 24}, "dimensions": {"lines": ["\u00d816.46 mm circular section, extruded 32.7 mm thick.", "\u00d88.5 mm circular section attachment, 25.9 mm long, from top face.", "8-sided polygon section, 6 mm across corners attachment, 5.2 mm long, from top face with a \u00d83.3 mm bore.", "Chamfer 1.7 mm on bottom edges."], "text": "\u00d816.46 mm circular section, extruded 32.7 mm thick. \u00d88.5 mm circular section attachment, 25.9 mm long, from top face. 8-sided polygon section, 6 mm across corners attachment, 5.2 mm long, from top face with a \u00d83.3 mm bore. Chamfer 1.7 mm on bottom edges."}, "params": {"shaft_d": {"type": "float", "default": 16.46, "min": 8.2, "max": 29.6, "step": 1.0, "group": "Body", "label": "Shaft diameter (mm)"}, "shaft_len": {"type": "float", "default": 32.7, "min": 13.1, "max": 65.4, "step": 1.0, "group": "Body", "label": "Shaft length (mm)"}, "step_d": {"type": "float", "default": 8.5, "min": 4.2, "max": 14.8, "step": 1.0, "group": "Step", "label": "Step diameter (mm)"}, "step_len": {"type": "float", "default": 25.9, "min": 7.8, "max": 64.8, "step": 1.0, "group": "Step", "label": "Step length (mm)"}, "head_sides": {"type": "int", "default": 8, "min": 3, "max": 8, "step": 1, "group": "Head", "label": "Drive head sides"}, "head_r": {"type": "float", "default": 3.0, "min": 1.8, "max": 4.1, "step": 1.0, "group": "Head", "label": "Drive head circumradius (mm)"}, "head_len": {"type": "float", "default": 5.2, "min": 1.6, "max": 10.4, "step": 1.0, "group": "Head", "label": "Drive head length (mm)"}, "axial_bore": {"type": "float", "default": 3.3, "min": 2.0, "max": 4.0, "step": 0.5, "group": "Bore", "label": "Axial bore diameter (mm)"}, "chamfer_d": {"type": "float", "default": 1.7, "min": 0.5, "max": 3.0, "step": 0.5, "group": "Body", "label": "Chamfer distance (mm)"}, "chamfered": {"type": "bool", "default": true, "group": "Body", "label": "Chamfer edges"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331126 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"shaft_d\": {\"type\": 'float', \"default\": 16.46, \"min\": 8.2, \"max\": 29.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft diameter (mm)'},\n    \"shaft_len\": {\"type\": 'float', \"default\": 32.7, \"min\": 13.1, \"max\": 65.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft length (mm)'},\n    \"step_d\": {\"type\": 'float', \"default\": 8.5, \"min\": 4.2, \"max\": 14.8, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step diameter (mm)'},\n    \"step_len\": {\"type\": 'float', \"default\": 25.9, \"min\": 7.8, \"max\": 64.8, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step length (mm)'},\n    \"head_sides\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Head', \"label\": 'Drive head sides'},\n    \"head_r\": {\"type\": 'float', \"default\": 3.0, \"min\": 1.8, \"max\": 4.1, \"step\": 1.0, \"group\": 'Head', \"label\": 'Drive head circumradius (mm)'},\n    \"head_len\": {\"type\": 'float', \"default\": 5.2, \"min\": 1.6, \"max\": 10.4, \"step\": 1.0, \"group\": 'Head', \"label\": 'Drive head length (mm)'},\n    \"axial_bore\": {\"type\": 'float', \"default\": 3.3, \"min\": 2.0, \"max\": 4.0, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Axial bore diameter (mm)'},\n    \"chamfer_d\": {\"type\": 'float', \"default\": 1.7, \"min\": 0.5, \"max\": 3.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Chamfer distance (mm)'},\n    \"chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Chamfer edges'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').circle(p[\"shaft_d\"] / 2).extrude(p[\"shaft_len\"]))\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"step_d\"] / 2).extrude(p[\"step_len\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"head_sides\"], p[\"head_r\"] * 2).extrude(p[\"head_len\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"axial_bore\"])\n    )\n    if p[\"chamfered\"]:\n        result = result.edges('<Z').chamfer(p[\"chamfer_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462ca5b7_2563", "family": "gear", "tier": 2, "seed": 1177331127, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "248aad678cad42a7", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 1210.0, "surface_area": 1090.0, "principal_moments": [24400.0, 24400.0, 40000.0], "n_faces": 131, "n_edges": 387, "n_vertices": 258}, "dimensions": {"lines": ["Spur gear, module 1 mm, 16 teeth (pitch \u00d816 mm), face width 6.6 mm, \u00d83 mm bore."], "text": "Spur gear, module 1 mm, 16 teeth (pitch \u00d816 mm), face width 6.6 mm, \u00d83 mm bore."}, "params": {"module": {"type": "float", "default": 1.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 16, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 6.6, "min": 2.6, "max": 16.5, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "profile_shift": {"type": "float", "default": -0.12, "min": -0.5, "max": 0.7, "step": 0.05, "group": "Gear", "label": "Profile shift"}, "root_fillet": {"type": "float", "default": 0.21, "min": 0.0, "max": 0.5, "step": 0.05, "group": "Gear", "label": "Root fillet (mm)"}, "bore_d": {"type": "float", "default": 3.0, "min": 2.0, "max": 8.1, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331127 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 1.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 16, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 6.6, \"min\": 2.6, \"max\": 16.5, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"profile_shift\": {\"type\": 'float', \"default\": -0.12, \"min\": -0.5, \"max\": 0.7, \"step\": 0.05, \"group\": 'Gear', \"label\": 'Profile shift'},\n    \"root_fillet\": {\"type\": 'float', \"default\": 0.21, \"min\": 0.0, \"max\": 0.5, \"step\": 0.05, \"group\": 'Gear', \"label\": 'Root fillet (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 3.0, \"min\": 2.0, \"max\": 8.1, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"], profile_shift=p[\"profile_shift\"], root_fillet=p[\"root_fillet\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca5b8_2564", "family": "compound", "tier": 1, "seed": 1177331128, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "11fb71f2885b7499", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 293000.0, "surface_area": 33600.0, "principal_moments": [190000000.0, 248000000.0, 264000000.0], "n_faces": 14, "n_edges": 34, "n_vertices": 22}, "dimensions": {"lines": ["Rectangular body, 79.82 \u00d7 63.6 \u00d7 59 mm (W\u00d7D\u00d7H).", "\u00d818.8 mm circular section attachment, 14 mm long, from front face with a \u00d810.6 mm bore.", "\u00d818.8 mm circular section attachment, 14 mm long, from right face with a \u00d810.6 mm bore."], "text": "Rectangular body, 79.82 \u00d7 63.6 \u00d7 59 mm (W\u00d7D\u00d7H). \u00d818.8 mm circular section attachment, 14 mm long, from front face with a \u00d810.6 mm bore. \u00d818.8 mm circular section attachment, 14 mm long, from right face with a \u00d810.6 mm bore."}, "params": {"block_w": {"type": "float", "default": 79.82, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body width (mm)"}, "block_d": {"type": "float", "default": 63.6, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body depth (mm)"}, "block_h": {"type": "float", "default": 59.0, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body height (mm)"}, "port_d": {"type": "float", "default": 18.8, "min": 7.5, "max": 26.6, "step": 1.0, "group": "Ports", "label": "Ports diameter (mm)"}, "port_len": {"type": "float", "default": 14.0, "min": 4.7, "max": 56.4, "step": 1.0, "group": "Ports", "label": "Port boss length (mm)"}, "port_bore": {"type": "float", "default": 10.6, "min": 2.0, "max": 13.5, "step": 0.5, "group": "Ports", "label": "Port bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331128 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 79.82, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 63.6, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 59.0, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body height (mm)'},\n    \"port_d\": {\"type\": 'float', \"default\": 18.8, \"min\": 7.5, \"max\": 26.6, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Ports diameter (mm)'},\n    \"port_len\": {\"type\": 'float', \"default\": 14.0, \"min\": 4.7, \"max\": 56.4, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Port boss length (mm)'},\n    \"port_bore\": {\"type\": 'float', \"default\": 10.6, \"min\": 2.0, \"max\": 13.5, \"step\": 0.5, \"group\": 'Ports', \"label\": 'Port bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca5b9_2565", "family": "plate", "tier": 2, "seed": 1177331129, "symmetry": "radial", "op_count": 3, "ir_hash": "05b39e2c9c46a6a7", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 92600.0, "surface_area": 20100.0, "principal_moments": [43100000.0, 85600000.0, 127000000.0], "n_faces": 14, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 105 \u00d7 74.1 \u00d7 12 mm (W\u00d7D\u00d7H).", "Four \u00d83.2 mm holes on a \u00d863 mm bolt circle.", "Chamfer 4.1 mm on vertical edges."], "text": "Rectangular body, 105 \u00d7 74.1 \u00d7 12 mm (W\u00d7D\u00d7H). Four \u00d83.2 mm holes on a \u00d863 mm bolt circle. Chamfer 4.1 mm on vertical edges."}, "params": {"plate_w": {"type": "float", "default": 105, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 74.1, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "bolt_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 31.5, "min": 21.0, "max": 47.2, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 4, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}, "chamfer_d": {"type": "float", "default": 4.1, "min": 3.0, "max": 8.9, "step": 0.5, "group": "Body", "label": "Chamfer distance (mm)"}, "chamfered": {"type": "bool", "default": true, "group": "Body", "label": "Chamfer edges"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331129 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 105, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 74.1, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 31.5, \"min\": 21.0, \"max\": 47.2, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 4, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n    \"chamfer_d\": {\"type\": 'float', \"default\": 4.1, \"min\": 3.0, \"max\": 8.9, \"step\": 0.5, \"group\": 'Body', \"label\": 'Chamfer distance (mm)'},\n    \"chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Chamfer edges'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    if p[\"chamfered\"]:\n        result = result.edges('|Z').chamfer(p[\"chamfer_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca5ba_2566", "family": "plate", "tier": 2, "seed": 1177331130, "symmetry": "none", "op_count": 3, "ir_hash": "c6ca9c2b9cdce4be", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 7140.0, "surface_area": 2640.0, "principal_moments": [209000.0, 1260000.0, 1350000.0], "n_faces": 30, "n_edges": 84, "n_vertices": 56}, "dimensions": {"lines": ["Rectangular body, 45 \u00d7 16 \u00d7 10 mm (W\u00d7D\u00d7H).", "Five \u00d81.9 mm holes in two staggered rows, 16.9 \u00d7 16.8 mm pitch.", "Chamfer 0.8 mm on vertical edges."], "text": "Rectangular body, 45 \u00d7 16 \u00d7 10 mm (W\u00d7D\u00d7H). Five \u00d81.9 mm holes in two staggered rows, 16.9 \u00d7 16.8 mm pitch. Chamfer 0.8 mm on vertical edges."}, "params": {"plate_w": {"type": "float", "default": 45, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 16.0, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 1.9, "min": 2.0, "max": 1.6, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 3, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}, "chamfer_d": {"type": "float", "default": 0.8, "min": 0.5, "max": 0.8, "step": 0.5, "group": "Body", "label": "Chamfer distance (mm)"}, "chamfered": {"type": "bool", "default": true, "group": "Body", "label": "Chamfer edges"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331130 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 45, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 16.0, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 1.9, \"min\": 2.0, \"max\": 1.6, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 3, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n    \"chamfer_d\": {\"type\": 'float', \"default\": 0.8, \"min\": 0.5, \"max\": 0.8, \"step\": 0.5, \"group\": 'Body', \"label\": 'Chamfer distance (mm)'},\n    \"chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Chamfer edges'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 16.9\n    _ssy = 16.8\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    if p[\"chamfered\"]:\n        result = result.edges('|Z').chamfer(p[\"chamfer_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462ca5bb_2567", "family": "profiled", "tier": 1, "seed": 1177331131, "symmetry": "none", "op_count": 1, "ir_hash": "b93dfbbd4554c15e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 3860.0, "surface_area": 3210.0, "principal_moments": [47700.0, 1840000.0, 1840000.0], "n_faces": 4, "n_edges": 6, "n_vertices": 4}, "dimensions": {"lines": ["Revolved body, \u00d89.06 mm \u00d7 75.2 mm tall with \u00d84.1 mm bore."], "text": "Revolved body, \u00d89.06 mm \u00d7 75.2 mm tall with \u00d84.1 mm bore."}, "params": {"outer_d": {"type": "float", "default": 9.06, "min": 4.5, "max": 18.1, "step": 1.0, "group": "Profile", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 75.2, "min": 22.6, "max": 225.6, "step": 5.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 4.1, "min": 2.0, "max": 7.2, "step": 0.5, "group": "Profile", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331131 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 9.06, \"min\": 4.5, \"max\": 18.1, \"step\": 1.0, \"group\": 'Profile', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 75.2, \"min\": 22.6, \"max\": 225.6, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 4.1, \"min\": 2.0, \"max\": 7.2, \"step\": 0.5, \"group\": 'Profile', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca5bc_2568", "family": "plate", "tier": 0, "seed": 1177331132, "symmetry": "none", "op_count": 1, "ir_hash": "b5976b889b0517e6", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 1010.0, "surface_area": 1200.0, "principal_moments": [24000.0, 75900.0, 99300.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 30 \u00d7 16.8 \u00d7 2 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 30 \u00d7 16.8 \u00d7 2 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 30, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 16.8, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 2.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331132 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 30, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 16.8, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 2.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462ca5bd_2569", "family": "sketched", "tier": 1, "seed": 1177331133, "symmetry": "none", "op_count": 1, "ir_hash": "c2cd96e7dc793bfe", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 193000.0, "surface_area": 20900.0, "principal_moments": [108000000.0, 108000000.0, 110000000.0], "n_faces": 7, "n_edges": 12, "n_vertices": 7}, "dimensions": {"lines": ["Revolved organic body from a freeform sketched section (6 segments: 4 straight, 2 curves), ~34.384 \u00d7 61.58 mm half-silhouette."], "text": "Revolved organic body from a freeform sketched section (6 segments: 4 straight, 2 curves), ~34.384 \u00d7 61.58 mm half-silhouette."}, "params": {"sk_r": {"type": "float", "default": 40, "min": 20.0, "max": 72.0, "step": 1.0, "group": "Sketch", "label": "Max radius (mm)"}, "sk_h": {"type": "float", "default": 61.58, "min": 30.8, "max": 110.8, "step": 1.0, "group": "Sketch", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331133 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_r\": {\"type\": 'float', \"default\": 40, \"min\": 20.0, \"max\": 72.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Max radius (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 61.58, \"min\": 30.8, \"max\": 110.8, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XZ').moveTo(p[\"sk_r\"] * 0.7919, p[\"sk_h\"] * 0.0).spline([(p[\"sk_r\"] * 0.7919, p[\"sk_h\"] * 0.0), (p[\"sk_r\"] * 0.7905, p[\"sk_h\"] * 0.1651), (p[\"sk_r\"] * 0.7072, p[\"sk_h\"] * 0.3302)]).lineTo(p[\"sk_r\"] * 0.9886, p[\"sk_h\"] * 0.7516).lineTo(p[\"sk_r\"] * 0.8393, p[\"sk_h\"] * 0.8466).spline([(p[\"sk_r\"] * 0.8393, p[\"sk_h\"] * 0.8466), (p[\"sk_r\"] * 0.5868, p[\"sk_h\"] * 0.9233), (p[\"sk_r\"] * 0.312, p[\"sk_h\"] * 1.0)]).lineTo(p[\"sk_r\"] * 0.129, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.129, p[\"sk_h\"] * 0.0).close().revolve())\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca5be_2570", "family": "plate", "tier": 2, "seed": 1177331134, "symmetry": "none", "op_count": 2, "ir_hash": "dca5850fccdbe897", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 2130.0, "surface_area": 1980.0, "principal_moments": [68800.0, 264000.0, 330000.0], "n_faces": 22, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 39.66 \u00d7 20.1 \u00d7 3 mm (W\u00d7D\u00d7H).", "Four 6 \u00d7 4.3 mm slots at the corners, 27.762 \u00d7 14.07 mm spacing."], "text": "Rectangular body, 39.66 \u00d7 20.1 \u00d7 3 mm (W\u00d7D\u00d7H). Four 6 \u00d7 4.3 mm slots at the corners, 27.762 \u00d7 14.07 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 39.66, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 20.1, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 3.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 4.5, "step": 0.5, "group": "Holes", "label": "Slot width (mm)"}, "hole_slot_len": {"type": "float", "default": 6.0, "min": 6.4, "max": 6.0, "step": 0.5, "group": "Holes", "label": "Slot length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331134 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 39.66, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 20.1, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 3.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 4.5, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Slot width (mm)'},\n    \"hole_slot_len\": {\"type\": 'float', \"default\": 6.0, \"min\": 6.4, \"max\": 6.0, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Slot length (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().slot2D(p[\"hole_slot_len\"], p[\"hole_d\"]).cutThruAll()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462ca5bf_2571", "family": "gear", "tier": 3, "seed": 1177331135, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "f9e36d7f76e197eb", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 5150.0, "surface_area": 5880.0, "principal_moments": [2210000.0, 2210000.0, 4340000.0], "n_faces": 219, "n_edges": 651, "n_vertices": 434}, "dimensions": {"lines": ["Ring gear, module 1.5 mm, 36 teeth (pitch \u00d854 mm), face width 9.2 mm."], "text": "Ring gear, module 1.5 mm, 36 teeth (pitch \u00d854 mm), face width 9.2 mm."}, "params": {"module": {"type": "float", "default": 1.5, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 36, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 9.2, "min": 3.7, "max": 23.0, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "profile_shift": {"type": "float", "default": 0.46, "min": -0.5, "max": 0.7, "step": 0.05, "group": "Gear", "label": "Profile shift"}, "root_fillet": {"type": "float", "default": 0.21, "min": 0.0, "max": 0.75, "step": 0.05, "group": "Gear", "label": "Root fillet (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331135 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 1.5, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 36, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 9.2, \"min\": 3.7, \"max\": 23.0, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"profile_shift\": {\"type\": 'float', \"default\": 0.46, \"min\": -0.5, \"max\": 0.7, \"step\": 0.05, \"group\": 'Gear', \"label\": 'Profile shift'},\n    \"root_fillet\": {\"type\": 'float', \"default\": 0.21, \"min\": 0.0, \"max\": 0.75, \"step\": 0.05, \"group\": 'Gear', \"label\": 'Root fillet (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurRingGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"], profile_shift=p[\"profile_shift\"], root_fillet=p[\"root_fillet\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca5c0_2572", "family": "plate", "tier": 0, "seed": 1177331136, "symmetry": "none", "op_count": 1, "ir_hash": "f7621d8f30ba19bd", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 17700.0, "surface_area": 5960.0, "principal_moments": [2490000.0, 4560000.0, 6870000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 55 \u00d7 40.3 \u00d7 8 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 55 \u00d7 40.3 \u00d7 8 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 55, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 40.3, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331136 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 55, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 40.3, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca5c1_2573", "family": "plate", "tier": 1, "seed": 1177331137, "symmetry": "radial", "op_count": 2, "ir_hash": "eec3c5697c7ae6f8", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 1520.0, "surface_area": 1350.0, "principal_moments": [24400.0, 174000.0, 194000.0], "n_faces": 16, "n_edges": 42, "n_vertices": 28}, "dimensions": {"lines": ["Rectangular body, 36.4 \u00d7 13.2 \u00d7 4 mm (W\u00d7D\u00d7H).", "Eight \u00d86.4 mm holes on a \u00d821.8 mm bolt circle."], "text": "Rectangular body, 36.4 \u00d7 13.2 \u00d7 4 mm (W\u00d7D\u00d7H). Eight \u00d86.4 mm holes on a \u00d821.8 mm bolt circle."}, "params": {"plate_w": {"type": "float", "default": 36.4, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 13.2, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 4.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "bolt_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 10.9, "min": 7.3, "max": 16.4, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 8, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331137 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 36.4, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 13.2, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 4.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 10.9, \"min\": 7.3, \"max\": 16.4, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462ca5c2_2574", "family": "tapped", "tier": 1, "seed": 1177331138, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "3b7157e8b70c46b1", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 41000.0, "surface_area": 9650.0, "principal_moments": [7120000.0, 11100000.0, 15799999.999999998], "n_faces": 758, "n_edges": 2076, "n_vertices": 1320}, "dimensions": {"lines": ["Four M5x0.8 tapped holes in a plate."], "text": "Four M5x0.8 tapped holes in a plate."}, "params": {"major_d": {"type": "float", "default": 5.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 0.8, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 18.9, "min": 6.0, "max": 34.0, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "plate_w": {"type": "float", "default": 53.75, "min": 32.2, "max": 86.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 41.6, "min": 25.0, "max": 66.6, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331138 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 0.8, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 18.9, \"min\": 6.0, \"max\": 34.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"plate_w\": {\"type\": 'float', \"default\": 53.75, \"min\": 32.2, \"max\": 86.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 41.6, \"min\": 25.0, \"max\": 66.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n}\n\n\ndef build(p):\n\n    _W, _D, _H = p[\"plate_w\"], p[\"plate_d\"], p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Box(_W, _D, _H)\n    _sx, _sy = p[\"plate_w\"] * 0.6, p[\"plate_d\"] * 0.6\n    _locs = [(_xx, _yy) for _xx in (-_sx / 2, _sx / 2) for _yy in (-_sy / 2, _sy / 2)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462ca5c3_2575", "family": "gear", "tier": 1, "seed": 1177331139, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "19b645e265cca67e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 116000.0, "surface_area": 23200.0, "principal_moments": [60399999.99999999, 60399999.99999999, 111000000.0], "n_faces": 87, "n_edges": 255, "n_vertices": 170}, "dimensions": {"lines": ["Spur gear, module 6 mm, 14 teeth (pitch \u00d884 mm), face width 22.5 mm, \u00d817.8 mm bore."], "text": "Spur gear, module 6 mm, 14 teeth (pitch \u00d884 mm), face width 22.5 mm, \u00d817.8 mm bore."}, "params": {"module": {"type": "float", "default": 6.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 14, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 22.5, "min": 9.0, "max": 56.2, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "bore_d": {"type": "float", "default": 17.8, "min": 2.0, "max": 41.4, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331139 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 6.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 14, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 22.5, \"min\": 9.0, \"max\": 56.2, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 17.8, \"min\": 2.0, \"max\": 41.4, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca5c4_2576", "family": "bracket", "tier": 3, "seed": 1177331140, "symmetry": "none", "op_count": 1, "ir_hash": "35c09b2fa8b65a54", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 12700.0, "surface_area": 8410.0, "principal_moments": [3280000.0, 12399999.999999998, 15299999.999999998], "n_faces": 17, "n_edges": 55, "n_vertices": 34}, "dimensions": {"lines": ["L-bracket: base leg 83.68 mm, vertical leg 90 mm, 15 mm wide, 4 mm thick; 2 \u00d7 \u00d85.3 mm holes per leg; 3.3 mm corner gusset."], "text": "L-bracket: base leg 83.68 mm, vertical leg 90 mm, 15 mm wide, 4 mm thick; 2 \u00d7 \u00d85.3 mm holes per leg; 3.3 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 83.68, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 90.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 15.0, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 4.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 6.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 2, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 3.3, "min": 2.0, "max": 7.5, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331140 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 83.68, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 90.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 15.0, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 6.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 2, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 3.3, \"min\": 2.0, \"max\": 7.5, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca5c5_2577", "family": "plate", "tier": 1, "seed": 1177331141, "symmetry": "none", "op_count": 2, "ir_hash": "eee875d7c9b73149", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 13700.0, "surface_area": 4570.0, "principal_moments": [702000.0, 3370000.0, 3740000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 53.41 \u00d7 21.9 \u00d7 12 mm (W\u00d7D\u00d7H).", "Four \u00d83.2 mm holes at the corners, 37.387 \u00d7 15.33 mm spacing."], "text": "Rectangular body, 53.41 \u00d7 21.9 \u00d7 12 mm (W\u00d7D\u00d7H). Four \u00d83.2 mm holes at the corners, 37.387 \u00d7 15.33 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 53.41, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 21.9, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 4.9, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331141 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 53.41, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 21.9, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 4.9, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca5c6_2578", "family": "bracket", "tier": 2, "seed": 1177331142, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "866d2d4aca19f73e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 7130.0, "surface_area": 3820.0, "principal_moments": [601000.0, 1250000.0, 1360000.0], "n_faces": 14, "n_edges": 37, "n_vertices": 24}, "dimensions": {"lines": ["L-bracket: base leg 35 mm, vertical leg 27.7 mm, 24.61 mm wide, 5 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg; 6.7 mm corner gusset."], "text": "L-bracket: base leg 35 mm, vertical leg 27.7 mm, 24.61 mm wide, 5 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg; 6.7 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 35, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 27.7, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 24.61, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 5.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 9.8, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 6.7, "min": 2.5, "max": 12.3, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331142 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 35, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 27.7, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 24.61, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 9.8, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 6.7, \"min\": 2.5, \"max\": 12.3, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462ca5c7_2579", "family": "threaded", "tier": 2, "seed": 1177331143, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "0f351cc9fcd18cfb", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 4030.0, "surface_area": 2530.0, "principal_moments": [61200.0, 642000.0, 642000.0], "n_faces": 250, "n_edges": 640, "n_vertices": 392}, "dimensions": {"lines": ["M12x1.75 external thread, 42.9 mm long."], "text": "M12x1.75 external thread, 42.9 mm long."}, "params": {"major_d": {"type": "float", "default": 12.0, "min": 4.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Major diameter (mm)"}, "pitch": {"type": "float", "default": 1.75, "min": 0.88, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Pitch (mm)"}, "thread_len": {"type": "float", "default": 42.9, "min": 17.2, "max": 85.8, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331143 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 12.0, \"min\": 4.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Major diameter (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.75, \"min\": 0.88, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Pitch (mm)'},\n    \"thread_len\": {\"type\": 'float', \"default\": 42.9, \"min\": 17.2, \"max\": 85.8, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.IsoThread(major_diameter=p[\"major_d\"], pitch=p[\"pitch\"], length=p[\"thread_len\"], external=True, end_finishes=(\"fade\", \"fade\"))\n    _r = _thr.min_radius if hasattr(_thr, 'min_radius') else _thr.root_radius\n    _shank = _bd.Cylinder(radius=_r, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = _shank + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca5c8_2580", "family": "block", "tier": 2, "seed": 1177331144, "symmetry": "mirror_xy", "op_count": 3, "ir_hash": "68705219b1704877", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 461000.0, "surface_area": 41300.0, "principal_moments": [369000000.0, 517000000.0, 634000000.0], "n_faces": 12, "n_edges": 27, "n_vertices": 18}, "dimensions": {"lines": ["Rectangular body, 80 \u00d7 57.6 \u00d7 100 mm (W\u00d7D\u00d7H).", "Four \u00d83.2 mm holes at the corners, 56 \u00d7 40.32 mm spacing.", "Boss \u00d818.6 mm \u00d7 11 mm tall on top face."], "text": "Rectangular body, 80 \u00d7 57.6 \u00d7 100 mm (W\u00d7D\u00d7H). Four \u00d83.2 mm holes at the corners, 56 \u00d7 40.32 mm spacing. Boss \u00d818.6 mm \u00d7 11 mm tall on top face."}, "params": {"block_w": {"type": "float", "default": 80, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 57.6, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 100.0, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "boss_d": {"type": "float", "default": 18.6, "min": 9.3, "max": 37.2, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 11.0, "min": 4.4, "max": 27.5, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331144 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 80, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 57.6, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 100.0, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"boss_d\": {\"type\": 'float', \"default\": 18.6, \"min\": 9.3, \"max\": 37.2, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 11.0, \"min\": 4.4, \"max\": 27.5, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca5ca_2582", "family": "compound", "tier": 1, "seed": 1177331146, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "0df127b33cdcefaa", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 103000.0, "surface_area": 14600.0, "principal_moments": [32999999.999999996, 39400000.0, 45599999.99999999], "n_faces": 24, "n_edges": 63, "n_vertices": 41}, "dimensions": {"lines": ["Rectangular body, 55 \u00d7 47.7 \u00d7 39.4 mm (W\u00d7D\u00d7H).", "6-sided polygon section, 7 mm across corners attachment, 5 mm long, from left face with a \u00d83.3 mm bore.", "6-sided polygon section, 7 mm across corners attachment, 5 mm long, from back face with a \u00d83.3 mm bore."], "text": "Rectangular body, 55 \u00d7 47.7 \u00d7 39.4 mm (W\u00d7D\u00d7H). 6-sided polygon section, 7 mm across corners attachment, 5 mm long, from left face with a \u00d83.3 mm bore. 6-sided polygon section, 7 mm across corners attachment, 5 mm long, from back face with a \u00d83.3 mm bore."}, "params": {"block_w": {"type": "float", "default": 55, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body width (mm)"}, "block_d": {"type": "float", "default": 47.7, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body depth (mm)"}, "block_h": {"type": "float", "default": 39.4, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body height (mm)"}, "port_sides": {"type": "int", "default": 6, "min": 3, "max": 8, "step": 1, "group": "Ports", "label": "Ports sides"}, "port_r": {"type": "float", "default": 3.5, "min": 1.8, "max": 8.8, "step": 1.0, "group": "Ports", "label": "Ports circumradius (mm)"}, "port_len": {"type": "float", "default": 5.0, "min": 1.5, "max": 18.2, "step": 1.0, "group": "Ports", "label": "Port boss length (mm)"}, "port_bore": {"type": "float", "default": 3.3, "min": 2.0, "max": 4.4, "step": 0.5, "group": "Ports", "label": "Port bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331146 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 55, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 47.7, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 39.4, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body height (mm)'},\n    \"port_sides\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Ports', \"label\": 'Ports sides'},\n    \"port_r\": {\"type\": 'float', \"default\": 3.5, \"min\": 1.8, \"max\": 8.8, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Ports circumradius (mm)'},\n    \"port_len\": {\"type\": 'float', \"default\": 5.0, \"min\": 1.5, \"max\": 18.2, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Port boss length (mm)'},\n    \"port_bore\": {\"type\": 'float', \"default\": 3.3, \"min\": 2.0, \"max\": 4.4, \"step\": 0.5, \"group\": 'Ports', \"label\": 'Port bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"port_sides\"], p[\"port_r\"] * 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"port_sides\"], p[\"port_r\"] * 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca5cb_2583", "family": "plate", "tier": 3, "seed": 1177331147, "symmetry": "none", "op_count": 4, "ir_hash": "6c51ce1109b1ded2", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 108000.0, "surface_area": 25300.0, "principal_moments": [68700000.0, 99799999.99999999, 166000000.0], "n_faces": 77, "n_edges": 222, "n_vertices": 148}, "dimensions": {"lines": ["Rectangular body, 105 \u00d7 88 \u00d7 12 mm (W\u00d7D\u00d7H).", "Eight 6.4 mm square holes in a 4\u00d72 grid, 28 \u00d7 70.4 mm pitch.", "Fillet radius 2.684 mm on vertical edges.", "Boss \u00d814.1 mm \u00d7 8.8 mm tall on top face with a \u00d88.4 mm bore."], "text": "Rectangular body, 105 \u00d7 88 \u00d7 12 mm (W\u00d7D\u00d7H). Eight 6.4 mm square holes in a 4\u00d72 grid, 28 \u00d7 70.4 mm pitch. Fillet radius 2.684 mm on vertical edges. Boss \u00d814.1 mm \u00d7 8.8 mm tall on top face with a \u00d88.4 mm bore."}, "params": {"plate_w": {"type": "float", "default": 105, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 88.0, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 13.7, "step": 0.1, "group": "Holes", "label": "Square hole size (mm)"}, "hole_nx": {"type": "int", "default": 4, "min": 1, "max": 4, "step": 1, "group": "Holes", "label": "Holes across"}, "hole_ny": {"type": "int", "default": 2, "min": 1, "max": 4, "step": 1, "group": "Holes", "label": "Holes deep"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}, "boss_d": {"type": "float", "default": 14.1, "min": 7.0, "max": 28.2, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 8.8, "min": 3.5, "max": 22.0, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}, "boss_bore_d": {"type": "float", "default": 8.4, "min": 2.0, "max": 9.9, "step": 0.1, "group": "Boss", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331147 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 105, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 88.0, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 13.7, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Square hole size (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 4, \"min\": 1, \"max\": 4, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes across'},\n    \"hole_ny\": {\"type\": 'int', \"default\": 2, \"min\": 1, \"max\": 4, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes deep'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n    \"boss_d\": {\"type\": 'float', \"default\": 14.1, \"min\": 7.0, \"max\": 28.2, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 8.8, \"min\": 3.5, \"max\": 22.0, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n    \"boss_bore_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 2.0, \"max\": 9.9, \"step\": 0.1, \"group\": 'Boss', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(28.0, 70.4, p[\"hole_nx\"], p[\"hole_ny\"])\n        .rect(p[\"hole_d\"], p[\"hole_d\"]).cutThruAll()\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"plate_w\"], p[\"plate_d\"]) * 0.030500799109042045)\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .hole(p[\"boss_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca5cc_2584", "family": "block", "tier": 2, "seed": 1177331148, "symmetry": "radial", "op_count": 3, "ir_hash": "be806836ded9c7de", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 268000.0, "surface_area": 32400.0, "principal_moments": [176000000.0, 198000000.0, 198000000.0], "n_faces": 22, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 70 \u00d7 62.6 \u00d7 62.7 mm (W\u00d7D\u00d7H).", "Twelve \u00d83.2 mm holes on a \u00d842 mm bolt circle.", "Fillet radius 2.966 mm on vertical edges."], "text": "Rectangular body, 70 \u00d7 62.6 \u00d7 62.7 mm (W\u00d7D\u00d7H). Twelve \u00d83.2 mm holes on a \u00d842 mm bolt circle. Fillet radius 2.966 mm on vertical edges."}, "params": {"block_w": {"type": "float", "default": 70, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 62.6, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 62.7, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "bolt_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 21.0, "min": 14.0, "max": 31.5, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 12, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331148 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 70, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 62.6, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 62.7, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 21.0, \"min\": 14.0, \"max\": 31.5, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 12, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"block_w\"], p[\"block_d\"]) * 0.04737772132863192)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca5cd_2585", "family": "block", "tier": 1, "seed": 1177331149, "symmetry": "none", "op_count": 2, "ir_hash": "83ba3fe5ef0d393d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 288000.0, "surface_area": 37300.0, "principal_moments": [178000000.0, 275000000.0, 383000000.0], "n_faces": 22, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 77.73 \u00d7 38.5 \u00d7 100 mm (W\u00d7D\u00d7H).", "Four 5.2 mm square holes at the corners, 54.411 \u00d7 26.95 mm spacing."], "text": "Rectangular body, 77.73 \u00d7 38.5 \u00d7 100 mm (W\u00d7D\u00d7H). Four 5.2 mm square holes at the corners, 54.411 \u00d7 26.95 mm spacing."}, "params": {"block_w": {"type": "float", "default": 77.73, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 38.5, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 100.0, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 5.2, "min": 2.0, "max": 11.3, "step": 0.5, "group": "Holes", "label": "Square hole size (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331149 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 77.73, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 38.5, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 100.0, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.2, \"min\": 2.0, \"max\": 11.3, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Square hole size (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().rect(p[\"hole_d\"], p[\"hole_d\"]).cutThruAll()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462ca5ce_2586", "family": "tapped", "tier": 2, "seed": 1177331150, "symmetry": "none", "op_count": 1, "ir_hash": "c659747910cc3e73", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 20500.0, "surface_area": 6380.0, "principal_moments": [2000000.0, 3850000.0, 5030000.0], "n_faces": 630, "n_edges": 1724, "n_vertices": 1096}, "dimensions": {"lines": ["Four M5x0.8 tapped holes in a plate."], "text": "Four M5x0.8 tapped holes in a plate."}, "params": {"major_d": {"type": "float", "default": 5.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 0.8, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 15.6, "min": 6.0, "max": 28.1, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "plate_w": {"type": "float", "default": 45.0, "min": 27.0, "max": 72.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 30.6, "min": 18.4, "max": 49.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331150 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 0.8, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 15.6, \"min\": 6.0, \"max\": 28.1, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"plate_w\": {\"type\": 'float', \"default\": 45.0, \"min\": 27.0, \"max\": 72.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 30.6, \"min\": 18.4, \"max\": 49.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n}\n\n\ndef build(p):\n\n    _W, _D, _H = p[\"plate_w\"], p[\"plate_d\"], p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Box(_W, _D, _H)\n    _sx, _sy = p[\"plate_w\"] * 0.6, p[\"plate_d\"] * 0.6\n    _locs = [(_xx, _yy) for _xx in (-_sx / 2, _sx / 2) for _yy in (-_sy / 2, _sy / 2)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462ca5cf_2587", "family": "lofted", "tier": 3, "seed": 1177331151, "symmetry": "none", "op_count": 2, "ir_hash": "464f3569d234be29", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 31200.0, "surface_area": 8280.0, "principal_moments": [5200000.0, 7660000.0, 7670000.0], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["Lofted body through 3 sections: 40 \u00d7 40 mm rectangular section \u2192 6-sided polygon section, 30.9 mm across corners \u2192 6-sided polygon section, 21.9 mm across corners.", "One \u00d810.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 3 sections: 40 \u00d7 40 mm rectangular section \u2192 6-sided polygon section, 30.9 mm across corners \u2192 6-sided polygon section, 21.9 mm across corners. One \u00d810.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 40, "min": 20.0, "max": 64.0, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 21.9, "min": 8.8, "max": 48.0, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 48.2, "min": 19.3, "max": 96.4, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_mid": {"type": "float", "default": 30.9, "min": 10.9, "max": 48.0, "step": 1.0, "group": "Body", "label": "Mid size (mm)"}, "loft_bore_d": {"type": "float", "default": 10.3, "min": 2.0, "max": 17.5, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331151 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 40, \"min\": 20.0, \"max\": 64.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 21.9, \"min\": 8.8, \"max\": 48.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 48.2, \"min\": 19.3, \"max\": 96.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_mid\": {\"type\": 'float', \"default\": 30.9, \"min\": 10.9, \"max\": 48.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Mid size (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 10.3, \"min\": 2.0, \"max\": 17.5, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .rect(p[\"loft_base\"], p[\"loft_base\"])\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .polygon(6, p[\"loft_mid\"] * 0.5 * 2)\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .polygon(6, p[\"loft_top\"] * 0.5 * 2)\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462ca5d0_2588", "family": "ribbed", "tier": 3, "seed": 1177331152, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "ea50bc52e938c704", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 38200.0, "surface_area": 21700.0, "principal_moments": [20500000.0, 36000000.0, 54999999.99999999], "n_faces": 16, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 96.66 \u00d7 79.1 \u00d7 4 mm (W\u00d7D\u00d7H).", "Two ribs, 3.2 mm thick, 15.4 mm tall."], "text": "Rectangular body, 96.66 \u00d7 79.1 \u00d7 4 mm (W\u00d7D\u00d7H). Two ribs, 3.2 mm thick, 15.4 mm tall."}, "params": {"base_w": {"type": "float", "default": 96.66, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 79.1, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 4.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 2, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 15.4, "min": 6.2, "max": 30.8, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 3.2, "min": 1.0, "max": 8.0, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331152 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 96.66, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 79.1, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 2, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 15.4, \"min\": 6.2, \"max\": 30.8, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 3.2, \"min\": 1.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca5d1_2589", "family": "compound", "tier": 3, "seed": 1177331153, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "d91991c5cc845dd2", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 78900.0, "surface_area": 15200.0, "principal_moments": [14399999.999999998, 52599999.99999999, 52599999.99999999], "n_faces": 8, "n_edges": 13, "n_vertices": 8}, "dimensions": {"lines": ["\u00d838.9 mm circular section, extruded 62 mm thick.", "\u00d820.2 mm circular section attachment, 39.5 mm long, from top face with a \u00d89.5 mm bore.", "Chamfer 1.8 mm on bottom edges."], "text": "\u00d838.9 mm circular section, extruded 62 mm thick. \u00d820.2 mm circular section attachment, 39.5 mm long, from top face with a \u00d89.5 mm bore. Chamfer 1.8 mm on bottom edges."}, "params": {"shaft_d": {"type": "float", "default": 38.9, "min": 19.4, "max": 70.0, "step": 1.0, "group": "Body", "label": "Shaft diameter (mm)"}, "shaft_len": {"type": "float", "default": 62.0, "min": 24.8, "max": 124.0, "step": 1.0, "group": "Body", "label": "Shaft length (mm)"}, "step_d": {"type": "float", "default": 20.2, "min": 10.1, "max": 35.0, "step": 1.0, "group": "Step", "label": "Step diameter (mm)"}, "step_len": {"type": "float", "default": 39.5, "min": 11.8, "max": 98.8, "step": 1.0, "group": "Step", "label": "Step length (mm)"}, "axial_bore": {"type": "float", "default": 9.5, "min": 2.0, "max": 14.5, "step": 0.5, "group": "Bore", "label": "Axial bore diameter (mm)"}, "chamfer_d": {"type": "float", "default": 1.8, "min": 0.5, "max": 3.0, "step": 0.5, "group": "Body", "label": "Chamfer distance (mm)"}, "chamfered": {"type": "bool", "default": true, "group": "Body", "label": "Chamfer edges"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331153 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"shaft_d\": {\"type\": 'float', \"default\": 38.9, \"min\": 19.4, \"max\": 70.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft diameter (mm)'},\n    \"shaft_len\": {\"type\": 'float', \"default\": 62.0, \"min\": 24.8, \"max\": 124.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft length (mm)'},\n    \"step_d\": {\"type\": 'float', \"default\": 20.2, \"min\": 10.1, \"max\": 35.0, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step diameter (mm)'},\n    \"step_len\": {\"type\": 'float', \"default\": 39.5, \"min\": 11.8, \"max\": 98.8, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step length (mm)'},\n    \"axial_bore\": {\"type\": 'float', \"default\": 9.5, \"min\": 2.0, \"max\": 14.5, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Axial bore diameter (mm)'},\n    \"chamfer_d\": {\"type\": 'float', \"default\": 1.8, \"min\": 0.5, \"max\": 3.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Chamfer distance (mm)'},\n    \"chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Chamfer edges'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').circle(p[\"shaft_d\"] / 2).extrude(p[\"shaft_len\"]))\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"step_d\"] / 2).extrude(p[\"step_len\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"axial_bore\"])\n    )\n    if p[\"chamfered\"]:\n        result = result.edges('<Z').chamfer(p[\"chamfer_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca5d2_2590", "family": "revolved", "tier": 0, "seed": 1177331154, "symmetry": "none", "op_count": 1, "ir_hash": "d9022554d15a2f42", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 547000.0, "surface_area": 74500.0, "principal_moments": [402000000.0, 1680000000.0, 1680000000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d870 mm \u00d7 213.1 mm tall."], "text": "Revolved body, \u00d870 mm \u00d7 213.1 mm tall."}, "params": {"outer_d": {"type": "float", "default": 70, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 213.1, "min": 63.9, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331154 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 70, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 213.1, \"min\": 63.9, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca5d3_2591", "family": "revolved", "tier": 2, "seed": 1177331155, "symmetry": "none", "op_count": 1, "ir_hash": "d3be4f5d4744667c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 88000.0, "surface_area": 21300.0, "principal_moments": [27499999.999999996, 85800000.0, 85800000.0], "n_faces": 6, "n_edges": 9, "n_vertices": 6}, "dimensions": {"lines": ["Revolved body, \u00d833.63 mm \u00d7 93.2 mm tall with \u00d818.2 mm bore, \u00d858.7 mm \u00d7 16.2 mm flange."], "text": "Revolved body, \u00d833.63 mm \u00d7 93.2 mm tall with \u00d818.2 mm bore, \u00d858.7 mm \u00d7 16.2 mm flange."}, "params": {"outer_d": {"type": "float", "default": 33.63, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 93.2, "min": 28.0, "max": 279.6, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 18.2, "min": 2.0, "max": 23.5, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 58.7, "min": 40.4, "max": 100.9, "step": 1.0, "group": "Body", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 16.2, "min": 4.9, "max": 46.6, "step": 0.5, "group": "Body", "label": "Flange height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331155 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 33.63, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 93.2, \"min\": 28.0, \"max\": 279.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 18.2, \"min\": 2.0, \"max\": 23.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 58.7, \"min\": 40.4, \"max\": 100.9, \"step\": 1.0, \"group\": 'Body', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 16.2, \"min\": 4.9, \"max\": 46.6, \"step\": 0.5, \"group\": 'Body', \"label\": 'Flange height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca5d4_2592", "family": "plate", "tier": 1, "seed": 1177331156, "symmetry": "none", "op_count": 2, "ir_hash": "5c65ebc5a45397c2", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 22100.0, "surface_area": 10600.0, "principal_moments": [5200000.0, 13199999.999999998, 18300000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 85 \u00d7 53.1 \u00d7 5 mm (W\u00d7D\u00d7H).", "Four \u00d85.3 mm holes at the corners, 59.5 \u00d7 37.17 mm spacing."], "text": "Rectangular body, 85 \u00d7 53.1 \u00d7 5 mm (W\u00d7D\u00d7H). Four \u00d85.3 mm holes at the corners, 59.5 \u00d7 37.17 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 85, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 53.1, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 5.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 11.9, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331156 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 85, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 53.1, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 5.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 11.9, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca5d5_2593", "family": "compound", "tier": 1, "seed": 1177331157, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "c2e6a5be1d450520", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 133000.0, "surface_area": 30700.0, "principal_moments": [151000000.0, 170000000.0, 170000000.0], "n_faces": 17, "n_edges": 42, "n_vertices": 28}, "dimensions": {"lines": ["Rectangular body, 94.55 \u00d7 106.1 \u00d7 10 mm (W\u00d7D\u00d7H).", "6-sided polygon section, 24.8 mm across corners attachment, 83.9 mm long, from top face.", "Four \u00d84.3 mm holes at the corners, 66.185 \u00d7 74.27 mm spacing."], "text": "Rectangular body, 94.55 \u00d7 106.1 \u00d7 10 mm (W\u00d7D\u00d7H). 6-sided polygon section, 24.8 mm across corners attachment, 83.9 mm long, from top face. Four \u00d84.3 mm holes at the corners, 66.185 \u00d7 74.27 mm spacing."}, "params": {"base_w": {"type": "float", "default": 94.55, "min": 30.0, "max": 160.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 106.1, "min": 25.0, "max": 160.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_h": {"type": "float", "default": 10.0, "min": 3.0, "max": 30.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "col_sides": {"type": "int", "default": 6, "min": 3, "max": 8, "step": 1, "group": "Column", "label": "Column sides"}, "col_r": {"type": "float", "default": 12.4, "min": 6.2, "max": 23.6, "step": 1.0, "group": "Column", "label": "Column circumradius (mm)"}, "col_h": {"type": "float", "default": 83.9, "min": 25.2, "max": 251.7, "step": 1.0, "group": "Column", "label": "Column height (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331157 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 94.55, \"min\": 30.0, \"max\": 160.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 106.1, \"min\": 25.0, \"max\": 160.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_h\": {\"type\": 'float', \"default\": 10.0, \"min\": 3.0, \"max\": 30.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"col_sides\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Column', \"label\": 'Column sides'},\n    \"col_r\": {\"type\": 'float', \"default\": 12.4, \"min\": 6.2, \"max\": 23.6, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column circumradius (mm)'},\n    \"col_h\": {\"type\": 'float', \"default\": 83.9, \"min\": 25.2, \"max\": 251.7, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_h\"])\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"col_sides\"], p[\"col_r\"] * 2).extrude(p[\"col_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"base_w\"] * 0.7, p[\"base_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462ca5d6_2594", "family": "threaded", "tier": 0, "seed": 1177331158, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "21b5817902c0cb5f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 150.0, "surface_area": 287.0, "principal_moments": [246.0, 2910.0, 2910.0], "n_faces": 220, "n_edges": 562, "n_vertices": 344}, "dimensions": {"lines": ["M4x0.7 external thread, 15 mm long."], "text": "M4x0.7 external thread, 15 mm long."}, "params": {"major_d": {"type": "float", "default": 4.0, "min": 4.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Major diameter (mm)"}, "pitch": {"type": "float", "default": 0.7, "min": 0.35, "max": 1.4, "step": 0.05, "group": "Thread", "label": "Pitch (mm)"}, "thread_len": {"type": "float", "default": 15.0, "min": 6.0, "max": 30.0, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331158 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 4.0, \"min\": 4.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Major diameter (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 0.7, \"min\": 0.35, \"max\": 1.4, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Pitch (mm)'},\n    \"thread_len\": {\"type\": 'float', \"default\": 15.0, \"min\": 6.0, \"max\": 30.0, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.IsoThread(major_diameter=p[\"major_d\"], pitch=p[\"pitch\"], length=p[\"thread_len\"], external=True, end_finishes=(\"fade\", \"fade\"))\n    _r = _thr.min_radius if hasattr(_thr, 'min_radius') else _thr.root_radius\n    _shank = _bd.Cylinder(radius=_r, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = _shank + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca5d7_2595", "family": "block", "tier": 1, "seed": 1177331159, "symmetry": "none", "op_count": 2, "ir_hash": "8881f63e7a204d8b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 6820.0, "surface_area": 3880.0, "principal_moments": [390000.0, 553000.0, 826000.0], "n_faces": 22, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 25 \u00d7 10.5 \u00d7 29.5 mm (W\u00d7D\u00d7H).", "Four 2.8 mm square holes at the corners, 17.5 \u00d7 7.35 mm spacing."], "text": "Rectangular body, 25 \u00d7 10.5 \u00d7 29.5 mm (W\u00d7D\u00d7H). Four 2.8 mm square holes at the corners, 17.5 \u00d7 7.35 mm spacing."}, "params": {"block_w": {"type": "float", "default": 25, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 10.5, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 29.5, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 2.8, "min": 2.0, "max": 3.1, "step": 0.5, "group": "Holes", "label": "Square hole size (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331159 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 25, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 10.5, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 29.5, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 2.8, \"min\": 2.0, \"max\": 3.1, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Square hole size (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().rect(p[\"hole_d\"], p[\"hole_d\"]).cutThruAll()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462ca5d8_2596", "family": "flanged", "tier": 3, "seed": 1177331160, "symmetry": "none", "op_count": 2, "ir_hash": "ef85c13406cb153c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 55500.0, "surface_area": 18200.0, "principal_moments": [23799999.999999996, 23799999.999999996, 26599999.999999996], "n_faces": 18, "n_edges": 45, "n_vertices": 30}, "dimensions": {"lines": ["Revolved body, \u00d837.4 mm \u00d7 43.6 mm tall with \u00d816.9 mm bore, \u00d880.7 mm \u00d7 5.2 mm flange.", "Twelve \u00d88.4 mm holes on a \u00d848.4 mm bolt circle."], "text": "Revolved body, \u00d837.4 mm \u00d7 43.6 mm tall with \u00d816.9 mm bore, \u00d880.7 mm \u00d7 5.2 mm flange. Twelve \u00d88.4 mm holes on a \u00d848.4 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 37.4, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 43.6, "min": 13.1, "max": 109.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 16.9, "min": 2.0, "max": 26.2, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 80.7, "min": 48.6, "max": 112.2, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 5.2, "min": 1.6, "max": 17.4, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 8.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 24.2, "min": 16.1, "max": 36.3, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 12, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331160 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 37.4, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 43.6, \"min\": 13.1, \"max\": 109.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 16.9, \"min\": 2.0, \"max\": 26.2, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 80.7, \"min\": 48.6, \"max\": 112.2, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 5.2, \"min\": 1.6, \"max\": 17.4, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 24.2, \"min\": 16.1, \"max\": 36.3, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 12, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca5d9_2597", "family": "bracket", "tier": 2, "seed": 1177331161, "symmetry": "none", "op_count": 1, "ir_hash": "384c0a102b3be379", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 32900.0, "surface_area": 18200.0, "principal_moments": [15099999.999999998, 27799999.999999996, 31599999.999999996], "n_faces": 15, "n_edges": 41, "n_vertices": 26}, "dimensions": {"lines": ["L-bracket: base leg 67.9 mm, vertical leg 66.4 mm, 60 mm wide, 4 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg; 3.5 mm corner gusset."], "text": "L-bracket: base leg 67.9 mm, vertical leg 66.4 mm, 60 mm wide, 4 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg; 3.5 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 67.9, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 66.4, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 60.0, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 4.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 3.5, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331161 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 67.9, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 66.4, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 60.0, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 3.5, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462ca5da_2598", "family": "sketched", "tier": 1, "seed": 1177331162, "symmetry": "none", "op_count": 2, "ir_hash": "9f3cee041513dbf3", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 16700.0, "surface_area": 4290.0, "principal_moments": [1530000.0, 2090000.0, 2610000.0], "n_faces": 8, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["freeform sketched section (5 segments: 1 straight, 4 curves), ~39.83 \u00d7 31.028 mm, extruded 19.05 mm thick.", "One \u00d86.4 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "freeform sketched section (5 segments: 1 straight, 4 curves), ~39.83 \u00d7 31.028 mm, extruded 19.05 mm thick. One \u00d86.4 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"sk_w": {"type": "float", "default": 50, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 40.38, "min": 20.2, "max": 72.7, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "sk_t": {"type": "float", "default": 19.05, "min": 7.6, "max": 41.9, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "sk_hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 12.8, "step": 0.5, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331162 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 50, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 40.38, \"min\": 20.2, \"max\": 72.7, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"sk_t\": {\"type\": 'float', \"default\": 19.05, \"min\": 7.6, \"max\": 41.9, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"sk_hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 12.8, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.4811, p[\"sk_h\"] * -0.0492).bezier([(p[\"sk_w\"] * 0.4811, p[\"sk_h\"] * -0.0492), (p[\"sk_w\"] * 0.2959, p[\"sk_h\"] * 0.221), (p[\"sk_w\"] * -0.0009, p[\"sk_h\"] * 0.3596)]).bezier([(p[\"sk_w\"] * -0.0009, p[\"sk_h\"] * 0.3596), (p[\"sk_w\"] * -0.1815, p[\"sk_h\"] * 0.2789), (p[\"sk_w\"] * -0.3155, p[\"sk_h\"] * 0.1334)]).lineTo(p[\"sk_w\"] * -0.2489, p[\"sk_h\"] * -0.4088).bezier([(p[\"sk_w\"] * -0.2489, p[\"sk_h\"] * -0.4088), (p[\"sk_w\"] * 0.0102, p[\"sk_h\"] * -0.4476), (p[\"sk_w\"] * 0.2631, p[\"sk_h\"] * -0.3791)]).spline([(p[\"sk_w\"] * 0.2631, p[\"sk_h\"] * -0.3791), (p[\"sk_w\"] * 0.3969, p[\"sk_h\"] * -0.2306), (p[\"sk_w\"] * 0.4811, p[\"sk_h\"] * -0.0492)]).close().extrude(p[\"sk_t\"]))\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"sk_hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca5db_2599", "family": "bracket", "tier": 2, "seed": 1177331163, "symmetry": "none", "op_count": 1, "ir_hash": "9c0b564fe6e62ac9", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 21800.0, "surface_area": 15600.0, "principal_moments": [7270000.0, 15499999.999999998, 19900000.0], "n_faces": 18, "n_edges": 48, "n_vertices": 32}, "dimensions": {"lines": ["Z-bracket: base leg 51.23 mm, vertical leg 39.5 mm, top leg 39.3 mm, 57.26 mm wide, 3 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg; 3.7 mm corner gusset."], "text": "Z-bracket: base leg 51.23 mm, vertical leg 39.5 mm, top leg 39.3 mm, 57.26 mm wide, 3 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg; 3.7 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 51.23, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 39.5, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 57.26, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 3.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 39.3, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}, "gusset_t": {"type": "float", "default": 3.7, "min": 1.5, "max": 9.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331163 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 51.23, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 39.5, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 57.26, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 39.3, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 3.7, \"min\": 1.5, \"max\": 9.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _tl, _vl) * 0.4 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(0, _vl - _bt).lineTo(-_g, _vl - _bt)\n                    .lineTo(0, _vl - _bt - _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca5dc_2600", "family": "plate", "tier": 0, "seed": 1177331164, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "20d3bd2a778cae42", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 2260.0, "surface_area": 1240.0, "principal_moments": [49800.0, 125000.0, 161000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 25 \u00d7 15.1 \u00d7 6 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 25 \u00d7 15.1 \u00d7 6 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 25, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 15.1, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 6.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331164 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 25, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 15.1, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca5dd_2601", "family": "compound", "tier": 2, "seed": 1177331165, "symmetry": "none", "op_count": 2, "ir_hash": "b646c9db343023cc", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 200000.0, "surface_area": 26300.0, "principal_moments": [83800000.0, 178000000.0, 178000000.0], "n_faces": 10, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["Lofted body through 3 sections: \u00d867 mm circular section \u2192 \u00d856.9 mm circular section \u2192 46.8 \u00d7 46.8 mm rectangular section.", "\u00d826.4 mm circular section attachment, 39.9 mm long, from top face with a \u00d811.8 mm bore."], "text": "Lofted body through 3 sections: \u00d867 mm circular section \u2192 \u00d856.9 mm circular section \u2192 46.8 \u00d7 46.8 mm rectangular section. \u00d826.4 mm circular section attachment, 39.9 mm long, from top face with a \u00d811.8 mm bore."}, "params": {"adapter_base": {"type": "float", "default": 67.0, "min": 40.2, "max": 100.5, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "adapter_top": {"type": "float", "default": 46.8, "min": 23.4, "max": 67.0, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "adapter_h": {"type": "float", "default": 71.7, "min": 28.7, "max": 143.4, "step": 1.0, "group": "Body", "label": "Transition height (mm)"}, "adapter_mid": {"type": "float", "default": 56.9, "min": 23.4, "max": 67.0, "step": 1.0, "group": "Body", "label": "Mid size (mm)"}, "neck_d": {"type": "float", "default": 26.4, "min": 10.6, "max": 46.8, "step": 1.0, "group": "Neck", "label": "Neck diameter (mm)"}, "neck_l": {"type": "float", "default": 39.9, "min": 16.0, "max": 99.8, "step": 1.0, "group": "Neck", "label": "Neck length (mm)"}, "neck_bore": {"type": "float", "default": 11.8, "min": 2.0, "max": 19.0, "step": 0.5, "group": "Neck", "label": "Neck bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331165 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"adapter_base\": {\"type\": 'float', \"default\": 67.0, \"min\": 40.2, \"max\": 100.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"adapter_top\": {\"type\": 'float', \"default\": 46.8, \"min\": 23.4, \"max\": 67.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"adapter_h\": {\"type\": 'float', \"default\": 71.7, \"min\": 28.7, \"max\": 143.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Transition height (mm)'},\n    \"adapter_mid\": {\"type\": 'float', \"default\": 56.9, \"min\": 23.4, \"max\": 67.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Mid size (mm)'},\n    \"neck_d\": {\"type\": 'float', \"default\": 26.4, \"min\": 10.6, \"max\": 46.8, \"step\": 1.0, \"group\": 'Neck', \"label\": 'Neck diameter (mm)'},\n    \"neck_l\": {\"type\": 'float', \"default\": 39.9, \"min\": 16.0, \"max\": 99.8, \"step\": 1.0, \"group\": 'Neck', \"label\": 'Neck length (mm)'},\n    \"neck_bore\": {\"type\": 'float', \"default\": 11.8, \"min\": 2.0, \"max\": 19.0, \"step\": 0.5, \"group\": 'Neck', \"label\": 'Neck bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .circle(p[\"adapter_base\"] / 2)\n        .workplane(offset=p[\"adapter_h\"] * 0.5)\n        .circle(p[\"adapter_mid\"] / 2)\n        .workplane(offset=p[\"adapter_h\"] * 0.5)\n        .rect(p[\"adapter_top\"], p[\"adapter_top\"])\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"neck_d\"] / 2).extrude(p[\"neck_l\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"neck_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462ca5de_2602", "family": "flanged", "tier": 1, "seed": 1177331166, "symmetry": "radial", "op_count": 2, "ir_hash": "a4fd6c70f4492513", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 678000.0, "surface_area": 83800.0, "principal_moments": [1300000000.0, 1300000000.0, 1550000000.0], "n_faces": 12, "n_edges": 27, "n_vertices": 18}, "dimensions": {"lines": ["Revolved body, \u00d885 mm \u00d7 89.1 mm tall with \u00d828.8 mm bore, \u00d8175.4 mm \u00d7 12.7 mm flange.", "Six \u00d88.4 mm holes on a \u00d8105.2 mm bolt circle."], "text": "Revolved body, \u00d885 mm \u00d7 89.1 mm tall with \u00d828.8 mm bore, \u00d8175.4 mm \u00d7 12.7 mm flange. Six \u00d88.4 mm holes on a \u00d8105.2 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 85, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 89.1, "min": 26.7, "max": 222.8, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 28.8, "min": 2.0, "max": 59.5, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 175.4, "min": 110.5, "max": 255.0, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 12.7, "min": 3.8, "max": 35.6, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 8.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 52.6, "min": 35.1, "max": 78.9, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 6, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331166 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 85, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 89.1, \"min\": 26.7, \"max\": 222.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 28.8, \"min\": 2.0, \"max\": 59.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 175.4, \"min\": 110.5, \"max\": 255.0, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 12.7, \"min\": 3.8, \"max\": 35.6, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 52.6, \"min\": 35.1, \"max\": 78.9, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca5df_2603", "family": "revolved", "tier": 1, "seed": 1177331167, "symmetry": "none", "op_count": 2, "ir_hash": "49822d9fd662ea5d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 177000.0, "surface_area": 34500.0, "principal_moments": [105000000.0, 253000000.0, 253000000.0], "n_faces": 10, "n_edges": 17, "n_vertices": 10}, "dimensions": {"lines": ["Revolved body, \u00d840.43 mm \u00d7 115 mm tall with \u00d824.1 mm bore, \u00d877.7 mm \u00d7 23.6 mm flange.", "Chamfer 0.4 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d840.43 mm \u00d7 115 mm tall with \u00d824.1 mm bore, \u00d877.7 mm \u00d7 23.6 mm flange. Chamfer 0.4 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 40.43, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 115.0, "min": 34.5, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 24.1, "min": 2.0, "max": 28.3, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 77.7, "min": 48.5, "max": 121.3, "step": 1.0, "group": "Body", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 23.6, "min": 7.1, "max": 57.5, "step": 0.5, "group": "Body", "label": "Flange height (mm)"}, "end_chamfer": {"type": "float", "default": 0.4, "min": 0.1, "max": 1.2, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331167 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 40.43, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 115.0, \"min\": 34.5, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 24.1, \"min\": 2.0, \"max\": 28.3, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 77.7, \"min\": 48.5, \"max\": 121.3, \"step\": 1.0, \"group\": 'Body', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 23.6, \"min\": 7.1, \"max\": 57.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Flange height (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.4, \"min\": 0.1, \"max\": 1.2, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462ca5e0_2604", "family": "enclosure", "tier": 2, "seed": 1177331168, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "c7f628192539377f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 60300.0, "surface_area": 30200.0, "principal_moments": [29799999.999999996, 66599999.99999999, 73000000.0], "n_faces": 19, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 90 \u00d7 46.9 \u00d7 44.2 mm (W\u00d7D\u00d7H).", "Hollowed to 4.5 mm wall thickness, open at top face.", "Four \u00d810.5 mm holes at the corners, 63 \u00d7 32.83 mm spacing."], "text": "Rectangular body, 90 \u00d7 46.9 \u00d7 44.2 mm (W\u00d7D\u00d7H). Hollowed to 4.5 mm wall thickness, open at top face. Four \u00d810.5 mm holes at the corners, 63 \u00d7 32.83 mm spacing."}, "params": {"enc_w": {"type": "float", "default": 90, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 46.9, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 44.2, "min": 17.7, "max": 88.4, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 4.5, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}, "hole_d": {"type": "float", "default": 10.5, "min": 2.0, "max": 10.6, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331168 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 90, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 46.9, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 44.2, \"min\": 17.7, \"max\": 88.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 4.5, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 10.5, \"min\": 2.0, \"max\": 10.6, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"enc_w\"] * 0.7, p[\"enc_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca5e1_2605", "family": "bracket", "tier": 1, "seed": 1177331169, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "e337bddcd7e353a6", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 48100.0, "surface_area": 16000.0, "principal_moments": [28699999.999999996, 43800000.0, 65199999.99999999], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["C-channel bracket: base leg 72.87 mm, vertical leg 72.1 mm, 30 mm wide, 8 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."], "text": "C-channel bracket: base leg 72.87 mm, vertical leg 72.1 mm, 30 mm wide, 8 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 72.87, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 72.1, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 30, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 8.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331169 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 72.87, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 72.1, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 30, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca5e2_2606", "family": "plate", "tier": 3, "seed": 1177331170, "symmetry": "none", "op_count": 4, "ir_hash": "f5fe0a3c82282db3", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 2020.0, "surface_area": 1520.0, "principal_moments": [39700.0, 134000.0, 136000.0], "n_faces": 20, "n_edges": 50, "n_vertices": 32}, "dimensions": {"lines": ["Rectangular body, 30 \u00d7 10.5 \u00d7 5 mm (W\u00d7D\u00d7H).", "Four \u00d82.1 mm holes at the corners, 21 \u00d7 7.35 mm spacing.", "Chamfer 0.5 mm on vertical edges.", "Boss \u00d811.1 mm \u00d7 7.2 mm tall on top face with a \u00d84.3 mm bore."], "text": "Rectangular body, 30 \u00d7 10.5 \u00d7 5 mm (W\u00d7D\u00d7H). Four \u00d82.1 mm holes at the corners, 21 \u00d7 7.35 mm spacing. Chamfer 0.5 mm on vertical edges. Boss \u00d811.1 mm \u00d7 7.2 mm tall on top face with a \u00d84.3 mm bore."}, "params": {"plate_w": {"type": "float", "default": 30, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 10.5, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 5.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 2.1, "min": 2.0, "max": 2.4, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "chamfer_d": {"type": "float", "default": 0.5, "min": 0.5, "max": 0.5, "step": 0.5, "group": "Body", "label": "Chamfer distance (mm)"}, "chamfered": {"type": "bool", "default": true, "group": "Body", "label": "Chamfer edges"}, "boss_d": {"type": "float", "default": 11.1, "min": 5.5, "max": 22.2, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 7.2, "min": 2.9, "max": 18.0, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}, "boss_bore_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 7.8, "step": 0.1, "group": "Boss", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331170 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 30, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 10.5, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 5.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 2.1, \"min\": 2.0, \"max\": 2.4, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"chamfer_d\": {\"type\": 'float', \"default\": 0.5, \"min\": 0.5, \"max\": 0.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Chamfer distance (mm)'},\n    \"chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Chamfer edges'},\n    \"boss_d\": {\"type\": 'float', \"default\": 11.1, \"min\": 5.5, \"max\": 22.2, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 7.2, \"min\": 2.9, \"max\": 18.0, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n    \"boss_bore_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 7.8, \"step\": 0.1, \"group\": 'Boss', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"chamfered\"]:\n        result = result.edges('|Z').chamfer(p[\"chamfer_d\"])\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .hole(p[\"boss_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca5e3_2607", "family": "bracket", "tier": 1, "seed": 1177331171, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "669faec769f274ef", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 17100.0, "surface_area": 7500.0, "principal_moments": [2180000.0, 10400000.0, 10700000.0], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Z-bracket: base leg 44.44 mm, vertical leg 51.9 mm, top leg 29.9 mm, 25.1 mm wide, 6 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."], "text": "Z-bracket: base leg 44.44 mm, vertical leg 51.9 mm, top leg 29.9 mm, 25.1 mm wide, 6 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 44.44, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 51.9, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 25.1, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 6.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 29.9, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331171 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 44.44, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 51.9, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 25.1, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 29.9, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca5e4_2608", "family": "revolved", "tier": 1, "seed": 1177331172, "symmetry": "none", "op_count": 1, "ir_hash": "b84c44c07d24ea1c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 443000.0, "surface_area": 53500.0, "principal_moments": [230000000.0, 1380000000.0, 1380000000.0], "n_faces": 4, "n_edges": 6, "n_vertices": 4}, "dimensions": {"lines": ["Revolved body, \u00d860 mm \u00d7 185.4 mm tall with \u00d823.6 mm bore."], "text": "Revolved body, \u00d860 mm \u00d7 185.4 mm tall with \u00d823.6 mm bore."}, "params": {"outer_d": {"type": "float", "default": 60, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 185.4, "min": 55.6, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 23.6, "min": 2.0, "max": 42.0, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331172 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 60, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 185.4, \"min\": 55.6, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 23.6, \"min\": 2.0, \"max\": 42.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca5e5_2609", "family": "compound", "tier": 1, "seed": 1177331173, "symmetry": "none", "op_count": 2, "ir_hash": "efa8ad1fbb8ca242", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 14000.0, "surface_area": 4350.0, "principal_moments": [1020000.0, 1960000.0, 1960000.0], "n_faces": 6, "n_edges": 9, "n_vertices": 6}, "dimensions": {"lines": ["\u00d824.27 mm circular section, extruded 28.7 mm thick.", "\u00d813.8 mm circular section attachment, 12.4 mm long, from top face with a \u00d85.8 mm bore."], "text": "\u00d824.27 mm circular section, extruded 28.7 mm thick. \u00d813.8 mm circular section attachment, 12.4 mm long, from top face with a \u00d85.8 mm bore."}, "params": {"shaft_d": {"type": "float", "default": 24.27, "min": 12.1, "max": 43.7, "step": 1.0, "group": "Body", "label": "Shaft diameter (mm)"}, "shaft_len": {"type": "float", "default": 28.7, "min": 11.5, "max": 57.4, "step": 1.0, "group": "Body", "label": "Shaft length (mm)"}, "step_d": {"type": "float", "default": 13.8, "min": 6.9, "max": 21.8, "step": 1.0, "group": "Step", "label": "Step diameter (mm)"}, "step_len": {"type": "float", "default": 12.4, "min": 3.7, "max": 31.0, "step": 1.0, "group": "Step", "label": "Step length (mm)"}, "axial_bore": {"type": "float", "default": 5.8, "min": 2.0, "max": 9.9, "step": 0.5, "group": "Bore", "label": "Axial bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331173 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"shaft_d\": {\"type\": 'float', \"default\": 24.27, \"min\": 12.1, \"max\": 43.7, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft diameter (mm)'},\n    \"shaft_len\": {\"type\": 'float', \"default\": 28.7, \"min\": 11.5, \"max\": 57.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft length (mm)'},\n    \"step_d\": {\"type\": 'float', \"default\": 13.8, \"min\": 6.9, \"max\": 21.8, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step diameter (mm)'},\n    \"step_len\": {\"type\": 'float', \"default\": 12.4, \"min\": 3.7, \"max\": 31.0, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step length (mm)'},\n    \"axial_bore\": {\"type\": 'float', \"default\": 5.8, \"min\": 2.0, \"max\": 9.9, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Axial bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').circle(p[\"shaft_d\"] / 2).extrude(p[\"shaft_len\"]))\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"step_d\"] / 2).extrude(p[\"step_len\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"axial_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462ca5e6_2610", "family": "profiled", "tier": 2, "seed": 1177331174, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "9b0bd273757f0ca1", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 373000.0, "surface_area": 76800.0, "principal_moments": [155000000.0, 2880000000.0, 2880000000.0], "n_faces": 4, "n_edges": 6, "n_vertices": 4}, "dimensions": {"lines": ["Revolved body, \u00d849.48 mm \u00d7 300 mm tall with \u00d829.4 mm bore."], "text": "Revolved body, \u00d849.48 mm \u00d7 300 mm tall with \u00d829.4 mm bore."}, "params": {"outer_d": {"type": "float", "default": 49.48, "min": 24.7, "max": 99.0, "step": 1.0, "group": "Profile", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 300.0, "min": 90.0, "max": 900.0, "step": 5.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 29.4, "min": 2.0, "max": 39.6, "step": 0.5, "group": "Profile", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331174 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 49.48, \"min\": 24.7, \"max\": 99.0, \"step\": 1.0, \"group\": 'Profile', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 300.0, \"min\": 90.0, \"max\": 900.0, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 29.4, \"min\": 2.0, \"max\": 39.6, \"step\": 0.5, \"group\": 'Profile', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462ca5e7_2611", "family": "lofted", "tier": 0, "seed": 1177331175, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "b573771e408b4801", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 83500.0, "surface_area": 11900.0, "principal_moments": [26299999.999999996, 26299999.999999996, 33900000.0], "n_faces": 7, "n_edges": 15, "n_vertices": 10}, "dimensions": {"lines": ["Lofted body through 2 sections: 61.43 \u00d7 61.43 mm rectangular section \u2192 \u00d832.1 mm circular section."], "text": "Lofted body through 2 sections: 61.43 \u00d7 61.43 mm rectangular section \u2192 \u00d832.1 mm circular section."}, "params": {"loft_base": {"type": "float", "default": 61.43, "min": 30.7, "max": 98.3, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 32.1, "min": 12.8, "max": 73.7, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 39.4, "min": 15.8, "max": 78.8, "step": 1.0, "group": "Body", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331175 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 61.43, \"min\": 30.7, \"max\": 98.3, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 32.1, \"min\": 12.8, \"max\": 73.7, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 39.4, \"min\": 15.8, \"max\": 78.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .rect(p[\"loft_base\"], p[\"loft_base\"])\n        .workplane(offset=p[\"loft_h\"])\n        .circle(p[\"loft_top\"] / 2)\n        .loft(combine=True)\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca5e8_2612", "family": "compound", "tier": 1, "seed": 1177331176, "symmetry": "mirror_xy", "op_count": 3, "ir_hash": "b1b1fcfc8aee0422", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 44500.0, "surface_area": 13700.0, "principal_moments": [19800000.0, 25399999.999999996, 27199999.999999996], "n_faces": 12, "n_edges": 27, "n_vertices": 18}, "dimensions": {"lines": ["Rectangular body, 60 \u00d7 66 \u00d7 8 mm (W\u00d7D\u00d7H).", "\u00d817.4 mm circular section attachment, 61.2 mm long, from top face.", "Four \u00d88.4 mm holes at the corners, 42 \u00d7 46.2 mm spacing."], "text": "Rectangular body, 60 \u00d7 66 \u00d7 8 mm (W\u00d7D\u00d7H). \u00d817.4 mm circular section attachment, 61.2 mm long, from top face. Four \u00d88.4 mm holes at the corners, 42 \u00d7 46.2 mm spacing."}, "params": {"base_w": {"type": "float", "default": 60, "min": 30.0, "max": 160.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 66.0, "min": 25.0, "max": 160.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_h": {"type": "float", "default": 8.0, "min": 3.0, "max": 30.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "col_d": {"type": "float", "default": 17.4, "min": 7.0, "max": 30.0, "step": 1.0, "group": "Column", "label": "Column diameter (mm)"}, "col_h": {"type": "float", "default": 61.2, "min": 18.4, "max": 183.6, "step": 1.0, "group": "Column", "label": "Column height (mm)"}, "hole_d": {"type": "float", "default": 8.4, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331176 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 60, \"min\": 30.0, \"max\": 160.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 66.0, \"min\": 25.0, \"max\": 160.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_h\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 30.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"col_d\": {\"type\": 'float', \"default\": 17.4, \"min\": 7.0, \"max\": 30.0, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column diameter (mm)'},\n    \"col_h\": {\"type\": 'float', \"default\": 61.2, \"min\": 18.4, \"max\": 183.6, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_h\"])\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"col_d\"] / 2).extrude(p[\"col_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"base_w\"] * 0.7, p[\"base_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462ca5e9_2613", "family": "threaded", "tier": 0, "seed": 1177331177, "symmetry": "none", "op_count": 1, "ir_hash": "a8ac3f9b2ba466c7", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 2710.0, "surface_area": 1750.0, "principal_moments": [41000.0, 206000.0, 206000.0], "n_faces": 170, "n_edges": 432, "n_vertices": 264}, "dimensions": {"lines": ["M12x1.75 external thread, 28.9 mm long."], "text": "M12x1.75 external thread, 28.9 mm long."}, "params": {"major_d": {"type": "float", "default": 12.0, "min": 4.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Major diameter (mm)"}, "pitch": {"type": "float", "default": 1.75, "min": 0.88, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Pitch (mm)"}, "thread_len": {"type": "float", "default": 28.9, "min": 11.6, "max": 57.8, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331177 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 12.0, \"min\": 4.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Major diameter (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.75, \"min\": 0.88, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Pitch (mm)'},\n    \"thread_len\": {\"type\": 'float', \"default\": 28.9, \"min\": 11.6, \"max\": 57.8, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.IsoThread(major_diameter=p[\"major_d\"], pitch=p[\"pitch\"], length=p[\"thread_len\"], external=True, end_finishes=(\"fade\", \"fade\"))\n    _r = _thr.min_radius if hasattr(_thr, 'min_radius') else _thr.root_radius\n    _shank = _bd.Cylinder(radius=_r, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = _shank + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca5eb_2615", "family": "plate", "tier": 2, "seed": 1177331179, "symmetry": "radial", "op_count": 3, "ir_hash": "5222708808536f47", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 4700.0, "surface_area": 2490.0, "principal_moments": [133000.0, 736000.0, 819000.0], "n_faces": 28, "n_edges": 78, "n_vertices": 52}, "dimensions": {"lines": ["Rectangular body, 42.08 \u00d7 16.8 \u00d7 8 mm (W\u00d7D\u00d7H).", "Eight \u00d86.4 mm holes on a \u00d825.2 mm bolt circle.", "Fillet radius 1.445 mm on vertical edges."], "text": "Rectangular body, 42.08 \u00d7 16.8 \u00d7 8 mm (W\u00d7D\u00d7H). Eight \u00d86.4 mm holes on a \u00d825.2 mm bolt circle. Fillet radius 1.445 mm on vertical edges."}, "params": {"plate_w": {"type": "float", "default": 42.08, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 16.8, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "bolt_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 12.6, "min": 8.4, "max": 18.9, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 8, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331179 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 42.08, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 16.8, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 12.6, \"min\": 8.4, \"max\": 18.9, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"plate_w\"], p[\"plate_d\"]) * 0.08601033239692155)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462ca5ec_2616", "family": "enclosure", "tier": 1, "seed": 1177331180, "symmetry": "none", "op_count": 2, "ir_hash": "e28ec7fb7fbffa74", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 41900.0, "surface_area": 26800.0, "principal_moments": [20300000.0, 30699999.999999996, 39300000.0], "n_faces": 11, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 72.32 \u00d7 30.5 \u00d7 59.6 mm (W\u00d7D\u00d7H).", "Hollowed to 3.2 mm wall thickness, open at top face."], "text": "Rectangular body, 72.32 \u00d7 30.5 \u00d7 59.6 mm (W\u00d7D\u00d7H). Hollowed to 3.2 mm wall thickness, open at top face."}, "params": {"enc_w": {"type": "float", "default": 72.32, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 30.5, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 59.6, "min": 23.8, "max": 119.2, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 3.2, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331180 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 72.32, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 30.5, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 59.6, \"min\": 23.8, \"max\": 119.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462ca5ed_2617", "family": "enclosure", "tier": 2, "seed": 1177331181, "symmetry": "mirror_xy", "op_count": 4, "ir_hash": "d109504cb067577b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 44700.0, "surface_area": 23900.0, "principal_moments": [21000000.0, 34800000.0, 37900000.0], "n_faces": 23, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 70 \u00d7 44.5 \u00d7 44.8 mm (W\u00d7D\u00d7H).", "Hollowed to 3.8 mm wall thickness, open at top face.", "Four \u00d85.3 mm holes at the corners, 49 \u00d7 31.15 mm spacing.", "Fillet radius 5.215 mm on vertical edges."], "text": "Rectangular body, 70 \u00d7 44.5 \u00d7 44.8 mm (W\u00d7D\u00d7H). Hollowed to 3.8 mm wall thickness, open at top face. Four \u00d85.3 mm holes at the corners, 49 \u00d7 31.15 mm spacing. Fillet radius 5.215 mm on vertical edges."}, "params": {"enc_w": {"type": "float", "default": 70, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 44.5, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 44.8, "min": 17.9, "max": 89.6, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 3.8, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331181 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 70, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 44.5, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 44.8, \"min\": 17.9, \"max\": 89.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 3.8, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"enc_w\"] * 0.7, p[\"enc_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"enc_w\"], p[\"enc_d\"]) * 0.11718705989226419)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca5ef_2619", "family": "bracket", "tier": 2, "seed": 1177331183, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "4ae68d6a3a902168", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 28200.0, "surface_area": 15700.0, "principal_moments": [11300000.0, 27399999.999999996, 31399999.999999996], "n_faces": 19, "n_edges": 51, "n_vertices": 34}, "dimensions": {"lines": ["C-channel bracket: base leg 71.98 mm, vertical leg 52.5 mm, 40.09 mm wide, 4 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg; 5.9 mm corner gusset."], "text": "C-channel bracket: base leg 71.98 mm, vertical leg 52.5 mm, 40.09 mm wide, 4 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg; 5.9 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 71.98, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 52.5, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 40.09, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 4.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 5.9, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331183 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 71.98, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 52.5, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 40.09, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 5.9, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl / 2, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bl - _bt, _bt).lineTo(_bl - _bt - _g, _bt)\n                    .lineTo(_bl - _bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462ca5f0_2620", "family": "sketched", "tier": 2, "seed": 1177331184, "symmetry": "mirror_xy", "op_count": 3, "ir_hash": "0f9c660498ad8b80", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 24800.0, "surface_area": 6160.0, "principal_moments": [2340000.0, 5650000.0, 6000000.0], "n_faces": 12, "n_edges": 27, "n_vertices": 18}, "dimensions": {"lines": ["freeform sketched section (7 segments: 3 straight, 3 arcs, 1 curve), ~31.04 \u00d7 57.472 mm, extruded 18.05 mm thick.", "One \u00d85.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch.", "Boss \u00d824 mm \u00d7 7.1 mm tall on top face with a \u00d88.4 mm bore."], "text": "freeform sketched section (7 segments: 3 straight, 3 arcs, 1 curve), ~31.04 \u00d7 57.472 mm, extruded 18.05 mm thick. One \u00d85.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch. Boss \u00d824 mm \u00d7 7.1 mm tall on top face with a \u00d88.4 mm bore."}, "params": {"sk_w": {"type": "float", "default": 40.0, "min": 20.0, "max": 72.0, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 75.76, "min": 37.9, "max": 136.4, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "sk_t": {"type": "float", "default": 18.05, "min": 7.2, "max": 39.7, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "sk_hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 10.6, "step": 0.5, "group": "Holes", "label": "Hole diameter (mm)"}, "boss_d": {"type": "float", "default": 24.0, "min": 12.0, "max": 48.0, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 7.1, "min": 2.8, "max": 17.8, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}, "boss_bore_d": {"type": "float", "default": 8.4, "min": 2.0, "max": 16.8, "step": 0.1, "group": "Boss", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331184 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 40.0, \"min\": 20.0, \"max\": 72.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 75.76, \"min\": 37.9, \"max\": 136.4, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"sk_t\": {\"type\": 'float', \"default\": 18.05, \"min\": 7.2, \"max\": 39.7, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"sk_hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 10.6, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"boss_d\": {\"type\": 'float', \"default\": 24.0, \"min\": 12.0, \"max\": 48.0, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 7.1, \"min\": 2.8, \"max\": 17.8, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n    \"boss_bore_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 2.0, \"max\": 16.8, \"step\": 0.1, \"group\": 'Boss', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.3312, p[\"sk_h\"] * 0.0163).lineTo(p[\"sk_w\"] * 0.139, p[\"sk_h\"] * 0.3551).threePointArc((p[\"sk_w\"] * 0.0213, p[\"sk_h\"] * 0.3984), (p[\"sk_w\"] * -0.1009, p[\"sk_h\"] * 0.4034)).lineTo(p[\"sk_w\"] * -0.4448, p[\"sk_h\"] * 0.1859).threePointArc((p[\"sk_w\"] * -0.4172, p[\"sk_h\"] * 0.0169), (p[\"sk_w\"] * -0.3433, p[\"sk_h\"] * -0.1504)).bezier([(p[\"sk_w\"] * -0.3433, p[\"sk_h\"] * -0.1504), (p[\"sk_w\"] * -0.2018, p[\"sk_h\"] * -0.3031), (p[\"sk_w\"] * -0.0003, p[\"sk_h\"] * -0.3552)]).threePointArc((p[\"sk_w\"] * 0.1422, p[\"sk_h\"] * -0.321), (p[\"sk_w\"] * 0.2639, p[\"sk_h\"] * -0.2422)).lineTo(p[\"sk_w\"] * 0.3312, p[\"sk_h\"] * 0.0163).close().extrude(p[\"sk_t\"]))\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"sk_hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .hole(p[\"boss_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462ca5f1_2621", "family": "enclosure", "tier": 1, "seed": 1177331185, "symmetry": "none", "op_count": 2, "ir_hash": "81cf7fce4348f643", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 68900.0, "surface_area": 50200.0, "principal_moments": [69100000.0, 115000000.0, 141000000.0], "n_faces": 11, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 104.38 \u00d7 69.2 \u00d7 54.5 mm (W\u00d7D\u00d7H).", "Hollowed to 2.8 mm wall thickness, open at top face."], "text": "Rectangular body, 104.38 \u00d7 69.2 \u00d7 54.5 mm (W\u00d7D\u00d7H). Hollowed to 2.8 mm wall thickness, open at top face."}, "params": {"enc_w": {"type": "float", "default": 104.38, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 69.2, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 54.5, "min": 21.8, "max": 109.0, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 2.8, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331185 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 104.38, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 69.2, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 54.5, \"min\": 21.8, \"max\": 109.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 2.8, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462ca5f2_2622", "family": "gear", "tier": 1, "seed": 1177331186, "symmetry": "none", "op_count": 1, "ir_hash": "824416de62f90482", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 74900.0, "surface_area": 18900.0, "principal_moments": [36600000.0, 36600000.0, 70700000.0], "n_faces": 207, "n_edges": 615, "n_vertices": 410}, "dimensions": {"lines": ["Spur gear, module 2.5 mm, 34 teeth (pitch \u00d885 mm), face width 13.9 mm, \u00d817.5 mm bore."], "text": "Spur gear, module 2.5 mm, 34 teeth (pitch \u00d885 mm), face width 13.9 mm, \u00d817.5 mm bore."}, "params": {"module": {"type": "float", "default": 2.5, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 34, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 13.9, "min": 5.6, "max": 34.8, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "bore_d": {"type": "float", "default": 17.5, "min": 2.0, "max": 47.2, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331186 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 2.5, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 34, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 13.9, \"min\": 5.6, \"max\": 34.8, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 17.5, \"min\": 2.0, \"max\": 47.2, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca5f3_2623", "family": "compound", "tier": 2, "seed": 1177331187, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "3eea838265af4079", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 128000.0, "surface_area": 16700.0, "principal_moments": [25699999.999999996, 135000000.0, 135000000.0], "n_faces": 12, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["\u00d842.25 mm circular section, extruded 79.4 mm thick.", "\u00d821 mm circular section attachment, 39.8 mm long, from top face.", "6-sided polygon section, 17.2 mm across corners attachment, 14.9 mm long, from top face."], "text": "\u00d842.25 mm circular section, extruded 79.4 mm thick. \u00d821 mm circular section attachment, 39.8 mm long, from top face. 6-sided polygon section, 17.2 mm across corners attachment, 14.9 mm long, from top face."}, "params": {"shaft_d": {"type": "float", "default": 42.25, "min": 21.1, "max": 76.0, "step": 1.0, "group": "Body", "label": "Shaft diameter (mm)"}, "shaft_len": {"type": "float", "default": 79.4, "min": 31.8, "max": 158.8, "step": 1.0, "group": "Body", "label": "Shaft length (mm)"}, "step_d": {"type": "float", "default": 21.0, "min": 10.5, "max": 38.0, "step": 1.0, "group": "Step", "label": "Step diameter (mm)"}, "step_len": {"type": "float", "default": 39.8, "min": 11.9, "max": 99.5, "step": 1.0, "group": "Step", "label": "Step length (mm)"}, "head_sides": {"type": "int", "default": 6, "min": 3, "max": 8, "step": 1, "group": "Head", "label": "Drive head sides"}, "head_r": {"type": "float", "default": 8.6, "min": 5.2, "max": 10.1, "step": 1.0, "group": "Head", "label": "Drive head circumradius (mm)"}, "head_len": {"type": "float", "default": 14.9, "min": 4.5, "max": 29.8, "step": 1.0, "group": "Head", "label": "Drive head length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331187 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"shaft_d\": {\"type\": 'float', \"default\": 42.25, \"min\": 21.1, \"max\": 76.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft diameter (mm)'},\n    \"shaft_len\": {\"type\": 'float', \"default\": 79.4, \"min\": 31.8, \"max\": 158.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft length (mm)'},\n    \"step_d\": {\"type\": 'float', \"default\": 21.0, \"min\": 10.5, \"max\": 38.0, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step diameter (mm)'},\n    \"step_len\": {\"type\": 'float', \"default\": 39.8, \"min\": 11.9, \"max\": 99.5, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step length (mm)'},\n    \"head_sides\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Head', \"label\": 'Drive head sides'},\n    \"head_r\": {\"type\": 'float', \"default\": 8.6, \"min\": 5.2, \"max\": 10.1, \"step\": 1.0, \"group\": 'Head', \"label\": 'Drive head circumradius (mm)'},\n    \"head_len\": {\"type\": 'float', \"default\": 14.9, \"min\": 4.5, \"max\": 29.8, \"step\": 1.0, \"group\": 'Head', \"label\": 'Drive head length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').circle(p[\"shaft_d\"] / 2).extrude(p[\"shaft_len\"]))\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"step_d\"] / 2).extrude(p[\"step_len\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"head_sides\"], p[\"head_r\"] * 2).extrude(p[\"head_len\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca5f4_2624", "family": "revolved", "tier": 0, "seed": 1177331188, "symmetry": "none", "op_count": 1, "ir_hash": "64f16eaa4a989fc9", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 13300.0, "surface_area": 5530.0, "principal_moments": [2450000.0, 2450000.0, 4720000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d848.57 mm \u00d7 10.8 mm tall."], "text": "Revolved body, \u00d848.57 mm \u00d7 10.8 mm tall."}, "params": {"outer_d": {"type": "float", "default": 48.57, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 10.8, "min": 3.2, "max": 32.4, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331188 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 48.57, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 10.8, \"min\": 3.2, \"max\": 32.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462ca5f5_2625", "family": "tapped", "tier": 1, "seed": 1177331189, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "203e88822b26f991", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 107000.0, "surface_area": 20100.0, "principal_moments": [50299999.99999999, 64599999.99999999, 109000000.0], "n_faces": 470, "n_edges": 1284, "n_vertices": 816}, "dimensions": {"lines": ["Four M8x1.25 tapped holes in a plate."], "text": "Four M8x1.25 tapped holes in a plate."}, "params": {"major_d": {"type": "float", "default": 8.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 1.25, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 18.0, "min": 9.6, "max": 32.4, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "plate_w": {"type": "float", "default": 83.42, "min": 50.1, "max": 133.5, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 73.1, "min": 43.9, "max": 117.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331189 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.25, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 18.0, \"min\": 9.6, \"max\": 32.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"plate_w\": {\"type\": 'float', \"default\": 83.42, \"min\": 50.1, \"max\": 133.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 73.1, \"min\": 43.9, \"max\": 117.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n}\n\n\ndef build(p):\n\n    _W, _D, _H = p[\"plate_w\"], p[\"plate_d\"], p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Box(_W, _D, _H)\n    _sx, _sy = p[\"plate_w\"] * 0.6, p[\"plate_d\"] * 0.6\n    _locs = [(_xx, _yy) for _xx in (-_sx / 2, _sx / 2) for _yy in (-_sy / 2, _sy / 2)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca5f6_2626", "family": "revolved", "tier": 2, "seed": 1177331190, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "3b0ffd6269a643df", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 105000.0, "surface_area": 27200.0, "principal_moments": [65099999.99999999, 65099999.99999999, 113000000.0], "n_faces": 14, "n_edges": 23, "n_vertices": 14}, "dimensions": {"lines": ["Revolved body, \u00d855.3 mm \u00d7 30.7 mm tall with \u00d823.5 mm bore, \u00d8110.3 mm \u00d7 6.4 mm flange, 3.14 mm-wide groove 2.14 mm deep.", "Chamfer 1 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d855.3 mm \u00d7 30.7 mm tall with \u00d823.5 mm bore, \u00d8110.3 mm \u00d7 6.4 mm flange, 3.14 mm-wide groove 2.14 mm deep. Chamfer 1 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 55.3, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 30.7, "min": 9.2, "max": 92.1, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 23.5, "min": 2.0, "max": 38.7, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 110.3, "min": 66.4, "max": 165.9, "step": 1.0, "group": "Body", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 6.4, "min": 1.9, "max": 15.3, "step": 0.5, "group": "Body", "label": "Flange height (mm)"}, "groove_depth": {"type": "float", "default": 2.14, "min": 0.86, "max": 6.42, "step": 0.1, "group": "Body", "label": "Groove depth (mm)"}, "groove_w": {"type": "float", "default": 3.14, "min": 1.26, "max": 9.42, "step": 0.2, "group": "Body", "label": "Groove width (mm)"}, "groove_pos": {"type": "float", "default": 18.2, "min": 4.6, "max": 26.1, "step": 1.0, "group": "Body", "label": "Groove position (mm)"}, "end_chamfer": {"type": "float", "default": 1.0, "min": 0.1, "max": 3.0, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331190 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 55.3, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 30.7, \"min\": 9.2, \"max\": 92.1, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 23.5, \"min\": 2.0, \"max\": 38.7, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 110.3, \"min\": 66.4, \"max\": 165.9, \"step\": 1.0, \"group\": 'Body', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 6.4, \"min\": 1.9, \"max\": 15.3, \"step\": 0.5, \"group\": 'Body', \"label\": 'Flange height (mm)'},\n    \"groove_depth\": {\"type\": 'float', \"default\": 2.14, \"min\": 0.86, \"max\": 6.42, \"step\": 0.1, \"group\": 'Body', \"label\": 'Groove depth (mm)'},\n    \"groove_w\": {\"type\": 'float', \"default\": 3.14, \"min\": 1.26, \"max\": 9.42, \"step\": 0.2, \"group\": 'Body', \"label\": 'Groove width (mm)'},\n    \"groove_pos\": {\"type\": 'float', \"default\": 18.2, \"min\": 4.6, \"max\": 26.1, \"step\": 1.0, \"group\": 'Body', \"label\": 'Groove position (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 1.0, \"min\": 0.1, \"max\": 3.0, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"groove_pos\"] - p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2 - p[\"groove_depth\"], p[\"groove_pos\"] - p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2 - p[\"groove_depth\"], p[\"groove_pos\"] + p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2, p[\"groove_pos\"] + p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca5f7_2627", "family": "bracket", "tier": 2, "seed": 1177331191, "symmetry": "none", "op_count": 1, "ir_hash": "cd8f1e4b8957acd4", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 52400.0, "surface_area": 16600.0, "principal_moments": [14299999.999999998, 89700000.0, 96199999.99999999], "n_faces": 18, "n_edges": 48, "n_vertices": 32}, "dimensions": {"lines": ["Z-bracket: base leg 70 mm, vertical leg 83 mm, top leg 64.4 mm, 30.66 mm wide, 8 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg; 10.7 mm corner gusset."], "text": "Z-bracket: base leg 70 mm, vertical leg 83 mm, top leg 64.4 mm, 30.66 mm wide, 8 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg; 10.7 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 70, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 83.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 30.66, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 8.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 64.4, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}, "gusset_t": {"type": "float", "default": 10.7, "min": 4.0, "max": 15.3, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331191 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 70, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 83.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 30.66, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 64.4, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 10.7, \"min\": 4.0, \"max\": 15.3, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _tl, _vl) * 0.4 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(0, _vl - _bt).lineTo(-_g, _vl - _bt)\n                    .lineTo(0, _vl - _bt - _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462ca5f8_2628", "family": "enclosure", "tier": 3, "seed": 1177331192, "symmetry": "none", "op_count": 3, "ir_hash": "1d4adeb262307f11", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 127000.0, "surface_area": 63600.0, "principal_moments": [207000000.0, 219000000.0, 340000000.0], "n_faces": 15, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 103.72 \u00d7 99.4 \u00d7 57 mm (W\u00d7D\u00d7H).", "Hollowed to 4.1 mm wall thickness, open at top face.", "Four \u00d84.3 mm holes at the corners, 72.604 \u00d7 69.58 mm spacing."], "text": "Rectangular body, 103.72 \u00d7 99.4 \u00d7 57 mm (W\u00d7D\u00d7H). Hollowed to 4.1 mm wall thickness, open at top face. Four \u00d84.3 mm holes at the corners, 72.604 \u00d7 69.58 mm spacing."}, "params": {"enc_w": {"type": "float", "default": 103.72, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 99.4, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 57.0, "min": 22.8, "max": 114.0, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 4.1, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331192 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 103.72, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 99.4, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 57.0, \"min\": 22.8, \"max\": 114.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 4.1, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"enc_w\"] * 0.7, p[\"enc_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462ca5f9_2629", "family": "lofted", "tier": 1, "seed": 1177331193, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "d5c69baba6336ab4", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 28800.0, "surface_area": 6960.0, "principal_moments": [5090000.0, 5090000.0, 5620000.0], "n_faces": 9, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["Lofted body through 2 sections: 6-sided polygon section, 50 mm across corners \u2192 \u00d824.2 mm circular section.", "One \u00d811.8 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 2 sections: 6-sided polygon section, 50 mm across corners \u2192 \u00d824.2 mm circular section. One \u00d811.8 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 50, "min": 25.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 24.2, "min": 9.7, "max": 60.0, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 32.9, "min": 13.2, "max": 65.8, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_bore_d": {"type": "float", "default": 11.8, "min": 2.0, "max": 19.4, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331193 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 50, \"min\": 25.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 24.2, \"min\": 9.7, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 32.9, \"min\": 13.2, \"max\": 65.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 11.8, \"min\": 2.0, \"max\": 19.4, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .polygon(6, p[\"loft_base\"] * 0.5 * 2)\n        .workplane(offset=p[\"loft_h\"])\n        .circle(p[\"loft_top\"] / 2)\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462ca5fa_2630", "family": "enclosure", "tier": 1, "seed": 1177331194, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "34a15082bc0fdef1", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 16000.0, "surface_area": 9450.0, "principal_moments": [3900000.0, 3920000.0, 6320000.0], "n_faces": 11, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 40.98 \u00d7 40.8 \u00d7 22.1 mm (W\u00d7D\u00d7H).", "Hollowed to 3.6 mm wall thickness, open at top face."], "text": "Rectangular body, 40.98 \u00d7 40.8 \u00d7 22.1 mm (W\u00d7D\u00d7H). Hollowed to 3.6 mm wall thickness, open at top face."}, "params": {"enc_w": {"type": "float", "default": 40.98, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 40.8, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 22.1, "min": 8.8, "max": 44.2, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 3.6, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331194 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 40.98, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 40.8, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 22.1, \"min\": 8.8, \"max\": 44.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 3.6, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca5fb_2631", "family": "compound", "tier": 2, "seed": 1177331195, "symmetry": "none", "op_count": 4, "ir_hash": "c2e6dc875165d46c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 224000.0, "surface_area": 26600.0, "principal_moments": [122000000.0, 145000000.0, 183000000.0], "n_faces": 22, "n_edges": 66, "n_vertices": 44}, "dimensions": {"lines": ["Rectangular body, 64.97 \u00d7 45.4 \u00d7 75.1 mm (W\u00d7D\u00d7H).", "52.6 \u00d7 53.2 mm rectangular section attachment, 5 mm long, from back face.", "Four \u00d84.3 mm holes at the corners, 31.56 \u00d7 31.92 mm spacing on the >Y face.", "Pocket 28.2 \u00d7 20.7 mm, 33.5 mm deep, in top face."], "text": "Rectangular body, 64.97 \u00d7 45.4 \u00d7 75.1 mm (W\u00d7D\u00d7H). 52.6 \u00d7 53.2 mm rectangular section attachment, 5 mm long, from back face. Four \u00d84.3 mm holes at the corners, 31.56 \u00d7 31.92 mm spacing on the >Y face. Pocket 28.2 \u00d7 20.7 mm, 33.5 mm deep, in top face."}, "params": {"block_w": {"type": "float", "default": 64.97, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 45.4, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 75.1, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "tab_a": {"type": "float", "default": 52.6, "min": 21.0, "max": 84.2, "step": 1.0, "group": "Tab", "label": "Tab width (mm)"}, "tab_b": {"type": "float", "default": 53.2, "min": 21.3, "max": 85.1, "step": 1.0, "group": "Tab", "label": "Tab height (mm)"}, "tab_t": {"type": "float", "default": 5.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Tab", "label": "Tab thickness (mm)"}, "tab_hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 11.6, "step": 0.1, "group": "Tab", "label": "Tab hole diameter (mm)"}, "pocket_w": {"type": "float", "default": 28.2, "min": 14.1, "max": 52.0, "step": 1.0, "group": "Pocket", "label": "Pocket width (mm)"}, "pocket_d": {"type": "float", "default": 20.7, "min": 10.3, "max": 36.3, "step": 1.0, "group": "Pocket", "label": "Pocket depth (mm)"}, "pocket_h": {"type": "float", "default": 33.5, "min": 13.4, "max": 63.8, "step": 0.5, "group": "Pocket", "label": "Pocket height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331195 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 64.97, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 45.4, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 75.1, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"tab_a\": {\"type\": 'float', \"default\": 52.6, \"min\": 21.0, \"max\": 84.2, \"step\": 1.0, \"group\": 'Tab', \"label\": 'Tab width (mm)'},\n    \"tab_b\": {\"type\": 'float', \"default\": 53.2, \"min\": 21.3, \"max\": 85.1, \"step\": 1.0, \"group\": 'Tab', \"label\": 'Tab height (mm)'},\n    \"tab_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Tab', \"label\": 'Tab thickness (mm)'},\n    \"tab_hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 11.6, \"step\": 0.1, \"group\": 'Tab', \"label\": 'Tab hole diameter (mm)'},\n    \"pocket_w\": {\"type\": 'float', \"default\": 28.2, \"min\": 14.1, \"max\": 52.0, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket width (mm)'},\n    \"pocket_d\": {\"type\": 'float', \"default\": 20.7, \"min\": 10.3, \"max\": 36.3, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket depth (mm)'},\n    \"pocket_h\": {\"type\": 'float', \"default\": 33.5, \"min\": 13.4, \"max\": 63.8, \"step\": 0.5, \"group\": 'Pocket', \"label\": 'Pocket height (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .rect(p[\"tab_a\"], p[\"tab_b\"]).extrude(p[\"tab_t\"])\n    )\n    result = (\n        result.faces('>Y').workplane()\n        .rect(p[\"tab_a\"] * 0.6, p[\"tab_b\"] * 0.6, forConstruction=True)\n        .vertices().hole(p[\"tab_hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"pocket_w\"], p[\"pocket_d\"])\n        .cutBlind(-p[\"pocket_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca5fc_2632", "family": "bracket", "tier": 1, "seed": 1177331196, "symmetry": "none", "op_count": 1, "ir_hash": "640bd51f0e926c2f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 18000.0, "surface_area": 13200.0, "principal_moments": [5920000.0, 12899999.999999998, 13699999.999999998], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["C-channel bracket: base leg 59.84 mm, vertical leg 37.6 mm, 47.05 mm wide, 3 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."], "text": "C-channel bracket: base leg 59.84 mm, vertical leg 37.6 mm, 47.05 mm wide, 3 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 59.84, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 37.6, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 47.05, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 3.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331196 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 59.84, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 37.6, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 47.05, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca5fd_2633", "family": "bracket", "tier": 3, "seed": 1177331197, "symmetry": "none", "op_count": 1, "ir_hash": "94dbc62b6fca7b58", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 23800.0, "surface_area": 13500.0, "principal_moments": [7960000.0, 14999999.999999998, 15899999.999999998], "n_faces": 19, "n_edges": 51, "n_vertices": 34}, "dimensions": {"lines": ["C-channel bracket: base leg 55.33 mm, vertical leg 38.9 mm, 47.29 mm wide, 4 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg; 3.4 mm corner gusset."], "text": "C-channel bracket: base leg 55.33 mm, vertical leg 38.9 mm, 47.29 mm wide, 4 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg; 3.4 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 55.33, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 38.9, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 47.29, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 4.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 3.4, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331197 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 55.33, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 38.9, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 47.29, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 3.4, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl / 2, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bl - _bt, _bt).lineTo(_bl - _bt - _g, _bt)\n                    .lineTo(_bl - _bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462ca5fe_2634", "family": "flanged", "tier": 2, "seed": 1177331198, "symmetry": "none", "op_count": 2, "ir_hash": "ee7cc9cf926acc6f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 625000.0, "surface_area": 81000.0, "principal_moments": [1150000000.0, 1150000000.0, 1890000000.0], "n_faces": 14, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["Revolved body, \u00d895 mm \u00d7 61.6 mm tall with \u00d841 mm bore, \u00d8180.2 mm \u00d7 15 mm flange.", "Eight \u00d88.4 mm holes on a \u00d8108.2 mm bolt circle."], "text": "Revolved body, \u00d895 mm \u00d7 61.6 mm tall with \u00d841 mm bore, \u00d8180.2 mm \u00d7 15 mm flange. Eight \u00d88.4 mm holes on a \u00d8108.2 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 95, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 61.6, "min": 18.5, "max": 154.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 41.0, "min": 2.0, "max": 66.5, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 180.2, "min": 123.5, "max": 285.0, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 15.0, "min": 4.5, "max": 24.6, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 8.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 54.1, "min": 36.0, "max": 81.1, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 8, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331198 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 95, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 61.6, \"min\": 18.5, \"max\": 154.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 41.0, \"min\": 2.0, \"max\": 66.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 180.2, \"min\": 123.5, \"max\": 285.0, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 15.0, \"min\": 4.5, \"max\": 24.6, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 54.1, \"min\": 36.0, \"max\": 81.1, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca5ff_2635", "family": "bracket", "tier": 2, "seed": 1177331199, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "c60768c9b8f4989d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 9330.0, "surface_area": 5980.0, "principal_moments": [1840000.0, 6360000.0, 7880000.0], "n_faces": 19, "n_edges": 51, "n_vertices": 34}, "dimensions": {"lines": ["C-channel bracket: base leg 65 mm, vertical leg 44 mm, 15 mm wide, 4 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg; 5.3 mm corner gusset."], "text": "C-channel bracket: base leg 65 mm, vertical leg 44 mm, 15 mm wide, 4 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg; 5.3 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 65, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 44.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 15.0, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 4.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 6.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 5.3, "min": 2.0, "max": 7.5, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331199 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 65, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 44.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 15.0, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 6.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 7.5, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl / 2, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bl - _bt, _bt).lineTo(_bl - _bt - _g, _bt)\n                    .lineTo(_bl - _bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca600_2636", "family": "block", "tier": 2, "seed": 1177331200, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "60c14ec2087071ac", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 7280.0, "surface_area": 4140.0, "principal_moments": [297000.0, 874000.0, 1020000.0], "n_faces": 42, "n_edges": 120, "n_vertices": 80}, "dimensions": {"lines": ["Rectangular body, 20 \u00d7 11.7 \u00d7 36.3 mm (W\u00d7D\u00d7H).", "Four 3 mm square holes at the corners, 14 \u00d7 8.19 mm spacing.", "Fillet radius 0.978 mm on vertical edges."], "text": "Rectangular body, 20 \u00d7 11.7 \u00d7 36.3 mm (W\u00d7D\u00d7H). Four 3 mm square holes at the corners, 14 \u00d7 8.19 mm spacing. Fillet radius 0.978 mm on vertical edges."}, "params": {"block_w": {"type": "float", "default": 20, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 11.7, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 36.3, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 3.0, "min": 2.0, "max": 3.4, "step": 0.5, "group": "Holes", "label": "Square hole size (mm)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331200 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 20, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 11.7, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 36.3, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.0, \"min\": 2.0, \"max\": 3.4, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Square hole size (mm)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().rect(p[\"hole_d\"], p[\"hole_d\"]).cutThruAll()\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"block_w\"], p[\"block_d\"]) * 0.08358792210473784)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462ca601_2637", "family": "enclosure", "tier": 2, "seed": 1177331201, "symmetry": "none", "op_count": 3, "ir_hash": "382a9b112f1f9437", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 41100.0, "surface_area": 29300.0, "principal_moments": [21900000.0, 31899999.999999996, 42300000.0], "n_faces": 19, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 74.83 \u00d7 30.1 \u00d7 63.7 mm (W\u00d7D\u00d7H).", "Hollowed to 2.9 mm wall thickness, open at top face.", "Four \u00d84.3 mm holes at the corners, 52.381 \u00d7 21.07 mm spacing."], "text": "Rectangular body, 74.83 \u00d7 30.1 \u00d7 63.7 mm (W\u00d7D\u00d7H). Hollowed to 2.9 mm wall thickness, open at top face. Four \u00d84.3 mm holes at the corners, 52.381 \u00d7 21.07 mm spacing."}, "params": {"enc_w": {"type": "float", "default": 74.83, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 30.1, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 63.7, "min": 25.5, "max": 127.4, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 2.9, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 6.8, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331201 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 74.83, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 30.1, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 63.7, \"min\": 25.5, \"max\": 127.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 2.9, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 6.8, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"enc_w\"] * 0.7, p[\"enc_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462ca602_2638", "family": "gear", "tier": 1, "seed": 1177331202, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "0f7009ce85e32674", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 11700.0, "surface_area": 5110.0, "principal_moments": [1400000.0, 1400000.0, 2640000.0], "n_faces": 171, "n_edges": 507, "n_vertices": 338}, "dimensions": {"lines": ["Spur gear, module 1.5 mm, 28 teeth (pitch \u00d842 mm), face width 8.7 mm, \u00d85.5 mm bore."], "text": "Spur gear, module 1.5 mm, 28 teeth (pitch \u00d842 mm), face width 8.7 mm, \u00d85.5 mm bore."}, "params": {"module": {"type": "float", "default": 1.5, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 28, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 8.7, "min": 3.5, "max": 21.8, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "bore_d": {"type": "float", "default": 5.5, "min": 2.0, "max": 22.9, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331202 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 1.5, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 28, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 8.7, \"min\": 3.5, \"max\": 21.8, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 5.5, \"min\": 2.0, \"max\": 22.9, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca603_2639", "family": "plate", "tier": 1, "seed": 1177331203, "symmetry": "radial", "op_count": 2, "ir_hash": "d963d726d4b25c42", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 3890.0, "surface_area": 2080.0, "principal_moments": [102000.0, 426000.0, 487000.0], "n_faces": 16, "n_edges": 42, "n_vertices": 28}, "dimensions": {"lines": ["Rectangular body, 35 \u00d7 15.7 \u00d7 8 mm (W\u00d7D\u00d7H).", "Six \u00d85.3 mm holes on a \u00d821 mm bolt circle."], "text": "Rectangular body, 35 \u00d7 15.7 \u00d7 8 mm (W\u00d7D\u00d7H). Six \u00d85.3 mm holes on a \u00d821 mm bolt circle."}, "params": {"plate_w": {"type": "float", "default": 35, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 15.7, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "bolt_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 10.5, "min": 7.0, "max": 15.8, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 6, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331203 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 35, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 15.7, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 10.5, \"min\": 7.0, \"max\": 15.8, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462ca604_2640", "family": "profiled", "tier": 2, "seed": 1177331204, "symmetry": "none", "op_count": 1, "ir_hash": "d125f8f750852179", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 21200.0, "surface_area": 9870.0, "principal_moments": [1380000.0, 17300000.0, 17300000.0], "n_faces": 4, "n_edges": 6, "n_vertices": 4}, "dimensions": {"lines": ["Revolved body, \u00d820 mm \u00d7 96.8 mm tall with \u00d811 mm bore."], "text": "Revolved body, \u00d820 mm \u00d7 96.8 mm tall with \u00d811 mm bore."}, "params": {"outer_d": {"type": "float", "default": 20, "min": 10.0, "max": 40.0, "step": 1.0, "group": "Profile", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 96.8, "min": 29.0, "max": 290.4, "step": 5.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 11.0, "min": 2.0, "max": 16.0, "step": 0.5, "group": "Profile", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331204 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 20, \"min\": 10.0, \"max\": 40.0, \"step\": 1.0, \"group\": 'Profile', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 96.8, \"min\": 29.0, \"max\": 290.4, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 11.0, \"min\": 2.0, \"max\": 16.0, \"step\": 0.5, \"group\": 'Profile', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca605_2641", "family": "bracket", "tier": 1, "seed": 1177331205, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "219bba21daa3555a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 11900.0, "surface_area": 9070.0, "principal_moments": [3080000.0, 11000000.0, 12399999.999999998], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["L-bracket: base leg 80 mm, vertical leg 62.5 mm, 28.84 mm wide, 3 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."], "text": "L-bracket: base leg 80 mm, vertical leg 62.5 mm, 28.84 mm wide, 3 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 80, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 62.5, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 28.84, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 3.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331205 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 80, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 62.5, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 28.84, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca606_2642", "family": "compound", "tier": 2, "seed": 1177331206, "symmetry": "mirror_x", "op_count": 5, "ir_hash": "e8d9bd45990dfc42", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 82100.0, "surface_area": 13200.0, "principal_moments": [24399999.999999996, 25399999.999999996, 32799999.999999996], "n_faces": 29, "n_edges": 72, "n_vertices": 48}, "dimensions": {"lines": ["Rectangular body, 50 \u00d7 47.6 \u00d7 35.3 mm (W\u00d7D\u00d7H).", "6-sided polygon section, 6.8 mm across corners attachment, 4 mm long, from right face.", "6-sided polygon section, 6.8 mm across corners attachment, 4 mm long, from front face.", "6-sided polygon section, 6.8 mm across corners attachment, 4 mm long, from back face.", "Four \u00d86.4 mm holes at the corners, 35 \u00d7 33.32 mm spacing."], "text": "Rectangular body, 50 \u00d7 47.6 \u00d7 35.3 mm (W\u00d7D\u00d7H). 6-sided polygon section, 6.8 mm across corners attachment, 4 mm long, from right face. 6-sided polygon section, 6.8 mm across corners attachment, 4 mm long, from front face. 6-sided polygon section, 6.8 mm across corners attachment, 4 mm long, from back face. Four \u00d86.4 mm holes at the corners, 35 \u00d7 33.32 mm spacing."}, "params": {"block_w": {"type": "float", "default": 50, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body width (mm)"}, "block_d": {"type": "float", "default": 47.6, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body depth (mm)"}, "block_h": {"type": "float", "default": 35.3, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body height (mm)"}, "port_sides": {"type": "int", "default": 6, "min": 3, "max": 8, "step": 1, "group": "Ports", "label": "Ports sides"}, "port_r": {"type": "float", "default": 3.4, "min": 1.7, "max": 8.0, "step": 1.0, "group": "Ports", "label": "Ports circumradius (mm)"}, "port_len": {"type": "float", "default": 4.0, "min": 1.5, "max": 17.7, "step": 1.0, "group": "Ports", "label": "Port boss length (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 10.7, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331206 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 50, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 47.6, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 35.3, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body height (mm)'},\n    \"port_sides\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Ports', \"label\": 'Ports sides'},\n    \"port_r\": {\"type\": 'float', \"default\": 3.4, \"min\": 1.7, \"max\": 8.0, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Ports circumradius (mm)'},\n    \"port_len\": {\"type\": 'float', \"default\": 4.0, \"min\": 1.5, \"max\": 17.7, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Port boss length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 10.7, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"port_sides\"], p[\"port_r\"] * 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"port_sides\"], p[\"port_r\"] * 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"port_sides\"], p[\"port_r\"] * 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462ca607_2643", "family": "sketched", "tier": 0, "seed": 1177331207, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "00e9fcafb4ea03c8", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 17600.0, "surface_area": 5360.0, "principal_moments": [2700000.0, 3090000.0, 5550000.0], "n_faces": 7, "n_edges": 15, "n_vertices": 10}, "dimensions": {"lines": ["freeform sketched section (5 segments: 3 straight, 2 arcs), ~58.168 \u00d7 51.055 mm, extruded 9.15 mm thick."], "text": "freeform sketched section (5 segments: 3 straight, 2 arcs), ~58.168 \u00d7 51.055 mm, extruded 9.15 mm thick."}, "params": {"sk_w": {"type": "float", "default": 80, "min": 40.0, "max": 144.0, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 63.47, "min": 31.7, "max": 114.2, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "sk_t": {"type": "float", "default": 9.15, "min": 3.7, "max": 20.1, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331207 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 80, \"min\": 40.0, \"max\": 144.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 63.47, \"min\": 31.7, \"max\": 114.2, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"sk_t\": {\"type\": 'float', \"default\": 9.15, \"min\": 3.7, \"max\": 20.1, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.4127, p[\"sk_h\"] * 0.1388).lineTo(p[\"sk_w\"] * 0.0441, p[\"sk_h\"] * 0.4631).threePointArc((p[\"sk_w\"] * -0.1558, p[\"sk_h\"] * 0.4082), (p[\"sk_w\"] * -0.3144, p[\"sk_h\"] * 0.2539)).lineTo(p[\"sk_w\"] * -0.1948, p[\"sk_h\"] * -0.2749).lineTo(p[\"sk_w\"] * 0.0223, p[\"sk_h\"] * -0.3413).threePointArc((p[\"sk_w\"] * 0.2503, p[\"sk_h\"] * -0.1231), (p[\"sk_w\"] * 0.4127, p[\"sk_h\"] * 0.1388)).close().extrude(p[\"sk_t\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca608_2644", "family": "plate", "tier": 0, "seed": 1177331208, "symmetry": "none", "op_count": 1, "ir_hash": "e5ce0457d4228e37", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 29000.0, "surface_area": 7400.0, "principal_moments": [2850000.0, 13899999.999999998, 16099999.999999998], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 75 \u00d7 32.2 \u00d7 12 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 75 \u00d7 32.2 \u00d7 12 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 75, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 32.2, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331208 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 75, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 32.2, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca609_2645", "family": "plate", "tier": 0, "seed": 1177331209, "symmetry": "none", "op_count": 1, "ir_hash": "d3a9b3006e96d928", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 62300.0, "surface_area": 14000.0, "principal_moments": [16499999.999999998, 46899999.99999999, 61899999.99999999], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 94.26 \u00d7 55.1 \u00d7 12 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 94.26 \u00d7 55.1 \u00d7 12 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 94.26, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 55.1, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331209 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 94.26, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 55.1, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462ca60a_2646", "family": "flanged", "tier": 1, "seed": 1177331210, "symmetry": "none", "op_count": 2, "ir_hash": "41a64fbc72fb5ca5", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 289000.0, "surface_area": 52100.0, "principal_moments": [346000000.0, 346000000.0, 557000000.0], "n_faces": 10, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["Revolved body, \u00d864.74 mm \u00d7 52.3 mm tall with \u00d823.9 mm bore, \u00d8150 mm \u00d7 9.8 mm flange.", "Four \u00d85.3 mm holes on a \u00d890 mm bolt circle."], "text": "Revolved body, \u00d864.74 mm \u00d7 52.3 mm tall with \u00d823.9 mm bore, \u00d8150 mm \u00d7 9.8 mm flange. Four \u00d85.3 mm holes on a \u00d890 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 64.74, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 52.3, "min": 15.7, "max": 130.8, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 23.9, "min": 2.0, "max": 45.3, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 150.0, "min": 84.2, "max": 194.2, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 9.8, "min": 2.9, "max": 20.9, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 45.0, "min": 30.0, "max": 67.5, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 4, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331210 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 64.74, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 52.3, \"min\": 15.7, \"max\": 130.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 23.9, \"min\": 2.0, \"max\": 45.3, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 150.0, \"min\": 84.2, \"max\": 194.2, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 9.8, \"min\": 2.9, \"max\": 20.9, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 45.0, \"min\": 30.0, \"max\": 67.5, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 4, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca60b_2647", "family": "bracket", "tier": 1, "seed": 1177331211, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "4e522afe838d712d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 9580.0, "surface_area": 4560.0, "principal_moments": [919000.0, 3150000.0, 3410000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["L-bracket: base leg 50.12 mm, vertical leg 36.3 mm, 20.21 mm wide, 6 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."], "text": "L-bracket: base leg 50.12 mm, vertical leg 36.3 mm, 20.21 mm wide, 6 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 50.12, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 36.3, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 20.21, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 6.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 8.1, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331211 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 50.12, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 36.3, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 20.21, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 8.1, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca60c_2648", "family": "bracket", "tier": 2, "seed": 1177331212, "symmetry": "none", "op_count": 1, "ir_hash": "59661118a114a779", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 17300.0, "surface_area": 9800.0, "principal_moments": [3950000.0, 5610000.0, 7420000.0], "n_faces": 19, "n_edges": 51, "n_vertices": 34}, "dimensions": {"lines": ["C-channel bracket: base leg 33.8 mm, vertical leg 25.5 mm, 56.18 mm wide, 4 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 3.5 mm corner gusset."], "text": "C-channel bracket: base leg 33.8 mm, vertical leg 25.5 mm, 56.18 mm wide, 4 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 3.5 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 33.8, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 25.5, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 56.18, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 4.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 3.5, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331212 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 33.8, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 25.5, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 56.18, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 3.5, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl / 2, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bl - _bt, _bt).lineTo(_bl - _bt - _g, _bt)\n                    .lineTo(_bl - _bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca60d_2649", "family": "bracket", "tier": 1, "seed": 1177331213, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "92fed91628e78efd", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 38900.0, "surface_area": 18200.0, "principal_moments": [24899999.999999996, 39800000.0, 54999999.99999999], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["C-channel bracket: base leg 72.82 mm, vertical leg 70.4 mm, 38.42 mm wide, 5 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."], "text": "C-channel bracket: base leg 72.82 mm, vertical leg 70.4 mm, 38.42 mm wide, 5 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 72.82, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 70.4, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 38.42, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 5.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331213 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 72.82, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 70.4, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 38.42, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462ca60e_2650", "family": "enclosure", "tier": 2, "seed": 1177331214, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "a1399173bee13dbd", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 212000.0, "surface_area": 96300.0, "principal_moments": [502000000.0, 532000000.0, 718000000.0], "n_faces": 15, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 115 \u00d7 109.1 \u00d7 84.8 mm (W\u00d7D\u00d7H).", "Hollowed to 4.5 mm wall thickness, open at top face.", "Four \u00d83.2 mm holes at the corners, 80.5 \u00d7 76.37 mm spacing."], "text": "Rectangular body, 115 \u00d7 109.1 \u00d7 84.8 mm (W\u00d7D\u00d7H). Hollowed to 4.5 mm wall thickness, open at top face. Four \u00d83.2 mm holes at the corners, 80.5 \u00d7 76.37 mm spacing."}, "params": {"enc_w": {"type": "float", "default": 115, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 109.1, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 84.8, "min": 33.9, "max": 169.6, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 4.5, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331214 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 115, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 109.1, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 84.8, \"min\": 33.9, \"max\": 169.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 4.5, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"enc_w\"] * 0.7, p[\"enc_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca60f_2651", "family": "plate", "tier": 2, "seed": 1177331215, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "8b20a4533efd2825", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 772.0, "surface_area": 773.0, "principal_moments": [8080.0, 25200.0, 31300.0], "n_faces": 22, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 20 \u00d7 10.8 \u00d7 4 mm (W\u00d7D\u00d7H).", "Four 3.2 \u00d7 2.1 mm slots at the corners, 14 \u00d7 7.56 mm spacing."], "text": "Rectangular body, 20 \u00d7 10.8 \u00d7 4 mm (W\u00d7D\u00d7H). Four 3.2 \u00d7 2.1 mm slots at the corners, 14 \u00d7 7.56 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 20.0, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 10.8, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 4.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 2.1, "min": 2.0, "max": 2.4, "step": 0.5, "group": "Holes", "label": "Slot width (mm)"}, "hole_slot_len": {"type": "float", "default": 3.2, "min": 3.2, "max": 3.2, "step": 0.5, "group": "Holes", "label": "Slot length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331215 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 20.0, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 10.8, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 4.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 2.1, \"min\": 2.0, \"max\": 2.4, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Slot width (mm)'},\n    \"hole_slot_len\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.2, \"max\": 3.2, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Slot length (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().slot2D(p[\"hole_slot_len\"], p[\"hole_d\"]).cutThruAll()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca610_2652", "family": "block", "tier": 1, "seed": 1177331216, "symmetry": "none", "op_count": 2, "ir_hash": "cf5160e50179a020", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 214000.0, "surface_area": 30900.0, "principal_moments": [103000000.0, 152000000.0, 172000000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 60 \u00d7 49.1 \u00d7 78.7 mm (W\u00d7D\u00d7H).", "Four \u00d88.4 mm holes at the corners, 42 \u00d7 34.37 mm spacing."], "text": "Rectangular body, 60 \u00d7 49.1 \u00d7 78.7 mm (W\u00d7D\u00d7H). Four \u00d88.4 mm holes at the corners, 42 \u00d7 34.37 mm spacing."}, "params": {"block_w": {"type": "float", "default": 60, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 49.1, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 78.7, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 8.4, "min": 2.0, "max": 11.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331216 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 60, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 49.1, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 78.7, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 2.0, \"max\": 11.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca611_2653", "family": "bracket", "tier": 1, "seed": 1177331217, "symmetry": "none", "op_count": 1, "ir_hash": "0213dfa84ba7a023", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 20900.0, "surface_area": 15100.0, "principal_moments": [8890000.0, 17800000.0, 19500000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["L-bracket: base leg 64.65 mm, vertical leg 65.9 mm, 55 mm wide, 3 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."], "text": "L-bracket: base leg 64.65 mm, vertical leg 65.9 mm, 55 mm wide, 3 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 64.65, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 65.9, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 55, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 3.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331217 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 64.65, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 65.9, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 55, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca612_2654", "family": "revolved", "tier": 2, "seed": 1177331218, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "919dd26c43411b85", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 30100.0, "surface_area": 7920.0, "principal_moments": [6570000.0, 6570000.0, 11300000.0], "n_faces": 5, "n_edges": 8, "n_vertices": 5}, "dimensions": {"lines": ["Revolved body, \u00d850 mm \u00d7 23.2 mm tall.", "Chamfer 1.3 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d850 mm \u00d7 23.2 mm tall. Chamfer 1.3 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 50, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 23.2, "min": 7.0, "max": 69.6, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "end_chamfer": {"type": "float", "default": 1.3, "min": 0.1, "max": 3.9, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331218 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 50, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 23.2, \"min\": 7.0, \"max\": 69.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 1.3, \"min\": 0.1, \"max\": 3.9, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462ca613_2655", "family": "threaded", "tier": 2, "seed": 1177331219, "symmetry": "none", "op_count": 1, "ir_hash": "b436b746355db96c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 18300.0, "surface_area": 5360.0, "principal_moments": [1960000.0, 2120000.0, 2130000.0], "n_faces": 60, "n_edges": 146, "n_vertices": 88}, "dimensions": {"lines": ["ACME 1 1/4 external thread, 27.9 mm long."], "text": "ACME 1 1/4 external thread, 27.9 mm long."}, "params": {"thread_size": {"type": "enum", "default": "1 1/4", "choices": ["1/4", "5/16", "3/8", "1/2", "5/8", "3/4", "7/8", "1", "1 1/4", "1 1/2"], "group": "Thread", "label": "Size designation"}, "thread_len": {"type": "float", "default": 27.9, "min": 11.2, "max": 55.8, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331219 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"thread_size\": {\"type\": 'enum', \"default\": '1 1/4', \"choices\": ['1/4', '5/16', '3/8', '1/2', '5/8', '3/4', '7/8', '1', '1 1/4', '1 1/2'], \"group\": 'Thread', \"label\": 'Size designation'},\n    \"thread_len\": {\"type\": 'float', \"default\": 27.9, \"min\": 11.2, \"max\": 55.8, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.AcmeThread(size=p[\"thread_size\"], length=p[\"thread_len\"], external=True, end_finishes=(\"fade\", \"fade\"))\n    _r = _thr.min_radius if hasattr(_thr, 'min_radius') else _thr.root_radius\n    _shank = _bd.Cylinder(radius=_r, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = _shank + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca614_2656", "family": "bracket", "tier": 1, "seed": 1177331220, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "1cff43a45074f1d7", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 15500.0, "surface_area": 6920.0, "principal_moments": [2560000.0, 8240000.0, 9160000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["L-bracket: base leg 61.33 mm, vertical leg 49.7 mm, 25 mm wide, 6 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."], "text": "L-bracket: base leg 61.33 mm, vertical leg 49.7 mm, 25 mm wide, 6 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 61.33, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 49.7, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 25, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 6.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331220 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 61.33, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 49.7, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 25, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca615_2657", "family": "revolved", "tier": 0, "seed": 1177331221, "symmetry": "none", "op_count": 1, "ir_hash": "2e05743e36966e55", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 14200.0, "surface_area": 5960.0, "principal_moments": [1140000.0, 2700000.0, 2700000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d823.18 mm \u00d7 50.3 mm tall."], "text": "Revolved body, \u00d823.18 mm \u00d7 50.3 mm tall."}, "params": {"outer_d": {"type": "float", "default": 23.18, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 50.3, "min": 15.1, "max": 150.9, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331221 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 23.18, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 50.3, \"min\": 15.1, \"max\": 150.9, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca616_2658", "family": "block", "tier": 3, "seed": 1177331222, "symmetry": "none", "op_count": 5, "ir_hash": "cf945960fffe96a7", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 644000.0, "surface_area": 60500.0, "principal_moments": [721000000.0, 893000000.0, 903000000.0], "n_faces": 21, "n_edges": 51, "n_vertices": 34}, "dimensions": {"lines": ["Rectangular body, 82.32 \u00d7 79.5 \u00d7 100 mm (W\u00d7D\u00d7H).", "Seven \u00d84.3 mm holes in two staggered rows, 20.6 \u00d7 21.8 mm pitch.", "Boss \u00d813.3 mm \u00d7 6.4 mm tall on top face with a \u00d85.3 mm bore.", "Fillet radius 3.745 mm on vertical edges (optional, off by default).", "\u00d816.5 mm circular section attachment, 28.7 mm long, from back face with a \u00d88 mm bore."], "text": "Rectangular body, 82.32 \u00d7 79.5 \u00d7 100 mm (W\u00d7D\u00d7H). Seven \u00d84.3 mm holes in two staggered rows, 20.6 \u00d7 21.8 mm pitch. Boss \u00d813.3 mm \u00d7 6.4 mm tall on top face with a \u00d85.3 mm bore. Fillet radius 3.745 mm on vertical edges (optional, off by default). \u00d816.5 mm circular section attachment, 28.7 mm long, from back face with a \u00d88 mm bore."}, "params": {"block_w": {"type": "float", "default": 82.32, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 79.5, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 100.0, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 8.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 4, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}, "boss_d": {"type": "float", "default": 13.3, "min": 6.7, "max": 26.6, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 6.4, "min": 2.6, "max": 16.0, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}, "boss_bore_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 9.3, "step": 0.1, "group": "Boss", "label": "Bore diameter (mm)"}, "filleted2": {"type": "bool", "default": false, "group": "Body", "label": "Fillet corners"}, "side_tube_d": {"type": "float", "default": 16.5, "min": 6.6, "max": 41.2, "step": 1.0, "group": "Side Tube", "label": "Side tube diameter (mm)"}, "side_tube_len": {"type": "float", "default": 28.7, "min": 8.6, "max": 49.5, "step": 1.0, "group": "Side Tube", "label": "Side tube length (mm)"}, "side_bore_d": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.4, "step": 0.5, "group": "Side Tube", "label": "Side bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331222 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 82.32, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 79.5, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 100.0, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 8.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 4, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n    \"boss_d\": {\"type\": 'float', \"default\": 13.3, \"min\": 6.7, \"max\": 26.6, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.6, \"max\": 16.0, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n    \"boss_bore_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 9.3, \"step\": 0.1, \"group\": 'Boss', \"label\": 'Bore diameter (mm)'},\n    \"filleted2\": {\"type\": 'bool', \"default\": False, \"group\": 'Body', \"label\": 'Fillet corners'},\n    \"side_tube_d\": {\"type\": 'float', \"default\": 16.5, \"min\": 6.6, \"max\": 41.2, \"step\": 1.0, \"group\": 'Side Tube', \"label\": 'Side tube diameter (mm)'},\n    \"side_tube_len\": {\"type\": 'float', \"default\": 28.7, \"min\": 8.6, \"max\": 49.5, \"step\": 1.0, \"group\": 'Side Tube', \"label\": 'Side tube length (mm)'},\n    \"side_bore_d\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.4, \"step\": 0.5, \"group\": 'Side Tube', \"label\": 'Side bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 20.6\n    _ssy = 21.8\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .hole(p[\"boss_bore_d\"])\n    )\n    if p[\"filleted2\"]:\n        result = result.edges('|Z').fillet(min(p[\"block_w\"], p[\"block_d\"]) * 0.04710749208965867)\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"side_tube_d\"] / 2).extrude(p[\"side_tube_len\"])\n    )\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"side_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca617_2659", "family": "bracket", "tier": 2, "seed": 1177331223, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "a5d7b593bb8672b8", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 45900.0, "surface_area": 17800.0, "principal_moments": [12499999.999999998, 53199999.99999999, 58999999.99999999], "n_faces": 18, "n_edges": 48, "n_vertices": 32}, "dimensions": {"lines": ["Z-bracket: base leg 64.32 mm, vertical leg 41.2 mm, top leg 60.2 mm, 49.25 mm wide, 6 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 5.3 mm corner gusset."], "text": "Z-bracket: base leg 64.32 mm, vertical leg 41.2 mm, top leg 60.2 mm, 49.25 mm wide, 6 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 5.3 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 64.32, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 41.2, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 49.25, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 6.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 60.2, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}, "gusset_t": {"type": "float", "default": 5.3, "min": 3.0, "max": 18.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331223 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 64.32, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 41.2, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 49.25, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 60.2, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 18.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _tl, _vl) * 0.4 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(0, _vl - _bt).lineTo(-_g, _vl - _bt)\n                    .lineTo(0, _vl - _bt - _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca619_2661", "family": "bracket", "tier": 1, "seed": 1177331225, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "c8edeb76da4273d5", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 55800.0, "surface_area": 22000.0, "principal_moments": [20600000.0, 135000000.0, 141000000.0], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Z-bracket: base leg 85 mm, vertical leg 77.1 mm, top leg 82.7 mm, 40 mm wide, 6 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."], "text": "Z-bracket: base leg 85 mm, vertical leg 77.1 mm, top leg 82.7 mm, 40 mm wide, 6 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 85, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 77.1, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 40, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 6.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 82.7, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331225 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 85, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 77.1, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 40, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 82.7, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca61a_2662", "family": "revolved", "tier": 1, "seed": 1177331226, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "e6cd97ed105c4922", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 1190.0, "surface_area": 1220.0, "principal_moments": [17700.0, 66000.0, 66000.0], "n_faces": 4, "n_edges": 6, "n_vertices": 4}, "dimensions": {"lines": ["Revolved body, \u00d89.55 mm \u00d7 24 mm tall with \u00d85.3 mm bore."], "text": "Revolved body, \u00d89.55 mm \u00d7 24 mm tall with \u00d85.3 mm bore."}, "params": {"outer_d": {"type": "float", "default": 9.55, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 24.0, "min": 7.2, "max": 72.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 6.7, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331226 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 9.55, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 24.0, \"min\": 7.2, \"max\": 72.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 6.7, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462ca61b_2663", "family": "sketched", "tier": 2, "seed": 1177331227, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "0b9b39d810db6afa", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 8310.0, "surface_area": 3110.0, "principal_moments": [579000.0, 697000.0, 1060000.0], "n_faces": 11, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["freeform sketched section (5 segments: 3 straight, 1 arc, 1 curve), ~35.812 \u00d7 33.795 mm, extruded 10 mm thick.", "One \u00d86.4 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch.", "Boss \u00d810.4 mm \u00d7 7.1 mm tall on top face."], "text": "freeform sketched section (5 segments: 3 straight, 1 arc, 1 curve), ~35.812 \u00d7 33.795 mm, extruded 10 mm thick. One \u00d86.4 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch. Boss \u00d810.4 mm \u00d7 7.1 mm tall on top face."}, "params": {"sk_w": {"type": "float", "default": 47.09, "min": 23.5, "max": 84.8, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 50, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "sk_t": {"type": "float", "default": 10, "min": 4.0, "max": 22.0, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "sk_hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 12.8, "step": 0.5, "group": "Holes", "label": "Hole diameter (mm)"}, "boss_d": {"type": "float", "default": 10.4, "min": 5.2, "max": 20.8, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 7.1, "min": 2.8, "max": 17.8, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331227 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 47.09, \"min\": 23.5, \"max\": 84.8, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 50, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"sk_t\": {\"type\": 'float', \"default\": 10, \"min\": 4.0, \"max\": 22.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"sk_hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 12.8, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"boss_d\": {\"type\": 'float', \"default\": 10.4, \"min\": 5.2, \"max\": 20.8, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 7.1, \"min\": 2.8, \"max\": 17.8, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.4838, p[\"sk_h\"] * 0.0949).lineTo(p[\"sk_w\"] * 0.1545, p[\"sk_h\"] * 0.3332).lineTo(p[\"sk_w\"] * -0.1822, p[\"sk_h\"] * 0.2752).lineTo(p[\"sk_w\"] * -0.2767, p[\"sk_h\"] * -0.1748).bezier([(p[\"sk_w\"] * -0.2767, p[\"sk_h\"] * -0.1748), (p[\"sk_w\"] * -0.1156, p[\"sk_h\"] * -0.2778), (p[\"sk_w\"] * 0.0642, p[\"sk_h\"] * -0.3427)]).threePointArc((p[\"sk_w\"] * 0.3149, p[\"sk_h\"] * -0.1532), (p[\"sk_w\"] * 0.4838, p[\"sk_h\"] * 0.0949)).close().extrude(p[\"sk_t\"]))\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"sk_hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca61c_2664", "family": "revolved", "tier": 1, "seed": 1177331228, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "07ea9c33f06ad210", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 89500.0, "surface_area": 16800.0, "principal_moments": [34400000.0, 34400000.0, 48599999.99999999], "n_faces": 6, "n_edges": 9, "n_vertices": 6}, "dimensions": {"lines": ["Revolved body, \u00d850 mm \u00d7 36.1 mm tall with \u00d816.4 mm bore, \u00d875 mm \u00d7 10.7 mm flange."], "text": "Revolved body, \u00d850 mm \u00d7 36.1 mm tall with \u00d816.4 mm bore, \u00d875 mm \u00d7 10.7 mm flange."}, "params": {"outer_d": {"type": "float", "default": 50, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 36.1, "min": 10.8, "max": 108.3, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 16.4, "min": 2.0, "max": 35.0, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 75.0, "min": 60.0, "max": 150.0, "step": 1.0, "group": "Body", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 10.7, "min": 3.2, "max": 18.1, "step": 0.5, "group": "Body", "label": "Flange height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331228 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 50, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 36.1, \"min\": 10.8, \"max\": 108.3, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 16.4, \"min\": 2.0, \"max\": 35.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 75.0, \"min\": 60.0, \"max\": 150.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 10.7, \"min\": 3.2, \"max\": 18.1, \"step\": 0.5, \"group\": 'Body', \"label\": 'Flange height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462ca61d_2665", "family": "enclosure", "tier": 2, "seed": 1177331229, "symmetry": "mirror_xy", "op_count": 3, "ir_hash": "0eb7ae42bb2cb30c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 80800.0, "surface_area": 46100.0, "principal_moments": [71900000.0, 91000000.0, 130000000.0], "n_faces": 19, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 90 \u00d7 36.2 \u00d7 84.6 mm (W\u00d7D\u00d7H).", "Hollowed to 3.6 mm wall thickness, open at top face.", "Four \u00d84.3 mm holes at the corners, 63 \u00d7 25.34 mm spacing."], "text": "Rectangular body, 90 \u00d7 36.2 \u00d7 84.6 mm (W\u00d7D\u00d7H). Hollowed to 3.6 mm wall thickness, open at top face. Four \u00d84.3 mm holes at the corners, 63 \u00d7 25.34 mm spacing."}, "params": {"enc_w": {"type": "float", "default": 90, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 36.2, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 84.6, "min": 33.8, "max": 169.2, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 3.6, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 8.1, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331229 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 90, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 36.2, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 84.6, \"min\": 33.8, \"max\": 169.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 3.6, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 8.1, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"enc_w\"] * 0.7, p[\"enc_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462ca61e_2666", "family": "swept", "tier": 0, "seed": 1177331230, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "3d41b84626a1fc55", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 7800.0, "surface_area": 3880.0, "principal_moments": [156000.0, 7570000.0, 7640000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["10.3 \u00d7 8 mm rectangular section swept along a curved path, ~105 mm span."], "text": "10.3 \u00d7 8 mm rectangular section swept along a curved path, ~105 mm span."}, "params": {"path_w": {"type": "float", "default": 55, "min": 27.5, "max": 99.0, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 105, "min": 52.5, "max": 189.0, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_a": {"type": "float", "default": 10.3, "min": 5.2, "max": 18.5, "step": 1.0, "group": "Section", "label": "Section width (mm)"}, "sweep_b": {"type": "float", "default": 8.0, "min": 4.0, "max": 14.4, "step": 1.0, "group": "Section", "label": "Section depth (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331230 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 55, \"min\": 27.5, \"max\": 99.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 105, \"min\": 52.5, \"max\": 189.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_a\": {\"type\": 'float', \"default\": 10.3, \"min\": 5.2, \"max\": 18.5, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section width (mm)'},\n    \"sweep_b\": {\"type\": 'float', \"default\": 8.0, \"min\": 4.0, \"max\": 14.4, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section depth (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.0967, p[\"path_h\"] * 0.3486), (p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.7335), (p[\"path_w\"] * 0.2243, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').rect(p[\"sweep_a\"], p[\"sweep_b\"]).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462ca61f_2667", "family": "enclosure", "tier": 2, "seed": 1177331231, "symmetry": "mirror_xy", "op_count": 3, "ir_hash": "10f80a4eb4c2d908", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 30600.0, "surface_area": 27300.0, "principal_moments": [14199999.999999998, 30099999.999999996, 30699999.999999996], "n_faces": 15, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 80 \u00d7 39.7 \u00d7 46.7 mm (W\u00d7D\u00d7H).", "Hollowed to 2.3 mm wall thickness, open at top face.", "Four \u00d85.3 mm holes at the corners, 56 \u00d7 27.79 mm spacing."], "text": "Rectangular body, 80 \u00d7 39.7 \u00d7 46.7 mm (W\u00d7D\u00d7H). Hollowed to 2.3 mm wall thickness, open at top face. Four \u00d85.3 mm holes at the corners, 56 \u00d7 27.79 mm spacing."}, "params": {"enc_w": {"type": "float", "default": 80, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 39.7, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 46.7, "min": 18.7, "max": 93.4, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 2.3, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 8.9, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331231 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 80, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 39.7, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 46.7, \"min\": 18.7, \"max\": 93.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 2.3, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 8.9, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"enc_w\"] * 0.7, p[\"enc_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462ca620_2668", "family": "swept", "tier": 2, "seed": 1177331232, "symmetry": "none", "op_count": 1, "ir_hash": "ba27d272718ea670", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 4680.0, "surface_area": 3460.0, "principal_moments": [289000.0, 1420000.0, 1540000.0], "n_faces": 3, "n_edges": 3, "n_vertices": 2}, "dimensions": {"lines": ["\u00d816.8 mm circular section swept along a curved path, ~55 mm span."], "text": "\u00d816.8 mm circular section swept along a curved path, ~55 mm span."}, "params": {"path_w": {"type": "float", "default": 32.32, "min": 16.2, "max": 58.2, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 55, "min": 27.5, "max": 99.0, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_d": {"type": "float", "default": 16.8, "min": 8.4, "max": 30.2, "step": 1.0, "group": "Section", "label": "Section diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331232 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 32.32, \"min\": 16.2, \"max\": 58.2, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 55, \"min\": 27.5, \"max\": 99.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_d\": {\"type\": 'float', \"default\": 16.8, \"min\": 8.4, \"max\": 30.2, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.5486), (p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.5965), (p[\"path_w\"] * 0.294, p[\"path_h\"] * 0.7257), (p[\"path_w\"] * 0.6051, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').circle(p[\"sweep_d\"] / 2).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca621_2669", "family": "revolved", "tier": 0, "seed": 1177331233, "symmetry": "radial", "op_count": 1, "ir_hash": "c429018ecb19d678", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 9490.0, "surface_area": 4010.0, "principal_moments": [890000.0, 919000.0, 919000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d825 mm \u00d7 29 mm tall."], "text": "Revolved body, \u00d825 mm \u00d7 29 mm tall."}, "params": {"outer_d": {"type": "float", "default": 25, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 29.0, "min": 8.7, "max": 87.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331233 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 25, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 29.0, \"min\": 8.7, \"max\": 87.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca622_2670", "family": "plate", "tier": 1, "seed": 1177331234, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "5441fd875432895e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 39800.0, "surface_area": 13400.0, "principal_moments": [6290000.0, 46999999.99999999, 52799999.99999999], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 120 \u00d7 43.3 \u00d7 8 mm (W\u00d7D\u00d7H).", "Four \u00d88.4 mm holes at the corners, 84 \u00d7 30.31 mm spacing."], "text": "Rectangular body, 120 \u00d7 43.3 \u00d7 8 mm (W\u00d7D\u00d7H). Four \u00d88.4 mm holes at the corners, 84 \u00d7 30.31 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 120.0, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 43.3, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 8.4, "min": 2.0, "max": 9.7, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331234 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 120.0, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 43.3, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 2.0, \"max\": 9.7, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462ca623_2671", "family": "gear", "tier": 2, "seed": 1177331235, "symmetry": "none", "op_count": 1, "ir_hash": "e3b61b2ca06eda5b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 97900.0, "surface_area": 23800.0, "principal_moments": [68600000.0, 68600000.0, 135000000.0], "n_faces": 198, "n_edges": 588, "n_vertices": 392}, "dimensions": {"lines": ["Helical gear, module 2.5 mm, 39 teeth (pitch \u00d897.5 mm), face width 11.7 mm, 19.7\u00b0 helix, \u00d812.6 mm bore."], "text": "Helical gear, module 2.5 mm, 39 teeth (pitch \u00d897.5 mm), face width 11.7 mm, 19.7\u00b0 helix, \u00d812.6 mm bore."}, "params": {"module": {"type": "float", "default": 2.5, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 39, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 11.7, "min": 4.7, "max": 29.2, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "helix_angle": {"type": "float", "default": 19.7, "min": 5.0, "max": 40.0, "step": 1.0, "group": "Gear", "label": "Helix angle (deg)"}, "profile_shift": {"type": "float", "default": 0.02, "min": -0.5, "max": 0.7, "step": 0.05, "group": "Gear", "label": "Profile shift"}, "root_fillet": {"type": "float", "default": 0.69, "min": 0.0, "max": 1.25, "step": 0.05, "group": "Gear", "label": "Root fillet (mm)"}, "bore_d": {"type": "float", "default": 12.6, "min": 2.0, "max": 54.8, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331235 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 2.5, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 39, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 11.7, \"min\": 4.7, \"max\": 29.2, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"helix_angle\": {\"type\": 'float', \"default\": 19.7, \"min\": 5.0, \"max\": 40.0, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Helix angle (deg)'},\n    \"profile_shift\": {\"type\": 'float', \"default\": 0.02, \"min\": -0.5, \"max\": 0.7, \"step\": 0.05, \"group\": 'Gear', \"label\": 'Profile shift'},\n    \"root_fillet\": {\"type\": 'float', \"default\": 0.69, \"min\": 0.0, \"max\": 1.25, \"step\": 0.05, \"group\": 'Gear', \"label\": 'Root fillet (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 12.6, \"min\": 2.0, \"max\": 54.8, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.HelicalGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"], helix_angle=math.radians(p[\"helix_angle\"]), herringbone=False, profile_shift=p[\"profile_shift\"], root_fillet=p[\"root_fillet\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca624_2672", "family": "block", "tier": 3, "seed": 1177331236, "symmetry": "none", "op_count": 5, "ir_hash": "693b2fefea64979d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 148000.0, "surface_area": 26300.0, "principal_moments": [64399999.99999999, 71900000.0, 95199999.99999999], "n_faces": 15, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["Rectangular body, 65 \u00d7 42 \u00d7 58.1 mm (W\u00d7D\u00d7H).", "Four \u00d88.4 mm holes at the corners, 45.5 \u00d7 29.4 mm spacing.", "Boss \u00d817.8 mm \u00d7 10.1 mm tall on top face.", "Fillet radius 4.513 mm on vertical edges (optional, off by default).", "\u00d810.8 mm circular section attachment, 21 mm long, from right face with a \u00d85.4 mm bore."], "text": "Rectangular body, 65 \u00d7 42 \u00d7 58.1 mm (W\u00d7D\u00d7H). Four \u00d88.4 mm holes at the corners, 45.5 \u00d7 29.4 mm spacing. Boss \u00d817.8 mm \u00d7 10.1 mm tall on top face. Fillet radius 4.513 mm on vertical edges (optional, off by default). \u00d810.8 mm circular section attachment, 21 mm long, from right face with a \u00d85.4 mm bore."}, "params": {"block_w": {"type": "float", "default": 65, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 42.0, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 58.1, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 8.4, "min": 2.0, "max": 9.4, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "boss_d": {"type": "float", "default": 17.8, "min": 8.9, "max": 35.6, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 10.1, "min": 4.0, "max": 25.2, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}, "filleted2": {"type": "bool", "default": false, "group": "Body", "label": "Fillet corners"}, "side_tube_d": {"type": "float", "default": 10.8, "min": 4.3, "max": 21.0, "step": 1.0, "group": "Side Tube", "label": "Side tube diameter (mm)"}, "side_tube_len": {"type": "float", "default": 21.0, "min": 6.3, "max": 32.4, "step": 1.0, "group": "Side Tube", "label": "Side tube length (mm)"}, "side_bore_d": {"type": "float", "default": 5.4, "min": 2.0, "max": 8.1, "step": 0.5, "group": "Side Tube", "label": "Side bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331236 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 65, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 42.0, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 58.1, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 2.0, \"max\": 9.4, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"boss_d\": {\"type\": 'float', \"default\": 17.8, \"min\": 8.9, \"max\": 35.6, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 10.1, \"min\": 4.0, \"max\": 25.2, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n    \"filleted2\": {\"type\": 'bool', \"default\": False, \"group\": 'Body', \"label\": 'Fillet corners'},\n    \"side_tube_d\": {\"type\": 'float', \"default\": 10.8, \"min\": 4.3, \"max\": 21.0, \"step\": 1.0, \"group\": 'Side Tube', \"label\": 'Side tube diameter (mm)'},\n    \"side_tube_len\": {\"type\": 'float', \"default\": 21.0, \"min\": 6.3, \"max\": 32.4, \"step\": 1.0, \"group\": 'Side Tube', \"label\": 'Side tube length (mm)'},\n    \"side_bore_d\": {\"type\": 'float', \"default\": 5.4, \"min\": 2.0, \"max\": 8.1, \"step\": 0.5, \"group\": 'Side Tube', \"label\": 'Side bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    if p[\"filleted2\"]:\n        result = result.edges('|Z').fillet(min(p[\"block_w\"], p[\"block_d\"]) * 0.10744757487456683)\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"side_tube_d\"] / 2).extrude(p[\"side_tube_len\"])\n    )\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"side_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca625_2673", "family": "bracket", "tier": 1, "seed": 1177331237, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "e65b136a90a46df7", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 11600.0, "surface_area": 6210.0, "principal_moments": [2130000.0, 7310000.0, 8660000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["L-bracket: base leg 65 mm, vertical leg 58.6 mm, 20 mm wide, 5 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."], "text": "L-bracket: base leg 65 mm, vertical leg 58.6 mm, 20 mm wide, 5 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 65, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 58.6, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 20, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 5.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 8.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331237 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 65, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 58.6, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 20, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 8.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462ca626_2674", "family": "profiled", "tier": 0, "seed": 1177331238, "symmetry": "none", "op_count": 1, "ir_hash": "00bc270e83eccb5f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 178000.0, "surface_area": 23100.0, "principal_moments": [26499999.999999996, 556000000.0, 556000000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["8-sided polygon section, 36.3 mm across corners, extruded 191.2 mm thick."], "text": "8-sided polygon section, 36.3 mm across corners, extruded 191.2 mm thick."}, "params": {"circ_r": {"type": "float", "default": 18.15, "min": 9.1, "max": 36.3, "step": 1.0, "group": "Profile", "label": "Circumscribed radius (mm)"}, "n_sides": {"type": "int", "default": 8, "min": 3, "max": 8, "step": 1, "group": "Profile", "label": "Sides"}, "length": {"type": "float", "default": 191.2, "min": 57.4, "max": 573.6, "step": 5.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331238 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"circ_r\": {\"type\": 'float', \"default\": 18.15, \"min\": 9.1, \"max\": 36.3, \"step\": 1.0, \"group\": 'Profile', \"label\": 'Circumscribed radius (mm)'},\n    \"n_sides\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Profile', \"label\": 'Sides'},\n    \"length\": {\"type\": 'float', \"default\": 191.2, \"min\": 57.4, \"max\": 573.6, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').polygon(p[\"n_sides\"], p[\"circ_r\"] * 2).extrude(p[\"length\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca627_2675", "family": "plate", "tier": 1, "seed": 1177331239, "symmetry": "radial", "op_count": 2, "ir_hash": "47f8e54cbff95692", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 2140.0, "surface_area": 1850.0, "principal_moments": [49300.0, 362000.0, 408000.0], "n_faces": 16, "n_edges": 42, "n_vertices": 28}, "dimensions": {"lines": ["Rectangular body, 45 \u00d7 16.2 \u00d7 3 mm (W\u00d7D\u00d7H).", "Eight \u00d83.2 mm holes on a \u00d827 mm bolt circle."], "text": "Rectangular body, 45 \u00d7 16.2 \u00d7 3 mm (W\u00d7D\u00d7H). Eight \u00d83.2 mm holes on a \u00d827 mm bolt circle."}, "params": {"plate_w": {"type": "float", "default": 45, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 16.2, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 3.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "bolt_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 13.5, "min": 9.0, "max": 20.2, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 8, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331239 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 45, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 16.2, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 3.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 13.5, \"min\": 9.0, \"max\": 20.2, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462ca628_2676", "family": "lofted", "tier": 3, "seed": 1177331240, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "913aed8b005cabaf", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 40000.0, "surface_area": 9800.0, "principal_moments": [6480000.0, 13399999.999999998, 13399999.999999998], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["Lofted body through 3 sections: 6-sided polygon section, 47.16 mm across corners \u2192 6-sided polygon section, 33 mm across corners \u2192 18.9 \u00d7 18.9 mm rectangular section.", "One \u00d811.1 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 3 sections: 6-sided polygon section, 47.16 mm across corners \u2192 6-sided polygon section, 33 mm across corners \u2192 18.9 \u00d7 18.9 mm rectangular section. One \u00d811.1 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 47.16, "min": 23.6, "max": 75.5, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 18.9, "min": 7.6, "max": 56.6, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 59.2, "min": 23.7, "max": 118.4, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_mid": {"type": "float", "default": 33.0, "min": 9.4, "max": 56.6, "step": 1.0, "group": "Body", "label": "Mid size (mm)"}, "loft_bore_d": {"type": "float", "default": 11.1, "min": 2.0, "max": 15.1, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331240 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 47.16, \"min\": 23.6, \"max\": 75.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 18.9, \"min\": 7.6, \"max\": 56.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 59.2, \"min\": 23.7, \"max\": 118.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_mid\": {\"type\": 'float', \"default\": 33.0, \"min\": 9.4, \"max\": 56.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Mid size (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 11.1, \"min\": 2.0, \"max\": 15.1, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .polygon(6, p[\"loft_base\"] * 0.5 * 2)\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .polygon(6, p[\"loft_mid\"] * 0.5 * 2)\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .rect(p[\"loft_top\"], p[\"loft_top\"])\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca629_2677", "family": "block", "tier": 2, "seed": 1177331241, "symmetry": "radial", "op_count": 3, "ir_hash": "a0b9ef9c947e22f0", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 257000.0, "surface_area": 32900.0, "principal_moments": [164000000.0, 176000000.0, 253000000.0], "n_faces": 16, "n_edges": 42, "n_vertices": 28}, "dimensions": {"lines": ["Rectangular body, 74.54 \u00d7 45.7 \u00d7 78.6 mm (W\u00d7D\u00d7H).", "Six \u00d85.3 mm holes on a \u00d844.8 mm bolt circle.", "Fillet radius 2.922 mm on vertical edges."], "text": "Rectangular body, 74.54 \u00d7 45.7 \u00d7 78.6 mm (W\u00d7D\u00d7H). Six \u00d85.3 mm holes on a \u00d844.8 mm bolt circle. Fillet radius 2.922 mm on vertical edges."}, "params": {"block_w": {"type": "float", "default": 74.54, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 45.7, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 78.6, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "bolt_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 22.4, "min": 14.9, "max": 33.5, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 6, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331241 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 74.54, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 45.7, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 78.6, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 22.4, \"min\": 14.9, \"max\": 33.5, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"block_w\"], p[\"block_d\"]) * 0.06393906780523811)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462ca62a_2678", "family": "sketched", "tier": 1, "seed": 1177331242, "symmetry": "none", "op_count": 2, "ir_hash": "cf7538b21a737fdf", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 22600.0, "surface_area": 5310.0, "principal_moments": [2540000.0, 3640000.0, 4670000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["freeform sketched section (7 segments: 4 arcs, 3 curves), ~45.22 \u00d7 34.443 mm, extruded 20 mm thick.", "One \u00d88.4 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "freeform sketched section (7 segments: 4 arcs, 3 curves), ~45.22 \u00d7 34.443 mm, extruded 20 mm thick. One \u00d88.4 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"sk_w": {"type": "float", "default": 56.16, "min": 28.1, "max": 101.1, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 45, "min": 22.5, "max": 81.0, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "sk_t": {"type": "float", "default": 20, "min": 8.0, "max": 44.0, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "sk_hole_d": {"type": "float", "default": 8.4, "min": 2.0, "max": 16.8, "step": 0.5, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331242 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 56.16, \"min\": 28.1, \"max\": 101.1, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 45, \"min\": 22.5, \"max\": 81.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"sk_t\": {\"type\": 'float', \"default\": 20, \"min\": 8.0, \"max\": 44.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"sk_hole_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 2.0, \"max\": 16.8, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.3669, p[\"sk_h\"] * 0.0238).bezier([(p[\"sk_w\"] * 0.3669, p[\"sk_h\"] * 0.0238), (p[\"sk_w\"] * 0.3404, p[\"sk_h\"] * 0.2211), (p[\"sk_w\"] * 0.2424, p[\"sk_h\"] * 0.3944)]).spline([(p[\"sk_w\"] * 0.2424, p[\"sk_h\"] * 0.3944), (p[\"sk_w\"] * 0.1081, p[\"sk_h\"] * 0.4168), (p[\"sk_w\"] * -0.0237, p[\"sk_h\"] * 0.3824)]).threePointArc((p[\"sk_w\"] * -0.2676, p[\"sk_h\"] * 0.3153), (p[\"sk_w\"] * -0.4383, p[\"sk_h\"] * 0.1683)).spline([(p[\"sk_w\"] * -0.4383, p[\"sk_h\"] * 0.1683), (p[\"sk_w\"] * -0.3916, p[\"sk_h\"] * -0.0374), (p[\"sk_w\"] * -0.2658, p[\"sk_h\"] * -0.2068)]).threePointArc((p[\"sk_w\"] * -0.1414, p[\"sk_h\"] * -0.3216), (p[\"sk_w\"] * 0.0128, p[\"sk_h\"] * -0.371)).threePointArc((p[\"sk_w\"] * 0.0984, p[\"sk_h\"] * -0.3556), (p[\"sk_w\"] * 0.1763, p[\"sk_h\"] * -0.3082)).threePointArc((p[\"sk_w\"] * 0.3101, p[\"sk_h\"] * -0.1649), (p[\"sk_w\"] * 0.3669, p[\"sk_h\"] * 0.0238)).close().extrude(p[\"sk_t\"]))\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"sk_hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462ca62b_2679", "family": "gear", "tier": 0, "seed": 1177331243, "symmetry": "none", "op_count": 1, "ir_hash": "8384d82beff764d0", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 50800.0, "surface_area": 12200.0, "principal_moments": [12399999.999999998, 12399999.999999998, 20600000.0], "n_faces": 68, "n_edges": 198, "n_vertices": 132}, "dimensions": {"lines": ["Spur gear, module 5 mm, 11 teeth (pitch \u00d855 mm), face width 22.3 mm."], "text": "Spur gear, module 5 mm, 11 teeth (pitch \u00d855 mm), face width 22.3 mm."}, "params": {"module": {"type": "float", "default": 5.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 11, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 22.3, "min": 8.9, "max": 55.8, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331243 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 5.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 11, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 22.3, \"min\": 8.9, \"max\": 55.8, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462ca62c_2680", "family": "flanged", "tier": 2, "seed": 1177331244, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "a3c1783f107513ec", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 115000.0, "surface_area": 24300.0, "principal_moments": [60199999.99999999, 74100000.0, 74100000.0], "n_faces": 32, "n_edges": 80, "n_vertices": 47}, "dimensions": {"lines": ["Revolved body, \u00d845 mm \u00d7 62.1 mm tall with \u00d816.2 mm bore, \u00d885.7 mm \u00d7 7.6 mm flange.", "Four \u00d88.4 mm holes on a \u00d851.4 mm bolt circle.", "Chamfer 0.5 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d845 mm \u00d7 62.1 mm tall with \u00d816.2 mm bore, \u00d885.7 mm \u00d7 7.6 mm flange. Four \u00d88.4 mm holes on a \u00d851.4 mm bolt circle. Chamfer 0.5 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 45, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 62.1, "min": 18.6, "max": 155.2, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 16.2, "min": 2.0, "max": 31.5, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 85.7, "min": 58.5, "max": 135.0, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 7.6, "min": 2.3, "max": 24.8, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 8.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 25.7, "min": 17.1, "max": 38.6, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 4, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}, "end_chamfer": {"type": "float", "default": 0.5, "min": 0.1, "max": 2.0, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331244 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 45, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 62.1, \"min\": 18.6, \"max\": 155.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 16.2, \"min\": 2.0, \"max\": 31.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 85.7, \"min\": 58.5, \"max\": 135.0, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 7.6, \"min\": 2.3, \"max\": 24.8, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 25.7, \"min\": 17.1, \"max\": 38.6, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 4, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.5, \"min\": 0.1, \"max\": 2.0, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462ca62d_2681", "family": "lofted", "tier": 1, "seed": 1177331245, "symmetry": "none", "op_count": 2, "ir_hash": "2898e9626035ea5f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 70700.0, "surface_area": 12600.0, "principal_moments": [22400000.0, 22500000.0, 31199999.999999996], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["Lofted body through 2 sections: 6-sided polygon section, 65 mm across corners \u2192 45.1 \u00d7 45.1 mm rectangular section.", "One \u00d820.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 2 sections: 6-sided polygon section, 65 mm across corners \u2192 45.1 \u00d7 45.1 mm rectangular section. One \u00d820.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 65, "min": 32.5, "max": 104.0, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 45.1, "min": 18.0, "max": 78.0, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 34.2, "min": 13.7, "max": 68.4, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_bore_d": {"type": "float", "default": 20.3, "min": 2.0, "max": 36.1, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331245 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 65, \"min\": 32.5, \"max\": 104.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 45.1, \"min\": 18.0, \"max\": 78.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 34.2, \"min\": 13.7, \"max\": 68.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 20.3, \"min\": 2.0, \"max\": 36.1, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .polygon(6, p[\"loft_base\"] * 0.5 * 2)\n        .workplane(offset=p[\"loft_h\"])\n        .rect(p[\"loft_top\"], p[\"loft_top\"])\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca62e_2682", "family": "revolved", "tier": 2, "seed": 1177331246, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "3e7c30a589756262", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 30900.0, "surface_area": 10300.0, "principal_moments": [6910000.0, 9470000.0, 9470000.0], "n_faces": 10, "n_edges": 17, "n_vertices": 10}, "dimensions": {"lines": ["Revolved body, \u00d830 mm \u00d7 45.6 mm tall with \u00d817.2 mm bore, \u00d847.8 mm \u00d7 8.5 mm flange.", "Chamfer 0.4 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d830 mm \u00d7 45.6 mm tall with \u00d817.2 mm bore, \u00d847.8 mm \u00d7 8.5 mm flange. Chamfer 0.4 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 30, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 45.6, "min": 13.7, "max": 136.8, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 17.2, "min": 2.0, "max": 21.0, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 47.8, "min": 36.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 8.5, "min": 2.5, "max": 22.8, "step": 0.5, "group": "Body", "label": "Flange height (mm)"}, "end_chamfer": {"type": "float", "default": 0.4, "min": 0.1, "max": 1.2, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331246 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 30, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 45.6, \"min\": 13.7, \"max\": 136.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 17.2, \"min\": 2.0, \"max\": 21.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 47.8, \"min\": 36.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 8.5, \"min\": 2.5, \"max\": 22.8, \"step\": 0.5, \"group\": 'Body', \"label\": 'Flange height (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.4, \"min\": 0.1, \"max\": 1.2, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462ca62f_2683", "family": "ribbed", "tier": 1, "seed": 1177331247, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "6956a1b6e12acb3a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 38200.0, "surface_area": 18900.0, "principal_moments": [11699999.999999998, 17800000.0, 27799999.999999996], "n_faces": 54, "n_edges": 132, "n_vertices": 80}, "dimensions": {"lines": ["Rectangular body, 75 \u00d7 56.5 \u00d7 4 mm (W\u00d7D\u00d7H).", "Six ribs, 5 mm thick, 11.8 mm tall."], "text": "Rectangular body, 75 \u00d7 56.5 \u00d7 4 mm (W\u00d7D\u00d7H). Six ribs, 5 mm thick, 11.8 mm tall."}, "params": {"base_w": {"type": "float", "default": 75, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 56.5, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 4.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 6, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 11.8, "min": 4.7, "max": 23.6, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 5.0, "min": 1.0, "max": 12.5, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331247 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 75, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 56.5, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 6, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 11.8, \"min\": 4.7, \"max\": 23.6, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 1.0, \"max\": 12.5, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca630_2684", "family": "bracket", "tier": 2, "seed": 1177331248, "symmetry": "none", "op_count": 1, "ir_hash": "a0fef58f94bfbd58", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 33000.0, "surface_area": 10600.0, "principal_moments": [6620000.0, 14299999.999999998, 18900000.0], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Z-bracket: base leg 41.91 mm, vertical leg 28.1 mm, top leg 38.1 mm, 45 mm wide, 8 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 7.6 mm corner gusset."], "text": "Z-bracket: base leg 41.91 mm, vertical leg 28.1 mm, top leg 38.1 mm, 45 mm wide, 8 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 7.6 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 41.91, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 28.1, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 45, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 8.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 38.1, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}, "gusset_t": {"type": "float", "default": 7.6, "min": 4.0, "max": 22.5, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331248 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 41.91, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 28.1, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 45, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 38.1, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 7.6, \"min\": 4.0, \"max\": 22.5, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _tl, _vl) * 0.4 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(0, _vl - _bt).lineTo(-_g, _vl - _bt)\n                    .lineTo(0, _vl - _bt - _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462ca631_2685", "family": "enclosure", "tier": 1, "seed": 1177331249, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "d81e781372c8f2d3", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 117000.0, "surface_area": 41800.0, "principal_moments": [90000000.0, 145000000.0, 160000000.0], "n_faces": 11, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 89.9 \u00d7 48.3 \u00d7 68.1 mm (W\u00d7D\u00d7H).", "Hollowed to 5.8 mm wall thickness, open at top face."], "text": "Rectangular body, 89.9 \u00d7 48.3 \u00d7 68.1 mm (W\u00d7D\u00d7H). Hollowed to 5.8 mm wall thickness, open at top face."}, "params": {"enc_w": {"type": "float", "default": 89.9, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 48.3, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 68.1, "min": 27.2, "max": 136.2, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 5.8, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331249 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 89.9, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 48.3, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 68.1, \"min\": 27.2, \"max\": 136.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 5.8, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca632_2686", "family": "compound", "tier": 2, "seed": 1177331250, "symmetry": "mirror_xy", "op_count": 5, "ir_hash": "ecb21678798f0330", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 20500.0, "surface_area": 6030.0, "principal_moments": [1830000.0, 3570000.0, 3850000.0], "n_faces": 20, "n_edges": 47, "n_vertices": 30}, "dimensions": {"lines": ["Rectangular body, 40 \u00d7 24.9 \u00d7 21.3 mm (W\u00d7D\u00d7H).", "\u00d85 mm circular section attachment, 4.1 mm long, from back face with a \u00d82.5 mm bore.", "\u00d85 mm circular section attachment, 4.1 mm long, from right face with a \u00d82.5 mm bore.", "\u00d85 mm circular section attachment, 4.1 mm long, from left face with a \u00d82.5 mm bore.", "Four \u00d84.3 mm holes at the corners, 28 \u00d7 17.43 mm spacing."], "text": "Rectangular body, 40 \u00d7 24.9 \u00d7 21.3 mm (W\u00d7D\u00d7H). \u00d85 mm circular section attachment, 4.1 mm long, from back face with a \u00d82.5 mm bore. \u00d85 mm circular section attachment, 4.1 mm long, from right face with a \u00d82.5 mm bore. \u00d85 mm circular section attachment, 4.1 mm long, from left face with a \u00d82.5 mm bore. Four \u00d84.3 mm holes at the corners, 28 \u00d7 17.43 mm spacing."}, "params": {"block_w": {"type": "float", "default": 40, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body width (mm)"}, "block_d": {"type": "float", "default": 24.9, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body depth (mm)"}, "block_h": {"type": "float", "default": 21.3, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body height (mm)"}, "port_d": {"type": "float", "default": 5.0, "min": 2.0, "max": 9.6, "step": 1.0, "group": "Ports", "label": "Ports diameter (mm)"}, "port_len": {"type": "float", "default": 4.1, "min": 1.2, "max": 15.0, "step": 1.0, "group": "Ports", "label": "Port boss length (mm)"}, "port_bore": {"type": "float", "default": 2.5, "min": 2.0, "max": 3.6, "step": 0.5, "group": "Ports", "label": "Port bore diameter (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 5.6, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331250 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 40, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 24.9, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 21.3, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body height (mm)'},\n    \"port_d\": {\"type\": 'float', \"default\": 5.0, \"min\": 2.0, \"max\": 9.6, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Ports diameter (mm)'},\n    \"port_len\": {\"type\": 'float', \"default\": 4.1, \"min\": 1.2, \"max\": 15.0, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Port boss length (mm)'},\n    \"port_bore\": {\"type\": 'float', \"default\": 2.5, \"min\": 2.0, \"max\": 3.6, \"step\": 0.5, \"group\": 'Ports', \"label\": 'Port bore diameter (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 5.6, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462ca634_2688", "family": "sketched", "tier": 3, "seed": 1177331252, "symmetry": "none", "op_count": 4, "ir_hash": "4e7c06e0e7230d09", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 56500.0, "surface_area": 9930.0, "principal_moments": [12899999.999999998, 13999999.999999998, 20100000.0], "n_faces": 13, "n_edges": 27, "n_vertices": 18}, "dimensions": {"lines": ["freeform sketched section (7 segments: 4 straight, 1 arc, 2 curves), ~57.672 \u00d7 50.47 mm, extruded 25 mm thick.", "One \u00d88.4 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch.", "Boss \u00d820.9 mm \u00d7 7 mm tall on top face.", "Fillet radius 2.7 mm on vertical edges (optional, off by default)."], "text": "freeform sketched section (7 segments: 4 straight, 1 arc, 2 curves), ~57.672 \u00d7 50.47 mm, extruded 25 mm thick. One \u00d88.4 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch. Boss \u00d820.9 mm \u00d7 7 mm tall on top face. Fillet radius 2.7 mm on vertical edges (optional, off by default)."}, "params": {"sk_w": {"type": "float", "default": 67.46, "min": 33.7, "max": 121.4, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 70, "min": 35.0, "max": 126.0, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "sk_t": {"type": "float", "default": 25, "min": 10.0, "max": 55.0, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "sk_hole_d": {"type": "float", "default": 8.4, "min": 2.0, "max": 16.8, "step": 0.5, "group": "Holes", "label": "Hole diameter (mm)"}, "boss_d": {"type": "float", "default": 20.9, "min": 10.4, "max": 41.8, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 7.0, "min": 2.8, "max": 17.5, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}, "sk_fillet_r": {"type": "float", "default": 2.7, "min": 0.5, "max": 6.8, "step": 0.5, "group": "Body", "label": "Edge fillet radius (mm)"}, "sk_filleted": {"type": "bool", "default": false, "group": "Body", "label": "Fillet vertical edges"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331252 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 67.46, \"min\": 33.7, \"max\": 121.4, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 70, \"min\": 35.0, \"max\": 126.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"sk_t\": {\"type\": 'float', \"default\": 25, \"min\": 10.0, \"max\": 55.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"sk_hole_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 2.0, \"max\": 16.8, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"boss_d\": {\"type\": 'float', \"default\": 20.9, \"min\": 10.4, \"max\": 41.8, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 7.0, \"min\": 2.8, \"max\": 17.5, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n    \"sk_fillet_r\": {\"type\": 'float', \"default\": 2.7, \"min\": 0.5, \"max\": 6.8, \"step\": 0.5, \"group\": 'Body', \"label\": 'Edge fillet radius (mm)'},\n    \"sk_filleted\": {\"type\": 'bool', \"default\": False, \"group\": 'Body', \"label\": 'Fillet vertical edges'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.3846, p[\"sk_h\"] * 0.0701).spline([(p[\"sk_w\"] * 0.3846, p[\"sk_h\"] * 0.0701), (p[\"sk_w\"] * 0.3284, p[\"sk_h\"] * 0.1984), (p[\"sk_w\"] * 0.2453, p[\"sk_h\"] * 0.3111)]).threePointArc((p[\"sk_w\"] * 0.0817, p[\"sk_h\"] * 0.3622), (p[\"sk_w\"] * -0.117, p[\"sk_h\"] * 0.3031)).lineTo(p[\"sk_w\"] * -0.4703, p[\"sk_h\"] * 0.0699).lineTo(p[\"sk_w\"] * -0.3656, p[\"sk_h\"] * -0.1366).lineTo(p[\"sk_w\"] * -0.1859, p[\"sk_h\"] * -0.4099).lineTo(p[\"sk_w\"] * 0.2131, p[\"sk_h\"] * -0.3989).bezier([(p[\"sk_w\"] * 0.2131, p[\"sk_h\"] * -0.3989), (p[\"sk_w\"] * 0.3409, p[\"sk_h\"] * -0.1798), (p[\"sk_w\"] * 0.3846, p[\"sk_h\"] * 0.0701)]).close().extrude(p[\"sk_t\"]))\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"sk_hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    if p[\"sk_filleted\"]:\n        result = result.edges('|Z').fillet(p[\"sk_fillet_r\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462ca635_2689", "family": "lofted", "tier": 1, "seed": 1177331253, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "95f5cb4b6fba7d23", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 55200.0, "surface_area": 12900.0, "principal_moments": [15699999.999999998, 20700000.0, 20700000.0], "n_faces": 9, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["Lofted body through 2 sections: 6-sided polygon section, 50.75 mm across corners \u2192 \u00d838 mm circular section.", "One \u00d821.5 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 2 sections: 6-sided polygon section, 50.75 mm across corners \u2192 \u00d838 mm circular section. One \u00d821.5 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 50.75, "min": 25.4, "max": 81.2, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 38.0, "min": 15.2, "max": 60.9, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 53.4, "min": 21.4, "max": 106.8, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_bore_d": {"type": "float", "default": 21.5, "min": 2.0, "max": 30.4, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331253 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 50.75, \"min\": 25.4, \"max\": 81.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 38.0, \"min\": 15.2, \"max\": 60.9, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 53.4, \"min\": 21.4, \"max\": 106.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 21.5, \"min\": 2.0, \"max\": 30.4, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .polygon(6, p[\"loft_base\"] * 0.5 * 2)\n        .workplane(offset=p[\"loft_h\"])\n        .circle(p[\"loft_top\"] / 2)\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca636_2690", "family": "compound", "tier": 1, "seed": 1177331254, "symmetry": "none", "op_count": 2, "ir_hash": "e69c85cdff3e5505", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 141000.0, "surface_area": 17600.0, "principal_moments": [52999999.99999999, 72000000.0, 85300000.0], "n_faces": 13, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Rectangular body, 60 \u00d7 41.8 \u00d7 54.1 mm (W\u00d7D\u00d7H).", "6-sided polygon section, 17.2 mm across corners attachment, 29.7 mm long, from left face."], "text": "Rectangular body, 60 \u00d7 41.8 \u00d7 54.1 mm (W\u00d7D\u00d7H). 6-sided polygon section, 17.2 mm across corners attachment, 29.7 mm long, from left face."}, "params": {"block_w": {"type": "float", "default": 60, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 41.8, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 54.1, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "spig_sides": {"type": "int", "default": 6, "min": 3, "max": 8, "step": 1, "group": "Spigot", "label": "Spigot sides"}, "spig_r": {"type": "float", "default": 8.6, "min": 4.3, "max": 14.7, "step": 1.0, "group": "Spigot", "label": "Spigot circumradius (mm)"}, "spig_len": {"type": "float", "default": 29.7, "min": 4.5, "max": 59.6, "step": 1.0, "group": "Spigot", "label": "Spigot length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331254 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 60, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 41.8, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 54.1, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"spig_sides\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Spigot', \"label\": 'Spigot sides'},\n    \"spig_r\": {\"type\": 'float', \"default\": 8.6, \"min\": 4.3, \"max\": 14.7, \"step\": 1.0, \"group\": 'Spigot', \"label\": 'Spigot circumradius (mm)'},\n    \"spig_len\": {\"type\": 'float', \"default\": 29.7, \"min\": 4.5, \"max\": 59.6, \"step\": 1.0, \"group\": 'Spigot', \"label\": 'Spigot length (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"spig_sides\"], p[\"spig_r\"] * 2).extrude(p[\"spig_len\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462ca637_2691", "family": "gear", "tier": 1, "seed": 1177331255, "symmetry": "none", "op_count": 1, "ir_hash": "2af538e59dd15a4d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 3290.0, "surface_area": 2410.0, "principal_moments": [215000.0, 215000.0, 419000.0], "n_faces": 153, "n_edges": 453, "n_vertices": 302}, "dimensions": {"lines": ["Spur gear, module 1.25 mm, 25 teeth (pitch \u00d831.25 mm), face width 4.5 mm, \u00d85.9 mm bore."], "text": "Spur gear, module 1.25 mm, 25 teeth (pitch \u00d831.25 mm), face width 4.5 mm, \u00d85.9 mm bore."}, "params": {"module": {"type": "float", "default": 1.25, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 25, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 4.5, "min": 1.8, "max": 11.2, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "bore_d": {"type": "float", "default": 5.9, "min": 2.0, "max": 16.9, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331255 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 1.25, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 25, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 4.5, \"min\": 1.8, \"max\": 11.2, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 5.9, \"min\": 2.0, \"max\": 16.9, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462ca638_2692", "family": "tapped", "tier": 3, "seed": 1177331256, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "2f96feb8f86f4025", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 71400.0, "surface_area": 15300.0, "principal_moments": [22999999.999999996, 39400000.0, 59599999.99999999], "n_faces": 502, "n_edges": 1372, "n_vertices": 872}, "dimensions": {"lines": ["Four M6x1 tapped holes in a plate."], "text": "Four M6x1 tapped holes in a plate."}, "params": {"major_d": {"type": "float", "default": 6.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 1.0, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 15.1, "min": 7.2, "max": 27.2, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "plate_w": {"type": "float", "default": 80, "min": 48.0, "max": 128.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 60.3, "min": 36.2, "max": 96.5, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331256 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.0, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 15.1, \"min\": 7.2, \"max\": 27.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"plate_w\": {\"type\": 'float', \"default\": 80, \"min\": 48.0, \"max\": 128.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 60.3, \"min\": 36.2, \"max\": 96.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n}\n\n\ndef build(p):\n\n    _W, _D, _H = p[\"plate_w\"], p[\"plate_d\"], p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Box(_W, _D, _H)\n    _sx, _sy = p[\"plate_w\"] * 0.6, p[\"plate_d\"] * 0.6\n    _locs = [(_xx, _yy) for _xx in (-_sx / 2, _sx / 2) for _yy in (-_sy / 2, _sy / 2)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462ca639_2693", "family": "sketched", "tier": 1, "seed": 1177331257, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "4a499f46ad02abcd", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 24300.0, "surface_area": 6020.0, "principal_moments": [2570000.0, 5930000.0, 7590000.0], "n_faces": 8, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["freeform sketched section (5 segments: 4 straight, 1 curve), ~61.055 \u00d7 41.41 mm, extruded 15 mm thick.", "One \u00d86.4 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "freeform sketched section (5 segments: 4 straight, 1 curve), ~61.055 \u00d7 41.41 mm, extruded 15 mm thick. One \u00d86.4 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"sk_w": {"type": "float", "default": 85, "min": 42.5, "max": 153.0, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 50, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "sk_t": {"type": "float", "default": 15, "min": 6.0, "max": 33.0, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "sk_hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 12.8, "step": 0.5, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331257 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 85, \"min\": 42.5, \"max\": 153.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 50, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"sk_t\": {\"type\": 'float', \"default\": 15, \"min\": 6.0, \"max\": 33.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"sk_hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 12.8, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.4508, p[\"sk_h\"] * 0.0227).bezier([(p[\"sk_w\"] * 0.4508, p[\"sk_h\"] * 0.0227), (p[\"sk_w\"] * 0.3761, p[\"sk_h\"] * 0.1684), (p[\"sk_w\"] * 0.2556, p[\"sk_h\"] * 0.2792)]).lineTo(p[\"sk_w\"] * -0.255, p[\"sk_h\"] * 0.4074).lineTo(p[\"sk_w\"] * -0.2675, p[\"sk_h\"] * -0.1896).lineTo(p[\"sk_w\"] * 0.0767, p[\"sk_h\"] * -0.4208).lineTo(p[\"sk_w\"] * 0.4508, p[\"sk_h\"] * 0.0227).close().extrude(p[\"sk_t\"]))\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"sk_hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca63a_2694", "family": "block", "tier": 1, "seed": 1177331258, "symmetry": "none", "op_count": 2, "ir_hash": "dbd4b51d4790f37b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 2390.0, "surface_area": 1630.0, "principal_moments": [61300.0, 87000.0, 116000.0], "n_faces": 15, "n_edges": 39, "n_vertices": 26}, "dimensions": {"lines": ["Rectangular body, 15 \u00d7 8.8 \u00d7 18.9 mm (W\u00d7D\u00d7H).", "Nine \u00d80.9 mm holes in two staggered rows, 2.8 \u00d7 2.6 mm pitch."], "text": "Rectangular body, 15 \u00d7 8.8 \u00d7 18.9 mm (W\u00d7D\u00d7H). Nine \u00d80.9 mm holes in two staggered rows, 2.8 \u00d7 2.6 mm pitch."}, "params": {"block_w": {"type": "float", "default": 15.0, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 8.8, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 18.9, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 0.9, "min": 2.0, "max": 0.9, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 5, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331258 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 15.0, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 8.8, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 18.9, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 0.9, \"min\": 2.0, \"max\": 0.9, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 5, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 2.8\n    _ssy = 2.6\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca63b_2695", "family": "revolved", "tier": 2, "seed": 1177331259, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "5769888b4385aed9", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 278000.0, "surface_area": 47900.0, "principal_moments": [305000000.0, 398000000.0, 398000000.0], "n_faces": 10, "n_edges": 17, "n_vertices": 10}, "dimensions": {"lines": ["Revolved body, \u00d858.64 mm \u00d7 96.9 mm tall with \u00d834.3 mm bore, \u00d8110.5 mm \u00d7 15.3 mm flange.", "Chamfer 0.4 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d858.64 mm \u00d7 96.9 mm tall with \u00d834.3 mm bore, \u00d8110.5 mm \u00d7 15.3 mm flange. Chamfer 0.4 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 58.64, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 96.9, "min": 29.1, "max": 290.7, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 34.3, "min": 2.0, "max": 41.0, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 110.5, "min": 70.4, "max": 175.9, "step": 1.0, "group": "Body", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 15.3, "min": 4.6, "max": 48.5, "step": 0.5, "group": "Body", "label": "Flange height (mm)"}, "end_chamfer": {"type": "float", "default": 0.4, "min": 0.1, "max": 1.2, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331259 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 58.64, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 96.9, \"min\": 29.1, \"max\": 290.7, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 34.3, \"min\": 2.0, \"max\": 41.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 110.5, \"min\": 70.4, \"max\": 175.9, \"step\": 1.0, \"group\": 'Body', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 15.3, \"min\": 4.6, \"max\": 48.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Flange height (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.4, \"min\": 0.1, \"max\": 1.2, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462ca63c_2696", "family": "tapped", "tier": 1, "seed": 1177331260, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "44593d969019d76b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 35600.0, "surface_area": 10000.0, "principal_moments": [6420000.0, 7210000.0, 11100000.0], "n_faces": 534, "n_edges": 1460, "n_vertices": 928}, "dimensions": {"lines": ["Four M8x1.25 tapped holes in a plate."], "text": "Four M8x1.25 tapped holes in a plate."}, "params": {"major_d": {"type": "float", "default": 8.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 1.25, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 20.7, "min": 9.6, "max": 37.3, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "plate_w": {"type": "float", "default": 45.0, "min": 27.0, "max": 72.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 41.9, "min": 25.1, "max": 67.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331260 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.25, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 20.7, \"min\": 9.6, \"max\": 37.3, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"plate_w\": {\"type\": 'float', \"default\": 45.0, \"min\": 27.0, \"max\": 72.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 41.9, \"min\": 25.1, \"max\": 67.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n}\n\n\ndef build(p):\n\n    _W, _D, _H = p[\"plate_w\"], p[\"plate_d\"], p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Box(_W, _D, _H)\n    _sx, _sy = p[\"plate_w\"] * 0.6, p[\"plate_d\"] * 0.6\n    _locs = [(_xx, _yy) for _xx in (-_sx / 2, _sx / 2) for _yy in (-_sy / 2, _sy / 2)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca63d_2697", "family": "bracket", "tier": 1, "seed": 1177331261, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "57894b0ad9d5ba27", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 25400.0, "surface_area": 12300.0, "principal_moments": [9620000.0, 32599999.999999996, 38400000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["L-bracket: base leg 85 mm, vertical leg 90 mm, 30 mm wide, 5 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."], "text": "L-bracket: base leg 85 mm, vertical leg 90 mm, 30 mm wide, 5 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 85, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 90.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 30, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 5.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331261 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 85, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 90.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 30, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca63e_2698", "family": "plate", "tier": 2, "seed": 1177331262, "symmetry": "none", "op_count": 2, "ir_hash": "556a72b8dd1001c6", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 2020.0, "surface_area": 1900.0, "principal_moments": [67200.0, 207000.0, 271000.0], "n_faces": 30, "n_edges": 84, "n_vertices": 56}, "dimensions": {"lines": ["Rectangular body, 36.44 \u00d7 20 \u00d7 3 mm (W\u00d7D\u00d7H).", "Six 4.9 \u00d7 2.1 mm slots in a 2\u00d73 grid, 29.2 \u00d7 8 mm pitch."], "text": "Rectangular body, 36.44 \u00d7 20 \u00d7 3 mm (W\u00d7D\u00d7H). Six 4.9 \u00d7 2.1 mm slots in a 2\u00d73 grid, 29.2 \u00d7 8 mm pitch."}, "params": {"plate_w": {"type": "float", "default": 36.44, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 20.0, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 3.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 2.1, "min": 2.0, "max": 2.4, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 2, "min": 1, "max": 4, "step": 1, "group": "Holes", "label": "Holes across"}, "hole_ny": {"type": "int", "default": 3, "min": 1, "max": 4, "step": 1, "group": "Holes", "label": "Holes deep"}, "hole_slot_len": {"type": "float", "default": 4.9, "min": 3.2, "max": 5.6, "step": 0.5, "group": "Holes", "label": "Slot length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331262 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 36.44, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 20.0, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 3.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 2.1, \"min\": 2.0, \"max\": 2.4, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 2, \"min\": 1, \"max\": 4, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes across'},\n    \"hole_ny\": {\"type\": 'int', \"default\": 3, \"min\": 1, \"max\": 4, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes deep'},\n    \"hole_slot_len\": {\"type\": 'float', \"default\": 4.9, \"min\": 3.2, \"max\": 5.6, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Slot length (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(29.2, 8.0, p[\"hole_nx\"], p[\"hole_ny\"])\n        .slot2D(p[\"hole_slot_len\"], p[\"hole_d\"]).cutThruAll()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca640_2700", "family": "revolved", "tier": 1, "seed": 1177331264, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "c719668e95a9287c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 46100.0, "surface_area": 9260.0, "principal_moments": [9230000.0, 12799999.999999998, 12799999.999999998], "n_faces": 8, "n_edges": 14, "n_vertices": 8}, "dimensions": {"lines": ["Revolved body, \u00d837.89 mm \u00d7 46.4 mm tall with \u00d813 mm bore.", "Chamfer 0.8 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d837.89 mm \u00d7 46.4 mm tall with \u00d813 mm bore. Chamfer 0.8 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 37.89, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 46.4, "min": 13.9, "max": 139.2, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 13.0, "min": 2.0, "max": 26.5, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "end_chamfer": {"type": "float", "default": 0.8, "min": 0.1, "max": 2.4, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331264 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 37.89, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 46.4, \"min\": 13.9, \"max\": 139.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 13.0, \"min\": 2.0, \"max\": 26.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.8, \"min\": 0.1, \"max\": 2.4, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462ca641_2701", "family": "profiled", "tier": 0, "seed": 1177331265, "symmetry": "none", "op_count": 1, "ir_hash": "c27991874bba047c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 266000.0, "surface_area": 55000.0, "principal_moments": [80900000.0, 1040000000.0, 1040000000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d845 mm \u00d7 251.3 mm tall."], "text": "Revolved body, \u00d845 mm \u00d7 251.3 mm tall."}, "params": {"outer_d": {"type": "float", "default": 45, "min": 22.5, "max": 90.0, "step": 1.0, "group": "Profile", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 251.3, "min": 75.4, "max": 753.9, "step": 5.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331265 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 45, \"min\": 22.5, \"max\": 90.0, \"step\": 1.0, \"group\": 'Profile', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 251.3, \"min\": 75.4, \"max\": 753.9, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca642_2702", "family": "compound", "tier": 1, "seed": 1177331266, "symmetry": "mirror_xy", "op_count": 3, "ir_hash": "f4cf9e1815660c88", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 41000.0, "surface_area": 12800.0, "principal_moments": [13799999.999999998, 14099999.999999998, 16499999.999999998], "n_faces": 13, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Rectangular body, 45 \u00d7 53.7 \u00d7 16 mm (W\u00d7D\u00d7H).", "\u00d814 mm circular section attachment, 52.2 mm long, from top face with a \u00d86.4 mm bore.", "Four \u00d88.4 mm holes at the corners, 31.5 \u00d7 37.59 mm spacing."], "text": "Rectangular body, 45 \u00d7 53.7 \u00d7 16 mm (W\u00d7D\u00d7H). \u00d814 mm circular section attachment, 52.2 mm long, from top face with a \u00d86.4 mm bore. Four \u00d88.4 mm holes at the corners, 31.5 \u00d7 37.59 mm spacing."}, "params": {"base_w": {"type": "float", "default": 45, "min": 30.0, "max": 160.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 53.7, "min": 25.0, "max": 160.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_h": {"type": "float", "default": 16.0, "min": 3.0, "max": 30.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "col_d": {"type": "float", "default": 14.0, "min": 5.6, "max": 22.5, "step": 1.0, "group": "Column", "label": "Column diameter (mm)"}, "col_h": {"type": "float", "default": 52.2, "min": 15.7, "max": 156.6, "step": 1.0, "group": "Column", "label": "Column height (mm)"}, "col_bore": {"type": "float", "default": 6.4, "min": 2.0, "max": 10.1, "step": 0.5, "group": "Column", "label": "Column bore diameter (mm)"}, "hole_d": {"type": "float", "default": 8.4, "min": 2.0, "max": 10.1, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331266 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 45, \"min\": 30.0, \"max\": 160.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 53.7, \"min\": 25.0, \"max\": 160.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_h\": {\"type\": 'float', \"default\": 16.0, \"min\": 3.0, \"max\": 30.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"col_d\": {\"type\": 'float', \"default\": 14.0, \"min\": 5.6, \"max\": 22.5, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column diameter (mm)'},\n    \"col_h\": {\"type\": 'float', \"default\": 52.2, \"min\": 15.7, \"max\": 156.6, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column height (mm)'},\n    \"col_bore\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 10.1, \"step\": 0.5, \"group\": 'Column', \"label\": 'Column bore diameter (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 2.0, \"max\": 10.1, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_h\"])\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"col_d\"] / 2).extrude(p[\"col_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"col_bore\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"base_w\"] * 0.7, p[\"base_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462ca643_2703", "family": "tapped", "tier": 1, "seed": 1177331267, "symmetry": "none", "op_count": 1, "ir_hash": "6f14bd1054de47e9", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 6440.0, "surface_area": 2880.0, "principal_moments": [434000.0, 434000.0, 482000.0], "n_faces": 107, "n_edges": 377, "n_vertices": 272}, "dimensions": {"lines": ["One M10x1.5 tapped hole in a cylinder."], "text": "One M10x1.5 tapped hole in a cylinder."}, "params": {"major_d": {"type": "float", "default": 10.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 1.5, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 19.0, "min": 12.0, "max": 34.2, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "body_d": {"type": "float", "default": 22.7, "min": 18.0, "max": 36.3, "step": 1.0, "group": "Body", "label": "Outer \u00d8 (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331267 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 10.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.5, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 19.0, \"min\": 12.0, \"max\": 34.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"body_d\": {\"type\": 'float', \"default\": 22.7, \"min\": 18.0, \"max\": 36.3, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer \u00d8 (mm)'},\n}\n\n\ndef build(p):\n\n    _W = _D = p[\"body_d\"]\n    _H = p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Cylinder(radius=_W / 2, height=_H)\n    _locs = [(0.0, 0.0)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca644_2704", "family": "compound", "tier": 1, "seed": 1177331268, "symmetry": "none", "op_count": 2, "ir_hash": "6e1eac7310f883fd", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 109000.0, "surface_area": 14100.0, "principal_moments": [23299999.999999996, 74000000.0, 74000000.0], "n_faces": 5, "n_edges": 6, "n_vertices": 4}, "dimensions": {"lines": ["\u00d843.22 mm circular section, extruded 64.7 mm thick.", "\u00d824.7 mm circular section attachment, 30.1 mm long, from top face."], "text": "\u00d843.22 mm circular section, extruded 64.7 mm thick. \u00d824.7 mm circular section attachment, 30.1 mm long, from top face."}, "params": {"shaft_d": {"type": "float", "default": 43.22, "min": 21.6, "max": 77.8, "step": 1.0, "group": "Body", "label": "Shaft diameter (mm)"}, "shaft_len": {"type": "float", "default": 64.7, "min": 25.9, "max": 129.4, "step": 1.0, "group": "Body", "label": "Shaft length (mm)"}, "step_d": {"type": "float", "default": 24.7, "min": 12.3, "max": 38.9, "step": 1.0, "group": "Step", "label": "Step diameter (mm)"}, "step_len": {"type": "float", "default": 30.1, "min": 9.0, "max": 75.2, "step": 1.0, "group": "Step", "label": "Step length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331268 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"shaft_d\": {\"type\": 'float', \"default\": 43.22, \"min\": 21.6, \"max\": 77.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft diameter (mm)'},\n    \"shaft_len\": {\"type\": 'float', \"default\": 64.7, \"min\": 25.9, \"max\": 129.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft length (mm)'},\n    \"step_d\": {\"type\": 'float', \"default\": 24.7, \"min\": 12.3, \"max\": 38.9, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step diameter (mm)'},\n    \"step_len\": {\"type\": 'float', \"default\": 30.1, \"min\": 9.0, \"max\": 75.2, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').circle(p[\"shaft_d\"] / 2).extrude(p[\"shaft_len\"]))\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"step_d\"] / 2).extrude(p[\"step_len\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462ca645_2705", "family": "sketched", "tier": 2, "seed": 1177331269, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "30c8931c4cb12bba", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 21900.0, "surface_area": 5610.0, "principal_moments": [2330000.0, 3690000.0, 3770000.0], "n_faces": 13, "n_edges": 27, "n_vertices": 18}, "dimensions": {"lines": ["freeform sketched section (6 segments: 3 arcs, 3 curves), ~41.55 \u00d7 24.796 mm, extruded 24.26 mm thick.", "One \u00d88.4 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch.", "Boss \u00d88.8 mm \u00d7 9.9 mm tall on top face with a \u00d83.2 mm bore."], "text": "freeform sketched section (6 segments: 3 arcs, 3 curves), ~41.55 \u00d7 24.796 mm, extruded 24.26 mm thick. One \u00d88.4 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch. Boss \u00d88.8 mm \u00d7 9.9 mm tall on top face with a \u00d83.2 mm bore."}, "params": {"sk_w": {"type": "float", "default": 60.63, "min": 30.3, "max": 109.1, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 40.0, "min": 20.0, "max": 72.0, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "sk_t": {"type": "float", "default": 24.26, "min": 9.7, "max": 53.4, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "sk_hole_d": {"type": "float", "default": 8.4, "min": 2.0, "max": 16.8, "step": 0.5, "group": "Holes", "label": "Hole diameter (mm)"}, "boss_d": {"type": "float", "default": 8.8, "min": 4.4, "max": 17.6, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 9.9, "min": 4.0, "max": 24.8, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}, "boss_bore_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 6.2, "step": 0.1, "group": "Boss", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331269 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 60.63, \"min\": 30.3, \"max\": 109.1, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 40.0, \"min\": 20.0, \"max\": 72.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"sk_t\": {\"type\": 'float', \"default\": 24.26, \"min\": 9.7, \"max\": 53.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"sk_hole_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 2.0, \"max\": 16.8, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"boss_d\": {\"type\": 'float', \"default\": 8.8, \"min\": 4.4, \"max\": 17.6, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 9.9, \"min\": 4.0, \"max\": 24.8, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n    \"boss_bore_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 6.2, \"step\": 0.1, \"group\": 'Boss', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.3598, p[\"sk_h\"] * -0.0581).threePointArc((p[\"sk_w\"] * 0.3549, p[\"sk_h\"] * 0.1154), (p[\"sk_w\"] * 0.2752, p[\"sk_h\"] * 0.2506)).threePointArc((p[\"sk_w\"] * 0.0153, p[\"sk_h\"] * 0.305), (p[\"sk_w\"] * -0.2348, p[\"sk_h\"] * 0.2178)).spline([(p[\"sk_w\"] * -0.2348, p[\"sk_h\"] * 0.2178), (p[\"sk_w\"] * -0.3143, p[\"sk_h\"] * 0.0979), (p[\"sk_w\"] * -0.3255, p[\"sk_h\"] * -0.0456)]).bezier([(p[\"sk_w\"] * -0.3255, p[\"sk_h\"] * -0.0456), (p[\"sk_w\"] * -0.2646, p[\"sk_h\"] * -0.231), (p[\"sk_w\"] * -0.127, p[\"sk_h\"] * -0.3693)]).threePointArc((p[\"sk_w\"] * 0.0903, p[\"sk_h\"] * -0.376), (p[\"sk_w\"] * 0.291, p[\"sk_h\"] * -0.2746)).bezier([(p[\"sk_w\"] * 0.291, p[\"sk_h\"] * -0.2746), (p[\"sk_w\"] * 0.3542, p[\"sk_h\"] * -0.1755), (p[\"sk_w\"] * 0.3598, p[\"sk_h\"] * -0.0581)]).close().extrude(p[\"sk_t\"]))\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"sk_hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .hole(p[\"boss_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca646_2706", "family": "plate", "tier": 0, "seed": 1177331270, "symmetry": "radial", "op_count": 1, "ir_hash": "d05ae81f69e4daaf", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 2330.0, "surface_area": 1410.0, "principal_moments": [39200.0, 242000.0, 272000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 35 \u00d7 13.3 \u00d7 5 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 35 \u00d7 13.3 \u00d7 5 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 35, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 13.3, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 5.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331270 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 35, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 13.3, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 5.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca647_2707", "family": "bracket", "tier": 1, "seed": 1177331271, "symmetry": "none", "op_count": 1, "ir_hash": "2c9ff6508040221a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 34500.0, "surface_area": 19500.0, "principal_moments": [24299999.999999996, 40200000.0, 55099999.99999999], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["C-channel bracket: base leg 76.74 mm, vertical leg 73.4 mm, 40.24 mm wide, 4 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."], "text": "C-channel bracket: base leg 76.74 mm, vertical leg 73.4 mm, 40.24 mm wide, 4 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 76.74, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 73.4, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 40.24, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 4.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331271 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 76.74, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 73.4, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 40.24, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca648_2708", "family": "bracket", "tier": 2, "seed": 1177331272, "symmetry": "none", "op_count": 1, "ir_hash": "0e5804c6d5d1c42a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 30900.0, "surface_area": 12300.0, "principal_moments": [10300000.0, 13399999.999999998, 18300000.0], "n_faces": 14, "n_edges": 37, "n_vertices": 24}, "dimensions": {"lines": ["L-bracket: base leg 45.34 mm, vertical leg 52.2 mm, 55 mm wide, 6 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg; 5.6 mm corner gusset."], "text": "L-bracket: base leg 45.34 mm, vertical leg 52.2 mm, 55 mm wide, 6 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg; 5.6 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 45.34, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 52.2, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 55, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 6.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 5.6, "min": 3.0, "max": 18.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331272 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 45.34, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 52.2, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 55, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 5.6, \"min\": 3.0, \"max\": 18.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca649_2709", "family": "block", "tier": 3, "seed": 1177331273, "symmetry": "mirror_xy", "op_count": 5, "ir_hash": "8c65be9e7a0f0f36", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 894000.0, "surface_area": 68400.0, "principal_moments": [1350000000.0, 1380000000.0, 1470000000.0], "n_faces": 16, "n_edges": 40, "n_vertices": 26}, "dimensions": {"lines": ["Rectangular body, 100 \u00d7 93.4 \u00d7 100 mm (W\u00d7D\u00d7H).", "Four \u00d810.5 mm holes at the corners, 70 \u00d7 65.38 mm spacing.", "Fillet radius 7.815 mm on vertical edges.", "Fillet radius 7.053 mm on vertical edges (optional, off by default).", "One \u00d83.2 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch, angled 15.4\u00b0 on the <Y face."], "text": "Rectangular body, 100 \u00d7 93.4 \u00d7 100 mm (W\u00d7D\u00d7H). Four \u00d810.5 mm holes at the corners, 70 \u00d7 65.38 mm spacing. Fillet radius 7.815 mm on vertical edges. Fillet radius 7.053 mm on vertical edges (optional, off by default). One \u00d83.2 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch, angled 15.4\u00b0 on the <Y face."}, "params": {"block_w": {"type": "float", "default": 100.0, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 93.4, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 100.0, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 10.5, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}, "filleted2": {"type": "bool", "default": false, "group": "Body", "label": "Fillet corners"}, "face_hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 5.8, "step": 0.5, "group": "Holes", "label": "Side hole diameter (mm)"}, "face_hole_tilt": {"type": "float", "default": 15.4, "min": 0.0, "max": 30.0, "step": 1.0, "group": "Holes", "label": "Side hole angle (deg)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331273 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 100.0, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 93.4, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 100.0, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 10.5, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n    \"filleted2\": {\"type\": 'bool', \"default\": False, \"group\": 'Body', \"label\": 'Fillet corners'},\n    \"face_hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 5.8, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Side hole diameter (mm)'},\n    \"face_hole_tilt\": {\"type\": 'float', \"default\": 15.4, \"min\": 0.0, \"max\": 30.0, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Side hole angle (deg)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"block_w\"], p[\"block_d\"]) * 0.0836756885928428)\n    if p[\"filleted2\"]:\n        result = result.edges('|Z').fillet(min(p[\"block_w\"], p[\"block_d\"]) * 0.07551467671018533)\n    result = (\n        result.faces('<Y').workplane().transformed(rotate=(p[\"face_hole_tilt\"], 0, 0))\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"face_hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca64a_2710", "family": "compound", "tier": 2, "seed": 1177331274, "symmetry": "none", "op_count": 3, "ir_hash": "b85e6a0c8b515409", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 41300.0, "surface_area": 9490.0, "principal_moments": [5500000.0, 16399999.999999998, 16399999.999999998], "n_faces": 13, "n_edges": 27, "n_vertices": 18}, "dimensions": {"lines": ["\u00d834.55 mm circular section, extruded 37.7 mm thick.", "\u00d816 mm circular section attachment, 32.6 mm long, from top face.", "6-sided polygon section, 13.4 mm across corners attachment, 12 mm long, from top face with a \u00d85.6 mm bore."], "text": "\u00d834.55 mm circular section, extruded 37.7 mm thick. \u00d816 mm circular section attachment, 32.6 mm long, from top face. 6-sided polygon section, 13.4 mm across corners attachment, 12 mm long, from top face with a \u00d85.6 mm bore."}, "params": {"shaft_d": {"type": "float", "default": 34.55, "min": 17.3, "max": 62.2, "step": 1.0, "group": "Body", "label": "Shaft diameter (mm)"}, "shaft_len": {"type": "float", "default": 37.7, "min": 15.1, "max": 75.4, "step": 1.0, "group": "Body", "label": "Shaft length (mm)"}, "step_d": {"type": "float", "default": 16.0, "min": 8.0, "max": 31.1, "step": 1.0, "group": "Step", "label": "Step diameter (mm)"}, "step_len": {"type": "float", "default": 32.6, "min": 9.8, "max": 81.5, "step": 1.0, "group": "Step", "label": "Step length (mm)"}, "head_sides": {"type": "int", "default": 6, "min": 3, "max": 8, "step": 1, "group": "Head", "label": "Drive head sides"}, "head_r": {"type": "float", "default": 6.7, "min": 4.0, "max": 7.7, "step": 1.0, "group": "Head", "label": "Drive head circumradius (mm)"}, "head_len": {"type": "float", "default": 12.0, "min": 3.6, "max": 24.0, "step": 1.0, "group": "Head", "label": "Drive head length (mm)"}, "axial_bore": {"type": "float", "default": 5.6, "min": 2.0, "max": 8.4, "step": 0.5, "group": "Bore", "label": "Axial bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331274 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"shaft_d\": {\"type\": 'float', \"default\": 34.55, \"min\": 17.3, \"max\": 62.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft diameter (mm)'},\n    \"shaft_len\": {\"type\": 'float', \"default\": 37.7, \"min\": 15.1, \"max\": 75.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft length (mm)'},\n    \"step_d\": {\"type\": 'float', \"default\": 16.0, \"min\": 8.0, \"max\": 31.1, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step diameter (mm)'},\n    \"step_len\": {\"type\": 'float', \"default\": 32.6, \"min\": 9.8, \"max\": 81.5, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step length (mm)'},\n    \"head_sides\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Head', \"label\": 'Drive head sides'},\n    \"head_r\": {\"type\": 'float', \"default\": 6.7, \"min\": 4.0, \"max\": 7.7, \"step\": 1.0, \"group\": 'Head', \"label\": 'Drive head circumradius (mm)'},\n    \"head_len\": {\"type\": 'float', \"default\": 12.0, \"min\": 3.6, \"max\": 24.0, \"step\": 1.0, \"group\": 'Head', \"label\": 'Drive head length (mm)'},\n    \"axial_bore\": {\"type\": 'float', \"default\": 5.6, \"min\": 2.0, \"max\": 8.4, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Axial bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').circle(p[\"shaft_d\"] / 2).extrude(p[\"shaft_len\"]))\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"step_d\"] / 2).extrude(p[\"step_len\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"head_sides\"], p[\"head_r\"] * 2).extrude(p[\"head_len\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"axial_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462ca64b_2711", "family": "enclosure", "tier": 1, "seed": 1177331275, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "0e3b727d946702e2", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 137000.0, "surface_area": 56600.0, "principal_moments": [169000000.0, 222000000.0, 259000000.0], "n_faces": 11, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 95 \u00d7 74.1 \u00d7 69.1 mm (W\u00d7D\u00d7H).", "Hollowed to 5 mm wall thickness, open at top face."], "text": "Rectangular body, 95 \u00d7 74.1 \u00d7 69.1 mm (W\u00d7D\u00d7H). Hollowed to 5 mm wall thickness, open at top face."}, "params": {"enc_w": {"type": "float", "default": 95, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 74.1, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 69.1, "min": 27.6, "max": 138.2, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 5.0, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331275 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 95, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 74.1, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 69.1, \"min\": 27.6, \"max\": 138.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca64c_2712", "family": "block", "tier": 2, "seed": 1177331276, "symmetry": "none", "op_count": 3, "ir_hash": "1e16353b9ff873c3", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 298000.0, "surface_area": 33800.0, "principal_moments": [173000000.0, 263000000.0, 296000000.0], "n_faces": 12, "n_edges": 27, "n_vertices": 18}, "dimensions": {"lines": ["Rectangular body, 65 \u00d7 53.6 \u00d7 87.3 mm (W\u00d7D\u00d7H).", "Four \u00d85.3 mm holes at the corners, 45.5 \u00d7 37.52 mm spacing.", "Boss \u00d816.5 mm \u00d7 9.2 mm tall on top face."], "text": "Rectangular body, 65 \u00d7 53.6 \u00d7 87.3 mm (W\u00d7D\u00d7H). Four \u00d85.3 mm holes at the corners, 45.5 \u00d7 37.52 mm spacing. Boss \u00d816.5 mm \u00d7 9.2 mm tall on top face."}, "params": {"block_w": {"type": "float", "default": 65, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 53.6, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 87.3, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 12.1, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "boss_d": {"type": "float", "default": 16.5, "min": 8.2, "max": 33.0, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 9.2, "min": 3.7, "max": 23.0, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331276 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 65, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 53.6, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 87.3, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 12.1, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"boss_d\": {\"type\": 'float', \"default\": 16.5, \"min\": 8.2, \"max\": 33.0, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 9.2, \"min\": 3.7, \"max\": 23.0, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462ca64d_2713", "family": "lofted", "tier": 1, "seed": 1177331277, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "c09024638e689399", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 116000.0, "surface_area": 20400.0, "principal_moments": [48299999.99999999, 70900000.0, 70900000.0], "n_faces": 9, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["Lofted body through 2 sections: 6-sided polygon section, 65 mm across corners \u2192 \u00d843.3 mm circular section.", "One \u00d824 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 2 sections: 6-sided polygon section, 65 mm across corners \u2192 \u00d843.3 mm circular section. One \u00d824 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 65, "min": 32.5, "max": 104.0, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 43.3, "min": 17.3, "max": 78.0, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 71.2, "min": 28.5, "max": 142.4, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_bore_d": {"type": "float", "default": 24.0, "min": 2.0, "max": 34.6, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331277 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 65, \"min\": 32.5, \"max\": 104.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 43.3, \"min\": 17.3, \"max\": 78.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 71.2, \"min\": 28.5, \"max\": 142.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 24.0, \"min\": 2.0, \"max\": 34.6, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .polygon(6, p[\"loft_base\"] * 0.5 * 2)\n        .workplane(offset=p[\"loft_h\"])\n        .circle(p[\"loft_top\"] / 2)\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca64e_2714", "family": "bracket", "tier": 1, "seed": 1177331278, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "854503f9f6cc3272", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 27400.0, "surface_area": 9990.0, "principal_moments": [7960000.0, 29099999.999999996, 34700000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["L-bracket: base leg 74.36 mm, vertical leg 88 mm, 22.57 mm wide, 8 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."], "text": "L-bracket: base leg 74.36 mm, vertical leg 88 mm, 22.57 mm wide, 8 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 74.36, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 88.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 22.57, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 8.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 9.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331278 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 74.36, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 88.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 22.57, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 9.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462ca64f_2715", "family": "swept", "tier": 2, "seed": 1177331279, "symmetry": "none", "op_count": 1, "ir_hash": "9472e3abac37e2d3", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 7530.0, "surface_area": 2680.0, "principal_moments": [201000.0, 2270000.0, 2320000.0], "n_faces": 3, "n_edges": 3, "n_vertices": 2}, "dimensions": {"lines": ["\u00d812.7 mm circular section swept along a curved path, ~65 mm span."], "text": "\u00d812.7 mm circular section swept along a curved path, ~65 mm span."}, "params": {"path_w": {"type": "float", "default": 65, "min": 32.5, "max": 117.0, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 54.88, "min": 27.4, "max": 98.8, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_d": {"type": "float", "default": 12.7, "min": 6.3, "max": 22.9, "step": 1.0, "group": "Section", "label": "Section diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331279 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 65, \"min\": 32.5, \"max\": 117.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 54.88, \"min\": 27.4, \"max\": 98.8, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_d\": {\"type\": 'float', \"default\": 12.7, \"min\": 6.3, \"max\": 22.9, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.3036), (p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.8896), (p[\"path_w\"] * 0.162, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').circle(p[\"sweep_d\"] / 2).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca650_2716", "family": "compound", "tier": 2, "seed": 1177331280, "symmetry": "mirror_xy", "op_count": 3, "ir_hash": "7d0c3a2c597d4a66", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 50500.0, "surface_area": 12200.0, "principal_moments": [5490000.0, 35300000.0, 35300000.0], "n_faces": 15, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["\u00d830 mm circular section, extruded 64.9 mm thick.", "\u00d818.2 mm circular section attachment, 30.3 mm long, from top face.", "8-sided polygon section, 14 mm across corners attachment, 11.7 mm long, from top face with a \u00d87.6 mm bore."], "text": "\u00d830 mm circular section, extruded 64.9 mm thick. \u00d818.2 mm circular section attachment, 30.3 mm long, from top face. 8-sided polygon section, 14 mm across corners attachment, 11.7 mm long, from top face with a \u00d87.6 mm bore."}, "params": {"shaft_d": {"type": "float", "default": 30, "min": 15.0, "max": 54.0, "step": 1.0, "group": "Body", "label": "Shaft diameter (mm)"}, "shaft_len": {"type": "float", "default": 64.9, "min": 26.0, "max": 129.8, "step": 1.0, "group": "Body", "label": "Shaft length (mm)"}, "step_d": {"type": "float", "default": 18.2, "min": 9.1, "max": 27.0, "step": 1.0, "group": "Step", "label": "Step diameter (mm)"}, "step_len": {"type": "float", "default": 30.3, "min": 9.1, "max": 75.8, "step": 1.0, "group": "Step", "label": "Step length (mm)"}, "head_sides": {"type": "int", "default": 8, "min": 3, "max": 8, "step": 1, "group": "Head", "label": "Drive head sides"}, "head_r": {"type": "float", "default": 7.0, "min": 4.2, "max": 8.7, "step": 1.0, "group": "Head", "label": "Drive head circumradius (mm)"}, "head_len": {"type": "float", "default": 11.7, "min": 3.5, "max": 23.4, "step": 1.0, "group": "Head", "label": "Drive head length (mm)"}, "axial_bore": {"type": "float", "default": 7.6, "min": 2.0, "max": 9.3, "step": 0.5, "group": "Bore", "label": "Axial bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331280 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"shaft_d\": {\"type\": 'float', \"default\": 30, \"min\": 15.0, \"max\": 54.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft diameter (mm)'},\n    \"shaft_len\": {\"type\": 'float', \"default\": 64.9, \"min\": 26.0, \"max\": 129.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft length (mm)'},\n    \"step_d\": {\"type\": 'float', \"default\": 18.2, \"min\": 9.1, \"max\": 27.0, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step diameter (mm)'},\n    \"step_len\": {\"type\": 'float', \"default\": 30.3, \"min\": 9.1, \"max\": 75.8, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step length (mm)'},\n    \"head_sides\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Head', \"label\": 'Drive head sides'},\n    \"head_r\": {\"type\": 'float', \"default\": 7.0, \"min\": 4.2, \"max\": 8.7, \"step\": 1.0, \"group\": 'Head', \"label\": 'Drive head circumradius (mm)'},\n    \"head_len\": {\"type\": 'float', \"default\": 11.7, \"min\": 3.5, \"max\": 23.4, \"step\": 1.0, \"group\": 'Head', \"label\": 'Drive head length (mm)'},\n    \"axial_bore\": {\"type\": 'float', \"default\": 7.6, \"min\": 2.0, \"max\": 9.3, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Axial bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').circle(p[\"shaft_d\"] / 2).extrude(p[\"shaft_len\"]))\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"step_d\"] / 2).extrude(p[\"step_len\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"head_sides\"], p[\"head_r\"] * 2).extrude(p[\"head_len\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"axial_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462ca651_2717", "family": "enclosure", "tier": 1, "seed": 1177331281, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "13ac051fadf35bfc", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 15200.0, "surface_area": 15600.0, "principal_moments": [5850000.0, 6310000.0, 8950000.0], "n_faces": 11, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 48.54 \u00d7 45.6 \u00d7 31.9 mm (W\u00d7D\u00d7H).", "Hollowed to 2 mm wall thickness, open at top face."], "text": "Rectangular body, 48.54 \u00d7 45.6 \u00d7 31.9 mm (W\u00d7D\u00d7H). Hollowed to 2 mm wall thickness, open at top face."}, "params": {"enc_w": {"type": "float", "default": 48.54, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 45.6, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 31.9, "min": 12.8, "max": 63.8, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 2.0, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331281 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 48.54, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 45.6, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 31.9, \"min\": 12.8, \"max\": 63.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 2.0, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462ca652_2718", "family": "flanged", "tier": 1, "seed": 1177331282, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "b654feb076a1261c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 814000.0, "surface_area": 107000.0, "principal_moments": [1970000000.0, 1970000000.0, 2010000000.0], "n_faces": 14, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["Revolved body, \u00d890 mm \u00d7 107.7 mm tall with \u00d832.8 mm bore, \u00d8200.3 mm \u00d7 8.8 mm flange.", "Eight \u00d85.3 mm holes on a \u00d8120.2 mm bolt circle."], "text": "Revolved body, \u00d890 mm \u00d7 107.7 mm tall with \u00d832.8 mm bore, \u00d8200.3 mm \u00d7 8.8 mm flange. Eight \u00d85.3 mm holes on a \u00d8120.2 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 90, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 107.7, "min": 32.3, "max": 269.2, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 32.8, "min": 2.0, "max": 63.0, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 200.3, "min": 117.0, "max": 270.0, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 8.8, "min": 2.6, "max": 43.1, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 60.1, "min": 40.1, "max": 90.1, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 8, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331282 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 90, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 107.7, \"min\": 32.3, \"max\": 269.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 32.8, \"min\": 2.0, \"max\": 63.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 200.3, \"min\": 117.0, \"max\": 270.0, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 8.8, \"min\": 2.6, \"max\": 43.1, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 60.1, \"min\": 40.1, \"max\": 90.1, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca653_2719", "family": "revolved", "tier": 0, "seed": 1177331283, "symmetry": "none", "op_count": 1, "ir_hash": "4bcbb61d2cf59ed9", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 308000.0, "surface_area": 42900.0, "principal_moments": [245000000.0, 347000000.0, 347000000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d872.84 mm \u00d7 110.8 mm tall."], "text": "Revolved body, \u00d872.84 mm \u00d7 110.8 mm tall."}, "params": {"outer_d": {"type": "float", "default": 72.84, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 110.8, "min": 33.2, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331283 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 72.84, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 110.8, \"min\": 33.2, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca654_2720", "family": "block", "tier": 1, "seed": 1177331284, "symmetry": "radial", "op_count": 2, "ir_hash": "fe442bbcb006f6f1", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 44900.0, "surface_area": 9410.0, "principal_moments": [7180000.0, 12799999.999999998, 14099999.999999998], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Rectangular body, 51.09 \u00d7 27.7 \u00d7 33.6 mm (W\u00d7D\u00d7H).", "Four \u00d86.4 mm holes on a \u00d830.6 mm bolt circle."], "text": "Rectangular body, 51.09 \u00d7 27.7 \u00d7 33.6 mm (W\u00d7D\u00d7H). Four \u00d86.4 mm holes on a \u00d830.6 mm bolt circle."}, "params": {"block_w": {"type": "float", "default": 51.09, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 27.7, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 33.6, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "bolt_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 15.3, "min": 10.2, "max": 23.0, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 4, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331284 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 51.09, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 27.7, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 33.6, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 15.3, \"min\": 10.2, \"max\": 23.0, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 4, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462ca655_2721", "family": "enclosure", "tier": 1, "seed": 1177331285, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "583b39c29f897a85", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 10400.0, "surface_area": 5590.0, "principal_moments": [925000.0, 2110000.0, 2240000.0], "n_faces": 11, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 40 \u00d7 20.9 \u00d7 20.3 mm (W\u00d7D\u00d7H).", "Hollowed to 4.1 mm wall thickness, open at top face."], "text": "Rectangular body, 40 \u00d7 20.9 \u00d7 20.3 mm (W\u00d7D\u00d7H). Hollowed to 4.1 mm wall thickness, open at top face."}, "params": {"enc_w": {"type": "float", "default": 40, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 20.9, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 20.3, "min": 8.1, "max": 40.6, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 4.1, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331285 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 40, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 20.9, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 20.3, \"min\": 8.1, \"max\": 40.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 4.1, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462ca656_2722", "family": "gear", "tier": 0, "seed": 1177331286, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "865cc651ad2bf47b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 10800.0, "surface_area": 4510.0, "principal_moments": [1080000.0, 1080000.0, 1990000.0], "n_faces": 116, "n_edges": 342, "n_vertices": 228}, "dimensions": {"lines": ["Spur gear, module 2 mm, 19 teeth (pitch \u00d838 mm), face width 9.7 mm."], "text": "Spur gear, module 2 mm, 19 teeth (pitch \u00d838 mm), face width 9.7 mm."}, "params": {"module": {"type": "float", "default": 2.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 19, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 9.7, "min": 3.9, "max": 24.2, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331286 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 2.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 19, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 9.7, \"min\": 3.9, \"max\": 24.2, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca657_2723", "family": "bracket", "tier": 2, "seed": 1177331287, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "b0aa0671a531362e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 26800.0, "surface_area": 9120.0, "principal_moments": [3340000.0, 16499999.999999998, 17200000.0], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Z-bracket: base leg 48.63 mm, vertical leg 35.7 mm, top leg 43.7 mm, 30 mm wide, 8 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 8.6 mm corner gusset."], "text": "Z-bracket: base leg 48.63 mm, vertical leg 35.7 mm, top leg 43.7 mm, 30 mm wide, 8 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 8.6 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 48.63, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 35.7, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 30, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 8.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 43.7, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}, "gusset_t": {"type": "float", "default": 8.6, "min": 4.0, "max": 15.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331287 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 48.63, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 35.7, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 30, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 43.7, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 8.6, \"min\": 4.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _tl, _vl) * 0.4 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(0, _vl - _bt).lineTo(-_g, _vl - _bt)\n                    .lineTo(0, _vl - _bt - _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462ca658_2724", "family": "profiled", "tier": 2, "seed": 1177331288, "symmetry": "none", "op_count": 1, "ir_hash": "60bc668bf7e80a7b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 123000.0, "surface_area": 19400.0, "principal_moments": [14299999.999999998, 330000000.0, 332000000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["freeform sketched section (4 segments: 1 straight, 2 arcs, 1 curve), ~36.776 \u00d7 32.223 mm, extruded 178 mm thick."], "text": "freeform sketched section (4 segments: 1 straight, 2 arcs, 1 curve), ~36.776 \u00d7 32.223 mm, extruded 178 mm thick."}, "params": {"sk_w": {"type": "float", "default": 44.48, "min": 22.2, "max": 80.1, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 35.27, "min": 17.6, "max": 63.5, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "length": {"type": "float", "default": 178.0, "min": 53.4, "max": 534.0, "step": 5.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331288 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 44.48, \"min\": 22.2, \"max\": 80.1, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 35.27, \"min\": 17.6, \"max\": 63.5, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 178.0, \"min\": 53.4, \"max\": 534.0, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.4306, p[\"sk_h\"] * 0.0337).lineTo(p[\"sk_w\"] * -0.0841, p[\"sk_h\"] * 0.4754).threePointArc((p[\"sk_w\"] * -0.2561, p[\"sk_h\"] * 0.3606), (p[\"sk_w\"] * -0.3962, p[\"sk_h\"] * 0.2001)).bezier([(p[\"sk_w\"] * -0.3962, p[\"sk_h\"] * 0.2001), (p[\"sk_w\"] * -0.319, p[\"sk_h\"] * -0.1349), (p[\"sk_w\"] * -0.1573, p[\"sk_h\"] * -0.4382)]).threePointArc((p[\"sk_w\"] * 0.179, p[\"sk_h\"] * -0.2629), (p[\"sk_w\"] * 0.4306, p[\"sk_h\"] * 0.0337)).close().extrude(p[\"length\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca659_2725", "family": "block", "tier": 1, "seed": 1177331289, "symmetry": "none", "op_count": 2, "ir_hash": "938af97be5674f8b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 125000.0, "surface_area": 18800.0, "principal_moments": [38200000.0, 68900000.0, 74800000.0], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["Rectangular body, 70.89 \u00d7 39.2 \u00d7 46 mm (W\u00d7D\u00d7H).", "Seven \u00d83.2 mm holes in two staggered rows, 17.7 \u00d7 18.1 mm pitch."], "text": "Rectangular body, 70.89 \u00d7 39.2 \u00d7 46 mm (W\u00d7D\u00d7H). Seven \u00d83.2 mm holes in two staggered rows, 17.7 \u00d7 18.1 mm pitch."}, "params": {"block_w": {"type": "float", "default": 70.89, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 39.2, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 46.0, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 3.9, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 4, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331289 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 70.89, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 39.2, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 46.0, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 3.9, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 4, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 17.7\n    _ssy = 18.1\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462ca65a_2726", "family": "lofted", "tier": 0, "seed": 1177331290, "symmetry": "none", "op_count": 1, "ir_hash": "6de8018f89dc2383", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 61900.0, "surface_area": 9310.0, "principal_moments": [15699999.999999998, 15799999.999999998, 17700000.0], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Lofted body through 2 sections: 6-sided polygon section, 63.11 mm across corners \u2192 28.4 \u00d7 28.4 mm rectangular section."], "text": "Lofted body through 2 sections: 6-sided polygon section, 63.11 mm across corners \u2192 28.4 \u00d7 28.4 mm rectangular section."}, "params": {"loft_base": {"type": "float", "default": 63.11, "min": 31.6, "max": 101.0, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 28.4, "min": 11.4, "max": 75.7, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 38.2, "min": 15.3, "max": 76.4, "step": 1.0, "group": "Body", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331290 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 63.11, \"min\": 31.6, \"max\": 101.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 28.4, \"min\": 11.4, \"max\": 75.7, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 38.2, \"min\": 15.3, \"max\": 76.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .polygon(6, p[\"loft_base\"] * 0.5 * 2)\n        .workplane(offset=p[\"loft_h\"])\n        .rect(p[\"loft_top\"], p[\"loft_top\"])\n        .loft(combine=True)\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462ca65b_2727", "family": "flanged", "tier": 1, "seed": 1177331291, "symmetry": "radial", "op_count": 2, "ir_hash": "9b6e5483076eefb8", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 296000.0, "surface_area": 48400.0, "principal_moments": [318000000.0, 318000000.0, 476000000.0], "n_faces": 14, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["Revolved body, \u00d874.13 mm \u00d7 54.3 mm tall with \u00d832.6 mm bore, \u00d8135.6 mm \u00d7 10.7 mm flange.", "Eight \u00d84.3 mm holes on a \u00d881.4 mm bolt circle."], "text": "Revolved body, \u00d874.13 mm \u00d7 54.3 mm tall with \u00d832.6 mm bore, \u00d8135.6 mm \u00d7 10.7 mm flange. Eight \u00d84.3 mm holes on a \u00d881.4 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 74.13, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 54.3, "min": 16.3, "max": 135.8, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 32.6, "min": 2.0, "max": 51.9, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 135.6, "min": 96.4, "max": 222.4, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 10.7, "min": 3.2, "max": 21.7, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 40.7, "min": 27.1, "max": 61.0, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 8, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331291 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 74.13, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 54.3, \"min\": 16.3, \"max\": 135.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 32.6, \"min\": 2.0, \"max\": 51.9, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 135.6, \"min\": 96.4, \"max\": 222.4, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 10.7, \"min\": 3.2, \"max\": 21.7, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 40.7, \"min\": 27.1, \"max\": 61.0, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462ca65c_2728", "family": "sketched", "tier": 2, "seed": 1177331292, "symmetry": "none", "op_count": 1, "ir_hash": "84a77e65c7df095f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 9980.0, "surface_area": 3840.0, "principal_moments": [564000.0, 1190000.0, 1190000.0], "n_faces": 8, "n_edges": 13, "n_vertices": 7}, "dimensions": {"lines": ["Revolved organic body from a freeform sketched section (8 segments: 5 straight, 3 curves), ~13.649 \u00d7 32.11 mm half-silhouette."], "text": "Revolved organic body from a freeform sketched section (8 segments: 5 straight, 3 curves), ~13.649 \u00d7 32.11 mm half-silhouette."}, "params": {"sk_r": {"type": "float", "default": 14.45, "min": 7.2, "max": 26.0, "step": 1.0, "group": "Sketch", "label": "Max radius (mm)"}, "sk_h": {"type": "float", "default": 32.11, "min": 16.1, "max": 57.8, "step": 1.0, "group": "Sketch", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331292 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_r\": {\"type\": 'float', \"default\": 14.45, \"min\": 7.2, \"max\": 26.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Max radius (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 32.11, \"min\": 16.1, \"max\": 57.8, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XZ').moveTo(p[\"sk_r\"] * 0.9446, p[\"sk_h\"] * 0.0).spline([(p[\"sk_r\"] * 0.9446, p[\"sk_h\"] * 0.0), (p[\"sk_r\"] * 0.7693, p[\"sk_h\"] * 0.0599), (p[\"sk_r\"] * 0.7483, p[\"sk_h\"] * 0.1197)]).spline([(p[\"sk_r\"] * 0.7483, p[\"sk_h\"] * 0.1197), (p[\"sk_r\"] * 0.5335, p[\"sk_h\"] * 0.1838), (p[\"sk_r\"] * 0.3337, p[\"sk_h\"] * 0.2479)]).lineTo(p[\"sk_r\"] * 0.6164, p[\"sk_h\"] * 0.3254).lineTo(p[\"sk_r\"] * 0.8994, p[\"sk_h\"] * 0.477).lineTo(p[\"sk_r\"] * 0.5382, p[\"sk_h\"] * 0.7287).spline([(p[\"sk_r\"] * 0.5382, p[\"sk_h\"] * 0.7287), (p[\"sk_r\"] * 0.6236, p[\"sk_h\"] * 0.8643), (p[\"sk_r\"] * 0.9313, p[\"sk_h\"] * 1.0)]).lineTo(p[\"sk_r\"] * 0.0, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.0, p[\"sk_h\"] * 0.0).close().revolve())\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca65d_2729", "family": "plate", "tier": 1, "seed": 1177331293, "symmetry": "none", "op_count": 2, "ir_hash": "57024d5681b83f76", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 11600.0, "surface_area": 5410.0, "principal_moments": [1070000.0, 3660000.0, 4670000.0], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["Rectangular body, 61.05 \u00d7 32.6 \u00d7 6 mm (W\u00d7D\u00d7H).", "Seven \u00d83.2 mm holes in two staggered rows, 15.3 \u00d7 15.7 mm pitch."], "text": "Rectangular body, 61.05 \u00d7 32.6 \u00d7 6 mm (W\u00d7D\u00d7H). Seven \u00d83.2 mm holes in two staggered rows, 15.3 \u00d7 15.7 mm pitch."}, "params": {"plate_w": {"type": "float", "default": 61.05, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 32.6, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 6.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 3.3, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 4, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331293 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 61.05, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 32.6, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 3.3, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 4, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 15.3\n    _ssy = 15.7\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462ca65e_2730", "family": "lofted", "tier": 2, "seed": 1177331294, "symmetry": "none", "op_count": 2, "ir_hash": "1a34a4ed5258ec8f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 11900.0, "surface_area": 3890.0, "principal_moments": [1130000.0, 1130000.0, 1470000.0], "n_faces": 8, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["Lofted body through 3 sections: \u00d837.75 mm circular section \u2192 \u00d827 mm circular section \u2192 16.2 \u00d7 16.2 mm rectangular section.", "One \u00d88.4 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 3 sections: \u00d837.75 mm circular section \u2192 \u00d827 mm circular section \u2192 16.2 \u00d7 16.2 mm rectangular section. One \u00d88.4 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 37.75, "min": 18.9, "max": 60.4, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 16.2, "min": 6.5, "max": 45.3, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 21.4, "min": 8.6, "max": 42.8, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_mid": {"type": "float", "default": 27.0, "min": 8.1, "max": 45.3, "step": 1.0, "group": "Body", "label": "Mid size (mm)"}, "loft_bore_d": {"type": "float", "default": 8.4, "min": 2.0, "max": 13.0, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331294 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 37.75, \"min\": 18.9, \"max\": 60.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 16.2, \"min\": 6.5, \"max\": 45.3, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 21.4, \"min\": 8.6, \"max\": 42.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_mid\": {\"type\": 'float', \"default\": 27.0, \"min\": 8.1, \"max\": 45.3, \"step\": 1.0, \"group\": 'Body', \"label\": 'Mid size (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 2.0, \"max\": 13.0, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .circle(p[\"loft_base\"] / 2)\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .circle(p[\"loft_mid\"] / 2)\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .rect(p[\"loft_top\"], p[\"loft_top\"])\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462ca65f_2731", "family": "enclosure", "tier": 1, "seed": 1177331295, "symmetry": "none", "op_count": 2, "ir_hash": "e58f964f904cdae9", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 9110.0, "surface_area": 8250.0, "principal_moments": [1150000.0, 2990000.0, 3210000.0], "n_faces": 11, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 50 \u00d7 23.2 \u00d7 22.7 mm (W\u00d7D\u00d7H).", "Hollowed to 2.3 mm wall thickness, open at top face."], "text": "Rectangular body, 50 \u00d7 23.2 \u00d7 22.7 mm (W\u00d7D\u00d7H). Hollowed to 2.3 mm wall thickness, open at top face."}, "params": {"enc_w": {"type": "float", "default": 50, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 23.2, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 22.7, "min": 9.1, "max": 45.4, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 2.3, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331295 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 50, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 23.2, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 22.7, \"min\": 9.1, \"max\": 45.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 2.3, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462ca660_2732", "family": "flanged", "tier": 3, "seed": 1177331296, "symmetry": "none", "op_count": 3, "ir_hash": "29344dacf00bcaeb", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 500000.0, "surface_area": 77900.0, "principal_moments": [882000000.0, 882000000.0, 915000000.0], "n_faces": 22, "n_edges": 47, "n_vertices": 28}, "dimensions": {"lines": ["Revolved body, \u00d875 mm \u00d7 90.8 mm tall with \u00d823.9 mm bore, \u00d8175.4 mm \u00d7 7.1 mm flange.", "Six \u00d83.2 mm holes on a \u00d8105.2 mm bolt circle.", "Chamfer 0.6 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d875 mm \u00d7 90.8 mm tall with \u00d823.9 mm bore, \u00d8175.4 mm \u00d7 7.1 mm flange. Six \u00d83.2 mm holes on a \u00d8105.2 mm bolt circle. Chamfer 0.6 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 75, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 90.8, "min": 27.2, "max": 227.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 23.9, "min": 2.0, "max": 52.5, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 175.4, "min": 97.5, "max": 225.0, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 7.1, "min": 2.1, "max": 36.3, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 52.6, "min": 35.1, "max": 78.9, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 6, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}, "end_chamfer": {"type": "float", "default": 0.6, "min": 0.1, "max": 2.0, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331296 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 75, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 90.8, \"min\": 27.2, \"max\": 227.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 23.9, \"min\": 2.0, \"max\": 52.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 175.4, \"min\": 97.5, \"max\": 225.0, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 7.1, \"min\": 2.1, \"max\": 36.3, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 52.6, \"min\": 35.1, \"max\": 78.9, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.6, \"min\": 0.1, \"max\": 2.0, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca661_2733", "family": "plate", "tier": 1, "seed": 1177331297, "symmetry": "none", "op_count": 2, "ir_hash": "60df7cb892b722ad", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 21400.0, "surface_area": 7840.0, "principal_moments": [2260000.0, 11300000.0, 13299999.999999998], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 80 \u00d7 35.1 \u00d7 8 mm (W\u00d7D\u00d7H).", "Four \u00d86.4 mm holes at the corners, 56 \u00d7 24.57 mm spacing."], "text": "Rectangular body, 80 \u00d7 35.1 \u00d7 8 mm (W\u00d7D\u00d7H). Four \u00d86.4 mm holes at the corners, 56 \u00d7 24.57 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 80, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 35.1, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 7.9, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331297 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 80, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 35.1, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 7.9, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462ca662_2734", "family": "sketched", "tier": 1, "seed": 1177331298, "symmetry": "none", "op_count": 1, "ir_hash": "8b7d49ac2788e53c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 19500.0, "surface_area": 5140.0, "principal_moments": [1350000.0, 4220000.0, 4220000.0], "n_faces": 8, "n_edges": 14, "n_vertices": 8}, "dimensions": {"lines": ["Revolved organic body from a freeform sketched section (7 segments: 5 straight, 2 arcs), ~11.077 \u00d7 54.55 mm half-silhouette."], "text": "Revolved organic body from a freeform sketched section (7 segments: 5 straight, 2 arcs), ~11.077 \u00d7 54.55 mm half-silhouette."}, "params": {"sk_r": {"type": "float", "default": 17.78, "min": 8.9, "max": 32.0, "step": 1.0, "group": "Sketch", "label": "Max radius (mm)"}, "sk_h": {"type": "float", "default": 54.55, "min": 27.3, "max": 98.2, "step": 1.0, "group": "Sketch", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331298 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_r\": {\"type\": 'float', \"default\": 17.78, \"min\": 8.9, \"max\": 32.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Max radius (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 54.55, \"min\": 27.3, \"max\": 98.2, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XZ').moveTo(p[\"sk_r\"] * 0.6884, p[\"sk_h\"] * 0.0).lineTo(p[\"sk_r\"] * 0.7156, p[\"sk_h\"] * 0.4836).threePointArc((p[\"sk_r\"] * 0.5432, p[\"sk_h\"] * 0.6496), (p[\"sk_r\"] * 0.4838, p[\"sk_h\"] * 0.8156)).threePointArc((p[\"sk_r\"] * 0.2997, p[\"sk_h\"] * 0.8318), (p[\"sk_r\"] * 0.1861, p[\"sk_h\"] * 0.8481)).lineTo(p[\"sk_r\"] * 0.5304, p[\"sk_h\"] * 0.8603).lineTo(p[\"sk_r\"] * 0.1834, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.0926, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.0926, p[\"sk_h\"] * 0.0).close().revolve())\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca663_2735", "family": "block", "tier": 1, "seed": 1177331299, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "abfac5cbbbd0c5c8", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 39600.0, "surface_area": 10900.0, "principal_moments": [6300000.0, 11100000.0, 14899999.999999998], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 40 \u00d7 19.6 \u00d7 54.6 mm (W\u00d7D\u00d7H).", "Four \u00d84.3 mm holes at the corners, 28 \u00d7 13.72 mm spacing."], "text": "Rectangular body, 40 \u00d7 19.6 \u00d7 54.6 mm (W\u00d7D\u00d7H). Four \u00d84.3 mm holes at the corners, 28 \u00d7 13.72 mm spacing."}, "params": {"block_w": {"type": "float", "default": 40, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 19.6, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 54.6, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 4.4, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331299 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 40, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 19.6, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 54.6, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 4.4, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462ca664_2736", "family": "lofted", "tier": 0, "seed": 1177331300, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "32e5d51dcce89728", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 59100.0, "surface_area": 9110.0, "principal_moments": [13599999.999999998, 17200000.0, 17200000.0], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Lofted body through 2 sections: 6-sided polygon section, 59.05 mm across corners \u2192 18.3 \u00d7 18.3 mm rectangular section."], "text": "Lofted body through 2 sections: 6-sided polygon section, 59.05 mm across corners \u2192 18.3 \u00d7 18.3 mm rectangular section."}, "params": {"loft_base": {"type": "float", "default": 59.05, "min": 29.5, "max": 94.5, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 18.3, "min": 7.3, "max": 70.9, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 50.9, "min": 20.4, "max": 101.8, "step": 1.0, "group": "Body", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331300 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 59.05, \"min\": 29.5, \"max\": 94.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 18.3, \"min\": 7.3, \"max\": 70.9, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 50.9, \"min\": 20.4, \"max\": 101.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .polygon(6, p[\"loft_base\"] * 0.5 * 2)\n        .workplane(offset=p[\"loft_h\"])\n        .rect(p[\"loft_top\"], p[\"loft_top\"])\n        .loft(combine=True)\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462ca666_2738", "family": "ribbed", "tier": 1, "seed": 1177331302, "symmetry": "none", "op_count": 2, "ir_hash": "44a072d5aed5b3ba", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 48200.0, "surface_area": 19000.0, "principal_moments": [11599999.999999998, 16800000.0, 21800000.0], "n_faces": 54, "n_edges": 132, "n_vertices": 80}, "dimensions": {"lines": ["Rectangular body, 59.24 \u00d7 43.9 \u00d7 10 mm (W\u00d7D\u00d7H).", "Six ribs, 4.2 mm thick, 18.6 mm tall."], "text": "Rectangular body, 59.24 \u00d7 43.9 \u00d7 10 mm (W\u00d7D\u00d7H). Six ribs, 4.2 mm thick, 18.6 mm tall."}, "params": {"base_w": {"type": "float", "default": 59.24, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 43.9, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 10.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 6, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 18.6, "min": 7.4, "max": 37.2, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 4.2, "min": 1.0, "max": 10.5, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331302 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 59.24, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 43.9, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 6, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 18.6, \"min\": 7.4, \"max\": 37.2, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 4.2, \"min\": 1.0, \"max\": 10.5, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462ca667_2739", "family": "profiled", "tier": 0, "seed": 1177331303, "symmetry": "none", "op_count": 1, "ir_hash": "cecf71819eb249ea", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 64600.0, "surface_area": 29200.0, "principal_moments": [10100000.0, 188000000.0, 188000000.0], "n_faces": 4, "n_edges": 6, "n_vertices": 4}, "dimensions": {"lines": ["Revolved body, \u00d829.16 mm \u00d7 184.3 mm tall with \u00d820.1 mm bore."], "text": "Revolved body, \u00d829.16 mm \u00d7 184.3 mm tall with \u00d820.1 mm bore."}, "params": {"outer_d": {"type": "float", "default": 29.16, "min": 14.6, "max": 58.3, "step": 1.0, "group": "Profile", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 184.3, "min": 55.3, "max": 552.9, "step": 5.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 20.1, "min": 2.0, "max": 23.3, "step": 0.5, "group": "Profile", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331303 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 29.16, \"min\": 14.6, \"max\": 58.3, \"step\": 1.0, \"group\": 'Profile', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 184.3, \"min\": 55.3, \"max\": 552.9, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 20.1, \"min\": 2.0, \"max\": 23.3, \"step\": 0.5, \"group\": 'Profile', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca668_2740", "family": "bracket", "tier": 1, "seed": 1177331304, "symmetry": "none", "op_count": 1, "ir_hash": "a4631c3e6c155f1f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 11000.0, "surface_area": 5460.0, "principal_moments": [1450000.0, 2170000.0, 3020000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["L-bracket: base leg 29.35 mm, vertical leg 25 mm, 45 mm wide, 5 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."], "text": "L-bracket: base leg 29.35 mm, vertical leg 25 mm, 45 mm wide, 5 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 29.35, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 25.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 45, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 5.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331304 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 29.35, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 25.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 45, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca669_2741", "family": "block", "tier": 2, "seed": 1177331305, "symmetry": "none", "op_count": 3, "ir_hash": "46bc948100fe72d0", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 326000.0, "surface_area": 37200.0, "principal_moments": [235000000.0, 308000000.0, 458000000.0], "n_faces": 14, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 85 \u00d7 40.1 \u00d7 98.8 mm (W\u00d7D\u00d7H).", "Four \u00d85.3 mm holes at the corners, 59.5 \u00d7 28.07 mm spacing.", "Fillet radius 4.309 mm on vertical edges."], "text": "Rectangular body, 85 \u00d7 40.1 \u00d7 98.8 mm (W\u00d7D\u00d7H). Four \u00d85.3 mm holes at the corners, 59.5 \u00d7 28.07 mm spacing. Fillet radius 4.309 mm on vertical edges."}, "params": {"block_w": {"type": "float", "default": 85, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 40.1, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 98.8, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 9.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331305 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 85, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 40.1, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 98.8, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 9.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"block_w\"], p[\"block_d\"]) * 0.10745471540545362)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca66a_2742", "family": "bracket", "tier": 2, "seed": 1177331306, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "2d270374abe2fe36", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 55400.0, "surface_area": 17400.0, "principal_moments": [27999999.999999996, 36300000.0, 46899999.99999999], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["C-channel bracket: base leg 57.69 mm, vertical leg 59.5 mm, 43.28 mm wide, 8 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 9.2 mm corner gusset."], "text": "C-channel bracket: base leg 57.69 mm, vertical leg 59.5 mm, 43.28 mm wide, 8 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 9.2 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 57.69, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 59.5, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 43.28, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 8.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 9.2, "min": 4.0, "max": 21.6, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331306 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 57.69, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 59.5, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 43.28, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 9.2, \"min\": 4.0, \"max\": 21.6, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl / 2, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bl - _bt, _bt).lineTo(_bl - _bt - _g, _bt)\n                    .lineTo(_bl - _bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca66b_2743", "family": "bracket", "tier": 1, "seed": 1177331307, "symmetry": "none", "op_count": 1, "ir_hash": "3c78d2162d94be37", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 22300.0, "surface_area": 13200.0, "principal_moments": [5570000.0, 44800000.0, 47799999.99999999], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Z-bracket: base leg 85 mm, vertical leg 66.1 mm, top leg 70.5 mm, 26.34 mm wide, 4 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."], "text": "Z-bracket: base leg 85 mm, vertical leg 66.1 mm, top leg 70.5 mm, 26.34 mm wide, 4 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 85, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 66.1, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 26.34, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 4.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 70.5, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331307 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 85, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 66.1, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 26.34, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 70.5, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca66c_2744", "family": "block", "tier": 1, "seed": 1177331308, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "95b13177d81c7b45", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 240000.0, "surface_area": 35700.0, "principal_moments": [120000000.0, 204000000.0, 251000000.0], "n_faces": 22, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 94.05 \u00d7 43.9 \u00d7 64.6 mm (W\u00d7D\u00d7H).", "Four 10.1 mm square holes at the corners, 65.835 \u00d7 30.73 mm spacing."], "text": "Rectangular body, 94.05 \u00d7 43.9 \u00d7 64.6 mm (W\u00d7D\u00d7H). Four 10.1 mm square holes at the corners, 65.835 \u00d7 30.73 mm spacing."}, "params": {"block_w": {"type": "float", "default": 94.05, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 43.9, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 64.6, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 10.1, "min": 2.0, "max": 12.8, "step": 0.5, "group": "Holes", "label": "Square hole size (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331308 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 94.05, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 43.9, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 64.6, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 10.1, \"min\": 2.0, \"max\": 12.8, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Square hole size (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().rect(p[\"hole_d\"], p[\"hole_d\"]).cutThruAll()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca66d_2745", "family": "block", "tier": 2, "seed": 1177331309, "symmetry": "mirror_xy", "op_count": 3, "ir_hash": "76136fed0944f773", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 219000.0, "surface_area": 33400.0, "principal_moments": [136000000.0, 159000000.0, 216000000.0], "n_faces": 15, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 77.36 \u00d7 70.4 \u00d7 49.3 mm (W\u00d7D\u00d7H).", "Four \u00d88.4 mm holes at the corners, 54.152 \u00d7 49.28 mm spacing.", "Pocket 45.5 \u00d7 49.3 mm, 17 mm deep, in top face."], "text": "Rectangular body, 77.36 \u00d7 70.4 \u00d7 49.3 mm (W\u00d7D\u00d7H). Four \u00d88.4 mm holes at the corners, 54.152 \u00d7 49.28 mm spacing. Pocket 45.5 \u00d7 49.3 mm, 17 mm deep, in top face."}, "params": {"block_w": {"type": "float", "default": 77.36, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 70.4, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 49.3, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 8.4, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "pocket_w": {"type": "float", "default": 45.5, "min": 22.8, "max": 61.9, "step": 1.0, "group": "Pocket", "label": "Pocket width (mm)"}, "pocket_d": {"type": "float", "default": 49.3, "min": 24.6, "max": 56.3, "step": 1.0, "group": "Pocket", "label": "Pocket depth (mm)"}, "pocket_h": {"type": "float", "default": 17.0, "min": 6.8, "max": 41.9, "step": 0.5, "group": "Pocket", "label": "Pocket height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331309 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 77.36, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 70.4, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 49.3, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"pocket_w\": {\"type\": 'float', \"default\": 45.5, \"min\": 22.8, \"max\": 61.9, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket width (mm)'},\n    \"pocket_d\": {\"type\": 'float', \"default\": 49.3, \"min\": 24.6, \"max\": 56.3, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket depth (mm)'},\n    \"pocket_h\": {\"type\": 'float', \"default\": 17.0, \"min\": 6.8, \"max\": 41.9, \"step\": 0.5, \"group\": 'Pocket', \"label\": 'Pocket height (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"pocket_w\"], p[\"pocket_d\"])\n        .cutBlind(-p[\"pocket_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462ca66e_2746", "family": "sketched", "tier": 2, "seed": 1177331310, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "07b2af9fb85fc874", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 27200.0, "surface_area": 6470.0, "principal_moments": [3700000.0, 4560000.0, 5560000.0], "n_faces": 13, "n_edges": 27, "n_vertices": 18}, "dimensions": {"lines": ["freeform sketched section (6 segments: 2 straight, 1 arc, 3 curves), ~42.389 \u00d7 35.888 mm, extruded 21.62 mm thick.", "One \u00d88.4 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch.", "Boss \u00d812.7 mm \u00d7 11.3 mm tall on top face with a \u00d84.3 mm bore."], "text": "freeform sketched section (6 segments: 2 straight, 1 arc, 3 curves), ~42.389 \u00d7 35.888 mm, extruded 21.62 mm thick. One \u00d88.4 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch. Boss \u00d812.7 mm \u00d7 11.3 mm tall on top face with a \u00d84.3 mm bore."}, "params": {"sk_w": {"type": "float", "default": 55, "min": 27.5, "max": 99.0, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 48.38, "min": 24.2, "max": 87.1, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "sk_t": {"type": "float", "default": 21.62, "min": 8.6, "max": 47.6, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "sk_hole_d": {"type": "float", "default": 8.4, "min": 2.0, "max": 16.8, "step": 0.5, "group": "Holes", "label": "Hole diameter (mm)"}, "boss_d": {"type": "float", "default": 12.7, "min": 6.3, "max": 25.4, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 11.3, "min": 4.5, "max": 28.2, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}, "boss_bore_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 8.9, "step": 0.1, "group": "Boss", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331310 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 55, \"min\": 27.5, \"max\": 99.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 48.38, \"min\": 24.2, \"max\": 87.1, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"sk_t\": {\"type\": 'float', \"default\": 21.62, \"min\": 8.6, \"max\": 47.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"sk_hole_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 2.0, \"max\": 16.8, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"boss_d\": {\"type\": 'float', \"default\": 12.7, \"min\": 6.3, \"max\": 25.4, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 11.3, \"min\": 4.5, \"max\": 28.2, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n    \"boss_bore_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 8.9, \"step\": 0.1, \"group\": 'Boss', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.3808, p[\"sk_h\"] * -0.0877).threePointArc((p[\"sk_w\"] * 0.3515, p[\"sk_h\"] * 0.1597), (p[\"sk_w\"] * 0.2178, p[\"sk_h\"] * 0.3532)).lineTo(p[\"sk_w\"] * -0.3437, p[\"sk_h\"] * 0.3535).lineTo(p[\"sk_w\"] * -0.3899, p[\"sk_h\"] * -0.0743).spline([(p[\"sk_w\"] * -0.3899, p[\"sk_h\"] * -0.0743), (p[\"sk_w\"] * -0.2659, p[\"sk_h\"] * -0.262), (p[\"sk_w\"] * -0.0798, p[\"sk_h\"] * -0.3883)]).spline([(p[\"sk_w\"] * -0.0798, p[\"sk_h\"] * -0.3883), (p[\"sk_w\"] * 0.0729, p[\"sk_h\"] * -0.3751), (p[\"sk_w\"] * 0.202, p[\"sk_h\"] * -0.2922)]).spline([(p[\"sk_w\"] * 0.202, p[\"sk_h\"] * -0.2922), (p[\"sk_w\"] * 0.309, p[\"sk_h\"] * -0.2054), (p[\"sk_w\"] * 0.3808, p[\"sk_h\"] * -0.0877)]).close().extrude(p[\"sk_t\"]))\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"sk_hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .hole(p[\"boss_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca66f_2747", "family": "plate", "tier": 0, "seed": 1177331311, "symmetry": "none", "op_count": 1, "ir_hash": "68b7dccc0d892faf", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 14800.0, "surface_area": 7080.0, "principal_moments": [1640000.0, 8210000.0, 9790000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 81.54 \u00d7 36.2 \u00d7 5 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 81.54 \u00d7 36.2 \u00d7 5 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 81.54, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 36.2, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 5.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331311 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 81.54, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 36.2, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 5.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca670_2748", "family": "bracket", "tier": 1, "seed": 1177331312, "symmetry": "none", "op_count": 1, "ir_hash": "4a156e8ae29aee81", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 18100.0, "surface_area": 10400.0, "principal_moments": [5000000.0, 7790000.0, 8580000.0], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["C-channel bracket: base leg 45 mm, vertical leg 34.2 mm, 43.54 mm wide, 4 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."], "text": "C-channel bracket: base leg 45 mm, vertical leg 34.2 mm, 43.54 mm wide, 4 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 45, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 34.2, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 43.54, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 4.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331312 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 45, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 34.2, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 43.54, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca671_2749", "family": "bracket", "tier": 3, "seed": 1177331313, "symmetry": "none", "op_count": 1, "ir_hash": "6bf44b522966e388", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 15400.0, "surface_area": 7520.0, "principal_moments": [2410000.0, 11000000.0, 12399999.999999998], "n_faces": 17, "n_edges": 39, "n_vertices": 26}, "dimensions": {"lines": ["L-bracket: base leg 80 mm, vertical leg 54 mm, 20.73 mm wide, 5 mm thick; 2 \u00d7 \u00d83.2 mm holes per leg; 7.2 mm corner gusset."], "text": "L-bracket: base leg 80 mm, vertical leg 54 mm, 20.73 mm wide, 5 mm thick; 2 \u00d7 \u00d83.2 mm holes per leg; 7.2 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 80, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 54.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 20.73, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 5.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 8.3, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 2, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 7.2, "min": 2.5, "max": 10.4, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331313 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 80, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 54.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 20.73, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 8.3, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 2, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 7.2, \"min\": 2.5, \"max\": 10.4, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca672_2750", "family": "bracket", "tier": 2, "seed": 1177331314, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "b4e500339be89390", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 11600.0, "surface_area": 4400.0, "principal_moments": [1020000.0, 2360000.0, 2580000.0], "n_faces": 9, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["L-bracket: base leg 40 mm, vertical leg 27.2 mm, 25 mm wide, 8 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg; 11.5 mm corner gusset."], "text": "L-bracket: base leg 40 mm, vertical leg 27.2 mm, 25 mm wide, 8 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg; 11.5 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 40, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 27.2, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 25, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 8.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 11.5, "min": 4.0, "max": 12.5, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331314 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 40, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 27.2, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 25, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 11.5, \"min\": 4.0, \"max\": 12.5, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca673_2751", "family": "compound", "tier": 1, "seed": 1177331315, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "056274565a840eab", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 7410.0, "surface_area": 2480.0, "principal_moments": [347000.0, 607000.0, 655000.0], "n_faces": 13, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Rectangular body, 24.22 \u00d7 18.3 \u00d7 15.9 mm (W\u00d7D\u00d7H).", "6-sided polygon section, 7 mm across corners attachment, 11.4 mm long, from right face."], "text": "Rectangular body, 24.22 \u00d7 18.3 \u00d7 15.9 mm (W\u00d7D\u00d7H). 6-sided polygon section, 7 mm across corners attachment, 11.4 mm long, from right face."}, "params": {"block_w": {"type": "float", "default": 24.22, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 18.3, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 15.9, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "spig_sides": {"type": "int", "default": 6, "min": 3, "max": 8, "step": 1, "group": "Spigot", "label": "Spigot sides"}, "spig_r": {"type": "float", "default": 3.5, "min": 1.8, "max": 5.5, "step": 1.0, "group": "Spigot", "label": "Spigot circumradius (mm)"}, "spig_len": {"type": "float", "default": 11.4, "min": 1.8, "max": 24.2, "step": 1.0, "group": "Spigot", "label": "Spigot length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331315 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 24.22, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 18.3, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 15.9, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"spig_sides\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Spigot', \"label\": 'Spigot sides'},\n    \"spig_r\": {\"type\": 'float', \"default\": 3.5, \"min\": 1.8, \"max\": 5.5, \"step\": 1.0, \"group\": 'Spigot', \"label\": 'Spigot circumradius (mm)'},\n    \"spig_len\": {\"type\": 'float', \"default\": 11.4, \"min\": 1.8, \"max\": 24.2, \"step\": 1.0, \"group\": 'Spigot', \"label\": 'Spigot length (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"spig_sides\"], p[\"spig_r\"] * 2).extrude(p[\"spig_len\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462ca674_2752", "family": "gear", "tier": 0, "seed": 1177331316, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "04a24f2fe820a30a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 422000.0, "surface_area": 62700.0, "principal_moments": [734000000.0, 734000000.0, 1440000000.0], "n_faces": 200, "n_edges": 594, "n_vertices": 396}, "dimensions": {"lines": ["Spur gear, module 5 mm, 33 teeth (pitch \u00d8165 mm), face width 19.9 mm."], "text": "Spur gear, module 5 mm, 33 teeth (pitch \u00d8165 mm), face width 19.9 mm."}, "params": {"module": {"type": "float", "default": 5.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 33, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 19.9, "min": 8.0, "max": 49.8, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331316 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 5.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 33, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 19.9, \"min\": 8.0, \"max\": 49.8, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca675_2753", "family": "compound", "tier": 2, "seed": 1177331317, "symmetry": "none", "op_count": 4, "ir_hash": "f09b8f77d06b8478", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 104000.0, "surface_area": 36700.0, "principal_moments": [131000000.0, 195000000.0, 201000000.0], "n_faces": 28, "n_edges": 75, "n_vertices": 50}, "dimensions": {"lines": ["Rectangular body, 98.9 \u00d7 103.3 \u00d7 8 mm (W\u00d7D\u00d7H).", "6-sided polygon section, 22.6 mm across corners attachment, 130.7 mm long, from top face with a \u00d811.5 mm bore.", "Four \u00d810.5 mm holes at the corners, 69.23 \u00d7 72.31 mm spacing.", "Fillet radius 9.021 mm on vertical edges."], "text": "Rectangular body, 98.9 \u00d7 103.3 \u00d7 8 mm (W\u00d7D\u00d7H). 6-sided polygon section, 22.6 mm across corners attachment, 130.7 mm long, from top face with a \u00d811.5 mm bore. Four \u00d810.5 mm holes at the corners, 69.23 \u00d7 72.31 mm spacing. Fillet radius 9.021 mm on vertical edges."}, "params": {"base_w": {"type": "float", "default": 98.9, "min": 30.0, "max": 160.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 103.3, "min": 25.0, "max": 160.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_h": {"type": "float", "default": 8.0, "min": 3.0, "max": 30.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "col_sides": {"type": "int", "default": 6, "min": 3, "max": 8, "step": 1, "group": "Column", "label": "Column sides"}, "col_r": {"type": "float", "default": 11.3, "min": 5.7, "max": 24.8, "step": 1.0, "group": "Column", "label": "Column circumradius (mm)"}, "col_h": {"type": "float", "default": 130.7, "min": 39.2, "max": 392.1, "step": 1.0, "group": "Column", "label": "Column height (mm)"}, "col_bore": {"type": "float", "default": 11.5, "min": 2.0, "max": 14.1, "step": 0.5, "group": "Column", "label": "Column bore diameter (mm)"}, "hole_d": {"type": "float", "default": 10.5, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331317 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 98.9, \"min\": 30.0, \"max\": 160.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 103.3, \"min\": 25.0, \"max\": 160.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_h\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 30.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"col_sides\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Column', \"label\": 'Column sides'},\n    \"col_r\": {\"type\": 'float', \"default\": 11.3, \"min\": 5.7, \"max\": 24.8, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column circumradius (mm)'},\n    \"col_h\": {\"type\": 'float', \"default\": 130.7, \"min\": 39.2, \"max\": 392.1, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column height (mm)'},\n    \"col_bore\": {\"type\": 'float', \"default\": 11.5, \"min\": 2.0, \"max\": 14.1, \"step\": 0.5, \"group\": 'Column', \"label\": 'Column bore diameter (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 10.5, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_h\"])\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"col_sides\"], p[\"col_r\"] * 2).extrude(p[\"col_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"col_bore\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"base_w\"] * 0.7, p[\"base_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"base_w\"], p[\"base_d\"]) * 0.09121580919109579)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca676_2754", "family": "plate", "tier": 0, "seed": 1177331318, "symmetry": "radial", "op_count": 1, "ir_hash": "7e946892bafd742d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 1750.0, "surface_area": 1480.0, "principal_moments": [42100.0, 180000.0, 220000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 35 \u00d7 16.7 \u00d7 3 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 35 \u00d7 16.7 \u00d7 3 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 35, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 16.7, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 3.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331318 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 35, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 16.7, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 3.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca677_2755", "family": "compound", "tier": 1, "seed": 1177331319, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "3fedefc6486f4c6b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 26400.0, "surface_area": 7000.0, "principal_moments": [4510000.0, 4720000.0, 4720000.0], "n_faces": 13, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["8-sided polygon section, 40.56 mm across corners, extruded 20 mm thick.", "\u00d817.6 mm circular section attachment, 22 mm long, from top face with a \u00d88.2 mm bore."], "text": "8-sided polygon section, 40.56 mm across corners, extruded 20 mm thick. \u00d817.6 mm circular section attachment, 22 mm long, from top face with a \u00d88.2 mm bore."}, "params": {"base_sides": {"type": "int", "default": 8, "min": 3, "max": 8, "step": 1, "group": "Base", "label": "Base sides"}, "base_r": {"type": "float", "default": 20.28, "min": 12.2, "max": 32.4, "step": 1.0, "group": "Base", "label": "Base circumradius (mm)"}, "base_h": {"type": "float", "default": 20.0, "min": 8.0, "max": 50.0, "step": 1.0, "group": "Base", "label": "Base height (mm)"}, "col_d": {"type": "float", "default": 17.6, "min": 8.8, "max": 30.0, "step": 1.0, "group": "Column", "label": "Column diameter (mm)"}, "col_h": {"type": "float", "default": 22.0, "min": 6.6, "max": 55.0, "step": 1.0, "group": "Column", "label": "Column height (mm)"}, "col_bore": {"type": "float", "default": 8.2, "min": 2.0, "max": 12.7, "step": 0.5, "group": "Column", "label": "Column bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331319 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_sides\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Base', \"label\": 'Base sides'},\n    \"base_r\": {\"type\": 'float', \"default\": 20.28, \"min\": 12.2, \"max\": 32.4, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base circumradius (mm)'},\n    \"base_h\": {\"type\": 'float', \"default\": 20.0, \"min\": 8.0, \"max\": 50.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base height (mm)'},\n    \"col_d\": {\"type\": 'float', \"default\": 17.6, \"min\": 8.8, \"max\": 30.0, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column diameter (mm)'},\n    \"col_h\": {\"type\": 'float', \"default\": 22.0, \"min\": 6.6, \"max\": 55.0, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column height (mm)'},\n    \"col_bore\": {\"type\": 'float', \"default\": 8.2, \"min\": 2.0, \"max\": 12.7, \"step\": 0.5, \"group\": 'Column', \"label\": 'Column bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').polygon(p[\"base_sides\"], p[\"base_r\"] * 2).extrude(p[\"base_h\"]))\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"col_d\"] / 2).extrude(p[\"col_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"col_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca678_2756", "family": "plate", "tier": 2, "seed": 1177331320, "symmetry": "none", "op_count": 2, "ir_hash": "e59d79348b1e2fe4", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 4180.0, "surface_area": 2200.0, "principal_moments": [87000.0, 562000.0, 605000.0], "n_faces": 18, "n_edges": 48, "n_vertices": 32}, "dimensions": {"lines": ["Rectangular body, 40 \u00d7 13.9 \u00d7 8 mm (W\u00d7D\u00d7H).", "Four \u00d82.5 mm counterbored holes (\u00d85 mm \u00d7 2 mm counterbore) at the corners, 28 \u00d7 9.73 mm spacing."], "text": "Rectangular body, 40 \u00d7 13.9 \u00d7 8 mm (W\u00d7D\u00d7H). Four \u00d82.5 mm counterbored holes (\u00d85 mm \u00d7 2 mm counterbore) at the corners, 28 \u00d7 9.73 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 40, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 13.9, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 2.5, "min": 2.0, "max": 3.1, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "cb_d": {"type": "float", "default": 5.0, "min": 3.8, "max": 7.5, "step": 0.5, "group": "Holes", "label": "Counterbore diameter (mm)"}, "cb_depth": {"type": "float", "default": 2.0, "min": 1.0, "max": 4.0, "step": 0.5, "group": "Holes", "label": "Counterbore depth (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331320 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 40, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 13.9, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 2.5, \"min\": 2.0, \"max\": 3.1, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"cb_d\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.8, \"max\": 7.5, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Counterbore diameter (mm)'},\n    \"cb_depth\": {\"type\": 'float', \"default\": 2.0, \"min\": 1.0, \"max\": 4.0, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Counterbore depth (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().cboreHole(p[\"hole_d\"], p[\"cb_d\"], p[\"cb_depth\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462ca679_2757", "family": "flanged", "tier": 2, "seed": 1177331321, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "c0d42de312e5bdab", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 548000.0, "surface_area": 71600.0, "principal_moments": [839000000.0, 839000000.0, 967000000.0], "n_faces": 18, "n_edges": 37, "n_vertices": 22}, "dimensions": {"lines": ["Revolved body, \u00d886.95 mm \u00d7 80.6 mm tall with \u00d828.8 mm bore, \u00d8163 mm \u00d7 8.2 mm flange.", "Four \u00d84.3 mm holes on a \u00d897.8 mm bolt circle.", "Chamfer 0.7 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d886.95 mm \u00d7 80.6 mm tall with \u00d828.8 mm bore, \u00d8163 mm \u00d7 8.2 mm flange. Four \u00d84.3 mm holes on a \u00d897.8 mm bolt circle. Chamfer 0.7 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 86.95, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 80.6, "min": 24.2, "max": 201.5, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 28.8, "min": 2.0, "max": 60.9, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 163.0, "min": 113.0, "max": 260.9, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 8.2, "min": 2.5, "max": 32.2, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 48.9, "min": 32.6, "max": 73.4, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 4, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}, "end_chamfer": {"type": "float", "default": 0.7, "min": 0.1, "max": 2.0, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331321 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 86.95, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 80.6, \"min\": 24.2, \"max\": 201.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 28.8, \"min\": 2.0, \"max\": 60.9, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 163.0, \"min\": 113.0, \"max\": 260.9, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 8.2, \"min\": 2.5, \"max\": 32.2, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 48.9, \"min\": 32.6, \"max\": 73.4, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 4, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.7, \"min\": 0.1, \"max\": 2.0, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca67a_2758", "family": "revolved", "tier": 1, "seed": 1177331322, "symmetry": "radial", "op_count": 2, "ir_hash": "d5f2d6dfb2b61672", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 195000.0, "surface_area": 37400.0, "principal_moments": [70800000.0, 312000000.0, 312000000.0], "n_faces": 5, "n_edges": 8, "n_vertices": 5}, "dimensions": {"lines": ["Revolved body, \u00d849.16 mm \u00d7 154.5 mm tall.", "Chamfer 1.3 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d849.16 mm \u00d7 154.5 mm tall. Chamfer 1.3 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 49.16, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 154.5, "min": 46.4, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "end_chamfer": {"type": "float", "default": 1.3, "min": 0.1, "max": 3.9, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331322 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 49.16, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 154.5, \"min\": 46.4, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 1.3, \"min\": 0.1, \"max\": 3.9, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca67b_2759", "family": "revolved", "tier": 1, "seed": 1177331323, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "8abd324ae700167f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 7210.0, "surface_area": 4110.0, "principal_moments": [253000.0, 1900000.0, 1900000.0], "n_faces": 4, "n_edges": 6, "n_vertices": 4}, "dimensions": {"lines": ["Revolved body, \u00d815 mm \u00d7 54.4 mm tall with \u00d87.5 mm bore."], "text": "Revolved body, \u00d815 mm \u00d7 54.4 mm tall with \u00d87.5 mm bore."}, "params": {"outer_d": {"type": "float", "default": 15, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 54.4, "min": 16.3, "max": 163.2, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 7.5, "min": 2.0, "max": 10.5, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331323 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 15, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 54.4, \"min\": 16.3, \"max\": 163.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 7.5, \"min\": 2.0, \"max\": 10.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca67c_2760", "family": "bracket", "tier": 1, "seed": 1177331324, "symmetry": "none", "op_count": 1, "ir_hash": "9840d42ac3b15869", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 25000.0, "surface_area": 12200.0, "principal_moments": [7290000.0, 22999999.999999996, 25599999.999999996], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["C-channel bracket: base leg 73.39 mm, vertical leg 44.9 mm, 33.29 mm wide, 5 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."], "text": "C-channel bracket: base leg 73.39 mm, vertical leg 44.9 mm, 33.29 mm wide, 5 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 73.39, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 44.9, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 33.29, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 5.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331324 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 73.39, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 44.9, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 33.29, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca67d_2761", "family": "bracket", "tier": 3, "seed": 1177331325, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "c47027d54f860bd0", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 44200.0, "surface_area": 20400.0, "principal_moments": [40200000.0, 65199999.99999999, 98199999.99999999], "n_faces": 19, "n_edges": 51, "n_vertices": 34}, "dimensions": {"lines": ["C-channel bracket: base leg 89.75 mm, vertical leg 90 mm, 32.2 mm wide, 5 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg; 6.6 mm corner gusset."], "text": "C-channel bracket: base leg 89.75 mm, vertical leg 90 mm, 32.2 mm wide, 5 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg; 6.6 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 89.75, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 90.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 32.2, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 5.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 6.6, "min": 2.5, "max": 15.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331325 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 89.75, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 90.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 32.2, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 6.6, \"min\": 2.5, \"max\": 15.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl / 2, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bl - _bt, _bt).lineTo(_bl - _bt - _g, _bt)\n                    .lineTo(_bl - _bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca67e_2762", "family": "block", "tier": 2, "seed": 1177331326, "symmetry": "mirror_xy", "op_count": 3, "ir_hash": "ef6ffac3c556ec1f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 71600.0, "surface_area": 13100.0, "principal_moments": [18100000.0, 22999999.999999996, 32399999.999999996], "n_faces": 14, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 48.34 \u00d7 27.2 \u00d7 55.9 mm (W\u00d7D\u00d7H).", "Four \u00d83.2 mm holes at the corners, 33.838 \u00d7 19.04 mm spacing.", "Fillet radius 1.395 mm on vertical edges."], "text": "Rectangular body, 48.34 \u00d7 27.2 \u00d7 55.9 mm (W\u00d7D\u00d7H). Four \u00d83.2 mm holes at the corners, 33.838 \u00d7 19.04 mm spacing. Fillet radius 1.395 mm on vertical edges."}, "params": {"block_w": {"type": "float", "default": 48.34, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 27.2, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 55.9, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 6.1, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331326 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 48.34, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 27.2, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 55.9, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 6.1, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"block_w\"], p[\"block_d\"]) * 0.051296466877776545)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462ca67f_2763", "family": "gear", "tier": 2, "seed": 1177331327, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "60fac87dee635751", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 16900.0, "surface_area": 6490.0, "principal_moments": [1950000.0, 1950000.0, 2910000.0], "n_faces": 195, "n_edges": 483, "n_vertices": 290}, "dimensions": {"lines": ["Helical gear, module 3 mm, 12 teeth (pitch \u00d836 mm), face width 18.7 mm, 12.2\u00b0 helix (herringbone), \u00d86.4 mm bore."], "text": "Helical gear, module 3 mm, 12 teeth (pitch \u00d836 mm), face width 18.7 mm, 12.2\u00b0 helix (herringbone), \u00d86.4 mm bore."}, "params": {"module": {"type": "float", "default": 3.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 12, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 18.7, "min": 7.5, "max": 46.8, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "helix_angle": {"type": "float", "default": 12.2, "min": 5.0, "max": 40.0, "step": 1.0, "group": "Gear", "label": "Helix angle (deg)"}, "profile_shift": {"type": "float", "default": -0.24, "min": -0.5, "max": 0.7, "step": 0.05, "group": "Gear", "label": "Profile shift"}, "root_fillet": {"type": "float", "default": 0.39, "min": 0.0, "max": 1.5, "step": 0.05, "group": "Gear", "label": "Root fillet (mm)"}, "bore_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 17.1, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331327 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 3.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 12, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 18.7, \"min\": 7.5, \"max\": 46.8, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"helix_angle\": {\"type\": 'float', \"default\": 12.2, \"min\": 5.0, \"max\": 40.0, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Helix angle (deg)'},\n    \"profile_shift\": {\"type\": 'float', \"default\": -0.24, \"min\": -0.5, \"max\": 0.7, \"step\": 0.05, \"group\": 'Gear', \"label\": 'Profile shift'},\n    \"root_fillet\": {\"type\": 'float', \"default\": 0.39, \"min\": 0.0, \"max\": 1.5, \"step\": 0.05, \"group\": 'Gear', \"label\": 'Root fillet (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 17.1, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.HelicalGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"], helix_angle=math.radians(p[\"helix_angle\"]), herringbone=True, profile_shift=p[\"profile_shift\"], root_fillet=p[\"root_fillet\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca681_2765", "family": "plate", "tier": 1, "seed": 1177331329, "symmetry": "none", "op_count": 2, "ir_hash": "ca989e288459b554", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 118000.0, "surface_area": 28700.0, "principal_moments": [106000000.0, 131000000.0, 235000000.0], "n_faces": 11, "n_edges": 27, "n_vertices": 18}, "dimensions": {"lines": ["Rectangular body, 115 \u00d7 103.2 \u00d7 10 mm (W\u00d7D\u00d7H).", "Five \u00d85.3 mm holes in two staggered rows, 43.1 \u00d7 35.8 mm pitch."], "text": "Rectangular body, 115 \u00d7 103.2 \u00d7 10 mm (W\u00d7D\u00d7H). Five \u00d85.3 mm holes in two staggered rows, 43.1 \u00d7 35.8 mm pitch."}, "params": {"plate_w": {"type": "float", "default": 115, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 103.2, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 10.3, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 3, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331329 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 115, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 103.2, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 10.3, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 3, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 43.1\n    _ssy = 35.8\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca682_2766", "family": "plate", "tier": 1, "seed": 1177331330, "symmetry": "none", "op_count": 2, "ir_hash": "e61ac685f1f0638f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 2020.0, "surface_area": 1960.0, "principal_moments": [74200.0, 192000.0, 264000.0], "n_faces": 38, "n_edges": 108, "n_vertices": 72}, "dimensions": {"lines": ["Rectangular body, 35.38 \u00d7 20.9 \u00d7 3 mm (W\u00d7D\u00d7H).", "Eight 2.9 mm square holes in a 2\u00d74 grid, 28.3 \u00d7 5.6 mm pitch."], "text": "Rectangular body, 35.38 \u00d7 20.9 \u00d7 3 mm (W\u00d7D\u00d7H). Eight 2.9 mm square holes in a 2\u00d74 grid, 28.3 \u00d7 5.6 mm pitch."}, "params": {"plate_w": {"type": "float", "default": 35.38, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 20.9, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 3.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 2.9, "min": 2.0, "max": 3.3, "step": 0.1, "group": "Holes", "label": "Square hole size (mm)"}, "hole_nx": {"type": "int", "default": 2, "min": 1, "max": 4, "step": 1, "group": "Holes", "label": "Holes across"}, "hole_ny": {"type": "int", "default": 4, "min": 1, "max": 4, "step": 1, "group": "Holes", "label": "Holes deep"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331330 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 35.38, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 20.9, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 3.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 2.9, \"min\": 2.0, \"max\": 3.3, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Square hole size (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 2, \"min\": 1, \"max\": 4, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes across'},\n    \"hole_ny\": {\"type\": 'int', \"default\": 4, \"min\": 1, \"max\": 4, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes deep'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(28.3, 5.6, p[\"hole_nx\"], p[\"hole_ny\"])\n        .rect(p[\"hole_d\"], p[\"hole_d\"]).cutThruAll()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca683_2767", "family": "plate", "tier": 1, "seed": 1177331331, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "f24f6fa7bfeab04d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 17700.0, "surface_area": 10300.0, "principal_moments": [6000000.0, 7360000.0, 13299999.999999998], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 71.04 \u00d7 64.1 \u00d7 4 mm (W\u00d7D\u00d7H).", "Four \u00d86.4 mm holes at the corners, 49.728 \u00d7 44.87 mm spacing."], "text": "Rectangular body, 71.04 \u00d7 64.1 \u00d7 4 mm (W\u00d7D\u00d7H). Four \u00d86.4 mm holes at the corners, 49.728 \u00d7 44.87 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 71.04, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 64.1, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 4.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331331 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 71.04, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 64.1, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 4.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca684_2768", "family": "block", "tier": 1, "seed": 1177331332, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "63a3e34324a39b2b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 252000.0, "surface_area": 31400.0, "principal_moments": [141000000.0, 200000000.0, 273000000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 89.6 \u00d7 40.8 \u00d7 71.4 mm (W\u00d7D\u00d7H).", "Four \u00d86.4 mm holes at the corners, 62.72 \u00d7 28.56 mm spacing."], "text": "Rectangular body, 89.6 \u00d7 40.8 \u00d7 71.4 mm (W\u00d7D\u00d7H). Four \u00d86.4 mm holes at the corners, 62.72 \u00d7 28.56 mm spacing."}, "params": {"block_w": {"type": "float", "default": 89.6, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 40.8, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 71.4, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 9.2, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331332 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 89.6, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 40.8, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 71.4, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 9.2, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca685_2769", "family": "plate", "tier": 2, "seed": 1177331333, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "d89ff2674414b1a6", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 15200.0, "surface_area": 6790.0, "principal_moments": [2510000.0, 4450000.0, 6870000.0], "n_faces": 14, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 59.88 \u00d7 44.8 \u00d7 6 mm (W\u00d7D\u00d7H).", "Four \u00d86.4 mm holes at the corners, 41.916 \u00d7 31.36 mm spacing.", "Chamfer 2.5 mm on vertical edges."], "text": "Rectangular body, 59.88 \u00d7 44.8 \u00d7 6 mm (W\u00d7D\u00d7H). Four \u00d86.4 mm holes at the corners, 41.916 \u00d7 31.36 mm spacing. Chamfer 2.5 mm on vertical edges."}, "params": {"plate_w": {"type": "float", "default": 59.88, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 44.8, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 6.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 10.1, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "chamfer_d": {"type": "float", "default": 2.5, "min": 1.6, "max": 2.6, "step": 0.5, "group": "Body", "label": "Chamfer distance (mm)"}, "chamfered": {"type": "bool", "default": true, "group": "Body", "label": "Chamfer edges"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331333 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 59.88, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 44.8, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 10.1, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"chamfer_d\": {\"type\": 'float', \"default\": 2.5, \"min\": 1.6, \"max\": 2.6, \"step\": 0.5, \"group\": 'Body', \"label\": 'Chamfer distance (mm)'},\n    \"chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Chamfer edges'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"chamfered\"]:\n        result = result.edges('|Z').chamfer(p[\"chamfer_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca686_2770", "family": "plate", "tier": 1, "seed": 1177331334, "symmetry": "none", "op_count": 2, "ir_hash": "95884301cf722edc", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 57700.0, "surface_area": 15600.0, "principal_moments": [9940000.0, 62599999.99999999, 71100000.0], "n_faces": 54, "n_edges": 156, "n_vertices": 104}, "dimensions": {"lines": ["Rectangular body, 114.07 \u00d7 43.9 \u00d7 12 mm (W\u00d7D\u00d7H).", "Twelve 5.8 \u00d7 3.2 mm slots in a 3\u00d74 grid, 45.6 \u00d7 11.7 mm pitch."], "text": "Rectangular body, 114.07 \u00d7 43.9 \u00d7 12 mm (W\u00d7D\u00d7H). Twelve 5.8 \u00d7 3.2 mm slots in a 3\u00d74 grid, 45.6 \u00d7 11.7 mm pitch."}, "params": {"plate_w": {"type": "float", "default": 114.07, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 43.9, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 5.3, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 3, "min": 1, "max": 4, "step": 1, "group": "Holes", "label": "Holes across"}, "hole_ny": {"type": "int", "default": 4, "min": 1, "max": 4, "step": 1, "group": "Holes", "label": "Holes deep"}, "hole_slot_len": {"type": "float", "default": 5.8, "min": 4.8, "max": 8.2, "step": 0.5, "group": "Holes", "label": "Slot length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331334 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 114.07, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 43.9, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 5.3, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 3, \"min\": 1, \"max\": 4, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes across'},\n    \"hole_ny\": {\"type\": 'int', \"default\": 4, \"min\": 1, \"max\": 4, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes deep'},\n    \"hole_slot_len\": {\"type\": 'float', \"default\": 5.8, \"min\": 4.8, \"max\": 8.2, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Slot length (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(45.6, 11.7, p[\"hole_nx\"], p[\"hole_ny\"])\n        .slot2D(p[\"hole_slot_len\"], p[\"hole_d\"]).cutThruAll()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca687_2771", "family": "revolved", "tier": 1, "seed": 1177331335, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "ad309a26019f5ef6", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 106000.0, "surface_area": 22600.0, "principal_moments": [37900000.0, 102000000.0, 102000000.0], "n_faces": 10, "n_edges": 17, "n_vertices": 10}, "dimensions": {"lines": ["Revolved body, \u00d830 mm \u00d7 103.2 mm tall with \u00d817.3 mm bore, \u00d858.3 mm \u00d7 29.1 mm flange.", "Chamfer 0.7 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d830 mm \u00d7 103.2 mm tall with \u00d817.3 mm bore, \u00d858.3 mm \u00d7 29.1 mm flange. Chamfer 0.7 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 30, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 103.2, "min": 31.0, "max": 309.6, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 17.3, "min": 2.0, "max": 21.0, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 58.3, "min": 36.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 29.1, "min": 8.7, "max": 51.6, "step": 0.5, "group": "Body", "label": "Flange height (mm)"}, "end_chamfer": {"type": "float", "default": 0.7, "min": 0.1, "max": 2.1, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331335 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 30, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 103.2, \"min\": 31.0, \"max\": 309.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 17.3, \"min\": 2.0, \"max\": 21.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 58.3, \"min\": 36.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 29.1, \"min\": 8.7, \"max\": 51.6, \"step\": 0.5, \"group\": 'Body', \"label\": 'Flange height (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.7, \"min\": 0.1, \"max\": 2.1, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca688_2772", "family": "plate", "tier": 1, "seed": 1177331336, "symmetry": "none", "op_count": 2, "ir_hash": "45c287daa7ffdf04", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 30900.0, "surface_area": 10400.0, "principal_moments": [3910000.0, 26899999.999999996, 30499999.999999996], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 102.35 \u00d7 38.3 \u00d7 8 mm (W\u00d7D\u00d7H).", "Four \u00d84.3 mm holes at the corners, 71.645 \u00d7 26.81 mm spacing."], "text": "Rectangular body, 102.35 \u00d7 38.3 \u00d7 8 mm (W\u00d7D\u00d7H). Four \u00d84.3 mm holes at the corners, 71.645 \u00d7 26.81 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 102.35, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 38.3, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 8.6, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331336 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 102.35, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 38.3, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 8.6, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462ca689_2773", "family": "lofted", "tier": 3, "seed": 1177331337, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "44e1abf7236c21f1", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 42900.0, "surface_area": 9670.0, "principal_moments": [10500000.0, 10700000.0, 10800000.0], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["Lofted body through 3 sections: 50 \u00d7 50 mm rectangular section \u2192 6-sided polygon section, 35.6 mm across corners \u2192 6-sided polygon section, 21.2 mm across corners.", "One \u00d89.2 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 3 sections: 50 \u00d7 50 mm rectangular section \u2192 6-sided polygon section, 35.6 mm across corners \u2192 6-sided polygon section, 21.2 mm across corners. One \u00d89.2 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 50, "min": 25.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 21.2, "min": 8.5, "max": 60.0, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 45.3, "min": 18.1, "max": 90.6, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_mid": {"type": "float", "default": 35.6, "min": 10.6, "max": 60.0, "step": 1.0, "group": "Body", "label": "Mid size (mm)"}, "loft_bore_d": {"type": "float", "default": 9.2, "min": 2.0, "max": 17.0, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331337 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 50, \"min\": 25.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 21.2, \"min\": 8.5, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 45.3, \"min\": 18.1, \"max\": 90.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_mid\": {\"type\": 'float', \"default\": 35.6, \"min\": 10.6, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Mid size (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 9.2, \"min\": 2.0, \"max\": 17.0, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .rect(p[\"loft_base\"], p[\"loft_base\"])\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .polygon(6, p[\"loft_mid\"] * 0.5 * 2)\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .polygon(6, p[\"loft_top\"] * 0.5 * 2)\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca68a_2774", "family": "plate", "tier": 0, "seed": 1177331338, "symmetry": "none", "op_count": 1, "ir_hash": "fbdb487bdcecaba9", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 3380.0, "surface_area": 1890.0, "principal_moments": [112000.0, 352000.0, 450000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 35 \u00d7 19.3 \u00d7 5 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 35 \u00d7 19.3 \u00d7 5 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 35, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 19.3, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 5.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331338 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 35, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 19.3, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 5.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462ca68b_2775", "family": "threaded", "tier": 2, "seed": 1177331339, "symmetry": "none", "op_count": 1, "ir_hash": "497da43ce09f30e7", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 38900.0, "surface_area": 10300.0, "principal_moments": [4230000.0, 12899999.999999998, 12899999.999999998], "n_faces": 120, "n_edges": 302, "n_vertices": 184}, "dimensions": {"lines": ["ACME 1 1/4 external thread, 58.4 mm long."], "text": "ACME 1 1/4 external thread, 58.4 mm long."}, "params": {"thread_size": {"type": "enum", "default": "1 1/4", "choices": ["1/4", "5/16", "3/8", "1/2", "5/8", "3/4", "7/8", "1", "1 1/4", "1 1/2"], "group": "Thread", "label": "Size designation"}, "thread_len": {"type": "float", "default": 58.4, "min": 23.4, "max": 116.8, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331339 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"thread_size\": {\"type\": 'enum', \"default\": '1 1/4', \"choices\": ['1/4', '5/16', '3/8', '1/2', '5/8', '3/4', '7/8', '1', '1 1/4', '1 1/2'], \"group\": 'Thread', \"label\": 'Size designation'},\n    \"thread_len\": {\"type\": 'float', \"default\": 58.4, \"min\": 23.4, \"max\": 116.8, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.AcmeThread(size=p[\"thread_size\"], length=p[\"thread_len\"], external=True, end_finishes=(\"fade\", \"fade\"))\n    _r = _thr.min_radius if hasattr(_thr, 'min_radius') else _thr.root_radius\n    _shank = _bd.Cylinder(radius=_r, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = _shank + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca68c_2776", "family": "compound", "tier": 1, "seed": 1177331340, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "4dcaad45ade83317", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 130000.0, "surface_area": 18900.0, "principal_moments": [52499999.99999999, 69800000.0, 69800000.0], "n_faces": 10, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["Lofted body through 2 sections: \u00d869.72 mm circular section \u2192 25.9 \u00d7 25.9 mm rectangular section.", "\u00d819.1 mm circular section attachment, 13.3 mm long, from top face with a \u00d811.5 mm bore."], "text": "Lofted body through 2 sections: \u00d869.72 mm circular section \u2192 25.9 \u00d7 25.9 mm rectangular section. \u00d819.1 mm circular section attachment, 13.3 mm long, from top face with a \u00d811.5 mm bore."}, "params": {"adapter_base": {"type": "float", "default": 69.72, "min": 41.8, "max": 104.6, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "adapter_top": {"type": "float", "default": 25.9, "min": 12.9, "max": 69.7, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "adapter_h": {"type": "float", "default": 65.9, "min": 26.4, "max": 131.8, "step": 1.0, "group": "Body", "label": "Transition height (mm)"}, "neck_d": {"type": "float", "default": 19.1, "min": 7.6, "max": 25.9, "step": 1.0, "group": "Neck", "label": "Neck diameter (mm)"}, "neck_l": {"type": "float", "default": 13.3, "min": 5.3, "max": 33.2, "step": 1.0, "group": "Neck", "label": "Neck length (mm)"}, "neck_bore": {"type": "float", "default": 11.5, "min": 2.0, "max": 13.8, "step": 0.5, "group": "Neck", "label": "Neck bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331340 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"adapter_base\": {\"type\": 'float', \"default\": 69.72, \"min\": 41.8, \"max\": 104.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"adapter_top\": {\"type\": 'float', \"default\": 25.9, \"min\": 12.9, \"max\": 69.7, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"adapter_h\": {\"type\": 'float', \"default\": 65.9, \"min\": 26.4, \"max\": 131.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Transition height (mm)'},\n    \"neck_d\": {\"type\": 'float', \"default\": 19.1, \"min\": 7.6, \"max\": 25.9, \"step\": 1.0, \"group\": 'Neck', \"label\": 'Neck diameter (mm)'},\n    \"neck_l\": {\"type\": 'float', \"default\": 13.3, \"min\": 5.3, \"max\": 33.2, \"step\": 1.0, \"group\": 'Neck', \"label\": 'Neck length (mm)'},\n    \"neck_bore\": {\"type\": 'float', \"default\": 11.5, \"min\": 2.0, \"max\": 13.8, \"step\": 0.5, \"group\": 'Neck', \"label\": 'Neck bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .circle(p[\"adapter_base\"] / 2)\n        .workplane(offset=p[\"adapter_h\"])\n        .rect(p[\"adapter_top\"], p[\"adapter_top\"])\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"neck_d\"] / 2).extrude(p[\"neck_l\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"neck_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca68d_2777", "family": "block", "tier": 2, "seed": 1177331341, "symmetry": "none", "op_count": 3, "ir_hash": "ac06bec9059cb2c3", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 25100.0, "surface_area": 6650.0, "principal_moments": [3150000.0, 3900000.0, 4220000.0], "n_faces": 42, "n_edges": 120, "n_vertices": 80}, "dimensions": {"lines": ["Rectangular body, 35 \u00d7 26.4 \u00d7 28.8 mm (W\u00d7D\u00d7H).", "Four 3.8 mm square holes at the corners, 24.5 \u00d7 18.48 mm spacing.", "Fillet radius 1.567 mm on vertical edges."], "text": "Rectangular body, 35 \u00d7 26.4 \u00d7 28.8 mm (W\u00d7D\u00d7H). Four 3.8 mm square holes at the corners, 24.5 \u00d7 18.48 mm spacing. Fillet radius 1.567 mm on vertical edges."}, "params": {"block_w": {"type": "float", "default": 35, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 26.4, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 28.8, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 3.8, "min": 2.0, "max": 7.7, "step": 0.5, "group": "Holes", "label": "Square hole size (mm)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331341 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 35, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 26.4, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 28.8, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.8, \"min\": 2.0, \"max\": 7.7, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Square hole size (mm)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().rect(p[\"hole_d\"], p[\"hole_d\"]).cutThruAll()\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"block_w\"], p[\"block_d\"]) * 0.05936661177404251)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca68e_2778", "family": "revolved", "tier": 2, "seed": 1177331342, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "e331577d2e9683fe", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 31700.0, "surface_area": 10200.0, "principal_moments": [8420000.0, 8420000.0, 9020000.0], "n_faces": 10, "n_edges": 15, "n_vertices": 10}, "dimensions": {"lines": ["Revolved body, \u00d826.66 mm \u00d7 39 mm tall with \u00d813.8 mm bore, \u00d854.2 mm \u00d7 9.1 mm flange, 2.77 mm-wide groove 0.83 mm deep."], "text": "Revolved body, \u00d826.66 mm \u00d7 39 mm tall with \u00d813.8 mm bore, \u00d854.2 mm \u00d7 9.1 mm flange, 2.77 mm-wide groove 0.83 mm deep."}, "params": {"outer_d": {"type": "float", "default": 26.66, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 39.0, "min": 11.7, "max": 117.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 13.8, "min": 2.0, "max": 18.7, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 54.2, "min": 32.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 9.1, "min": 2.7, "max": 19.5, "step": 0.5, "group": "Body", "label": "Flange height (mm)"}, "groove_depth": {"type": "float", "default": 0.83, "min": 0.33, "max": 2.49, "step": 0.1, "group": "Body", "label": "Groove depth (mm)"}, "groove_w": {"type": "float", "default": 2.77, "min": 1.11, "max": 8.31, "step": 0.2, "group": "Body", "label": "Groove width (mm)"}, "groove_pos": {"type": "float", "default": 11.4, "min": 5.8, "max": 33.1, "step": 1.0, "group": "Body", "label": "Groove position (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331342 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 26.66, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 39.0, \"min\": 11.7, \"max\": 117.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 13.8, \"min\": 2.0, \"max\": 18.7, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 54.2, \"min\": 32.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 9.1, \"min\": 2.7, \"max\": 19.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Flange height (mm)'},\n    \"groove_depth\": {\"type\": 'float', \"default\": 0.83, \"min\": 0.33, \"max\": 2.49, \"step\": 0.1, \"group\": 'Body', \"label\": 'Groove depth (mm)'},\n    \"groove_w\": {\"type\": 'float', \"default\": 2.77, \"min\": 1.11, \"max\": 8.31, \"step\": 0.2, \"group\": 'Body', \"label\": 'Groove width (mm)'},\n    \"groove_pos\": {\"type\": 'float', \"default\": 11.4, \"min\": 5.8, \"max\": 33.1, \"step\": 1.0, \"group\": 'Body', \"label\": 'Groove position (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"groove_pos\"] - p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2 - p[\"groove_depth\"], p[\"groove_pos\"] - p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2 - p[\"groove_depth\"], p[\"groove_pos\"] + p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2, p[\"groove_pos\"] + p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462ca68f_2779", "family": "gear", "tier": 3, "seed": 1177331343, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "07add31c3284c313", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 29800.0, "surface_area": 11100.0, "principal_moments": [9530000.0, 9530000.0, 18700000.0], "n_faces": 213, "n_edges": 633, "n_vertices": 422}, "dimensions": {"lines": ["Spur gear, module 2 mm, 35 teeth (pitch \u00d870 mm), face width 8.1 mm, \u00d811.9 mm bore."], "text": "Spur gear, module 2 mm, 35 teeth (pitch \u00d870 mm), face width 8.1 mm, \u00d811.9 mm bore."}, "params": {"module": {"type": "float", "default": 2.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 35, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 8.1, "min": 3.2, "max": 20.2, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "profile_shift": {"type": "float", "default": -0.07, "min": -0.5, "max": 0.7, "step": 0.05, "group": "Gear", "label": "Profile shift"}, "root_fillet": {"type": "float", "default": 0.53, "min": 0.0, "max": 1.0, "step": 0.05, "group": "Gear", "label": "Root fillet (mm)"}, "bore_d": {"type": "float", "default": 11.9, "min": 2.0, "max": 39.0, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331343 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 2.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 35, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 8.1, \"min\": 3.2, \"max\": 20.2, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"profile_shift\": {\"type\": 'float', \"default\": -0.07, \"min\": -0.5, \"max\": 0.7, \"step\": 0.05, \"group\": 'Gear', \"label\": 'Profile shift'},\n    \"root_fillet\": {\"type\": 'float', \"default\": 0.53, \"min\": 0.0, \"max\": 1.0, \"step\": 0.05, \"group\": 'Gear', \"label\": 'Root fillet (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 11.9, \"min\": 2.0, \"max\": 39.0, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"], profile_shift=p[\"profile_shift\"], root_fillet=p[\"root_fillet\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462ca690_2780", "family": "sketched", "tier": 0, "seed": 1177331344, "symmetry": "none", "op_count": 1, "ir_hash": "eaf713601ae1cc85", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 60900.0, "surface_area": 16100.0, "principal_moments": [18500000.0, 18500000.0, 22500000.0], "n_faces": 7, "n_edges": 12, "n_vertices": 7}, "dimensions": {"lines": ["Revolved organic body from a freeform sketched section (6 segments: 4 straight, 2 curves), ~30.538 \u00d7 35 mm half-silhouette."], "text": "Revolved organic body from a freeform sketched section (6 segments: 4 straight, 2 curves), ~30.538 \u00d7 35 mm half-silhouette."}, "params": {"sk_r": {"type": "float", "default": 36.17, "min": 18.1, "max": 65.1, "step": 1.0, "group": "Sketch", "label": "Max radius (mm)"}, "sk_h": {"type": "float", "default": 35, "min": 17.5, "max": 63.0, "step": 1.0, "group": "Sketch", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331344 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_r\": {\"type\": 'float', \"default\": 36.17, \"min\": 18.1, \"max\": 65.1, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Max radius (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 35, \"min\": 17.5, \"max\": 63.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XZ').moveTo(p[\"sk_r\"] * 0.6066, p[\"sk_h\"] * 0.0).spline([(p[\"sk_r\"] * 0.6066, p[\"sk_h\"] * 0.0), (p[\"sk_r\"] * 0.6705, p[\"sk_h\"] * 0.1559), (p[\"sk_r\"] * 0.8819, p[\"sk_h\"] * 0.3118)]).lineTo(p[\"sk_r\"] * 0.1984, p[\"sk_h\"] * 0.7791).bezier([(p[\"sk_r\"] * 0.1984, p[\"sk_h\"] * 0.7791), (p[\"sk_r\"] * 0.6437, p[\"sk_h\"] * 0.8246), (p[\"sk_r\"] * 0.7961, p[\"sk_h\"] * 0.8702)]).lineTo(p[\"sk_r\"] * 0.9525, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.1082, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.1082, p[\"sk_h\"] * 0.0).close().revolve())\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462ca691_2781", "family": "profiled", "tier": 1, "seed": 1177331345, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "55521c050a71b990", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 308000.0, "surface_area": 35800.0, "principal_moments": [62199999.99999999, 1760000000.0, 1780000000.0], "n_faces": 9, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["freeform sketched section (7 segments: 4 straight, 2 arcs, 1 curve), ~35.464 \u00d7 47.707 mm, extruded 260.5 mm thick."], "text": "freeform sketched section (7 segments: 4 straight, 2 arcs, 1 curve), ~35.464 \u00d7 47.707 mm, extruded 260.5 mm thick."}, "params": {"sk_w": {"type": "float", "default": 40, "min": 20.0, "max": 72.0, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 51.32, "min": 25.7, "max": 92.4, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "length": {"type": "float", "default": 260.5, "min": 78.1, "max": 781.5, "step": 5.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331345 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 40, \"min\": 20.0, \"max\": 72.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 51.32, \"min\": 25.7, \"max\": 92.4, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 260.5, \"min\": 78.1, \"max\": 781.5, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.4261, p[\"sk_h\"] * -0.0673).lineTo(p[\"sk_w\"] * 0.3242, p[\"sk_h\"] * 0.3122).lineTo(p[\"sk_w\"] * 0.0278, p[\"sk_h\"] * 0.4577).threePointArc((p[\"sk_w\"] * -0.2051, p[\"sk_h\"] * 0.329), (p[\"sk_w\"] * -0.3585, p[\"sk_h\"] * 0.0647)).threePointArc((p[\"sk_w\"] * -0.443, p[\"sk_h\"] * -0.0612), (p[\"sk_w\"] * -0.4605, p[\"sk_h\"] * -0.1838)).lineTo(p[\"sk_w\"] * -0.129, p[\"sk_h\"] * -0.4719).spline([(p[\"sk_w\"] * -0.129, p[\"sk_h\"] * -0.4719), (p[\"sk_w\"] * 0.0661, p[\"sk_h\"] * -0.4681), (p[\"sk_w\"] * 0.2441, p[\"sk_h\"] * -0.3881)]).lineTo(p[\"sk_w\"] * 0.4261, p[\"sk_h\"] * -0.0673).close().extrude(p[\"length\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca692_2782", "family": "compound", "tier": 2, "seed": 1177331346, "symmetry": "none", "op_count": 3, "ir_hash": "573c96fceaedd0d3", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 57900.0, "surface_area": 12100.0, "principal_moments": [10300000.0, 24599999.999999996, 24599999.999999996], "n_faces": 13, "n_edges": 27, "n_vertices": 18}, "dimensions": {"lines": ["\u00d840 mm circular section, extruded 36.3 mm thick.", "\u00d826.1 mm circular section attachment, 23.1 mm long, from top face.", "6-sided polygon section, 18.6 mm across corners attachment, 19.6 mm long, from top face with a \u00d88.5 mm bore."], "text": "\u00d840 mm circular section, extruded 36.3 mm thick. \u00d826.1 mm circular section attachment, 23.1 mm long, from top face. 6-sided polygon section, 18.6 mm across corners attachment, 19.6 mm long, from top face with a \u00d88.5 mm bore."}, "params": {"shaft_d": {"type": "float", "default": 40, "min": 20.0, "max": 72.0, "step": 1.0, "group": "Body", "label": "Shaft diameter (mm)"}, "shaft_len": {"type": "float", "default": 36.3, "min": 14.5, "max": 72.6, "step": 1.0, "group": "Body", "label": "Shaft length (mm)"}, "step_d": {"type": "float", "default": 26.1, "min": 13.1, "max": 36.0, "step": 1.0, "group": "Step", "label": "Step diameter (mm)"}, "step_len": {"type": "float", "default": 23.1, "min": 6.9, "max": 57.8, "step": 1.0, "group": "Step", "label": "Step length (mm)"}, "head_sides": {"type": "int", "default": 6, "min": 3, "max": 8, "step": 1, "group": "Head", "label": "Drive head sides"}, "head_r": {"type": "float", "default": 9.3, "min": 5.6, "max": 12.5, "step": 1.0, "group": "Head", "label": "Drive head circumradius (mm)"}, "head_len": {"type": "float", "default": 19.6, "min": 5.9, "max": 39.2, "step": 1.0, "group": "Head", "label": "Drive head length (mm)"}, "axial_bore": {"type": "float", "default": 8.5, "min": 2.0, "max": 11.6, "step": 0.5, "group": "Bore", "label": "Axial bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331346 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"shaft_d\": {\"type\": 'float', \"default\": 40, \"min\": 20.0, \"max\": 72.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft diameter (mm)'},\n    \"shaft_len\": {\"type\": 'float', \"default\": 36.3, \"min\": 14.5, \"max\": 72.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft length (mm)'},\n    \"step_d\": {\"type\": 'float', \"default\": 26.1, \"min\": 13.1, \"max\": 36.0, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step diameter (mm)'},\n    \"step_len\": {\"type\": 'float', \"default\": 23.1, \"min\": 6.9, \"max\": 57.8, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step length (mm)'},\n    \"head_sides\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Head', \"label\": 'Drive head sides'},\n    \"head_r\": {\"type\": 'float', \"default\": 9.3, \"min\": 5.6, \"max\": 12.5, \"step\": 1.0, \"group\": 'Head', \"label\": 'Drive head circumradius (mm)'},\n    \"head_len\": {\"type\": 'float', \"default\": 19.6, \"min\": 5.9, \"max\": 39.2, \"step\": 1.0, \"group\": 'Head', \"label\": 'Drive head length (mm)'},\n    \"axial_bore\": {\"type\": 'float', \"default\": 8.5, \"min\": 2.0, \"max\": 11.6, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Axial bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').circle(p[\"shaft_d\"] / 2).extrude(p[\"shaft_len\"]))\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"step_d\"] / 2).extrude(p[\"step_len\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"head_sides\"], p[\"head_r\"] * 2).extrude(p[\"head_len\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"axial_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca693_2783", "family": "revolved", "tier": 2, "seed": 1177331347, "symmetry": "radial", "op_count": 2, "ir_hash": "244dc66cf777ab52", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 70200.0, "surface_area": 15700.0, "principal_moments": [19800000.0, 38600000.0, 38600000.0], "n_faces": 10, "n_edges": 17, "n_vertices": 10}, "dimensions": {"lines": ["Revolved body, \u00d835 mm \u00d7 66 mm tall with \u00d815.4 mm bore, \u00d856.3 mm \u00d7 12.5 mm flange.", "Chamfer 0.7 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d835 mm \u00d7 66 mm tall with \u00d815.4 mm bore, \u00d856.3 mm \u00d7 12.5 mm flange. Chamfer 0.7 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 35, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 66.0, "min": 19.8, "max": 198.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 15.4, "min": 2.0, "max": 24.5, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 56.3, "min": 42.0, "max": 105.0, "step": 1.0, "group": "Body", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 12.5, "min": 3.8, "max": 33.0, "step": 0.5, "group": "Body", "label": "Flange height (mm)"}, "end_chamfer": {"type": "float", "default": 0.7, "min": 0.1, "max": 2.1, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331347 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 35, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 66.0, \"min\": 19.8, \"max\": 198.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 15.4, \"min\": 2.0, \"max\": 24.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 56.3, \"min\": 42.0, \"max\": 105.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 12.5, \"min\": 3.8, \"max\": 33.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Flange height (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.7, \"min\": 0.1, \"max\": 2.1, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca695_2785", "family": "block", "tier": 2, "seed": 1177331349, "symmetry": "mirror_xy", "op_count": 3, "ir_hash": "555428bf9b6f6411", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 209000.0, "surface_area": 34700.0, "principal_moments": [120000000.0, 187000000.0, 196000000.0], "n_faces": 16, "n_edges": 39, "n_vertices": 26}, "dimensions": {"lines": ["Rectangular body, 56.99 \u00d7 52.4 \u00d7 89.1 mm (W\u00d7D\u00d7H).", "Five \u00d83.2 mm holes in two staggered rows, 21.4 \u00d7 25.4 mm pitch.", "Pocket 38.1 \u00d7 32.5 mm, 43.9 mm deep, in top face."], "text": "Rectangular body, 56.99 \u00d7 52.4 \u00d7 89.1 mm (W\u00d7D\u00d7H). Five \u00d83.2 mm holes in two staggered rows, 21.4 \u00d7 25.4 mm pitch. Pocket 38.1 \u00d7 32.5 mm, 43.9 mm deep, in top face."}, "params": {"block_w": {"type": "float", "default": 56.99, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 52.4, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 89.1, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 5.2, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 3, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}, "pocket_w": {"type": "float", "default": 38.1, "min": 19.1, "max": 45.6, "step": 1.0, "group": "Pocket", "label": "Pocket width (mm)"}, "pocket_d": {"type": "float", "default": 32.5, "min": 16.2, "max": 41.9, "step": 1.0, "group": "Pocket", "label": "Pocket depth (mm)"}, "pocket_h": {"type": "float", "default": 43.9, "min": 17.6, "max": 75.7, "step": 0.5, "group": "Pocket", "label": "Pocket height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331349 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 56.99, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 52.4, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 89.1, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 5.2, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 3, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n    \"pocket_w\": {\"type\": 'float', \"default\": 38.1, \"min\": 19.1, \"max\": 45.6, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket width (mm)'},\n    \"pocket_d\": {\"type\": 'float', \"default\": 32.5, \"min\": 16.2, \"max\": 41.9, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket depth (mm)'},\n    \"pocket_h\": {\"type\": 'float', \"default\": 43.9, \"min\": 17.6, \"max\": 75.7, \"step\": 0.5, \"group\": 'Pocket', \"label\": 'Pocket height (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 21.4\n    _ssy = 25.4\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"pocket_w\"], p[\"pocket_d\"])\n        .cutBlind(-p[\"pocket_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca696_2786", "family": "revolved", "tier": 1, "seed": 1177331350, "symmetry": "radial", "op_count": 2, "ir_hash": "abb8aca1e9f57640", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 491000.0, "surface_area": 50200.0, "principal_moments": [293000000.0, 1220000000.0, 1220000000.0], "n_faces": 8, "n_edges": 14, "n_vertices": 8}, "dimensions": {"lines": ["Revolved body, \u00d865.73 mm \u00d7 162 mm tall with \u00d821.5 mm bore.", "Chamfer 0.9 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d865.73 mm \u00d7 162 mm tall with \u00d821.5 mm bore. Chamfer 0.9 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 65.73, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 162.0, "min": 48.6, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 21.5, "min": 2.0, "max": 46.0, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "end_chamfer": {"type": "float", "default": 0.9, "min": 0.1, "max": 2.7, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331350 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 65.73, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 162.0, \"min\": 48.6, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 21.5, \"min\": 2.0, \"max\": 46.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.9, \"min\": 0.1, \"max\": 2.7, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca697_2787", "family": "bracket", "tier": 2, "seed": 1177331351, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "a4699272c0ada1db", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 45500.0, "surface_area": 17400.0, "principal_moments": [14199999.999999998, 40600000.0, 47899999.99999999], "n_faces": 18, "n_edges": 48, "n_vertices": 32}, "dimensions": {"lines": ["Z-bracket: base leg 55 mm, vertical leg 43.5 mm, top leg 51.8 mm, 53.76 mm wide, 6 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg; 8.7 mm corner gusset."], "text": "Z-bracket: base leg 55 mm, vertical leg 43.5 mm, top leg 51.8 mm, 53.76 mm wide, 6 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg; 8.7 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 55, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 43.5, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 53.76, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 6.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 51.8, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}, "gusset_t": {"type": "float", "default": 8.7, "min": 3.0, "max": 18.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331351 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 55, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 43.5, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 53.76, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 51.8, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 8.7, \"min\": 3.0, \"max\": 18.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _tl, _vl) * 0.4 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(0, _vl - _bt).lineTo(-_g, _vl - _bt)\n                    .lineTo(0, _vl - _bt - _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462ca698_2788", "family": "enclosure", "tier": 1, "seed": 1177331352, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "c272b966466394f5", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 7650.0, "surface_area": 3160.0, "principal_moments": [326000.0, 979000.0, 1000000.0], "n_faces": 11, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 35 \u00d7 15.8 \u00d7 15.3 mm (W\u00d7D\u00d7H).", "Hollowed to 6 mm wall thickness, open at top face."], "text": "Rectangular body, 35 \u00d7 15.8 \u00d7 15.3 mm (W\u00d7D\u00d7H). Hollowed to 6 mm wall thickness, open at top face."}, "params": {"enc_w": {"type": "float", "default": 35, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 15.8, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 15.3, "min": 6.1, "max": 30.6, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 6.0, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331352 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 35, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 15.8, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 15.3, \"min\": 6.1, \"max\": 30.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca699_2789", "family": "plate", "tier": 1, "seed": 1177331353, "symmetry": "radial", "op_count": 2, "ir_hash": "3f03d191a27172e2", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 11800.0, "surface_area": 4800.0, "principal_moments": [717000.0, 4060000.0, 4650000.0], "n_faces": 8, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["Rectangular body, 63.9 \u00d7 24.9 \u00d7 8 mm (W\u00d7D\u00d7H).", "Four \u00d88.4 mm holes on a \u00d838.4 mm bolt circle."], "text": "Rectangular body, 63.9 \u00d7 24.9 \u00d7 8 mm (W\u00d7D\u00d7H). Four \u00d88.4 mm holes on a \u00d838.4 mm bolt circle."}, "params": {"plate_w": {"type": "float", "default": 63.9, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 24.9, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "bolt_d": {"type": "float", "default": 8.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 19.2, "min": 12.8, "max": 28.8, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 4, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331353 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 63.9, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 24.9, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 19.2, \"min\": 12.8, \"max\": 28.8, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 4, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca69a_2790", "family": "plate", "tier": 0, "seed": 1177331354, "symmetry": "radial", "op_count": 1, "ir_hash": "63c4d9cc5630adf7", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 34900.0, "surface_area": 10900.0, "principal_moments": [10000000.0, 16599999.999999998, 26199999.999999996], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 75 \u00d7 58.2 \u00d7 8 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 75 \u00d7 58.2 \u00d7 8 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 75, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 58.2, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331354 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 75, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 58.2, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca69b_2791", "family": "plate", "tier": 3, "seed": 1177331355, "symmetry": "mirror_xy", "op_count": 4, "ir_hash": "eba13bcf241b8f37", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 45100.0, "surface_area": 16800.0, "principal_moments": [13999999.999999998, 52099999.99999999, 65699999.99999999], "n_faces": 19, "n_edges": 48, "n_vertices": 32}, "dimensions": {"lines": ["Rectangular body, 112.56 \u00d7 58.4 \u00d7 8 mm (W\u00d7D\u00d7H).", "Four \u00d86.4 mm holes at the corners, 78.792 \u00d7 40.88 mm spacing.", "Fillet radius 3.155 mm on vertical edges.", "Pocket 58.4 \u00d7 35.1 mm, 3.1 mm deep, in top face."], "text": "Rectangular body, 112.56 \u00d7 58.4 \u00d7 8 mm (W\u00d7D\u00d7H). Four \u00d86.4 mm holes at the corners, 78.792 \u00d7 40.88 mm spacing. Fillet radius 3.155 mm on vertical edges. Pocket 58.4 \u00d7 35.1 mm, 3.1 mm deep, in top face."}, "params": {"plate_w": {"type": "float", "default": 112.56, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 58.4, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}, "pocket_w": {"type": "float", "default": 58.4, "min": 29.2, "max": 90.0, "step": 1.0, "group": "Pocket", "label": "Pocket width (mm)"}, "pocket_d": {"type": "float", "default": 35.1, "min": 17.6, "max": 46.7, "step": 1.0, "group": "Pocket", "label": "Pocket depth (mm)"}, "pocket_h": {"type": "float", "default": 3.1, "min": 1.2, "max": 6.8, "step": 0.5, "group": "Pocket", "label": "Pocket height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331355 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 112.56, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 58.4, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n    \"pocket_w\": {\"type\": 'float', \"default\": 58.4, \"min\": 29.2, \"max\": 90.0, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket width (mm)'},\n    \"pocket_d\": {\"type\": 'float', \"default\": 35.1, \"min\": 17.6, \"max\": 46.7, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket depth (mm)'},\n    \"pocket_h\": {\"type\": 'float', \"default\": 3.1, \"min\": 1.2, \"max\": 6.8, \"step\": 0.5, \"group\": 'Pocket', \"label\": 'Pocket height (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"plate_w\"], p[\"plate_d\"]) * 0.05403250584579902)\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"pocket_w\"], p[\"pocket_d\"])\n        .cutBlind(-p[\"pocket_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca69c_2792", "family": "block", "tier": 1, "seed": 1177331356, "symmetry": "none", "op_count": 2, "ir_hash": "b995323c37a0d97f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 523000.0, "surface_area": 52400.0, "principal_moments": [466000000.0, 662000000.0, 676000000.0], "n_faces": 22, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 75 \u00d7 72.9 \u00d7 100 mm (W\u00d7D\u00d7H).", "Four 7.7 mm square holes at the corners, 52.5 \u00d7 51.03 mm spacing."], "text": "Rectangular body, 75 \u00d7 72.9 \u00d7 100 mm (W\u00d7D\u00d7H). Four 7.7 mm square holes at the corners, 52.5 \u00d7 51.03 mm spacing."}, "params": {"block_w": {"type": "float", "default": 75, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 72.9, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 100.0, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 7.7, "min": 2.0, "max": 16.9, "step": 0.5, "group": "Holes", "label": "Square hole size (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331356 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 75, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 72.9, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 100.0, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 7.7, \"min\": 2.0, \"max\": 16.9, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Square hole size (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().rect(p[\"hole_d\"], p[\"hole_d\"]).cutThruAll()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462ca69d_2793", "family": "gear", "tier": 3, "seed": 1177331357, "symmetry": "none", "op_count": 1, "ir_hash": "d22d81a6335d73bb", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 51700.0, "surface_area": 16100.0, "principal_moments": [21800000.0, 21800000.0, 42700000.0], "n_faces": 195, "n_edges": 579, "n_vertices": 386}, "dimensions": {"lines": ["Cycloid gear, module 2.5 mm, 32 teeth (pitch \u00d880 mm), face width 10.8 mm, \u00d814 mm bore."], "text": "Cycloid gear, module 2.5 mm, 32 teeth (pitch \u00d880 mm), face width 10.8 mm, \u00d814 mm bore."}, "params": {"module": {"type": "float", "default": 2.5, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 32, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 10.8, "min": 4.3, "max": 27.0, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "bore_d": {"type": "float", "default": 14.0, "min": 2.0, "max": 44.2, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331357 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 2.5, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 32, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 10.8, \"min\": 4.3, \"max\": 27.0, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 14.0, \"min\": 2.0, \"max\": 44.2, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.CycloidGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca69e_2794", "family": "bracket", "tier": 3, "seed": 1177331358, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "8dc5dd8a07e0167f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 17400.0, "surface_area": 12400.0, "principal_moments": [5860000.0, 8650000.0, 11100000.0], "n_faces": 14, "n_edges": 37, "n_vertices": 24}, "dimensions": {"lines": ["L-bracket: base leg 55 mm, vertical leg 47.7 mm, 55.03 mm wide, 3 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg; 4 mm corner gusset."], "text": "L-bracket: base leg 55 mm, vertical leg 47.7 mm, 55.03 mm wide, 3 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg; 4 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 55, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 47.7, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 55.03, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 3.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 4.0, "min": 1.5, "max": 9.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331358 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 55, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 47.7, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 55.03, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 1.5, \"max\": 9.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462ca69f_2795", "family": "flanged", "tier": 1, "seed": 1177331359, "symmetry": "none", "op_count": 2, "ir_hash": "c74edca2253514b4", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 451000.0, "surface_area": 78700.0, "principal_moments": [823000000.0, 823000000.0, 1130000000.0], "n_faces": 18, "n_edges": 45, "n_vertices": 30}, "dimensions": {"lines": ["Revolved body, \u00d876.1 mm \u00d7 78.1 mm tall with \u00d840.4 mm bore, \u00d8174.5 mm \u00d7 10.3 mm flange.", "Twelve \u00d86.4 mm holes on a \u00d8104.8 mm bolt circle."], "text": "Revolved body, \u00d876.1 mm \u00d7 78.1 mm tall with \u00d840.4 mm bore, \u00d8174.5 mm \u00d7 10.3 mm flange. Twelve \u00d86.4 mm holes on a \u00d8104.8 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 76.1, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 78.1, "min": 23.4, "max": 195.2, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 40.4, "min": 2.0, "max": 53.3, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 174.5, "min": 98.9, "max": 228.3, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 10.3, "min": 3.1, "max": 31.2, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 52.4, "min": 34.9, "max": 78.5, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 12, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331359 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 76.1, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 78.1, \"min\": 23.4, \"max\": 195.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 40.4, \"min\": 2.0, \"max\": 53.3, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 174.5, \"min\": 98.9, \"max\": 228.3, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 10.3, \"min\": 3.1, \"max\": 31.2, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 52.4, \"min\": 34.9, \"max\": 78.5, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 12, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462ca6a0_2796", "family": "enclosure", "tier": 1, "seed": 1177331360, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "9041f89525120d81", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 35100.0, "surface_area": 13600.0, "principal_moments": [6980000.0, 18500000.0, 18900000.0], "n_faces": 11, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 65 \u00d7 29.3 \u00d7 31.9 mm (W\u00d7D\u00d7H).", "Hollowed to 5.6 mm wall thickness, open at top face."], "text": "Rectangular body, 65 \u00d7 29.3 \u00d7 31.9 mm (W\u00d7D\u00d7H). Hollowed to 5.6 mm wall thickness, open at top face."}, "params": {"enc_w": {"type": "float", "default": 65, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 29.3, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 31.9, "min": 12.8, "max": 63.8, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 5.6, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331360 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 65, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 29.3, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 31.9, \"min\": 12.8, \"max\": 63.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 5.6, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca6a1_2797", "family": "bracket", "tier": 1, "seed": 1177331361, "symmetry": "none", "op_count": 1, "ir_hash": "81eea1b593dabc7f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 10100.0, "surface_area": 4700.0, "principal_moments": [1070000.0, 2860000.0, 3050000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["L-bracket: base leg 38.41 mm, vertical leg 42.8 mm, 22.74 mm wide, 6 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."], "text": "L-bracket: base leg 38.41 mm, vertical leg 42.8 mm, 22.74 mm wide, 6 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 38.41, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 42.8, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 22.74, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 6.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 9.1, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331361 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 38.41, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 42.8, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 22.74, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 9.1, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462ca6a2_2798", "family": "flanged", "tier": 1, "seed": 1177331362, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "b70283d8a27cf597", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 67800.0, "surface_area": 24300.0, "principal_moments": [34500000.0, 34500000.0, 54599999.99999999], "n_faces": 18, "n_edges": 45, "n_vertices": 30}, "dimensions": {"lines": ["Revolved body, \u00d845 mm \u00d7 32.7 mm tall with \u00d817.9 mm bore, \u00d8106.6 mm \u00d7 3.6 mm flange.", "Twelve \u00d88.4 mm holes on a \u00d864 mm bolt circle."], "text": "Revolved body, \u00d845 mm \u00d7 32.7 mm tall with \u00d817.9 mm bore, \u00d8106.6 mm \u00d7 3.6 mm flange. Twelve \u00d88.4 mm holes on a \u00d864 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 45, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 32.7, "min": 9.8, "max": 81.8, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 17.9, "min": 2.0, "max": 31.5, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 106.6, "min": 58.5, "max": 135.0, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 3.6, "min": 1.1, "max": 13.1, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 8.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 32.0, "min": 21.3, "max": 48.0, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 12, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331362 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 45, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 32.7, \"min\": 9.8, \"max\": 81.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 17.9, \"min\": 2.0, \"max\": 31.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 106.6, \"min\": 58.5, \"max\": 135.0, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 3.6, \"min\": 1.1, \"max\": 13.1, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 32.0, \"min\": 21.3, \"max\": 48.0, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 12, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462ca6a4_2800", "family": "threaded", "tier": 1, "seed": 1177331364, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "7cbca82df2bb0921", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 2670.0, "surface_area": 2010.0, "principal_moments": [28100.0, 389000.0, 389000.0], "n_faces": 280, "n_edges": 718, "n_vertices": 440}, "dimensions": {"lines": ["M10x1.5 external thread, 41.2 mm long."], "text": "M10x1.5 external thread, 41.2 mm long."}, "params": {"major_d": {"type": "float", "default": 10.0, "min": 4.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Major diameter (mm)"}, "pitch": {"type": "float", "default": 1.5, "min": 0.75, "max": 3.0, "step": 0.05, "group": "Thread", "label": "Pitch (mm)"}, "thread_len": {"type": "float", "default": 41.2, "min": 16.5, "max": 82.4, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331364 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 10.0, \"min\": 4.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Major diameter (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.5, \"min\": 0.75, \"max\": 3.0, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Pitch (mm)'},\n    \"thread_len\": {\"type\": 'float', \"default\": 41.2, \"min\": 16.5, \"max\": 82.4, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.IsoThread(major_diameter=p[\"major_d\"], pitch=p[\"pitch\"], length=p[\"thread_len\"], external=True, end_finishes=(\"fade\", \"fade\"))\n    _r = _thr.min_radius if hasattr(_thr, 'min_radius') else _thr.root_radius\n    _shank = _bd.Cylinder(radius=_r, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = _shank + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462ca6a5_2801", "family": "tapped", "tier": 1, "seed": 1177331365, "symmetry": "none", "op_count": 1, "ir_hash": "504d2d2345c8c631", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 48300.0, "surface_area": 11100.0, "principal_moments": [11399999.999999998, 13699999.999999998, 22600000.0], "n_faces": 586, "n_edges": 1608, "n_vertices": 1024}, "dimensions": {"lines": ["Four M6x1 tapped holes in a plate."], "text": "Four M6x1 tapped holes in a plate."}, "params": {"major_d": {"type": "float", "default": 6.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 1.0, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 17.8, "min": 7.2, "max": 32.0, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "plate_w": {"type": "float", "default": 55.76, "min": 33.5, "max": 89.2, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 50.3, "min": 30.2, "max": 80.5, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331365 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.0, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 17.8, \"min\": 7.2, \"max\": 32.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"plate_w\": {\"type\": 'float', \"default\": 55.76, \"min\": 33.5, \"max\": 89.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 50.3, \"min\": 30.2, \"max\": 80.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n}\n\n\ndef build(p):\n\n    _W, _D, _H = p[\"plate_w\"], p[\"plate_d\"], p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Box(_W, _D, _H)\n    _sx, _sy = p[\"plate_w\"] * 0.6, p[\"plate_d\"] * 0.6\n    _locs = [(_xx, _yy) for _xx in (-_sx / 2, _sx / 2) for _yy in (-_sy / 2, _sy / 2)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462ca6a6_2802", "family": "sketched", "tier": 1, "seed": 1177331366, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "43a1e9df96f91219", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 35600.0, "surface_area": 6910.0, "principal_moments": [5430000.0, 7240000.0, 7730000.0], "n_faces": 7, "n_edges": 15, "n_vertices": 10}, "dimensions": {"lines": ["freeform sketched section (4 segments: 3 straight, 1 arc), ~43.353 \u00d7 53.542 mm, extruded 28.86 mm thick.", "One \u00d84.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "freeform sketched section (4 segments: 3 straight, 1 arc), ~43.353 \u00d7 53.542 mm, extruded 28.86 mm thick. One \u00d84.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"sk_w": {"type": "float", "default": 45, "min": 22.5, "max": 81.0, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 67.68, "min": 33.8, "max": 121.8, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "sk_t": {"type": "float", "default": 28.86, "min": 11.5, "max": 63.5, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "sk_hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 8.6, "step": 0.5, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331366 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 45, \"min\": 22.5, \"max\": 81.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 67.68, \"min\": 33.8, \"max\": 121.8, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"sk_t\": {\"type\": 'float', \"default\": 28.86, \"min\": 11.5, \"max\": 63.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"sk_hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 8.6, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.4747, p[\"sk_h\"] * -0.0512).lineTo(p[\"sk_w\"] * 0.0209, p[\"sk_h\"] * 0.4378).lineTo(p[\"sk_w\"] * -0.4887, p[\"sk_h\"] * -0.0508).lineTo(p[\"sk_w\"] * 0.0076, p[\"sk_h\"] * -0.3533).threePointArc((p[\"sk_w\"] * 0.302, p[\"sk_h\"] * -0.2529), (p[\"sk_w\"] * 0.4747, p[\"sk_h\"] * -0.0512)).close().extrude(p[\"sk_t\"]))\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"sk_hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca6a7_2803", "family": "revolved", "tier": 2, "seed": 1177331367, "symmetry": "radial", "op_count": 1, "ir_hash": "12b1dfe030e695df", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 64200.0, "surface_area": 13400.0, "principal_moments": [18700000.0, 24999999.999999996, 24999999.999999996], "n_faces": 6, "n_edges": 9, "n_vertices": 6}, "dimensions": {"lines": ["Revolved body, \u00d835.02 mm \u00d7 52.2 mm tall with \u00d812.2 mm bore, \u00d856.5 mm \u00d7 13 mm flange."], "text": "Revolved body, \u00d835.02 mm \u00d7 52.2 mm tall with \u00d812.2 mm bore, \u00d856.5 mm \u00d7 13 mm flange."}, "params": {"outer_d": {"type": "float", "default": 35.02, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 52.2, "min": 15.7, "max": 156.6, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 12.2, "min": 2.0, "max": 24.5, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 56.5, "min": 42.0, "max": 105.1, "step": 1.0, "group": "Body", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 13.0, "min": 3.9, "max": 26.1, "step": 0.5, "group": "Body", "label": "Flange height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331367 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 35.02, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 52.2, \"min\": 15.7, \"max\": 156.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 12.2, \"min\": 2.0, \"max\": 24.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 56.5, \"min\": 42.0, \"max\": 105.1, \"step\": 1.0, \"group\": 'Body', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 13.0, \"min\": 3.9, \"max\": 26.1, \"step\": 0.5, \"group\": 'Body', \"label\": 'Flange height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462ca6a8_2804", "family": "ribbed", "tier": 1, "seed": 1177331368, "symmetry": "none", "op_count": 2, "ir_hash": "7960292ccac64f60", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 11600.0, "surface_area": 11000.0, "principal_moments": [1980000.0, 3620000.0, 4550000.0], "n_faces": 38, "n_edges": 92, "n_vertices": 56}, "dimensions": {"lines": ["Rectangular body, 55.62 \u00d7 29.6 \u00d7 3 mm (W\u00d7D\u00d7H).", "Four ribs, 2 mm thick, 18.6 mm tall."], "text": "Rectangular body, 55.62 \u00d7 29.6 \u00d7 3 mm (W\u00d7D\u00d7H). Four ribs, 2 mm thick, 18.6 mm tall."}, "params": {"base_w": {"type": "float", "default": 55.62, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 29.6, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 3.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 4, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 18.6, "min": 7.4, "max": 37.2, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 2.0, "min": 1.0, "max": 5.0, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331368 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 55.62, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 29.6, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 4, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 18.6, \"min\": 7.4, \"max\": 37.2, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 2.0, \"min\": 1.0, \"max\": 5.0, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca6a9_2805", "family": "block", "tier": 2, "seed": 1177331369, "symmetry": "none", "op_count": 3, "ir_hash": "5f0f3d4b35c86fe8", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 74100.0, "surface_area": 16800.0, "principal_moments": [15399999.999999998, 35900000.0, 44200000.0], "n_faces": 12, "n_edges": 27, "n_vertices": 18}, "dimensions": {"lines": ["Rectangular body, 45.54 \u00d7 24.6 \u00d7 68.8 mm (W\u00d7D\u00d7H).", "Four \u00d85.3 mm holes at the corners, 31.878 \u00d7 17.22 mm spacing.", "Boss \u00d822.4 mm \u00d7 7.8 mm tall on top face."], "text": "Rectangular body, 45.54 \u00d7 24.6 \u00d7 68.8 mm (W\u00d7D\u00d7H). Four \u00d85.3 mm holes at the corners, 31.878 \u00d7 17.22 mm spacing. Boss \u00d822.4 mm \u00d7 7.8 mm tall on top face."}, "params": {"block_w": {"type": "float", "default": 45.54, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 24.6, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 68.8, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 5.5, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "boss_d": {"type": "float", "default": 22.4, "min": 11.2, "max": 44.8, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 7.8, "min": 3.1, "max": 19.5, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331369 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 45.54, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 24.6, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 68.8, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 5.5, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"boss_d\": {\"type\": 'float', \"default\": 22.4, \"min\": 11.2, \"max\": 44.8, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 7.8, \"min\": 3.1, \"max\": 19.5, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca6aa_2806", "family": "revolved", "tier": 2, "seed": 1177331370, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "b254895e5a106854", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 566000.0, "surface_area": 71700.0, "principal_moments": [345000000.0, 2620000000.0, 2620000000.0], "n_faces": 8, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Revolved body, \u00d863.75 mm \u00d7 226.5 mm tall with \u00d829 mm bore, 16.08 mm-wide groove 2.33 mm deep."], "text": "Revolved body, \u00d863.75 mm \u00d7 226.5 mm tall with \u00d829 mm bore, 16.08 mm-wide groove 2.33 mm deep."}, "params": {"outer_d": {"type": "float", "default": 63.75, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 226.5, "min": 68.0, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 29.0, "min": 2.0, "max": 44.6, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "groove_depth": {"type": "float", "default": 2.33, "min": 0.93, "max": 6.99, "step": 0.1, "group": "Body", "label": "Groove depth (mm)"}, "groove_w": {"type": "float", "default": 16.08, "min": 6.43, "max": 48.24, "step": 0.2, "group": "Body", "label": "Groove width (mm)"}, "groove_pos": {"type": "float", "default": 100.9, "min": 34.0, "max": 192.5, "step": 1.0, "group": "Body", "label": "Groove position (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331370 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 63.75, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 226.5, \"min\": 68.0, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 29.0, \"min\": 2.0, \"max\": 44.6, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"groove_depth\": {\"type\": 'float', \"default\": 2.33, \"min\": 0.93, \"max\": 6.99, \"step\": 0.1, \"group\": 'Body', \"label\": 'Groove depth (mm)'},\n    \"groove_w\": {\"type\": 'float', \"default\": 16.08, \"min\": 6.43, \"max\": 48.24, \"step\": 0.2, \"group\": 'Body', \"label\": 'Groove width (mm)'},\n    \"groove_pos\": {\"type\": 'float', \"default\": 100.9, \"min\": 34.0, \"max\": 192.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Groove position (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"groove_pos\"] - p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2 - p[\"groove_depth\"], p[\"groove_pos\"] - p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2 - p[\"groove_depth\"], p[\"groove_pos\"] + p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2, p[\"groove_pos\"] + p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca6ab_2807", "family": "compound", "tier": 2, "seed": 1177331371, "symmetry": "none", "op_count": 5, "ir_hash": "55235f18ead5f252", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 329000.0, "surface_area": 34400.0, "principal_moments": [247000000.0, 258000000.0, 369000000.0], "n_faces": 21, "n_edges": 49, "n_vertices": 31}, "dimensions": {"lines": ["Rectangular body, 80.05 \u00d7 82.9 \u00d7 49.9 mm (W\u00d7D\u00d7H).", "\u00d813.6 mm circular section attachment, 7.2 mm long, from front face with a \u00d85.4 mm bore.", "\u00d813.6 mm circular section attachment, 7.2 mm long, from right face with a \u00d85.4 mm bore.", "\u00d813.6 mm circular section attachment, 7.2 mm long, from left face with a \u00d85.4 mm bore.", "Four \u00d83.2 mm holes at the corners, 56.035 \u00d7 58.03 mm spacing."], "text": "Rectangular body, 80.05 \u00d7 82.9 \u00d7 49.9 mm (W\u00d7D\u00d7H). \u00d813.6 mm circular section attachment, 7.2 mm long, from front face with a \u00d85.4 mm bore. \u00d813.6 mm circular section attachment, 7.2 mm long, from right face with a \u00d85.4 mm bore. \u00d813.6 mm circular section attachment, 7.2 mm long, from left face with a \u00d85.4 mm bore. Four \u00d83.2 mm holes at the corners, 56.035 \u00d7 58.03 mm spacing."}, "params": {"block_w": {"type": "float", "default": 80.05, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body width (mm)"}, "block_d": {"type": "float", "default": 82.9, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body depth (mm)"}, "block_h": {"type": "float", "default": 49.9, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body height (mm)"}, "port_d": {"type": "float", "default": 13.6, "min": 5.4, "max": 22.5, "step": 1.0, "group": "Ports", "label": "Ports diameter (mm)"}, "port_len": {"type": "float", "default": 7.2, "min": 3.4, "max": 40.8, "step": 1.0, "group": "Ports", "label": "Port boss length (mm)"}, "port_bore": {"type": "float", "default": 5.4, "min": 2.0, "max": 9.8, "step": 0.5, "group": "Ports", "label": "Port bore diameter (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331371 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 80.05, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 82.9, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 49.9, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body height (mm)'},\n    \"port_d\": {\"type\": 'float', \"default\": 13.6, \"min\": 5.4, \"max\": 22.5, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Ports diameter (mm)'},\n    \"port_len\": {\"type\": 'float', \"default\": 7.2, \"min\": 3.4, \"max\": 40.8, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Port boss length (mm)'},\n    \"port_bore\": {\"type\": 'float', \"default\": 5.4, \"min\": 2.0, \"max\": 9.8, \"step\": 0.5, \"group\": 'Ports', \"label\": 'Port bore diameter (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca6ac_2808", "family": "plate", "tier": 0, "seed": 1177331372, "symmetry": "none", "op_count": 1, "ir_hash": "784055d1f1248e23", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 1100.0, "surface_area": 983.0, "principal_moments": [15600.0, 77400.0, 91400.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 28.89 \u00d7 12.7 \u00d7 3 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 28.89 \u00d7 12.7 \u00d7 3 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 28.89, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 12.7, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 3.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331372 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 28.89, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 12.7, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 3.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462ca6ad_2809", "family": "swept", "tier": 0, "seed": 1177331373, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "186eaba3d3c31e9c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 12600.0, "surface_area": 4470.0, "principal_moments": [352000.0, 7430000.0, 7550000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["14.8 \u00d7 10.5 mm rectangular section swept along a curved path, ~78.3 mm span."], "text": "14.8 \u00d7 10.5 mm rectangular section swept along a curved path, ~78.3 mm span."}, "params": {"path_w": {"type": "float", "default": 60, "min": 30.0, "max": 108.0, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 78.3, "min": 39.1, "max": 140.9, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_a": {"type": "float", "default": 14.8, "min": 7.4, "max": 26.6, "step": 1.0, "group": "Section", "label": "Section width (mm)"}, "sweep_b": {"type": "float", "default": 10.5, "min": 5.2, "max": 18.9, "step": 1.0, "group": "Section", "label": "Section depth (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331373 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 60, \"min\": 30.0, \"max\": 108.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 78.3, \"min\": 39.1, \"max\": 140.9, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_a\": {\"type\": 'float', \"default\": 14.8, \"min\": 7.4, \"max\": 26.6, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section width (mm)'},\n    \"sweep_b\": {\"type\": 'float', \"default\": 10.5, \"min\": 5.2, \"max\": 18.9, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section depth (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.2176), (p[\"path_w\"] * 0.0733, p[\"path_h\"] * 0.4078), (p[\"path_w\"] * 0.0967, p[\"path_h\"] * 0.4656), (p[\"path_w\"] * 0.4191, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').rect(p[\"sweep_a\"], p[\"sweep_b\"]).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca6ae_2810", "family": "plate", "tier": 0, "seed": 1177331374, "symmetry": "none", "op_count": 1, "ir_hash": "b828418eb31e8881", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 2170.0, "surface_area": 1070.0, "principal_moments": [36200.0, 104000.0, 104000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 21.74 \u00d7 10 \u00d7 10 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 21.74 \u00d7 10 \u00d7 10 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 21.74, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 10.0, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331374 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 21.74, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 10.0, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca6af_2811", "family": "plate", "tier": 3, "seed": 1177331375, "symmetry": "none", "op_count": 4, "ir_hash": "ee57d5844c8ef9fb", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 8530.0, "surface_area": 4600.0, "principal_moments": [569000.0, 2800000.0, 3320000.0], "n_faces": 22, "n_edges": 57, "n_vertices": 38}, "dimensions": {"lines": ["Rectangular body, 60 \u00d7 26.7 \u00d7 6 mm (W\u00d7D\u00d7H).", "Seven \u00d82.3 mm holes in two staggered rows, 15 \u00d7 12.1 mm pitch.", "Chamfer 1.5 mm on vertical edges.", "Pocket 24.2 \u00d7 15 mm, 2.5 mm deep, in top face."], "text": "Rectangular body, 60 \u00d7 26.7 \u00d7 6 mm (W\u00d7D\u00d7H). Seven \u00d82.3 mm holes in two staggered rows, 15 \u00d7 12.1 mm pitch. Chamfer 1.5 mm on vertical edges. Pocket 24.2 \u00d7 15 mm, 2.5 mm deep, in top face."}, "params": {"plate_w": {"type": "float", "default": 60, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 26.7, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 6.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 2.3, "min": 2.0, "max": 2.7, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 4, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}, "chamfer_d": {"type": "float", "default": 1.5, "min": 1.0, "max": 1.6, "step": 0.5, "group": "Body", "label": "Chamfer distance (mm)"}, "chamfered": {"type": "bool", "default": true, "group": "Body", "label": "Chamfer edges"}, "pocket_w": {"type": "float", "default": 24.2, "min": 12.1, "max": 48.0, "step": 1.0, "group": "Pocket", "label": "Pocket width (mm)"}, "pocket_d": {"type": "float", "default": 15.0, "min": 7.5, "max": 21.4, "step": 1.0, "group": "Pocket", "label": "Pocket depth (mm)"}, "pocket_h": {"type": "float", "default": 2.5, "min": 1.0, "max": 5.1, "step": 0.5, "group": "Pocket", "label": "Pocket height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331375 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 60, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 26.7, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 2.3, \"min\": 2.0, \"max\": 2.7, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 4, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n    \"chamfer_d\": {\"type\": 'float', \"default\": 1.5, \"min\": 1.0, \"max\": 1.6, \"step\": 0.5, \"group\": 'Body', \"label\": 'Chamfer distance (mm)'},\n    \"chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Chamfer edges'},\n    \"pocket_w\": {\"type\": 'float', \"default\": 24.2, \"min\": 12.1, \"max\": 48.0, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket width (mm)'},\n    \"pocket_d\": {\"type\": 'float', \"default\": 15.0, \"min\": 7.5, \"max\": 21.4, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket depth (mm)'},\n    \"pocket_h\": {\"type\": 'float', \"default\": 2.5, \"min\": 1.0, \"max\": 5.1, \"step\": 0.5, \"group\": 'Pocket', \"label\": 'Pocket height (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 15.0\n    _ssy = 12.1\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    if p[\"chamfered\"]:\n        result = result.edges('|Z').chamfer(p[\"chamfer_d\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"pocket_w\"], p[\"pocket_d\"])\n        .cutBlind(-p[\"pocket_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca6b0_2812", "family": "compound", "tier": 2, "seed": 1177331376, "symmetry": "none", "op_count": 3, "ir_hash": "affe87dafed4f3c3", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 35600.0, "surface_area": 10100.0, "principal_moments": [7880000.0, 9830000.0, 9830000.0], "n_faces": 17, "n_edges": 42, "n_vertices": 28}, "dimensions": {"lines": ["6-sided polygon section, 47.9 mm across corners, extruded 20.4 mm thick.", "\u00d822.5 mm circular section attachment, 31.8 mm long, from top face with a \u00d813.5 mm bore.", "Fillet radius 1.741 mm on vertical edges."], "text": "6-sided polygon section, 47.9 mm across corners, extruded 20.4 mm thick. \u00d822.5 mm circular section attachment, 31.8 mm long, from top face with a \u00d813.5 mm bore. Fillet radius 1.741 mm on vertical edges."}, "params": {"base_sides": {"type": "int", "default": 6, "min": 3, "max": 8, "step": 1, "group": "Base", "label": "Base sides"}, "base_r": {"type": "float", "default": 23.95, "min": 14.4, "max": 38.3, "step": 1.0, "group": "Base", "label": "Base circumradius (mm)"}, "base_h": {"type": "float", "default": 20.4, "min": 8.2, "max": 51.0, "step": 1.0, "group": "Base", "label": "Base height (mm)"}, "col_d": {"type": "float", "default": 22.5, "min": 11.2, "max": 33.2, "step": 1.0, "group": "Column", "label": "Column diameter (mm)"}, "col_h": {"type": "float", "default": 31.8, "min": 9.5, "max": 79.5, "step": 1.0, "group": "Column", "label": "Column height (mm)"}, "col_bore": {"type": "float", "default": 13.5, "min": 2.0, "max": 16.2, "step": 0.5, "group": "Column", "label": "Column bore diameter (mm)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331376 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_sides\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Base', \"label\": 'Base sides'},\n    \"base_r\": {\"type\": 'float', \"default\": 23.95, \"min\": 14.4, \"max\": 38.3, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base circumradius (mm)'},\n    \"base_h\": {\"type\": 'float', \"default\": 20.4, \"min\": 8.2, \"max\": 51.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base height (mm)'},\n    \"col_d\": {\"type\": 'float', \"default\": 22.5, \"min\": 11.2, \"max\": 33.2, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column diameter (mm)'},\n    \"col_h\": {\"type\": 'float', \"default\": 31.8, \"min\": 9.5, \"max\": 79.5, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column height (mm)'},\n    \"col_bore\": {\"type\": 'float', \"default\": 13.5, \"min\": 2.0, \"max\": 16.2, \"step\": 0.5, \"group\": 'Column', \"label\": 'Column bore diameter (mm)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').polygon(p[\"base_sides\"], p[\"base_r\"] * 2).extrude(p[\"base_h\"]))\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"col_d\"] / 2).extrude(p[\"col_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"col_bore\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"base_r\"], p[\"base_r\"]) * 0.07270412000680548)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462ca6b2_2814", "family": "swept", "tier": 2, "seed": 1177331378, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "8f2f3b6916ecbadc", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 14100.0, "surface_area": 4710.0, "principal_moments": [548000.0, 13299999.999999998, 13599999.999999998], "n_faces": 3, "n_edges": 3, "n_vertices": 2}, "dimensions": {"lines": ["\u00d812.7 mm circular section swept along a curved path, ~85 mm span."], "text": "\u00d812.7 mm circular section swept along a curved path, ~85 mm span."}, "params": {"path_w": {"type": "float", "default": 55, "min": 27.5, "max": 99.0, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 85, "min": 42.5, "max": 153.0, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_d": {"type": "float", "default": 12.7, "min": 6.3, "max": 22.9, "step": 1.0, "group": "Section", "label": "Section diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331378 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 55, \"min\": 27.5, \"max\": 99.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 85, \"min\": 42.5, \"max\": 153.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_d\": {\"type\": 'float', \"default\": 12.7, \"min\": 6.3, \"max\": 22.9, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.4363, p[\"path_h\"] * 0.5869), (p[\"path_w\"] * 0.7245, p[\"path_h\"] * 0.7168), (p[\"path_w\"] * 0.9776, p[\"path_h\"] * 0.7799), (p[\"path_w\"] * 1.0, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').circle(p[\"sweep_d\"] / 2).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462ca6b3_2815", "family": "swept", "tier": 1, "seed": 1177331379, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "e6b3d1dc8fda1307", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 4000.0, "surface_area": 2360.0, "principal_moments": [338000.0, 2270000.0, 2580000.0], "n_faces": 3, "n_edges": 3, "n_vertices": 2}, "dimensions": {"lines": ["\u00d87 mm circular section swept along a curved path, ~70.44 mm span."], "text": "\u00d87 mm circular section swept along a curved path, ~70.44 mm span."}, "params": {"path_w": {"type": "float", "default": 70.44, "min": 35.2, "max": 126.8, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 70, "min": 35.0, "max": 126.0, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_d": {"type": "float", "default": 7.0, "min": 3.5, "max": 12.6, "step": 1.0, "group": "Section", "label": "Section diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331379 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 70.44, \"min\": 35.2, \"max\": 126.8, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 70, \"min\": 35.0, \"max\": 126.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_d\": {\"type\": 'float', \"default\": 7.0, \"min\": 3.5, \"max\": 12.6, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.1591, p[\"path_h\"] * 0.2448), (p[\"path_w\"] * 0.2797, p[\"path_h\"] * 0.2715), (p[\"path_w\"] * 0.5728, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').circle(p[\"sweep_d\"] / 2).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462ca6b4_2816", "family": "threaded", "tier": 1, "seed": 1177331380, "symmetry": "none", "op_count": 1, "ir_hash": "6ca22346e8206b1b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 2230.0, "surface_area": 2120.0, "principal_moments": [40600.0, 216000.0, 216000.0], "n_faces": 263, "n_edges": 717, "n_vertices": 456}, "dimensions": {"lines": ["M6x1 internal thread, 32.5 mm long."], "text": "M6x1 internal thread, 32.5 mm long."}, "params": {"major_d": {"type": "float", "default": 6.0, "min": 4.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Major diameter (mm)"}, "pitch": {"type": "float", "default": 1.0, "min": 0.5, "max": 2.0, "step": 0.05, "group": "Thread", "label": "Pitch (mm)"}, "thread_len": {"type": "float", "default": 32.5, "min": 13.0, "max": 65.0, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331380 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 6.0, \"min\": 4.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Major diameter (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.0, \"min\": 0.5, \"max\": 2.0, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Pitch (mm)'},\n    \"thread_len\": {\"type\": 'float', \"default\": 32.5, \"min\": 13.0, \"max\": 65.0, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.IsoThread(major_diameter=p[\"major_d\"], pitch=p[\"pitch\"], length=p[\"thread_len\"], external=False, end_finishes=(\"fade\", \"fade\"))\n    _body = _bd.Cylinder(radius=(p[\"major_d\"]) * 0.9, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _bore = _bd.Cylinder(radius=(p[\"major_d\"]) / 2, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = (_body - _bore) + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca6b5_2817", "family": "plate", "tier": 2, "seed": 1177331381, "symmetry": "mirror_xy", "op_count": 3, "ir_hash": "b67f24bbf33555fa", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 44300.0, "surface_area": 12200.0, "principal_moments": [11699999.999999998, 24299999.999999996, 35300000.0], "n_faces": 14, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 81.15 \u00d7 55.8 \u00d7 10 mm (W\u00d7D\u00d7H).", "Four \u00d85.3 mm holes at the corners, 56.805 \u00d7 39.06 mm spacing.", "Fillet radius 3.794 mm on vertical edges."], "text": "Rectangular body, 81.15 \u00d7 55.8 \u00d7 10 mm (W\u00d7D\u00d7H). Four \u00d85.3 mm holes at the corners, 56.805 \u00d7 39.06 mm spacing. Fillet radius 3.794 mm on vertical edges."}, "params": {"plate_w": {"type": "float", "default": 81.15, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 55.8, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 12.6, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331381 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 81.15, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 55.8, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 12.6, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"plate_w\"], p[\"plate_d\"]) * 0.06799715074915774)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca6b6_2818", "family": "plate", "tier": 1, "seed": 1177331382, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "799490978e06fb29", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 1190.0, "surface_area": 1500.0, "principal_moments": [53300.0, 71800.0, 124000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 27.52 \u00d7 23.7 \u00d7 2 mm (W\u00d7D\u00d7H).", "Four \u00d84.3 mm holes at the corners, 19.264 \u00d7 16.59 mm spacing."], "text": "Rectangular body, 27.52 \u00d7 23.7 \u00d7 2 mm (W\u00d7D\u00d7H). Four \u00d84.3 mm holes at the corners, 19.264 \u00d7 16.59 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 27.52, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 23.7, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 2.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 5.3, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331382 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 27.52, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 23.7, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 2.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 5.3, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462ca6b8_2820", "family": "lofted", "tier": 1, "seed": 1177331384, "symmetry": "none", "op_count": 2, "ir_hash": "3bbfed9afa6d91df", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 52800.0, "surface_area": 11300.0, "principal_moments": [15599999.999999998, 15599999.999999998, 16399999.999999998], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["Lofted body through 2 sections: 6-sided polygon section, 53.92 mm across corners \u2192 36 \u00d7 36 mm rectangular section.", "One \u00d819.9 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 2 sections: 6-sided polygon section, 53.92 mm across corners \u2192 36 \u00d7 36 mm rectangular section. One \u00d819.9 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 53.92, "min": 27.0, "max": 86.3, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 36.0, "min": 14.4, "max": 64.7, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 41.3, "min": 16.5, "max": 82.6, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_bore_d": {"type": "float", "default": 19.9, "min": 2.0, "max": 28.8, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331384 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 53.92, \"min\": 27.0, \"max\": 86.3, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 36.0, \"min\": 14.4, \"max\": 64.7, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 41.3, \"min\": 16.5, \"max\": 82.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 19.9, \"min\": 2.0, \"max\": 28.8, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .polygon(6, p[\"loft_base\"] * 0.5 * 2)\n        .workplane(offset=p[\"loft_h\"])\n        .rect(p[\"loft_top\"], p[\"loft_top\"])\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462ca6b9_2821", "family": "gear", "tier": 1, "seed": 1177331385, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "d18b23c325acf0f8", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 1440000.0, "surface_area": 141000.0, "principal_moments": [5420000000.0, 5420000000.0, 10600000000.0], "n_faces": 163, "n_edges": 483, "n_vertices": 322}, "dimensions": {"lines": ["Spur gear, module 6 mm, 40 teeth (pitch \u00d8240 mm), face width 32.7 mm, \u00d835.7 mm bore."], "text": "Spur gear, module 6 mm, 40 teeth (pitch \u00d8240 mm), face width 32.7 mm, \u00d835.7 mm bore."}, "params": {"module": {"type": "float", "default": 6.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 40, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 32.7, "min": 13.1, "max": 81.8, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "bore_d": {"type": "float", "default": 35.7, "min": 2.0, "max": 135.0, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331385 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 6.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 40, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 32.7, \"min\": 13.1, \"max\": 81.8, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 35.7, \"min\": 2.0, \"max\": 135.0, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca6ba_2822", "family": "compound", "tier": 2, "seed": 1177331386, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "eb5af3b1493cf59f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 6270.0, "surface_area": 2250.0, "principal_moments": [176000.0, 902000.0, 902000.0], "n_faces": 12, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["\u00d816.27 mm circular section, extruded 23.5 mm thick.", "\u00d89.2 mm circular section attachment, 18.5 mm long, from top face.", "6-sided polygon section, 7.2 mm across corners attachment, 4.6 mm long, from top face."], "text": "\u00d816.27 mm circular section, extruded 23.5 mm thick. \u00d89.2 mm circular section attachment, 18.5 mm long, from top face. 6-sided polygon section, 7.2 mm across corners attachment, 4.6 mm long, from top face."}, "params": {"shaft_d": {"type": "float", "default": 16.27, "min": 8.1, "max": 29.3, "step": 1.0, "group": "Body", "label": "Shaft diameter (mm)"}, "shaft_len": {"type": "float", "default": 23.5, "min": 9.4, "max": 47.0, "step": 1.0, "group": "Body", "label": "Shaft length (mm)"}, "step_d": {"type": "float", "default": 9.2, "min": 4.6, "max": 14.6, "step": 1.0, "group": "Step", "label": "Step diameter (mm)"}, "step_len": {"type": "float", "default": 18.5, "min": 5.5, "max": 46.2, "step": 1.0, "group": "Step", "label": "Step length (mm)"}, "head_sides": {"type": "int", "default": 6, "min": 3, "max": 8, "step": 1, "group": "Head", "label": "Drive head sides"}, "head_r": {"type": "float", "default": 3.6, "min": 2.2, "max": 4.4, "step": 1.0, "group": "Head", "label": "Drive head circumradius (mm)"}, "head_len": {"type": "float", "default": 4.6, "min": 1.4, "max": 9.2, "step": 1.0, "group": "Head", "label": "Drive head length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331386 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"shaft_d\": {\"type\": 'float', \"default\": 16.27, \"min\": 8.1, \"max\": 29.3, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft diameter (mm)'},\n    \"shaft_len\": {\"type\": 'float', \"default\": 23.5, \"min\": 9.4, \"max\": 47.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft length (mm)'},\n    \"step_d\": {\"type\": 'float', \"default\": 9.2, \"min\": 4.6, \"max\": 14.6, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step diameter (mm)'},\n    \"step_len\": {\"type\": 'float', \"default\": 18.5, \"min\": 5.5, \"max\": 46.2, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step length (mm)'},\n    \"head_sides\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Head', \"label\": 'Drive head sides'},\n    \"head_r\": {\"type\": 'float', \"default\": 3.6, \"min\": 2.2, \"max\": 4.4, \"step\": 1.0, \"group\": 'Head', \"label\": 'Drive head circumradius (mm)'},\n    \"head_len\": {\"type\": 'float', \"default\": 4.6, \"min\": 1.4, \"max\": 9.2, \"step\": 1.0, \"group\": 'Head', \"label\": 'Drive head length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').circle(p[\"shaft_d\"] / 2).extrude(p[\"shaft_len\"]))\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"step_d\"] / 2).extrude(p[\"step_len\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"head_sides\"], p[\"head_r\"] * 2).extrude(p[\"head_len\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca6bb_2823", "family": "compound", "tier": 3, "seed": 1177331387, "symmetry": "mirror_x", "op_count": 7, "ir_hash": "9478c869425da211", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 102000.0, "surface_area": 16300.0, "principal_moments": [32099999.999999996, 41400000.0, 42700000.0], "n_faces": 56, "n_edges": 150, "n_vertices": 98}, "dimensions": {"lines": ["Rectangular body, 55 \u00d7 44 \u00d7 42.6 mm (W\u00d7D\u00d7H).", "8-sided polygon section, 8.8 mm across corners attachment, 8.8 mm long, from left face with a \u00d84 mm bore.", "8-sided polygon section, 8.8 mm across corners attachment, 8.8 mm long, from front face with a \u00d84 mm bore.", "8-sided polygon section, 8.8 mm across corners attachment, 8.8 mm long, from back face with a \u00d84 mm bore.", "8-sided polygon section, 8.8 mm across corners attachment, 8.8 mm long, from right face with a \u00d84 mm bore.", "Four \u00d83.2 mm holes at the corners, 38.5 \u00d7 30.8 mm spacing.", "Fillet radius 3.672 mm on vertical edges."], "text": "Rectangular body, 55 \u00d7 44 \u00d7 42.6 mm (W\u00d7D\u00d7H). 8-sided polygon section, 8.8 mm across corners attachment, 8.8 mm long, from left face with a \u00d84 mm bore. 8-sided polygon section, 8.8 mm across corners attachment, 8.8 mm long, from front face with a \u00d84 mm bore. 8-sided polygon section, 8.8 mm across corners attachment, 8.8 mm long, from back face with a \u00d84 mm bore. 8-sided polygon section, 8.8 mm across corners attachment, 8.8 mm long, from right face with a \u00d84 mm bore. Four \u00d83.2 mm holes at the corners, 38.5 \u00d7 30.8 mm spacing. Fillet radius 3.672 mm on vertical edges."}, "params": {"block_w": {"type": "float", "default": 55, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body width (mm)"}, "block_d": {"type": "float", "default": 44.0, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body depth (mm)"}, "block_h": {"type": "float", "default": 42.6, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body height (mm)"}, "port_sides": {"type": "int", "default": 8, "min": 3, "max": 8, "step": 1, "group": "Ports", "label": "Ports sides"}, "port_r": {"type": "float", "default": 4.4, "min": 2.2, "max": 9.6, "step": 1.0, "group": "Ports", "label": "Ports circumradius (mm)"}, "port_len": {"type": "float", "default": 8.8, "min": 2.0, "max": 24.4, "step": 1.0, "group": "Ports", "label": "Port boss length (mm)"}, "port_bore": {"type": "float", "default": 4.0, "min": 2.0, "max": 5.9, "step": 0.5, "group": "Ports", "label": "Port bore diameter (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 9.9, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331387 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 55, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 44.0, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 42.6, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body height (mm)'},\n    \"port_sides\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Ports', \"label\": 'Ports sides'},\n    \"port_r\": {\"type\": 'float', \"default\": 4.4, \"min\": 2.2, \"max\": 9.6, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Ports circumradius (mm)'},\n    \"port_len\": {\"type\": 'float', \"default\": 8.8, \"min\": 2.0, \"max\": 24.4, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Port boss length (mm)'},\n    \"port_bore\": {\"type\": 'float', \"default\": 4.0, \"min\": 2.0, \"max\": 5.9, \"step\": 0.5, \"group\": 'Ports', \"label\": 'Port bore diameter (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 9.9, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"port_sides\"], p[\"port_r\"] * 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"port_sides\"], p[\"port_r\"] * 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"port_sides\"], p[\"port_r\"] * 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"port_sides\"], p[\"port_r\"] * 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"block_w\"], p[\"block_d\"]) * 0.08346489278651067)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462ca6bc_2824", "family": "ribbed", "tier": 1, "seed": 1177331388, "symmetry": "none", "op_count": 2, "ir_hash": "f0a8df03935da1b6", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 60500.0, "surface_area": 24200.0, "principal_moments": [23799999.999999996, 41200000.0, 62399999.99999999], "n_faces": 54, "n_edges": 132, "n_vertices": 80}, "dimensions": {"lines": ["Rectangular body, 90 \u00d7 65.1 \u00d7 8 mm (W\u00d7D\u00d7H).", "Six ribs, 2.9 mm thick, 10.9 mm tall."], "text": "Rectangular body, 90 \u00d7 65.1 \u00d7 8 mm (W\u00d7D\u00d7H). Six ribs, 2.9 mm thick, 10.9 mm tall."}, "params": {"base_w": {"type": "float", "default": 90, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 65.1, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 8.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 6, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 10.9, "min": 4.4, "max": 21.8, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 2.9, "min": 1.0, "max": 7.2, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331388 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 90, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 65.1, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 6, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 10.9, \"min\": 4.4, \"max\": 21.8, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 2.9, \"min\": 1.0, \"max\": 7.2, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca6bd_2825", "family": "compound", "tier": 2, "seed": 1177331389, "symmetry": "none", "op_count": 3, "ir_hash": "d7353a63eff4cf0f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 60800.0, "surface_area": 11500.0, "principal_moments": [15999999.999999998, 17000000.0, 17200000.0], "n_faces": 9, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["Rectangular body, 36.17 \u00d7 42.4 \u00d7 39.5 mm (W\u00d7D\u00d7H).", "\u00d811.9 mm circular section attachment, 25 mm long, from right face with a \u00d87.3 mm bore.", "Four \u00d86.4 mm holes at the corners, 25.319 \u00d7 29.68 mm spacing."], "text": "Rectangular body, 36.17 \u00d7 42.4 \u00d7 39.5 mm (W\u00d7D\u00d7H). \u00d811.9 mm circular section attachment, 25 mm long, from right face with a \u00d87.3 mm bore. Four \u00d86.4 mm holes at the corners, 25.319 \u00d7 29.68 mm spacing."}, "params": {"block_w": {"type": "float", "default": 36.17, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 42.4, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 39.5, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "spig_d": {"type": "float", "default": 11.9, "min": 4.8, "max": 27.6, "step": 1.0, "group": "Spigot", "label": "Spigot diameter (mm)"}, "spig_len": {"type": "float", "default": 25.0, "min": 3.6, "max": 47.6, "step": 1.0, "group": "Spigot", "label": "Spigot length (mm)"}, "spig_bore": {"type": "float", "default": 7.3, "min": 2.0, "max": 8.6, "step": 0.5, "group": "Spigot", "label": "Bore diameter (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 8.1, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331389 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 36.17, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 42.4, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 39.5, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"spig_d\": {\"type\": 'float', \"default\": 11.9, \"min\": 4.8, \"max\": 27.6, \"step\": 1.0, \"group\": 'Spigot', \"label\": 'Spigot diameter (mm)'},\n    \"spig_len\": {\"type\": 'float', \"default\": 25.0, \"min\": 3.6, \"max\": 47.6, \"step\": 1.0, \"group\": 'Spigot', \"label\": 'Spigot length (mm)'},\n    \"spig_bore\": {\"type\": 'float', \"default\": 7.3, \"min\": 2.0, \"max\": 8.6, \"step\": 0.5, \"group\": 'Spigot', \"label\": 'Bore diameter (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 8.1, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"spig_d\"] / 2).extrude(p[\"spig_len\"])\n    )\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"spig_bore\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462ca6be_2826", "family": "ribbed", "tier": 1, "seed": 1177331390, "symmetry": "none", "op_count": 2, "ir_hash": "b49d67b7a0a4b991", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 76500.0, "surface_area": 22900.0, "principal_moments": [34400000.0, 53399999.99999999, 81000000.0], "n_faces": 21, "n_edges": 48, "n_vertices": 32}, "dimensions": {"lines": ["Rectangular body, 85.98 \u00d7 70 \u00d7 10 mm (W\u00d7D\u00d7H).", "Three ribs, 4.5 mm thick, 17.6 mm tall."], "text": "Rectangular body, 85.98 \u00d7 70 \u00d7 10 mm (W\u00d7D\u00d7H). Three ribs, 4.5 mm thick, 17.6 mm tall."}, "params": {"base_w": {"type": "float", "default": 85.98, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 70.0, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 10.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 3, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 17.6, "min": 7.0, "max": 35.2, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 4.5, "min": 1.0, "max": 11.2, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331390 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 85.98, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 70.0, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 3, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 17.6, \"min\": 7.0, \"max\": 35.2, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 4.5, \"min\": 1.0, \"max\": 11.2, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca6bf_2827", "family": "compound", "tier": 1, "seed": 1177331391, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "14a3d63bbea6251f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 6830.0, "surface_area": 3160.0, "principal_moments": [547000.0, 547000.0, 571000.0], "n_faces": 11, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["6-sided polygon section, 30 mm across corners, extruded 9.7 mm thick.", "\u00d813.1 mm circular section attachment, 15.6 mm long, from top face with a \u00d86.9 mm bore."], "text": "6-sided polygon section, 30 mm across corners, extruded 9.7 mm thick. \u00d813.1 mm circular section attachment, 15.6 mm long, from top face with a \u00d86.9 mm bore."}, "params": {"base_sides": {"type": "int", "default": 6, "min": 3, "max": 8, "step": 1, "group": "Base", "label": "Base sides"}, "base_r": {"type": "float", "default": 15, "min": 9.0, "max": 24.0, "step": 1.0, "group": "Base", "label": "Base circumradius (mm)"}, "base_h": {"type": "float", "default": 9.7, "min": 3.9, "max": 24.2, "step": 1.0, "group": "Base", "label": "Base height (mm)"}, "col_d": {"type": "float", "default": 13.1, "min": 6.5, "max": 20.8, "step": 1.0, "group": "Column", "label": "Column diameter (mm)"}, "col_h": {"type": "float", "default": 15.6, "min": 4.7, "max": 39.0, "step": 1.0, "group": "Column", "label": "Column height (mm)"}, "col_bore": {"type": "float", "default": 6.9, "min": 2.0, "max": 9.4, "step": 0.5, "group": "Column", "label": "Column bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331391 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_sides\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Base', \"label\": 'Base sides'},\n    \"base_r\": {\"type\": 'float', \"default\": 15, \"min\": 9.0, \"max\": 24.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base circumradius (mm)'},\n    \"base_h\": {\"type\": 'float', \"default\": 9.7, \"min\": 3.9, \"max\": 24.2, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base height (mm)'},\n    \"col_d\": {\"type\": 'float', \"default\": 13.1, \"min\": 6.5, \"max\": 20.8, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column diameter (mm)'},\n    \"col_h\": {\"type\": 'float', \"default\": 15.6, \"min\": 4.7, \"max\": 39.0, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column height (mm)'},\n    \"col_bore\": {\"type\": 'float', \"default\": 6.9, \"min\": 2.0, \"max\": 9.4, \"step\": 0.5, \"group\": 'Column', \"label\": 'Column bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').polygon(p[\"base_sides\"], p[\"base_r\"] * 2).extrude(p[\"base_h\"]))\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"col_d\"] / 2).extrude(p[\"col_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"col_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462ca6c0_2828", "family": "threaded", "tier": 2, "seed": 1177331392, "symmetry": "none", "op_count": 1, "ir_hash": "bee23a051059fbeb", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 9220.0, "surface_area": 5370.0, "principal_moments": [469000.0, 2060000.0, 2060000.0], "n_faces": 263, "n_edges": 965, "n_vertices": 704}, "dimensions": {"lines": ["M10x1.5 internal thread, 48.8 mm long."], "text": "M10x1.5 internal thread, 48.8 mm long."}, "params": {"major_d": {"type": "float", "default": 10.0, "min": 4.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Major diameter (mm)"}, "pitch": {"type": "float", "default": 1.5, "min": 0.75, "max": 3.0, "step": 0.05, "group": "Thread", "label": "Pitch (mm)"}, "thread_len": {"type": "float", "default": 48.8, "min": 19.5, "max": 97.6, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331392 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 10.0, \"min\": 4.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Major diameter (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.5, \"min\": 0.75, \"max\": 3.0, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Pitch (mm)'},\n    \"thread_len\": {\"type\": 'float', \"default\": 48.8, \"min\": 19.5, \"max\": 97.6, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.IsoThread(major_diameter=p[\"major_d\"], pitch=p[\"pitch\"], length=p[\"thread_len\"], external=False, end_finishes=(\"fade\", \"fade\"))\n    _body = _bd.Cylinder(radius=(p[\"major_d\"]) * 0.9, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _bore = _bd.Cylinder(radius=(p[\"major_d\"]) / 2, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = (_body - _bore) + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca6c1_2829", "family": "plate", "tier": 0, "seed": 1177331393, "symmetry": "none", "op_count": 1, "ir_hash": "7aa947a13e481a8b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 46100.0, "surface_area": 14100.0, "principal_moments": [10800000.0, 46699999.99999999, 56999999.99999999], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 110 \u00d7 52.4 \u00d7 8 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 110 \u00d7 52.4 \u00d7 8 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 110, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 52.4, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331393 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 110, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 52.4, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462ca6c2_2830", "family": "flanged", "tier": 1, "seed": 1177331394, "symmetry": "none", "op_count": 2, "ir_hash": "6784142985e71b38", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 108000.0, "surface_area": 24200.0, "principal_moments": [55899999.99999999, 55899999.99999999, 90600000.0], "n_faces": 29, "n_edges": 114, "n_vertices": 76}, "dimensions": {"lines": ["Revolved body, \u00d856.16 mm \u00d7 33.2 mm tall with \u00d820 mm bore, \u00d896.4 mm \u00d7 8.1 mm flange.", "Twelve \u00d84.3 mm holes on a \u00d857.8 mm bolt circle."], "text": "Revolved body, \u00d856.16 mm \u00d7 33.2 mm tall with \u00d820 mm bore, \u00d896.4 mm \u00d7 8.1 mm flange. Twelve \u00d84.3 mm holes on a \u00d857.8 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 56.16, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 33.2, "min": 10.0, "max": 83.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 20.0, "min": 2.0, "max": 39.3, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 96.4, "min": 73.0, "max": 168.5, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 8.1, "min": 2.4, "max": 13.3, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 28.9, "min": 19.3, "max": 43.4, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 12, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331394 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 56.16, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 33.2, \"min\": 10.0, \"max\": 83.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 20.0, \"min\": 2.0, \"max\": 39.3, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 96.4, \"min\": 73.0, \"max\": 168.5, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 8.1, \"min\": 2.4, \"max\": 13.3, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 28.9, \"min\": 19.3, \"max\": 43.4, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 12, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca6c3_2831", "family": "plate", "tier": 1, "seed": 1177331395, "symmetry": "radial", "op_count": 2, "ir_hash": "ebb87d4140be7d70", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 40800.0, "surface_area": 13500.0, "principal_moments": [17000000.0, 20200000.0, 36800000.0], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Rectangular body, 75.91 \u00d7 69.8 \u00d7 8 mm (W\u00d7D\u00d7H).", "Six \u00d86.4 mm holes on a \u00d845.6 mm bolt circle."], "text": "Rectangular body, 75.91 \u00d7 69.8 \u00d7 8 mm (W\u00d7D\u00d7H). Six \u00d86.4 mm holes on a \u00d845.6 mm bolt circle."}, "params": {"plate_w": {"type": "float", "default": 75.91, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 69.8, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "bolt_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 22.8, "min": 15.2, "max": 34.2, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 6, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331395 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 75.91, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 69.8, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 22.8, \"min\": 15.2, \"max\": 34.2, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462ca6c4_2832", "family": "swept", "tier": 2, "seed": 1177331396, "symmetry": "none", "op_count": 1, "ir_hash": "8d43502b6bbae56a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 2240.0, "surface_area": 1800.0, "principal_moments": [45600.0, 417000.0, 425000.0], "n_faces": 3, "n_edges": 3, "n_vertices": 2}, "dimensions": {"lines": ["\u00d813.8 mm circular section swept along a curved path, ~55 mm span."], "text": "\u00d813.8 mm circular section swept along a curved path, ~55 mm span."}, "params": {"path_w": {"type": "float", "default": 55, "min": 27.5, "max": 99.0, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 41.07, "min": 20.5, "max": 73.9, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_d": {"type": "float", "default": 13.8, "min": 6.9, "max": 24.8, "step": 1.0, "group": "Section", "label": "Section diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331396 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 55, \"min\": 27.5, \"max\": 99.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 41.07, \"min\": 20.5, \"max\": 73.9, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_d\": {\"type\": 'float', \"default\": 13.8, \"min\": 6.9, \"max\": 24.8, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.2519, p[\"path_h\"] * 0.3002), (p[\"path_w\"] * 0.3039, p[\"path_h\"] * 0.6008), (p[\"path_w\"] * 0.2816, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').circle(p[\"sweep_d\"] / 2).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca6c5_2833", "family": "bracket", "tier": 1, "seed": 1177331397, "symmetry": "none", "op_count": 1, "ir_hash": "00bd7793699e032f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 49400.0, "surface_area": 19100.0, "principal_moments": [24199999.999999996, 58399999.99999999, 59199999.99999999], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["L-bracket: base leg 75 mm, vertical leg 81.1 mm, 55 mm wide, 6 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."], "text": "L-bracket: base leg 75 mm, vertical leg 81.1 mm, 55 mm wide, 6 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 75, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 81.1, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 55, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 6.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331397 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 75, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 81.1, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 55, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca6c7_2835", "family": "plate", "tier": 1, "seed": 1177331399, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "947f523d9afc1a1a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 49800.0, "surface_area": 13500.0, "principal_moments": [11999999.999999998, 37600000.0, 48799999.99999999], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 95 \u00d7 53 \u00d7 10 mm (W\u00d7D\u00d7H).", "Four \u00d84.3 mm holes at the corners, 66.5 \u00d7 37.1 mm spacing."], "text": "Rectangular body, 95 \u00d7 53 \u00d7 10 mm (W\u00d7D\u00d7H). Four \u00d84.3 mm holes at the corners, 66.5 \u00d7 37.1 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 95, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 53.0, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 11.9, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331399 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 95, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 53.0, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 11.9, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca6c8_2836", "family": "compound", "tier": 1, "seed": 1177331400, "symmetry": "none", "op_count": 2, "ir_hash": "3ca60babbbffeea3", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 139000.0, "surface_area": 16300.0, "principal_moments": [53599999.99999999, 76000000.0, 76000000.0], "n_faces": 9, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["Lofted body through 2 sections: \u00d869.75 mm circular section \u2192 26.3 \u00d7 26.3 mm rectangular section.", "\u00d816 mm circular section attachment, 14.4 mm long, from top face."], "text": "Lofted body through 2 sections: \u00d869.75 mm circular section \u2192 26.3 \u00d7 26.3 mm rectangular section. \u00d816 mm circular section attachment, 14.4 mm long, from top face."}, "params": {"adapter_base": {"type": "float", "default": 69.75, "min": 41.9, "max": 104.6, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "adapter_top": {"type": "float", "default": 26.3, "min": 13.2, "max": 69.8, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "adapter_h": {"type": "float", "default": 66.4, "min": 26.6, "max": 132.8, "step": 1.0, "group": "Body", "label": "Transition height (mm)"}, "neck_d": {"type": "float", "default": 16.0, "min": 6.4, "max": 26.3, "step": 1.0, "group": "Neck", "label": "Neck diameter (mm)"}, "neck_l": {"type": "float", "default": 14.4, "min": 5.8, "max": 36.0, "step": 1.0, "group": "Neck", "label": "Neck length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331400 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"adapter_base\": {\"type\": 'float', \"default\": 69.75, \"min\": 41.9, \"max\": 104.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"adapter_top\": {\"type\": 'float', \"default\": 26.3, \"min\": 13.2, \"max\": 69.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"adapter_h\": {\"type\": 'float', \"default\": 66.4, \"min\": 26.6, \"max\": 132.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Transition height (mm)'},\n    \"neck_d\": {\"type\": 'float', \"default\": 16.0, \"min\": 6.4, \"max\": 26.3, \"step\": 1.0, \"group\": 'Neck', \"label\": 'Neck diameter (mm)'},\n    \"neck_l\": {\"type\": 'float', \"default\": 14.4, \"min\": 5.8, \"max\": 36.0, \"step\": 1.0, \"group\": 'Neck', \"label\": 'Neck length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .circle(p[\"adapter_base\"] / 2)\n        .workplane(offset=p[\"adapter_h\"])\n        .rect(p[\"adapter_top\"], p[\"adapter_top\"])\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"neck_d\"] / 2).extrude(p[\"neck_l\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca6c9_2837", "family": "revolved", "tier": 1, "seed": 1177331401, "symmetry": "none", "op_count": 1, "ir_hash": "47eb354d9615dada", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 191000.0, "surface_area": 33400.0, "principal_moments": [101000000.0, 194000000.0, 194000000.0], "n_faces": 5, "n_edges": 7, "n_vertices": 5}, "dimensions": {"lines": ["Revolved body, \u00d839.9 mm \u00d7 122.7 mm tall with \u00d872.7 mm \u00d7 30.7 mm flange."], "text": "Revolved body, \u00d839.9 mm \u00d7 122.7 mm tall with \u00d872.7 mm \u00d7 30.7 mm flange."}, "params": {"outer_d": {"type": "float", "default": 39.9, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 122.7, "min": 36.8, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "flange_d": {"type": "float", "default": 72.7, "min": 47.9, "max": 119.7, "step": 1.0, "group": "Body", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 30.7, "min": 9.2, "max": 61.4, "step": 0.5, "group": "Body", "label": "Flange height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331401 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 39.9, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 122.7, \"min\": 36.8, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 72.7, \"min\": 47.9, \"max\": 119.7, \"step\": 1.0, \"group\": 'Body', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 30.7, \"min\": 9.2, \"max\": 61.4, \"step\": 0.5, \"group\": 'Body', \"label\": 'Flange height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462ca6ca_2838", "family": "sketched", "tier": 0, "seed": 1177331402, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "00da80434b04ea63", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 22100.0, "surface_area": 5470.0, "principal_moments": [1500000.0, 7320000.0, 8090000.0], "n_faces": 7, "n_edges": 15, "n_vertices": 10}, "dimensions": {"lines": ["freeform sketched section (5 segments: 3 straight, 1 arc, 1 curve), ~32.022 \u00d7 61.386 mm, extruded 14.11 mm thick."], "text": "freeform sketched section (5 segments: 3 straight, 1 arc, 1 curve), ~32.022 \u00d7 61.386 mm, extruded 14.11 mm thick."}, "params": {"sk_w": {"type": "float", "default": 45, "min": 22.5, "max": 81.0, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 83.53, "min": 41.8, "max": 150.4, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "sk_t": {"type": "float", "default": 14.11, "min": 5.6, "max": 31.0, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331402 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 45, \"min\": 22.5, \"max\": 81.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 83.53, \"min\": 41.8, \"max\": 150.4, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"sk_t\": {\"type\": 'float', \"default\": 14.11, \"min\": 5.6, \"max\": 31.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.3963, p[\"sk_h\"] * 0.1814).spline([(p[\"sk_w\"] * 0.3963, p[\"sk_h\"] * 0.1814), (p[\"sk_w\"] * 0.3344, p[\"sk_h\"] * 0.2899), (p[\"sk_w\"] * 0.2405, p[\"sk_h\"] * 0.3725)]).lineTo(p[\"sk_w\"] * -0.2406, p[\"sk_h\"] * 0.2617).lineTo(p[\"sk_w\"] * -0.3153, p[\"sk_h\"] * -0.3519).threePointArc((p[\"sk_w\"] * -0.1005, p[\"sk_h\"] * -0.4357), (p[\"sk_w\"] * 0.1659, p[\"sk_h\"] * -0.3624)).lineTo(p[\"sk_w\"] * 0.3963, p[\"sk_h\"] * 0.1814).close().extrude(p[\"sk_t\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca6cb_2839", "family": "bracket", "tier": 2, "seed": 1177331403, "symmetry": "none", "op_count": 1, "ir_hash": "51e06bcaf170ed10", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 62200.0, "surface_area": 18200.0, "principal_moments": [25599999.999999996, 52199999.99999999, 56599999.99999999], "n_faces": 14, "n_edges": 37, "n_vertices": 24}, "dimensions": {"lines": ["L-bracket: base leg 65.45 mm, vertical leg 72.7 mm, 55.65 mm wide, 8 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg; 11.4 mm corner gusset."], "text": "L-bracket: base leg 65.45 mm, vertical leg 72.7 mm, 55.65 mm wide, 8 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg; 11.4 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 65.45, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 72.7, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 55.65, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 8.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 11.4, "min": 4.0, "max": 24.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331403 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 65.45, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 72.7, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 55.65, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 11.4, \"min\": 4.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462ca6cc_2840", "family": "flanged", "tier": 1, "seed": 1177331404, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "33f0a4d18c0ed1de", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 22600.0, "surface_area": 10400.0, "principal_moments": [5380000.0, 5380000.0, 6790000.0], "n_faces": 29, "n_edges": 114, "n_vertices": 76}, "dimensions": {"lines": ["Revolved body, \u00d830.16 mm \u00d7 30.3 mm tall with \u00d814.2 mm bore, \u00d860.2 mm \u00d7 4.8 mm flange.", "Twelve \u00d88.4 mm holes on a \u00d836.2 mm bolt circle."], "text": "Revolved body, \u00d830.16 mm \u00d7 30.3 mm tall with \u00d814.2 mm bore, \u00d860.2 mm \u00d7 4.8 mm flange. Twelve \u00d88.4 mm holes on a \u00d836.2 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 30.16, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 30.3, "min": 9.1, "max": 75.8, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 14.2, "min": 2.0, "max": 21.1, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 60.2, "min": 39.2, "max": 90.5, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 4.8, "min": 1.4, "max": 12.1, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 8.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 18.1, "min": 12.0, "max": 27.1, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 12, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331404 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 30.16, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 30.3, \"min\": 9.1, \"max\": 75.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 14.2, \"min\": 2.0, \"max\": 21.1, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 60.2, \"min\": 39.2, \"max\": 90.5, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 4.8, \"min\": 1.4, \"max\": 12.1, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 18.1, \"min\": 12.0, \"max\": 27.1, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 12, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca6cd_2841", "family": "bracket", "tier": 1, "seed": 1177331405, "symmetry": "none", "op_count": 1, "ir_hash": "b33cc4bacddcbc47", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 12900.0, "surface_area": 6350.0, "principal_moments": [2120000.0, 6970000.0, 8340000.0], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["C-channel bracket: base leg 59.32 mm, vertical leg 37.7 mm, 18.29 mm wide, 6 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."], "text": "C-channel bracket: base leg 59.32 mm, vertical leg 37.7 mm, 18.29 mm wide, 6 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 59.32, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 37.7, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 18.29, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 6.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 7.3, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331405 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 59.32, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 37.7, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 18.29, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 7.3, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462ca6ce_2842", "family": "swept", "tier": 2, "seed": 1177331406, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "25c0eaa37437f68f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 7360.0, "surface_area": 3400.0, "principal_moments": [337000.0, 3860000.0, 4020000.0], "n_faces": 3, "n_edges": 3, "n_vertices": 2}, "dimensions": {"lines": ["\u00d813.7 mm circular section swept along a curved path, ~75.99 mm span."], "text": "\u00d813.7 mm circular section swept along a curved path, ~75.99 mm span."}, "params": {"path_w": {"type": "float", "default": 55.09, "min": 27.5, "max": 99.2, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 75.99, "min": 38.0, "max": 136.8, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_d": {"type": "float", "default": 13.7, "min": 6.8, "max": 24.7, "step": 1.0, "group": "Section", "label": "Section diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331406 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 55.09, \"min\": 27.5, \"max\": 99.2, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 75.99, \"min\": 38.0, \"max\": 136.8, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_d\": {\"type\": 'float', \"default\": 13.7, \"min\": 6.8, \"max\": 24.7, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.0967, p[\"path_h\"] * 0.4292), (p[\"path_w\"] * 0.0052, p[\"path_h\"] * 0.6021), (p[\"path_w\"] * 0.1771, p[\"path_h\"] * 0.8021), (p[\"path_w\"] * 0.3684, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').circle(p[\"sweep_d\"] / 2).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca6cf_2843", "family": "plate", "tier": 1, "seed": 1177331407, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "ab38bff2600861a2", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 73000.0, "surface_area": 22000.0, "principal_moments": [36300000.0, 87400000.0, 123000000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 120 \u00d7 77.1 \u00d7 8 mm (W\u00d7D\u00d7H).", "Four \u00d86.4 mm holes at the corners, 84 \u00d7 53.97 mm spacing."], "text": "Rectangular body, 120 \u00d7 77.1 \u00d7 8 mm (W\u00d7D\u00d7H). Four \u00d86.4 mm holes at the corners, 84 \u00d7 53.97 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 120.0, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 77.1, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331407 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 120.0, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 77.1, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462ca6d0_2844", "family": "sketched", "tier": 3, "seed": 1177331408, "symmetry": "mirror_x", "op_count": 4, "ir_hash": "0ab3b53560a34df0", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 44200.0, "surface_area": 9340.0, "principal_moments": [9160000.0, 13499999.999999998, 20800000.0], "n_faces": 12, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["freeform sketched section (6 segments: 3 straight, 2 arcs, 1 curve), ~58.378 \u00d7 69.12 mm, extruded 15 mm thick.", "One \u00d86.4 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch.", "Boss \u00d816.1 mm \u00d7 5.5 mm tall on top face.", "Fillet radius 3.1 mm on vertical edges (optional, off by default)."], "text": "freeform sketched section (6 segments: 3 straight, 2 arcs, 1 curve), ~58.378 \u00d7 69.12 mm, extruded 15 mm thick. One \u00d86.4 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch. Boss \u00d816.1 mm \u00d7 5.5 mm tall on top face. Fillet radius 3.1 mm on vertical edges (optional, off by default)."}, "params": {"sk_w": {"type": "float", "default": 77.26, "min": 38.6, "max": 139.1, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 90.0, "min": 45.0, "max": 162.0, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "sk_t": {"type": "float", "default": 15, "min": 6.0, "max": 33.0, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "sk_hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 12.8, "step": 0.5, "group": "Holes", "label": "Hole diameter (mm)"}, "boss_d": {"type": "float", "default": 16.1, "min": 8.1, "max": 32.2, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 5.5, "min": 2.2, "max": 13.8, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}, "sk_fillet_r": {"type": "float", "default": 3.1, "min": 0.5, "max": 7.8, "step": 0.5, "group": "Body", "label": "Edge fillet radius (mm)"}, "sk_filleted": {"type": "bool", "default": false, "group": "Body", "label": "Fillet vertical edges"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331408 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 77.26, \"min\": 38.6, \"max\": 139.1, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 90.0, \"min\": 45.0, \"max\": 162.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"sk_t\": {\"type\": 'float', \"default\": 15, \"min\": 6.0, \"max\": 33.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"sk_hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 12.8, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"boss_d\": {\"type\": 'float', \"default\": 16.1, \"min\": 8.1, \"max\": 32.2, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 5.5, \"min\": 2.2, \"max\": 13.8, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n    \"sk_fillet_r\": {\"type\": 'float', \"default\": 3.1, \"min\": 0.5, \"max\": 7.8, \"step\": 0.5, \"group\": 'Body', \"label\": 'Edge fillet radius (mm)'},\n    \"sk_filleted\": {\"type\": 'bool', \"default\": False, \"group\": 'Body', \"label\": 'Fillet vertical edges'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.3564, p[\"sk_h\"] * -0.0427).threePointArc((p[\"sk_w\"] * 0.2768, p[\"sk_h\"] * 0.1951), (p[\"sk_w\"] * 0.0769, p[\"sk_h\"] * 0.3305)).lineTo(p[\"sk_w\"] * -0.1798, p[\"sk_h\"] * 0.274).spline([(p[\"sk_w\"] * -0.1798, p[\"sk_h\"] * 0.274), (p[\"sk_w\"] * -0.3317, p[\"sk_h\"] * 0.1279), (p[\"sk_w\"] * -0.3992, p[\"sk_h\"] * -0.0718)]).lineTo(p[\"sk_w\"] * -0.1207, p[\"sk_h\"] * -0.4375).threePointArc((p[\"sk_w\"] * 0.0501, p[\"sk_h\"] * -0.4366), (p[\"sk_w\"] * 0.2068, p[\"sk_h\"] * -0.3449)).lineTo(p[\"sk_w\"] * 0.3564, p[\"sk_h\"] * -0.0427).close().extrude(p[\"sk_t\"]))\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"sk_hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    if p[\"sk_filleted\"]:\n        result = result.edges('|Z').fillet(p[\"sk_fillet_r\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462ca6d1_2845", "family": "lofted", "tier": 0, "seed": 1177331409, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "e15e7baabf853fa0", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 178000.0, "surface_area": 18400.0, "principal_moments": [69400000.0, 115000000.0, 115000000.0], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Lofted body through 2 sections: 6-sided polygon section, 63.48 mm across corners \u2192 46.7 \u00d7 46.7 mm rectangular section."], "text": "Lofted body through 2 sections: 6-sided polygon section, 63.48 mm across corners \u2192 46.7 \u00d7 46.7 mm rectangular section."}, "params": {"loft_base": {"type": "float", "default": 63.48, "min": 31.7, "max": 101.6, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 46.7, "min": 18.7, "max": 76.2, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 73.9, "min": 29.6, "max": 147.8, "step": 1.0, "group": "Body", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331409 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 63.48, \"min\": 31.7, \"max\": 101.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 46.7, \"min\": 18.7, \"max\": 76.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 73.9, \"min\": 29.6, \"max\": 147.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .polygon(6, p[\"loft_base\"] * 0.5 * 2)\n        .workplane(offset=p[\"loft_h\"])\n        .rect(p[\"loft_top\"], p[\"loft_top\"])\n        .loft(combine=True)\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462ca6d2_2846", "family": "sketched", "tier": 1, "seed": 1177331410, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "10672755de6d0eb0", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 33500.0, "surface_area": 6900.0, "principal_moments": [4200000.0, 8220000.0, 10100000.0], "n_faces": 9, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["freeform sketched section (6 segments: 2 straight, 1 arc, 3 curves), ~59.215 \u00d7 39.735 mm, extruded 20.29 mm thick.", "One \u00d86.4 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "freeform sketched section (6 segments: 2 straight, 1 arc, 3 curves), ~59.215 \u00d7 39.735 mm, extruded 20.29 mm thick. One \u00d86.4 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"sk_w": {"type": "float", "default": 65, "min": 32.5, "max": 117.0, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 56.78, "min": 28.4, "max": 102.2, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "sk_t": {"type": "float", "default": 20.29, "min": 8.1, "max": 44.6, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "sk_hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 12.8, "step": 0.5, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331410 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 65, \"min\": 32.5, \"max\": 117.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 56.78, \"min\": 28.4, \"max\": 102.2, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"sk_t\": {\"type\": 'float', \"default\": 20.29, \"min\": 8.1, \"max\": 44.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"sk_hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 12.8, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.4768, p[\"sk_h\"] * 0.0408).threePointArc((p[\"sk_w\"] * 0.3594, p[\"sk_h\"] * 0.1661), (p[\"sk_w\"] * 0.1852, p[\"sk_h\"] * 0.2642)).spline([(p[\"sk_w\"] * 0.1852, p[\"sk_h\"] * 0.2642), (p[\"sk_w\"] * 0.0715, p[\"sk_h\"] * 0.3258), (p[\"sk_w\"] * -0.0564, p[\"sk_h\"] * 0.3456)]).lineTo(p[\"sk_w\"] * -0.4342, p[\"sk_h\"] * 0.0192).spline([(p[\"sk_w\"] * -0.4342, p[\"sk_h\"] * 0.0192), (p[\"sk_w\"] * -0.414, p[\"sk_h\"] * -0.1728), (p[\"sk_w\"] * -0.3482, p[\"sk_h\"] * -0.3542)]).bezier([(p[\"sk_w\"] * -0.3482, p[\"sk_h\"] * -0.3542), (p[\"sk_w\"] * -0.0303, p[\"sk_h\"] * -0.3605), (p[\"sk_w\"] * 0.2817, p[\"sk_h\"] * -0.2992)]).lineTo(p[\"sk_w\"] * 0.4768, p[\"sk_h\"] * 0.0408).close().extrude(p[\"sk_t\"]))\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"sk_hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462ca6d4_2848", "family": "gear", "tier": 1, "seed": 1177331412, "symmetry": "none", "op_count": 1, "ir_hash": "2b2e220b9f4a3364", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 163000.0, "surface_area": 37300.0, "principal_moments": [187000000.0, 187000000.0, 370000000.0], "n_faces": 201, "n_edges": 597, "n_vertices": 398}, "dimensions": {"lines": ["Spur gear, module 4 mm, 33 teeth (pitch \u00d8132 mm), face width 12.5 mm, \u00d826.6 mm bore."], "text": "Spur gear, module 4 mm, 33 teeth (pitch \u00d8132 mm), face width 12.5 mm, \u00d826.6 mm bore."}, "params": {"module": {"type": "float", "default": 4.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 33, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 12.5, "min": 5.0, "max": 31.2, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "bore_d": {"type": "float", "default": 26.6, "min": 2.0, "max": 73.2, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331412 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 4.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 33, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 12.5, \"min\": 5.0, \"max\": 31.2, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 26.6, \"min\": 2.0, \"max\": 73.2, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca6d5_2849", "family": "bracket", "tier": 2, "seed": 1177331413, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "e016c4f8dd1ff351", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 14600.0, "surface_area": 8390.0, "principal_moments": [2270000.0, 6100000.0, 7410000.0], "n_faces": 18, "n_edges": 48, "n_vertices": 32}, "dimensions": {"lines": ["Z-bracket: base leg 40 mm, vertical leg 28.1 mm, top leg 33.5 mm, 38.56 mm wide, 4 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 5 mm corner gusset."], "text": "Z-bracket: base leg 40 mm, vertical leg 28.1 mm, top leg 33.5 mm, 38.56 mm wide, 4 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 5 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 40, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 28.1, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 38.56, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 4.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 33.5, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}, "gusset_t": {"type": "float", "default": 5.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331413 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 40, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 28.1, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 38.56, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 33.5, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _tl, _vl) * 0.4 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(0, _vl - _bt).lineTo(-_g, _vl - _bt)\n                    .lineTo(0, _vl - _bt - _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462ca6d6_2850", "family": "flanged", "tier": 1, "seed": 1177331414, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "e9feb9886f9369ee", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 254000.0, "surface_area": 39900.0, "principal_moments": [224000000.0, 258000000.0, 258000000.0], "n_faces": 14, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["Revolved body, \u00d858.95 mm \u00d7 76.4 mm tall with \u00d819.2 mm bore, \u00d8110.3 mm \u00d7 10.2 mm flange.", "Eight \u00d85.3 mm holes on a \u00d866.2 mm bolt circle."], "text": "Revolved body, \u00d858.95 mm \u00d7 76.4 mm tall with \u00d819.2 mm bore, \u00d8110.3 mm \u00d7 10.2 mm flange. Eight \u00d85.3 mm holes on a \u00d866.2 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 58.95, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 76.4, "min": 22.9, "max": 191.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 19.2, "min": 2.0, "max": 41.3, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 110.3, "min": 76.6, "max": 176.9, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 10.2, "min": 3.1, "max": 30.6, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 33.1, "min": 22.1, "max": 49.6, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 8, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331414 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 58.95, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 76.4, \"min\": 22.9, \"max\": 191.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 19.2, \"min\": 2.0, \"max\": 41.3, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 110.3, \"min\": 76.6, \"max\": 176.9, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 10.2, \"min\": 3.1, \"max\": 30.6, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 33.1, \"min\": 22.1, \"max\": 49.6, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462ca6d7_2851", "family": "ribbed", "tier": 2, "seed": 1177331415, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "0e8f40614a6cd104", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 19900.0, "surface_area": 9080.0, "principal_moments": [2250000.0, 3400000.0, 4070000.0], "n_faces": 46, "n_edges": 112, "n_vertices": 68}, "dimensions": {"lines": ["Rectangular body, 40 \u00d7 22.3 \u00d7 6 mm (W\u00d7D\u00d7H).", "Five ribs, 5.7 mm thick, 15.9 mm tall."], "text": "Rectangular body, 40 \u00d7 22.3 \u00d7 6 mm (W\u00d7D\u00d7H). Five ribs, 5.7 mm thick, 15.9 mm tall."}, "params": {"base_w": {"type": "float", "default": 40, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 22.3, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 6.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 5, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 15.9, "min": 6.4, "max": 31.8, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 5.7, "min": 1.0, "max": 14.2, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331415 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 40, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 22.3, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 5, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 15.9, \"min\": 6.4, \"max\": 31.8, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 5.7, \"min\": 1.0, \"max\": 14.2, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462ca6d8_2852", "family": "tapped", "tier": 0, "seed": 1177331416, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "5ce44c83a216beeb", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 9230.0, "surface_area": 3150.0, "principal_moments": [675000.0, 675000.0, 922000.0], "n_faces": 142, "n_edges": 386, "n_vertices": 246}, "dimensions": {"lines": ["One M6x1 tapped hole in a plate."], "text": "One M6x1 tapped hole in a plate."}, "params": {"major_d": {"type": "float", "default": 6.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 1.0, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 16.7, "min": 7.2, "max": 30.1, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "plate_w": {"type": "float", "default": 24.0, "min": 14.4, "max": 38.4, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 24.0, "min": 14.4, "max": 38.4, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331416 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.0, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 16.7, \"min\": 7.2, \"max\": 30.1, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"plate_w\": {\"type\": 'float', \"default\": 24.0, \"min\": 14.4, \"max\": 38.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 24.0, \"min\": 14.4, \"max\": 38.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n}\n\n\ndef build(p):\n\n    _W, _D, _H = p[\"plate_w\"], p[\"plate_d\"], p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Box(_W, _D, _H)\n    _locs = [(0.0, 0.0)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca6d9_2853", "family": "revolved", "tier": 1, "seed": 1177331417, "symmetry": "radial", "op_count": 1, "ir_hash": "7b2df75643fc8625", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 970000.0, "surface_area": 100000.0, "principal_moments": [1360000000.0, 3380000000.0, 3380000000.0], "n_faces": 5, "n_edges": 7, "n_vertices": 5}, "dimensions": {"lines": ["Revolved body, \u00d861.02 mm \u00d7 243 mm tall with \u00d8118 mm \u00d7 62 mm flange."], "text": "Revolved body, \u00d861.02 mm \u00d7 243 mm tall with \u00d8118 mm \u00d7 62 mm flange."}, "params": {"outer_d": {"type": "float", "default": 61.02, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 243.0, "min": 72.9, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "flange_d": {"type": "float", "default": 118.0, "min": 73.2, "max": 183.1, "step": 1.0, "group": "Body", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 62.0, "min": 18.6, "max": 121.5, "step": 0.5, "group": "Body", "label": "Flange height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331417 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 61.02, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 243.0, \"min\": 72.9, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 118.0, \"min\": 73.2, \"max\": 183.1, \"step\": 1.0, \"group\": 'Body', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 62.0, \"min\": 18.6, \"max\": 121.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Flange height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca6da_2854", "family": "plate", "tier": 1, "seed": 1177331418, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "05732ba76a2a3d02", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 1910.0, "surface_area": 1720.0, "principal_moments": [58000.0, 192000.0, 247000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 35 \u00d7 19.1 \u00d7 3 mm (W\u00d7D\u00d7H).", "Four \u00d83.2 mm holes at the corners, 24.5 \u00d7 13.37 mm spacing."], "text": "Rectangular body, 35 \u00d7 19.1 \u00d7 3 mm (W\u00d7D\u00d7H). Four \u00d83.2 mm holes at the corners, 24.5 \u00d7 13.37 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 35, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 19.1, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 3.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 4.3, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331418 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 35, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 19.1, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 3.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 4.3, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca6db_2855", "family": "plate", "tier": 1, "seed": 1177331419, "symmetry": "radial", "op_count": 2, "ir_hash": "be9dd6d9beb5d1b4", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 43400.0, "surface_area": 10700.0, "principal_moments": [9740000.0, 19500000.0, 28199999.999999996], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 72.3 \u00d7 50.5 \u00d7 12 mm (W\u00d7D\u00d7H).", "Four \u00d83.2 mm holes on a \u00d843.4 mm bolt circle."], "text": "Rectangular body, 72.3 \u00d7 50.5 \u00d7 12 mm (W\u00d7D\u00d7H). Four \u00d83.2 mm holes on a \u00d843.4 mm bolt circle."}, "params": {"plate_w": {"type": "float", "default": 72.3, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 50.5, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "bolt_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 21.7, "min": 14.5, "max": 32.5, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 4, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331419 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 72.3, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 50.5, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 21.7, \"min\": 14.5, \"max\": 32.5, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 4, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca6dc_2856", "family": "plate", "tier": 1, "seed": 1177331420, "symmetry": "radial", "op_count": 2, "ir_hash": "ad374d749ba1262a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 72500.0, "surface_area": 17200.0, "principal_moments": [23599999.999999996, 61899999.99999999, 83800000.0], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Rectangular body, 100 \u00d7 61.7 \u00d7 12 mm (W\u00d7D\u00d7H).", "Six \u00d85.3 mm holes on a \u00d860 mm bolt circle."], "text": "Rectangular body, 100 \u00d7 61.7 \u00d7 12 mm (W\u00d7D\u00d7H). Six \u00d85.3 mm holes on a \u00d860 mm bolt circle."}, "params": {"plate_w": {"type": "float", "default": 100, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 61.7, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "bolt_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 30.0, "min": 20.0, "max": 45.0, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 6, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331420 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 100, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 61.7, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 30.0, \"min\": 20.0, \"max\": 45.0, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca6dd_2857", "family": "plate", "tier": 1, "seed": 1177331421, "symmetry": "radial", "op_count": 2, "ir_hash": "2e83b3ea1b2b3a53", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 6100.0, "surface_area": 3310.0, "principal_moments": [328000.0, 1290000.0, 1590000.0], "n_faces": 16, "n_edges": 42, "n_vertices": 28}, "dimensions": {"lines": ["Rectangular body, 50 \u00d7 24.9 \u00d7 5 mm (W\u00d7D\u00d7H).", "Six \u00d83.2 mm holes on a \u00d830 mm bolt circle."], "text": "Rectangular body, 50 \u00d7 24.9 \u00d7 5 mm (W\u00d7D\u00d7H). Six \u00d83.2 mm holes on a \u00d830 mm bolt circle."}, "params": {"plate_w": {"type": "float", "default": 50, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 24.9, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 5.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "bolt_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 15.0, "min": 10.0, "max": 22.5, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 6, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331421 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 50, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 24.9, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 5.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 15.0, \"min\": 10.0, \"max\": 22.5, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca6de_2858", "family": "plate", "tier": 2, "seed": 1177331422, "symmetry": "mirror_xy", "op_count": 3, "ir_hash": "3bdedd41dc318579", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 85800.0, "surface_area": 21600.0, "principal_moments": [37900000.0, 102000000.0, 139000000.0], "n_faces": 14, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 120 \u00d7 72.5 \u00d7 10 mm (W\u00d7D\u00d7H).", "Four \u00d85.3 mm holes at the corners, 84 \u00d7 50.75 mm spacing.", "Fillet radius 6.091 mm on vertical edges."], "text": "Rectangular body, 120 \u00d7 72.5 \u00d7 10 mm (W\u00d7D\u00d7H). Four \u00d85.3 mm holes at the corners, 84 \u00d7 50.75 mm spacing. Fillet radius 6.091 mm on vertical edges."}, "params": {"plate_w": {"type": "float", "default": 120.0, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 72.5, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331422 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 120.0, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 72.5, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"plate_w\"], p[\"plate_d\"]) * 0.08400785368228221)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462ca6df_2859", "family": "flanged", "tier": 2, "seed": 1177331423, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "ade531afc6df5ed4", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 21000.0, "surface_area": 8660.0, "principal_moments": [4240000.0, 4240000.0, 4730000.0], "n_faces": 32, "n_edges": 80, "n_vertices": 47}, "dimensions": {"lines": ["Revolved body, \u00d830 mm \u00d7 30.2 mm tall with \u00d814.7 mm bore, \u00d853.3 mm \u00d7 3.8 mm flange.", "Four \u00d85.3 mm holes on a \u00d832 mm bolt circle.", "Chamfer 0.7 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d830 mm \u00d7 30.2 mm tall with \u00d814.7 mm bore, \u00d853.3 mm \u00d7 3.8 mm flange. Four \u00d85.3 mm holes on a \u00d832 mm bolt circle. Chamfer 0.7 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 30, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 30.2, "min": 9.1, "max": 75.5, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 14.7, "min": 2.0, "max": 21.0, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 53.3, "min": 39.0, "max": 90.0, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 3.8, "min": 1.1, "max": 12.1, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 16.0, "min": 10.7, "max": 24.0, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 4, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}, "end_chamfer": {"type": "float", "default": 0.7, "min": 0.1, "max": 2.0, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331423 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 30, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 30.2, \"min\": 9.1, \"max\": 75.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 14.7, \"min\": 2.0, \"max\": 21.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 53.3, \"min\": 39.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 3.8, \"min\": 1.1, \"max\": 12.1, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 16.0, \"min\": 10.7, \"max\": 24.0, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 4, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.7, \"min\": 0.1, \"max\": 2.0, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca6e0_2860", "family": "revolved", "tier": 1, "seed": 1177331424, "symmetry": "none", "op_count": 2, "ir_hash": "0276b89587946b0b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 62000.0, "surface_area": 18400.0, "principal_moments": [23999999.999999996, 23999999.999999996, 41100000.0], "n_faces": 7, "n_edges": 11, "n_vertices": 7}, "dimensions": {"lines": ["Revolved body, \u00d855 mm \u00d7 29.8 mm tall with \u00d887.5 mm \u00d7 4.1 mm flange.", "Chamfer 0.8 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d855 mm \u00d7 29.8 mm tall with \u00d887.5 mm \u00d7 4.1 mm flange. Chamfer 0.8 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 55, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 29.8, "min": 8.9, "max": 89.4, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "flange_d": {"type": "float", "default": 87.5, "min": 66.0, "max": 165.0, "step": 1.0, "group": "Body", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 4.1, "min": 1.2, "max": 14.9, "step": 0.5, "group": "Body", "label": "Flange height (mm)"}, "end_chamfer": {"type": "float", "default": 0.8, "min": 0.1, "max": 2.4, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331424 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 55, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 29.8, \"min\": 8.9, \"max\": 89.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 87.5, \"min\": 66.0, \"max\": 165.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 4.1, \"min\": 1.2, \"max\": 14.9, \"step\": 0.5, \"group\": 'Body', \"label\": 'Flange height (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.8, \"min\": 0.1, \"max\": 2.4, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca6e1_2861", "family": "plate", "tier": 3, "seed": 1177331425, "symmetry": "mirror_xy", "op_count": 3, "ir_hash": "128c34f96c324136", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 17300.0, "surface_area": 5540.0, "principal_moments": [1130000.0, 4650000.0, 4690000.0], "n_faces": 16, "n_edges": 47, "n_vertices": 30}, "dimensions": {"lines": ["Rectangular body, 60 \u00d7 20.4 \u00d7 12 mm (W\u00d7D\u00d7H).", "Four \u00d84.3 mm countersunk holes (82\u00b0) at the corners, 42 \u00d7 14.28 mm spacing.", "Boss \u00d819.7 mm \u00d7 11.4 mm tall on top face."], "text": "Rectangular body, 60 \u00d7 20.4 \u00d7 12 mm (W\u00d7D\u00d7H). Four \u00d84.3 mm countersunk holes (82\u00b0) at the corners, 42 \u00d7 14.28 mm spacing. Boss \u00d819.7 mm \u00d7 11.4 mm tall on top face."}, "params": {"plate_w": {"type": "float", "default": 60, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 20.4, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 4.6, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "cs_angle": {"type": "float", "default": 82.0, "min": 60.0, "max": 120.0, "step": 15.0, "group": "Holes", "label": "Countersink angle (\u00b0)"}, "boss_d": {"type": "float", "default": 19.7, "min": 9.8, "max": 39.4, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 11.4, "min": 4.6, "max": 28.5, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331425 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 60, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 20.4, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 4.6, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"cs_angle\": {\"type\": 'float', \"default\": 82.0, \"min\": 60.0, \"max\": 120.0, \"step\": 15.0, \"group\": 'Holes', \"label\": 'Countersink angle (\u00b0)'},\n    \"boss_d\": {\"type\": 'float', \"default\": 19.7, \"min\": 9.8, \"max\": 39.4, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 11.4, \"min\": 4.6, \"max\": 28.5, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().cskHole(p[\"hole_d\"], p[\"hole_d\"] * 2, p[\"cs_angle\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca6e2_2862", "family": "block", "tier": 1, "seed": 1177331426, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "d523e280859b93a7", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 147000.0, "surface_area": 19200.0, "principal_moments": [59899999.99999999, 69700000.0, 84500000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 62.26 \u00d7 43.1 \u00d7 55.3 mm (W\u00d7D\u00d7H).", "Four \u00d83.2 mm holes at the corners, 43.582 \u00d7 30.17 mm spacing."], "text": "Rectangular body, 62.26 \u00d7 43.1 \u00d7 55.3 mm (W\u00d7D\u00d7H). Four \u00d83.2 mm holes at the corners, 43.582 \u00d7 30.17 mm spacing."}, "params": {"block_w": {"type": "float", "default": 62.26, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 43.1, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 55.3, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 9.7, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331426 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 62.26, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 43.1, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 55.3, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 9.7, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca6e3_2863", "family": "compound", "tier": 1, "seed": 1177331427, "symmetry": "none", "op_count": 2, "ir_hash": "a572fb11c5749676", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 177000.0, "surface_area": 20100.0, "principal_moments": [77000000.0, 126000000.0, 126000000.0], "n_faces": 14, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["Lofted body through 2 sections: 65 \u00d7 65 mm rectangular section \u2192 \u00d839.7 mm circular section.", "6-sided polygon section, 30.4 mm across corners attachment, 28.7 mm long, from top face."], "text": "Lofted body through 2 sections: 65 \u00d7 65 mm rectangular section \u2192 \u00d839.7 mm circular section. 6-sided polygon section, 30.4 mm across corners attachment, 28.7 mm long, from top face."}, "params": {"adapter_base": {"type": "float", "default": 65, "min": 39.0, "max": 97.5, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "adapter_top": {"type": "float", "default": 39.7, "min": 19.9, "max": 65, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "adapter_h": {"type": "float", "default": 61.4, "min": 24.6, "max": 122.8, "step": 1.0, "group": "Body", "label": "Transition height (mm)"}, "neck_sides": {"type": "int", "default": 6, "min": 3, "max": 8, "step": 1, "group": "Neck", "label": "Neck sides"}, "neck_r": {"type": "float", "default": 15.2, "min": 7.6, "max": 19.9, "step": 1.0, "group": "Neck", "label": "Neck circumradius (mm)"}, "neck_l": {"type": "float", "default": 28.7, "min": 11.5, "max": 71.8, "step": 1.0, "group": "Neck", "label": "Neck length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331427 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"adapter_base\": {\"type\": 'float', \"default\": 65, \"min\": 39.0, \"max\": 97.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"adapter_top\": {\"type\": 'float', \"default\": 39.7, \"min\": 19.9, \"max\": 65, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"adapter_h\": {\"type\": 'float', \"default\": 61.4, \"min\": 24.6, \"max\": 122.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Transition height (mm)'},\n    \"neck_sides\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Neck', \"label\": 'Neck sides'},\n    \"neck_r\": {\"type\": 'float', \"default\": 15.2, \"min\": 7.6, \"max\": 19.9, \"step\": 1.0, \"group\": 'Neck', \"label\": 'Neck circumradius (mm)'},\n    \"neck_l\": {\"type\": 'float', \"default\": 28.7, \"min\": 11.5, \"max\": 71.8, \"step\": 1.0, \"group\": 'Neck', \"label\": 'Neck length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .rect(p[\"adapter_base\"], p[\"adapter_base\"])\n        .workplane(offset=p[\"adapter_h\"])\n        .circle(p[\"adapter_top\"] / 2)\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"neck_sides\"], p[\"neck_r\"] * 2).extrude(p[\"neck_l\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca6e4_2864", "family": "block", "tier": 1, "seed": 1177331428, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "af5fdb1d2ce613f7", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 6510.0, "surface_area": 3070.0, "principal_moments": [297000.0, 481000.0, 601000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 20 \u00d7 13 \u00d7 26.9 mm (W\u00d7D\u00d7H).", "Four \u00d82.4 mm holes at the corners, 14 \u00d7 9.1 mm spacing."], "text": "Rectangular body, 20 \u00d7 13 \u00d7 26.9 mm (W\u00d7D\u00d7H). Four \u00d82.4 mm holes at the corners, 14 \u00d7 9.1 mm spacing."}, "params": {"block_w": {"type": "float", "default": 20, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 13.0, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 26.9, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 2.4, "min": 2.0, "max": 2.9, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331428 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 20, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 13.0, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 26.9, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 2.4, \"min\": 2.0, \"max\": 2.9, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca6e5_2865", "family": "plate", "tier": 1, "seed": 1177331429, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "aec6aa975045d818", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 11700.0, "surface_area": 6060.0, "principal_moments": [1380000.0, 4090000.0, 5410000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 65 \u00d7 37.5 \u00d7 5 mm (W\u00d7D\u00d7H).", "Four \u00d85.3 mm holes at the corners, 45.5 \u00d7 26.25 mm spacing."], "text": "Rectangular body, 65 \u00d7 37.5 \u00d7 5 mm (W\u00d7D\u00d7H). Four \u00d85.3 mm holes at the corners, 45.5 \u00d7 26.25 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 65, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 37.5, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 5.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 8.4, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331429 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 65, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 37.5, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 5.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 8.4, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462ca6e6_2866", "family": "ribbed", "tier": 1, "seed": 1177331430, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "4dc69e42c45a8107", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 53700.0, "surface_area": 17700.0, "principal_moments": [15899999.999999998, 21700000.0, 33499999.999999996], "n_faces": 31, "n_edges": 72, "n_vertices": 48}, "dimensions": {"lines": ["Rectangular body, 66.63 \u00d7 56.6 \u00d7 10 mm (W\u00d7D\u00d7H).", "Five ribs, 4.5 mm thick, 13.3 mm tall."], "text": "Rectangular body, 66.63 \u00d7 56.6 \u00d7 10 mm (W\u00d7D\u00d7H). Five ribs, 4.5 mm thick, 13.3 mm tall."}, "params": {"base_w": {"type": "float", "default": 66.63, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 56.6, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 10.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 5, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 13.3, "min": 5.3, "max": 26.6, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 4.5, "min": 1.0, "max": 11.2, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331430 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 66.63, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 56.6, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 5, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 13.3, \"min\": 5.3, \"max\": 26.6, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 4.5, \"min\": 1.0, \"max\": 11.2, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca6e7_2867", "family": "revolved", "tier": 2, "seed": 1177331431, "symmetry": "radial", "op_count": 2, "ir_hash": "ee5af09168b95514", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 38500.0, "surface_area": 12400.0, "principal_moments": [6040000.0, 21500000.0, 21500000.0], "n_faces": 8, "n_edges": 14, "n_vertices": 8}, "dimensions": {"lines": ["Revolved body, \u00d830.83 mm \u00d7 76.5 mm tall with \u00d817.5 mm bore.", "Chamfer 1.3 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d830.83 mm \u00d7 76.5 mm tall with \u00d817.5 mm bore. Chamfer 1.3 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 30.83, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 76.5, "min": 22.9, "max": 229.5, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 17.5, "min": 2.0, "max": 21.6, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "end_chamfer": {"type": "float", "default": 1.3, "min": 0.1, "max": 3.9, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331431 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 30.83, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 76.5, \"min\": 22.9, \"max\": 229.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 17.5, \"min\": 2.0, \"max\": 21.6, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 1.3, \"min\": 0.1, \"max\": 3.9, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca6e8_2868", "family": "plate", "tier": 1, "seed": 1177331432, "symmetry": "none", "op_count": 2, "ir_hash": "2b87e082049dae89", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 16100.0, "surface_area": 8090.0, "principal_moments": [2820000.0, 7290000.0, 10000000.0], "n_faces": 15, "n_edges": 39, "n_vertices": 26}, "dimensions": {"lines": ["Rectangular body, 73.21 \u00d7 45.1 \u00d7 5 mm (W\u00d7D\u00d7H).", "Nine \u00d83.2 mm holes in two staggered rows, 13.7 \u00d7 12.3 mm pitch."], "text": "Rectangular body, 73.21 \u00d7 45.1 \u00d7 5 mm (W\u00d7D\u00d7H). Nine \u00d83.2 mm holes in two staggered rows, 13.7 \u00d7 12.3 mm pitch."}, "params": {"plate_w": {"type": "float", "default": 73.21, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 45.1, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 5.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 4.5, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 5, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331432 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 73.21, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 45.1, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 5.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 4.5, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 5, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 13.7\n    _ssy = 12.3\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca6e9_2869", "family": "revolved", "tier": 2, "seed": 1177331433, "symmetry": "none", "op_count": 1, "ir_hash": "a0f6dca70d9d2d7c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 279000.0, "surface_area": 39400.0, "principal_moments": [195000000.0, 371000000.0, 371000000.0], "n_faces": 4, "n_edges": 6, "n_vertices": 4}, "dimensions": {"lines": ["Revolved body, \u00d866.56 mm \u00d7 108.5 mm tall with \u00d834 mm bore."], "text": "Revolved body, \u00d866.56 mm \u00d7 108.5 mm tall with \u00d834 mm bore."}, "params": {"outer_d": {"type": "float", "default": 66.56, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 108.5, "min": 32.5, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 34.0, "min": 2.0, "max": 46.6, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331433 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 66.56, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 108.5, \"min\": 32.5, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 34.0, \"min\": 2.0, \"max\": 46.6, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca6ea_2870", "family": "block", "tier": 1, "seed": 1177331434, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "52ab1259e5abc248", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 317000.0, "surface_area": 33000.0, "principal_moments": [204000000.0, 271000000.0, 312000000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 85 \u00d7 55.8 \u00d7 68.1 mm (W\u00d7D\u00d7H).", "Four \u00d85.3 mm holes at the corners, 59.5 \u00d7 39.06 mm spacing."], "text": "Rectangular body, 85 \u00d7 55.8 \u00d7 68.1 mm (W\u00d7D\u00d7H). Four \u00d85.3 mm holes at the corners, 59.5 \u00d7 39.06 mm spacing."}, "params": {"block_w": {"type": "float", "default": 85, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 55.8, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 68.1, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 12.6, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331434 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 85, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 55.8, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 68.1, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 12.6, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462ca6eb_2871", "family": "swept", "tier": 1, "seed": 1177331435, "symmetry": "none", "op_count": 1, "ir_hash": "e620dae6b763860a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 6830.0, "surface_area": 2700.0, "principal_moments": [164000.0, 2540000.0, 2590000.0], "n_faces": 3, "n_edges": 3, "n_vertices": 2}, "dimensions": {"lines": ["\u00d811.9 mm circular section swept along a curved path, ~80 mm span."], "text": "\u00d811.9 mm circular section swept along a curved path, ~80 mm span."}, "params": {"path_w": {"type": "float", "default": 80.0, "min": 40.0, "max": 144.0, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 59.78, "min": 29.9, "max": 107.6, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_d": {"type": "float", "default": 11.9, "min": 6.0, "max": 21.4, "step": 1.0, "group": "Section", "label": "Section diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331435 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 80.0, \"min\": 40.0, \"max\": 144.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 59.78, \"min\": 29.9, \"max\": 107.6, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_d\": {\"type\": 'float', \"default\": 11.9, \"min\": 6.0, \"max\": 21.4, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.3418), (p[\"path_w\"] * 0.2505, p[\"path_h\"] * 0.6858), (p[\"path_w\"] * 0.2461, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').circle(p[\"sweep_d\"] / 2).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462ca6ec_2872", "family": "threaded", "tier": 0, "seed": 1177331436, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "56b0144bf2d2652d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 129.0, "surface_area": 249.0, "principal_moments": [211.0, 1870.0, 1870.0], "n_faces": 190, "n_edges": 484, "n_vertices": 296}, "dimensions": {"lines": ["M4x0.7 external thread, 12.9 mm long."], "text": "M4x0.7 external thread, 12.9 mm long."}, "params": {"major_d": {"type": "float", "default": 4.0, "min": 4.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Major diameter (mm)"}, "pitch": {"type": "float", "default": 0.7, "min": 0.35, "max": 1.4, "step": 0.05, "group": "Thread", "label": "Pitch (mm)"}, "thread_len": {"type": "float", "default": 12.9, "min": 5.2, "max": 25.8, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331436 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 4.0, \"min\": 4.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Major diameter (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 0.7, \"min\": 0.35, \"max\": 1.4, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Pitch (mm)'},\n    \"thread_len\": {\"type\": 'float', \"default\": 12.9, \"min\": 5.2, \"max\": 25.8, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.IsoThread(major_diameter=p[\"major_d\"], pitch=p[\"pitch\"], length=p[\"thread_len\"], external=True, end_finishes=(\"fade\", \"fade\"))\n    _r = _thr.min_radius if hasattr(_thr, 'min_radius') else _thr.root_radius\n    _shank = _bd.Cylinder(radius=_r, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = _shank + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462ca6ed_2873", "family": "threaded", "tier": 1, "seed": 1177331437, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "cd86a69af856d916", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 122.0, "surface_area": 236.0, "principal_moments": [200.0, 1590.0, 1590.0], "n_faces": 180, "n_edges": 458, "n_vertices": 280}, "dimensions": {"lines": ["M4x0.7 external thread, 12.2 mm long."], "text": "M4x0.7 external thread, 12.2 mm long."}, "params": {"major_d": {"type": "float", "default": 4.0, "min": 4.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Major diameter (mm)"}, "pitch": {"type": "float", "default": 0.7, "min": 0.35, "max": 1.4, "step": 0.05, "group": "Thread", "label": "Pitch (mm)"}, "thread_len": {"type": "float", "default": 12.2, "min": 5.0, "max": 24.4, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331437 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 4.0, \"min\": 4.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Major diameter (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 0.7, \"min\": 0.35, \"max\": 1.4, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Pitch (mm)'},\n    \"thread_len\": {\"type\": 'float', \"default\": 12.2, \"min\": 5.0, \"max\": 24.4, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.IsoThread(major_diameter=p[\"major_d\"], pitch=p[\"pitch\"], length=p[\"thread_len\"], external=True, end_finishes=(\"fade\", \"fade\"))\n    _r = _thr.min_radius if hasattr(_thr, 'min_radius') else _thr.root_radius\n    _shank = _bd.Cylinder(radius=_r, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = _shank + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca6ee_2874", "family": "bracket", "tier": 3, "seed": 1177331438, "symmetry": "none", "op_count": 1, "ir_hash": "4606157de477d040", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 25100.0, "surface_area": 18000.0, "principal_moments": [7090000.0, 38700000.0, 39100000.0], "n_faces": 22, "n_edges": 70, "n_vertices": 44}, "dimensions": {"lines": ["Z-bracket: base leg 79.81 mm, vertical leg 52.7 mm, top leg 56.9 mm, 43.46 mm wide, 3 mm thick; 2 \u00d7 \u00d84.3 mm holes per leg; 4.1 mm corner gusset."], "text": "Z-bracket: base leg 79.81 mm, vertical leg 52.7 mm, top leg 56.9 mm, 43.46 mm wide, 3 mm thick; 2 \u00d7 \u00d84.3 mm holes per leg; 4.1 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 79.81, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 52.7, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 43.46, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 3.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 56.9, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 2, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}, "gusset_t": {"type": "float", "default": 4.1, "min": 1.5, "max": 9.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331438 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 79.81, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 52.7, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 43.46, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 56.9, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 2, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 4.1, \"min\": 1.5, \"max\": 9.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _tl, _vl) * 0.4 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(0, _vl - _bt).lineTo(-_g, _vl - _bt)\n                    .lineTo(0, _vl - _bt - _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462ca6ef_2875", "family": "gear", "tier": 1, "seed": 1177331439, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "3a45dce24f7eb6f1", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 923000.0, "surface_area": 96000.0, "principal_moments": [2140000000.0, 2140000000.0, 4090000000.0], "n_faces": 189, "n_edges": 561, "n_vertices": 374}, "dimensions": {"lines": ["Spur gear, module 6 mm, 31 teeth (pitch \u00d8186 mm), face width 35 mm, \u00d826.3 mm bore."], "text": "Spur gear, module 6 mm, 31 teeth (pitch \u00d8186 mm), face width 35 mm, \u00d826.3 mm bore."}, "params": {"module": {"type": "float", "default": 6.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 31, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 35.0, "min": 14.0, "max": 87.5, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "bore_d": {"type": "float", "default": 26.3, "min": 2.0, "max": 102.6, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331439 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 6.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 31, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 35.0, \"min\": 14.0, \"max\": 87.5, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 26.3, \"min\": 2.0, \"max\": 102.6, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462ca6f0_2876", "family": "ribbed", "tier": 1, "seed": 1177331440, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "c4fd36e70b50ab9b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 21200.0, "surface_area": 13200.0, "principal_moments": [5040000.0, 18300000.0, 23099999.999999996], "n_faces": 22, "n_edges": 52, "n_vertices": 32}, "dimensions": {"lines": ["Rectangular body, 95.84 \u00d7 48.1 \u00d7 4 mm (W\u00d7D\u00d7H).", "Two ribs, 2.2 mm thick, 8.2 mm tall."], "text": "Rectangular body, 95.84 \u00d7 48.1 \u00d7 4 mm (W\u00d7D\u00d7H). Two ribs, 2.2 mm thick, 8.2 mm tall."}, "params": {"base_w": {"type": "float", "default": 95.84, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 48.1, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 4.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 2, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 8.2, "min": 3.3, "max": 16.4, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 2.2, "min": 1.0, "max": 5.5, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331440 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 95.84, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 48.1, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 2, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 8.2, \"min\": 3.3, \"max\": 16.4, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 2.2, \"min\": 1.0, \"max\": 5.5, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca6f1_2877", "family": "bracket", "tier": 2, "seed": 1177331441, "symmetry": "none", "op_count": 1, "ir_hash": "3fd247136735e161", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 7760.0, "surface_area": 3990.0, "principal_moments": [788000.0, 1060000.0, 1420000.0], "n_faces": 14, "n_edges": 37, "n_vertices": 24}, "dimensions": {"lines": ["L-bracket: base leg 30.16 mm, vertical leg 25.8 mm, 29.95 mm wide, 5 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 5 mm corner gusset."], "text": "L-bracket: base leg 30.16 mm, vertical leg 25.8 mm, 29.95 mm wide, 5 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 5 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 30.16, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 25.8, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 29.95, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 5.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 5.0, "min": 2.5, "max": 15.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331441 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 30.16, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 25.8, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 29.95, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 2.5, \"max\": 15.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462ca6f2_2878", "family": "ribbed", "tier": 2, "seed": 1177331442, "symmetry": "none", "op_count": 2, "ir_hash": "818486fa242f9336", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 58300.0, "surface_area": 25200.0, "principal_moments": [22600000.0, 46299999.99999999, 64999999.99999999], "n_faces": 38, "n_edges": 92, "n_vertices": 56}, "dimensions": {"lines": ["Rectangular body, 94.95 \u00d7 62.5 \u00d7 8 mm (W\u00d7D\u00d7H).", "Four ribs, 2.1 mm thick, 17 mm tall."], "text": "Rectangular body, 94.95 \u00d7 62.5 \u00d7 8 mm (W\u00d7D\u00d7H). Four ribs, 2.1 mm thick, 17 mm tall."}, "params": {"base_w": {"type": "float", "default": 94.95, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 62.5, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 8.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 4, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 17.0, "min": 6.8, "max": 34.0, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 2.1, "min": 1.0, "max": 5.2, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331442 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 94.95, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 62.5, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 4, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 17.0, \"min\": 6.8, \"max\": 34.0, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 2.1, \"min\": 1.0, \"max\": 5.2, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462ca6f3_2879", "family": "sketched", "tier": 1, "seed": 1177331443, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "7939ecae9b7da1c8", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 38100.0, "surface_area": 8190.0, "principal_moments": [8270000.0, 9380000.0, 16199999.999999998], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["freeform sketched section (7 segments: 4 straight, 3 curves), ~59.835 \u00d7 53.977 mm, extruded 15 mm thick.", "One \u00d86.4 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "freeform sketched section (7 segments: 4 straight, 3 curves), ~59.835 \u00d7 53.977 mm, extruded 15 mm thick. One \u00d86.4 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"sk_w": {"type": "float", "default": 71.36, "min": 35.7, "max": 128.4, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 70, "min": 35.0, "max": 126.0, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "sk_t": {"type": "float", "default": 15, "min": 6.0, "max": 33.0, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "sk_hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 12.8, "step": 0.5, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331443 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 71.36, \"min\": 35.7, \"max\": 128.4, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 70, \"min\": 35.0, \"max\": 126.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"sk_t\": {\"type\": 'float', \"default\": 15, \"min\": 6.0, \"max\": 33.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"sk_hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 12.8, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.4853, p[\"sk_h\"] * 0.0161).spline([(p[\"sk_w\"] * 0.4853, p[\"sk_h\"] * 0.0161), (p[\"sk_w\"] * 0.3901, p[\"sk_h\"] * 0.2065), (p[\"sk_w\"] * 0.2145, p[\"sk_h\"] * 0.3269)]).lineTo(p[\"sk_w\"] * 0.0319, p[\"sk_h\"] * 0.366).lineTo(p[\"sk_w\"] * -0.3532, p[\"sk_h\"] * 0.2832).spline([(p[\"sk_w\"] * -0.3532, p[\"sk_h\"] * 0.2832), (p[\"sk_w\"] * -0.3819, p[\"sk_h\"] * 0.0822), (p[\"sk_w\"] * -0.3107, p[\"sk_h\"] * -0.1079)]).lineTo(p[\"sk_w\"] * -0.1846, p[\"sk_h\"] * -0.3693).spline([(p[\"sk_w\"] * -0.1846, p[\"sk_h\"] * -0.3693), (p[\"sk_w\"] * 0.0164, p[\"sk_h\"] * -0.4475), (p[\"sk_w\"] * 0.2279, p[\"sk_h\"] * -0.4051)]).lineTo(p[\"sk_w\"] * 0.4853, p[\"sk_h\"] * 0.0161).close().extrude(p[\"sk_t\"]))\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"sk_hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462ca6f4_2880", "family": "threaded", "tier": 0, "seed": 1177331444, "symmetry": "none", "op_count": 1, "ir_hash": "9ae7815c0bcea9fc", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 399.0, "surface_area": 513.0, "principal_moments": [1480.0, 10800.0, 10800.0], "n_faces": 180, "n_edges": 458, "n_vertices": 280}, "dimensions": {"lines": ["M6x1 external thread, 17.5 mm long."], "text": "M6x1 external thread, 17.5 mm long."}, "params": {"major_d": {"type": "float", "default": 6.0, "min": 4.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Major diameter (mm)"}, "pitch": {"type": "float", "default": 1.0, "min": 0.5, "max": 2.0, "step": 0.05, "group": "Thread", "label": "Pitch (mm)"}, "thread_len": {"type": "float", "default": 17.5, "min": 7.0, "max": 35.0, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331444 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 6.0, \"min\": 4.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Major diameter (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.0, \"min\": 0.5, \"max\": 2.0, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Pitch (mm)'},\n    \"thread_len\": {\"type\": 'float', \"default\": 17.5, \"min\": 7.0, \"max\": 35.0, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.IsoThread(major_diameter=p[\"major_d\"], pitch=p[\"pitch\"], length=p[\"thread_len\"], external=True, end_finishes=(\"fade\", \"fade\"))\n    _r = _thr.min_radius if hasattr(_thr, 'min_radius') else _thr.root_radius\n    _shank = _bd.Cylinder(radius=_r, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = _shank + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462ca6f5_2881", "family": "profiled", "tier": 0, "seed": 1177331445, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "1c4de2190fcc25b7", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 32700.0, "surface_area": 15700.0, "principal_moments": [1790000.0, 57899999.99999999, 57899999.99999999], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d819.1 mm \u00d7 171.3 mm tall."], "text": "Revolved body, \u00d819.1 mm \u00d7 171.3 mm tall."}, "params": {"outer_d": {"type": "float", "default": 19.1, "min": 9.6, "max": 38.2, "step": 1.0, "group": "Profile", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 171.3, "min": 51.4, "max": 513.9, "step": 5.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331445 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 19.1, \"min\": 9.6, \"max\": 38.2, \"step\": 1.0, \"group\": 'Profile', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 171.3, \"min\": 51.4, \"max\": 513.9, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca6f6_2882", "family": "block", "tier": 1, "seed": 1177331446, "symmetry": "none", "op_count": 2, "ir_hash": "dbd86db95b3db0ba", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 225000.0, "surface_area": 27400.0, "principal_moments": [97399999.99999999, 196000000.0, 233000000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 60 \u00d7 40.4 \u00d7 94 mm (W\u00d7D\u00d7H).", "Four \u00d83.2 mm holes at the corners, 42 \u00d7 28.28 mm spacing."], "text": "Rectangular body, 60 \u00d7 40.4 \u00d7 94 mm (W\u00d7D\u00d7H). Four \u00d83.2 mm holes at the corners, 42 \u00d7 28.28 mm spacing."}, "params": {"block_w": {"type": "float", "default": 60, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 40.4, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 94.0, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 9.1, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331446 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 60, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 40.4, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 94.0, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 9.1, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca6f7_2883", "family": "plate", "tier": 1, "seed": 1177331447, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "e66524dd367912e9", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 1320.0, "surface_area": 1270.0, "principal_moments": [27000.0, 96300.0, 121000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 30 \u00d7 15.7 \u00d7 3 mm (W\u00d7D\u00d7H).", "Four \u00d83.2 mm holes at the corners, 21 \u00d7 10.99 mm spacing."], "text": "Rectangular body, 30 \u00d7 15.7 \u00d7 3 mm (W\u00d7D\u00d7H). Four \u00d83.2 mm holes at the corners, 21 \u00d7 10.99 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 30, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 15.7, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 3.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 3.5, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331447 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 30, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 15.7, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 3.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 3.5, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca6f8_2884", "family": "plate", "tier": 3, "seed": 1177331448, "symmetry": "none", "op_count": 4, "ir_hash": "c57253c96afd7b09", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 56500.0, "surface_area": 18600.0, "principal_moments": [17700000.0, 65499999.99999999, 81900000.0], "n_faces": 19, "n_edges": 48, "n_vertices": 32}, "dimensions": {"lines": ["Rectangular body, 110 \u00d7 56.9 \u00d7 12 mm (W\u00d7D\u00d7H).", "Four \u00d810.5 mm holes at the corners, 77 \u00d7 39.83 mm spacing.", "Chamfer 1.7 mm on vertical edges.", "Pocket 61 \u00d7 35.8 mm, 6.6 mm deep, in top face."], "text": "Rectangular body, 110 \u00d7 56.9 \u00d7 12 mm (W\u00d7D\u00d7H). Four \u00d810.5 mm holes at the corners, 77 \u00d7 39.83 mm spacing. Chamfer 1.7 mm on vertical edges. Pocket 61 \u00d7 35.8 mm, 6.6 mm deep, in top face."}, "params": {"plate_w": {"type": "float", "default": 110, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 56.9, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 10.5, "min": 2.0, "max": 12.8, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "chamfer_d": {"type": "float", "default": 1.7, "min": 1.5, "max": 2.5, "step": 0.5, "group": "Body", "label": "Chamfer distance (mm)"}, "chamfered": {"type": "bool", "default": true, "group": "Body", "label": "Chamfer edges"}, "pocket_w": {"type": "float", "default": 61.0, "min": 30.5, "max": 88.0, "step": 1.0, "group": "Pocket", "label": "Pocket width (mm)"}, "pocket_d": {"type": "float", "default": 35.8, "min": 17.9, "max": 45.5, "step": 1.0, "group": "Pocket", "label": "Pocket depth (mm)"}, "pocket_h": {"type": "float", "default": 6.6, "min": 2.6, "max": 10.2, "step": 0.5, "group": "Pocket", "label": "Pocket height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331448 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 110, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 56.9, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 10.5, \"min\": 2.0, \"max\": 12.8, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"chamfer_d\": {\"type\": 'float', \"default\": 1.7, \"min\": 1.5, \"max\": 2.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Chamfer distance (mm)'},\n    \"chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Chamfer edges'},\n    \"pocket_w\": {\"type\": 'float', \"default\": 61.0, \"min\": 30.5, \"max\": 88.0, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket width (mm)'},\n    \"pocket_d\": {\"type\": 'float', \"default\": 35.8, \"min\": 17.9, \"max\": 45.5, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket depth (mm)'},\n    \"pocket_h\": {\"type\": 'float', \"default\": 6.6, \"min\": 2.6, \"max\": 10.2, \"step\": 0.5, \"group\": 'Pocket', \"label\": 'Pocket height (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"chamfered\"]:\n        result = result.edges('|Z').chamfer(p[\"chamfer_d\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"pocket_w\"], p[\"pocket_d\"])\n        .cutBlind(-p[\"pocket_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462ca6fa_2886", "family": "threaded", "tier": 0, "seed": 1177331450, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "f96cf0e6b8a0254f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 720.0, "surface_area": 900.0, "principal_moments": [2680.0, 60400.0, 60400.0], "n_faces": 320, "n_edges": 822, "n_vertices": 504}, "dimensions": {"lines": ["M6x1 external thread, 31.5 mm long."], "text": "M6x1 external thread, 31.5 mm long."}, "params": {"major_d": {"type": "float", "default": 6.0, "min": 4.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Major diameter (mm)"}, "pitch": {"type": "float", "default": 1.0, "min": 0.5, "max": 2.0, "step": 0.05, "group": "Thread", "label": "Pitch (mm)"}, "thread_len": {"type": "float", "default": 31.5, "min": 12.6, "max": 63.0, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331450 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 6.0, \"min\": 4.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Major diameter (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.0, \"min\": 0.5, \"max\": 2.0, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Pitch (mm)'},\n    \"thread_len\": {\"type\": 'float', \"default\": 31.5, \"min\": 12.6, \"max\": 63.0, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.IsoThread(major_diameter=p[\"major_d\"], pitch=p[\"pitch\"], length=p[\"thread_len\"], external=True, end_finishes=(\"fade\", \"fade\"))\n    _r = _thr.min_radius if hasattr(_thr, 'min_radius') else _thr.root_radius\n    _shank = _bd.Cylinder(radius=_r, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = _shank + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462ca6fb_2887", "family": "enclosure", "tier": 3, "seed": 1177331451, "symmetry": "mirror_x", "op_count": 4, "ir_hash": "f5d437f1047ad513", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 124000.0, "surface_area": 48500.0, "principal_moments": [148000000.0, 155000000.0, 190000000.0], "n_faces": 23, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 78.61 \u00d7 75.2 \u00d7 67.8 mm (W\u00d7D\u00d7H).", "Hollowed to 5.2 mm wall thickness, open at top face.", "Four \u00d84.3 mm holes at the corners, 55.027 \u00d7 52.64 mm spacing.", "Fillet radius 4.196 mm on vertical edges."], "text": "Rectangular body, 78.61 \u00d7 75.2 \u00d7 67.8 mm (W\u00d7D\u00d7H). Hollowed to 5.2 mm wall thickness, open at top face. Four \u00d84.3 mm holes at the corners, 55.027 \u00d7 52.64 mm spacing. Fillet radius 4.196 mm on vertical edges."}, "params": {"enc_w": {"type": "float", "default": 78.61, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 75.2, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 67.8, "min": 27.1, "max": 135.6, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 5.2, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331451 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 78.61, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 75.2, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 67.8, \"min\": 27.1, \"max\": 135.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 5.2, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"enc_w\"] * 0.7, p[\"enc_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"enc_w\"], p[\"enc_d\"]) * 0.05579887930224323)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462ca6fc_2888", "family": "flanged", "tier": 1, "seed": 1177331452, "symmetry": "none", "op_count": 2, "ir_hash": "3bdf0349e32f878e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 360000.0, "surface_area": 62500.0, "principal_moments": [522000000.0, 522000000.0, 877000000.0], "n_faces": 18, "n_edges": 45, "n_vertices": 30}, "dimensions": {"lines": ["Revolved body, \u00d875 mm \u00d7 53.4 mm tall with \u00d837.1 mm bore, \u00d8160.8 mm \u00d7 11.7 mm flange.", "Twelve \u00d86.4 mm holes on a \u00d896.4 mm bolt circle."], "text": "Revolved body, \u00d875 mm \u00d7 53.4 mm tall with \u00d837.1 mm bore, \u00d8160.8 mm \u00d7 11.7 mm flange. Twelve \u00d86.4 mm holes on a \u00d896.4 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 75, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 53.4, "min": 16.0, "max": 133.5, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 37.1, "min": 2.0, "max": 52.5, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 160.8, "min": 97.5, "max": 225.0, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 11.7, "min": 3.5, "max": 21.4, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 48.2, "min": 32.2, "max": 72.4, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 12, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331452 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 75, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 53.4, \"min\": 16.0, \"max\": 133.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 37.1, \"min\": 2.0, \"max\": 52.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 160.8, \"min\": 97.5, \"max\": 225.0, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 11.7, \"min\": 3.5, \"max\": 21.4, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 48.2, \"min\": 32.2, \"max\": 72.4, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 12, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462ca6fd_2889", "family": "ribbed", "tier": 2, "seed": 1177331453, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "dcb573787cfd02f5", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 30700.0, "surface_area": 13100.0, "principal_moments": [6470000.0, 13399999.999999998, 16699999.999999998], "n_faces": 30, "n_edges": 72, "n_vertices": 44}, "dimensions": {"lines": ["Rectangular body, 65 \u00d7 38.9 \u00d7 8 mm (W\u00d7D\u00d7H).", "Three ribs, 3.7 mm thick, 18.1 mm tall."], "text": "Rectangular body, 65 \u00d7 38.9 \u00d7 8 mm (W\u00d7D\u00d7H). Three ribs, 3.7 mm thick, 18.1 mm tall."}, "params": {"base_w": {"type": "float", "default": 65, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 38.9, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 8.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 3, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 18.1, "min": 7.2, "max": 36.2, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 3.7, "min": 1.0, "max": 9.2, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331453 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 65, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 38.9, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 3, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 18.1, \"min\": 7.2, \"max\": 36.2, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 3.7, \"min\": 1.0, \"max\": 9.2, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462ca6fe_2890", "family": "enclosure", "tier": 2, "seed": 1177331454, "symmetry": "none", "op_count": 3, "ir_hash": "09b8ebb21c9ebd31", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 105000.0, "surface_area": 61200.0, "principal_moments": [130000000.0, 156000000.0, 217000000.0], "n_faces": 15, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 98.65 \u00d7 45.6 \u00d7 96.6 mm (W\u00d7D\u00d7H).", "Hollowed to 3.5 mm wall thickness, open at top face.", "Four \u00d85.3 mm holes at the corners, 69.055 \u00d7 31.92 mm spacing."], "text": "Rectangular body, 98.65 \u00d7 45.6 \u00d7 96.6 mm (W\u00d7D\u00d7H). Hollowed to 3.5 mm wall thickness, open at top face. Four \u00d85.3 mm holes at the corners, 69.055 \u00d7 31.92 mm spacing."}, "params": {"enc_w": {"type": "float", "default": 98.65, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 45.6, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 96.6, "min": 38.6, "max": 193.2, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 3.5, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 10.3, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331454 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 98.65, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 45.6, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 96.6, \"min\": 38.6, \"max\": 193.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 3.5, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 10.3, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"enc_w\"] * 0.7, p[\"enc_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462ca6ff_2891", "family": "threaded", "tier": 3, "seed": 1177331455, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "78539cf04d3b23e8", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 7360.0, "surface_area": 3830.0, "principal_moments": [195000.0, 1370000.0, 1370000.0], "n_faces": 150, "n_edges": 380, "n_vertices": 232}, "dimensions": {"lines": ["ACME 5/8 external thread, 46 mm long."], "text": "ACME 5/8 external thread, 46 mm long."}, "params": {"thread_size": {"type": "enum", "default": "5/8", "choices": ["1/4", "5/16", "3/8", "1/2", "5/8", "3/4", "7/8", "1", "1 1/4", "1 1/2"], "group": "Thread", "label": "Size designation"}, "thread_len": {"type": "float", "default": 46.0, "min": 18.4, "max": 92.0, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331455 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"thread_size\": {\"type\": 'enum', \"default\": '5/8', \"choices\": ['1/4', '5/16', '3/8', '1/2', '5/8', '3/4', '7/8', '1', '1 1/4', '1 1/2'], \"group\": 'Thread', \"label\": 'Size designation'},\n    \"thread_len\": {\"type\": 'float', \"default\": 46.0, \"min\": 18.4, \"max\": 92.0, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.AcmeThread(size=p[\"thread_size\"], length=p[\"thread_len\"], external=True, end_finishes=(\"fade\", \"fade\"))\n    _r = _thr.min_radius if hasattr(_thr, 'min_radius') else _thr.root_radius\n    _shank = _bd.Cylinder(radius=_r, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = _shank + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca700_2892", "family": "plate", "tier": 1, "seed": 1177331456, "symmetry": "radial", "op_count": 2, "ir_hash": "23c72d34e21ba55d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 40100.0, "surface_area": 16600.0, "principal_moments": [17700000.0, 31499999.999999996, 48999999.99999999], "n_faces": 18, "n_edges": 48, "n_vertices": 32}, "dimensions": {"lines": ["Rectangular body, 96.03 \u00d7 72.4 \u00d7 6 mm (W\u00d7D\u00d7H).", "Twelve \u00d85.3 mm holes on a \u00d857.6 mm bolt circle."], "text": "Rectangular body, 96.03 \u00d7 72.4 \u00d7 6 mm (W\u00d7D\u00d7H). Twelve \u00d85.3 mm holes on a \u00d857.6 mm bolt circle."}, "params": {"plate_w": {"type": "float", "default": 96.03, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 72.4, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 6.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "bolt_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 28.8, "min": 19.2, "max": 43.2, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 12, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331456 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 96.03, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 72.4, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 28.8, \"min\": 19.2, \"max\": 43.2, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 12, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca701_2893", "family": "plate", "tier": 2, "seed": 1177331457, "symmetry": "radial", "op_count": 3, "ir_hash": "5ed417777606b4b2", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 3050.0, "surface_area": 2100.0, "principal_moments": [65900.0, 436000.0, 469000.0], "n_faces": 28, "n_edges": 78, "n_vertices": 52}, "dimensions": {"lines": ["Rectangular body, 40 \u00d7 13.8 \u00d7 8 mm (W\u00d7D\u00d7H).", "Eight \u00d88.4 mm holes on a \u00d824 mm bolt circle.", "Fillet radius 0.835 mm on vertical edges."], "text": "Rectangular body, 40 \u00d7 13.8 \u00d7 8 mm (W\u00d7D\u00d7H). Eight \u00d88.4 mm holes on a \u00d824 mm bolt circle. Fillet radius 0.835 mm on vertical edges."}, "params": {"plate_w": {"type": "float", "default": 40, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 13.8, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "bolt_d": {"type": "float", "default": 8.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 12.0, "min": 8.0, "max": 18.0, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 8, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331457 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 40, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 13.8, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 12.0, \"min\": 8.0, \"max\": 18.0, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"plate_w\"], p[\"plate_d\"]) * 0.060492143691877845)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca702_2894", "family": "revolved", "tier": 2, "seed": 1177331458, "symmetry": "none", "op_count": 1, "ir_hash": "45fe69eda51bfb05", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 48500.0, "surface_area": 13000.0, "principal_moments": [11300000.0, 16399999.999999998, 16399999.999999998], "n_faces": 9, "n_edges": 13, "n_vertices": 9}, "dimensions": {"lines": ["Revolved body, \u00d826.93 mm \u00d7 68 mm tall with \u00d847.2 mm \u00d7 19.8 mm flange, 6.73 mm-wide groove 1.21 mm deep."], "text": "Revolved body, \u00d826.93 mm \u00d7 68 mm tall with \u00d847.2 mm \u00d7 19.8 mm flange, 6.73 mm-wide groove 1.21 mm deep."}, "params": {"outer_d": {"type": "float", "default": 26.93, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 68.0, "min": 20.4, "max": 204.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "flange_d": {"type": "float", "default": 47.2, "min": 32.3, "max": 80.8, "step": 1.0, "group": "Body", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 19.8, "min": 5.9, "max": 34.0, "step": 0.5, "group": "Body", "label": "Flange height (mm)"}, "groove_depth": {"type": "float", "default": 1.21, "min": 0.48, "max": 3.63, "step": 0.1, "group": "Body", "label": "Groove depth (mm)"}, "groove_w": {"type": "float", "default": 6.73, "min": 2.69, "max": 20.19, "step": 0.2, "group": "Body", "label": "Groove width (mm)"}, "groove_pos": {"type": "float", "default": 29.9, "min": 10.2, "max": 57.8, "step": 1.0, "group": "Body", "label": "Groove position (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331458 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 26.93, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 68.0, \"min\": 20.4, \"max\": 204.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 47.2, \"min\": 32.3, \"max\": 80.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 19.8, \"min\": 5.9, \"max\": 34.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Flange height (mm)'},\n    \"groove_depth\": {\"type\": 'float', \"default\": 1.21, \"min\": 0.48, \"max\": 3.63, \"step\": 0.1, \"group\": 'Body', \"label\": 'Groove depth (mm)'},\n    \"groove_w\": {\"type\": 'float', \"default\": 6.73, \"min\": 2.69, \"max\": 20.19, \"step\": 0.2, \"group\": 'Body', \"label\": 'Groove width (mm)'},\n    \"groove_pos\": {\"type\": 'float', \"default\": 29.9, \"min\": 10.2, \"max\": 57.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Groove position (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"groove_pos\"] - p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2 - p[\"groove_depth\"], p[\"groove_pos\"] - p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2 - p[\"groove_depth\"], p[\"groove_pos\"] + p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2, p[\"groove_pos\"] + p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca703_2895", "family": "compound", "tier": 1, "seed": 1177331459, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "75b4cf93684d26b6", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 14700.0, "surface_area": 3850.0, "principal_moments": [650000.0, 3800000.0, 3800000.0], "n_faces": 5, "n_edges": 6, "n_vertices": 4}, "dimensions": {"lines": ["\u00d820 mm circular section, extruded 37 mm thick.", "\u00d813.5 mm circular section attachment, 21.2 mm long, from top face."], "text": "\u00d820 mm circular section, extruded 37 mm thick. \u00d813.5 mm circular section attachment, 21.2 mm long, from top face."}, "params": {"shaft_d": {"type": "float", "default": 20, "min": 10.0, "max": 36.0, "step": 1.0, "group": "Body", "label": "Shaft diameter (mm)"}, "shaft_len": {"type": "float", "default": 37.0, "min": 14.8, "max": 74.0, "step": 1.0, "group": "Body", "label": "Shaft length (mm)"}, "step_d": {"type": "float", "default": 13.5, "min": 6.8, "max": 18.0, "step": 1.0, "group": "Step", "label": "Step diameter (mm)"}, "step_len": {"type": "float", "default": 21.2, "min": 6.4, "max": 53.0, "step": 1.0, "group": "Step", "label": "Step length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331459 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"shaft_d\": {\"type\": 'float', \"default\": 20, \"min\": 10.0, \"max\": 36.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft diameter (mm)'},\n    \"shaft_len\": {\"type\": 'float', \"default\": 37.0, \"min\": 14.8, \"max\": 74.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft length (mm)'},\n    \"step_d\": {\"type\": 'float', \"default\": 13.5, \"min\": 6.8, \"max\": 18.0, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step diameter (mm)'},\n    \"step_len\": {\"type\": 'float', \"default\": 21.2, \"min\": 6.4, \"max\": 53.0, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').circle(p[\"shaft_d\"] / 2).extrude(p[\"shaft_len\"]))\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"step_d\"] / 2).extrude(p[\"step_len\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca704_2896", "family": "plate", "tier": 1, "seed": 1177331460, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "65eebfff38e171bd", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 867.0, "surface_area": 810.0, "principal_moments": [8130.0, 38800.0, 44600.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 23.2 \u00d7 10 \u00d7 4 mm (W\u00d7D\u00d7H).", "Four \u00d82.2 mm holes at the corners, 16.24 \u00d7 7 mm spacing."], "text": "Rectangular body, 23.2 \u00d7 10 \u00d7 4 mm (W\u00d7D\u00d7H). Four \u00d82.2 mm holes at the corners, 16.24 \u00d7 7 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 23.2, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 10.0, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 4.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 2.2, "min": 2.0, "max": 2.2, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331460 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 23.2, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 10.0, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 4.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 2.2, \"min\": 2.0, \"max\": 2.2, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462ca705_2897", "family": "flanged", "tier": 2, "seed": 1177331461, "symmetry": "radial", "op_count": 2, "ir_hash": "c1cf8dd1f6ac94f9", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 52500.0, "surface_area": 18400.0, "principal_moments": [21400000.0, 23899999.999999996, 23899999.999999996], "n_faces": 10, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["Revolved body, \u00d834.84 mm \u00d7 49.4 mm tall with \u00d815.2 mm bore, \u00d881.9 mm \u00d7 3.5 mm flange.", "Four \u00d88.4 mm holes on a \u00d849.2 mm bolt circle."], "text": "Revolved body, \u00d834.84 mm \u00d7 49.4 mm tall with \u00d815.2 mm bore, \u00d881.9 mm \u00d7 3.5 mm flange. Four \u00d88.4 mm holes on a \u00d849.2 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 34.84, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 49.4, "min": 14.8, "max": 123.5, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 15.2, "min": 2.0, "max": 24.4, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 81.9, "min": 45.3, "max": 104.5, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 3.5, "min": 1.1, "max": 19.8, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 8.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 24.6, "min": 16.4, "max": 36.9, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 4, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331461 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 34.84, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 49.4, \"min\": 14.8, \"max\": 123.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 15.2, \"min\": 2.0, \"max\": 24.4, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 81.9, \"min\": 45.3, \"max\": 104.5, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 3.5, \"min\": 1.1, \"max\": 19.8, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 24.6, \"min\": 16.4, \"max\": 36.9, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 4, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca706_2898", "family": "compound", "tier": 1, "seed": 1177331462, "symmetry": "none", "op_count": 2, "ir_hash": "266e5d5f9568b40f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 25900.0, "surface_area": 6170.0, "principal_moments": [3300000.0, 4440000.0, 4500000.0], "n_faces": 9, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["Rectangular body, 36.57 \u00d7 24.9 \u00d7 27.7 mm (W\u00d7D\u00d7H).", "\u00d89.6 mm circular section attachment, 15.6 mm long, from front face with a \u00d83.9 mm bore."], "text": "Rectangular body, 36.57 \u00d7 24.9 \u00d7 27.7 mm (W\u00d7D\u00d7H). \u00d89.6 mm circular section attachment, 15.6 mm long, from front face with a \u00d83.9 mm bore."}, "params": {"block_w": {"type": "float", "default": 36.57, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 24.9, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 27.7, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "spig_d": {"type": "float", "default": 9.6, "min": 3.8, "max": 19.4, "step": 1.0, "group": "Spigot", "label": "Spigot diameter (mm)"}, "spig_len": {"type": "float", "default": 15.6, "min": 2.9, "max": 38.4, "step": 1.0, "group": "Spigot", "label": "Spigot length (mm)"}, "spig_bore": {"type": "float", "default": 3.9, "min": 2.0, "max": 6.9, "step": 0.5, "group": "Spigot", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331462 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 36.57, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 24.9, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 27.7, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"spig_d\": {\"type\": 'float', \"default\": 9.6, \"min\": 3.8, \"max\": 19.4, \"step\": 1.0, \"group\": 'Spigot', \"label\": 'Spigot diameter (mm)'},\n    \"spig_len\": {\"type\": 'float', \"default\": 15.6, \"min\": 2.9, \"max\": 38.4, \"step\": 1.0, \"group\": 'Spigot', \"label\": 'Spigot length (mm)'},\n    \"spig_bore\": {\"type\": 'float', \"default\": 3.9, \"min\": 2.0, \"max\": 6.9, \"step\": 0.5, \"group\": 'Spigot', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"spig_d\"] / 2).extrude(p[\"spig_len\"])\n    )\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"spig_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca707_2899", "family": "block", "tier": 1, "seed": 1177331463, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "cb08b71ada1055b2", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 163000.0, "surface_area": 23200.0, "principal_moments": [72900000.0, 84900000.0, 109000000.0], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["Rectangular body, 59.64 \u00d7 41.9 \u00d7 66.8 mm (W\u00d7D\u00d7H).", "Seven \u00d83.2 mm holes in two staggered rows, 14.9 \u00d7 13.6 mm pitch."], "text": "Rectangular body, 59.64 \u00d7 41.9 \u00d7 66.8 mm (W\u00d7D\u00d7H). Seven \u00d83.2 mm holes in two staggered rows, 14.9 \u00d7 13.6 mm pitch."}, "params": {"block_w": {"type": "float", "default": 59.64, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 41.9, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 66.8, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 4.2, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 4, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331463 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 59.64, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 41.9, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 66.8, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 4.2, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 4, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 14.9\n    _ssy = 13.6\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462ca708_2900", "family": "tapped", "tier": 0, "seed": 1177331464, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "fff669f11cf17ebf", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 9820.0, "surface_area": 3720.0, "principal_moments": [849000.0, 849000.0, 1100000.0], "n_faces": 128, "n_edges": 356, "n_vertices": 230}, "dimensions": {"lines": ["One M12x1.75 tapped hole in a cylinder."], "text": "One M12x1.75 tapped hole in a cylinder."}, "params": {"major_d": {"type": "float", "default": 12.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 1.75, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 19.2, "min": 14.4, "max": 34.6, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "body_d": {"type": "float", "default": 27.8, "min": 21.6, "max": 44.5, "step": 1.0, "group": "Body", "label": "Outer \u00d8 (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331464 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 12.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.75, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 19.2, \"min\": 14.4, \"max\": 34.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"body_d\": {\"type\": 'float', \"default\": 27.8, \"min\": 21.6, \"max\": 44.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer \u00d8 (mm)'},\n}\n\n\ndef build(p):\n\n    _W = _D = p[\"body_d\"]\n    _H = p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Cylinder(radius=_W / 2, height=_H)\n    _locs = [(0.0, 0.0)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca709_2901", "family": "plate", "tier": 3, "seed": 1177331465, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "54318f2443201e02", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 8420.0, "surface_area": 3890.0, "principal_moments": [553000.0, 1300000.0, 1630000.0], "n_faces": 16, "n_edges": 35, "n_vertices": 22}, "dimensions": {"lines": ["Rectangular body, 45 \u00d7 27.2 \u00d7 6 mm (W\u00d7D\u00d7H).", "Four \u00d83.2 mm countersunk holes (82\u00b0) at the corners, 31.5 \u00d7 19.04 mm spacing.", "Boss \u00d812.8 mm \u00d7 10.5 mm tall on top face."], "text": "Rectangular body, 45 \u00d7 27.2 \u00d7 6 mm (W\u00d7D\u00d7H). Four \u00d83.2 mm countersunk holes (82\u00b0) at the corners, 31.5 \u00d7 19.04 mm spacing. Boss \u00d812.8 mm \u00d7 10.5 mm tall on top face."}, "params": {"plate_w": {"type": "float", "default": 45, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 27.2, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 6.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 6.1, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "cs_angle": {"type": "float", "default": 82.0, "min": 60.0, "max": 120.0, "step": 15.0, "group": "Holes", "label": "Countersink angle (\u00b0)"}, "boss_d": {"type": "float", "default": 12.8, "min": 6.4, "max": 25.6, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 10.5, "min": 4.2, "max": 26.2, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331465 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 45, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 27.2, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 6.1, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"cs_angle\": {\"type\": 'float', \"default\": 82.0, \"min\": 60.0, \"max\": 120.0, \"step\": 15.0, \"group\": 'Holes', \"label\": 'Countersink angle (\u00b0)'},\n    \"boss_d\": {\"type\": 'float', \"default\": 12.8, \"min\": 6.4, \"max\": 25.6, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 10.5, \"min\": 4.2, \"max\": 26.2, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().cskHole(p[\"hole_d\"], p[\"hole_d\"] * 2, p[\"cs_angle\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca70a_2902", "family": "block", "tier": 1, "seed": 1177331466, "symmetry": "none", "op_count": 2, "ir_hash": "a7a016054bf8e719", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 95600.0, "surface_area": 16900.0, "principal_moments": [28199999.999999996, 39800000.0, 54199999.99999999], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 65 \u00d7 29.8 \u00d7 51.7 mm (W\u00d7D\u00d7H).", "Four \u00d85.3 mm holes at the corners, 45.5 \u00d7 20.86 mm spacing."], "text": "Rectangular body, 65 \u00d7 29.8 \u00d7 51.7 mm (W\u00d7D\u00d7H). Four \u00d85.3 mm holes at the corners, 45.5 \u00d7 20.86 mm spacing."}, "params": {"block_w": {"type": "float", "default": 65, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 29.8, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 51.7, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 6.7, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331466 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 65, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 29.8, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 51.7, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 6.7, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462ca70b_2903", "family": "lofted", "tier": 2, "seed": 1177331467, "symmetry": "none", "op_count": 2, "ir_hash": "09805a68cb50e294", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 28800.0, "surface_area": 6880.0, "principal_moments": [4530000.0, 5610000.0, 5610000.0], "n_faces": 9, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["Lofted body through 3 sections: \u00d845 mm circular section \u2192 6-sided polygon section, 30.8 mm across corners \u2192 6-sided polygon section, 16.6 mm across corners.", "One \u00d86.8 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 3 sections: \u00d845 mm circular section \u2192 6-sided polygon section, 30.8 mm across corners \u2192 6-sided polygon section, 16.6 mm across corners. One \u00d86.8 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 45, "min": 22.5, "max": 72.0, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 16.6, "min": 6.6, "max": 54.0, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 43.0, "min": 17.2, "max": 86.0, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_mid": {"type": "float", "default": 30.8, "min": 8.3, "max": 54.0, "step": 1.0, "group": "Body", "label": "Mid size (mm)"}, "loft_bore_d": {"type": "float", "default": 6.8, "min": 2.0, "max": 13.3, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331467 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 45, \"min\": 22.5, \"max\": 72.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 16.6, \"min\": 6.6, \"max\": 54.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 43.0, \"min\": 17.2, \"max\": 86.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_mid\": {\"type\": 'float', \"default\": 30.8, \"min\": 8.3, \"max\": 54.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Mid size (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 6.8, \"min\": 2.0, \"max\": 13.3, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .circle(p[\"loft_base\"] / 2)\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .polygon(6, p[\"loft_mid\"] * 0.5 * 2)\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .polygon(6, p[\"loft_top\"] * 0.5 * 2)\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462ca70c_2904", "family": "ribbed", "tier": 2, "seed": 1177331468, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "41156f5d979989ad", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 7840.0, "surface_area": 4940.0, "principal_moments": [702000.0, 1570000.0, 2150000.0], "n_faces": 30, "n_edges": 88, "n_vertices": 56}, "dimensions": {"lines": ["Rectangular body, 45 \u00d7 31.1 \u00d7 5 mm (W\u00d7D\u00d7H).", "Two ribs, 3.8 mm thick, 6.8 mm tall.", "Four \u00d86.4 mm holes at the corners, 31.5 \u00d7 21.77 mm spacing."], "text": "Rectangular body, 45 \u00d7 31.1 \u00d7 5 mm (W\u00d7D\u00d7H). Two ribs, 3.8 mm thick, 6.8 mm tall. Four \u00d86.4 mm holes at the corners, 31.5 \u00d7 21.77 mm spacing."}, "params": {"base_w": {"type": "float", "default": 45, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 31.1, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 5.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 2, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 6.8, "min": 2.7, "max": 13.6, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 3.8, "min": 1.0, "max": 9.5, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 7.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331468 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 45, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 31.1, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 2, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 6.8, \"min\": 2.7, \"max\": 13.6, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 3.8, \"min\": 1.0, \"max\": 9.5, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 7.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"base_w\"] * 0.7, p[\"base_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca70d_2905", "family": "plate", "tier": 1, "seed": 1177331469, "symmetry": "none", "op_count": 2, "ir_hash": "4b098a075958148c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 37000.0, "surface_area": 11900.0, "principal_moments": [12099999.999999998, 17400000.0, 29199999.999999996], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 75 \u00d7 62.4 \u00d7 8 mm (W\u00d7D\u00d7H).", "Four \u00d84.3 mm holes at the corners, 52.5 \u00d7 43.68 mm spacing."], "text": "Rectangular body, 75 \u00d7 62.4 \u00d7 8 mm (W\u00d7D\u00d7H). Four \u00d84.3 mm holes at the corners, 52.5 \u00d7 43.68 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 75, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 62.4, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331469 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 75, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 62.4, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462ca70e_2906", "family": "flanged", "tier": 2, "seed": 1177331470, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "bba067b14ed17412", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 148000.0, "surface_area": 33200.0, "principal_moments": [115000000.0, 115000000.0, 182000000.0], "n_faces": 22, "n_edges": 47, "n_vertices": 28}, "dimensions": {"lines": ["Revolved body, \u00d854.31 mm \u00d7 43.6 mm tall with \u00d826 mm bore, \u00d8117 mm \u00d7 8.4 mm flange.", "Six \u00d83.2 mm holes on a \u00d870.2 mm bolt circle.", "Chamfer 0.8 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d854.31 mm \u00d7 43.6 mm tall with \u00d826 mm bore, \u00d8117 mm \u00d7 8.4 mm flange. Six \u00d83.2 mm holes on a \u00d870.2 mm bolt circle. Chamfer 0.8 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 54.31, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 43.6, "min": 13.1, "max": 109.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 26.0, "min": 2.0, "max": 38.0, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 117.0, "min": 70.6, "max": 162.9, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 8.4, "min": 2.5, "max": 17.4, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 35.1, "min": 23.4, "max": 52.6, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 6, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}, "end_chamfer": {"type": "float", "default": 0.8, "min": 0.1, "max": 2.0, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331470 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 54.31, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 43.6, \"min\": 13.1, \"max\": 109.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 26.0, \"min\": 2.0, \"max\": 38.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 117.0, \"min\": 70.6, \"max\": 162.9, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 8.4, \"min\": 2.5, \"max\": 17.4, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 35.1, \"min\": 23.4, \"max\": 52.6, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.8, \"min\": 0.1, \"max\": 2.0, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca70f_2907", "family": "block", "tier": 1, "seed": 1177331471, "symmetry": "none", "op_count": 2, "ir_hash": "5e10e0cdd6025f1c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 3290.0, "surface_area": 1790.0, "principal_moments": [83500.0, 176000.0, 194000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 23.18 \u00d7 11.1 \u00d7 13.6 mm (W\u00d7D\u00d7H).", "Four \u00d82.2 mm holes at the corners, 16.226 \u00d7 7.77 mm spacing."], "text": "Rectangular body, 23.18 \u00d7 11.1 \u00d7 13.6 mm (W\u00d7D\u00d7H). Four \u00d82.2 mm holes at the corners, 16.226 \u00d7 7.77 mm spacing."}, "params": {"block_w": {"type": "float", "default": 23.18, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 11.1, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 13.6, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 2.2, "min": 2.0, "max": 2.5, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331471 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 23.18, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 11.1, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 13.6, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 2.2, \"min\": 2.0, \"max\": 2.5, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca710_2908", "family": "plate", "tier": 2, "seed": 1177331472, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "511e0038c470ebcb", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 6440.0, "surface_area": 2760.0, "principal_moments": [246000.0, 702000.0, 840000.0], "n_faces": 14, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 35.28 \u00d7 19.2 \u00d7 10 mm (W\u00d7D\u00d7H).", "Four \u00d83.2 mm holes at the corners, 24.696 \u00d7 13.44 mm spacing.", "Chamfer 0.9 mm on vertical edges."], "text": "Rectangular body, 35.28 \u00d7 19.2 \u00d7 10 mm (W\u00d7D\u00d7H). Four \u00d83.2 mm holes at the corners, 24.696 \u00d7 13.44 mm spacing. Chamfer 0.9 mm on vertical edges."}, "params": {"plate_w": {"type": "float", "default": 35.28, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 19.2, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 4.3, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "chamfer_d": {"type": "float", "default": 0.9, "min": 0.6, "max": 1.0, "step": 0.5, "group": "Body", "label": "Chamfer distance (mm)"}, "chamfered": {"type": "bool", "default": true, "group": "Body", "label": "Chamfer edges"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331472 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 35.28, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 19.2, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 4.3, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"chamfer_d\": {\"type\": 'float', \"default\": 0.9, \"min\": 0.6, \"max\": 1.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Chamfer distance (mm)'},\n    \"chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Chamfer edges'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"chamfered\"]:\n        result = result.edges('|Z').chamfer(p[\"chamfer_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca711_2909", "family": "plate", "tier": 0, "seed": 1177331473, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "433fbbd3fcbe72ee", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 2210.0, "surface_area": 1510.0, "principal_moments": [49000.0, 229000.0, 272000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 35 \u00d7 15.8 \u00d7 4 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 35 \u00d7 15.8 \u00d7 4 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 35, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 15.8, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 4.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331473 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 35, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 15.8, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 4.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca712_2910", "family": "plate", "tier": 0, "seed": 1177331474, "symmetry": "none", "op_count": 1, "ir_hash": "b41c8a4467fdd9c5", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 69700.0, "surface_area": 17400.0, "principal_moments": [21900000.0, 77400000.0, 98099999.99999999], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 115 \u00d7 60.6 \u00d7 10 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 115 \u00d7 60.6 \u00d7 10 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 115, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 60.6, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331474 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 115, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 60.6, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca713_2911", "family": "revolved", "tier": 0, "seed": 1177331475, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "5470bee3935b8241", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 5780.0, "surface_area": 3760.0, "principal_moments": [183000.0, 1030000.0, 1030000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d814.52 mm \u00d7 52.4 mm tall."], "text": "Revolved body, \u00d814.52 mm \u00d7 52.4 mm tall."}, "params": {"outer_d": {"type": "float", "default": 14.52, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 52.4, "min": 15.7, "max": 157.2, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331475 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 14.52, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 52.4, \"min\": 15.7, \"max\": 157.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca714_2912", "family": "plate", "tier": 2, "seed": 1177331476, "symmetry": "none", "op_count": 3, "ir_hash": "185e780967291373", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 28900.0, "surface_area": 9930.0, "principal_moments": [5270000.0, 15299999.999999998, 20300000.0], "n_faces": 26, "n_edges": 72, "n_vertices": 48}, "dimensions": {"lines": ["Rectangular body, 80 \u00d7 46.5 \u00d7 8 mm (W\u00d7D\u00d7H).", "Four 9.3 \u00d7 3.2 mm slots at the corners, 56 \u00d7 32.55 mm spacing.", "Chamfer 1.2 mm on vertical edges."], "text": "Rectangular body, 80 \u00d7 46.5 \u00d7 8 mm (W\u00d7D\u00d7H). Four 9.3 \u00d7 3.2 mm slots at the corners, 56 \u00d7 32.55 mm spacing. Chamfer 1.2 mm on vertical edges."}, "params": {"plate_w": {"type": "float", "default": 80, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 46.5, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 10.5, "step": 0.5, "group": "Holes", "label": "Slot width (mm)"}, "hole_slot_len": {"type": "float", "default": 9.3, "min": 4.8, "max": 13.9, "step": 0.5, "group": "Holes", "label": "Slot length (mm)"}, "chamfer_d": {"type": "float", "default": 1.2, "min": 1.0, "max": 1.7, "step": 0.5, "group": "Body", "label": "Chamfer distance (mm)"}, "chamfered": {"type": "bool", "default": true, "group": "Body", "label": "Chamfer edges"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331476 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 80, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 46.5, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 10.5, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Slot width (mm)'},\n    \"hole_slot_len\": {\"type\": 'float', \"default\": 9.3, \"min\": 4.8, \"max\": 13.9, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Slot length (mm)'},\n    \"chamfer_d\": {\"type\": 'float', \"default\": 1.2, \"min\": 1.0, \"max\": 1.7, \"step\": 0.5, \"group\": 'Body', \"label\": 'Chamfer distance (mm)'},\n    \"chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Chamfer edges'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().slot2D(p[\"hole_slot_len\"], p[\"hole_d\"]).cutThruAll()\n    )\n    if p[\"chamfered\"]:\n        result = result.edges('|Z').chamfer(p[\"chamfer_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca715_2913", "family": "bracket", "tier": 1, "seed": 1177331477, "symmetry": "none", "op_count": 1, "ir_hash": "0043cf7119c8c504", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 5580.0, "surface_area": 3950.0, "principal_moments": [758000.0, 1510000.0, 2040000.0], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["C-channel bracket: base leg 40.03 mm, vertical leg 33.7 mm, 15 mm wide, 4 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."], "text": "C-channel bracket: base leg 40.03 mm, vertical leg 33.7 mm, 15 mm wide, 4 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 40.03, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 33.7, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 15.0, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 4.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 6.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331477 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 40.03, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 33.7, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 15.0, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 6.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca716_2914", "family": "plate", "tier": 0, "seed": 1177331478, "symmetry": "none", "op_count": 1, "ir_hash": "92570392d463a404", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 43600.0, "surface_area": 13300.0, "principal_moments": [19400000.0, 20700000.0, 39600000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 75 \u00d7 72.6 \u00d7 8 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 75 \u00d7 72.6 \u00d7 8 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 75, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 72.6, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331478 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 75, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 72.6, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca717_2915", "family": "compound", "tier": 1, "seed": 1177331479, "symmetry": "none", "op_count": 2, "ir_hash": "1a1b1616d33842e0", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 7470.0, "surface_area": 2620.0, "principal_moments": [179000.0, 1830000.0, 1830000.0], "n_faces": 5, "n_edges": 6, "n_vertices": 4}, "dimensions": {"lines": ["\u00d815 mm circular section, extruded 31.2 mm thick.", "\u00d89.8 mm circular section attachment, 26 mm long, from top face."], "text": "\u00d815 mm circular section, extruded 31.2 mm thick. \u00d89.8 mm circular section attachment, 26 mm long, from top face."}, "params": {"shaft_d": {"type": "float", "default": 15, "min": 7.5, "max": 27.0, "step": 1.0, "group": "Body", "label": "Shaft diameter (mm)"}, "shaft_len": {"type": "float", "default": 31.2, "min": 12.5, "max": 62.4, "step": 1.0, "group": "Body", "label": "Shaft length (mm)"}, "step_d": {"type": "float", "default": 9.8, "min": 4.9, "max": 13.5, "step": 1.0, "group": "Step", "label": "Step diameter (mm)"}, "step_len": {"type": "float", "default": 26.0, "min": 7.8, "max": 65.0, "step": 1.0, "group": "Step", "label": "Step length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331479 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"shaft_d\": {\"type\": 'float', \"default\": 15, \"min\": 7.5, \"max\": 27.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft diameter (mm)'},\n    \"shaft_len\": {\"type\": 'float', \"default\": 31.2, \"min\": 12.5, \"max\": 62.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft length (mm)'},\n    \"step_d\": {\"type\": 'float', \"default\": 9.8, \"min\": 4.9, \"max\": 13.5, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step diameter (mm)'},\n    \"step_len\": {\"type\": 'float', \"default\": 26.0, \"min\": 7.8, \"max\": 65.0, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').circle(p[\"shaft_d\"] / 2).extrude(p[\"shaft_len\"]))\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"step_d\"] / 2).extrude(p[\"step_len\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462ca718_2916", "family": "sketched", "tier": 3, "seed": 1177331480, "symmetry": "none", "op_count": 1, "ir_hash": "74b87af6df7edc71", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 34500.0, "surface_area": 19900.0, "principal_moments": [7660000.0, 7660000.0, 10600000.0], "n_faces": 8, "n_edges": 13, "n_vertices": 7}, "dimensions": {"lines": ["Revolved organic body from a freeform sketched section (8 segments: 5 straight, 2 arcs, 1 curve), ~36.059 \u00d7 25 mm half-silhouette."], "text": "Revolved organic body from a freeform sketched section (8 segments: 5 straight, 2 arcs, 1 curve), ~36.059 \u00d7 25 mm half-silhouette."}, "params": {"sk_r": {"type": "float", "default": 38.69, "min": 19.3, "max": 69.6, "step": 1.0, "group": "Sketch", "label": "Max radius (mm)"}, "sk_h": {"type": "float", "default": 25, "min": 12.5, "max": 45.0, "step": 1.0, "group": "Sketch", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331480 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_r\": {\"type\": 'float', \"default\": 38.69, \"min\": 19.3, \"max\": 69.6, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Max radius (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 25, \"min\": 12.5, \"max\": 45.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XZ').moveTo(p[\"sk_r\"] * 0.932, p[\"sk_h\"] * 0.0).lineTo(p[\"sk_r\"] * 0.2614, p[\"sk_h\"] * 0.3104).threePointArc((p[\"sk_r\"] * 0.5219, p[\"sk_h\"] * 0.36), (p[\"sk_r\"] * 0.5994, p[\"sk_h\"] * 0.4097)).threePointArc((p[\"sk_r\"] * 0.5088, p[\"sk_h\"] * 0.4268), (p[\"sk_r\"] * 0.3291, p[\"sk_h\"] * 0.4439)).lineTo(p[\"sk_r\"] * 0.7375, p[\"sk_h\"] * 0.489).lineTo(p[\"sk_r\"] * 0.1436, p[\"sk_h\"] * 0.6895).bezier([(p[\"sk_r\"] * 0.1436, p[\"sk_h\"] * 0.6895), (p[\"sk_r\"] * 0.5816, p[\"sk_h\"] * 0.8448), (p[\"sk_r\"] * 0.6993, p[\"sk_h\"] * 1.0)]).lineTo(p[\"sk_r\"] * 0.0, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.0, p[\"sk_h\"] * 0.0).close().revolve())\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462ca719_2917", "family": "flanged", "tier": 3, "seed": 1177331481, "symmetry": "radial", "op_count": 3, "ir_hash": "e23ac5b1a31d9da9", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 11200.0, "surface_area": 7140.0, "principal_moments": [1880000.0, 1880000.0, 2310000.0], "n_faces": 22, "n_edges": 47, "n_vertices": 28}, "dimensions": {"lines": ["Revolved body, \u00d822.49 mm \u00d7 25.4 mm tall with \u00d812.1 mm bore, \u00d853.7 mm \u00d7 2.3 mm flange.", "Six \u00d84.3 mm holes on a \u00d832.2 mm bolt circle.", "Chamfer 0.7 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d822.49 mm \u00d7 25.4 mm tall with \u00d812.1 mm bore, \u00d853.7 mm \u00d7 2.3 mm flange. Six \u00d84.3 mm holes on a \u00d832.2 mm bolt circle. Chamfer 0.7 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 22.49, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 25.4, "min": 7.6, "max": 63.5, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 12.1, "min": 2.0, "max": 15.7, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 53.7, "min": 29.2, "max": 67.5, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 2.3, "min": 0.7, "max": 10.2, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 16.1, "min": 10.7, "max": 24.2, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 6, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}, "end_chamfer": {"type": "float", "default": 0.7, "min": 0.1, "max": 2.0, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331481 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 22.49, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 25.4, \"min\": 7.6, \"max\": 63.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 12.1, \"min\": 2.0, \"max\": 15.7, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 53.7, \"min\": 29.2, \"max\": 67.5, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 2.3, \"min\": 0.7, \"max\": 10.2, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 16.1, \"min\": 10.7, \"max\": 24.2, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.7, \"min\": 0.1, \"max\": 2.0, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462ca71a_2918", "family": "profiled", "tier": 0, "seed": 1177331482, "symmetry": "none", "op_count": 1, "ir_hash": "72fef6860f625d99", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 135000.0, "surface_area": 20000.0, "principal_moments": [18800000.0, 351000000.0, 360000000.0], "n_faces": 8, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["freeform sketched section (6 segments: 2 straight, 3 arcs, 1 curve), ~25.267 \u00d7 41.295 mm, extruded 175.6 mm thick."], "text": "freeform sketched section (6 segments: 2 straight, 3 arcs, 1 curve), ~25.267 \u00d7 41.295 mm, extruded 175.6 mm thick."}, "params": {"sk_w": {"type": "float", "default": 27.62, "min": 13.8, "max": 49.7, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 50, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "length": {"type": "float", "default": 175.6, "min": 52.7, "max": 526.8, "step": 5.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331482 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 27.62, \"min\": 13.8, \"max\": 49.7, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 50, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 175.6, \"min\": 52.7, \"max\": 526.8, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.4484, p[\"sk_h\"] * -0.0577).threePointArc((p[\"sk_w\"] * 0.3611, p[\"sk_h\"] * 0.2454), (p[\"sk_w\"] * 0.0973, p[\"sk_h\"] * 0.4336)).spline([(p[\"sk_w\"] * 0.0973, p[\"sk_h\"] * 0.4336), (p[\"sk_w\"] * -0.0556, p[\"sk_h\"] * 0.4085), (p[\"sk_w\"] * -0.195, p[\"sk_h\"] * 0.3408)]).lineTo(p[\"sk_w\"] * -0.4664, p[\"sk_h\"] * 0.0268).threePointArc((p[\"sk_w\"] * -0.3953, p[\"sk_h\"] * -0.1837), (p[\"sk_w\"] * -0.1962, p[\"sk_h\"] * -0.332)).threePointArc((p[\"sk_w\"] * 0.0295, p[\"sk_h\"] * -0.3927), (p[\"sk_w\"] * 0.2491, p[\"sk_h\"] * -0.3923)).lineTo(p[\"sk_w\"] * 0.4484, p[\"sk_h\"] * -0.0577).close().extrude(p[\"length\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462ca71b_2919", "family": "threaded", "tier": 0, "seed": 1177331483, "symmetry": "none", "op_count": 1, "ir_hash": "06e76e1bc0f2635d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 353.0, "surface_area": 458.0, "principal_moments": [1310.0, 7590.0, 7600.0], "n_faces": 160, "n_edges": 406, "n_vertices": 248}, "dimensions": {"lines": ["M6x1 external thread, 15.5 mm long."], "text": "M6x1 external thread, 15.5 mm long."}, "params": {"major_d": {"type": "float", "default": 6.0, "min": 4.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Major diameter (mm)"}, "pitch": {"type": "float", "default": 1.0, "min": 0.5, "max": 2.0, "step": 0.05, "group": "Thread", "label": "Pitch (mm)"}, "thread_len": {"type": "float", "default": 15.5, "min": 6.2, "max": 31.0, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331483 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 6.0, \"min\": 4.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Major diameter (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.0, \"min\": 0.5, \"max\": 2.0, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Pitch (mm)'},\n    \"thread_len\": {\"type\": 'float', \"default\": 15.5, \"min\": 6.2, \"max\": 31.0, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.IsoThread(major_diameter=p[\"major_d\"], pitch=p[\"pitch\"], length=p[\"thread_len\"], external=True, end_finishes=(\"fade\", \"fade\"))\n    _r = _thr.min_radius if hasattr(_thr, 'min_radius') else _thr.root_radius\n    _shank = _bd.Cylinder(radius=_r, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = _shank + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca71c_2920", "family": "revolved", "tier": 1, "seed": 1177331484, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "3a88886596933439", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 65100.0, "surface_area": 15200.0, "principal_moments": [18500000.0, 25899999.999999996, 25899999.999999996], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d843.52 mm \u00d7 65.6 mm tall."], "text": "Revolved body, \u00d843.52 mm \u00d7 65.6 mm tall."}, "params": {"outer_d": {"type": "float", "default": 43.52, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 65.6, "min": 19.7, "max": 196.8, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331484 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 43.52, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 65.6, \"min\": 19.7, \"max\": 196.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca71d_2921", "family": "compound", "tier": 1, "seed": 1177331485, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "a4dfb6a6859803a4", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 214000.0, "surface_area": 39000.0, "principal_moments": [261000000.0, 327000000.0, 349000000.0], "n_faces": 18, "n_edges": 45, "n_vertices": 30}, "dimensions": {"lines": ["Rectangular body, 90 \u00d7 98 \u00d7 20 mm (W\u00d7D\u00d7H).", "6-sided polygon section, 25.2 mm across corners attachment, 117.9 mm long, from top face with a \u00d89.5 mm bore.", "Four \u00d84.3 mm holes at the corners, 63 \u00d7 68.6 mm spacing."], "text": "Rectangular body, 90 \u00d7 98 \u00d7 20 mm (W\u00d7D\u00d7H). 6-sided polygon section, 25.2 mm across corners attachment, 117.9 mm long, from top face with a \u00d89.5 mm bore. Four \u00d84.3 mm holes at the corners, 63 \u00d7 68.6 mm spacing."}, "params": {"base_w": {"type": "float", "default": 90, "min": 30.0, "max": 160.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 98.0, "min": 25.0, "max": 160.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_h": {"type": "float", "default": 20.0, "min": 3.0, "max": 30.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "col_sides": {"type": "int", "default": 6, "min": 3, "max": 8, "step": 1, "group": "Column", "label": "Column sides"}, "col_r": {"type": "float", "default": 12.6, "min": 6.3, "max": 22.5, "step": 1.0, "group": "Column", "label": "Column circumradius (mm)"}, "col_h": {"type": "float", "default": 117.9, "min": 35.4, "max": 353.7, "step": 1.0, "group": "Column", "label": "Column height (mm)"}, "col_bore": {"type": "float", "default": 9.5, "min": 2.0, "max": 15.7, "step": 0.5, "group": "Column", "label": "Column bore diameter (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331485 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 90, \"min\": 30.0, \"max\": 160.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 98.0, \"min\": 25.0, \"max\": 160.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_h\": {\"type\": 'float', \"default\": 20.0, \"min\": 3.0, \"max\": 30.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"col_sides\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Column', \"label\": 'Column sides'},\n    \"col_r\": {\"type\": 'float', \"default\": 12.6, \"min\": 6.3, \"max\": 22.5, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column circumradius (mm)'},\n    \"col_h\": {\"type\": 'float', \"default\": 117.9, \"min\": 35.4, \"max\": 353.7, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column height (mm)'},\n    \"col_bore\": {\"type\": 'float', \"default\": 9.5, \"min\": 2.0, \"max\": 15.7, \"step\": 0.5, \"group\": 'Column', \"label\": 'Column bore diameter (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_h\"])\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"col_sides\"], p[\"col_r\"] * 2).extrude(p[\"col_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"col_bore\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"base_w\"] * 0.7, p[\"base_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca71e_2922", "family": "block", "tier": 1, "seed": 1177331486, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "362bf3765a31b1ad", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 734000.0, "surface_area": 62200.0, "principal_moments": [949000000.0, 958000000.0, 1210000000.0], "n_faces": 22, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 100 \u00d7 75.8 \u00d7 100 mm (W\u00d7D\u00d7H).", "Four 7.7 mm square holes at the corners, 70 \u00d7 53.06 mm spacing."], "text": "Rectangular body, 100 \u00d7 75.8 \u00d7 100 mm (W\u00d7D\u00d7H). Four 7.7 mm square holes at the corners, 70 \u00d7 53.06 mm spacing."}, "params": {"block_w": {"type": "float", "default": 100.0, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 75.8, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 100.0, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 7.7, "min": 2.0, "max": 16.9, "step": 0.5, "group": "Holes", "label": "Square hole size (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331486 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 100.0, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 75.8, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 100.0, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 7.7, \"min\": 2.0, \"max\": 16.9, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Square hole size (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().rect(p[\"hole_d\"], p[\"hole_d\"]).cutThruAll()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca71f_2923", "family": "bracket", "tier": 1, "seed": 1177331487, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "c998bfe98189ecc9", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 38200.0, "surface_area": 17600.0, "principal_moments": [21800000.0, 25799999.999999996, 34700000.0], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["C-channel bracket: base leg 55 mm, vertical leg 62.6 mm, 45 mm wide, 5 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."], "text": "C-channel bracket: base leg 55 mm, vertical leg 62.6 mm, 45 mm wide, 5 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 55, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 62.6, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 45, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 5.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331487 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 55, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 62.6, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 45, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462ca721_2925", "family": "sketched", "tier": 2, "seed": 1177331489, "symmetry": "none", "op_count": 1, "ir_hash": "778589be75ee2069", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 104000.0, "surface_area": 14700.0, "principal_moments": [34100000.0, 41900000.0, 41900000.0], "n_faces": 6, "n_edges": 9, "n_vertices": 5}, "dimensions": {"lines": ["Revolved organic body from a freeform sketched section (6 segments: 2 straight, 3 arcs, 1 curve), ~29.109 \u00d7 59.07 mm half-silhouette."], "text": "Revolved organic body from a freeform sketched section (6 segments: 2 straight, 3 arcs, 1 curve), ~29.109 \u00d7 59.07 mm half-silhouette."}, "params": {"sk_r": {"type": "float", "default": 30, "min": 15.0, "max": 54.0, "step": 1.0, "group": "Sketch", "label": "Max radius (mm)"}, "sk_h": {"type": "float", "default": 59.07, "min": 29.5, "max": 106.3, "step": 1.0, "group": "Sketch", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331489 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_r\": {\"type\": 'float', \"default\": 30, \"min\": 15.0, \"max\": 54.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Max radius (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 59.07, \"min\": 29.5, \"max\": 106.3, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XZ').moveTo(p[\"sk_r\"] * 0.4436, p[\"sk_h\"] * 0.0).threePointArc((p[\"sk_r\"] * 0.5766, p[\"sk_h\"] * 0.107), (p[\"sk_r\"] * 0.8317, p[\"sk_h\"] * 0.2139)).threePointArc((p[\"sk_r\"] * 0.5536, p[\"sk_h\"] * 0.2429), (p[\"sk_r\"] * 0.3741, p[\"sk_h\"] * 0.2719)).bezier([(p[\"sk_r\"] * 0.3741, p[\"sk_h\"] * 0.2719), (p[\"sk_r\"] * 0.6845, p[\"sk_h\"] * 0.4064), (p[\"sk_r\"] * 0.9703, p[\"sk_h\"] * 0.5409)]).threePointArc((p[\"sk_r\"] * 0.9006, p[\"sk_h\"] * 0.7705), (p[\"sk_r\"] * 0.9668, p[\"sk_h\"] * 1.0)).lineTo(p[\"sk_r\"] * 0.0, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.0, p[\"sk_h\"] * 0.0).close().revolve())\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca722_2926", "family": "revolved", "tier": 0, "seed": 1177331490, "symmetry": "none", "op_count": 1, "ir_hash": "dc792ca5d81850ad", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 1030000.0, "surface_area": 123000.0, "principal_moments": [966000000.0, 6560000000.0, 6560000000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d879.04 mm \u00d7 315.1 mm tall."], "text": "Revolved body, \u00d879.04 mm \u00d7 315.1 mm tall."}, "params": {"outer_d": {"type": "float", "default": 79.04, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 315.1, "min": 94.5, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331490 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 79.04, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 315.1, \"min\": 94.5, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462ca724_2928", "family": "swept", "tier": 1, "seed": 1177331492, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "01db1e386a9e2120", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 19400.0, "surface_area": 6550.0, "principal_moments": [1170000.0, 16900000.0, 17600000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["20 \u00d7 12.5 mm rectangular section swept along a curved path, ~77.31 mm span."], "text": "20 \u00d7 12.5 mm rectangular section swept along a curved path, ~77.31 mm span."}, "params": {"path_w": {"type": "float", "default": 65, "min": 32.5, "max": 117.0, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 77.31, "min": 38.7, "max": 139.2, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_a": {"type": "float", "default": 20.0, "min": 10.0, "max": 36.0, "step": 1.0, "group": "Section", "label": "Section width (mm)"}, "sweep_b": {"type": "float", "default": 12.5, "min": 6.2, "max": 22.5, "step": 1.0, "group": "Section", "label": "Section depth (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331492 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 65, \"min\": 32.5, \"max\": 117.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 77.31, \"min\": 38.7, \"max\": 139.2, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_a\": {\"type\": 'float', \"default\": 20.0, \"min\": 10.0, \"max\": 36.0, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section width (mm)'},\n    \"sweep_b\": {\"type\": 'float', \"default\": 12.5, \"min\": 6.2, \"max\": 22.5, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section depth (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.2823, p[\"path_h\"] * 0.3294), (p[\"path_w\"] * 0.4999, p[\"path_h\"] * 0.5548), (p[\"path_w\"] * 0.8894, p[\"path_h\"] * 0.6668), (p[\"path_w\"] * 0.7747, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').rect(p[\"sweep_a\"], p[\"sweep_b\"]).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca725_2929", "family": "revolved", "tier": 2, "seed": 1177331493, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "f7239bb6bf84e49e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 305000.0, "surface_area": 39400.0, "principal_moments": [98099999.99999999, 889000000.0, 889000000.0], "n_faces": 8, "n_edges": 14, "n_vertices": 8}, "dimensions": {"lines": ["Revolved body, \u00d848.53 mm \u00d7 181.8 mm tall with \u00d814.8 mm bore.", "Chamfer 0.6 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d848.53 mm \u00d7 181.8 mm tall with \u00d814.8 mm bore. Chamfer 0.6 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 48.53, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 181.8, "min": 54.5, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 14.8, "min": 2.0, "max": 34.0, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "end_chamfer": {"type": "float", "default": 0.6, "min": 0.1, "max": 1.8, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331493 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 48.53, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 181.8, \"min\": 54.5, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 14.8, \"min\": 2.0, \"max\": 34.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.6, \"min\": 0.1, \"max\": 1.8, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca726_2930", "family": "bracket", "tier": 2, "seed": 1177331494, "symmetry": "none", "op_count": 1, "ir_hash": "9b14ec9834f3195c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 23500.0, "surface_area": 13400.0, "principal_moments": [11999999.999999998, 19100000.0, 27699999.999999996], "n_faces": 19, "n_edges": 51, "n_vertices": 34}, "dimensions": {"lines": ["C-channel bracket: base leg 65.73 mm, vertical leg 65.4 mm, 30 mm wide, 4 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 4.8 mm corner gusset."], "text": "C-channel bracket: base leg 65.73 mm, vertical leg 65.4 mm, 30 mm wide, 4 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 4.8 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 65.73, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 65.4, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 30, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 4.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 4.8, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331494 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 65.73, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 65.4, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 30, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 4.8, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl / 2, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bl - _bt, _bt).lineTo(_bl - _bt - _g, _bt)\n                    .lineTo(_bl - _bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462ca727_2931", "family": "sketched", "tier": 1, "seed": 1177331495, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "9e292ee8986ad4d2", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 51200.0, "surface_area": 9220.0, "principal_moments": [10800000.0, 14499999.999999998, 21900000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["freeform sketched section (7 segments: 3 straight, 1 arc, 3 curves), ~61.813 \u00d7 49.974 mm, extruded 20 mm thick.", "One \u00d86.4 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "freeform sketched section (7 segments: 3 straight, 1 arc, 3 curves), ~61.813 \u00d7 49.974 mm, extruded 20 mm thick. One \u00d86.4 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"sk_w": {"type": "float", "default": 72.97, "min": 36.5, "max": 131.3, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 60, "min": 30.0, "max": 108.0, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "sk_t": {"type": "float", "default": 20, "min": 8.0, "max": 44.0, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "sk_hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 12.8, "step": 0.5, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331495 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 72.97, \"min\": 36.5, \"max\": 131.3, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 60, \"min\": 30.0, \"max\": 108.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"sk_t\": {\"type\": 'float', \"default\": 20, \"min\": 8.0, \"max\": 44.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"sk_hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 12.8, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.3758, p[\"sk_h\"] * 0.0475).lineTo(p[\"sk_w\"] * 0.334, p[\"sk_h\"] * 0.3646).spline([(p[\"sk_w\"] * 0.334, p[\"sk_h\"] * 0.3646), (p[\"sk_w\"] * 0.0507, p[\"sk_h\"] * 0.4357), (p[\"sk_w\"] * -0.2401, p[\"sk_h\"] * 0.4083)]).lineTo(p[\"sk_w\"] * -0.393, p[\"sk_h\"] * 0.2719).bezier([(p[\"sk_w\"] * -0.393, p[\"sk_h\"] * 0.2719), (p[\"sk_w\"] * -0.4666, p[\"sk_h\"] * 0.1031), (p[\"sk_w\"] * -0.4713, p[\"sk_h\"] * -0.081)]).spline([(p[\"sk_w\"] * -0.4713, p[\"sk_h\"] * -0.081), (p[\"sk_w\"] * -0.3165, p[\"sk_h\"] * -0.2827), (p[\"sk_w\"] * -0.1055, p[\"sk_h\"] * -0.4246)]).lineTo(p[\"sk_w\"] * 0.1506, p[\"sk_h\"] * -0.3989).threePointArc((p[\"sk_w\"] * 0.3324, p[\"sk_h\"] * -0.2204), (p[\"sk_w\"] * 0.3758, p[\"sk_h\"] * 0.0475)).close().extrude(p[\"sk_t\"]))\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"sk_hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462ca728_2932", "family": "profiled", "tier": 1, "seed": 1177331496, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "93d6e86b0aa4bee7", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 6860.0, "surface_area": 2690.0, "principal_moments": [117000.0, 2440000.0, 2440000.0], "n_faces": 8, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["6-sided polygon section, 12.8 mm across corners, extruded 64.5 mm thick."], "text": "6-sided polygon section, 12.8 mm across corners, extruded 64.5 mm thick."}, "params": {"circ_r": {"type": "float", "default": 6.4, "min": 3.2, "max": 12.8, "step": 1.0, "group": "Profile", "label": "Circumscribed radius (mm)"}, "n_sides": {"type": "int", "default": 6, "min": 3, "max": 8, "step": 1, "group": "Profile", "label": "Sides"}, "length": {"type": "float", "default": 64.5, "min": 19.3, "max": 193.5, "step": 5.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331496 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"circ_r\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.2, \"max\": 12.8, \"step\": 1.0, \"group\": 'Profile', \"label\": 'Circumscribed radius (mm)'},\n    \"n_sides\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Profile', \"label\": 'Sides'},\n    \"length\": {\"type\": 'float', \"default\": 64.5, \"min\": 19.3, \"max\": 193.5, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').polygon(p[\"n_sides\"], p[\"circ_r\"] * 2).extrude(p[\"length\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca729_2933", "family": "bracket", "tier": 2, "seed": 1177331497, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "f4370776a44b0151", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 49700.0, "surface_area": 22100.0, "principal_moments": [17600000.0, 78600000.0, 83500000.0], "n_faces": 18, "n_edges": 48, "n_vertices": 32}, "dimensions": {"lines": ["Z-bracket: base leg 85.81 mm, vertical leg 51.5 mm, top leg 54.6 mm, 52.98 mm wide, 5 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg; 6.9 mm corner gusset."], "text": "Z-bracket: base leg 85.81 mm, vertical leg 51.5 mm, top leg 54.6 mm, 52.98 mm wide, 5 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg; 6.9 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 85.81, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 51.5, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 52.98, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 5.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 54.6, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}, "gusset_t": {"type": "float", "default": 6.9, "min": 2.5, "max": 15.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331497 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 85.81, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 51.5, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 52.98, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 54.6, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 6.9, \"min\": 2.5, \"max\": 15.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _tl, _vl) * 0.4 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(0, _vl - _bt).lineTo(-_g, _vl - _bt)\n                    .lineTo(0, _vl - _bt - _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca72a_2934", "family": "revolved", "tier": 2, "seed": 1177331498, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "4488e13e4a7bae95", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 375000.0, "surface_area": 58900.0, "principal_moments": [255000000.0, 1060000000.0, 1060000000.0], "n_faces": 4, "n_edges": 6, "n_vertices": 4}, "dimensions": {"lines": ["Revolved body, \u00d864.03 mm \u00d7 172.6 mm tall with \u00d836.5 mm bore."], "text": "Revolved body, \u00d864.03 mm \u00d7 172.6 mm tall with \u00d836.5 mm bore."}, "params": {"outer_d": {"type": "float", "default": 64.03, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 172.6, "min": 51.8, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 36.5, "min": 2.0, "max": 44.8, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331498 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 64.03, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 172.6, \"min\": 51.8, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 36.5, \"min\": 2.0, \"max\": 44.8, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca72b_2935", "family": "revolved", "tier": 1, "seed": 1177331499, "symmetry": "radial", "op_count": 1, "ir_hash": "0b445fde72af75a5", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 485000.0, "surface_area": 67200.0, "principal_moments": [377000000.0, 1550000000.0, 1550000000.0], "n_faces": 4, "n_edges": 6, "n_vertices": 4}, "dimensions": {"lines": ["Revolved body, \u00d869.22 mm \u00d7 183.9 mm tall with \u00d837.9 mm bore."], "text": "Revolved body, \u00d869.22 mm \u00d7 183.9 mm tall with \u00d837.9 mm bore."}, "params": {"outer_d": {"type": "float", "default": 69.22, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 183.9, "min": 55.2, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 37.9, "min": 2.0, "max": 48.5, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331499 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 69.22, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 183.9, \"min\": 55.2, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 37.9, \"min\": 2.0, \"max\": 48.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462ca72c_2936", "family": "gear", "tier": 2, "seed": 1177331500, "symmetry": "none", "op_count": 1, "ir_hash": "a9f06f0e40268568", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 2250.0, "surface_area": 1980.0, "principal_moments": [128000.0, 128000.0, 251000.0], "n_faces": 159, "n_edges": 471, "n_vertices": 314}, "dimensions": {"lines": ["Helical gear, module 1 mm, 26 teeth (pitch \u00d826 mm), face width 3.4 mm, 26.9\u00b0 helix, \u00d84.3 mm bore."], "text": "Helical gear, module 1 mm, 26 teeth (pitch \u00d826 mm), face width 3.4 mm, 26.9\u00b0 helix, \u00d84.3 mm bore."}, "params": {"module": {"type": "float", "default": 1.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 26, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 3.4, "min": 1.4, "max": 8.5, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "helix_angle": {"type": "float", "default": 26.9, "min": 5.0, "max": 40.0, "step": 1.0, "group": "Gear", "label": "Helix angle (deg)"}, "profile_shift": {"type": "float", "default": 0.15, "min": -0.5, "max": 0.7, "step": 0.05, "group": "Gear", "label": "Profile shift"}, "root_fillet": {"type": "float", "default": 0.26, "min": 0.0, "max": 0.5, "step": 0.05, "group": "Gear", "label": "Root fillet (mm)"}, "bore_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 14.1, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331500 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 1.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 26, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 3.4, \"min\": 1.4, \"max\": 8.5, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"helix_angle\": {\"type\": 'float', \"default\": 26.9, \"min\": 5.0, \"max\": 40.0, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Helix angle (deg)'},\n    \"profile_shift\": {\"type\": 'float', \"default\": 0.15, \"min\": -0.5, \"max\": 0.7, \"step\": 0.05, \"group\": 'Gear', \"label\": 'Profile shift'},\n    \"root_fillet\": {\"type\": 'float', \"default\": 0.26, \"min\": 0.0, \"max\": 0.5, \"step\": 0.05, \"group\": 'Gear', \"label\": 'Root fillet (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 14.1, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.HelicalGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"], helix_angle=math.radians(p[\"helix_angle\"]), herringbone=False, profile_shift=p[\"profile_shift\"], root_fillet=p[\"root_fillet\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462ca72d_2937", "family": "enclosure", "tier": 1, "seed": 1177331501, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "4f160bc99758a8d8", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 41700.0, "surface_area": 16000.0, "principal_moments": [13999999.999999998, 15899999.999999998, 20900000.0], "n_faces": 11, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 50.14 \u00d7 29.8 \u00d7 49.6 mm (W\u00d7D\u00d7H).", "Hollowed to 5.5 mm wall thickness, open at top face."], "text": "Rectangular body, 50.14 \u00d7 29.8 \u00d7 49.6 mm (W\u00d7D\u00d7H). Hollowed to 5.5 mm wall thickness, open at top face."}, "params": {"enc_w": {"type": "float", "default": 50.14, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 29.8, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 49.6, "min": 19.8, "max": 99.2, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 5.5, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331501 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 50.14, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 29.8, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 49.6, \"min\": 19.8, \"max\": 99.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 5.5, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462ca72e_2938", "family": "profiled", "tier": 2, "seed": 1177331502, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "bce23bce290b1ac8", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 20900.0, "surface_area": 11500.0, "principal_moments": [863000.0, 26299999.999999996, 26299999.999999996], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d816.61 mm \u00d7 144.4 mm tall."], "text": "Revolved body, \u00d816.61 mm \u00d7 144.4 mm tall."}, "params": {"outer_d": {"type": "float", "default": 16.61, "min": 8.3, "max": 33.2, "step": 1.0, "group": "Profile", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 144.4, "min": 43.3, "max": 433.2, "step": 5.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331502 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 16.61, \"min\": 8.3, \"max\": 33.2, \"step\": 1.0, \"group\": 'Profile', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 144.4, \"min\": 43.3, \"max\": 433.2, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462ca72f_2939", "family": "tapped", "tier": 1, "seed": 1177331503, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "822bf73448a1edd4", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 26400.0, "surface_area": 10100.0, "principal_moments": [3150000.0, 6730000.0, 8270000.0], "n_faces": 506, "n_edges": 1424, "n_vertices": 920}, "dimensions": {"lines": ["Four M12x1.75 tapped holes in a plate."], "text": "Four M12x1.75 tapped holes in a plate."}, "params": {"major_d": {"type": "float", "default": 12.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 1.75, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 19.2, "min": 14.4, "max": 34.6, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "plate_w": {"type": "float", "default": 52.69, "min": 31.6, "max": 84.3, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 33.4, "min": 20.0, "max": 53.4, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331503 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 12.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.75, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 19.2, \"min\": 14.4, \"max\": 34.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"plate_w\": {\"type\": 'float', \"default\": 52.69, \"min\": 31.6, \"max\": 84.3, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 33.4, \"min\": 20.0, \"max\": 53.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n}\n\n\ndef build(p):\n\n    _W, _D, _H = p[\"plate_w\"], p[\"plate_d\"], p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Box(_W, _D, _H)\n    _sx, _sy = p[\"plate_w\"] * 0.6, p[\"plate_d\"] * 0.6\n    _locs = [(_xx, _yy) for _xx in (-_sx / 2, _sx / 2) for _yy in (-_sy / 2, _sy / 2)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462ca730_2940", "family": "profiled", "tier": 0, "seed": 1177331504, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "652fef9378cd20e1", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 141000.0, "surface_area": 20300.0, "principal_moments": [17400000.0, 433000000.0, 438000000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["35 \u00d7 24.92 mm slot section, extruded 190.7 mm thick."], "text": "35 \u00d7 24.92 mm slot section, extruded 190.7 mm thick."}, "params": {"slot_len": {"type": "float", "default": 35, "min": 17.5, "max": 70.0, "step": 1.0, "group": "Profile", "label": "Slot length (mm)"}, "slot_w": {"type": "float", "default": 24.92, "min": 12.5, "max": 49.8, "step": 0.5, "group": "Profile", "label": "Slot width (mm)"}, "length": {"type": "float", "default": 190.7, "min": 57.2, "max": 572.1, "step": 5.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331504 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"slot_len\": {\"type\": 'float', \"default\": 35, \"min\": 17.5, \"max\": 70.0, \"step\": 1.0, \"group\": 'Profile', \"label\": 'Slot length (mm)'},\n    \"slot_w\": {\"type\": 'float', \"default\": 24.92, \"min\": 12.5, \"max\": 49.8, \"step\": 0.5, \"group\": 'Profile', \"label\": 'Slot width (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 190.7, \"min\": 57.2, \"max\": 572.1, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').slot2D(p[\"slot_len\"], p[\"slot_w\"]).extrude(p[\"length\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462ca731_2941", "family": "swept", "tier": 2, "seed": 1177331505, "symmetry": "none", "op_count": 1, "ir_hash": "4bccfbfcf3e56319", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 15900.0, "surface_area": 5680.0, "principal_moments": [618000.0, 15499999.999999998, 15799999.999999998], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["14.1 \u00d7 12 mm rectangular section swept along a curved path, ~107.34 mm span."], "text": "14.1 \u00d7 12 mm rectangular section swept along a curved path, ~107.34 mm span."}, "params": {"path_w": {"type": "float", "default": 33.92, "min": 17.0, "max": 61.1, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 107.34, "min": 53.7, "max": 193.2, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_a": {"type": "float", "default": 14.1, "min": 7.0, "max": 25.4, "step": 1.0, "group": "Section", "label": "Section width (mm)"}, "sweep_b": {"type": "float", "default": 12.0, "min": 6.0, "max": 21.6, "step": 1.0, "group": "Section", "label": "Section depth (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331505 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 33.92, \"min\": 17.0, \"max\": 61.1, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 107.34, \"min\": 53.7, \"max\": 193.2, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_a\": {\"type\": 'float', \"default\": 14.1, \"min\": 7.0, \"max\": 25.4, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section width (mm)'},\n    \"sweep_b\": {\"type\": 'float', \"default\": 12.0, \"min\": 6.0, \"max\": 21.6, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section depth (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.3854), (p[\"path_w\"] * 0.1582, p[\"path_h\"] * 0.4845), (p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.8994), (p[\"path_w\"] * 0.0, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').rect(p[\"sweep_a\"], p[\"sweep_b\"]).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462ca732_2942", "family": "flanged", "tier": 2, "seed": 1177331506, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "6fcca77d50fe5709", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 904000.0, "surface_area": 99600.0, "principal_moments": [1570000000.0, 2440000000.0, 2440000000.0], "n_faces": 17, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Revolved body, \u00d893.45 mm \u00d7 136.7 mm tall with \u00d838.8 mm bore, \u00d8155.7 mm \u00d7 12.5 mm flange.", "Six \u00d88.4 mm holes on a \u00d893.4 mm bolt circle."], "text": "Revolved body, \u00d893.45 mm \u00d7 136.7 mm tall with \u00d838.8 mm bore, \u00d8155.7 mm \u00d7 12.5 mm flange. Six \u00d88.4 mm holes on a \u00d893.4 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 93.45, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 136.7, "min": 41.0, "max": 341.8, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 38.8, "min": 2.0, "max": 65.4, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 155.7, "min": 121.5, "max": 280.4, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 12.5, "min": 3.8, "max": 54.7, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 8.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 46.7, "min": 31.1, "max": 70.1, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 6, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331506 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 93.45, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 136.7, \"min\": 41.0, \"max\": 341.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 38.8, \"min\": 2.0, \"max\": 65.4, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 155.7, \"min\": 121.5, \"max\": 280.4, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 12.5, \"min\": 3.8, \"max\": 54.7, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 46.7, \"min\": 31.1, \"max\": 70.1, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca733_2943", "family": "compound", "tier": 1, "seed": 1177331507, "symmetry": "mirror_xy", "op_count": 3, "ir_hash": "5a6b7f1545dc397c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 35600.0, "surface_area": 8810.0, "principal_moments": [5340000.0, 7430000.0, 9320000.0], "n_faces": 15, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 40 \u00d7 35.1 \u00d7 24.4 mm (W\u00d7D\u00d7H).", "30.8 \u00d7 15.4 mm rectangular section attachment, 6 mm long, from right face.", "Four \u00d83.2 mm holes at the corners, 18.48 \u00d7 9.24 mm spacing on the >X face."], "text": "Rectangular body, 40 \u00d7 35.1 \u00d7 24.4 mm (W\u00d7D\u00d7H). 30.8 \u00d7 15.4 mm rectangular section attachment, 6 mm long, from right face. Four \u00d83.2 mm holes at the corners, 18.48 \u00d7 9.24 mm spacing on the >X face."}, "params": {"block_w": {"type": "float", "default": 40, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 35.1, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 24.4, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "tab_a": {"type": "float", "default": 30.8, "min": 12.3, "max": 49.3, "step": 1.0, "group": "Tab", "label": "Tab width (mm)"}, "tab_b": {"type": "float", "default": 15.4, "min": 6.2, "max": 24.6, "step": 1.0, "group": "Tab", "label": "Tab height (mm)"}, "tab_t": {"type": "float", "default": 6.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Tab", "label": "Tab thickness (mm)"}, "tab_hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 3.4, "step": 0.1, "group": "Tab", "label": "Tab hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331507 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 40, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 35.1, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 24.4, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"tab_a\": {\"type\": 'float', \"default\": 30.8, \"min\": 12.3, \"max\": 49.3, \"step\": 1.0, \"group\": 'Tab', \"label\": 'Tab width (mm)'},\n    \"tab_b\": {\"type\": 'float', \"default\": 15.4, \"min\": 6.2, \"max\": 24.6, \"step\": 1.0, \"group\": 'Tab', \"label\": 'Tab height (mm)'},\n    \"tab_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Tab', \"label\": 'Tab thickness (mm)'},\n    \"tab_hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 3.4, \"step\": 0.1, \"group\": 'Tab', \"label\": 'Tab hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .rect(p[\"tab_a\"], p[\"tab_b\"]).extrude(p[\"tab_t\"])\n    )\n    result = (\n        result.faces('>X').workplane()\n        .rect(p[\"tab_a\"] * 0.6, p[\"tab_b\"] * 0.6, forConstruction=True)\n        .vertices().hole(p[\"tab_hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca734_2944", "family": "compound", "tier": 3, "seed": 1177331508, "symmetry": "mirror_xy", "op_count": 3, "ir_hash": "1a7d2c93ea4e318a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 2720.0, "surface_area": 1320.0, "principal_moments": [97900.0, 113000.0, 113000.0], "n_faces": 20, "n_edges": 51, "n_vertices": 34}, "dimensions": {"lines": ["8-sided polygon section, 20 mm across corners, extruded 7.2 mm thick.", "\u00d88.5 mm circular section attachment, 12 mm long, from top face.", "Fillet radius 1.037 mm on vertical edges."], "text": "8-sided polygon section, 20 mm across corners, extruded 7.2 mm thick. \u00d88.5 mm circular section attachment, 12 mm long, from top face. Fillet radius 1.037 mm on vertical edges."}, "params": {"base_sides": {"type": "int", "default": 8, "min": 3, "max": 8, "step": 1, "group": "Base", "label": "Base sides"}, "base_r": {"type": "float", "default": 10.0, "min": 6.0, "max": 16.0, "step": 1.0, "group": "Base", "label": "Base circumradius (mm)"}, "base_h": {"type": "float", "default": 7.2, "min": 2.9, "max": 18.0, "step": 1.0, "group": "Base", "label": "Base height (mm)"}, "col_d": {"type": "float", "default": 8.5, "min": 4.2, "max": 14.8, "step": 1.0, "group": "Column", "label": "Column diameter (mm)"}, "col_h": {"type": "float", "default": 12.0, "min": 3.6, "max": 30.0, "step": 1.0, "group": "Column", "label": "Column height (mm)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331508 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_sides\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Base', \"label\": 'Base sides'},\n    \"base_r\": {\"type\": 'float', \"default\": 10.0, \"min\": 6.0, \"max\": 16.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base circumradius (mm)'},\n    \"base_h\": {\"type\": 'float', \"default\": 7.2, \"min\": 2.9, \"max\": 18.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base height (mm)'},\n    \"col_d\": {\"type\": 'float', \"default\": 8.5, \"min\": 4.2, \"max\": 14.8, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column diameter (mm)'},\n    \"col_h\": {\"type\": 'float', \"default\": 12.0, \"min\": 3.6, \"max\": 30.0, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column height (mm)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').polygon(p[\"base_sides\"], p[\"base_r\"] * 2).extrude(p[\"base_h\"]))\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"col_d\"] / 2).extrude(p[\"col_h\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"base_r\"], p[\"base_r\"]) * 0.10367295611425398)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca735_2945", "family": "plate", "tier": 2, "seed": 1177331509, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "23ec722ad74fe301", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 12400.0, "surface_area": 6680.0, "principal_moments": [2330000.0, 3240000.0, 5510000.0], "n_faces": 14, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 57.81 \u00d7 49 \u00d7 5 mm (W\u00d7D\u00d7H).", "Four \u00d810.5 mm holes at the corners, 40.467 \u00d7 34.3 mm spacing.", "Chamfer 1.3 mm on vertical edges."], "text": "Rectangular body, 57.81 \u00d7 49 \u00d7 5 mm (W\u00d7D\u00d7H). Four \u00d810.5 mm holes at the corners, 40.467 \u00d7 34.3 mm spacing. Chamfer 1.3 mm on vertical edges."}, "params": {"plate_w": {"type": "float", "default": 57.81, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 49.0, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 5.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 10.5, "min": 2.0, "max": 11.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "chamfer_d": {"type": "float", "default": 1.3, "min": 1.0, "max": 1.6, "step": 0.5, "group": "Body", "label": "Chamfer distance (mm)"}, "chamfered": {"type": "bool", "default": true, "group": "Body", "label": "Chamfer edges"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331509 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 57.81, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 49.0, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 5.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 10.5, \"min\": 2.0, \"max\": 11.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"chamfer_d\": {\"type\": 'float', \"default\": 1.3, \"min\": 1.0, \"max\": 1.6, \"step\": 0.5, \"group\": 'Body', \"label\": 'Chamfer distance (mm)'},\n    \"chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Chamfer edges'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"chamfered\"]:\n        result = result.edges('|Z').chamfer(p[\"chamfer_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca736_2946", "family": "bracket", "tier": 1, "seed": 1177331510, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "123eb60f9846d4e3", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 49600.0, "surface_area": 19900.0, "principal_moments": [17900000.0, 114000000.0, 121000000.0], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Z-bracket: base leg 80 mm, vertical leg 85.4 mm, top leg 75.7 mm, 36.26 mm wide, 6 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."], "text": "Z-bracket: base leg 80 mm, vertical leg 85.4 mm, top leg 75.7 mm, 36.26 mm wide, 6 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 80, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 85.4, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 36.26, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 6.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 75.7, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331510 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 80, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 85.4, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 36.26, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 75.7, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462ca737_2947", "family": "sketched", "tier": 2, "seed": 1177331511, "symmetry": "none", "op_count": 3, "ir_hash": "92e5b85370c34087", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 49000.0, "surface_area": 8750.0, "principal_moments": [9110000.0, 11699999.999999998, 14699999.999999998], "n_faces": 10, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["freeform sketched section (5 segments: 3 straight, 2 arcs), ~45.021 \u00d7 53.7 mm, extruded 25.31 mm thick.", "One \u00d84.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch.", "Boss \u00d816.8 mm \u00d7 8.9 mm tall on top face with a \u00d84.3 mm bore."], "text": "freeform sketched section (5 segments: 3 straight, 2 arcs), ~45.021 \u00d7 53.7 mm, extruded 25.31 mm thick. One \u00d84.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch. Boss \u00d816.8 mm \u00d7 8.9 mm tall on top face with a \u00d84.3 mm bore."}, "params": {"sk_w": {"type": "float", "default": 52.78, "min": 26.4, "max": 95.0, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 75, "min": 37.5, "max": 135.0, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "sk_t": {"type": "float", "default": 25.31, "min": 10.1, "max": 55.7, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "sk_hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 8.6, "step": 0.5, "group": "Holes", "label": "Hole diameter (mm)"}, "boss_d": {"type": "float", "default": 16.8, "min": 8.4, "max": 33.6, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 8.9, "min": 3.6, "max": 22.2, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}, "boss_bore_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 11.8, "step": 0.1, "group": "Boss", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331511 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 52.78, \"min\": 26.4, \"max\": 95.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 75, \"min\": 37.5, \"max\": 135.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"sk_t\": {\"type\": 'float', \"default\": 25.31, \"min\": 10.1, \"max\": 55.7, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"sk_hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 8.6, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"boss_d\": {\"type\": 'float', \"default\": 16.8, \"min\": 8.4, \"max\": 33.6, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 8.9, \"min\": 3.6, \"max\": 22.2, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n    \"boss_bore_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 11.8, \"step\": 0.1, \"group\": 'Boss', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.4954, p[\"sk_h\"] * 0.0583).threePointArc((p[\"sk_w\"] * 0.3528, p[\"sk_h\"] * 0.2371), (p[\"sk_w\"] * 0.1252, p[\"sk_h\"] * 0.3466)).lineTo(p[\"sk_w\"] * -0.3576, p[\"sk_h\"] * 0.1803).lineTo(p[\"sk_w\"] * -0.3081, p[\"sk_h\"] * -0.3423).lineTo(p[\"sk_w\"] * 0.2001, p[\"sk_h\"] * -0.3694).threePointArc((p[\"sk_w\"] * 0.4151, p[\"sk_h\"] * -0.1832), (p[\"sk_w\"] * 0.4954, p[\"sk_h\"] * 0.0583)).close().extrude(p[\"sk_t\"]))\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"sk_hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .hole(p[\"boss_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462ca738_2948", "family": "enclosure", "tier": 1, "seed": 1177331512, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "709d6ba30e72fa19", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 25700.0, "surface_area": 17100.0, "principal_moments": [9560000.0, 11599999.999999998, 12899999.999999998], "n_faces": 11, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 48.61 \u00d7 34.1 \u00d7 46.4 mm (W\u00d7D\u00d7H).", "Hollowed to 3.1 mm wall thickness, open at top face."], "text": "Rectangular body, 48.61 \u00d7 34.1 \u00d7 46.4 mm (W\u00d7D\u00d7H). Hollowed to 3.1 mm wall thickness, open at top face."}, "params": {"enc_w": {"type": "float", "default": 48.61, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 34.1, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 46.4, "min": 18.6, "max": 92.8, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 3.1, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331512 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 48.61, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 34.1, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 46.4, \"min\": 18.6, \"max\": 92.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 3.1, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca739_2949", "family": "compound", "tier": 2, "seed": 1177331513, "symmetry": "none", "op_count": 2, "ir_hash": "c984a29d56bab80c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 163000.0, "surface_area": 29800.0, "principal_moments": [40500000.0, 308000000.0, 308000000.0], "n_faces": 6, "n_edges": 9, "n_vertices": 6}, "dimensions": {"lines": ["\u00d845.19 mm circular section, extruded 88 mm thick.", "\u00d829.1 mm circular section attachment, 74.9 mm long, from top face with a \u00d814.8 mm bore."], "text": "\u00d845.19 mm circular section, extruded 88 mm thick. \u00d829.1 mm circular section attachment, 74.9 mm long, from top face with a \u00d814.8 mm bore."}, "params": {"shaft_d": {"type": "float", "default": 45.19, "min": 22.6, "max": 81.3, "step": 1.0, "group": "Body", "label": "Shaft diameter (mm)"}, "shaft_len": {"type": "float", "default": 88.0, "min": 35.2, "max": 176.0, "step": 1.0, "group": "Body", "label": "Shaft length (mm)"}, "step_d": {"type": "float", "default": 29.1, "min": 14.6, "max": 40.7, "step": 1.0, "group": "Step", "label": "Step diameter (mm)"}, "step_len": {"type": "float", "default": 74.9, "min": 22.5, "max": 187.2, "step": 1.0, "group": "Step", "label": "Step length (mm)"}, "axial_bore": {"type": "float", "default": 14.8, "min": 2.0, "max": 21.0, "step": 0.5, "group": "Bore", "label": "Axial bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331513 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"shaft_d\": {\"type\": 'float', \"default\": 45.19, \"min\": 22.6, \"max\": 81.3, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft diameter (mm)'},\n    \"shaft_len\": {\"type\": 'float', \"default\": 88.0, \"min\": 35.2, \"max\": 176.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft length (mm)'},\n    \"step_d\": {\"type\": 'float', \"default\": 29.1, \"min\": 14.6, \"max\": 40.7, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step diameter (mm)'},\n    \"step_len\": {\"type\": 'float', \"default\": 74.9, \"min\": 22.5, \"max\": 187.2, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step length (mm)'},\n    \"axial_bore\": {\"type\": 'float', \"default\": 14.8, \"min\": 2.0, \"max\": 21.0, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Axial bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').circle(p[\"shaft_d\"] / 2).extrude(p[\"shaft_len\"]))\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"step_d\"] / 2).extrude(p[\"step_len\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"axial_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462ca73a_2950", "family": "sketched", "tier": 0, "seed": 1177331514, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "62545146f91cccbb", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 25900.0, "surface_area": 5270.0, "principal_moments": [2640000.0, 4870000.0, 5420000.0], "n_faces": 8, "n_edges": 17, "n_vertices": 11}, "dimensions": {"lines": ["freeform sketched section (5 segments: 1 straight, 3 arcs, 1 curve), ~52.986 \u00d7 35.93 mm, extruded 22.14 mm thick with a 6.7\u00b0 draft."], "text": "freeform sketched section (5 segments: 1 straight, 3 arcs, 1 curve), ~52.986 \u00d7 35.93 mm, extruded 22.14 mm thick with a 6.7\u00b0 draft."}, "params": {"sk_w": {"type": "float", "default": 77.07, "min": 38.5, "max": 138.7, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 46.68, "min": 23.3, "max": 84.0, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "sk_t": {"type": "float", "default": 22.14, "min": 8.9, "max": 48.7, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "sk_draft": {"type": "float", "default": 6.7, "min": 0.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Draft angle (deg)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331514 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 77.07, \"min\": 38.5, \"max\": 138.7, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 46.68, \"min\": 23.3, \"max\": 84.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"sk_t\": {\"type\": 'float', \"default\": 22.14, \"min\": 8.9, \"max\": 48.7, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"sk_draft\": {\"type\": 'float', \"default\": 6.7, \"min\": 0.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Draft angle (deg)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.3933, p[\"sk_h\"] * 0.0674).lineTo(p[\"sk_w\"] * 0.0092, p[\"sk_h\"] * 0.4068).threePointArc((p[\"sk_w\"] * -0.1639, p[\"sk_h\"] * 0.367), (p[\"sk_w\"] * -0.2942, p[\"sk_h\"] * 0.2261)).threePointArc((p[\"sk_w\"] * -0.3246, p[\"sk_h\"] * -0.0362), (p[\"sk_w\"] * -0.1973, p[\"sk_h\"] * -0.2736)).threePointArc((p[\"sk_w\"] * -0.0923, p[\"sk_h\"] * -0.333), (p[\"sk_w\"] * 0.0194, p[\"sk_h\"] * -0.3629)).bezier([(p[\"sk_w\"] * 0.0194, p[\"sk_h\"] * -0.3629), (p[\"sk_w\"] * 0.2692, p[\"sk_h\"] * -0.2023), (p[\"sk_w\"] * 0.3933, p[\"sk_h\"] * 0.0674)]).close().extrude(p[\"sk_t\"], taper=p[\"sk_draft\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462ca73b_2951", "family": "enclosure", "tier": 1, "seed": 1177331515, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "860ba8a347deceb3", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 27500.0, "surface_area": 10500.0, "principal_moments": [4780000.0, 8560000.0, 9950000.0], "n_faces": 11, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 50 \u00d7 23.3 \u00d7 35.2 mm (W\u00d7D\u00d7H).", "Hollowed to 5.7 mm wall thickness, open at top face."], "text": "Rectangular body, 50 \u00d7 23.3 \u00d7 35.2 mm (W\u00d7D\u00d7H). Hollowed to 5.7 mm wall thickness, open at top face."}, "params": {"enc_w": {"type": "float", "default": 50, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 23.3, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 35.2, "min": 14.1, "max": 70.4, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 5.7, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331515 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 50, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 23.3, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 35.2, \"min\": 14.1, \"max\": 70.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 5.7, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca73c_2952", "family": "block", "tier": 3, "seed": 1177331516, "symmetry": "none", "op_count": 4, "ir_hash": "8100a3ebf3ef1f61", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 9230.0, "surface_area": 5050.0, "principal_moments": [729000.0, 988000.0, 1140000.0], "n_faces": 32, "n_edges": 90, "n_vertices": 56}, "dimensions": {"lines": ["Rectangular body, 30 \u00d7 18 \u00d7 18.6 mm (W\u00d7D\u00d7H).", "Four 3.8 mm square holes at the corners, 21 \u00d7 12.6 mm spacing.", "Boss \u00d823 mm \u00d7 5.7 mm tall on top face with a \u00d810.5 mm bore.", "Fillet radius 1.915 mm on vertical edges (optional, off by default)."], "text": "Rectangular body, 30 \u00d7 18 \u00d7 18.6 mm (W\u00d7D\u00d7H). Four 3.8 mm square holes at the corners, 21 \u00d7 12.6 mm spacing. Boss \u00d823 mm \u00d7 5.7 mm tall on top face with a \u00d810.5 mm bore. Fillet radius 1.915 mm on vertical edges (optional, off by default)."}, "params": {"block_w": {"type": "float", "default": 30, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 18.0, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 18.6, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 3.8, "min": 2.0, "max": 5.3, "step": 0.5, "group": "Holes", "label": "Square hole size (mm)"}, "boss_d": {"type": "float", "default": 23.0, "min": 11.5, "max": 46.0, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 5.7, "min": 2.3, "max": 14.2, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}, "boss_bore_d": {"type": "float", "default": 10.5, "min": 2.0, "max": 16.1, "step": 0.1, "group": "Boss", "label": "Bore diameter (mm)"}, "filleted2": {"type": "bool", "default": false, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331516 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 30, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 18.0, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 18.6, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.8, \"min\": 2.0, \"max\": 5.3, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Square hole size (mm)'},\n    \"boss_d\": {\"type\": 'float', \"default\": 23.0, \"min\": 11.5, \"max\": 46.0, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 5.7, \"min\": 2.3, \"max\": 14.2, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n    \"boss_bore_d\": {\"type\": 'float', \"default\": 10.5, \"min\": 2.0, \"max\": 16.1, \"step\": 0.1, \"group\": 'Boss', \"label\": 'Bore diameter (mm)'},\n    \"filleted2\": {\"type\": 'bool', \"default\": False, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().rect(p[\"hole_d\"], p[\"hole_d\"]).cutThruAll()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .hole(p[\"boss_bore_d\"])\n    )\n    if p[\"filleted2\"]:\n        result = result.edges('|Z').fillet(min(p[\"block_w\"], p[\"block_d\"]) * 0.10636553012955743)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca73d_2953", "family": "revolved", "tier": 1, "seed": 1177331517, "symmetry": "radial", "op_count": 1, "ir_hash": "0a042abbce23f226", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 151000.0, "surface_area": 20100.0, "principal_moments": [74900000.0, 83300000.0, 83300000.0], "n_faces": 4, "n_edges": 6, "n_vertices": 4}, "dimensions": {"lines": ["Revolved body, \u00d859.81 mm \u00d7 60.3 mm tall with \u00d819.6 mm bore."], "text": "Revolved body, \u00d859.81 mm \u00d7 60.3 mm tall with \u00d819.6 mm bore."}, "params": {"outer_d": {"type": "float", "default": 59.81, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 60.3, "min": 18.1, "max": 180.9, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 19.6, "min": 2.0, "max": 41.9, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331517 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 59.81, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 60.3, \"min\": 18.1, \"max\": 180.9, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 19.6, \"min\": 2.0, \"max\": 41.9, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca73e_2954", "family": "plate", "tier": 1, "seed": 1177331518, "symmetry": "radial", "op_count": 2, "ir_hash": "fc191a67441c0172", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 19800.0, "surface_area": 6610.0, "principal_moments": [2030000.0, 6010000.0, 7560000.0], "n_faces": 16, "n_edges": 42, "n_vertices": 28}, "dimensions": {"lines": ["Rectangular body, 57.18 \u00d7 33.9 \u00d7 12 mm (W\u00d7D\u00d7H).", "Six \u00d88.4 mm holes on a \u00d834.4 mm bolt circle."], "text": "Rectangular body, 57.18 \u00d7 33.9 \u00d7 12 mm (W\u00d7D\u00d7H). Six \u00d88.4 mm holes on a \u00d834.4 mm bolt circle."}, "params": {"plate_w": {"type": "float", "default": 57.18, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 33.9, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "bolt_d": {"type": "float", "default": 8.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 17.2, "min": 11.4, "max": 25.7, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 6, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331518 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 57.18, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 33.9, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 17.2, \"min\": 11.4, \"max\": 25.7, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462ca73f_2955", "family": "swept", "tier": 1, "seed": 1177331519, "symmetry": "none", "op_count": 1, "ir_hash": "c313ce42ed7b3715", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 9790.0, "surface_area": 3260.0, "principal_moments": [240000.0, 4200000.0, 4220000.0], "n_faces": 3, "n_edges": 3, "n_vertices": 2}, "dimensions": {"lines": ["\u00d813.5 mm circular section swept along a curved path, ~66.03 mm span."], "text": "\u00d813.5 mm circular section swept along a curved path, ~66.03 mm span."}, "params": {"path_w": {"type": "float", "default": 36.18, "min": 18.1, "max": 65.1, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 66.03, "min": 33.0, "max": 118.9, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_d": {"type": "float", "default": 13.5, "min": 6.8, "max": 24.3, "step": 1.0, "group": "Section", "label": "Section diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331519 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 36.18, \"min\": 18.1, \"max\": 65.1, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 66.03, \"min\": 33.0, \"max\": 118.9, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_d\": {\"type\": 'float', \"default\": 13.5, \"min\": 6.8, \"max\": 24.3, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.2748), (p[\"path_w\"] * 0.368, p[\"path_h\"] * 0.6318), (p[\"path_w\"] * 0.6158, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').circle(p[\"sweep_d\"] / 2).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462ca740_2956", "family": "lofted", "tier": 0, "seed": 1177331520, "symmetry": "none", "op_count": 1, "ir_hash": "0f87e1ef13802abd", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 157000.0, "surface_area": 17400.0, "principal_moments": [75600000.0, 75800000.0, 82700000.0], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Lofted body through 2 sections: 67.84 \u00d7 67.84 mm rectangular section \u2192 6-sided polygon section, 48.8 mm across corners."], "text": "Lofted body through 2 sections: 67.84 \u00d7 67.84 mm rectangular section \u2192 6-sided polygon section, 48.8 mm across corners."}, "params": {"loft_base": {"type": "float", "default": 67.84, "min": 33.9, "max": 108.5, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 48.8, "min": 19.5, "max": 81.4, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 53.2, "min": 21.3, "max": 106.4, "step": 1.0, "group": "Body", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331520 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 67.84, \"min\": 33.9, \"max\": 108.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 48.8, \"min\": 19.5, \"max\": 81.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 53.2, \"min\": 21.3, \"max\": 106.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .rect(p[\"loft_base\"], p[\"loft_base\"])\n        .workplane(offset=p[\"loft_h\"])\n        .polygon(6, p[\"loft_top\"] * 0.5 * 2)\n        .loft(combine=True)\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462ca741_2957", "family": "swept", "tier": 2, "seed": 1177331521, "symmetry": "none", "op_count": 1, "ir_hash": "47fae49b7a9612e4", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 13500.0, "surface_area": 4660.0, "principal_moments": [372000.0, 14099999.999999998, 14299999.999999998], "n_faces": 3, "n_edges": 3, "n_vertices": 2}, "dimensions": {"lines": ["\u00d812.2 mm circular section swept along a curved path, ~105.84 mm span."], "text": "\u00d812.2 mm circular section swept along a curved path, ~105.84 mm span."}, "params": {"path_w": {"type": "float", "default": 42.11, "min": 21.1, "max": 75.8, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 105.84, "min": 52.9, "max": 190.5, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_d": {"type": "float", "default": 12.2, "min": 6.1, "max": 22.0, "step": 1.0, "group": "Section", "label": "Section diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331521 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 42.11, \"min\": 21.1, \"max\": 75.8, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 105.84, \"min\": 52.9, \"max\": 190.5, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_d\": {\"type\": 'float', \"default\": 12.2, \"min\": 6.1, \"max\": 22.0, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.1198, p[\"path_h\"] * 0.225), (p[\"path_w\"] * 0.3478, p[\"path_h\"] * 0.4534), (p[\"path_w\"] * 0.2896, p[\"path_h\"] * 0.7126), (p[\"path_w\"] * 0.6971, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').circle(p[\"sweep_d\"] / 2).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462ca742_2958", "family": "tapped", "tier": 1, "seed": 1177331522, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "b063efd9d8131372", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 63500.0, "surface_area": 17500.0, "principal_moments": [19700000.0, 24699999.999999996, 40500000.0], "n_faces": 756, "n_edges": 2130, "n_vertices": 1376}, "dimensions": {"lines": ["Six M12x1.75 tapped holes in a plate."], "text": "Six M12x1.75 tapped holes in a plate."}, "params": {"major_d": {"type": "float", "default": 12.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 1.75, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 19.2, "min": 14.4, "max": 34.6, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "plate_w": {"type": "float", "default": 65, "min": 39.0, "max": 104.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 59.7, "min": 35.8, "max": 95.5, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331522 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 12.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.75, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 19.2, \"min\": 14.4, \"max\": 34.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"plate_w\": {\"type\": 'float', \"default\": 65, \"min\": 39.0, \"max\": 104.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 59.7, \"min\": 35.8, \"max\": 95.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n}\n\n\ndef build(p):\n\n    _W, _D, _H = p[\"plate_w\"], p[\"plate_d\"], p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Box(_W, _D, _H)\n    _nx, _ny = max(1, int(3)), max(1, int(2))\n    _sx, _sy = p[\"plate_w\"] * 0.33, p[\"plate_d\"] * 0.66\n    _locs = [(_sx * (_i - (_nx - 1) / 2), _sy * (_j - (_ny - 1) / 2))\n             for _i in range(_nx) for _j in range(_ny)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca743_2959", "family": "bracket", "tier": 3, "seed": 1177331523, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "f4e52890d4318442", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 17800.0, "surface_area": 12900.0, "principal_moments": [5330000.0, 14099999.999999998, 14699999.999999998], "n_faces": 15, "n_edges": 41, "n_vertices": 26}, "dimensions": {"lines": ["L-bracket: base leg 69.83 mm, vertical leg 63.6 mm, 41.68 mm wide, 3 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg; 3.3 mm corner gusset."], "text": "L-bracket: base leg 69.83 mm, vertical leg 63.6 mm, 41.68 mm wide, 3 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg; 3.3 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 69.83, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 63.6, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 41.68, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 3.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 3.3, "min": 1.5, "max": 9.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331523 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 69.83, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 63.6, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 41.68, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 3.3, \"min\": 1.5, \"max\": 9.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462ca744_2960", "family": "tapped", "tier": 0, "seed": 1177331524, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "0b3ceb8cdd760696", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 4210.0, "surface_area": 1890.0, "principal_moments": [184000.0, 184000.0, 251000.0], "n_faces": 138, "n_edges": 374, "n_vertices": 238}, "dimensions": {"lines": ["One M5x0.8 tapped hole in a plate."], "text": "One M5x0.8 tapped hole in a plate."}, "params": {"major_d": {"type": "float", "default": 5.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 0.8, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 12.9, "min": 6.0, "max": 23.2, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "plate_w": {"type": "float", "default": 18.5, "min": 11.1, "max": 29.6, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 18.5, "min": 11.1, "max": 29.6, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331524 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 0.8, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 12.9, \"min\": 6.0, \"max\": 23.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"plate_w\": {\"type\": 'float', \"default\": 18.5, \"min\": 11.1, \"max\": 29.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 18.5, \"min\": 11.1, \"max\": 29.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n}\n\n\ndef build(p):\n\n    _W, _D, _H = p[\"plate_w\"], p[\"plate_d\"], p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Box(_W, _D, _H)\n    _locs = [(0.0, 0.0)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462ca745_2961", "family": "gear", "tier": 0, "seed": 1177331525, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "592f7e5cbf9ef4ad", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 9780.0, "surface_area": 4890.0, "principal_moments": [1270000.0, 1270000.0, 2480000.0], "n_faces": 218, "n_edges": 648, "n_vertices": 432}, "dimensions": {"lines": ["Spur gear, module 1.25 mm, 36 teeth (pitch \u00d845 mm), face width 6.2 mm."], "text": "Spur gear, module 1.25 mm, 36 teeth (pitch \u00d845 mm), face width 6.2 mm."}, "params": {"module": {"type": "float", "default": 1.25, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 36, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 6.2, "min": 2.5, "max": 15.5, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331525 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 1.25, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 36, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 6.2, \"min\": 2.5, \"max\": 15.5, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca746_2962", "family": "plate", "tier": 1, "seed": 1177331526, "symmetry": "radial", "op_count": 2, "ir_hash": "1eb70e57d634430e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 19100.0, "surface_area": 6070.0, "principal_moments": [1230000.0, 6970000.0, 7740000.0], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Rectangular body, 65 \u00d7 25.2 \u00d7 12 mm (W\u00d7D\u00d7H).", "Twelve \u00d83.2 mm holes on a \u00d839 mm bolt circle."], "text": "Rectangular body, 65 \u00d7 25.2 \u00d7 12 mm (W\u00d7D\u00d7H). Twelve \u00d83.2 mm holes on a \u00d839 mm bolt circle."}, "params": {"plate_w": {"type": "float", "default": 65, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 25.2, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "bolt_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 19.5, "min": 13.0, "max": 29.2, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 12, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331526 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 65, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 25.2, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 19.5, \"min\": 13.0, \"max\": 29.2, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 12, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca747_2963", "family": "plate", "tier": 2, "seed": 1177331527, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "e0b3fb9a58abe430", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 9970.0, "surface_area": 4160.0, "principal_moments": [462000.0, 2060000.0, 2360000.0], "n_faces": 22, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 50 \u00d7 21.9 \u00d7 10 mm (W\u00d7D\u00d7H).", "Four 6.6 \u00d7 4.3 mm slots at the corners, 35 \u00d7 15.33 mm spacing."], "text": "Rectangular body, 50 \u00d7 21.9 \u00d7 10 mm (W\u00d7D\u00d7H). Four 6.6 \u00d7 4.3 mm slots at the corners, 35 \u00d7 15.33 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 50, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 21.9, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 4.9, "step": 0.5, "group": "Holes", "label": "Slot width (mm)"}, "hole_slot_len": {"type": "float", "default": 6.6, "min": 6.4, "max": 6.6, "step": 0.5, "group": "Holes", "label": "Slot length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331527 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 50, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 21.9, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 4.9, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Slot width (mm)'},\n    \"hole_slot_len\": {\"type\": 'float', \"default\": 6.6, \"min\": 6.4, \"max\": 6.6, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Slot length (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().slot2D(p[\"hole_slot_len\"], p[\"hole_d\"]).cutThruAll()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462ca748_2964", "family": "enclosure", "tier": 1, "seed": 1177331528, "symmetry": "none", "op_count": 2, "ir_hash": "76b24a8218a6092b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 63200.0, "surface_area": 28000.0, "principal_moments": [37100000.0, 51899999.99999999, 59799999.99999999], "n_faces": 11, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 70 \u00d7 51.9 \u00d7 48.3 mm (W\u00d7D\u00d7H).", "Hollowed to 4.7 mm wall thickness, open at top face."], "text": "Rectangular body, 70 \u00d7 51.9 \u00d7 48.3 mm (W\u00d7D\u00d7H). Hollowed to 4.7 mm wall thickness, open at top face."}, "params": {"enc_w": {"type": "float", "default": 70, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 51.9, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 48.3, "min": 19.3, "max": 96.6, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 4.7, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331528 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 70, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 51.9, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 48.3, \"min\": 19.3, \"max\": 96.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 4.7, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca749_2965", "family": "bracket", "tier": 2, "seed": 1177331529, "symmetry": "none", "op_count": 1, "ir_hash": "a32ca421c166487c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 17200.0, "surface_area": 6240.0, "principal_moments": [1510000.0, 6320000.0, 6610000.0], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Z-bracket: base leg 40 mm, vertical leg 30.5 mm, top leg 32 mm, 25 mm wide, 8 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 10.6 mm corner gusset."], "text": "Z-bracket: base leg 40 mm, vertical leg 30.5 mm, top leg 32 mm, 25 mm wide, 8 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 10.6 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 40, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 30.5, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 25, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 8.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 32.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}, "gusset_t": {"type": "float", "default": 10.6, "min": 4.0, "max": 12.5, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331529 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 40, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 30.5, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 25, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 32.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 10.6, \"min\": 4.0, \"max\": 12.5, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _tl, _vl) * 0.4 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(0, _vl - _bt).lineTo(-_g, _vl - _bt)\n                    .lineTo(0, _vl - _bt - _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca74b_2967", "family": "compound", "tier": 1, "seed": 1177331531, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "38b3025557a719de", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 26100.0, "surface_area": 6660.0, "principal_moments": [2890000.0, 5270000.0, 5350000.0], "n_faces": 16, "n_edges": 39, "n_vertices": 26}, "dimensions": {"lines": ["Rectangular body, 40 \u00d7 26 \u00d7 25.3 mm (W\u00d7D\u00d7H).", "8-sided polygon section, 10 mm across corners attachment, 13.4 mm long, from right face with a \u00d85.2 mm bore."], "text": "Rectangular body, 40 \u00d7 26 \u00d7 25.3 mm (W\u00d7D\u00d7H). 8-sided polygon section, 10 mm across corners attachment, 13.4 mm long, from right face with a \u00d85.2 mm bore."}, "params": {"block_w": {"type": "float", "default": 40, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 26.0, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 25.3, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "spig_sides": {"type": "int", "default": 8, "min": 3, "max": 8, "step": 1, "group": "Spigot", "label": "Spigot sides"}, "spig_r": {"type": "float", "default": 5.0, "min": 2.5, "max": 8.8, "step": 1.0, "group": "Spigot", "label": "Spigot circumradius (mm)"}, "spig_len": {"type": "float", "default": 13.4, "min": 2.8, "max": 37.0, "step": 1.0, "group": "Spigot", "label": "Spigot length (mm)"}, "spig_bore": {"type": "float", "default": 5.2, "min": 2.0, "max": 6.7, "step": 0.5, "group": "Spigot", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331531 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 40, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 26.0, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 25.3, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"spig_sides\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Spigot', \"label\": 'Spigot sides'},\n    \"spig_r\": {\"type\": 'float', \"default\": 5.0, \"min\": 2.5, \"max\": 8.8, \"step\": 1.0, \"group\": 'Spigot', \"label\": 'Spigot circumradius (mm)'},\n    \"spig_len\": {\"type\": 'float', \"default\": 13.4, \"min\": 2.8, \"max\": 37.0, \"step\": 1.0, \"group\": 'Spigot', \"label\": 'Spigot length (mm)'},\n    \"spig_bore\": {\"type\": 'float', \"default\": 5.2, \"min\": 2.0, \"max\": 6.7, \"step\": 0.5, \"group\": 'Spigot', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"spig_sides\"], p[\"spig_r\"] * 2).extrude(p[\"spig_len\"])\n    )\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"spig_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca74c_2968", "family": "plate", "tier": 1, "seed": 1177331532, "symmetry": "none", "op_count": 2, "ir_hash": "afef1863d78beaa7", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 30300.0, "surface_area": 9020.0, "principal_moments": [6010000.0, 11000000.0, 16499999.999999998], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["Rectangular body, 65 \u00d7 47.5 \u00d7 10 mm (W\u00d7D\u00d7H).", "Seven \u00d83.2 mm holes in two staggered rows, 16.2 \u00d7 18.9 mm pitch."], "text": "Rectangular body, 65 \u00d7 47.5 \u00d7 10 mm (W\u00d7D\u00d7H). Seven \u00d83.2 mm holes in two staggered rows, 16.2 \u00d7 18.9 mm pitch."}, "params": {"plate_w": {"type": "float", "default": 65, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 47.5, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 4.8, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 4, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331532 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 65, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 47.5, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 4.8, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 4, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 16.2\n    _ssy = 18.9\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca74d_2969", "family": "bracket", "tier": 1, "seed": 1177331533, "symmetry": "none", "op_count": 1, "ir_hash": "c3b2bea165ec7ef1", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 33900.0, "surface_area": 10900.0, "principal_moments": [9170000.0, 10800000.0, 17300000.0], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Z-bracket: base leg 32.69 mm, vertical leg 36 mm, top leg 29 mm, 52.37 mm wide, 8 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."], "text": "Z-bracket: base leg 32.69 mm, vertical leg 36 mm, top leg 29 mm, 52.37 mm wide, 8 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 32.69, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 36.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 52.37, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 8.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 29.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331533 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 32.69, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 36.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 52.37, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 29.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462ca74e_2970", "family": "threaded", "tier": 2, "seed": 1177331534, "symmetry": "none", "op_count": 1, "ir_hash": "f9bf95aabad4974f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 1620.0, "surface_area": 1520.0, "principal_moments": [10900.0, 214000.0, 214000.0], "n_faces": 320, "n_edges": 822, "n_vertices": 504}, "dimensions": {"lines": ["M8x1.25 external thread, 39.4 mm long."], "text": "M8x1.25 external thread, 39.4 mm long."}, "params": {"major_d": {"type": "float", "default": 8.0, "min": 4.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Major diameter (mm)"}, "pitch": {"type": "float", "default": 1.25, "min": 0.62, "max": 2.5, "step": 0.05, "group": "Thread", "label": "Pitch (mm)"}, "thread_len": {"type": "float", "default": 39.4, "min": 15.8, "max": 78.8, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331534 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 8.0, \"min\": 4.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Major diameter (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.25, \"min\": 0.62, \"max\": 2.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Pitch (mm)'},\n    \"thread_len\": {\"type\": 'float', \"default\": 39.4, \"min\": 15.8, \"max\": 78.8, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.IsoThread(major_diameter=p[\"major_d\"], pitch=p[\"pitch\"], length=p[\"thread_len\"], external=True, end_finishes=(\"fade\", \"fade\"))\n    _r = _thr.min_radius if hasattr(_thr, 'min_radius') else _thr.root_radius\n    _shank = _bd.Cylinder(radius=_r, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = _shank + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462ca74f_2971", "family": "threaded", "tier": 3, "seed": 1177331535, "symmetry": "none", "op_count": 1, "ir_hash": "7489b2690ebf9263", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 1070.0, "surface_area": 1300.0, "principal_moments": [13800.0, 54900.0, 54900.0], "n_faces": 555, "n_edges": 1745, "n_vertices": 1192}, "dimensions": {"lines": ["M5x0.5 internal thread, 23.2 mm long."], "text": "M5x0.5 internal thread, 23.2 mm long."}, "params": {"major_d": {"type": "float", "default": 5.0, "min": 4.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Major diameter (mm)"}, "pitch": {"type": "float", "default": 0.5, "min": 0.25, "max": 1.0, "step": 0.05, "group": "Thread", "label": "Pitch (mm)"}, "thread_len": {"type": "float", "default": 23.2, "min": 9.3, "max": 46.4, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331535 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 5.0, \"min\": 4.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Major diameter (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 0.5, \"min\": 0.25, \"max\": 1.0, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Pitch (mm)'},\n    \"thread_len\": {\"type\": 'float', \"default\": 23.2, \"min\": 9.3, \"max\": 46.4, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.IsoThread(major_diameter=p[\"major_d\"], pitch=p[\"pitch\"], length=p[\"thread_len\"], external=False, end_finishes=(\"fade\", \"fade\"))\n    _body = _bd.Cylinder(radius=(p[\"major_d\"]) * 0.9, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _bore = _bd.Cylinder(radius=(p[\"major_d\"]) / 2, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = (_body - _bore) + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca750_2972", "family": "plate", "tier": 2, "seed": 1177331536, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "143513d34f614647", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 13100.0, "surface_area": 6680.0, "principal_moments": [1080000.0, 8060000.0, 9090000.0], "n_faces": 14, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 86.25 \u00d7 31.2 \u00d7 5 mm (W\u00d7D\u00d7H).", "Four \u00d84.3 mm holes at the corners, 60.375 \u00d7 21.84 mm spacing.", "Chamfer 1.5 mm on vertical edges."], "text": "Rectangular body, 86.25 \u00d7 31.2 \u00d7 5 mm (W\u00d7D\u00d7H). Four \u00d84.3 mm holes at the corners, 60.375 \u00d7 21.84 mm spacing. Chamfer 1.5 mm on vertical edges."}, "params": {"plate_w": {"type": "float", "default": 86.25, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 31.2, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 5.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 7.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "chamfer_d": {"type": "float", "default": 1.5, "min": 1.1, "max": 1.9, "step": 0.5, "group": "Body", "label": "Chamfer distance (mm)"}, "chamfered": {"type": "bool", "default": true, "group": "Body", "label": "Chamfer edges"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331536 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 86.25, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 31.2, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 5.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 7.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"chamfer_d\": {\"type\": 'float', \"default\": 1.5, \"min\": 1.1, \"max\": 1.9, \"step\": 0.5, \"group\": 'Body', \"label\": 'Chamfer distance (mm)'},\n    \"chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Chamfer edges'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"chamfered\"]:\n        result = result.edges('|Z').chamfer(p[\"chamfer_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca751_2973", "family": "compound", "tier": 1, "seed": 1177331537, "symmetry": "none", "op_count": 2, "ir_hash": "0f30ff515a17ab48", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 12600.0, "surface_area": 3380.0, "principal_moments": [1060000.0, 1090000.0, 1410000.0], "n_faces": 8, "n_edges": 15, "n_vertices": 10}, "dimensions": {"lines": ["Rectangular body, 25 \u00d7 18.9 \u00d7 26.3 mm (W\u00d7D\u00d7H).", "\u00d85 mm circular section attachment, 7.9 mm long, from right face."], "text": "Rectangular body, 25 \u00d7 18.9 \u00d7 26.3 mm (W\u00d7D\u00d7H). \u00d85 mm circular section attachment, 7.9 mm long, from right face."}, "params": {"block_w": {"type": "float", "default": 25, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 18.9, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 26.3, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "spig_d": {"type": "float", "default": 5.0, "min": 2.0, "max": 13.2, "step": 1.0, "group": "Spigot", "label": "Spigot diameter (mm)"}, "spig_len": {"type": "float", "default": 7.9, "min": 1.5, "max": 20.0, "step": 1.0, "group": "Spigot", "label": "Spigot length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331537 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 25, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 18.9, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 26.3, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"spig_d\": {\"type\": 'float', \"default\": 5.0, \"min\": 2.0, \"max\": 13.2, \"step\": 1.0, \"group\": 'Spigot', \"label\": 'Spigot diameter (mm)'},\n    \"spig_len\": {\"type\": 'float', \"default\": 7.9, \"min\": 1.5, \"max\": 20.0, \"step\": 1.0, \"group\": 'Spigot', \"label\": 'Spigot length (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"spig_d\"] / 2).extrude(p[\"spig_len\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca752_2974", "family": "plate", "tier": 1, "seed": 1177331538, "symmetry": "none", "op_count": 2, "ir_hash": "23f55299cf939ef2", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 26300.0, "surface_area": 7920.0, "principal_moments": [3910000.0, 9370000.0, 12799999.999999998], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 65 \u00d7 41.3 \u00d7 10 mm (W\u00d7D\u00d7H).", "Four \u00d84.3 mm holes at the corners, 45.5 \u00d7 28.91 mm spacing."], "text": "Rectangular body, 65 \u00d7 41.3 \u00d7 10 mm (W\u00d7D\u00d7H). Four \u00d84.3 mm holes at the corners, 45.5 \u00d7 28.91 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 65, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 41.3, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 9.3, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331538 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 65, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 41.3, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 9.3, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462ca753_2975", "family": "ribbed", "tier": 2, "seed": 1177331539, "symmetry": "none", "op_count": 2, "ir_hash": "dc8d3a5c15f18cae", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 37200.0, "surface_area": 16100.0, "principal_moments": [10600000.0, 26099999.999999996, 34200000.0], "n_faces": 30, "n_edges": 72, "n_vertices": 44}, "dimensions": {"lines": ["Rectangular body, 85 \u00d7 44.1 \u00d7 6 mm (W\u00d7D\u00d7H).", "Three ribs, 5 mm thick, 14.4 mm tall."], "text": "Rectangular body, 85 \u00d7 44.1 \u00d7 6 mm (W\u00d7D\u00d7H). Three ribs, 5 mm thick, 14.4 mm tall."}, "params": {"base_w": {"type": "float", "default": 85, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 44.1, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 6.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 3, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 14.4, "min": 5.8, "max": 28.8, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 5.0, "min": 1.0, "max": 12.5, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331539 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 85, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 44.1, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 3, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 14.4, \"min\": 5.8, \"max\": 28.8, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 1.0, \"max\": 12.5, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca754_2976", "family": "bracket", "tier": 3, "seed": 1177331540, "symmetry": "none", "op_count": 1, "ir_hash": "8ca77b1341bad59a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 23000.0, "surface_area": 10900.0, "principal_moments": [4150000.0, 27099999.999999996, 29099999.999999996], "n_faces": 18, "n_edges": 48, "n_vertices": 32}, "dimensions": {"lines": ["Z-bracket: base leg 60 mm, vertical leg 63 mm, top leg 57.4 mm, 24.65 mm wide, 5 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg; 6.8 mm corner gusset."], "text": "Z-bracket: base leg 60 mm, vertical leg 63 mm, top leg 57.4 mm, 24.65 mm wide, 5 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg; 6.8 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 60, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 63.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 24.65, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 5.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 57.4, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 9.9, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}, "gusset_t": {"type": "float", "default": 6.8, "min": 2.5, "max": 12.3, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331540 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 60, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 63.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 24.65, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 57.4, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 9.9, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 6.8, \"min\": 2.5, \"max\": 12.3, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _tl, _vl) * 0.4 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(0, _vl - _bt).lineTo(-_g, _vl - _bt)\n                    .lineTo(0, _vl - _bt - _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca755_2977", "family": "revolved", "tier": 2, "seed": 1177331541, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "ba71adabc420b5d8", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 34600.0, "surface_area": 16900.0, "principal_moments": [11899999.999999998, 11899999.999999998, 22100000.0], "n_faces": 11, "n_edges": 17, "n_vertices": 11}, "dimensions": {"lines": ["Revolved body, \u00d850 mm \u00d7 19.4 mm tall with \u00d888.1 mm \u00d7 2.5 mm flange, 2.09 mm-wide groove 3.68 mm deep.", "Chamfer 0.4 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d850 mm \u00d7 19.4 mm tall with \u00d888.1 mm \u00d7 2.5 mm flange, 2.09 mm-wide groove 3.68 mm deep. Chamfer 0.4 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 50, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 19.4, "min": 5.8, "max": 58.2, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "flange_d": {"type": "float", "default": 88.1, "min": 60.0, "max": 150.0, "step": 1.0, "group": "Body", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 2.5, "min": 0.8, "max": 9.7, "step": 0.5, "group": "Body", "label": "Flange height (mm)"}, "groove_depth": {"type": "float", "default": 3.68, "min": 1.47, "max": 11.04, "step": 0.1, "group": "Body", "label": "Groove depth (mm)"}, "groove_w": {"type": "float", "default": 2.09, "min": 0.84, "max": 6.27, "step": 0.2, "group": "Body", "label": "Groove width (mm)"}, "groove_pos": {"type": "float", "default": 5.2, "min": 2.9, "max": 16.5, "step": 1.0, "group": "Body", "label": "Groove position (mm)"}, "end_chamfer": {"type": "float", "default": 0.4, "min": 0.1, "max": 1.2, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331541 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 50, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 19.4, \"min\": 5.8, \"max\": 58.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 88.1, \"min\": 60.0, \"max\": 150.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 2.5, \"min\": 0.8, \"max\": 9.7, \"step\": 0.5, \"group\": 'Body', \"label\": 'Flange height (mm)'},\n    \"groove_depth\": {\"type\": 'float', \"default\": 3.68, \"min\": 1.47, \"max\": 11.04, \"step\": 0.1, \"group\": 'Body', \"label\": 'Groove depth (mm)'},\n    \"groove_w\": {\"type\": 'float', \"default\": 2.09, \"min\": 0.84, \"max\": 6.27, \"step\": 0.2, \"group\": 'Body', \"label\": 'Groove width (mm)'},\n    \"groove_pos\": {\"type\": 'float', \"default\": 5.2, \"min\": 2.9, \"max\": 16.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Groove position (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.4, \"min\": 0.1, \"max\": 1.2, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"groove_pos\"] - p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2 - p[\"groove_depth\"], p[\"groove_pos\"] - p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2 - p[\"groove_depth\"], p[\"groove_pos\"] + p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2, p[\"groove_pos\"] + p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462ca756_2978", "family": "gear", "tier": 1, "seed": 1177331542, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "8f37a9e8d277ec52", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 114000.0, "surface_area": 25000.0, "principal_moments": [73900000.0, 73900000.0, 143000000.0], "n_faces": 201, "n_edges": 597, "n_vertices": 398}, "dimensions": {"lines": ["Spur gear, module 3 mm, 33 teeth (pitch \u00d899 mm), face width 15.3 mm, \u00d815.5 mm bore."], "text": "Spur gear, module 3 mm, 33 teeth (pitch \u00d899 mm), face width 15.3 mm, \u00d815.5 mm bore."}, "params": {"module": {"type": "float", "default": 3.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 33, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 15.3, "min": 6.1, "max": 38.2, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "bore_d": {"type": "float", "default": 15.5, "min": 2.0, "max": 54.9, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331542 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 3.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 33, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 15.3, \"min\": 6.1, \"max\": 38.2, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 15.5, \"min\": 2.0, \"max\": 54.9, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462ca757_2979", "family": "ribbed", "tier": 1, "seed": 1177331543, "symmetry": "none", "op_count": 2, "ir_hash": "ed8cc7a639007635", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 22400.0, "surface_area": 14800.0, "principal_moments": [4600000.0, 8530000.0, 11599999.999999998], "n_faces": 46, "n_edges": 112, "n_vertices": 68}, "dimensions": {"lines": ["Rectangular body, 65 \u00d7 39.5 \u00d7 5 mm (W\u00d7D\u00d7H).", "Five ribs, 2.4 mm thick, 15.3 mm tall."], "text": "Rectangular body, 65 \u00d7 39.5 \u00d7 5 mm (W\u00d7D\u00d7H). Five ribs, 2.4 mm thick, 15.3 mm tall."}, "params": {"base_w": {"type": "float", "default": 65, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 39.5, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 5.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 5, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 15.3, "min": 6.1, "max": 30.6, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 2.4, "min": 1.0, "max": 6.0, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331543 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 65, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 39.5, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 5, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 15.3, \"min\": 6.1, \"max\": 30.6, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 2.4, \"min\": 1.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca758_2980", "family": "plate", "tier": 0, "seed": 1177331544, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "ea5adf1f567efefe", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 19300.0, "surface_area": 7950.0, "principal_moments": [2120000.0, 13099999.999999998, 15099999.999999998], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 90 \u00d7 35.8 \u00d7 6 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 90 \u00d7 35.8 \u00d7 6 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 90, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 35.8, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 6.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331544 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 90, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 35.8, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca759_2981", "family": "compound", "tier": 1, "seed": 1177331545, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "0051e73ef4f54f01", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 2020.0, "surface_area": 1460.0, "principal_moments": [71400.0, 81300.0, 81300.0], "n_faces": 11, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["6-sided polygon section, 20 mm across corners, extruded 5.8 mm thick.", "\u00d89.5 mm circular section attachment, 12 mm long, from top face with a \u00d84.9 mm bore."], "text": "6-sided polygon section, 20 mm across corners, extruded 5.8 mm thick. \u00d89.5 mm circular section attachment, 12 mm long, from top face with a \u00d84.9 mm bore."}, "params": {"base_sides": {"type": "int", "default": 6, "min": 3, "max": 8, "step": 1, "group": "Base", "label": "Base sides"}, "base_r": {"type": "float", "default": 10.0, "min": 6.0, "max": 16.0, "step": 1.0, "group": "Base", "label": "Base circumradius (mm)"}, "base_h": {"type": "float", "default": 5.8, "min": 2.3, "max": 14.5, "step": 1.0, "group": "Base", "label": "Base height (mm)"}, "col_d": {"type": "float", "default": 9.5, "min": 4.8, "max": 13.9, "step": 1.0, "group": "Column", "label": "Column diameter (mm)"}, "col_h": {"type": "float", "default": 12.0, "min": 3.6, "max": 30.0, "step": 1.0, "group": "Column", "label": "Column height (mm)"}, "col_bore": {"type": "float", "default": 4.9, "min": 2.0, "max": 6.8, "step": 0.5, "group": "Column", "label": "Column bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331545 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_sides\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Base', \"label\": 'Base sides'},\n    \"base_r\": {\"type\": 'float', \"default\": 10.0, \"min\": 6.0, \"max\": 16.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base circumradius (mm)'},\n    \"base_h\": {\"type\": 'float', \"default\": 5.8, \"min\": 2.3, \"max\": 14.5, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base height (mm)'},\n    \"col_d\": {\"type\": 'float', \"default\": 9.5, \"min\": 4.8, \"max\": 13.9, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column diameter (mm)'},\n    \"col_h\": {\"type\": 'float', \"default\": 12.0, \"min\": 3.6, \"max\": 30.0, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column height (mm)'},\n    \"col_bore\": {\"type\": 'float', \"default\": 4.9, \"min\": 2.0, \"max\": 6.8, \"step\": 0.5, \"group\": 'Column', \"label\": 'Column bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').polygon(p[\"base_sides\"], p[\"base_r\"] * 2).extrude(p[\"base_h\"]))\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"col_d\"] / 2).extrude(p[\"col_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"col_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca75a_2982", "family": "revolved", "tier": 0, "seed": 1177331546, "symmetry": "none", "op_count": 1, "ir_hash": "0cf76b3d0ea2b26b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 11900.0, "surface_area": 4650.0, "principal_moments": [1290000.0, 1330000.0, 1330000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d826.89 mm \u00d7 31.3 mm tall."], "text": "Revolved body, \u00d826.89 mm \u00d7 31.3 mm tall."}, "params": {"outer_d": {"type": "float", "default": 26.89, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 31.3, "min": 9.4, "max": 93.9, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331546 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 26.89, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 31.3, \"min\": 9.4, \"max\": 93.9, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462ca75b_2983", "family": "threaded", "tier": 2, "seed": 1177331547, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "23938c89a30d2377", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 11200.0, "surface_area": 6440.0, "principal_moments": [569000.0, 3540000.0, 3540000.0], "n_faces": 319, "n_edges": 1175, "n_vertices": 858}, "dimensions": {"lines": ["M10x1.5 internal thread, 59.2 mm long."], "text": "M10x1.5 internal thread, 59.2 mm long."}, "params": {"major_d": {"type": "float", "default": 10.0, "min": 4.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Major diameter (mm)"}, "pitch": {"type": "float", "default": 1.5, "min": 0.75, "max": 3.0, "step": 0.05, "group": "Thread", "label": "Pitch (mm)"}, "thread_len": {"type": "float", "default": 59.2, "min": 23.7, "max": 118.4, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331547 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 10.0, \"min\": 4.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Major diameter (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.5, \"min\": 0.75, \"max\": 3.0, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Pitch (mm)'},\n    \"thread_len\": {\"type\": 'float', \"default\": 59.2, \"min\": 23.7, \"max\": 118.4, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.IsoThread(major_diameter=p[\"major_d\"], pitch=p[\"pitch\"], length=p[\"thread_len\"], external=False, end_finishes=(\"fade\", \"fade\"))\n    _body = _bd.Cylinder(radius=(p[\"major_d\"]) * 0.9, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _bore = _bd.Cylinder(radius=(p[\"major_d\"]) / 2, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = (_body - _bore) + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca75c_2984", "family": "compound", "tier": 2, "seed": 1177331548, "symmetry": "none", "op_count": 4, "ir_hash": "ca952af114dba31e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 138000.0, "surface_area": 32800.0, "principal_moments": [123000000.0, 146000000.0, 185000000.0], "n_faces": 32, "n_edges": 87, "n_vertices": 58}, "dimensions": {"lines": ["Rectangular body, 105 \u00d7 92.8 \u00d7 12 mm (W\u00d7D\u00d7H).", "8-sided polygon section, 27 mm across corners attachment, 65.5 mm long, from top face with a \u00d812.1 mm bore.", "Four \u00d88.4 mm holes at the corners, 73.5 \u00d7 64.96 mm spacing.", "Fillet radius 6.604 mm on vertical edges."], "text": "Rectangular body, 105 \u00d7 92.8 \u00d7 12 mm (W\u00d7D\u00d7H). 8-sided polygon section, 27 mm across corners attachment, 65.5 mm long, from top face with a \u00d812.1 mm bore. Four \u00d88.4 mm holes at the corners, 73.5 \u00d7 64.96 mm spacing. Fillet radius 6.604 mm on vertical edges."}, "params": {"base_w": {"type": "float", "default": 105, "min": 30.0, "max": 160.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 92.8, "min": 25.0, "max": 160.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_h": {"type": "float", "default": 12.0, "min": 3.0, "max": 30.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "col_sides": {"type": "int", "default": 8, "min": 3, "max": 8, "step": 1, "group": "Column", "label": "Column sides"}, "col_r": {"type": "float", "default": 13.5, "min": 6.8, "max": 23.2, "step": 1.0, "group": "Column", "label": "Column circumradius (mm)"}, "col_h": {"type": "float", "default": 65.5, "min": 19.6, "max": 196.5, "step": 1.0, "group": "Column", "label": "Column height (mm)"}, "col_bore": {"type": "float", "default": 12.1, "min": 2.0, "max": 18.0, "step": 0.5, "group": "Column", "label": "Column bore diameter (mm)"}, "hole_d": {"type": "float", "default": 8.4, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331548 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 105, \"min\": 30.0, \"max\": 160.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 92.8, \"min\": 25.0, \"max\": 160.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_h\": {\"type\": 'float', \"default\": 12.0, \"min\": 3.0, \"max\": 30.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"col_sides\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Column', \"label\": 'Column sides'},\n    \"col_r\": {\"type\": 'float', \"default\": 13.5, \"min\": 6.8, \"max\": 23.2, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column circumradius (mm)'},\n    \"col_h\": {\"type\": 'float', \"default\": 65.5, \"min\": 19.6, \"max\": 196.5, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column height (mm)'},\n    \"col_bore\": {\"type\": 'float', \"default\": 12.1, \"min\": 2.0, \"max\": 18.0, \"step\": 0.5, \"group\": 'Column', \"label\": 'Column bore diameter (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_h\"])\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"col_sides\"], p[\"col_r\"] * 2).extrude(p[\"col_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"col_bore\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"base_w\"] * 0.7, p[\"base_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"base_w\"], p[\"base_d\"]) * 0.07115989729598987)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca75d_2985", "family": "revolved", "tier": 1, "seed": 1177331549, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "7aabaf6b306b79d0", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 442000.0, "surface_area": 45200.0, "principal_moments": [271000000.0, 867000000.0, 867000000.0], "n_faces": 4, "n_edges": 6, "n_vertices": 4}, "dimensions": {"lines": ["Revolved body, \u00d866.7 mm \u00d7 140.9 mm tall with \u00d821.3 mm bore."], "text": "Revolved body, \u00d866.7 mm \u00d7 140.9 mm tall with \u00d821.3 mm bore."}, "params": {"outer_d": {"type": "float", "default": 66.7, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 140.9, "min": 42.3, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 21.3, "min": 2.0, "max": 46.7, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331549 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 66.7, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 140.9, \"min\": 42.3, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 21.3, \"min\": 2.0, \"max\": 46.7, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca75e_2986", "family": "plate", "tier": 0, "seed": 1177331550, "symmetry": "radial", "op_count": 1, "ir_hash": "faad0effab874695", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 3000.0, "surface_area": 1340.0, "principal_moments": [61000.0, 181000.0, 192000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 25 \u00d7 10 \u00d7 12 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 25 \u00d7 10 \u00d7 12 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 25, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 10.0, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331550 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 25, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 10.0, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca75f_2987", "family": "block", "tier": 2, "seed": 1177331551, "symmetry": "radial", "op_count": 3, "ir_hash": "41e5ab1e14037951", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 24000.0, "surface_area": 6900.0, "principal_moments": [2650000.0, 4720000.0, 5790000.0], "n_faces": 20, "n_edges": 54, "n_vertices": 36}, "dimensions": {"lines": ["Rectangular body, 30 \u00d7 19.9 \u00d7 44.3 mm (W\u00d7D\u00d7H).", "Four \u00d84.3 mm holes on a \u00d818 mm bolt circle.", "Fillet radius 1.284 mm on vertical edges."], "text": "Rectangular body, 30 \u00d7 19.9 \u00d7 44.3 mm (W\u00d7D\u00d7H). Four \u00d84.3 mm holes on a \u00d818 mm bolt circle. Fillet radius 1.284 mm on vertical edges."}, "params": {"block_w": {"type": "float", "default": 30, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 19.9, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 44.3, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "bolt_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 9.0, "min": 6.0, "max": 13.5, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 4, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331551 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 30, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 19.9, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 44.3, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 9.0, \"min\": 6.0, \"max\": 13.5, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 4, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"block_w\"], p[\"block_d\"]) * 0.06451541032566496)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca760_2988", "family": "plate", "tier": 1, "seed": 1177331552, "symmetry": "none", "op_count": 2, "ir_hash": "5ce589837167a667", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 2660.0, "surface_area": 2100.0, "principal_moments": [74800.0, 339000.0, 406000.0], "n_faces": 18, "n_edges": 48, "n_vertices": 32}, "dimensions": {"lines": ["Rectangular body, 38.99 \u00d7 18.1 \u00d7 4 mm (W\u00d7D\u00d7H).", "Twelve \u00d82.1 mm holes in a 4\u00d73 grid, 10.4 \u00d7 7.2 mm pitch."], "text": "Rectangular body, 38.99 \u00d7 18.1 \u00d7 4 mm (W\u00d7D\u00d7H). Twelve \u00d82.1 mm holes in a 4\u00d73 grid, 10.4 \u00d7 7.2 mm pitch."}, "params": {"plate_w": {"type": "float", "default": 38.99, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 18.1, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 4.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 2.1, "min": 2.0, "max": 2.2, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 4, "min": 1, "max": 4, "step": 1, "group": "Holes", "label": "Holes across"}, "hole_ny": {"type": "int", "default": 3, "min": 1, "max": 4, "step": 1, "group": "Holes", "label": "Holes deep"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331552 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 38.99, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 18.1, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 4.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 2.1, \"min\": 2.0, \"max\": 2.2, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 4, \"min\": 1, \"max\": 4, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes across'},\n    \"hole_ny\": {\"type\": 'int', \"default\": 3, \"min\": 1, \"max\": 4, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes deep'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.4, 7.2, p[\"hole_nx\"], p[\"hole_ny\"])\n        .hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca761_2989", "family": "plate", "tier": 2, "seed": 1177331553, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "a7a661f39518445e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 11800.0, "surface_area": 4610.0, "principal_moments": [916000.0, 1930000.0, 2660000.0], "n_faces": 14, "n_edges": 44, "n_vertices": 28}, "dimensions": {"lines": ["Rectangular body, 45.17 \u00d7 30.2 \u00d7 10 mm (W\u00d7D\u00d7H).", "Four \u00d86.4 mm countersunk holes (82\u00b0) at the corners, 31.619 \u00d7 21.14 mm spacing."], "text": "Rectangular body, 45.17 \u00d7 30.2 \u00d7 10 mm (W\u00d7D\u00d7H). Four \u00d86.4 mm countersunk holes (82\u00b0) at the corners, 31.619 \u00d7 21.14 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 45.17, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 30.2, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 6.8, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "cs_angle": {"type": "float", "default": 82.0, "min": 60.0, "max": 120.0, "step": 15.0, "group": "Holes", "label": "Countersink angle (\u00b0)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331553 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 45.17, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 30.2, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 6.8, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"cs_angle\": {\"type\": 'float', \"default\": 82.0, \"min\": 60.0, \"max\": 120.0, \"step\": 15.0, \"group\": 'Holes', \"label\": 'Countersink angle (\u00b0)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().cskHole(p[\"hole_d\"], p[\"hole_d\"] * 2, p[\"cs_angle\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca762_2990", "family": "revolved", "tier": 0, "seed": 1177331554, "symmetry": "none", "op_count": 1, "ir_hash": "3b2dae14b8caa1a3", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 57600.0, "surface_area": 15200.0, "principal_moments": [11799999.999999998, 28099999.999999996, 28099999.999999996], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d836.95 mm \u00d7 80.6 mm tall."], "text": "Revolved body, \u00d836.95 mm \u00d7 80.6 mm tall."}, "params": {"outer_d": {"type": "float", "default": 36.95, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 80.6, "min": 24.2, "max": 241.8, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331554 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 36.95, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 80.6, \"min\": 24.2, \"max\": 241.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca763_2991", "family": "revolved", "tier": 1, "seed": 1177331555, "symmetry": "none", "op_count": 1, "ir_hash": "c50e667d659f0863", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 876000.0, "surface_area": 89400.0, "principal_moments": [685000000.0, 5040000000.0, 5040000000.0], "n_faces": 4, "n_edges": 6, "n_vertices": 4}, "dimensions": {"lines": ["Revolved body, \u00d872.99 mm \u00d7 253.6 mm tall with \u00d830.5 mm bore."], "text": "Revolved body, \u00d872.99 mm \u00d7 253.6 mm tall with \u00d830.5 mm bore."}, "params": {"outer_d": {"type": "float", "default": 72.99, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 253.6, "min": 76.1, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 30.5, "min": 2.0, "max": 51.1, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331555 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 72.99, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 253.6, \"min\": 76.1, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 30.5, \"min\": 2.0, \"max\": 51.1, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca764_2992", "family": "block", "tier": 1, "seed": 1177331556, "symmetry": "none", "op_count": 2, "ir_hash": "e7db7629f089c127", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 76800.0, "surface_area": 15900.0, "principal_moments": [15999999.999999998, 40900000.0, 49899999.99999999], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["Rectangular body, 44.1 \u00d7 23.3 \u00d7 76.5 mm (W\u00d7D\u00d7H).", "Seven \u00d82.1 mm holes in two staggered rows, 11 \u00d7 9.8 mm pitch."], "text": "Rectangular body, 44.1 \u00d7 23.3 \u00d7 76.5 mm (W\u00d7D\u00d7H). Seven \u00d82.1 mm holes in two staggered rows, 11 \u00d7 9.8 mm pitch."}, "params": {"block_w": {"type": "float", "default": 44.1, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 23.3, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 76.5, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 2.1, "min": 2.0, "max": 2.3, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 4, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331556 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 44.1, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 23.3, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 76.5, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 2.1, \"min\": 2.0, \"max\": 2.3, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 4, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 11.0\n    _ssy = 9.8\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca765_2993", "family": "block", "tier": 1, "seed": 1177331557, "symmetry": "none", "op_count": 2, "ir_hash": "f3d795542dd51a2e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 27800.0, "surface_area": 10200.0, "principal_moments": [3090000.0, 8150000.0, 10100000.0], "n_faces": 22, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 34.11 \u00d7 15.9 \u00d7 57.3 mm (W\u00d7D\u00d7H).", "Four 3.8 mm square holes at the corners, 23.877 \u00d7 11.13 mm spacing."], "text": "Rectangular body, 34.11 \u00d7 15.9 \u00d7 57.3 mm (W\u00d7D\u00d7H). Four 3.8 mm square holes at the corners, 23.877 \u00d7 11.13 mm spacing."}, "params": {"block_w": {"type": "float", "default": 34.11, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 15.9, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 57.3, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 3.8, "min": 2.0, "max": 4.7, "step": 0.5, "group": "Holes", "label": "Square hole size (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331557 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 34.11, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 15.9, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 57.3, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.8, \"min\": 2.0, \"max\": 4.7, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Square hole size (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().rect(p[\"hole_d\"], p[\"hole_d\"]).cutThruAll()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462ca766_2994", "family": "tapped", "tier": 2, "seed": 1177331558, "symmetry": "none", "op_count": 1, "ir_hash": "014cd6e50fe6d663", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 32800.0, "surface_area": 8970.0, "principal_moments": [6920000.0, 7680000.0, 13599999.999999998], "n_faces": 454, "n_edges": 1244, "n_vertices": 792}, "dimensions": {"lines": ["Four M6x1 tapped holes in a plate."], "text": "Four M6x1 tapped holes in a plate."}, "params": {"major_d": {"type": "float", "default": 6.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 1.0, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 13.7, "min": 7.2, "max": 24.7, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "plate_w": {"type": "float", "default": 51.28, "min": 30.8, "max": 82.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 48.5, "min": 29.1, "max": 77.6, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331558 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.0, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 13.7, \"min\": 7.2, \"max\": 24.7, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"plate_w\": {\"type\": 'float', \"default\": 51.28, \"min\": 30.8, \"max\": 82.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 48.5, \"min\": 29.1, \"max\": 77.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n}\n\n\ndef build(p):\n\n    _W, _D, _H = p[\"plate_w\"], p[\"plate_d\"], p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Box(_W, _D, _H)\n    _sx, _sy = p[\"plate_w\"] * 0.6, p[\"plate_d\"] * 0.6\n    _locs = [(_xx, _yy) for _xx in (-_sx / 2, _sx / 2) for _yy in (-_sy / 2, _sy / 2)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462ca767_2995", "family": "lofted", "tier": 2, "seed": 1177331559, "symmetry": "none", "op_count": 2, "ir_hash": "c81d751dc4a8e1f3", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 46100.0, "surface_area": 9290.0, "principal_moments": [8790000.0, 13199999.999999998, 13199999.999999998], "n_faces": 9, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["Lofted body through 3 sections: \u00d845 mm circular section \u2192 \u00d835.1 mm circular section \u2192 6-sided polygon section, 25.2 mm across corners.", "One \u00d810.4 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 3 sections: \u00d845 mm circular section \u2192 \u00d835.1 mm circular section \u2192 6-sided polygon section, 25.2 mm across corners. One \u00d810.4 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 45, "min": 22.5, "max": 72.0, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 25.2, "min": 10.1, "max": 54.0, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 51.6, "min": 20.6, "max": 103.2, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_mid": {"type": "float", "default": 35.1, "min": 12.6, "max": 54.0, "step": 1.0, "group": "Body", "label": "Mid size (mm)"}, "loft_bore_d": {"type": "float", "default": 10.4, "min": 2.0, "max": 20.2, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331559 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 45, \"min\": 22.5, \"max\": 72.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 25.2, \"min\": 10.1, \"max\": 54.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 51.6, \"min\": 20.6, \"max\": 103.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_mid\": {\"type\": 'float', \"default\": 35.1, \"min\": 12.6, \"max\": 54.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Mid size (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 10.4, \"min\": 2.0, \"max\": 20.2, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .circle(p[\"loft_base\"] / 2)\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .circle(p[\"loft_mid\"] / 2)\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .polygon(6, p[\"loft_top\"] * 0.5 * 2)\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca768_2996", "family": "plate", "tier": 1, "seed": 1177331560, "symmetry": "radial", "op_count": 2, "ir_hash": "14919e68e12ed962", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 21600.0, "surface_area": 6240.0, "principal_moments": [1750000.0, 7860000.0, 9090000.0], "n_faces": 8, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["Rectangular body, 65 \u00d7 28.4 \u00d7 12 mm (W\u00d7D\u00d7H).", "Six \u00d85.3 mm holes on a \u00d839 mm bolt circle."], "text": "Rectangular body, 65 \u00d7 28.4 \u00d7 12 mm (W\u00d7D\u00d7H). Six \u00d85.3 mm holes on a \u00d839 mm bolt circle."}, "params": {"plate_w": {"type": "float", "default": 65, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 28.4, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "bolt_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 19.5, "min": 13.0, "max": 29.2, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 6, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331560 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 65, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 28.4, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 19.5, \"min\": 13.0, \"max\": 29.2, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca769_2997", "family": "revolved", "tier": 1, "seed": 1177331561, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "3a2f9c71d1d3bbd4", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 1900000.0, "surface_area": 136000.0, "principal_moments": [5010000000.0, 9620000000.0, 9620000000.0], "n_faces": 10, "n_edges": 17, "n_vertices": 10}, "dimensions": {"lines": ["Revolved body, \u00d874.31 mm \u00d7 232 mm tall with \u00d833.7 mm bore, \u00d8161.4 mm \u00d7 68.3 mm flange.", "Chamfer 0.4 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d874.31 mm \u00d7 232 mm tall with \u00d833.7 mm bore, \u00d8161.4 mm \u00d7 68.3 mm flange. Chamfer 0.4 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 74.31, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 232.0, "min": 69.6, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 33.7, "min": 2.0, "max": 52.0, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 161.4, "min": 89.2, "max": 222.9, "step": 1.0, "group": "Body", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 68.3, "min": 20.5, "max": 116.0, "step": 0.5, "group": "Body", "label": "Flange height (mm)"}, "end_chamfer": {"type": "float", "default": 0.4, "min": 0.1, "max": 1.2, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331561 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 74.31, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 232.0, \"min\": 69.6, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 33.7, \"min\": 2.0, \"max\": 52.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 161.4, \"min\": 89.2, \"max\": 222.9, \"step\": 1.0, \"group\": 'Body', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 68.3, \"min\": 20.5, \"max\": 116.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Flange height (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.4, \"min\": 0.1, \"max\": 1.2, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462ca76a_2998", "family": "flanged", "tier": 2, "seed": 1177331562, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "438971a42b3019d4", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 146000.0, "surface_area": 30900.0, "principal_moments": [99899999.99999999, 99899999.99999999, 145000000.0], "n_faces": 26, "n_edges": 57, "n_vertices": 34}, "dimensions": {"lines": ["Revolved body, \u00d857.74 mm \u00d7 45 mm tall with \u00d825.8 mm bore, \u00d8108 mm \u00d7 8.1 mm flange.", "Eight \u00d85.3 mm holes on a \u00d864.8 mm bolt circle.", "Chamfer 0.5 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d857.74 mm \u00d7 45 mm tall with \u00d825.8 mm bore, \u00d8108 mm \u00d7 8.1 mm flange. Eight \u00d85.3 mm holes on a \u00d864.8 mm bolt circle. Chamfer 0.5 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 57.74, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 45.0, "min": 13.5, "max": 112.5, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 25.8, "min": 2.0, "max": 40.4, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 108.0, "min": 75.1, "max": 173.2, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 8.1, "min": 2.4, "max": 18.0, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 32.4, "min": 21.6, "max": 48.6, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 8, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}, "end_chamfer": {"type": "float", "default": 0.5, "min": 0.1, "max": 2.0, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331562 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 57.74, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 45.0, \"min\": 13.5, \"max\": 112.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 25.8, \"min\": 2.0, \"max\": 40.4, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 108.0, \"min\": 75.1, \"max\": 173.2, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 8.1, \"min\": 2.4, \"max\": 18.0, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 32.4, \"min\": 21.6, \"max\": 48.6, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.5, \"min\": 0.1, \"max\": 2.0, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462ca76b_2999", "family": "enclosure", "tier": 2, "seed": 1177331563, "symmetry": "none", "op_count": 3, "ir_hash": "d738ffeeb3c255fb", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 34300.0, "surface_area": 26200.0, "principal_moments": [14499999.999999998, 31899999.999999996, 33099999.999999996], "n_faces": 15, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 80 \u00d7 35.7 \u00d7 47.7 mm (W\u00d7D\u00d7H).", "Hollowed to 2.7 mm wall thickness, open at top face.", "Four \u00d85.3 mm holes at the corners, 56 \u00d7 24.99 mm spacing."], "text": "Rectangular body, 80 \u00d7 35.7 \u00d7 47.7 mm (W\u00d7D\u00d7H). Hollowed to 2.7 mm wall thickness, open at top face. Four \u00d85.3 mm holes at the corners, 56 \u00d7 24.99 mm spacing."}, "params": {"enc_w": {"type": "float", "default": 80, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 35.7, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 47.7, "min": 19.1, "max": 95.4, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 2.7, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 8.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331563 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 80, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 35.7, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 47.7, \"min\": 19.1, \"max\": 95.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 2.7, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 8.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"enc_w\"] * 0.7, p[\"enc_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462ca76c_3000", "family": "ribbed", "tier": 1, "seed": 1177331564, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "4675de80cba57d8a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 33700.0, "surface_area": 20600.0, "principal_moments": [12999999.999999998, 22400000.0, 34700000.0], "n_faces": 54, "n_edges": 132, "n_vertices": 80}, "dimensions": {"lines": ["Rectangular body, 90 \u00d7 64.8 \u00d7 4 mm (W\u00d7D\u00d7H).", "Six ribs, 2.9 mm thick, 8.3 mm tall."], "text": "Rectangular body, 90 \u00d7 64.8 \u00d7 4 mm (W\u00d7D\u00d7H). Six ribs, 2.9 mm thick, 8.3 mm tall."}, "params": {"base_w": {"type": "float", "default": 90, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 64.8, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 4.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 6, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 8.3, "min": 3.3, "max": 16.6, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 2.9, "min": 1.0, "max": 7.2, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331564 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 90, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 64.8, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 6, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 8.3, \"min\": 3.3, \"max\": 16.6, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 2.9, \"min\": 1.0, \"max\": 7.2, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca76d_3001", "family": "plate", "tier": 3, "seed": 1177331565, "symmetry": "mirror_x", "op_count": 4, "ir_hash": "eedfa51651c3e70a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 42200.0, "surface_area": 11800.0, "principal_moments": [7620000.0, 30499999.999999996, 37400000.0], "n_faces": 17, "n_edges": 42, "n_vertices": 28}, "dimensions": {"lines": ["Rectangular body, 93.17 \u00d7 45.7 \u00d7 10 mm (W\u00d7D\u00d7H).", "Four \u00d83.2 mm holes at the corners, 65.219 \u00d7 31.99 mm spacing.", "Chamfer 2.7 mm on vertical edges.", "Boss \u00d88.4 mm \u00d7 4.5 mm tall on top face with a \u00d83.2 mm bore."], "text": "Rectangular body, 93.17 \u00d7 45.7 \u00d7 10 mm (W\u00d7D\u00d7H). Four \u00d83.2 mm holes at the corners, 65.219 \u00d7 31.99 mm spacing. Chamfer 2.7 mm on vertical edges. Boss \u00d88.4 mm \u00d7 4.5 mm tall on top face with a \u00d83.2 mm bore."}, "params": {"plate_w": {"type": "float", "default": 93.17, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 45.7, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 10.3, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "chamfer_d": {"type": "float", "default": 2.7, "min": 1.8, "max": 3.9, "step": 0.5, "group": "Body", "label": "Chamfer distance (mm)"}, "chamfered": {"type": "bool", "default": true, "group": "Body", "label": "Chamfer edges"}, "boss_d": {"type": "float", "default": 8.4, "min": 4.2, "max": 16.8, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 4.5, "min": 1.8, "max": 11.2, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}, "boss_bore_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 5.9, "step": 0.1, "group": "Boss", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331565 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 93.17, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 45.7, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 10.3, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"chamfer_d\": {\"type\": 'float', \"default\": 2.7, \"min\": 1.8, \"max\": 3.9, \"step\": 0.5, \"group\": 'Body', \"label\": 'Chamfer distance (mm)'},\n    \"chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Chamfer edges'},\n    \"boss_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 4.2, \"max\": 16.8, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 4.5, \"min\": 1.8, \"max\": 11.2, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n    \"boss_bore_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 5.9, \"step\": 0.1, \"group\": 'Boss', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"chamfered\"]:\n        result = result.edges('|Z').chamfer(p[\"chamfer_d\"])\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .hole(p[\"boss_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462ca76e_3002", "family": "gear", "tier": 0, "seed": 1177331566, "symmetry": "none", "op_count": 1, "ir_hash": "902803363c5fd447", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 7460.0, "surface_area": 4210.0, "principal_moments": [862000.0, 862000.0, 1690000.0], "n_faces": 206, "n_edges": 612, "n_vertices": 408}, "dimensions": {"lines": ["Spur gear, module 1.25 mm, 34 teeth (pitch \u00d842.5 mm), face width 5.3 mm."], "text": "Spur gear, module 1.25 mm, 34 teeth (pitch \u00d842.5 mm), face width 5.3 mm."}, "params": {"module": {"type": "float", "default": 1.25, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 34, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 5.3, "min": 2.1, "max": 13.2, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331566 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 1.25, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 34, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.1, \"max\": 13.2, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca76f_3003", "family": "bracket", "tier": 2, "seed": 1177331567, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "a6057aeeb18c6d1a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 28500.0, "surface_area": 11500.0, "principal_moments": [8820000.0, 12599999.999999998, 14199999.999999998], "n_faces": 19, "n_edges": 51, "n_vertices": 34}, "dimensions": {"lines": ["C-channel bracket: base leg 46.09 mm, vertical leg 43.3 mm, 39.13 mm wide, 6 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 6.2 mm corner gusset."], "text": "C-channel bracket: base leg 46.09 mm, vertical leg 43.3 mm, 39.13 mm wide, 6 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 6.2 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 46.09, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 43.3, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 39.13, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 6.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 6.2, "min": 3.0, "max": 18.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331567 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 46.09, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 43.3, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 39.13, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 6.2, \"min\": 3.0, \"max\": 18.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl / 2, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bl - _bt, _bt).lineTo(_bl - _bt - _g, _bt)\n                    .lineTo(_bl - _bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca770_3004", "family": "bracket", "tier": 1, "seed": 1177331568, "symmetry": "none", "op_count": 1, "ir_hash": "64d3163dff524110", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 14800.0, "surface_area": 6830.0, "principal_moments": [2780000.0, 9000000.0, 10600000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["L-bracket: base leg 60 mm, vertical leg 62.3 mm, 21.74 mm wide, 6 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."], "text": "L-bracket: base leg 60 mm, vertical leg 62.3 mm, 21.74 mm wide, 6 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 60, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 62.3, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 21.74, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 6.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 8.7, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331568 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 60, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 62.3, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 21.74, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 8.7, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca771_3005", "family": "compound", "tier": 1, "seed": 1177331569, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "bb3a886f5653a278", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 30200.0, "surface_area": 6320.0, "principal_moments": [2250000.0, 12499999.999999998, 12499999.999999998], "n_faces": 5, "n_edges": 6, "n_vertices": 4}, "dimensions": {"lines": ["\u00d825.66 mm circular section, extruded 50.8 mm thick.", "\u00d813.2 mm circular section attachment, 28.8 mm long, from top face."], "text": "\u00d825.66 mm circular section, extruded 50.8 mm thick. \u00d813.2 mm circular section attachment, 28.8 mm long, from top face."}, "params": {"shaft_d": {"type": "float", "default": 25.66, "min": 12.8, "max": 46.2, "step": 1.0, "group": "Body", "label": "Shaft diameter (mm)"}, "shaft_len": {"type": "float", "default": 50.8, "min": 20.3, "max": 101.6, "step": 1.0, "group": "Body", "label": "Shaft length (mm)"}, "step_d": {"type": "float", "default": 13.2, "min": 6.6, "max": 23.1, "step": 1.0, "group": "Step", "label": "Step diameter (mm)"}, "step_len": {"type": "float", "default": 28.8, "min": 8.6, "max": 72.0, "step": 1.0, "group": "Step", "label": "Step length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331569 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"shaft_d\": {\"type\": 'float', \"default\": 25.66, \"min\": 12.8, \"max\": 46.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft diameter (mm)'},\n    \"shaft_len\": {\"type\": 'float', \"default\": 50.8, \"min\": 20.3, \"max\": 101.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft length (mm)'},\n    \"step_d\": {\"type\": 'float', \"default\": 13.2, \"min\": 6.6, \"max\": 23.1, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step diameter (mm)'},\n    \"step_len\": {\"type\": 'float', \"default\": 28.8, \"min\": 8.6, \"max\": 72.0, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').circle(p[\"shaft_d\"] / 2).extrude(p[\"shaft_len\"]))\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"step_d\"] / 2).extrude(p[\"step_len\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462ca772_3006", "family": "tapped", "tier": 0, "seed": 1177331570, "symmetry": "none", "op_count": 1, "ir_hash": "1fa6ba497b05b84d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 8660.0, "surface_area": 3170.0, "principal_moments": [666000.0, 666000.0, 1100000.0], "n_faces": 90, "n_edges": 242, "n_vertices": 154}, "dimensions": {"lines": ["One M8x1.25 tapped hole in a plate."], "text": "One M8x1.25 tapped hole in a plate."}, "params": {"major_d": {"type": "float", "default": 8.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 1.25, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 12.8, "min": 9.6, "max": 23.0, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "plate_w": {"type": "float", "default": 26.8, "min": 16.1, "max": 42.9, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 26.8, "min": 16.1, "max": 42.9, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331570 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.25, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 12.8, \"min\": 9.6, \"max\": 23.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"plate_w\": {\"type\": 'float', \"default\": 26.8, \"min\": 16.1, \"max\": 42.9, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 26.8, \"min\": 16.1, \"max\": 42.9, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n}\n\n\ndef build(p):\n\n    _W, _D, _H = p[\"plate_w\"], p[\"plate_d\"], p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Box(_W, _D, _H)\n    _locs = [(0.0, 0.0)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca773_3007", "family": "block", "tier": 1, "seed": 1177331571, "symmetry": "none", "op_count": 2, "ir_hash": "1e149e392dd5a112", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 49400.0, "surface_area": 14700.0, "principal_moments": [7530000.0, 24899999.999999996, 29999999.999999996], "n_faces": 22, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 40 \u00d7 17.7 \u00d7 75.9 mm (W\u00d7D\u00d7H).", "Four 3.8 mm square holes at the corners, 28 \u00d7 12.39 mm spacing."], "text": "Rectangular body, 40 \u00d7 17.7 \u00d7 75.9 mm (W\u00d7D\u00d7H). Four 3.8 mm square holes at the corners, 28 \u00d7 12.39 mm spacing."}, "params": {"block_w": {"type": "float", "default": 40, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 17.7, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 75.9, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 3.8, "min": 2.0, "max": 5.2, "step": 0.5, "group": "Holes", "label": "Square hole size (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331571 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 40, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 17.7, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 75.9, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.8, \"min\": 2.0, \"max\": 5.2, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Square hole size (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().rect(p[\"hole_d\"], p[\"hole_d\"]).cutThruAll()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca774_3008", "family": "plate", "tier": 1, "seed": 1177331572, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "33cb2466ab1b3e6c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 75200.0, "surface_area": 22600.0, "principal_moments": [39900000.0, 89300000.0, 128000000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 119.51 \u00d7 79.7 \u00d7 8 mm (W\u00d7D\u00d7H).", "Four \u00d86.4 mm holes at the corners, 83.657 \u00d7 55.79 mm spacing."], "text": "Rectangular body, 119.51 \u00d7 79.7 \u00d7 8 mm (W\u00d7D\u00d7H). Four \u00d86.4 mm holes at the corners, 83.657 \u00d7 55.79 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 119.51, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 79.7, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331572 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 119.51, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 79.7, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462ca775_3009", "family": "threaded", "tier": 2, "seed": 1177331573, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "87f3f8630ebe0601", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 6820.0, "surface_area": 3970.0, "principal_moments": [140000.0, 1790000.0, 1790000.0], "n_faces": 190, "n_edges": 484, "n_vertices": 296}, "dimensions": {"lines": ["Tr 14x3 external thread, 55.5 mm long."], "text": "Tr 14x3 external thread, 55.5 mm long."}, "params": {"thread_size": {"type": "enum", "default": "14x3", "choices": ["8x1.5", "10x2", "12x3", "14x3", "16x4", "18x4", "20x4", "24x5", "28x5", "30x6", "36x6", "40x7"], "group": "Thread", "label": "Size designation"}, "thread_len": {"type": "float", "default": 55.5, "min": 22.2, "max": 111.0, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331573 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"thread_size\": {\"type\": 'enum', \"default\": '14x3', \"choices\": ['8x1.5', '10x2', '12x3', '14x3', '16x4', '18x4', '20x4', '24x5', '28x5', '30x6', '36x6', '40x7'], \"group\": 'Thread', \"label\": 'Size designation'},\n    \"thread_len\": {\"type\": 'float', \"default\": 55.5, \"min\": 22.2, \"max\": 111.0, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.MetricTrapezoidalThread(size=p[\"thread_size\"], length=p[\"thread_len\"], external=True, end_finishes=(\"fade\", \"fade\"))\n    _r = _thr.min_radius if hasattr(_thr, 'min_radius') else _thr.root_radius\n    _shank = _bd.Cylinder(radius=_r, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = _shank + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462ca776_3010", "family": "enclosure", "tier": 3, "seed": 1177331574, "symmetry": "none", "op_count": 3, "ir_hash": "fe0eb386922c6ed8", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 18500.0, "surface_area": 9360.0, "principal_moments": [2810000.0, 3360000.0, 4410000.0], "n_faces": 15, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 37.47 \u00d7 21.4 \u00d7 34.2 mm (W\u00d7D\u00d7H).", "Hollowed to 5.9 mm wall thickness, open at top face.", "Four \u00d84.3 mm holes at the corners, 26.229 \u00d7 14.98 mm spacing."], "text": "Rectangular body, 37.47 \u00d7 21.4 \u00d7 34.2 mm (W\u00d7D\u00d7H). Hollowed to 5.9 mm wall thickness, open at top face. Four \u00d84.3 mm holes at the corners, 26.229 \u00d7 14.98 mm spacing."}, "params": {"enc_w": {"type": "float", "default": 37.47, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 21.4, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 34.2, "min": 13.7, "max": 68.4, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 5.9, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 4.8, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331574 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 37.47, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 21.4, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 34.2, \"min\": 13.7, \"max\": 68.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 5.9, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 4.8, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"enc_w\"] * 0.7, p[\"enc_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca777_3011", "family": "bracket", "tier": 2, "seed": 1177331575, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "6bbbbb44452c1fb9", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 58500.0, "surface_area": 25900.0, "principal_moments": [28999999.999999996, 102000000.0, 107000000.0], "n_faces": 18, "n_edges": 48, "n_vertices": 32}, "dimensions": {"lines": ["Z-bracket: base leg 81.28 mm, vertical leg 72.5 mm, top leg 49 mm, 59.67 mm wide, 5 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 5 mm corner gusset."], "text": "Z-bracket: base leg 81.28 mm, vertical leg 72.5 mm, top leg 49 mm, 59.67 mm wide, 5 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 5 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 81.28, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 72.5, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 59.67, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 5.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 49.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}, "gusset_t": {"type": "float", "default": 5.0, "min": 2.5, "max": 15.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331575 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 81.28, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 72.5, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 59.67, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 49.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 2.5, \"max\": 15.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _tl, _vl) * 0.4 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(0, _vl - _bt).lineTo(-_g, _vl - _bt)\n                    .lineTo(0, _vl - _bt - _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462ca778_3012", "family": "profiled", "tier": 2, "seed": 1177331576, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "475921fc0ad6a393", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 450000.0, "surface_area": 53600.0, "principal_moments": [105000000.0, 5690000000.0, 5750000000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["51.64 \u00d7 25 mm slot section, extruded 388.8 mm thick."], "text": "51.64 \u00d7 25 mm slot section, extruded 388.8 mm thick."}, "params": {"slot_len": {"type": "float", "default": 51.64, "min": 25.8, "max": 103.3, "step": 1.0, "group": "Profile", "label": "Slot length (mm)"}, "slot_w": {"type": "float", "default": 25.0, "min": 12.5, "max": 50.0, "step": 0.5, "group": "Profile", "label": "Slot width (mm)"}, "length": {"type": "float", "default": 388.8, "min": 116.6, "max": 1166.4, "step": 5.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331576 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"slot_len\": {\"type\": 'float', \"default\": 51.64, \"min\": 25.8, \"max\": 103.3, \"step\": 1.0, \"group\": 'Profile', \"label\": 'Slot length (mm)'},\n    \"slot_w\": {\"type\": 'float', \"default\": 25.0, \"min\": 12.5, \"max\": 50.0, \"step\": 0.5, \"group\": 'Profile', \"label\": 'Slot width (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 388.8, \"min\": 116.6, \"max\": 1166.4, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').slot2D(p[\"slot_len\"], p[\"slot_w\"]).extrude(p[\"length\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca779_3013", "family": "bracket", "tier": 1, "seed": 1177331577, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "4f7dab98441fa50a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 20000.0, "surface_area": 8310.0, "principal_moments": [4630000.0, 6100000.0, 8190000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["L-bracket: base leg 39.49 mm, vertical leg 42.2 mm, 44.6 mm wide, 6 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."], "text": "L-bracket: base leg 39.49 mm, vertical leg 42.2 mm, 44.6 mm wide, 6 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 39.49, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 42.2, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 44.6, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 6.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331577 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 39.49, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 42.2, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 44.6, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462ca77a_3014", "family": "gear", "tier": 0, "seed": 1177331578, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "f54bb277551c7d28", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 5960.0, "surface_area": 2900.0, "principal_moments": [331000.0, 331000.0, 529000.0], "n_faces": 80, "n_edges": 234, "n_vertices": 156}, "dimensions": {"lines": ["Spur gear, module 2 mm, 13 teeth (pitch \u00d826 mm), face width 11.6 mm."], "text": "Spur gear, module 2 mm, 13 teeth (pitch \u00d826 mm), face width 11.6 mm."}, "params": {"module": {"type": "float", "default": 2.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 13, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 11.6, "min": 4.6, "max": 29.0, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331578 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 2.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 13, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 11.6, \"min\": 4.6, \"max\": 29.0, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca77b_3015", "family": "revolved", "tier": 0, "seed": 1177331579, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "999b4d962fccdb66", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 439000.0, "surface_area": 60700.0, "principal_moments": [323000000.0, 924000000.0, 924000000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d870 mm \u00d7 171.1 mm tall."], "text": "Revolved body, \u00d870 mm \u00d7 171.1 mm tall."}, "params": {"outer_d": {"type": "float", "default": 70, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 171.1, "min": 51.3, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331579 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 70, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 171.1, \"min\": 51.3, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca77c_3016", "family": "compound", "tier": 2, "seed": 1177331580, "symmetry": "none", "op_count": 5, "ir_hash": "1a01b54c53c303bf", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 26800.0, "surface_area": 6270.0, "principal_moments": [3490000.0, 4240000.0, 4720000.0], "n_faces": 35, "n_edges": 90, "n_vertices": 60}, "dimensions": {"lines": ["Rectangular body, 35 \u00d7 29.1 \u00d7 26.2 mm (W\u00d7D\u00d7H).", "8-sided polygon section, 6 mm across corners attachment, 6.8 mm long, from left face.", "8-sided polygon section, 6 mm across corners attachment, 6.8 mm long, from back face.", "8-sided polygon section, 6 mm across corners attachment, 6.8 mm long, from front face.", "Four \u00d83.2 mm holes at the corners, 24.5 \u00d7 20.37 mm spacing."], "text": "Rectangular body, 35 \u00d7 29.1 \u00d7 26.2 mm (W\u00d7D\u00d7H). 8-sided polygon section, 6 mm across corners attachment, 6.8 mm long, from left face. 8-sided polygon section, 6 mm across corners attachment, 6.8 mm long, from back face. 8-sided polygon section, 6 mm across corners attachment, 6.8 mm long, from front face. Four \u00d83.2 mm holes at the corners, 24.5 \u00d7 20.37 mm spacing."}, "params": {"block_w": {"type": "float", "default": 35, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body width (mm)"}, "block_d": {"type": "float", "default": 29.1, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body depth (mm)"}, "block_h": {"type": "float", "default": 26.2, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body height (mm)"}, "port_sides": {"type": "int", "default": 8, "min": 3, "max": 8, "step": 1, "group": "Ports", "label": "Ports sides"}, "port_r": {"type": "float", "default": 3.0, "min": 1.5, "max": 5.9, "step": 1.0, "group": "Ports", "label": "Ports circumradius (mm)"}, "port_len": {"type": "float", "default": 6.8, "min": 1.4, "max": 16.6, "step": 1.0, "group": "Ports", "label": "Port boss length (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 6.5, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331580 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 35, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 29.1, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 26.2, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body height (mm)'},\n    \"port_sides\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Ports', \"label\": 'Ports sides'},\n    \"port_r\": {\"type\": 'float', \"default\": 3.0, \"min\": 1.5, \"max\": 5.9, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Ports circumradius (mm)'},\n    \"port_len\": {\"type\": 'float', \"default\": 6.8, \"min\": 1.4, \"max\": 16.6, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Port boss length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 6.5, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"port_sides\"], p[\"port_r\"] * 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"port_sides\"], p[\"port_r\"] * 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"port_sides\"], p[\"port_r\"] * 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca77d_3017", "family": "block", "tier": 1, "seed": 1177331581, "symmetry": "none", "op_count": 2, "ir_hash": "5d3dc82cd6817938", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 112000.0, "surface_area": 20500.0, "principal_moments": [31999999.999999996, 69800000.0, 88200000.0], "n_faces": 15, "n_edges": 39, "n_vertices": 26}, "dimensions": {"lines": ["Rectangular body, 51.76 \u00d7 26.9 \u00d7 82.2 mm (W\u00d7D\u00d7H).", "Nine \u00d82.1 mm holes in two staggered rows, 9.7 \u00d7 11.2 mm pitch."], "text": "Rectangular body, 51.76 \u00d7 26.9 \u00d7 82.2 mm (W\u00d7D\u00d7H). Nine \u00d82.1 mm holes in two staggered rows, 9.7 \u00d7 11.2 mm pitch."}, "params": {"block_w": {"type": "float", "default": 51.76, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 26.9, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 82.2, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 2.1, "min": 2.0, "max": 2.7, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 5, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331581 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 51.76, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 26.9, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 82.2, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 2.1, \"min\": 2.0, \"max\": 2.7, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 5, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 9.7\n    _ssy = 11.2\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca77e_3018", "family": "revolved", "tier": 0, "seed": 1177331582, "symmetry": "none", "op_count": 1, "ir_hash": "2798400ef468ac81", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 60300.0, "surface_area": 13400.0, "principal_moments": [22799999.999999996, 22799999.999999996, 41000000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d867.32 mm \u00d7 25.4 mm tall."], "text": "Revolved body, \u00d867.32 mm \u00d7 25.4 mm tall."}, "params": {"outer_d": {"type": "float", "default": 67.32, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 25.4, "min": 7.6, "max": 76.2, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331582 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 67.32, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 25.4, \"min\": 7.6, \"max\": 76.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca77f_3019", "family": "block", "tier": 1, "seed": 1177331583, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "4132ca8f2b13c1ee", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 19900.0, "surface_area": 5870.0, "principal_moments": [2100000.0, 2970000.0, 4150000.0], "n_faces": 11, "n_edges": 27, "n_vertices": 18}, "dimensions": {"lines": ["Rectangular body, 31.4 \u00d7 16.7 \u00d7 38.9 mm (W\u00d7D\u00d7H).", "Five \u00d81.8 mm holes in two staggered rows, 11.8 \u00d7 10.6 mm pitch."], "text": "Rectangular body, 31.4 \u00d7 16.7 \u00d7 38.9 mm (W\u00d7D\u00d7H). Five \u00d81.8 mm holes in two staggered rows, 11.8 \u00d7 10.6 mm pitch."}, "params": {"block_w": {"type": "float", "default": 31.4, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 16.7, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 38.9, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 1.8, "min": 2.0, "max": 1.7, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 3, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331583 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 31.4, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 16.7, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 38.9, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 1.8, \"min\": 2.0, \"max\": 1.7, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 3, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 11.8\n    _ssy = 10.6\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462ca780_3020", "family": "sketched", "tier": 0, "seed": 1177331584, "symmetry": "none", "op_count": 1, "ir_hash": "4d33474d2c25b7e5", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 104000.0, "surface_area": 17700.0, "principal_moments": [39300000.0, 39300000.0, 46299999.99999999], "n_faces": 6, "n_edges": 9, "n_vertices": 5}, "dimensions": {"lines": ["Revolved organic body from a freeform sketched section (6 segments: 5 straight, 1 curve), ~37.8 \u00d7 40 mm half-silhouette."], "text": "Revolved organic body from a freeform sketched section (6 segments: 5 straight, 1 curve), ~37.8 \u00d7 40 mm half-silhouette."}, "params": {"sk_r": {"type": "float", "default": 45.0, "min": 22.5, "max": 81.0, "step": 1.0, "group": "Sketch", "label": "Max radius (mm)"}, "sk_h": {"type": "float", "default": 40, "min": 20.0, "max": 72.0, "step": 1.0, "group": "Sketch", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331584 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_r\": {\"type\": 'float', \"default\": 45.0, \"min\": 22.5, \"max\": 81.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Max radius (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 40, \"min\": 20.0, \"max\": 72.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XZ').moveTo(p[\"sk_r\"] * 0.8224, p[\"sk_h\"] * 0.0).lineTo(p[\"sk_r\"] * 0.6666, p[\"sk_h\"] * 0.1255).lineTo(p[\"sk_r\"] * 0.5145, p[\"sk_h\"] * 0.6499).bezier([(p[\"sk_r\"] * 0.5145, p[\"sk_h\"] * 0.6499), (p[\"sk_r\"] * 0.6193, p[\"sk_h\"] * 0.7661), (p[\"sk_r\"] * 0.84, p[\"sk_h\"] * 0.8822)]).lineTo(p[\"sk_r\"] * 0.4741, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.0, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.0, p[\"sk_h\"] * 0.0).close().revolve())\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca781_3021", "family": "compound", "tier": 1, "seed": 1177331585, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "4c9f42713f6b6136", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 47900.0, "surface_area": 9800.0, "principal_moments": [10800000.0, 13399999.999999998, 13399999.999999998], "n_faces": 15, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Lofted body through 2 sections: 46.96 \u00d7 46.96 mm rectangular section \u2192 \u00d819.8 mm circular section.", "6-sided polygon section, 16.4 mm across corners attachment, 15.8 mm long, from top face with a \u00d85.9 mm bore."], "text": "Lofted body through 2 sections: 46.96 \u00d7 46.96 mm rectangular section \u2192 \u00d819.8 mm circular section. 6-sided polygon section, 16.4 mm across corners attachment, 15.8 mm long, from top face with a \u00d85.9 mm bore."}, "params": {"adapter_base": {"type": "float", "default": 46.96, "min": 28.2, "max": 70.4, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "adapter_top": {"type": "float", "default": 19.8, "min": 9.9, "max": 47.0, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "adapter_h": {"type": "float", "default": 41.8, "min": 16.7, "max": 83.6, "step": 1.0, "group": "Body", "label": "Transition height (mm)"}, "neck_sides": {"type": "int", "default": 6, "min": 3, "max": 8, "step": 1, "group": "Neck", "label": "Neck sides"}, "neck_r": {"type": "float", "default": 8.2, "min": 4.1, "max": 9.9, "step": 1.0, "group": "Neck", "label": "Neck circumradius (mm)"}, "neck_l": {"type": "float", "default": 15.8, "min": 6.3, "max": 39.5, "step": 1.0, "group": "Neck", "label": "Neck length (mm)"}, "neck_bore": {"type": "float", "default": 5.9, "min": 2.0, "max": 10.2, "step": 0.5, "group": "Neck", "label": "Neck bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331585 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"adapter_base\": {\"type\": 'float', \"default\": 46.96, \"min\": 28.2, \"max\": 70.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"adapter_top\": {\"type\": 'float', \"default\": 19.8, \"min\": 9.9, \"max\": 47.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"adapter_h\": {\"type\": 'float', \"default\": 41.8, \"min\": 16.7, \"max\": 83.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Transition height (mm)'},\n    \"neck_sides\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Neck', \"label\": 'Neck sides'},\n    \"neck_r\": {\"type\": 'float', \"default\": 8.2, \"min\": 4.1, \"max\": 9.9, \"step\": 1.0, \"group\": 'Neck', \"label\": 'Neck circumradius (mm)'},\n    \"neck_l\": {\"type\": 'float', \"default\": 15.8, \"min\": 6.3, \"max\": 39.5, \"step\": 1.0, \"group\": 'Neck', \"label\": 'Neck length (mm)'},\n    \"neck_bore\": {\"type\": 'float', \"default\": 5.9, \"min\": 2.0, \"max\": 10.2, \"step\": 0.5, \"group\": 'Neck', \"label\": 'Neck bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .rect(p[\"adapter_base\"], p[\"adapter_base\"])\n        .workplane(offset=p[\"adapter_h\"])\n        .circle(p[\"adapter_top\"] / 2)\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"neck_sides\"], p[\"neck_r\"] * 2).extrude(p[\"neck_l\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"neck_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462ca782_3022", "family": "sketched", "tier": 2, "seed": 1177331586, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "4b4727b425994b68", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 35400.0, "surface_area": 6840.0, "principal_moments": [5850000.0, 5850000.0, 7350000.0], "n_faces": 7, "n_edges": 12, "n_vertices": 7}, "dimensions": {"lines": ["Revolved organic body from a freeform sketched section (6 segments: 5 straight, 1 curve), ~22.284 \u00d7 30 mm half-silhouette."], "text": "Revolved organic body from a freeform sketched section (6 segments: 5 straight, 1 curve), ~22.284 \u00d7 30 mm half-silhouette."}, "params": {"sk_r": {"type": "float", "default": 30, "min": 15.0, "max": 54.0, "step": 1.0, "group": "Sketch", "label": "Max radius (mm)"}, "sk_h": {"type": "float", "default": 30, "min": 15.0, "max": 54.0, "step": 1.0, "group": "Sketch", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331586 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_r\": {\"type\": 'float', \"default\": 30, \"min\": 15.0, \"max\": 54.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Max radius (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 30, \"min\": 15.0, \"max\": 54.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XZ').moveTo(p[\"sk_r\"] * 0.5972, p[\"sk_h\"] * 0.0).lineTo(p[\"sk_r\"] * 0.4954, p[\"sk_h\"] * 0.153).lineTo(p[\"sk_r\"] * 0.677, p[\"sk_h\"] * 0.3338).spline([(p[\"sk_r\"] * 0.677, p[\"sk_h\"] * 0.3338), (p[\"sk_r\"] * 0.6884, p[\"sk_h\"] * 0.5064), (p[\"sk_r\"] * 0.8226, p[\"sk_h\"] * 0.679)]).lineTo(p[\"sk_r\"] * 0.4915, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.0798, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.0798, p[\"sk_h\"] * 0.0).close().revolve())\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca783_3023", "family": "plate", "tier": 2, "seed": 1177331587, "symmetry": "none", "op_count": 2, "ir_hash": "c617d7b7c3c47206", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 2790.0, "surface_area": 2110.0, "principal_moments": [63800.0, 473000.0, 529000.0], "n_faces": 22, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 45.8 \u00d7 16.4 \u00d7 4 mm (W\u00d7D\u00d7H).", "Four 4.9 \u00d7 3.2 mm slots at the corners, 32.06 \u00d7 11.48 mm spacing."], "text": "Rectangular body, 45.8 \u00d7 16.4 \u00d7 4 mm (W\u00d7D\u00d7H). Four 4.9 \u00d7 3.2 mm slots at the corners, 32.06 \u00d7 11.48 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 45.8, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 16.4, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 4.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 3.7, "step": 0.5, "group": "Holes", "label": "Slot width (mm)"}, "hole_slot_len": {"type": "float", "default": 4.9, "min": 4.8, "max": 4.9, "step": 0.5, "group": "Holes", "label": "Slot length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331587 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 45.8, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 16.4, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 4.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 3.7, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Slot width (mm)'},\n    \"hole_slot_len\": {\"type\": 'float', \"default\": 4.9, \"min\": 4.8, \"max\": 4.9, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Slot length (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().slot2D(p[\"hole_slot_len\"], p[\"hole_d\"]).cutThruAll()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462ca784_3024", "family": "sketched", "tier": 0, "seed": 1177331588, "symmetry": "none", "op_count": 1, "ir_hash": "2b9337c82aa41129", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 26000.0, "surface_area": 5310.0, "principal_moments": [2970000.0, 4490000.0, 5730000.0], "n_faces": 9, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["freeform sketched section (7 segments: 4 straight, 1 arc, 2 curves), ~35.38 \u00d7 47.915 mm, extruded 20 mm thick."], "text": "freeform sketched section (7 segments: 4 straight, 1 arc, 2 curves), ~35.38 \u00d7 47.915 mm, extruded 20 mm thick."}, "params": {"sk_w": {"type": "float", "default": 50, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 70, "min": 35.0, "max": 126.0, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "sk_t": {"type": "float", "default": 20, "min": 8.0, "max": 44.0, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331588 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 50, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 70, \"min\": 35.0, \"max\": 126.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"sk_t\": {\"type\": 'float', \"default\": 20, \"min\": 8.0, \"max\": 44.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.355, p[\"sk_h\"] * -0.0842).lineTo(p[\"sk_w\"] * 0.2036, p[\"sk_h\"] * 0.3911).bezier([(p[\"sk_w\"] * 0.2036, p[\"sk_h\"] * 0.3911), (p[\"sk_w\"] * 0.1081, p[\"sk_h\"] * 0.4019), (p[\"sk_w\"] * 0.0209, p[\"sk_h\"] * 0.3616)]).lineTo(p[\"sk_w\"] * -0.3504, p[\"sk_h\"] * 0.1618).threePointArc((p[\"sk_w\"] * -0.3936, p[\"sk_h\"] * 0.0221), (p[\"sk_w\"] * -0.3526, p[\"sk_h\"] * -0.1155)).lineTo(p[\"sk_w\"] * -0.1452, p[\"sk_h\"] * -0.2934).spline([(p[\"sk_w\"] * -0.1452, p[\"sk_h\"] * -0.2934), (p[\"sk_w\"] * 0.0813, p[\"sk_h\"] * -0.2925), (p[\"sk_w\"] * 0.2876, p[\"sk_h\"] * -0.1991)]).lineTo(p[\"sk_w\"] * 0.355, p[\"sk_h\"] * -0.0842).close().extrude(p[\"sk_t\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca786_3026", "family": "block", "tier": 2, "seed": 1177331590, "symmetry": "radial", "op_count": 3, "ir_hash": "5ec2718d1daaff85", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 52800.0, "surface_area": 11200.0, "principal_moments": [11599999.999999998, 14599999.999999998, 20700000.0], "n_faces": 20, "n_edges": 54, "n_vertices": 36}, "dimensions": {"lines": ["Rectangular body, 45 \u00d7 24.6 \u00d7 51.9 mm (W\u00d7D\u00d7H).", "Four \u00d86.4 mm holes on a \u00d827 mm bolt circle.", "Fillet radius 2.915 mm on vertical edges."], "text": "Rectangular body, 45 \u00d7 24.6 \u00d7 51.9 mm (W\u00d7D\u00d7H). Four \u00d86.4 mm holes on a \u00d827 mm bolt circle. Fillet radius 2.915 mm on vertical edges."}, "params": {"block_w": {"type": "float", "default": 45, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 24.6, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 51.9, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "bolt_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 13.5, "min": 9.0, "max": 20.2, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 4, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331590 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 45, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 24.6, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 51.9, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 13.5, \"min\": 9.0, \"max\": 20.2, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 4, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"block_w\"], p[\"block_d\"]) * 0.11850666030623527)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca787_3027", "family": "plate", "tier": 1, "seed": 1177331591, "symmetry": "none", "op_count": 2, "ir_hash": "509a8b820e5754a4", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 10800.0, "surface_area": 6480.0, "principal_moments": [1400000.0, 4440000.0, 5810000.0], "n_faces": 11, "n_edges": 27, "n_vertices": 18}, "dimensions": {"lines": ["Rectangular body, 70 \u00d7 39.2 \u00d7 4 mm (W\u00d7D\u00d7H).", "Five \u00d83.2 mm holes in two staggered rows, 26.2 \u00d7 22.2 mm pitch."], "text": "Rectangular body, 70 \u00d7 39.2 \u00d7 4 mm (W\u00d7D\u00d7H). Five \u00d83.2 mm holes in two staggered rows, 26.2 \u00d7 22.2 mm pitch."}, "params": {"plate_w": {"type": "float", "default": 70, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 39.2, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 4.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 3.9, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 3, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331591 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 70, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 39.2, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 4.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 3.9, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 3, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 26.2\n    _ssy = 22.2\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca788_3028", "family": "revolved", "tier": 2, "seed": 1177331592, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "dd12c1f101711b2e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 43700.0, "surface_area": 13800.0, "principal_moments": [5890000.0, 25199999.999999996, 25199999.999999996], "n_faces": 5, "n_edges": 8, "n_vertices": 5}, "dimensions": {"lines": ["Revolved body, \u00d830 mm \u00d7 92.7 mm tall.", "Chamfer 0.5 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d830 mm \u00d7 92.7 mm tall. Chamfer 0.5 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 30, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 92.7, "min": 27.8, "max": 278.1, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "end_chamfer": {"type": "float", "default": 0.5, "min": 0.1, "max": 1.5, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331592 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 30, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 92.7, \"min\": 27.8, \"max\": 278.1, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.5, \"min\": 0.1, \"max\": 1.5, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca789_3029", "family": "bracket", "tier": 1, "seed": 1177331593, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "2215308be4929c59", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 22200.0, "surface_area": 7570.0, "principal_moments": [3180000.0, 7150000.0, 8410000.0], "n_faces": 11, "n_edges": 27, "n_vertices": 18}, "dimensions": {"lines": ["Z-bracket: base leg 35 mm, vertical leg 37.5 mm, top leg 25 mm, 34.46 mm wide, 8 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."], "text": "Z-bracket: base leg 35 mm, vertical leg 37.5 mm, top leg 25 mm, 34.46 mm wide, 8 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 35, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 37.5, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 34.46, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 8.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 25.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331593 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 35, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 37.5, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 34.46, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 25.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462ca78a_3030", "family": "threaded", "tier": 2, "seed": 1177331594, "symmetry": "none", "op_count": 1, "ir_hash": "76efd5daa13c6d38", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 2230.0, "surface_area": 1810.0, "principal_moments": [23500.0, 235000.0, 235000.0], "n_faces": 180, "n_edges": 458, "n_vertices": 280}, "dimensions": {"lines": ["Tr 10x2 external thread, 35 mm long."], "text": "Tr 10x2 external thread, 35 mm long."}, "params": {"thread_size": {"type": "enum", "default": "10x2", "choices": ["8x1.5", "10x2", "12x3", "14x3", "16x4", "18x4", "20x4", "24x5", "28x5", "30x6", "36x6", "40x7"], "group": "Thread", "label": "Size designation"}, "thread_len": {"type": "float", "default": 35.0, "min": 14.0, "max": 70.0, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331594 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"thread_size\": {\"type\": 'enum', \"default\": '10x2', \"choices\": ['8x1.5', '10x2', '12x3', '14x3', '16x4', '18x4', '20x4', '24x5', '28x5', '30x6', '36x6', '40x7'], \"group\": 'Thread', \"label\": 'Size designation'},\n    \"thread_len\": {\"type\": 'float', \"default\": 35.0, \"min\": 14.0, \"max\": 70.0, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.MetricTrapezoidalThread(size=p[\"thread_size\"], length=p[\"thread_len\"], external=True, end_finishes=(\"fade\", \"fade\"))\n    _r = _thr.min_radius if hasattr(_thr, 'min_radius') else _thr.root_radius\n    _shank = _bd.Cylinder(radius=_r, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = _shank + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462ca78b_3031", "family": "sketched", "tier": 2, "seed": 1177331595, "symmetry": "mirror_xy", "op_count": 3, "ir_hash": "2ee65b5725960bcc", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 33200.0, "surface_area": 6870.0, "principal_moments": [4560000.0, 6710000.0, 7230000.0], "n_faces": 11, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["freeform sketched section (4 segments: 1 straight, 1 arc, 2 curves), ~42.026 \u00d7 50.678 mm, extruded 24.9 mm thick.", "One \u00d86.4 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch.", "Boss \u00d824.8 mm \u00d7 4.4 mm tall on top face with a \u00d83.2 mm bore."], "text": "freeform sketched section (4 segments: 1 straight, 1 arc, 2 curves), ~42.026 \u00d7 50.678 mm, extruded 24.9 mm thick. One \u00d86.4 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch. Boss \u00d824.8 mm \u00d7 4.4 mm tall on top face with a \u00d83.2 mm bore."}, "params": {"sk_w": {"type": "float", "default": 55, "min": 27.5, "max": 99.0, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 53.93, "min": 27.0, "max": 97.1, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "sk_t": {"type": "float", "default": 24.9, "min": 10.0, "max": 54.8, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "sk_hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 12.8, "step": 0.5, "group": "Holes", "label": "Hole diameter (mm)"}, "boss_d": {"type": "float", "default": 24.8, "min": 12.4, "max": 49.6, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 4.4, "min": 1.8, "max": 11.0, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}, "boss_bore_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 17.4, "step": 0.1, "group": "Boss", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331595 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 55, \"min\": 27.5, \"max\": 99.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 53.93, \"min\": 27.0, \"max\": 97.1, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"sk_t\": {\"type\": 'float', \"default\": 24.9, \"min\": 10.0, \"max\": 54.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"sk_hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 12.8, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"boss_d\": {\"type\": 'float', \"default\": 24.8, \"min\": 12.4, \"max\": 49.6, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 4.4, \"min\": 1.8, \"max\": 11.0, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n    \"boss_bore_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 17.4, \"step\": 0.1, \"group\": 'Boss', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.3064, p[\"sk_h\"] * -0.1512).threePointArc((p[\"sk_w\"] * 0.2353, p[\"sk_h\"] * 0.222), (p[\"sk_w\"] * 0.0453, p[\"sk_h\"] * 0.4976)).lineTo(p[\"sk_w\"] * -0.4577, p[\"sk_h\"] * -0.0579).spline([(p[\"sk_w\"] * -0.4577, p[\"sk_h\"] * -0.0579), (p[\"sk_w\"] * -0.3694, p[\"sk_h\"] * -0.2684), (p[\"sk_w\"] * -0.2214, p[\"sk_h\"] * -0.4421)]).spline([(p[\"sk_w\"] * -0.2214, p[\"sk_h\"] * -0.4421), (p[\"sk_w\"] * 0.0605, p[\"sk_h\"] * -0.3293), (p[\"sk_w\"] * 0.3064, p[\"sk_h\"] * -0.1512)]).close().extrude(p[\"sk_t\"]))\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"sk_hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .hole(p[\"boss_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca78c_3032", "family": "block", "tier": 3, "seed": 1177331596, "symmetry": "none", "op_count": 5, "ir_hash": "a80edf35edbff466", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 134000.0, "surface_area": 25300.0, "principal_moments": [49799999.99999999, 84600000.0, 88500000.0], "n_faces": 24, "n_edges": 66, "n_vertices": 44}, "dimensions": {"lines": ["Rectangular body, 47.08 \u00d7 42.6 \u00d7 75.9 mm (W\u00d7D\u00d7H).", "Seven \u00d83.2 mm holes in two staggered rows, 11.8 \u00d7 13.1 mm pitch.", "Pocket 23.9 \u00d7 21.3 mm, 30.4 mm deep, in top face.", "Fillet radius 3.595 mm on vertical edges (optional, off by default).", "\u00d811.9 mm circular section attachment, 11.5 mm long, from front face with a \u00d85 mm bore."], "text": "Rectangular body, 47.08 \u00d7 42.6 \u00d7 75.9 mm (W\u00d7D\u00d7H). Seven \u00d83.2 mm holes in two staggered rows, 11.8 \u00d7 13.1 mm pitch. Pocket 23.9 \u00d7 21.3 mm, 30.4 mm deep, in top face. Fillet radius 3.595 mm on vertical edges (optional, off by default). \u00d811.9 mm circular section attachment, 11.5 mm long, from front face with a \u00d85 mm bore."}, "params": {"block_w": {"type": "float", "default": 47.08, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 42.6, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 75.9, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 4.3, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 4, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}, "pocket_w": {"type": "float", "default": 23.9, "min": 11.9, "max": 37.7, "step": 1.0, "group": "Pocket", "label": "Pocket width (mm)"}, "pocket_d": {"type": "float", "default": 21.3, "min": 10.7, "max": 34.1, "step": 1.0, "group": "Pocket", "label": "Pocket depth (mm)"}, "pocket_h": {"type": "float", "default": 30.4, "min": 12.2, "max": 64.5, "step": 0.5, "group": "Pocket", "label": "Pocket height (mm)"}, "filleted2": {"type": "bool", "default": false, "group": "Body", "label": "Fillet corners"}, "side_tube_d": {"type": "float", "default": 11.9, "min": 4.8, "max": 23.5, "step": 1.0, "group": "Side Tube", "label": "Side tube diameter (mm)"}, "side_tube_len": {"type": "float", "default": 11.5, "min": 3.4, "max": 35.7, "step": 1.0, "group": "Side Tube", "label": "Side tube length (mm)"}, "side_bore_d": {"type": "float", "default": 5.0, "min": 2.0, "max": 8.9, "step": 0.5, "group": "Side Tube", "label": "Side bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331596 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 47.08, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 42.6, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 75.9, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 4.3, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 4, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n    \"pocket_w\": {\"type\": 'float', \"default\": 23.9, \"min\": 11.9, \"max\": 37.7, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket width (mm)'},\n    \"pocket_d\": {\"type\": 'float', \"default\": 21.3, \"min\": 10.7, \"max\": 34.1, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket depth (mm)'},\n    \"pocket_h\": {\"type\": 'float', \"default\": 30.4, \"min\": 12.2, \"max\": 64.5, \"step\": 0.5, \"group\": 'Pocket', \"label\": 'Pocket height (mm)'},\n    \"filleted2\": {\"type\": 'bool', \"default\": False, \"group\": 'Body', \"label\": 'Fillet corners'},\n    \"side_tube_d\": {\"type\": 'float', \"default\": 11.9, \"min\": 4.8, \"max\": 23.5, \"step\": 1.0, \"group\": 'Side Tube', \"label\": 'Side tube diameter (mm)'},\n    \"side_tube_len\": {\"type\": 'float', \"default\": 11.5, \"min\": 3.4, \"max\": 35.7, \"step\": 1.0, \"group\": 'Side Tube', \"label\": 'Side tube length (mm)'},\n    \"side_bore_d\": {\"type\": 'float', \"default\": 5.0, \"min\": 2.0, \"max\": 8.9, \"step\": 0.5, \"group\": 'Side Tube', \"label\": 'Side bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 11.8\n    _ssy = 13.1\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"pocket_w\"], p[\"pocket_d\"])\n        .cutBlind(-p[\"pocket_h\"])\n    )\n    if p[\"filleted2\"]:\n        result = result.edges('|Z').fillet(min(p[\"block_w\"], p[\"block_d\"]) * 0.08438767234047978)\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"side_tube_d\"] / 2).extrude(p[\"side_tube_len\"])\n    )\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"side_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462ca78d_3033", "family": "profiled", "tier": 2, "seed": 1177331597, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "23f31d4b1068a865", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 260000.0, "surface_area": 31300.0, "principal_moments": [48599999.99999999, 1160000000.0, 1170000000.0], "n_faces": 8, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["freeform sketched section (6 segments: 3 straight, 2 arcs, 1 curve), ~38.534 \u00d7 44.271 mm, extruded 229.6 mm thick."], "text": "freeform sketched section (6 segments: 3 straight, 2 arcs, 1 curve), ~38.534 \u00d7 44.271 mm, extruded 229.6 mm thick."}, "params": {"sk_w": {"type": "float", "default": 47.59, "min": 23.8, "max": 85.7, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 52.81, "min": 26.4, "max": 95.1, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "length": {"type": "float", "default": 229.6, "min": 68.9, "max": 688.8, "step": 5.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331597 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 47.59, \"min\": 23.8, \"max\": 85.7, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 52.81, \"min\": 26.4, \"max\": 95.1, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 229.6, \"min\": 68.9, \"max\": 688.8, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.4189, p[\"sk_h\"] * 0.1294).threePointArc((p[\"sk_w\"] * 0.339, p[\"sk_h\"] * 0.2536), (p[\"sk_w\"] * 0.1722, p[\"sk_h\"] * 0.3117)).lineTo(p[\"sk_w\"] * -0.0885, p[\"sk_h\"] * 0.369).threePointArc((p[\"sk_w\"] * -0.2859, p[\"sk_h\"] * 0.1869), (p[\"sk_w\"] * -0.3908, p[\"sk_h\"] * -0.0571)).bezier([(p[\"sk_w\"] * -0.3908, p[\"sk_h\"] * -0.0571), (p[\"sk_w\"] * -0.3558, p[\"sk_h\"] * -0.2027), (p[\"sk_w\"] * -0.2517, p[\"sk_h\"] * -0.3105)]).lineTo(p[\"sk_w\"] * 0.1379, p[\"sk_h\"] * -0.4693).lineTo(p[\"sk_w\"] * 0.4189, p[\"sk_h\"] * 0.1294).close().extrude(p[\"length\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca78e_3034", "family": "plate", "tier": 0, "seed": 1177331598, "symmetry": "radial", "op_count": 1, "ir_hash": "dbb107c283e0119d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 3580.0, "surface_area": 2810.0, "principal_moments": [228000.0, 565000.0, 788000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 43.4 \u00d7 27.5 \u00d7 3 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 43.4 \u00d7 27.5 \u00d7 3 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 43.4, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 27.5, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 3.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331598 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 43.4, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 27.5, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 3.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462ca78f_3035", "family": "enclosure", "tier": 2, "seed": 1177331599, "symmetry": "mirror_x", "op_count": 4, "ir_hash": "a338ab9c59679a93", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 62700.0, "surface_area": 50000.0, "principal_moments": [60199999.99999999, 120000000.0, 149000000.0], "n_faces": 23, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 117.9 \u00d7 70.3 \u00d7 48.6 mm (W\u00d7D\u00d7H).", "Hollowed to 2.5 mm wall thickness, open at top face.", "Four \u00d84.3 mm holes at the corners, 82.53 \u00d7 49.21 mm spacing.", "Fillet radius 7.351 mm on vertical edges."], "text": "Rectangular body, 117.9 \u00d7 70.3 \u00d7 48.6 mm (W\u00d7D\u00d7H). Hollowed to 2.5 mm wall thickness, open at top face. Four \u00d84.3 mm holes at the corners, 82.53 \u00d7 49.21 mm spacing. Fillet radius 7.351 mm on vertical edges."}, "params": {"enc_w": {"type": "float", "default": 117.9, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 70.3, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 48.6, "min": 19.4, "max": 97.2, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 2.5, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331599 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 117.9, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 70.3, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 48.6, \"min\": 19.4, \"max\": 97.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 2.5, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"enc_w\"] * 0.7, p[\"enc_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"enc_w\"], p[\"enc_d\"]) * 0.10456437924230519)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca790_3036", "family": "bracket", "tier": 3, "seed": 1177331600, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "ff68de1a03954f29", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 19100.0, "surface_area": 6460.0, "principal_moments": [3180000.0, 3800000.0, 5870000.0], "n_faces": 9, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["L-bracket: base leg 36.41 mm, vertical leg 25 mm, 45 mm wide, 8 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg; 10.4 mm corner gusset."], "text": "L-bracket: base leg 36.41 mm, vertical leg 25 mm, 45 mm wide, 8 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg; 10.4 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 36.41, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 25.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 45, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 8.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 10.4, "min": 4.0, "max": 22.5, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331600 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 36.41, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 25.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 45, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 10.4, \"min\": 4.0, \"max\": 22.5, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462ca791_3037", "family": "swept", "tier": 2, "seed": 1177331601, "symmetry": "none", "op_count": 1, "ir_hash": "36cf1be52dfbc672", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 10400.0, "surface_area": 6170.0, "principal_moments": [1470000.0, 5240000.0, 6330000.0], "n_faces": 3, "n_edges": 3, "n_vertices": 2}, "dimensions": {"lines": ["\u00d817.1 mm circular section swept along a curved path, ~75.02 mm span."], "text": "\u00d817.1 mm circular section swept along a curved path, ~75.02 mm span."}, "params": {"path_w": {"type": "float", "default": 60.34, "min": 30.2, "max": 108.6, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 75.02, "min": 37.5, "max": 135.0, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_d": {"type": "float", "default": 17.1, "min": 8.6, "max": 30.8, "step": 1.0, "group": "Section", "label": "Section diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331601 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 60.34, \"min\": 30.2, \"max\": 108.6, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 75.02, \"min\": 37.5, \"max\": 135.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_d\": {\"type\": 'float', \"default\": 17.1, \"min\": 8.6, \"max\": 30.8, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.1466, p[\"path_h\"] * 0.6132), (p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.7046), (p[\"path_w\"] * 0.4169, p[\"path_h\"] * 0.7841), (p[\"path_w\"] * 0.4219, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').circle(p[\"sweep_d\"] / 2).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462ca792_3038", "family": "threaded", "tier": 1, "seed": 1177331602, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "c56fd4ad3bc1108d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 17700.0, "surface_area": 7020.0, "principal_moments": [2320000.0, 3170000.0, 3170000.0], "n_faces": 287, "n_edges": 817, "n_vertices": 532}, "dimensions": {"lines": ["M16x2 internal thread, 37 mm long."], "text": "M16x2 internal thread, 37 mm long."}, "params": {"major_d": {"type": "float", "default": 16.0, "min": 4.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Major diameter (mm)"}, "pitch": {"type": "float", "default": 2.0, "min": 1.0, "max": 4.0, "step": 0.05, "group": "Thread", "label": "Pitch (mm)"}, "thread_len": {"type": "float", "default": 37.0, "min": 14.8, "max": 74.0, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331602 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 16.0, \"min\": 4.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Major diameter (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 2.0, \"min\": 1.0, \"max\": 4.0, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Pitch (mm)'},\n    \"thread_len\": {\"type\": 'float', \"default\": 37.0, \"min\": 14.8, \"max\": 74.0, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.IsoThread(major_diameter=p[\"major_d\"], pitch=p[\"pitch\"], length=p[\"thread_len\"], external=False, end_finishes=(\"fade\", \"fade\"))\n    _body = _bd.Cylinder(radius=(p[\"major_d\"]) * 0.9, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _bore = _bd.Cylinder(radius=(p[\"major_d\"]) / 2, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = (_body - _bore) + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca793_3039", "family": "revolved", "tier": 0, "seed": 1177331603, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "cb8bb91ec7c6a0c0", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 530000.0, "surface_area": 77700.0, "principal_moments": [328000000.0, 2060000000.0, 2060000000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d864.24 mm \u00d7 245.2 mm tall."], "text": "Revolved body, \u00d864.24 mm \u00d7 245.2 mm tall."}, "params": {"outer_d": {"type": "float", "default": 64.24, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 245.2, "min": 73.6, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331603 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 64.24, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 245.2, \"min\": 73.6, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca794_3040", "family": "revolved", "tier": 1, "seed": 1177331604, "symmetry": "radial", "op_count": 1, "ir_hash": "cbbe2d57adae0171", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 27900.0, "surface_area": 6580.0, "principal_moments": [4130000.0, 5280000.0, 5280000.0], "n_faces": 4, "n_edges": 6, "n_vertices": 4}, "dimensions": {"lines": ["Revolved body, \u00d832.71 mm \u00d7 37.2 mm tall with \u00d810.8 mm bore."], "text": "Revolved body, \u00d832.71 mm \u00d7 37.2 mm tall with \u00d810.8 mm bore."}, "params": {"outer_d": {"type": "float", "default": 32.71, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 37.2, "min": 11.2, "max": 111.6, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 10.8, "min": 2.0, "max": 22.9, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331604 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 32.71, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 37.2, \"min\": 11.2, \"max\": 111.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 10.8, \"min\": 2.0, \"max\": 22.9, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462ca795_3041", "family": "lofted", "tier": 2, "seed": 1177331605, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "425a5a72b83cd72e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 123000.0, "surface_area": 19900.0, "principal_moments": [61699999.99999999, 61699999.99999999, 73500000.0], "n_faces": 8, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["Lofted body through 3 sections: 69.17 \u00d7 69.17 mm rectangular section \u2192 \u00d858.7 mm circular section \u2192 \u00d848.2 mm circular section.", "One \u00d824.6 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 3 sections: 69.17 \u00d7 69.17 mm rectangular section \u2192 \u00d858.7 mm circular section \u2192 \u00d848.2 mm circular section. One \u00d824.6 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 69.17, "min": 34.6, "max": 110.7, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 48.2, "min": 19.3, "max": 83.0, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 50.7, "min": 20.3, "max": 101.4, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_mid": {"type": "float", "default": 58.7, "min": 24.1, "max": 83.0, "step": 1.0, "group": "Body", "label": "Mid size (mm)"}, "loft_bore_d": {"type": "float", "default": 24.6, "min": 2.0, "max": 38.6, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331605 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 69.17, \"min\": 34.6, \"max\": 110.7, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 48.2, \"min\": 19.3, \"max\": 83.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 50.7, \"min\": 20.3, \"max\": 101.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_mid\": {\"type\": 'float', \"default\": 58.7, \"min\": 24.1, \"max\": 83.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Mid size (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 24.6, \"min\": 2.0, \"max\": 38.6, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .rect(p[\"loft_base\"], p[\"loft_base\"])\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .circle(p[\"loft_mid\"] / 2)\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .circle(p[\"loft_top\"] / 2)\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca796_3042", "family": "compound", "tier": 3, "seed": 1177331606, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "082f05c150cf3339", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 252000.0, "surface_area": 27100.0, "principal_moments": [68900000.0, 564000000.0, 564000000.0], "n_faces": 6, "n_edges": 8, "n_vertices": 5}, "dimensions": {"lines": ["\u00d850 mm circular section, extruded 105.9 mm thick.", "\u00d826.9 mm circular section attachment, 78.6 mm long, from top face.", "Chamfer 1.3 mm on bottom edges."], "text": "\u00d850 mm circular section, extruded 105.9 mm thick. \u00d826.9 mm circular section attachment, 78.6 mm long, from top face. Chamfer 1.3 mm on bottom edges."}, "params": {"shaft_d": {"type": "float", "default": 50.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Shaft diameter (mm)"}, "shaft_len": {"type": "float", "default": 105.9, "min": 42.4, "max": 211.8, "step": 1.0, "group": "Body", "label": "Shaft length (mm)"}, "step_d": {"type": "float", "default": 26.9, "min": 13.4, "max": 45.0, "step": 1.0, "group": "Step", "label": "Step diameter (mm)"}, "step_len": {"type": "float", "default": 78.6, "min": 23.6, "max": 196.5, "step": 1.0, "group": "Step", "label": "Step length (mm)"}, "chamfer_d": {"type": "float", "default": 1.3, "min": 0.5, "max": 3.0, "step": 0.5, "group": "Body", "label": "Chamfer distance (mm)"}, "chamfered": {"type": "bool", "default": true, "group": "Body", "label": "Chamfer edges"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331606 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"shaft_d\": {\"type\": 'float', \"default\": 50.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft diameter (mm)'},\n    \"shaft_len\": {\"type\": 'float', \"default\": 105.9, \"min\": 42.4, \"max\": 211.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft length (mm)'},\n    \"step_d\": {\"type\": 'float', \"default\": 26.9, \"min\": 13.4, \"max\": 45.0, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step diameter (mm)'},\n    \"step_len\": {\"type\": 'float', \"default\": 78.6, \"min\": 23.6, \"max\": 196.5, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step length (mm)'},\n    \"chamfer_d\": {\"type\": 'float', \"default\": 1.3, \"min\": 0.5, \"max\": 3.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Chamfer distance (mm)'},\n    \"chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Chamfer edges'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').circle(p[\"shaft_d\"] / 2).extrude(p[\"shaft_len\"]))\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"step_d\"] / 2).extrude(p[\"step_len\"])\n    )\n    if p[\"chamfered\"]:\n        result = result.edges('<Z').chamfer(p[\"chamfer_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca797_3043", "family": "plate", "tier": 1, "seed": 1177331607, "symmetry": "none", "op_count": 2, "ir_hash": "29ac7584c6a80689", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 2490.0, "surface_area": 2170.0, "principal_moments": [66800.0, 467000.0, 530000.0], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Rectangular body, 47.53 \u00d7 17.9 \u00d7 3 mm (W\u00d7D\u00d7H).", "Six \u00d82.1 mm holes in a 3\u00d72 grid, 19 \u00d7 14.3 mm pitch."], "text": "Rectangular body, 47.53 \u00d7 17.9 \u00d7 3 mm (W\u00d7D\u00d7H). Six \u00d82.1 mm holes in a 3\u00d72 grid, 19 \u00d7 14.3 mm pitch."}, "params": {"plate_w": {"type": "float", "default": 47.53, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 17.9, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 3.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 2.1, "min": 2.0, "max": 2.1, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 3, "min": 1, "max": 4, "step": 1, "group": "Holes", "label": "Holes across"}, "hole_ny": {"type": "int", "default": 2, "min": 1, "max": 4, "step": 1, "group": "Holes", "label": "Holes deep"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331607 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 47.53, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 17.9, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 3.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 2.1, \"min\": 2.0, \"max\": 2.1, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 3, \"min\": 1, \"max\": 4, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes across'},\n    \"hole_ny\": {\"type\": 'int', \"default\": 2, \"min\": 1, \"max\": 4, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes deep'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(19.0, 14.3, p[\"hole_nx\"], p[\"hole_ny\"])\n        .hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca798_3044", "family": "compound", "tier": 1, "seed": 1177331608, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "ce1079d809f80794", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 277000.0, "surface_area": 33800.0, "principal_moments": [170000000.0, 214000000.0, 269000000.0], "n_faces": 15, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 70 \u00d7 75.3 \u00d7 50.5 mm (W\u00d7D\u00d7H).", "67.8 \u00d7 32.8 mm rectangular section attachment, 10 mm long, from back face.", "Four \u00d86.4 mm holes at the corners, 40.68 \u00d7 19.68 mm spacing on the >Y face."], "text": "Rectangular body, 70 \u00d7 75.3 \u00d7 50.5 mm (W\u00d7D\u00d7H). 67.8 \u00d7 32.8 mm rectangular section attachment, 10 mm long, from back face. Four \u00d86.4 mm holes at the corners, 40.68 \u00d7 19.68 mm spacing on the >Y face."}, "params": {"block_w": {"type": "float", "default": 70, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 75.3, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 50.5, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "tab_a": {"type": "float", "default": 67.8, "min": 27.1, "max": 108.5, "step": 1.0, "group": "Tab", "label": "Tab width (mm)"}, "tab_b": {"type": "float", "default": 32.8, "min": 13.1, "max": 52.5, "step": 1.0, "group": "Tab", "label": "Tab height (mm)"}, "tab_t": {"type": "float", "default": 10.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Tab", "label": "Tab thickness (mm)"}, "tab_hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 7.2, "step": 0.1, "group": "Tab", "label": "Tab hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331608 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 70, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 75.3, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 50.5, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"tab_a\": {\"type\": 'float', \"default\": 67.8, \"min\": 27.1, \"max\": 108.5, \"step\": 1.0, \"group\": 'Tab', \"label\": 'Tab width (mm)'},\n    \"tab_b\": {\"type\": 'float', \"default\": 32.8, \"min\": 13.1, \"max\": 52.5, \"step\": 1.0, \"group\": 'Tab', \"label\": 'Tab height (mm)'},\n    \"tab_t\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Tab', \"label\": 'Tab thickness (mm)'},\n    \"tab_hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 7.2, \"step\": 0.1, \"group\": 'Tab', \"label\": 'Tab hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .rect(p[\"tab_a\"], p[\"tab_b\"]).extrude(p[\"tab_t\"])\n    )\n    result = (\n        result.faces('>Y').workplane()\n        .rect(p[\"tab_a\"] * 0.6, p[\"tab_b\"] * 0.6, forConstruction=True)\n        .vertices().hole(p[\"tab_hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462ca799_3045", "family": "sketched", "tier": 1, "seed": 1177331609, "symmetry": "none", "op_count": 1, "ir_hash": "6e2e47c2ecc866cd", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 30500.0, "surface_area": 11800.0, "principal_moments": [6300000.0, 7880000.0, 7880000.0], "n_faces": 9, "n_edges": 16, "n_vertices": 9}, "dimensions": {"lines": ["Revolved organic body from a freeform sketched section (8 segments: 3 straight, 3 arcs, 2 curves), ~21.745 \u00d7 40 mm half-silhouette."], "text": "Revolved organic body from a freeform sketched section (8 segments: 3 straight, 3 arcs, 2 curves), ~21.745 \u00d7 40 mm half-silhouette."}, "params": {"sk_r": {"type": "float", "default": 33.75, "min": 16.9, "max": 60.8, "step": 1.0, "group": "Sketch", "label": "Max radius (mm)"}, "sk_h": {"type": "float", "default": 40, "min": 20.0, "max": 72.0, "step": 1.0, "group": "Sketch", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331609 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_r\": {\"type\": 'float', \"default\": 33.75, \"min\": 16.9, \"max\": 60.8, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Max radius (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 40, \"min\": 20.0, \"max\": 72.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XZ').moveTo(p[\"sk_r\"] * 0.564, p[\"sk_h\"] * 0.0).bezier([(p[\"sk_r\"] * 0.564, p[\"sk_h\"] * 0.0), (p[\"sk_r\"] * 0.8197, p[\"sk_h\"] * 0.0643), (p[\"sk_r\"] * 0.7843, p[\"sk_h\"] * 0.1286)]).threePointArc((p[\"sk_r\"] * 0.5538, p[\"sk_h\"] * 0.1503), (p[\"sk_r\"] * 0.4232, p[\"sk_h\"] * 0.1719)).threePointArc((p[\"sk_r\"] * 0.285, p[\"sk_h\"] * 0.2882), (p[\"sk_r\"] * 0.347, p[\"sk_h\"] * 0.4045)).threePointArc((p[\"sk_r\"] * 0.5214, p[\"sk_h\"] * 0.5156), (p[\"sk_r\"] * 0.649, p[\"sk_h\"] * 0.6268)).lineTo(p[\"sk_r\"] * 0.3161, p[\"sk_h\"] * 0.7331).spline([(p[\"sk_r\"] * 0.3161, p[\"sk_h\"] * 0.7331), (p[\"sk_r\"] * 0.3595, p[\"sk_h\"] * 0.8665), (p[\"sk_r\"] * 0.6403, p[\"sk_h\"] * 1.0)]).lineTo(p[\"sk_r\"] * 0.14, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.14, p[\"sk_h\"] * 0.0).close().revolve())\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca79a_3046", "family": "block", "tier": 1, "seed": 1177331610, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "0985978d21ee9792", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 21000.0, "surface_area": 8150.0, "principal_moments": [1950000.0, 4320000.0, 5350000.0], "n_faces": 22, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 30.13 \u00d7 16.8 \u00d7 46.9 mm (W\u00d7D\u00d7H).", "Four 3.8 mm square holes at the corners, 21.091 \u00d7 11.76 mm spacing."], "text": "Rectangular body, 30.13 \u00d7 16.8 \u00d7 46.9 mm (W\u00d7D\u00d7H). Four 3.8 mm square holes at the corners, 21.091 \u00d7 11.76 mm spacing."}, "params": {"block_w": {"type": "float", "default": 30.13, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 16.8, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 46.9, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 3.8, "min": 2.0, "max": 4.9, "step": 0.5, "group": "Holes", "label": "Square hole size (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331610 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 30.13, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 16.8, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 46.9, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.8, \"min\": 2.0, \"max\": 4.9, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Square hole size (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().rect(p[\"hole_d\"], p[\"hole_d\"]).cutThruAll()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca79b_3047", "family": "block", "tier": 1, "seed": 1177331611, "symmetry": "none", "op_count": 2, "ir_hash": "449abe5272030c3e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 190000.0, "surface_area": 34200.0, "principal_moments": [98999999.99999999, 141000000.0, 210000000.0], "n_faces": 22, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 74.83 \u00d7 31.7 \u00d7 89.1 mm (W\u00d7D\u00d7H).", "Four 7.7 mm square holes at the corners, 52.381 \u00d7 22.19 mm spacing."], "text": "Rectangular body, 74.83 \u00d7 31.7 \u00d7 89.1 mm (W\u00d7D\u00d7H). Four 7.7 mm square holes at the corners, 52.381 \u00d7 22.19 mm spacing."}, "params": {"block_w": {"type": "float", "default": 74.83, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 31.7, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 89.1, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 7.7, "min": 2.0, "max": 9.3, "step": 0.5, "group": "Holes", "label": "Square hole size (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331611 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 74.83, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 31.7, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 89.1, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 7.7, \"min\": 2.0, \"max\": 9.3, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Square hole size (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().rect(p[\"hole_d\"], p[\"hole_d\"]).cutThruAll()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462ca79c_3048", "family": "enclosure", "tier": 2, "seed": 1177331612, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "c98f686900f31f15", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 27900.0, "surface_area": 13500.0, "principal_moments": [5650000.0, 8170000.0, 10900000.0], "n_faces": 15, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 50 \u00d7 21.5 \u00d7 40.9 mm (W\u00d7D\u00d7H).", "Hollowed to 5.7 mm wall thickness, open at top face.", "Four \u00d84.3 mm holes at the corners, 35 \u00d7 15.05 mm spacing."], "text": "Rectangular body, 50 \u00d7 21.5 \u00d7 40.9 mm (W\u00d7D\u00d7H). Hollowed to 5.7 mm wall thickness, open at top face. Four \u00d84.3 mm holes at the corners, 35 \u00d7 15.05 mm spacing."}, "params": {"enc_w": {"type": "float", "default": 50, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 21.5, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 40.9, "min": 16.4, "max": 81.8, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 5.7, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 4.8, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331612 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 50, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 21.5, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 40.9, \"min\": 16.4, \"max\": 81.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 5.7, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 4.8, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"enc_w\"] * 0.7, p[\"enc_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462ca79d_3049", "family": "enclosure", "tier": 1, "seed": 1177331613, "symmetry": "none", "op_count": 2, "ir_hash": "7cce214549ad9bc4", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 56400.0, "surface_area": 39600.0, "principal_moments": [52099999.99999999, 61299999.99999999, 64299999.99999999], "n_faces": 11, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 70 \u00d7 58.6 \u00d7 65.4 mm (W\u00d7D\u00d7H).", "Hollowed to 2.9 mm wall thickness, open at top face."], "text": "Rectangular body, 70 \u00d7 58.6 \u00d7 65.4 mm (W\u00d7D\u00d7H). Hollowed to 2.9 mm wall thickness, open at top face."}, "params": {"enc_w": {"type": "float", "default": 70, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 58.6, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 65.4, "min": 26.2, "max": 130.8, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 2.9, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331613 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 70, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 58.6, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 65.4, \"min\": 26.2, \"max\": 130.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 2.9, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca79e_3050", "family": "revolved", "tier": 0, "seed": 1177331614, "symmetry": "radial", "op_count": 1, "ir_hash": "90e3c0f4c60e5020", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 12600.0, "surface_area": 5560.0, "principal_moments": [912000.0, 2280000.0, 2280000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d822.01 mm \u00d7 49.5 mm tall."], "text": "Revolved body, \u00d822.01 mm \u00d7 49.5 mm tall."}, "params": {"outer_d": {"type": "float", "default": 22.01, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 49.5, "min": 14.8, "max": 148.5, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331614 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 22.01, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 49.5, \"min\": 14.8, \"max\": 148.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca79f_3051", "family": "revolved", "tier": 0, "seed": 1177331615, "symmetry": "radial", "op_count": 1, "ir_hash": "baf2a5a6b03e3ce0", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 477000.0, "surface_area": 67300.0, "principal_moments": [329000000.0, 1280000000.0, 1280000000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d867.76 mm \u00d7 198.6 mm tall."], "text": "Revolved body, \u00d867.76 mm \u00d7 198.6 mm tall."}, "params": {"outer_d": {"type": "float", "default": 67.76, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 198.6, "min": 59.6, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331615 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 67.76, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 198.6, \"min\": 59.6, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462ca7a0_3052", "family": "threaded", "tier": 2, "seed": 1177331616, "symmetry": "none", "op_count": 1, "ir_hash": "1de9eee8c9dcc344", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 3700.0, "surface_area": 2340.0, "principal_moments": [56100.0, 501000.0, 501000.0], "n_faces": 230, "n_edges": 588, "n_vertices": 360}, "dimensions": {"lines": ["M12x1.75 external thread, 39.4 mm long."], "text": "M12x1.75 external thread, 39.4 mm long."}, "params": {"major_d": {"type": "float", "default": 12.0, "min": 4.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Major diameter (mm)"}, "pitch": {"type": "float", "default": 1.75, "min": 0.88, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Pitch (mm)"}, "thread_len": {"type": "float", "default": 39.4, "min": 15.8, "max": 78.8, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331616 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 12.0, \"min\": 4.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Major diameter (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.75, \"min\": 0.88, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Pitch (mm)'},\n    \"thread_len\": {\"type\": 'float', \"default\": 39.4, \"min\": 15.8, \"max\": 78.8, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.IsoThread(major_diameter=p[\"major_d\"], pitch=p[\"pitch\"], length=p[\"thread_len\"], external=True, end_finishes=(\"fade\", \"fade\"))\n    _r = _thr.min_radius if hasattr(_thr, 'min_radius') else _thr.root_radius\n    _shank = _bd.Cylinder(radius=_r, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = _shank + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462ca7a1_3053", "family": "lofted", "tier": 1, "seed": 1177331617, "symmetry": "none", "op_count": 2, "ir_hash": "a04ffa413de7046c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 44800.0, "surface_area": 9400.0, "principal_moments": [10400000.0, 10400000.0, 14599999.999999998], "n_faces": 9, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["Lofted body through 2 sections: \u00d858.56 mm circular section \u2192 6-sided polygon section, 34.9 mm across corners.", "One \u00d815.5 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 2 sections: \u00d858.56 mm circular section \u2192 6-sided polygon section, 34.9 mm across corners. One \u00d815.5 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 58.56, "min": 29.3, "max": 93.7, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 34.9, "min": 14.0, "max": 70.3, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 30.7, "min": 12.3, "max": 61.4, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_bore_d": {"type": "float", "default": 15.5, "min": 2.0, "max": 27.9, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331617 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 58.56, \"min\": 29.3, \"max\": 93.7, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 34.9, \"min\": 14.0, \"max\": 70.3, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 30.7, \"min\": 12.3, \"max\": 61.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 15.5, \"min\": 2.0, \"max\": 27.9, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .circle(p[\"loft_base\"] / 2)\n        .workplane(offset=p[\"loft_h\"])\n        .polygon(6, p[\"loft_top\"] * 0.5 * 2)\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca7a2_3054", "family": "block", "tier": 1, "seed": 1177331618, "symmetry": "none", "op_count": 2, "ir_hash": "33e5ca33fa02a614", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 225000.0, "surface_area": 30800.0, "principal_moments": [96399999.99999999, 194000000.0, 203000000.0], "n_faces": 22, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 53.41 \u00d7 49 \u00d7 89.6 mm (W\u00d7D\u00d7H).", "Four 5.2 mm square holes at the corners, 37.387 \u00d7 34.3 mm spacing."], "text": "Rectangular body, 53.41 \u00d7 49 \u00d7 89.6 mm (W\u00d7D\u00d7H). Four 5.2 mm square holes at the corners, 37.387 \u00d7 34.3 mm spacing."}, "params": {"block_w": {"type": "float", "default": 53.41, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 49.0, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 89.6, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 5.2, "min": 2.0, "max": 14.3, "step": 0.5, "group": "Holes", "label": "Square hole size (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331618 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 53.41, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 49.0, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 89.6, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.2, \"min\": 2.0, \"max\": 14.3, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Square hole size (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().rect(p[\"hole_d\"], p[\"hole_d\"]).cutThruAll()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca7a3_3055", "family": "plate", "tier": 1, "seed": 1177331619, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "dbacd6d57701f5bc", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 2080.0, "surface_area": 1590.0, "principal_moments": [59600.0, 154000.0, 208000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 30 \u00d7 18.4 \u00d7 4 mm (W\u00d7D\u00d7H).", "Four \u00d83.2 mm holes at the corners, 21 \u00d7 12.88 mm spacing."], "text": "Rectangular body, 30 \u00d7 18.4 \u00d7 4 mm (W\u00d7D\u00d7H). Four \u00d83.2 mm holes at the corners, 21 \u00d7 12.88 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 30, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 18.4, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 4.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 4.1, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331619 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 30, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 18.4, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 4.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 4.1, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca7a4_3056", "family": "block", "tier": 1, "seed": 1177331620, "symmetry": "none", "op_count": 2, "ir_hash": "c089f3554babb30b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 516000.0, "surface_area": 46400.0, "principal_moments": [523000000.0, 532000000.0, 681000000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 90 \u00d7 66.3 \u00d7 88.4 mm (W\u00d7D\u00d7H).", "Four \u00d86.4 mm holes at the corners, 63 \u00d7 46.41 mm spacing."], "text": "Rectangular body, 90 \u00d7 66.3 \u00d7 88.4 mm (W\u00d7D\u00d7H). Four \u00d86.4 mm holes at the corners, 63 \u00d7 46.41 mm spacing."}, "params": {"block_w": {"type": "float", "default": 90, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 66.3, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 88.4, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331620 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 90, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 66.3, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 88.4, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462ca7a5_3057", "family": "profiled", "tier": 1, "seed": 1177331621, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "098bba8ad871ac9a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 92200.0, "surface_area": 15800.0, "principal_moments": [11999999.999999998, 164000000.0, 171000000.0], "n_faces": 9, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["freeform sketched section (7 segments: 2 straight, 2 arcs, 3 curves), ~21.496 \u00d7 40.931 mm, extruded 144.9 mm thick."], "text": "freeform sketched section (7 segments: 2 straight, 2 arcs, 3 curves), ~21.496 \u00d7 40.931 mm, extruded 144.9 mm thick."}, "params": {"sk_w": {"type": "float", "default": 25.26, "min": 12.6, "max": 45.5, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 55, "min": 27.5, "max": 99.0, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "length": {"type": "float", "default": 144.9, "min": 43.5, "max": 434.7, "step": 5.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331621 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 25.26, \"min\": 12.6, \"max\": 45.5, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 55, \"min\": 27.5, \"max\": 99.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 144.9, \"min\": 43.5, \"max\": 434.7, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.4635, p[\"sk_h\"] * -0.1015).lineTo(p[\"sk_w\"] * 0.1151, p[\"sk_h\"] * 0.3017).spline([(p[\"sk_w\"] * 0.1151, p[\"sk_h\"] * 0.3017), (p[\"sk_w\"] * -0.0116, p[\"sk_h\"] * 0.3644), (p[\"sk_w\"] * -0.149, p[\"sk_h\"] * 0.398)]).spline([(p[\"sk_w\"] * -0.149, p[\"sk_h\"] * 0.398), (p[\"sk_w\"] * -0.2702, p[\"sk_h\"] * 0.3759), (p[\"sk_w\"] * -0.3797, p[\"sk_h\"] * 0.3195)]).spline([(p[\"sk_w\"] * -0.3797, p[\"sk_h\"] * 0.3195), (p[\"sk_w\"] * -0.4211, p[\"sk_h\"] * 0.1077), (p[\"sk_w\"] * -0.3875, p[\"sk_h\"] * -0.1055)]).threePointArc((p[\"sk_w\"] * -0.2498, p[\"sk_h\"] * -0.2775), (p[\"sk_w\"] * -0.0339, p[\"sk_h\"] * -0.3462)).threePointArc((p[\"sk_w\"] * 0.1101, p[\"sk_h\"] * -0.3321), (p[\"sk_w\"] * 0.2381, p[\"sk_h\"] * -0.2735)).lineTo(p[\"sk_w\"] * 0.4635, p[\"sk_h\"] * -0.1015).close().extrude(p[\"length\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca7a6_3058", "family": "revolved", "tier": 2, "seed": 1177331622, "symmetry": "none", "op_count": 1, "ir_hash": "1153576b9eb2262c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 38400.0, "surface_area": 10200.0, "principal_moments": [9210000.0, 9380000.0, 9380000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d840 mm \u00d7 45.8 mm tall."], "text": "Revolved body, \u00d840 mm \u00d7 45.8 mm tall."}, "params": {"outer_d": {"type": "float", "default": 40, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 45.8, "min": 13.7, "max": 137.4, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331622 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 40, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 45.8, \"min\": 13.7, \"max\": 137.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462ca7a7_3059", "family": "sketched", "tier": 1, "seed": 1177331623, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "f32266c9d1edd921", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 12300.0, "surface_area": 4340.0, "principal_moments": [1250000.0, 2100000.0, 3190000.0], "n_faces": 8, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["freeform sketched section (5 segments: 3 straight, 2 curves), ~41.895 \u00d7 53.019 mm, extruded 8.73 mm thick.", "One \u00d88.4 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "freeform sketched section (5 segments: 3 straight, 2 curves), ~41.895 \u00d7 53.019 mm, extruded 8.73 mm thick. One \u00d88.4 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"sk_w": {"type": "float", "default": 50.12, "min": 25.1, "max": 90.2, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 90.0, "min": 45.0, "max": 162.0, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "sk_t": {"type": "float", "default": 8.73, "min": 3.5, "max": 19.2, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "sk_hole_d": {"type": "float", "default": 8.4, "min": 2.0, "max": 16.8, "step": 0.5, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331623 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 50.12, \"min\": 25.1, \"max\": 90.2, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 90.0, \"min\": 45.0, \"max\": 162.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"sk_t\": {\"type\": 'float', \"default\": 8.73, \"min\": 3.5, \"max\": 19.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"sk_hole_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 2.0, \"max\": 16.8, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.3656, p[\"sk_h\"] * 0.0802).spline([(p[\"sk_w\"] * 0.3656, p[\"sk_h\"] * 0.0802), (p[\"sk_w\"] * 0.2771, p[\"sk_h\"] * 0.2123), (p[\"sk_w\"] * 0.1422, p[\"sk_h\"] * 0.2964)]).bezier([(p[\"sk_w\"] * 0.1422, p[\"sk_h\"] * 0.2964), (p[\"sk_w\"] * -0.1857, p[\"sk_h\"] * 0.2963), (p[\"sk_w\"] * -0.4703, p[\"sk_h\"] * 0.1333)]).lineTo(p[\"sk_w\"] * -0.2718, p[\"sk_h\"] * -0.1879).lineTo(p[\"sk_w\"] * 0.1321, p[\"sk_h\"] * -0.2927).lineTo(p[\"sk_w\"] * 0.3656, p[\"sk_h\"] * 0.0802).close().extrude(p[\"sk_t\"]))\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"sk_hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462ca7a8_3060", "family": "threaded", "tier": 1, "seed": 1177331624, "symmetry": "none", "op_count": 1, "ir_hash": "3761a9d156905a99", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 7220.0, "surface_area": 4280.0, "principal_moments": [367000.0, 1060000.0, 1060000.0], "n_faces": 207, "n_edges": 755, "n_vertices": 550}, "dimensions": {"lines": ["M10x1.5 internal thread, 38.2 mm long."], "text": "M10x1.5 internal thread, 38.2 mm long."}, "params": {"major_d": {"type": "float", "default": 10.0, "min": 4.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Major diameter (mm)"}, "pitch": {"type": "float", "default": 1.5, "min": 0.75, "max": 3.0, "step": 0.05, "group": "Thread", "label": "Pitch (mm)"}, "thread_len": {"type": "float", "default": 38.2, "min": 15.3, "max": 76.4, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331624 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 10.0, \"min\": 4.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Major diameter (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.5, \"min\": 0.75, \"max\": 3.0, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Pitch (mm)'},\n    \"thread_len\": {\"type\": 'float', \"default\": 38.2, \"min\": 15.3, \"max\": 76.4, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.IsoThread(major_diameter=p[\"major_d\"], pitch=p[\"pitch\"], length=p[\"thread_len\"], external=False, end_finishes=(\"fade\", \"fade\"))\n    _body = _bd.Cylinder(radius=(p[\"major_d\"]) * 0.9, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _bore = _bd.Cylinder(radius=(p[\"major_d\"]) / 2, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = (_body - _bore) + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca7a9_3061", "family": "revolved", "tier": 1, "seed": 1177331625, "symmetry": "radial", "op_count": 1, "ir_hash": "e110f063ca8d812d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 418.0, "surface_area": 564.0, "principal_moments": [4450.0, 8120.0, 8120.0], "n_faces": 6, "n_edges": 9, "n_vertices": 6}, "dimensions": {"lines": ["Revolved body, \u00d86 mm \u00d7 11.9 mm tall with \u00d82.2 mm bore, \u00d812.3 mm \u00d7 1.4 mm flange."], "text": "Revolved body, \u00d86 mm \u00d7 11.9 mm tall with \u00d82.2 mm bore, \u00d812.3 mm \u00d7 1.4 mm flange."}, "params": {"outer_d": {"type": "float", "default": 6.0, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 11.9, "min": 3.6, "max": 35.7, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 2.2, "min": 2.0, "max": 4.2, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 12.3, "min": 7.2, "max": 18.0, "step": 1.0, "group": "Body", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 1.4, "min": 0.4, "max": 6.0, "step": 0.5, "group": "Body", "label": "Flange height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331625 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 6.0, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 11.9, \"min\": 3.6, \"max\": 35.7, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 2.2, \"min\": 2.0, \"max\": 4.2, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 12.3, \"min\": 7.2, \"max\": 18.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 1.4, \"min\": 0.4, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Flange height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462ca7aa_3062", "family": "gear", "tier": 1, "seed": 1177331626, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "ef7799521870e175", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 172000.0, "surface_area": 31200.0, "principal_moments": [128000000.0, 128000000.0, 244000000.0], "n_faces": 213, "n_edges": 633, "n_vertices": 422}, "dimensions": {"lines": ["Spur gear, module 3 mm, 35 teeth (pitch \u00d8105 mm), face width 20.6 mm, \u00d816.6 mm bore."], "text": "Spur gear, module 3 mm, 35 teeth (pitch \u00d8105 mm), face width 20.6 mm, \u00d816.6 mm bore."}, "params": {"module": {"type": "float", "default": 3.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 35, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 20.6, "min": 8.2, "max": 51.5, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "bore_d": {"type": "float", "default": 16.6, "min": 2.0, "max": 58.5, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331626 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 3.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 35, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 20.6, \"min\": 8.2, \"max\": 51.5, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 16.6, \"min\": 2.0, \"max\": 58.5, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462ca7ab_3063", "family": "sketched", "tier": 1, "seed": 1177331627, "symmetry": "none", "op_count": 2, "ir_hash": "c788a7a76f6ea315", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 27100.0, "surface_area": 5920.0, "principal_moments": [2610000.0, 6340000.0, 7140000.0], "n_faces": 9, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["freeform sketched section (6 segments: 2 straight, 4 arcs), ~33.666 \u00d7 57.93 mm, extruded 20 mm thick.", "One \u00d85.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "freeform sketched section (6 segments: 2 straight, 4 arcs), ~33.666 \u00d7 57.93 mm, extruded 20 mm thick. One \u00d85.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"sk_w": {"type": "float", "default": 41.63, "min": 20.8, "max": 74.9, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 75, "min": 37.5, "max": 135.0, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "sk_t": {"type": "float", "default": 20, "min": 8.0, "max": 44.0, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "sk_hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 10.6, "step": 0.5, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331627 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 41.63, \"min\": 20.8, \"max\": 74.9, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 75, \"min\": 37.5, \"max\": 135.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"sk_t\": {\"type\": 'float', \"default\": 20, \"min\": 8.0, \"max\": 44.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"sk_hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 10.6, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.4181, p[\"sk_h\"] * 0.0192).lineTo(p[\"sk_w\"] * 0.1513, p[\"sk_h\"] * 0.2971).lineTo(p[\"sk_w\"] * -0.147, p[\"sk_h\"] * 0.3275).threePointArc((p[\"sk_w\"] * -0.3073, p[\"sk_h\"] * 0.1249), (p[\"sk_w\"] * -0.3906, p[\"sk_h\"] * -0.1238)).threePointArc((p[\"sk_w\"] * -0.2968, p[\"sk_h\"] * -0.3096), (p[\"sk_w\"] * -0.1456, p[\"sk_h\"] * -0.4449)).threePointArc((p[\"sk_w\"] * -0.039, p[\"sk_h\"] * -0.4393), (p[\"sk_w\"] * 0.0699, p[\"sk_h\"] * -0.4052)).threePointArc((p[\"sk_w\"] * 0.3032, p[\"sk_h\"] * -0.2255), (p[\"sk_w\"] * 0.4181, p[\"sk_h\"] * 0.0192)).close().extrude(p[\"sk_t\"]))\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"sk_hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca7ac_3064", "family": "plate", "tier": 0, "seed": 1177331628, "symmetry": "none", "op_count": 1, "ir_hash": "43f1ee58db6198b3", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 57200.0, "surface_area": 14600.0, "principal_moments": [15399999.999999998, 50199999.99999999, 64699999.99999999], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 102.17 \u00d7 56 \u00d7 10 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 102.17 \u00d7 56 \u00d7 10 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 102.17, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 56.0, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331628 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 102.17, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 56.0, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca7ad_3065", "family": "block", "tier": 1, "seed": 1177331629, "symmetry": "none", "op_count": 2, "ir_hash": "686d11134d05ca34", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 20900.0, "surface_area": 7220.0, "principal_moments": [1760000.0, 4310000.0, 4870000.0], "n_faces": 22, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 47.64 \u00d7 19.3 \u00d7 25.8 mm (W\u00d7D\u00d7H).", "Four 5.2 mm square holes at the corners, 33.348 \u00d7 13.51 mm spacing."], "text": "Rectangular body, 47.64 \u00d7 19.3 \u00d7 25.8 mm (W\u00d7D\u00d7H). Four 5.2 mm square holes at the corners, 33.348 \u00d7 13.51 mm spacing."}, "params": {"block_w": {"type": "float", "default": 47.64, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 19.3, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 25.8, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 5.2, "min": 2.0, "max": 5.6, "step": 0.5, "group": "Holes", "label": "Square hole size (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331629 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 47.64, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 19.3, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 25.8, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.2, \"min\": 2.0, \"max\": 5.6, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Square hole size (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().rect(p[\"hole_d\"], p[\"hole_d\"]).cutThruAll()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca7ae_3066", "family": "compound", "tier": 2, "seed": 1177331630, "symmetry": "mirror_xy", "op_count": 3, "ir_hash": "1c2314b1b5df2863", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 48400.0, "surface_area": 20700.0, "principal_moments": [22799999.999999996, 43600000.0, 60899999.99999999], "n_faces": 13, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Rectangular body, 105 \u00d7 73.6 \u00d7 6 mm (W\u00d7D\u00d7H).", "\u00d813.1 mm circular section attachment, 43 mm long, from top face with a \u00d88 mm bore.", "Four \u00d88.4 mm holes at the corners, 73.5 \u00d7 51.52 mm spacing."], "text": "Rectangular body, 105 \u00d7 73.6 \u00d7 6 mm (W\u00d7D\u00d7H). \u00d813.1 mm circular section attachment, 43 mm long, from top face with a \u00d88 mm bore. Four \u00d88.4 mm holes at the corners, 73.5 \u00d7 51.52 mm spacing."}, "params": {"base_w": {"type": "float", "default": 105, "min": 30.0, "max": 160.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 73.6, "min": 25.0, "max": 160.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_h": {"type": "float", "default": 6.0, "min": 3.0, "max": 30.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "col_d": {"type": "float", "default": 13.1, "min": 5.2, "max": 36.8, "step": 1.0, "group": "Column", "label": "Column diameter (mm)"}, "col_h": {"type": "float", "default": 43.0, "min": 12.9, "max": 129.0, "step": 1.0, "group": "Column", "label": "Column height (mm)"}, "col_bore": {"type": "float", "default": 8.0, "min": 2.0, "max": 9.4, "step": 0.5, "group": "Column", "label": "Column bore diameter (mm)"}, "hole_d": {"type": "float", "default": 8.4, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331630 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 105, \"min\": 30.0, \"max\": 160.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 73.6, \"min\": 25.0, \"max\": 160.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_h\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 30.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"col_d\": {\"type\": 'float', \"default\": 13.1, \"min\": 5.2, \"max\": 36.8, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column diameter (mm)'},\n    \"col_h\": {\"type\": 'float', \"default\": 43.0, \"min\": 12.9, \"max\": 129.0, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column height (mm)'},\n    \"col_bore\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 9.4, \"step\": 0.5, \"group\": 'Column', \"label\": 'Column bore diameter (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_h\"])\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"col_d\"] / 2).extrude(p[\"col_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"col_bore\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"base_w\"] * 0.7, p[\"base_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462ca7af_3067", "family": "ribbed", "tier": 1, "seed": 1177331631, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "1940df0add510613", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 21400.0, "surface_area": 16900.0, "principal_moments": [7240000.0, 11899999.999999998, 17400000.0], "n_faces": 30, "n_edges": 72, "n_vertices": 44}, "dimensions": {"lines": ["Rectangular body, 75 \u00d7 59.7 \u00d7 3 mm (W\u00d7D\u00d7H).", "Three ribs, 2.3 mm thick, 19.2 mm tall."], "text": "Rectangular body, 75 \u00d7 59.7 \u00d7 3 mm (W\u00d7D\u00d7H). Three ribs, 2.3 mm thick, 19.2 mm tall."}, "params": {"base_w": {"type": "float", "default": 75, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 59.7, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 3.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 3, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 19.2, "min": 7.7, "max": 38.4, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 2.3, "min": 1.0, "max": 5.8, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331631 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 75, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 59.7, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 3, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 19.2, \"min\": 7.7, \"max\": 38.4, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 2.3, \"min\": 1.0, \"max\": 5.8, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca7b0_3068", "family": "bracket", "tier": 2, "seed": 1177331632, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "7cef73253a42bc5a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 21700.0, "surface_area": 8900.0, "principal_moments": [4450000.0, 8830000.0, 9650000.0], "n_faces": 14, "n_edges": 37, "n_vertices": 24}, "dimensions": {"lines": ["L-bracket: base leg 46.12 mm, vertical leg 49.3 mm, 38.9 mm wide, 6 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 5.2 mm corner gusset."], "text": "L-bracket: base leg 46.12 mm, vertical leg 49.3 mm, 38.9 mm wide, 6 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 5.2 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 46.12, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 49.3, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 38.9, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 6.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 5.2, "min": 3.0, "max": 18.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331632 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 46.12, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 49.3, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 38.9, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 5.2, \"min\": 3.0, \"max\": 18.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca7b1_3069", "family": "revolved", "tier": 2, "seed": 1177331633, "symmetry": "none", "op_count": 1, "ir_hash": "5d5fa52567d9c750", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 215000.0, "surface_area": 36300.0, "principal_moments": [135000000.0, 191000000.0, 191000000.0], "n_faces": 7, "n_edges": 10, "n_vertices": 7}, "dimensions": {"lines": ["Revolved body, \u00d865.3 mm \u00d7 100.1 mm tall with 9.13 mm-wide groove 5.11 mm deep."], "text": "Revolved body, \u00d865.3 mm \u00d7 100.1 mm tall with 9.13 mm-wide groove 5.11 mm deep."}, "params": {"outer_d": {"type": "float", "default": 65.3, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 100.1, "min": 30.0, "max": 300.3, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "groove_depth": {"type": "float", "default": 5.11, "min": 2.04, "max": 15.33, "step": 0.1, "group": "Body", "label": "Groove depth (mm)"}, "groove_w": {"type": "float", "default": 9.13, "min": 3.65, "max": 27.39, "step": 0.2, "group": "Body", "label": "Groove width (mm)"}, "groove_pos": {"type": "float", "default": 70.1, "min": 15.0, "max": 85.1, "step": 1.0, "group": "Body", "label": "Groove position (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331633 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 65.3, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 100.1, \"min\": 30.0, \"max\": 300.3, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"groove_depth\": {\"type\": 'float', \"default\": 5.11, \"min\": 2.04, \"max\": 15.33, \"step\": 0.1, \"group\": 'Body', \"label\": 'Groove depth (mm)'},\n    \"groove_w\": {\"type\": 'float', \"default\": 9.13, \"min\": 3.65, \"max\": 27.39, \"step\": 0.2, \"group\": 'Body', \"label\": 'Groove width (mm)'},\n    \"groove_pos\": {\"type\": 'float', \"default\": 70.1, \"min\": 15.0, \"max\": 85.1, \"step\": 1.0, \"group\": 'Body', \"label\": 'Groove position (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"groove_pos\"] - p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2 - p[\"groove_depth\"], p[\"groove_pos\"] - p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2 - p[\"groove_depth\"], p[\"groove_pos\"] + p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2, p[\"groove_pos\"] + p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca7b2_3070", "family": "revolved", "tier": 0, "seed": 1177331634, "symmetry": "none", "op_count": 1, "ir_hash": "b572cea69fc9a7c7", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 11900.0, "surface_area": 5540.0, "principal_moments": [769000.0, 2360000.0, 2360000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d820.74 mm \u00d7 52.9 mm tall."], "text": "Revolved body, \u00d820.74 mm \u00d7 52.9 mm tall."}, "params": {"outer_d": {"type": "float", "default": 20.74, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 52.9, "min": 15.9, "max": 158.7, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331634 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 20.74, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 52.9, \"min\": 15.9, \"max\": 158.7, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462ca7b3_3071", "family": "profiled", "tier": 0, "seed": 1177331635, "symmetry": "none", "op_count": 1, "ir_hash": "e2e567b641954601", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 20500.0, "surface_area": 4620.0, "principal_moments": [1220000.0, 5840000.0, 5840000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["8-sided polygon section, 22.92 mm across corners, extruded 55.3 mm thick."], "text": "8-sided polygon section, 22.92 mm across corners, extruded 55.3 mm thick."}, "params": {"circ_r": {"type": "float", "default": 11.46, "min": 5.7, "max": 22.9, "step": 1.0, "group": "Profile", "label": "Circumscribed radius (mm)"}, "n_sides": {"type": "int", "default": 8, "min": 3, "max": 8, "step": 1, "group": "Profile", "label": "Sides"}, "length": {"type": "float", "default": 55.3, "min": 16.6, "max": 165.9, "step": 5.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331635 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"circ_r\": {\"type\": 'float', \"default\": 11.46, \"min\": 5.7, \"max\": 22.9, \"step\": 1.0, \"group\": 'Profile', \"label\": 'Circumscribed radius (mm)'},\n    \"n_sides\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Profile', \"label\": 'Sides'},\n    \"length\": {\"type\": 'float', \"default\": 55.3, \"min\": 16.6, \"max\": 165.9, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').polygon(p[\"n_sides\"], p[\"circ_r\"] * 2).extrude(p[\"length\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca7b4_3072", "family": "plate", "tier": 3, "seed": 1177331636, "symmetry": "none", "op_count": 4, "ir_hash": "72e0f5804936ef2b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 5630.0, "surface_area": 4070.0, "principal_moments": [594000.0, 1150000.0, 1730000.0], "n_faces": 23, "n_edges": 69, "n_vertices": 46}, "dimensions": {"lines": ["Rectangular body, 47.46 \u00d7 33.8 \u00d7 4 mm (W\u00d7D\u00d7H).", "Five \u00d83.2 mm holes in two staggered rows, 17.8 \u00d7 16.5 mm pitch.", "Fillet radius 1.398 mm on vertical edges.", "Pocket 24.7 \u00d7 15 mm, 1.7 mm deep, in top face."], "text": "Rectangular body, 47.46 \u00d7 33.8 \u00d7 4 mm (W\u00d7D\u00d7H). Five \u00d83.2 mm holes in two staggered rows, 17.8 \u00d7 16.5 mm pitch. Fillet radius 1.398 mm on vertical edges. Pocket 24.7 \u00d7 15 mm, 1.7 mm deep, in top face."}, "params": {"plate_w": {"type": "float", "default": 47.46, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 33.8, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 4.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 3.4, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 3, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}, "pocket_w": {"type": "float", "default": 24.7, "min": 12.3, "max": 38.0, "step": 1.0, "group": "Pocket", "label": "Pocket width (mm)"}, "pocket_d": {"type": "float", "default": 15.0, "min": 7.5, "max": 27.0, "step": 1.0, "group": "Pocket", "label": "Pocket depth (mm)"}, "pocket_h": {"type": "float", "default": 1.7, "min": 0.7, "max": 3.4, "step": 0.5, "group": "Pocket", "label": "Pocket height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331636 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 47.46, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 33.8, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 4.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 3.4, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 3, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n    \"pocket_w\": {\"type\": 'float', \"default\": 24.7, \"min\": 12.3, \"max\": 38.0, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket width (mm)'},\n    \"pocket_d\": {\"type\": 'float', \"default\": 15.0, \"min\": 7.5, \"max\": 27.0, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket depth (mm)'},\n    \"pocket_h\": {\"type\": 'float', \"default\": 1.7, \"min\": 0.7, \"max\": 3.4, \"step\": 0.5, \"group\": 'Pocket', \"label\": 'Pocket height (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 17.8\n    _ssy = 16.5\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"plate_w\"], p[\"plate_d\"]) * 0.04136299592546206)\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"pocket_w\"], p[\"pocket_d\"])\n        .cutBlind(-p[\"pocket_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca7b5_3073", "family": "bracket", "tier": 1, "seed": 1177331637, "symmetry": "none", "op_count": 1, "ir_hash": "8255f952a131bb8d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 22500.0, "surface_area": 16300.0, "principal_moments": [6500000.0, 29399999.999999996, 30499999.999999996], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Z-bracket: base leg 65 mm, vertical leg 53 mm, top leg 55.2 mm, 45 mm wide, 3 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."], "text": "Z-bracket: base leg 65 mm, vertical leg 53 mm, top leg 55.2 mm, 45 mm wide, 3 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 65, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 53.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 45, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 3.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 55.2, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331637 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 65, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 53.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 45, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 55.2, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462ca7b6_3074", "family": "threaded", "tier": 2, "seed": 1177331638, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "c0cc34c41530c398", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 18900.0, "surface_area": 6620.0, "principal_moments": [1140000.0, 4780000.0, 4780000.0], "n_faces": 110, "n_edges": 280, "n_vertices": 172}, "dimensions": {"lines": ["Tr 24x5 external thread, 52.5 mm long."], "text": "Tr 24x5 external thread, 52.5 mm long."}, "params": {"thread_size": {"type": "enum", "default": "24x5", "choices": ["8x1.5", "10x2", "12x3", "14x3", "16x4", "18x4", "20x4", "24x5", "28x5", "30x6", "36x6", "40x7"], "group": "Thread", "label": "Size designation"}, "thread_len": {"type": "float", "default": 52.5, "min": 21.0, "max": 105.0, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331638 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"thread_size\": {\"type\": 'enum', \"default\": '24x5', \"choices\": ['8x1.5', '10x2', '12x3', '14x3', '16x4', '18x4', '20x4', '24x5', '28x5', '30x6', '36x6', '40x7'], \"group\": 'Thread', \"label\": 'Size designation'},\n    \"thread_len\": {\"type\": 'float', \"default\": 52.5, \"min\": 21.0, \"max\": 105.0, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.MetricTrapezoidalThread(size=p[\"thread_size\"], length=p[\"thread_len\"], external=True, end_finishes=(\"fade\", \"fade\"))\n    _r = _thr.min_radius if hasattr(_thr, 'min_radius') else _thr.root_radius\n    _shank = _bd.Cylinder(radius=_r, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = _shank + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462ca7b7_3075", "family": "sketched", "tier": 1, "seed": 1177331639, "symmetry": "none", "op_count": 2, "ir_hash": "c92e81316aee1966", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 44800.0, "surface_area": 8630.0, "principal_moments": [7960000.0, 13599999.999999998, 19100000.0], "n_faces": 7, "n_edges": 15, "n_vertices": 10}, "dimensions": {"lines": ["freeform sketched section (4 segments: 1 straight, 2 arcs, 1 curve), ~48.685 \u00d7 73.145 mm, extruded 18.18 mm thick.", "One \u00d84.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "freeform sketched section (4 segments: 1 straight, 2 arcs, 1 curve), ~48.685 \u00d7 73.145 mm, extruded 18.18 mm thick. One \u00d84.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"sk_w": {"type": "float", "default": 70, "min": 35.0, "max": 126.0, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 89.76, "min": 44.9, "max": 161.6, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "sk_t": {"type": "float", "default": 18.18, "min": 7.3, "max": 40.0, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "sk_hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 8.6, "step": 0.5, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331639 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 70, \"min\": 35.0, \"max\": 126.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 89.76, \"min\": 44.9, \"max\": 161.6, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"sk_t\": {\"type\": 'float', \"default\": 18.18, \"min\": 7.3, \"max\": 40.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"sk_hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 8.6, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.3882, p[\"sk_h\"] * 0.1674).bezier([(p[\"sk_w\"] * 0.3882, p[\"sk_h\"] * 0.1674), (p[\"sk_w\"] * 0.1304, p[\"sk_h\"] * 0.2995), (p[\"sk_w\"] * -0.1538, p[\"sk_h\"] * 0.356)]).threePointArc((p[\"sk_w\"] * -0.301, p[\"sk_h\"] * 0.1494), (p[\"sk_w\"] * -0.3073, p[\"sk_h\"] * -0.1444)).lineTo(p[\"sk_w\"] * -0.0356, p[\"sk_h\"] * -0.4589).threePointArc((p[\"sk_w\"] * 0.27, p[\"sk_h\"] * -0.2037), (p[\"sk_w\"] * 0.3882, p[\"sk_h\"] * 0.1674)).close().extrude(p[\"sk_t\"]))\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"sk_hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca7b8_3076", "family": "block", "tier": 3, "seed": 1177331640, "symmetry": "radial", "op_count": 5, "ir_hash": "37f62b07d85ab762", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 19700.0, "surface_area": 12300.0, "principal_moments": [3420000.0, 4660000.0, 6650000.0], "n_faces": 49, "n_edges": 134, "n_vertices": 84}, "dimensions": {"lines": ["Rectangular body, 35.87 \u00d7 22.4 \u00d7 44.9 mm (W\u00d7D\u00d7H).", "Eight \u00d88.4 mm holes on a \u00d821.6 mm bolt circle.", "Boss \u00d821.8 mm \u00d7 4.5 mm tall on top face with a \u00d84.3 mm bore.", "Fillet radius 1.41 mm on vertical edges (optional, off by default).", "One \u00d83.2 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch, angled 17.2\u00b0 on the <X face."], "text": "Rectangular body, 35.87 \u00d7 22.4 \u00d7 44.9 mm (W\u00d7D\u00d7H). Eight \u00d88.4 mm holes on a \u00d821.6 mm bolt circle. Boss \u00d821.8 mm \u00d7 4.5 mm tall on top face with a \u00d84.3 mm bore. Fillet radius 1.41 mm on vertical edges (optional, off by default). One \u00d83.2 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch, angled 17.2\u00b0 on the <X face."}, "params": {"block_w": {"type": "float", "default": 35.87, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 22.4, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 44.9, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "bolt_d": {"type": "float", "default": 8.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 10.8, "min": 7.2, "max": 16.1, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 8, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}, "boss_d": {"type": "float", "default": 21.8, "min": 10.9, "max": 43.6, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 4.5, "min": 1.8, "max": 11.2, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}, "boss_bore_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 15.3, "step": 0.1, "group": "Boss", "label": "Bore diameter (mm)"}, "filleted2": {"type": "bool", "default": false, "group": "Body", "label": "Fillet corners"}, "face_hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 5.8, "step": 0.5, "group": "Holes", "label": "Side hole diameter (mm)"}, "face_hole_tilt": {"type": "float", "default": 17.2, "min": 0.0, "max": 30.0, "step": 1.0, "group": "Holes", "label": "Side hole angle (deg)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331640 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 35.87, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 22.4, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 44.9, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 10.8, \"min\": 7.2, \"max\": 16.1, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n    \"boss_d\": {\"type\": 'float', \"default\": 21.8, \"min\": 10.9, \"max\": 43.6, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 4.5, \"min\": 1.8, \"max\": 11.2, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n    \"boss_bore_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 15.3, \"step\": 0.1, \"group\": 'Boss', \"label\": 'Bore diameter (mm)'},\n    \"filleted2\": {\"type\": 'bool', \"default\": False, \"group\": 'Body', \"label\": 'Fillet corners'},\n    \"face_hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 5.8, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Side hole diameter (mm)'},\n    \"face_hole_tilt\": {\"type\": 'float', \"default\": 17.2, \"min\": 0.0, \"max\": 30.0, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Side hole angle (deg)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .hole(p[\"boss_bore_d\"])\n    )\n    if p[\"filleted2\"]:\n        result = result.edges('|Z').fillet(min(p[\"block_w\"], p[\"block_d\"]) * 0.06295002764026458)\n    result = (\n        result.faces('<X').workplane().transformed(rotate=(p[\"face_hole_tilt\"], 0, 0))\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"face_hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462ca7b9_3077", "family": "sketched", "tier": 3, "seed": 1177331641, "symmetry": "none", "op_count": 1, "ir_hash": "89a9254c1811aa9f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 19300.0, "surface_area": 7490.0, "principal_moments": [2590000.0, 3510000.0, 3510000.0], "n_faces": 8, "n_edges": 14, "n_vertices": 8}, "dimensions": {"lines": ["Revolved organic body from a freeform sketched section (7 segments: 5 straight, 2 curves), ~11.469 \u00d7 38.13 mm half-silhouette."], "text": "Revolved organic body from a freeform sketched section (7 segments: 5 straight, 2 curves), ~11.469 \u00d7 38.13 mm half-silhouette."}, "params": {"sk_r": {"type": "float", "default": 30, "min": 15.0, "max": 54.0, "step": 1.0, "group": "Sketch", "label": "Max radius (mm)"}, "sk_h": {"type": "float", "default": 38.13, "min": 19.1, "max": 68.6, "step": 1.0, "group": "Sketch", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331641 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_r\": {\"type\": 'float', \"default\": 30, \"min\": 15.0, \"max\": 54.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Max radius (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 38.13, \"min\": 19.1, \"max\": 68.6, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XZ').moveTo(p[\"sk_r\"] * 0.5959, p[\"sk_h\"] * 0.0).lineTo(p[\"sk_r\"] * 0.3306, p[\"sk_h\"] * 0.101).lineTo(p[\"sk_r\"] * 0.453, p[\"sk_h\"] * 0.392).spline([(p[\"sk_r\"] * 0.453, p[\"sk_h\"] * 0.392), (p[\"sk_r\"] * 0.5748, p[\"sk_h\"] * 0.55), (p[\"sk_r\"] * 0.3629, p[\"sk_h\"] * 0.708)]).lineTo(p[\"sk_r\"] * 0.587, p[\"sk_h\"] * 0.9111).spline([(p[\"sk_r\"] * 0.587, p[\"sk_h\"] * 0.9111), (p[\"sk_r\"] * 0.5299, p[\"sk_h\"] * 0.9556), (p[\"sk_r\"] * 0.307, p[\"sk_h\"] * 1.0)]).lineTo(p[\"sk_r\"] * 0.2136, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.2136, p[\"sk_h\"] * 0.0).close().revolve())\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca7ba_3078", "family": "plate", "tier": 1, "seed": 1177331642, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "3f90682e0c6666da", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 26900.0, "surface_area": 13100.0, "principal_moments": [9260000.0, 17400000.0, 26499999.999999996], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 90 \u00d7 65.7 \u00d7 5 mm (W\u00d7D\u00d7H).", "Four \u00d813 mm holes at the corners, 63 \u00d7 45.99 mm spacing."], "text": "Rectangular body, 90 \u00d7 65.7 \u00d7 5 mm (W\u00d7D\u00d7H). Four \u00d813 mm holes at the corners, 63 \u00d7 45.99 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 90, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 65.7, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 5.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 13.0, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331642 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 90, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 65.7, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 5.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 13.0, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca7bb_3079", "family": "revolved", "tier": 2, "seed": 1177331643, "symmetry": "none", "op_count": 1, "ir_hash": "a2b81cb840699914", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 547000.0, "surface_area": 80000.0, "principal_moments": [356000000.0, 2110000000.0, 2110000000.0], "n_faces": 7, "n_edges": 10, "n_vertices": 7}, "dimensions": {"lines": ["Revolved body, \u00d866.26 mm \u00d7 242.3 mm tall with 22.17 mm-wide groove 2.34 mm deep."], "text": "Revolved body, \u00d866.26 mm \u00d7 242.3 mm tall with 22.17 mm-wide groove 2.34 mm deep."}, "params": {"outer_d": {"type": "float", "default": 66.26, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 242.3, "min": 72.7, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "groove_depth": {"type": "float", "default": 2.34, "min": 0.94, "max": 7.02, "step": 0.1, "group": "Body", "label": "Groove depth (mm)"}, "groove_w": {"type": "float", "default": 22.17, "min": 8.87, "max": 66.51, "step": 0.2, "group": "Body", "label": "Groove width (mm)"}, "groove_pos": {"type": "float", "default": 121.1, "min": 36.3, "max": 206.0, "step": 1.0, "group": "Body", "label": "Groove position (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331643 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 66.26, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 242.3, \"min\": 72.7, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"groove_depth\": {\"type\": 'float', \"default\": 2.34, \"min\": 0.94, \"max\": 7.02, \"step\": 0.1, \"group\": 'Body', \"label\": 'Groove depth (mm)'},\n    \"groove_w\": {\"type\": 'float', \"default\": 22.17, \"min\": 8.87, \"max\": 66.51, \"step\": 0.2, \"group\": 'Body', \"label\": 'Groove width (mm)'},\n    \"groove_pos\": {\"type\": 'float', \"default\": 121.1, \"min\": 36.3, \"max\": 206.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Groove position (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"groove_pos\"] - p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2 - p[\"groove_depth\"], p[\"groove_pos\"] - p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2 - p[\"groove_depth\"], p[\"groove_pos\"] + p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2, p[\"groove_pos\"] + p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462ca7bc_3080", "family": "flanged", "tier": 1, "seed": 1177331644, "symmetry": "none", "op_count": 2, "ir_hash": "567057ecd073547a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 874000.0, "surface_area": 98000.0, "principal_moments": [1900000000.0, 2240000000.0, 2240000000.0], "n_faces": 10, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["Revolved body, \u00d895 mm \u00d7 122.1 mm tall with \u00d846.3 mm bore, \u00d8165.8 mm \u00d7 14.8 mm flange.", "Four \u00d84.3 mm holes on a \u00d899.4 mm bolt circle."], "text": "Revolved body, \u00d895 mm \u00d7 122.1 mm tall with \u00d846.3 mm bore, \u00d8165.8 mm \u00d7 14.8 mm flange. Four \u00d84.3 mm holes on a \u00d899.4 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 95, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 122.1, "min": 36.6, "max": 305.2, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 46.3, "min": 2.0, "max": 66.5, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 165.8, "min": 123.5, "max": 285.0, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 14.8, "min": 4.4, "max": 48.8, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 49.7, "min": 33.2, "max": 74.6, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 4, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331644 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 95, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 122.1, \"min\": 36.6, \"max\": 305.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 46.3, \"min\": 2.0, \"max\": 66.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 165.8, \"min\": 123.5, \"max\": 285.0, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 14.8, \"min\": 4.4, \"max\": 48.8, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 49.7, \"min\": 33.2, \"max\": 74.6, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 4, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca7bd_3081", "family": "revolved", "tier": 2, "seed": 1177331645, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "2b1a167e56bec088", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 497.0, "surface_area": 554.0, "principal_moments": [6050.0, 7030.0, 7030.0], "n_faces": 5, "n_edges": 8, "n_vertices": 5}, "dimensions": {"lines": ["Revolved body, \u00d89.02 mm \u00d7 11.7 mm tall.", "Chamfer 0.3 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d89.02 mm \u00d7 11.7 mm tall. Chamfer 0.3 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 9.02, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 11.7, "min": 3.5, "max": 35.1, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "end_chamfer": {"type": "float", "default": 0.3, "min": 0.1, "max": 0.9, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331645 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 9.02, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 11.7, \"min\": 3.5, \"max\": 35.1, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.3, \"min\": 0.1, \"max\": 0.9, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca7be_3082", "family": "bracket", "tier": 1, "seed": 1177331646, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "897c827354e2c1c2", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 18900.0, "surface_area": 6590.0, "principal_moments": [3300000.0, 3720000.0, 5610000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["L-bracket: base leg 35 mm, vertical leg 28.7 mm, 43.31 mm wide, 8 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."], "text": "L-bracket: base leg 35 mm, vertical leg 28.7 mm, 43.31 mm wide, 8 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 35, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 28.7, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 43.31, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 8.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331646 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 35, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 28.7, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 43.31, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462ca7bf_3083", "family": "gear", "tier": 2, "seed": 1177331647, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "eaff338041874da5", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 2530.0, "surface_area": 1840.0, "principal_moments": [104000.0, 104000.0, 194000.0], "n_faces": 203, "n_edges": 603, "n_vertices": 402}, "dimensions": {"lines": ["Spur gear, module 1 mm, 25 teeth (pitch \u00d825 mm), face width 5.6 mm, \u00d83.6 mm bore."], "text": "Spur gear, module 1 mm, 25 teeth (pitch \u00d825 mm), face width 5.6 mm, \u00d83.6 mm bore."}, "params": {"module": {"type": "float", "default": 1.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 25, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 5.6, "min": 2.2, "max": 14.0, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "profile_shift": {"type": "float", "default": -0.28, "min": -0.5, "max": 0.7, "step": 0.05, "group": "Gear", "label": "Profile shift"}, "root_fillet": {"type": "float", "default": 0.11, "min": 0.0, "max": 0.5, "step": 0.05, "group": "Gear", "label": "Root fillet (mm)"}, "bore_d": {"type": "float", "default": 3.6, "min": 2.0, "max": 13.5, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331647 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 1.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 25, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 5.6, \"min\": 2.2, \"max\": 14.0, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"profile_shift\": {\"type\": 'float', \"default\": -0.28, \"min\": -0.5, \"max\": 0.7, \"step\": 0.05, \"group\": 'Gear', \"label\": 'Profile shift'},\n    \"root_fillet\": {\"type\": 'float', \"default\": 0.11, \"min\": 0.0, \"max\": 0.5, \"step\": 0.05, \"group\": 'Gear', \"label\": 'Root fillet (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 3.6, \"min\": 2.0, \"max\": 13.5, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"], profile_shift=p[\"profile_shift\"], root_fillet=p[\"root_fillet\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca7c0_3084", "family": "revolved", "tier": 0, "seed": 1177331648, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "74b48deffe42a250", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 29200.0, "surface_area": 7990.0, "principal_moments": [5810000.0, 5810000.0, 9160000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d845.76 mm \u00d7 26.6 mm tall."], "text": "Revolved body, \u00d845.76 mm \u00d7 26.6 mm tall."}, "params": {"outer_d": {"type": "float", "default": 45.76, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 26.6, "min": 8.0, "max": 79.8, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331648 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 45.76, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 26.6, \"min\": 8.0, \"max\": 79.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca7c1_3085", "family": "bracket", "tier": 1, "seed": 1177331649, "symmetry": "none", "op_count": 1, "ir_hash": "309e2a86da4c848f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 97200.0, "surface_area": 29400.0, "principal_moments": [101000000.0, 123000000.0, 183000000.0], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["C-channel bracket: base leg 80.25 mm, vertical leg 90 mm, 50 mm wide, 8 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."], "text": "C-channel bracket: base leg 80.25 mm, vertical leg 90 mm, 50 mm wide, 8 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 80.25, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 90.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 50, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 8.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331649 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 80.25, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 90.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 50, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca7c2_3086", "family": "bracket", "tier": 1, "seed": 1177331650, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "42bcb62697d99cc9", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 20800.0, "surface_area": 10800.0, "principal_moments": [5860000.0, 39400000.0, 43900000.0], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Z-bracket: base leg 80.34 mm, vertical leg 90 mm, top leg 49.4 mm, 20 mm wide, 5 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."], "text": "Z-bracket: base leg 80.34 mm, vertical leg 90 mm, top leg 49.4 mm, 20 mm wide, 5 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 80.34, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 90.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 20, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 5.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 49.4, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 8.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331650 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 80.34, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 90.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 20, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 49.4, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 8.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca7c3_3087", "family": "block", "tier": 2, "seed": 1177331651, "symmetry": "none", "op_count": 3, "ir_hash": "8b4eeeafb1a274cc", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 98500.0, "surface_area": 15200.0, "principal_moments": [21900000.0, 56099999.99999999, 57699999.99999999], "n_faces": 15, "n_edges": 39, "n_vertices": 26}, "dimensions": {"lines": ["Rectangular body, 75 \u00d7 35.4 \u00d7 37.8 mm (W\u00d7D\u00d7H).", "Five \u00d83.2 mm holes in two staggered rows, 28.1 \u00d7 23.6 mm pitch.", "Fillet radius 3.318 mm on vertical edges."], "text": "Rectangular body, 75 \u00d7 35.4 \u00d7 37.8 mm (W\u00d7D\u00d7H). Five \u00d83.2 mm holes in two staggered rows, 28.1 \u00d7 23.6 mm pitch. Fillet radius 3.318 mm on vertical edges."}, "params": {"block_w": {"type": "float", "default": 75, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 35.4, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 37.8, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 3.5, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 3, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331651 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 75, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 35.4, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 37.8, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 3.5, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 3, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 28.1\n    _ssy = 23.6\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"block_w\"], p[\"block_d\"]) * 0.09371567460257757)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca7c4_3088", "family": "compound", "tier": 2, "seed": 1177331652, "symmetry": "none", "op_count": 2, "ir_hash": "73f18f157ff092ab", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 46400.0, "surface_area": 8030.0, "principal_moments": [4930000.0, 21200000.0, 21200000.0], "n_faces": 5, "n_edges": 6, "n_vertices": 4}, "dimensions": {"lines": ["\u00d830.81 mm circular section, extruded 49.4 mm thick.", "\u00d821.7 mm circular section attachment, 25.8 mm long, from top face."], "text": "\u00d830.81 mm circular section, extruded 49.4 mm thick. \u00d821.7 mm circular section attachment, 25.8 mm long, from top face."}, "params": {"shaft_d": {"type": "float", "default": 30.81, "min": 15.4, "max": 55.5, "step": 1.0, "group": "Body", "label": "Shaft diameter (mm)"}, "shaft_len": {"type": "float", "default": 49.4, "min": 19.8, "max": 98.8, "step": 1.0, "group": "Body", "label": "Shaft length (mm)"}, "step_d": {"type": "float", "default": 21.7, "min": 10.8, "max": 27.7, "step": 1.0, "group": "Step", "label": "Step diameter (mm)"}, "step_len": {"type": "float", "default": 25.8, "min": 7.7, "max": 64.5, "step": 1.0, "group": "Step", "label": "Step length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331652 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"shaft_d\": {\"type\": 'float', \"default\": 30.81, \"min\": 15.4, \"max\": 55.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft diameter (mm)'},\n    \"shaft_len\": {\"type\": 'float', \"default\": 49.4, \"min\": 19.8, \"max\": 98.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft length (mm)'},\n    \"step_d\": {\"type\": 'float', \"default\": 21.7, \"min\": 10.8, \"max\": 27.7, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step diameter (mm)'},\n    \"step_len\": {\"type\": 'float', \"default\": 25.8, \"min\": 7.7, \"max\": 64.5, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').circle(p[\"shaft_d\"] / 2).extrude(p[\"shaft_len\"]))\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"step_d\"] / 2).extrude(p[\"step_len\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462ca7c5_3089", "family": "tapped", "tier": 3, "seed": 1177331653, "symmetry": "none", "op_count": 1, "ir_hash": "efa51f3e87df5662", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 12600.0, "surface_area": 4260.0, "principal_moments": [1240000.0, 1240000.0, 1590000.0], "n_faces": 140, "n_edges": 390, "n_vertices": 252}, "dimensions": {"lines": ["One M12x1.75 tapped hole in a cylinder."], "text": "One M12x1.75 tapped hole in a cylinder."}, "params": {"major_d": {"type": "float", "default": 12.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 1.75, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 20.7, "min": 14.4, "max": 37.3, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "body_d": {"type": "float", "default": 29.9, "min": 21.6, "max": 47.8, "step": 1.0, "group": "Body", "label": "Outer \u00d8 (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331653 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 12.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.75, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 20.7, \"min\": 14.4, \"max\": 37.3, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"body_d\": {\"type\": 'float', \"default\": 29.9, \"min\": 21.6, \"max\": 47.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer \u00d8 (mm)'},\n}\n\n\ndef build(p):\n\n    _W = _D = p[\"body_d\"]\n    _H = p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Cylinder(radius=_W / 2, height=_H)\n    _locs = [(0.0, 0.0)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca7c6_3090", "family": "block", "tier": 1, "seed": 1177331654, "symmetry": "none", "op_count": 2, "ir_hash": "b21eb0877f7a05c2", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 63400.0, "surface_area": 12100.0, "principal_moments": [13199999.999999998, 20300000.0, 21500000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 52.63 \u00d7 37.3 \u00d7 33.8 mm (W\u00d7D\u00d7H).", "Four \u00d85.3 mm holes at the corners, 36.841 \u00d7 26.11 mm spacing."], "text": "Rectangular body, 52.63 \u00d7 37.3 \u00d7 33.8 mm (W\u00d7D\u00d7H). Four \u00d85.3 mm holes at the corners, 36.841 \u00d7 26.11 mm spacing."}, "params": {"block_w": {"type": "float", "default": 52.63, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 37.3, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 33.8, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 8.4, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331654 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 52.63, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 37.3, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 33.8, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 8.4, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462ca7c7_3091", "family": "gear", "tier": 2, "seed": 1177331655, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "6648d3744f668403", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 41700.0, "surface_area": 11700.0, "principal_moments": [12599999.999999998, 12599999.999999998, 24299999.999999996], "n_faces": 133, "n_edges": 393, "n_vertices": 262}, "dimensions": {"lines": ["Spur gear, module 2.5 mm, 26 teeth (pitch \u00d865 mm), face width 11.9 mm, \u00d87.9 mm bore."], "text": "Spur gear, module 2.5 mm, 26 teeth (pitch \u00d865 mm), face width 11.9 mm, \u00d87.9 mm bore."}, "params": {"module": {"type": "float", "default": 2.5, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 26, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 11.9, "min": 4.8, "max": 29.8, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "profile_shift": {"type": "float", "default": 0.49, "min": -0.5, "max": 0.7, "step": 0.05, "group": "Gear", "label": "Profile shift"}, "root_fillet": {"type": "float", "default": 0.58, "min": 0.0, "max": 1.25, "step": 0.05, "group": "Gear", "label": "Root fillet (mm)"}, "bore_d": {"type": "float", "default": 7.9, "min": 2.0, "max": 35.2, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331655 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 2.5, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 26, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 11.9, \"min\": 4.8, \"max\": 29.8, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"profile_shift\": {\"type\": 'float', \"default\": 0.49, \"min\": -0.5, \"max\": 0.7, \"step\": 0.05, \"group\": 'Gear', \"label\": 'Profile shift'},\n    \"root_fillet\": {\"type\": 'float', \"default\": 0.58, \"min\": 0.0, \"max\": 1.25, \"step\": 0.05, \"group\": 'Gear', \"label\": 'Root fillet (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 7.9, \"min\": 2.0, \"max\": 35.2, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"], profile_shift=p[\"profile_shift\"], root_fillet=p[\"root_fillet\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca7c8_3092", "family": "bracket", "tier": 1, "seed": 1177331656, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "a32ae89e1b59f923", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 9380.0, "surface_area": 6980.0, "principal_moments": [1510000.0, 2840000.0, 3730000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["L-bracket: base leg 28.92 mm, vertical leg 29.4 mm, 56.79 mm wide, 3 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."], "text": "L-bracket: base leg 28.92 mm, vertical leg 29.4 mm, 56.79 mm wide, 3 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 28.92, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 29.4, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 56.79, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 3.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331656 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 28.92, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 29.4, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 56.79, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca7c9_3093", "family": "plate", "tier": 1, "seed": 1177331657, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "6426e9329a232a0d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 7010.0, "surface_area": 3770.0, "principal_moments": [652000.0, 1090000.0, 1720000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 43.21 \u00d7 33.2 \u00d7 5 mm (W\u00d7D\u00d7H).", "Four \u00d83.2 mm holes at the corners, 30.247 \u00d7 23.24 mm spacing."], "text": "Rectangular body, 43.21 \u00d7 33.2 \u00d7 5 mm (W\u00d7D\u00d7H). Four \u00d83.2 mm holes at the corners, 30.247 \u00d7 23.24 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 43.21, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 33.2, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 5.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 7.5, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331657 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 43.21, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 33.2, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 5.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 7.5, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca7ca_3094", "family": "plate", "tier": 0, "seed": 1177331658, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "0e174c8a9632e5ed", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 57400.0, "surface_area": 17200.0, "principal_moments": [17800000.0, 67900000.0, 85000000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 118.82 \u00d7 60.4 \u00d7 8 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 118.82 \u00d7 60.4 \u00d7 8 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 118.82, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 60.4, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331658 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 118.82, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 60.4, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca7cb_3095", "family": "block", "tier": 2, "seed": 1177331659, "symmetry": "mirror_xy", "op_count": 3, "ir_hash": "23da02688f9e1c51", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 337000.0, "surface_area": 33200.0, "principal_moments": [230000000.0, 303000000.0, 314000000.0], "n_faces": 12, "n_edges": 27, "n_vertices": 18}, "dimensions": {"lines": ["Rectangular body, 83.2 \u00d7 62.8 \u00d7 65.2 mm (W\u00d7D\u00d7H).", "Four \u00d84.3 mm holes at the corners, 58.24 \u00d7 43.96 mm spacing.", "Boss \u00d89 mm \u00d7 9.6 mm tall on top face."], "text": "Rectangular body, 83.2 \u00d7 62.8 \u00d7 65.2 mm (W\u00d7D\u00d7H). Four \u00d84.3 mm holes at the corners, 58.24 \u00d7 43.96 mm spacing. Boss \u00d89 mm \u00d7 9.6 mm tall on top face."}, "params": {"block_w": {"type": "float", "default": 83.2, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 62.8, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 65.2, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "boss_d": {"type": "float", "default": 9.0, "min": 4.5, "max": 18.0, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 9.6, "min": 3.8, "max": 24.0, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331659 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 83.2, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 62.8, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 65.2, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"boss_d\": {\"type\": 'float', \"default\": 9.0, \"min\": 4.5, \"max\": 18.0, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 9.6, \"min\": 3.8, \"max\": 24.0, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca7cc_3096", "family": "bracket", "tier": 1, "seed": 1177331660, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "af8884c1074f473f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 6180.0, "surface_area": 4950.0, "principal_moments": [872000.0, 3150000.0, 3600000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["L-bracket: base leg 59.91 mm, vertical leg 47.6 mm, 20 mm wide, 3 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."], "text": "L-bracket: base leg 59.91 mm, vertical leg 47.6 mm, 20 mm wide, 3 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 59.91, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 47.6, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 20, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 3.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 8.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331660 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 59.91, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 47.6, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 20, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 8.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462ca7ce_3098", "family": "tapped", "tier": 0, "seed": 1177331662, "symmetry": "none", "op_count": 1, "ir_hash": "12e386d5bda384ca", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 11300.0, "surface_area": 3970.0, "principal_moments": [1040000.0, 1040000.0, 1400000.0], "n_faces": 128, "n_edges": 356, "n_vertices": 230}, "dimensions": {"lines": ["One M12x1.75 tapped hole in a cylinder."], "text": "One M12x1.75 tapped hole in a cylinder."}, "params": {"major_d": {"type": "float", "default": 12.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 1.75, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 19.2, "min": 14.4, "max": 34.6, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "body_d": {"type": "float", "default": 29.5, "min": 21.6, "max": 47.2, "step": 1.0, "group": "Body", "label": "Outer \u00d8 (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331662 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 12.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.75, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 19.2, \"min\": 14.4, \"max\": 34.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"body_d\": {\"type\": 'float', \"default\": 29.5, \"min\": 21.6, \"max\": 47.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer \u00d8 (mm)'},\n}\n\n\ndef build(p):\n\n    _W = _D = p[\"body_d\"]\n    _H = p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Cylinder(radius=_W / 2, height=_H)\n    _locs = [(0.0, 0.0)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca7cf_3099", "family": "block", "tier": 1, "seed": 1177331663, "symmetry": "none", "op_count": 2, "ir_hash": "e2da666eaf00d71b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 476000.0, "surface_area": 43600.0, "principal_moments": [460000000.0, 498000000.0, 745000000.0], "n_faces": 11, "n_edges": 27, "n_vertices": 18}, "dimensions": {"lines": ["Rectangular body, 99.29 \u00d7 93.9 \u00d7 51.9 mm (W\u00d7D\u00d7H).", "Five \u00d86.4 mm holes in two staggered rows, 37.2 \u00d7 35.3 mm pitch."], "text": "Rectangular body, 99.29 \u00d7 93.9 \u00d7 51.9 mm (W\u00d7D\u00d7H). Five \u00d86.4 mm holes in two staggered rows, 37.2 \u00d7 35.3 mm pitch."}, "params": {"block_w": {"type": "float", "default": 99.29, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 93.9, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 51.9, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 9.4, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 3, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331663 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 99.29, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 93.9, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 51.9, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 9.4, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 3, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 37.2\n    _ssy = 35.3\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca7d0_3100", "family": "block", "tier": 2, "seed": 1177331664, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "6933be4ec27857a1", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 12500.0, "surface_area": 4590.0, "principal_moments": [935000.0, 1360000.0, 1740000.0], "n_faces": 17, "n_edges": 45, "n_vertices": 30}, "dimensions": {"lines": ["Rectangular body, 25 \u00d7 16.2 \u00d7 32.2 mm (W\u00d7D\u00d7H).", "Seven \u00d81.7 mm holes in two staggered rows, 6.2 \u00d7 6.9 mm pitch.", "Fillet radius 0.777 mm on vertical edges."], "text": "Rectangular body, 25 \u00d7 16.2 \u00d7 32.2 mm (W\u00d7D\u00d7H). Seven \u00d81.7 mm holes in two staggered rows, 6.2 \u00d7 6.9 mm pitch. Fillet radius 0.777 mm on vertical edges."}, "params": {"block_w": {"type": "float", "default": 25, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 16.2, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 32.2, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 1.7, "min": 2.0, "max": 1.6, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 4, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331664 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 25, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 16.2, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 32.2, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 1.7, \"min\": 2.0, \"max\": 1.6, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 4, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 6.2\n    _ssy = 6.9\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"block_w\"], p[\"block_d\"]) * 0.047942690686090826)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462ca7d1_3101", "family": "profiled", "tier": 1, "seed": 1177331665, "symmetry": "none", "op_count": 1, "ir_hash": "1e8769aef7150e97", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 61700.0, "surface_area": 11900.0, "principal_moments": [8060000.0, 55699999.99999999, 60999999.99999999], "n_faces": 7, "n_edges": 15, "n_vertices": 10}, "dimensions": {"lines": ["freeform sketched section (5 segments: 2 straight, 1 arc, 2 curves), ~21.285 \u00d7 45.028 mm, extruded 102.8 mm thick."], "text": "freeform sketched section (5 segments: 2 straight, 1 arc, 2 curves), ~21.285 \u00d7 45.028 mm, extruded 102.8 mm thick."}, "params": {"sk_w": {"type": "float", "default": 29.25, "min": 14.6, "max": 52.6, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 51.81, "min": 25.9, "max": 93.3, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "length": {"type": "float", "default": 102.8, "min": 30.8, "max": 308.4, "step": 5.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331665 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 29.25, \"min\": 14.6, \"max\": 52.6, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 51.81, \"min\": 25.9, \"max\": 93.3, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 102.8, \"min\": 30.8, \"max\": 308.4, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.4253, p[\"sk_h\"] * -0.101).lineTo(p[\"sk_w\"] * 0.1089, p[\"sk_h\"] * 0.3803).spline([(p[\"sk_w\"] * 0.1089, p[\"sk_h\"] * 0.3803), (p[\"sk_w\"] * -0.1132, p[\"sk_h\"] * 0.3344), (p[\"sk_w\"] * -0.3024, p[\"sk_h\"] * 0.2095)]).spline([(p[\"sk_w\"] * -0.3024, p[\"sk_h\"] * 0.2095), (p[\"sk_w\"] * -0.2782, p[\"sk_h\"] * -0.0512), (p[\"sk_w\"] * -0.1909, p[\"sk_h\"] * -0.2979)]).threePointArc((p[\"sk_w\"] * -0.124, p[\"sk_h\"] * -0.4234), (p[\"sk_w\"] * -0.0364, p[\"sk_h\"] * -0.4888)).lineTo(p[\"sk_w\"] * 0.4253, p[\"sk_h\"] * -0.101).close().extrude(p[\"length\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca7d2_3102", "family": "revolved", "tier": 2, "seed": 1177331666, "symmetry": "none", "op_count": 2, "ir_hash": "1e0c4fe2e501de16", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 3730.0, "surface_area": 2450.0, "principal_moments": [169000.0, 245000.0, 245000.0], "n_faces": 11, "n_edges": 17, "n_vertices": 11}, "dimensions": {"lines": ["Revolved body, \u00d812.77 mm \u00d7 28 mm tall with \u00d821.7 mm \u00d7 6.1 mm flange, 3.13 mm-wide groove 0.97 mm deep.", "Chamfer 0.8 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d812.77 mm \u00d7 28 mm tall with \u00d821.7 mm \u00d7 6.1 mm flange, 3.13 mm-wide groove 0.97 mm deep. Chamfer 0.8 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 12.77, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 28.0, "min": 8.4, "max": 84.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "flange_d": {"type": "float", "default": 21.7, "min": 15.3, "max": 38.3, "step": 1.0, "group": "Body", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 6.1, "min": 1.8, "max": 14.0, "step": 0.5, "group": "Body", "label": "Flange height (mm)"}, "groove_depth": {"type": "float", "default": 0.97, "min": 0.39, "max": 2.91, "step": 0.1, "group": "Body", "label": "Groove depth (mm)"}, "groove_w": {"type": "float", "default": 3.13, "min": 1.25, "max": 9.39, "step": 0.2, "group": "Body", "label": "Groove width (mm)"}, "groove_pos": {"type": "float", "default": 13.4, "min": 4.2, "max": 23.8, "step": 1.0, "group": "Body", "label": "Groove position (mm)"}, "end_chamfer": {"type": "float", "default": 0.8, "min": 0.1, "max": 2.4, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331666 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 12.77, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 28.0, \"min\": 8.4, \"max\": 84.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 21.7, \"min\": 15.3, \"max\": 38.3, \"step\": 1.0, \"group\": 'Body', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 6.1, \"min\": 1.8, \"max\": 14.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Flange height (mm)'},\n    \"groove_depth\": {\"type\": 'float', \"default\": 0.97, \"min\": 0.39, \"max\": 2.91, \"step\": 0.1, \"group\": 'Body', \"label\": 'Groove depth (mm)'},\n    \"groove_w\": {\"type\": 'float', \"default\": 3.13, \"min\": 1.25, \"max\": 9.39, \"step\": 0.2, \"group\": 'Body', \"label\": 'Groove width (mm)'},\n    \"groove_pos\": {\"type\": 'float', \"default\": 13.4, \"min\": 4.2, \"max\": 23.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Groove position (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.8, \"min\": 0.1, \"max\": 2.4, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"groove_pos\"] - p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2 - p[\"groove_depth\"], p[\"groove_pos\"] - p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2 - p[\"groove_depth\"], p[\"groove_pos\"] + p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2, p[\"groove_pos\"] + p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462ca7d3_3103", "family": "profiled", "tier": 0, "seed": 1177331667, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "6281bed38ab3e53b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 108000.0, "surface_area": 19200.0, "principal_moments": [9740000.0, 378000000.0, 380000000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["freeform sketched section (4 segments: 2 straight, 1 arc, 1 curve), ~27.55 \u00d7 28.829 mm, extruded 203.3 mm thick."], "text": "freeform sketched section (4 segments: 2 straight, 1 arc, 1 curve), ~27.55 \u00d7 28.829 mm, extruded 203.3 mm thick."}, "params": {"sk_w": {"type": "float", "default": 38.36, "min": 19.2, "max": 69.0, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 35, "min": 17.5, "max": 63.0, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "length": {"type": "float", "default": 203.3, "min": 61.0, "max": 609.9, "step": 5.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331667 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 38.36, \"min\": 19.2, \"max\": 69.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 35, \"min\": 17.5, \"max\": 63.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 203.3, \"min\": 61.0, \"max\": 609.9, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.3958, p[\"sk_h\"] * -0.1313).bezier([(p[\"sk_w\"] * 0.3958, p[\"sk_h\"] * -0.1313), (p[\"sk_w\"] * 0.3773, p[\"sk_h\"] * 0.1653), (p[\"sk_w\"] * 0.2086, p[\"sk_h\"] * 0.4098)]).threePointArc((p[\"sk_w\"] * -0.0818, p[\"sk_h\"] * 0.3395), (p[\"sk_w\"] * -0.3224, p[\"sk_h\"] * 0.0819)).lineTo(p[\"sk_w\"] * -0.2338, p[\"sk_h\"] * -0.4139).lineTo(p[\"sk_w\"] * 0.3958, p[\"sk_h\"] * -0.1313).close().extrude(p[\"length\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462ca7d4_3104", "family": "ribbed", "tier": 1, "seed": 1177331668, "symmetry": "none", "op_count": 2, "ir_hash": "773b2df4d78cfe31", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 50400.0, "surface_area": 15400.0, "principal_moments": [14399999.999999998, 22300000.0, 34700000.0], "n_faces": 46, "n_edges": 112, "n_vertices": 68}, "dimensions": {"lines": ["Rectangular body, 71.51 \u00d7 56.3 \u00d7 10 mm (W\u00d7D\u00d7H).", "Five ribs, 4.6 mm thick, 7.7 mm tall."], "text": "Rectangular body, 71.51 \u00d7 56.3 \u00d7 10 mm (W\u00d7D\u00d7H). Five ribs, 4.6 mm thick, 7.7 mm tall."}, "params": {"base_w": {"type": "float", "default": 71.51, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 56.3, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 10.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 5, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 7.7, "min": 3.1, "max": 15.4, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 4.6, "min": 1.0, "max": 11.5, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331668 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 71.51, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 56.3, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 5, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 7.7, \"min\": 3.1, \"max\": 15.4, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 4.6, \"min\": 1.0, \"max\": 11.5, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca7d5_3105", "family": "bracket", "tier": 2, "seed": 1177331669, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "7095f8ecb7b2af91", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 36300.0, "surface_area": 19900.0, "principal_moments": [23699999.999999996, 26599999.999999996, 35400000.0], "n_faces": 19, "n_edges": 51, "n_vertices": 34}, "dimensions": {"lines": ["C-channel bracket: base leg 55 mm, vertical leg 65.8 mm, 50 mm wide, 4 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 5.7 mm corner gusset."], "text": "C-channel bracket: base leg 55 mm, vertical leg 65.8 mm, 50 mm wide, 4 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 5.7 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 55, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 65.8, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 50, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 4.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 5.7, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331669 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 55, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 65.8, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 50, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 5.7, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl / 2, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bl - _bt, _bt).lineTo(_bl - _bt - _g, _bt)\n                    .lineTo(_bl - _bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462ca7d6_3106", "family": "tapped", "tier": 3, "seed": 1177331670, "symmetry": "none", "op_count": 1, "ir_hash": "b59acf048a9f7277", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 1900.0, "surface_area": 1240.0, "principal_moments": [47000.0, 61500.0, 61500.0], "n_faces": 159, "n_edges": 431, "n_vertices": 274}, "dimensions": {"lines": ["One M5x0.8 tapped hole in a cylinder."], "text": "One M5x0.8 tapped hole in a cylinder."}, "params": {"major_d": {"type": "float", "default": 5.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 0.8, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 15.5, "min": 6.0, "max": 27.9, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "body_d": {"type": "float", "default": 13.3, "min": 9.0, "max": 21.3, "step": 1.0, "group": "Body", "label": "Outer \u00d8 (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331670 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 0.8, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 15.5, \"min\": 6.0, \"max\": 27.9, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"body_d\": {\"type\": 'float', \"default\": 13.3, \"min\": 9.0, \"max\": 21.3, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer \u00d8 (mm)'},\n}\n\n\ndef build(p):\n\n    _W = _D = p[\"body_d\"]\n    _H = p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Cylinder(radius=_W / 2, height=_H)\n    _locs = [(0.0, 0.0)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca7d7_3107", "family": "plate", "tier": 0, "seed": 1177331671, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "6a33313ef7647a88", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 12800.0, "surface_area": 6210.0, "principal_moments": [1150000.0, 6580000.0, 7680000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 78.53 \u00d7 32.5 \u00d7 5 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 78.53 \u00d7 32.5 \u00d7 5 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 78.53, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 32.5, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 5.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331671 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 78.53, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 32.5, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 5.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca7d8_3108", "family": "compound", "tier": 1, "seed": 1177331672, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "6b09b27fadfe1dd6", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 54400.0, "surface_area": 11500.0, "principal_moments": [11699999.999999998, 14599999.999999998, 15199999.999999998], "n_faces": 15, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 35 \u00d7 42.8 \u00d7 36.7 mm (W\u00d7D\u00d7H).", "26.4 \u00d7 20.3 mm rectangular section attachment, 4 mm long, from front face.", "Four \u00d84.3 mm holes at the corners, 15.84 \u00d7 12.18 mm spacing on the <Y face."], "text": "Rectangular body, 35 \u00d7 42.8 \u00d7 36.7 mm (W\u00d7D\u00d7H). 26.4 \u00d7 20.3 mm rectangular section attachment, 4 mm long, from front face. Four \u00d84.3 mm holes at the corners, 15.84 \u00d7 12.18 mm spacing on the <Y face."}, "params": {"block_w": {"type": "float", "default": 35, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 42.8, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 36.7, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "tab_a": {"type": "float", "default": 26.4, "min": 10.6, "max": 42.2, "step": 1.0, "group": "Tab", "label": "Tab width (mm)"}, "tab_b": {"type": "float", "default": 20.3, "min": 8.1, "max": 32.5, "step": 1.0, "group": "Tab", "label": "Tab height (mm)"}, "tab_t": {"type": "float", "default": 4.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Tab", "label": "Tab thickness (mm)"}, "tab_hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 4.5, "step": 0.1, "group": "Tab", "label": "Tab hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331672 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 35, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 42.8, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 36.7, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"tab_a\": {\"type\": 'float', \"default\": 26.4, \"min\": 10.6, \"max\": 42.2, \"step\": 1.0, \"group\": 'Tab', \"label\": 'Tab width (mm)'},\n    \"tab_b\": {\"type\": 'float', \"default\": 20.3, \"min\": 8.1, \"max\": 32.5, \"step\": 1.0, \"group\": 'Tab', \"label\": 'Tab height (mm)'},\n    \"tab_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Tab', \"label\": 'Tab thickness (mm)'},\n    \"tab_hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 4.5, \"step\": 0.1, \"group\": 'Tab', \"label\": 'Tab hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .rect(p[\"tab_a\"], p[\"tab_b\"]).extrude(p[\"tab_t\"])\n    )\n    result = (\n        result.faces('<Y').workplane()\n        .rect(p[\"tab_a\"] * 0.6, p[\"tab_b\"] * 0.6, forConstruction=True)\n        .vertices().hole(p[\"tab_hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462ca7d9_3109", "family": "ribbed", "tier": 1, "seed": 1177331673, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "27582e1bd06228d8", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 16500.0, "surface_area": 7720.0, "principal_moments": [2070000.0, 3940000.0, 4720000.0], "n_faces": 30, "n_edges": 72, "n_vertices": 44}, "dimensions": {"lines": ["Rectangular body, 46.73 \u00d7 29.1 \u00d7 8 mm (W\u00d7D\u00d7H).", "Three ribs, 3.4 mm thick, 14.8 mm tall."], "text": "Rectangular body, 46.73 \u00d7 29.1 \u00d7 8 mm (W\u00d7D\u00d7H). Three ribs, 3.4 mm thick, 14.8 mm tall."}, "params": {"base_w": {"type": "float", "default": 46.73, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 29.1, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 8.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 3, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 14.8, "min": 5.9, "max": 29.6, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 3.4, "min": 1.0, "max": 8.5, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331673 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 46.73, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 29.1, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 3, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 14.8, \"min\": 5.9, \"max\": 29.6, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 3.4, \"min\": 1.0, \"max\": 8.5, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462ca7da_3110", "family": "swept", "tier": 1, "seed": 1177331674, "symmetry": "none", "op_count": 1, "ir_hash": "a85b8e766a28ef71", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 2360.0, "surface_area": 4830.0, "principal_moments": [118000.0, 2690000.0, 2730000.0], "n_faces": 3, "n_edges": 3, "n_vertices": 2}, "dimensions": {"lines": ["\u00d815.9 mm circular section swept along a curved path, ~105 mm span."], "text": "\u00d815.9 mm circular section swept along a curved path, ~105 mm span."}, "params": {"path_w": {"type": "float", "default": 79.74, "min": 39.9, "max": 143.5, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 105, "min": 52.5, "max": 189.0, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_d": {"type": "float", "default": 15.9, "min": 8.0, "max": 28.6, "step": 1.0, "group": "Section", "label": "Section diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331674 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 79.74, \"min\": 39.9, \"max\": 143.5, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 105, \"min\": 52.5, \"max\": 189.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_d\": {\"type\": 'float', \"default\": 15.9, \"min\": 8.0, \"max\": 28.6, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.431, p[\"path_h\"] * 0.2133), (p[\"path_w\"] * 0.4962, p[\"path_h\"] * 0.4354), (p[\"path_w\"] * 0.5417, p[\"path_h\"] * 0.8871), (p[\"path_w\"] * 0.7375, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').circle(p[\"sweep_d\"] / 2).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462ca7db_3111", "family": "profiled", "tier": 0, "seed": 1177331675, "symmetry": "none", "op_count": 1, "ir_hash": "80b1d49a826fc306", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 342000.0, "surface_area": 40600.0, "principal_moments": [88700000.0, 2170000000.0, 2230000000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["55 \u00d7 25 mm slot section, extruded 275.3 mm thick."], "text": "55 \u00d7 25 mm slot section, extruded 275.3 mm thick."}, "params": {"slot_len": {"type": "float", "default": 55, "min": 27.5, "max": 110.0, "step": 1.0, "group": "Profile", "label": "Slot length (mm)"}, "slot_w": {"type": "float", "default": 25.0, "min": 12.5, "max": 50.0, "step": 0.5, "group": "Profile", "label": "Slot width (mm)"}, "length": {"type": "float", "default": 275.3, "min": 82.6, "max": 825.9, "step": 5.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331675 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"slot_len\": {\"type\": 'float', \"default\": 55, \"min\": 27.5, \"max\": 110.0, \"step\": 1.0, \"group\": 'Profile', \"label\": 'Slot length (mm)'},\n    \"slot_w\": {\"type\": 'float', \"default\": 25.0, \"min\": 12.5, \"max\": 50.0, \"step\": 0.5, \"group\": 'Profile', \"label\": 'Slot width (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 275.3, \"min\": 82.6, \"max\": 825.9, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').slot2D(p[\"slot_len\"], p[\"slot_w\"]).extrude(p[\"length\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462ca7dc_3112", "family": "tapped", "tier": 1, "seed": 1177331676, "symmetry": "none", "op_count": 1, "ir_hash": "48a65c57ac91747c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 1720.0, "surface_area": 1270.0, "principal_moments": [35500.0, 63200.0, 63200.0], "n_faces": 183, "n_edges": 497, "n_vertices": 316}, "dimensions": {"lines": ["One M5x0.8 tapped hole in a cylinder."], "text": "One M5x0.8 tapped hole in a cylinder."}, "params": {"major_d": {"type": "float", "default": 5.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 0.8, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 17.8, "min": 6.0, "max": 32.0, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "body_d": {"type": "float", "default": 12.0, "min": 9.0, "max": 19.2, "step": 1.0, "group": "Body", "label": "Outer \u00d8 (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331676 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 0.8, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 17.8, \"min\": 6.0, \"max\": 32.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"body_d\": {\"type\": 'float', \"default\": 12.0, \"min\": 9.0, \"max\": 19.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer \u00d8 (mm)'},\n}\n\n\ndef build(p):\n\n    _W = _D = p[\"body_d\"]\n    _H = p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Cylinder(radius=_W / 2, height=_H)\n    _locs = [(0.0, 0.0)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca7dd_3113", "family": "revolved", "tier": 2, "seed": 1177331677, "symmetry": "radial", "op_count": 1, "ir_hash": "78ffc71e8ce117ef", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 5530.0, "surface_area": 3140.0, "principal_moments": [192000.0, 871000.0, 871000.0], "n_faces": 4, "n_edges": 6, "n_vertices": 4}, "dimensions": {"lines": ["Revolved body, \u00d815 mm \u00d7 41 mm tall with \u00d87.3 mm bore."], "text": "Revolved body, \u00d815 mm \u00d7 41 mm tall with \u00d87.3 mm bore."}, "params": {"outer_d": {"type": "float", "default": 15, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 41.0, "min": 12.3, "max": 123.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 7.3, "min": 2.0, "max": 10.5, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331677 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 15, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 41.0, \"min\": 12.3, \"max\": 123.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 7.3, \"min\": 2.0, \"max\": 10.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca7de_3114", "family": "plate", "tier": 0, "seed": 1177331678, "symmetry": "none", "op_count": 1, "ir_hash": "8c916a4a481ced01", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 11100.0, "surface_area": 3340.0, "principal_moments": [721000.0, 1380000.0, 1840000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 36.73 \u00d7 25.2 \u00d7 12 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 36.73 \u00d7 25.2 \u00d7 12 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 36.73, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 25.2, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331678 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 36.73, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 25.2, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462ca7df_3115", "family": "tapped", "tier": 2, "seed": 1177331679, "symmetry": "none", "op_count": 1, "ir_hash": "355a79bf0531ab0f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 20900.0, "surface_area": 6780.0, "principal_moments": [2360000.0, 4600000.0, 6400000.0], "n_faces": 422, "n_edges": 1156, "n_vertices": 736}, "dimensions": {"lines": ["Four M6x1 tapped holes in a plate."], "text": "Four M6x1 tapped holes in a plate."}, "params": {"major_d": {"type": "float", "default": 6.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 1.0, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 12.7, "min": 7.2, "max": 22.9, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "plate_w": {"type": "float", "default": 50, "min": 30.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 34.7, "min": 20.8, "max": 55.5, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331679 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.0, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 12.7, \"min\": 7.2, \"max\": 22.9, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"plate_w\": {\"type\": 'float', \"default\": 50, \"min\": 30.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 34.7, \"min\": 20.8, \"max\": 55.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n}\n\n\ndef build(p):\n\n    _W, _D, _H = p[\"plate_w\"], p[\"plate_d\"], p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Box(_W, _D, _H)\n    _sx, _sy = p[\"plate_w\"] * 0.6, p[\"plate_d\"] * 0.6\n    _locs = [(_xx, _yy) for _xx in (-_sx / 2, _sx / 2) for _yy in (-_sy / 2, _sy / 2)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462ca7e0_3116", "family": "flanged", "tier": 2, "seed": 1177331680, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "341c2b26ce0c4864", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 30400.0, "surface_area": 11500.0, "principal_moments": [8190000.0, 8190000.0, 14699999.999999998], "n_faces": 34, "n_edges": 77, "n_vertices": 46}, "dimensions": {"lines": ["Revolved body, \u00d835 mm \u00d7 18.6 mm tall with \u00d812.8 mm bore, \u00d871.4 mm \u00d7 5.2 mm flange.", "Twelve \u00d84.3 mm holes on a \u00d842.8 mm bolt circle.", "Chamfer 0.4 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d835 mm \u00d7 18.6 mm tall with \u00d812.8 mm bore, \u00d871.4 mm \u00d7 5.2 mm flange. Twelve \u00d84.3 mm holes on a \u00d842.8 mm bolt circle. Chamfer 0.4 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 35, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 18.6, "min": 5.6, "max": 46.5, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 12.8, "min": 2.0, "max": 24.5, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 71.4, "min": 45.5, "max": 105.0, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 5.2, "min": 1.6, "max": 7.4, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 21.4, "min": 14.3, "max": 32.1, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 12, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}, "end_chamfer": {"type": "float", "default": 0.4, "min": 0.1, "max": 2.0, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331680 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 35, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 18.6, \"min\": 5.6, \"max\": 46.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 12.8, \"min\": 2.0, \"max\": 24.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 71.4, \"min\": 45.5, \"max\": 105.0, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 5.2, \"min\": 1.6, \"max\": 7.4, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 21.4, \"min\": 14.3, \"max\": 32.1, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 12, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.4, \"min\": 0.1, \"max\": 2.0, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca7e1_3117", "family": "block", "tier": 1, "seed": 1177331681, "symmetry": "none", "op_count": 2, "ir_hash": "ed9bfacd351f503a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 75600.0, "surface_area": 13600.0, "principal_moments": [20000000.0, 26599999.999999996, 38400000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 60 \u00d7 25.6 \u00d7 50.3 mm (W\u00d7D\u00d7H).", "Four \u00d83.2 mm holes at the corners, 42 \u00d7 17.92 mm spacing."], "text": "Rectangular body, 60 \u00d7 25.6 \u00d7 50.3 mm (W\u00d7D\u00d7H). Four \u00d83.2 mm holes at the corners, 42 \u00d7 17.92 mm spacing."}, "params": {"block_w": {"type": "float", "default": 60, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 25.6, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 50.3, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 5.8, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331681 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 60, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 25.6, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 50.3, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 5.8, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca7e2_3118", "family": "revolved", "tier": 1, "seed": 1177331682, "symmetry": "radial", "op_count": 1, "ir_hash": "952e04107c182390", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 265000.0, "surface_area": 47100.0, "principal_moments": [113000000.0, 553000000.0, 553000000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d853.34 mm \u00d7 177.7 mm tall."], "text": "Revolved body, \u00d853.34 mm \u00d7 177.7 mm tall."}, "params": {"outer_d": {"type": "float", "default": 53.34, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 177.7, "min": 53.3, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331682 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 53.34, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 177.7, \"min\": 53.3, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca7e3_3119", "family": "bracket", "tier": 3, "seed": 1177331683, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "68334cc8e419753d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 18900.0, "surface_area": 14400.0, "principal_moments": [6350000.0, 44500000.0, 49099999.99999999], "n_faces": 18, "n_edges": 48, "n_vertices": 32}, "dimensions": {"lines": ["Z-bracket: base leg 88.88 mm, vertical leg 90 mm, top leg 67.5 mm, 24.31 mm wide, 3 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg; 2.6 mm corner gusset."], "text": "Z-bracket: base leg 88.88 mm, vertical leg 90 mm, top leg 67.5 mm, 24.31 mm wide, 3 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg; 2.6 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 88.88, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 90.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 24.31, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 3.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 67.5, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 9.7, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}, "gusset_t": {"type": "float", "default": 2.6, "min": 1.5, "max": 9.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331683 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 88.88, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 90.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 24.31, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 67.5, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 9.7, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 2.6, \"min\": 1.5, \"max\": 9.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _tl, _vl) * 0.4 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(0, _vl - _bt).lineTo(-_g, _vl - _bt)\n                    .lineTo(0, _vl - _bt - _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca7e4_3120", "family": "bracket", "tier": 2, "seed": 1177331684, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "40ec6c93c9da1deb", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 50900.0, "surface_area": 15300.0, "principal_moments": [17100000.0, 37100000.0, 39100000.0], "n_faces": 14, "n_edges": 37, "n_vertices": 24}, "dimensions": {"lines": ["L-bracket: base leg 61.43 mm, vertical leg 67.9 mm, 48.93 mm wide, 8 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg; 11.3 mm corner gusset."], "text": "L-bracket: base leg 61.43 mm, vertical leg 67.9 mm, 48.93 mm wide, 8 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg; 11.3 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 61.43, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 67.9, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 48.93, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 8.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 11.3, "min": 4.0, "max": 24.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331684 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 61.43, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 67.9, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 48.93, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 11.3, \"min\": 4.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca7e5_3121", "family": "block", "tier": 2, "seed": 1177331685, "symmetry": "radial", "op_count": 3, "ir_hash": "ddc54d5eed818762", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 63700.0, "surface_area": 16400.0, "principal_moments": [18500000.0, 22000000.0, 32999999.999999996], "n_faces": 19, "n_edges": 54, "n_vertices": 36}, "dimensions": {"lines": ["Rectangular body, 56.08 \u00d7 25 \u00d7 53.9 mm (W\u00d7D\u00d7H).", "Twelve \u00d83.2 mm holes on a \u00d833.6 mm bolt circle.", "Pocket 35.3 \u00d7 11.7 mm, 23.1 mm deep, in top face."], "text": "Rectangular body, 56.08 \u00d7 25 \u00d7 53.9 mm (W\u00d7D\u00d7H). Twelve \u00d83.2 mm holes on a \u00d833.6 mm bolt circle. Pocket 35.3 \u00d7 11.7 mm, 23.1 mm deep, in top face."}, "params": {"block_w": {"type": "float", "default": 56.08, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 25.0, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 53.9, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "bolt_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 16.8, "min": 11.2, "max": 25.2, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 12, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}, "pocket_w": {"type": "float", "default": 35.3, "min": 17.6, "max": 44.9, "step": 1.0, "group": "Pocket", "label": "Pocket width (mm)"}, "pocket_d": {"type": "float", "default": 11.7, "min": 5.8, "max": 20.0, "step": 1.0, "group": "Pocket", "label": "Pocket depth (mm)"}, "pocket_h": {"type": "float", "default": 23.1, "min": 9.2, "max": 45.8, "step": 0.5, "group": "Pocket", "label": "Pocket height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331685 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 56.08, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 25.0, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 53.9, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 16.8, \"min\": 11.2, \"max\": 25.2, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 12, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n    \"pocket_w\": {\"type\": 'float', \"default\": 35.3, \"min\": 17.6, \"max\": 44.9, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket width (mm)'},\n    \"pocket_d\": {\"type\": 'float', \"default\": 11.7, \"min\": 5.8, \"max\": 20.0, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket depth (mm)'},\n    \"pocket_h\": {\"type\": 'float', \"default\": 23.1, \"min\": 9.2, \"max\": 45.8, \"step\": 0.5, \"group\": 'Pocket', \"label\": 'Pocket height (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"pocket_w\"], p[\"pocket_d\"])\n        .cutBlind(-p[\"pocket_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462ca7e6_3122", "family": "ribbed", "tier": 2, "seed": 1177331686, "symmetry": "none", "op_count": 2, "ir_hash": "4afcc93b72b2357c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 43000.0, "surface_area": 13800.0, "principal_moments": [9320000.0, 24599999.999999996, 31499999.999999996], "n_faces": 30, "n_edges": 72, "n_vertices": 44}, "dimensions": {"lines": ["Rectangular body, 78.11 \u00d7 41.5 \u00d7 10 mm (W\u00d7D\u00d7H).", "Three ribs, 5.4 mm thick, 10.5 mm tall."], "text": "Rectangular body, 78.11 \u00d7 41.5 \u00d7 10 mm (W\u00d7D\u00d7H). Three ribs, 5.4 mm thick, 10.5 mm tall."}, "params": {"base_w": {"type": "float", "default": 78.11, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 41.5, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 10.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 3, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 10.5, "min": 4.2, "max": 21.0, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 5.4, "min": 1.0, "max": 13.5, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331686 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 78.11, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 41.5, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 3, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 10.5, \"min\": 4.2, \"max\": 21.0, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 5.4, \"min\": 1.0, \"max\": 13.5, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca7e7_3123", "family": "bracket", "tier": 2, "seed": 1177331687, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "4b0f74c051b7431e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 26000.0, "surface_area": 11800.0, "principal_moments": [6610000.0, 19200000.0, 21400000.0], "n_faces": 15, "n_edges": 41, "n_vertices": 26}, "dimensions": {"lines": ["L-bracket: base leg 70 mm, vertical leg 68.3 mm, 34.01 mm wide, 5 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg; 6.5 mm corner gusset."], "text": "L-bracket: base leg 70 mm, vertical leg 68.3 mm, 34.01 mm wide, 5 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg; 6.5 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 70, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 68.3, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 34.01, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 5.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 6.5, "min": 2.5, "max": 15.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331687 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 70, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 68.3, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 34.01, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 6.5, \"min\": 2.5, \"max\": 15.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca7e8_3124", "family": "compound", "tier": 1, "seed": 1177331688, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "eed15c21d986c825", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 97100.0, "surface_area": 13200.0, "principal_moments": [22600000.0, 56299999.99999999, 56299999.99999999], "n_faces": 5, "n_edges": 6, "n_vertices": 4}, "dimensions": {"lines": ["\u00d846.33 mm circular section, extruded 47.3 mm thick.", "\u00d823.2 mm circular section attachment, 41 mm long, from top face."], "text": "\u00d846.33 mm circular section, extruded 47.3 mm thick. \u00d823.2 mm circular section attachment, 41 mm long, from top face."}, "params": {"shaft_d": {"type": "float", "default": 46.33, "min": 23.2, "max": 83.4, "step": 1.0, "group": "Body", "label": "Shaft diameter (mm)"}, "shaft_len": {"type": "float", "default": 47.3, "min": 18.9, "max": 94.6, "step": 1.0, "group": "Body", "label": "Shaft length (mm)"}, "step_d": {"type": "float", "default": 23.2, "min": 11.6, "max": 41.7, "step": 1.0, "group": "Step", "label": "Step diameter (mm)"}, "step_len": {"type": "float", "default": 41.0, "min": 12.3, "max": 102.5, "step": 1.0, "group": "Step", "label": "Step length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331688 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"shaft_d\": {\"type\": 'float', \"default\": 46.33, \"min\": 23.2, \"max\": 83.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft diameter (mm)'},\n    \"shaft_len\": {\"type\": 'float', \"default\": 47.3, \"min\": 18.9, \"max\": 94.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft length (mm)'},\n    \"step_d\": {\"type\": 'float', \"default\": 23.2, \"min\": 11.6, \"max\": 41.7, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step diameter (mm)'},\n    \"step_len\": {\"type\": 'float', \"default\": 41.0, \"min\": 12.3, \"max\": 102.5, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').circle(p[\"shaft_d\"] / 2).extrude(p[\"shaft_len\"]))\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"step_d\"] / 2).extrude(p[\"step_len\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca7e9_3125", "family": "revolved", "tier": 1, "seed": 1177331689, "symmetry": "none", "op_count": 2, "ir_hash": "a0b165a6d9eb0bb9", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 367000.0, "surface_area": 47400.0, "principal_moments": [394000000.0, 394000000.0, 400000000.0], "n_faces": 7, "n_edges": 11, "n_vertices": 7}, "dimensions": {"lines": ["Revolved body, \u00d868.99 mm \u00d7 99 mm tall with \u00d8100.9 mm \u00d7 28.2 mm flange.", "Chamfer 1 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d868.99 mm \u00d7 99 mm tall with \u00d8100.9 mm \u00d7 28.2 mm flange. Chamfer 1 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 68.99, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 99.0, "min": 29.7, "max": 297.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "flange_d": {"type": "float", "default": 100.9, "min": 82.8, "max": 207.0, "step": 1.0, "group": "Body", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 28.2, "min": 8.5, "max": 49.5, "step": 0.5, "group": "Body", "label": "Flange height (mm)"}, "end_chamfer": {"type": "float", "default": 1.0, "min": 0.1, "max": 3.0, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331689 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 68.99, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 99.0, \"min\": 29.7, \"max\": 297.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 100.9, \"min\": 82.8, \"max\": 207.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 28.2, \"min\": 8.5, \"max\": 49.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Flange height (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 1.0, \"min\": 0.1, \"max\": 3.0, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca7ea_3126", "family": "plate", "tier": 1, "seed": 1177331690, "symmetry": "none", "op_count": 2, "ir_hash": "7a468d5382c5177c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 68400.0, "surface_area": 16700.0, "principal_moments": [15699999.999999998, 74800000.0, 88800000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 115 \u00d7 51.5 \u00d7 12 mm (W\u00d7D\u00d7H).", "Four \u00d88.4 mm holes at the corners, 80.5 \u00d7 36.05 mm spacing."], "text": "Rectangular body, 115 \u00d7 51.5 \u00d7 12 mm (W\u00d7D\u00d7H). Four \u00d88.4 mm holes at the corners, 80.5 \u00d7 36.05 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 115, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 51.5, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 8.4, "min": 2.0, "max": 11.6, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331690 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 115, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 51.5, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 2.0, \"max\": 11.6, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462ca7eb_3127", "family": "tapped", "tier": 2, "seed": 1177331691, "symmetry": "none", "op_count": 1, "ir_hash": "d04219887ae572a3", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 3180.0, "surface_area": 1720.0, "principal_moments": [116000.0, 138000.0, 138000.0], "n_faces": 143, "n_edges": 387, "n_vertices": 246}, "dimensions": {"lines": ["One M6x1 tapped hole in a cylinder."], "text": "One M6x1 tapped hole in a cylinder."}, "params": {"major_d": {"type": "float", "default": 6.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 1.0, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 17.4, "min": 7.2, "max": 31.3, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "body_d": {"type": "float", "default": 16.2, "min": 10.8, "max": 25.9, "step": 1.0, "group": "Body", "label": "Outer \u00d8 (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331691 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.0, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 17.4, \"min\": 7.2, \"max\": 31.3, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"body_d\": {\"type\": 'float', \"default\": 16.2, \"min\": 10.8, \"max\": 25.9, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer \u00d8 (mm)'},\n}\n\n\ndef build(p):\n\n    _W = _D = p[\"body_d\"]\n    _H = p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Cylinder(radius=_W / 2, height=_H)\n    _locs = [(0.0, 0.0)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462ca7ec_3128", "family": "lofted", "tier": 1, "seed": 1177331692, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "6b4bb5c28f185510", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 110000.0, "surface_area": 18900.0, "principal_moments": [51999999.99999999, 52199999.99999999, 57899999.99999999], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["Lofted body through 2 sections: 64.66 \u00d7 64.66 mm rectangular section \u2192 6-sided polygon section, 37.4 mm across corners.", "One \u00d822.2 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 2 sections: 64.66 \u00d7 64.66 mm rectangular section \u2192 6-sided polygon section, 37.4 mm across corners. One \u00d822.2 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 64.66, "min": 32.3, "max": 103.5, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 37.4, "min": 15.0, "max": 77.6, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 55.9, "min": 22.4, "max": 111.8, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_bore_d": {"type": "float", "default": 22.2, "min": 2.0, "max": 29.9, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331692 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 64.66, \"min\": 32.3, \"max\": 103.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 37.4, \"min\": 15.0, \"max\": 77.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 55.9, \"min\": 22.4, \"max\": 111.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 22.2, \"min\": 2.0, \"max\": 29.9, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .rect(p[\"loft_base\"], p[\"loft_base\"])\n        .workplane(offset=p[\"loft_h\"])\n        .polygon(6, p[\"loft_top\"] * 0.5 * 2)\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca7ed_3129", "family": "plate", "tier": 2, "seed": 1177331693, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "2aaf5a8d787bce69", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 4230.0, "surface_area": 2920.0, "principal_moments": [219000.0, 698000.0, 906000.0], "n_faces": 22, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 45 \u00d7 25 \u00d7 4 mm (W\u00d7D\u00d7H).", "Four 5.9 \u00d7 3.2 mm slots at the corners, 31.5 \u00d7 17.5 mm spacing."], "text": "Rectangular body, 45 \u00d7 25 \u00d7 4 mm (W\u00d7D\u00d7H). Four 5.9 \u00d7 3.2 mm slots at the corners, 31.5 \u00d7 17.5 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 45, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 25.0, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 4.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 5.6, "step": 0.5, "group": "Holes", "label": "Slot width (mm)"}, "hole_slot_len": {"type": "float", "default": 5.9, "min": 4.8, "max": 7.5, "step": 0.5, "group": "Holes", "label": "Slot length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331693 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 45, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 25.0, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 4.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 5.6, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Slot width (mm)'},\n    \"hole_slot_len\": {\"type\": 'float', \"default\": 5.9, \"min\": 4.8, \"max\": 7.5, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Slot length (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().slot2D(p[\"hole_slot_len\"], p[\"hole_d\"]).cutThruAll()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462ca7ee_3130", "family": "threaded", "tier": 1, "seed": 1177331694, "symmetry": "none", "op_count": 1, "ir_hash": "b2b3a8b27106a8a3", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 12100.0, "surface_area": 6010.0, "principal_moments": [888000.0, 2440000.0, 2440000.0], "n_faces": 303, "n_edges": 851, "n_vertices": 550}, "dimensions": {"lines": ["M12x1.75 internal thread, 44.6 mm long."], "text": "M12x1.75 internal thread, 44.6 mm long."}, "params": {"major_d": {"type": "float", "default": 12.0, "min": 4.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Major diameter (mm)"}, "pitch": {"type": "float", "default": 1.75, "min": 0.88, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Pitch (mm)"}, "thread_len": {"type": "float", "default": 44.6, "min": 17.8, "max": 89.2, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331694 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 12.0, \"min\": 4.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Major diameter (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.75, \"min\": 0.88, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Pitch (mm)'},\n    \"thread_len\": {\"type\": 'float', \"default\": 44.6, \"min\": 17.8, \"max\": 89.2, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.IsoThread(major_diameter=p[\"major_d\"], pitch=p[\"pitch\"], length=p[\"thread_len\"], external=False, end_finishes=(\"fade\", \"fade\"))\n    _body = _bd.Cylinder(radius=(p[\"major_d\"]) * 0.9, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _bore = _bd.Cylinder(radius=(p[\"major_d\"]) / 2, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = (_body - _bore) + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca7ef_3131", "family": "block", "tier": 1, "seed": 1177331695, "symmetry": "radial", "op_count": 2, "ir_hash": "17ebd8f993426933", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 2760.0, "surface_area": 2920.0, "principal_moments": [127000.0, 156000.0, 181000.0], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Rectangular body, 18.9 \u00d7 16.8 \u00d7 14.9 mm (W\u00d7D\u00d7H).", "Six \u00d85.3 mm holes on a \u00d811.4 mm bolt circle."], "text": "Rectangular body, 18.9 \u00d7 16.8 \u00d7 14.9 mm (W\u00d7D\u00d7H). Six \u00d85.3 mm holes on a \u00d811.4 mm bolt circle."}, "params": {"block_w": {"type": "float", "default": 18.9, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 16.8, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 14.9, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "bolt_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 5.7, "min": 3.8, "max": 8.5, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 6, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331695 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 18.9, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 16.8, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 14.9, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 5.7, \"min\": 3.8, \"max\": 8.5, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462ca7f0_3132", "family": "threaded", "tier": 1, "seed": 1177331696, "symmetry": "none", "op_count": 1, "ir_hash": "1f46d8892cbdf493", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 165.0, "surface_area": 313.0, "principal_moments": [270.0, 3780.0, 3780.0], "n_faces": 240, "n_edges": 614, "n_vertices": 376}, "dimensions": {"lines": ["M4x0.7 external thread, 16.4 mm long."], "text": "M4x0.7 external thread, 16.4 mm long."}, "params": {"major_d": {"type": "float", "default": 4.0, "min": 4.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Major diameter (mm)"}, "pitch": {"type": "float", "default": 0.7, "min": 0.35, "max": 1.4, "step": 0.05, "group": "Thread", "label": "Pitch (mm)"}, "thread_len": {"type": "float", "default": 16.4, "min": 6.6, "max": 32.8, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331696 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 4.0, \"min\": 4.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Major diameter (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 0.7, \"min\": 0.35, \"max\": 1.4, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Pitch (mm)'},\n    \"thread_len\": {\"type\": 'float', \"default\": 16.4, \"min\": 6.6, \"max\": 32.8, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.IsoThread(major_diameter=p[\"major_d\"], pitch=p[\"pitch\"], length=p[\"thread_len\"], external=True, end_finishes=(\"fade\", \"fade\"))\n    _r = _thr.min_radius if hasattr(_thr, 'min_radius') else _thr.root_radius\n    _shank = _bd.Cylinder(radius=_r, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = _shank + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca7f1_3133", "family": "block", "tier": 1, "seed": 1177331697, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "151353d2312efc79", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 8020.0, "surface_area": 3900.0, "principal_moments": [378000.0, 794000.0, 919000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 20 \u00d7 14.2 \u00d7 31.6 mm (W\u00d7D\u00d7H).", "Four \u00d83.1 mm holes at the corners, 14 \u00d7 9.94 mm spacing."], "text": "Rectangular body, 20 \u00d7 14.2 \u00d7 31.6 mm (W\u00d7D\u00d7H). Four \u00d83.1 mm holes at the corners, 14 \u00d7 9.94 mm spacing."}, "params": {"block_w": {"type": "float", "default": 20, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 14.2, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 31.6, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 3.1, "min": 2.0, "max": 3.2, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331697 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 20, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 14.2, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 31.6, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.1, \"min\": 2.0, \"max\": 3.2, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462ca7f2_3134", "family": "tapped", "tier": 2, "seed": 1177331698, "symmetry": "none", "op_count": 1, "ir_hash": "51c9a8fd758b2e68", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 67700.0, "surface_area": 18700.0, "principal_moments": [15599999.999999998, 31399999.999999996, 39600000.0], "n_faces": 778, "n_edges": 2224, "n_vertices": 1448}, "dimensions": {"lines": ["Four M16x2 tapped holes in a plate."], "text": "Four M16x2 tapped holes in a plate."}, "params": {"major_d": {"type": "float", "default": 16.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 2.0, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 25.6, "min": 19.2, "max": 46.1, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "plate_w": {"type": "float", "default": 71.19, "min": 42.7, "max": 113.9, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 46.9, "min": 28.1, "max": 75.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331698 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 16.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 2.0, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 25.6, \"min\": 19.2, \"max\": 46.1, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"plate_w\": {\"type\": 'float', \"default\": 71.19, \"min\": 42.7, \"max\": 113.9, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 46.9, \"min\": 28.1, \"max\": 75.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n}\n\n\ndef build(p):\n\n    _W, _D, _H = p[\"plate_w\"], p[\"plate_d\"], p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Box(_W, _D, _H)\n    _sx, _sy = p[\"plate_w\"] * 0.6, p[\"plate_d\"] * 0.6\n    _locs = [(_xx, _yy) for _xx in (-_sx / 2, _sx / 2) for _yy in (-_sy / 2, _sy / 2)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca7f3_3135", "family": "plate", "tier": 0, "seed": 1177331699, "symmetry": "none", "op_count": 1, "ir_hash": "ed77554a8d794583", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 6360.0, "surface_area": 2920.0, "principal_moments": [391000.0, 867000.0, 1220000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 40 \u00d7 26.5 \u00d7 6 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 40 \u00d7 26.5 \u00d7 6 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 40, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 26.5, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 6.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331699 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 40, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 26.5, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca7f4_3136", "family": "revolved", "tier": 1, "seed": 1177331700, "symmetry": "none", "op_count": 1, "ir_hash": "e2c17ee1b88bb8a3", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 5370.0, "surface_area": 2550.0, "principal_moments": [330000.0, 386000.0, 386000.0], "n_faces": 4, "n_edges": 6, "n_vertices": 4}, "dimensions": {"lines": ["Revolved body, \u00d820 mm \u00d7 22.2 mm tall with \u00d89.6 mm bore."], "text": "Revolved body, \u00d820 mm \u00d7 22.2 mm tall with \u00d89.6 mm bore."}, "params": {"outer_d": {"type": "float", "default": 20, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 22.2, "min": 6.7, "max": 66.6, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 9.6, "min": 2.0, "max": 14.0, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331700 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 20, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 22.2, \"min\": 6.7, \"max\": 66.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 9.6, \"min\": 2.0, \"max\": 14.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca7f5_3137", "family": "bracket", "tier": 1, "seed": 1177331701, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "c4ce944c53623e10", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 14900.0, "surface_area": 7680.0, "principal_moments": [3640000.0, 7740000.0, 10100000.0], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["C-channel bracket: base leg 55.18 mm, vertical leg 45 mm, 22.22 mm wide, 5 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."], "text": "C-channel bracket: base leg 55.18 mm, vertical leg 45 mm, 22.22 mm wide, 5 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 55.18, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 45.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 22.22, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 5.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 8.9, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331701 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 55.18, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 45.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 22.22, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 8.9, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca7f6_3138", "family": "revolved", "tier": 2, "seed": 1177331702, "symmetry": "none", "op_count": 2, "ir_hash": "078644aeac61da4e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 503000.0, "surface_area": 52200.0, "principal_moments": [298000000.0, 1370000000.0, 1370000000.0], "n_faces": 8, "n_edges": 14, "n_vertices": 8}, "dimensions": {"lines": ["Revolved body, \u00d865.2 mm \u00d7 170.5 mm tall with \u00d822.1 mm bore.", "Chamfer 1.4 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d865.2 mm \u00d7 170.5 mm tall with \u00d822.1 mm bore. Chamfer 1.4 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 65.2, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 170.5, "min": 51.1, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 22.1, "min": 2.0, "max": 45.6, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "end_chamfer": {"type": "float", "default": 1.4, "min": 0.1, "max": 4.2, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331702 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 65.2, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 170.5, \"min\": 51.1, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 22.1, \"min\": 2.0, \"max\": 45.6, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 1.4, \"min\": 0.1, \"max\": 4.2, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462ca7f7_3139", "family": "lofted", "tier": 0, "seed": 1177331703, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "5b94563b74dec38e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 34200.0, "surface_area": 6180.0, "principal_moments": [5490000.0, 6770000.0, 6770000.0], "n_faces": 8, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["Lofted body through 2 sections: \u00d845 mm circular section \u2192 6-sided polygon section, 19.8 mm across corners."], "text": "Lofted body through 2 sections: \u00d845 mm circular section \u2192 6-sided polygon section, 19.8 mm across corners."}, "params": {"loft_base": {"type": "float", "default": 45, "min": 22.5, "max": 72.0, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 19.8, "min": 7.9, "max": 54.0, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 41.3, "min": 16.5, "max": 82.6, "step": 1.0, "group": "Body", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331703 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 45, \"min\": 22.5, \"max\": 72.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 19.8, \"min\": 7.9, \"max\": 54.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 41.3, \"min\": 16.5, \"max\": 82.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .circle(p[\"loft_base\"] / 2)\n        .workplane(offset=p[\"loft_h\"])\n        .polygon(6, p[\"loft_top\"] * 0.5 * 2)\n        .loft(combine=True)\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca7f8_3140", "family": "compound", "tier": 2, "seed": 1177331704, "symmetry": "none", "op_count": 3, "ir_hash": "d99657cd3bfd6d23", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 32500.0, "surface_area": 7680.0, "principal_moments": [7110000.0, 7290000.0, 8190000.0], "n_faces": 14, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["5-sided polygon section, 57.72 mm across corners, extruded 11.9 mm thick.", "\u00d820.7 mm circular section attachment, 26.7 mm long, from top face.", "Fillet radius 2.288 mm on vertical edges."], "text": "5-sided polygon section, 57.72 mm across corners, extruded 11.9 mm thick. \u00d820.7 mm circular section attachment, 26.7 mm long, from top face. Fillet radius 2.288 mm on vertical edges."}, "params": {"base_sides": {"type": "int", "default": 5, "min": 3, "max": 8, "step": 1, "group": "Base", "label": "Base sides"}, "base_r": {"type": "float", "default": 28.86, "min": 17.3, "max": 46.2, "step": 1.0, "group": "Base", "label": "Base circumradius (mm)"}, "base_h": {"type": "float", "default": 11.9, "min": 4.8, "max": 29.8, "step": 1.0, "group": "Base", "label": "Base height (mm)"}, "col_d": {"type": "float", "default": 20.7, "min": 10.3, "max": 37.4, "step": 1.0, "group": "Column", "label": "Column diameter (mm)"}, "col_h": {"type": "float", "default": 26.7, "min": 8.0, "max": 66.8, "step": 1.0, "group": "Column", "label": "Column height (mm)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331704 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_sides\": {\"type\": 'int', \"default\": 5, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Base', \"label\": 'Base sides'},\n    \"base_r\": {\"type\": 'float', \"default\": 28.86, \"min\": 17.3, \"max\": 46.2, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base circumradius (mm)'},\n    \"base_h\": {\"type\": 'float', \"default\": 11.9, \"min\": 4.8, \"max\": 29.8, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base height (mm)'},\n    \"col_d\": {\"type\": 'float', \"default\": 20.7, \"min\": 10.3, \"max\": 37.4, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column diameter (mm)'},\n    \"col_h\": {\"type\": 'float', \"default\": 26.7, \"min\": 8.0, \"max\": 66.8, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column height (mm)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').polygon(p[\"base_sides\"], p[\"base_r\"] * 2).extrude(p[\"base_h\"]))\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"col_d\"] / 2).extrude(p[\"col_h\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"base_r\"], p[\"base_r\"]) * 0.07927211533879842)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462ca7f9_3141", "family": "swept", "tier": 2, "seed": 1177331705, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "c6ed5a65ebfcab64", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 199.0, "surface_area": 2000.0, "principal_moments": [11300.0, 149000.0, 159000.0], "n_faces": 3, "n_edges": 3, "n_vertices": 2}, "dimensions": {"lines": ["\u00d87.2 mm circular section swept along a curved path, ~80 mm span."], "text": "\u00d87.2 mm circular section swept along a curved path, ~80 mm span."}, "params": {"path_w": {"type": "float", "default": 80.0, "min": 40.0, "max": 144.0, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 71.3, "min": 35.6, "max": 128.3, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_d": {"type": "float", "default": 7.2, "min": 3.6, "max": 13.0, "step": 1.0, "group": "Section", "label": "Section diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331705 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 80.0, \"min\": 40.0, \"max\": 144.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 71.3, \"min\": 35.6, \"max\": 128.3, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_d\": {\"type\": 'float', \"default\": 7.2, \"min\": 3.6, \"max\": 13.0, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.3358, p[\"path_h\"] * 0.5864), (p[\"path_w\"] * 0.3481, p[\"path_h\"] * 0.6508), (p[\"path_w\"] * 0.3093, p[\"path_h\"] * 0.7218), (p[\"path_w\"] * 0.6034, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').circle(p[\"sweep_d\"] / 2).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462ca7fa_3142", "family": "enclosure", "tier": 2, "seed": 1177331706, "symmetry": "none", "op_count": 3, "ir_hash": "734e3eb76e5afba2", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 35200.0, "surface_area": 15300.0, "principal_moments": [9040000.0, 13599999.999999998, 15799999.999999998], "n_faces": 15, "n_edges": 48, "n_vertices": 32}, "dimensions": {"lines": ["Rectangular body, 52.97 \u00d7 28.8 \u00d7 41.5 mm (W\u00d7D\u00d7H).", "Hollowed to 5.9 mm wall thickness, open at top face.", "Four \u00d85.3 mm holes at the corners, 37.079 \u00d7 20.16 mm spacing."], "text": "Rectangular body, 52.97 \u00d7 28.8 \u00d7 41.5 mm (W\u00d7D\u00d7H). Hollowed to 5.9 mm wall thickness, open at top face. Four \u00d85.3 mm holes at the corners, 37.079 \u00d7 20.16 mm spacing."}, "params": {"enc_w": {"type": "float", "default": 52.97, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 28.8, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 41.5, "min": 16.6, "max": 83.0, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 5.9, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 6.5, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331706 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 52.97, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 28.8, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 41.5, \"min\": 16.6, \"max\": 83.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 5.9, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 6.5, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"enc_w\"] * 0.7, p[\"enc_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca7fb_3143", "family": "revolved", "tier": 2, "seed": 1177331707, "symmetry": "radial", "op_count": 2, "ir_hash": "2dcee924b5e5dfcf", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 119000.0, "surface_area": 26800.0, "principal_moments": [34800000.0, 111000000.0, 111000000.0], "n_faces": 9, "n_edges": 14, "n_vertices": 9}, "dimensions": {"lines": ["Revolved body, \u00d844.59 mm \u00d7 118.3 mm tall with 13.41 mm-wide groove 2.35 mm deep.", "Chamfer 0.5 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d844.59 mm \u00d7 118.3 mm tall with 13.41 mm-wide groove 2.35 mm deep. Chamfer 0.5 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 44.59, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 118.3, "min": 35.5, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "groove_depth": {"type": "float", "default": 2.35, "min": 0.94, "max": 7.05, "step": 0.1, "group": "Body", "label": "Groove depth (mm)"}, "groove_w": {"type": "float", "default": 13.41, "min": 5.36, "max": 40.23, "step": 0.2, "group": "Body", "label": "Groove width (mm)"}, "groove_pos": {"type": "float", "default": 88.4, "min": 17.7, "max": 100.6, "step": 1.0, "group": "Body", "label": "Groove position (mm)"}, "end_chamfer": {"type": "float", "default": 0.5, "min": 0.1, "max": 1.5, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331707 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 44.59, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 118.3, \"min\": 35.5, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"groove_depth\": {\"type\": 'float', \"default\": 2.35, \"min\": 0.94, \"max\": 7.05, \"step\": 0.1, \"group\": 'Body', \"label\": 'Groove depth (mm)'},\n    \"groove_w\": {\"type\": 'float', \"default\": 13.41, \"min\": 5.36, \"max\": 40.23, \"step\": 0.2, \"group\": 'Body', \"label\": 'Groove width (mm)'},\n    \"groove_pos\": {\"type\": 'float', \"default\": 88.4, \"min\": 17.7, \"max\": 100.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Groove position (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.5, \"min\": 0.1, \"max\": 1.5, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"groove_pos\"] - p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2 - p[\"groove_depth\"], p[\"groove_pos\"] - p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2 - p[\"groove_depth\"], p[\"groove_pos\"] + p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2, p[\"groove_pos\"] + p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca7fc_3144", "family": "plate", "tier": 2, "seed": 1177331708, "symmetry": "none", "op_count": 2, "ir_hash": "311260ebd860e4a5", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 11600.0, "surface_area": 4720.0, "principal_moments": [652000.0, 1990000.0, 2360000.0], "n_faces": 38, "n_edges": 108, "n_vertices": 72}, "dimensions": {"lines": ["Rectangular body, 45.51 \u00d7 23.1 \u00d7 12 mm (W\u00d7D\u00d7H).", "Eight 4.3 \u00d7 2.8 mm slots in a 2\u00d74 grid, 36.4 \u00d7 6.2 mm pitch."], "text": "Rectangular body, 45.51 \u00d7 23.1 \u00d7 12 mm (W\u00d7D\u00d7H). Eight 4.3 \u00d7 2.8 mm slots in a 2\u00d74 grid, 36.4 \u00d7 6.2 mm pitch."}, "params": {"plate_w": {"type": "float", "default": 45.51, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 23.1, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 2.8, "min": 2.0, "max": 2.8, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 2, "min": 1, "max": 4, "step": 1, "group": "Holes", "label": "Holes across"}, "hole_ny": {"type": "int", "default": 4, "min": 1, "max": 4, "step": 1, "group": "Holes", "label": "Holes deep"}, "hole_slot_len": {"type": "float", "default": 4.3, "min": 4.2, "max": 4.3, "step": 0.5, "group": "Holes", "label": "Slot length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331708 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 45.51, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 23.1, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 2.8, \"min\": 2.0, \"max\": 2.8, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 2, \"min\": 1, \"max\": 4, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes across'},\n    \"hole_ny\": {\"type\": 'int', \"default\": 4, \"min\": 1, \"max\": 4, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes deep'},\n    \"hole_slot_len\": {\"type\": 'float', \"default\": 4.3, \"min\": 4.2, \"max\": 4.3, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Slot length (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(36.4, 6.2, p[\"hole_nx\"], p[\"hole_ny\"])\n        .slot2D(p[\"hole_slot_len\"], p[\"hole_d\"]).cutThruAll()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462ca7fd_3145", "family": "flanged", "tier": 3, "seed": 1177331709, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "407f5b794612036c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 160000.0, "surface_area": 40300.0, "principal_moments": [153000000.0, 154000000.0, 154000000.0], "n_faces": 22, "n_edges": 47, "n_vertices": 28}, "dimensions": {"lines": ["Revolved body, \u00d853.14 mm \u00d7 68.2 mm tall with \u00d826.6 mm bore, \u00d8121.4 mm \u00d7 5.1 mm flange.", "Six \u00d86.4 mm holes on a \u00d872.8 mm bolt circle.", "Chamfer 0.4 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d853.14 mm \u00d7 68.2 mm tall with \u00d826.6 mm bore, \u00d8121.4 mm \u00d7 5.1 mm flange. Six \u00d86.4 mm holes on a \u00d872.8 mm bolt circle. Chamfer 0.4 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 53.14, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 68.2, "min": 20.5, "max": 170.5, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 26.6, "min": 2.0, "max": 37.2, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 121.4, "min": 69.1, "max": 159.4, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 5.1, "min": 1.5, "max": 27.3, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 36.4, "min": 24.3, "max": 54.6, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 6, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}, "end_chamfer": {"type": "float", "default": 0.4, "min": 0.1, "max": 2.0, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331709 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 53.14, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 68.2, \"min\": 20.5, \"max\": 170.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 26.6, \"min\": 2.0, \"max\": 37.2, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 121.4, \"min\": 69.1, \"max\": 159.4, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 5.1, \"min\": 1.5, \"max\": 27.3, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 36.4, \"min\": 24.3, \"max\": 54.6, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.4, \"min\": 0.1, \"max\": 2.0, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca7fe_3146", "family": "compound", "tier": 2, "seed": 1177331710, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "dd6a76fef56fe55c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 27900.0, "surface_area": 7210.0, "principal_moments": [2210000.0, 10800000.0, 10800000.0], "n_faces": 13, "n_edges": 27, "n_vertices": 18}, "dimensions": {"lines": ["\u00d826.71 mm circular section, extruded 41.4 mm thick.", "\u00d814.7 mm circular section attachment, 29.3 mm long, from top face.", "6-sided polygon section, 10.6 mm across corners attachment, 9.5 mm long, from top face with a \u00d83.9 mm bore."], "text": "\u00d826.71 mm circular section, extruded 41.4 mm thick. \u00d814.7 mm circular section attachment, 29.3 mm long, from top face. 6-sided polygon section, 10.6 mm across corners attachment, 9.5 mm long, from top face with a \u00d83.9 mm bore."}, "params": {"shaft_d": {"type": "float", "default": 26.71, "min": 13.4, "max": 48.1, "step": 1.0, "group": "Body", "label": "Shaft diameter (mm)"}, "shaft_len": {"type": "float", "default": 41.4, "min": 16.6, "max": 82.8, "step": 1.0, "group": "Body", "label": "Shaft length (mm)"}, "step_d": {"type": "float", "default": 14.7, "min": 7.3, "max": 24.0, "step": 1.0, "group": "Step", "label": "Step diameter (mm)"}, "step_len": {"type": "float", "default": 29.3, "min": 8.8, "max": 73.2, "step": 1.0, "group": "Step", "label": "Step length (mm)"}, "head_sides": {"type": "int", "default": 6, "min": 3, "max": 8, "step": 1, "group": "Head", "label": "Drive head sides"}, "head_r": {"type": "float", "default": 5.3, "min": 3.2, "max": 7.1, "step": 1.0, "group": "Head", "label": "Drive head circumradius (mm)"}, "head_len": {"type": "float", "default": 9.5, "min": 2.9, "max": 19.0, "step": 1.0, "group": "Head", "label": "Drive head length (mm)"}, "axial_bore": {"type": "float", "default": 3.9, "min": 2.0, "max": 6.6, "step": 0.5, "group": "Bore", "label": "Axial bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331710 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"shaft_d\": {\"type\": 'float', \"default\": 26.71, \"min\": 13.4, \"max\": 48.1, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft diameter (mm)'},\n    \"shaft_len\": {\"type\": 'float', \"default\": 41.4, \"min\": 16.6, \"max\": 82.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft length (mm)'},\n    \"step_d\": {\"type\": 'float', \"default\": 14.7, \"min\": 7.3, \"max\": 24.0, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step diameter (mm)'},\n    \"step_len\": {\"type\": 'float', \"default\": 29.3, \"min\": 8.8, \"max\": 73.2, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step length (mm)'},\n    \"head_sides\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Head', \"label\": 'Drive head sides'},\n    \"head_r\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.2, \"max\": 7.1, \"step\": 1.0, \"group\": 'Head', \"label\": 'Drive head circumradius (mm)'},\n    \"head_len\": {\"type\": 'float', \"default\": 9.5, \"min\": 2.9, \"max\": 19.0, \"step\": 1.0, \"group\": 'Head', \"label\": 'Drive head length (mm)'},\n    \"axial_bore\": {\"type\": 'float', \"default\": 3.9, \"min\": 2.0, \"max\": 6.6, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Axial bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').circle(p[\"shaft_d\"] / 2).extrude(p[\"shaft_len\"]))\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"step_d\"] / 2).extrude(p[\"step_len\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"head_sides\"], p[\"head_r\"] * 2).extrude(p[\"head_len\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"axial_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462ca7ff_3147", "family": "flanged", "tier": 1, "seed": 1177331711, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "1014fa3185cd190f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 396000.0, "surface_area": 56200.0, "principal_moments": [521000000.0, 524000000.0, 524000000.0], "n_faces": 17, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Revolved body, \u00d874.61 mm \u00d7 83.1 mm tall with \u00d831.1 mm bore, \u00d8126.7 mm \u00d7 13.2 mm flange.", "Six \u00d88.4 mm holes on a \u00d876 mm bolt circle."], "text": "Revolved body, \u00d874.61 mm \u00d7 83.1 mm tall with \u00d831.1 mm bore, \u00d8126.7 mm \u00d7 13.2 mm flange. Six \u00d88.4 mm holes on a \u00d876 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 74.61, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 83.1, "min": 24.9, "max": 207.8, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 31.1, "min": 2.0, "max": 52.2, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 126.7, "min": 97.0, "max": 223.8, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 13.2, "min": 4.0, "max": 33.2, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 8.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 38.0, "min": 25.3, "max": 57.0, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 6, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331711 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 74.61, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 83.1, \"min\": 24.9, \"max\": 207.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 31.1, \"min\": 2.0, \"max\": 52.2, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 126.7, \"min\": 97.0, \"max\": 223.8, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 13.2, \"min\": 4.0, \"max\": 33.2, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 38.0, \"min\": 25.3, \"max\": 57.0, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca800_3148", "family": "plate", "tier": 2, "seed": 1177331712, "symmetry": "none", "op_count": 3, "ir_hash": "f2433e6db8176a4a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 64300.0, "surface_area": 15500.0, "principal_moments": [25399999.999999996, 34700000.0, 58499999.99999999], "n_faces": 34, "n_edges": 96, "n_vertices": 64}, "dimensions": {"lines": ["Rectangular body, 80 \u00d7 68.6 \u00d7 12 mm (W\u00d7D\u00d7H).", "Six 6.9 \u00d7 3.2 mm slots in a 3\u00d72 grid, 32 \u00d7 54.9 mm pitch.", "Chamfer 2.3 mm on vertical edges."], "text": "Rectangular body, 80 \u00d7 68.6 \u00d7 12 mm (W\u00d7D\u00d7H). Six 6.9 \u00d7 3.2 mm slots in a 3\u00d72 grid, 32 \u00d7 54.9 mm pitch. Chamfer 2.3 mm on vertical edges."}, "params": {"plate_w": {"type": "float", "default": 80, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 68.6, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 8.2, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 3, "min": 1, "max": 4, "step": 1, "group": "Holes", "label": "Holes across"}, "hole_ny": {"type": "int", "default": 2, "min": 1, "max": 4, "step": 1, "group": "Holes", "label": "Holes deep"}, "hole_slot_len": {"type": "float", "default": 6.9, "min": 4.8, "max": 22.4, "step": 0.5, "group": "Holes", "label": "Slot length (mm)"}, "chamfer_d": {"type": "float", "default": 2.3, "min": 1.5, "max": 2.6, "step": 0.5, "group": "Body", "label": "Chamfer distance (mm)"}, "chamfered": {"type": "bool", "default": true, "group": "Body", "label": "Chamfer edges"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331712 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 80, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 68.6, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 8.2, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 3, \"min\": 1, \"max\": 4, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes across'},\n    \"hole_ny\": {\"type\": 'int', \"default\": 2, \"min\": 1, \"max\": 4, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes deep'},\n    \"hole_slot_len\": {\"type\": 'float', \"default\": 6.9, \"min\": 4.8, \"max\": 22.4, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Slot length (mm)'},\n    \"chamfer_d\": {\"type\": 'float', \"default\": 2.3, \"min\": 1.5, \"max\": 2.6, \"step\": 0.5, \"group\": 'Body', \"label\": 'Chamfer distance (mm)'},\n    \"chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Chamfer edges'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(32.0, 54.9, p[\"hole_nx\"], p[\"hole_ny\"])\n        .slot2D(p[\"hole_slot_len\"], p[\"hole_d\"]).cutThruAll()\n    )\n    if p[\"chamfered\"]:\n        result = result.edges('|Z').chamfer(p[\"chamfer_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca801_3149", "family": "revolved", "tier": 1, "seed": 1177331713, "symmetry": "none", "op_count": 2, "ir_hash": "8b3e9f3f6e4f4db9", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 1180.0, "surface_area": 768.0, "principal_moments": [25000.0, 25000.0, 37800.0], "n_faces": 8, "n_edges": 14, "n_vertices": 8}, "dimensions": {"lines": ["Revolved body, \u00d815 mm \u00d7 8.2 mm tall with \u00d85.8 mm bore.", "Chamfer 0.9 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d815 mm \u00d7 8.2 mm tall with \u00d85.8 mm bore. Chamfer 0.9 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 15, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 8.2, "min": 2.5, "max": 24.6, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 5.8, "min": 2.0, "max": 10.5, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "end_chamfer": {"type": "float", "default": 0.9, "min": 0.1, "max": 2.7, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331713 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 15, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 8.2, \"min\": 2.5, \"max\": 24.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 5.8, \"min\": 2.0, \"max\": 10.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.9, \"min\": 0.1, \"max\": 2.7, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca802_3150", "family": "revolved", "tier": 1, "seed": 1177331714, "symmetry": "none", "op_count": 2, "ir_hash": "4ece69b0002d1150", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 155000.0, "surface_area": 26300.0, "principal_moments": [71100000.0, 140000000.0, 140000000.0], "n_faces": 8, "n_edges": 14, "n_vertices": 8}, "dimensions": {"lines": ["Revolved body, \u00d854.13 mm \u00d7 90.1 mm tall with \u00d827.2 mm bore.", "Chamfer 0.4 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d854.13 mm \u00d7 90.1 mm tall with \u00d827.2 mm bore. Chamfer 0.4 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 54.13, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 90.1, "min": 27.0, "max": 270.3, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 27.2, "min": 2.0, "max": 37.9, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "end_chamfer": {"type": "float", "default": 0.4, "min": 0.1, "max": 1.2, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331714 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 54.13, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 90.1, \"min\": 27.0, \"max\": 270.3, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 27.2, \"min\": 2.0, \"max\": 37.9, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.4, \"min\": 0.1, \"max\": 1.2, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462ca803_3151", "family": "tapped", "tier": 2, "seed": 1177331715, "symmetry": "none", "op_count": 1, "ir_hash": "ec9469439c6f941c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 2670.0, "surface_area": 1500.0, "principal_moments": [96300.0, 96700.0, 96700.0], "n_faces": 124, "n_edges": 336, "n_vertices": 214}, "dimensions": {"lines": ["One M6x1 tapped hole in a cylinder."], "text": "One M6x1 tapped hole in a cylinder."}, "params": {"major_d": {"type": "float", "default": 6.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 1.0, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 14.8, "min": 7.2, "max": 26.6, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "body_d": {"type": "float", "default": 16.1, "min": 10.8, "max": 25.8, "step": 1.0, "group": "Body", "label": "Outer \u00d8 (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331715 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.0, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 14.8, \"min\": 7.2, \"max\": 26.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"body_d\": {\"type\": 'float', \"default\": 16.1, \"min\": 10.8, \"max\": 25.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer \u00d8 (mm)'},\n}\n\n\ndef build(p):\n\n    _W = _D = p[\"body_d\"]\n    _H = p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Cylinder(radius=_W / 2, height=_H)\n    _locs = [(0.0, 0.0)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca804_3152", "family": "compound", "tier": 1, "seed": 1177331716, "symmetry": "none", "op_count": 3, "ir_hash": "de04304b8b84a555", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 139000.0, "surface_area": 19700.0, "principal_moments": [61699999.99999999, 62899999.99999999, 70800000.0], "n_faces": 14, "n_edges": 33, "n_vertices": 21}, "dimensions": {"lines": ["Rectangular body, 55 \u00d7 47.4 \u00d7 54.3 mm (W\u00d7D\u00d7H).", "\u00d814.8 mm circular section attachment, 8.7 mm long, from left face with a \u00d88.1 mm bore.", "\u00d814.8 mm circular section attachment, 8.7 mm long, from back face with a \u00d88.1 mm bore."], "text": "Rectangular body, 55 \u00d7 47.4 \u00d7 54.3 mm (W\u00d7D\u00d7H). \u00d814.8 mm circular section attachment, 8.7 mm long, from left face with a \u00d88.1 mm bore. \u00d814.8 mm circular section attachment, 8.7 mm long, from back face with a \u00d88.1 mm bore."}, "params": {"block_w": {"type": "float", "default": 55, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body width (mm)"}, "block_d": {"type": "float", "default": 47.4, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body depth (mm)"}, "block_h": {"type": "float", "default": 54.3, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body height (mm)"}, "port_d": {"type": "float", "default": 14.8, "min": 5.9, "max": 21.3, "step": 1.0, "group": "Ports", "label": "Ports diameter (mm)"}, "port_len": {"type": "float", "default": 8.7, "min": 3.7, "max": 44.4, "step": 1.0, "group": "Ports", "label": "Port boss length (mm)"}, "port_bore": {"type": "float", "default": 8.1, "min": 2.0, "max": 10.7, "step": 0.5, "group": "Ports", "label": "Port bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331716 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 55, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 47.4, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 54.3, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body height (mm)'},\n    \"port_d\": {\"type\": 'float', \"default\": 14.8, \"min\": 5.9, \"max\": 21.3, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Ports diameter (mm)'},\n    \"port_len\": {\"type\": 'float', \"default\": 8.7, \"min\": 3.7, \"max\": 44.4, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Port boss length (mm)'},\n    \"port_bore\": {\"type\": 'float', \"default\": 8.1, \"min\": 2.0, \"max\": 10.7, \"step\": 0.5, \"group\": 'Ports', \"label\": 'Port bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462ca805_3153", "family": "swept", "tier": 0, "seed": 1177331717, "symmetry": "none", "op_count": 1, "ir_hash": "1c3157169efd2c4e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 15800.0, "surface_area": 4880.0, "principal_moments": [603000.0, 7660000.0, 7870000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["18.2 \u00d7 12.2 mm rectangular section swept along a curved path, ~75 mm span."], "text": "18.2 \u00d7 12.2 mm rectangular section swept along a curved path, ~75 mm span."}, "params": {"path_w": {"type": "float", "default": 30.0, "min": 15.0, "max": 54.0, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 75, "min": 37.5, "max": 135.0, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_a": {"type": "float", "default": 18.2, "min": 9.1, "max": 32.8, "step": 1.0, "group": "Section", "label": "Section width (mm)"}, "sweep_b": {"type": "float", "default": 12.2, "min": 6.1, "max": 22.0, "step": 1.0, "group": "Section", "label": "Section depth (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331717 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 30.0, \"min\": 15.0, \"max\": 54.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 75, \"min\": 37.5, \"max\": 135.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_a\": {\"type\": 'float', \"default\": 18.2, \"min\": 9.1, \"max\": 32.8, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section width (mm)'},\n    \"sweep_b\": {\"type\": 'float', \"default\": 12.2, \"min\": 6.1, \"max\": 22.0, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section depth (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.1023, p[\"path_h\"] * 0.3387), (p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.687), (p[\"path_w\"] * 0.0, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').rect(p[\"sweep_a\"], p[\"sweep_b\"]).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca806_3154", "family": "revolved", "tier": 0, "seed": 1177331718, "symmetry": "radial", "op_count": 1, "ir_hash": "e16ed604568be74f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 109000.0, "surface_area": 20600.0, "principal_moments": [49399999.99999999, 55199999.99999999, 55199999.99999999], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d855 mm \u00d7 68.7 mm tall."], "text": "Revolved body, \u00d855 mm \u00d7 68.7 mm tall."}, "params": {"outer_d": {"type": "float", "default": 55, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 68.7, "min": 20.6, "max": 206.1, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331718 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 55, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 68.7, \"min\": 20.6, \"max\": 206.1, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca807_3155", "family": "revolved", "tier": 0, "seed": 1177331719, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "ab3e2f27b81812b2", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 173000.0, "surface_area": 30300.0, "principal_moments": [83500000.0, 150000000.0, 150000000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d856.73 mm \u00d7 102.6 mm tall."], "text": "Revolved body, \u00d856.73 mm \u00d7 102.6 mm tall."}, "params": {"outer_d": {"type": "float", "default": 56.73, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 102.6, "min": 30.8, "max": 307.8, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331719 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 56.73, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 102.6, \"min\": 30.8, \"max\": 307.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca808_3156", "family": "plate", "tier": 1, "seed": 1177331720, "symmetry": "none", "op_count": 2, "ir_hash": "5cfb3ca3a27a9010", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 7570.0, "surface_area": 4860.0, "principal_moments": [1020000.0, 1600000.0, 2600000.0], "n_faces": 15, "n_edges": 39, "n_vertices": 26}, "dimensions": {"lines": ["Rectangular body, 50 \u00d7 39.3 \u00d7 4 mm (W\u00d7D\u00d7H).", "Nine \u00d83.2 mm holes in two staggered rows, 9.4 \u00d7 9.2 mm pitch."], "text": "Rectangular body, 50 \u00d7 39.3 \u00d7 4 mm (W\u00d7D\u00d7H). Nine \u00d83.2 mm holes in two staggered rows, 9.4 \u00d7 9.2 mm pitch."}, "params": {"plate_w": {"type": "float", "default": 50, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 39.3, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 4.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 3.9, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 5, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331720 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 50, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 39.3, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 4.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 3.9, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 5, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 9.4\n    _ssy = 9.2\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca809_3157", "family": "bracket", "tier": 1, "seed": 1177331721, "symmetry": "none", "op_count": 1, "ir_hash": "19d393e614031051", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 7920.0, "surface_area": 3230.0, "principal_moments": [482000.0, 1240000.0, 1260000.0], "n_faces": 9, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["L-bracket: base leg 34.93 mm, vertical leg 25 mm, 19.34 mm wide, 8 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."], "text": "L-bracket: base leg 34.93 mm, vertical leg 25 mm, 19.34 mm wide, 8 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 34.93, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 25.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 19.34, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 8.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 7.7, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331721 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 34.93, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 25.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 19.34, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 7.7, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca80a_3158", "family": "plate", "tier": 2, "seed": 1177331722, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "8cb7b30a00a39acf", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 22500.0, "surface_area": 6730.0, "principal_moments": [3180000.0, 4720000.0, 7360000.0], "n_faces": 26, "n_edges": 72, "n_vertices": 48}, "dimensions": {"lines": ["Rectangular body, 49.27 \u00d7 39.8 \u00d7 12 mm (W\u00d7D\u00d7H).", "Four 7.2 \u00d7 3.2 mm slots at the corners, 34.489 \u00d7 27.86 mm spacing.", "Fillet radius 1.134 mm on vertical edges."], "text": "Rectangular body, 49.27 \u00d7 39.8 \u00d7 12 mm (W\u00d7D\u00d7H). Four 7.2 \u00d7 3.2 mm slots at the corners, 34.489 \u00d7 27.86 mm spacing. Fillet radius 1.134 mm on vertical edges."}, "params": {"plate_w": {"type": "float", "default": 49.27, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 39.8, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 9.0, "step": 0.5, "group": "Holes", "label": "Slot width (mm)"}, "hole_slot_len": {"type": "float", "default": 7.2, "min": 4.8, "max": 11.9, "step": 0.5, "group": "Holes", "label": "Slot length (mm)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331722 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 49.27, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 39.8, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 9.0, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Slot width (mm)'},\n    \"hole_slot_len\": {\"type\": 'float', \"default\": 7.2, \"min\": 4.8, \"max\": 11.9, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Slot length (mm)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().slot2D(p[\"hole_slot_len\"], p[\"hole_d\"]).cutThruAll()\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"plate_w\"], p[\"plate_d\"]) * 0.028495391627457105)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462ca80b_3159", "family": "ribbed", "tier": 1, "seed": 1177331723, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "faca20a99d9e0bde", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 44000.0, "surface_area": 19800.0, "principal_moments": [12299999.999999998, 22100000.0, 29799999.999999996], "n_faces": 46, "n_edges": 112, "n_vertices": 68}, "dimensions": {"lines": ["Rectangular body, 74.3 \u00d7 38.4 \u00d7 6 mm (W\u00d7D\u00d7H).", "Five ribs, 5 mm thick, 18.1 mm tall."], "text": "Rectangular body, 74.3 \u00d7 38.4 \u00d7 6 mm (W\u00d7D\u00d7H). Five ribs, 5 mm thick, 18.1 mm tall."}, "params": {"base_w": {"type": "float", "default": 74.3, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 38.4, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 6.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 5, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 18.1, "min": 7.2, "max": 36.2, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 5.0, "min": 1.0, "max": 12.5, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331723 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 74.3, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 38.4, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 5, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 18.1, \"min\": 7.2, \"max\": 36.2, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 1.0, \"max\": 12.5, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca80c_3160", "family": "plate", "tier": 1, "seed": 1177331724, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "b18e161c488f9259", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 11500.0, "surface_area": 6930.0, "principal_moments": [1880000.0, 4290000.0, 6130000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 67.13 \u00d7 44.3 \u00d7 4 mm (W\u00d7D\u00d7H).", "Four \u00d85.3 mm holes at the corners, 46.991 \u00d7 31.01 mm spacing."], "text": "Rectangular body, 67.13 \u00d7 44.3 \u00d7 4 mm (W\u00d7D\u00d7H). Four \u00d85.3 mm holes at the corners, 46.991 \u00d7 31.01 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 67.13, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 44.3, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 4.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331724 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 67.13, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 44.3, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 4.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462ca80d_3161", "family": "flanged", "tier": 1, "seed": 1177331725, "symmetry": "none", "op_count": 2, "ir_hash": "f07232ea5602df6c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 15000.0, "surface_area": 7100.0, "principal_moments": [2310000.0, 2310000.0, 3780000.0], "n_faces": 21, "n_edges": 78, "n_vertices": 52}, "dimensions": {"lines": ["Revolved body, \u00d830 mm \u00d7 17.7 mm tall with \u00d812 mm bore, \u00d852.8 mm \u00d7 4 mm flange.", "Eight \u00d85.3 mm holes on a \u00d831.6 mm bolt circle."], "text": "Revolved body, \u00d830 mm \u00d7 17.7 mm tall with \u00d812 mm bore, \u00d852.8 mm \u00d7 4 mm flange. Eight \u00d85.3 mm holes on a \u00d831.6 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 30, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 17.7, "min": 5.3, "max": 44.2, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 12.0, "min": 2.0, "max": 21.0, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 52.8, "min": 39.0, "max": 90.0, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 4.0, "min": 1.2, "max": 7.1, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 15.8, "min": 10.6, "max": 23.8, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 8, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331725 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 30, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 17.7, \"min\": 5.3, \"max\": 44.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 21.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 52.8, \"min\": 39.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 4.0, \"min\": 1.2, \"max\": 7.1, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 15.8, \"min\": 10.6, \"max\": 23.8, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca80e_3162", "family": "compound", "tier": 1, "seed": 1177331726, "symmetry": "none", "op_count": 3, "ir_hash": "6242099ebc32b908", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 22700.0, "surface_area": 6840.0, "principal_moments": [3320000.0, 5350000.0, 6640000.0], "n_faces": 12, "n_edges": 27, "n_vertices": 18}, "dimensions": {"lines": ["Rectangular body, 49.72 \u00d7 36.2 \u00d7 12 mm (W\u00d7D\u00d7H).", "\u00d88 mm circular section attachment, 30.4 mm long, from top face.", "Four \u00d83.2 mm holes at the corners, 34.804 \u00d7 25.34 mm spacing."], "text": "Rectangular body, 49.72 \u00d7 36.2 \u00d7 12 mm (W\u00d7D\u00d7H). \u00d88 mm circular section attachment, 30.4 mm long, from top face. Four \u00d83.2 mm holes at the corners, 34.804 \u00d7 25.34 mm spacing."}, "params": {"base_w": {"type": "float", "default": 49.72, "min": 30.0, "max": 160.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 36.2, "min": 25.0, "max": 160.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_h": {"type": "float", "default": 12.0, "min": 3.0, "max": 30.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "col_d": {"type": "float", "default": 8.0, "min": 3.2, "max": 18.1, "step": 1.0, "group": "Column", "label": "Column diameter (mm)"}, "col_h": {"type": "float", "default": 30.4, "min": 9.1, "max": 91.2, "step": 1.0, "group": "Column", "label": "Column height (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 8.1, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331726 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 49.72, \"min\": 30.0, \"max\": 160.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 36.2, \"min\": 25.0, \"max\": 160.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_h\": {\"type\": 'float', \"default\": 12.0, \"min\": 3.0, \"max\": 30.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"col_d\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.2, \"max\": 18.1, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column diameter (mm)'},\n    \"col_h\": {\"type\": 'float', \"default\": 30.4, \"min\": 9.1, \"max\": 91.2, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 8.1, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_h\"])\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"col_d\"] / 2).extrude(p[\"col_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"base_w\"] * 0.7, p[\"base_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca80f_3163", "family": "bracket", "tier": 1, "seed": 1177331727, "symmetry": "none", "op_count": 1, "ir_hash": "d97e4c1495bcbeb6", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 18100.0, "surface_area": 13200.0, "principal_moments": [6070000.0, 11799999.999999998, 13299999.999999998], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["C-channel bracket: base leg 57.67 mm, vertical leg 35.3 mm, 50 mm wide, 3 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."], "text": "C-channel bracket: base leg 57.67 mm, vertical leg 35.3 mm, 50 mm wide, 3 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 57.67, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 35.3, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 50, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 3.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331727 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 57.67, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 35.3, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 50, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca810_3164", "family": "revolved", "tier": 1, "seed": 1177331728, "symmetry": "none", "op_count": 2, "ir_hash": "79bd9b51e0d7131d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 299000.0, "surface_area": 44900.0, "principal_moments": [147000000.0, 685000000.0, 685000000.0], "n_faces": 8, "n_edges": 14, "n_vertices": 8}, "dimensions": {"lines": ["Revolved body, \u00d856.44 mm \u00d7 156.7 mm tall with \u00d827.5 mm bore.", "Chamfer 0.7 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d856.44 mm \u00d7 156.7 mm tall with \u00d827.5 mm bore. Chamfer 0.7 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 56.44, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 156.7, "min": 47.0, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 27.5, "min": 2.0, "max": 39.5, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "end_chamfer": {"type": "float", "default": 0.7, "min": 0.1, "max": 2.1, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331728 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 56.44, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 156.7, \"min\": 47.0, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 27.5, \"min\": 2.0, \"max\": 39.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.7, \"min\": 0.1, \"max\": 2.1, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca811_3165", "family": "compound", "tier": 2, "seed": 1177331729, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "9294044861a34935", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 89600.0, "surface_area": 14800.0, "principal_moments": [30899999.999999996, 37700000.0, 37700000.0], "n_faces": 10, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["Lofted body through 3 sections: 60 \u00d7 60 mm rectangular section \u2192 \u00d842.8 mm circular section \u2192 \u00d825.5 mm circular section.", "\u00d816.7 mm circular section attachment, 15.6 mm long, from top face with a \u00d87.4 mm bore."], "text": "Lofted body through 3 sections: 60 \u00d7 60 mm rectangular section \u2192 \u00d842.8 mm circular section \u2192 \u00d825.5 mm circular section. \u00d816.7 mm circular section attachment, 15.6 mm long, from top face with a \u00d87.4 mm bore."}, "params": {"adapter_base": {"type": "float", "default": 60, "min": 36.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "adapter_top": {"type": "float", "default": 25.5, "min": 12.8, "max": 60, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "adapter_h": {"type": "float", "default": 54.2, "min": 21.7, "max": 108.4, "step": 1.0, "group": "Body", "label": "Transition height (mm)"}, "adapter_mid": {"type": "float", "default": 42.8, "min": 12.8, "max": 60, "step": 1.0, "group": "Body", "label": "Mid size (mm)"}, "neck_d": {"type": "float", "default": 16.7, "min": 6.7, "max": 25.5, "step": 1.0, "group": "Neck", "label": "Neck diameter (mm)"}, "neck_l": {"type": "float", "default": 15.6, "min": 6.2, "max": 39.0, "step": 1.0, "group": "Neck", "label": "Neck length (mm)"}, "neck_bore": {"type": "float", "default": 7.4, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Neck", "label": "Neck bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331729 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"adapter_base\": {\"type\": 'float', \"default\": 60, \"min\": 36.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"adapter_top\": {\"type\": 'float', \"default\": 25.5, \"min\": 12.8, \"max\": 60, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"adapter_h\": {\"type\": 'float', \"default\": 54.2, \"min\": 21.7, \"max\": 108.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Transition height (mm)'},\n    \"adapter_mid\": {\"type\": 'float', \"default\": 42.8, \"min\": 12.8, \"max\": 60, \"step\": 1.0, \"group\": 'Body', \"label\": 'Mid size (mm)'},\n    \"neck_d\": {\"type\": 'float', \"default\": 16.7, \"min\": 6.7, \"max\": 25.5, \"step\": 1.0, \"group\": 'Neck', \"label\": 'Neck diameter (mm)'},\n    \"neck_l\": {\"type\": 'float', \"default\": 15.6, \"min\": 6.2, \"max\": 39.0, \"step\": 1.0, \"group\": 'Neck', \"label\": 'Neck length (mm)'},\n    \"neck_bore\": {\"type\": 'float', \"default\": 7.4, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Neck', \"label\": 'Neck bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .rect(p[\"adapter_base\"], p[\"adapter_base\"])\n        .workplane(offset=p[\"adapter_h\"] * 0.5)\n        .circle(p[\"adapter_mid\"] / 2)\n        .workplane(offset=p[\"adapter_h\"] * 0.5)\n        .circle(p[\"adapter_top\"] / 2)\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"neck_d\"] / 2).extrude(p[\"neck_l\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"neck_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462ca812_3166", "family": "tapped", "tier": 2, "seed": 1177331730, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "bd0c65697303fc58", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 1210.0, "surface_area": 939.0, "principal_moments": [25400.0, 27900.0, 27900.0], "n_faces": 127, "n_edges": 343, "n_vertices": 218}, "dimensions": {"lines": ["One M5x0.8 tapped hole in a cylinder."], "text": "One M5x0.8 tapped hole in a cylinder."}, "params": {"major_d": {"type": "float", "default": 5.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 0.8, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 12.3, "min": 6.0, "max": 22.1, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "body_d": {"type": "float", "default": 12.1, "min": 9.0, "max": 19.4, "step": 1.0, "group": "Body", "label": "Outer \u00d8 (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331730 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 0.8, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 12.3, \"min\": 6.0, \"max\": 22.1, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"body_d\": {\"type\": 'float', \"default\": 12.1, \"min\": 9.0, \"max\": 19.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer \u00d8 (mm)'},\n}\n\n\ndef build(p):\n\n    _W = _D = p[\"body_d\"]\n    _H = p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Cylinder(radius=_W / 2, height=_H)\n    _locs = [(0.0, 0.0)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462ca813_3167", "family": "enclosure", "tier": 2, "seed": 1177331731, "symmetry": "none", "op_count": 3, "ir_hash": "b0b245fac5bd6975", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 40400.0, "surface_area": 34400.0, "principal_moments": [32699999.999999996, 37800000.0, 40900000.0], "n_faces": 15, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 65 \u00d7 55.6 \u00d7 59.9 mm (W\u00d7D\u00d7H).", "Hollowed to 2.4 mm wall thickness, open at top face.", "Four \u00d85.3 mm holes at the corners, 45.5 \u00d7 38.92 mm spacing."], "text": "Rectangular body, 65 \u00d7 55.6 \u00d7 59.9 mm (W\u00d7D\u00d7H). Hollowed to 2.4 mm wall thickness, open at top face. Four \u00d85.3 mm holes at the corners, 45.5 \u00d7 38.92 mm spacing."}, "params": {"enc_w": {"type": "float", "default": 65, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 55.6, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 59.9, "min": 24.0, "max": 119.8, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 2.4, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 12.5, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331731 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 65, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 55.6, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 59.9, \"min\": 24.0, \"max\": 119.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 2.4, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 12.5, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"enc_w\"] * 0.7, p[\"enc_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462ca814_3168", "family": "profiled", "tier": 2, "seed": 1177331732, "symmetry": "none", "op_count": 1, "ir_hash": "3b9ecad4ec786095", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 21600.0, "surface_area": 9000.0, "principal_moments": [1670000.0, 9060000.0, 9060000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d822.69 mm \u00d7 80.1 mm tall."], "text": "Revolved body, \u00d822.69 mm \u00d7 80.1 mm tall."}, "params": {"outer_d": {"type": "float", "default": 22.69, "min": 11.3, "max": 45.4, "step": 1.0, "group": "Profile", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 80.1, "min": 24.0, "max": 240.3, "step": 5.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331732 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 22.69, \"min\": 11.3, \"max\": 45.4, \"step\": 1.0, \"group\": 'Profile', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 80.1, \"min\": 24.0, \"max\": 240.3, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462ca815_3169", "family": "gear", "tier": 1, "seed": 1177331733, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "21711b6e3ecfca97", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 693.0, "surface_area": 768.0, "principal_moments": [10100.0, 10100.0, 15700.0], "n_faces": 63, "n_edges": 183, "n_vertices": 122}, "dimensions": {"lines": ["Spur gear, module 1.25 mm, 10 teeth (pitch \u00d812.5 mm), face width 6.3 mm, \u00d83 mm bore."], "text": "Spur gear, module 1.25 mm, 10 teeth (pitch \u00d812.5 mm), face width 6.3 mm, \u00d83 mm bore."}, "params": {"module": {"type": "float", "default": 1.25, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 10, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 6.3, "min": 2.5, "max": 15.8, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "bore_d": {"type": "float", "default": 3.0, "min": 2.0, "max": 5.6, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331733 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 1.25, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 10, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 6.3, \"min\": 2.5, \"max\": 15.8, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 3.0, \"min\": 2.0, \"max\": 5.6, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca817_3171", "family": "compound", "tier": 1, "seed": 1177331735, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "bed8e0b81f0aa118", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 99600.0, "surface_area": 19000.0, "principal_moments": [47099999.99999999, 47599999.99999999, 47799999.99999999], "n_faces": 14, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["Lofted body through 2 sections: 65 \u00d7 65 mm rectangular section \u2192 \u00d842.6 mm circular section.", "5-sided polygon section, 36 mm across corners attachment, 28.7 mm long, from top face with a \u00d817.9 mm bore."], "text": "Lofted body through 2 sections: 65 \u00d7 65 mm rectangular section \u2192 \u00d842.6 mm circular section. 5-sided polygon section, 36 mm across corners attachment, 28.7 mm long, from top face with a \u00d817.9 mm bore."}, "params": {"adapter_base": {"type": "float", "default": 65, "min": 39.0, "max": 97.5, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "adapter_top": {"type": "float", "default": 42.6, "min": 21.3, "max": 65, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "adapter_h": {"type": "float", "default": 34.4, "min": 13.8, "max": 68.8, "step": 1.0, "group": "Body", "label": "Transition height (mm)"}, "neck_sides": {"type": "int", "default": 5, "min": 3, "max": 8, "step": 1, "group": "Neck", "label": "Neck sides"}, "neck_r": {"type": "float", "default": 18.0, "min": 9.0, "max": 21.3, "step": 1.0, "group": "Neck", "label": "Neck circumradius (mm)"}, "neck_l": {"type": "float", "default": 28.7, "min": 11.5, "max": 71.8, "step": 1.0, "group": "Neck", "label": "Neck length (mm)"}, "neck_bore": {"type": "float", "default": 17.9, "min": 2.0, "max": 21.0, "step": 0.5, "group": "Neck", "label": "Neck bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331735 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"adapter_base\": {\"type\": 'float', \"default\": 65, \"min\": 39.0, \"max\": 97.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"adapter_top\": {\"type\": 'float', \"default\": 42.6, \"min\": 21.3, \"max\": 65, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"adapter_h\": {\"type\": 'float', \"default\": 34.4, \"min\": 13.8, \"max\": 68.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Transition height (mm)'},\n    \"neck_sides\": {\"type\": 'int', \"default\": 5, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Neck', \"label\": 'Neck sides'},\n    \"neck_r\": {\"type\": 'float', \"default\": 18.0, \"min\": 9.0, \"max\": 21.3, \"step\": 1.0, \"group\": 'Neck', \"label\": 'Neck circumradius (mm)'},\n    \"neck_l\": {\"type\": 'float', \"default\": 28.7, \"min\": 11.5, \"max\": 71.8, \"step\": 1.0, \"group\": 'Neck', \"label\": 'Neck length (mm)'},\n    \"neck_bore\": {\"type\": 'float', \"default\": 17.9, \"min\": 2.0, \"max\": 21.0, \"step\": 0.5, \"group\": 'Neck', \"label\": 'Neck bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .rect(p[\"adapter_base\"], p[\"adapter_base\"])\n        .workplane(offset=p[\"adapter_h\"])\n        .circle(p[\"adapter_top\"] / 2)\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"neck_sides\"], p[\"neck_r\"] * 2).extrude(p[\"neck_l\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"neck_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462ca818_3172", "family": "enclosure", "tier": 2, "seed": 1177331736, "symmetry": "none", "op_count": 4, "ir_hash": "1979c6a13cba2880", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 89200.0, "surface_area": 64200.0, "principal_moments": [153000000.0, 154000000.0, 238000000.0], "n_faces": 23, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 100 \u00d7 99.4 \u00d7 60 mm (W\u00d7D\u00d7H).", "Hollowed to 2.8 mm wall thickness, open at top face.", "Four \u00d88.4 mm holes at the corners, 70 \u00d7 69.58 mm spacing.", "Fillet radius 4.513 mm on vertical edges."], "text": "Rectangular body, 100 \u00d7 99.4 \u00d7 60 mm (W\u00d7D\u00d7H). Hollowed to 2.8 mm wall thickness, open at top face. Four \u00d88.4 mm holes at the corners, 70 \u00d7 69.58 mm spacing. Fillet radius 4.513 mm on vertical edges."}, "params": {"enc_w": {"type": "float", "default": 100, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 99.4, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 60.0, "min": 24.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 2.8, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}, "hole_d": {"type": "float", "default": 8.4, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331736 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 100, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 99.4, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 60.0, \"min\": 24.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 2.8, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"enc_w\"] * 0.7, p[\"enc_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"enc_w\"], p[\"enc_d\"]) * 0.04540422504399173)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462ca819_3173", "family": "flanged", "tier": 1, "seed": 1177331737, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "83c8ff80590ff024", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 17500.0, "surface_area": 7820.0, "principal_moments": [2890000.0, 2890000.0, 4300000.0], "n_faces": 17, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Revolved body, \u00d830.68 mm \u00d7 20.8 mm tall with \u00d812.7 mm bore, \u00d855.7 mm \u00d7 3.1 mm flange.", "Six \u00d84.3 mm holes on a \u00d833.4 mm bolt circle."], "text": "Revolved body, \u00d830.68 mm \u00d7 20.8 mm tall with \u00d812.7 mm bore, \u00d855.7 mm \u00d7 3.1 mm flange. Six \u00d84.3 mm holes on a \u00d833.4 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 30.68, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 20.8, "min": 6.2, "max": 52.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 12.7, "min": 2.0, "max": 21.5, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 55.7, "min": 39.9, "max": 92.0, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 3.1, "min": 0.9, "max": 8.3, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 16.7, "min": 11.1, "max": 25.1, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 6, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331737 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 30.68, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 20.8, \"min\": 6.2, \"max\": 52.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 12.7, \"min\": 2.0, \"max\": 21.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 55.7, \"min\": 39.9, \"max\": 92.0, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 3.1, \"min\": 0.9, \"max\": 8.3, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 16.7, \"min\": 11.1, \"max\": 25.1, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca81a_3174", "family": "revolved", "tier": 2, "seed": 1177331738, "symmetry": "radial", "op_count": 2, "ir_hash": "02c0687cdee47eef", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 201000.0, "surface_area": 41200.0, "principal_moments": [67300000.0, 384000000.0, 384000000.0], "n_faces": 9, "n_edges": 14, "n_vertices": 9}, "dimensions": {"lines": ["Revolved body, \u00d847.58 mm \u00d7 174.5 mm tall with 12.94 mm-wide groove 3.27 mm deep.", "Chamfer 1.2 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d847.58 mm \u00d7 174.5 mm tall with 12.94 mm-wide groove 3.27 mm deep. Chamfer 1.2 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 47.58, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 174.5, "min": 52.4, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "groove_depth": {"type": "float", "default": 3.27, "min": 1.31, "max": 9.81, "step": 0.1, "group": "Body", "label": "Groove depth (mm)"}, "groove_w": {"type": "float", "default": 12.94, "min": 5.18, "max": 38.82, "step": 0.2, "group": "Body", "label": "Groove width (mm)"}, "groove_pos": {"type": "float", "default": 127.1, "min": 26.2, "max": 148.3, "step": 1.0, "group": "Body", "label": "Groove position (mm)"}, "end_chamfer": {"type": "float", "default": 1.2, "min": 0.1, "max": 3.6, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331738 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 47.58, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 174.5, \"min\": 52.4, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"groove_depth\": {\"type\": 'float', \"default\": 3.27, \"min\": 1.31, \"max\": 9.81, \"step\": 0.1, \"group\": 'Body', \"label\": 'Groove depth (mm)'},\n    \"groove_w\": {\"type\": 'float', \"default\": 12.94, \"min\": 5.18, \"max\": 38.82, \"step\": 0.2, \"group\": 'Body', \"label\": 'Groove width (mm)'},\n    \"groove_pos\": {\"type\": 'float', \"default\": 127.1, \"min\": 26.2, \"max\": 148.3, \"step\": 1.0, \"group\": 'Body', \"label\": 'Groove position (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 1.2, \"min\": 0.1, \"max\": 3.6, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"groove_pos\"] - p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2 - p[\"groove_depth\"], p[\"groove_pos\"] - p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2 - p[\"groove_depth\"], p[\"groove_pos\"] + p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2, p[\"groove_pos\"] + p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462ca81b_3175", "family": "gear", "tier": 0, "seed": 1177331739, "symmetry": "none", "op_count": 1, "ir_hash": "10a809096d49076e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 783000.0, "surface_area": 79300.0, "principal_moments": [1390000000.0, 1390000000.0, 2580000000.0], "n_faces": 164, "n_edges": 486, "n_vertices": 324}, "dimensions": {"lines": ["Spur gear, module 6 mm, 27 teeth (pitch \u00d8162 mm), face width 38.4 mm."], "text": "Spur gear, module 6 mm, 27 teeth (pitch \u00d8162 mm), face width 38.4 mm."}, "params": {"module": {"type": "float", "default": 6.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 27, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 38.4, "min": 15.4, "max": 96.0, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331739 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 6.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 27, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 38.4, \"min\": 15.4, \"max\": 96.0, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca81c_3176", "family": "block", "tier": 3, "seed": 1177331740, "symmetry": "none", "op_count": 4, "ir_hash": "db7d62222d8d6ba8", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 252000.0, "surface_area": 46200.0, "principal_moments": [173000000.0, 249000000.0, 341000000.0], "n_faces": 27, "n_edges": 72, "n_vertices": 48}, "dimensions": {"lines": ["Rectangular body, 75 \u00d7 42.2 \u00d7 100 mm (W\u00d7D\u00d7H).", "Four 6.4 mm square holes at the corners, 52.5 \u00d7 29.54 mm spacing.", "Pocket 33 \u00d7 26.7 mm, 54.5 mm deep, in top face.", "Fillet radius 2.27 mm on vertical edges (optional, off by default)."], "text": "Rectangular body, 75 \u00d7 42.2 \u00d7 100 mm (W\u00d7D\u00d7H). Four 6.4 mm square holes at the corners, 52.5 \u00d7 29.54 mm spacing. Pocket 33 \u00d7 26.7 mm, 54.5 mm deep, in top face. Fillet radius 2.27 mm on vertical edges (optional, off by default)."}, "params": {"block_w": {"type": "float", "default": 75, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 42.2, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 100.0, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 12.3, "step": 0.5, "group": "Holes", "label": "Square hole size (mm)"}, "pocket_w": {"type": "float", "default": 33.0, "min": 16.5, "max": 60.0, "step": 1.0, "group": "Pocket", "label": "Pocket width (mm)"}, "pocket_d": {"type": "float", "default": 26.7, "min": 13.3, "max": 33.8, "step": 1.0, "group": "Pocket", "label": "Pocket depth (mm)"}, "pocket_h": {"type": "float", "default": 54.5, "min": 21.8, "max": 85.0, "step": 0.5, "group": "Pocket", "label": "Pocket height (mm)"}, "filleted2": {"type": "bool", "default": false, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331740 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 75, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 42.2, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 100.0, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 12.3, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Square hole size (mm)'},\n    \"pocket_w\": {\"type\": 'float', \"default\": 33.0, \"min\": 16.5, \"max\": 60.0, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket width (mm)'},\n    \"pocket_d\": {\"type\": 'float', \"default\": 26.7, \"min\": 13.3, \"max\": 33.8, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket depth (mm)'},\n    \"pocket_h\": {\"type\": 'float', \"default\": 54.5, \"min\": 21.8, \"max\": 85.0, \"step\": 0.5, \"group\": 'Pocket', \"label\": 'Pocket height (mm)'},\n    \"filleted2\": {\"type\": 'bool', \"default\": False, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().rect(p[\"hole_d\"], p[\"hole_d\"]).cutThruAll()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"pocket_w\"], p[\"pocket_d\"])\n        .cutBlind(-p[\"pocket_h\"])\n    )\n    if p[\"filleted2\"]:\n        result = result.edges('|Z').fillet(min(p[\"block_w\"], p[\"block_d\"]) * 0.05378710622250335)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462ca81d_3177", "family": "lofted", "tier": 1, "seed": 1177331741, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "39a35d46954c6483", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 27700.0, "surface_area": 7050.0, "principal_moments": [4960000.0, 4980000.0, 6320000.0], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["Lofted body through 2 sections: 6-sided polygon section, 45 mm across corners \u2192 32.7 \u00d7 32.7 mm rectangular section.", "One \u00d816.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 2 sections: 6-sided polygon section, 45 mm across corners \u2192 32.7 \u00d7 32.7 mm rectangular section. One \u00d816.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 45, "min": 22.5, "max": 72.0, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 32.7, "min": 13.1, "max": 54.0, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 28.1, "min": 11.2, "max": 56.2, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_bore_d": {"type": "float", "default": 16.3, "min": 2.0, "max": 26.2, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331741 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 45, \"min\": 22.5, \"max\": 72.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 32.7, \"min\": 13.1, \"max\": 54.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 28.1, \"min\": 11.2, \"max\": 56.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 16.3, \"min\": 2.0, \"max\": 26.2, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .polygon(6, p[\"loft_base\"] * 0.5 * 2)\n        .workplane(offset=p[\"loft_h\"])\n        .rect(p[\"loft_top\"], p[\"loft_top\"])\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca81e_3178", "family": "plate", "tier": 0, "seed": 1177331742, "symmetry": "none", "op_count": 1, "ir_hash": "50161d61a706e6f3", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 12600.0, "surface_area": 4510.0, "principal_moments": [802000.0, 3740000.0, 4410000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 59.26 \u00d7 26.5 \u00d7 8 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 59.26 \u00d7 26.5 \u00d7 8 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 59.26, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 26.5, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331742 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 59.26, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 26.5, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462ca81f_3179", "family": "flanged", "tier": 1, "seed": 1177331743, "symmetry": "radial", "op_count": 2, "ir_hash": "fe7c8b6d1b0dc3e1", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 401000.0, "surface_area": 53000.0, "principal_moments": [477000000.0, 477000000.0, 561000000.0], "n_faces": 17, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Revolved body, \u00d876.45 mm \u00d7 72.2 mm tall with \u00d826.8 mm bore, \u00d8129.7 mm \u00d7 13.6 mm flange.", "Six \u00d86.4 mm holes on a \u00d877.8 mm bolt circle."], "text": "Revolved body, \u00d876.45 mm \u00d7 72.2 mm tall with \u00d826.8 mm bore, \u00d8129.7 mm \u00d7 13.6 mm flange. Six \u00d86.4 mm holes on a \u00d877.8 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 76.45, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 72.2, "min": 21.7, "max": 180.5, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 26.8, "min": 2.0, "max": 53.5, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 129.7, "min": 99.4, "max": 229.4, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 13.6, "min": 4.1, "max": 28.9, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 38.9, "min": 25.9, "max": 58.4, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 6, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331743 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 76.45, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 72.2, \"min\": 21.7, \"max\": 180.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 26.8, \"min\": 2.0, \"max\": 53.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 129.7, \"min\": 99.4, \"max\": 229.4, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 13.6, \"min\": 4.1, \"max\": 28.9, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 38.9, \"min\": 25.9, \"max\": 58.4, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca820_3180", "family": "plate", "tier": 1, "seed": 1177331744, "symmetry": "none", "op_count": 2, "ir_hash": "150a6df1a56c9732", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 59700.0, "surface_area": 15700.0, "principal_moments": [18500000.0, 49999999.99999999, 67500000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 100 \u00d7 60.3 \u00d7 10 mm (W\u00d7D\u00d7H).", "Four \u00d84.3 mm holes at the corners, 70 \u00d7 42.21 mm spacing."], "text": "Rectangular body, 100 \u00d7 60.3 \u00d7 10 mm (W\u00d7D\u00d7H). Four \u00d84.3 mm holes at the corners, 70 \u00d7 42.21 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 100, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 60.3, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331744 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 100, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 60.3, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca821_3181", "family": "block", "tier": 2, "seed": 1177331745, "symmetry": "none", "op_count": 3, "ir_hash": "4a83072fdb5992cb", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 22300.0, "surface_area": 6170.0, "principal_moments": [2190000.0, 3820000.0, 3970000.0], "n_faces": 42, "n_edges": 120, "n_vertices": 80}, "dimensions": {"lines": ["Rectangular body, 39.49 \u00d7 23.8 \u00d7 25.1 mm (W\u00d7D\u00d7H).", "Four 3.8 mm square holes at the corners, 27.643 \u00d7 16.66 mm spacing.", "Fillet radius 1.422 mm on vertical edges."], "text": "Rectangular body, 39.49 \u00d7 23.8 \u00d7 25.1 mm (W\u00d7D\u00d7H). Four 3.8 mm square holes at the corners, 27.643 \u00d7 16.66 mm spacing. Fillet radius 1.422 mm on vertical edges."}, "params": {"block_w": {"type": "float", "default": 39.49, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 23.8, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 25.1, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 3.8, "min": 2.0, "max": 7.0, "step": 0.5, "group": "Holes", "label": "Square hole size (mm)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331745 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 39.49, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 23.8, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 25.1, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.8, \"min\": 2.0, \"max\": 7.0, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Square hole size (mm)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().rect(p[\"hole_d\"], p[\"hole_d\"]).cutThruAll()\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"block_w\"], p[\"block_d\"]) * 0.05975901140257556)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca822_3182", "family": "revolved", "tier": 1, "seed": 1177331746, "symmetry": "none", "op_count": 1, "ir_hash": "2c4d3546ec8d6d54", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 331.0, "surface_area": 483.0, "principal_moments": [1860.0, 7640.0, 7640.0], "n_faces": 4, "n_edges": 6, "n_vertices": 4}, "dimensions": {"lines": ["Revolved body, \u00d86 mm \u00d7 15.6 mm tall with \u00d83 mm bore."], "text": "Revolved body, \u00d86 mm \u00d7 15.6 mm tall with \u00d83 mm bore."}, "params": {"outer_d": {"type": "float", "default": 6.0, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 15.6, "min": 4.7, "max": 46.8, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 3.0, "min": 2.0, "max": 4.2, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331746 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 6.0, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 15.6, \"min\": 4.7, \"max\": 46.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 3.0, \"min\": 2.0, \"max\": 4.2, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca823_3183", "family": "revolved", "tier": 0, "seed": 1177331747, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "a6d2bf1728edb003", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 118000.0, "surface_area": 22900.0, "principal_moments": [48399999.99999999, 72800000.0, 72800000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d852.18 mm \u00d7 83.1 mm tall."], "text": "Revolved body, \u00d852.18 mm \u00d7 83.1 mm tall."}, "params": {"outer_d": {"type": "float", "default": 52.18, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 83.1, "min": 24.9, "max": 249.3, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331747 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 52.18, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 83.1, \"min\": 24.9, \"max\": 249.3, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca824_3184", "family": "block", "tier": 1, "seed": 1177331748, "symmetry": "radial", "op_count": 2, "ir_hash": "71d2eb28fd7126a3", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 34900.0, "surface_area": 11200.0, "principal_moments": [4440000.0, 9990000.0, 10200000.0], "n_faces": 14, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 27.79 \u00d7 26.4 \u00d7 52.1 mm (W\u00d7D\u00d7H).", "Eight \u00d83.2 mm holes on a \u00d816.6 mm bolt circle."], "text": "Rectangular body, 27.79 \u00d7 26.4 \u00d7 52.1 mm (W\u00d7D\u00d7H). Eight \u00d83.2 mm holes on a \u00d816.6 mm bolt circle."}, "params": {"block_w": {"type": "float", "default": 27.79, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 26.4, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 52.1, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "bolt_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 8.3, "min": 5.6, "max": 12.5, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 8, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331748 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 27.79, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 26.4, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 52.1, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 8.3, \"min\": 5.6, \"max\": 12.5, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca825_3185", "family": "revolved", "tier": 1, "seed": 1177331749, "symmetry": "radial", "op_count": 1, "ir_hash": "ac608b0b15a145dd", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 445000.0, "surface_area": 51600.0, "principal_moments": [203000000.0, 1510000000.0, 1510000000.0], "n_faces": 4, "n_edges": 6, "n_vertices": 4}, "dimensions": {"lines": ["Revolved body, \u00d857.28 mm \u00d7 195.1 mm tall with \u00d819.4 mm bore."], "text": "Revolved body, \u00d857.28 mm \u00d7 195.1 mm tall with \u00d819.4 mm bore."}, "params": {"outer_d": {"type": "float", "default": 57.28, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 195.1, "min": 58.5, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 19.4, "min": 2.0, "max": 40.1, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331749 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 57.28, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 195.1, \"min\": 58.5, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 19.4, \"min\": 2.0, \"max\": 40.1, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462ca826_3186", "family": "gear", "tier": 2, "seed": 1177331750, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "03848faa36b7b7db", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 108000.0, "surface_area": 19000.0, "principal_moments": [51399999.99999999, 51399999.99999999, 95099999.99999999], "n_faces": 103, "n_edges": 303, "n_vertices": 202}, "dimensions": {"lines": ["Spur gear, module 4 mm, 20 teeth (pitch \u00d880 mm), face width 20.6 mm, \u00d812.6 mm bore."], "text": "Spur gear, module 4 mm, 20 teeth (pitch \u00d880 mm), face width 20.6 mm, \u00d812.6 mm bore."}, "params": {"module": {"type": "float", "default": 4.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 20, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 20.6, "min": 8.2, "max": 51.5, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "profile_shift": {"type": "float", "default": 0.08, "min": -0.5, "max": 0.7, "step": 0.05, "group": "Gear", "label": "Profile shift"}, "root_fillet": {"type": "float", "default": 1.01, "min": 0.0, "max": 2.0, "step": 0.05, "group": "Gear", "label": "Root fillet (mm)"}, "bore_d": {"type": "float", "default": 12.6, "min": 2.0, "max": 42.0, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331750 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 4.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 20, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 20.6, \"min\": 8.2, \"max\": 51.5, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"profile_shift\": {\"type\": 'float', \"default\": 0.08, \"min\": -0.5, \"max\": 0.7, \"step\": 0.05, \"group\": 'Gear', \"label\": 'Profile shift'},\n    \"root_fillet\": {\"type\": 'float', \"default\": 1.01, \"min\": 0.0, \"max\": 2.0, \"step\": 0.05, \"group\": 'Gear', \"label\": 'Root fillet (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 12.6, \"min\": 2.0, \"max\": 42.0, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"], profile_shift=p[\"profile_shift\"], root_fillet=p[\"root_fillet\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462ca827_3187", "family": "flanged", "tier": 1, "seed": 1177331751, "symmetry": "none", "op_count": 2, "ir_hash": "8b246cb85f06c2a3", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 14800.0, "surface_area": 7570.0, "principal_moments": [2110000.0, 2890000.0, 2890000.0], "n_faces": 17, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Revolved body, \u00d825 mm \u00d7 35.2 mm tall with \u00d812 mm bore, \u00d846.9 mm \u00d7 2.5 mm flange.", "Six \u00d86.4 mm holes on a \u00d828.2 mm bolt circle."], "text": "Revolved body, \u00d825 mm \u00d7 35.2 mm tall with \u00d812 mm bore, \u00d846.9 mm \u00d7 2.5 mm flange. Six \u00d86.4 mm holes on a \u00d828.2 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 25, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 35.2, "min": 10.6, "max": 88.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 12.0, "min": 2.0, "max": 17.5, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 46.9, "min": 32.5, "max": 75.0, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 2.5, "min": 0.8, "max": 14.1, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 14.1, "min": 9.4, "max": 21.1, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 6, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331751 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 25, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 35.2, \"min\": 10.6, \"max\": 88.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 17.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 46.9, \"min\": 32.5, \"max\": 75.0, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 2.5, \"min\": 0.8, \"max\": 14.1, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 14.1, \"min\": 9.4, \"max\": 21.1, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca828_3188", "family": "compound", "tier": 1, "seed": 1177331752, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "db1fd02890bc1b6b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 33800.0, "surface_area": 8220.0, "principal_moments": [4240000.0, 9500000.0, 9500000.0], "n_faces": 6, "n_edges": 9, "n_vertices": 6}, "dimensions": {"lines": ["\u00d832.04 mm circular section, extruded 39.9 mm thick.", "\u00d815.4 mm circular section attachment, 24.2 mm long, from top face with a \u00d87.5 mm bore."], "text": "\u00d832.04 mm circular section, extruded 39.9 mm thick. \u00d815.4 mm circular section attachment, 24.2 mm long, from top face with a \u00d87.5 mm bore."}, "params": {"shaft_d": {"type": "float", "default": 32.04, "min": 16.0, "max": 57.7, "step": 1.0, "group": "Body", "label": "Shaft diameter (mm)"}, "shaft_len": {"type": "float", "default": 39.9, "min": 16.0, "max": 79.8, "step": 1.0, "group": "Body", "label": "Shaft length (mm)"}, "step_d": {"type": "float", "default": 15.4, "min": 7.7, "max": 28.8, "step": 1.0, "group": "Step", "label": "Step diameter (mm)"}, "step_len": {"type": "float", "default": 24.2, "min": 7.3, "max": 60.5, "step": 1.0, "group": "Step", "label": "Step length (mm)"}, "axial_bore": {"type": "float", "default": 7.5, "min": 2.0, "max": 11.1, "step": 0.5, "group": "Bore", "label": "Axial bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331752 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"shaft_d\": {\"type\": 'float', \"default\": 32.04, \"min\": 16.0, \"max\": 57.7, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft diameter (mm)'},\n    \"shaft_len\": {\"type\": 'float', \"default\": 39.9, \"min\": 16.0, \"max\": 79.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft length (mm)'},\n    \"step_d\": {\"type\": 'float', \"default\": 15.4, \"min\": 7.7, \"max\": 28.8, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step diameter (mm)'},\n    \"step_len\": {\"type\": 'float', \"default\": 24.2, \"min\": 7.3, \"max\": 60.5, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step length (mm)'},\n    \"axial_bore\": {\"type\": 'float', \"default\": 7.5, \"min\": 2.0, \"max\": 11.1, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Axial bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').circle(p[\"shaft_d\"] / 2).extrude(p[\"shaft_len\"]))\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"step_d\"] / 2).extrude(p[\"step_len\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"axial_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca829_3189", "family": "compound", "tier": 1, "seed": 1177331753, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "2d8ce38af2ab950e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 11400.0, "surface_area": 3530.0, "principal_moments": [727000.0, 1250000.0, 1550000.0], "n_faces": 12, "n_edges": 27, "n_vertices": 18}, "dimensions": {"lines": ["Rectangular body, 23.34 \u00d7 32.3 \u00d7 15 mm (W\u00d7D\u00d7H).", "10.2 \u00d7 4.2 mm slot section attachment, 5 mm long, from back face with a \u00d82 mm bore."], "text": "Rectangular body, 23.34 \u00d7 32.3 \u00d7 15 mm (W\u00d7D\u00d7H). 10.2 \u00d7 4.2 mm slot section attachment, 5 mm long, from back face with a \u00d82 mm bore."}, "params": {"block_w": {"type": "float", "default": 23.34, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 32.3, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 15.0, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "spig_w": {"type": "float", "default": 4.2, "min": 2.1, "max": 8.4, "step": 0.5, "group": "Spigot", "label": "Spigot width (mm)"}, "spig_slot_l": {"type": "float", "default": 10.2, "min": 5.0, "max": 10.5, "step": 1.0, "group": "Spigot", "label": "Spigot slot length (mm)"}, "spig_len": {"type": "float", "default": 5.0, "min": 1.3, "max": 16.8, "step": 1.0, "group": "Spigot", "label": "Spigot length (mm)"}, "spig_bore": {"type": "float", "default": 2.0, "min": 2.0, "max": 3.0, "step": 0.5, "group": "Spigot", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331753 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 23.34, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 32.3, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 15.0, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"spig_w\": {\"type\": 'float', \"default\": 4.2, \"min\": 2.1, \"max\": 8.4, \"step\": 0.5, \"group\": 'Spigot', \"label\": 'Spigot width (mm)'},\n    \"spig_slot_l\": {\"type\": 'float', \"default\": 10.2, \"min\": 5.0, \"max\": 10.5, \"step\": 1.0, \"group\": 'Spigot', \"label\": 'Spigot slot length (mm)'},\n    \"spig_len\": {\"type\": 'float', \"default\": 5.0, \"min\": 1.3, \"max\": 16.8, \"step\": 1.0, \"group\": 'Spigot', \"label\": 'Spigot length (mm)'},\n    \"spig_bore\": {\"type\": 'float', \"default\": 2.0, \"min\": 2.0, \"max\": 3.0, \"step\": 0.5, \"group\": 'Spigot', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .slot2D(p[\"spig_slot_l\"], p[\"spig_w\"]).extrude(p[\"spig_len\"])\n    )\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"spig_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca82a_3190", "family": "block", "tier": 1, "seed": 1177331754, "symmetry": "radial", "op_count": 2, "ir_hash": "62704f81979a2510", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 310000.0, "surface_area": 43400.0, "principal_moments": [241000000.0, 293000000.0, 464000000.0], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Rectangular body, 88.94 \u00d7 37 \u00d7 100 mm (W\u00d7D\u00d7H).", "Twelve \u00d86.4 mm holes on a \u00d853.4 mm bolt circle."], "text": "Rectangular body, 88.94 \u00d7 37 \u00d7 100 mm (W\u00d7D\u00d7H). Twelve \u00d86.4 mm holes on a \u00d853.4 mm bolt circle."}, "params": {"block_w": {"type": "float", "default": 88.94, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 37.0, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 100.0, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "bolt_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 26.7, "min": 17.8, "max": 40.0, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 12, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331754 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 88.94, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 37.0, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 100.0, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 26.7, \"min\": 17.8, \"max\": 40.0, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 12, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462ca82b_3191", "family": "gear", "tier": 1, "seed": 1177331755, "symmetry": "none", "op_count": 1, "ir_hash": "32a0d9593686416d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 441000.0, "surface_area": 70800.0, "principal_moments": [924000000.0, 924000000.0, 1820000000.0], "n_faces": 219, "n_edges": 651, "n_vertices": 434}, "dimensions": {"lines": ["Spur gear, module 5 mm, 36 teeth (pitch \u00d8180 mm), face width 17.8 mm, \u00d824.9 mm bore."], "text": "Spur gear, module 5 mm, 36 teeth (pitch \u00d8180 mm), face width 17.8 mm, \u00d824.9 mm bore."}, "params": {"module": {"type": "float", "default": 5.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 36, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 17.8, "min": 7.1, "max": 44.5, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "bore_d": {"type": "float", "default": 24.9, "min": 2.0, "max": 100.5, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331755 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 5.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 36, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 17.8, \"min\": 7.1, \"max\": 44.5, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 24.9, \"min\": 2.0, \"max\": 100.5, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462ca82c_3192", "family": "enclosure", "tier": 1, "seed": 1177331756, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "4fe372a4ab44228a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 14600.0, "surface_area": 8680.0, "principal_moments": [2090000.0, 4710000.0, 5300000.0], "n_faces": 11, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 50 \u00d7 26.9 \u00d7 23.1 mm (W\u00d7D\u00d7H).", "Hollowed to 3.6 mm wall thickness, open at top face."], "text": "Rectangular body, 50 \u00d7 26.9 \u00d7 23.1 mm (W\u00d7D\u00d7H). Hollowed to 3.6 mm wall thickness, open at top face."}, "params": {"enc_w": {"type": "float", "default": 50, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 26.9, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 23.1, "min": 9.2, "max": 46.2, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 3.6, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331756 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 50, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 26.9, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 23.1, \"min\": 9.2, \"max\": 46.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 3.6, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462ca82d_3193", "family": "profiled", "tier": 2, "seed": 1177331757, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "c975d043ab0f8be2", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 90000.0, "surface_area": 14100.0, "principal_moments": [12699999.999999998, 91399999.99999999, 91399999.99999999], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["4-sided polygon section, 41.1 mm across corners, extruded 106.5 mm thick."], "text": "4-sided polygon section, 41.1 mm across corners, extruded 106.5 mm thick."}, "params": {"circ_r": {"type": "float", "default": 20.55, "min": 10.3, "max": 41.1, "step": 1.0, "group": "Profile", "label": "Circumscribed radius (mm)"}, "n_sides": {"type": "int", "default": 4, "min": 3, "max": 8, "step": 1, "group": "Profile", "label": "Sides"}, "length": {"type": "float", "default": 106.5, "min": 31.9, "max": 319.5, "step": 5.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331757 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"circ_r\": {\"type\": 'float', \"default\": 20.55, \"min\": 10.3, \"max\": 41.1, \"step\": 1.0, \"group\": 'Profile', \"label\": 'Circumscribed radius (mm)'},\n    \"n_sides\": {\"type\": 'int', \"default\": 4, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Profile', \"label\": 'Sides'},\n    \"length\": {\"type\": 'float', \"default\": 106.5, \"min\": 31.9, \"max\": 319.5, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').polygon(p[\"n_sides\"], p[\"circ_r\"] * 2).extrude(p[\"length\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca82e_3194", "family": "plate", "tier": 3, "seed": 1177331758, "symmetry": "none", "op_count": 4, "ir_hash": "91ef1f747df18438", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 59300.0, "surface_area": 16300.0, "principal_moments": [19600000.0, 44100000.0, 62299999.99999999], "n_faces": 22, "n_edges": 58, "n_vertices": 38}, "dimensions": {"lines": ["Rectangular body, 95 \u00d7 62.2 \u00d7 10 mm (W\u00d7D\u00d7H).", "Nine \u00d84.3 mm holes in two staggered rows, 17.8 \u00d7 15.1 mm pitch.", "Chamfer 2.7 mm on vertical edges.", "Boss \u00d813.3 mm \u00d7 11.9 mm tall on top face."], "text": "Rectangular body, 95 \u00d7 62.2 \u00d7 10 mm (W\u00d7D\u00d7H). Nine \u00d84.3 mm holes in two staggered rows, 17.8 \u00d7 15.1 mm pitch. Chamfer 2.7 mm on vertical edges. Boss \u00d813.3 mm \u00d7 11.9 mm tall on top face."}, "params": {"plate_w": {"type": "float", "default": 95, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 62.2, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 6.2, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 5, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}, "chamfer_d": {"type": "float", "default": 2.7, "min": 2.5, "max": 4.2, "step": 0.5, "group": "Body", "label": "Chamfer distance (mm)"}, "chamfered": {"type": "bool", "default": true, "group": "Body", "label": "Chamfer edges"}, "boss_d": {"type": "float", "default": 13.3, "min": 6.7, "max": 26.6, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 11.9, "min": 4.8, "max": 29.8, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331758 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 95, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 62.2, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 6.2, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 5, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n    \"chamfer_d\": {\"type\": 'float', \"default\": 2.7, \"min\": 2.5, \"max\": 4.2, \"step\": 0.5, \"group\": 'Body', \"label\": 'Chamfer distance (mm)'},\n    \"chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Chamfer edges'},\n    \"boss_d\": {\"type\": 'float', \"default\": 13.3, \"min\": 6.7, \"max\": 26.6, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 11.9, \"min\": 4.8, \"max\": 29.8, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 17.8\n    _ssy = 15.1\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    if p[\"chamfered\"]:\n        result = result.edges('|Z').chamfer(p[\"chamfer_d\"])\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca82f_3195", "family": "bracket", "tier": 1, "seed": 1177331759, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "0a1608db8cecc468", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 36900.0, "surface_area": 20300.0, "principal_moments": [23399999.999999996, 28499999.999999996, 33299999.999999996], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["C-channel bracket: base leg 55 mm, vertical leg 60.5 mm, 55 mm wide, 4 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."], "text": "C-channel bracket: base leg 55 mm, vertical leg 60.5 mm, 55 mm wide, 4 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 55, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 60.5, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 55, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 4.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331759 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 55, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 60.5, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 55, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca830_3196", "family": "bracket", "tier": 1, "seed": 1177331760, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "9a64c0d4935fc088", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 4340.0, "surface_area": 3590.0, "principal_moments": [424000.0, 1200000.0, 1320000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["L-bracket: base leg 40 mm, vertical leg 38.6 mm, 20 mm wide, 3 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."], "text": "L-bracket: base leg 40 mm, vertical leg 38.6 mm, 20 mm wide, 3 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 40, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 38.6, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 20, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 3.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 8.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331760 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 40, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 38.6, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 20, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 8.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462ca831_3197", "family": "threaded", "tier": 3, "seed": 1177331761, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "35cf71b432ef68ec", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 5360.0, "surface_area": 3650.0, "principal_moments": [79300.0, 1690000.0, 1690000.0], "n_faces": 210, "n_edges": 540, "n_vertices": 332}, "dimensions": {"lines": ["Tr 12x3 external thread, 61.5 mm long."], "text": "Tr 12x3 external thread, 61.5 mm long."}, "params": {"thread_size": {"type": "enum", "default": "12x3", "choices": ["8x1.5", "10x2", "12x3", "14x3", "16x4", "18x4", "20x4", "24x5", "28x5", "30x6", "36x6", "40x7"], "group": "Thread", "label": "Size designation"}, "thread_len": {"type": "float", "default": 61.5, "min": 24.6, "max": 123.0, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331761 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"thread_size\": {\"type\": 'enum', \"default\": '12x3', \"choices\": ['8x1.5', '10x2', '12x3', '14x3', '16x4', '18x4', '20x4', '24x5', '28x5', '30x6', '36x6', '40x7'], \"group\": 'Thread', \"label\": 'Size designation'},\n    \"thread_len\": {\"type\": 'float', \"default\": 61.5, \"min\": 24.6, \"max\": 123.0, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.MetricTrapezoidalThread(size=p[\"thread_size\"], length=p[\"thread_len\"], external=True, end_finishes=(\"fade\", \"fade\"))\n    _r = _thr.min_radius if hasattr(_thr, 'min_radius') else _thr.root_radius\n    _shank = _bd.Cylinder(radius=_r, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = _shank + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462ca832_3198", "family": "ribbed", "tier": 2, "seed": 1177331762, "symmetry": "none", "op_count": 3, "ir_hash": "19ace1a40ee8a862", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 25000.0, "surface_area": 11200.0, "principal_moments": [6570000.0, 9490000.0, 15299999.999999998], "n_faces": 20, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 61.07 \u00d7 58.1 \u00d7 6 mm (W\u00d7D\u00d7H).", "Two ribs, 6 mm thick, 10.6 mm tall.", "Four \u00d88.4 mm holes at the corners, 42.749 \u00d7 40.67 mm spacing."], "text": "Rectangular body, 61.07 \u00d7 58.1 \u00d7 6 mm (W\u00d7D\u00d7H). Two ribs, 6 mm thick, 10.6 mm tall. Four \u00d88.4 mm holes at the corners, 42.749 \u00d7 40.67 mm spacing."}, "params": {"base_w": {"type": "float", "default": 61.07, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 58.1, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 6.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 2, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 10.6, "min": 4.2, "max": 21.2, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 6.0, "min": 1.0, "max": 15.0, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}, "hole_d": {"type": "float", "default": 8.4, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331762 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 61.07, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 58.1, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 2, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 10.6, \"min\": 4.2, \"max\": 21.2, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 1.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"base_w\"] * 0.7, p[\"base_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca833_3199", "family": "plate", "tier": 1, "seed": 1177331763, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "a43e8e9766300470", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 1370.0, "surface_area": 1080.0, "principal_moments": [14200.0, 94600.0, 103000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 28.69 \u00d7 10.1 \u00d7 5 mm (W\u00d7D\u00d7H).", "Four \u00d82.2 mm holes at the corners, 20.083 \u00d7 7.07 mm spacing."], "text": "Rectangular body, 28.69 \u00d7 10.1 \u00d7 5 mm (W\u00d7D\u00d7H). Four \u00d82.2 mm holes at the corners, 20.083 \u00d7 7.07 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 28.69, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 10.1, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 5.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 2.2, "min": 2.0, "max": 2.3, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331763 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 28.69, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 10.1, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 5.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 2.2, \"min\": 2.0, \"max\": 2.3, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca834_3200", "family": "plate", "tier": 0, "seed": 1177331764, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "f3c051944540065d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 24600.0, "surface_area": 6970.0, "principal_moments": [3130000.0, 8860000.0, 11599999.999999998], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 65 \u00d7 37.8 \u00d7 10 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 65 \u00d7 37.8 \u00d7 10 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 65, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 37.8, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331764 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 65, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 37.8, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca835_3201", "family": "compound", "tier": 3, "seed": 1177331765, "symmetry": "none", "op_count": 2, "ir_hash": "1446821376c936cd", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 3420.0, "surface_area": 1620.0, "principal_moments": [140000.0, 193000.0, 194000.0], "n_faces": 9, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["5-sided polygon section, 23.88 mm across corners, extruded 6.9 mm thick.", "\u00d89.5 mm circular section attachment, 15.3 mm long, from top face."], "text": "5-sided polygon section, 23.88 mm across corners, extruded 6.9 mm thick. \u00d89.5 mm circular section attachment, 15.3 mm long, from top face."}, "params": {"base_sides": {"type": "int", "default": 5, "min": 3, "max": 8, "step": 1, "group": "Base", "label": "Base sides"}, "base_r": {"type": "float", "default": 11.94, "min": 7.2, "max": 19.1, "step": 1.0, "group": "Base", "label": "Base circumradius (mm)"}, "base_h": {"type": "float", "default": 6.9, "min": 2.8, "max": 17.2, "step": 1.0, "group": "Base", "label": "Base height (mm)"}, "col_d": {"type": "float", "default": 9.5, "min": 4.8, "max": 15.5, "step": 1.0, "group": "Column", "label": "Column diameter (mm)"}, "col_h": {"type": "float", "default": 15.3, "min": 4.6, "max": 38.2, "step": 1.0, "group": "Column", "label": "Column height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331765 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_sides\": {\"type\": 'int', \"default\": 5, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Base', \"label\": 'Base sides'},\n    \"base_r\": {\"type\": 'float', \"default\": 11.94, \"min\": 7.2, \"max\": 19.1, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base circumradius (mm)'},\n    \"base_h\": {\"type\": 'float', \"default\": 6.9, \"min\": 2.8, \"max\": 17.2, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base height (mm)'},\n    \"col_d\": {\"type\": 'float', \"default\": 9.5, \"min\": 4.8, \"max\": 15.5, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column diameter (mm)'},\n    \"col_h\": {\"type\": 'float', \"default\": 15.3, \"min\": 4.6, \"max\": 38.2, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').polygon(p[\"base_sides\"], p[\"base_r\"] * 2).extrude(p[\"base_h\"]))\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"col_d\"] / 2).extrude(p[\"col_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca836_3202", "family": "revolved", "tier": 0, "seed": 1177331766, "symmetry": "none", "op_count": 1, "ir_hash": "6949f98dcb09b154", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 29900.0, "surface_area": 9720.0, "principal_moments": [4070000.0, 9050000.0, 9050000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d830.12 mm \u00d7 62.9 mm tall."], "text": "Revolved body, \u00d830.12 mm \u00d7 62.9 mm tall."}, "params": {"outer_d": {"type": "float", "default": 30.12, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 62.9, "min": 18.9, "max": 188.7, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331766 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 30.12, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 62.9, \"min\": 18.9, \"max\": 188.7, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca837_3203", "family": "compound", "tier": 1, "seed": 1177331767, "symmetry": "none", "op_count": 2, "ir_hash": "d72ab58e98e054c5", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 10500.0, "surface_area": 4160.0, "principal_moments": [515000.0, 1920000.0, 1920000.0], "n_faces": 6, "n_edges": 9, "n_vertices": 6}, "dimensions": {"lines": ["\u00d820 mm circular section, extruded 30.2 mm thick.", "\u00d812.5 mm circular section attachment, 19.5 mm long, from top face with a \u00d85.9 mm bore."], "text": "\u00d820 mm circular section, extruded 30.2 mm thick. \u00d812.5 mm circular section attachment, 19.5 mm long, from top face with a \u00d85.9 mm bore."}, "params": {"shaft_d": {"type": "float", "default": 20, "min": 10.0, "max": 36.0, "step": 1.0, "group": "Body", "label": "Shaft diameter (mm)"}, "shaft_len": {"type": "float", "default": 30.2, "min": 12.1, "max": 60.4, "step": 1.0, "group": "Body", "label": "Shaft length (mm)"}, "step_d": {"type": "float", "default": 12.5, "min": 6.2, "max": 18.0, "step": 1.0, "group": "Step", "label": "Step diameter (mm)"}, "step_len": {"type": "float", "default": 19.5, "min": 5.8, "max": 48.8, "step": 1.0, "group": "Step", "label": "Step length (mm)"}, "axial_bore": {"type": "float", "default": 5.9, "min": 2.0, "max": 9.0, "step": 0.5, "group": "Bore", "label": "Axial bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331767 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"shaft_d\": {\"type\": 'float', \"default\": 20, \"min\": 10.0, \"max\": 36.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft diameter (mm)'},\n    \"shaft_len\": {\"type\": 'float', \"default\": 30.2, \"min\": 12.1, \"max\": 60.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft length (mm)'},\n    \"step_d\": {\"type\": 'float', \"default\": 12.5, \"min\": 6.2, \"max\": 18.0, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step diameter (mm)'},\n    \"step_len\": {\"type\": 'float', \"default\": 19.5, \"min\": 5.8, \"max\": 48.8, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step length (mm)'},\n    \"axial_bore\": {\"type\": 'float', \"default\": 5.9, \"min\": 2.0, \"max\": 9.0, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Axial bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').circle(p[\"shaft_d\"] / 2).extrude(p[\"shaft_len\"]))\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"step_d\"] / 2).extrude(p[\"step_len\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"axial_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462ca838_3204", "family": "ribbed", "tier": 2, "seed": 1177331768, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "cdc8ed7af42e4a47", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 9870.0, "surface_area": 4390.0, "principal_moments": [651000.0, 2070000.0, 2490000.0], "n_faces": 22, "n_edges": 52, "n_vertices": 32}, "dimensions": {"lines": ["Rectangular body, 45.59 \u00d7 22.9 \u00d7 8 mm (W\u00d7D\u00d7H).", "Two ribs, 3.2 mm thick, 6.5 mm tall."], "text": "Rectangular body, 45.59 \u00d7 22.9 \u00d7 8 mm (W\u00d7D\u00d7H). Two ribs, 3.2 mm thick, 6.5 mm tall."}, "params": {"base_w": {"type": "float", "default": 45.59, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 22.9, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 8.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 2, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 6.5, "min": 2.6, "max": 13.0, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 3.2, "min": 1.0, "max": 8.0, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331768 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 45.59, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 22.9, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 2, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 6.5, \"min\": 2.6, \"max\": 13.0, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 3.2, \"min\": 1.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462ca839_3205", "family": "threaded", "tier": 2, "seed": 1177331769, "symmetry": "none", "op_count": 1, "ir_hash": "a8d506d03793cfc3", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 7520.0, "surface_area": 4440.0, "principal_moments": [382000.0, 1180000.0, 1180000.0], "n_faces": 215, "n_edges": 785, "n_vertices": 572}, "dimensions": {"lines": ["M10x1.5 internal thread, 39.8 mm long."], "text": "M10x1.5 internal thread, 39.8 mm long."}, "params": {"major_d": {"type": "float", "default": 10.0, "min": 4.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Major diameter (mm)"}, "pitch": {"type": "float", "default": 1.5, "min": 0.75, "max": 3.0, "step": 0.05, "group": "Thread", "label": "Pitch (mm)"}, "thread_len": {"type": "float", "default": 39.8, "min": 15.9, "max": 79.6, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331769 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 10.0, \"min\": 4.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Major diameter (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.5, \"min\": 0.75, \"max\": 3.0, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Pitch (mm)'},\n    \"thread_len\": {\"type\": 'float', \"default\": 39.8, \"min\": 15.9, \"max\": 79.6, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.IsoThread(major_diameter=p[\"major_d\"], pitch=p[\"pitch\"], length=p[\"thread_len\"], external=False, end_finishes=(\"fade\", \"fade\"))\n    _body = _bd.Cylinder(radius=(p[\"major_d\"]) * 0.9, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _bore = _bd.Cylinder(radius=(p[\"major_d\"]) / 2, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = (_body - _bore) + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462ca83a_3206", "family": "enclosure", "tier": 2, "seed": 1177331770, "symmetry": "mirror_xy", "op_count": 3, "ir_hash": "ba754b747ad7f3ea", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 48600.0, "surface_area": 23600.0, "principal_moments": [26599999.999999996, 36200000.0, 54199999.99999999], "n_faces": 15, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 75 \u00d7 60.9 \u00d7 30.2 mm (W\u00d7D\u00d7H).", "Hollowed to 4.4 mm wall thickness, open at top face.", "Four \u00d85.3 mm holes at the corners, 52.5 \u00d7 42.63 mm spacing."], "text": "Rectangular body, 75 \u00d7 60.9 \u00d7 30.2 mm (W\u00d7D\u00d7H). Hollowed to 4.4 mm wall thickness, open at top face. Four \u00d85.3 mm holes at the corners, 52.5 \u00d7 42.63 mm spacing."}, "params": {"enc_w": {"type": "float", "default": 75, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 60.9, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 30.2, "min": 12.1, "max": 60.4, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 4.4, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331770 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 75, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 60.9, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 30.2, \"min\": 12.1, \"max\": 60.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 4.4, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"enc_w\"] * 0.7, p[\"enc_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca83b_3207", "family": "block", "tier": 3, "seed": 1177331771, "symmetry": "radial", "op_count": 4, "ir_hash": "ced4169b70738017", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 135000.0, "surface_area": 19600.0, "principal_moments": [55099999.99999999, 58199999.99999999, 77700000.0], "n_faces": 12, "n_edges": 27, "n_vertices": 18}, "dimensions": {"lines": ["Rectangular body, 57.81 \u00d7 40.1 \u00d7 58.5 mm (W\u00d7D\u00d7H).", "Four \u00d84.3 mm holes on a \u00d834.6 mm bolt circle.", "Boss \u00d824.1 mm \u00d7 5.8 mm tall on top face.", "Fillet radius 3.075 mm on vertical edges (optional, off by default)."], "text": "Rectangular body, 57.81 \u00d7 40.1 \u00d7 58.5 mm (W\u00d7D\u00d7H). Four \u00d84.3 mm holes on a \u00d834.6 mm bolt circle. Boss \u00d824.1 mm \u00d7 5.8 mm tall on top face. Fillet radius 3.075 mm on vertical edges (optional, off by default)."}, "params": {"block_w": {"type": "float", "default": 57.81, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 40.1, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 58.5, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "bolt_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 17.3, "min": 11.6, "max": 26.0, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 4, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}, "boss_d": {"type": "float", "default": 24.1, "min": 12.1, "max": 48.2, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 5.8, "min": 2.3, "max": 14.5, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}, "filleted2": {"type": "bool", "default": false, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331771 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 57.81, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 40.1, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 58.5, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 17.3, \"min\": 11.6, \"max\": 26.0, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 4, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n    \"boss_d\": {\"type\": 'float', \"default\": 24.1, \"min\": 12.1, \"max\": 48.2, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 5.8, \"min\": 2.3, \"max\": 14.5, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n    \"filleted2\": {\"type\": 'bool', \"default\": False, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    if p[\"filleted2\"]:\n        result = result.edges('|Z').fillet(min(p[\"block_w\"], p[\"block_d\"]) * 0.07669265698108109)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca83c_3208", "family": "bracket", "tier": 1, "seed": 1177331772, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "456e87736ef2a22d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 54200.0, "surface_area": 18100.0, "principal_moments": [42300000.0, 57199999.99999999, 91299999.99999999], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["C-channel bracket: base leg 77.75 mm, vertical leg 83.2 mm, 30 mm wide, 8 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."], "text": "C-channel bracket: base leg 77.75 mm, vertical leg 83.2 mm, 30 mm wide, 8 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 77.75, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 83.2, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 30, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 8.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331772 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 77.75, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 83.2, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 30, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca83d_3209", "family": "revolved", "tier": 0, "seed": 1177331773, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "40137f841736013a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 582000.0, "surface_area": 74300.0, "principal_moments": [497000000.0, 1570000000.0, 1570000000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d875.42 mm \u00d7 195.4 mm tall."], "text": "Revolved body, \u00d875.42 mm \u00d7 195.4 mm tall."}, "params": {"outer_d": {"type": "float", "default": 75.42, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 195.4, "min": 58.6, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331773 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 75.42, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 195.4, \"min\": 58.6, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca83e_3210", "family": "block", "tier": 3, "seed": 1177331774, "symmetry": "mirror_xy", "op_count": 4, "ir_hash": "e7efe7c376857bf5", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 316000.0, "surface_area": 36300.0, "principal_moments": [207000000.0, 311000000.0, 435000000.0], "n_faces": 12, "n_edges": 27, "n_vertices": 18}, "dimensions": {"lines": ["Rectangular body, 80 \u00d7 39.9 \u00d7 100 mm (W\u00d7D\u00d7H).", "Four \u00d84.3 mm holes at the corners, 56 \u00d7 27.93 mm spacing.", "Boss \u00d817.8 mm \u00d7 11.2 mm tall on top face.", "Fillet radius 2.377 mm on vertical edges (optional, off by default)."], "text": "Rectangular body, 80 \u00d7 39.9 \u00d7 100 mm (W\u00d7D\u00d7H). Four \u00d84.3 mm holes at the corners, 56 \u00d7 27.93 mm spacing. Boss \u00d817.8 mm \u00d7 11.2 mm tall on top face. Fillet radius 2.377 mm on vertical edges (optional, off by default)."}, "params": {"block_w": {"type": "float", "default": 80, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 39.9, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 100.0, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 9.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "boss_d": {"type": "float", "default": 17.8, "min": 8.9, "max": 35.6, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 11.2, "min": 4.5, "max": 28.0, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}, "filleted2": {"type": "bool", "default": false, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331774 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 80, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 39.9, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 100.0, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 9.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"boss_d\": {\"type\": 'float', \"default\": 17.8, \"min\": 8.9, \"max\": 35.6, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 11.2, \"min\": 4.5, \"max\": 28.0, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n    \"filleted2\": {\"type\": 'bool', \"default\": False, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    if p[\"filleted2\"]:\n        result = result.edges('|Z').fillet(min(p[\"block_w\"], p[\"block_d\"]) * 0.05956757220372971)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca83f_3211", "family": "bracket", "tier": 3, "seed": 1177331775, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "13c1e47e78d7851d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 12100.0, "surface_area": 9140.0, "principal_moments": [2600000.0, 11000000.0, 12599999.999999998], "n_faces": 17, "n_edges": 55, "n_vertices": 34}, "dimensions": {"lines": ["L-bracket: base leg 87.9 mm, vertical leg 62.5 mm, 24.04 mm wide, 3 mm thick; 2 \u00d7 \u00d84.3 mm holes per leg; 3.3 mm corner gusset."], "text": "L-bracket: base leg 87.9 mm, vertical leg 62.5 mm, 24.04 mm wide, 3 mm thick; 2 \u00d7 \u00d84.3 mm holes per leg; 3.3 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 87.9, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 62.5, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 24.04, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 3.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 9.6, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 2, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 3.3, "min": 1.5, "max": 9.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331775 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 87.9, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 62.5, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 24.04, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 9.6, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 2, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 3.3, \"min\": 1.5, \"max\": 9.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462ca840_3212", "family": "sketched", "tier": 0, "seed": 1177331776, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "3f05ab184659df62", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 52200.0, "surface_area": 8300.0, "principal_moments": [10500000.0, 12499999.999999998, 17500000.0], "n_faces": 8, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["freeform sketched section (6 segments: 3 arcs, 3 curves), ~49.868 \u00d7 48.082 mm, extruded 25 mm thick."], "text": "freeform sketched section (6 segments: 3 arcs, 3 curves), ~49.868 \u00d7 48.082 mm, extruded 25 mm thick."}, "params": {"sk_w": {"type": "float", "default": 71.98, "min": 36.0, "max": 129.6, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 73.61, "min": 36.8, "max": 132.5, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "sk_t": {"type": "float", "default": 25, "min": 10.0, "max": 55.0, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331776 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 71.98, \"min\": 36.0, \"max\": 129.6, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 73.61, \"min\": 36.8, \"max\": 132.5, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"sk_t\": {\"type\": 'float', \"default\": 25, \"min\": 10.0, \"max\": 55.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.335, p[\"sk_h\"] * 0.0238).threePointArc((p[\"sk_w\"] * 0.2561, p[\"sk_h\"] * 0.2173), (p[\"sk_w\"] * 0.111, p[\"sk_h\"] * 0.3715)).bezier([(p[\"sk_w\"] * 0.111, p[\"sk_h\"] * 0.3715), (p[\"sk_w\"] * -0.1187, p[\"sk_h\"] * 0.3866), (p[\"sk_w\"] * -0.3373, p[\"sk_h\"] * 0.3145)]).threePointArc((p[\"sk_w\"] * -0.3852, p[\"sk_h\"] * 0.1932), (p[\"sk_w\"] * -0.3578, p[\"sk_h\"] * 0.0371)).spline([(p[\"sk_w\"] * -0.3578, p[\"sk_h\"] * 0.0371), (p[\"sk_w\"] * -0.3244, p[\"sk_h\"] * -0.1183), (p[\"sk_w\"] * -0.2258, p[\"sk_h\"] * -0.2429)]).threePointArc((p[\"sk_w\"] * -0.0133, p[\"sk_h\"] * -0.3209), (p[\"sk_w\"] * 0.1879, p[\"sk_h\"] * -0.2817)).bezier([(p[\"sk_w\"] * 0.1879, p[\"sk_h\"] * -0.2817), (p[\"sk_w\"] * 0.2826, p[\"sk_h\"] * -0.1391), (p[\"sk_w\"] * 0.335, p[\"sk_h\"] * 0.0238)]).close().extrude(p[\"sk_t\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca841_3213", "family": "revolved", "tier": 0, "seed": 1177331777, "symmetry": "radial", "op_count": 1, "ir_hash": "f3fb9d8a8d5d9451", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 852000.0, "surface_area": 101000.0, "principal_moments": [818000000.0, 3680000000.0, 3680000000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d880 mm \u00d7 254.3 mm tall."], "text": "Revolved body, \u00d880 mm \u00d7 254.3 mm tall."}, "params": {"outer_d": {"type": "float", "default": 80.0, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 254.3, "min": 76.3, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331777 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 80.0, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 254.3, \"min\": 76.3, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462ca842_3214", "family": "lofted", "tier": 2, "seed": 1177331778, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "26f2b25e4edd9724", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 64400.0, "surface_area": 11700.0, "principal_moments": [16399999.999999998, 22300000.0, 22300000.0], "n_faces": 9, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["Lofted body through 3 sections: 6-sided polygon section, 50 mm across corners \u2192 \u00d842.8 mm circular section \u2192 \u00d835.5 mm circular section.", "One \u00d814.7 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 3 sections: 6-sided polygon section, 50 mm across corners \u2192 \u00d842.8 mm circular section \u2192 \u00d835.5 mm circular section. One \u00d814.7 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 50, "min": 25.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 35.5, "min": 14.2, "max": 60.0, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 52.6, "min": 21.0, "max": 105.2, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_mid": {"type": "float", "default": 42.8, "min": 17.8, "max": 60.0, "step": 1.0, "group": "Body", "label": "Mid size (mm)"}, "loft_bore_d": {"type": "float", "default": 14.7, "min": 2.0, "max": 28.4, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331778 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 50, \"min\": 25.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 35.5, \"min\": 14.2, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 52.6, \"min\": 21.0, \"max\": 105.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_mid\": {\"type\": 'float', \"default\": 42.8, \"min\": 17.8, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Mid size (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 14.7, \"min\": 2.0, \"max\": 28.4, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .polygon(6, p[\"loft_base\"] * 0.5 * 2)\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .circle(p[\"loft_mid\"] / 2)\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .circle(p[\"loft_top\"] / 2)\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca843_3215", "family": "plate", "tier": 3, "seed": 1177331779, "symmetry": "radial", "op_count": 4, "ir_hash": "7e9012ed51e17a18", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 69100.0, "surface_area": 19700.0, "principal_moments": [29799999.999999996, 77900000.0, 107000000.0], "n_faces": 27, "n_edges": 78, "n_vertices": 52}, "dimensions": {"lines": ["Rectangular body, 112.62 \u00d7 69 \u00d7 10 mm (W\u00d7D\u00d7H).", "Four \u00d88.4 mm holes on a \u00d867.6 mm bolt circle.", "Fillet radius 5.628 mm on vertical edges.", "Pocket 73.8 \u00d7 28.5 mm, 3.2 mm deep, in top face."], "text": "Rectangular body, 112.62 \u00d7 69 \u00d7 10 mm (W\u00d7D\u00d7H). Four \u00d88.4 mm holes on a \u00d867.6 mm bolt circle. Fillet radius 5.628 mm on vertical edges. Pocket 73.8 \u00d7 28.5 mm, 3.2 mm deep, in top face."}, "params": {"plate_w": {"type": "float", "default": 112.62, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 69.0, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "bolt_d": {"type": "float", "default": 8.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 33.8, "min": 22.5, "max": 50.7, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 4, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}, "pocket_w": {"type": "float", "default": 73.8, "min": 36.9, "max": 90.1, "step": 1.0, "group": "Pocket", "label": "Pocket width (mm)"}, "pocket_d": {"type": "float", "default": 28.5, "min": 14.2, "max": 55.2, "step": 1.0, "group": "Pocket", "label": "Pocket depth (mm)"}, "pocket_h": {"type": "float", "default": 3.2, "min": 1.3, "max": 8.5, "step": 0.5, "group": "Pocket", "label": "Pocket height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331779 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 112.62, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 69.0, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 33.8, \"min\": 22.5, \"max\": 50.7, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 4, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n    \"pocket_w\": {\"type\": 'float', \"default\": 73.8, \"min\": 36.9, \"max\": 90.1, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket width (mm)'},\n    \"pocket_d\": {\"type\": 'float', \"default\": 28.5, \"min\": 14.2, \"max\": 55.2, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket depth (mm)'},\n    \"pocket_h\": {\"type\": 'float', \"default\": 3.2, \"min\": 1.3, \"max\": 8.5, \"step\": 0.5, \"group\": 'Pocket', \"label\": 'Pocket height (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"plate_w\"], p[\"plate_d\"]) * 0.08156827183544882)\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"pocket_w\"], p[\"pocket_d\"])\n        .cutBlind(-p[\"pocket_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462ca844_3216", "family": "profiled", "tier": 0, "seed": 1177331780, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "764473da0c91ec39", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 12900.0, "surface_area": 4170.0, "principal_moments": [343000.0, 6820000.0, 6820000.0], "n_faces": 7, "n_edges": 15, "n_vertices": 10}, "dimensions": {"lines": ["5-sided polygon section, 16.62 mm across corners, extruded 78.6 mm thick."], "text": "5-sided polygon section, 16.62 mm across corners, extruded 78.6 mm thick."}, "params": {"circ_r": {"type": "float", "default": 8.31, "min": 4.2, "max": 16.6, "step": 1.0, "group": "Profile", "label": "Circumscribed radius (mm)"}, "n_sides": {"type": "int", "default": 5, "min": 3, "max": 8, "step": 1, "group": "Profile", "label": "Sides"}, "length": {"type": "float", "default": 78.6, "min": 23.6, "max": 235.8, "step": 5.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331780 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"circ_r\": {\"type\": 'float', \"default\": 8.31, \"min\": 4.2, \"max\": 16.6, \"step\": 1.0, \"group\": 'Profile', \"label\": 'Circumscribed radius (mm)'},\n    \"n_sides\": {\"type\": 'int', \"default\": 5, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Profile', \"label\": 'Sides'},\n    \"length\": {\"type\": 'float', \"default\": 78.6, \"min\": 23.6, \"max\": 235.8, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').polygon(p[\"n_sides\"], p[\"circ_r\"] * 2).extrude(p[\"length\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca845_3217", "family": "revolved", "tier": 1, "seed": 1177331781, "symmetry": "none", "op_count": 1, "ir_hash": "45c4d52e5f40df85", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 55100.0, "surface_area": 12400.0, "principal_moments": [6950000.0, 38800000.0, 38800000.0], "n_faces": 4, "n_edges": 6, "n_vertices": 4}, "dimensions": {"lines": ["Revolved body, \u00d830.07 mm \u00d7 87.7 mm tall with \u00d810.2 mm bore."], "text": "Revolved body, \u00d830.07 mm \u00d7 87.7 mm tall with \u00d810.2 mm bore."}, "params": {"outer_d": {"type": "float", "default": 30.07, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 87.7, "min": 26.3, "max": 263.1, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 10.2, "min": 2.0, "max": 21.0, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331781 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 30.07, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 87.7, \"min\": 26.3, \"max\": 263.1, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 10.2, \"min\": 2.0, \"max\": 21.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462ca846_3218", "family": "sketched", "tier": 0, "seed": 1177331782, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "7209345d4ab7b5f5", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 12100.0, "surface_area": 5100.0, "principal_moments": [1070000.0, 3720000.0, 4720000.0], "n_faces": 12, "n_edges": 28, "n_vertices": 18}, "dimensions": {"lines": ["freeform sketched section (7 segments: 2 straight, 1 arc, 4 curves), ~41.48 \u00d7 76.936 mm, extruded 6 mm thick with a 6.9\u00b0 draft."], "text": "freeform sketched section (7 segments: 2 straight, 1 arc, 4 curves), ~41.48 \u00d7 76.936 mm, extruded 6 mm thick with a 6.9\u00b0 draft."}, "params": {"sk_w": {"type": "float", "default": 50, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 80, "min": 40.0, "max": 144.0, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "sk_t": {"type": "float", "default": 6.0, "min": 2.4, "max": 13.2, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "sk_draft": {"type": "float", "default": 6.9, "min": 0.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Draft angle (deg)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331782 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 50, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 80, \"min\": 40.0, \"max\": 144.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"sk_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.4, \"max\": 13.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"sk_draft\": {\"type\": 'float', \"default\": 6.9, \"min\": 0.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Draft angle (deg)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.3598, p[\"sk_h\"] * 0.0898).spline([(p[\"sk_w\"] * 0.3598, p[\"sk_h\"] * 0.0898), (p[\"sk_w\"] * 0.326, p[\"sk_h\"] * 0.1739), (p[\"sk_w\"] * 0.2562, p[\"sk_h\"] * 0.2318)]).threePointArc((p[\"sk_w\"] * 0.1049, p[\"sk_h\"] * 0.4056), (p[\"sk_w\"] * -0.0659, p[\"sk_h\"] * 0.4947)).lineTo(p[\"sk_w\"] * -0.4698, p[\"sk_h\"] * 0.1277).lineTo(p[\"sk_w\"] * -0.3004, p[\"sk_h\"] * -0.1845).spline([(p[\"sk_w\"] * -0.3004, p[\"sk_h\"] * -0.1845), (p[\"sk_w\"] * -0.188, p[\"sk_h\"] * -0.3524), (p[\"sk_w\"] * -0.0217, p[\"sk_h\"] * -0.467)]).bezier([(p[\"sk_w\"] * -0.0217, p[\"sk_h\"] * -0.467), (p[\"sk_w\"] * 0.177, p[\"sk_h\"] * -0.404), (p[\"sk_w\"] * 0.331, p[\"sk_h\"] * -0.2635)]).bezier([(p[\"sk_w\"] * 0.331, p[\"sk_h\"] * -0.2635), (p[\"sk_w\"] * 0.3639, p[\"sk_h\"] * -0.0884), (p[\"sk_w\"] * 0.3598, p[\"sk_h\"] * 0.0898)]).close().extrude(p[\"sk_t\"], taper=p[\"sk_draft\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462ca847_3219", "family": "tapped", "tier": 0, "seed": 1177331783, "symmetry": "none", "op_count": 1, "ir_hash": "4cfb553d64b73dda", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 127000.0, "surface_area": 19100.0, "principal_moments": [63299999.99999999, 63299999.99999999, 113000000.0], "n_faces": 199, "n_edges": 565, "n_vertices": 368}, "dimensions": {"lines": ["One M16x2 tapped hole in a plate."], "text": "One M16x2 tapped hole in a plate."}, "params": {"major_d": {"type": "float", "default": 16.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 2.0, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 25.6, "min": 19.2, "max": 46.1, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "plate_w": {"type": "float", "default": 71.7, "min": 43.0, "max": 114.7, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 71.7, "min": 43.0, "max": 114.7, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331783 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 16.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 2.0, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 25.6, \"min\": 19.2, \"max\": 46.1, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"plate_w\": {\"type\": 'float', \"default\": 71.7, \"min\": 43.0, \"max\": 114.7, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 71.7, \"min\": 43.0, \"max\": 114.7, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n}\n\n\ndef build(p):\n\n    _W, _D, _H = p[\"plate_w\"], p[\"plate_d\"], p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Box(_W, _D, _H)\n    _locs = [(0.0, 0.0)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca848_3220", "family": "revolved", "tier": 0, "seed": 1177331784, "symmetry": "none", "op_count": 1, "ir_hash": "81288f5a735f72e7", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 183000.0, "surface_area": 38400.0, "principal_moments": [55699999.99999999, 355000000.0, 355000000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d844.98 mm \u00d7 173.2 mm tall."], "text": "Revolved body, \u00d844.98 mm \u00d7 173.2 mm tall."}, "params": {"outer_d": {"type": "float", "default": 44.98, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 173.2, "min": 52.0, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331784 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 44.98, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 173.2, \"min\": 52.0, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca849_3221", "family": "bracket", "tier": 1, "seed": 1177331785, "symmetry": "none", "op_count": 1, "ir_hash": "ccab62d5ef205e61", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 18600.0, "surface_area": 10800.0, "principal_moments": [5200000.0, 15099999.999999998, 16099999.999999998], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["L-bracket: base leg 60 mm, vertical leg 71.8 mm, 36.84 mm wide, 4 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."], "text": "L-bracket: base leg 60 mm, vertical leg 71.8 mm, 36.84 mm wide, 4 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 60, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 71.8, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 36.84, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 4.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331785 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 60, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 71.8, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 36.84, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca84a_3222", "family": "revolved", "tier": 2, "seed": 1177331786, "symmetry": "radial", "op_count": 1, "ir_hash": "8a9a740e22772047", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 1520.0, "surface_area": 1440.0, "principal_moments": [30100.0, 66700.0, 66700.0], "n_faces": 9, "n_edges": 13, "n_vertices": 9}, "dimensions": {"lines": ["Revolved body, \u00d810 mm \u00d7 23.5 mm tall with \u00d814.5 mm \u00d7 3.6 mm flange, 1.81 mm-wide groove 0.37 mm deep."], "text": "Revolved body, \u00d810 mm \u00d7 23.5 mm tall with \u00d814.5 mm \u00d7 3.6 mm flange, 1.81 mm-wide groove 0.37 mm deep."}, "params": {"outer_d": {"type": "float", "default": 10, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 23.5, "min": 7.0, "max": 70.5, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "flange_d": {"type": "float", "default": 14.5, "min": 12.0, "max": 30.0, "step": 1.0, "group": "Body", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 3.6, "min": 1.1, "max": 11.8, "step": 0.5, "group": "Body", "label": "Flange height (mm)"}, "groove_depth": {"type": "float", "default": 0.37, "min": 0.15, "max": 1.11, "step": 0.1, "group": "Body", "label": "Groove depth (mm)"}, "groove_w": {"type": "float", "default": 1.81, "min": 0.72, "max": 5.43, "step": 0.2, "group": "Body", "label": "Groove width (mm)"}, "groove_pos": {"type": "float", "default": 15.2, "min": 3.5, "max": 20.0, "step": 1.0, "group": "Body", "label": "Groove position (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331786 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 10, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 23.5, \"min\": 7.0, \"max\": 70.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 14.5, \"min\": 12.0, \"max\": 30.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 3.6, \"min\": 1.1, \"max\": 11.8, \"step\": 0.5, \"group\": 'Body', \"label\": 'Flange height (mm)'},\n    \"groove_depth\": {\"type\": 'float', \"default\": 0.37, \"min\": 0.15, \"max\": 1.11, \"step\": 0.1, \"group\": 'Body', \"label\": 'Groove depth (mm)'},\n    \"groove_w\": {\"type\": 'float', \"default\": 1.81, \"min\": 0.72, \"max\": 5.43, \"step\": 0.2, \"group\": 'Body', \"label\": 'Groove width (mm)'},\n    \"groove_pos\": {\"type\": 'float', \"default\": 15.2, \"min\": 3.5, \"max\": 20.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Groove position (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"groove_pos\"] - p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2 - p[\"groove_depth\"], p[\"groove_pos\"] - p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2 - p[\"groove_depth\"], p[\"groove_pos\"] + p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2, p[\"groove_pos\"] + p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462ca84b_3223", "family": "ribbed", "tier": 1, "seed": 1177331787, "symmetry": "none", "op_count": 2, "ir_hash": "8f93219940dc1b00", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 64700.0, "surface_area": 25100.0, "principal_moments": [30799999.999999996, 43200000.0, 67900000.0], "n_faces": 26, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 85.07 \u00d7 74.2 \u00d7 6 mm (W\u00d7D\u00d7H).", "Four ribs, 5.5 mm thick, 17.9 mm tall."], "text": "Rectangular body, 85.07 \u00d7 74.2 \u00d7 6 mm (W\u00d7D\u00d7H). Four ribs, 5.5 mm thick, 17.9 mm tall."}, "params": {"base_w": {"type": "float", "default": 85.07, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 74.2, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 6.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 4, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 17.9, "min": 7.2, "max": 35.8, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 5.5, "min": 1.0, "max": 13.8, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331787 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 85.07, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 74.2, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 4, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 17.9, \"min\": 7.2, \"max\": 35.8, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 5.5, \"min\": 1.0, \"max\": 13.8, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462ca84c_3224", "family": "tapped", "tier": 1, "seed": 1177331788, "symmetry": "none", "op_count": 1, "ir_hash": "696c87a0ab2e2700", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 42100.0, "surface_area": 9000.0, "principal_moments": [8960000.0, 8960000.0, 13299999.999999998], "n_faces": 196, "n_edges": 556, "n_vertices": 362}, "dimensions": {"lines": ["One M16x2 tapped hole in a cylinder."], "text": "One M16x2 tapped hole in a cylinder."}, "params": {"major_d": {"type": "float", "default": 16.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 2.0, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 25.6, "min": 19.2, "max": 46.1, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "body_d": {"type": "float", "default": 48.1, "min": 28.8, "max": 77.0, "step": 1.0, "group": "Body", "label": "Outer \u00d8 (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331788 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 16.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 2.0, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 25.6, \"min\": 19.2, \"max\": 46.1, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"body_d\": {\"type\": 'float', \"default\": 48.1, \"min\": 28.8, \"max\": 77.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer \u00d8 (mm)'},\n}\n\n\ndef build(p):\n\n    _W = _D = p[\"body_d\"]\n    _H = p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Cylinder(radius=_W / 2, height=_H)\n    _locs = [(0.0, 0.0)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca84d_3225", "family": "revolved", "tier": 2, "seed": 1177331789, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "261ebaaa295bfae5", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 6000.0, "surface_area": 4190.0, "principal_moments": [532000.0, 532000.0, 871000.0], "n_faces": 11, "n_edges": 17, "n_vertices": 11}, "dimensions": {"lines": ["Revolved body, \u00d820 mm \u00d7 17 mm tall with \u00d842.1 mm \u00d7 2.4 mm flange, 0.9 mm-wide groove 0.65 mm deep.", "Chamfer 1.2 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d820 mm \u00d7 17 mm tall with \u00d842.1 mm \u00d7 2.4 mm flange, 0.9 mm-wide groove 0.65 mm deep. Chamfer 1.2 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 20, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 17.0, "min": 5.1, "max": 51.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "flange_d": {"type": "float", "default": 42.1, "min": 24.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 2.4, "min": 0.7, "max": 8.5, "step": 0.5, "group": "Body", "label": "Flange height (mm)"}, "groove_depth": {"type": "float", "default": 0.65, "min": 0.26, "max": 1.95, "step": 0.1, "group": "Body", "label": "Groove depth (mm)"}, "groove_w": {"type": "float", "default": 0.9, "min": 0.36, "max": 2.7, "step": 0.2, "group": "Body", "label": "Groove width (mm)"}, "groove_pos": {"type": "float", "default": 9.6, "min": 2.5, "max": 14.4, "step": 1.0, "group": "Body", "label": "Groove position (mm)"}, "end_chamfer": {"type": "float", "default": 1.2, "min": 0.1, "max": 3.6, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331789 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 20, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 17.0, \"min\": 5.1, \"max\": 51.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 42.1, \"min\": 24.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 2.4, \"min\": 0.7, \"max\": 8.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Flange height (mm)'},\n    \"groove_depth\": {\"type\": 'float', \"default\": 0.65, \"min\": 0.26, \"max\": 1.95, \"step\": 0.1, \"group\": 'Body', \"label\": 'Groove depth (mm)'},\n    \"groove_w\": {\"type\": 'float', \"default\": 0.9, \"min\": 0.36, \"max\": 2.7, \"step\": 0.2, \"group\": 'Body', \"label\": 'Groove width (mm)'},\n    \"groove_pos\": {\"type\": 'float', \"default\": 9.6, \"min\": 2.5, \"max\": 14.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Groove position (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 1.2, \"min\": 0.1, \"max\": 3.6, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"groove_pos\"] - p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2 - p[\"groove_depth\"], p[\"groove_pos\"] - p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2 - p[\"groove_depth\"], p[\"groove_pos\"] + p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2, p[\"groove_pos\"] + p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca84e_3226", "family": "plate", "tier": 0, "seed": 1177331790, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "831ec13e831a729e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 17100.0, "surface_area": 5290.0, "principal_moments": [1060000.0, 6710000.0, 7480000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 67.78 \u00d7 25.3 \u00d7 10 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 67.78 \u00d7 25.3 \u00d7 10 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 67.78, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 25.3, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331790 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 67.78, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 25.3, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca84f_3227", "family": "bracket", "tier": 1, "seed": 1177331791, "symmetry": "none", "op_count": 1, "ir_hash": "b63fabb35ef96b20", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 12500.0, "surface_area": 9190.0, "principal_moments": [3530000.0, 4570000.0, 6260000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["L-bracket: base leg 44.39 mm, vertical leg 42.2 mm, 50 mm wide, 3 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."], "text": "L-bracket: base leg 44.39 mm, vertical leg 42.2 mm, 50 mm wide, 3 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 44.39, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 42.2, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 50, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 3.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331791 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 44.39, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 42.2, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 50, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca850_3228", "family": "compound", "tier": 1, "seed": 1177331792, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "0e75166bb916e80c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 35400.0, "surface_area": 7970.0, "principal_moments": [5550000.0, 7550000.0, 10300000.0], "n_faces": 9, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["Rectangular body, 35 \u00d7 45.8 \u00d7 21.9 mm (W\u00d7D\u00d7H).", "\u00d89.1 mm circular section attachment, 17.8 mm long, from right face with a \u00d84.5 mm bore."], "text": "Rectangular body, 35 \u00d7 45.8 \u00d7 21.9 mm (W\u00d7D\u00d7H). \u00d89.1 mm circular section attachment, 17.8 mm long, from right face with a \u00d84.5 mm bore."}, "params": {"block_w": {"type": "float", "default": 35, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 45.8, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 21.9, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "spig_d": {"type": "float", "default": 9.1, "min": 3.6, "max": 15.3, "step": 1.0, "group": "Spigot", "label": "Spigot diameter (mm)"}, "spig_len": {"type": "float", "default": 17.8, "min": 2.7, "max": 36.4, "step": 1.0, "group": "Spigot", "label": "Spigot length (mm)"}, "spig_bore": {"type": "float", "default": 4.5, "min": 2.0, "max": 6.6, "step": 0.5, "group": "Spigot", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331792 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 35, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 45.8, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 21.9, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"spig_d\": {\"type\": 'float', \"default\": 9.1, \"min\": 3.6, \"max\": 15.3, \"step\": 1.0, \"group\": 'Spigot', \"label\": 'Spigot diameter (mm)'},\n    \"spig_len\": {\"type\": 'float', \"default\": 17.8, \"min\": 2.7, \"max\": 36.4, \"step\": 1.0, \"group\": 'Spigot', \"label\": 'Spigot length (mm)'},\n    \"spig_bore\": {\"type\": 'float', \"default\": 4.5, \"min\": 2.0, \"max\": 6.6, \"step\": 0.5, \"group\": 'Spigot', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"spig_d\"] / 2).extrude(p[\"spig_len\"])\n    )\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"spig_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca851_3229", "family": "compound", "tier": 1, "seed": 1177331793, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "cc61208f5b80c949", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 3950.0, "surface_area": 1720.0, "principal_moments": [137000.0, 310000.0, 310000.0], "n_faces": 10, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["6-sided polygon section, 20.6 mm across corners, extruded 10.5 mm thick.", "\u00d88.2 mm circular section attachment, 20 mm long, from top face."], "text": "6-sided polygon section, 20.6 mm across corners, extruded 10.5 mm thick. \u00d88.2 mm circular section attachment, 20 mm long, from top face."}, "params": {"base_sides": {"type": "int", "default": 6, "min": 3, "max": 8, "step": 1, "group": "Base", "label": "Base sides"}, "base_r": {"type": "float", "default": 10.3, "min": 6.2, "max": 16.5, "step": 1.0, "group": "Base", "label": "Base circumradius (mm)"}, "base_h": {"type": "float", "default": 10.5, "min": 4.2, "max": 26.2, "step": 1.0, "group": "Base", "label": "Base height (mm)"}, "col_d": {"type": "float", "default": 8.2, "min": 4.1, "max": 14.3, "step": 1.0, "group": "Column", "label": "Column diameter (mm)"}, "col_h": {"type": "float", "default": 20.0, "min": 6.0, "max": 50.0, "step": 1.0, "group": "Column", "label": "Column height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331793 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_sides\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Base', \"label\": 'Base sides'},\n    \"base_r\": {\"type\": 'float', \"default\": 10.3, \"min\": 6.2, \"max\": 16.5, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base circumradius (mm)'},\n    \"base_h\": {\"type\": 'float', \"default\": 10.5, \"min\": 4.2, \"max\": 26.2, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base height (mm)'},\n    \"col_d\": {\"type\": 'float', \"default\": 8.2, \"min\": 4.1, \"max\": 14.3, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column diameter (mm)'},\n    \"col_h\": {\"type\": 'float', \"default\": 20.0, \"min\": 6.0, \"max\": 50.0, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').polygon(p[\"base_sides\"], p[\"base_r\"] * 2).extrude(p[\"base_h\"]))\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"col_d\"] / 2).extrude(p[\"col_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca852_3230", "family": "compound", "tier": 1, "seed": 1177331794, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "e32113882e1d70d4", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 553000.0, "surface_area": 52900.0, "principal_moments": [602000000.0, 654000000.0, 739000000.0], "n_faces": 14, "n_edges": 33, "n_vertices": 21}, "dimensions": {"lines": ["Rectangular body, 90 \u00d7 83.7 \u00d7 74.4 mm (W\u00d7D\u00d7H).", "\u00d822.9 mm circular section attachment, 26.7 mm long, from left face with a \u00d813.2 mm bore.", "\u00d822.9 mm circular section attachment, 26.7 mm long, from back face with a \u00d813.2 mm bore."], "text": "Rectangular body, 90 \u00d7 83.7 \u00d7 74.4 mm (W\u00d7D\u00d7H). \u00d822.9 mm circular section attachment, 26.7 mm long, from left face with a \u00d813.2 mm bore. \u00d822.9 mm circular section attachment, 26.7 mm long, from back face with a \u00d813.2 mm bore."}, "params": {"block_w": {"type": "float", "default": 90.0, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body width (mm)"}, "block_d": {"type": "float", "default": 83.7, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body depth (mm)"}, "block_h": {"type": "float", "default": 74.4, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body height (mm)"}, "port_d": {"type": "float", "default": 22.9, "min": 9.2, "max": 33.5, "step": 1.0, "group": "Ports", "label": "Ports diameter (mm)"}, "port_len": {"type": "float", "default": 26.7, "min": 5.7, "max": 68.7, "step": 1.0, "group": "Ports", "label": "Port boss length (mm)"}, "port_bore": {"type": "float", "default": 13.2, "min": 2.0, "max": 16.5, "step": 0.5, "group": "Ports", "label": "Port bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331794 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 90.0, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 83.7, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 74.4, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body height (mm)'},\n    \"port_d\": {\"type\": 'float', \"default\": 22.9, \"min\": 9.2, \"max\": 33.5, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Ports diameter (mm)'},\n    \"port_len\": {\"type\": 'float', \"default\": 26.7, \"min\": 5.7, \"max\": 68.7, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Port boss length (mm)'},\n    \"port_bore\": {\"type\": 'float', \"default\": 13.2, \"min\": 2.0, \"max\": 16.5, \"step\": 0.5, \"group\": 'Ports', \"label\": 'Port bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca853_3231", "family": "block", "tier": 1, "seed": 1177331795, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "a393ba82672d084f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 306000.0, "surface_area": 35000.0, "principal_moments": [164000000.0, 319000000.0, 342000000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 99.74 \u00d7 52.9 \u00d7 60.6 mm (W\u00d7D\u00d7H).", "Four \u00d88.4 mm holes at the corners, 69.818 \u00d7 37.03 mm spacing."], "text": "Rectangular body, 99.74 \u00d7 52.9 \u00d7 60.6 mm (W\u00d7D\u00d7H). Four \u00d88.4 mm holes at the corners, 69.818 \u00d7 37.03 mm spacing."}, "params": {"block_w": {"type": "float", "default": 99.74, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 52.9, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 60.6, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 8.4, "min": 2.0, "max": 11.9, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331795 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 99.74, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 52.9, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 60.6, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 2.0, \"max\": 11.9, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462ca854_3232", "family": "profiled", "tier": 1, "seed": 1177331796, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "e473018487386e61", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 133000.0, "surface_area": 21100.0, "principal_moments": [17400000.0, 425000000.0, 435000000.0], "n_faces": 9, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["freeform sketched section (7 segments: 2 straight, 2 arcs, 3 curves), ~38.162 \u00d7 22.185 mm, extruded 195 mm thick."], "text": "freeform sketched section (7 segments: 2 straight, 2 arcs, 3 curves), ~38.162 \u00d7 22.185 mm, extruded 195 mm thick."}, "params": {"sk_w": {"type": "float", "default": 47.93, "min": 24.0, "max": 86.3, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 30, "min": 15.0, "max": 54.0, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "length": {"type": "float", "default": 195.0, "min": 58.5, "max": 585.0, "step": 5.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331796 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 47.93, \"min\": 24.0, \"max\": 86.3, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 30, \"min\": 15.0, \"max\": 54.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 195.0, \"min\": 58.5, \"max\": 585.0, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.4113, p[\"sk_h\"] * 0.0577).bezier([(p[\"sk_w\"] * 0.4113, p[\"sk_h\"] * 0.0577), (p[\"sk_w\"] * 0.3419, p[\"sk_h\"] * 0.182), (p[\"sk_w\"] * 0.2374, p[\"sk_h\"] * 0.2786)]).lineTo(p[\"sk_w\"] * -0.1524, p[\"sk_h\"] * 0.3624).bezier([(p[\"sk_w\"] * -0.1524, p[\"sk_h\"] * 0.3624), (p[\"sk_w\"] * -0.2844, p[\"sk_h\"] * 0.2269), (p[\"sk_w\"] * -0.3849, p[\"sk_h\"] * 0.0666)]).threePointArc((p[\"sk_w\"] * -0.4386, p[\"sk_h\"] * -0.1491), (p[\"sk_w\"] * -0.3586, p[\"sk_h\"] * -0.3286)).lineTo(p[\"sk_w\"] * 0.0044, p[\"sk_h\"] * -0.3771).spline([(p[\"sk_w\"] * 0.0044, p[\"sk_h\"] * -0.3771), (p[\"sk_w\"] * 0.1554, p[\"sk_h\"] * -0.3549), (p[\"sk_w\"] * 0.278, p[\"sk_h\"] * -0.2641)]).threePointArc((p[\"sk_w\"] * 0.3704, p[\"sk_h\"] * -0.1088), (p[\"sk_w\"] * 0.4113, p[\"sk_h\"] * 0.0577)).close().extrude(p[\"length\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca855_3233", "family": "compound", "tier": 1, "seed": 1177331797, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "e11995fdfb8d4517", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 22100.0, "surface_area": 11500.0, "principal_moments": [6730000.0, 9980000.0, 10300000.0], "n_faces": 17, "n_edges": 42, "n_vertices": 28}, "dimensions": {"lines": ["Rectangular body, 70.43 \u00d7 50.4 \u00d7 5 mm (W\u00d7D\u00d7H).", "5-sided polygon section, 17 mm across corners attachment, 42.3 mm long, from top face with a \u00d87 mm bore.", "Four \u00d88.4 mm holes at the corners, 49.301 \u00d7 35.28 mm spacing."], "text": "Rectangular body, 70.43 \u00d7 50.4 \u00d7 5 mm (W\u00d7D\u00d7H). 5-sided polygon section, 17 mm across corners attachment, 42.3 mm long, from top face with a \u00d87 mm bore. Four \u00d88.4 mm holes at the corners, 49.301 \u00d7 35.28 mm spacing."}, "params": {"base_w": {"type": "float", "default": 70.43, "min": 30.0, "max": 160.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 50.4, "min": 25.0, "max": 160.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_h": {"type": "float", "default": 5.0, "min": 3.0, "max": 30.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "col_sides": {"type": "int", "default": 5, "min": 3, "max": 8, "step": 1, "group": "Column", "label": "Column sides"}, "col_r": {"type": "float", "default": 8.5, "min": 4.2, "max": 12.6, "step": 1.0, "group": "Column", "label": "Column circumradius (mm)"}, "col_h": {"type": "float", "default": 42.3, "min": 12.7, "max": 126.9, "step": 1.0, "group": "Column", "label": "Column height (mm)"}, "col_bore": {"type": "float", "default": 7.0, "min": 2.0, "max": 9.9, "step": 0.5, "group": "Column", "label": "Column bore diameter (mm)"}, "hole_d": {"type": "float", "default": 8.4, "min": 2.0, "max": 11.3, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331797 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 70.43, \"min\": 30.0, \"max\": 160.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 50.4, \"min\": 25.0, \"max\": 160.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_h\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 30.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"col_sides\": {\"type\": 'int', \"default\": 5, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Column', \"label\": 'Column sides'},\n    \"col_r\": {\"type\": 'float', \"default\": 8.5, \"min\": 4.2, \"max\": 12.6, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column circumradius (mm)'},\n    \"col_h\": {\"type\": 'float', \"default\": 42.3, \"min\": 12.7, \"max\": 126.9, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column height (mm)'},\n    \"col_bore\": {\"type\": 'float', \"default\": 7.0, \"min\": 2.0, \"max\": 9.9, \"step\": 0.5, \"group\": 'Column', \"label\": 'Column bore diameter (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 2.0, \"max\": 11.3, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_h\"])\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"col_sides\"], p[\"col_r\"] * 2).extrude(p[\"col_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"col_bore\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"base_w\"] * 0.7, p[\"base_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca856_3234", "family": "bracket", "tier": 1, "seed": 1177331798, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "f7c73eec4c42a4ca", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 13600.0, "surface_area": 6630.0, "principal_moments": [2220000.0, 2910000.0, 4470000.0], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Z-bracket: base leg 25 mm, vertical leg 27.3 mm, top leg 25 mm, 40.69 mm wide, 5 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."], "text": "Z-bracket: base leg 25 mm, vertical leg 27.3 mm, top leg 25 mm, 40.69 mm wide, 5 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 25.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 27.3, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 40.69, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 5.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 25.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331798 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 25.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 27.3, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 40.69, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 25.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca857_3235", "family": "bracket", "tier": 1, "seed": 1177331799, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "331029855ee54425", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 14800.0, "surface_area": 11200.0, "principal_moments": [5850000.0, 20300000.0, 24199999.999999996], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["L-bracket: base leg 90 mm, vertical leg 90 mm, 28.06 mm wide, 3 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."], "text": "L-bracket: base leg 90 mm, vertical leg 90 mm, 28.06 mm wide, 3 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 90.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 90.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 28.06, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 3.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331799 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 90.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 90.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 28.06, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462ca858_3236", "family": "flanged", "tier": 3, "seed": 1177331800, "symmetry": "none", "op_count": 2, "ir_hash": "ccbeb8bb89ae1e27", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 27300.0, "surface_area": 10600.0, "principal_moments": [6670000.0, 7410000.0, 7410000.0], "n_faces": 17, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Revolved body, \u00d829.63 mm \u00d7 38.7 mm tall with \u00d814.9 mm bore, \u00d856.2 mm \u00d7 4.6 mm flange.", "Six \u00d85.3 mm holes on a \u00d833.8 mm bolt circle."], "text": "Revolved body, \u00d829.63 mm \u00d7 38.7 mm tall with \u00d814.9 mm bore, \u00d856.2 mm \u00d7 4.6 mm flange. Six \u00d85.3 mm holes on a \u00d833.8 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 29.63, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 38.7, "min": 11.6, "max": 96.8, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 14.9, "min": 2.0, "max": 20.7, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 56.2, "min": 38.5, "max": 88.9, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 4.6, "min": 1.4, "max": 15.5, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 16.9, "min": 11.2, "max": 25.3, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 6, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331800 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 29.63, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 38.7, \"min\": 11.6, \"max\": 96.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 14.9, \"min\": 2.0, \"max\": 20.7, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 56.2, \"min\": 38.5, \"max\": 88.9, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 4.6, \"min\": 1.4, \"max\": 15.5, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 16.9, \"min\": 11.2, \"max\": 25.3, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462ca859_3237", "family": "gear", "tier": 2, "seed": 1177331801, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "a3f3b0e27d9f201e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 673000.0, "surface_area": 71000.0, "principal_moments": [1220000000.0, 1220000000.0, 2320000000.0], "n_faces": 153, "n_edges": 453, "n_vertices": 302}, "dimensions": {"lines": ["Helical gear, module 5 mm, 30 teeth (pitch \u00d8150 mm), face width 33.7 mm, 18.2\u00b0 helix, \u00d830.9 mm bore."], "text": "Helical gear, module 5 mm, 30 teeth (pitch \u00d8150 mm), face width 33.7 mm, 18.2\u00b0 helix, \u00d830.9 mm bore."}, "params": {"module": {"type": "float", "default": 5.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 30, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 33.7, "min": 13.5, "max": 84.2, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "helix_angle": {"type": "float", "default": 18.2, "min": 5.0, "max": 40.0, "step": 1.0, "group": "Gear", "label": "Helix angle (deg)"}, "profile_shift": {"type": "float", "default": 0.36, "min": -0.5, "max": 0.7, "step": 0.05, "group": "Gear", "label": "Profile shift"}, "root_fillet": {"type": "float", "default": 0.78, "min": 0.0, "max": 2.5, "step": 0.05, "group": "Gear", "label": "Root fillet (mm)"}, "bore_d": {"type": "float", "default": 30.9, "min": 2.0, "max": 82.5, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331801 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 5.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 30, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 33.7, \"min\": 13.5, \"max\": 84.2, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"helix_angle\": {\"type\": 'float', \"default\": 18.2, \"min\": 5.0, \"max\": 40.0, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Helix angle (deg)'},\n    \"profile_shift\": {\"type\": 'float', \"default\": 0.36, \"min\": -0.5, \"max\": 0.7, \"step\": 0.05, \"group\": 'Gear', \"label\": 'Profile shift'},\n    \"root_fillet\": {\"type\": 'float', \"default\": 0.78, \"min\": 0.0, \"max\": 2.5, \"step\": 0.05, \"group\": 'Gear', \"label\": 'Root fillet (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 30.9, \"min\": 2.0, \"max\": 82.5, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.HelicalGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"], helix_angle=math.radians(p[\"helix_angle\"]), herringbone=False, profile_shift=p[\"profile_shift\"], root_fillet=p[\"root_fillet\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca85a_3238", "family": "revolved", "tier": 2, "seed": 1177331802, "symmetry": "none", "op_count": 2, "ir_hash": "c150e9aeb0c7df4e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 183000.0, "surface_area": 28700.0, "principal_moments": [64099999.99999999, 288000000.0, 288000000.0], "n_faces": 10, "n_edges": 17, "n_vertices": 10}, "dimensions": {"lines": ["Revolved body, \u00d840 mm \u00d7 123.8 mm tall with \u00d814.9 mm bore, \u00d862.3 mm \u00d7 27.5 mm flange.", "Chamfer 1.3 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d840 mm \u00d7 123.8 mm tall with \u00d814.9 mm bore, \u00d862.3 mm \u00d7 27.5 mm flange. Chamfer 1.3 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 40, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 123.8, "min": 37.1, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 14.9, "min": 2.0, "max": 28.0, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 62.3, "min": 48.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 27.5, "min": 8.2, "max": 61.9, "step": 0.5, "group": "Body", "label": "Flange height (mm)"}, "end_chamfer": {"type": "float", "default": 1.3, "min": 0.1, "max": 3.9, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331802 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 40, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 123.8, \"min\": 37.1, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 14.9, \"min\": 2.0, \"max\": 28.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 62.3, \"min\": 48.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 27.5, \"min\": 8.2, \"max\": 61.9, \"step\": 0.5, \"group\": 'Body', \"label\": 'Flange height (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 1.3, \"min\": 0.1, \"max\": 3.9, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca85b_3239", "family": "compound", "tier": 1, "seed": 1177331803, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "62bfcebdd99aa2cb", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 51300.0, "surface_area": 9970.0, "principal_moments": [12599999.999999998, 12599999.999999998, 14699999.999999998], "n_faces": 17, "n_edges": 42, "n_vertices": 28}, "dimensions": {"lines": ["Lofted body through 2 sections: \u00d860 mm circular section \u2192 21.3 \u00d7 21.3 mm rectangular section.", "8-sided polygon section, 15.2 mm across corners attachment, 12.1 mm long, from top face with a \u00d86.6 mm bore."], "text": "Lofted body through 2 sections: \u00d860 mm circular section \u2192 21.3 \u00d7 21.3 mm rectangular section. 8-sided polygon section, 15.2 mm across corners attachment, 12.1 mm long, from top face with a \u00d86.6 mm bore."}, "params": {"adapter_base": {"type": "float", "default": 60, "min": 36.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "adapter_top": {"type": "float", "default": 21.3, "min": 10.7, "max": 60, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "adapter_h": {"type": "float", "default": 34.5, "min": 13.8, "max": 69.0, "step": 1.0, "group": "Body", "label": "Transition height (mm)"}, "neck_sides": {"type": "int", "default": 8, "min": 3, "max": 8, "step": 1, "group": "Neck", "label": "Neck sides"}, "neck_r": {"type": "float", "default": 7.6, "min": 3.8, "max": 10.7, "step": 1.0, "group": "Neck", "label": "Neck circumradius (mm)"}, "neck_l": {"type": "float", "default": 12.1, "min": 4.8, "max": 30.2, "step": 1.0, "group": "Neck", "label": "Neck length (mm)"}, "neck_bore": {"type": "float", "default": 6.6, "min": 2.0, "max": 10.1, "step": 0.5, "group": "Neck", "label": "Neck bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331803 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"adapter_base\": {\"type\": 'float', \"default\": 60, \"min\": 36.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"adapter_top\": {\"type\": 'float', \"default\": 21.3, \"min\": 10.7, \"max\": 60, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"adapter_h\": {\"type\": 'float', \"default\": 34.5, \"min\": 13.8, \"max\": 69.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Transition height (mm)'},\n    \"neck_sides\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Neck', \"label\": 'Neck sides'},\n    \"neck_r\": {\"type\": 'float', \"default\": 7.6, \"min\": 3.8, \"max\": 10.7, \"step\": 1.0, \"group\": 'Neck', \"label\": 'Neck circumradius (mm)'},\n    \"neck_l\": {\"type\": 'float', \"default\": 12.1, \"min\": 4.8, \"max\": 30.2, \"step\": 1.0, \"group\": 'Neck', \"label\": 'Neck length (mm)'},\n    \"neck_bore\": {\"type\": 'float', \"default\": 6.6, \"min\": 2.0, \"max\": 10.1, \"step\": 0.5, \"group\": 'Neck', \"label\": 'Neck bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .circle(p[\"adapter_base\"] / 2)\n        .workplane(offset=p[\"adapter_h\"])\n        .rect(p[\"adapter_top\"], p[\"adapter_top\"])\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"neck_sides\"], p[\"neck_r\"] * 2).extrude(p[\"neck_l\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"neck_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca85d_3241", "family": "plate", "tier": 2, "seed": 1177331805, "symmetry": "none", "op_count": 2, "ir_hash": "2ee14f0d57172102", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 7160.0, "surface_area": 4090.0, "principal_moments": [386000.0, 2100000.0, 2460000.0], "n_faces": 22, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 60 \u00d7 25.3 \u00d7 5 mm (W\u00d7D\u00d7H).", "Four 7.4 \u00d7 3.2 mm slots at the corners, 42 \u00d7 17.71 mm spacing."], "text": "Rectangular body, 60 \u00d7 25.3 \u00d7 5 mm (W\u00d7D\u00d7H). Four 7.4 \u00d7 3.2 mm slots at the corners, 42 \u00d7 17.71 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 60, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 25.3, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 5.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 5.7, "step": 0.5, "group": "Holes", "label": "Slot width (mm)"}, "hole_slot_len": {"type": "float", "default": 7.4, "min": 4.8, "max": 7.6, "step": 0.5, "group": "Holes", "label": "Slot length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331805 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 60, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 25.3, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 5.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 5.7, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Slot width (mm)'},\n    \"hole_slot_len\": {\"type\": 'float', \"default\": 7.4, \"min\": 4.8, \"max\": 7.6, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Slot length (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().slot2D(p[\"hole_slot_len\"], p[\"hole_d\"]).cutThruAll()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca85f_3243", "family": "revolved", "tier": 1, "seed": 1177331807, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "3660198e7298bb3e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 12800.0, "surface_area": 5670.0, "principal_moments": [1590000.0, 2410000.0, 2410000.0], "n_faces": 10, "n_edges": 17, "n_vertices": 10}, "dimensions": {"lines": ["Revolved body, \u00d817.46 mm \u00d7 39.6 mm tall with \u00d810.1 mm bore, \u00d835.4 mm \u00d7 8.8 mm flange.", "Chamfer 0.5 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d817.46 mm \u00d7 39.6 mm tall with \u00d810.1 mm bore, \u00d835.4 mm \u00d7 8.8 mm flange. Chamfer 0.5 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 17.46, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 39.6, "min": 11.9, "max": 118.8, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 10.1, "min": 2.0, "max": 12.2, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 35.4, "min": 21.0, "max": 52.4, "step": 1.0, "group": "Body", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 8.8, "min": 2.6, "max": 19.8, "step": 0.5, "group": "Body", "label": "Flange height (mm)"}, "end_chamfer": {"type": "float", "default": 0.5, "min": 0.1, "max": 1.5, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331807 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 17.46, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 39.6, \"min\": 11.9, \"max\": 118.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 10.1, \"min\": 2.0, \"max\": 12.2, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 35.4, \"min\": 21.0, \"max\": 52.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 8.8, \"min\": 2.6, \"max\": 19.8, \"step\": 0.5, \"group\": 'Body', \"label\": 'Flange height (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.5, \"min\": 0.1, \"max\": 1.5, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462ca860_3244", "family": "ribbed", "tier": 1, "seed": 1177331808, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "9177eb27e44912f3", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 25200.0, "surface_area": 16600.0, "principal_moments": [6100000.0, 9810000.0, 13699999.999999998], "n_faces": 46, "n_edges": 112, "n_vertices": 68}, "dimensions": {"lines": ["Rectangular body, 65.23 \u00d7 40.3 \u00d7 3 mm (W\u00d7D\u00d7H).", "Five ribs, 3.6 mm thick, 18.4 mm tall."], "text": "Rectangular body, 65.23 \u00d7 40.3 \u00d7 3 mm (W\u00d7D\u00d7H). Five ribs, 3.6 mm thick, 18.4 mm tall."}, "params": {"base_w": {"type": "float", "default": 65.23, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 40.3, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 3.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 5, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 18.4, "min": 7.4, "max": 36.8, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 3.6, "min": 1.0, "max": 9.0, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331808 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 65.23, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 40.3, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 5, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 18.4, \"min\": 7.4, \"max\": 36.8, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 3.6, \"min\": 1.0, \"max\": 9.0, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462ca861_3245", "family": "ribbed", "tier": 3, "seed": 1177331809, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "33486c0961b69a04", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 11800.0, "surface_area": 7580.0, "principal_moments": [1050000.0, 1610000.0, 1710000.0], "n_faces": 54, "n_edges": 132, "n_vertices": 80}, "dimensions": {"lines": ["Rectangular body, 35 \u00d7 18.1 \u00d7 8 mm (W\u00d7D\u00d7H).", "Six ribs, 2.9 mm thick, 13.8 mm tall."], "text": "Rectangular body, 35 \u00d7 18.1 \u00d7 8 mm (W\u00d7D\u00d7H). Six ribs, 2.9 mm thick, 13.8 mm tall."}, "params": {"base_w": {"type": "float", "default": 35, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 18.1, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 8.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 6, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 13.8, "min": 5.5, "max": 27.6, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 2.9, "min": 1.0, "max": 7.2, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331809 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 35, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 18.1, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 6, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 13.8, \"min\": 5.5, \"max\": 27.6, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 2.9, \"min\": 1.0, \"max\": 7.2, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462ca862_3246", "family": "profiled", "tier": 2, "seed": 1177331810, "symmetry": "none", "op_count": 1, "ir_hash": "26c2b710d4c21467", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 225000.0, "surface_area": 25100.0, "principal_moments": [50799999.99999999, 504000000.0, 504000000.0], "n_faces": 8, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["6-sided polygon section, 46.56 mm across corners, extruded 159.8 mm thick."], "text": "6-sided polygon section, 46.56 mm across corners, extruded 159.8 mm thick."}, "params": {"circ_r": {"type": "float", "default": 23.28, "min": 11.6, "max": 46.6, "step": 1.0, "group": "Profile", "label": "Circumscribed radius (mm)"}, "n_sides": {"type": "int", "default": 6, "min": 3, "max": 8, "step": 1, "group": "Profile", "label": "Sides"}, "length": {"type": "float", "default": 159.8, "min": 47.9, "max": 479.4, "step": 5.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331810 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"circ_r\": {\"type\": 'float', \"default\": 23.28, \"min\": 11.6, \"max\": 46.6, \"step\": 1.0, \"group\": 'Profile', \"label\": 'Circumscribed radius (mm)'},\n    \"n_sides\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Profile', \"label\": 'Sides'},\n    \"length\": {\"type\": 'float', \"default\": 159.8, \"min\": 47.9, \"max\": 479.4, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').polygon(p[\"n_sides\"], p[\"circ_r\"] * 2).extrude(p[\"length\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca863_3247", "family": "plate", "tier": 0, "seed": 1177331811, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "098e7b59b0d41906", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 3510.0, "surface_area": 1770.0, "principal_moments": [118000.0, 283000.0, 380000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 30.49 \u00d7 19.2 \u00d7 6 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 30.49 \u00d7 19.2 \u00d7 6 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 30.49, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 19.2, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 6.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331811 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 30.49, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 19.2, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca864_3248", "family": "plate", "tier": 2, "seed": 1177331812, "symmetry": "none", "op_count": 3, "ir_hash": "6e869ec8cc441a4f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 70000.0, "surface_area": 17600.0, "principal_moments": [19500000.0, 68300000.0, 86000000.0], "n_faces": 14, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 110 \u00d7 57.9 \u00d7 12 mm (W\u00d7D\u00d7H).", "Four \u00d813 mm holes at the corners, 77 \u00d7 40.53 mm spacing.", "Chamfer 1.4 mm on vertical edges."], "text": "Rectangular body, 110 \u00d7 57.9 \u00d7 12 mm (W\u00d7D\u00d7H). Four \u00d813 mm holes at the corners, 77 \u00d7 40.53 mm spacing. Chamfer 1.4 mm on vertical edges."}, "params": {"plate_w": {"type": "float", "default": 110, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 57.9, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 13.0, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "chamfer_d": {"type": "float", "default": 1.4, "min": 1.2, "max": 1.6, "step": 0.5, "group": "Body", "label": "Chamfer distance (mm)"}, "chamfered": {"type": "bool", "default": true, "group": "Body", "label": "Chamfer edges"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331812 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 110, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 57.9, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 13.0, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"chamfer_d\": {\"type\": 'float', \"default\": 1.4, \"min\": 1.2, \"max\": 1.6, \"step\": 0.5, \"group\": 'Body', \"label\": 'Chamfer distance (mm)'},\n    \"chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Chamfer edges'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"chamfered\"]:\n        result = result.edges('|Z').chamfer(p[\"chamfer_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca865_3249", "family": "bracket", "tier": 1, "seed": 1177331813, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "defa9cd7bcdf9fc0", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 10400.0, "surface_area": 7990.0, "principal_moments": [2950000.0, 5000000.0, 6840000.0], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["C-channel bracket: base leg 50 mm, vertical leg 46.9 mm, 25.28 mm wide, 3 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."], "text": "C-channel bracket: base leg 50 mm, vertical leg 46.9 mm, 25.28 mm wide, 3 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 50, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 46.9, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 25.28, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 3.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331813 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 50, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 46.9, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 25.28, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca866_3250", "family": "plate", "tier": 0, "seed": 1177331814, "symmetry": "radial", "op_count": 1, "ir_hash": "8a8aec9d0ce40fde", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 7220.0, "surface_area": 3350.0, "principal_moments": [282000.0, 2040000.0, 2270000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 57.86 \u00d7 20.8 \u00d7 6 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 57.86 \u00d7 20.8 \u00d7 6 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 57.86, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 20.8, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 6.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331814 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 57.86, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 20.8, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca867_3251", "family": "bracket", "tier": 1, "seed": 1177331815, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "98549c83c317d105", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 30900.0, "surface_area": 12700.0, "principal_moments": [9420000.0, 22200000.0, 24399999.999999996], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["C-channel bracket: base leg 63.22 mm, vertical leg 44 mm, 37.32 mm wide, 6 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."], "text": "C-channel bracket: base leg 63.22 mm, vertical leg 44 mm, 37.32 mm wide, 6 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 63.22, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 44.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 37.32, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 6.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331815 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 63.22, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 44.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 37.32, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca868_3252", "family": "plate", "tier": 1, "seed": 1177331816, "symmetry": "radial", "op_count": 2, "ir_hash": "100ec8cb91fcf303", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 32400.0, "surface_area": 10600.0, "principal_moments": [5020000.0, 25299999.999999996, 29999999.999999996], "n_faces": 16, "n_edges": 42, "n_vertices": 28}, "dimensions": {"lines": ["Rectangular body, 96.35 \u00d7 42.5 \u00d7 8 mm (W\u00d7D\u00d7H).", "Eight \u00d83.2 mm holes on a \u00d857.8 mm bolt circle."], "text": "Rectangular body, 96.35 \u00d7 42.5 \u00d7 8 mm (W\u00d7D\u00d7H). Eight \u00d83.2 mm holes on a \u00d857.8 mm bolt circle."}, "params": {"plate_w": {"type": "float", "default": 96.35, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 42.5, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "bolt_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 28.9, "min": 19.3, "max": 43.4, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 8, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331816 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 96.35, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 42.5, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 28.9, \"min\": 19.3, \"max\": 43.4, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462ca869_3253", "family": "gear", "tier": 2, "seed": 1177331817, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "bb82dbf52dc2a82e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 95800.0, "surface_area": 21700.0, "principal_moments": [53299999.99999999, 53299999.99999999, 103000000.0], "n_faces": 387, "n_edges": 963, "n_vertices": 578}, "dimensions": {"lines": ["Helical gear, module 2.5 mm, 32 teeth (pitch \u00d880 mm), face width 14.8 mm, 28.5\u00b0 helix (herringbone), \u00d812 mm bore."], "text": "Helical gear, module 2.5 mm, 32 teeth (pitch \u00d880 mm), face width 14.8 mm, 28.5\u00b0 helix (herringbone), \u00d812 mm bore."}, "params": {"module": {"type": "float", "default": 2.5, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 32, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 14.8, "min": 5.9, "max": 37.0, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "helix_angle": {"type": "float", "default": 28.5, "min": 5.0, "max": 40.0, "step": 1.0, "group": "Gear", "label": "Helix angle (deg)"}, "profile_shift": {"type": "float", "default": 0.16, "min": -0.5, "max": 0.7, "step": 0.05, "group": "Gear", "label": "Profile shift"}, "root_fillet": {"type": "float", "default": 0.39, "min": 0.0, "max": 1.25, "step": 0.05, "group": "Gear", "label": "Root fillet (mm)"}, "bore_d": {"type": "float", "default": 12.0, "min": 2.0, "max": 44.2, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331817 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 2.5, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 32, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 14.8, \"min\": 5.9, \"max\": 37.0, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"helix_angle\": {\"type\": 'float', \"default\": 28.5, \"min\": 5.0, \"max\": 40.0, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Helix angle (deg)'},\n    \"profile_shift\": {\"type\": 'float', \"default\": 0.16, \"min\": -0.5, \"max\": 0.7, \"step\": 0.05, \"group\": 'Gear', \"label\": 'Profile shift'},\n    \"root_fillet\": {\"type\": 'float', \"default\": 0.39, \"min\": 0.0, \"max\": 1.25, \"step\": 0.05, \"group\": 'Gear', \"label\": 'Root fillet (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 44.2, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.HelicalGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"], helix_angle=math.radians(p[\"helix_angle\"]), herringbone=True, profile_shift=p[\"profile_shift\"], root_fillet=p[\"root_fillet\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca86a_3254", "family": "revolved", "tier": 0, "seed": 1177331818, "symmetry": "none", "op_count": 1, "ir_hash": "c96b07f33c7a570d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 16000.0, "surface_area": 6860.0, "principal_moments": [1190000.0, 4150000.0, 4150000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d822.32 mm \u00d7 61.2 mm tall."], "text": "Revolved body, \u00d822.32 mm \u00d7 61.2 mm tall."}, "params": {"outer_d": {"type": "float", "default": 22.32, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 61.2, "min": 18.4, "max": 183.6, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331818 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 22.32, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 61.2, \"min\": 18.4, \"max\": 183.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462ca86b_3255", "family": "ribbed", "tier": 2, "seed": 1177331819, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "f3bfba91e0cad074", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 13800.0, "surface_area": 10500.0, "principal_moments": [2480000.0, 4610000.0, 6880000.0], "n_faces": 62, "n_edges": 168, "n_vertices": 104}, "dimensions": {"lines": ["Rectangular body, 65 \u00d7 38.8 \u00d7 3 mm (W\u00d7D\u00d7H).", "Six ribs, 3.4 mm thick, 6.4 mm tall.", "Four \u00d86.4 mm holes at the corners, 45.5 \u00d7 27.16 mm spacing."], "text": "Rectangular body, 65 \u00d7 38.8 \u00d7 3 mm (W\u00d7D\u00d7H). Six ribs, 3.4 mm thick, 6.4 mm tall. Four \u00d86.4 mm holes at the corners, 45.5 \u00d7 27.16 mm spacing."}, "params": {"base_w": {"type": "float", "default": 65, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 38.8, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 3.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 6, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 6.4, "min": 2.6, "max": 12.8, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 3.4, "min": 1.0, "max": 8.5, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 8.7, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331819 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 65, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 38.8, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 6, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.6, \"max\": 12.8, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 3.4, \"min\": 1.0, \"max\": 8.5, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 8.7, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"base_w\"] * 0.7, p[\"base_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462ca86c_3256", "family": "gear", "tier": 1, "seed": 1177331820, "symmetry": "none", "op_count": 1, "ir_hash": "5657e63bca289f43", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 5370.0, "surface_area": 3730.0, "principal_moments": [601000.0, 601000.0, 1190000.0], "n_faces": 201, "n_edges": 597, "n_vertices": 398}, "dimensions": {"lines": ["Spur gear, module 1.25 mm, 33 teeth (pitch \u00d841.25 mm), face width 4.2 mm, \u00d87.7 mm bore."], "text": "Spur gear, module 1.25 mm, 33 teeth (pitch \u00d841.25 mm), face width 4.2 mm, \u00d87.7 mm bore."}, "params": {"module": {"type": "float", "default": 1.25, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 33, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 4.2, "min": 1.7, "max": 10.5, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "bore_d": {"type": "float", "default": 7.7, "min": 2.0, "max": 22.9, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331820 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 1.25, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 33, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 4.2, \"min\": 1.7, \"max\": 10.5, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 7.7, \"min\": 2.0, \"max\": 22.9, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca86d_3257", "family": "revolved", "tier": 1, "seed": 1177331821, "symmetry": "none", "op_count": 2, "ir_hash": "4b90550d37434fa2", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 332000.0, "surface_area": 35400.0, "principal_moments": [209000000.0, 401000000.0, 401000000.0], "n_faces": 8, "n_edges": 14, "n_vertices": 8}, "dimensions": {"lines": ["Revolved body, \u00d867.55 mm \u00d7 103.5 mm tall with \u00d821.9 mm bore.", "Chamfer 0.4 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d867.55 mm \u00d7 103.5 mm tall with \u00d821.9 mm bore. Chamfer 0.4 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 67.55, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 103.5, "min": 31.0, "max": 310.5, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 21.9, "min": 2.0, "max": 47.3, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "end_chamfer": {"type": "float", "default": 0.4, "min": 0.1, "max": 1.2, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331821 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 67.55, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 103.5, \"min\": 31.0, \"max\": 310.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 21.9, \"min\": 2.0, \"max\": 47.3, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.4, \"min\": 0.1, \"max\": 1.2, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca86e_3258", "family": "bracket", "tier": 1, "seed": 1177331822, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "83ffbfbd271176ee", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 16700.0, "surface_area": 10000.0, "principal_moments": [4530000.0, 16399999.999999998, 19000000.0], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["C-channel bracket: base leg 76.59 mm, vertical leg 46.3 mm, 26.25 mm wide, 4 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."], "text": "C-channel bracket: base leg 76.59 mm, vertical leg 46.3 mm, 26.25 mm wide, 4 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 76.59, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 46.3, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 26.25, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 4.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331822 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 76.59, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 46.3, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 26.25, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca86f_3259", "family": "revolved", "tier": 1, "seed": 1177331823, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "110cfe480aa4b6a1", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 616000.0, "surface_area": 64500.0, "principal_moments": [595000000.0, 1520000000.0, 1520000000.0], "n_faces": 4, "n_edges": 6, "n_vertices": 4}, "dimensions": {"lines": ["Revolved body, \u00d880 mm \u00d7 154.6 mm tall with \u00d836.4 mm bore."], "text": "Revolved body, \u00d880 mm \u00d7 154.6 mm tall with \u00d836.4 mm bore."}, "params": {"outer_d": {"type": "float", "default": 80.0, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 154.6, "min": 46.4, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 36.4, "min": 2.0, "max": 56.0, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331823 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 80.0, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 154.6, \"min\": 46.4, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 36.4, \"min\": 2.0, \"max\": 56.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca871_3261", "family": "bracket", "tier": 3, "seed": 1177331825, "symmetry": "none", "op_count": 1, "ir_hash": "738ddd2539f734e9", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 37600.0, "surface_area": 15100.0, "principal_moments": [15899999.999999998, 19400000.0, 19500000.0], "n_faces": 26, "n_edges": 76, "n_vertices": 48}, "dimensions": {"lines": ["C-channel bracket: base leg 45 mm, vertical leg 46.6 mm, 50 mm wide, 6 mm thick; 2 \u00d7 \u00d84.3 mm holes per leg; 7.1 mm corner gusset."], "text": "C-channel bracket: base leg 45 mm, vertical leg 46.6 mm, 50 mm wide, 6 mm thick; 2 \u00d7 \u00d84.3 mm holes per leg; 7.1 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 45, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 46.6, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 50, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 6.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 2, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 7.1, "min": 3.0, "max": 18.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331825 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 45, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 46.6, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 50, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 2, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 7.1, \"min\": 3.0, \"max\": 18.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl / 2, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bl - _bt, _bt).lineTo(_bl - _bt - _g, _bt)\n                    .lineTo(_bl - _bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca872_3262", "family": "plate", "tier": 0, "seed": 1177331826, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "29eba56d527590c6", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 11400.0, "surface_area": 3400.0, "principal_moments": [841000.0, 1300000.0, 1870000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 35 \u00d7 27.2 \u00d7 12 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 35 \u00d7 27.2 \u00d7 12 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 35, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 27.2, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331826 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 35, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 27.2, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca873_3263", "family": "revolved", "tier": 1, "seed": 1177331827, "symmetry": "none", "op_count": 1, "ir_hash": "3c87fc24f3b5aa1b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 986000.0, "surface_area": 107000.0, "principal_moments": [911000000.0, 6720000000.0, 6720000000.0], "n_faces": 4, "n_edges": 6, "n_vertices": 4}, "dimensions": {"lines": ["Revolved body, \u00d877.27 mm \u00d7 276 mm tall with \u00d837.7 mm bore."], "text": "Revolved body, \u00d877.27 mm \u00d7 276 mm tall with \u00d837.7 mm bore."}, "params": {"outer_d": {"type": "float", "default": 77.27, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 276.0, "min": 82.8, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 37.7, "min": 2.0, "max": 54.1, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331827 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 77.27, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 276.0, \"min\": 82.8, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 37.7, \"min\": 2.0, \"max\": 54.1, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca874_3264", "family": "bracket", "tier": 3, "seed": 1177331828, "symmetry": "none", "op_count": 1, "ir_hash": "6330e5a42b3b4d13", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 9980.0, "surface_area": 4560.0, "principal_moments": [924000.0, 2480000.0, 2660000.0], "n_faces": 14, "n_edges": 37, "n_vertices": 24}, "dimensions": {"lines": ["L-bracket: base leg 36.85 mm, vertical leg 42.4 mm, 21.56 mm wide, 6 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg; 8.7 mm corner gusset."], "text": "L-bracket: base leg 36.85 mm, vertical leg 42.4 mm, 21.56 mm wide, 6 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg; 8.7 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 36.85, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 42.4, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 21.56, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 6.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 8.6, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 8.7, "min": 3.0, "max": 10.8, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331828 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 36.85, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 42.4, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 21.56, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 8.6, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 8.7, \"min\": 3.0, \"max\": 10.8, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462ca875_3265", "family": "profiled", "tier": 0, "seed": 1177331829, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "dfdc5ec88a5110bb", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 142000.0, "surface_area": 42700.0, "principal_moments": [19600000.0, 733000000.0, 733000000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d830.35 mm \u00d7 293.4 mm tall."], "text": "Revolved body, \u00d830.35 mm \u00d7 293.4 mm tall."}, "params": {"outer_d": {"type": "float", "default": 30.35, "min": 15.2, "max": 60.7, "step": 1.0, "group": "Profile", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 293.4, "min": 88.0, "max": 880.2, "step": 5.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331829 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 30.35, \"min\": 15.2, \"max\": 60.7, \"step\": 1.0, \"group\": 'Profile', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 293.4, \"min\": 88.0, \"max\": 880.2, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462ca876_3266", "family": "flanged", "tier": 2, "seed": 1177331830, "symmetry": "mirror_xy", "op_count": 3, "ir_hash": "122c2e624ec0b2b7", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 44800.0, "surface_area": 14600.0, "principal_moments": [14799999.999999998, 14799999.999999998, 17100000.0], "n_faces": 44, "n_edges": 114, "n_vertices": 67}, "dimensions": {"lines": ["Revolved body, \u00d838.71 mm \u00d7 37.8 mm tall with \u00d817.2 mm bore, \u00d868.9 mm \u00d7 5.5 mm flange.", "Six \u00d88.4 mm holes on a \u00d841.4 mm bolt circle.", "Chamfer 0.4 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d838.71 mm \u00d7 37.8 mm tall with \u00d817.2 mm bore, \u00d868.9 mm \u00d7 5.5 mm flange. Six \u00d88.4 mm holes on a \u00d841.4 mm bolt circle. Chamfer 0.4 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 38.71, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 37.8, "min": 11.3, "max": 94.5, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 17.2, "min": 2.0, "max": 27.1, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 68.9, "min": 50.3, "max": 116.1, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 5.5, "min": 1.6, "max": 15.1, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 8.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 20.7, "min": 13.8, "max": 31.0, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 6, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}, "end_chamfer": {"type": "float", "default": 0.4, "min": 0.1, "max": 2.0, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331830 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 38.71, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 37.8, \"min\": 11.3, \"max\": 94.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 17.2, \"min\": 2.0, \"max\": 27.1, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 68.9, \"min\": 50.3, \"max\": 116.1, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 5.5, \"min\": 1.6, \"max\": 15.1, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 20.7, \"min\": 13.8, \"max\": 31.0, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.4, \"min\": 0.1, \"max\": 2.0, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca877_3267", "family": "plate", "tier": 0, "seed": 1177331831, "symmetry": "none", "op_count": 1, "ir_hash": "e35c4329dcfbac58", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 8230.0, "surface_area": 3700.0, "principal_moments": [457000.0, 2070000.0, 2480000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 54.62 \u00d7 25.1 \u00d7 6 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 54.62 \u00d7 25.1 \u00d7 6 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 54.62, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 25.1, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 6.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331831 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 54.62, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 25.1, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca878_3268", "family": "bracket", "tier": 1, "seed": 1177331832, "symmetry": "none", "op_count": 1, "ir_hash": "5409d3a47aa5dcf2", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 18800.0, "surface_area": 7210.0, "principal_moments": [3450000.0, 12299999.999999998, 14499999.999999998], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["L-bracket: base leg 70 mm, vertical leg 57.8 mm, 20 mm wide, 8 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."], "text": "L-bracket: base leg 70 mm, vertical leg 57.8 mm, 20 mm wide, 8 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 70, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 57.8, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 20, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 8.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 8.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331832 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 70, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 57.8, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 20, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 8.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca879_3269", "family": "block", "tier": 1, "seed": 1177331833, "symmetry": "none", "op_count": 2, "ir_hash": "d712e20856539db0", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 333000.0, "surface_area": 40100.0, "principal_moments": [243000000.0, 323000000.0, 476000000.0], "n_faces": 22, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 85 \u00d7 40.5 \u00d7 100 mm (W\u00d7D\u00d7H).", "Four 5.2 mm square holes at the corners, 59.5 \u00d7 28.35 mm spacing."], "text": "Rectangular body, 85 \u00d7 40.5 \u00d7 100 mm (W\u00d7D\u00d7H). Four 5.2 mm square holes at the corners, 59.5 \u00d7 28.35 mm spacing."}, "params": {"block_w": {"type": "float", "default": 85, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 40.5, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 100.0, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 5.2, "min": 2.0, "max": 11.8, "step": 0.5, "group": "Holes", "label": "Square hole size (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331833 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 85, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 40.5, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 100.0, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.2, \"min\": 2.0, \"max\": 11.8, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Square hole size (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().rect(p[\"hole_d\"], p[\"hole_d\"]).cutThruAll()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca87a_3270", "family": "block", "tier": 1, "seed": 1177331834, "symmetry": "none", "op_count": 2, "ir_hash": "a759c10fe3008044", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 164000.0, "surface_area": 26000.0, "principal_moments": [55399999.99999999, 149000000.0, 180000000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 56.69 \u00d7 30 \u00d7 100 mm (W\u00d7D\u00d7H).", "Four \u00d84.3 mm holes at the corners, 39.683 \u00d7 21 mm spacing."], "text": "Rectangular body, 56.69 \u00d7 30 \u00d7 100 mm (W\u00d7D\u00d7H). Four \u00d84.3 mm holes at the corners, 39.683 \u00d7 21 mm spacing."}, "params": {"block_w": {"type": "float", "default": 56.69, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 30.0, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 100.0, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 6.7, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331834 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 56.69, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 30.0, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 100.0, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 6.7, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca87b_3271", "family": "bracket", "tier": 1, "seed": 1177331835, "symmetry": "none", "op_count": 1, "ir_hash": "106c482e91185bfe", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 17600.0, "surface_area": 6720.0, "principal_moments": [1460000.0, 10500000.0, 10700000.0], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Z-bracket: base leg 50 mm, vertical leg 35.2 mm, top leg 42.2 mm, 20 mm wide, 8 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."], "text": "Z-bracket: base leg 50 mm, vertical leg 35.2 mm, top leg 42.2 mm, 20 mm wide, 8 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 50, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 35.2, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 20, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 8.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 42.2, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 8.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331835 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 50, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 35.2, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 20, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 42.2, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 8.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca87d_3273", "family": "compound", "tier": 1, "seed": 1177331837, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "07fa2583e2efc2f2", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 209000.0, "surface_area": 27100.0, "principal_moments": [123000000.0, 148000000.0, 148000000.0], "n_faces": 15, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Lofted body through 2 sections: \u00d879.6 mm circular section \u2192 45.3 \u00d7 45.3 mm rectangular section.", "6-sided polygon section, 30 mm across corners attachment, 29.3 mm long, from top face with a \u00d815.7 mm bore."], "text": "Lofted body through 2 sections: \u00d879.6 mm circular section \u2192 45.3 \u00d7 45.3 mm rectangular section. 6-sided polygon section, 30 mm across corners attachment, 29.3 mm long, from top face with a \u00d815.7 mm bore."}, "params": {"adapter_base": {"type": "float", "default": 79.6, "min": 47.8, "max": 119.4, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "adapter_top": {"type": "float", "default": 45.3, "min": 22.6, "max": 79.6, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "adapter_h": {"type": "float", "default": 61.2, "min": 24.5, "max": 122.4, "step": 1.0, "group": "Body", "label": "Transition height (mm)"}, "neck_sides": {"type": "int", "default": 6, "min": 3, "max": 8, "step": 1, "group": "Neck", "label": "Neck sides"}, "neck_r": {"type": "float", "default": 15.0, "min": 7.5, "max": 22.6, "step": 1.0, "group": "Neck", "label": "Neck circumradius (mm)"}, "neck_l": {"type": "float", "default": 29.3, "min": 11.7, "max": 73.2, "step": 1.0, "group": "Neck", "label": "Neck length (mm)"}, "neck_bore": {"type": "float", "default": 15.7, "min": 2.0, "max": 18.7, "step": 0.5, "group": "Neck", "label": "Neck bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331837 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"adapter_base\": {\"type\": 'float', \"default\": 79.6, \"min\": 47.8, \"max\": 119.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"adapter_top\": {\"type\": 'float', \"default\": 45.3, \"min\": 22.6, \"max\": 79.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"adapter_h\": {\"type\": 'float', \"default\": 61.2, \"min\": 24.5, \"max\": 122.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Transition height (mm)'},\n    \"neck_sides\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Neck', \"label\": 'Neck sides'},\n    \"neck_r\": {\"type\": 'float', \"default\": 15.0, \"min\": 7.5, \"max\": 22.6, \"step\": 1.0, \"group\": 'Neck', \"label\": 'Neck circumradius (mm)'},\n    \"neck_l\": {\"type\": 'float', \"default\": 29.3, \"min\": 11.7, \"max\": 73.2, \"step\": 1.0, \"group\": 'Neck', \"label\": 'Neck length (mm)'},\n    \"neck_bore\": {\"type\": 'float', \"default\": 15.7, \"min\": 2.0, \"max\": 18.7, \"step\": 0.5, \"group\": 'Neck', \"label\": 'Neck bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .circle(p[\"adapter_base\"] / 2)\n        .workplane(offset=p[\"adapter_h\"])\n        .rect(p[\"adapter_top\"], p[\"adapter_top\"])\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"neck_sides\"], p[\"neck_r\"] * 2).extrude(p[\"neck_l\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"neck_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca87e_3274", "family": "bracket", "tier": 2, "seed": 1177331838, "symmetry": "none", "op_count": 1, "ir_hash": "f039ca3673f53328", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 39900.0, "surface_area": 13500.0, "principal_moments": [12999999.999999998, 45000000.0, 54399999.99999999], "n_faces": 15, "n_edges": 41, "n_vertices": 26}, "dimensions": {"lines": ["L-bracket: base leg 90 mm, vertical leg 90 mm, 25 mm wide, 8 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 6.5 mm corner gusset."], "text": "L-bracket: base leg 90 mm, vertical leg 90 mm, 25 mm wide, 8 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 6.5 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 90.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 90.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 25, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 8.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 6.5, "min": 4.0, "max": 12.5, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331838 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 90.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 90.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 25, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 6.5, \"min\": 4.0, \"max\": 12.5, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462ca87f_3275", "family": "sketched", "tier": 3, "seed": 1177331839, "symmetry": "none", "op_count": 4, "ir_hash": "646e42cde22f72a7", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 44800.0, "surface_area": 9430.0, "principal_moments": [10400000.0, 10900000.0, 18400000.0], "n_faces": 11, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["freeform sketched section (5 segments: 2 arcs, 3 curves), ~54.172 \u00d7 50.712 mm, extruded 14.63 mm thick.", "One \u00d86.4 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch.", "Boss \u00d823.7 mm \u00d7 10.7 mm tall on top face.", "Fillet radius 2.9 mm on vertical edges (optional, off by default)."], "text": "freeform sketched section (5 segments: 2 arcs, 3 curves), ~54.172 \u00d7 50.712 mm, extruded 14.63 mm thick. One \u00d86.4 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch. Boss \u00d823.7 mm \u00d7 10.7 mm tall on top face. Fillet radius 2.9 mm on vertical edges (optional, off by default)."}, "params": {"sk_w": {"type": "float", "default": 84.67, "min": 42.3, "max": 152.4, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 73.02, "min": 36.5, "max": 131.4, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "sk_t": {"type": "float", "default": 14.63, "min": 5.9, "max": 32.2, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "sk_hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 12.8, "step": 0.5, "group": "Holes", "label": "Hole diameter (mm)"}, "boss_d": {"type": "float", "default": 23.7, "min": 11.8, "max": 47.4, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 10.7, "min": 4.3, "max": 26.8, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}, "sk_fillet_r": {"type": "float", "default": 2.9, "min": 0.5, "max": 7.2, "step": 0.5, "group": "Body", "label": "Edge fillet radius (mm)"}, "sk_filleted": {"type": "bool", "default": false, "group": "Body", "label": "Fillet vertical edges"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331839 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 84.67, \"min\": 42.3, \"max\": 152.4, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 73.02, \"min\": 36.5, \"max\": 131.4, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"sk_t\": {\"type\": 'float', \"default\": 14.63, \"min\": 5.9, \"max\": 32.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"sk_hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 12.8, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"boss_d\": {\"type\": 'float', \"default\": 23.7, \"min\": 11.8, \"max\": 47.4, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 10.7, \"min\": 4.3, \"max\": 26.8, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n    \"sk_fillet_r\": {\"type\": 'float', \"default\": 2.9, \"min\": 0.5, \"max\": 7.2, \"step\": 0.5, \"group\": 'Body', \"label\": 'Edge fillet radius (mm)'},\n    \"sk_filleted\": {\"type\": 'bool', \"default\": False, \"group\": 'Body', \"label\": 'Fillet vertical edges'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.3618, p[\"sk_h\"] * 0.077).bezier([(p[\"sk_w\"] * 0.3618, p[\"sk_h\"] * 0.077), (p[\"sk_w\"] * 0.3246, p[\"sk_h\"] * 0.2229), (p[\"sk_w\"] * 0.2417, p[\"sk_h\"] * 0.3485)]).bezier([(p[\"sk_w\"] * 0.2417, p[\"sk_h\"] * 0.3485), (p[\"sk_w\"] * -0.0215, p[\"sk_h\"] * 0.3962), (p[\"sk_w\"] * -0.278, p[\"sk_h\"] * 0.3204)]).threePointArc((p[\"sk_w\"] * -0.3182, p[\"sk_h\"] * -0.0087), (p[\"sk_w\"] * -0.2368, p[\"sk_h\"] * -0.3307)).threePointArc((p[\"sk_w\"] * -0.0058, p[\"sk_h\"] * -0.4145), (p[\"sk_w\"] * 0.2515, p[\"sk_h\"] * -0.346)).bezier([(p[\"sk_w\"] * 0.2515, p[\"sk_h\"] * -0.346), (p[\"sk_w\"] * 0.328, p[\"sk_h\"] * -0.14), (p[\"sk_w\"] * 0.3618, p[\"sk_h\"] * 0.077)]).close().extrude(p[\"sk_t\"]))\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"sk_hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    if p[\"sk_filleted\"]:\n        result = result.edges('|Z').fillet(p[\"sk_fillet_r\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462ca880_3276", "family": "flanged", "tier": 1, "seed": 1177331840, "symmetry": "none", "op_count": 2, "ir_hash": "f353333998b15563", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 7420.0, "surface_area": 4940.0, "principal_moments": [826000.0, 826000.0, 1230000.0], "n_faces": 18, "n_edges": 45, "n_vertices": 30}, "dimensions": {"lines": ["Revolved body, \u00d820.6 mm \u00d7 17.4 mm tall with \u00d89.8 mm bore, \u00d844.5 mm \u00d7 2.8 mm flange.", "Twelve \u00d84.3 mm holes on a \u00d826.6 mm bolt circle."], "text": "Revolved body, \u00d820.6 mm \u00d7 17.4 mm tall with \u00d89.8 mm bore, \u00d844.5 mm \u00d7 2.8 mm flange. Twelve \u00d84.3 mm holes on a \u00d826.6 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 20.6, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 17.4, "min": 5.2, "max": 43.5, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 9.8, "min": 2.0, "max": 14.4, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 44.5, "min": 26.8, "max": 61.8, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 2.8, "min": 0.8, "max": 7.0, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 13.3, "min": 8.9, "max": 20.0, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 12, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331840 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 20.6, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 17.4, \"min\": 5.2, \"max\": 43.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 9.8, \"min\": 2.0, \"max\": 14.4, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 44.5, \"min\": 26.8, \"max\": 61.8, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 2.8, \"min\": 0.8, \"max\": 7.0, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 13.3, \"min\": 8.9, \"max\": 20.0, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 12, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462ca881_3277", "family": "ribbed", "tier": 1, "seed": 1177331841, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "52517136d0903e9b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 19000.0, "surface_area": 11000.0, "principal_moments": [3960000.0, 5610000.0, 9130000.0], "n_faces": 31, "n_edges": 72, "n_vertices": 48}, "dimensions": {"lines": ["Rectangular body, 58.88 \u00d7 50.3 \u00d7 3 mm (W\u00d7D\u00d7H).", "Five ribs, 5.1 mm thick, 8.4 mm tall."], "text": "Rectangular body, 58.88 \u00d7 50.3 \u00d7 3 mm (W\u00d7D\u00d7H). Five ribs, 5.1 mm thick, 8.4 mm tall."}, "params": {"base_w": {"type": "float", "default": 58.88, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 50.3, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 3.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 5, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 8.4, "min": 3.4, "max": 16.8, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 5.1, "min": 1.0, "max": 12.8, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331841 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 58.88, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 50.3, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 5, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 8.4, \"min\": 3.4, \"max\": 16.8, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 5.1, \"min\": 1.0, \"max\": 12.8, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462ca882_3278", "family": "enclosure", "tier": 1, "seed": 1177331842, "symmetry": "none", "op_count": 2, "ir_hash": "41150ef4263b134a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 112000.0, "surface_area": 44400.0, "principal_moments": [94899999.99999999, 124000000.0, 172000000.0], "n_faces": 11, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 90 \u00d7 38.3 \u00d7 81.9 mm (W\u00d7D\u00d7H).", "Hollowed to 5.2 mm wall thickness, open at top face."], "text": "Rectangular body, 90 \u00d7 38.3 \u00d7 81.9 mm (W\u00d7D\u00d7H). Hollowed to 5.2 mm wall thickness, open at top face."}, "params": {"enc_w": {"type": "float", "default": 90, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 38.3, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 81.9, "min": 32.8, "max": 163.8, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 5.2, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331842 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 90, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 38.3, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 81.9, \"min\": 32.8, \"max\": 163.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 5.2, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca884_3280", "family": "revolved", "tier": 0, "seed": 1177331844, "symmetry": "none", "op_count": 1, "ir_hash": "461bb353905b7fc0", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 27900.0, "surface_area": 7880.0, "principal_moments": [5180000.0, 5180000.0, 6700000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d840 mm \u00d7 33.3 mm tall."], "text": "Revolved body, \u00d840 mm \u00d7 33.3 mm tall."}, "params": {"outer_d": {"type": "float", "default": 40, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 33.3, "min": 10.0, "max": 99.9, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331844 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 40, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 33.3, \"min\": 10.0, \"max\": 99.9, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462ca885_3281", "family": "flanged", "tier": 1, "seed": 1177331845, "symmetry": "none", "op_count": 2, "ir_hash": "66778c816c058074", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 215000.0, "surface_area": 47200.0, "principal_moments": [230000000.0, 230000000.0, 233000000.0], "n_faces": 18, "n_edges": 45, "n_vertices": 30}, "dimensions": {"lines": ["Revolved body, \u00d863.25 mm \u00d7 72 mm tall with \u00d832.9 mm bore, \u00d8127.5 mm \u00d7 5.3 mm flange.", "Twelve \u00d84.3 mm holes on a \u00d876.4 mm bolt circle."], "text": "Revolved body, \u00d863.25 mm \u00d7 72 mm tall with \u00d832.9 mm bore, \u00d8127.5 mm \u00d7 5.3 mm flange. Twelve \u00d84.3 mm holes on a \u00d876.4 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 63.25, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 72.0, "min": 21.6, "max": 180.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 32.9, "min": 2.0, "max": 44.3, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 127.5, "min": 82.2, "max": 189.8, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 5.3, "min": 1.6, "max": 28.8, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 38.2, "min": 25.5, "max": 57.4, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 12, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331845 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 63.25, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 72.0, \"min\": 21.6, \"max\": 180.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 32.9, \"min\": 2.0, \"max\": 44.3, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 127.5, \"min\": 82.2, \"max\": 189.8, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 5.3, \"min\": 1.6, \"max\": 28.8, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 38.2, \"min\": 25.5, \"max\": 57.4, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 12, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462ca886_3282", "family": "gear", "tier": 3, "seed": 1177331846, "symmetry": "none", "op_count": 1, "ir_hash": "7ec27a7bc20e8248", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 3800.0, "surface_area": 3240.0, "principal_moments": [348000.0, 348000.0, 688000.0], "n_faces": 233, "n_edges": 690, "n_vertices": 460}, "dimensions": {"lines": ["Cycloid gear, module 1 mm, 38 teeth (pitch \u00d838 mm), face width 3.4 mm, \u00d87.4 mm bore, \u00d813.3 mm \u00d7 1.5 mm hub."], "text": "Cycloid gear, module 1 mm, 38 teeth (pitch \u00d838 mm), face width 3.4 mm, \u00d87.4 mm bore, \u00d813.3 mm \u00d7 1.5 mm hub."}, "params": {"module": {"type": "float", "default": 1.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 38, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 3.4, "min": 1.4, "max": 8.5, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "bore_d": {"type": "float", "default": 7.4, "min": 2.0, "max": 21.3, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}, "hub_d": {"type": "float", "default": 13.3, "min": 10.4, "max": 19.0, "step": 1.0, "group": "Hub", "label": "Hub diameter (mm)"}, "hub_h": {"type": "float", "default": 1.5, "min": 0.4, "max": 3.0, "step": 0.5, "group": "Hub", "label": "Hub height (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331846 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 1.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 38, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 3.4, \"min\": 1.4, \"max\": 8.5, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 7.4, \"min\": 2.0, \"max\": 21.3, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n    \"hub_d\": {\"type\": 'float', \"default\": 13.3, \"min\": 10.4, \"max\": 19.0, \"step\": 1.0, \"group\": 'Hub', \"label\": 'Hub diameter (mm)'},\n    \"hub_h\": {\"type\": 'float', \"default\": 1.5, \"min\": 0.4, \"max\": 3.0, \"step\": 0.5, \"group\": 'Hub', \"label\": 'Hub height (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.CycloidGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"hub_d\"] / 2).extrude(p[\"hub_h\"])\n    )\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca887_3283", "family": "bracket", "tier": 3, "seed": 1177331847, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "7041b3ca40cf8609", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 41500.0, "surface_area": 13000.0, "principal_moments": [11200000.0, 28499999.999999996, 30599999.999999996], "n_faces": 14, "n_edges": 37, "n_vertices": 24}, "dimensions": {"lines": ["L-bracket: base leg 71.93 mm, vertical leg 49.1 mm, 44.46 mm wide, 8 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg; 8.6 mm corner gusset."], "text": "L-bracket: base leg 71.93 mm, vertical leg 49.1 mm, 44.46 mm wide, 8 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg; 8.6 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 71.93, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 49.1, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 44.46, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 8.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 8.6, "min": 4.0, "max": 22.2, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331847 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 71.93, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 49.1, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 44.46, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 8.6, \"min\": 4.0, \"max\": 22.2, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca888_3284", "family": "plate", "tier": 3, "seed": 1177331848, "symmetry": "mirror_x", "op_count": 4, "ir_hash": "2138b9623f28d9f0", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 30000.0, "surface_area": 10500.0, "principal_moments": [6080000.0, 13799999.999999998, 19200000.0], "n_faces": 31, "n_edges": 84, "n_vertices": 56}, "dimensions": {"lines": ["Rectangular body, 70 \u00d7 44.9 \u00d7 12 mm (W\u00d7D\u00d7H).", "Four 7.1 \u00d7 3.2 mm slots at the corners, 49 \u00d7 31.43 mm spacing.", "Fillet radius 2.303 mm on vertical edges.", "Pocket 47.9 \u00d7 24.4 mm, 5.7 mm deep, in top face."], "text": "Rectangular body, 70 \u00d7 44.9 \u00d7 12 mm (W\u00d7D\u00d7H). Four 7.1 \u00d7 3.2 mm slots at the corners, 49 \u00d7 31.43 mm spacing. Fillet radius 2.303 mm on vertical edges. Pocket 47.9 \u00d7 24.4 mm, 5.7 mm deep, in top face."}, "params": {"plate_w": {"type": "float", "default": 70, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 44.9, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 10.1, "step": 0.5, "group": "Holes", "label": "Slot width (mm)"}, "hole_slot_len": {"type": "float", "default": 7.1, "min": 4.8, "max": 13.5, "step": 0.5, "group": "Holes", "label": "Slot length (mm)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}, "pocket_w": {"type": "float", "default": 47.9, "min": 23.9, "max": 56.0, "step": 1.0, "group": "Pocket", "label": "Pocket width (mm)"}, "pocket_d": {"type": "float", "default": 24.4, "min": 12.2, "max": 35.9, "step": 1.0, "group": "Pocket", "label": "Pocket depth (mm)"}, "pocket_h": {"type": "float", "default": 5.7, "min": 2.3, "max": 10.2, "step": 0.5, "group": "Pocket", "label": "Pocket height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331848 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 70, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 44.9, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 10.1, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Slot width (mm)'},\n    \"hole_slot_len\": {\"type\": 'float', \"default\": 7.1, \"min\": 4.8, \"max\": 13.5, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Slot length (mm)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n    \"pocket_w\": {\"type\": 'float', \"default\": 47.9, \"min\": 23.9, \"max\": 56.0, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket width (mm)'},\n    \"pocket_d\": {\"type\": 'float', \"default\": 24.4, \"min\": 12.2, \"max\": 35.9, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket depth (mm)'},\n    \"pocket_h\": {\"type\": 'float', \"default\": 5.7, \"min\": 2.3, \"max\": 10.2, \"step\": 0.5, \"group\": 'Pocket', \"label\": 'Pocket height (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().slot2D(p[\"hole_slot_len\"], p[\"hole_d\"]).cutThruAll()\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"plate_w\"], p[\"plate_d\"]) * 0.0512889276312718)\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"pocket_w\"], p[\"pocket_d\"])\n        .cutBlind(-p[\"pocket_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca889_3285", "family": "block", "tier": 2, "seed": 1177331849, "symmetry": "radial", "op_count": 3, "ir_hash": "4fc9d4c508b96064", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 191000.0, "surface_area": 26500.0, "principal_moments": [95299999.99999999, 121000000.0, 147000000.0], "n_faces": 15, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 60 \u00d7 45.5 \u00d7 75.4 mm (W\u00d7D\u00d7H).", "Four \u00d83.2 mm holes on a \u00d836 mm bolt circle.", "Pocket 26.3 \u00d7 20.7 mm, 22.6 mm deep, in top face."], "text": "Rectangular body, 60 \u00d7 45.5 \u00d7 75.4 mm (W\u00d7D\u00d7H). Four \u00d83.2 mm holes on a \u00d836 mm bolt circle. Pocket 26.3 \u00d7 20.7 mm, 22.6 mm deep, in top face."}, "params": {"block_w": {"type": "float", "default": 60, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 45.5, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 75.4, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "bolt_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 18.0, "min": 12.0, "max": 27.0, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 4, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}, "pocket_w": {"type": "float", "default": 26.3, "min": 13.2, "max": 48.0, "step": 1.0, "group": "Pocket", "label": "Pocket width (mm)"}, "pocket_d": {"type": "float", "default": 20.7, "min": 10.3, "max": 36.4, "step": 1.0, "group": "Pocket", "label": "Pocket depth (mm)"}, "pocket_h": {"type": "float", "default": 22.6, "min": 9.0, "max": 64.1, "step": 0.5, "group": "Pocket", "label": "Pocket height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331849 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 60, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 45.5, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 75.4, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 18.0, \"min\": 12.0, \"max\": 27.0, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 4, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n    \"pocket_w\": {\"type\": 'float', \"default\": 26.3, \"min\": 13.2, \"max\": 48.0, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket width (mm)'},\n    \"pocket_d\": {\"type\": 'float', \"default\": 20.7, \"min\": 10.3, \"max\": 36.4, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket depth (mm)'},\n    \"pocket_h\": {\"type\": 'float', \"default\": 22.6, \"min\": 9.0, \"max\": 64.1, \"step\": 0.5, \"group\": 'Pocket', \"label\": 'Pocket height (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"pocket_w\"], p[\"pocket_d\"])\n        .cutBlind(-p[\"pocket_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca88a_3286", "family": "bracket", "tier": 1, "seed": 1177331850, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "f5c64c570a48d003", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 66900.0, "surface_area": 29900.0, "principal_moments": [67600000.0, 77500000.0, 105000000.0], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["C-channel bracket: base leg 70 mm, vertical leg 82.3 mm, 60 mm wide, 5 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."], "text": "C-channel bracket: base leg 70 mm, vertical leg 82.3 mm, 60 mm wide, 5 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 70, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 82.3, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 60.0, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 5.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331850 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 70, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 82.3, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 60.0, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca88b_3287", "family": "revolved", "tier": 0, "seed": 1177331851, "symmetry": "radial", "op_count": 1, "ir_hash": "4c6366de0b3860b7", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 62200.0, "surface_area": 15400.0, "principal_moments": [14899999.999999998, 27799999.999999996, 27799999.999999996], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d840 mm \u00d7 74.2 mm tall."], "text": "Revolved body, \u00d840 mm \u00d7 74.2 mm tall."}, "params": {"outer_d": {"type": "float", "default": 40, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 74.2, "min": 22.3, "max": 222.6, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331851 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 40, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 74.2, \"min\": 22.3, \"max\": 222.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca88c_3288", "family": "plate", "tier": 2, "seed": 1177331852, "symmetry": "none", "op_count": 3, "ir_hash": "c96a4fb3f21ee549", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 24200.0, "surface_area": 10100.0, "principal_moments": [2980000.0, 22899999.999999996, 25799999.999999996], "n_faces": 14, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 107.05 \u00d7 38.2 \u00d7 6 mm (W\u00d7D\u00d7H).", "Four \u00d84.3 mm holes at the corners, 74.935 \u00d7 26.74 mm spacing.", "Fillet radius 2.471 mm on vertical edges."], "text": "Rectangular body, 107.05 \u00d7 38.2 \u00d7 6 mm (W\u00d7D\u00d7H). Four \u00d84.3 mm holes at the corners, 74.935 \u00d7 26.74 mm spacing. Fillet radius 2.471 mm on vertical edges."}, "params": {"plate_w": {"type": "float", "default": 107.05, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 38.2, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 6.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 8.6, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331852 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 107.05, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 38.2, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 8.6, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"plate_w\"], p[\"plate_d\"]) * 0.0646832314187496)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462ca88d_3289", "family": "swept", "tier": 0, "seed": 1177331853, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "47384c14ac68891b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 6240.0, "surface_area": 2710.0, "principal_moments": [328000.0, 2680000.0, 2940000.0], "n_faces": 3, "n_edges": 3, "n_vertices": 2}, "dimensions": {"lines": ["\u00d89.8 mm circular section swept along a curved path, ~65 mm span."], "text": "\u00d89.8 mm circular section swept along a curved path, ~65 mm span."}, "params": {"path_w": {"type": "float", "default": 31.85, "min": 15.9, "max": 57.3, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 65, "min": 32.5, "max": 117.0, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_d": {"type": "float", "default": 9.8, "min": 4.9, "max": 17.6, "step": 1.0, "group": "Section", "label": "Section diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331853 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 31.85, \"min\": 15.9, \"max\": 57.3, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 65, \"min\": 32.5, \"max\": 117.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_d\": {\"type\": 'float', \"default\": 9.8, \"min\": 4.9, \"max\": 17.6, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.4168, p[\"path_h\"] * 0.2757), (p[\"path_w\"] * 0.7083, p[\"path_h\"] * 0.3581), (p[\"path_w\"] * 0.7208, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').circle(p[\"sweep_d\"] / 2).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca88e_3290", "family": "block", "tier": 1, "seed": 1177331854, "symmetry": "none", "op_count": 2, "ir_hash": "c3dad3aa33c59881", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 2390.0, "surface_area": 1780.0, "principal_moments": [53900.0, 113000.0, 144000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 15 \u00d7 7.8 \u00d7 22.6 mm (W\u00d7D\u00d7H).", "Four \u00d81.9 mm holes at the corners, 10.5 \u00d7 5.46 mm spacing."], "text": "Rectangular body, 15 \u00d7 7.8 \u00d7 22.6 mm (W\u00d7D\u00d7H). Four \u00d81.9 mm holes at the corners, 10.5 \u00d7 5.46 mm spacing."}, "params": {"block_w": {"type": "float", "default": 15.0, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 7.8, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 22.6, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 1.9, "min": 2.0, "max": 1.8, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331854 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 15.0, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 7.8, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 22.6, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 1.9, \"min\": 2.0, \"max\": 1.8, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca88f_3291", "family": "compound", "tier": 1, "seed": 1177331855, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "cae4bb52cce213dc", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 61100.0, "surface_area": 11300.0, "principal_moments": [14299999.999999998, 16299999.999999998, 17900000.0], "n_faces": 15, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 45 \u00d7 36.2 \u00d7 35.7 mm (W\u00d7D\u00d7H).", "27.6 \u00d7 25.9 mm rectangular section attachment, 6 mm long, from back face.", "Four \u00d83.2 mm holes at the corners, 16.56 \u00d7 15.54 mm spacing on the >Y face."], "text": "Rectangular body, 45 \u00d7 36.2 \u00d7 35.7 mm (W\u00d7D\u00d7H). 27.6 \u00d7 25.9 mm rectangular section attachment, 6 mm long, from back face. Four \u00d83.2 mm holes at the corners, 16.56 \u00d7 15.54 mm spacing on the >Y face."}, "params": {"block_w": {"type": "float", "default": 45, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 36.2, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 35.7, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "tab_a": {"type": "float", "default": 27.6, "min": 11.0, "max": 44.2, "step": 1.0, "group": "Tab", "label": "Tab width (mm)"}, "tab_b": {"type": "float", "default": 25.9, "min": 10.4, "max": 41.4, "step": 1.0, "group": "Tab", "label": "Tab height (mm)"}, "tab_t": {"type": "float", "default": 6.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Tab", "label": "Tab thickness (mm)"}, "tab_hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 5.7, "step": 0.1, "group": "Tab", "label": "Tab hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331855 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 45, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 36.2, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 35.7, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"tab_a\": {\"type\": 'float', \"default\": 27.6, \"min\": 11.0, \"max\": 44.2, \"step\": 1.0, \"group\": 'Tab', \"label\": 'Tab width (mm)'},\n    \"tab_b\": {\"type\": 'float', \"default\": 25.9, \"min\": 10.4, \"max\": 41.4, \"step\": 1.0, \"group\": 'Tab', \"label\": 'Tab height (mm)'},\n    \"tab_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Tab', \"label\": 'Tab thickness (mm)'},\n    \"tab_hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 5.7, \"step\": 0.1, \"group\": 'Tab', \"label\": 'Tab hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .rect(p[\"tab_a\"], p[\"tab_b\"]).extrude(p[\"tab_t\"])\n    )\n    result = (\n        result.faces('>Y').workplane()\n        .rect(p[\"tab_a\"] * 0.6, p[\"tab_b\"] * 0.6, forConstruction=True)\n        .vertices().hole(p[\"tab_hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca890_3292", "family": "bracket", "tier": 2, "seed": 1177331856, "symmetry": "none", "op_count": 1, "ir_hash": "329149a193733cd0", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 80200.0, "surface_area": 24800.0, "principal_moments": [71200000.0, 112000000.0, 162000000.0], "n_faces": 19, "n_edges": 51, "n_vertices": 34}, "dimensions": {"lines": ["C-channel bracket: base leg 88.45 mm, vertical leg 86.7 mm, 40 mm wide, 8 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 6.6 mm corner gusset."], "text": "C-channel bracket: base leg 88.45 mm, vertical leg 86.7 mm, 40 mm wide, 8 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 6.6 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 88.45, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 86.7, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 40, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 8.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 6.6, "min": 4.0, "max": 20.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331856 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 88.45, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 86.7, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 40, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 6.6, \"min\": 4.0, \"max\": 20.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl / 2, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bl - _bt, _bt).lineTo(_bl - _bt - _g, _bt)\n                    .lineTo(_bl - _bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca891_3293", "family": "bracket", "tier": 1, "seed": 1177331857, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "eb55018cc9662bec", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 55200.0, "surface_area": 17200.0, "principal_moments": [22899999.999999996, 56899999.99999999, 57199999.99999999], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["L-bracket: base leg 68.54 mm, vertical leg 78.8 mm, 50 mm wide, 8 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."], "text": "L-bracket: base leg 68.54 mm, vertical leg 78.8 mm, 50 mm wide, 8 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 68.54, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 78.8, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 50, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 8.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331857 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 68.54, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 78.8, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 50, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca893_3295", "family": "revolved", "tier": 2, "seed": 1177331859, "symmetry": "radial", "op_count": 2, "ir_hash": "1564b360b4b340d9", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 13600.0, "surface_area": 8050.0, "principal_moments": [2140000.0, 2140000.0, 3830000.0], "n_faces": 11, "n_edges": 17, "n_vertices": 11}, "dimensions": {"lines": ["Revolved body, \u00d835.11 mm \u00d7 16.4 mm tall with \u00d858.9 mm \u00d7 2 mm flange, 1.35 mm-wide groove 2.72 mm deep.", "Chamfer 1 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d835.11 mm \u00d7 16.4 mm tall with \u00d858.9 mm \u00d7 2 mm flange, 1.35 mm-wide groove 2.72 mm deep. Chamfer 1 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 35.11, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 16.4, "min": 4.9, "max": 49.2, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "flange_d": {"type": "float", "default": 58.9, "min": 42.1, "max": 105.3, "step": 1.0, "group": "Body", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 2.0, "min": 0.6, "max": 8.2, "step": 0.5, "group": "Body", "label": "Flange height (mm)"}, "groove_depth": {"type": "float", "default": 2.72, "min": 1.09, "max": 8.16, "step": 0.1, "group": "Body", "label": "Groove depth (mm)"}, "groove_w": {"type": "float", "default": 1.35, "min": 0.54, "max": 4.05, "step": 0.2, "group": "Body", "label": "Groove width (mm)"}, "groove_pos": {"type": "float", "default": 10.5, "min": 2.5, "max": 13.9, "step": 1.0, "group": "Body", "label": "Groove position (mm)"}, "end_chamfer": {"type": "float", "default": 1.0, "min": 0.1, "max": 3.0, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331859 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 35.11, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 16.4, \"min\": 4.9, \"max\": 49.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 58.9, \"min\": 42.1, \"max\": 105.3, \"step\": 1.0, \"group\": 'Body', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 2.0, \"min\": 0.6, \"max\": 8.2, \"step\": 0.5, \"group\": 'Body', \"label\": 'Flange height (mm)'},\n    \"groove_depth\": {\"type\": 'float', \"default\": 2.72, \"min\": 1.09, \"max\": 8.16, \"step\": 0.1, \"group\": 'Body', \"label\": 'Groove depth (mm)'},\n    \"groove_w\": {\"type\": 'float', \"default\": 1.35, \"min\": 0.54, \"max\": 4.05, \"step\": 0.2, \"group\": 'Body', \"label\": 'Groove width (mm)'},\n    \"groove_pos\": {\"type\": 'float', \"default\": 10.5, \"min\": 2.5, \"max\": 13.9, \"step\": 1.0, \"group\": 'Body', \"label\": 'Groove position (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 1.0, \"min\": 0.1, \"max\": 3.0, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"groove_pos\"] - p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2 - p[\"groove_depth\"], p[\"groove_pos\"] - p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2 - p[\"groove_depth\"], p[\"groove_pos\"] + p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2, p[\"groove_pos\"] + p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca894_3296", "family": "bracket", "tier": 3, "seed": 1177331860, "symmetry": "none", "op_count": 1, "ir_hash": "ca99335c87e40410", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 14400.0, "surface_area": 8310.0, "principal_moments": [2820000.0, 4700000.0, 6690000.0], "n_faces": 17, "n_edges": 39, "n_vertices": 26}, "dimensions": {"lines": ["L-bracket: base leg 38.52 mm, vertical leg 25.1 mm, 59.97 mm wide, 4 mm thick; 2 \u00d7 \u00d83.2 mm holes per leg; 4.6 mm corner gusset."], "text": "L-bracket: base leg 38.52 mm, vertical leg 25.1 mm, 59.97 mm wide, 4 mm thick; 2 \u00d7 \u00d83.2 mm holes per leg; 4.6 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 38.52, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 25.1, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 59.97, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 4.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 2, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 4.6, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331860 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 38.52, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 25.1, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 59.97, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 2, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 4.6, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca895_3297", "family": "block", "tier": 1, "seed": 1177331861, "symmetry": "radial", "op_count": 2, "ir_hash": "ed9ee271dabfddaa", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 48800.0, "surface_area": 10200.0, "principal_moments": [10700000.0, 13599999.999999998, 21200000.0], "n_faces": 8, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["Rectangular body, 47.59 \u00d7 19.2 \u00d7 54.4 mm (W\u00d7D\u00d7H).", "Six \u00d83.2 mm holes on a \u00d828.6 mm bolt circle."], "text": "Rectangular body, 47.59 \u00d7 19.2 \u00d7 54.4 mm (W\u00d7D\u00d7H). Six \u00d83.2 mm holes on a \u00d828.6 mm bolt circle."}, "params": {"block_w": {"type": "float", "default": 47.59, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 19.2, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 54.4, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "bolt_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 14.3, "min": 9.5, "max": 21.4, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 6, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331861 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 47.59, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 19.2, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 54.4, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 14.3, \"min\": 9.5, \"max\": 21.4, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462ca896_3298", "family": "tapped", "tier": 2, "seed": 1177331862, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "652c68682c8398c0", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 12000.0, "surface_area": 3830.0, "principal_moments": [1090000.0, 1090000.0, 1610000.0], "n_faces": 95, "n_edges": 335, "n_vertices": 242}, "dimensions": {"lines": ["One M10x1.5 tapped hole in a cylinder."], "text": "One M10x1.5 tapped hole in a cylinder."}, "params": {"major_d": {"type": "float", "default": 10.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 1.5, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 16.8, "min": 12.0, "max": 30.2, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "body_d": {"type": "float", "default": 31.5, "min": 18.0, "max": 50.4, "step": 1.0, "group": "Body", "label": "Outer \u00d8 (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331862 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 10.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.5, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 16.8, \"min\": 12.0, \"max\": 30.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"body_d\": {\"type\": 'float', \"default\": 31.5, \"min\": 18.0, \"max\": 50.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer \u00d8 (mm)'},\n}\n\n\ndef build(p):\n\n    _W = _D = p[\"body_d\"]\n    _H = p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Cylinder(radius=_W / 2, height=_H)\n    _locs = [(0.0, 0.0)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca897_3299", "family": "plate", "tier": 0, "seed": 1177331863, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "e1077215a63248f2", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 899.0, "surface_area": 1080.0, "principal_moments": [15600.0, 74200.0, 89200.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 31.42 \u00d7 14.3 \u00d7 2 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 31.42 \u00d7 14.3 \u00d7 2 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 31.42, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 14.3, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 2.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331863 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 31.42, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 14.3, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 2.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca898_3300", "family": "compound", "tier": 2, "seed": 1177331864, "symmetry": "mirror_x", "op_count": 4, "ir_hash": "325c1e353e150279", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 57000.0, "surface_area": 12900.0, "principal_moments": [12999999.999999998, 14599999.999999998, 18900000.0], "n_faces": 17, "n_edges": 42, "n_vertices": 28}, "dimensions": {"lines": ["Rectangular body, 40 \u00d7 30.8 \u00d7 46.8 mm (W\u00d7D\u00d7H).", "18.9 \u00d7 25.8 mm rectangular section attachment, 6 mm long, from right face.", "Four \u00d83.2 mm holes at the corners, 11.34 \u00d7 15.48 mm spacing on the >X face.", "Four \u00d85.3 mm holes at the corners, 28 \u00d7 21.56 mm spacing."], "text": "Rectangular body, 40 \u00d7 30.8 \u00d7 46.8 mm (W\u00d7D\u00d7H). 18.9 \u00d7 25.8 mm rectangular section attachment, 6 mm long, from right face. Four \u00d83.2 mm holes at the corners, 11.34 \u00d7 15.48 mm spacing on the >X face. Four \u00d85.3 mm holes at the corners, 28 \u00d7 21.56 mm spacing."}, "params": {"block_w": {"type": "float", "default": 40, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 30.8, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 46.8, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "tab_a": {"type": "float", "default": 18.9, "min": 7.6, "max": 30.2, "step": 1.0, "group": "Tab", "label": "Tab width (mm)"}, "tab_b": {"type": "float", "default": 25.8, "min": 10.3, "max": 41.3, "step": 1.0, "group": "Tab", "label": "Tab height (mm)"}, "tab_t": {"type": "float", "default": 6.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Tab", "label": "Tab thickness (mm)"}, "tab_hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 4.2, "step": 0.1, "group": "Tab", "label": "Tab hole diameter (mm)"}, "block_hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 6.9, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331864 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 40, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 30.8, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 46.8, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"tab_a\": {\"type\": 'float', \"default\": 18.9, \"min\": 7.6, \"max\": 30.2, \"step\": 1.0, \"group\": 'Tab', \"label\": 'Tab width (mm)'},\n    \"tab_b\": {\"type\": 'float', \"default\": 25.8, \"min\": 10.3, \"max\": 41.3, \"step\": 1.0, \"group\": 'Tab', \"label\": 'Tab height (mm)'},\n    \"tab_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Tab', \"label\": 'Tab thickness (mm)'},\n    \"tab_hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 4.2, \"step\": 0.1, \"group\": 'Tab', \"label\": 'Tab hole diameter (mm)'},\n    \"block_hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 6.9, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .rect(p[\"tab_a\"], p[\"tab_b\"]).extrude(p[\"tab_t\"])\n    )\n    result = (\n        result.faces('>X').workplane()\n        .rect(p[\"tab_a\"] * 0.6, p[\"tab_b\"] * 0.6, forConstruction=True)\n        .vertices().hole(p[\"tab_hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"block_hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca899_3301", "family": "compound", "tier": 1, "seed": 1177331865, "symmetry": "mirror_xy", "op_count": 3, "ir_hash": "5b55d831fed03ece", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 109000.0, "surface_area": 18000.0, "principal_moments": [39900000.0, 43200000.0, 64499999.99999999], "n_faces": 15, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 59.6 \u00d7 57.9 \u00d7 31.9 mm (W\u00d7D\u00d7H).", "39.4 \u00d7 22.3 mm rectangular section attachment, 3 mm long, from left face.", "Four \u00d84.3 mm holes at the corners, 23.64 \u00d7 13.38 mm spacing on the <X face."], "text": "Rectangular body, 59.6 \u00d7 57.9 \u00d7 31.9 mm (W\u00d7D\u00d7H). 39.4 \u00d7 22.3 mm rectangular section attachment, 3 mm long, from left face. Four \u00d84.3 mm holes at the corners, 23.64 \u00d7 13.38 mm spacing on the <X face."}, "params": {"block_w": {"type": "float", "default": 59.6, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 57.9, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 31.9, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "tab_a": {"type": "float", "default": 39.4, "min": 15.8, "max": 63.0, "step": 1.0, "group": "Tab", "label": "Tab width (mm)"}, "tab_b": {"type": "float", "default": 22.3, "min": 8.9, "max": 35.7, "step": 1.0, "group": "Tab", "label": "Tab height (mm)"}, "tab_t": {"type": "float", "default": 3.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Tab", "label": "Tab thickness (mm)"}, "tab_hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 4.9, "step": 0.1, "group": "Tab", "label": "Tab hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331865 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 59.6, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 57.9, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 31.9, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"tab_a\": {\"type\": 'float', \"default\": 39.4, \"min\": 15.8, \"max\": 63.0, \"step\": 1.0, \"group\": 'Tab', \"label\": 'Tab width (mm)'},\n    \"tab_b\": {\"type\": 'float', \"default\": 22.3, \"min\": 8.9, \"max\": 35.7, \"step\": 1.0, \"group\": 'Tab', \"label\": 'Tab height (mm)'},\n    \"tab_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Tab', \"label\": 'Tab thickness (mm)'},\n    \"tab_hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 4.9, \"step\": 0.1, \"group\": 'Tab', \"label\": 'Tab hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .rect(p[\"tab_a\"], p[\"tab_b\"]).extrude(p[\"tab_t\"])\n    )\n    result = (\n        result.faces('<X').workplane()\n        .rect(p[\"tab_a\"] * 0.6, p[\"tab_b\"] * 0.6, forConstruction=True)\n        .vertices().hole(p[\"tab_hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca89a_3302", "family": "plate", "tier": 0, "seed": 1177331866, "symmetry": "radial", "op_count": 1, "ir_hash": "0291f8b8aef327ce", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 1120.0, "surface_area": 1310.0, "principal_moments": [47200.0, 58700.0, 105000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 25 \u00d7 22.4 \u00d7 2 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 25 \u00d7 22.4 \u00d7 2 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 25, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 22.4, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 2.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331866 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 25, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 22.4, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 2.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca89b_3303", "family": "bracket", "tier": 2, "seed": 1177331867, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "d45712ca1247be4e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 24400.0, "surface_area": 10200.0, "principal_moments": [5000000.0, 18900000.0, 20400000.0], "n_faces": 14, "n_edges": 37, "n_vertices": 24}, "dimensions": {"lines": ["L-bracket: base leg 78.49 mm, vertical leg 53.7 mm, 30.49 mm wide, 6 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 5.1 mm corner gusset."], "text": "L-bracket: base leg 78.49 mm, vertical leg 53.7 mm, 30.49 mm wide, 6 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 5.1 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 78.49, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 53.7, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 30.49, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 6.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 5.1, "min": 3.0, "max": 15.2, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331867 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 78.49, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 53.7, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 30.49, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 5.1, \"min\": 3.0, \"max\": 15.2, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462ca89c_3304", "family": "gear", "tier": 2, "seed": 1177331868, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "ee9b7f7bff4ebb16", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 2890.0, "surface_area": 2200.0, "principal_moments": [169000.0, 169000.0, 329000.0], "n_faces": 159, "n_edges": 471, "n_vertices": 314}, "dimensions": {"lines": ["Helical gear, module 1 mm, 26 teeth (pitch \u00d826 mm), face width 4.2 mm, 29.3\u00b0 helix, \u00d83.5 mm bore."], "text": "Helical gear, module 1 mm, 26 teeth (pitch \u00d826 mm), face width 4.2 mm, 29.3\u00b0 helix, \u00d83.5 mm bore."}, "params": {"module": {"type": "float", "default": 1.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 26, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 4.2, "min": 1.7, "max": 10.5, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "helix_angle": {"type": "float", "default": 29.3, "min": 5.0, "max": 40.0, "step": 1.0, "group": "Gear", "label": "Helix angle (deg)"}, "profile_shift": {"type": "float", "default": 0.05, "min": -0.5, "max": 0.7, "step": 0.05, "group": "Gear", "label": "Profile shift"}, "root_fillet": {"type": "float", "default": 0.15, "min": 0.0, "max": 0.5, "step": 0.05, "group": "Gear", "label": "Root fillet (mm)"}, "bore_d": {"type": "float", "default": 3.5, "min": 2.0, "max": 14.1, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331868 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 1.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 26, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 4.2, \"min\": 1.7, \"max\": 10.5, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"helix_angle\": {\"type\": 'float', \"default\": 29.3, \"min\": 5.0, \"max\": 40.0, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Helix angle (deg)'},\n    \"profile_shift\": {\"type\": 'float', \"default\": 0.05, \"min\": -0.5, \"max\": 0.7, \"step\": 0.05, \"group\": 'Gear', \"label\": 'Profile shift'},\n    \"root_fillet\": {\"type\": 'float', \"default\": 0.15, \"min\": 0.0, \"max\": 0.5, \"step\": 0.05, \"group\": 'Gear', \"label\": 'Root fillet (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 3.5, \"min\": 2.0, \"max\": 14.1, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.HelicalGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"], helix_angle=math.radians(p[\"helix_angle\"]), herringbone=False, profile_shift=p[\"profile_shift\"], root_fillet=p[\"root_fillet\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462ca89d_3305", "family": "flanged", "tier": 1, "seed": 1177331869, "symmetry": "none", "op_count": 2, "ir_hash": "09f9523e5b32fc53", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 15200.0, "surface_area": 7350.0, "principal_moments": [2380000.0, 2380000.0, 3370000.0], "n_faces": 21, "n_edges": 78, "n_vertices": 52}, "dimensions": {"lines": ["Revolved body, \u00d829.1 mm \u00d7 22 mm tall with \u00d88.8 mm bore, \u00d852.5 mm \u00d7 4 mm flange.", "Eight \u00d88.4 mm holes on a \u00d831.6 mm bolt circle."], "text": "Revolved body, \u00d829.1 mm \u00d7 22 mm tall with \u00d88.8 mm bore, \u00d852.5 mm \u00d7 4 mm flange. Eight \u00d88.4 mm holes on a \u00d831.6 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 29.1, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 22.0, "min": 6.6, "max": 55.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 8.8, "min": 2.0, "max": 20.4, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 52.5, "min": 37.8, "max": 87.3, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 4.0, "min": 1.2, "max": 8.8, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 8.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 15.8, "min": 10.5, "max": 23.6, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 8, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331869 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 29.1, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 22.0, \"min\": 6.6, \"max\": 55.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 8.8, \"min\": 2.0, \"max\": 20.4, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 52.5, \"min\": 37.8, \"max\": 87.3, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 4.0, \"min\": 1.2, \"max\": 8.8, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 15.8, \"min\": 10.5, \"max\": 23.6, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462ca89e_3306", "family": "tapped", "tier": 0, "seed": 1177331870, "symmetry": "none", "op_count": 1, "ir_hash": "5f3a4831b7e5133c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 8750.0, "surface_area": 3530.0, "principal_moments": [718000.0, 718000.0, 901000.0], "n_faces": 128, "n_edges": 356, "n_vertices": 230}, "dimensions": {"lines": ["One M12x1.75 tapped hole in a cylinder."], "text": "One M12x1.75 tapped hole in a cylinder."}, "params": {"major_d": {"type": "float", "default": 12.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 1.75, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 19.2, "min": 14.4, "max": 34.6, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "body_d": {"type": "float", "default": 26.5, "min": 21.6, "max": 42.4, "step": 1.0, "group": "Body", "label": "Outer \u00d8 (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331870 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 12.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.75, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 19.2, \"min\": 14.4, \"max\": 34.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"body_d\": {\"type\": 'float', \"default\": 26.5, \"min\": 21.6, \"max\": 42.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer \u00d8 (mm)'},\n}\n\n\ndef build(p):\n\n    _W = _D = p[\"body_d\"]\n    _H = p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Cylinder(radius=_W / 2, height=_H)\n    _locs = [(0.0, 0.0)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca89f_3307", "family": "revolved", "tier": 2, "seed": 1177331871, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "e79c2452febcc08f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 1070000.0, "surface_area": 90500.0, "principal_moments": [827000000.0, 6880000000.0, 6880000000.0], "n_faces": 8, "n_edges": 14, "n_vertices": 8}, "dimensions": {"lines": ["Revolved body, \u00d875 mm \u00d7 268.9 mm tall with \u00d823.2 mm bore.", "Chamfer 1.1 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d875 mm \u00d7 268.9 mm tall with \u00d823.2 mm bore. Chamfer 1.1 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 75, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 268.9, "min": 80.7, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 23.2, "min": 2.0, "max": 52.5, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "end_chamfer": {"type": "float", "default": 1.1, "min": 0.1, "max": 3.3, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331871 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 75, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 268.9, \"min\": 80.7, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 23.2, \"min\": 2.0, \"max\": 52.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 1.1, \"min\": 0.1, \"max\": 3.3, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462ca8a0_3308", "family": "flanged", "tier": 2, "seed": 1177331872, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "b4daeb64e9006459", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 330000.0, "surface_area": 60300.0, "principal_moments": [465000000.0, 465000000.0, 733000000.0], "n_faces": 22, "n_edges": 47, "n_vertices": 28}, "dimensions": {"lines": ["Revolved body, \u00d875.88 mm \u00d7 57.7 mm tall with \u00d841.2 mm bore, \u00d8157.6 mm \u00d7 9.9 mm flange.", "Six \u00d86.4 mm holes on a \u00d894.6 mm bolt circle.", "Chamfer 0.9 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d875.88 mm \u00d7 57.7 mm tall with \u00d841.2 mm bore, \u00d8157.6 mm \u00d7 9.9 mm flange. Six \u00d86.4 mm holes on a \u00d894.6 mm bolt circle. Chamfer 0.9 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 75.88, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 57.7, "min": 17.3, "max": 144.2, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 41.2, "min": 2.0, "max": 53.1, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 157.6, "min": 98.6, "max": 227.6, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 9.9, "min": 3.0, "max": 23.1, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 47.3, "min": 31.5, "max": 70.9, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 6, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}, "end_chamfer": {"type": "float", "default": 0.9, "min": 0.1, "max": 2.0, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331872 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 75.88, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 57.7, \"min\": 17.3, \"max\": 144.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 41.2, \"min\": 2.0, \"max\": 53.1, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 157.6, \"min\": 98.6, \"max\": 227.6, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 9.9, \"min\": 3.0, \"max\": 23.1, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 47.3, \"min\": 31.5, \"max\": 70.9, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.9, \"min\": 0.1, \"max\": 2.0, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462ca8a1_3309", "family": "lofted", "tier": 2, "seed": 1177331873, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "ecc14b39d31ee21d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 81500.0, "surface_area": 15800.0, "principal_moments": [31199999.999999996, 34700000.0, 34700000.0], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["Lofted body through 3 sections: 55 \u00d7 55 mm rectangular section \u2192 \u00d846.2 mm circular section \u2192 6-sided polygon section, 37.4 mm across corners.", "One \u00d820.6 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 3 sections: 55 \u00d7 55 mm rectangular section \u2192 \u00d846.2 mm circular section \u2192 6-sided polygon section, 37.4 mm across corners. One \u00d820.6 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 55, "min": 27.5, "max": 88.0, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 37.4, "min": 15.0, "max": 66.0, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 56.6, "min": 22.6, "max": 113.2, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_mid": {"type": "float", "default": 46.2, "min": 18.7, "max": 66.0, "step": 1.0, "group": "Body", "label": "Mid size (mm)"}, "loft_bore_d": {"type": "float", "default": 20.6, "min": 2.0, "max": 29.9, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331873 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 55, \"min\": 27.5, \"max\": 88.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 37.4, \"min\": 15.0, \"max\": 66.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 56.6, \"min\": 22.6, \"max\": 113.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_mid\": {\"type\": 'float', \"default\": 46.2, \"min\": 18.7, \"max\": 66.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Mid size (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 20.6, \"min\": 2.0, \"max\": 29.9, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .rect(p[\"loft_base\"], p[\"loft_base\"])\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .circle(p[\"loft_mid\"] / 2)\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .polygon(6, p[\"loft_top\"] * 0.5 * 2)\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca8a2_3310", "family": "compound", "tier": 3, "seed": 1177331874, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "b99a091c51f402cf", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 108000.0, "surface_area": 14400.0, "principal_moments": [19300000.0, 93999999.99999999, 93999999.99999999], "n_faces": 6, "n_edges": 8, "n_vertices": 5}, "dimensions": {"lines": ["\u00d840 mm circular section, extruded 72 mm thick.", "\u00d824.2 mm circular section attachment, 37.4 mm long, from top face.", "Chamfer 0.5 mm on bottom edges."], "text": "\u00d840 mm circular section, extruded 72 mm thick. \u00d824.2 mm circular section attachment, 37.4 mm long, from top face. Chamfer 0.5 mm on bottom edges."}, "params": {"shaft_d": {"type": "float", "default": 40, "min": 20.0, "max": 72.0, "step": 1.0, "group": "Body", "label": "Shaft diameter (mm)"}, "shaft_len": {"type": "float", "default": 72.0, "min": 28.8, "max": 144.0, "step": 1.0, "group": "Body", "label": "Shaft length (mm)"}, "step_d": {"type": "float", "default": 24.2, "min": 12.1, "max": 36.0, "step": 1.0, "group": "Step", "label": "Step diameter (mm)"}, "step_len": {"type": "float", "default": 37.4, "min": 11.2, "max": 93.5, "step": 1.0, "group": "Step", "label": "Step length (mm)"}, "chamfer_d": {"type": "float", "default": 0.5, "min": 0.5, "max": 3.0, "step": 0.5, "group": "Body", "label": "Chamfer distance (mm)"}, "chamfered": {"type": "bool", "default": true, "group": "Body", "label": "Chamfer edges"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331874 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"shaft_d\": {\"type\": 'float', \"default\": 40, \"min\": 20.0, \"max\": 72.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft diameter (mm)'},\n    \"shaft_len\": {\"type\": 'float', \"default\": 72.0, \"min\": 28.8, \"max\": 144.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft length (mm)'},\n    \"step_d\": {\"type\": 'float', \"default\": 24.2, \"min\": 12.1, \"max\": 36.0, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step diameter (mm)'},\n    \"step_len\": {\"type\": 'float', \"default\": 37.4, \"min\": 11.2, \"max\": 93.5, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step length (mm)'},\n    \"chamfer_d\": {\"type\": 'float', \"default\": 0.5, \"min\": 0.5, \"max\": 3.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Chamfer distance (mm)'},\n    \"chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Chamfer edges'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').circle(p[\"shaft_d\"] / 2).extrude(p[\"shaft_len\"]))\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"step_d\"] / 2).extrude(p[\"step_len\"])\n    )\n    if p[\"chamfered\"]:\n        result = result.edges('<Z').chamfer(p[\"chamfer_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca8a3_3311", "family": "plate", "tier": 1, "seed": 1177331875, "symmetry": "none", "op_count": 2, "ir_hash": "30277bf4d4b221f0", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 12400.0, "surface_area": 4590.0, "principal_moments": [735000.0, 2850000.0, 3380000.0], "n_faces": 15, "n_edges": 39, "n_vertices": 26}, "dimensions": {"lines": ["Rectangular body, 51.49 \u00d7 24.6 \u00d7 10 mm (W\u00d7D\u00d7H).", "Nine \u00d82.1 mm holes in two staggered rows, 9.7 \u00d7 8.9 mm pitch."], "text": "Rectangular body, 51.49 \u00d7 24.6 \u00d7 10 mm (W\u00d7D\u00d7H). Nine \u00d82.1 mm holes in two staggered rows, 9.7 \u00d7 8.9 mm pitch."}, "params": {"plate_w": {"type": "float", "default": 51.49, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 24.6, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 2.1, "min": 2.0, "max": 2.5, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 5, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331875 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 51.49, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 24.6, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 2.1, \"min\": 2.0, \"max\": 2.5, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 5, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 9.7\n    _ssy = 8.9\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca8a4_3312", "family": "block", "tier": 1, "seed": 1177331876, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "f8955bbc0b0a5d8f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 270000.0, "surface_area": 33400.0, "principal_moments": [159000000.0, 212000000.0, 244000000.0], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["Rectangular body, 65 \u00d7 52.7 \u00d7 81.2 mm (W\u00d7D\u00d7H).", "Seven \u00d84.3 mm holes in two staggered rows, 16.2 \u00d7 18.1 mm pitch."], "text": "Rectangular body, 65 \u00d7 52.7 \u00d7 81.2 mm (W\u00d7D\u00d7H). Seven \u00d84.3 mm holes in two staggered rows, 16.2 \u00d7 18.1 mm pitch."}, "params": {"block_w": {"type": "float", "default": 65, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 52.7, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 81.2, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 5.3, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 4, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331876 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 65, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 52.7, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 81.2, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 5.3, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 4, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 16.2\n    _ssy = 18.1\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca8a5_3313", "family": "bracket", "tier": 1, "seed": 1177331877, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "a7c3b50c0350f671", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 31300.0, "surface_area": 13700.0, "principal_moments": [20700000.0, 29699999.999999996, 47199999.99999999], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["C-channel bracket: base leg 73.13 mm, vertical leg 76.6 mm, 24.76 mm wide, 6 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."], "text": "C-channel bracket: base leg 73.13 mm, vertical leg 76.6 mm, 24.76 mm wide, 6 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 73.13, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 76.6, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 24.76, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 6.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 9.9, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331877 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 73.13, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 76.6, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 24.76, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 9.9, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca8a6_3314", "family": "plate", "tier": 2, "seed": 1177331878, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "14fd5cc726462f17", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 1850.0, "surface_area": 1300.0, "principal_moments": [34900.0, 66100.0, 82400.0], "n_faces": 18, "n_edges": 48, "n_vertices": 32}, "dimensions": {"lines": ["Rectangular body, 20 \u00d7 13.4 \u00d7 8 mm (W\u00d7D\u00d7H).", "Four \u00d82.6 mm counterbored holes (\u00d85.2 mm \u00d7 2.1 mm counterbore) at the corners, 14 \u00d7 9.38 mm spacing."], "text": "Rectangular body, 20 \u00d7 13.4 \u00d7 8 mm (W\u00d7D\u00d7H). Four \u00d82.6 mm counterbored holes (\u00d85.2 mm \u00d7 2.1 mm counterbore) at the corners, 14 \u00d7 9.38 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 20.0, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 13.4, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 2.6, "min": 2.0, "max": 3.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "cb_d": {"type": "float", "default": 5.2, "min": 3.9, "max": 7.8, "step": 0.5, "group": "Holes", "label": "Counterbore diameter (mm)"}, "cb_depth": {"type": "float", "default": 2.1, "min": 1.1, "max": 4.2, "step": 0.5, "group": "Holes", "label": "Counterbore depth (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331878 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 20.0, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 13.4, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 2.6, \"min\": 2.0, \"max\": 3.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"cb_d\": {\"type\": 'float', \"default\": 5.2, \"min\": 3.9, \"max\": 7.8, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Counterbore diameter (mm)'},\n    \"cb_depth\": {\"type\": 'float', \"default\": 2.1, \"min\": 1.1, \"max\": 4.2, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Counterbore depth (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().cboreHole(p[\"hole_d\"], p[\"cb_d\"], p[\"cb_depth\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca8a7_3315", "family": "block", "tier": 1, "seed": 1177331879, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "a75778b92568d0d6", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 12300.0, "surface_area": 4840.0, "principal_moments": [1070000.0, 1320000.0, 2040000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 30 \u00d7 13.2 \u00d7 33.4 mm (W\u00d7D\u00d7H).", "Four \u00d82.9 mm holes at the corners, 21 \u00d7 9.24 mm spacing."], "text": "Rectangular body, 30 \u00d7 13.2 \u00d7 33.4 mm (W\u00d7D\u00d7H). Four \u00d82.9 mm holes at the corners, 21 \u00d7 9.24 mm spacing."}, "params": {"block_w": {"type": "float", "default": 30, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 13.2, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 33.4, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 2.9, "min": 2.0, "max": 3.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331879 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 30, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 13.2, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 33.4, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 2.9, \"min\": 2.0, \"max\": 3.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca8a8_3316", "family": "plate", "tier": 3, "seed": 1177331880, "symmetry": "mirror_xy", "op_count": 3, "ir_hash": "aaa7bc8dae174b8e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 27200.0, "surface_area": 10800.0, "principal_moments": [4250000.0, 16599999.999999998, 20400000.0], "n_faces": 27, "n_edges": 72, "n_vertices": 48}, "dimensions": {"lines": ["Rectangular body, 83.92 \u00d7 41.7 \u00d7 10 mm (W\u00d7D\u00d7H).", "Four 10.1 mm square holes at the corners, 58.744 \u00d7 29.19 mm spacing.", "Pocket 43.1 \u00d7 21 mm, 4.1 mm deep, in top face."], "text": "Rectangular body, 83.92 \u00d7 41.7 \u00d7 10 mm (W\u00d7D\u00d7H). Four 10.1 mm square holes at the corners, 58.744 \u00d7 29.19 mm spacing. Pocket 43.1 \u00d7 21 mm, 4.1 mm deep, in top face."}, "params": {"plate_w": {"type": "float", "default": 83.92, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 41.7, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 10.1, "min": 2.0, "max": 12.2, "step": 0.5, "group": "Holes", "label": "Square hole size (mm)"}, "pocket_w": {"type": "float", "default": 43.1, "min": 21.6, "max": 67.1, "step": 1.0, "group": "Pocket", "label": "Pocket width (mm)"}, "pocket_d": {"type": "float", "default": 21.0, "min": 10.5, "max": 33.4, "step": 1.0, "group": "Pocket", "label": "Pocket depth (mm)"}, "pocket_h": {"type": "float", "default": 4.1, "min": 1.6, "max": 8.5, "step": 0.5, "group": "Pocket", "label": "Pocket height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331880 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 83.92, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 41.7, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 10.1, \"min\": 2.0, \"max\": 12.2, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Square hole size (mm)'},\n    \"pocket_w\": {\"type\": 'float', \"default\": 43.1, \"min\": 21.6, \"max\": 67.1, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket width (mm)'},\n    \"pocket_d\": {\"type\": 'float', \"default\": 21.0, \"min\": 10.5, \"max\": 33.4, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket depth (mm)'},\n    \"pocket_h\": {\"type\": 'float', \"default\": 4.1, \"min\": 1.6, \"max\": 8.5, \"step\": 0.5, \"group\": 'Pocket', \"label\": 'Pocket height (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().rect(p[\"hole_d\"], p[\"hole_d\"]).cutThruAll()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"pocket_w\"], p[\"pocket_d\"])\n        .cutBlind(-p[\"pocket_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca8a9_3317", "family": "bracket", "tier": 3, "seed": 1177331881, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "471dad0f1fe2e81a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 21800.0, "surface_area": 12000.0, "principal_moments": [5770000.0, 17700000.0, 19600000.0], "n_faces": 14, "n_edges": 37, "n_vertices": 24}, "dimensions": {"lines": ["L-bracket: base leg 76.94 mm, vertical leg 64.5 mm, 35 mm wide, 4 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 5.3 mm corner gusset."], "text": "L-bracket: base leg 76.94 mm, vertical leg 64.5 mm, 35 mm wide, 4 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 5.3 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 76.94, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 64.5, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 35, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 4.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 5.3, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331881 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 76.94, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 64.5, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 35, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca8aa_3318", "family": "bracket", "tier": 1, "seed": 1177331882, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "575f21c73aa0dfa3", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 36600.0, "surface_area": 17400.0, "principal_moments": [24999999.999999996, 30799999.999999996, 47499999.99999999], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["C-channel bracket: base leg 65 mm, vertical leg 73.9 mm, 36.61 mm wide, 5 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."], "text": "C-channel bracket: base leg 65 mm, vertical leg 73.9 mm, 36.61 mm wide, 5 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 65, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 73.9, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 36.61, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 5.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331882 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 65, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 73.9, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 36.61, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462ca8ab_3319", "family": "enclosure", "tier": 1, "seed": 1177331883, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "cf1651463e552659", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 153000.0, "surface_area": 67000.0, "principal_moments": [220000000.0, 301000000.0, 347000000.0], "n_faces": 11, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 105 \u00d7 78.7 \u00d7 74.6 mm (W\u00d7D\u00d7H).", "Hollowed to 4.7 mm wall thickness, open at top face."], "text": "Rectangular body, 105 \u00d7 78.7 \u00d7 74.6 mm (W\u00d7D\u00d7H). Hollowed to 4.7 mm wall thickness, open at top face."}, "params": {"enc_w": {"type": "float", "default": 105, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 78.7, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 74.6, "min": 29.8, "max": 149.2, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 4.7, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331883 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 105, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 78.7, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 74.6, \"min\": 29.8, \"max\": 149.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 4.7, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca8ac_3320", "family": "compound", "tier": 2, "seed": 1177331884, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "f099c905313cf6de", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 11400.0, "surface_area": 5110.0, "principal_moments": [1550000.0, 1550000.0, 1630000.0], "n_faces": 11, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["6-sided polygon section, 40 mm across corners, extruded 8.6 mm thick.", "\u00d816.6 mm circular section attachment, 22.6 mm long, from top face with a \u00d810 mm bore."], "text": "6-sided polygon section, 40 mm across corners, extruded 8.6 mm thick. \u00d816.6 mm circular section attachment, 22.6 mm long, from top face with a \u00d810 mm bore."}, "params": {"base_sides": {"type": "int", "default": 6, "min": 3, "max": 8, "step": 1, "group": "Base", "label": "Base sides"}, "base_r": {"type": "float", "default": 20, "min": 12.0, "max": 32.0, "step": 1.0, "group": "Base", "label": "Base circumradius (mm)"}, "base_h": {"type": "float", "default": 8.6, "min": 3.4, "max": 21.5, "step": 1.0, "group": "Base", "label": "Base height (mm)"}, "col_d": {"type": "float", "default": 16.6, "min": 8.3, "max": 27.7, "step": 1.0, "group": "Column", "label": "Column diameter (mm)"}, "col_h": {"type": "float", "default": 22.6, "min": 6.8, "max": 56.5, "step": 1.0, "group": "Column", "label": "Column height (mm)"}, "col_bore": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Column", "label": "Column bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331884 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_sides\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Base', \"label\": 'Base sides'},\n    \"base_r\": {\"type\": 'float', \"default\": 20, \"min\": 12.0, \"max\": 32.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base circumradius (mm)'},\n    \"base_h\": {\"type\": 'float', \"default\": 8.6, \"min\": 3.4, \"max\": 21.5, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base height (mm)'},\n    \"col_d\": {\"type\": 'float', \"default\": 16.6, \"min\": 8.3, \"max\": 27.7, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column diameter (mm)'},\n    \"col_h\": {\"type\": 'float', \"default\": 22.6, \"min\": 6.8, \"max\": 56.5, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column height (mm)'},\n    \"col_bore\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Column', \"label\": 'Column bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').polygon(p[\"base_sides\"], p[\"base_r\"] * 2).extrude(p[\"base_h\"]))\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"col_d\"] / 2).extrude(p[\"col_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"col_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462ca8ad_3321", "family": "gear", "tier": 1, "seed": 1177331885, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "755589297ce2d8fa", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 47900.0, "surface_area": 14600.0, "principal_moments": [19200000.0, 19200000.0, 37600000.0], "n_faces": 159, "n_edges": 471, "n_vertices": 314}, "dimensions": {"lines": ["Spur gear, module 3 mm, 26 teeth (pitch \u00d878 mm), face width 10.4 mm, \u00d812.2 mm bore."], "text": "Spur gear, module 3 mm, 26 teeth (pitch \u00d878 mm), face width 10.4 mm, \u00d812.2 mm bore."}, "params": {"module": {"type": "float", "default": 3.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 26, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 10.4, "min": 4.2, "max": 26.0, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "bore_d": {"type": "float", "default": 12.2, "min": 2.0, "max": 42.3, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331885 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 3.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 26, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 10.4, \"min\": 4.2, \"max\": 26.0, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 12.2, \"min\": 2.0, \"max\": 42.3, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462ca8ae_3322", "family": "enclosure", "tier": 2, "seed": 1177331886, "symmetry": "mirror_xy", "op_count": 3, "ir_hash": "97145fb1c1bb9475", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 45600.0, "surface_area": 20100.0, "principal_moments": [15299999.999999998, 23399999.999999996, 28699999.999999996], "n_faces": 19, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 62.39 \u00d7 29.7 \u00d7 49.1 mm (W\u00d7D\u00d7H).", "Hollowed to 5.7 mm wall thickness, open at top face.", "Four \u00d86.4 mm holes at the corners, 43.673 \u00d7 20.79 mm spacing."], "text": "Rectangular body, 62.39 \u00d7 29.7 \u00d7 49.1 mm (W\u00d7D\u00d7H). Hollowed to 5.7 mm wall thickness, open at top face. Four \u00d86.4 mm holes at the corners, 43.673 \u00d7 20.79 mm spacing."}, "params": {"enc_w": {"type": "float", "default": 62.39, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 29.7, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 49.1, "min": 19.6, "max": 98.2, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 5.7, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 6.7, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331886 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 62.39, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 29.7, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 49.1, \"min\": 19.6, \"max\": 98.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 5.7, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 6.7, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"enc_w\"] * 0.7, p[\"enc_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca8af_3323", "family": "revolved", "tier": 1, "seed": 1177331887, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "8289091d11b4e8bb", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 82700.0, "surface_area": 15300.0, "principal_moments": [35500000.0, 35500000.0, 55199999.99999999], "n_faces": 4, "n_edges": 6, "n_vertices": 4}, "dimensions": {"lines": ["Revolved body, \u00d865 mm \u00d7 33.8 mm tall with \u00d833.3 mm bore."], "text": "Revolved body, \u00d865 mm \u00d7 33.8 mm tall with \u00d833.3 mm bore."}, "params": {"outer_d": {"type": "float", "default": 65, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 33.8, "min": 10.1, "max": 101.4, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 33.3, "min": 2.0, "max": 45.5, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331887 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 65, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 33.8, \"min\": 10.1, \"max\": 101.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 33.3, \"min\": 2.0, \"max\": 45.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462ca8b0_3324", "family": "lofted", "tier": 2, "seed": 1177331888, "symmetry": "none", "op_count": 2, "ir_hash": "13e822d189714cd7", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 123000.0, "surface_area": 18500.0, "principal_moments": [46299999.99999999, 67200000.0, 67200000.0], "n_faces": 8, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["Lofted body through 3 sections: 55 \u00d7 55 mm rectangular section \u2192 43.2 \u00d7 43.2 mm rectangular section \u2192 \u00d831.4 mm circular section.", "One \u00d813 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 3 sections: 55 \u00d7 55 mm rectangular section \u2192 43.2 \u00d7 43.2 mm rectangular section \u2192 \u00d831.4 mm circular section. One \u00d813 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 55, "min": 27.5, "max": 88.0, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 31.4, "min": 12.6, "max": 66.0, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 70.5, "min": 28.2, "max": 141.0, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_mid": {"type": "float", "default": 43.2, "min": 15.7, "max": 66.0, "step": 1.0, "group": "Body", "label": "Mid size (mm)"}, "loft_bore_d": {"type": "float", "default": 13.0, "min": 2.0, "max": 25.1, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331888 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 55, \"min\": 27.5, \"max\": 88.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 31.4, \"min\": 12.6, \"max\": 66.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 70.5, \"min\": 28.2, \"max\": 141.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_mid\": {\"type\": 'float', \"default\": 43.2, \"min\": 15.7, \"max\": 66.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Mid size (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 13.0, \"min\": 2.0, \"max\": 25.1, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .rect(p[\"loft_base\"], p[\"loft_base\"])\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .rect(p[\"loft_mid\"], p[\"loft_mid\"])\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .circle(p[\"loft_top\"] / 2)\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca8b1_3325", "family": "compound", "tier": 1, "seed": 1177331889, "symmetry": "none", "op_count": 3, "ir_hash": "a2f4345c193c2c94", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 19000.0, "surface_area": 8330.0, "principal_moments": [4200000.0, 6020000.0, 6640000.0], "n_faces": 13, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Rectangular body, 55 \u00d7 41.5 \u00d7 8 mm (W\u00d7D\u00d7H).", "\u00d88 mm circular section attachment, 48 mm long, from top face with a \u00d83.7 mm bore.", "Four \u00d86.4 mm holes at the corners, 38.5 \u00d7 29.05 mm spacing."], "text": "Rectangular body, 55 \u00d7 41.5 \u00d7 8 mm (W\u00d7D\u00d7H). \u00d88 mm circular section attachment, 48 mm long, from top face with a \u00d83.7 mm bore. Four \u00d86.4 mm holes at the corners, 38.5 \u00d7 29.05 mm spacing."}, "params": {"base_w": {"type": "float", "default": 55, "min": 30.0, "max": 160.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 41.5, "min": 25.0, "max": 160.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_h": {"type": "float", "default": 8.0, "min": 3.0, "max": 30.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "col_d": {"type": "float", "default": 8.0, "min": 3.2, "max": 20.8, "step": 1.0, "group": "Column", "label": "Column diameter (mm)"}, "col_h": {"type": "float", "default": 48.0, "min": 14.4, "max": 144.0, "step": 1.0, "group": "Column", "label": "Column height (mm)"}, "col_bore": {"type": "float", "default": 3.7, "min": 2.0, "max": 5.8, "step": 0.5, "group": "Column", "label": "Column bore diameter (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 9.3, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331889 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 55, \"min\": 30.0, \"max\": 160.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 41.5, \"min\": 25.0, \"max\": 160.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_h\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 30.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"col_d\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.2, \"max\": 20.8, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column diameter (mm)'},\n    \"col_h\": {\"type\": 'float', \"default\": 48.0, \"min\": 14.4, \"max\": 144.0, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column height (mm)'},\n    \"col_bore\": {\"type\": 'float', \"default\": 3.7, \"min\": 2.0, \"max\": 5.8, \"step\": 0.5, \"group\": 'Column', \"label\": 'Column bore diameter (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 9.3, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_h\"])\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"col_d\"] / 2).extrude(p[\"col_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"col_bore\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"base_w\"] * 0.7, p[\"base_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca8b2_3326", "family": "block", "tier": 1, "seed": 1177331890, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "3bef7c4fdfeaa19b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 709000.0, "surface_area": 56500.0, "principal_moments": [858000000.0, 978000000.0, 1060000000.0], "n_faces": 11, "n_edges": 27, "n_vertices": 18}, "dimensions": {"lines": ["Rectangular body, 89.23 \u00d7 80.7 \u00d7 100 mm (W\u00d7D\u00d7H).", "Five \u00d85.3 mm holes in two staggered rows, 33.5 \u00d7 37.7 mm pitch."], "text": "Rectangular body, 89.23 \u00d7 80.7 \u00d7 100 mm (W\u00d7D\u00d7H). Five \u00d85.3 mm holes in two staggered rows, 33.5 \u00d7 37.7 mm pitch."}, "params": {"block_w": {"type": "float", "default": 89.23, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 80.7, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 100.0, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 8.1, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 3, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331890 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 89.23, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 80.7, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 100.0, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 8.1, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 3, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 33.5\n    _ssy = 37.7\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462ca8b3_3327", "family": "profiled", "tier": 0, "seed": 1177331891, "symmetry": "none", "op_count": 1, "ir_hash": "0d649c84d5e9f550", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 198000.0, "surface_area": 31600.0, "principal_moments": [23999999.999999996, 1490000000.0, 1500000000.0], "n_faces": 7, "n_edges": 15, "n_vertices": 10}, "dimensions": {"lines": ["freeform sketched section (5 segments: 1 straight, 1 arc, 3 curves), ~37.883 \u00d7 23.455 mm, extruded 300 mm thick."], "text": "freeform sketched section (5 segments: 1 straight, 1 arc, 3 curves), ~37.883 \u00d7 23.455 mm, extruded 300 mm thick."}, "params": {"sk_w": {"type": "float", "default": 49.11, "min": 24.6, "max": 88.4, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 30.28, "min": 15.1, "max": 54.5, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "length": {"type": "float", "default": 300.0, "min": 90.0, "max": 900.0, "step": 5.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331891 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 49.11, \"min\": 24.6, \"max\": 88.4, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 30.28, \"min\": 15.1, \"max\": 54.5, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 300.0, \"min\": 90.0, \"max\": 900.0, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.4714, p[\"sk_h\"] * -0.0053).spline([(p[\"sk_w\"] * 0.4714, p[\"sk_h\"] * -0.0053), (p[\"sk_w\"] * 0.3712, p[\"sk_h\"] * 0.1644), (p[\"sk_w\"] * 0.2154, p[\"sk_h\"] * 0.2851)]).spline([(p[\"sk_w\"] * 0.2154, p[\"sk_h\"] * 0.2851), (p[\"sk_w\"] * -0.0384, p[\"sk_h\"] * 0.3372), (p[\"sk_w\"] * -0.2909, p[\"sk_h\"] * 0.279)]).spline([(p[\"sk_w\"] * -0.2909, p[\"sk_h\"] * 0.279), (p[\"sk_w\"] * -0.3236, p[\"sk_h\"] * 0.0273), (p[\"sk_w\"] * -0.3, p[\"sk_h\"] * -0.2254)]).threePointArc((p[\"sk_w\"] * -0.1864, p[\"sk_h\"] * -0.3848), (p[\"sk_w\"] * -0.0424, p[\"sk_h\"] * -0.4895)).lineTo(p[\"sk_w\"] * 0.4714, p[\"sk_h\"] * -0.0053).close().extrude(p[\"length\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462ca8b4_3328", "family": "sketched", "tier": 1, "seed": 1177331892, "symmetry": "none", "op_count": 1, "ir_hash": "2ab7e8795099d47a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 91200.0, "surface_area": 14500.0, "principal_moments": [33199999.999999996, 34700000.0, 34700000.0], "n_faces": 9, "n_edges": 16, "n_vertices": 9}, "dimensions": {"lines": ["Revolved organic body from a freeform sketched section (8 segments: 3 straight, 4 arcs, 1 curve), ~27.659 \u00d7 65 mm half-silhouette."], "text": "Revolved organic body from a freeform sketched section (8 segments: 3 straight, 4 arcs, 1 curve), ~27.659 \u00d7 65 mm half-silhouette."}, "params": {"sk_r": {"type": "float", "default": 37.58, "min": 18.8, "max": 67.6, "step": 1.0, "group": "Sketch", "label": "Max radius (mm)"}, "sk_h": {"type": "float", "default": 65, "min": 32.5, "max": 117.0, "step": 1.0, "group": "Sketch", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331892 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_r\": {\"type\": 'float', \"default\": 37.58, \"min\": 18.8, \"max\": 67.6, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Max radius (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 65, \"min\": 32.5, \"max\": 117.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XZ').moveTo(p[\"sk_r\"] * 0.4409, p[\"sk_h\"] * 0.0).threePointArc((p[\"sk_r\"] * 0.2622, p[\"sk_h\"] * 0.05), (p[\"sk_r\"] * 0.199, p[\"sk_h\"] * 0.1001)).lineTo(p[\"sk_r\"] * 0.1957, p[\"sk_h\"] * 0.1469).bezier([(p[\"sk_r\"] * 0.1957, p[\"sk_h\"] * 0.1469), (p[\"sk_r\"] * 0.2619, p[\"sk_h\"] * 0.2008), (p[\"sk_r\"] * 0.2686, p[\"sk_h\"] * 0.2547)]).threePointArc((p[\"sk_r\"] * 0.2263, p[\"sk_h\"] * 0.3074), (p[\"sk_r\"] * 0.4103, p[\"sk_h\"] * 0.36)).threePointArc((p[\"sk_r\"] * 0.5631, p[\"sk_h\"] * 0.5331), (p[\"sk_r\"] * 0.7232, p[\"sk_h\"] * 0.7061)).threePointArc((p[\"sk_r\"] * 0.8144, p[\"sk_h\"] * 0.8531), (p[\"sk_r\"] * 0.818, p[\"sk_h\"] * 1.0)).lineTo(p[\"sk_r\"] * 0.082, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.082, p[\"sk_h\"] * 0.0).close().revolve())\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca8b5_3329", "family": "plate", "tier": 1, "seed": 1177331893, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "6209ee5d359f96b5", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 11200.0, "surface_area": 5800.0, "principal_moments": [902000.0, 5100000.0, 5960000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 74.27 \u00d7 30.9 \u00d7 5 mm (W\u00d7D\u00d7H).", "Four \u00d84.3 mm holes at the corners, 51.989 \u00d7 21.63 mm spacing."], "text": "Rectangular body, 74.27 \u00d7 30.9 \u00d7 5 mm (W\u00d7D\u00d7H). Four \u00d84.3 mm holes at the corners, 51.989 \u00d7 21.63 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 74.27, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 30.9, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 5.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 7.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331893 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 74.27, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 30.9, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 5.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 7.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca8b6_3330", "family": "plate", "tier": 3, "seed": 1177331894, "symmetry": "radial", "op_count": 4, "ir_hash": "df5dd9fd53164d46", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 84100.0, "surface_area": 25200.0, "principal_moments": [73000000.0, 76500000.0, 148000000.0], "n_faces": 16, "n_edges": 39, "n_vertices": 26}, "dimensions": {"lines": ["Rectangular body, 105 \u00d7 102.6 \u00d7 8 mm (W\u00d7D\u00d7H).", "Four \u00d88.4 mm holes on a \u00d863 mm bolt circle.", "Fillet radius 11.688 mm on vertical edges.", "Boss \u00d89.2 mm \u00d7 9.6 mm tall on top face."], "text": "Rectangular body, 105 \u00d7 102.6 \u00d7 8 mm (W\u00d7D\u00d7H). Four \u00d88.4 mm holes on a \u00d863 mm bolt circle. Fillet radius 11.688 mm on vertical edges. Boss \u00d89.2 mm \u00d7 9.6 mm tall on top face."}, "params": {"plate_w": {"type": "float", "default": 105, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 102.6, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "bolt_d": {"type": "float", "default": 8.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 31.5, "min": 21.0, "max": 47.2, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 4, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}, "boss_d": {"type": "float", "default": 9.2, "min": 4.6, "max": 18.4, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 9.6, "min": 3.8, "max": 24.0, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331894 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 105, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 102.6, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 31.5, \"min\": 21.0, \"max\": 47.2, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 4, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n    \"boss_d\": {\"type\": 'float', \"default\": 9.2, \"min\": 4.6, \"max\": 18.4, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 9.6, \"min\": 3.8, \"max\": 24.0, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"plate_w\"], p[\"plate_d\"]) * 0.11391873690824209)\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca8b7_3331", "family": "compound", "tier": 1, "seed": 1177331895, "symmetry": "mirror_xy", "op_count": 3, "ir_hash": "a99f642df298ad6c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 157000.0, "surface_area": 21900.0, "principal_moments": [66199999.99999999, 83900000.0, 98099999.99999999], "n_faces": 14, "n_edges": 33, "n_vertices": 21}, "dimensions": {"lines": ["Rectangular body, 65 \u00d7 54 \u00d7 44.6 mm (W\u00d7D\u00d7H).", "\u00d813.9 mm circular section attachment, 16.9 mm long, from back face with a \u00d86.3 mm bore.", "\u00d813.9 mm circular section attachment, 16.9 mm long, from right face with a \u00d86.3 mm bore."], "text": "Rectangular body, 65 \u00d7 54 \u00d7 44.6 mm (W\u00d7D\u00d7H). \u00d813.9 mm circular section attachment, 16.9 mm long, from back face with a \u00d86.3 mm bore. \u00d813.9 mm circular section attachment, 16.9 mm long, from right face with a \u00d86.3 mm bore."}, "params": {"block_w": {"type": "float", "default": 65, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body width (mm)"}, "block_d": {"type": "float", "default": 54.0, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body depth (mm)"}, "block_h": {"type": "float", "default": 44.6, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body height (mm)"}, "port_d": {"type": "float", "default": 13.9, "min": 5.6, "max": 20.1, "step": 1.0, "group": "Ports", "label": "Ports diameter (mm)"}, "port_len": {"type": "float", "default": 16.9, "min": 3.5, "max": 41.7, "step": 1.0, "group": "Ports", "label": "Port boss length (mm)"}, "port_bore": {"type": "float", "default": 6.3, "min": 2.0, "max": 10.0, "step": 0.5, "group": "Ports", "label": "Port bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331895 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 65, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 54.0, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 44.6, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body height (mm)'},\n    \"port_d\": {\"type\": 'float', \"default\": 13.9, \"min\": 5.6, \"max\": 20.1, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Ports diameter (mm)'},\n    \"port_len\": {\"type\": 'float', \"default\": 16.9, \"min\": 3.5, \"max\": 41.7, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Port boss length (mm)'},\n    \"port_bore\": {\"type\": 'float', \"default\": 6.3, \"min\": 2.0, \"max\": 10.0, \"step\": 0.5, \"group\": 'Ports', \"label\": 'Port bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462ca8b8_3332", "family": "ribbed", "tier": 1, "seed": 1177331896, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "2883137ccb42f349", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 26000.0, "surface_area": 9710.0, "principal_moments": [6120000.0, 7710000.0, 12999999.999999998], "n_faces": 16, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 55 \u00d7 52.1 \u00d7 8 mm (W\u00d7D\u00d7H).", "Two ribs, 2.9 mm thick, 12.1 mm tall."], "text": "Rectangular body, 55 \u00d7 52.1 \u00d7 8 mm (W\u00d7D\u00d7H). Two ribs, 2.9 mm thick, 12.1 mm tall."}, "params": {"base_w": {"type": "float", "default": 55, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 52.1, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 8.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 2, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 12.1, "min": 4.8, "max": 24.2, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 2.9, "min": 1.0, "max": 7.2, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331896 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 55, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 52.1, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 2, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 12.1, \"min\": 4.8, \"max\": 24.2, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 2.9, \"min\": 1.0, \"max\": 7.2, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca8b9_3333", "family": "bracket", "tier": 1, "seed": 1177331897, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "01db3c29102dca34", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 26900.0, "surface_area": 15300.0, "principal_moments": [7230000.0, 38500000.0, 39100000.0], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Z-bracket: base leg 60 mm, vertical leg 62.1 mm, top leg 63.1 mm, 38.3 mm wide, 4 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."], "text": "Z-bracket: base leg 60 mm, vertical leg 62.1 mm, top leg 63.1 mm, 38.3 mm wide, 4 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 60, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 62.1, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 38.3, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 4.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 63.1, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331897 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 60, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 62.1, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 38.3, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 63.1, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462ca8ba_3334", "family": "lofted", "tier": 1, "seed": 1177331898, "symmetry": "none", "op_count": 2, "ir_hash": "83801006b8d7506b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 33400.0, "surface_area": 7570.0, "principal_moments": [6300000.0, 6300000.0, 8340000.0], "n_faces": 9, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["Lofted body through 2 sections: \u00d850 mm circular section \u2192 6-sided polygon section, 34 mm across corners.", "One \u00d813.9 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 2 sections: \u00d850 mm circular section \u2192 6-sided polygon section, 34 mm across corners. One \u00d813.9 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 50, "min": 25.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 34.0, "min": 13.6, "max": 60.0, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 28.8, "min": 11.5, "max": 57.6, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_bore_d": {"type": "float", "default": 13.9, "min": 2.0, "max": 27.2, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331898 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 50, \"min\": 25.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 34.0, \"min\": 13.6, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 28.8, \"min\": 11.5, \"max\": 57.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 13.9, \"min\": 2.0, \"max\": 27.2, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .circle(p[\"loft_base\"] / 2)\n        .workplane(offset=p[\"loft_h\"])\n        .polygon(6, p[\"loft_top\"] * 0.5 * 2)\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca8bb_3335", "family": "block", "tier": 3, "seed": 1177331899, "symmetry": "radial", "op_count": 6, "ir_hash": "16c11e2645baf81a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 728000.0, "surface_area": 61600.0, "principal_moments": [935000000.0, 1010000000.0, 1070000000.0], "n_faces": 27, "n_edges": 78, "n_vertices": 52}, "dimensions": {"lines": ["Rectangular body, 96.45 \u00d7 91.2 \u00d7 84.8 mm (W\u00d7D\u00d7H).", "Eight \u00d84.3 mm holes on a \u00d857.8 mm bolt circle.", "Fillet radius 10.092 mm on vertical edges.", "Fillet radius 5.096 mm on vertical edges (optional, off by default).", "One \u00d83.2 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch on the <Y face.", "\u00d817.9 mm circular section attachment, 29.2 mm long, from right face with a \u00d88.9 mm bore."], "text": "Rectangular body, 96.45 \u00d7 91.2 \u00d7 84.8 mm (W\u00d7D\u00d7H). Eight \u00d84.3 mm holes on a \u00d857.8 mm bolt circle. Fillet radius 10.092 mm on vertical edges. Fillet radius 5.096 mm on vertical edges (optional, off by default). One \u00d83.2 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch on the <Y face. \u00d817.9 mm circular section attachment, 29.2 mm long, from right face with a \u00d88.9 mm bore."}, "params": {"block_w": {"type": "float", "default": 96.45, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 91.2, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 84.8, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "bolt_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 28.9, "min": 19.3, "max": 43.4, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 8, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}, "filleted2": {"type": "bool", "default": false, "group": "Body", "label": "Fillet corners"}, "face_hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 5.8, "step": 0.5, "group": "Holes", "label": "Side hole diameter (mm)"}, "side_tube_d": {"type": "float", "default": 17.9, "min": 7.2, "max": 42.4, "step": 1.0, "group": "Side Tube", "label": "Side tube diameter (mm)"}, "side_tube_len": {"type": "float", "default": 29.2, "min": 8.8, "max": 53.7, "step": 1.0, "group": "Side Tube", "label": "Side tube length (mm)"}, "side_bore_d": {"type": "float", "default": 8.9, "min": 2.0, "max": 13.4, "step": 0.5, "group": "Side Tube", "label": "Side bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331899 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 96.45, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 91.2, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 84.8, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 28.9, \"min\": 19.3, \"max\": 43.4, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n    \"filleted2\": {\"type\": 'bool', \"default\": False, \"group\": 'Body', \"label\": 'Fillet corners'},\n    \"face_hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 5.8, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Side hole diameter (mm)'},\n    \"side_tube_d\": {\"type\": 'float', \"default\": 17.9, \"min\": 7.2, \"max\": 42.4, \"step\": 1.0, \"group\": 'Side Tube', \"label\": 'Side tube diameter (mm)'},\n    \"side_tube_len\": {\"type\": 'float', \"default\": 29.2, \"min\": 8.8, \"max\": 53.7, \"step\": 1.0, \"group\": 'Side Tube', \"label\": 'Side tube length (mm)'},\n    \"side_bore_d\": {\"type\": 'float', \"default\": 8.9, \"min\": 2.0, \"max\": 13.4, \"step\": 0.5, \"group\": 'Side Tube', \"label\": 'Side bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"block_w\"], p[\"block_d\"]) * 0.11065837541867074)\n    if p[\"filleted2\"]:\n        result = result.edges('|Z').fillet(min(p[\"block_w\"], p[\"block_d\"]) * 0.055878429781320904)\n    result = (\n        result.faces('<Y').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"face_hole_d\"])\n    )\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"side_tube_d\"] / 2).extrude(p[\"side_tube_len\"])\n    )\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"side_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462ca8bc_3336", "family": "flanged", "tier": 1, "seed": 1177331900, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "f8b9373d44598c7e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 334000.0, "surface_area": 65500.0, "principal_moments": [484000000.0, 484000000.0, 582000000.0], "n_faces": 12, "n_edges": 27, "n_vertices": 18}, "dimensions": {"lines": ["Revolved body, \u00d875 mm \u00d7 75.1 mm tall with \u00d840.1 mm bore, \u00d8157.2 mm \u00d7 6.5 mm flange.", "Six \u00d84.3 mm holes on a \u00d894.4 mm bolt circle."], "text": "Revolved body, \u00d875 mm \u00d7 75.1 mm tall with \u00d840.1 mm bore, \u00d8157.2 mm \u00d7 6.5 mm flange. Six \u00d84.3 mm holes on a \u00d894.4 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 75, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 75.1, "min": 22.5, "max": 187.8, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 40.1, "min": 2.0, "max": 52.5, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 157.2, "min": 97.5, "max": 225.0, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 6.5, "min": 1.9, "max": 30.0, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 47.2, "min": 31.4, "max": 70.7, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 6, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331900 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 75, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 75.1, \"min\": 22.5, \"max\": 187.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 40.1, \"min\": 2.0, \"max\": 52.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 157.2, \"min\": 97.5, \"max\": 225.0, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 6.5, \"min\": 1.9, \"max\": 30.0, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 47.2, \"min\": 31.4, \"max\": 70.7, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca8bd_3337", "family": "block", "tier": 2, "seed": 1177331901, "symmetry": "radial", "op_count": 3, "ir_hash": "f6e0139cb32c8ad7", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 249000.0, "surface_area": 30500.0, "principal_moments": [118000000.0, 222000000.0, 233000000.0], "n_faces": 18, "n_edges": 45, "n_vertices": 30}, "dimensions": {"lines": ["Rectangular body, 90 \u00d7 51.1 \u00d7 55.4 mm (W\u00d7D\u00d7H).", "Eight \u00d85.3 mm holes on a \u00d854 mm bolt circle.", "Boss \u00d822 mm \u00d7 4.6 mm tall on top face."], "text": "Rectangular body, 90 \u00d7 51.1 \u00d7 55.4 mm (W\u00d7D\u00d7H). Eight \u00d85.3 mm holes on a \u00d854 mm bolt circle. Boss \u00d822 mm \u00d7 4.6 mm tall on top face."}, "params": {"block_w": {"type": "float", "default": 90, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 51.1, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 55.4, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "bolt_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 27.0, "min": 18.0, "max": 40.5, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 8, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}, "boss_d": {"type": "float", "default": 22.0, "min": 11.0, "max": 44.0, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 4.6, "min": 1.8, "max": 11.5, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331901 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 90, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 51.1, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 55.4, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 27.0, \"min\": 18.0, \"max\": 40.5, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n    \"boss_d\": {\"type\": 'float', \"default\": 22.0, \"min\": 11.0, \"max\": 44.0, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 4.6, \"min\": 1.8, \"max\": 11.5, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca8be_3338", "family": "plate", "tier": 2, "seed": 1177331902, "symmetry": "none", "op_count": 3, "ir_hash": "cdc6d014e75db692", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 38500.0, "surface_area": 13000.0, "principal_moments": [6370000.0, 40500000.0, 46399999.99999999], "n_faces": 14, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 113.39 \u00d7 44.4 \u00d7 8 mm (W\u00d7D\u00d7H).", "Four \u00d88.4 mm holes at the corners, 79.373 \u00d7 31.08 mm spacing.", "Chamfer 1.4 mm on vertical edges."], "text": "Rectangular body, 113.39 \u00d7 44.4 \u00d7 8 mm (W\u00d7D\u00d7H). Four \u00d88.4 mm holes at the corners, 79.373 \u00d7 31.08 mm spacing. Chamfer 1.4 mm on vertical edges."}, "params": {"plate_w": {"type": "float", "default": 113.39, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 44.4, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 8.4, "min": 2.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "chamfer_d": {"type": "float", "default": 1.4, "min": 1.1, "max": 1.8, "step": 0.5, "group": "Body", "label": "Chamfer distance (mm)"}, "chamfered": {"type": "bool", "default": true, "group": "Body", "label": "Chamfer edges"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331902 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 113.39, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 44.4, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 2.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"chamfer_d\": {\"type\": 'float', \"default\": 1.4, \"min\": 1.1, \"max\": 1.8, \"step\": 0.5, \"group\": 'Body', \"label\": 'Chamfer distance (mm)'},\n    \"chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Chamfer edges'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"chamfered\"]:\n        result = result.edges('|Z').chamfer(p[\"chamfer_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462ca8bf_3339", "family": "tapped", "tier": 1, "seed": 1177331903, "symmetry": "none", "op_count": 1, "ir_hash": "9d77db791c28973c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 79900.0, "surface_area": 16000.0, "principal_moments": [24299999.999999996, 47299999.99999999, 67700000.0], "n_faces": 554, "n_edges": 1520, "n_vertices": 968}, "dimensions": {"lines": ["Four M6x1 tapped holes in a plate."], "text": "Four M6x1 tapped holes in a plate."}, "params": {"major_d": {"type": "float", "default": 6.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 1.0, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 17.0, "min": 7.2, "max": 30.6, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "plate_w": {"type": "float", "default": 82.61, "min": 49.6, "max": 132.2, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 58.0, "min": 34.8, "max": 92.8, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331903 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.0, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 17.0, \"min\": 7.2, \"max\": 30.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"plate_w\": {\"type\": 'float', \"default\": 82.61, \"min\": 49.6, \"max\": 132.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 58.0, \"min\": 34.8, \"max\": 92.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n}\n\n\ndef build(p):\n\n    _W, _D, _H = p[\"plate_w\"], p[\"plate_d\"], p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Box(_W, _D, _H)\n    _sx, _sy = p[\"plate_w\"] * 0.6, p[\"plate_d\"] * 0.6\n    _locs = [(_xx, _yy) for _xx in (-_sx / 2, _sx / 2) for _yy in (-_sy / 2, _sy / 2)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462ca8c0_3340", "family": "swept", "tier": 1, "seed": 1177331904, "symmetry": "none", "op_count": 1, "ir_hash": "3581ed7e3493f784", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 4940.0, "surface_area": 2040.0, "principal_moments": [105000.0, 698000.0, 724000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["12.6 \u00d7 9.8 mm rectangular section swept along a curved path, ~52.6 mm span."], "text": "12.6 \u00d7 9.8 mm rectangular section swept along a curved path, ~52.6 mm span."}, "params": {"path_w": {"type": "float", "default": 52.6, "min": 26.3, "max": 94.7, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 40.0, "min": 20.0, "max": 72.0, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_a": {"type": "float", "default": 12.6, "min": 6.3, "max": 22.7, "step": 1.0, "group": "Section", "label": "Section width (mm)"}, "sweep_b": {"type": "float", "default": 9.8, "min": 4.9, "max": 17.6, "step": 1.0, "group": "Section", "label": "Section depth (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331904 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 52.6, \"min\": 26.3, \"max\": 94.7, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 40.0, \"min\": 20.0, \"max\": 72.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_a\": {\"type\": 'float', \"default\": 12.6, \"min\": 6.3, \"max\": 22.7, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section width (mm)'},\n    \"sweep_b\": {\"type\": 'float', \"default\": 9.8, \"min\": 4.9, \"max\": 17.6, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section depth (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.6005), (p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.8268), (p[\"path_w\"] * 0.0, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').rect(p[\"sweep_a\"], p[\"sweep_b\"]).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca8c1_3341", "family": "bracket", "tier": 1, "seed": 1177331905, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "cac82037d868c42a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 21900.0, "surface_area": 7450.0, "principal_moments": [3550000.0, 5150000.0, 7510000.0], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Z-bracket: base leg 29.5 mm, vertical leg 27.5 mm, top leg 28.3 mm, 40 mm wide, 8 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."], "text": "Z-bracket: base leg 29.5 mm, vertical leg 27.5 mm, top leg 28.3 mm, 40 mm wide, 8 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 29.5, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 27.5, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 40, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 8.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 28.3, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331905 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 29.5, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 27.5, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 40, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 28.3, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca8c2_3342", "family": "block", "tier": 1, "seed": 1177331906, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "dcdd11b3bb957029", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 360000.0, "surface_area": 44700.0, "principal_moments": [307000000.0, 347000000.0, 559000000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 94.5 \u00d7 40.4 \u00d7 100 mm (W\u00d7D\u00d7H).", "Four \u00d88.4 mm holes at the corners, 66.15 \u00d7 28.28 mm spacing."], "text": "Rectangular body, 94.5 \u00d7 40.4 \u00d7 100 mm (W\u00d7D\u00d7H). Four \u00d88.4 mm holes at the corners, 66.15 \u00d7 28.28 mm spacing."}, "params": {"block_w": {"type": "float", "default": 94.5, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 40.4, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 100.0, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 8.4, "min": 2.0, "max": 9.1, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331906 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 94.5, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 40.4, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 100.0, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 2.0, \"max\": 9.1, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462ca8c4_3344", "family": "ribbed", "tier": 1, "seed": 1177331908, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "e5b7c0db7c88278d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 39000.0, "surface_area": 17500.0, "principal_moments": [11300000.0, 28799999.999999996, 39500000.0], "n_faces": 54, "n_edges": 132, "n_vertices": 80}, "dimensions": {"lines": ["Rectangular body, 95 \u00d7 49.6 \u00d7 6 mm (W\u00d7D\u00d7H).", "Six ribs, 4.7 mm thick, 5 mm tall."], "text": "Rectangular body, 95 \u00d7 49.6 \u00d7 6 mm (W\u00d7D\u00d7H). Six ribs, 4.7 mm thick, 5 mm tall."}, "params": {"base_w": {"type": "float", "default": 95, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 49.6, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 6.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 6, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 5.0, "min": 2.0, "max": 10.0, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 4.7, "min": 1.0, "max": 11.8, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331908 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 95, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 49.6, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 6, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 5.0, \"min\": 2.0, \"max\": 10.0, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 4.7, \"min\": 1.0, \"max\": 11.8, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462ca8c5_3345", "family": "swept", "tier": 2, "seed": 1177331909, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "d022a803ea966c0c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 3850.0, "surface_area": 2350.0, "principal_moments": [111000.0, 2110000.0, 2170000.0], "n_faces": 3, "n_edges": 3, "n_vertices": 2}, "dimensions": {"lines": ["\u00d89.5 mm circular section swept along a curved path, ~80 mm span."], "text": "\u00d89.5 mm circular section swept along a curved path, ~80 mm span."}, "params": {"path_w": {"type": "float", "default": 80.0, "min": 40.0, "max": 144.0, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 75, "min": 37.5, "max": 135.0, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_d": {"type": "float", "default": 9.5, "min": 4.8, "max": 17.1, "step": 1.0, "group": "Section", "label": "Section diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331909 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 80.0, \"min\": 40.0, \"max\": 144.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 75, \"min\": 37.5, \"max\": 135.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_d\": {\"type\": 'float', \"default\": 9.5, \"min\": 4.8, \"max\": 17.1, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.1445, p[\"path_h\"] * 0.3062), (p[\"path_w\"] * 0.0118, p[\"path_h\"] * 0.6777), (p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.6981), (p[\"path_w\"] * 0.1763, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').circle(p[\"sweep_d\"] / 2).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca8c6_3346", "family": "plate", "tier": 2, "seed": 1177331910, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "e341619b354b4a9e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 24800.0, "surface_area": 10400.0, "principal_moments": [3760000.0, 20400000.0, 23999999.999999996], "n_faces": 14, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 100 \u00d7 42.6 \u00d7 6 mm (W\u00d7D\u00d7H).", "Four \u00d86.4 mm holes at the corners, 70 \u00d7 29.82 mm spacing.", "Fillet radius 2.173 mm on vertical edges."], "text": "Rectangular body, 100 \u00d7 42.6 \u00d7 6 mm (W\u00d7D\u00d7H). Four \u00d86.4 mm holes at the corners, 70 \u00d7 29.82 mm spacing. Fillet radius 2.173 mm on vertical edges."}, "params": {"plate_w": {"type": "float", "default": 100, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 42.6, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 6.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 9.6, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331910 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 100, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 42.6, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 9.6, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"plate_w\"], p[\"plate_d\"]) * 0.05102101364224863)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca8c7_3347", "family": "plate", "tier": 1, "seed": 1177331911, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "f6495f4deb32b7ec", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 16100.0, "surface_area": 5460.0, "principal_moments": [1340000.0, 4120000.0, 5190000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 55 \u00d7 30.3 \u00d7 10 mm (W\u00d7D\u00d7H).", "Four \u00d84.3 mm holes at the corners, 38.5 \u00d7 21.21 mm spacing."], "text": "Rectangular body, 55 \u00d7 30.3 \u00d7 10 mm (W\u00d7D\u00d7H). Four \u00d84.3 mm holes at the corners, 38.5 \u00d7 21.21 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 55, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 30.3, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 6.8, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331911 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 55, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 30.3, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 6.8, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462ca8c8_3348", "family": "swept", "tier": 2, "seed": 1177331912, "symmetry": "none", "op_count": 1, "ir_hash": "05cbe1e0b4ab1bdc", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 7340.0, "surface_area": 3530.0, "principal_moments": [185000.0, 7310000.0, 7380000.0], "n_faces": 3, "n_edges": 3, "n_vertices": 2}, "dimensions": {"lines": ["\u00d811.4 mm circular section swept along a curved path, ~105 mm span."], "text": "\u00d811.4 mm circular section swept along a curved path, ~105 mm span."}, "params": {"path_w": {"type": "float", "default": 50, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 105, "min": 52.5, "max": 189.0, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_d": {"type": "float", "default": 11.4, "min": 5.7, "max": 20.5, "step": 1.0, "group": "Section", "label": "Section diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331912 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 50, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 105, \"min\": 52.5, \"max\": 189.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_d\": {\"type\": 'float', \"default\": 11.4, \"min\": 5.7, \"max\": 20.5, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.3689, p[\"path_h\"] * 0.2805), (p[\"path_w\"] * 0.4295, p[\"path_h\"] * 0.4605), (p[\"path_w\"] * 0.3977, p[\"path_h\"] * 0.8599), (p[\"path_w\"] * 0.4647, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').circle(p[\"sweep_d\"] / 2).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462ca8c9_3349", "family": "sketched", "tier": 2, "seed": 1177331913, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "55273d30bc1486ed", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 28500.0, "surface_area": 7270.0, "principal_moments": [3230000.0, 8090000.0, 9970000.0], "n_faces": 12, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["freeform sketched section (5 segments: 4 straight, 1 arc), ~39.799 \u00d7 64.294 mm, extruded 14.82 mm thick.", "One \u00d88.4 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch.", "Boss \u00d814.4 mm \u00d7 9.2 mm tall on top face with a \u00d86.4 mm bore."], "text": "freeform sketched section (5 segments: 4 straight, 1 arc), ~39.799 \u00d7 64.294 mm, extruded 14.82 mm thick. One \u00d88.4 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch. Boss \u00d814.4 mm \u00d7 9.2 mm tall on top face with a \u00d86.4 mm bore."}, "params": {"sk_w": {"type": "float", "default": 52.77, "min": 26.4, "max": 95.0, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 85, "min": 42.5, "max": 153.0, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "sk_t": {"type": "float", "default": 14.82, "min": 5.9, "max": 32.6, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "sk_hole_d": {"type": "float", "default": 8.4, "min": 2.0, "max": 16.8, "step": 0.5, "group": "Holes", "label": "Hole diameter (mm)"}, "boss_d": {"type": "float", "default": 14.4, "min": 7.2, "max": 28.8, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 9.2, "min": 3.7, "max": 23.0, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}, "boss_bore_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 10.1, "step": 0.1, "group": "Boss", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331913 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 52.77, \"min\": 26.4, \"max\": 95.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 85, \"min\": 42.5, \"max\": 153.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"sk_t\": {\"type\": 'float', \"default\": 14.82, \"min\": 5.9, \"max\": 32.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"sk_hole_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 2.0, \"max\": 16.8, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"boss_d\": {\"type\": 'float', \"default\": 14.4, \"min\": 7.2, \"max\": 28.8, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 9.2, \"min\": 3.7, \"max\": 23.0, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n    \"boss_bore_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 10.1, \"step\": 0.1, \"group\": 'Boss', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.3358, p[\"sk_h\"] * 0.1208).lineTo(p[\"sk_w\"] * 0.2401, p[\"sk_h\"] * 0.4182).threePointArc((p[\"sk_w\"] * -0.1071, p[\"sk_h\"] * 0.3844), (p[\"sk_w\"] * -0.4184, p[\"sk_h\"] * 0.2104)).lineTo(p[\"sk_w\"] * -0.3387, p[\"sk_h\"] * -0.2521).lineTo(p[\"sk_w\"] * 0.0964, p[\"sk_h\"] * -0.3382).lineTo(p[\"sk_w\"] * 0.3358, p[\"sk_h\"] * 0.1208).close().extrude(p[\"sk_t\"]))\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"sk_hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .hole(p[\"boss_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca8ca_3350", "family": "plate", "tier": 1, "seed": 1177331914, "symmetry": "none", "op_count": 2, "ir_hash": "4150de6139369cda", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 16900.0, "surface_area": 7280.0, "principal_moments": [2060000.0, 7970000.0, 9930000.0], "n_faces": 11, "n_edges": 27, "n_vertices": 18}, "dimensions": {"lines": ["Rectangular body, 75 \u00d7 38 \u00d7 6 mm (W\u00d7D\u00d7H).", "Five \u00d83.2 mm holes in two staggered rows, 28.1 \u00d7 26.8 mm pitch."], "text": "Rectangular body, 75 \u00d7 38 \u00d7 6 mm (W\u00d7D\u00d7H). Five \u00d83.2 mm holes in two staggered rows, 28.1 \u00d7 26.8 mm pitch."}, "params": {"plate_w": {"type": "float", "default": 75, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 38.0, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 6.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 3.8, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 3, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331914 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 75, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 38.0, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 3.8, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 3, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 28.1\n    _ssy = 26.8\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca8cb_3351", "family": "revolved", "tier": 1, "seed": 1177331915, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "787bc5b6dbdf3384", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 36600.0, "surface_area": 9740.0, "principal_moments": [3670000.0, 19800000.0, 19800000.0], "n_faces": 4, "n_edges": 6, "n_vertices": 4}, "dimensions": {"lines": ["Revolved body, \u00d826.56 mm \u00d7 76.7 mm tall with \u00d89.9 mm bore."], "text": "Revolved body, \u00d826.56 mm \u00d7 76.7 mm tall with \u00d89.9 mm bore."}, "params": {"outer_d": {"type": "float", "default": 26.56, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 76.7, "min": 23.0, "max": 230.1, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 9.9, "min": 2.0, "max": 18.6, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331915 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 26.56, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 76.7, \"min\": 23.0, \"max\": 230.1, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 9.9, \"min\": 2.0, \"max\": 18.6, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca8cc_3352", "family": "plate", "tier": 1, "seed": 1177331916, "symmetry": "radial", "op_count": 2, "ir_hash": "738ce03a27b753be", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 4350.0, "surface_area": 2940.0, "principal_moments": [178000.0, 1070000.0, 1230000.0], "n_faces": 8, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["Rectangular body, 54.29 \u00d7 21.2 \u00d7 4 mm (W\u00d7D\u00d7H).", "Four \u00d86.4 mm holes on a \u00d832.6 mm bolt circle."], "text": "Rectangular body, 54.29 \u00d7 21.2 \u00d7 4 mm (W\u00d7D\u00d7H). Four \u00d86.4 mm holes on a \u00d832.6 mm bolt circle."}, "params": {"plate_w": {"type": "float", "default": 54.29, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 21.2, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 4.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "bolt_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 16.3, "min": 10.9, "max": 24.4, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 4, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331916 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 54.29, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 21.2, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 4.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 16.3, \"min\": 10.9, \"max\": 24.4, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 4, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462ca8cd_3353", "family": "gear", "tier": 1, "seed": 1177331917, "symmetry": "none", "op_count": 1, "ir_hash": "2216b2ceb6f59ab6", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 104000.0, "surface_area": 21900.0, "principal_moments": [53099999.99999999, 53099999.99999999, 99599999.99999999], "n_faces": 105, "n_edges": 309, "n_vertices": 206}, "dimensions": {"lines": ["Spur gear, module 5 mm, 17 teeth (pitch \u00d885 mm), face width 19.4 mm, \u00d814.8 mm bore."], "text": "Spur gear, module 5 mm, 17 teeth (pitch \u00d885 mm), face width 19.4 mm, \u00d814.8 mm bore."}, "params": {"module": {"type": "float", "default": 5.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 17, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 19.4, "min": 7.8, "max": 48.5, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "bore_d": {"type": "float", "default": 14.8, "min": 2.0, "max": 43.5, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331917 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 5.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 17, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 19.4, \"min\": 7.8, \"max\": 48.5, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 14.8, \"min\": 2.0, \"max\": 43.5, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462ca8ce_3354", "family": "tapped", "tier": 2, "seed": 1177331918, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "fc66b7d562123dff", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 75500.0, "surface_area": 16800.0, "principal_moments": [25599999.999999996, 41200000.0, 63499999.99999999], "n_faces": 358, "n_edges": 1268, "n_vertices": 912}, "dimensions": {"lines": ["Four M10x1.5 tapped holes in a plate."], "text": "Four M10x1.5 tapped holes in a plate."}, "params": {"major_d": {"type": "float", "default": 10.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 1.5, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 16.0, "min": 12.0, "max": 28.8, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "plate_w": {"type": "float", "default": 80, "min": 48.0, "max": 128.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 62.3, "min": 37.4, "max": 99.7, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331918 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 10.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.5, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 16.0, \"min\": 12.0, \"max\": 28.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"plate_w\": {\"type\": 'float', \"default\": 80, \"min\": 48.0, \"max\": 128.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 62.3, \"min\": 37.4, \"max\": 99.7, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n}\n\n\ndef build(p):\n\n    _W, _D, _H = p[\"plate_w\"], p[\"plate_d\"], p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Box(_W, _D, _H)\n    _nx, _ny = max(1, int(2)), max(1, int(2))\n    _sx, _sy = p[\"plate_w\"] * 0.66, p[\"plate_d\"] * 0.66\n    _locs = [(_sx * (_i - (_nx - 1) / 2), _sy * (_j - (_ny - 1) / 2))\n             for _i in range(_nx) for _j in range(_ny)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462ca8cf_3355", "family": "lofted", "tier": 0, "seed": 1177331919, "symmetry": "none", "op_count": 1, "ir_hash": "ee929def8122424d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 23600.0, "surface_area": 4840.0, "principal_moments": [2270000.0, 4350000.0, 4360000.0], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Lofted body through 2 sections: 6-sided polygon section, 35 mm across corners \u2192 19.2 \u00d7 19.2 mm rectangular section."], "text": "Lofted body through 2 sections: 6-sided polygon section, 35 mm across corners \u2192 19.2 \u00d7 19.2 mm rectangular section."}, "params": {"loft_base": {"type": "float", "default": 35, "min": 17.5, "max": 56.0, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 19.2, "min": 7.7, "max": 42.0, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 41.3, "min": 16.5, "max": 82.6, "step": 1.0, "group": "Body", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331919 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 35, \"min\": 17.5, \"max\": 56.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 19.2, \"min\": 7.7, \"max\": 42.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 41.3, \"min\": 16.5, \"max\": 82.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .polygon(6, p[\"loft_base\"] * 0.5 * 2)\n        .workplane(offset=p[\"loft_h\"])\n        .rect(p[\"loft_top\"], p[\"loft_top\"])\n        .loft(combine=True)\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca8d1_3357", "family": "compound", "tier": 2, "seed": 1177331921, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "ed8d826de64113b4", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 24700.0, "surface_area": 5540.0, "principal_moments": [1630000.0, 8730000.0, 8730000.0], "n_faces": 12, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["\u00d825 mm circular section, extruded 36.1 mm thick.", "\u00d817.5 mm circular section attachment, 24.6 mm long, from top face.", "6-sided polygon section, 13 mm across corners attachment, 9.6 mm long, from top face."], "text": "\u00d825 mm circular section, extruded 36.1 mm thick. \u00d817.5 mm circular section attachment, 24.6 mm long, from top face. 6-sided polygon section, 13 mm across corners attachment, 9.6 mm long, from top face."}, "params": {"shaft_d": {"type": "float", "default": 25, "min": 12.5, "max": 45.0, "step": 1.0, "group": "Body", "label": "Shaft diameter (mm)"}, "shaft_len": {"type": "float", "default": 36.1, "min": 14.4, "max": 72.2, "step": 1.0, "group": "Body", "label": "Shaft length (mm)"}, "step_d": {"type": "float", "default": 17.5, "min": 8.8, "max": 22.5, "step": 1.0, "group": "Step", "label": "Step diameter (mm)"}, "step_len": {"type": "float", "default": 24.6, "min": 7.4, "max": 61.5, "step": 1.0, "group": "Step", "label": "Step length (mm)"}, "head_sides": {"type": "int", "default": 6, "min": 3, "max": 8, "step": 1, "group": "Head", "label": "Drive head sides"}, "head_r": {"type": "float", "default": 6.5, "min": 3.9, "max": 8.4, "step": 1.0, "group": "Head", "label": "Drive head circumradius (mm)"}, "head_len": {"type": "float", "default": 9.6, "min": 2.9, "max": 19.2, "step": 1.0, "group": "Head", "label": "Drive head length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331921 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"shaft_d\": {\"type\": 'float', \"default\": 25, \"min\": 12.5, \"max\": 45.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft diameter (mm)'},\n    \"shaft_len\": {\"type\": 'float', \"default\": 36.1, \"min\": 14.4, \"max\": 72.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft length (mm)'},\n    \"step_d\": {\"type\": 'float', \"default\": 17.5, \"min\": 8.8, \"max\": 22.5, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step diameter (mm)'},\n    \"step_len\": {\"type\": 'float', \"default\": 24.6, \"min\": 7.4, \"max\": 61.5, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step length (mm)'},\n    \"head_sides\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Head', \"label\": 'Drive head sides'},\n    \"head_r\": {\"type\": 'float', \"default\": 6.5, \"min\": 3.9, \"max\": 8.4, \"step\": 1.0, \"group\": 'Head', \"label\": 'Drive head circumradius (mm)'},\n    \"head_len\": {\"type\": 'float', \"default\": 9.6, \"min\": 2.9, \"max\": 19.2, \"step\": 1.0, \"group\": 'Head', \"label\": 'Drive head length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').circle(p[\"shaft_d\"] / 2).extrude(p[\"shaft_len\"]))\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"step_d\"] / 2).extrude(p[\"step_len\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"head_sides\"], p[\"head_r\"] * 2).extrude(p[\"head_len\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462ca8d2_3358", "family": "profiled", "tier": 2, "seed": 1177331922, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "b2d599e3c90f1494", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 62100.0, "surface_area": 13100.0, "principal_moments": [3120000.0, 202000000.0, 202000000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["20 \u00d7 20.12 mm slot section, extruded 196.8 mm thick."], "text": "20 \u00d7 20.12 mm slot section, extruded 196.8 mm thick."}, "params": {"slot_len": {"type": "float", "default": 20.0, "min": 10.0, "max": 40.0, "step": 1.0, "group": "Profile", "label": "Slot length (mm)"}, "slot_w": {"type": "float", "default": 20.12, "min": 10.1, "max": 40.2, "step": 0.5, "group": "Profile", "label": "Slot width (mm)"}, "length": {"type": "float", "default": 196.8, "min": 59.0, "max": 590.4, "step": 5.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331922 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"slot_len\": {\"type\": 'float', \"default\": 20.0, \"min\": 10.0, \"max\": 40.0, \"step\": 1.0, \"group\": 'Profile', \"label\": 'Slot length (mm)'},\n    \"slot_w\": {\"type\": 'float', \"default\": 20.12, \"min\": 10.1, \"max\": 40.2, \"step\": 0.5, \"group\": 'Profile', \"label\": 'Slot width (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 196.8, \"min\": 59.0, \"max\": 590.4, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').slot2D(p[\"slot_len\"], p[\"slot_w\"]).extrude(p[\"length\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462ca8d3_3359", "family": "ribbed", "tier": 2, "seed": 1177331923, "symmetry": "mirror_xy", "op_count": 3, "ir_hash": "bc8ca0324c03ac72", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 19500.0, "surface_area": 15400.0, "principal_moments": [4350000.0, 7350000.0, 9920000.0], "n_faces": 50, "n_edges": 124, "n_vertices": 76}, "dimensions": {"lines": ["Rectangular body, 63.91 \u00d7 32.6 \u00d7 3 mm (W\u00d7D\u00d7H).", "Five ribs, 2.8 mm thick, 18.7 mm tall.", "Four \u00d83.2 mm holes at the corners, 44.737 \u00d7 22.82 mm spacing."], "text": "Rectangular body, 63.91 \u00d7 32.6 \u00d7 3 mm (W\u00d7D\u00d7H). Five ribs, 2.8 mm thick, 18.7 mm tall. Four \u00d83.2 mm holes at the corners, 44.737 \u00d7 22.82 mm spacing."}, "params": {"base_w": {"type": "float", "default": 63.91, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 32.6, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 3.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 5, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 18.7, "min": 7.5, "max": 37.4, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 2.8, "min": 1.0, "max": 7.0, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 7.3, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331923 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 63.91, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 32.6, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 5, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 18.7, \"min\": 7.5, \"max\": 37.4, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 2.8, \"min\": 1.0, \"max\": 7.0, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 7.3, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"base_w\"] * 0.7, p[\"base_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462ca8d4_3360", "family": "sketched", "tier": 1, "seed": 1177331924, "symmetry": "none", "op_count": 2, "ir_hash": "8883bff671725ef5", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 45700.0, "surface_area": 9330.0, "principal_moments": [9660000.0, 15299999.999999998, 23299999.999999996], "n_faces": 8, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["freeform sketched section (5 segments: 2 arcs, 3 curves), ~58.572 \u00d7 60.84 mm, extruded 15 mm thick.", "One \u00d84.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "freeform sketched section (5 segments: 2 arcs, 3 curves), ~58.572 \u00d7 60.84 mm, extruded 15 mm thick. One \u00d84.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"sk_w": {"type": "float", "default": 90.0, "min": 45.0, "max": 162.0, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 80, "min": 40.0, "max": 144.0, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "sk_t": {"type": "float", "default": 15, "min": 6.0, "max": 33.0, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "sk_hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 8.6, "step": 0.5, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331924 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 90.0, \"min\": 45.0, \"max\": 162.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 80, \"min\": 40.0, \"max\": 144.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"sk_t\": {\"type\": 'float', \"default\": 15, \"min\": 6.0, \"max\": 33.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"sk_hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 8.6, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.4228, p[\"sk_h\"] * -0.1281).threePointArc((p[\"sk_w\"] * 0.2577, p[\"sk_h\"] * 0.1546), (p[\"sk_w\"] * 0.0026, p[\"sk_h\"] * 0.3648)).threePointArc((p[\"sk_w\"] * -0.128, p[\"sk_h\"] * 0.3927), (p[\"sk_w\"] * -0.228, p[\"sk_h\"] * 0.3438)).spline([(p[\"sk_w\"] * -0.228, p[\"sk_h\"] * 0.3438), (p[\"sk_w\"] * -0.322, p[\"sk_h\"] * 0.0232), (p[\"sk_w\"] * -0.226, p[\"sk_h\"] * -0.2968)]).spline([(p[\"sk_w\"] * -0.226, p[\"sk_h\"] * -0.2968), (p[\"sk_w\"] * -0.0122, p[\"sk_h\"] * -0.3826), (p[\"sk_w\"] * 0.2177, p[\"sk_h\"] * -0.3957)]).bezier([(p[\"sk_w\"] * 0.2177, p[\"sk_h\"] * -0.3957), (p[\"sk_w\"] * 0.3399, p[\"sk_h\"] * -0.2769), (p[\"sk_w\"] * 0.4228, p[\"sk_h\"] * -0.1281)]).close().extrude(p[\"sk_t\"]))\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"sk_hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca8d5_3361", "family": "revolved", "tier": 0, "seed": 1177331925, "symmetry": "none", "op_count": 1, "ir_hash": "639f139287dfa7d4", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 651000.0, "surface_area": 81100.0, "principal_moments": [581000000.0, 1980000000.0, 1980000000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d877.13 mm \u00d7 209.1 mm tall."], "text": "Revolved body, \u00d877.13 mm \u00d7 209.1 mm tall."}, "params": {"outer_d": {"type": "float", "default": 77.13, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 209.1, "min": 62.7, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331925 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 77.13, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 209.1, \"min\": 62.7, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462ca8d6_3362", "family": "gear", "tier": 2, "seed": 1177331926, "symmetry": "none", "op_count": 1, "ir_hash": "2920c9487144aa54", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 209000.0, "surface_area": 35900.0, "principal_moments": [191000000.0, 191000000.0, 368000000.0], "n_faces": 231, "n_edges": 687, "n_vertices": 458}, "dimensions": {"lines": ["Spur gear, module 3 mm, 38 teeth (pitch \u00d8114 mm), face width 20.6 mm, \u00d822.7 mm bore."], "text": "Spur gear, module 3 mm, 38 teeth (pitch \u00d8114 mm), face width 20.6 mm, \u00d822.7 mm bore."}, "params": {"module": {"type": "float", "default": 3.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 38, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 20.6, "min": 8.2, "max": 51.5, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "profile_shift": {"type": "float", "default": 0.39, "min": -0.5, "max": 0.7, "step": 0.05, "group": "Gear", "label": "Profile shift"}, "root_fillet": {"type": "float", "default": 0.4, "min": 0.0, "max": 1.5, "step": 0.05, "group": "Gear", "label": "Root fillet (mm)"}, "bore_d": {"type": "float", "default": 22.7, "min": 2.0, "max": 63.9, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331926 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 3.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 38, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 20.6, \"min\": 8.2, \"max\": 51.5, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"profile_shift\": {\"type\": 'float', \"default\": 0.39, \"min\": -0.5, \"max\": 0.7, \"step\": 0.05, \"group\": 'Gear', \"label\": 'Profile shift'},\n    \"root_fillet\": {\"type\": 'float', \"default\": 0.4, \"min\": 0.0, \"max\": 1.5, \"step\": 0.05, \"group\": 'Gear', \"label\": 'Root fillet (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 22.7, \"min\": 2.0, \"max\": 63.9, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"], profile_shift=p[\"profile_shift\"], root_fillet=p[\"root_fillet\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462ca8d7_3363", "family": "lofted", "tier": 0, "seed": 1177331927, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "c9368f582ca19316", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 90800.0, "surface_area": 12100.0, "principal_moments": [23999999.999999996, 38400000.0, 38500000.0], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Lofted body through 2 sections: 48.07 \u00d7 48.07 mm rectangular section \u2192 6-sided polygon section, 34.5 mm across corners."], "text": "Lofted body through 2 sections: 48.07 \u00d7 48.07 mm rectangular section \u2192 6-sided polygon section, 34.5 mm across corners."}, "params": {"loft_base": {"type": "float", "default": 48.07, "min": 24.0, "max": 76.9, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 34.5, "min": 13.8, "max": 57.7, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 61.4, "min": 24.6, "max": 122.8, "step": 1.0, "group": "Body", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331927 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 48.07, \"min\": 24.0, \"max\": 76.9, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 34.5, \"min\": 13.8, \"max\": 57.7, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 61.4, \"min\": 24.6, \"max\": 122.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .rect(p[\"loft_base\"], p[\"loft_base\"])\n        .workplane(offset=p[\"loft_h\"])\n        .polygon(6, p[\"loft_top\"] * 0.5 * 2)\n        .loft(combine=True)\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462ca8d9_3365", "family": "sketched", "tier": 3, "seed": 1177331929, "symmetry": "none", "op_count": 4, "ir_hash": "0ef9ee0b6281383b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 36300.0, "surface_area": 7580.0, "principal_moments": [3700000.0, 12499999.999999998, 12799999.999999998], "n_faces": 10, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["freeform sketched section (4 segments: 1 straight, 2 arcs, 1 curve), ~33.075 \u00d7 73.179 mm, extruded 22.65 mm thick.", "One \u00d84.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch.", "Boss \u00d89.6 mm \u00d7 8.8 mm tall on top face.", "Fillet radius 1.8 mm on vertical edges (optional, off by default)."], "text": "freeform sketched section (4 segments: 1 straight, 2 arcs, 1 curve), ~33.075 \u00d7 73.179 mm, extruded 22.65 mm thick. One \u00d84.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch. Boss \u00d89.6 mm \u00d7 8.8 mm tall on top face. Fillet radius 1.8 mm on vertical edges (optional, off by default)."}, "params": {"sk_w": {"type": "float", "default": 45, "min": 22.5, "max": 81.0, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 90.0, "min": 45.0, "max": 162.0, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "sk_t": {"type": "float", "default": 22.65, "min": 9.1, "max": 49.8, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "sk_hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 8.6, "step": 0.5, "group": "Holes", "label": "Hole diameter (mm)"}, "boss_d": {"type": "float", "default": 9.6, "min": 4.8, "max": 19.2, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 8.8, "min": 3.5, "max": 22.0, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}, "sk_fillet_r": {"type": "float", "default": 1.8, "min": 0.5, "max": 4.5, "step": 0.5, "group": "Body", "label": "Edge fillet radius (mm)"}, "sk_filleted": {"type": "bool", "default": false, "group": "Body", "label": "Fillet vertical edges"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331929 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 45, \"min\": 22.5, \"max\": 81.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 90.0, \"min\": 45.0, \"max\": 162.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"sk_t\": {\"type\": 'float', \"default\": 22.65, \"min\": 9.1, \"max\": 49.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"sk_hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 8.6, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"boss_d\": {\"type\": 'float', \"default\": 9.6, \"min\": 4.8, \"max\": 19.2, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 8.8, \"min\": 3.5, \"max\": 22.0, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n    \"sk_fillet_r\": {\"type\": 'float', \"default\": 1.8, \"min\": 0.5, \"max\": 4.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Edge fillet radius (mm)'},\n    \"sk_filleted\": {\"type\": 'bool', \"default\": False, \"group\": 'Body', \"label\": 'Fillet vertical edges'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.3269, p[\"sk_h\"] * 0.0466).lineTo(p[\"sk_w\"] * 0.105, p[\"sk_h\"] * 0.4233).threePointArc((p[\"sk_w\"] * -0.2093, p[\"sk_h\"] * 0.3589), (p[\"sk_w\"] * -0.4081, p[\"sk_h\"] * 0.1641)).spline([(p[\"sk_w\"] * -0.4081, p[\"sk_h\"] * 0.1641), (p[\"sk_w\"] * -0.1653, p[\"sk_h\"] * -0.1758), (p[\"sk_w\"] * 0.1933, p[\"sk_h\"] * -0.3898)]).threePointArc((p[\"sk_w\"] * 0.3031, p[\"sk_h\"] * -0.2202), (p[\"sk_w\"] * 0.3269, p[\"sk_h\"] * 0.0466)).close().extrude(p[\"sk_t\"]))\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"sk_hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    if p[\"sk_filleted\"]:\n        result = result.edges('|Z').fillet(p[\"sk_fillet_r\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462ca8da_3366", "family": "profiled", "tier": 1, "seed": 1177331930, "symmetry": "none", "op_count": 1, "ir_hash": "a359066040fdbbac", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 82300.0, "surface_area": 16900.0, "principal_moments": [5760000.0, 339000000.0, 342000000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["27.93 \u00d7 15 mm slot section, extruded 221.9 mm thick."], "text": "27.93 \u00d7 15 mm slot section, extruded 221.9 mm thick."}, "params": {"slot_len": {"type": "float", "default": 27.93, "min": 14.0, "max": 55.9, "step": 1.0, "group": "Profile", "label": "Slot length (mm)"}, "slot_w": {"type": "float", "default": 15, "min": 7.5, "max": 30.0, "step": 0.5, "group": "Profile", "label": "Slot width (mm)"}, "length": {"type": "float", "default": 221.9, "min": 66.6, "max": 665.7, "step": 5.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331930 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"slot_len\": {\"type\": 'float', \"default\": 27.93, \"min\": 14.0, \"max\": 55.9, \"step\": 1.0, \"group\": 'Profile', \"label\": 'Slot length (mm)'},\n    \"slot_w\": {\"type\": 'float', \"default\": 15, \"min\": 7.5, \"max\": 30.0, \"step\": 0.5, \"group\": 'Profile', \"label\": 'Slot width (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 221.9, \"min\": 66.6, \"max\": 665.7, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').slot2D(p[\"slot_len\"], p[\"slot_w\"]).extrude(p[\"length\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462ca8db_3367", "family": "enclosure", "tier": 2, "seed": 1177331931, "symmetry": "mirror_xy", "op_count": 3, "ir_hash": "4414240ffefe5125", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 155000.0, "surface_area": 81500.0, "principal_moments": [283000000.0, 363000000.0, 452000000.0], "n_faces": 15, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 115 \u00d7 92.1 \u00d7 77.6 mm (W\u00d7D\u00d7H).", "Hollowed to 3.9 mm wall thickness, open at top face.", "Four \u00d88.4 mm holes at the corners, 80.5 \u00d7 64.47 mm spacing."], "text": "Rectangular body, 115 \u00d7 92.1 \u00d7 77.6 mm (W\u00d7D\u00d7H). Hollowed to 3.9 mm wall thickness, open at top face. Four \u00d88.4 mm holes at the corners, 80.5 \u00d7 64.47 mm spacing."}, "params": {"enc_w": {"type": "float", "default": 115, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 92.1, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 77.6, "min": 31.0, "max": 155.2, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 3.9, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}, "hole_d": {"type": "float", "default": 8.4, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331931 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 115, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 92.1, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 77.6, \"min\": 31.0, \"max\": 155.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 3.9, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"enc_w\"] * 0.7, p[\"enc_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca8dc_3368", "family": "bracket", "tier": 2, "seed": 1177331932, "symmetry": "none", "op_count": 1, "ir_hash": "c297d81838f3ad82", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 78500.0, "surface_area": 24100.0, "principal_moments": [67200000.0, 102000000.0, 148000000.0], "n_faces": 19, "n_edges": 51, "n_vertices": 34}, "dimensions": {"lines": ["C-channel bracket: base leg 85 mm, vertical leg 85.1 mm, 40 mm wide, 8 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg; 9.9 mm corner gusset."], "text": "C-channel bracket: base leg 85 mm, vertical leg 85.1 mm, 40 mm wide, 8 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg; 9.9 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 85, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 85.1, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 40, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 8.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 9.9, "min": 4.0, "max": 20.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331932 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 85, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 85.1, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 40, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 9.9, \"min\": 4.0, \"max\": 20.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl / 2, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bl - _bt, _bt).lineTo(_bl - _bt - _g, _bt)\n                    .lineTo(_bl - _bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca8dd_3369", "family": "block", "tier": 1, "seed": 1177331933, "symmetry": "none", "op_count": 2, "ir_hash": "03077df433efdfe1", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 316000.0, "surface_area": 35300.0, "principal_moments": [203000000.0, 305000000.0, 418000000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 100 \u00d7 41.6 \u00d7 77.5 mm (W\u00d7D\u00d7H).", "Four \u00d85.3 mm holes at the corners, 70 \u00d7 29.12 mm spacing."], "text": "Rectangular body, 100 \u00d7 41.6 \u00d7 77.5 mm (W\u00d7D\u00d7H). Four \u00d85.3 mm holes at the corners, 70 \u00d7 29.12 mm spacing."}, "params": {"block_w": {"type": "float", "default": 100.0, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 41.6, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 77.5, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 9.4, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331933 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 100.0, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 41.6, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 77.5, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 9.4, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca8de_3370", "family": "compound", "tier": 1, "seed": 1177331934, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "d5cd46aab26fb2f0", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 409000.0, "surface_area": 39000.0, "principal_moments": [305000000.0, 438000000.0, 516000000.0], "n_faces": 13, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Rectangular body, 75 \u00d7 94.8 \u00d7 57.6 mm (W\u00d7D\u00d7H).", "5-sided polygon section, 21.4 mm across corners attachment, 28.5 mm long, from front face with a \u00d89.2 mm bore."], "text": "Rectangular body, 75 \u00d7 94.8 \u00d7 57.6 mm (W\u00d7D\u00d7H). 5-sided polygon section, 21.4 mm across corners attachment, 28.5 mm long, from front face with a \u00d89.2 mm bore."}, "params": {"block_w": {"type": "float", "default": 75, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 94.8, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 57.6, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "spig_sides": {"type": "int", "default": 5, "min": 3, "max": 8, "step": 1, "group": "Spigot", "label": "Spigot sides"}, "spig_r": {"type": "float", "default": 10.7, "min": 5.3, "max": 20.1, "step": 1.0, "group": "Spigot", "label": "Spigot circumradius (mm)"}, "spig_len": {"type": "float", "default": 28.5, "min": 5.2, "max": 69.3, "step": 1.0, "group": "Spigot", "label": "Spigot length (mm)"}, "spig_bore": {"type": "float", "default": 9.2, "min": 2.0, "max": 12.5, "step": 0.5, "group": "Spigot", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331934 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 75, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 94.8, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 57.6, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"spig_sides\": {\"type\": 'int', \"default\": 5, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Spigot', \"label\": 'Spigot sides'},\n    \"spig_r\": {\"type\": 'float', \"default\": 10.7, \"min\": 5.3, \"max\": 20.1, \"step\": 1.0, \"group\": 'Spigot', \"label\": 'Spigot circumradius (mm)'},\n    \"spig_len\": {\"type\": 'float', \"default\": 28.5, \"min\": 5.2, \"max\": 69.3, \"step\": 1.0, \"group\": 'Spigot', \"label\": 'Spigot length (mm)'},\n    \"spig_bore\": {\"type\": 'float', \"default\": 9.2, \"min\": 2.0, \"max\": 12.5, \"step\": 0.5, \"group\": 'Spigot', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"spig_sides\"], p[\"spig_r\"] * 2).extrude(p[\"spig_len\"])\n    )\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"spig_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca8df_3371", "family": "block", "tier": 1, "seed": 1177331935, "symmetry": "none", "op_count": 2, "ir_hash": "306ba884cdacbfa3", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 25900.0, "surface_area": 8380.0, "principal_moments": [3540000.0, 4420000.0, 6560000.0], "n_faces": 22, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 37.1 \u00d7 18.4 \u00d7 41.5 mm (W\u00d7D\u00d7H).", "Four 3.8 mm square holes at the corners, 25.97 \u00d7 12.88 mm spacing."], "text": "Rectangular body, 37.1 \u00d7 18.4 \u00d7 41.5 mm (W\u00d7D\u00d7H). Four 3.8 mm square holes at the corners, 25.97 \u00d7 12.88 mm spacing."}, "params": {"block_w": {"type": "float", "default": 37.1, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 18.4, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 41.5, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 3.8, "min": 2.0, "max": 5.4, "step": 0.5, "group": "Holes", "label": "Square hole size (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331935 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 37.1, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 18.4, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 41.5, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.8, \"min\": 2.0, \"max\": 5.4, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Square hole size (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().rect(p[\"hole_d\"], p[\"hole_d\"]).cutThruAll()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca8e0_3372", "family": "compound", "tier": 2, "seed": 1177331936, "symmetry": "none", "op_count": 2, "ir_hash": "2f3d0b2f0c3c0b67", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 31500.0, "surface_area": 7780.0, "principal_moments": [5580000.0, 6710000.0, 6710000.0], "n_faces": 14, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["Lofted body through 3 sections: 42.52 \u00d7 42.52 mm rectangular section \u2192 \u00d830.8 mm circular section \u2192 \u00d819.1 mm circular section.", "5-sided polygon section, 15.2 mm across corners attachment, 11.2 mm long, from top face with a \u00d87.1 mm bore."], "text": "Lofted body through 3 sections: 42.52 \u00d7 42.52 mm rectangular section \u2192 \u00d830.8 mm circular section \u2192 \u00d819.1 mm circular section. 5-sided polygon section, 15.2 mm across corners attachment, 11.2 mm long, from top face with a \u00d87.1 mm bore."}, "params": {"adapter_base": {"type": "float", "default": 42.52, "min": 25.5, "max": 63.8, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "adapter_top": {"type": "float", "default": 19.1, "min": 9.6, "max": 42.5, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "adapter_h": {"type": "float", "default": 37.7, "min": 15.1, "max": 75.4, "step": 1.0, "group": "Body", "label": "Transition height (mm)"}, "adapter_mid": {"type": "float", "default": 30.8, "min": 9.6, "max": 42.5, "step": 1.0, "group": "Body", "label": "Mid size (mm)"}, "neck_sides": {"type": "int", "default": 5, "min": 3, "max": 8, "step": 1, "group": "Neck", "label": "Neck sides"}, "neck_r": {"type": "float", "default": 7.6, "min": 3.8, "max": 9.6, "step": 1.0, "group": "Neck", "label": "Neck circumradius (mm)"}, "neck_l": {"type": "float", "default": 11.2, "min": 4.5, "max": 28.0, "step": 1.0, "group": "Neck", "label": "Neck length (mm)"}, "neck_bore": {"type": "float", "default": 7.1, "min": 2.0, "max": 8.9, "step": 0.5, "group": "Neck", "label": "Neck bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331936 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"adapter_base\": {\"type\": 'float', \"default\": 42.52, \"min\": 25.5, \"max\": 63.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"adapter_top\": {\"type\": 'float', \"default\": 19.1, \"min\": 9.6, \"max\": 42.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"adapter_h\": {\"type\": 'float', \"default\": 37.7, \"min\": 15.1, \"max\": 75.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Transition height (mm)'},\n    \"adapter_mid\": {\"type\": 'float', \"default\": 30.8, \"min\": 9.6, \"max\": 42.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Mid size (mm)'},\n    \"neck_sides\": {\"type\": 'int', \"default\": 5, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Neck', \"label\": 'Neck sides'},\n    \"neck_r\": {\"type\": 'float', \"default\": 7.6, \"min\": 3.8, \"max\": 9.6, \"step\": 1.0, \"group\": 'Neck', \"label\": 'Neck circumradius (mm)'},\n    \"neck_l\": {\"type\": 'float', \"default\": 11.2, \"min\": 4.5, \"max\": 28.0, \"step\": 1.0, \"group\": 'Neck', \"label\": 'Neck length (mm)'},\n    \"neck_bore\": {\"type\": 'float', \"default\": 7.1, \"min\": 2.0, \"max\": 8.9, \"step\": 0.5, \"group\": 'Neck', \"label\": 'Neck bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .rect(p[\"adapter_base\"], p[\"adapter_base\"])\n        .workplane(offset=p[\"adapter_h\"] * 0.5)\n        .circle(p[\"adapter_mid\"] / 2)\n        .workplane(offset=p[\"adapter_h\"] * 0.5)\n        .circle(p[\"adapter_top\"] / 2)\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"neck_sides\"], p[\"neck_r\"] * 2).extrude(p[\"neck_l\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"neck_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca8e1_3373", "family": "block", "tier": 1, "seed": 1177331937, "symmetry": "radial", "op_count": 2, "ir_hash": "ac55d66cd9581f61", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 10200.0, "surface_area": 5780.0, "principal_moments": [962000.0, 1260000.0, 1830000.0], "n_faces": 16, "n_edges": 42, "n_vertices": 28}, "dimensions": {"lines": ["Rectangular body, 27.77 \u00d7 15.6 \u00d7 35.4 mm (W\u00d7D\u00d7H).", "Six \u00d86.4 mm holes on a \u00d816.6 mm bolt circle."], "text": "Rectangular body, 27.77 \u00d7 15.6 \u00d7 35.4 mm (W\u00d7D\u00d7H). Six \u00d86.4 mm holes on a \u00d816.6 mm bolt circle."}, "params": {"block_w": {"type": "float", "default": 27.77, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 15.6, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 35.4, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "bolt_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 8.3, "min": 5.6, "max": 12.5, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 6, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331937 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 27.77, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 15.6, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 35.4, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 8.3, \"min\": 5.6, \"max\": 12.5, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca8e2_3374", "family": "plate", "tier": 0, "seed": 1177331938, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "6cfa93dc82c70f5c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 6330.0, "surface_area": 4770.0, "principal_moments": [944000.0, 1320000.0, 2260000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 50 \u00d7 42.2 \u00d7 3 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 50 \u00d7 42.2 \u00d7 3 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 50, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 42.2, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 3.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331938 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 50, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 42.2, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 3.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca8e3_3375", "family": "revolved", "tier": 1, "seed": 1177331939, "symmetry": "none", "op_count": 2, "ir_hash": "505b1f48f5882616", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 13000.0, "surface_area": 5780.0, "principal_moments": [1500000.0, 2550000.0, 2550000.0], "n_faces": 10, "n_edges": 17, "n_vertices": 10}, "dimensions": {"lines": ["Revolved body, \u00d820 mm \u00d7 38.4 mm tall with \u00d810.3 mm bore, \u00d837.4 mm \u00d7 5.6 mm flange.", "Chamfer 1.5 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d820 mm \u00d7 38.4 mm tall with \u00d810.3 mm bore, \u00d837.4 mm \u00d7 5.6 mm flange. Chamfer 1.5 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 20, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 38.4, "min": 11.5, "max": 115.2, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 10.3, "min": 2.0, "max": 14.0, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 37.4, "min": 24.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 5.6, "min": 1.7, "max": 19.2, "step": 0.5, "group": "Body", "label": "Flange height (mm)"}, "end_chamfer": {"type": "float", "default": 1.5, "min": 0.1, "max": 4.5, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331939 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 20, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 38.4, \"min\": 11.5, \"max\": 115.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 10.3, \"min\": 2.0, \"max\": 14.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 37.4, \"min\": 24.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 5.6, \"min\": 1.7, \"max\": 19.2, \"step\": 0.5, \"group\": 'Body', \"label\": 'Flange height (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 1.5, \"min\": 0.1, \"max\": 4.5, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca8e4_3376", "family": "plate", "tier": 0, "seed": 1177331940, "symmetry": "none", "op_count": 1, "ir_hash": "8ffcbb7f3f6760c0", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 439.0, "surface_area": 567.0, "principal_moments": [3810.0, 17800.0, 21300.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 21.96 \u00d7 10 \u00d7 2 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 21.96 \u00d7 10 \u00d7 2 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 21.96, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 10.0, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 2.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331940 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 21.96, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 10.0, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 2.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462ca8e5_3377", "family": "lofted", "tier": 0, "seed": 1177331941, "symmetry": "none", "op_count": 1, "ir_hash": "0bed5d444e8f1fbf", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 19700.0, "surface_area": 4180.0, "principal_moments": [1840000.0, 2850000.0, 2850000.0], "n_faces": 7, "n_edges": 15, "n_vertices": 10}, "dimensions": {"lines": ["Lofted body through 2 sections: \u00d830 mm circular section \u2192 20.9 \u00d7 20.9 mm rectangular section."], "text": "Lofted body through 2 sections: \u00d830 mm circular section \u2192 20.9 \u00d7 20.9 mm rectangular section."}, "params": {"loft_base": {"type": "float", "default": 30.0, "min": 15.0, "max": 48.0, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 20.9, "min": 8.4, "max": 36.0, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 34.6, "min": 13.8, "max": 69.2, "step": 1.0, "group": "Body", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331941 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 30.0, \"min\": 15.0, \"max\": 48.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 20.9, \"min\": 8.4, \"max\": 36.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 34.6, \"min\": 13.8, \"max\": 69.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .circle(p[\"loft_base\"] / 2)\n        .workplane(offset=p[\"loft_h\"])\n        .rect(p[\"loft_top\"], p[\"loft_top\"])\n        .loft(combine=True)\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca8e6_3378", "family": "bracket", "tier": 1, "seed": 1177331942, "symmetry": "none", "op_count": 1, "ir_hash": "248cfd3c3db6bb64", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 38900.0, "surface_area": 15300.0, "principal_moments": [14499999.999999998, 33099999.999999996, 36300000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["L-bracket: base leg 75.87 mm, vertical leg 55.4 mm, 52.09 mm wide, 6 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."], "text": "L-bracket: base leg 75.87 mm, vertical leg 55.4 mm, 52.09 mm wide, 6 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 75.87, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 55.4, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 52.09, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 6.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331942 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 75.87, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 55.4, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 52.09, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca8e7_3379", "family": "bracket", "tier": 1, "seed": 1177331943, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "4c0b9b8e322f5026", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 21400.0, "surface_area": 15500.0, "principal_moments": [8990000.0, 22999999.999999996, 23099999.999999996], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["L-bracket: base leg 68.61 mm, vertical leg 77.7 mm, 50 mm wide, 3 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."], "text": "L-bracket: base leg 68.61 mm, vertical leg 77.7 mm, 50 mm wide, 3 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 68.61, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 77.7, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 50, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 3.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331943 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 68.61, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 77.7, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 50, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462ca8e8_3380", "family": "profiled", "tier": 1, "seed": 1177331944, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "e0f0e074f8e6929a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 132000.0, "surface_area": 35000.0, "principal_moments": [24299999.999999996, 345000000.0, 345000000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d835 mm \u00d7 205.9 mm tall."], "text": "Revolved body, \u00d835 mm \u00d7 205.9 mm tall."}, "params": {"outer_d": {"type": "float", "default": 35, "min": 17.5, "max": 70.0, "step": 1.0, "group": "Profile", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 205.9, "min": 61.8, "max": 617.7, "step": 5.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331944 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 35, \"min\": 17.5, \"max\": 70.0, \"step\": 1.0, \"group\": 'Profile', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 205.9, \"min\": 61.8, \"max\": 617.7, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462ca8e9_3381", "family": "profiled", "tier": 1, "seed": 1177331945, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "a519436ca73192ee", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 208000.0, "surface_area": 26100.0, "principal_moments": [34600000.0, 710000000.0, 710000000.0], "n_faces": 8, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["6-sided polygon section, 40 mm across corners, extruded 200 mm thick."], "text": "6-sided polygon section, 40 mm across corners, extruded 200 mm thick."}, "params": {"circ_r": {"type": "float", "default": 20, "min": 10.0, "max": 40.0, "step": 1.0, "group": "Profile", "label": "Circumscribed radius (mm)"}, "n_sides": {"type": "int", "default": 6, "min": 3, "max": 8, "step": 1, "group": "Profile", "label": "Sides"}, "length": {"type": "float", "default": 200.0, "min": 60.0, "max": 600.0, "step": 5.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331945 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"circ_r\": {\"type\": 'float', \"default\": 20, \"min\": 10.0, \"max\": 40.0, \"step\": 1.0, \"group\": 'Profile', \"label\": 'Circumscribed radius (mm)'},\n    \"n_sides\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Profile', \"label\": 'Sides'},\n    \"length\": {\"type\": 'float', \"default\": 200.0, \"min\": 60.0, \"max\": 600.0, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').polygon(p[\"n_sides\"], p[\"circ_r\"] * 2).extrude(p[\"length\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca8ea_3382", "family": "plate", "tier": 0, "seed": 1177331946, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "702738a205af96cb", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 7930.0, "surface_area": 2830.0, "principal_moments": [275000.0, 1380000.0, 1520000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 44.55 \u00d7 17.8 \u00d7 10 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 44.55 \u00d7 17.8 \u00d7 10 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 44.55, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 17.8, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331946 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 44.55, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 17.8, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462ca8eb_3383", "family": "gear", "tier": 3, "seed": 1177331947, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "808eadf0ca5410df", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 145000.0, "surface_area": 26500.0, "principal_moments": [111000000.0, 111000000.0, 216000000.0], "n_faces": 145, "n_edges": 429, "n_vertices": 286}, "dimensions": {"lines": ["Bevel gear, module 4 mm, 28 teeth (pitch \u00d8112 mm), face width 17.6 mm, 55.8\u00b0 pitch cone, \u00d814.6 mm bore."], "text": "Bevel gear, module 4 mm, 28 teeth (pitch \u00d8112 mm), face width 17.6 mm, 55.8\u00b0 pitch cone, \u00d814.6 mm bore."}, "params": {"module": {"type": "float", "default": 4.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 28, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 17.6, "min": 7.0, "max": 44.0, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "cone_angle": {"type": "float", "default": 55.8, "min": 20.0, "max": 70.0, "step": 1.0, "group": "Gear", "label": "Pitch cone angle (deg)"}, "profile_shift": {"type": "float", "default": -0.12, "min": -0.5, "max": 0.7, "step": 0.05, "group": "Gear", "label": "Profile shift"}, "root_fillet": {"type": "float", "default": 1.07, "min": 0.0, "max": 2.0, "step": 0.05, "group": "Gear", "label": "Root fillet (mm)"}, "bore_d": {"type": "float", "default": 14.6, "min": 2.0, "max": 61.2, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331947 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 4.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 28, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 17.6, \"min\": 7.0, \"max\": 44.0, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"cone_angle\": {\"type\": 'float', \"default\": 55.8, \"min\": 20.0, \"max\": 70.0, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Pitch cone angle (deg)'},\n    \"profile_shift\": {\"type\": 'float', \"default\": -0.12, \"min\": -0.5, \"max\": 0.7, \"step\": 0.05, \"group\": 'Gear', \"label\": 'Profile shift'},\n    \"root_fillet\": {\"type\": 'float', \"default\": 1.07, \"min\": 0.0, \"max\": 2.0, \"step\": 0.05, \"group\": 'Gear', \"label\": 'Root fillet (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 14.6, \"min\": 2.0, \"max\": 61.2, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.BevelGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"], cone_angle=math.radians(p[\"cone_angle\"]), profile_shift=p[\"profile_shift\"], root_fillet=p[\"root_fillet\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462ca8ec_3384", "family": "gear", "tier": 2, "seed": 1177331948, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "22c008ff7936c005", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 23400.0, "surface_area": 8890.0, "principal_moments": [5470000.0, 5470000.0, 10600000.0], "n_faces": 307, "n_edges": 915, "n_vertices": 610}, "dimensions": {"lines": ["Helical gear, module 1.5 mm, 38 teeth (pitch \u00d857 mm), face width 8.9 mm, 18.1\u00b0 helix, \u00d811.2 mm bore."], "text": "Helical gear, module 1.5 mm, 38 teeth (pitch \u00d857 mm), face width 8.9 mm, 18.1\u00b0 helix, \u00d811.2 mm bore."}, "params": {"module": {"type": "float", "default": 1.5, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 38, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 8.9, "min": 3.6, "max": 22.2, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "helix_angle": {"type": "float", "default": 18.1, "min": 5.0, "max": 40.0, "step": 1.0, "group": "Gear", "label": "Helix angle (deg)"}, "profile_shift": {"type": "float", "default": -0.26, "min": -0.5, "max": 0.7, "step": 0.05, "group": "Gear", "label": "Profile shift"}, "root_fillet": {"type": "float", "default": 0.24, "min": 0.0, "max": 0.75, "step": 0.05, "group": "Gear", "label": "Root fillet (mm)"}, "bore_d": {"type": "float", "default": 11.2, "min": 2.0, "max": 31.9, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331948 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 1.5, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 38, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 8.9, \"min\": 3.6, \"max\": 22.2, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"helix_angle\": {\"type\": 'float', \"default\": 18.1, \"min\": 5.0, \"max\": 40.0, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Helix angle (deg)'},\n    \"profile_shift\": {\"type\": 'float', \"default\": -0.26, \"min\": -0.5, \"max\": 0.7, \"step\": 0.05, \"group\": 'Gear', \"label\": 'Profile shift'},\n    \"root_fillet\": {\"type\": 'float', \"default\": 0.24, \"min\": 0.0, \"max\": 0.75, \"step\": 0.05, \"group\": 'Gear', \"label\": 'Root fillet (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 11.2, \"min\": 2.0, \"max\": 31.9, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.HelicalGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"], helix_angle=math.radians(p[\"helix_angle\"]), herringbone=False, profile_shift=p[\"profile_shift\"], root_fillet=p[\"root_fillet\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462ca8ed_3385", "family": "enclosure", "tier": 1, "seed": 1177331949, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "827d9ed267b17c80", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 120000.0, "surface_area": 45500.0, "principal_moments": [104000000.0, 193000000.0, 245000000.0], "n_faces": 11, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 110 \u00d7 70.1 \u00d7 47 mm (W\u00d7D\u00d7H).", "Hollowed to 5.5 mm wall thickness, open at top face."], "text": "Rectangular body, 110 \u00d7 70.1 \u00d7 47 mm (W\u00d7D\u00d7H). Hollowed to 5.5 mm wall thickness, open at top face."}, "params": {"enc_w": {"type": "float", "default": 110, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 70.1, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 47.0, "min": 18.8, "max": 94.0, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 5.5, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331949 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 110, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 70.1, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 47.0, \"min\": 18.8, \"max\": 94.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 5.5, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462ca8ef_3387", "family": "lofted", "tier": 0, "seed": 1177331951, "symmetry": "none", "op_count": 1, "ir_hash": "03ddcebde2fcd867", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 51900.0, "surface_area": 8430.0, "principal_moments": [11399999.999999998, 11399999.999999998, 16099999.999999998], "n_faces": 7, "n_edges": 15, "n_vertices": 10}, "dimensions": {"lines": ["Lofted body through 2 sections: 50 \u00d7 50 mm rectangular section \u2192 \u00d839.3 mm circular section."], "text": "Lofted body through 2 sections: 50 \u00d7 50 mm rectangular section \u2192 \u00d839.3 mm circular section."}, "params": {"loft_base": {"type": "float", "default": 50, "min": 25.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 39.3, "min": 15.7, "max": 60.0, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 28.4, "min": 11.4, "max": 56.8, "step": 1.0, "group": "Body", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331951 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 50, \"min\": 25.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 39.3, \"min\": 15.7, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 28.4, \"min\": 11.4, \"max\": 56.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .rect(p[\"loft_base\"], p[\"loft_base\"])\n        .workplane(offset=p[\"loft_h\"])\n        .circle(p[\"loft_top\"] / 2)\n        .loft(combine=True)\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca8f0_3388", "family": "revolved", "tier": 1, "seed": 1177331952, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "29a8ed951ebfc20e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 1230.0, "surface_area": 1290.0, "principal_moments": [14400.0, 72200.0, 72200.0], "n_faces": 5, "n_edges": 8, "n_vertices": 5}, "dimensions": {"lines": ["Revolved body, \u00d88.86 mm \u00d7 29.9 mm tall.", "Chamfer 0.3 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d88.86 mm \u00d7 29.9 mm tall. Chamfer 0.3 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 8.86, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 29.9, "min": 9.0, "max": 89.7, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "end_chamfer": {"type": "float", "default": 0.3, "min": 0.1, "max": 0.9, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331952 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 8.86, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 29.9, \"min\": 9.0, \"max\": 89.7, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.3, \"min\": 0.1, \"max\": 0.9, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca8f1_3389", "family": "bracket", "tier": 2, "seed": 1177331953, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "869d24cce238dd21", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 21800.0, "surface_area": 8800.0, "principal_moments": [4450000.0, 8060000.0, 9130000.0], "n_faces": 15, "n_edges": 41, "n_vertices": 26}, "dimensions": {"lines": ["L-bracket: base leg 45 mm, vertical leg 47.1 mm, 40 mm wide, 6 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg; 8.9 mm corner gusset."], "text": "L-bracket: base leg 45 mm, vertical leg 47.1 mm, 40 mm wide, 6 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg; 8.9 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 45, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 47.1, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 40, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 6.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 8.9, "min": 3.0, "max": 18.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331953 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 45, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 47.1, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 40, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 8.9, \"min\": 3.0, \"max\": 18.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462ca8f2_3390", "family": "enclosure", "tier": 1, "seed": 1177331954, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "e0feddc987914728", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 8660.0, "surface_area": 3570.0, "principal_moments": [495000.0, 1070000.0, 1110000.0], "n_faces": 11, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 32.58 \u00d7 17.9 \u00d7 17.5 mm (W\u00d7D\u00d7H).", "Hollowed to 5.8 mm wall thickness, open at top face."], "text": "Rectangular body, 32.58 \u00d7 17.9 \u00d7 17.5 mm (W\u00d7D\u00d7H). Hollowed to 5.8 mm wall thickness, open at top face."}, "params": {"enc_w": {"type": "float", "default": 32.58, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 17.9, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 17.5, "min": 7.0, "max": 35.0, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 5.8, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331954 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 32.58, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 17.9, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 17.5, \"min\": 7.0, \"max\": 35.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 5.8, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca8f3_3391", "family": "block", "tier": 1, "seed": 1177331955, "symmetry": "none", "op_count": 2, "ir_hash": "4983c6604b45e3af", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 367000.0, "surface_area": 40800.0, "principal_moments": [259000000.0, 374000000.0, 497000000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 79.73 \u00d7 47.6 \u00d7 100 mm (W\u00d7D\u00d7H).", "Four \u00d86.4 mm holes at the corners, 55.811 \u00d7 33.32 mm spacing."], "text": "Rectangular body, 79.73 \u00d7 47.6 \u00d7 100 mm (W\u00d7D\u00d7H). Four \u00d86.4 mm holes at the corners, 55.811 \u00d7 33.32 mm spacing."}, "params": {"block_w": {"type": "float", "default": 79.73, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 47.6, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 100.0, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 10.7, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331955 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 79.73, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 47.6, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 100.0, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 10.7, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca8f4_3392", "family": "plate", "tier": 2, "seed": 1177331956, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "2934c1d388631f64", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 35500.0, "surface_area": 15300.0, "principal_moments": [16099999.999999998, 20600000.0, 36500000.0], "n_faces": 22, "n_edges": 48, "n_vertices": 32}, "dimensions": {"lines": ["Rectangular body, 85 \u00d7 75.2 \u00d7 6 mm (W\u00d7D\u00d7H).", "Four \u00d86.4 mm counterbored holes (\u00d812.8 mm \u00d7 5.1 mm counterbore) at the corners, 59.5 \u00d7 52.64 mm spacing.", "Chamfer 2.9 mm on vertical edges."], "text": "Rectangular body, 85 \u00d7 75.2 \u00d7 6 mm (W\u00d7D\u00d7H). Four \u00d86.4 mm counterbored holes (\u00d812.8 mm \u00d7 5.1 mm counterbore) at the corners, 59.5 \u00d7 52.64 mm spacing. Chamfer 2.9 mm on vertical edges."}, "params": {"plate_w": {"type": "float", "default": 85, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 75.2, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 6.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "cb_d": {"type": "float", "default": 12.8, "min": 9.6, "max": 19.2, "step": 0.5, "group": "Holes", "label": "Counterbore diameter (mm)"}, "cb_depth": {"type": "float", "default": 5.1, "min": 2.5, "max": 10.2, "step": 0.5, "group": "Holes", "label": "Counterbore depth (mm)"}, "chamfer_d": {"type": "float", "default": 2.9, "min": 2.2, "max": 3.7, "step": 0.5, "group": "Body", "label": "Chamfer distance (mm)"}, "chamfered": {"type": "bool", "default": true, "group": "Body", "label": "Chamfer edges"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331956 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 85, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 75.2, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"cb_d\": {\"type\": 'float', \"default\": 12.8, \"min\": 9.6, \"max\": 19.2, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Counterbore diameter (mm)'},\n    \"cb_depth\": {\"type\": 'float', \"default\": 5.1, \"min\": 2.5, \"max\": 10.2, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Counterbore depth (mm)'},\n    \"chamfer_d\": {\"type\": 'float', \"default\": 2.9, \"min\": 2.2, \"max\": 3.7, \"step\": 0.5, \"group\": 'Body', \"label\": 'Chamfer distance (mm)'},\n    \"chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Chamfer edges'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().cboreHole(p[\"hole_d\"], p[\"cb_d\"], p[\"cb_depth\"])\n    )\n    if p[\"chamfered\"]:\n        result = result.edges('|Z').chamfer(p[\"chamfer_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462ca8f5_3393", "family": "gear", "tier": 0, "seed": 1177331957, "symmetry": "none", "op_count": 1, "ir_hash": "0f2eac78814857b0", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 21600.0, "surface_area": 7700.0, "principal_moments": [4180000.0, 4180000.0, 8030000.0], "n_faces": 110, "n_edges": 324, "n_vertices": 216}, "dimensions": {"lines": ["Spur gear, module 3 mm, 18 teeth (pitch \u00d854 mm), face width 9.6 mm."], "text": "Spur gear, module 3 mm, 18 teeth (pitch \u00d854 mm), face width 9.6 mm."}, "params": {"module": {"type": "float", "default": 3.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 18, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 9.6, "min": 3.8, "max": 24.0, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331957 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 3.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 18, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 9.6, \"min\": 3.8, \"max\": 24.0, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca8f6_3394", "family": "block", "tier": 1, "seed": 1177331958, "symmetry": "none", "op_count": 2, "ir_hash": "ad9fa6d16e163bfe", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 321000.0, "surface_area": 50800.0, "principal_moments": [233000000.0, 275000000.0, 305000000.0], "n_faces": 22, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 75 \u00d7 66 \u00d7 80.6 mm (W\u00d7D\u00d7H).", "Four 15.6 mm square holes at the corners, 52.5 \u00d7 46.2 mm spacing."], "text": "Rectangular body, 75 \u00d7 66 \u00d7 80.6 mm (W\u00d7D\u00d7H). Four 15.6 mm square holes at the corners, 52.5 \u00d7 46.2 mm spacing."}, "params": {"block_w": {"type": "float", "default": 75.0, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 66.0, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 80.6, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 15.6, "min": 2.0, "max": 16.9, "step": 0.5, "group": "Holes", "label": "Square hole size (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331958 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 75.0, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 66.0, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 80.6, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 15.6, \"min\": 2.0, \"max\": 16.9, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Square hole size (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().rect(p[\"hole_d\"], p[\"hole_d\"]).cutThruAll()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462ca8f7_3395", "family": "profiled", "tier": 1, "seed": 1177331959, "symmetry": "none", "op_count": 1, "ir_hash": "f7eb15b5b3da0f4b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 275000.0, "surface_area": 29800.0, "principal_moments": [60399999.99999999, 948000000.0, 948000000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["8-sided polygon section, 44.12 mm across corners, extruded 200 mm thick."], "text": "8-sided polygon section, 44.12 mm across corners, extruded 200 mm thick."}, "params": {"circ_r": {"type": "float", "default": 22.06, "min": 11.0, "max": 44.1, "step": 1.0, "group": "Profile", "label": "Circumscribed radius (mm)"}, "n_sides": {"type": "int", "default": 8, "min": 3, "max": 8, "step": 1, "group": "Profile", "label": "Sides"}, "length": {"type": "float", "default": 200.0, "min": 60.0, "max": 600.0, "step": 5.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331959 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"circ_r\": {\"type\": 'float', \"default\": 22.06, \"min\": 11.0, \"max\": 44.1, \"step\": 1.0, \"group\": 'Profile', \"label\": 'Circumscribed radius (mm)'},\n    \"n_sides\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Profile', \"label\": 'Sides'},\n    \"length\": {\"type\": 'float', \"default\": 200.0, \"min\": 60.0, \"max\": 600.0, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').polygon(p[\"n_sides\"], p[\"circ_r\"] * 2).extrude(p[\"length\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca8f8_3396", "family": "compound", "tier": 1, "seed": 1177331960, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "6f1c0df943d975b4", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 53500.0, "surface_area": 9070.0, "principal_moments": [12999999.999999998, 12999999.999999998, 14999999.999999998], "n_faces": 9, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["Lofted body through 2 sections: \u00d860 mm circular section \u2192 24.1 \u00d7 24.1 mm rectangular section.", "\u00d818.9 mm circular section attachment, 10.1 mm long, from top face."], "text": "Lofted body through 2 sections: \u00d860 mm circular section \u2192 24.1 \u00d7 24.1 mm rectangular section. \u00d818.9 mm circular section attachment, 10.1 mm long, from top face."}, "params": {"adapter_base": {"type": "float", "default": 60, "min": 36.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "adapter_top": {"type": "float", "default": 24.1, "min": 12.1, "max": 60, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "adapter_h": {"type": "float", "default": 32.3, "min": 12.9, "max": 64.6, "step": 1.0, "group": "Body", "label": "Transition height (mm)"}, "neck_d": {"type": "float", "default": 18.9, "min": 7.6, "max": 24.1, "step": 1.0, "group": "Neck", "label": "Neck diameter (mm)"}, "neck_l": {"type": "float", "default": 10.1, "min": 4.0, "max": 25.2, "step": 1.0, "group": "Neck", "label": "Neck length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331960 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"adapter_base\": {\"type\": 'float', \"default\": 60, \"min\": 36.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"adapter_top\": {\"type\": 'float', \"default\": 24.1, \"min\": 12.1, \"max\": 60, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"adapter_h\": {\"type\": 'float', \"default\": 32.3, \"min\": 12.9, \"max\": 64.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Transition height (mm)'},\n    \"neck_d\": {\"type\": 'float', \"default\": 18.9, \"min\": 7.6, \"max\": 24.1, \"step\": 1.0, \"group\": 'Neck', \"label\": 'Neck diameter (mm)'},\n    \"neck_l\": {\"type\": 'float', \"default\": 10.1, \"min\": 4.0, \"max\": 25.2, \"step\": 1.0, \"group\": 'Neck', \"label\": 'Neck length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .circle(p[\"adapter_base\"] / 2)\n        .workplane(offset=p[\"adapter_h\"])\n        .rect(p[\"adapter_top\"], p[\"adapter_top\"])\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"neck_d\"] / 2).extrude(p[\"neck_l\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462ca8f9_3397", "family": "lofted", "tier": 3, "seed": 1177331961, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "0dd60a0ab9c310a4", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 75500.0, "surface_area": 12400.0, "principal_moments": [19600000.0, 29699999.999999996, 29699999.999999996], "n_faces": 9, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["Lofted body through 3 sections: \u00d856.35 mm circular section \u2192 \u00d837.7 mm circular section \u2192 6-sided polygon section, 19.1 mm across corners.", "One \u00d88.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 3 sections: \u00d856.35 mm circular section \u2192 \u00d837.7 mm circular section \u2192 6-sided polygon section, 19.1 mm across corners. One \u00d88.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 56.35, "min": 28.2, "max": 90.2, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 19.1, "min": 7.6, "max": 67.6, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 65.9, "min": 26.4, "max": 131.8, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_mid": {"type": "float", "default": 37.7, "min": 9.6, "max": 67.6, "step": 1.0, "group": "Body", "label": "Mid size (mm)"}, "loft_bore_d": {"type": "float", "default": 8.3, "min": 2.0, "max": 15.3, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331961 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 56.35, \"min\": 28.2, \"max\": 90.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 19.1, \"min\": 7.6, \"max\": 67.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 65.9, \"min\": 26.4, \"max\": 131.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_mid\": {\"type\": 'float', \"default\": 37.7, \"min\": 9.6, \"max\": 67.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Mid size (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 8.3, \"min\": 2.0, \"max\": 15.3, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .circle(p[\"loft_base\"] / 2)\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .circle(p[\"loft_mid\"] / 2)\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .polygon(6, p[\"loft_top\"] * 0.5 * 2)\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca8fb_3399", "family": "block", "tier": 3, "seed": 1177331963, "symmetry": "mirror_xy", "op_count": 6, "ir_hash": "dc43108a84530cdd", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 23000.0, "surface_area": 7870.0, "principal_moments": [3390000.0, 3640000.0, 4360000.0], "n_faces": 17, "n_edges": 39, "n_vertices": 26}, "dimensions": {"lines": ["Rectangular body, 35 \u00d7 17.5 \u00d7 34.8 mm (W\u00d7D\u00d7H).", "Four \u00d83.2 mm holes at the corners, 24.5 \u00d7 12.25 mm spacing.", "Boss \u00d815.5 mm \u00d7 5.3 mm tall on top face with a \u00d85.3 mm bore.", "Fillet radius 0.794 mm on vertical edges (optional, off by default).", "One \u00d86.4 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch, angled 10.1\u00b0 on the <Y face.", "\u00d814.1 mm circular section attachment, 17.7 mm long, from back face."], "text": "Rectangular body, 35 \u00d7 17.5 \u00d7 34.8 mm (W\u00d7D\u00d7H). Four \u00d83.2 mm holes at the corners, 24.5 \u00d7 12.25 mm spacing. Boss \u00d815.5 mm \u00d7 5.3 mm tall on top face with a \u00d85.3 mm bore. Fillet radius 0.794 mm on vertical edges (optional, off by default). One \u00d86.4 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch, angled 10.1\u00b0 on the <Y face. \u00d814.1 mm circular section attachment, 17.7 mm long, from back face."}, "params": {"block_w": {"type": "float", "default": 35, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 17.5, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 34.8, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 3.9, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "boss_d": {"type": "float", "default": 15.5, "min": 7.8, "max": 31.0, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 5.3, "min": 2.1, "max": 13.2, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}, "boss_bore_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 10.8, "step": 0.1, "group": "Boss", "label": "Bore diameter (mm)"}, "filleted2": {"type": "bool", "default": false, "group": "Body", "label": "Fillet corners"}, "face_hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 11.5, "step": 0.5, "group": "Holes", "label": "Side hole diameter (mm)"}, "face_hole_tilt": {"type": "float", "default": 10.1, "min": 0.0, "max": 30.0, "step": 1.0, "group": "Holes", "label": "Side hole angle (deg)"}, "side_tube_d": {"type": "float", "default": 14.1, "min": 5.6, "max": 17.4, "step": 1.0, "group": "Side Tube", "label": "Side tube diameter (mm)"}, "side_tube_len": {"type": "float", "default": 17.7, "min": 5.3, "max": 42.3, "step": 1.0, "group": "Side Tube", "label": "Side tube length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331963 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 35, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 17.5, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 34.8, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 3.9, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"boss_d\": {\"type\": 'float', \"default\": 15.5, \"min\": 7.8, \"max\": 31.0, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.1, \"max\": 13.2, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n    \"boss_bore_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 10.8, \"step\": 0.1, \"group\": 'Boss', \"label\": 'Bore diameter (mm)'},\n    \"filleted2\": {\"type\": 'bool', \"default\": False, \"group\": 'Body', \"label\": 'Fillet corners'},\n    \"face_hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 11.5, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Side hole diameter (mm)'},\n    \"face_hole_tilt\": {\"type\": 'float', \"default\": 10.1, \"min\": 0.0, \"max\": 30.0, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Side hole angle (deg)'},\n    \"side_tube_d\": {\"type\": 'float', \"default\": 14.1, \"min\": 5.6, \"max\": 17.4, \"step\": 1.0, \"group\": 'Side Tube', \"label\": 'Side tube diameter (mm)'},\n    \"side_tube_len\": {\"type\": 'float', \"default\": 17.7, \"min\": 5.3, \"max\": 42.3, \"step\": 1.0, \"group\": 'Side Tube', \"label\": 'Side tube length (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .hole(p[\"boss_bore_d\"])\n    )\n    if p[\"filleted2\"]:\n        result = result.edges('|Z').fillet(min(p[\"block_w\"], p[\"block_d\"]) * 0.04539836791245325)\n    result = (\n        result.faces('<Y').workplane().transformed(rotate=(p[\"face_hole_tilt\"], 0, 0))\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"face_hole_d\"])\n    )\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"side_tube_d\"] / 2).extrude(p[\"side_tube_len\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462ca8fd_3401", "family": "lofted", "tier": 0, "seed": 1177331965, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "fa7af3e9e4c73bf7", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 104000.0, "surface_area": 12600.0, "principal_moments": [27799999.999999996, 49399999.99999999, 49399999.99999999], "n_faces": 8, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["Lofted body through 2 sections: \u00d852.26 mm circular section \u2192 6-sided polygon section, 41.8 mm across corners."], "text": "Lofted body through 2 sections: \u00d852.26 mm circular section \u2192 6-sided polygon section, 41.8 mm across corners."}, "params": {"loft_base": {"type": "float", "default": 52.26, "min": 26.1, "max": 83.6, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 41.8, "min": 16.7, "max": 62.7, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 64.7, "min": 25.9, "max": 129.4, "step": 1.0, "group": "Body", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331965 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 52.26, \"min\": 26.1, \"max\": 83.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 41.8, \"min\": 16.7, \"max\": 62.7, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 64.7, \"min\": 25.9, \"max\": 129.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .circle(p[\"loft_base\"] / 2)\n        .workplane(offset=p[\"loft_h\"])\n        .polygon(6, p[\"loft_top\"] * 0.5 * 2)\n        .loft(combine=True)\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462ca8fe_3402", "family": "threaded", "tier": 1, "seed": 1177331966, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "96f955bc76f47064", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 10700.0, "surface_area": 5370.0, "principal_moments": [784000.0, 1770000.0, 1770000.0], "n_faces": 267, "n_edges": 749, "n_vertices": 484}, "dimensions": {"lines": ["M12x1.75 internal thread, 39.4 mm long."], "text": "M12x1.75 internal thread, 39.4 mm long."}, "params": {"major_d": {"type": "float", "default": 12.0, "min": 4.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Major diameter (mm)"}, "pitch": {"type": "float", "default": 1.75, "min": 0.88, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Pitch (mm)"}, "thread_len": {"type": "float", "default": 39.4, "min": 15.8, "max": 78.8, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331966 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 12.0, \"min\": 4.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Major diameter (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.75, \"min\": 0.88, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Pitch (mm)'},\n    \"thread_len\": {\"type\": 'float', \"default\": 39.4, \"min\": 15.8, \"max\": 78.8, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.IsoThread(major_diameter=p[\"major_d\"], pitch=p[\"pitch\"], length=p[\"thread_len\"], external=False, end_finishes=(\"fade\", \"fade\"))\n    _body = _bd.Cylinder(radius=(p[\"major_d\"]) * 0.9, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _bore = _bd.Cylinder(radius=(p[\"major_d\"]) / 2, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = (_body - _bore) + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca8ff_3403", "family": "plate", "tier": 0, "seed": 1177331967, "symmetry": "radial", "op_count": 1, "ir_hash": "8ab07e8284d29c45", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 121000.0, "surface_area": 25000.0, "principal_moments": [86000000.0, 123000000.0, 206000000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 110 \u00d7 91.6 \u00d7 12 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 110 \u00d7 91.6 \u00d7 12 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 110, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 91.6, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331967 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 110, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 91.6, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462ca900_3404", "family": "gear", "tier": 1, "seed": 1177331968, "symmetry": "none", "op_count": 1, "ir_hash": "d6e43242737bf389", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 10200.0, "surface_area": 4800.0, "principal_moments": [1180000.0, 1180000.0, 2260000.0], "n_faces": 201, "n_edges": 597, "n_vertices": 398}, "dimensions": {"lines": ["Spur gear, module 1.25 mm, 33 teeth (pitch \u00d841.25 mm), face width 8 mm, \u00d88.2 mm bore."], "text": "Spur gear, module 1.25 mm, 33 teeth (pitch \u00d841.25 mm), face width 8 mm, \u00d88.2 mm bore."}, "params": {"module": {"type": "float", "default": 1.25, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 33, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 8.0, "min": 3.2, "max": 20.0, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "bore_d": {"type": "float", "default": 8.2, "min": 2.0, "max": 22.9, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331968 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 1.25, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 33, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.2, \"max\": 20.0, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 8.2, \"min\": 2.0, \"max\": 22.9, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca901_3405", "family": "bracket", "tier": 1, "seed": 1177331969, "symmetry": "none", "op_count": 1, "ir_hash": "89c5bd4661da7f2d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 31400.0, "surface_area": 15200.0, "principal_moments": [9450000.0, 61999999.99999999, 66799999.99999999], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Z-bracket: base leg 82.87 mm, vertical leg 78.1 mm, top leg 62.6 mm, 29.65 mm wide, 5 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."], "text": "Z-bracket: base leg 82.87 mm, vertical leg 78.1 mm, top leg 62.6 mm, 29.65 mm wide, 5 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 82.87, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 78.1, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 29.65, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 5.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 62.6, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331969 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 82.87, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 78.1, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 29.65, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 62.6, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca902_3406", "family": "plate", "tier": 1, "seed": 1177331970, "symmetry": "none", "op_count": 2, "ir_hash": "745a6a6d6d07400d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 69800.0, "surface_area": 16900.0, "principal_moments": [16599999.999999998, 76400000.0, 91299999.99999999], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 115 \u00d7 52.5 \u00d7 12 mm (W\u00d7D\u00d7H).", "Four \u00d88.4 mm holes at the corners, 80.5 \u00d7 36.75 mm spacing."], "text": "Rectangular body, 115 \u00d7 52.5 \u00d7 12 mm (W\u00d7D\u00d7H). Four \u00d88.4 mm holes at the corners, 80.5 \u00d7 36.75 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 115, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 52.5, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 8.4, "min": 2.0, "max": 11.8, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331970 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 115, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 52.5, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 2.0, \"max\": 11.8, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462ca903_3407", "family": "flanged", "tier": 1, "seed": 1177331971, "symmetry": "none", "op_count": 2, "ir_hash": "fa9b4355d2811b21", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 72400.0, "surface_area": 21000.0, "principal_moments": [28399999.999999996, 37300000.0, 37300000.0], "n_faces": 10, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["Revolved body, \u00d839.28 mm \u00d7 56 mm tall with \u00d814.5 mm bore, \u00d885.5 mm \u00d7 3.2 mm flange.", "Four \u00d88.4 mm holes on a \u00d851.2 mm bolt circle."], "text": "Revolved body, \u00d839.28 mm \u00d7 56 mm tall with \u00d814.5 mm bore, \u00d885.5 mm \u00d7 3.2 mm flange. Four \u00d88.4 mm holes on a \u00d851.2 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 39.28, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 56.0, "min": 16.8, "max": 140.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 14.5, "min": 2.0, "max": 27.5, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 85.5, "min": 51.1, "max": 117.8, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 3.2, "min": 1.0, "max": 22.4, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 8.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 25.6, "min": 17.1, "max": 38.5, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 4, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331971 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 39.28, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 56.0, \"min\": 16.8, \"max\": 140.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 14.5, \"min\": 2.0, \"max\": 27.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 85.5, \"min\": 51.1, \"max\": 117.8, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 3.2, \"min\": 1.0, \"max\": 22.4, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 25.6, \"min\": 17.1, \"max\": 38.5, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 4, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462ca904_3408", "family": "ribbed", "tier": 2, "seed": 1177331972, "symmetry": "mirror_xy", "op_count": 3, "ir_hash": "e195d336994b4ffe", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 15100.0, "surface_area": 12800.0, "principal_moments": [2730000.0, 3560000.0, 4710000.0], "n_faces": 47, "n_edges": 132, "n_vertices": 88}, "dimensions": {"lines": ["Rectangular body, 50.1 \u00d7 41.7 \u00d7 4 mm (W\u00d7D\u00d7H).", "Five ribs, 2.2 mm thick, 19.8 mm tall.", "Four \u00d88.4 mm holes at the corners, 35.07 \u00d7 29.19 mm spacing."], "text": "Rectangular body, 50.1 \u00d7 41.7 \u00d7 4 mm (W\u00d7D\u00d7H). Five ribs, 2.2 mm thick, 19.8 mm tall. Four \u00d88.4 mm holes at the corners, 35.07 \u00d7 29.19 mm spacing."}, "params": {"base_w": {"type": "float", "default": 50.1, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 41.7, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 4.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 5, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 19.8, "min": 7.9, "max": 39.6, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 2.2, "min": 1.0, "max": 5.5, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}, "hole_d": {"type": "float", "default": 8.4, "min": 2.0, "max": 9.4, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331972 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 50.1, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 41.7, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 5, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 19.8, \"min\": 7.9, \"max\": 39.6, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 2.2, \"min\": 1.0, \"max\": 5.5, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 2.0, \"max\": 9.4, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"base_w\"] * 0.7, p[\"base_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca905_3409", "family": "revolved", "tier": 0, "seed": 1177331973, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "bf02c9e43825d363", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 886.0, "surface_area": 786.0, "principal_moments": [18500.0, 18500.0, 31700.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d815.44 mm \u00d7 7.1 mm tall."], "text": "Revolved body, \u00d815.44 mm \u00d7 7.1 mm tall."}, "params": {"outer_d": {"type": "float", "default": 15.44, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 7.1, "min": 2.1, "max": 21.3, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331973 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 15.44, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 7.1, \"min\": 2.1, \"max\": 21.3, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca906_3410", "family": "bracket", "tier": 3, "seed": 1177331974, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "4b4dd97bdea7c2ef", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 9340.0, "surface_area": 4240.0, "principal_moments": [542000.0, 2760000.0, 2940000.0], "n_faces": 14, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Z-bracket: base leg 35 mm, vertical leg 32.9 mm, top leg 29.5 mm, 15 mm wide, 8 mm thick; 2 \u00d7 \u00d84.3 mm holes per leg; 7.1 mm corner gusset."], "text": "Z-bracket: base leg 35 mm, vertical leg 32.9 mm, top leg 29.5 mm, 15 mm wide, 8 mm thick; 2 \u00d7 \u00d84.3 mm holes per leg; 7.1 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 35, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 32.9, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 15.0, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 8.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 29.5, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 6.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 2, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}, "gusset_t": {"type": "float", "default": 7.1, "min": 4.0, "max": 7.5, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331974 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 35, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 32.9, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 15.0, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 29.5, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 6.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 2, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 7.1, \"min\": 4.0, \"max\": 7.5, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _tl, _vl) * 0.4 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(0, _vl - _bt).lineTo(-_g, _vl - _bt)\n                    .lineTo(0, _vl - _bt - _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462ca907_3411", "family": "ribbed", "tier": 1, "seed": 1177331975, "symmetry": "none", "op_count": 2, "ir_hash": "7694ffdd9367af13", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 9110.0, "surface_area": 4610.0, "principal_moments": [804000.0, 1680000.0, 2160000.0], "n_faces": 22, "n_edges": 52, "n_vertices": 32}, "dimensions": {"lines": ["Rectangular body, 40 \u00d7 27.8 \u00d7 6 mm (W\u00d7D\u00d7H).", "Two ribs, 3.6 mm thick, 10.6 mm tall."], "text": "Rectangular body, 40 \u00d7 27.8 \u00d7 6 mm (W\u00d7D\u00d7H). Two ribs, 3.6 mm thick, 10.6 mm tall."}, "params": {"base_w": {"type": "float", "default": 40, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 27.8, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 6.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 2, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 10.6, "min": 4.2, "max": 21.2, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 3.6, "min": 1.0, "max": 9.0, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331975 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 40, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 27.8, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 2, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 10.6, \"min\": 4.2, \"max\": 21.2, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 3.6, \"min\": 1.0, \"max\": 9.0, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462ca908_3412", "family": "flanged", "tier": 1, "seed": 1177331976, "symmetry": "none", "op_count": 2, "ir_hash": "5072ecf3bdf69a20", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 77600.0, "surface_area": 20900.0, "principal_moments": [33499999.999999996, 43300000.0, 43300000.0], "n_faces": 10, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["Revolved body, \u00d840.02 mm \u00d7 58.1 mm tall with \u00d818.1 mm bore, \u00d879.7 mm \u00d7 5.3 mm flange.", "Four \u00d84.3 mm holes on a \u00d847.8 mm bolt circle."], "text": "Revolved body, \u00d840.02 mm \u00d7 58.1 mm tall with \u00d818.1 mm bore, \u00d879.7 mm \u00d7 5.3 mm flange. Four \u00d84.3 mm holes on a \u00d847.8 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 40.02, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 58.1, "min": 17.4, "max": 145.2, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 18.1, "min": 2.0, "max": 28.0, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 79.7, "min": 52.0, "max": 120.1, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 5.3, "min": 1.6, "max": 23.2, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 23.9, "min": 15.9, "max": 35.9, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 4, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331976 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 40.02, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 58.1, \"min\": 17.4, \"max\": 145.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 18.1, \"min\": 2.0, \"max\": 28.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 79.7, \"min\": 52.0, \"max\": 120.1, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 5.3, \"min\": 1.6, \"max\": 23.2, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 23.9, \"min\": 15.9, \"max\": 35.9, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 4, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca909_3413", "family": "revolved", "tier": 1, "seed": 1177331977, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "49332b0397067ecf", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 540000.0, "surface_area": 69100.0, "principal_moments": [455000000.0, 1310000000.0, 1310000000.0], "n_faces": 5, "n_edges": 8, "n_vertices": 5}, "dimensions": {"lines": ["Revolved body, \u00d874.94 mm \u00d7 183.8 mm tall.", "Chamfer 1.2 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d874.94 mm \u00d7 183.8 mm tall. Chamfer 1.2 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 74.94, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 183.8, "min": 55.1, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "end_chamfer": {"type": "float", "default": 1.2, "min": 0.1, "max": 3.6, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331977 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 74.94, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 183.8, \"min\": 55.1, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 1.2, \"min\": 0.1, \"max\": 3.6, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca90b_3415", "family": "plate", "tier": 2, "seed": 1177331979, "symmetry": "none", "op_count": 3, "ir_hash": "0f2930532610bba7", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 118000.0, "surface_area": 25600.0, "principal_moments": [89600000.0, 109000000.0, 196000000.0], "n_faces": 34, "n_edges": 96, "n_vertices": 64}, "dimensions": {"lines": ["Rectangular body, 105 \u00d7 95.2 \u00d7 12 mm (W\u00d7D\u00d7H).", "Six 6.4 \u00d7 3.2 mm slots in a 3\u00d72 grid, 42 \u00d7 76.2 mm pitch.", "Chamfer 3.1 mm on vertical edges."], "text": "Rectangular body, 105 \u00d7 95.2 \u00d7 12 mm (W\u00d7D\u00d7H). Six 6.4 \u00d7 3.2 mm slots in a 3\u00d72 grid, 42 \u00d7 76.2 mm pitch. Chamfer 3.1 mm on vertical edges."}, "params": {"plate_w": {"type": "float", "default": 105, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 95.2, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 11.4, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 3, "min": 1, "max": 4, "step": 1, "group": "Holes", "label": "Holes across"}, "hole_ny": {"type": "int", "default": 2, "min": 1, "max": 4, "step": 1, "group": "Holes", "label": "Holes deep"}, "hole_slot_len": {"type": "float", "default": 6.4, "min": 4.8, "max": 29.4, "step": 0.5, "group": "Holes", "label": "Slot length (mm)"}, "chamfer_d": {"type": "float", "default": 3.1, "min": 2.8, "max": 4.7, "step": 0.5, "group": "Body", "label": "Chamfer distance (mm)"}, "chamfered": {"type": "bool", "default": true, "group": "Body", "label": "Chamfer edges"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331979 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 105, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 95.2, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 11.4, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 3, \"min\": 1, \"max\": 4, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes across'},\n    \"hole_ny\": {\"type\": 'int', \"default\": 2, \"min\": 1, \"max\": 4, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes deep'},\n    \"hole_slot_len\": {\"type\": 'float', \"default\": 6.4, \"min\": 4.8, \"max\": 29.4, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Slot length (mm)'},\n    \"chamfer_d\": {\"type\": 'float', \"default\": 3.1, \"min\": 2.8, \"max\": 4.7, \"step\": 0.5, \"group\": 'Body', \"label\": 'Chamfer distance (mm)'},\n    \"chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Chamfer edges'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(42.0, 76.2, p[\"hole_nx\"], p[\"hole_ny\"])\n        .slot2D(p[\"hole_slot_len\"], p[\"hole_d\"]).cutThruAll()\n    )\n    if p[\"chamfered\"]:\n        result = result.edges('|Z').chamfer(p[\"chamfer_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462ca90c_3416", "family": "swept", "tier": 0, "seed": 1177331980, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "01647f33cab83a63", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 19400.0, "surface_area": 5020.0, "principal_moments": [962000.0, 11200000.0, 11399999.999999998], "n_faces": 3, "n_edges": 3, "n_vertices": 2}, "dimensions": {"lines": ["\u00d817.4 mm circular section swept along a curved path, ~72.34 mm span."], "text": "\u00d817.4 mm circular section swept along a curved path, ~72.34 mm span."}, "params": {"path_w": {"type": "float", "default": 48.92, "min": 24.5, "max": 88.1, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 72.34, "min": 36.2, "max": 130.2, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_d": {"type": "float", "default": 17.4, "min": 8.7, "max": 31.3, "step": 1.0, "group": "Section", "label": "Section diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331980 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 48.92, \"min\": 24.5, \"max\": 88.1, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 72.34, \"min\": 36.2, \"max\": 130.2, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_d\": {\"type\": 'float', \"default\": 17.4, \"min\": 8.7, \"max\": 31.3, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.4252), (p[\"path_w\"] * 0.3528, p[\"path_h\"] * 0.8505), (p[\"path_w\"] * 0.6401, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').circle(p[\"sweep_d\"] / 2).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462ca90d_3417", "family": "sketched", "tier": 0, "seed": 1177331981, "symmetry": "none", "op_count": 1, "ir_hash": "857edab4410814bb", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 11800.0, "surface_area": 3120.0, "principal_moments": [839000.0, 1170000.0, 1240000.0], "n_faces": 7, "n_edges": 15, "n_vertices": 10}, "dimensions": {"lines": ["freeform sketched section (4 segments: 1 straight, 3 curves), ~39.968 \u00d7 30.29 mm, extruded 20 mm thick with a 8\u00b0 draft."], "text": "freeform sketched section (4 segments: 1 straight, 3 curves), ~39.968 \u00d7 30.29 mm, extruded 20 mm thick with a 8\u00b0 draft."}, "params": {"sk_w": {"type": "float", "default": 65, "min": 32.5, "max": 117.0, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 45, "min": 22.5, "max": 81.0, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "sk_t": {"type": "float", "default": 20, "min": 8.0, "max": 44.0, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "sk_draft": {"type": "float", "default": 8.0, "min": 0.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Draft angle (deg)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331981 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 65, \"min\": 32.5, \"max\": 117.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 45, \"min\": 22.5, \"max\": 81.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"sk_t\": {\"type\": 'float', \"default\": 20, \"min\": 8.0, \"max\": 44.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"sk_draft\": {\"type\": 'float', \"default\": 8.0, \"min\": 0.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Draft angle (deg)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.3232, p[\"sk_h\"] * -0.1753).spline([(p[\"sk_w\"] * 0.3232, p[\"sk_h\"] * -0.1753), (p[\"sk_w\"] * 0.2688, p[\"sk_h\"] * 0.1034), (p[\"sk_w\"] * 0.0901, p[\"sk_h\"] * 0.324)]).bezier([(p[\"sk_w\"] * 0.0901, p[\"sk_h\"] * 0.324), (p[\"sk_w\"] * -0.1314, p[\"sk_h\"] * 0.1001), (p[\"sk_w\"] * -0.2917, p[\"sk_h\"] * -0.1709)]).lineTo(p[\"sk_w\"] * 0.0844, p[\"sk_h\"] * -0.3491).spline([(p[\"sk_w\"] * 0.0844, p[\"sk_h\"] * -0.3491), (p[\"sk_w\"] * 0.2298, p[\"sk_h\"] * -0.2979), (p[\"sk_w\"] * 0.3232, p[\"sk_h\"] * -0.1753)]).close().extrude(p[\"sk_t\"], taper=p[\"sk_draft\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca90e_3418", "family": "plate", "tier": 2, "seed": 1177331982, "symmetry": "none", "op_count": 3, "ir_hash": "7af82fd082976071", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 17300.0, "surface_area": 5800.0, "principal_moments": [2230000.0, 3280000.0, 5220000.0], "n_faces": 14, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 47.41 \u00d7 38.7 \u00d7 10 mm (W\u00d7D\u00d7H).", "Four \u00d85.3 mm holes at the corners, 33.187 \u00d7 27.09 mm spacing.", "Chamfer 2.4 mm on vertical edges."], "text": "Rectangular body, 47.41 \u00d7 38.7 \u00d7 10 mm (W\u00d7D\u00d7H). Four \u00d85.3 mm holes at the corners, 33.187 \u00d7 27.09 mm spacing. Chamfer 2.4 mm on vertical edges."}, "params": {"plate_w": {"type": "float", "default": 47.41, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 38.7, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 8.7, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "chamfer_d": {"type": "float", "default": 2.4, "min": 1.4, "max": 2.4, "step": 0.5, "group": "Body", "label": "Chamfer distance (mm)"}, "chamfered": {"type": "bool", "default": true, "group": "Body", "label": "Chamfer edges"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331982 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 47.41, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 38.7, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 8.7, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"chamfer_d\": {\"type\": 'float', \"default\": 2.4, \"min\": 1.4, \"max\": 2.4, \"step\": 0.5, \"group\": 'Body', \"label\": 'Chamfer distance (mm)'},\n    \"chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Chamfer edges'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"chamfered\"]:\n        result = result.edges('|Z').chamfer(p[\"chamfer_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462ca90f_3419", "family": "lofted", "tier": 1, "seed": 1177331983, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "5977affdec18705e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 25800.0, "surface_area": 6860.0, "principal_moments": [3950000.0, 4880000.0, 4890000.0], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["Lofted body through 2 sections: 36.41 \u00d7 36.41 mm rectangular section \u2192 6-sided polygon section, 17.8 mm across corners.", "One \u00d89.5 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 2 sections: 36.41 \u00d7 36.41 mm rectangular section \u2192 6-sided polygon section, 17.8 mm across corners. One \u00d89.5 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 36.41, "min": 18.2, "max": 58.3, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 17.8, "min": 7.1, "max": 43.7, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 41.8, "min": 16.7, "max": 83.6, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_bore_d": {"type": "float", "default": 9.5, "min": 2.0, "max": 14.2, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331983 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 36.41, \"min\": 18.2, \"max\": 58.3, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 17.8, \"min\": 7.1, \"max\": 43.7, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 41.8, \"min\": 16.7, \"max\": 83.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 9.5, \"min\": 2.0, \"max\": 14.2, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .rect(p[\"loft_base\"], p[\"loft_base\"])\n        .workplane(offset=p[\"loft_h\"])\n        .polygon(6, p[\"loft_top\"] * 0.5 * 2)\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca910_3420", "family": "compound", "tier": 1, "seed": 1177331984, "symmetry": "none", "op_count": 3, "ir_hash": "7db72e8573e0aa9f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 42800.0, "surface_area": 10100.0, "principal_moments": [6930000.0, 10700000.0, 13299999.999999998], "n_faces": 15, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 43.3 \u00d7 25.2 \u00d7 37.1 mm (W\u00d7D\u00d7H).", "18.6 \u00d7 21.5 mm rectangular section attachment, 10 mm long, from right face.", "Four \u00d83.2 mm holes at the corners, 11.16 \u00d7 12.9 mm spacing on the >X face."], "text": "Rectangular body, 43.3 \u00d7 25.2 \u00d7 37.1 mm (W\u00d7D\u00d7H). 18.6 \u00d7 21.5 mm rectangular section attachment, 10 mm long, from right face. Four \u00d83.2 mm holes at the corners, 11.16 \u00d7 12.9 mm spacing on the >X face."}, "params": {"block_w": {"type": "float", "default": 43.3, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 25.2, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 37.1, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "tab_a": {"type": "float", "default": 18.6, "min": 7.4, "max": 29.8, "step": 1.0, "group": "Tab", "label": "Tab width (mm)"}, "tab_b": {"type": "float", "default": 21.5, "min": 8.6, "max": 34.4, "step": 1.0, "group": "Tab", "label": "Tab height (mm)"}, "tab_t": {"type": "float", "default": 10.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Tab", "label": "Tab thickness (mm)"}, "tab_hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 4.1, "step": 0.1, "group": "Tab", "label": "Tab hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331984 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 43.3, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 25.2, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 37.1, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"tab_a\": {\"type\": 'float', \"default\": 18.6, \"min\": 7.4, \"max\": 29.8, \"step\": 1.0, \"group\": 'Tab', \"label\": 'Tab width (mm)'},\n    \"tab_b\": {\"type\": 'float', \"default\": 21.5, \"min\": 8.6, \"max\": 34.4, \"step\": 1.0, \"group\": 'Tab', \"label\": 'Tab height (mm)'},\n    \"tab_t\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Tab', \"label\": 'Tab thickness (mm)'},\n    \"tab_hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 4.1, \"step\": 0.1, \"group\": 'Tab', \"label\": 'Tab hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .rect(p[\"tab_a\"], p[\"tab_b\"]).extrude(p[\"tab_t\"])\n    )\n    result = (\n        result.faces('>X').workplane()\n        .rect(p[\"tab_a\"] * 0.6, p[\"tab_b\"] * 0.6, forConstruction=True)\n        .vertices().hole(p[\"tab_hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca911_3421", "family": "plate", "tier": 0, "seed": 1177331985, "symmetry": "none", "op_count": 1, "ir_hash": "34590fd9a837a432", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 61600.0, "surface_area": 14200.0, "principal_moments": [10400000.0, 72700000.0, 81600000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 118.36 \u00d7 43.4 \u00d7 12 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 118.36 \u00d7 43.4 \u00d7 12 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 118.36, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 43.4, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331985 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 118.36, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 43.4, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca912_3422", "family": "bracket", "tier": 1, "seed": 1177331986, "symmetry": "none", "op_count": 1, "ir_hash": "d2757b809e1ecb24", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 5020.0, "surface_area": 4080.0, "principal_moments": [498000.0, 1840000.0, 1990000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["L-bracket: base leg 51.88 mm, vertical leg 36.2 mm, 20.17 mm wide, 3 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."], "text": "L-bracket: base leg 51.88 mm, vertical leg 36.2 mm, 20.17 mm wide, 3 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 51.88, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 36.2, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 20.17, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 3.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 8.1, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331986 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 51.88, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 36.2, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 20.17, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 8.1, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca913_3423", "family": "plate", "tier": 3, "seed": 1177331987, "symmetry": "none", "op_count": 3, "ir_hash": "1a3aee7ac1eb47be", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 2080.0, "surface_area": 2310.0, "principal_moments": [51100.0, 443000.0, 488000.0], "n_faces": 23, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 47.42 \u00d7 16.1 \u00d7 4 mm (W\u00d7D\u00d7H).", "Four \u00d83.2 mm counterbored holes (\u00d86.4 mm \u00d7 2.6 mm counterbore) at the corners, 33.194 \u00d7 11.27 mm spacing.", "Pocket 25.5 \u00d7 11 mm, 2.2 mm deep, in top face."], "text": "Rectangular body, 47.42 \u00d7 16.1 \u00d7 4 mm (W\u00d7D\u00d7H). Four \u00d83.2 mm counterbored holes (\u00d86.4 mm \u00d7 2.6 mm counterbore) at the corners, 33.194 \u00d7 11.27 mm spacing. Pocket 25.5 \u00d7 11 mm, 2.2 mm deep, in top face."}, "params": {"plate_w": {"type": "float", "default": 47.42, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 16.1, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 4.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 3.6, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "cb_d": {"type": "float", "default": 6.4, "min": 4.8, "max": 9.6, "step": 0.5, "group": "Holes", "label": "Counterbore diameter (mm)"}, "cb_depth": {"type": "float", "default": 2.6, "min": 1.3, "max": 5.2, "step": 0.5, "group": "Holes", "label": "Counterbore depth (mm)"}, "pocket_w": {"type": "float", "default": 25.5, "min": 12.8, "max": 37.9, "step": 1.0, "group": "Pocket", "label": "Pocket width (mm)"}, "pocket_d": {"type": "float", "default": 11.0, "min": 5.5, "max": 12.9, "step": 1.0, "group": "Pocket", "label": "Pocket depth (mm)"}, "pocket_h": {"type": "float", "default": 2.2, "min": 0.9, "max": 3.4, "step": 0.5, "group": "Pocket", "label": "Pocket height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331987 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 47.42, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 16.1, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 4.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 3.6, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"cb_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 4.8, \"max\": 9.6, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Counterbore diameter (mm)'},\n    \"cb_depth\": {\"type\": 'float', \"default\": 2.6, \"min\": 1.3, \"max\": 5.2, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Counterbore depth (mm)'},\n    \"pocket_w\": {\"type\": 'float', \"default\": 25.5, \"min\": 12.8, \"max\": 37.9, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket width (mm)'},\n    \"pocket_d\": {\"type\": 'float', \"default\": 11.0, \"min\": 5.5, \"max\": 12.9, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket depth (mm)'},\n    \"pocket_h\": {\"type\": 'float', \"default\": 2.2, \"min\": 0.9, \"max\": 3.4, \"step\": 0.5, \"group\": 'Pocket', \"label\": 'Pocket height (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().cboreHole(p[\"hole_d\"], p[\"cb_d\"], p[\"cb_depth\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"pocket_w\"], p[\"pocket_d\"])\n        .cutBlind(-p[\"pocket_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462ca914_3424", "family": "gear", "tier": 1, "seed": 1177331988, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "75d0b5c01555af2b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 2920.0, "surface_area": 2120.0, "principal_moments": [156000.0, 156000.0, 300000.0], "n_faces": 171, "n_edges": 507, "n_vertices": 338}, "dimensions": {"lines": ["Spur gear, module 1 mm, 28 teeth (pitch \u00d828 mm), face width 5 mm, \u00d85.7 mm bore."], "text": "Spur gear, module 1 mm, 28 teeth (pitch \u00d828 mm), face width 5 mm, \u00d85.7 mm bore."}, "params": {"module": {"type": "float", "default": 1.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 28, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 5.0, "min": 2.0, "max": 12.5, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "bore_d": {"type": "float", "default": 5.7, "min": 2.0, "max": 15.3, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331988 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 1.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 28, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 5.0, \"min\": 2.0, \"max\": 12.5, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 5.7, \"min\": 2.0, \"max\": 15.3, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462ca915_3425", "family": "lofted", "tier": 0, "seed": 1177331989, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "2c83e1abdbdd883f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 82500.0, "surface_area": 10900.0, "principal_moments": [21100000.0, 30999999.999999996, 30999999.999999996], "n_faces": 8, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["Lofted body through 2 sections: \u00d855 mm circular section \u2192 6-sided polygon section, 32.2 mm across corners."], "text": "Lofted body through 2 sections: \u00d855 mm circular section \u2192 6-sided polygon section, 32.2 mm across corners."}, "params": {"loft_base": {"type": "float", "default": 55, "min": 27.5, "max": 88.0, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 32.2, "min": 12.9, "max": 66.0, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 57.3, "min": 22.9, "max": 114.6, "step": 1.0, "group": "Body", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331989 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 55, \"min\": 27.5, \"max\": 88.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 32.2, \"min\": 12.9, \"max\": 66.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 57.3, \"min\": 22.9, \"max\": 114.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .circle(p[\"loft_base\"] / 2)\n        .workplane(offset=p[\"loft_h\"])\n        .polygon(6, p[\"loft_top\"] * 0.5 * 2)\n        .loft(combine=True)\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462ca916_3426", "family": "threaded", "tier": 3, "seed": 1177331990, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "c64e74ac94faaf1a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 38000.0, "surface_area": 9270.0, "principal_moments": [5250000.0, 8810000.0, 8840000.0], "n_faces": 80, "n_edges": 198, "n_vertices": 120}, "dimensions": {"lines": ["Tr 36x6 external thread, 45 mm long."], "text": "Tr 36x6 external thread, 45 mm long."}, "params": {"thread_size": {"type": "enum", "default": "36x6", "choices": ["8x1.5", "10x2", "12x3", "14x3", "16x4", "18x4", "20x4", "24x5", "28x5", "30x6", "36x6", "40x7"], "group": "Thread", "label": "Size designation"}, "thread_len": {"type": "float", "default": 45.0, "min": 18.0, "max": 90.0, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331990 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"thread_size\": {\"type\": 'enum', \"default\": '36x6', \"choices\": ['8x1.5', '10x2', '12x3', '14x3', '16x4', '18x4', '20x4', '24x5', '28x5', '30x6', '36x6', '40x7'], \"group\": 'Thread', \"label\": 'Size designation'},\n    \"thread_len\": {\"type\": 'float', \"default\": 45.0, \"min\": 18.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.MetricTrapezoidalThread(size=p[\"thread_size\"], length=p[\"thread_len\"], external=True, end_finishes=(\"fade\", \"fade\"))\n    _r = _thr.min_radius if hasattr(_thr, 'min_radius') else _thr.root_radius\n    _shank = _bd.Cylinder(radius=_r, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = _shank + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca917_3427", "family": "bracket", "tier": 2, "seed": 1177331991, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "2d55c61508bf6dfa", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 23000.0, "surface_area": 8400.0, "principal_moments": [4380000.0, 17300000.0, 20400000.0], "n_faces": 14, "n_edges": 37, "n_vertices": 24}, "dimensions": {"lines": ["L-bracket: base leg 81.07 mm, vertical leg 62.3 mm, 19.03 mm wide, 8 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg; 8.3 mm corner gusset."], "text": "L-bracket: base leg 81.07 mm, vertical leg 62.3 mm, 19.03 mm wide, 8 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg; 8.3 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 81.07, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 62.3, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 19.03, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 8.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 7.6, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 8.3, "min": 4.0, "max": 9.5, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331991 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 81.07, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 62.3, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 19.03, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 7.6, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 8.3, \"min\": 4.0, \"max\": 9.5, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca918_3428", "family": "block", "tier": 1, "seed": 1177331992, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "6d812bf8d4884722", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 1630.0, "surface_area": 1250.0, "principal_moments": [35300.0, 43800.0, 54000.0], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["Rectangular body, 15 \u00d7 12.5 \u00d7 9.6 mm (W\u00d7D\u00d7H).", "Seven \u00d81.8 mm holes in two staggered rows, 3.8 \u00d7 3.8 mm pitch."], "text": "Rectangular body, 15 \u00d7 12.5 \u00d7 9.6 mm (W\u00d7D\u00d7H). Seven \u00d81.8 mm holes in two staggered rows, 3.8 \u00d7 3.8 mm pitch."}, "params": {"block_w": {"type": "float", "default": 15.0, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 12.5, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 9.6, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 1.8, "min": 2.0, "max": 1.2, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 4, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331992 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 15.0, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 12.5, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 9.6, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 1.8, \"min\": 2.0, \"max\": 1.2, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 4, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 3.8\n    _ssy = 3.8\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462ca919_3429", "family": "gear", "tier": 2, "seed": 1177331993, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "5e208f5e2f971798", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 10500.0, "surface_area": 5210.0, "principal_moments": [1450000.0, 1450000.0, 2820000.0], "n_faces": 299, "n_edges": 891, "n_vertices": 594}, "dimensions": {"lines": ["Spur gear, module 1.25 mm, 37 teeth (pitch \u00d846.25 mm), face width 6.6 mm, \u00d87.7 mm bore."], "text": "Spur gear, module 1.25 mm, 37 teeth (pitch \u00d846.25 mm), face width 6.6 mm, \u00d87.7 mm bore."}, "params": {"module": {"type": "float", "default": 1.25, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 37, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 6.6, "min": 2.6, "max": 16.5, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "profile_shift": {"type": "float", "default": -0.2, "min": -0.5, "max": 0.7, "step": 0.05, "group": "Gear", "label": "Profile shift"}, "root_fillet": {"type": "float", "default": 0.37, "min": 0.0, "max": 0.62, "step": 0.05, "group": "Gear", "label": "Root fillet (mm)"}, "bore_d": {"type": "float", "default": 7.7, "min": 2.0, "max": 25.9, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331993 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 1.25, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 37, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 6.6, \"min\": 2.6, \"max\": 16.5, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"profile_shift\": {\"type\": 'float', \"default\": -0.2, \"min\": -0.5, \"max\": 0.7, \"step\": 0.05, \"group\": 'Gear', \"label\": 'Profile shift'},\n    \"root_fillet\": {\"type\": 'float', \"default\": 0.37, \"min\": 0.0, \"max\": 0.62, \"step\": 0.05, \"group\": 'Gear', \"label\": 'Root fillet (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 7.7, \"min\": 2.0, \"max\": 25.9, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"], profile_shift=p[\"profile_shift\"], root_fillet=p[\"root_fillet\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca91a_3430", "family": "plate", "tier": 2, "seed": 1177331994, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "720161fa8871b094", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 8810.0, "surface_area": 5480.0, "principal_moments": [914000.0, 3040000.0, 3930000.0], "n_faces": 14, "n_edges": 32, "n_vertices": 20}, "dimensions": {"lines": ["Rectangular body, 65 \u00d7 35.5 \u00d7 4 mm (W\u00d7D\u00d7H).", "Four \u00d84.3 mm countersunk holes (82\u00b0) at the corners, 45.5 \u00d7 24.85 mm spacing."], "text": "Rectangular body, 65 \u00d7 35.5 \u00d7 4 mm (W\u00d7D\u00d7H). Four \u00d84.3 mm countersunk holes (82\u00b0) at the corners, 45.5 \u00d7 24.85 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 65, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 35.5, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 4.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 8.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "cs_angle": {"type": "float", "default": 82.0, "min": 60.0, "max": 120.0, "step": 15.0, "group": "Holes", "label": "Countersink angle (\u00b0)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331994 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 65, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 35.5, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 4.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 8.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"cs_angle\": {\"type\": 'float', \"default\": 82.0, \"min\": 60.0, \"max\": 120.0, \"step\": 15.0, \"group\": 'Holes', \"label\": 'Countersink angle (\u00b0)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().cskHole(p[\"hole_d\"], p[\"hole_d\"] * 2, p[\"cs_angle\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca91b_3431", "family": "revolved", "tier": 2, "seed": 1177331995, "symmetry": "none", "op_count": 1, "ir_hash": "769fb3f459e89a49", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 317000.0, "surface_area": 47600.0, "principal_moments": [354000000.0, 471000000.0, 471000000.0], "n_faces": 10, "n_edges": 15, "n_vertices": 10}, "dimensions": {"lines": ["Revolved body, \u00d850.97 mm \u00d7 104.7 mm tall with \u00d824.3 mm bore, \u00d8111.3 mm \u00d7 20.1 mm flange, 7.64 mm-wide groove 1.98 mm deep."], "text": "Revolved body, \u00d850.97 mm \u00d7 104.7 mm tall with \u00d824.3 mm bore, \u00d8111.3 mm \u00d7 20.1 mm flange, 7.64 mm-wide groove 1.98 mm deep."}, "params": {"outer_d": {"type": "float", "default": 50.97, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 104.7, "min": 31.4, "max": 314.1, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 24.3, "min": 2.0, "max": 35.7, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 111.3, "min": 61.2, "max": 152.9, "step": 1.0, "group": "Body", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 20.1, "min": 6.0, "max": 52.4, "step": 0.5, "group": "Body", "label": "Flange height (mm)"}, "groove_depth": {"type": "float", "default": 1.98, "min": 0.79, "max": 5.94, "step": 0.1, "group": "Body", "label": "Groove depth (mm)"}, "groove_w": {"type": "float", "default": 7.64, "min": 3.06, "max": 22.92, "step": 0.2, "group": "Body", "label": "Groove width (mm)"}, "groove_pos": {"type": "float", "default": 75.8, "min": 15.7, "max": 89.0, "step": 1.0, "group": "Body", "label": "Groove position (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331995 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 50.97, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 104.7, \"min\": 31.4, \"max\": 314.1, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 24.3, \"min\": 2.0, \"max\": 35.7, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 111.3, \"min\": 61.2, \"max\": 152.9, \"step\": 1.0, \"group\": 'Body', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 20.1, \"min\": 6.0, \"max\": 52.4, \"step\": 0.5, \"group\": 'Body', \"label\": 'Flange height (mm)'},\n    \"groove_depth\": {\"type\": 'float', \"default\": 1.98, \"min\": 0.79, \"max\": 5.94, \"step\": 0.1, \"group\": 'Body', \"label\": 'Groove depth (mm)'},\n    \"groove_w\": {\"type\": 'float', \"default\": 7.64, \"min\": 3.06, \"max\": 22.92, \"step\": 0.2, \"group\": 'Body', \"label\": 'Groove width (mm)'},\n    \"groove_pos\": {\"type\": 'float', \"default\": 75.8, \"min\": 15.7, \"max\": 89.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Groove position (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"groove_pos\"] - p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2 - p[\"groove_depth\"], p[\"groove_pos\"] - p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2 - p[\"groove_depth\"], p[\"groove_pos\"] + p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2, p[\"groove_pos\"] + p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462ca91c_3432", "family": "flanged", "tier": 1, "seed": 1177331996, "symmetry": "radial", "op_count": 2, "ir_hash": "eac8c67f6860c5ea", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 777000.0, "surface_area": 92500.0, "principal_moments": [1300000000.0, 1930000000.0, 1930000000.0], "n_faces": 17, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Revolved body, \u00d890 mm \u00d7 129 mm tall with \u00d840.2 mm bore, \u00d8158.4 mm \u00d7 9.2 mm flange.", "Six \u00d86.4 mm holes on a \u00d895 mm bolt circle."], "text": "Revolved body, \u00d890 mm \u00d7 129 mm tall with \u00d840.2 mm bore, \u00d8158.4 mm \u00d7 9.2 mm flange. Six \u00d86.4 mm holes on a \u00d895 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 90, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 129.0, "min": 38.7, "max": 322.5, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 40.2, "min": 2.0, "max": 63.0, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 158.4, "min": 117.0, "max": 270.0, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 9.2, "min": 2.8, "max": 51.6, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 47.5, "min": 31.7, "max": 71.3, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 6, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331996 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 90, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 129.0, \"min\": 38.7, \"max\": 322.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 40.2, \"min\": 2.0, \"max\": 63.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 158.4, \"min\": 117.0, \"max\": 270.0, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 9.2, \"min\": 2.8, \"max\": 51.6, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 47.5, \"min\": 31.7, \"max\": 71.3, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462ca91d_3433", "family": "gear", "tier": 2, "seed": 1177331997, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "0d29f24e42abd0c3", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 1080.0, "surface_area": 1050.0, "principal_moments": [29000.0, 29000.0, 55600.0], "n_faces": 155, "n_edges": 459, "n_vertices": 306}, "dimensions": {"lines": ["Spur gear, module 1 mm, 19 teeth (pitch \u00d819 mm), face width 3.6 mm, \u00d83 mm bore."], "text": "Spur gear, module 1 mm, 19 teeth (pitch \u00d819 mm), face width 3.6 mm, \u00d83 mm bore."}, "params": {"module": {"type": "float", "default": 1.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 19, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 3.6, "min": 1.4, "max": 9.0, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "profile_shift": {"type": "float", "default": 0.49, "min": -0.5, "max": 0.7, "step": 0.05, "group": "Gear", "label": "Profile shift"}, "root_fillet": {"type": "float", "default": 0.18, "min": 0.0, "max": 0.5, "step": 0.05, "group": "Gear", "label": "Root fillet (mm)"}, "bore_d": {"type": "float", "default": 3.0, "min": 2.0, "max": 9.9, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331997 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 1.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 19, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 3.6, \"min\": 1.4, \"max\": 9.0, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"profile_shift\": {\"type\": 'float', \"default\": 0.49, \"min\": -0.5, \"max\": 0.7, \"step\": 0.05, \"group\": 'Gear', \"label\": 'Profile shift'},\n    \"root_fillet\": {\"type\": 'float', \"default\": 0.18, \"min\": 0.0, \"max\": 0.5, \"step\": 0.05, \"group\": 'Gear', \"label\": 'Root fillet (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 3.0, \"min\": 2.0, \"max\": 9.9, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"], profile_shift=p[\"profile_shift\"], root_fillet=p[\"root_fillet\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462ca91e_3434", "family": "enclosure", "tier": 1, "seed": 1177331998, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "f52b31270f27edab", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 104000.0, "surface_area": 81000.0, "principal_moments": [166000000.0, 236000000.0, 276000000.0], "n_faces": 11, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 115 \u00d7 61.6 \u00d7 98.7 mm (W\u00d7D\u00d7H).", "Hollowed to 2.6 mm wall thickness, open at top face."], "text": "Rectangular body, 115 \u00d7 61.6 \u00d7 98.7 mm (W\u00d7D\u00d7H). Hollowed to 2.6 mm wall thickness, open at top face."}, "params": {"enc_w": {"type": "float", "default": 115, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 61.6, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 98.7, "min": 39.5, "max": 197.4, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 2.6, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331998 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 115, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 61.6, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 98.7, \"min\": 39.5, \"max\": 197.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 2.6, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca91f_3435", "family": "compound", "tier": 2, "seed": 1177331999, "symmetry": "mirror_xy", "op_count": 3, "ir_hash": "4211431e36d06a67", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 143000.0, "surface_area": 20100.0, "principal_moments": [61499999.99999999, 66199999.99999999, 97699999.99999999], "n_faces": 14, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["Rectangular body, 65 \u00d7 35.6 \u00d7 62.5 mm (W\u00d7D\u00d7H).", "12.4 \u00d7 6.7 mm rectangular section attachment, 12 mm long, from right face with a \u00d83.3 mm bore.", "Four \u00d84.3 mm holes at the corners, 45.5 \u00d7 24.92 mm spacing."], "text": "Rectangular body, 65 \u00d7 35.6 \u00d7 62.5 mm (W\u00d7D\u00d7H). 12.4 \u00d7 6.7 mm rectangular section attachment, 12 mm long, from right face with a \u00d83.3 mm bore. Four \u00d84.3 mm holes at the corners, 45.5 \u00d7 24.92 mm spacing."}, "params": {"block_w": {"type": "float", "default": 65, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 35.6, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 62.5, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "spig_a": {"type": "float", "default": 12.4, "min": 6.2, "max": 24.9, "step": 1.0, "group": "Spigot", "label": "Spigot width (mm)"}, "spig_b": {"type": "float", "default": 6.7, "min": 3.4, "max": 24.9, "step": 1.0, "group": "Spigot", "label": "Spigot depth (mm)"}, "spig_len": {"type": "float", "default": 12.0, "min": 2.0, "max": 26.8, "step": 1.0, "group": "Spigot", "label": "Spigot length (mm)"}, "spig_bore": {"type": "float", "default": 3.3, "min": 2.0, "max": 4.8, "step": 0.5, "group": "Spigot", "label": "Bore diameter (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 8.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177331999 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 65, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 35.6, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 62.5, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"spig_a\": {\"type\": 'float', \"default\": 12.4, \"min\": 6.2, \"max\": 24.9, \"step\": 1.0, \"group\": 'Spigot', \"label\": 'Spigot width (mm)'},\n    \"spig_b\": {\"type\": 'float', \"default\": 6.7, \"min\": 3.4, \"max\": 24.9, \"step\": 1.0, \"group\": 'Spigot', \"label\": 'Spigot depth (mm)'},\n    \"spig_len\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 26.8, \"step\": 1.0, \"group\": 'Spigot', \"label\": 'Spigot length (mm)'},\n    \"spig_bore\": {\"type\": 'float', \"default\": 3.3, \"min\": 2.0, \"max\": 4.8, \"step\": 0.5, \"group\": 'Spigot', \"label\": 'Bore diameter (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 8.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .rect(p[\"spig_a\"], p[\"spig_b\"]).extrude(p[\"spig_len\"])\n    )\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"spig_bore\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca920_3436", "family": "plate", "tier": 0, "seed": 1177332000, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "d748c2d343a3abcc", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 108000.0, "surface_area": 22500.0, "principal_moments": [66699999.99999999, 100000000.0, 164000000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 105 \u00d7 85.4 \u00d7 12 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 105 \u00d7 85.4 \u00d7 12 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 105, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 85.4, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332000 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 105, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 85.4, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462ca921_3437", "family": "sketched", "tier": 1, "seed": 1177332001, "symmetry": "none", "op_count": 1, "ir_hash": "89133a326c40276e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 92400.0, "surface_area": 13500.0, "principal_moments": [29699999.999999996, 38000000.0, 38000000.0], "n_faces": 7, "n_edges": 11, "n_vertices": 6}, "dimensions": {"lines": ["Revolved organic body from a freeform sketched section (7 segments: 5 straight, 1 arc, 1 curve), ~36.064 \u00d7 61.33 mm half-silhouette."], "text": "Revolved organic body from a freeform sketched section (7 segments: 5 straight, 1 arc, 1 curve), ~36.064 \u00d7 61.33 mm half-silhouette."}, "params": {"sk_r": {"type": "float", "default": 40, "min": 20.0, "max": 72.0, "step": 1.0, "group": "Sketch", "label": "Max radius (mm)"}, "sk_h": {"type": "float", "default": 61.33, "min": 30.7, "max": 110.4, "step": 1.0, "group": "Sketch", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332001 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_r\": {\"type\": 'float', \"default\": 40, \"min\": 20.0, \"max\": 72.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Max radius (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 61.33, \"min\": 30.7, \"max\": 110.4, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XZ').moveTo(p[\"sk_r\"] * 0.2707, p[\"sk_h\"] * 0.0).lineTo(p[\"sk_r\"] * 0.4271, p[\"sk_h\"] * 0.1303).bezier([(p[\"sk_r\"] * 0.4271, p[\"sk_h\"] * 0.1303), (p[\"sk_r\"] * 0.3545, p[\"sk_h\"] * 0.1704), (p[\"sk_r\"] * 0.345, p[\"sk_h\"] * 0.2105)]).threePointArc((p[\"sk_r\"] * 0.5378, p[\"sk_h\"] * 0.5337), (p[\"sk_r\"] * 0.7301, p[\"sk_h\"] * 0.857)).lineTo(p[\"sk_r\"] * 0.9016, p[\"sk_h\"] * 0.9416).lineTo(p[\"sk_r\"] * 0.2277, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.0, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.0, p[\"sk_h\"] * 0.0).close().revolve())\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca922_3438", "family": "plate", "tier": 0, "seed": 1177332002, "symmetry": "none", "op_count": 1, "ir_hash": "25125a1ce0e71339", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 29400.0, "surface_area": 9550.0, "principal_moments": [3480000.0, 24699999.999999996, 27899999.999999996], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 100 \u00d7 36.8 \u00d7 8 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 100 \u00d7 36.8 \u00d7 8 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 100, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 36.8, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332002 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 100, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 36.8, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca923_3439", "family": "compound", "tier": 2, "seed": 1177332003, "symmetry": "none", "op_count": 2, "ir_hash": "9fe2414683264f87", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 36300.0, "surface_area": 6900.0, "principal_moments": [5680000.0, 8720000.0, 8720000.0], "n_faces": 9, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["Lofted body through 3 sections: \u00d845.8 mm circular section \u2192 \u00d832.5 mm circular section \u2192 19.2 \u00d7 19.2 mm rectangular section.", "\u00d813.5 mm circular section attachment, 16.1 mm long, from top face."], "text": "Lofted body through 3 sections: \u00d845.8 mm circular section \u2192 \u00d832.5 mm circular section \u2192 19.2 \u00d7 19.2 mm rectangular section. \u00d813.5 mm circular section attachment, 16.1 mm long, from top face."}, "params": {"adapter_base": {"type": "float", "default": 45.8, "min": 27.5, "max": 68.7, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "adapter_top": {"type": "float", "default": 19.2, "min": 9.6, "max": 45.8, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "adapter_h": {"type": "float", "default": 38.2, "min": 15.3, "max": 76.4, "step": 1.0, "group": "Body", "label": "Transition height (mm)"}, "adapter_mid": {"type": "float", "default": 32.5, "min": 9.6, "max": 45.8, "step": 1.0, "group": "Body", "label": "Mid size (mm)"}, "neck_d": {"type": "float", "default": 13.5, "min": 5.4, "max": 19.2, "step": 1.0, "group": "Neck", "label": "Neck diameter (mm)"}, "neck_l": {"type": "float", "default": 16.1, "min": 6.4, "max": 40.2, "step": 1.0, "group": "Neck", "label": "Neck length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332003 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"adapter_base\": {\"type\": 'float', \"default\": 45.8, \"min\": 27.5, \"max\": 68.7, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"adapter_top\": {\"type\": 'float', \"default\": 19.2, \"min\": 9.6, \"max\": 45.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"adapter_h\": {\"type\": 'float', \"default\": 38.2, \"min\": 15.3, \"max\": 76.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Transition height (mm)'},\n    \"adapter_mid\": {\"type\": 'float', \"default\": 32.5, \"min\": 9.6, \"max\": 45.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Mid size (mm)'},\n    \"neck_d\": {\"type\": 'float', \"default\": 13.5, \"min\": 5.4, \"max\": 19.2, \"step\": 1.0, \"group\": 'Neck', \"label\": 'Neck diameter (mm)'},\n    \"neck_l\": {\"type\": 'float', \"default\": 16.1, \"min\": 6.4, \"max\": 40.2, \"step\": 1.0, \"group\": 'Neck', \"label\": 'Neck length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .circle(p[\"adapter_base\"] / 2)\n        .workplane(offset=p[\"adapter_h\"] * 0.5)\n        .circle(p[\"adapter_mid\"] / 2)\n        .workplane(offset=p[\"adapter_h\"] * 0.5)\n        .rect(p[\"adapter_top\"], p[\"adapter_top\"])\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"neck_d\"] / 2).extrude(p[\"neck_l\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca924_3440", "family": "bracket", "tier": 1, "seed": 1177332004, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "9bb15b4145b26a68", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 12600.0, "surface_area": 9260.0, "principal_moments": [3460000.0, 3530000.0, 6310000.0], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Z-bracket: base leg 30 mm, vertical leg 27.1 mm, top leg 25.6 mm, 55 mm wide, 3 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."], "text": "Z-bracket: base leg 30 mm, vertical leg 27.1 mm, top leg 25.6 mm, 55 mm wide, 3 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 30, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 27.1, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 55, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 3.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 25.6, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332004 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 30, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 27.1, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 55, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 25.6, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca925_3441", "family": "revolved", "tier": 2, "seed": 1177332005, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "78e4ae540d47dcb9", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 623000.0, "surface_area": 69800.0, "principal_moments": [480000000.0, 2240000000.0, 2240000000.0], "n_faces": 10, "n_edges": 15, "n_vertices": 10}, "dimensions": {"lines": ["Revolved body, \u00d858.41 mm \u00d7 190.1 mm tall with \u00d821.3 mm bore, \u00d889.8 mm \u00d7 52.1 mm flange, 14.44 mm-wide groove 3.69 mm deep."], "text": "Revolved body, \u00d858.41 mm \u00d7 190.1 mm tall with \u00d821.3 mm bore, \u00d889.8 mm \u00d7 52.1 mm flange, 14.44 mm-wide groove 3.69 mm deep."}, "params": {"outer_d": {"type": "float", "default": 58.41, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 190.1, "min": 57.0, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 21.3, "min": 2.0, "max": 40.9, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 89.8, "min": 70.1, "max": 175.2, "step": 1.0, "group": "Body", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 52.1, "min": 15.6, "max": 95.0, "step": 0.5, "group": "Body", "label": "Flange height (mm)"}, "groove_depth": {"type": "float", "default": 3.69, "min": 1.48, "max": 11.07, "step": 0.1, "group": "Body", "label": "Groove depth (mm)"}, "groove_w": {"type": "float", "default": 14.44, "min": 5.78, "max": 43.32, "step": 0.2, "group": "Body", "label": "Groove width (mm)"}, "groove_pos": {"type": "float", "default": 48.0, "min": 28.5, "max": 161.6, "step": 1.0, "group": "Body", "label": "Groove position (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332005 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 58.41, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 190.1, \"min\": 57.0, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 21.3, \"min\": 2.0, \"max\": 40.9, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 89.8, \"min\": 70.1, \"max\": 175.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 52.1, \"min\": 15.6, \"max\": 95.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Flange height (mm)'},\n    \"groove_depth\": {\"type\": 'float', \"default\": 3.69, \"min\": 1.48, \"max\": 11.07, \"step\": 0.1, \"group\": 'Body', \"label\": 'Groove depth (mm)'},\n    \"groove_w\": {\"type\": 'float', \"default\": 14.44, \"min\": 5.78, \"max\": 43.32, \"step\": 0.2, \"group\": 'Body', \"label\": 'Groove width (mm)'},\n    \"groove_pos\": {\"type\": 'float', \"default\": 48.0, \"min\": 28.5, \"max\": 161.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Groove position (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"groove_pos\"] - p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2 - p[\"groove_depth\"], p[\"groove_pos\"] - p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2 - p[\"groove_depth\"], p[\"groove_pos\"] + p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2, p[\"groove_pos\"] + p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca926_3442", "family": "block", "tier": 1, "seed": 1177332006, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "fa6d2915108ad96c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 67800.0, "surface_area": 15400.0, "principal_moments": [13299999.999999998, 32399999.999999996, 40100000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 43.8 \u00d7 22.7 \u00d7 72.4 mm (W\u00d7D\u00d7H).", "Four \u00d84.3 mm holes at the corners, 30.66 \u00d7 15.89 mm spacing."], "text": "Rectangular body, 43.8 \u00d7 22.7 \u00d7 72.4 mm (W\u00d7D\u00d7H). Four \u00d84.3 mm holes at the corners, 30.66 \u00d7 15.89 mm spacing."}, "params": {"block_w": {"type": "float", "default": 43.8, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 22.7, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 72.4, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 5.1, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332006 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 43.8, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 22.7, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 72.4, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 5.1, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca927_3443", "family": "block", "tier": 1, "seed": 1177332007, "symmetry": "radial", "op_count": 2, "ir_hash": "5fddabe1b280f036", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 51400.0, "surface_area": 12700.0, "principal_moments": [11300000.0, 12599999.999999998, 16699999.999999998], "n_faces": 16, "n_edges": 42, "n_vertices": 28}, "dimensions": {"lines": ["Rectangular body, 45 \u00d7 29.4 \u00d7 42.4 mm (W\u00d7D\u00d7H).", "Eight \u00d84.3 mm holes on a \u00d827 mm bolt circle."], "text": "Rectangular body, 45 \u00d7 29.4 \u00d7 42.4 mm (W\u00d7D\u00d7H). Eight \u00d84.3 mm holes on a \u00d827 mm bolt circle."}, "params": {"block_w": {"type": "float", "default": 45, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 29.4, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 42.4, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "bolt_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 13.5, "min": 9.0, "max": 20.2, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 8, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332007 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 45, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 29.4, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 42.4, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 13.5, \"min\": 9.0, \"max\": 20.2, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca928_3444", "family": "compound", "tier": 1, "seed": 1177332008, "symmetry": "mirror_xy", "op_count": 3, "ir_hash": "9b55b73d414d78f7", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 22400.0, "surface_area": 7820.0, "principal_moments": [2610000.0, 3900000.0, 4460000.0], "n_faces": 13, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Rectangular body, 40.72 \u00d7 30.2 \u00d7 20 mm (W\u00d7D\u00d7H).", "\u00d810.2 mm circular section attachment, 16.8 mm long, from top face with a \u00d86 mm bore.", "Four \u00d86.4 mm holes at the corners, 28.504 \u00d7 21.14 mm spacing."], "text": "Rectangular body, 40.72 \u00d7 30.2 \u00d7 20 mm (W\u00d7D\u00d7H). \u00d810.2 mm circular section attachment, 16.8 mm long, from top face with a \u00d86 mm bore. Four \u00d86.4 mm holes at the corners, 28.504 \u00d7 21.14 mm spacing."}, "params": {"base_w": {"type": "float", "default": 40.72, "min": 30.0, "max": 160.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 30.2, "min": 25.0, "max": 160.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_h": {"type": "float", "default": 20.0, "min": 3.0, "max": 30.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "col_d": {"type": "float", "default": 10.2, "min": 4.1, "max": 15.1, "step": 1.0, "group": "Column", "label": "Column diameter (mm)"}, "col_h": {"type": "float", "default": 16.8, "min": 5.0, "max": 50.4, "step": 1.0, "group": "Column", "label": "Column height (mm)"}, "col_bore": {"type": "float", "default": 6.0, "min": 2.0, "max": 7.3, "step": 0.5, "group": "Column", "label": "Column bore diameter (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 6.8, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332008 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 40.72, \"min\": 30.0, \"max\": 160.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 30.2, \"min\": 25.0, \"max\": 160.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_h\": {\"type\": 'float', \"default\": 20.0, \"min\": 3.0, \"max\": 30.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"col_d\": {\"type\": 'float', \"default\": 10.2, \"min\": 4.1, \"max\": 15.1, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column diameter (mm)'},\n    \"col_h\": {\"type\": 'float', \"default\": 16.8, \"min\": 5.0, \"max\": 50.4, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column height (mm)'},\n    \"col_bore\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 7.3, \"step\": 0.5, \"group\": 'Column', \"label\": 'Column bore diameter (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 6.8, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_h\"])\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"col_d\"] / 2).extrude(p[\"col_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"col_bore\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"base_w\"] * 0.7, p[\"base_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462ca929_3445", "family": "gear", "tier": 0, "seed": 1177332009, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "b54d95c07c9ffe80", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 2850.0, "surface_area": 1780.0, "principal_moments": [99100.0, 99100.0, 155000.0], "n_faces": 62, "n_edges": 180, "n_vertices": 120}, "dimensions": {"lines": ["Spur gear, module 2 mm, 10 teeth (pitch \u00d820 mm), face width 9.5 mm."], "text": "Spur gear, module 2 mm, 10 teeth (pitch \u00d820 mm), face width 9.5 mm."}, "params": {"module": {"type": "float", "default": 2.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 10, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 9.5, "min": 3.8, "max": 23.8, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332009 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 2.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 10, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 9.5, \"min\": 3.8, \"max\": 23.8, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca92a_3446", "family": "plate", "tier": 3, "seed": 1177332010, "symmetry": "none", "op_count": 4, "ir_hash": "c541758227ce4f7c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 22700.0, "surface_area": 11400.0, "principal_moments": [6750000.0, 13499999.999999998, 20100000.0], "n_faces": 19, "n_edges": 48, "n_vertices": 32}, "dimensions": {"lines": ["Rectangular body, 80 \u00d7 57.6 \u00d7 6 mm (W\u00d7D\u00d7H).", "Four \u00d86.4 mm holes at the corners, 56 \u00d7 40.32 mm spacing.", "Chamfer 3.9 mm on vertical edges.", "Pocket 34.9 \u00d7 39.1 mm, 2.9 mm deep, in top face."], "text": "Rectangular body, 80 \u00d7 57.6 \u00d7 6 mm (W\u00d7D\u00d7H). Four \u00d86.4 mm holes at the corners, 56 \u00d7 40.32 mm spacing. Chamfer 3.9 mm on vertical edges. Pocket 34.9 \u00d7 39.1 mm, 2.9 mm deep, in top face."}, "params": {"plate_w": {"type": "float", "default": 80, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 57.6, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 6.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "chamfer_d": {"type": "float", "default": 3.9, "min": 2.3, "max": 4.1, "step": 0.5, "group": "Body", "label": "Chamfer distance (mm)"}, "chamfered": {"type": "bool", "default": true, "group": "Body", "label": "Chamfer edges"}, "pocket_w": {"type": "float", "default": 34.9, "min": 17.4, "max": 64.0, "step": 1.0, "group": "Pocket", "label": "Pocket width (mm)"}, "pocket_d": {"type": "float", "default": 39.1, "min": 19.6, "max": 46.1, "step": 1.0, "group": "Pocket", "label": "Pocket depth (mm)"}, "pocket_h": {"type": "float", "default": 2.9, "min": 1.2, "max": 5.1, "step": 0.5, "group": "Pocket", "label": "Pocket height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332010 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 80, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 57.6, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"chamfer_d\": {\"type\": 'float', \"default\": 3.9, \"min\": 2.3, \"max\": 4.1, \"step\": 0.5, \"group\": 'Body', \"label\": 'Chamfer distance (mm)'},\n    \"chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Chamfer edges'},\n    \"pocket_w\": {\"type\": 'float', \"default\": 34.9, \"min\": 17.4, \"max\": 64.0, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket width (mm)'},\n    \"pocket_d\": {\"type\": 'float', \"default\": 39.1, \"min\": 19.6, \"max\": 46.1, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket depth (mm)'},\n    \"pocket_h\": {\"type\": 'float', \"default\": 2.9, \"min\": 1.2, \"max\": 5.1, \"step\": 0.5, \"group\": 'Pocket', \"label\": 'Pocket height (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"chamfered\"]:\n        result = result.edges('|Z').chamfer(p[\"chamfer_d\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"pocket_w\"], p[\"pocket_d\"])\n        .cutBlind(-p[\"pocket_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462ca92b_3447", "family": "sketched", "tier": 1, "seed": 1177332011, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "c5992d3e615e83a8", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 33900.0, "surface_area": 6520.0, "principal_moments": [4840000.0, 6460000.0, 7770000.0], "n_faces": 8, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["freeform sketched section (5 segments: 2 straight, 1 arc, 2 curves), ~38.885 \u00d7 46.476 mm, extruded 25 mm thick.", "One \u00d84.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "freeform sketched section (5 segments: 2 straight, 1 arc, 2 curves), ~38.885 \u00d7 46.476 mm, extruded 25 mm thick. One \u00d84.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"sk_w": {"type": "float", "default": 50, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 55.72, "min": 27.9, "max": 100.3, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "sk_t": {"type": "float", "default": 25, "min": 10.0, "max": 55.0, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "sk_hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 8.6, "step": 0.5, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332011 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 50, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 55.72, \"min\": 27.9, \"max\": 100.3, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"sk_t\": {\"type\": 'float', \"default\": 25, \"min\": 10.0, \"max\": 55.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"sk_hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 8.6, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.4133, p[\"sk_h\"] * -0.1624).bezier([(p[\"sk_w\"] * 0.4133, p[\"sk_h\"] * -0.1624), (p[\"sk_w\"] * 0.3697, p[\"sk_h\"] * 0.073), (p[\"sk_w\"] * 0.2746, p[\"sk_h\"] * 0.2928)]).lineTo(p[\"sk_w\"] * -0.2626, p[\"sk_h\"] * 0.375).lineTo(p[\"sk_w\"] * -0.3644, p[\"sk_h\"] * -0.2135).spline([(p[\"sk_w\"] * -0.3644, p[\"sk_h\"] * -0.2135), (p[\"sk_w\"] * -0.215, p[\"sk_h\"] * -0.3566), (p[\"sk_w\"] * -0.0353, p[\"sk_h\"] * -0.4591)]).threePointArc((p[\"sk_w\"] * 0.2411, p[\"sk_h\"] * -0.3893), (p[\"sk_w\"] * 0.4133, p[\"sk_h\"] * -0.1624)).close().extrude(p[\"sk_t\"]))\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"sk_hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462ca92c_3448", "family": "swept", "tier": 2, "seed": 1177332012, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "92d9561a7fb9e048", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 12500.0, "surface_area": 4740.0, "principal_moments": [561000.0, 15999999.999999998, 16399999.999999998], "n_faces": 3, "n_edges": 3, "n_vertices": 2}, "dimensions": {"lines": ["\u00d811.6 mm circular section swept along a curved path, ~105 mm span."], "text": "\u00d811.6 mm circular section swept along a curved path, ~105 mm span."}, "params": {"path_w": {"type": "float", "default": 66.62, "min": 33.3, "max": 119.9, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 105, "min": 52.5, "max": 189.0, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_d": {"type": "float", "default": 11.6, "min": 5.8, "max": 20.9, "step": 1.0, "group": "Section", "label": "Section diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332012 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 66.62, \"min\": 33.3, \"max\": 119.9, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 105, \"min\": 52.5, \"max\": 189.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_d\": {\"type\": 'float', \"default\": 11.6, \"min\": 5.8, \"max\": 20.9, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.0842, p[\"path_h\"] * 0.4489), (p[\"path_w\"] * 0.3029, p[\"path_h\"] * 0.5645), (p[\"path_w\"] * 0.6957, p[\"path_h\"] * 0.7946), (p[\"path_w\"] * 0.8615, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').circle(p[\"sweep_d\"] / 2).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca92d_3449", "family": "bracket", "tier": 1, "seed": 1177332013, "symmetry": "none", "op_count": 1, "ir_hash": "a29dbaf8591ae5f2", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 19400.0, "surface_area": 14100.0, "principal_moments": [5930000.0, 13799999.999999998, 16900000.0], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Z-bracket: base leg 45.99 mm, vertical leg 45.7 mm, top leg 38.1 mm, 52.53 mm wide, 3 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."], "text": "Z-bracket: base leg 45.99 mm, vertical leg 45.7 mm, top leg 38.1 mm, 52.53 mm wide, 3 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 45.99, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 45.7, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 52.53, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 3.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 38.1, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332013 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 45.99, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 45.7, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 52.53, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 38.1, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462ca92e_3450", "family": "ribbed", "tier": 1, "seed": 1177332014, "symmetry": "none", "op_count": 2, "ir_hash": "814d991bb11e39f0", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 46400.0, "surface_area": 19300.0, "principal_moments": [16199999.999999998, 24099999.999999996, 36400000.0], "n_faces": 26, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 74.22 \u00d7 62.1 \u00d7 5 mm (W\u00d7D\u00d7H).", "Four ribs, 5.9 mm thick, 16.7 mm tall."], "text": "Rectangular body, 74.22 \u00d7 62.1 \u00d7 5 mm (W\u00d7D\u00d7H). Four ribs, 5.9 mm thick, 16.7 mm tall."}, "params": {"base_w": {"type": "float", "default": 74.22, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 62.1, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 5.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 4, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 16.7, "min": 6.7, "max": 33.4, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 5.9, "min": 1.0, "max": 14.8, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332014 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 74.22, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 62.1, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 4, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 16.7, \"min\": 6.7, \"max\": 33.4, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 5.9, \"min\": 1.0, \"max\": 14.8, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca92f_3451", "family": "plate", "tier": 0, "seed": 1177332015, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "40bec4475a235d2f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 20700.0, "surface_area": 6190.0, "principal_moments": [1490000.0, 9880000.0, 11000000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 75 \u00d7 27.6 \u00d7 10 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 75 \u00d7 27.6 \u00d7 10 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 75, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 27.6, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332015 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 75, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 27.6, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462ca930_3452", "family": "ribbed", "tier": 2, "seed": 1177332016, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "69677baad2ae3ddb", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 23000.0, "surface_area": 9400.0, "principal_moments": [3350000.0, 5850000.0, 8600000.0], "n_faces": 62, "n_edges": 168, "n_vertices": 104}, "dimensions": {"lines": ["Rectangular body, 55 \u00d7 38.5 \u00d7 8 mm (W\u00d7D\u00d7H).", "Six ribs, 4.9 mm thick, 5.1 mm tall.", "Four \u00d84.3 mm holes at the corners, 38.5 \u00d7 26.95 mm spacing."], "text": "Rectangular body, 55 \u00d7 38.5 \u00d7 8 mm (W\u00d7D\u00d7H). Six ribs, 4.9 mm thick, 5.1 mm tall. Four \u00d84.3 mm holes at the corners, 38.5 \u00d7 26.95 mm spacing."}, "params": {"base_w": {"type": "float", "default": 55, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 38.5, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 8.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 6, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 5.1, "min": 2.0, "max": 10.2, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 4.9, "min": 1.0, "max": 12.2, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 8.7, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332016 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 55, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 38.5, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 6, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 5.1, \"min\": 2.0, \"max\": 10.2, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 4.9, \"min\": 1.0, \"max\": 12.2, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 8.7, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"base_w\"] * 0.7, p[\"base_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca931_3453", "family": "bracket", "tier": 2, "seed": 1177332017, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "4baf4c99381e3c68", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 13800.0, "surface_area": 8040.0, "principal_moments": [2540000.0, 6100000.0, 6240000.0], "n_faces": 14, "n_edges": 37, "n_vertices": 24}, "dimensions": {"lines": ["L-bracket: base leg 52.88 mm, vertical leg 45 mm, 35 mm wide, 4 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg; 4.2 mm corner gusset."], "text": "L-bracket: base leg 52.88 mm, vertical leg 45 mm, 35 mm wide, 4 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg; 4.2 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 52.88, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 45.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 35, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 4.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 4.2, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332017 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 52.88, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 45.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 35, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 4.2, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462ca932_3454", "family": "sketched", "tier": 2, "seed": 1177332018, "symmetry": "none", "op_count": 3, "ir_hash": "c7addcddfa036a20", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 20200.0, "surface_area": 5170.0, "principal_moments": [1730000.0, 3830000.0, 4620000.0], "n_faces": 9, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["freeform sketched section (4 segments: 2 straight, 2 arcs), ~58.381 \u00d7 34.995 mm, extruded 16.23 mm thick.", "One \u00d84.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch.", "Boss \u00d810.3 mm \u00d7 4.6 mm tall on top face with a \u00d84.3 mm bore."], "text": "freeform sketched section (4 segments: 2 straight, 2 arcs), ~58.381 \u00d7 34.995 mm, extruded 16.23 mm thick. One \u00d84.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch. Boss \u00d810.3 mm \u00d7 4.6 mm tall on top face with a \u00d84.3 mm bore."}, "params": {"sk_w": {"type": "float", "default": 86.35, "min": 43.2, "max": 155.4, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 52.06, "min": 26.0, "max": 93.7, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "sk_t": {"type": "float", "default": 16.23, "min": 6.5, "max": 35.7, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "sk_hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 8.6, "step": 0.5, "group": "Holes", "label": "Hole diameter (mm)"}, "boss_d": {"type": "float", "default": 10.3, "min": 5.2, "max": 20.6, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 4.6, "min": 1.8, "max": 11.5, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}, "boss_bore_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 7.2, "step": 0.1, "group": "Boss", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332018 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 86.35, \"min\": 43.2, \"max\": 155.4, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 52.06, \"min\": 26.0, \"max\": 93.7, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"sk_t\": {\"type\": 'float', \"default\": 16.23, \"min\": 6.5, \"max\": 35.7, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"sk_hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 8.6, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"boss_d\": {\"type\": 'float', \"default\": 10.3, \"min\": 5.2, \"max\": 20.6, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 4.6, \"min\": 1.8, \"max\": 11.5, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n    \"boss_bore_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 7.2, \"step\": 0.1, \"group\": 'Boss', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.3946, p[\"sk_h\"] * -0.073).threePointArc((p[\"sk_w\"] * 0.2958, p[\"sk_h\"] * 0.1728), (p[\"sk_w\"] * 0.091, p[\"sk_h\"] * 0.3158)).lineTo(p[\"sk_w\"] * -0.2815, p[\"sk_h\"] * -0.1537).lineTo(p[\"sk_w\"] * -0.0084, p[\"sk_h\"] * -0.3564).threePointArc((p[\"sk_w\"] * 0.251, p[\"sk_h\"] * -0.2741), (p[\"sk_w\"] * 0.3946, p[\"sk_h\"] * -0.073)).close().extrude(p[\"sk_t\"]))\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"sk_hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .hole(p[\"boss_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca933_3455", "family": "compound", "tier": 1, "seed": 1177332019, "symmetry": "none", "op_count": 3, "ir_hash": "f35eb44960af858a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 464000.0, "surface_area": 42200.0, "principal_moments": [431000000.0, 466000000.0, 528000000.0], "n_faces": 15, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 80 \u00d7 67.5 \u00d7 85.5 mm (W\u00d7D\u00d7H).", "61.5 \u00d7 59 mm rectangular section attachment, 3 mm long, from front face.", "Four \u00d86.4 mm holes at the corners, 36.9 \u00d7 35.4 mm spacing on the <Y face."], "text": "Rectangular body, 80 \u00d7 67.5 \u00d7 85.5 mm (W\u00d7D\u00d7H). 61.5 \u00d7 59 mm rectangular section attachment, 3 mm long, from front face. Four \u00d86.4 mm holes at the corners, 36.9 \u00d7 35.4 mm spacing on the <Y face."}, "params": {"block_w": {"type": "float", "default": 80.0, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 67.5, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 85.5, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "tab_a": {"type": "float", "default": 61.5, "min": 24.6, "max": 98.4, "step": 1.0, "group": "Tab", "label": "Tab width (mm)"}, "tab_b": {"type": "float", "default": 59.0, "min": 23.6, "max": 94.4, "step": 1.0, "group": "Tab", "label": "Tab height (mm)"}, "tab_t": {"type": "float", "default": 3.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Tab", "label": "Tab thickness (mm)"}, "tab_hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Tab", "label": "Tab hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332019 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 80.0, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 67.5, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 85.5, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"tab_a\": {\"type\": 'float', \"default\": 61.5, \"min\": 24.6, \"max\": 98.4, \"step\": 1.0, \"group\": 'Tab', \"label\": 'Tab width (mm)'},\n    \"tab_b\": {\"type\": 'float', \"default\": 59.0, \"min\": 23.6, \"max\": 94.4, \"step\": 1.0, \"group\": 'Tab', \"label\": 'Tab height (mm)'},\n    \"tab_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Tab', \"label\": 'Tab thickness (mm)'},\n    \"tab_hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Tab', \"label\": 'Tab hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .rect(p[\"tab_a\"], p[\"tab_b\"]).extrude(p[\"tab_t\"])\n    )\n    result = (\n        result.faces('<Y').workplane()\n        .rect(p[\"tab_a\"] * 0.6, p[\"tab_b\"] * 0.6, forConstruction=True)\n        .vertices().hole(p[\"tab_hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca934_3456", "family": "plate", "tier": 3, "seed": 1177332020, "symmetry": "none", "op_count": 3, "ir_hash": "ac9ae69b556d8f6d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 44000.0, "surface_area": 15800.0, "principal_moments": [7030000.0, 58099999.99999999, 64099999.99999999], "n_faces": 27, "n_edges": 72, "n_vertices": 48}, "dimensions": {"lines": ["Rectangular body, 120 \u00d7 40.3 \u00d7 12 mm (W\u00d7D\u00d7H).", "Four 10.1 mm square holes at the corners, 84 \u00d7 28.21 mm spacing.", "Pocket 66.3 \u00d7 20.8 mm, 6.6 mm deep, in top face."], "text": "Rectangular body, 120 \u00d7 40.3 \u00d7 12 mm (W\u00d7D\u00d7H). Four 10.1 mm square holes at the corners, 84 \u00d7 28.21 mm spacing. Pocket 66.3 \u00d7 20.8 mm, 6.6 mm deep, in top face."}, "params": {"plate_w": {"type": "float", "default": 120.0, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 40.3, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 10.1, "min": 2.0, "max": 11.8, "step": 0.5, "group": "Holes", "label": "Square hole size (mm)"}, "pocket_w": {"type": "float", "default": 66.3, "min": 33.1, "max": 96.0, "step": 1.0, "group": "Pocket", "label": "Pocket width (mm)"}, "pocket_d": {"type": "float", "default": 20.8, "min": 10.4, "max": 32.2, "step": 1.0, "group": "Pocket", "label": "Pocket depth (mm)"}, "pocket_h": {"type": "float", "default": 6.6, "min": 2.6, "max": 10.2, "step": 0.5, "group": "Pocket", "label": "Pocket height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332020 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 120.0, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 40.3, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 10.1, \"min\": 2.0, \"max\": 11.8, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Square hole size (mm)'},\n    \"pocket_w\": {\"type\": 'float', \"default\": 66.3, \"min\": 33.1, \"max\": 96.0, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket width (mm)'},\n    \"pocket_d\": {\"type\": 'float', \"default\": 20.8, \"min\": 10.4, \"max\": 32.2, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket depth (mm)'},\n    \"pocket_h\": {\"type\": 'float', \"default\": 6.6, \"min\": 2.6, \"max\": 10.2, \"step\": 0.5, \"group\": 'Pocket', \"label\": 'Pocket height (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().rect(p[\"hole_d\"], p[\"hole_d\"]).cutThruAll()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"pocket_w\"], p[\"pocket_d\"])\n        .cutBlind(-p[\"pocket_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca935_3457", "family": "bracket", "tier": 2, "seed": 1177332021, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "3db524e8f38b5984", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 16600.0, "surface_area": 8190.0, "principal_moments": [2600000.0, 11399999.999999998, 11999999.999999998], "n_faces": 14, "n_edges": 37, "n_vertices": 24}, "dimensions": {"lines": ["L-bracket: base leg 75 mm, vertical leg 46 mm, 27.21 mm wide, 5 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg; 4.5 mm corner gusset."], "text": "L-bracket: base leg 75 mm, vertical leg 46 mm, 27.21 mm wide, 5 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg; 4.5 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 75, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 46.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 27.21, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 5.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 4.5, "min": 2.5, "max": 13.6, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332021 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 75, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 46.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 27.21, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 4.5, \"min\": 2.5, \"max\": 13.6, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca936_3458", "family": "revolved", "tier": 0, "seed": 1177332022, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "36083a6749d4688c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 524000.0, "surface_area": 65600.0, "principal_moments": [481000000.0, 1070000000.0, 1070000000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d878.26 mm \u00d7 163.4 mm tall."], "text": "Revolved body, \u00d878.26 mm \u00d7 163.4 mm tall."}, "params": {"outer_d": {"type": "float", "default": 78.26, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 163.4, "min": 49.0, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332022 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 78.26, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 163.4, \"min\": 49.0, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462ca937_3459", "family": "flanged", "tier": 1, "seed": 1177332023, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "0c5e70e4a5b3144d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 443000.0, "surface_area": 75000.0, "principal_moments": [580000000.0, 830000000.0, 830000000.0], "n_faces": 29, "n_edges": 114, "n_vertices": 76}, "dimensions": {"lines": ["Revolved body, \u00d880.01 mm \u00d7 111.1 mm tall with \u00d841.9 mm bore, \u00d8135.2 mm \u00d7 7.5 mm flange.", "Twelve \u00d88.4 mm holes on a \u00d881.2 mm bolt circle."], "text": "Revolved body, \u00d880.01 mm \u00d7 111.1 mm tall with \u00d841.9 mm bore, \u00d8135.2 mm \u00d7 7.5 mm flange. Twelve \u00d88.4 mm holes on a \u00d881.2 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 80.01, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 111.1, "min": 33.3, "max": 277.8, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 41.9, "min": 2.0, "max": 56.0, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 135.2, "min": 104.0, "max": 240.0, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 7.5, "min": 2.2, "max": 44.4, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 8.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 40.6, "min": 27.0, "max": 60.8, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 12, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332023 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 80.01, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 111.1, \"min\": 33.3, \"max\": 277.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 41.9, \"min\": 2.0, \"max\": 56.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 135.2, \"min\": 104.0, \"max\": 240.0, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 7.5, \"min\": 2.2, \"max\": 44.4, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 40.6, \"min\": 27.0, \"max\": 60.8, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 12, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca938_3460", "family": "revolved", "tier": 0, "seed": 1177332024, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "b402b5ec834b3929", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 26800.0, "surface_area": 7690.0, "principal_moments": [5610000.0, 5610000.0, 9840000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d849.48 mm \u00d7 20.9 mm tall."], "text": "Revolved body, \u00d849.48 mm \u00d7 20.9 mm tall."}, "params": {"outer_d": {"type": "float", "default": 49.48, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 20.9, "min": 6.3, "max": 62.7, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332024 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 49.48, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 20.9, \"min\": 6.3, \"max\": 62.7, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca939_3461", "family": "bracket", "tier": 2, "seed": 1177332025, "symmetry": "none", "op_count": 1, "ir_hash": "91aa35710c98588e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 26100.0, "surface_area": 12100.0, "principal_moments": [7270000.0, 12199999.999999998, 17900000.0], "n_faces": 18, "n_edges": 48, "n_vertices": 32}, "dimensions": {"lines": ["Z-bracket: base leg 44.42 mm, vertical leg 26.9 mm, top leg 35.6 mm, 54.29 mm wide, 5 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg; 4.2 mm corner gusset."], "text": "Z-bracket: base leg 44.42 mm, vertical leg 26.9 mm, top leg 35.6 mm, 54.29 mm wide, 5 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg; 4.2 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 44.42, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 26.9, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 54.29, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 5.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 35.6, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}, "gusset_t": {"type": "float", "default": 4.2, "min": 2.5, "max": 15.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332025 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 44.42, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 26.9, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 54.29, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 35.6, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 4.2, \"min\": 2.5, \"max\": 15.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _tl, _vl) * 0.4 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(0, _vl - _bt).lineTo(-_g, _vl - _bt)\n                    .lineTo(0, _vl - _bt - _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca93a_3462", "family": "revolved", "tier": 2, "seed": 1177332026, "symmetry": "radial", "op_count": 2, "ir_hash": "67e19f1e5733d76e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 577000.0, "surface_area": 82900.0, "principal_moments": [424000000.0, 2950000000.0, 2950000000.0], "n_faces": 8, "n_edges": 14, "n_vertices": 8}, "dimensions": {"lines": ["Revolved body, \u00d866.94 mm \u00d7 238.9 mm tall with \u00d837.5 mm bore.", "Chamfer 0.8 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d866.94 mm \u00d7 238.9 mm tall with \u00d837.5 mm bore. Chamfer 0.8 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 66.94, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 238.9, "min": 71.7, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 37.5, "min": 2.0, "max": 46.9, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "end_chamfer": {"type": "float", "default": 0.8, "min": 0.1, "max": 2.4, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332026 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 66.94, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 238.9, \"min\": 71.7, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 37.5, \"min\": 2.0, \"max\": 46.9, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.8, \"min\": 0.1, \"max\": 2.4, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca93c_3464", "family": "bracket", "tier": 1, "seed": 1177332028, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "f6471ae68d6140ff", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 10800.0, "surface_area": 8130.0, "principal_moments": [2190000.0, 2990000.0, 3820000.0], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["C-channel bracket: base leg 30 mm, vertical leg 25 mm, 50 mm wide, 3 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."], "text": "C-channel bracket: base leg 30 mm, vertical leg 25 mm, 50 mm wide, 3 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 30, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 25.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 50, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 3.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332028 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 30, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 25.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 50, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462ca93d_3465", "family": "gear", "tier": 2, "seed": 1177332029, "symmetry": "none", "op_count": 1, "ir_hash": "f9a6a5a804e1ae41", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 12900.0, "surface_area": 5140.0, "principal_moments": [1220000.0, 1220000.0, 1880000.0], "n_faces": 99, "n_edges": 291, "n_vertices": 194}, "dimensions": {"lines": ["Helical gear, module 2.5 mm, 12 teeth (pitch \u00d830 mm), face width 16.2 mm, 22.6\u00b0 helix, \u00d85.7 mm bore."], "text": "Helical gear, module 2.5 mm, 12 teeth (pitch \u00d830 mm), face width 16.2 mm, 22.6\u00b0 helix, \u00d85.7 mm bore."}, "params": {"module": {"type": "float", "default": 2.5, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 12, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 16.2, "min": 6.5, "max": 40.5, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "helix_angle": {"type": "float", "default": 22.6, "min": 5.0, "max": 40.0, "step": 1.0, "group": "Gear", "label": "Helix angle (deg)"}, "profile_shift": {"type": "float", "default": 0.06, "min": -0.5, "max": 0.7, "step": 0.05, "group": "Gear", "label": "Profile shift"}, "root_fillet": {"type": "float", "default": 0.31, "min": 0.0, "max": 1.25, "step": 0.05, "group": "Gear", "label": "Root fillet (mm)"}, "bore_d": {"type": "float", "default": 5.7, "min": 2.0, "max": 14.2, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332029 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 2.5, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 12, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 16.2, \"min\": 6.5, \"max\": 40.5, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"helix_angle\": {\"type\": 'float', \"default\": 22.6, \"min\": 5.0, \"max\": 40.0, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Helix angle (deg)'},\n    \"profile_shift\": {\"type\": 'float', \"default\": 0.06, \"min\": -0.5, \"max\": 0.7, \"step\": 0.05, \"group\": 'Gear', \"label\": 'Profile shift'},\n    \"root_fillet\": {\"type\": 'float', \"default\": 0.31, \"min\": 0.0, \"max\": 1.25, \"step\": 0.05, \"group\": 'Gear', \"label\": 'Root fillet (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 5.7, \"min\": 2.0, \"max\": 14.2, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.HelicalGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"], helix_angle=math.radians(p[\"helix_angle\"]), herringbone=False, profile_shift=p[\"profile_shift\"], root_fillet=p[\"root_fillet\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462ca93e_3466", "family": "flanged", "tier": 2, "seed": 1177332030, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "307e6fb81b80382e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 252000.0, "surface_area": 47400.0, "principal_moments": [254000000.0, 254000000.0, 341000000.0], "n_faces": 14, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["Revolved body, \u00d864.03 mm \u00d7 57.9 mm tall with \u00d820.1 mm bore, \u00d8139.4 mm \u00d7 7 mm flange.", "Eight \u00d84.3 mm holes on a \u00d883.6 mm bolt circle."], "text": "Revolved body, \u00d864.03 mm \u00d7 57.9 mm tall with \u00d820.1 mm bore, \u00d8139.4 mm \u00d7 7 mm flange. Eight \u00d84.3 mm holes on a \u00d883.6 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 64.03, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 57.9, "min": 17.4, "max": 144.8, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 20.1, "min": 2.0, "max": 44.8, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 139.4, "min": 83.2, "max": 192.1, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 7.0, "min": 2.1, "max": 23.2, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 41.8, "min": 27.9, "max": 62.7, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 8, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332030 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 64.03, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 57.9, \"min\": 17.4, \"max\": 144.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 20.1, \"min\": 2.0, \"max\": 44.8, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 139.4, \"min\": 83.2, \"max\": 192.1, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 7.0, \"min\": 2.1, \"max\": 23.2, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 41.8, \"min\": 27.9, \"max\": 62.7, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca93f_3467", "family": "revolved", "tier": 1, "seed": 1177332031, "symmetry": "none", "op_count": 1, "ir_hash": "5d2665a6740438f9", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 7060.0, "surface_area": 4420.0, "principal_moments": [238000.0, 1620000.0, 1620000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d815 mm \u00d7 59.9 mm tall."], "text": "Revolved body, \u00d815 mm \u00d7 59.9 mm tall."}, "params": {"outer_d": {"type": "float", "default": 15, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 59.9, "min": 18.0, "max": 179.7, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332031 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 15, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 59.9, \"min\": 18.0, \"max\": 179.7, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462ca940_3468", "family": "ribbed", "tier": 2, "seed": 1177332032, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "76221e453d1ebfbc", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 21900.0, "surface_area": 8640.0, "principal_moments": [2530000.0, 3790000.0, 4930000.0], "n_faces": 54, "n_edges": 132, "n_vertices": 80}, "dimensions": {"lines": ["Rectangular body, 42.03 \u00d7 30.2 \u00d7 10 mm (W\u00d7D\u00d7H).", "Six ribs, 4.7 mm thick, 9.7 mm tall."], "text": "Rectangular body, 42.03 \u00d7 30.2 \u00d7 10 mm (W\u00d7D\u00d7H). Six ribs, 4.7 mm thick, 9.7 mm tall."}, "params": {"base_w": {"type": "float", "default": 42.03, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 30.2, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 10.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 6, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 9.7, "min": 3.9, "max": 19.4, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 4.7, "min": 1.0, "max": 11.8, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332032 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 42.03, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 30.2, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 6, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 9.7, \"min\": 3.9, \"max\": 19.4, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 4.7, \"min\": 1.0, \"max\": 11.8, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca941_3469", "family": "revolved", "tier": 1, "seed": 1177332033, "symmetry": "none", "op_count": 1, "ir_hash": "bea4e334ce3f3ed4", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 1110000.0, "surface_area": 95900.0, "principal_moments": [862000000.0, 7700000000.0, 7700000000.0], "n_faces": 4, "n_edges": 6, "n_vertices": 4}, "dimensions": {"lines": ["Revolved body, \u00d875 mm \u00d7 280.9 mm tall with \u00d824.8 mm bore."], "text": "Revolved body, \u00d875 mm \u00d7 280.9 mm tall with \u00d824.8 mm bore."}, "params": {"outer_d": {"type": "float", "default": 75, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 280.9, "min": 84.3, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 24.8, "min": 2.0, "max": 52.5, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332033 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 75, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 280.9, \"min\": 84.3, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 24.8, \"min\": 2.0, \"max\": 52.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca942_3470", "family": "plate", "tier": 0, "seed": 1177332034, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "518f3624764d953e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 31600.0, "surface_area": 12400.0, "principal_moments": [7370000.0, 26399999.999999996, 33600000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 100 \u00d7 52.6 \u00d7 6 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 100 \u00d7 52.6 \u00d7 6 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 100, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 52.6, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 6.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332034 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 100, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 52.6, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462ca943_3471", "family": "ribbed", "tier": 3, "seed": 1177332035, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "74bae63a038f52b3", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 23700.0, "surface_area": 10400.0, "principal_moments": [5610000.0, 9760000.0, 14799999.999999998], "n_faces": 22, "n_edges": 52, "n_vertices": 32}, "dimensions": {"lines": ["Rectangular body, 65 \u00d7 51.9 \u00d7 6 mm (W\u00d7D\u00d7H).", "Two ribs, 3.2 mm thick, 10.4 mm tall."], "text": "Rectangular body, 65 \u00d7 51.9 \u00d7 6 mm (W\u00d7D\u00d7H). Two ribs, 3.2 mm thick, 10.4 mm tall."}, "params": {"base_w": {"type": "float", "default": 65, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 51.9, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 6.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 2, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 10.4, "min": 4.2, "max": 20.8, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 3.2, "min": 1.0, "max": 8.0, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332035 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 65, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 51.9, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 2, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 10.4, \"min\": 4.2, \"max\": 20.8, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 3.2, \"min\": 1.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca944_3472", "family": "plate", "tier": 3, "seed": 1177332036, "symmetry": "none", "op_count": 4, "ir_hash": "7e6525caa5b6c61c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 12900.0, "surface_area": 9280.0, "principal_moments": [4400000.0, 5120000.0, 9490000.0], "n_faces": 24, "n_edges": 63, "n_vertices": 42}, "dimensions": {"lines": ["Rectangular body, 65 \u00d7 60.3 \u00d7 4 mm (W\u00d7D\u00d7H).", "Nine \u00d83.2 mm holes in a 3\u00d73 grid, 26 \u00d7 24.1 mm pitch.", "Chamfer 2.6 mm on vertical edges.", "Pocket 33.6 \u00d7 31.8 mm, 2.3 mm deep, in top face."], "text": "Rectangular body, 65 \u00d7 60.3 \u00d7 4 mm (W\u00d7D\u00d7H). Nine \u00d83.2 mm holes in a 3\u00d73 grid, 26 \u00d7 24.1 mm pitch. Chamfer 2.6 mm on vertical edges. Pocket 33.6 \u00d7 31.8 mm, 2.3 mm deep, in top face."}, "params": {"plate_w": {"type": "float", "default": 65, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 60.3, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 4.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 7.2, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 3, "min": 1, "max": 4, "step": 1, "group": "Holes", "label": "Holes across"}, "hole_ny": {"type": "int", "default": 3, "min": 1, "max": 4, "step": 1, "group": "Holes", "label": "Holes deep"}, "chamfer_d": {"type": "float", "default": 2.6, "min": 2.0, "max": 3.3, "step": 0.5, "group": "Body", "label": "Chamfer distance (mm)"}, "chamfered": {"type": "bool", "default": true, "group": "Body", "label": "Chamfer edges"}, "pocket_w": {"type": "float", "default": 33.6, "min": 16.8, "max": 52.0, "step": 1.0, "group": "Pocket", "label": "Pocket width (mm)"}, "pocket_d": {"type": "float", "default": 31.8, "min": 15.9, "max": 48.2, "step": 1.0, "group": "Pocket", "label": "Pocket depth (mm)"}, "pocket_h": {"type": "float", "default": 2.3, "min": 0.9, "max": 3.4, "step": 0.5, "group": "Pocket", "label": "Pocket height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332036 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 65, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 60.3, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 4.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 7.2, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 3, \"min\": 1, \"max\": 4, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes across'},\n    \"hole_ny\": {\"type\": 'int', \"default\": 3, \"min\": 1, \"max\": 4, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes deep'},\n    \"chamfer_d\": {\"type\": 'float', \"default\": 2.6, \"min\": 2.0, \"max\": 3.3, \"step\": 0.5, \"group\": 'Body', \"label\": 'Chamfer distance (mm)'},\n    \"chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Chamfer edges'},\n    \"pocket_w\": {\"type\": 'float', \"default\": 33.6, \"min\": 16.8, \"max\": 52.0, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket width (mm)'},\n    \"pocket_d\": {\"type\": 'float', \"default\": 31.8, \"min\": 15.9, \"max\": 48.2, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket depth (mm)'},\n    \"pocket_h\": {\"type\": 'float', \"default\": 2.3, \"min\": 0.9, \"max\": 3.4, \"step\": 0.5, \"group\": 'Pocket', \"label\": 'Pocket height (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(26.0, 24.1, p[\"hole_nx\"], p[\"hole_ny\"])\n        .hole(p[\"hole_d\"])\n    )\n    if p[\"chamfered\"]:\n        result = result.edges('|Z').chamfer(p[\"chamfer_d\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"pocket_w\"], p[\"pocket_d\"])\n        .cutBlind(-p[\"pocket_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca945_3473", "family": "bracket", "tier": 3, "seed": 1177332037, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "47ed8867e565d127", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 25500.0, "surface_area": 14200.0, "principal_moments": [8030000.0, 24799999.999999996, 28399999.999999996], "n_faces": 17, "n_edges": 55, "n_vertices": 34}, "dimensions": {"lines": ["L-bracket: base leg 80 mm, vertical leg 80.9 mm, 35 mm wide, 4 mm thick; 2 \u00d7 \u00d85.3 mm holes per leg; 4.8 mm corner gusset."], "text": "L-bracket: base leg 80 mm, vertical leg 80.9 mm, 35 mm wide, 4 mm thick; 2 \u00d7 \u00d85.3 mm holes per leg; 4.8 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 80, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 80.9, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 35, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 4.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 2, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 4.8, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332037 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 80, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 80.9, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 35, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 2, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 4.8, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462ca946_3474", "family": "swept", "tier": 1, "seed": 1177332038, "symmetry": "none", "op_count": 1, "ir_hash": "c883a19cac8fa3f5", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 10200.0, "surface_area": 3650.0, "principal_moments": [453000.0, 4650000.0, 4900000.0], "n_faces": 3, "n_edges": 3, "n_vertices": 2}, "dimensions": {"lines": ["\u00d812.8 mm circular section swept along a curved path, ~54.07 mm span."], "text": "\u00d812.8 mm circular section swept along a curved path, ~54.07 mm span."}, "params": {"path_w": {"type": "float", "default": 50, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 54.07, "min": 27.0, "max": 97.3, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_d": {"type": "float", "default": 12.8, "min": 6.4, "max": 23.0, "step": 1.0, "group": "Section", "label": "Section diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332038 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 50, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 54.07, \"min\": 27.0, \"max\": 97.3, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_d\": {\"type\": 'float', \"default\": 12.8, \"min\": 6.4, \"max\": 23.0, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.2428, p[\"path_h\"] * 0.2316), (p[\"path_w\"] * 0.5895, p[\"path_h\"] * 0.5357), (p[\"path_w\"] * 0.5064, p[\"path_h\"] * 0.8474), (p[\"path_w\"] * 0.9471, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').circle(p[\"sweep_d\"] / 2).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462ca947_3475", "family": "lofted", "tier": 1, "seed": 1177332039, "symmetry": "none", "op_count": 2, "ir_hash": "2747400b064b33e3", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 106000.0, "surface_area": 16300.0, "principal_moments": [43800000.0, 43800000.0, 47799999.99999999], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["Lofted body through 2 sections: 65 \u00d7 65 mm rectangular section \u2192 6-sided polygon section, 25.3 mm across corners.", "One \u00d811.1 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 2 sections: 65 \u00d7 65 mm rectangular section \u2192 6-sided polygon section, 25.3 mm across corners. One \u00d811.1 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 65, "min": 32.5, "max": 104.0, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 25.3, "min": 10.1, "max": 78.0, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 55.6, "min": 22.2, "max": 111.2, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_bore_d": {"type": "float", "default": 11.1, "min": 2.0, "max": 20.2, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332039 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 65, \"min\": 32.5, \"max\": 104.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 25.3, \"min\": 10.1, \"max\": 78.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 55.6, \"min\": 22.2, \"max\": 111.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 11.1, \"min\": 2.0, \"max\": 20.2, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .rect(p[\"loft_base\"], p[\"loft_base\"])\n        .workplane(offset=p[\"loft_h\"])\n        .polygon(6, p[\"loft_top\"] * 0.5 * 2)\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca948_3476", "family": "bracket", "tier": 1, "seed": 1177332040, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "019da2dc648904d1", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 53400.0, "surface_area": 16700.0, "principal_moments": [20500000.0, 61599999.99999999, 63999999.99999999], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["L-bracket: base leg 89.14 mm, vertical leg 68.1 mm, 45 mm wide, 8 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."], "text": "L-bracket: base leg 89.14 mm, vertical leg 68.1 mm, 45 mm wide, 8 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 89.14, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 68.1, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 45, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 8.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332040 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 89.14, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 68.1, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 45, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462ca949_3477", "family": "flanged", "tier": 2, "seed": 1177332041, "symmetry": "radial", "op_count": 2, "ir_hash": "df422a5173b3bd72", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 547000.0, "surface_area": 89400.0, "principal_moments": [1190000000.0, 1190000000.0, 2170000000.0], "n_faces": 12, "n_edges": 27, "n_vertices": 18}, "dimensions": {"lines": ["Revolved body, \u00d892.67 mm \u00d7 49.6 mm tall with \u00d843.3 mm bore, \u00d8205.9 mm \u00d7 10.8 mm flange.", "Six \u00d84.3 mm holes on a \u00d8123.6 mm bolt circle."], "text": "Revolved body, \u00d892.67 mm \u00d7 49.6 mm tall with \u00d843.3 mm bore, \u00d8205.9 mm \u00d7 10.8 mm flange. Six \u00d84.3 mm holes on a \u00d8123.6 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 92.67, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 49.6, "min": 14.9, "max": 124.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 43.3, "min": 2.0, "max": 64.9, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 205.9, "min": 120.5, "max": 278.0, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 10.8, "min": 3.2, "max": 19.8, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 61.8, "min": 41.2, "max": 92.7, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 6, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332041 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 92.67, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 49.6, \"min\": 14.9, \"max\": 124.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 43.3, \"min\": 2.0, \"max\": 64.9, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 205.9, \"min\": 120.5, \"max\": 278.0, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 10.8, \"min\": 3.2, \"max\": 19.8, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 61.8, \"min\": 41.2, \"max\": 92.7, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462ca94a_3478", "family": "flanged", "tier": 1, "seed": 1177332042, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "3a35eaf686056476", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 42100.0, "surface_area": 14200.0, "principal_moments": [11100000.0, 16499999.999999998, 16499999.999999998], "n_faces": 13, "n_edges": 42, "n_vertices": 28}, "dimensions": {"lines": ["Revolved body, \u00d834.28 mm \u00d7 50.9 mm tall with \u00d817.5 mm bore, \u00d860.5 mm \u00d7 4.2 mm flange.", "Four \u00d84.3 mm holes on a \u00d836.2 mm bolt circle."], "text": "Revolved body, \u00d834.28 mm \u00d7 50.9 mm tall with \u00d817.5 mm bore, \u00d860.5 mm \u00d7 4.2 mm flange. Four \u00d84.3 mm holes on a \u00d836.2 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 34.28, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 50.9, "min": 15.3, "max": 127.2, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 17.5, "min": 2.0, "max": 24.0, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 60.5, "min": 44.6, "max": 102.8, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 4.2, "min": 1.3, "max": 20.4, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 18.1, "min": 12.1, "max": 27.2, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 4, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332042 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 34.28, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 50.9, \"min\": 15.3, \"max\": 127.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 17.5, \"min\": 2.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 60.5, \"min\": 44.6, \"max\": 102.8, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 4.2, \"min\": 1.3, \"max\": 20.4, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 18.1, \"min\": 12.1, \"max\": 27.2, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 4, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462ca94b_3479", "family": "lofted", "tier": 0, "seed": 1177332043, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "eb5edd6c8466cc30", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 55800.0, "surface_area": 8540.0, "principal_moments": [11499999.999999998, 15999999.999999998, 15999999.999999998], "n_faces": 7, "n_edges": 15, "n_vertices": 10}, "dimensions": {"lines": ["Lofted body through 2 sections: \u00d850.07 mm circular section \u2192 20.5 \u00d7 20.5 mm rectangular section."], "text": "Lofted body through 2 sections: \u00d850.07 mm circular section \u2192 20.5 \u00d7 20.5 mm rectangular section."}, "params": {"loft_base": {"type": "float", "default": 50.07, "min": 25.0, "max": 80.1, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 20.5, "min": 8.2, "max": 60.1, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 50.5, "min": 20.2, "max": 101.0, "step": 1.0, "group": "Body", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332043 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 50.07, \"min\": 25.0, \"max\": 80.1, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 20.5, \"min\": 8.2, \"max\": 60.1, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 50.5, \"min\": 20.2, \"max\": 101.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .circle(p[\"loft_base\"] / 2)\n        .workplane(offset=p[\"loft_h\"])\n        .rect(p[\"loft_top\"], p[\"loft_top\"])\n        .loft(combine=True)\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca94c_3480", "family": "bracket", "tier": 2, "seed": 1177332044, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "54810771f076e42b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 31200.0, "surface_area": 10100.0, "principal_moments": [7070000.0, 13799999.999999998, 15499999.999999998], "n_faces": 14, "n_edges": 37, "n_vertices": 24}, "dimensions": {"lines": ["L-bracket: base leg 55 mm, vertical leg 44.7 mm, 41.55 mm wide, 8 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg; 7.7 mm corner gusset."], "text": "L-bracket: base leg 55 mm, vertical leg 44.7 mm, 41.55 mm wide, 8 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg; 7.7 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 55, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 44.7, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 41.55, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 8.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 7.7, "min": 4.0, "max": 20.8, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332044 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 55, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 44.7, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 41.55, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 7.7, \"min\": 4.0, \"max\": 20.8, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462ca94d_3481", "family": "gear", "tier": 0, "seed": 1177332045, "symmetry": "none", "op_count": 1, "ir_hash": "1fd2e7a221a140b1", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 518000.0, "surface_area": 64400.0, "principal_moments": [822000000.0, 822000000.0, 1580000000.0], "n_faces": 236, "n_edges": 702, "n_vertices": 468}, "dimensions": {"lines": ["Spur gear, module 4 mm, 39 teeth (pitch \u00d8156 mm), face width 27.3 mm."], "text": "Spur gear, module 4 mm, 39 teeth (pitch \u00d8156 mm), face width 27.3 mm."}, "params": {"module": {"type": "float", "default": 4.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 39, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 27.3, "min": 10.9, "max": 68.2, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332045 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 4.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 39, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 27.3, \"min\": 10.9, \"max\": 68.2, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462ca94e_3482", "family": "gear", "tier": 1, "seed": 1177332046, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "fbeaab8ebfda452d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 6280.0, "surface_area": 3850.0, "principal_moments": [663000.0, 663000.0, 1300000.0], "n_faces": 163, "n_edges": 483, "n_vertices": 322}, "dimensions": {"lines": ["Spur gear, module 1 mm, 40 teeth (pitch \u00d840 mm), face width 5.2 mm, \u00d87.2 mm bore."], "text": "Spur gear, module 1 mm, 40 teeth (pitch \u00d840 mm), face width 5.2 mm, \u00d87.2 mm bore."}, "params": {"module": {"type": "float", "default": 1.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 40, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 5.2, "min": 2.1, "max": 13.0, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "bore_d": {"type": "float", "default": 7.2, "min": 2.0, "max": 22.5, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332046 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 1.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 40, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 5.2, \"min\": 2.1, \"max\": 13.0, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 7.2, \"min\": 2.0, \"max\": 22.5, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462ca94f_3483", "family": "gear", "tier": 1, "seed": 1177332047, "symmetry": "none", "op_count": 1, "ir_hash": "b78eb746639c7b88", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 1880.0, "surface_area": 1850.0, "principal_moments": [105000.0, 105000.0, 207000.0], "n_faces": 177, "n_edges": 525, "n_vertices": 350}, "dimensions": {"lines": ["Spur gear, module 1 mm, 29 teeth (pitch \u00d829 mm), face width 3 mm, \u00d85.8 mm bore."], "text": "Spur gear, module 1 mm, 29 teeth (pitch \u00d829 mm), face width 3 mm, \u00d85.8 mm bore."}, "params": {"module": {"type": "float", "default": 1.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 29, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 3.0, "min": 1.2, "max": 7.5, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "bore_d": {"type": "float", "default": 5.8, "min": 2.0, "max": 15.9, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332047 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 1.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 29, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 3.0, \"min\": 1.2, \"max\": 7.5, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 5.8, \"min\": 2.0, \"max\": 15.9, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462ca950_3484", "family": "swept", "tier": 2, "seed": 1177332048, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "3ade0bcd1ea18ecb", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 5410.0, "surface_area": 2820.0, "principal_moments": [60100.0, 5230000.0, 5250000.0], "n_faces": 3, "n_edges": 3, "n_vertices": 2}, "dimensions": {"lines": ["\u00d88 mm circular section swept along a curved path, ~105 mm span."], "text": "\u00d88 mm circular section swept along a curved path, ~105 mm span."}, "params": {"path_w": {"type": "float", "default": 32.78, "min": 16.4, "max": 59.0, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 105, "min": 52.5, "max": 189.0, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_d": {"type": "float", "default": 8.0, "min": 4.0, "max": 14.4, "step": 1.0, "group": "Section", "label": "Section diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332048 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 32.78, \"min\": 16.4, \"max\": 59.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 105, \"min\": 52.5, \"max\": 189.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_d\": {\"type\": 'float', \"default\": 8.0, \"min\": 4.0, \"max\": 14.4, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.099, p[\"path_h\"] * 0.2841), (p[\"path_w\"] * 0.4595, p[\"path_h\"] * 0.5827), (p[\"path_w\"] * 0.5708, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').circle(p[\"sweep_d\"] / 2).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462ca951_3485", "family": "swept", "tier": 2, "seed": 1177332049, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "fdd643ac66e9b494", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 6450.0, "surface_area": 3340.0, "principal_moments": [172000.0, 4800000.0, 4920000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["10.1 \u00d7 7.2 mm rectangular section swept along a curved path, ~90 mm span."], "text": "10.1 \u00d7 7.2 mm rectangular section swept along a curved path, ~90 mm span."}, "params": {"path_w": {"type": "float", "default": 45, "min": 22.5, "max": 81.0, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 90, "min": 45.0, "max": 162.0, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_a": {"type": "float", "default": 10.1, "min": 5.0, "max": 18.2, "step": 1.0, "group": "Section", "label": "Section width (mm)"}, "sweep_b": {"type": "float", "default": 7.2, "min": 3.6, "max": 13.0, "step": 1.0, "group": "Section", "label": "Section depth (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332049 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 45, \"min\": 22.5, \"max\": 81.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 90, \"min\": 45.0, \"max\": 162.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_a\": {\"type\": 'float', \"default\": 10.1, \"min\": 5.0, \"max\": 18.2, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section width (mm)'},\n    \"sweep_b\": {\"type\": 'float', \"default\": 7.2, \"min\": 3.6, \"max\": 13.0, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section depth (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.203, p[\"path_h\"] * 0.7435), (p[\"path_w\"] * 0.3077, p[\"path_h\"] * 0.8316), (p[\"path_w\"] * 0.4828, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').rect(p[\"sweep_a\"], p[\"sweep_b\"]).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca952_3486", "family": "block", "tier": 2, "seed": 1177332050, "symmetry": "radial", "op_count": 3, "ir_hash": "a4e0ac2802bea70f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 254000.0, "surface_area": 35800.0, "principal_moments": [150000000.0, 245000000.0, 308000000.0], "n_faces": 17, "n_edges": 42, "n_vertices": 28}, "dimensions": {"lines": ["Rectangular body, 68.25 \u00d7 43 \u00d7 100 mm (W\u00d7D\u00d7H).", "Four \u00d83.2 mm holes on a \u00d841 mm bolt circle.", "Pocket 47.5 \u00d7 18.6 mm, 42.4 mm deep, in top face."], "text": "Rectangular body, 68.25 \u00d7 43 \u00d7 100 mm (W\u00d7D\u00d7H). Four \u00d83.2 mm holes on a \u00d841 mm bolt circle. Pocket 47.5 \u00d7 18.6 mm, 42.4 mm deep, in top face."}, "params": {"block_w": {"type": "float", "default": 68.25, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 43.0, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 100.0, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "bolt_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 20.5, "min": 13.7, "max": 30.7, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 4, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}, "pocket_w": {"type": "float", "default": 47.5, "min": 23.8, "max": 54.6, "step": 1.0, "group": "Pocket", "label": "Pocket width (mm)"}, "pocket_d": {"type": "float", "default": 18.6, "min": 9.3, "max": 34.4, "step": 1.0, "group": "Pocket", "label": "Pocket depth (mm)"}, "pocket_h": {"type": "float", "default": 42.4, "min": 17.0, "max": 85.0, "step": 0.5, "group": "Pocket", "label": "Pocket height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332050 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 68.25, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 43.0, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 100.0, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 20.5, \"min\": 13.7, \"max\": 30.7, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 4, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n    \"pocket_w\": {\"type\": 'float', \"default\": 47.5, \"min\": 23.8, \"max\": 54.6, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket width (mm)'},\n    \"pocket_d\": {\"type\": 'float', \"default\": 18.6, \"min\": 9.3, \"max\": 34.4, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket depth (mm)'},\n    \"pocket_h\": {\"type\": 'float', \"default\": 42.4, \"min\": 17.0, \"max\": 85.0, \"step\": 0.5, \"group\": 'Pocket', \"label\": 'Pocket height (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"pocket_w\"], p[\"pocket_d\"])\n        .cutBlind(-p[\"pocket_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca953_3487", "family": "compound", "tier": 2, "seed": 1177332051, "symmetry": "none", "op_count": 3, "ir_hash": "a82e0254cedc580a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 11500.0, "surface_area": 4250.0, "principal_moments": [851000.0, 1760000.0, 1760000.0], "n_faces": 15, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["5-sided polygon section, 30 mm across corners, extruded 17 mm thick.", "\u00d813 mm circular section attachment, 25.6 mm long, from top face with a \u00d85.3 mm bore.", "Fillet radius 1.539 mm on vertical edges."], "text": "5-sided polygon section, 30 mm across corners, extruded 17 mm thick. \u00d813 mm circular section attachment, 25.6 mm long, from top face with a \u00d85.3 mm bore. Fillet radius 1.539 mm on vertical edges."}, "params": {"base_sides": {"type": "int", "default": 5, "min": 3, "max": 8, "step": 1, "group": "Base", "label": "Base sides"}, "base_r": {"type": "float", "default": 15, "min": 9.0, "max": 24.0, "step": 1.0, "group": "Base", "label": "Base circumradius (mm)"}, "base_h": {"type": "float", "default": 17.0, "min": 6.8, "max": 42.5, "step": 1.0, "group": "Base", "label": "Base height (mm)"}, "col_d": {"type": "float", "default": 13.0, "min": 6.5, "max": 19.4, "step": 1.0, "group": "Column", "label": "Column diameter (mm)"}, "col_h": {"type": "float", "default": 25.6, "min": 7.7, "max": 64.0, "step": 1.0, "group": "Column", "label": "Column height (mm)"}, "col_bore": {"type": "float", "default": 5.3, "min": 2.0, "max": 9.4, "step": 0.5, "group": "Column", "label": "Column bore diameter (mm)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332051 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_sides\": {\"type\": 'int', \"default\": 5, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Base', \"label\": 'Base sides'},\n    \"base_r\": {\"type\": 'float', \"default\": 15, \"min\": 9.0, \"max\": 24.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base circumradius (mm)'},\n    \"base_h\": {\"type\": 'float', \"default\": 17.0, \"min\": 6.8, \"max\": 42.5, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base height (mm)'},\n    \"col_d\": {\"type\": 'float', \"default\": 13.0, \"min\": 6.5, \"max\": 19.4, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column diameter (mm)'},\n    \"col_h\": {\"type\": 'float', \"default\": 25.6, \"min\": 7.7, \"max\": 64.0, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column height (mm)'},\n    \"col_bore\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 9.4, \"step\": 0.5, \"group\": 'Column', \"label\": 'Column bore diameter (mm)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').polygon(p[\"base_sides\"], p[\"base_r\"] * 2).extrude(p[\"base_h\"]))\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"col_d\"] / 2).extrude(p[\"col_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"col_bore\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"base_r\"], p[\"base_r\"]) * 0.10260394030795489)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462ca954_3488", "family": "swept", "tier": 0, "seed": 1177332052, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "de4e18cd81915e7c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 22800.0, "surface_area": 6590.0, "principal_moments": [1560000.0, 24199999.999999996, 24899999.999999996], "n_faces": 3, "n_edges": 3, "n_vertices": 2}, "dimensions": {"lines": ["\u00d816.6 mm circular section swept along a curved path, ~88.31 mm span."], "text": "\u00d816.6 mm circular section swept along a curved path, ~88.31 mm span."}, "params": {"path_w": {"type": "float", "default": 79.08, "min": 39.5, "max": 142.3, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 88.31, "min": 44.2, "max": 159.0, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_d": {"type": "float", "default": 16.6, "min": 8.3, "max": 29.9, "step": 1.0, "group": "Section", "label": "Section diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332052 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 79.08, \"min\": 39.5, \"max\": 142.3, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 88.31, \"min\": 44.2, \"max\": 159.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_d\": {\"type\": 'float', \"default\": 16.6, \"min\": 8.3, \"max\": 29.9, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.451), (p[\"path_w\"] * 0.2668, p[\"path_h\"] * 0.5507), (p[\"path_w\"] * 0.3585, p[\"path_h\"] * 0.7551), (p[\"path_w\"] * 0.6806, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').circle(p[\"sweep_d\"] / 2).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca955_3489", "family": "bracket", "tier": 3, "seed": 1177332053, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "77ef38e9a5824044", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 56000.0, "surface_area": 19200.0, "principal_moments": [44900000.0, 58799999.99999999, 95299999.99999999], "n_faces": 26, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["C-channel bracket: base leg 77.76 mm, vertical leg 85.6 mm, 30 mm wide, 8 mm thick; 2 \u00d7 \u00d86.4 mm holes per leg; 9.3 mm corner gusset."], "text": "C-channel bracket: base leg 77.76 mm, vertical leg 85.6 mm, 30 mm wide, 8 mm thick; 2 \u00d7 \u00d86.4 mm holes per leg; 9.3 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 77.76, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 85.6, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 30, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 8.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 2, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 9.3, "min": 4.0, "max": 15.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332053 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 77.76, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 85.6, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 30, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 2, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 9.3, \"min\": 4.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl / 2, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bl - _bt, _bt).lineTo(_bl - _bt - _g, _bt)\n                    .lineTo(_bl - _bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca956_3490", "family": "compound", "tier": 1, "seed": 1177332054, "symmetry": "none", "op_count": 3, "ir_hash": "d9aec2882109a8c7", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 69200.0, "surface_area": 12400.0, "principal_moments": [16800000.0, 20500000.0, 24799999.999999996], "n_faces": 15, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 50.14 \u00d7 40.4 \u00d7 33.2 mm (W\u00d7D\u00d7H).", "32.9 \u00d7 20.9 mm rectangular section attachment, 5 mm long, from front face.", "Four \u00d83.2 mm holes at the corners, 19.74 \u00d7 12.54 mm spacing on the <Y face."], "text": "Rectangular body, 50.14 \u00d7 40.4 \u00d7 33.2 mm (W\u00d7D\u00d7H). 32.9 \u00d7 20.9 mm rectangular section attachment, 5 mm long, from front face. Four \u00d83.2 mm holes at the corners, 19.74 \u00d7 12.54 mm spacing on the <Y face."}, "params": {"block_w": {"type": "float", "default": 50.14, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 40.4, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 33.2, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "tab_a": {"type": "float", "default": 32.9, "min": 13.2, "max": 52.6, "step": 1.0, "group": "Tab", "label": "Tab width (mm)"}, "tab_b": {"type": "float", "default": 20.9, "min": 8.4, "max": 33.4, "step": 1.0, "group": "Tab", "label": "Tab height (mm)"}, "tab_t": {"type": "float", "default": 5.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Tab", "label": "Tab thickness (mm)"}, "tab_hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 4.6, "step": 0.1, "group": "Tab", "label": "Tab hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332054 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 50.14, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 40.4, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 33.2, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"tab_a\": {\"type\": 'float', \"default\": 32.9, \"min\": 13.2, \"max\": 52.6, \"step\": 1.0, \"group\": 'Tab', \"label\": 'Tab width (mm)'},\n    \"tab_b\": {\"type\": 'float', \"default\": 20.9, \"min\": 8.4, \"max\": 33.4, \"step\": 1.0, \"group\": 'Tab', \"label\": 'Tab height (mm)'},\n    \"tab_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Tab', \"label\": 'Tab thickness (mm)'},\n    \"tab_hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 4.6, \"step\": 0.1, \"group\": 'Tab', \"label\": 'Tab hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .rect(p[\"tab_a\"], p[\"tab_b\"]).extrude(p[\"tab_t\"])\n    )\n    result = (\n        result.faces('<Y').workplane()\n        .rect(p[\"tab_a\"] * 0.6, p[\"tab_b\"] * 0.6, forConstruction=True)\n        .vertices().hole(p[\"tab_hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462ca957_3491", "family": "flanged", "tier": 1, "seed": 1177332055, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "80f0c4ba3012b75d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 48900.0, "surface_area": 15300.0, "principal_moments": [17600000.0, 17600000.0, 18400000.0], "n_faces": 10, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["Revolved body, \u00d835 mm \u00d7 41.2 mm tall with \u00d812.3 mm bore, \u00d874.9 mm \u00d7 4.4 mm flange.", "Four \u00d88.4 mm holes on a \u00d845 mm bolt circle."], "text": "Revolved body, \u00d835 mm \u00d7 41.2 mm tall with \u00d812.3 mm bore, \u00d874.9 mm \u00d7 4.4 mm flange. Four \u00d88.4 mm holes on a \u00d845 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 35, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 41.2, "min": 12.4, "max": 103.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 12.3, "min": 2.0, "max": 24.5, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 74.9, "min": 45.5, "max": 105.0, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 4.4, "min": 1.3, "max": 16.5, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 8.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 22.5, "min": 15.0, "max": 33.7, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 4, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332055 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 35, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 41.2, \"min\": 12.4, \"max\": 103.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 12.3, \"min\": 2.0, \"max\": 24.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 74.9, \"min\": 45.5, \"max\": 105.0, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 4.4, \"min\": 1.3, \"max\": 16.5, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 22.5, \"min\": 15.0, \"max\": 33.7, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 4, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca959_3493", "family": "plate", "tier": 1, "seed": 1177332057, "symmetry": "none", "op_count": 2, "ir_hash": "62fb8892498c7a6a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 22100.0, "surface_area": 6670.0, "principal_moments": [1820000.0, 7880000.0, 9160000.0], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Rectangular body, 65.04 \u00d7 29.1 \u00d7 12 mm (W\u00d7D\u00d7H).", "Six \u00d83.2 mm holes in a 2\u00d73 grid, 52 \u00d7 11.6 mm pitch."], "text": "Rectangular body, 65.04 \u00d7 29.1 \u00d7 12 mm (W\u00d7D\u00d7H). Six \u00d83.2 mm holes in a 2\u00d73 grid, 52 \u00d7 11.6 mm pitch."}, "params": {"plate_w": {"type": "float", "default": 65.04, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 29.1, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 3.5, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 2, "min": 1, "max": 4, "step": 1, "group": "Holes", "label": "Holes across"}, "hole_ny": {"type": "int", "default": 3, "min": 1, "max": 4, "step": 1, "group": "Holes", "label": "Holes deep"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332057 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 65.04, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 29.1, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 3.5, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 2, \"min\": 1, \"max\": 4, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes across'},\n    \"hole_ny\": {\"type\": 'int', \"default\": 3, \"min\": 1, \"max\": 4, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes deep'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(52.0, 11.6, p[\"hole_nx\"], p[\"hole_ny\"])\n        .hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca95a_3494", "family": "plate", "tier": 0, "seed": 1177332058, "symmetry": "none", "op_count": 1, "ir_hash": "4f3cbfcc78e0d96b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 17500.0, "surface_area": 4870.0, "principal_moments": [1230000.0, 4620000.0, 5430000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 55 \u00d7 26.5 \u00d7 12 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 55 \u00d7 26.5 \u00d7 12 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 55, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 26.5, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332058 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 55, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 26.5, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca95b_3495", "family": "bracket", "tier": 2, "seed": 1177332059, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "82bda70789896f4c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 14500.0, "surface_area": 8030.0, "principal_moments": [7290000.0, 9060000.0, 15799999.999999998], "n_faces": 19, "n_edges": 51, "n_vertices": 34}, "dimensions": {"lines": ["C-channel bracket: base leg 60 mm, vertical leg 68.7 mm, 15.21 mm wide, 5 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg; 5.2 mm corner gusset."], "text": "C-channel bracket: base leg 60 mm, vertical leg 68.7 mm, 15.21 mm wide, 5 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg; 5.2 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 60, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 68.7, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 15.21, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 5.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 6.1, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 5.2, "min": 2.5, "max": 7.6, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332059 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 60, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 68.7, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 15.21, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 6.1, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 5.2, \"min\": 2.5, \"max\": 7.6, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl / 2, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bl - _bt, _bt).lineTo(_bl - _bt - _g, _bt)\n                    .lineTo(_bl - _bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca95c_3496", "family": "revolved", "tier": 2, "seed": 1177332060, "symmetry": "none", "op_count": 1, "ir_hash": "248520414d6ef5a7", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 222000.0, "surface_area": 42900.0, "principal_moments": [79600000.0, 454000000.0, 454000000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d848.9 mm \u00d7 177.3 mm tall."], "text": "Revolved body, \u00d848.9 mm \u00d7 177.3 mm tall."}, "params": {"outer_d": {"type": "float", "default": 48.9, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 177.3, "min": 53.2, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332060 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 48.9, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 177.3, \"min\": 53.2, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462ca95d_3497", "family": "gear", "tier": 1, "seed": 1177332061, "symmetry": "none", "op_count": 1, "ir_hash": "6e63218e320d0c8c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 99500.0, "surface_area": 20700.0, "principal_moments": [45100000.0, 45100000.0, 83700000.0], "n_faces": 165, "n_edges": 489, "n_vertices": 326}, "dimensions": {"lines": ["Spur gear, module 3 mm, 27 teeth (pitch \u00d881 mm), face width 19.9 mm, \u00d811 mm bore."], "text": "Spur gear, module 3 mm, 27 teeth (pitch \u00d881 mm), face width 19.9 mm, \u00d811 mm bore."}, "params": {"module": {"type": "float", "default": 3.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 27, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 19.9, "min": 8.0, "max": 49.8, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "bore_d": {"type": "float", "default": 11.0, "min": 2.0, "max": 44.1, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332061 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 3.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 27, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 19.9, \"min\": 8.0, \"max\": 49.8, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 11.0, \"min\": 2.0, \"max\": 44.1, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca95e_3498", "family": "compound", "tier": 2, "seed": 1177332062, "symmetry": "none", "op_count": 3, "ir_hash": "bc7d9b6f29f5ccec", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 1820.0, "surface_area": 947.0, "principal_moments": [30100.0, 74300.0, 74300.0], "n_faces": 12, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["\u00d812.59 mm circular section, extruded 11.2 mm thick.", "\u00d87.1 mm circular section attachment, 9.1 mm long, from top face.", "6-sided polygon section, 5.8 mm across corners attachment, 3 mm long, from top face."], "text": "\u00d812.59 mm circular section, extruded 11.2 mm thick. \u00d87.1 mm circular section attachment, 9.1 mm long, from top face. 6-sided polygon section, 5.8 mm across corners attachment, 3 mm long, from top face."}, "params": {"shaft_d": {"type": "float", "default": 12.59, "min": 6.3, "max": 22.7, "step": 1.0, "group": "Body", "label": "Shaft diameter (mm)"}, "shaft_len": {"type": "float", "default": 11.2, "min": 4.5, "max": 22.4, "step": 1.0, "group": "Body", "label": "Shaft length (mm)"}, "step_d": {"type": "float", "default": 7.1, "min": 3.5, "max": 11.3, "step": 1.0, "group": "Step", "label": "Step diameter (mm)"}, "step_len": {"type": "float", "default": 9.1, "min": 2.7, "max": 22.8, "step": 1.0, "group": "Step", "label": "Step length (mm)"}, "head_sides": {"type": "int", "default": 6, "min": 3, "max": 8, "step": 1, "group": "Head", "label": "Drive head sides"}, "head_r": {"type": "float", "default": 2.9, "min": 1.7, "max": 3.4, "step": 1.0, "group": "Head", "label": "Drive head circumradius (mm)"}, "head_len": {"type": "float", "default": 3.0, "min": 0.9, "max": 6.0, "step": 1.0, "group": "Head", "label": "Drive head length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332062 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"shaft_d\": {\"type\": 'float', \"default\": 12.59, \"min\": 6.3, \"max\": 22.7, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft diameter (mm)'},\n    \"shaft_len\": {\"type\": 'float', \"default\": 11.2, \"min\": 4.5, \"max\": 22.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft length (mm)'},\n    \"step_d\": {\"type\": 'float', \"default\": 7.1, \"min\": 3.5, \"max\": 11.3, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step diameter (mm)'},\n    \"step_len\": {\"type\": 'float', \"default\": 9.1, \"min\": 2.7, \"max\": 22.8, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step length (mm)'},\n    \"head_sides\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Head', \"label\": 'Drive head sides'},\n    \"head_r\": {\"type\": 'float', \"default\": 2.9, \"min\": 1.7, \"max\": 3.4, \"step\": 1.0, \"group\": 'Head', \"label\": 'Drive head circumradius (mm)'},\n    \"head_len\": {\"type\": 'float', \"default\": 3.0, \"min\": 0.9, \"max\": 6.0, \"step\": 1.0, \"group\": 'Head', \"label\": 'Drive head length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').circle(p[\"shaft_d\"] / 2).extrude(p[\"shaft_len\"]))\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"step_d\"] / 2).extrude(p[\"step_len\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"head_sides\"], p[\"head_r\"] * 2).extrude(p[\"head_len\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca95f_3499", "family": "bracket", "tier": 3, "seed": 1177332063, "symmetry": "none", "op_count": 1, "ir_hash": "81625c63f8084799", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 82400.0, "surface_area": 31300.0, "principal_moments": [88300000.0, 118000000.0, 168000000.0], "n_faces": 19, "n_edges": 51, "n_vertices": 34}, "dimensions": {"lines": ["C-channel bracket: base leg 83.66 mm, vertical leg 90 mm, 53.63 mm wide, 6 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg; 6.8 mm corner gusset."], "text": "C-channel bracket: base leg 83.66 mm, vertical leg 90 mm, 53.63 mm wide, 6 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg; 6.8 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 83.66, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 90.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 53.63, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 6.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 6.8, "min": 3.0, "max": 18.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332063 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 83.66, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 90.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 53.63, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 6.8, \"min\": 3.0, \"max\": 18.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl / 2, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bl - _bt, _bt).lineTo(_bl - _bt - _g, _bt)\n                    .lineTo(_bl - _bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462ca960_3500", "family": "gear", "tier": 0, "seed": 1177332064, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "e6d918ea04e0bb8c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 8470.0, "surface_area": 4180.0, "principal_moments": [883000.0, 883000.0, 1700000.0], "n_faces": 194, "n_edges": 576, "n_vertices": 384}, "dimensions": {"lines": ["Spur gear, module 1.25 mm, 32 teeth (pitch \u00d840 mm), face width 6.8 mm."], "text": "Spur gear, module 1.25 mm, 32 teeth (pitch \u00d840 mm), face width 6.8 mm."}, "params": {"module": {"type": "float", "default": 1.25, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 32, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 6.8, "min": 2.7, "max": 17.0, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332064 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 1.25, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 32, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 6.8, \"min\": 2.7, \"max\": 17.0, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462ca962_3502", "family": "threaded", "tier": 2, "seed": 1177332066, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "d8847dcd3a274982", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 13300.0, "surface_area": 4620.0, "principal_moments": [890000.0, 1600000.0, 1600000.0], "n_faces": 70, "n_edges": 176, "n_vertices": 108}, "dimensions": {"lines": ["ACME 1 external thread, 33 mm long."], "text": "ACME 1 external thread, 33 mm long."}, "params": {"thread_size": {"type": "enum", "default": "1", "choices": ["1/4", "5/16", "3/8", "1/2", "5/8", "3/4", "7/8", "1", "1 1/4", "1 1/2"], "group": "Thread", "label": "Size designation"}, "thread_len": {"type": "float", "default": 33.0, "min": 13.2, "max": 66.0, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332066 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"thread_size\": {\"type\": 'enum', \"default\": '1', \"choices\": ['1/4', '5/16', '3/8', '1/2', '5/8', '3/4', '7/8', '1', '1 1/4', '1 1/2'], \"group\": 'Thread', \"label\": 'Size designation'},\n    \"thread_len\": {\"type\": 'float', \"default\": 33.0, \"min\": 13.2, \"max\": 66.0, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.AcmeThread(size=p[\"thread_size\"], length=p[\"thread_len\"], external=True, end_finishes=(\"fade\", \"fade\"))\n    _r = _thr.min_radius if hasattr(_thr, 'min_radius') else _thr.root_radius\n    _shank = _bd.Cylinder(radius=_r, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = _shank + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462ca963_3503", "family": "enclosure", "tier": 1, "seed": 1177332067, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "e315cd382051fc67", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 30600.0, "surface_area": 23200.0, "principal_moments": [16199999.999999998, 19500000.0, 21600000.0], "n_faces": 11, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 55.93 \u00d7 46.4 \u00d7 47.7 mm (W\u00d7D\u00d7H).", "Hollowed to 2.7 mm wall thickness, open at top face."], "text": "Rectangular body, 55.93 \u00d7 46.4 \u00d7 47.7 mm (W\u00d7D\u00d7H). Hollowed to 2.7 mm wall thickness, open at top face."}, "params": {"enc_w": {"type": "float", "default": 55.93, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 46.4, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 47.7, "min": 19.1, "max": 95.4, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 2.7, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332067 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 55.93, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 46.4, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 47.7, \"min\": 19.1, \"max\": 95.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 2.7, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462ca964_3504", "family": "profiled", "tier": 1, "seed": 1177332068, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "fff4df9a546da5d0", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 113000.0, "surface_area": 17400.0, "principal_moments": [11799999.999999998, 286000000.0, 286000000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["8-sided polygon section, 30.4 mm across corners, extruded 172.7 mm thick."], "text": "8-sided polygon section, 30.4 mm across corners, extruded 172.7 mm thick."}, "params": {"circ_r": {"type": "float", "default": 15.2, "min": 7.6, "max": 30.4, "step": 1.0, "group": "Profile", "label": "Circumscribed radius (mm)"}, "n_sides": {"type": "int", "default": 8, "min": 3, "max": 8, "step": 1, "group": "Profile", "label": "Sides"}, "length": {"type": "float", "default": 172.7, "min": 51.8, "max": 518.1, "step": 5.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332068 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"circ_r\": {\"type\": 'float', \"default\": 15.2, \"min\": 7.6, \"max\": 30.4, \"step\": 1.0, \"group\": 'Profile', \"label\": 'Circumscribed radius (mm)'},\n    \"n_sides\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Profile', \"label\": 'Sides'},\n    \"length\": {\"type\": 'float', \"default\": 172.7, \"min\": 51.8, \"max\": 518.1, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').polygon(p[\"n_sides\"], p[\"circ_r\"] * 2).extrude(p[\"length\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462ca965_3505", "family": "enclosure", "tier": 1, "seed": 1177332069, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "f80abdbf30ed9494", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 89800.0, "surface_area": 33400.0, "principal_moments": [51499999.99999999, 86700000.0, 105000000.0], "n_faces": 11, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 85 \u00d7 36.6 \u00d7 64.1 mm (W\u00d7D\u00d7H).", "Hollowed to 5.6 mm wall thickness, open at top face."], "text": "Rectangular body, 85 \u00d7 36.6 \u00d7 64.1 mm (W\u00d7D\u00d7H). Hollowed to 5.6 mm wall thickness, open at top face."}, "params": {"enc_w": {"type": "float", "default": 85, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 36.6, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 64.1, "min": 25.6, "max": 128.2, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 5.6, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332069 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 85, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 36.6, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 64.1, \"min\": 25.6, \"max\": 128.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 5.6, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca966_3506", "family": "compound", "tier": 1, "seed": 1177332070, "symmetry": "none", "op_count": 2, "ir_hash": "cb4313ef7479bec7", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 54900.0, "surface_area": 11700.0, "principal_moments": [12699999.999999998, 18700000.0, 18700000.0], "n_faces": 11, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["6-sided polygon section, 49.48 mm across corners, extruded 28.1 mm thick.", "\u00d826 mm circular section attachment, 30.5 mm long, from top face with a \u00d811.4 mm bore."], "text": "6-sided polygon section, 49.48 mm across corners, extruded 28.1 mm thick. \u00d826 mm circular section attachment, 30.5 mm long, from top face with a \u00d811.4 mm bore."}, "params": {"base_sides": {"type": "int", "default": 6, "min": 3, "max": 8, "step": 1, "group": "Base", "label": "Base sides"}, "base_r": {"type": "float", "default": 24.74, "min": 14.8, "max": 39.6, "step": 1.0, "group": "Base", "label": "Base circumradius (mm)"}, "base_h": {"type": "float", "default": 28.1, "min": 11.2, "max": 70.2, "step": 1.0, "group": "Base", "label": "Base height (mm)"}, "col_d": {"type": "float", "default": 26.0, "min": 13.0, "max": 34.3, "step": 1.0, "group": "Column", "label": "Column diameter (mm)"}, "col_h": {"type": "float", "default": 30.5, "min": 9.2, "max": 76.2, "step": 1.0, "group": "Column", "label": "Column height (mm)"}, "col_bore": {"type": "float", "default": 11.4, "min": 2.0, "max": 18.7, "step": 0.5, "group": "Column", "label": "Column bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332070 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_sides\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Base', \"label\": 'Base sides'},\n    \"base_r\": {\"type\": 'float', \"default\": 24.74, \"min\": 14.8, \"max\": 39.6, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base circumradius (mm)'},\n    \"base_h\": {\"type\": 'float', \"default\": 28.1, \"min\": 11.2, \"max\": 70.2, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base height (mm)'},\n    \"col_d\": {\"type\": 'float', \"default\": 26.0, \"min\": 13.0, \"max\": 34.3, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column diameter (mm)'},\n    \"col_h\": {\"type\": 'float', \"default\": 30.5, \"min\": 9.2, \"max\": 76.2, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column height (mm)'},\n    \"col_bore\": {\"type\": 'float', \"default\": 11.4, \"min\": 2.0, \"max\": 18.7, \"step\": 0.5, \"group\": 'Column', \"label\": 'Column bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').polygon(p[\"base_sides\"], p[\"base_r\"] * 2).extrude(p[\"base_h\"]))\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"col_d\"] / 2).extrude(p[\"col_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"col_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca967_3507", "family": "bracket", "tier": 1, "seed": 1177332071, "symmetry": "none", "op_count": 1, "ir_hash": "1ab0e84ec0bc6f5a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 7650.0, "surface_area": 5840.0, "principal_moments": [1370000.0, 1600000.0, 2410000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["L-bracket: base leg 29.42 mm, vertical leg 31.7 mm, 45 mm wide, 3 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."], "text": "L-bracket: base leg 29.42 mm, vertical leg 31.7 mm, 45 mm wide, 3 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 29.42, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 31.7, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 45, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 3.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332071 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 29.42, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 31.7, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 45, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462ca968_3508", "family": "enclosure", "tier": 1, "seed": 1177332072, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "5b885239ccc9294c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 49400.0, "surface_area": 43600.0, "principal_moments": [49999999.99999999, 59799999.99999999, 74700000.0], "n_faces": 11, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 80 \u00d7 68 \u00d7 58.2 mm (W\u00d7D\u00d7H).", "Hollowed to 2.3 mm wall thickness, open at top face."], "text": "Rectangular body, 80 \u00d7 68 \u00d7 58.2 mm (W\u00d7D\u00d7H). Hollowed to 2.3 mm wall thickness, open at top face."}, "params": {"enc_w": {"type": "float", "default": 80, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 68.0, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 58.2, "min": 23.3, "max": 116.4, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 2.3, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332072 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 80, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 68.0, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 58.2, \"min\": 23.3, \"max\": 116.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 2.3, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca969_3509", "family": "plate", "tier": 2, "seed": 1177332073, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "c11c6c3589468602", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 59200.0, "surface_area": 17100.0, "principal_moments": [15599999.999999998, 62399999.99999999, 77000000.0], "n_faces": 22, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 115 \u00d7 56.9 \u00d7 10 mm (W\u00d7D\u00d7H).", "Four 17.1 \u00d7 10.5 mm slots at the corners, 80.5 \u00d7 39.83 mm spacing."], "text": "Rectangular body, 115 \u00d7 56.9 \u00d7 10 mm (W\u00d7D\u00d7H). Four 17.1 \u00d7 10.5 mm slots at the corners, 80.5 \u00d7 39.83 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 115, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 56.9, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 10.5, "min": 2.0, "max": 12.8, "step": 0.5, "group": "Holes", "label": "Slot width (mm)"}, "hole_slot_len": {"type": "float", "default": 17.1, "min": 15.8, "max": 17.1, "step": 0.5, "group": "Holes", "label": "Slot length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332073 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 115, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 56.9, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 10.5, \"min\": 2.0, \"max\": 12.8, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Slot width (mm)'},\n    \"hole_slot_len\": {\"type\": 'float', \"default\": 17.1, \"min\": 15.8, \"max\": 17.1, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Slot length (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().slot2D(p[\"hole_slot_len\"], p[\"hole_d\"]).cutThruAll()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462ca96a_3510", "family": "ribbed", "tier": 1, "seed": 1177332074, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "250555ba8c770d59", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 16600.0, "surface_area": 9130.0, "principal_moments": [3400000.0, 6360000.0, 9560000.0], "n_faces": 30, "n_edges": 72, "n_vertices": 44}, "dimensions": {"lines": ["Rectangular body, 65 \u00d7 47.7 \u00d7 4 mm (W\u00d7D\u00d7H).", "Three ribs, 4.8 mm thick, 5.6 mm tall."], "text": "Rectangular body, 65 \u00d7 47.7 \u00d7 4 mm (W\u00d7D\u00d7H). Three ribs, 4.8 mm thick, 5.6 mm tall."}, "params": {"base_w": {"type": "float", "default": 65, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 47.7, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 4.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 3, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 5.6, "min": 2.2, "max": 11.2, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 4.8, "min": 1.0, "max": 12.0, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332074 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 65, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 47.7, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 3, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 5.6, \"min\": 2.2, \"max\": 11.2, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 4.8, \"min\": 1.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462ca96b_3511", "family": "enclosure", "tier": 1, "seed": 1177332075, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "9d08690683eb2a5b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 56300.0, "surface_area": 23300.0, "principal_moments": [23099999.999999996, 45200000.0, 50199999.99999999], "n_faces": 11, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 75.68 \u00d7 43.7 \u00d7 40.5 mm (W\u00d7D\u00d7H).", "Hollowed to 5.1 mm wall thickness, open at top face."], "text": "Rectangular body, 75.68 \u00d7 43.7 \u00d7 40.5 mm (W\u00d7D\u00d7H). Hollowed to 5.1 mm wall thickness, open at top face."}, "params": {"enc_w": {"type": "float", "default": 75.68, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 43.7, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 40.5, "min": 16.2, "max": 81.0, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 5.1, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332075 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 75.68, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 43.7, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 40.5, \"min\": 16.2, \"max\": 81.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 5.1, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462ca96c_3512", "family": "enclosure", "tier": 1, "seed": 1177332076, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "ca108b7bb51c2f3c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 14300.0, "surface_area": 8560.0, "principal_moments": [2960000.0, 3730000.0, 5790000.0], "n_faces": 11, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 44.97 \u00d7 38.6 \u00d7 18.3 mm (W\u00d7D\u00d7H).", "Hollowed to 3.6 mm wall thickness, open at top face."], "text": "Rectangular body, 44.97 \u00d7 38.6 \u00d7 18.3 mm (W\u00d7D\u00d7H). Hollowed to 3.6 mm wall thickness, open at top face."}, "params": {"enc_w": {"type": "float", "default": 44.97, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 38.6, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 18.3, "min": 7.3, "max": 36.6, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 3.6, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332076 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 44.97, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 38.6, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 18.3, \"min\": 7.3, \"max\": 36.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 3.6, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca96d_3513", "family": "bracket", "tier": 2, "seed": 1177332077, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "81fe0394982881b1", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 10100.0, "surface_area": 3920.0, "principal_moments": [878000.0, 1490000.0, 1690000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["L-bracket: base leg 28.23 mm, vertical leg 31.1 mm, 25 mm wide, 8 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 11.6 mm corner gusset."], "text": "L-bracket: base leg 28.23 mm, vertical leg 31.1 mm, 25 mm wide, 8 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 11.6 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 28.23, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 31.1, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 25, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 8.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 11.6, "min": 4.0, "max": 12.5, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332077 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 28.23, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 31.1, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 25, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 11.6, \"min\": 4.0, \"max\": 12.5, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462ca96e_3514", "family": "gear", "tier": 2, "seed": 1177332078, "symmetry": "none", "op_count": 1, "ir_hash": "1d5809ecb800f48b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 5900.0, "surface_area": 3220.0, "principal_moments": [465000.0, 465000.0, 887000.0], "n_faces": 195, "n_edges": 579, "n_vertices": 386}, "dimensions": {"lines": ["Helical gear, module 1 mm, 32 teeth (pitch \u00d832 mm), face width 6.6 mm, 16.1\u00b0 helix, \u00d85.1 mm bore."], "text": "Helical gear, module 1 mm, 32 teeth (pitch \u00d832 mm), face width 6.6 mm, 16.1\u00b0 helix, \u00d85.1 mm bore."}, "params": {"module": {"type": "float", "default": 1.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 32, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 6.6, "min": 2.6, "max": 16.5, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "helix_angle": {"type": "float", "default": 16.1, "min": 5.0, "max": 40.0, "step": 1.0, "group": "Gear", "label": "Helix angle (deg)"}, "profile_shift": {"type": "float", "default": 0.48, "min": -0.5, "max": 0.7, "step": 0.05, "group": "Gear", "label": "Profile shift"}, "root_fillet": {"type": "float", "default": 0.28, "min": 0.0, "max": 0.5, "step": 0.05, "group": "Gear", "label": "Root fillet (mm)"}, "bore_d": {"type": "float", "default": 5.1, "min": 2.0, "max": 17.7, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332078 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 1.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 32, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 6.6, \"min\": 2.6, \"max\": 16.5, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"helix_angle\": {\"type\": 'float', \"default\": 16.1, \"min\": 5.0, \"max\": 40.0, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Helix angle (deg)'},\n    \"profile_shift\": {\"type\": 'float', \"default\": 0.48, \"min\": -0.5, \"max\": 0.7, \"step\": 0.05, \"group\": 'Gear', \"label\": 'Profile shift'},\n    \"root_fillet\": {\"type\": 'float', \"default\": 0.28, \"min\": 0.0, \"max\": 0.5, \"step\": 0.05, \"group\": 'Gear', \"label\": 'Root fillet (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 5.1, \"min\": 2.0, \"max\": 17.7, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.HelicalGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"], helix_angle=math.radians(p[\"helix_angle\"]), herringbone=False, profile_shift=p[\"profile_shift\"], root_fillet=p[\"root_fillet\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca96f_3515", "family": "plate", "tier": 1, "seed": 1177332079, "symmetry": "none", "op_count": 2, "ir_hash": "f931ef67f5eaced9", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 40800.0, "surface_area": 10700.0, "principal_moments": [6810000.0, 21800000.0, 27599999.999999996], "n_faces": 22, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 80 \u00d7 43.6 \u00d7 12 mm (W\u00d7D\u00d7H).", "Four 7.4 \u00d7 3.2 mm slots in a 2\u00d72 grid, 64 \u00d7 34.9 mm pitch."], "text": "Rectangular body, 80 \u00d7 43.6 \u00d7 12 mm (W\u00d7D\u00d7H). Four 7.4 \u00d7 3.2 mm slots in a 2\u00d72 grid, 64 \u00d7 34.9 mm pitch."}, "params": {"plate_w": {"type": "float", "default": 80, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 43.6, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 5.2, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 2, "min": 1, "max": 4, "step": 1, "group": "Holes", "label": "Holes across"}, "hole_ny": {"type": "int", "default": 2, "min": 1, "max": 4, "step": 1, "group": "Holes", "label": "Holes deep"}, "hole_slot_len": {"type": "float", "default": 7.4, "min": 4.8, "max": 24.4, "step": 0.5, "group": "Holes", "label": "Slot length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332079 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 80, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 43.6, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 5.2, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 2, \"min\": 1, \"max\": 4, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes across'},\n    \"hole_ny\": {\"type\": 'int', \"default\": 2, \"min\": 1, \"max\": 4, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes deep'},\n    \"hole_slot_len\": {\"type\": 'float', \"default\": 7.4, \"min\": 4.8, \"max\": 24.4, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Slot length (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(64.0, 34.9, p[\"hole_nx\"], p[\"hole_ny\"])\n        .slot2D(p[\"hole_slot_len\"], p[\"hole_d\"]).cutThruAll()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca970_3516", "family": "bracket", "tier": 2, "seed": 1177332080, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "91724738a5c0212e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 11400.0, "surface_area": 8550.0, "principal_moments": [2960000.0, 2980000.0, 3930000.0], "n_faces": 19, "n_edges": 51, "n_vertices": 34}, "dimensions": {"lines": ["C-channel bracket: base leg 32.88 mm, vertical leg 29.5 mm, 45 mm wide, 3 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg; 3.5 mm corner gusset."], "text": "C-channel bracket: base leg 32.88 mm, vertical leg 29.5 mm, 45 mm wide, 3 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg; 3.5 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 32.88, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 29.5, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 45, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 3.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 3.5, "min": 1.5, "max": 9.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332080 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 32.88, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 29.5, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 45, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 3.5, \"min\": 1.5, \"max\": 9.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl / 2, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bl - _bt, _bt).lineTo(_bl - _bt - _g, _bt)\n                    .lineTo(_bl - _bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca972_3518", "family": "plate", "tier": 0, "seed": 1177332082, "symmetry": "none", "op_count": 1, "ir_hash": "a29b83f5ec9d237d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 1850.0, "surface_area": 1100.0, "principal_moments": [22000.0, 145000.0, 155000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 30 \u00d7 10.3 \u00d7 6 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 30 \u00d7 10.3 \u00d7 6 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 30, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 10.3, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 6.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332082 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 30, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 10.3, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462ca973_3519", "family": "gear", "tier": 1, "seed": 1177332083, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "548f3c99fb1fc6e9", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 57500.0, "surface_area": 14000.0, "principal_moments": [14699999.999999998, 14699999.999999998, 20000000.0], "n_faces": 63, "n_edges": 183, "n_vertices": 122}, "dimensions": {"lines": ["Spur gear, module 5 mm, 10 teeth (pitch \u00d850 mm), face width 31.3 mm, \u00d86.7 mm bore."], "text": "Spur gear, module 5 mm, 10 teeth (pitch \u00d850 mm), face width 31.3 mm, \u00d86.7 mm bore."}, "params": {"module": {"type": "float", "default": 5.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 10, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 31.3, "min": 12.5, "max": 78.2, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "bore_d": {"type": "float", "default": 6.7, "min": 2.0, "max": 22.5, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332083 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 5.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 10, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 31.3, \"min\": 12.5, \"max\": 78.2, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 6.7, \"min\": 2.0, \"max\": 22.5, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca974_3520", "family": "plate", "tier": 1, "seed": 1177332084, "symmetry": "none", "op_count": 2, "ir_hash": "e3050bafb7b7a248", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 36000.0, "surface_area": 9170.0, "principal_moments": [6950000.0, 13099999.999999998, 19100000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 65 \u00d7 46.7 \u00d7 12 mm (W\u00d7D\u00d7H).", "Four \u00d83.2 mm holes at the corners, 45.5 \u00d7 32.69 mm spacing."], "text": "Rectangular body, 65 \u00d7 46.7 \u00d7 12 mm (W\u00d7D\u00d7H). Four \u00d83.2 mm holes at the corners, 45.5 \u00d7 32.69 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 65, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 46.7, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 10.5, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332084 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 65, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 46.7, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 10.5, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca975_3521", "family": "bracket", "tier": 2, "seed": 1177332085, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "274e0a8214531027", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 29900.0, "surface_area": 11900.0, "principal_moments": [7580000.0, 21100000.0, 21100000.0], "n_faces": 14, "n_edges": 37, "n_vertices": 24}, "dimensions": {"lines": ["L-bracket: base leg 70 mm, vertical leg 53.7 mm, 40 mm wide, 6 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg; 6.5 mm corner gusset."], "text": "L-bracket: base leg 70 mm, vertical leg 53.7 mm, 40 mm wide, 6 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg; 6.5 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 70, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 53.7, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 40, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 6.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 6.5, "min": 3.0, "max": 18.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332085 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 70, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 53.7, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 40, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 6.5, \"min\": 3.0, \"max\": 18.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462ca976_3522", "family": "tapped", "tier": 1, "seed": 1177332086, "symmetry": "none", "op_count": 1, "ir_hash": "fa84a6678bf29b3e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 2700.0, "surface_area": 1550.0, "principal_moments": [76000.0, 117000.0, 117000.0], "n_faces": 191, "n_edges": 519, "n_vertices": 330}, "dimensions": {"lines": ["One M5x0.8 tapped hole in a cylinder."], "text": "One M5x0.8 tapped hole in a cylinder."}, "params": {"major_d": {"type": "float", "default": 5.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 0.8, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 18.7, "min": 6.0, "max": 33.7, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "body_d": {"type": "float", "default": 14.3, "min": 9.0, "max": 22.9, "step": 1.0, "group": "Body", "label": "Outer \u00d8 (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332086 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 0.8, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 18.7, \"min\": 6.0, \"max\": 33.7, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"body_d\": {\"type\": 'float', \"default\": 14.3, \"min\": 9.0, \"max\": 22.9, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer \u00d8 (mm)'},\n}\n\n\ndef build(p):\n\n    _W = _D = p[\"body_d\"]\n    _H = p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Cylinder(radius=_W / 2, height=_H)\n    _locs = [(0.0, 0.0)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca977_3523", "family": "plate", "tier": 1, "seed": 1177332087, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "c1d1b45be15ad92f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 18400.0, "surface_area": 5960.0, "principal_moments": [1320000.0, 5540000.0, 6430000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 59.7 \u00d7 27.2 \u00d7 12 mm (W\u00d7D\u00d7H).", "Four \u00d85.3 mm holes at the corners, 41.79 \u00d7 19.04 mm spacing."], "text": "Rectangular body, 59.7 \u00d7 27.2 \u00d7 12 mm (W\u00d7D\u00d7H). Four \u00d85.3 mm holes at the corners, 41.79 \u00d7 19.04 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 59.7, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 27.2, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 6.1, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332087 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 59.7, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 27.2, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 6.1, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca978_3524", "family": "bracket", "tier": 1, "seed": 1177332088, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "e2d3534e7c9feefe", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 14000.0, "surface_area": 5000.0, "principal_moments": [1870000.0, 2070000.0, 3020000.0], "n_faces": 9, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["L-bracket: base leg 27.2 mm, vertical leg 32 mm, 34.57 mm wide, 8 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."], "text": "L-bracket: base leg 27.2 mm, vertical leg 32 mm, 34.57 mm wide, 8 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 27.2, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 32.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 34.57, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 8.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332088 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 27.2, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 32.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 34.57, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca979_3525", "family": "plate", "tier": 0, "seed": 1177332089, "symmetry": "none", "op_count": 1, "ir_hash": "bf84fe7d89f07187", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 1540.0, "surface_area": 988.0, "principal_moments": [22600.0, 83300.0, 99500.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 25 \u00d7 12.3 \u00d7 5 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 25 \u00d7 12.3 \u00d7 5 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 25, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 12.3, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 5.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332089 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 25, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 12.3, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 5.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca97a_3526", "family": "revolved", "tier": 0, "seed": 1177332090, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "05a165f997f88ef9", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 213000.0, "surface_area": 38000.0, "principal_moments": [93699999.99999999, 291000000.0, 291000000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d854.14 mm \u00d7 138.9 mm tall."], "text": "Revolved body, \u00d854.14 mm \u00d7 138.9 mm tall."}, "params": {"outer_d": {"type": "float", "default": 54.14, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 138.9, "min": 41.7, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332090 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 54.14, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 138.9, \"min\": 41.7, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462ca97b_3527", "family": "lofted", "tier": 1, "seed": 1177332091, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "827743e0cd03a9b5", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 14000.0, "surface_area": 5220.0, "principal_moments": [1470000.0, 2200000.0, 2200000.0], "n_faces": 9, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["Lofted body through 2 sections: \u00d830 mm circular section \u2192 6-sided polygon section, 22.3 mm across corners.", "One \u00d812.6 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 2 sections: \u00d830 mm circular section \u2192 6-sided polygon section, 22.3 mm across corners. One \u00d812.6 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 30.0, "min": 15.0, "max": 48.0, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 22.3, "min": 8.9, "max": 36.0, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 36.9, "min": 14.8, "max": 73.8, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_bore_d": {"type": "float", "default": 12.6, "min": 2.0, "max": 17.8, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332091 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 30.0, \"min\": 15.0, \"max\": 48.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 22.3, \"min\": 8.9, \"max\": 36.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 36.9, \"min\": 14.8, \"max\": 73.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 12.6, \"min\": 2.0, \"max\": 17.8, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .circle(p[\"loft_base\"] / 2)\n        .workplane(offset=p[\"loft_h\"])\n        .polygon(6, p[\"loft_top\"] * 0.5 * 2)\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462ca97c_3528", "family": "swept", "tier": 1, "seed": 1177332092, "symmetry": "none", "op_count": 1, "ir_hash": "d18803c5add15df6", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 3330.0, "surface_area": 1640.0, "principal_moments": [43300.0, 764000.0, 772000.0], "n_faces": 3, "n_edges": 3, "n_vertices": 2}, "dimensions": {"lines": ["\u00d89.3 mm circular section swept along a curved path, ~45 mm span."], "text": "\u00d89.3 mm circular section swept along a curved path, ~45 mm span."}, "params": {"path_w": {"type": "float", "default": 30.39, "min": 15.2, "max": 54.7, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 45, "min": 22.5, "max": 81.0, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_d": {"type": "float", "default": 9.3, "min": 4.7, "max": 16.7, "step": 1.0, "group": "Section", "label": "Section diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332092 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 30.39, \"min\": 15.2, \"max\": 54.7, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 45, \"min\": 22.5, \"max\": 81.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_d\": {\"type\": 'float', \"default\": 9.3, \"min\": 4.7, \"max\": 16.7, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.0088, p[\"path_h\"] * 0.266), (p[\"path_w\"] * 0.2667, p[\"path_h\"] * 0.4231), (p[\"path_w\"] * 0.6906, p[\"path_h\"] * 0.8006), (p[\"path_w\"] * 0.7124, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').circle(p[\"sweep_d\"] / 2).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462ca97d_3529", "family": "sketched", "tier": 1, "seed": 1177332093, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "23f30b77adc53e91", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 18200.0, "surface_area": 4630.0, "principal_moments": [1710000.0, 2710000.0, 3590000.0], "n_faces": 7, "n_edges": 15, "n_vertices": 10}, "dimensions": {"lines": ["freeform sketched section (4 segments: 1 straight, 2 arcs, 1 curve), ~44.045 \u00d7 43.217 mm, extruded 16.62 mm thick.", "One \u00d85.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "freeform sketched section (4 segments: 1 straight, 2 arcs, 1 curve), ~44.045 \u00d7 43.217 mm, extruded 16.62 mm thick. One \u00d85.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"sk_w": {"type": "float", "default": 58.0, "min": 29.0, "max": 104.4, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 51.15, "min": 25.6, "max": 92.1, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "sk_t": {"type": "float", "default": 16.62, "min": 6.6, "max": 36.6, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "sk_hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 10.6, "step": 0.5, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332093 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 58.0, \"min\": 29.0, \"max\": 104.4, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 51.15, \"min\": 25.6, \"max\": 92.1, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"sk_t\": {\"type\": 'float', \"default\": 16.62, \"min\": 6.6, \"max\": 36.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"sk_hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 10.6, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.4084, p[\"sk_h\"] * -0.1967).threePointArc((p[\"sk_w\"] * 0.1586, p[\"sk_h\"] * 0.1671), (p[\"sk_w\"] * -0.154, p[\"sk_h\"] * 0.4475)).lineTo(p[\"sk_w\"] * -0.351, p[\"sk_h\"] * -0.1198).threePointArc((p[\"sk_w\"] * -0.1929, p[\"sk_h\"] * -0.2991), (p[\"sk_w\"] * 0.0264, p[\"sk_h\"] * -0.3974)).spline([(p[\"sk_w\"] * 0.0264, p[\"sk_h\"] * -0.3974), (p[\"sk_w\"] * 0.2443, p[\"sk_h\"] * -0.3483), (p[\"sk_w\"] * 0.4084, p[\"sk_h\"] * -0.1967)]).close().extrude(p[\"sk_t\"]))\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"sk_hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca97e_3530", "family": "bracket", "tier": 1, "seed": 1177332094, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "a365298f9d1b2b70", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 6590.0, "surface_area": 5580.0, "principal_moments": [2240000.0, 3000000.0, 4990000.0], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["C-channel bracket: base leg 49.52 mm, vertical leg 54.7 mm, 15 mm wide, 3 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."], "text": "C-channel bracket: base leg 49.52 mm, vertical leg 54.7 mm, 15 mm wide, 3 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 49.52, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 54.7, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 15.0, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 3.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 6.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332094 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 49.52, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 54.7, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 15.0, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 6.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca97f_3531", "family": "block", "tier": 2, "seed": 1177332095, "symmetry": "radial", "op_count": 3, "ir_hash": "fc37cd7868fad8aa", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 4820.0, "surface_area": 3230.0, "principal_moments": [384000.0, 409000.0, 433000.0], "n_faces": 28, "n_edges": 70, "n_vertices": 44}, "dimensions": {"lines": ["Rectangular body, 20.09 \u00d7 17.4 \u00d7 16.4 mm (W\u00d7D\u00d7H).", "Six \u00d83.2 mm holes on a \u00d812 mm bolt circle.", "Boss \u00d822.7 mm \u00d7 5.6 mm tall on top face with a \u00d813 mm bore."], "text": "Rectangular body, 20.09 \u00d7 17.4 \u00d7 16.4 mm (W\u00d7D\u00d7H). Six \u00d83.2 mm holes on a \u00d812 mm bolt circle. Boss \u00d822.7 mm \u00d7 5.6 mm tall on top face with a \u00d813 mm bore."}, "params": {"block_w": {"type": "float", "default": 20.09, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 17.4, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 16.4, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "bolt_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 6.0, "min": 4.0, "max": 9.0, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 6, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}, "boss_d": {"type": "float", "default": 22.7, "min": 11.3, "max": 45.4, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 5.6, "min": 2.2, "max": 14.0, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}, "boss_bore_d": {"type": "float", "default": 13.0, "min": 2.0, "max": 15.9, "step": 0.1, "group": "Boss", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332095 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 20.09, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 17.4, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 16.4, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 6.0, \"min\": 4.0, \"max\": 9.0, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n    \"boss_d\": {\"type\": 'float', \"default\": 22.7, \"min\": 11.3, \"max\": 45.4, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 5.6, \"min\": 2.2, \"max\": 14.0, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n    \"boss_bore_d\": {\"type\": 'float', \"default\": 13.0, \"min\": 2.0, \"max\": 15.9, \"step\": 0.1, \"group\": 'Boss', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .hole(p[\"boss_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca980_3532", "family": "bracket", "tier": 1, "seed": 1177332096, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "b7d7eaa3130eba68", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 26000.0, "surface_area": 8630.0, "principal_moments": [6210000.0, 6830000.0, 10400000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["L-bracket: base leg 34.59 mm, vertical leg 39.4 mm, 50 mm wide, 8 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."], "text": "L-bracket: base leg 34.59 mm, vertical leg 39.4 mm, 50 mm wide, 8 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 34.59, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 39.4, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 50, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 8.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332096 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 34.59, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 39.4, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 50, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462ca981_3533", "family": "sketched", "tier": 2, "seed": 1177332097, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "a759966d4a628632", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 88500.0, "surface_area": 14600.0, "principal_moments": [33900000.0, 41200000.0, 41200000.0], "n_faces": 7, "n_edges": 11, "n_vertices": 6}, "dimensions": {"lines": ["Revolved organic body from a freeform sketched section (7 segments: 4 straight, 1 arc, 2 curves), ~36.688 \u00d7 63.89 mm half-silhouette."], "text": "Revolved organic body from a freeform sketched section (7 segments: 4 straight, 1 arc, 2 curves), ~36.688 \u00d7 63.89 mm half-silhouette."}, "params": {"sk_r": {"type": "float", "default": 40, "min": 20.0, "max": 72.0, "step": 1.0, "group": "Sketch", "label": "Max radius (mm)"}, "sk_h": {"type": "float", "default": 63.89, "min": 31.9, "max": 115.0, "step": 1.0, "group": "Sketch", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332097 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_r\": {\"type\": 'float', \"default\": 40, \"min\": 20.0, \"max\": 72.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Max radius (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 63.89, \"min\": 31.9, \"max\": 115.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XZ').moveTo(p[\"sk_r\"] * 0.4616, p[\"sk_h\"] * 0.0).bezier([(p[\"sk_r\"] * 0.4616, p[\"sk_h\"] * 0.0), (p[\"sk_r\"] * 0.3173, p[\"sk_h\"] * 0.0853), (p[\"sk_r\"] * 0.3486, p[\"sk_h\"] * 0.1707)]).spline([(p[\"sk_r\"] * 0.3486, p[\"sk_h\"] * 0.1707), (p[\"sk_r\"] * 0.2365, p[\"sk_h\"] * 0.2138), (p[\"sk_r\"] * 0.2007, p[\"sk_h\"] * 0.2569)]).threePointArc((p[\"sk_r\"] * 0.3787, p[\"sk_h\"] * 0.4861), (p[\"sk_r\"] * 0.5264, p[\"sk_h\"] * 0.7152)).lineTo(p[\"sk_r\"] * 0.9172, p[\"sk_h\"] * 0.7598).lineTo(p[\"sk_r\"] * 0.6782, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.0, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.0, p[\"sk_h\"] * 0.0).close().revolve())\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca982_3534", "family": "compound", "tier": 2, "seed": 1177332098, "symmetry": "none", "op_count": 3, "ir_hash": "5641d6a80f87668d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 38900.0, "surface_area": 10600.0, "principal_moments": [7290000.0, 13599999.999999998, 13599999.999999998], "n_faces": 17, "n_edges": 42, "n_vertices": 28}, "dimensions": {"lines": ["6-sided polygon section, 44.68 mm across corners, extruded 24.7 mm thick.", "\u00d821 mm circular section attachment, 39 mm long, from top face with a \u00d811.5 mm bore.", "Fillet radius 1.059 mm on vertical edges."], "text": "6-sided polygon section, 44.68 mm across corners, extruded 24.7 mm thick. \u00d821 mm circular section attachment, 39 mm long, from top face with a \u00d811.5 mm bore. Fillet radius 1.059 mm on vertical edges."}, "params": {"base_sides": {"type": "int", "default": 6, "min": 3, "max": 8, "step": 1, "group": "Base", "label": "Base sides"}, "base_r": {"type": "float", "default": 22.34, "min": 13.4, "max": 35.7, "step": 1.0, "group": "Base", "label": "Base circumradius (mm)"}, "base_h": {"type": "float", "default": 24.7, "min": 9.9, "max": 61.8, "step": 1.0, "group": "Base", "label": "Base height (mm)"}, "col_d": {"type": "float", "default": 21.0, "min": 10.5, "max": 31.0, "step": 1.0, "group": "Column", "label": "Column diameter (mm)"}, "col_h": {"type": "float", "default": 39.0, "min": 11.7, "max": 97.5, "step": 1.0, "group": "Column", "label": "Column height (mm)"}, "col_bore": {"type": "float", "default": 11.5, "min": 2.0, "max": 15.1, "step": 0.5, "group": "Column", "label": "Column bore diameter (mm)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332098 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_sides\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Base', \"label\": 'Base sides'},\n    \"base_r\": {\"type\": 'float', \"default\": 22.34, \"min\": 13.4, \"max\": 35.7, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base circumradius (mm)'},\n    \"base_h\": {\"type\": 'float', \"default\": 24.7, \"min\": 9.9, \"max\": 61.8, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base height (mm)'},\n    \"col_d\": {\"type\": 'float', \"default\": 21.0, \"min\": 10.5, \"max\": 31.0, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column diameter (mm)'},\n    \"col_h\": {\"type\": 'float', \"default\": 39.0, \"min\": 11.7, \"max\": 97.5, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column height (mm)'},\n    \"col_bore\": {\"type\": 'float', \"default\": 11.5, \"min\": 2.0, \"max\": 15.1, \"step\": 0.5, \"group\": 'Column', \"label\": 'Column bore diameter (mm)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').polygon(p[\"base_sides\"], p[\"base_r\"] * 2).extrude(p[\"base_h\"]))\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"col_d\"] / 2).extrude(p[\"col_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"col_bore\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"base_r\"], p[\"base_r\"]) * 0.047406766360678226)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca983_3535", "family": "bracket", "tier": 2, "seed": 1177332099, "symmetry": "none", "op_count": 1, "ir_hash": "b91f93420de2a8ac", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 15100.0, "surface_area": 11000.0, "principal_moments": [5230000.0, 5240000.0, 8350000.0], "n_faces": 15, "n_edges": 44, "n_vertices": 27}, "dimensions": {"lines": ["L-bracket: base leg 44.13 mm, vertical leg 41.6 mm, 58.63 mm wide, 3 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 3.2 mm corner gusset."], "text": "L-bracket: base leg 44.13 mm, vertical leg 41.6 mm, 58.63 mm wide, 3 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 3.2 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 44.13, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 41.6, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 58.63, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 3.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 3.2, "min": 1.5, "max": 9.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332099 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 44.13, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 41.6, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 58.63, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 3.2, \"min\": 1.5, \"max\": 9.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca984_3536", "family": "plate", "tier": 2, "seed": 1177332100, "symmetry": "none", "op_count": 3, "ir_hash": "22a8ec61029ddbb2", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 2370.0, "surface_area": 2090.0, "principal_moments": [121000.0, 213000.0, 330000.0], "n_faces": 16, "n_edges": 42, "n_vertices": 28}, "dimensions": {"lines": ["Rectangular body, 33.48 \u00d7 24.8 \u00d7 3 mm (W\u00d7D\u00d7H).", "Six \u00d82.9 mm holes in a 2\u00d73 grid, 26.8 \u00d7 9.9 mm pitch.", "Chamfer 0.5 mm on vertical edges."], "text": "Rectangular body, 33.48 \u00d7 24.8 \u00d7 3 mm (W\u00d7D\u00d7H). Six \u00d82.9 mm holes in a 2\u00d73 grid, 26.8 \u00d7 9.9 mm pitch. Chamfer 0.5 mm on vertical edges."}, "params": {"plate_w": {"type": "float", "default": 33.48, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 24.8, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 3.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 2.9, "min": 2.0, "max": 3.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 2, "min": 1, "max": 4, "step": 1, "group": "Holes", "label": "Holes across"}, "hole_ny": {"type": "int", "default": 3, "min": 1, "max": 4, "step": 1, "group": "Holes", "label": "Holes deep"}, "chamfer_d": {"type": "float", "default": 0.5, "min": 0.5, "max": 0.8, "step": 0.5, "group": "Body", "label": "Chamfer distance (mm)"}, "chamfered": {"type": "bool", "default": true, "group": "Body", "label": "Chamfer edges"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332100 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 33.48, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 24.8, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 3.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 2.9, \"min\": 2.0, \"max\": 3.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 2, \"min\": 1, \"max\": 4, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes across'},\n    \"hole_ny\": {\"type\": 'int', \"default\": 3, \"min\": 1, \"max\": 4, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes deep'},\n    \"chamfer_d\": {\"type\": 'float', \"default\": 0.5, \"min\": 0.5, \"max\": 0.8, \"step\": 0.5, \"group\": 'Body', \"label\": 'Chamfer distance (mm)'},\n    \"chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Chamfer edges'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(26.8, 9.9, p[\"hole_nx\"], p[\"hole_ny\"])\n        .hole(p[\"hole_d\"])\n    )\n    if p[\"chamfered\"]:\n        result = result.edges('|Z').chamfer(p[\"chamfer_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca985_3537", "family": "block", "tier": 1, "seed": 1177332101, "symmetry": "radial", "op_count": 2, "ir_hash": "c8fa6f110d48d721", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 72300.0, "surface_area": 13100.0, "principal_moments": [15499999.999999998, 33099999.999999996, 41900000.0], "n_faces": 8, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["Rectangular body, 45 \u00d7 23.2 \u00d7 70.3 mm (W\u00d7D\u00d7H).", "Four \u00d83.2 mm holes on a \u00d827 mm bolt circle."], "text": "Rectangular body, 45 \u00d7 23.2 \u00d7 70.3 mm (W\u00d7D\u00d7H). Four \u00d83.2 mm holes on a \u00d827 mm bolt circle."}, "params": {"block_w": {"type": "float", "default": 45, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 23.2, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 70.3, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "bolt_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 13.5, "min": 9.0, "max": 20.2, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 4, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332101 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 45, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 23.2, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 70.3, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 13.5, \"min\": 9.0, \"max\": 20.2, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 4, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca986_3538", "family": "plate", "tier": 1, "seed": 1177332102, "symmetry": "none", "op_count": 2, "ir_hash": "81aafb324aed35f5", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 26200.0, "surface_area": 10900.0, "principal_moments": [6670000.0, 14399999.999999998, 20900000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 81.4 \u00d7 55.3 \u00d7 6 mm (W\u00d7D\u00d7H).", "Four \u00d86.4 mm holes at the corners, 56.98 \u00d7 38.71 mm spacing."], "text": "Rectangular body, 81.4 \u00d7 55.3 \u00d7 6 mm (W\u00d7D\u00d7H). Four \u00d86.4 mm holes at the corners, 56.98 \u00d7 38.71 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 81.4, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 55.3, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 6.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 12.4, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332102 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 81.4, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 55.3, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 12.4, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462ca987_3539", "family": "swept", "tier": 0, "seed": 1177332103, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "d833bab41b947e72", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 9600.0, "surface_area": 3730.0, "principal_moments": [388000.0, 3390000.0, 3660000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["17 \u00d7 8.6 mm rectangular section swept along a curved path, ~60 mm span."], "text": "17 \u00d7 8.6 mm rectangular section swept along a curved path, ~60 mm span."}, "params": {"path_w": {"type": "float", "default": 58.72, "min": 29.4, "max": 105.7, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 60, "min": 30.0, "max": 108.0, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_a": {"type": "float", "default": 17.0, "min": 8.5, "max": 30.6, "step": 1.0, "group": "Section", "label": "Section width (mm)"}, "sweep_b": {"type": "float", "default": 8.6, "min": 4.3, "max": 15.5, "step": 1.0, "group": "Section", "label": "Section depth (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332103 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 58.72, \"min\": 29.4, \"max\": 105.7, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 60, \"min\": 30.0, \"max\": 108.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_a\": {\"type\": 'float', \"default\": 17.0, \"min\": 8.5, \"max\": 30.6, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section width (mm)'},\n    \"sweep_b\": {\"type\": 'float', \"default\": 8.6, \"min\": 4.3, \"max\": 15.5, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section depth (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.2423, p[\"path_h\"] * 0.5386), (p[\"path_w\"] * 0.2849, p[\"path_h\"] * 0.6101), (p[\"path_w\"] * 0.1401, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').rect(p[\"sweep_a\"], p[\"sweep_b\"]).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca988_3540", "family": "plate", "tier": 2, "seed": 1177332104, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "f1a4d38f857174ce", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 7270.0, "surface_area": 5040.0, "principal_moments": [916000.0, 1580000.0, 2470000.0], "n_faces": 22, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 54.03 \u00d7 41.2 \u00d7 4 mm (W\u00d7D\u00d7H).", "Four 10.1 mm square holes at the corners, 37.821 \u00d7 28.84 mm spacing."], "text": "Rectangular body, 54.03 \u00d7 41.2 \u00d7 4 mm (W\u00d7D\u00d7H). Four 10.1 mm square holes at the corners, 37.821 \u00d7 28.84 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 54.03, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 41.2, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 4.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 10.1, "min": 2.0, "max": 12.1, "step": 0.5, "group": "Holes", "label": "Square hole size (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332104 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 54.03, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 41.2, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 4.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 10.1, \"min\": 2.0, \"max\": 12.1, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Square hole size (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().rect(p[\"hole_d\"], p[\"hole_d\"]).cutThruAll()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca989_3541", "family": "plate", "tier": 3, "seed": 1177332105, "symmetry": "mirror_xy", "op_count": 3, "ir_hash": "326026aa334e5dd8", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 42200.0, "surface_area": 12600.0, "principal_moments": [6690000.0, 34000000.0, 39800000.0], "n_faces": 20, "n_edges": 39, "n_vertices": 26}, "dimensions": {"lines": ["Rectangular body, 100 \u00d7 43.2 \u00d7 10 mm (W\u00d7D\u00d7H).", "Four \u00d85.3 mm counterbored holes (\u00d810.6 mm \u00d7 4.2 mm counterbore) at the corners, 70 \u00d7 30.24 mm spacing.", "Boss \u00d811.5 mm \u00d7 9.1 mm tall on top face."], "text": "Rectangular body, 100 \u00d7 43.2 \u00d7 10 mm (W\u00d7D\u00d7H). Four \u00d85.3 mm counterbored holes (\u00d810.6 mm \u00d7 4.2 mm counterbore) at the corners, 70 \u00d7 30.24 mm spacing. Boss \u00d811.5 mm \u00d7 9.1 mm tall on top face."}, "params": {"plate_w": {"type": "float", "default": 100, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 43.2, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 9.7, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "cb_d": {"type": "float", "default": 10.6, "min": 7.9, "max": 15.9, "step": 0.5, "group": "Holes", "label": "Counterbore diameter (mm)"}, "cb_depth": {"type": "float", "default": 4.2, "min": 2.1, "max": 8.4, "step": 0.5, "group": "Holes", "label": "Counterbore depth (mm)"}, "boss_d": {"type": "float", "default": 11.5, "min": 5.8, "max": 23.0, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 9.1, "min": 3.6, "max": 22.8, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332105 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 100, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 43.2, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 9.7, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"cb_d\": {\"type\": 'float', \"default\": 10.6, \"min\": 7.9, \"max\": 15.9, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Counterbore diameter (mm)'},\n    \"cb_depth\": {\"type\": 'float', \"default\": 4.2, \"min\": 2.1, \"max\": 8.4, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Counterbore depth (mm)'},\n    \"boss_d\": {\"type\": 'float', \"default\": 11.5, \"min\": 5.8, \"max\": 23.0, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 9.1, \"min\": 3.6, \"max\": 22.8, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().cboreHole(p[\"hole_d\"], p[\"cb_d\"], p[\"cb_depth\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca98a_3542", "family": "revolved", "tier": 2, "seed": 1177332106, "symmetry": "radial", "op_count": 2, "ir_hash": "2b80720bba9c2e8a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 329.0, "surface_area": 512.0, "principal_moments": [1770.0, 6830.0, 6830.0], "n_faces": 5, "n_edges": 8, "n_vertices": 5}, "dimensions": {"lines": ["Revolved body, \u00d86 mm \u00d7 17.5 mm tall.", "Chamfer 0.3 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d86 mm \u00d7 17.5 mm tall. Chamfer 0.3 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 6.0, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 17.5, "min": 5.2, "max": 52.5, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "end_chamfer": {"type": "float", "default": 0.3, "min": 0.1, "max": 0.9, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332106 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 6.0, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 17.5, \"min\": 5.2, \"max\": 52.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.3, \"min\": 0.1, \"max\": 0.9, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462ca98b_3543", "family": "lofted", "tier": 1, "seed": 1177332107, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "332a7e3a9eb22364", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 19000.0, "surface_area": 5100.0, "principal_moments": [2100000.0, 2880000.0, 2880000.0], "n_faces": 8, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["Lofted body through 2 sections: 31.42 \u00d7 31.42 mm rectangular section \u2192 \u00d815.5 mm circular section.", "One \u00d85.8 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 2 sections: 31.42 \u00d7 31.42 mm rectangular section \u2192 \u00d815.5 mm circular section. One \u00d85.8 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 31.42, "min": 15.7, "max": 50.3, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 15.5, "min": 6.2, "max": 37.7, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 37.2, "min": 14.9, "max": 74.4, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_bore_d": {"type": "float", "default": 5.8, "min": 2.0, "max": 12.4, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332107 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 31.42, \"min\": 15.7, \"max\": 50.3, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 15.5, \"min\": 6.2, \"max\": 37.7, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 37.2, \"min\": 14.9, \"max\": 74.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 5.8, \"min\": 2.0, \"max\": 12.4, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .rect(p[\"loft_base\"], p[\"loft_base\"])\n        .workplane(offset=p[\"loft_h\"])\n        .circle(p[\"loft_top\"] / 2)\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca98c_3544", "family": "bracket", "tier": 2, "seed": 1177332108, "symmetry": "none", "op_count": 1, "ir_hash": "32a5734cd6865854", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 21700.0, "surface_area": 8570.0, "principal_moments": [4070000.0, 24999999.999999996, 28099999.999999996], "n_faces": 18, "n_edges": 48, "n_vertices": 32}, "dimensions": {"lines": ["Z-bracket: base leg 70 mm, vertical leg 70.1 mm, top leg 42.7 mm, 16.12 mm wide, 8 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg; 8.3 mm corner gusset."], "text": "Z-bracket: base leg 70 mm, vertical leg 70.1 mm, top leg 42.7 mm, 16.12 mm wide, 8 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg; 8.3 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 70, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 70.1, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 16.12, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 8.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 42.7, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 6.4, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}, "gusset_t": {"type": "float", "default": 8.3, "min": 4.0, "max": 8.1, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332108 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 70, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 70.1, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 16.12, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 42.7, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 6.4, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 8.3, \"min\": 4.0, \"max\": 8.1, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _tl, _vl) * 0.4 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(0, _vl - _bt).lineTo(-_g, _vl - _bt)\n                    .lineTo(0, _vl - _bt - _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca98d_3545", "family": "block", "tier": 3, "seed": 1177332109, "symmetry": "mirror_xy", "op_count": 5, "ir_hash": "893341924ce20ba9", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 46500.0, "surface_area": 15500.0, "principal_moments": [11999999.999999998, 13899999.999999998, 21700000.0], "n_faces": 25, "n_edges": 69, "n_vertices": 46}, "dimensions": {"lines": ["Rectangular body, 46.09 \u00d7 21.9 \u00d7 56.8 mm (W\u00d7D\u00d7H).", "Nine \u00d82.1 mm holes in two staggered rows, 8.6 \u00d7 10.2 mm pitch.", "Pocket 24.5 \u00d7 15.1 mm, 24.4 mm deep, in top face.", "Fillet radius 1.36 mm on vertical edges (optional, off by default).", "\u00d89.1 mm circular section attachment, 15.3 mm long, from right face with a \u00d85.6 mm bore."], "text": "Rectangular body, 46.09 \u00d7 21.9 \u00d7 56.8 mm (W\u00d7D\u00d7H). Nine \u00d82.1 mm holes in two staggered rows, 8.6 \u00d7 10.2 mm pitch. Pocket 24.5 \u00d7 15.1 mm, 24.4 mm deep, in top face. Fillet radius 1.36 mm on vertical edges (optional, off by default). \u00d89.1 mm circular section attachment, 15.3 mm long, from right face with a \u00d85.6 mm bore."}, "params": {"block_w": {"type": "float", "default": 46.09, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 21.9, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 56.8, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 2.1, "min": 2.0, "max": 2.2, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 5, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}, "pocket_w": {"type": "float", "default": 24.5, "min": 12.2, "max": 36.9, "step": 1.0, "group": "Pocket", "label": "Pocket width (mm)"}, "pocket_d": {"type": "float", "default": 15.1, "min": 7.5, "max": 17.5, "step": 1.0, "group": "Pocket", "label": "Pocket depth (mm)"}, "pocket_h": {"type": "float", "default": 24.4, "min": 9.8, "max": 48.3, "step": 0.5, "group": "Pocket", "label": "Pocket height (mm)"}, "filleted2": {"type": "bool", "default": false, "group": "Body", "label": "Fillet corners"}, "side_tube_d": {"type": "float", "default": 9.1, "min": 3.6, "max": 10.9, "step": 1.0, "group": "Side Tube", "label": "Side tube diameter (mm)"}, "side_tube_len": {"type": "float", "default": 15.3, "min": 4.6, "max": 27.3, "step": 1.0, "group": "Side Tube", "label": "Side tube length (mm)"}, "side_bore_d": {"type": "float", "default": 5.6, "min": 2.0, "max": 6.8, "step": 0.5, "group": "Side Tube", "label": "Side bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332109 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 46.09, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 21.9, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 56.8, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 2.1, \"min\": 2.0, \"max\": 2.2, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 5, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n    \"pocket_w\": {\"type\": 'float', \"default\": 24.5, \"min\": 12.2, \"max\": 36.9, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket width (mm)'},\n    \"pocket_d\": {\"type\": 'float', \"default\": 15.1, \"min\": 7.5, \"max\": 17.5, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket depth (mm)'},\n    \"pocket_h\": {\"type\": 'float', \"default\": 24.4, \"min\": 9.8, \"max\": 48.3, \"step\": 0.5, \"group\": 'Pocket', \"label\": 'Pocket height (mm)'},\n    \"filleted2\": {\"type\": 'bool', \"default\": False, \"group\": 'Body', \"label\": 'Fillet corners'},\n    \"side_tube_d\": {\"type\": 'float', \"default\": 9.1, \"min\": 3.6, \"max\": 10.9, \"step\": 1.0, \"group\": 'Side Tube', \"label\": 'Side tube diameter (mm)'},\n    \"side_tube_len\": {\"type\": 'float', \"default\": 15.3, \"min\": 4.6, \"max\": 27.3, \"step\": 1.0, \"group\": 'Side Tube', \"label\": 'Side tube length (mm)'},\n    \"side_bore_d\": {\"type\": 'float', \"default\": 5.6, \"min\": 2.0, \"max\": 6.8, \"step\": 0.5, \"group\": 'Side Tube', \"label\": 'Side bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 8.6\n    _ssy = 10.2\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"pocket_w\"], p[\"pocket_d\"])\n        .cutBlind(-p[\"pocket_h\"])\n    )\n    if p[\"filleted2\"]:\n        result = result.edges('|Z').fillet(min(p[\"block_w\"], p[\"block_d\"]) * 0.0620809857829752)\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"side_tube_d\"] / 2).extrude(p[\"side_tube_len\"])\n    )\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"side_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca98e_3546", "family": "revolved", "tier": 1, "seed": 1177332110, "symmetry": "none", "op_count": 1, "ir_hash": "1f09a68410a71862", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 45800.0, "surface_area": 13000.0, "principal_moments": [11200000.0, 19800000.0, 19800000.0], "n_faces": 6, "n_edges": 9, "n_vertices": 6}, "dimensions": {"lines": ["Revolved body, \u00d831 mm \u00d7 59.5 mm tall with \u00d817.9 mm bore, \u00d847.7 mm \u00d7 15.4 mm flange."], "text": "Revolved body, \u00d831 mm \u00d7 59.5 mm tall with \u00d817.9 mm bore, \u00d847.7 mm \u00d7 15.4 mm flange."}, "params": {"outer_d": {"type": "float", "default": 31.0, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 59.5, "min": 17.8, "max": 178.5, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 17.9, "min": 2.0, "max": 21.7, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 47.7, "min": 37.2, "max": 93.0, "step": 1.0, "group": "Body", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 15.4, "min": 4.6, "max": 29.8, "step": 0.5, "group": "Body", "label": "Flange height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332110 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 31.0, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 59.5, \"min\": 17.8, \"max\": 178.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 17.9, \"min\": 2.0, \"max\": 21.7, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 47.7, \"min\": 37.2, \"max\": 93.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 15.4, \"min\": 4.6, \"max\": 29.8, \"step\": 0.5, \"group\": 'Body', \"label\": 'Flange height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca98f_3547", "family": "bracket", "tier": 1, "seed": 1177332111, "symmetry": "none", "op_count": 1, "ir_hash": "ab0afa9e9d13ea79", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 32000.0, "surface_area": 18300.0, "principal_moments": [23699999.999999996, 37600000.0, 54299999.99999999], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["C-channel bracket: base leg 77.81 mm, vertical leg 77.2 mm, 35.95 mm wide, 4 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."], "text": "C-channel bracket: base leg 77.81 mm, vertical leg 77.2 mm, 35.95 mm wide, 4 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 77.81, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 77.2, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 35.95, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 4.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332111 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 77.81, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 77.2, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 35.95, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462ca992_3550", "family": "threaded", "tier": 1, "seed": 1177332114, "symmetry": "none", "op_count": 1, "ir_hash": "8e8d2d83a2cef4ac", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 674.0, "surface_area": 845.0, "principal_moments": [2510.0, 49700.0, 49700.0], "n_faces": 300, "n_edges": 770, "n_vertices": 472}, "dimensions": {"lines": ["M6x1 external thread, 29.5 mm long."], "text": "M6x1 external thread, 29.5 mm long."}, "params": {"major_d": {"type": "float", "default": 6.0, "min": 4.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Major diameter (mm)"}, "pitch": {"type": "float", "default": 1.0, "min": 0.5, "max": 2.0, "step": 0.05, "group": "Thread", "label": "Pitch (mm)"}, "thread_len": {"type": "float", "default": 29.5, "min": 11.8, "max": 59.0, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332114 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 6.0, \"min\": 4.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Major diameter (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.0, \"min\": 0.5, \"max\": 2.0, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Pitch (mm)'},\n    \"thread_len\": {\"type\": 'float', \"default\": 29.5, \"min\": 11.8, \"max\": 59.0, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.IsoThread(major_diameter=p[\"major_d\"], pitch=p[\"pitch\"], length=p[\"thread_len\"], external=True, end_finishes=(\"fade\", \"fade\"))\n    _r = _thr.min_radius if hasattr(_thr, 'min_radius') else _thr.root_radius\n    _shank = _bd.Cylinder(radius=_r, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = _shank + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca993_3551", "family": "plate", "tier": 0, "seed": 1177332115, "symmetry": "none", "op_count": 1, "ir_hash": "7316237a8df5b7ba", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 42500.0, "surface_area": 10300.0, "principal_moments": [5440000.0, 32499999.999999996, 36900000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 95 \u00d7 37.3 \u00d7 12 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 95 \u00d7 37.3 \u00d7 12 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 95, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 37.3, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332115 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 95, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 37.3, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca994_3552", "family": "bracket", "tier": 2, "seed": 1177332116, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "a936ea6589f5cf0e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 26700.0, "surface_area": 8960.0, "principal_moments": [3780000.0, 13099999.999999998, 14399999.999999998], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Z-bracket: base leg 50 mm, vertical leg 33.5 mm, top leg 31.9 mm, 33.71 mm wide, 8 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 8.4 mm corner gusset."], "text": "Z-bracket: base leg 50 mm, vertical leg 33.5 mm, top leg 31.9 mm, 33.71 mm wide, 8 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 8.4 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 50, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 33.5, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 33.71, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 8.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 31.9, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}, "gusset_t": {"type": "float", "default": 8.4, "min": 4.0, "max": 16.9, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332116 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 50, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 33.5, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 33.71, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 31.9, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 8.4, \"min\": 4.0, \"max\": 16.9, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _tl, _vl) * 0.4 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(0, _vl - _bt).lineTo(-_g, _vl - _bt)\n                    .lineTo(0, _vl - _bt - _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462ca995_3553", "family": "enclosure", "tier": 2, "seed": 1177332117, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "22cc217fdb7e8a65", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 33900.0, "surface_area": 22300.0, "principal_moments": [16199999.999999998, 25799999.999999996, 35600000.0], "n_faces": 15, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 75 \u00d7 53.9 \u00d7 30.5 mm (W\u00d7D\u00d7H).", "Hollowed to 3.2 mm wall thickness, open at top face.", "Four \u00d86.4 mm holes at the corners, 52.5 \u00d7 37.73 mm spacing."], "text": "Rectangular body, 75 \u00d7 53.9 \u00d7 30.5 mm (W\u00d7D\u00d7H). Hollowed to 3.2 mm wall thickness, open at top face. Four \u00d86.4 mm holes at the corners, 52.5 \u00d7 37.73 mm spacing."}, "params": {"enc_w": {"type": "float", "default": 75, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 53.9, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 30.5, "min": 12.2, "max": 61.0, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 3.2, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 12.1, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332117 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 75, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 53.9, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 30.5, \"min\": 12.2, \"max\": 61.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 12.1, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"enc_w\"] * 0.7, p[\"enc_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca996_3554", "family": "plate", "tier": 3, "seed": 1177332118, "symmetry": "mirror_x", "op_count": 4, "ir_hash": "539b92fcd6d23f73", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 1690.0, "surface_area": 1470.0, "principal_moments": [24300.0, 149000.0, 163000.0], "n_faces": 19, "n_edges": 48, "n_vertices": 32}, "dimensions": {"lines": ["Rectangular body, 30.92 \u00d7 11.2 \u00d7 6 mm (W\u00d7D\u00d7H).", "Four \u00d82.4 mm holes at the corners, 21.644 \u00d7 7.84 mm spacing.", "Chamfer 0.5 mm on vertical edges.", "Pocket 18.7 \u00d7 5.1 mm, 2.9 mm deep, in top face."], "text": "Rectangular body, 30.92 \u00d7 11.2 \u00d7 6 mm (W\u00d7D\u00d7H). Four \u00d82.4 mm holes at the corners, 21.644 \u00d7 7.84 mm spacing. Chamfer 0.5 mm on vertical edges. Pocket 18.7 \u00d7 5.1 mm, 2.9 mm deep, in top face."}, "params": {"plate_w": {"type": "float", "default": 30.92, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 11.2, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 6.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 2.4, "min": 2.0, "max": 2.5, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "chamfer_d": {"type": "float", "default": 0.5, "min": 0.5, "max": 0.5, "step": 0.5, "group": "Body", "label": "Chamfer distance (mm)"}, "chamfered": {"type": "bool", "default": true, "group": "Body", "label": "Chamfer edges"}, "pocket_w": {"type": "float", "default": 18.7, "min": 9.3, "max": 24.7, "step": 1.0, "group": "Pocket", "label": "Pocket width (mm)"}, "pocket_d": {"type": "float", "default": 5.1, "min": 2.5, "max": 9.0, "step": 1.0, "group": "Pocket", "label": "Pocket depth (mm)"}, "pocket_h": {"type": "float", "default": 2.9, "min": 1.2, "max": 5.1, "step": 0.5, "group": "Pocket", "label": "Pocket height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332118 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 30.92, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 11.2, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 2.4, \"min\": 2.0, \"max\": 2.5, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"chamfer_d\": {\"type\": 'float', \"default\": 0.5, \"min\": 0.5, \"max\": 0.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Chamfer distance (mm)'},\n    \"chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Chamfer edges'},\n    \"pocket_w\": {\"type\": 'float', \"default\": 18.7, \"min\": 9.3, \"max\": 24.7, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket width (mm)'},\n    \"pocket_d\": {\"type\": 'float', \"default\": 5.1, \"min\": 2.5, \"max\": 9.0, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket depth (mm)'},\n    \"pocket_h\": {\"type\": 'float', \"default\": 2.9, \"min\": 1.2, \"max\": 5.1, \"step\": 0.5, \"group\": 'Pocket', \"label\": 'Pocket height (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"chamfered\"]:\n        result = result.edges('|Z').chamfer(p[\"chamfer_d\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"pocket_w\"], p[\"pocket_d\"])\n        .cutBlind(-p[\"pocket_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca999_3557", "family": "block", "tier": 1, "seed": 1177332121, "symmetry": "radial", "op_count": 2, "ir_hash": "9006e529882144c7", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 39000.0, "surface_area": 19300.0, "principal_moments": [7240000.0, 15699999.999999998, 18200000.0], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Rectangular body, 34.89 \u00d7 27 \u00d7 64 mm (W\u00d7D\u00d7H).", "Six \u00d88.4 mm holes on a \u00d821 mm bolt circle."], "text": "Rectangular body, 34.89 \u00d7 27 \u00d7 64 mm (W\u00d7D\u00d7H). Six \u00d88.4 mm holes on a \u00d821 mm bolt circle."}, "params": {"block_w": {"type": "float", "default": 34.89, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 27.0, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 64.0, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "bolt_d": {"type": "float", "default": 8.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 10.5, "min": 7.0, "max": 15.7, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 6, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332121 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 34.89, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 27.0, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 64.0, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 10.5, \"min\": 7.0, \"max\": 15.7, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca99a_3558", "family": "compound", "tier": 1, "seed": 1177332122, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "9dc7c88ac5d2da6a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 241000.0, "surface_area": 27300.0, "principal_moments": [141000000.0, 165000000.0, 229000000.0], "n_faces": 12, "n_edges": 27, "n_vertices": 18}, "dimensions": {"lines": ["Rectangular body, 69.29 \u00d7 43.8 \u00d7 79.4 mm (W\u00d7D\u00d7H).", "15.6 \u00d7 12.6 mm rectangular section attachment, 21.5 mm long, from right face with a \u00d87.5 mm bore."], "text": "Rectangular body, 69.29 \u00d7 43.8 \u00d7 79.4 mm (W\u00d7D\u00d7H). 15.6 \u00d7 12.6 mm rectangular section attachment, 21.5 mm long, from right face with a \u00d87.5 mm bore."}, "params": {"block_w": {"type": "float", "default": 69.29, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 43.8, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 79.4, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "spig_a": {"type": "float", "default": 15.6, "min": 7.8, "max": 30.7, "step": 1.0, "group": "Spigot", "label": "Spigot width (mm)"}, "spig_b": {"type": "float", "default": 12.6, "min": 6.3, "max": 30.7, "step": 1.0, "group": "Spigot", "label": "Spigot depth (mm)"}, "spig_len": {"type": "float", "default": 21.5, "min": 3.8, "max": 50.4, "step": 1.0, "group": "Spigot", "label": "Spigot length (mm)"}, "spig_bore": {"type": "float", "default": 7.5, "min": 2.0, "max": 9.1, "step": 0.5, "group": "Spigot", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332122 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 69.29, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 43.8, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 79.4, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"spig_a\": {\"type\": 'float', \"default\": 15.6, \"min\": 7.8, \"max\": 30.7, \"step\": 1.0, \"group\": 'Spigot', \"label\": 'Spigot width (mm)'},\n    \"spig_b\": {\"type\": 'float', \"default\": 12.6, \"min\": 6.3, \"max\": 30.7, \"step\": 1.0, \"group\": 'Spigot', \"label\": 'Spigot depth (mm)'},\n    \"spig_len\": {\"type\": 'float', \"default\": 21.5, \"min\": 3.8, \"max\": 50.4, \"step\": 1.0, \"group\": 'Spigot', \"label\": 'Spigot length (mm)'},\n    \"spig_bore\": {\"type\": 'float', \"default\": 7.5, \"min\": 2.0, \"max\": 9.1, \"step\": 0.5, \"group\": 'Spigot', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .rect(p[\"spig_a\"], p[\"spig_b\"]).extrude(p[\"spig_len\"])\n    )\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"spig_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca99b_3559", "family": "plate", "tier": 2, "seed": 1177332123, "symmetry": "none", "op_count": 3, "ir_hash": "7178e071b52e153f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 10900.0, "surface_area": 6520.0, "principal_moments": [1670000.0, 3790000.0, 5430000.0], "n_faces": 14, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 65 \u00d7 43.1 \u00d7 4 mm (W\u00d7D\u00d7H).", "Four \u00d84.3 mm holes at the corners, 45.5 \u00d7 30.17 mm spacing.", "Chamfer 2.5 mm on vertical edges."], "text": "Rectangular body, 65 \u00d7 43.1 \u00d7 4 mm (W\u00d7D\u00d7H). Four \u00d84.3 mm holes at the corners, 45.5 \u00d7 30.17 mm spacing. Chamfer 2.5 mm on vertical edges."}, "params": {"plate_w": {"type": "float", "default": 65, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 43.1, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 4.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 9.7, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "chamfer_d": {"type": "float", "default": 2.5, "min": 1.7, "max": 3.2, "step": 0.5, "group": "Body", "label": "Chamfer distance (mm)"}, "chamfered": {"type": "bool", "default": true, "group": "Body", "label": "Chamfer edges"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332123 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 65, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 43.1, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 4.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 9.7, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"chamfer_d\": {\"type\": 'float', \"default\": 2.5, \"min\": 1.7, \"max\": 3.2, \"step\": 0.5, \"group\": 'Body', \"label\": 'Chamfer distance (mm)'},\n    \"chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Chamfer edges'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"chamfered\"]:\n        result = result.edges('|Z').chamfer(p[\"chamfer_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462ca99c_3560", "family": "lofted", "tier": 0, "seed": 1177332124, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "bab79a34005d994c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 23800.0, "surface_area": 4940.0, "principal_moments": [3100000.0, 3100000.0, 4050000.0], "n_faces": 7, "n_edges": 15, "n_vertices": 10}, "dimensions": {"lines": ["Lofted body through 2 sections: \u00d843.61 mm circular section \u2192 23.4 \u00d7 23.4 mm rectangular section."], "text": "Lofted body through 2 sections: \u00d843.61 mm circular section \u2192 23.4 \u00d7 23.4 mm rectangular section."}, "params": {"loft_base": {"type": "float", "default": 43.61, "min": 21.8, "max": 69.8, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 23.4, "min": 9.4, "max": 52.3, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 24.1, "min": 9.6, "max": 48.2, "step": 1.0, "group": "Body", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332124 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 43.61, \"min\": 21.8, \"max\": 69.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 23.4, \"min\": 9.4, \"max\": 52.3, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 24.1, \"min\": 9.6, \"max\": 48.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .circle(p[\"loft_base\"] / 2)\n        .workplane(offset=p[\"loft_h\"])\n        .rect(p[\"loft_top\"], p[\"loft_top\"])\n        .loft(combine=True)\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462ca99d_3561", "family": "flanged", "tier": 1, "seed": 1177332125, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "528cedb00b18aa0d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 14100.0, "surface_area": 7160.0, "principal_moments": [2360000.0, 2360000.0, 4200000.0], "n_faces": 14, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["Revolved body, \u00d825 mm \u00d7 15.3 mm tall with \u00d87.7 mm bore, \u00d857.2 mm \u00d7 3.7 mm flange.", "Eight \u00d84.3 mm holes on a \u00d834.4 mm bolt circle."], "text": "Revolved body, \u00d825 mm \u00d7 15.3 mm tall with \u00d87.7 mm bore, \u00d857.2 mm \u00d7 3.7 mm flange. Eight \u00d84.3 mm holes on a \u00d834.4 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 25, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 15.3, "min": 4.6, "max": 38.2, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 7.7, "min": 2.0, "max": 17.5, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 57.2, "min": 32.5, "max": 75.0, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 3.7, "min": 1.1, "max": 6.1, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 17.2, "min": 11.4, "max": 25.7, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 8, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332125 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 25, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 15.3, \"min\": 4.6, \"max\": 38.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 7.7, \"min\": 2.0, \"max\": 17.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 57.2, \"min\": 32.5, \"max\": 75.0, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 3.7, \"min\": 1.1, \"max\": 6.1, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 17.2, \"min\": 11.4, \"max\": 25.7, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462ca99e_3562", "family": "enclosure", "tier": 2, "seed": 1177332126, "symmetry": "none", "op_count": 4, "ir_hash": "8bb949101ecfc356", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 55900.0, "surface_area": 56100.0, "principal_moments": [56299999.99999999, 109000000.0, 110000000.0], "n_faces": 23, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 109 \u00d7 55.7 \u00d7 70.2 mm (W\u00d7D\u00d7H).", "Hollowed to 2 mm wall thickness, open at top face.", "Four \u00d84.3 mm holes at the corners, 76.3 \u00d7 38.99 mm spacing.", "Fillet radius 2.314 mm on vertical edges."], "text": "Rectangular body, 109 \u00d7 55.7 \u00d7 70.2 mm (W\u00d7D\u00d7H). Hollowed to 2 mm wall thickness, open at top face. Four \u00d84.3 mm holes at the corners, 76.3 \u00d7 38.99 mm spacing. Fillet radius 2.314 mm on vertical edges."}, "params": {"enc_w": {"type": "float", "default": 109.0, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 55.7, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 70.2, "min": 28.1, "max": 140.4, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 2.0, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 12.5, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332126 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 109.0, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 55.7, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 70.2, \"min\": 28.1, \"max\": 140.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 2.0, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 12.5, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"enc_w\"] * 0.7, p[\"enc_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"enc_w\"], p[\"enc_d\"]) * 0.04154704777124647)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca99f_3563", "family": "bracket", "tier": 3, "seed": 1177332127, "symmetry": "none", "op_count": 1, "ir_hash": "c1434c7a54610248", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 7770.0, "surface_area": 5920.0, "principal_moments": [983000.0, 1970000.0, 2570000.0], "n_faces": 18, "n_edges": 48, "n_vertices": 32}, "dimensions": {"lines": ["Z-bracket: base leg 30 mm, vertical leg 25 mm, top leg 25 mm, 35 mm wide, 3 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg; 2.7 mm corner gusset."], "text": "Z-bracket: base leg 30 mm, vertical leg 25 mm, top leg 25 mm, 35 mm wide, 3 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg; 2.7 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 30, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 25.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 35, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 3.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 25.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}, "gusset_t": {"type": "float", "default": 2.7, "min": 1.5, "max": 9.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332127 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 30, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 25.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 35, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 25.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 2.7, \"min\": 1.5, \"max\": 9.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _tl, _vl) * 0.4 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(0, _vl - _bt).lineTo(-_g, _vl - _bt)\n                    .lineTo(0, _vl - _bt - _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca9a0_3564", "family": "bracket", "tier": 1, "seed": 1177332128, "symmetry": "none", "op_count": 1, "ir_hash": "56700e20a28fb099", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 31100.0, "surface_area": 10400.0, "principal_moments": [4820000.0, 19500000.0, 21100000.0], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Z-bracket: base leg 55 mm, vertical leg 35.3 mm, top leg 37.9 mm, 35 mm wide, 8 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."], "text": "Z-bracket: base leg 55 mm, vertical leg 35.3 mm, top leg 37.9 mm, 35 mm wide, 8 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 55, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 35.3, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 35, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 8.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 37.9, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332128 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 55, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 35.3, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 35, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 37.9, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca9a1_3565", "family": "plate", "tier": 0, "seed": 1177332129, "symmetry": "none", "op_count": 1, "ir_hash": "8af6dccd300f4b6f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 1390.0, "surface_area": 863.0, "principal_moments": [15800.0, 66700.0, 74100.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 23.21 \u00d7 10 \u00d7 6 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 23.21 \u00d7 10 \u00d7 6 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 23.21, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 10.0, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 6.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332129 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 23.21, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 10.0, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca9a2_3566", "family": "plate", "tier": 0, "seed": 1177332130, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "7ab495b7c69b35ce", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 76200.0, "surface_area": 16600.0, "principal_moments": [25199999.999999996, 68000000.0, 91299999.99999999], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 102.75 \u00d7 61.8 \u00d7 12 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 102.75 \u00d7 61.8 \u00d7 12 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 102.75, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 61.8, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332130 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 102.75, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 61.8, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462ca9a3_3567", "family": "gear", "tier": 2, "seed": 1177332131, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "f7add6c8bc7a87ee", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 7340.0, "surface_area": 3880.0, "principal_moments": [697000.0, 697000.0, 1340000.0], "n_faces": 483, "n_edges": 1203, "n_vertices": 722}, "dimensions": {"lines": ["Helical gear, module 1.25 mm, 30 teeth (pitch \u00d837.5 mm), face width 6.8 mm, 10.9\u00b0 helix (herringbone), \u00d85.6 mm bore."], "text": "Helical gear, module 1.25 mm, 30 teeth (pitch \u00d837.5 mm), face width 6.8 mm, 10.9\u00b0 helix (herringbone), \u00d85.6 mm bore."}, "params": {"module": {"type": "float", "default": 1.25, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 30, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 6.8, "min": 2.7, "max": 17.0, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "helix_angle": {"type": "float", "default": 10.9, "min": 5.0, "max": 40.0, "step": 1.0, "group": "Gear", "label": "Helix angle (deg)"}, "profile_shift": {"type": "float", "default": -0.2, "min": -0.5, "max": 0.7, "step": 0.05, "group": "Gear", "label": "Profile shift"}, "root_fillet": {"type": "float", "default": 0.35, "min": 0.0, "max": 0.62, "step": 0.05, "group": "Gear", "label": "Root fillet (mm)"}, "bore_d": {"type": "float", "default": 5.6, "min": 2.0, "max": 20.6, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332131 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 1.25, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 30, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 6.8, \"min\": 2.7, \"max\": 17.0, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"helix_angle\": {\"type\": 'float', \"default\": 10.9, \"min\": 5.0, \"max\": 40.0, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Helix angle (deg)'},\n    \"profile_shift\": {\"type\": 'float', \"default\": -0.2, \"min\": -0.5, \"max\": 0.7, \"step\": 0.05, \"group\": 'Gear', \"label\": 'Profile shift'},\n    \"root_fillet\": {\"type\": 'float', \"default\": 0.35, \"min\": 0.0, \"max\": 0.62, \"step\": 0.05, \"group\": 'Gear', \"label\": 'Root fillet (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 5.6, \"min\": 2.0, \"max\": 20.6, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.HelicalGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"], helix_angle=math.radians(p[\"helix_angle\"]), herringbone=True, profile_shift=p[\"profile_shift\"], root_fillet=p[\"root_fillet\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462ca9a4_3568", "family": "lofted", "tier": 1, "seed": 1177332132, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "18fd91bf21998120", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 20500.0, "surface_area": 6150.0, "principal_moments": [2530000.0, 3800000.0, 3800000.0], "n_faces": 9, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["Lofted body through 2 sections: \u00d835 mm circular section \u2192 6-sided polygon section, 21.5 mm across corners.", "One \u00d811.4 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 2 sections: \u00d835 mm circular section \u2192 6-sided polygon section, 21.5 mm across corners. One \u00d811.4 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 35, "min": 17.5, "max": 56.0, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 21.5, "min": 8.6, "max": 42.0, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 41.1, "min": 16.4, "max": 82.2, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_bore_d": {"type": "float", "default": 11.4, "min": 2.0, "max": 17.2, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332132 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 35, \"min\": 17.5, \"max\": 56.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 21.5, \"min\": 8.6, \"max\": 42.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 41.1, \"min\": 16.4, \"max\": 82.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 11.4, \"min\": 2.0, \"max\": 17.2, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .circle(p[\"loft_base\"] / 2)\n        .workplane(offset=p[\"loft_h\"])\n        .polygon(6, p[\"loft_top\"] * 0.5 * 2)\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462ca9a5_3569", "family": "tapped", "tier": 1, "seed": 1177332133, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "f7e932ee0695eb36", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 33000.0, "surface_area": 10000.0, "principal_moments": [6600000.0, 7490000.0, 12699999.999999998], "n_faces": 358, "n_edges": 1268, "n_vertices": 912}, "dimensions": {"lines": ["Four M10x1.5 tapped holes in a plate."], "text": "Four M10x1.5 tapped holes in a plate."}, "params": {"major_d": {"type": "float", "default": 10.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 1.5, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 16.0, "min": 12.0, "max": 28.8, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "plate_w": {"type": "float", "default": 50, "min": 30.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 46.6, "min": 28.0, "max": 74.6, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332133 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 10.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.5, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 16.0, \"min\": 12.0, \"max\": 28.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"plate_w\": {\"type\": 'float', \"default\": 50, \"min\": 30.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 46.6, \"min\": 28.0, \"max\": 74.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n}\n\n\ndef build(p):\n\n    _W, _D, _H = p[\"plate_w\"], p[\"plate_d\"], p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Box(_W, _D, _H)\n    _sx, _sy = p[\"plate_w\"] * 0.6, p[\"plate_d\"] * 0.6\n    _locs = [(_xx, _yy) for _xx in (-_sx / 2, _sx / 2) for _yy in (-_sy / 2, _sy / 2)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca9a6_3570", "family": "plate", "tier": 1, "seed": 1177332134, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "ab26bbe38d90d72a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 14600.0, "surface_area": 5090.0, "principal_moments": [760000.0, 5220000.0, 5730000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 65 \u00d7 23 \u00d7 10 mm (W\u00d7D\u00d7H).", "Four \u00d83.2 mm holes at the corners, 45.5 \u00d7 16.1 mm spacing."], "text": "Rectangular body, 65 \u00d7 23 \u00d7 10 mm (W\u00d7D\u00d7H). Four \u00d83.2 mm holes at the corners, 45.5 \u00d7 16.1 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 65, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 23.0, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 5.2, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332134 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 65, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 23.0, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 5.2, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca9a7_3571", "family": "bracket", "tier": 1, "seed": 1177332135, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "b0ebdb24ec8f6874", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 31700.0, "surface_area": 15200.0, "principal_moments": [15199999.999999998, 32499999.999999996, 41300000.0], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["C-channel bracket: base leg 75.01 mm, vertical leg 60.7 mm, 34.53 mm wide, 5 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."], "text": "C-channel bracket: base leg 75.01 mm, vertical leg 60.7 mm, 34.53 mm wide, 5 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 75.01, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 60.7, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 34.53, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 5.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332135 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 75.01, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 60.7, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 34.53, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca9a8_3572", "family": "bracket", "tier": 1, "seed": 1177332136, "symmetry": "none", "op_count": 1, "ir_hash": "489b397ad48c3577", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 5870.0, "surface_area": 3000.0, "principal_moments": [385000.0, 796000.0, 848000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["L-bracket: base leg 30.38 mm, vertical leg 25 mm, 20.72 mm wide, 6 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."], "text": "L-bracket: base leg 30.38 mm, vertical leg 25 mm, 20.72 mm wide, 6 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 30.38, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 25.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 20.72, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 6.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 8.3, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332136 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 30.38, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 25.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 20.72, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 8.3, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca9a9_3573", "family": "revolved", "tier": 0, "seed": 1177332137, "symmetry": "none", "op_count": 1, "ir_hash": "bb3d5002d0a7db1d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 81300.0, "surface_area": 16800.0, "principal_moments": [40400000.0, 40400000.0, 74500000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d878.18 mm \u00d7 25.4 mm tall."], "text": "Revolved body, \u00d878.18 mm \u00d7 25.4 mm tall."}, "params": {"outer_d": {"type": "float", "default": 78.18, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 25.4, "min": 7.6, "max": 76.2, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332137 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 78.18, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 25.4, \"min\": 7.6, \"max\": 76.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462ca9aa_3574", "family": "lofted", "tier": 2, "seed": 1177332138, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "95a819ad4ce70655", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 21700.0, "surface_area": 5990.0, "principal_moments": [3140000.0, 3140000.0, 4200000.0], "n_faces": 8, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["Lofted body through 3 sections: 40.86 \u00d7 40.86 mm rectangular section \u2192 28.4 \u00d7 28.4 mm rectangular section \u2192 \u00d815.9 mm circular section.", "One \u00d89.5 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 3 sections: 40.86 \u00d7 40.86 mm rectangular section \u2192 28.4 \u00d7 28.4 mm rectangular section \u2192 \u00d815.9 mm circular section. One \u00d89.5 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 40.86, "min": 20.4, "max": 65.4, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 15.9, "min": 6.4, "max": 49.0, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 27.9, "min": 11.2, "max": 55.8, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_mid": {"type": "float", "default": 28.4, "min": 8.0, "max": 49.0, "step": 1.0, "group": "Body", "label": "Mid size (mm)"}, "loft_bore_d": {"type": "float", "default": 9.5, "min": 2.0, "max": 12.7, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332138 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 40.86, \"min\": 20.4, \"max\": 65.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 15.9, \"min\": 6.4, \"max\": 49.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 27.9, \"min\": 11.2, \"max\": 55.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_mid\": {\"type\": 'float', \"default\": 28.4, \"min\": 8.0, \"max\": 49.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Mid size (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 9.5, \"min\": 2.0, \"max\": 12.7, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .rect(p[\"loft_base\"], p[\"loft_base\"])\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .rect(p[\"loft_mid\"], p[\"loft_mid\"])\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .circle(p[\"loft_top\"] / 2)\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462ca9ab_3575", "family": "profiled", "tier": 1, "seed": 1177332139, "symmetry": "none", "op_count": 1, "ir_hash": "3b63c13d20a3fe7f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 430000.0, "surface_area": 50500.0, "principal_moments": [112000000.0, 4340000000.0, 4410000000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["55 \u00d7 25 mm slot section, extruded 346.9 mm thick."], "text": "55 \u00d7 25 mm slot section, extruded 346.9 mm thick."}, "params": {"slot_len": {"type": "float", "default": 55, "min": 27.5, "max": 110.0, "step": 1.0, "group": "Profile", "label": "Slot length (mm)"}, "slot_w": {"type": "float", "default": 25.0, "min": 12.5, "max": 50.0, "step": 0.5, "group": "Profile", "label": "Slot width (mm)"}, "length": {"type": "float", "default": 346.9, "min": 104.1, "max": 1040.7, "step": 5.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332139 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"slot_len\": {\"type\": 'float', \"default\": 55, \"min\": 27.5, \"max\": 110.0, \"step\": 1.0, \"group\": 'Profile', \"label\": 'Slot length (mm)'},\n    \"slot_w\": {\"type\": 'float', \"default\": 25.0, \"min\": 12.5, \"max\": 50.0, \"step\": 0.5, \"group\": 'Profile', \"label\": 'Slot width (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 346.9, \"min\": 104.1, \"max\": 1040.7, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').slot2D(p[\"slot_len\"], p[\"slot_w\"]).extrude(p[\"length\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462ca9ac_3576", "family": "tapped", "tier": 2, "seed": 1177332140, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "fe1fc8b0f53019b8", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 78000.0, "surface_area": 19900.0, "principal_moments": [19900000.0, 39900000.0, 51299999.99999999], "n_faces": 778, "n_edges": 2224, "n_vertices": 1448}, "dimensions": {"lines": ["Four M16x2 tapped holes in a plate."], "text": "Four M16x2 tapped holes in a plate."}, "params": {"major_d": {"type": "float", "default": 16.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 2.0, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 25.6, "min": 19.2, "max": 46.1, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "plate_w": {"type": "float", "default": 75, "min": 45.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 49.9, "min": 29.9, "max": 79.8, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332140 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 16.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 2.0, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 25.6, \"min\": 19.2, \"max\": 46.1, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"plate_w\": {\"type\": 'float', \"default\": 75, \"min\": 45.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 49.9, \"min\": 29.9, \"max\": 79.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n}\n\n\ndef build(p):\n\n    _W, _D, _H = p[\"plate_w\"], p[\"plate_d\"], p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Box(_W, _D, _H)\n    _sx, _sy = p[\"plate_w\"] * 0.6, p[\"plate_d\"] * 0.6\n    _locs = [(_xx, _yy) for _xx in (-_sx / 2, _sx / 2) for _yy in (-_sy / 2, _sy / 2)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462ca9ad_3577", "family": "flanged", "tier": 1, "seed": 1177332141, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "c9307c684108f7f4", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 176000.0, "surface_area": 31900.0, "principal_moments": [130000000.0, 130000000.0, 146000000.0], "n_faces": 10, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["Revolved body, \u00d855 mm \u00d7 58.1 mm tall with \u00d818.7 mm bore, \u00d8104.4 mm \u00d7 8.9 mm flange.", "Four \u00d86.4 mm holes on a \u00d862.6 mm bolt circle."], "text": "Revolved body, \u00d855 mm \u00d7 58.1 mm tall with \u00d818.7 mm bore, \u00d8104.4 mm \u00d7 8.9 mm flange. Four \u00d86.4 mm holes on a \u00d862.6 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 55, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 58.1, "min": 17.4, "max": 145.2, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 18.7, "min": 2.0, "max": 38.5, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 104.4, "min": 71.5, "max": 165.0, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 8.9, "min": 2.7, "max": 23.2, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 31.3, "min": 20.9, "max": 47.0, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 4, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332141 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 55, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 58.1, \"min\": 17.4, \"max\": 145.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 18.7, \"min\": 2.0, \"max\": 38.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 104.4, \"min\": 71.5, \"max\": 165.0, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 8.9, \"min\": 2.7, \"max\": 23.2, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 31.3, \"min\": 20.9, \"max\": 47.0, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 4, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca9ae_3578", "family": "plate", "tier": 0, "seed": 1177332142, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "265f03b89581e63d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 7280.0, "surface_area": 4410.0, "principal_moments": [420000.0, 2980000.0, 3380000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 70 \u00d7 26 \u00d7 4 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 70 \u00d7 26 \u00d7 4 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 70, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 26.0, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 4.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332142 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 70, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 26.0, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 4.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462ca9af_3579", "family": "sketched", "tier": 1, "seed": 1177332143, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "41deba1f5f50b627", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 30000.0, "surface_area": 6200.0, "principal_moments": [4330000.0, 5200000.0, 7540000.0], "n_faces": 7, "n_edges": 15, "n_vertices": 10}, "dimensions": {"lines": ["freeform sketched section (4 segments: 1 straight, 2 arcs, 1 curve), ~50.562 \u00d7 46.954 mm, extruded 20 mm thick.", "One \u00d85.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "freeform sketched section (4 segments: 1 straight, 2 arcs, 1 curve), ~50.562 \u00d7 46.954 mm, extruded 20 mm thick. One \u00d85.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"sk_w": {"type": "float", "default": 60, "min": 30.0, "max": 108.0, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 62.01, "min": 31.0, "max": 111.6, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "sk_t": {"type": "float", "default": 20, "min": 8.0, "max": 44.0, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "sk_hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 10.6, "step": 0.5, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332143 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 60, \"min\": 30.0, \"max\": 108.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 62.01, \"min\": 31.0, \"max\": 111.6, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"sk_t\": {\"type\": 'float', \"default\": 20, \"min\": 8.0, \"max\": 44.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"sk_hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 10.6, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.4201, p[\"sk_h\"] * -0.0089).lineTo(p[\"sk_w\"] * 0.0271, p[\"sk_h\"] * 0.433).threePointArc((p[\"sk_w\"] * -0.2545, p[\"sk_h\"] * 0.2795), (p[\"sk_w\"] * -0.4226, p[\"sk_h\"] * 0.0153)).spline([(p[\"sk_w\"] * -0.4226, p[\"sk_h\"] * 0.0153), (p[\"sk_w\"] * -0.2642, p[\"sk_h\"] * -0.2101), (p[\"sk_w\"] * -0.0135, p[\"sk_h\"] * -0.3242)]).threePointArc((p[\"sk_w\"] * 0.2641, p[\"sk_h\"] * -0.2259), (p[\"sk_w\"] * 0.4201, p[\"sk_h\"] * -0.0089)).close().extrude(p[\"sk_t\"]))\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"sk_hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462ca9b1_3581", "family": "gear", "tier": 0, "seed": 1177332145, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "9ce555635aae8f1d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 95900.0, "surface_area": 20100.0, "principal_moments": [45000000.0, 45000000.0, 85100000.0], "n_faces": 170, "n_edges": 504, "n_vertices": 336}, "dimensions": {"lines": ["Spur gear, module 3 mm, 28 teeth (pitch \u00d884 mm), face width 17.5 mm."], "text": "Spur gear, module 3 mm, 28 teeth (pitch \u00d884 mm), face width 17.5 mm."}, "params": {"module": {"type": "float", "default": 3.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 28, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 17.5, "min": 7.0, "max": 43.8, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332145 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 3.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 28, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 17.5, \"min\": 7.0, \"max\": 43.8, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462ca9b2_3582", "family": "threaded", "tier": 1, "seed": 1177332146, "symmetry": "none", "op_count": 1, "ir_hash": "e0396717c3ea3ad1", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 1890.0, "surface_area": 1450.0, "principal_moments": [19800.0, 143000.0, 143000.0], "n_faces": 200, "n_edges": 510, "n_vertices": 312}, "dimensions": {"lines": ["M10x1.5 external thread, 29.2 mm long."], "text": "M10x1.5 external thread, 29.2 mm long."}, "params": {"major_d": {"type": "float", "default": 10.0, "min": 4.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Major diameter (mm)"}, "pitch": {"type": "float", "default": 1.5, "min": 0.75, "max": 3.0, "step": 0.05, "group": "Thread", "label": "Pitch (mm)"}, "thread_len": {"type": "float", "default": 29.2, "min": 11.7, "max": 58.4, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332146 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 10.0, \"min\": 4.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Major diameter (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.5, \"min\": 0.75, \"max\": 3.0, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Pitch (mm)'},\n    \"thread_len\": {\"type\": 'float', \"default\": 29.2, \"min\": 11.7, \"max\": 58.4, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.IsoThread(major_diameter=p[\"major_d\"], pitch=p[\"pitch\"], length=p[\"thread_len\"], external=True, end_finishes=(\"fade\", \"fade\"))\n    _r = _thr.min_radius if hasattr(_thr, 'min_radius') else _thr.root_radius\n    _shank = _bd.Cylinder(radius=_r, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = _shank + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca9b3_3583", "family": "bracket", "tier": 1, "seed": 1177332147, "symmetry": "none", "op_count": 1, "ir_hash": "53a939a5403f93a1", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 17700.0, "surface_area": 10100.0, "principal_moments": [3940000.0, 6060000.0, 6920000.0], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["C-channel bracket: base leg 30 mm, vertical leg 29.7 mm, 55 mm wide, 4 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."], "text": "C-channel bracket: base leg 30 mm, vertical leg 29.7 mm, 55 mm wide, 4 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 30, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 29.7, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 55, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 4.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332147 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 30, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 29.7, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 55, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca9b4_3584", "family": "bracket", "tier": 1, "seed": 1177332148, "symmetry": "none", "op_count": 1, "ir_hash": "d1511aed7f0a34e7", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 8950.0, "surface_area": 4150.0, "principal_moments": [624000.0, 1700000.0, 1940000.0], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Z-bracket: base leg 25 mm, vertical leg 25 mm, top leg 25 mm, 23.93 mm wide, 6 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."], "text": "Z-bracket: base leg 25 mm, vertical leg 25 mm, top leg 25 mm, 23.93 mm wide, 6 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 25.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 25.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 23.93, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 6.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 25.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 9.6, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332148 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 25.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 25.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 23.93, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 25.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 9.6, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca9b5_3585", "family": "block", "tier": 1, "seed": 1177332149, "symmetry": "none", "op_count": 2, "ir_hash": "7225997f915d235e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 415000.0, "surface_area": 52300.0, "principal_moments": [316000000.0, 461000000.0, 547000000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 78.74 \u00d7 59.5 \u00d7 100 mm (W\u00d7D\u00d7H).", "Four \u00d813 mm holes at the corners, 55.118 \u00d7 41.65 mm spacing."], "text": "Rectangular body, 78.74 \u00d7 59.5 \u00d7 100 mm (W\u00d7D\u00d7H). Four \u00d813 mm holes at the corners, 55.118 \u00d7 41.65 mm spacing."}, "params": {"block_w": {"type": "float", "default": 78.74, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 59.5, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 100.0, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 13.0, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332149 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 78.74, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 59.5, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 100.0, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 13.0, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462ca9b6_3586", "family": "ribbed", "tier": 3, "seed": 1177332150, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "55ec60ee39789a72", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 18100.0, "surface_area": 9960.0, "principal_moments": [2640000.0, 4220000.0, 5200000.0], "n_faces": 38, "n_edges": 92, "n_vertices": 56}, "dimensions": {"lines": ["Rectangular body, 46.84 \u00d7 33.2 \u00d7 8 mm (W\u00d7D\u00d7H).", "Four ribs, 2.2 mm thick, 17.3 mm tall."], "text": "Rectangular body, 46.84 \u00d7 33.2 \u00d7 8 mm (W\u00d7D\u00d7H). Four ribs, 2.2 mm thick, 17.3 mm tall."}, "params": {"base_w": {"type": "float", "default": 46.84, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 33.2, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 8.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 4, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 17.3, "min": 6.9, "max": 34.6, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 2.2, "min": 1.0, "max": 5.5, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332150 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 46.84, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 33.2, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 4, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 17.3, \"min\": 6.9, \"max\": 34.6, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 2.2, \"min\": 1.0, \"max\": 5.5, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca9b7_3587", "family": "revolved", "tier": 2, "seed": 1177332151, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "b8464baf40dce6a8", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 156000.0, "surface_area": 26800.0, "principal_moments": [82700000.0, 145000000.0, 145000000.0], "n_faces": 10, "n_edges": 15, "n_vertices": 10}, "dimensions": {"lines": ["Revolved body, \u00d835 mm \u00d7 94 mm tall with \u00d815.3 mm bore, \u00d873 mm \u00d7 26.5 mm flange, 8.56 mm-wide groove 2.67 mm deep."], "text": "Revolved body, \u00d835 mm \u00d7 94 mm tall with \u00d815.3 mm bore, \u00d873 mm \u00d7 26.5 mm flange, 8.56 mm-wide groove 2.67 mm deep."}, "params": {"outer_d": {"type": "float", "default": 35, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 94.0, "min": 28.2, "max": 282.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 15.3, "min": 2.0, "max": 24.5, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 73.0, "min": 42.0, "max": 105.0, "step": 1.0, "group": "Body", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 26.5, "min": 7.9, "max": 47.0, "step": 0.5, "group": "Body", "label": "Flange height (mm)"}, "groove_depth": {"type": "float", "default": 2.67, "min": 1.07, "max": 8.01, "step": 0.1, "group": "Body", "label": "Groove depth (mm)"}, "groove_w": {"type": "float", "default": 8.56, "min": 3.42, "max": 25.68, "step": 0.2, "group": "Body", "label": "Groove width (mm)"}, "groove_pos": {"type": "float", "default": 29.0, "min": 14.1, "max": 79.9, "step": 1.0, "group": "Body", "label": "Groove position (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332151 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 35, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 94.0, \"min\": 28.2, \"max\": 282.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 15.3, \"min\": 2.0, \"max\": 24.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 73.0, \"min\": 42.0, \"max\": 105.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 26.5, \"min\": 7.9, \"max\": 47.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Flange height (mm)'},\n    \"groove_depth\": {\"type\": 'float', \"default\": 2.67, \"min\": 1.07, \"max\": 8.01, \"step\": 0.1, \"group\": 'Body', \"label\": 'Groove depth (mm)'},\n    \"groove_w\": {\"type\": 'float', \"default\": 8.56, \"min\": 3.42, \"max\": 25.68, \"step\": 0.2, \"group\": 'Body', \"label\": 'Groove width (mm)'},\n    \"groove_pos\": {\"type\": 'float', \"default\": 29.0, \"min\": 14.1, \"max\": 79.9, \"step\": 1.0, \"group\": 'Body', \"label\": 'Groove position (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"groove_pos\"] - p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2 - p[\"groove_depth\"], p[\"groove_pos\"] - p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2 - p[\"groove_depth\"], p[\"groove_pos\"] + p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2, p[\"groove_pos\"] + p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca9b8_3588", "family": "plate", "tier": 1, "seed": 1177332152, "symmetry": "radial", "op_count": 2, "ir_hash": "87a2aa9faf49db05", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 4780.0, "surface_area": 3170.0, "principal_moments": [282000.0, 931000.0, 1200000.0], "n_faces": 16, "n_edges": 42, "n_vertices": 28}, "dimensions": {"lines": ["Rectangular body, 47.57 \u00d7 26.7 \u00d7 4 mm (W\u00d7D\u00d7H).", "Six \u00d84.3 mm holes on a \u00d828.6 mm bolt circle."], "text": "Rectangular body, 47.57 \u00d7 26.7 \u00d7 4 mm (W\u00d7D\u00d7H). Six \u00d84.3 mm holes on a \u00d828.6 mm bolt circle."}, "params": {"plate_w": {"type": "float", "default": 47.57, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 26.7, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 4.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "bolt_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 14.3, "min": 9.5, "max": 21.4, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 6, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332152 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 47.57, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 26.7, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 4.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 14.3, \"min\": 9.5, \"max\": 21.4, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462ca9b9_3589", "family": "flanged", "tier": 2, "seed": 1177332153, "symmetry": "none", "op_count": 2, "ir_hash": "5c1be4e9c3dcc50f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 256000.0, "surface_area": 43800.0, "principal_moments": [260000000.0, 260000000.0, 293000000.0], "n_faces": 18, "n_edges": 45, "n_vertices": 30}, "dimensions": {"lines": ["Revolved body, \u00d859.29 mm \u00d7 67.8 mm tall with \u00d819 mm bore, \u00d8124.5 mm \u00d7 9.6 mm flange.", "Twelve \u00d85.3 mm holes on a \u00d874.8 mm bolt circle."], "text": "Revolved body, \u00d859.29 mm \u00d7 67.8 mm tall with \u00d819 mm bore, \u00d8124.5 mm \u00d7 9.6 mm flange. Twelve \u00d85.3 mm holes on a \u00d874.8 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 59.29, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 67.8, "min": 20.3, "max": 169.5, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 19.0, "min": 2.0, "max": 41.5, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 124.5, "min": 77.1, "max": 177.9, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 9.6, "min": 2.9, "max": 27.1, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 37.4, "min": 24.9, "max": 56.0, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 12, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332153 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 59.29, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 67.8, \"min\": 20.3, \"max\": 169.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 19.0, \"min\": 2.0, \"max\": 41.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 124.5, \"min\": 77.1, \"max\": 177.9, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 9.6, \"min\": 2.9, \"max\": 27.1, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 37.4, \"min\": 24.9, \"max\": 56.0, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 12, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca9ba_3590", "family": "plate", "tier": 1, "seed": 1177332154, "symmetry": "none", "op_count": 2, "ir_hash": "6e1451279d431c3c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 7650.0, "surface_area": 3860.0, "principal_moments": [330000.0, 2280000.0, 2560000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 60.08 \u00d7 22.2 \u00d7 6 mm (W\u00d7D\u00d7H).", "Four \u00d84.3 mm holes at the corners, 42.056 \u00d7 15.54 mm spacing."], "text": "Rectangular body, 60.08 \u00d7 22.2 \u00d7 6 mm (W\u00d7D\u00d7H). Four \u00d84.3 mm holes at the corners, 42.056 \u00d7 15.54 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 60.08, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 22.2, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 6.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 5.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332154 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 60.08, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 22.2, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 5.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca9bb_3591", "family": "plate", "tier": 1, "seed": 1177332155, "symmetry": "none", "op_count": 2, "ir_hash": "2cba60d5b3faa05d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 28800.0, "surface_area": 8740.0, "principal_moments": [2760000.0, 19500000.0, 21700000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 90 \u00d7 32.6 \u00d7 10 mm (W\u00d7D\u00d7H).", "Four \u00d84.3 mm holes at the corners, 63 \u00d7 22.82 mm spacing."], "text": "Rectangular body, 90 \u00d7 32.6 \u00d7 10 mm (W\u00d7D\u00d7H). Four \u00d84.3 mm holes at the corners, 63 \u00d7 22.82 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 90, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 32.6, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 7.3, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332155 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 90, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 32.6, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 7.3, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca9bc_3592", "family": "block", "tier": 1, "seed": 1177332156, "symmetry": "none", "op_count": 2, "ir_hash": "5621f6ff1ecf1e4d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 147000.0, "surface_area": 21500.0, "principal_moments": [53199999.99999999, 86600000.0, 108000000.0], "n_faces": 11, "n_edges": 27, "n_vertices": 18}, "dimensions": {"lines": ["Rectangular body, 55 \u00d7 36 \u00d7 75.9 mm (W\u00d7D\u00d7H).", "Five \u00d83.2 mm holes in two staggered rows, 20.6 \u00d7 20.1 mm pitch."], "text": "Rectangular body, 55 \u00d7 36 \u00d7 75.9 mm (W\u00d7D\u00d7H). Five \u00d83.2 mm holes in two staggered rows, 20.6 \u00d7 20.1 mm pitch."}, "params": {"block_w": {"type": "float", "default": 55, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 36.0, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 75.9, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 3.6, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 3, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332156 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 55, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 36.0, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 75.9, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 3.6, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 3, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 20.6\n    _ssy = 20.1\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462ca9bd_3593", "family": "profiled", "tier": 0, "seed": 1177332157, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "d646bc3028bbfc9e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 192000.0, "surface_area": 50500.0, "principal_moments": [35400000.0, 1050000000.0, 1050000000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d835 mm \u00d7 300 mm tall."], "text": "Revolved body, \u00d835 mm \u00d7 300 mm tall."}, "params": {"outer_d": {"type": "float", "default": 35, "min": 17.5, "max": 70.0, "step": 1.0, "group": "Profile", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 300.0, "min": 90.0, "max": 900.0, "step": 5.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332157 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 35, \"min\": 17.5, \"max\": 70.0, \"step\": 1.0, \"group\": 'Profile', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 300.0, \"min\": 90.0, \"max\": 900.0, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462ca9be_3594", "family": "sketched", "tier": 0, "seed": 1177332158, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "092470a16d0a2753", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 19500.0, "surface_area": 5600.0, "principal_moments": [3020000.0, 3640000.0, 6340000.0], "n_faces": 8, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["freeform sketched section (6 segments: 3 straight, 2 arcs, 1 curve), ~51.12 \u00d7 52.013 mm, extruded 10 mm thick."], "text": "freeform sketched section (6 segments: 3 straight, 2 arcs, 1 curve), ~51.12 \u00d7 52.013 mm, extruded 10 mm thick."}, "params": {"sk_w": {"type": "float", "default": 60, "min": 30.0, "max": 108.0, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 75, "min": 37.5, "max": 135.0, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "sk_t": {"type": "float", "default": 10, "min": 4.0, "max": 22.0, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332158 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 60, \"min\": 30.0, \"max\": 108.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 75, \"min\": 37.5, \"max\": 135.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"sk_t\": {\"type\": 'float', \"default\": 10, \"min\": 4.0, \"max\": 22.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.4623, p[\"sk_h\"] * -0.1667).lineTo(p[\"sk_w\"] * 0.2179, p[\"sk_h\"] * 0.3341).lineTo(p[\"sk_w\"] * -0.2696, p[\"sk_h\"] * 0.3453).lineTo(p[\"sk_w\"] * -0.3897, p[\"sk_h\"] * -0.1463).threePointArc((p[\"sk_w\"] * -0.3236, p[\"sk_h\"] * -0.2653), (p[\"sk_w\"] * -0.2044, p[\"sk_h\"] * -0.3482)).bezier([(p[\"sk_w\"] * -0.2044, p[\"sk_h\"] * -0.3482), (p[\"sk_w\"] * 0.0362, p[\"sk_h\"] * -0.3214), (p[\"sk_w\"] * 0.2629, p[\"sk_h\"] * -0.2365)]).threePointArc((p[\"sk_w\"] * 0.3854, p[\"sk_h\"] * -0.2124), (p[\"sk_w\"] * 0.4623, p[\"sk_h\"] * -0.1667)).close().extrude(p[\"sk_t\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462ca9c1_3597", "family": "gear", "tier": 1, "seed": 1177332161, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "62f60677556c8578", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 89100.0, "surface_area": 18500.0, "principal_moments": [31799999.999999996, 31799999.999999996, 53899999.99999999], "n_faces": 105, "n_edges": 309, "n_vertices": 206}, "dimensions": {"lines": ["Spur gear, module 4 mm, 17 teeth (pitch \u00d868 mm), face width 25.6 mm, \u00d89.6 mm bore."], "text": "Spur gear, module 4 mm, 17 teeth (pitch \u00d868 mm), face width 25.6 mm, \u00d89.6 mm bore."}, "params": {"module": {"type": "float", "default": 4.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 17, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 25.6, "min": 10.2, "max": 64.0, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "bore_d": {"type": "float", "default": 9.6, "min": 2.0, "max": 34.8, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332161 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 4.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 17, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 25.6, \"min\": 10.2, \"max\": 64.0, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 9.6, \"min\": 2.0, \"max\": 34.8, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca9c2_3598", "family": "compound", "tier": 3, "seed": 1177332162, "symmetry": "none", "op_count": 3, "ir_hash": "134ae46ad27fc8c0", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 94600.0, "surface_area": 18000.0, "principal_moments": [37700000.0, 43800000.0, 43800000.0], "n_faces": 26, "n_edges": 60, "n_vertices": 37}, "dimensions": {"lines": ["Lofted body through 3 sections: \u00d865 mm circular section \u2192 \u00d855.2 mm circular section \u2192 45.4 \u00d7 45.4 mm rectangular section.", "8-sided polygon section, 33.2 mm across corners attachment, 30.5 mm long, from top face with a \u00d817.7 mm bore.", "Chamfer 1 mm on top edges."], "text": "Lofted body through 3 sections: \u00d865 mm circular section \u2192 \u00d855.2 mm circular section \u2192 45.4 \u00d7 45.4 mm rectangular section. 8-sided polygon section, 33.2 mm across corners attachment, 30.5 mm long, from top face with a \u00d817.7 mm bore. Chamfer 1 mm on top edges."}, "params": {"adapter_base": {"type": "float", "default": 65, "min": 39.0, "max": 97.5, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "adapter_top": {"type": "float", "default": 45.4, "min": 22.7, "max": 65, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "adapter_h": {"type": "float", "default": 34.9, "min": 14.0, "max": 69.8, "step": 1.0, "group": "Body", "label": "Transition height (mm)"}, "adapter_mid": {"type": "float", "default": 55.2, "min": 22.7, "max": 65, "step": 1.0, "group": "Body", "label": "Mid size (mm)"}, "neck_sides": {"type": "int", "default": 8, "min": 3, "max": 8, "step": 1, "group": "Neck", "label": "Neck sides"}, "neck_r": {"type": "float", "default": 16.6, "min": 8.3, "max": 22.7, "step": 1.0, "group": "Neck", "label": "Neck circumradius (mm)"}, "neck_l": {"type": "float", "default": 30.5, "min": 12.2, "max": 76.2, "step": 1.0, "group": "Neck", "label": "Neck length (mm)"}, "neck_bore": {"type": "float", "default": 17.7, "min": 2.0, "max": 22.1, "step": 0.5, "group": "Neck", "label": "Neck bore diameter (mm)"}, "chamfer_d": {"type": "float", "default": 1.0, "min": 0.5, "max": 3.0, "step": 0.5, "group": "Body", "label": "Chamfer distance (mm)"}, "chamfered": {"type": "bool", "default": true, "group": "Body", "label": "Chamfer edges"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332162 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"adapter_base\": {\"type\": 'float', \"default\": 65, \"min\": 39.0, \"max\": 97.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"adapter_top\": {\"type\": 'float', \"default\": 45.4, \"min\": 22.7, \"max\": 65, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"adapter_h\": {\"type\": 'float', \"default\": 34.9, \"min\": 14.0, \"max\": 69.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Transition height (mm)'},\n    \"adapter_mid\": {\"type\": 'float', \"default\": 55.2, \"min\": 22.7, \"max\": 65, \"step\": 1.0, \"group\": 'Body', \"label\": 'Mid size (mm)'},\n    \"neck_sides\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Neck', \"label\": 'Neck sides'},\n    \"neck_r\": {\"type\": 'float', \"default\": 16.6, \"min\": 8.3, \"max\": 22.7, \"step\": 1.0, \"group\": 'Neck', \"label\": 'Neck circumradius (mm)'},\n    \"neck_l\": {\"type\": 'float', \"default\": 30.5, \"min\": 12.2, \"max\": 76.2, \"step\": 1.0, \"group\": 'Neck', \"label\": 'Neck length (mm)'},\n    \"neck_bore\": {\"type\": 'float', \"default\": 17.7, \"min\": 2.0, \"max\": 22.1, \"step\": 0.5, \"group\": 'Neck', \"label\": 'Neck bore diameter (mm)'},\n    \"chamfer_d\": {\"type\": 'float', \"default\": 1.0, \"min\": 0.5, \"max\": 3.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Chamfer distance (mm)'},\n    \"chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Chamfer edges'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .circle(p[\"adapter_base\"] / 2)\n        .workplane(offset=p[\"adapter_h\"] * 0.5)\n        .circle(p[\"adapter_mid\"] / 2)\n        .workplane(offset=p[\"adapter_h\"] * 0.5)\n        .rect(p[\"adapter_top\"], p[\"adapter_top\"])\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"neck_sides\"], p[\"neck_r\"] * 2).extrude(p[\"neck_l\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"neck_bore\"])\n    )\n    if p[\"chamfered\"]:\n        result = result.edges('>Z').chamfer(p[\"chamfer_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462ca9c3_3599", "family": "ribbed", "tier": 1, "seed": 1177332163, "symmetry": "none", "op_count": 2, "ir_hash": "a6863e013e1c8c67", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 22600.0, "surface_area": 9080.0, "principal_moments": [3350000.0, 7310000.0, 8880000.0], "n_faces": 30, "n_edges": 72, "n_vertices": 44}, "dimensions": {"lines": ["Rectangular body, 55 \u00d7 28.5 \u00d7 8 mm (W\u00d7D\u00d7H).", "Three ribs, 5.5 mm thick, 13.8 mm tall."], "text": "Rectangular body, 55 \u00d7 28.5 \u00d7 8 mm (W\u00d7D\u00d7H). Three ribs, 5.5 mm thick, 13.8 mm tall."}, "params": {"base_w": {"type": "float", "default": 55, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 28.5, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 8.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 3, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 13.8, "min": 5.5, "max": 27.6, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 5.5, "min": 1.0, "max": 13.8, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332163 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 55, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 28.5, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 3, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 13.8, \"min\": 5.5, \"max\": 27.6, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 5.5, \"min\": 1.0, \"max\": 13.8, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462ca9c4_3600", "family": "sketched", "tier": 3, "seed": 1177332164, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "a0c1dddaf38b59bd", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 17400.0, "surface_area": 5300.0, "principal_moments": [1330000.0, 4750000.0, 4750000.0], "n_faces": 8, "n_edges": 14, "n_vertices": 8}, "dimensions": {"lines": ["Revolved organic body from a freeform sketched section (7 segments: 5 straight, 2 curves), ~13.466 \u00d7 50 mm half-silhouette."], "text": "Revolved organic body from a freeform sketched section (7 segments: 5 straight, 2 curves), ~13.466 \u00d7 50 mm half-silhouette."}, "params": {"sk_r": {"type": "float", "default": 16.96, "min": 8.5, "max": 30.5, "step": 1.0, "group": "Sketch", "label": "Max radius (mm)"}, "sk_h": {"type": "float", "default": 50, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Sketch", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332164 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_r\": {\"type\": 'float', \"default\": 16.96, \"min\": 8.5, \"max\": 30.5, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Max radius (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 50, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XZ').moveTo(p[\"sk_r\"] * 0.4489, p[\"sk_h\"] * 0.0).bezier([(p[\"sk_r\"] * 0.4489, p[\"sk_h\"] * 0.0), (p[\"sk_r\"] * 0.5928, p[\"sk_h\"] * 0.1629), (p[\"sk_r\"] * 0.6213, p[\"sk_h\"] * 0.3258)]).lineTo(p[\"sk_r\"] * 0.6971, p[\"sk_h\"] * 0.474).lineTo(p[\"sk_r\"] * 0.1878, p[\"sk_h\"] * 0.4868).lineTo(p[\"sk_r\"] * 0.7313, p[\"sk_h\"] * 0.7901).spline([(p[\"sk_r\"] * 0.7313, p[\"sk_h\"] * 0.7901), (p[\"sk_r\"] * 0.8911, p[\"sk_h\"] * 0.8951), (p[\"sk_r\"] * 0.9034, p[\"sk_h\"] * 1.0)]).lineTo(p[\"sk_r\"] * 0.1094, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.1094, p[\"sk_h\"] * 0.0).close().revolve())\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462ca9c5_3601", "family": "threaded", "tier": 0, "seed": 1177332165, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "c130a7dbbbcb53a0", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 22500.0, "surface_area": 7220.0, "principal_moments": [1400000.0, 7060000.0, 7060000.0], "n_faces": 344, "n_edges": 942, "n_vertices": 600}, "dimensions": {"lines": ["M24x3 external thread, 58.5 mm long."], "text": "M24x3 external thread, 58.5 mm long."}, "params": {"major_d": {"type": "float", "default": 24.0, "min": 4.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Major diameter (mm)"}, "pitch": {"type": "float", "default": 3.0, "min": 1.5, "max": 6.0, "step": 0.05, "group": "Thread", "label": "Pitch (mm)"}, "thread_len": {"type": "float", "default": 58.5, "min": 23.4, "max": 117.0, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332165 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 24.0, \"min\": 4.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Major diameter (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 3.0, \"min\": 1.5, \"max\": 6.0, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Pitch (mm)'},\n    \"thread_len\": {\"type\": 'float', \"default\": 58.5, \"min\": 23.4, \"max\": 117.0, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.IsoThread(major_diameter=p[\"major_d\"], pitch=p[\"pitch\"], length=p[\"thread_len\"], external=True, end_finishes=(\"fade\", \"fade\"))\n    _r = _thr.min_radius if hasattr(_thr, 'min_radius') else _thr.root_radius\n    _shank = _bd.Cylinder(radius=_r, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = _shank + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca9c6_3602", "family": "plate", "tier": 0, "seed": 1177332166, "symmetry": "none", "op_count": 1, "ir_hash": "649f191a1307ed27", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 74300.0, "surface_area": 16200.0, "principal_moments": [25899999.999999996, 59799999.99999999, 83800000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 97.51 \u00d7 63.5 \u00d7 12 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 97.51 \u00d7 63.5 \u00d7 12 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 97.51, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 63.5, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332166 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 97.51, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 63.5, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca9c7_3603", "family": "compound", "tier": 2, "seed": 1177332167, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "14627032636c7a64", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 34800.0, "surface_area": 9260.0, "principal_moments": [7970000.0, 7970000.0, 8320000.0], "n_faces": 17, "n_edges": 42, "n_vertices": 28}, "dimensions": {"lines": ["Lofted body through 3 sections: 50 \u00d7 50 mm rectangular section \u2192 \u00d838.4 mm circular section \u2192 \u00d826.7 mm circular section.", "8-sided polygon section, 17.6 mm across corners attachment, 21.2 mm long, from top face with a \u00d89 mm bore."], "text": "Lofted body through 3 sections: 50 \u00d7 50 mm rectangular section \u2192 \u00d838.4 mm circular section \u2192 \u00d826.7 mm circular section. 8-sided polygon section, 17.6 mm across corners attachment, 21.2 mm long, from top face with a \u00d89 mm bore."}, "params": {"adapter_base": {"type": "float", "default": 50, "min": 30.0, "max": 75.0, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "adapter_top": {"type": "float", "default": 26.7, "min": 13.3, "max": 50, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "adapter_h": {"type": "float", "default": 25.8, "min": 10.3, "max": 51.6, "step": 1.0, "group": "Body", "label": "Transition height (mm)"}, "adapter_mid": {"type": "float", "default": 38.4, "min": 13.3, "max": 50, "step": 1.0, "group": "Body", "label": "Mid size (mm)"}, "neck_sides": {"type": "int", "default": 8, "min": 3, "max": 8, "step": 1, "group": "Neck", "label": "Neck sides"}, "neck_r": {"type": "float", "default": 8.8, "min": 4.4, "max": 13.3, "step": 1.0, "group": "Neck", "label": "Neck circumradius (mm)"}, "neck_l": {"type": "float", "default": 21.2, "min": 8.5, "max": 53.0, "step": 1.0, "group": "Neck", "label": "Neck length (mm)"}, "neck_bore": {"type": "float", "default": 9.0, "min": 2.0, "max": 11.7, "step": 0.5, "group": "Neck", "label": "Neck bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332167 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"adapter_base\": {\"type\": 'float', \"default\": 50, \"min\": 30.0, \"max\": 75.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"adapter_top\": {\"type\": 'float', \"default\": 26.7, \"min\": 13.3, \"max\": 50, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"adapter_h\": {\"type\": 'float', \"default\": 25.8, \"min\": 10.3, \"max\": 51.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Transition height (mm)'},\n    \"adapter_mid\": {\"type\": 'float', \"default\": 38.4, \"min\": 13.3, \"max\": 50, \"step\": 1.0, \"group\": 'Body', \"label\": 'Mid size (mm)'},\n    \"neck_sides\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Neck', \"label\": 'Neck sides'},\n    \"neck_r\": {\"type\": 'float', \"default\": 8.8, \"min\": 4.4, \"max\": 13.3, \"step\": 1.0, \"group\": 'Neck', \"label\": 'Neck circumradius (mm)'},\n    \"neck_l\": {\"type\": 'float', \"default\": 21.2, \"min\": 8.5, \"max\": 53.0, \"step\": 1.0, \"group\": 'Neck', \"label\": 'Neck length (mm)'},\n    \"neck_bore\": {\"type\": 'float', \"default\": 9.0, \"min\": 2.0, \"max\": 11.7, \"step\": 0.5, \"group\": 'Neck', \"label\": 'Neck bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .rect(p[\"adapter_base\"], p[\"adapter_base\"])\n        .workplane(offset=p[\"adapter_h\"] * 0.5)\n        .circle(p[\"adapter_mid\"] / 2)\n        .workplane(offset=p[\"adapter_h\"] * 0.5)\n        .circle(p[\"adapter_top\"] / 2)\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"neck_sides\"], p[\"neck_r\"] * 2).extrude(p[\"neck_l\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"neck_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462ca9c8_3604", "family": "gear", "tier": 2, "seed": 1177332168, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "9c86cd1ca96e69b7", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 53400.0, "surface_area": 17200.0, "principal_moments": [27199999.999999996, 27199999.999999996, 53799999.99999999], "n_faces": 195, "n_edges": 579, "n_vertices": 386}, "dimensions": {"lines": ["Helical gear, module 2.5 mm, 32 teeth (pitch \u00d880 mm), face width 8.8 mm, 26.4\u00b0 helix, \u00d811 mm bore."], "text": "Helical gear, module 2.5 mm, 32 teeth (pitch \u00d880 mm), face width 8.8 mm, 26.4\u00b0 helix, \u00d811 mm bore."}, "params": {"module": {"type": "float", "default": 2.5, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 32, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 8.8, "min": 3.5, "max": 22.0, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "helix_angle": {"type": "float", "default": 26.4, "min": 5.0, "max": 40.0, "step": 1.0, "group": "Gear", "label": "Helix angle (deg)"}, "profile_shift": {"type": "float", "default": -0.09, "min": -0.5, "max": 0.7, "step": 0.05, "group": "Gear", "label": "Profile shift"}, "root_fillet": {"type": "float", "default": 0.44, "min": 0.0, "max": 1.25, "step": 0.05, "group": "Gear", "label": "Root fillet (mm)"}, "bore_d": {"type": "float", "default": 11.0, "min": 2.0, "max": 44.2, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332168 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 2.5, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 32, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 8.8, \"min\": 3.5, \"max\": 22.0, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"helix_angle\": {\"type\": 'float', \"default\": 26.4, \"min\": 5.0, \"max\": 40.0, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Helix angle (deg)'},\n    \"profile_shift\": {\"type\": 'float', \"default\": -0.09, \"min\": -0.5, \"max\": 0.7, \"step\": 0.05, \"group\": 'Gear', \"label\": 'Profile shift'},\n    \"root_fillet\": {\"type\": 'float', \"default\": 0.44, \"min\": 0.0, \"max\": 1.25, \"step\": 0.05, \"group\": 'Gear', \"label\": 'Root fillet (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 11.0, \"min\": 2.0, \"max\": 44.2, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.HelicalGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"], helix_angle=math.radians(p[\"helix_angle\"]), herringbone=False, profile_shift=p[\"profile_shift\"], root_fillet=p[\"root_fillet\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462ca9c9_3605", "family": "flanged", "tier": 1, "seed": 1177332169, "symmetry": "radial", "op_count": 2, "ir_hash": "c3bd2bfdb960678f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 42400.0, "surface_area": 15000.0, "principal_moments": [13699999.999999998, 13699999.999999998, 18100000.0], "n_faces": 13, "n_edges": 42, "n_vertices": 28}, "dimensions": {"lines": ["Revolved body, \u00d838.07 mm \u00d7 32.9 mm tall with \u00d816.6 mm bore, \u00d877.5 mm \u00d7 3.6 mm flange.", "Four \u00d88.4 mm holes on a \u00d846.4 mm bolt circle."], "text": "Revolved body, \u00d838.07 mm \u00d7 32.9 mm tall with \u00d816.6 mm bore, \u00d877.5 mm \u00d7 3.6 mm flange. Four \u00d88.4 mm holes on a \u00d846.4 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 38.07, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 32.9, "min": 9.9, "max": 82.2, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 16.6, "min": 2.0, "max": 26.6, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 77.5, "min": 49.5, "max": 114.2, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 3.6, "min": 1.1, "max": 13.2, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 8.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 23.2, "min": 15.5, "max": 34.9, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 4, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332169 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 38.07, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 32.9, \"min\": 9.9, \"max\": 82.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 16.6, \"min\": 2.0, \"max\": 26.6, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 77.5, \"min\": 49.5, \"max\": 114.2, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 3.6, \"min\": 1.1, \"max\": 13.2, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 23.2, \"min\": 15.5, \"max\": 34.9, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 4, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca9ca_3606", "family": "bracket", "tier": 1, "seed": 1177332170, "symmetry": "none", "op_count": 1, "ir_hash": "d4925d1826105d34", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 11100.0, "surface_area": 5530.0, "principal_moments": [1220000.0, 2610000.0, 3290000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["L-bracket: base leg 25 mm, vertical leg 25 mm, 50 mm wide, 5 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."], "text": "L-bracket: base leg 25 mm, vertical leg 25 mm, 50 mm wide, 5 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 25.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 25.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 50, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 5.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332170 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 25.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 25.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 50, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca9cb_3607", "family": "bracket", "tier": 2, "seed": 1177332171, "symmetry": "none", "op_count": 1, "ir_hash": "72da154ec6094247", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 24400.0, "surface_area": 9900.0, "principal_moments": [5020000.0, 13999999.999999998, 14499999.999999998], "n_faces": 14, "n_edges": 37, "n_vertices": 24}, "dimensions": {"lines": ["L-bracket: base leg 65 mm, vertical leg 45.1 mm, 37.57 mm wide, 6 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 6.1 mm corner gusset."], "text": "L-bracket: base leg 65 mm, vertical leg 45.1 mm, 37.57 mm wide, 6 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 6.1 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 65, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 45.1, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 37.57, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 6.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 6.1, "min": 3.0, "max": 18.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332171 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 65, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 45.1, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 37.57, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 6.1, \"min\": 3.0, \"max\": 18.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462ca9cc_3608", "family": "profiled", "tier": 2, "seed": 1177332172, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "4a0625a25c9f44bc", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 172000.0, "surface_area": 33600.0, "principal_moments": [28599999.999999996, 1270000000.0, 1290000000.0], "n_faces": 8, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["freeform sketched section (6 segments: 2 straight, 1 arc, 3 curves), ~48.694 \u00d7 15.863 mm, extruded 296.8 mm thick."], "text": "freeform sketched section (6 segments: 2 straight, 1 arc, 3 curves), ~48.694 \u00d7 15.863 mm, extruded 296.8 mm thick."}, "params": {"sk_w": {"type": "float", "default": 57.88, "min": 28.9, "max": 104.2, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 25.0, "min": 12.5, "max": 45.0, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "length": {"type": "float", "default": 296.8, "min": 89.0, "max": 890.4, "step": 5.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332172 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 57.88, \"min\": 28.9, \"max\": 104.2, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 25.0, \"min\": 12.5, \"max\": 45.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 296.8, \"min\": 89.0, \"max\": 890.4, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.4573, p[\"sk_h\"] * 0.0973).spline([(p[\"sk_w\"] * 0.4573, p[\"sk_h\"] * 0.0973), (p[\"sk_w\"] * 0.4273, p[\"sk_h\"] * 0.2189), (p[\"sk_w\"] * 0.3495, p[\"sk_h\"] * 0.3171)]).lineTo(p[\"sk_w\"] * -0.3148, p[\"sk_h\"] * 0.2805).threePointArc((p[\"sk_w\"] * -0.3754, p[\"sk_h\"] * 0.207), (p[\"sk_w\"] * -0.384, p[\"sk_h\"] * 0.1133)).bezier([(p[\"sk_w\"] * -0.384, p[\"sk_h\"] * 0.1133), (p[\"sk_w\"] * -0.3005, p[\"sk_h\"] * -0.1242), (p[\"sk_w\"] * -0.1391, p[\"sk_h\"] * -0.3174)]).lineTo(p[\"sk_w\"] * 0.2619, p[\"sk_h\"] * -0.2134).spline([(p[\"sk_w\"] * 0.2619, p[\"sk_h\"] * -0.2134), (p[\"sk_w\"] * 0.3877, p[\"sk_h\"] * -0.0757), (p[\"sk_w\"] * 0.4573, p[\"sk_h\"] * 0.0973)]).close().extrude(p[\"length\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca9cd_3609", "family": "revolved", "tier": 0, "seed": 1177332173, "symmetry": "none", "op_count": 1, "ir_hash": "81194a787a0101f2", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 341000.0, "surface_area": 47900.0, "principal_moments": [255000000.0, 472000000.0, 472000000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d870.59 mm \u00d7 130.6 mm tall."], "text": "Revolved body, \u00d870.59 mm \u00d7 130.6 mm tall."}, "params": {"outer_d": {"type": "float", "default": 70.59, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 130.6, "min": 39.2, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332173 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 70.59, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 130.6, \"min\": 39.2, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca9ce_3610", "family": "bracket", "tier": 2, "seed": 1177332174, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "9741c3e1c00e0cca", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 21500.0, "surface_area": 7110.0, "principal_moments": [3360000.0, 5440000.0, 7550000.0], "n_faces": 9, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["L-bracket: base leg 35 mm, vertical leg 25 mm, 51.78 mm wide, 8 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 9.6 mm corner gusset."], "text": "L-bracket: base leg 35 mm, vertical leg 25 mm, 51.78 mm wide, 8 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 9.6 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 35, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 25.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 51.78, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 8.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 9.6, "min": 4.0, "max": 24.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332174 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 35, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 25.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 51.78, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 9.6, \"min\": 4.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca9cf_3611", "family": "revolved", "tier": 1, "seed": 1177332175, "symmetry": "none", "op_count": 1, "ir_hash": "af2c65dd7508660f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 1130000.0, "surface_area": 122000.0, "principal_moments": [1820000000.0, 5620000000.0, 5620000000.0], "n_faces": 5, "n_edges": 7, "n_vertices": 5}, "dimensions": {"lines": ["Revolved body, \u00d869.17 mm \u00d7 269.2 mm tall with \u00d8136.3 mm \u00d7 42.2 mm flange."], "text": "Revolved body, \u00d869.17 mm \u00d7 269.2 mm tall with \u00d8136.3 mm \u00d7 42.2 mm flange."}, "params": {"outer_d": {"type": "float", "default": 69.17, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 269.2, "min": 80.8, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "flange_d": {"type": "float", "default": 136.3, "min": 83.0, "max": 207.5, "step": 1.0, "group": "Body", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 42.2, "min": 12.7, "max": 134.6, "step": 0.5, "group": "Body", "label": "Flange height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332175 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 69.17, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 269.2, \"min\": 80.8, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 136.3, \"min\": 83.0, \"max\": 207.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 42.2, \"min\": 12.7, \"max\": 134.6, \"step\": 0.5, \"group\": 'Body', \"label\": 'Flange height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca9d0_3612", "family": "revolved", "tier": 1, "seed": 1177332176, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "85fffc04796139c1", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 30300.0, "surface_area": 8150.0, "principal_moments": [5470000.0, 7470000.0, 7470000.0], "n_faces": 8, "n_edges": 14, "n_vertices": 8}, "dimensions": {"lines": ["Revolved body, \u00d834.18 mm \u00d7 43.5 mm tall with \u00d816.6 mm bore.", "Chamfer 1 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d834.18 mm \u00d7 43.5 mm tall with \u00d816.6 mm bore. Chamfer 1 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 34.18, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 43.5, "min": 13.0, "max": 130.5, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 16.6, "min": 2.0, "max": 23.9, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "end_chamfer": {"type": "float", "default": 1.0, "min": 0.1, "max": 3.0, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332176 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 34.18, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 43.5, \"min\": 13.0, \"max\": 130.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 16.6, \"min\": 2.0, \"max\": 23.9, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 1.0, \"min\": 0.1, \"max\": 3.0, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462ca9d1_3613", "family": "gear", "tier": 2, "seed": 1177332177, "symmetry": "none", "op_count": 1, "ir_hash": "0f4e4d6ce2ec7693", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 5960.0, "surface_area": 3200.0, "principal_moments": [377000.0, 377000.0, 664000.0], "n_faces": 163, "n_edges": 483, "n_vertices": 322}, "dimensions": {"lines": ["Spur gear, module 1.5 mm, 20 teeth (pitch \u00d830 mm), face width 9.5 mm, \u00d85.4 mm bore."], "text": "Spur gear, module 1.5 mm, 20 teeth (pitch \u00d830 mm), face width 9.5 mm, \u00d85.4 mm bore."}, "params": {"module": {"type": "float", "default": 1.5, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 20, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 9.5, "min": 3.8, "max": 23.8, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "profile_shift": {"type": "float", "default": -0.29, "min": -0.5, "max": 0.7, "step": 0.05, "group": "Gear", "label": "Profile shift"}, "root_fillet": {"type": "float", "default": 0.16, "min": 0.0, "max": 0.75, "step": 0.05, "group": "Gear", "label": "Root fillet (mm)"}, "bore_d": {"type": "float", "default": 5.4, "min": 2.0, "max": 15.8, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332177 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 1.5, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 20, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 9.5, \"min\": 3.8, \"max\": 23.8, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"profile_shift\": {\"type\": 'float', \"default\": -0.29, \"min\": -0.5, \"max\": 0.7, \"step\": 0.05, \"group\": 'Gear', \"label\": 'Profile shift'},\n    \"root_fillet\": {\"type\": 'float', \"default\": 0.16, \"min\": 0.0, \"max\": 0.75, \"step\": 0.05, \"group\": 'Gear', \"label\": 'Root fillet (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 5.4, \"min\": 2.0, \"max\": 15.8, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"], profile_shift=p[\"profile_shift\"], root_fillet=p[\"root_fillet\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca9d2_3614", "family": "bracket", "tier": 2, "seed": 1177332178, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "0d330c7331c1e8e7", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 2410.0, "surface_area": 2160.0, "principal_moments": [118000.0, 310000.0, 339000.0], "n_faces": 15, "n_edges": 41, "n_vertices": 26}, "dimensions": {"lines": ["L-bracket: base leg 27.69 mm, vertical leg 28.4 mm, 15.03 mm wide, 3 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg; 2.8 mm corner gusset."], "text": "L-bracket: base leg 27.69 mm, vertical leg 28.4 mm, 15.03 mm wide, 3 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg; 2.8 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 27.69, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 28.4, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 15.03, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 3.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 6.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 2.8, "min": 1.5, "max": 7.5, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332178 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 27.69, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 28.4, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 15.03, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 6.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 2.8, \"min\": 1.5, \"max\": 7.5, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca9d3_3615", "family": "revolved", "tier": 1, "seed": 1177332179, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "1fdb464a5d32579f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 541000.0, "surface_area": 67900.0, "principal_moments": [864000000.0, 864000000.0, 1520000000.0], "n_faces": 7, "n_edges": 11, "n_vertices": 7}, "dimensions": {"lines": ["Revolved body, \u00d874.59 mm \u00d7 70.2 mm tall with \u00d8162.8 mm \u00d7 20.5 mm flange.", "Chamfer 1.2 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d874.59 mm \u00d7 70.2 mm tall with \u00d8162.8 mm \u00d7 20.5 mm flange. Chamfer 1.2 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 74.59, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 70.2, "min": 21.1, "max": 210.6, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "flange_d": {"type": "float", "default": 162.8, "min": 89.5, "max": 223.8, "step": 1.0, "group": "Body", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 20.5, "min": 6.1, "max": 35.1, "step": 0.5, "group": "Body", "label": "Flange height (mm)"}, "end_chamfer": {"type": "float", "default": 1.2, "min": 0.1, "max": 3.6, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332179 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 74.59, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 70.2, \"min\": 21.1, \"max\": 210.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 162.8, \"min\": 89.5, \"max\": 223.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 20.5, \"min\": 6.1, \"max\": 35.1, \"step\": 0.5, \"group\": 'Body', \"label\": 'Flange height (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 1.2, \"min\": 0.1, \"max\": 3.6, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca9d4_3616", "family": "plate", "tier": 1, "seed": 1177332180, "symmetry": "none", "op_count": 2, "ir_hash": "854ca4169a1e6645", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 16200.0, "surface_area": 7320.0, "principal_moments": [1450000.0, 10000000.0, 11399999.999999998], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 86.86 \u00d7 32.6 \u00d7 6 mm (W\u00d7D\u00d7H).", "Four \u00d86.4 mm holes at the corners, 60.802 \u00d7 22.82 mm spacing."], "text": "Rectangular body, 86.86 \u00d7 32.6 \u00d7 6 mm (W\u00d7D\u00d7H). Four \u00d86.4 mm holes at the corners, 60.802 \u00d7 22.82 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 86.86, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 32.6, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 6.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 7.3, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332180 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 86.86, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 32.6, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 7.3, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca9d5_3617", "family": "bracket", "tier": 3, "seed": 1177332181, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "ad68f7971f814ead", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 15300.0, "surface_area": 6710.0, "principal_moments": [2870000.0, 2900000.0, 3370000.0], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["C-channel bracket: base leg 28.79 mm, vertical leg 34 mm, 30.49 mm wide, 6 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg; 8.7 mm corner gusset."], "text": "C-channel bracket: base leg 28.79 mm, vertical leg 34 mm, 30.49 mm wide, 6 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg; 8.7 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 28.79, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 34.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 30.49, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 6.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 8.7, "min": 3.0, "max": 15.2, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332181 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 28.79, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 34.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 30.49, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 8.7, \"min\": 3.0, \"max\": 15.2, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl / 2, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bl - _bt, _bt).lineTo(_bl - _bt - _g, _bt)\n                    .lineTo(_bl - _bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca9d6_3618", "family": "block", "tier": 2, "seed": 1177332182, "symmetry": "none", "op_count": 3, "ir_hash": "f853824ae1fed1a5", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 6910.0, "surface_area": 3970.0, "principal_moments": [441000.0, 598000.0, 907000.0], "n_faces": 15, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 25 \u00d7 10.5 \u00d7 30.7 mm (W\u00d7D\u00d7H).", "Four \u00d82.3 mm holes at the corners, 17.5 \u00d7 7.35 mm spacing.", "Pocket 10.6 \u00d7 4.4 mm, 13.6 mm deep, in top face."], "text": "Rectangular body, 25 \u00d7 10.5 \u00d7 30.7 mm (W\u00d7D\u00d7H). Four \u00d82.3 mm holes at the corners, 17.5 \u00d7 7.35 mm spacing. Pocket 10.6 \u00d7 4.4 mm, 13.6 mm deep, in top face."}, "params": {"block_w": {"type": "float", "default": 25, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 10.5, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 30.7, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 2.3, "min": 2.0, "max": 2.4, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "pocket_w": {"type": "float", "default": 10.6, "min": 5.3, "max": 20.0, "step": 1.0, "group": "Pocket", "label": "Pocket width (mm)"}, "pocket_d": {"type": "float", "default": 4.4, "min": 2.2, "max": 8.4, "step": 1.0, "group": "Pocket", "label": "Pocket depth (mm)"}, "pocket_h": {"type": "float", "default": 13.6, "min": 5.4, "max": 26.1, "step": 0.5, "group": "Pocket", "label": "Pocket height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332182 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 25, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 10.5, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 30.7, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 2.3, \"min\": 2.0, \"max\": 2.4, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"pocket_w\": {\"type\": 'float', \"default\": 10.6, \"min\": 5.3, \"max\": 20.0, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket width (mm)'},\n    \"pocket_d\": {\"type\": 'float', \"default\": 4.4, \"min\": 2.2, \"max\": 8.4, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket depth (mm)'},\n    \"pocket_h\": {\"type\": 'float', \"default\": 13.6, \"min\": 5.4, \"max\": 26.1, \"step\": 0.5, \"group\": 'Pocket', \"label\": 'Pocket height (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"pocket_w\"], p[\"pocket_d\"])\n        .cutBlind(-p[\"pocket_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462ca9d7_3619", "family": "sketched", "tier": 3, "seed": 1177332183, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "1c73d6b1bd72a887", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 143000.0, "surface_area": 19800.0, "principal_moments": [53099999.99999999, 71700000.0, 71700000.0], "n_faces": 6, "n_edges": 9, "n_vertices": 5}, "dimensions": {"lines": ["Revolved organic body from a freeform sketched section (6 segments: 2 straight, 3 arcs, 1 curve), ~35.041 \u00d7 65 mm half-silhouette."], "text": "Revolved organic body from a freeform sketched section (6 segments: 2 straight, 3 arcs, 1 curve), ~35.041 \u00d7 65 mm half-silhouette."}, "params": {"sk_r": {"type": "float", "default": 45.0, "min": 22.5, "max": 81.0, "step": 1.0, "group": "Sketch", "label": "Max radius (mm)"}, "sk_h": {"type": "float", "default": 65, "min": 32.5, "max": 117.0, "step": 1.0, "group": "Sketch", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332183 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_r\": {\"type\": 'float', \"default\": 45.0, \"min\": 22.5, \"max\": 81.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Max radius (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 65, \"min\": 32.5, \"max\": 117.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XZ').moveTo(p[\"sk_r\"] * 0.7787, p[\"sk_h\"] * 0.0).threePointArc((p[\"sk_r\"] * 0.4756, p[\"sk_h\"] * 0.056), (p[\"sk_r\"] * 0.333, p[\"sk_h\"] * 0.112)).bezier([(p[\"sk_r\"] * 0.333, p[\"sk_h\"] * 0.112), (p[\"sk_r\"] * 0.4788, p[\"sk_h\"] * 0.1821), (p[\"sk_r\"] * 0.5217, p[\"sk_h\"] * 0.2522)]).threePointArc((p[\"sk_r\"] * 0.5844, p[\"sk_h\"] * 0.3701), (p[\"sk_r\"] * 0.6466, p[\"sk_h\"] * 0.4881)).threePointArc((p[\"sk_r\"] * 0.6388, p[\"sk_h\"] * 0.744), (p[\"sk_r\"] * 0.61, p[\"sk_h\"] * 1.0)).lineTo(p[\"sk_r\"] * 0.0, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.0, p[\"sk_h\"] * 0.0).close().revolve())\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462ca9d8_3620", "family": "swept", "tier": 2, "seed": 1177332184, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "49359968f3399697", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 652.0, "surface_area": 1050.0, "principal_moments": [15700.0, 237000.0, 250000.0], "n_faces": 3, "n_edges": 3, "n_vertices": 2}, "dimensions": {"lines": ["\u00d86.3 mm circular section swept along a curved path, ~59.97 mm span."], "text": "\u00d86.3 mm circular section swept along a curved path, ~59.97 mm span."}, "params": {"path_w": {"type": "float", "default": 40, "min": 20.0, "max": 72.0, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 59.97, "min": 30.0, "max": 107.9, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_d": {"type": "float", "default": 6.3, "min": 3.1, "max": 11.3, "step": 1.0, "group": "Section", "label": "Section diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332184 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 40, \"min\": 20.0, \"max\": 72.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 59.97, \"min\": 30.0, \"max\": 107.9, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_d\": {\"type\": 'float', \"default\": 6.3, \"min\": 3.1, \"max\": 11.3, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.4443, p[\"path_h\"] * 0.2438), (p[\"path_w\"] * 0.5503, p[\"path_h\"] * 0.4943), (p[\"path_w\"] * 0.3423, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').circle(p[\"sweep_d\"] / 2).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca9d9_3621", "family": "revolved", "tier": 1, "seed": 1177332185, "symmetry": "none", "op_count": 1, "ir_hash": "7728c8c6bea45ddc", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 920.0, "surface_area": 829.0, "principal_moments": [18100.0, 18100.0, 19900.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d812 mm \u00d7 12.2 mm tall."], "text": "Revolved body, \u00d812 mm \u00d7 12.2 mm tall."}, "params": {"outer_d": {"type": "float", "default": 12.0, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 12.2, "min": 3.7, "max": 36.6, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332185 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 12.0, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 12.2, \"min\": 3.7, \"max\": 36.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca9da_3622", "family": "plate", "tier": 1, "seed": 1177332186, "symmetry": "none", "op_count": 2, "ir_hash": "235f90e4e3ffe0e6", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 5890.0, "surface_area": 3010.0, "principal_moments": [271000.0, 963000.0, 1200000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 44.25 \u00d7 22.9 \u00d7 6 mm (W\u00d7D\u00d7H).", "Four \u00d83.2 mm holes at the corners, 30.975 \u00d7 16.03 mm spacing."], "text": "Rectangular body, 44.25 \u00d7 22.9 \u00d7 6 mm (W\u00d7D\u00d7H). Four \u00d83.2 mm holes at the corners, 30.975 \u00d7 16.03 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 44.25, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 22.9, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 6.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 5.2, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332186 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 44.25, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 22.9, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 5.2, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca9db_3623", "family": "revolved", "tier": 1, "seed": 1177332187, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "a1901ab081f4f939", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 46100.0, "surface_area": 9510.0, "principal_moments": [7770000.0, 15399999.999999998, 15399999.999999998], "n_faces": 8, "n_edges": 14, "n_vertices": 8}, "dimensions": {"lines": ["Revolved body, \u00d834.8 mm \u00d7 55.1 mm tall with \u00d811.8 mm bore.", "Chamfer 1.4 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d834.8 mm \u00d7 55.1 mm tall with \u00d811.8 mm bore. Chamfer 1.4 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 34.8, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 55.1, "min": 16.5, "max": 165.3, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 11.8, "min": 2.0, "max": 24.4, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "end_chamfer": {"type": "float", "default": 1.4, "min": 0.1, "max": 4.2, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332187 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 34.8, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 55.1, \"min\": 16.5, \"max\": 165.3, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 11.8, \"min\": 2.0, \"max\": 24.4, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 1.4, \"min\": 0.1, \"max\": 4.2, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca9dc_3624", "family": "bracket", "tier": 1, "seed": 1177332188, "symmetry": "none", "op_count": 1, "ir_hash": "3db8e94d33fe5247", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 17100.0, "surface_area": 9950.0, "principal_moments": [4780000.0, 6200000.0, 7060000.0], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["C-channel bracket: base leg 39.9 mm, vertical leg 33.8 mm, 43.99 mm wide, 4 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."], "text": "C-channel bracket: base leg 39.9 mm, vertical leg 33.8 mm, 43.99 mm wide, 4 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 39.9, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 33.8, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 43.99, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 4.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332188 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 39.9, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 33.8, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 43.99, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462ca9dd_3625", "family": "lofted", "tier": 2, "seed": 1177332189, "symmetry": "none", "op_count": 2, "ir_hash": "d9f88c1efe5dc560", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 104000.0, "surface_area": 15000.0, "principal_moments": [38700000.0, 41600000.0, 41700000.0], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["Lofted body through 3 sections: 6-sided polygon section, 67.2 mm across corners \u2192 44.3 \u00d7 44.3 mm rectangular section \u2192 21.4 \u00d7 21.4 mm rectangular section.", "One \u00d810.1 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 3 sections: 6-sided polygon section, 67.2 mm across corners \u2192 44.3 \u00d7 44.3 mm rectangular section \u2192 21.4 \u00d7 21.4 mm rectangular section. One \u00d810.1 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 67.2, "min": 33.6, "max": 107.5, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 21.4, "min": 8.6, "max": 80.6, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 57.8, "min": 23.1, "max": 115.6, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_mid": {"type": "float", "default": 44.3, "min": 10.7, "max": 80.6, "step": 1.0, "group": "Body", "label": "Mid size (mm)"}, "loft_bore_d": {"type": "float", "default": 10.1, "min": 2.0, "max": 17.1, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332189 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 67.2, \"min\": 33.6, \"max\": 107.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 21.4, \"min\": 8.6, \"max\": 80.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 57.8, \"min\": 23.1, \"max\": 115.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_mid\": {\"type\": 'float', \"default\": 44.3, \"min\": 10.7, \"max\": 80.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Mid size (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 10.1, \"min\": 2.0, \"max\": 17.1, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .polygon(6, p[\"loft_base\"] * 0.5 * 2)\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .rect(p[\"loft_mid\"], p[\"loft_mid\"])\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .rect(p[\"loft_top\"], p[\"loft_top\"])\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca9de_3626", "family": "plate", "tier": 0, "seed": 1177332190, "symmetry": "radial", "op_count": 1, "ir_hash": "104ec2b13a10db35", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 63800.0, "surface_area": 18900.0, "principal_moments": [25999999.999999996, 70700000.0, 95999999.99999999], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 115 \u00d7 69.4 \u00d7 8 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 115 \u00d7 69.4 \u00d7 8 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 115, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 69.4, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332190 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 115, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 69.4, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca9df_3627", "family": "revolved", "tier": 0, "seed": 1177332191, "symmetry": "none", "op_count": 1, "ir_hash": "4237d449fceedacd", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 105.0, "surface_area": 226.0, "principal_moments": [810.0, 810.0, 1570.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d810 mm \u00d7 2 mm tall."], "text": "Revolved body, \u00d810 mm \u00d7 2 mm tall."}, "params": {"outer_d": {"type": "float", "default": 10, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 2.0, "min": 1.0, "max": 6.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332191 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 10, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 2.0, \"min\": 1.0, \"max\": 6.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462ca9e0_3628", "family": "bracket", "tier": 1, "seed": 1177332192, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "2d96f0a60c1e52b6", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 12700.0, "surface_area": 5210.0, "principal_moments": [1630000.0, 5360000.0, 6390000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["L-bracket: base leg 50 mm, vertical leg 54.9 mm, 16.7 mm wide, 8 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."], "text": "L-bracket: base leg 50 mm, vertical leg 54.9 mm, 16.7 mm wide, 8 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 50, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 54.9, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 16.7, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 8.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 6.7, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332192 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 50, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 54.9, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 16.7, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 6.7, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462ca9e1_3629", "family": "swept", "tier": 0, "seed": 1177332193, "symmetry": "none", "op_count": 1, "ir_hash": "89954be0f491f508", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 4160.0, "surface_area": 2650.0, "principal_moments": [216000.0, 1940000.0, 2100000.0], "n_faces": 3, "n_edges": 3, "n_vertices": 2}, "dimensions": {"lines": ["\u00d810.9 mm circular section swept along a curved path, ~70 mm span."], "text": "\u00d810.9 mm circular section swept along a curved path, ~70 mm span."}, "params": {"path_w": {"type": "float", "default": 69.64, "min": 34.8, "max": 125.4, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 70, "min": 35.0, "max": 126.0, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_d": {"type": "float", "default": 10.9, "min": 5.5, "max": 19.6, "step": 1.0, "group": "Section", "label": "Section diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332193 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 69.64, \"min\": 34.8, \"max\": 125.4, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 70, \"min\": 35.0, \"max\": 126.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_d\": {\"type\": 'float', \"default\": 10.9, \"min\": 5.5, \"max\": 19.6, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.1884, p[\"path_h\"] * 0.5611), (p[\"path_w\"] * 0.1498, p[\"path_h\"] * 0.6049), (p[\"path_w\"] * 0.2946, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').circle(p[\"sweep_d\"] / 2).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462ca9e2_3630", "family": "threaded", "tier": 3, "seed": 1177332194, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "599abc5a43a6d260", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 54200.0, "surface_area": 11800.0, "principal_moments": [9180000.0, 16599999.999999998, 16599999.999999998], "n_faces": 80, "n_edges": 202, "n_vertices": 124}, "dimensions": {"lines": ["Tr 40x7 external thread, 52.5 mm long."], "text": "Tr 40x7 external thread, 52.5 mm long."}, "params": {"thread_size": {"type": "enum", "default": "40x7", "choices": ["8x1.5", "10x2", "12x3", "14x3", "16x4", "18x4", "20x4", "24x5", "28x5", "30x6", "36x6", "40x7"], "group": "Thread", "label": "Size designation"}, "thread_len": {"type": "float", "default": 52.5, "min": 21.0, "max": 105.0, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332194 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"thread_size\": {\"type\": 'enum', \"default\": '40x7', \"choices\": ['8x1.5', '10x2', '12x3', '14x3', '16x4', '18x4', '20x4', '24x5', '28x5', '30x6', '36x6', '40x7'], \"group\": 'Thread', \"label\": 'Size designation'},\n    \"thread_len\": {\"type\": 'float', \"default\": 52.5, \"min\": 21.0, \"max\": 105.0, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.MetricTrapezoidalThread(size=p[\"thread_size\"], length=p[\"thread_len\"], external=True, end_finishes=(\"fade\", \"fade\"))\n    _r = _thr.min_radius if hasattr(_thr, 'min_radius') else _thr.root_radius\n    _shank = _bd.Cylinder(radius=_r, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = _shank + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462ca9e3_3631", "family": "sketched", "tier": 1, "seed": 1177332195, "symmetry": "none", "op_count": 2, "ir_hash": "f48b2ec58651ec2e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 24300.0, "surface_area": 6800.0, "principal_moments": [4210000.0, 5890000.0, 9680000.0], "n_faces": 8, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["freeform sketched section (5 segments: 1 straight, 1 arc, 3 curves), ~56.511 \u00d7 65.712 mm, extruded 10.19 mm thick.", "One \u00d85.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "freeform sketched section (5 segments: 1 straight, 1 arc, 3 curves), ~56.511 \u00d7 65.712 mm, extruded 10.19 mm thick. One \u00d85.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"sk_w": {"type": "float", "default": 65, "min": 32.5, "max": 117.0, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 85.73, "min": 42.9, "max": 154.3, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "sk_t": {"type": "float", "default": 10.19, "min": 4.1, "max": 22.4, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "sk_hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 10.6, "step": 0.5, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332195 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 65, \"min\": 32.5, \"max\": 117.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 85.73, \"min\": 42.9, \"max\": 154.3, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"sk_t\": {\"type\": 'float', \"default\": 10.19, \"min\": 4.1, \"max\": 22.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"sk_hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 10.6, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.4697, p[\"sk_h\"] * -0.0748).bezier([(p[\"sk_w\"] * 0.4697, p[\"sk_h\"] * -0.0748), (p[\"sk_w\"] * 0.3552, p[\"sk_h\"] * 0.1682), (p[\"sk_w\"] * 0.1818, p[\"sk_h\"] * 0.3735)]).bezier([(p[\"sk_w\"] * 0.1818, p[\"sk_h\"] * 0.3735), (p[\"sk_w\"] * -0.1515, p[\"sk_h\"] * 0.3122), (p[\"sk_w\"] * -0.3997, p[\"sk_h\"] * 0.0816)]).lineTo(p[\"sk_w\"] * -0.2804, p[\"sk_h\"] * -0.216).spline([(p[\"sk_w\"] * -0.2804, p[\"sk_h\"] * -0.216), (p[\"sk_w\"] * -0.1593, p[\"sk_h\"] * -0.3356), (p[\"sk_w\"] * 0.001, p[\"sk_h\"] * -0.393)]).threePointArc((p[\"sk_w\"] * 0.2756, p[\"sk_h\"] * -0.2654), (p[\"sk_w\"] * 0.4697, p[\"sk_h\"] * -0.0748)).close().extrude(p[\"sk_t\"]))\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"sk_hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca9e4_3632", "family": "block", "tier": 1, "seed": 1177332196, "symmetry": "none", "op_count": 2, "ir_hash": "433dd886809ae9e7", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 201000.0, "surface_area": 25200.0, "principal_moments": [95699999.99999999, 128000000.0, 151000000.0], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["Rectangular body, 73.92 \u00d7 46.5 \u00d7 59.4 mm (W\u00d7D\u00d7H).", "Seven \u00d83.2 mm holes in two staggered rows, 18.5 \u00d7 14.9 mm pitch."], "text": "Rectangular body, 73.92 \u00d7 46.5 \u00d7 59.4 mm (W\u00d7D\u00d7H). Seven \u00d83.2 mm holes in two staggered rows, 18.5 \u00d7 14.9 mm pitch."}, "params": {"block_w": {"type": "float", "default": 73.92, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 46.5, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 59.4, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 4.7, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 4, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332196 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 73.92, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 46.5, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 59.4, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 4.7, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 4, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 18.5\n    _ssy = 14.9\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462ca9e5_3633", "family": "sketched", "tier": 1, "seed": 1177332197, "symmetry": "none", "op_count": 2, "ir_hash": "3d601f4c5bedd004", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 17400.0, "surface_area": 4960.0, "principal_moments": [1920000.0, 3000000.0, 4520000.0], "n_faces": 7, "n_edges": 15, "n_vertices": 10}, "dimensions": {"lines": ["freeform sketched section (4 segments: 3 straight, 1 curve), ~59.203 \u00d7 47.094 mm, extruded 11.73 mm thick.", "One \u00d85.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "freeform sketched section (4 segments: 3 straight, 1 curve), ~59.203 \u00d7 47.094 mm, extruded 11.73 mm thick. One \u00d85.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"sk_w": {"type": "float", "default": 85, "min": 42.5, "max": 153.0, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 60, "min": 30.0, "max": 108.0, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "sk_t": {"type": "float", "default": 11.73, "min": 4.7, "max": 25.8, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "sk_hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 10.6, "step": 0.5, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332197 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 85, \"min\": 42.5, \"max\": 153.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 60, \"min\": 30.0, \"max\": 108.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"sk_t\": {\"type\": 'float', \"default\": 11.73, \"min\": 4.7, \"max\": 25.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"sk_hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 10.6, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.3128, p[\"sk_h\"] * -0.0711).lineTo(p[\"sk_w\"] * -0.0416, p[\"sk_h\"] * 0.3202).spline([(p[\"sk_w\"] * -0.0416, p[\"sk_h\"] * 0.3202), (p[\"sk_w\"] * -0.2588, p[\"sk_h\"] * 0.1343), (p[\"sk_w\"] * -0.3837, p[\"sk_h\"] * -0.1228)]).lineTo(p[\"sk_w\"] * -0.0101, p[\"sk_h\"] * -0.4647).lineTo(p[\"sk_w\"] * 0.3128, p[\"sk_h\"] * -0.0711).close().extrude(p[\"sk_t\"]))\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"sk_hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462ca9e6_3634", "family": "gear", "tier": 1, "seed": 1177332198, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "49574593d8f9311b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 20300.0, "surface_area": 9020.0, "principal_moments": [5550000.0, 5550000.0, 11000000.0], "n_faces": 195, "n_edges": 579, "n_vertices": 386}, "dimensions": {"lines": ["Spur gear, module 2 mm, 32 teeth (pitch \u00d864 mm), face width 6.7 mm, \u00d814.1 mm bore."], "text": "Spur gear, module 2 mm, 32 teeth (pitch \u00d864 mm), face width 6.7 mm, \u00d814.1 mm bore."}, "params": {"module": {"type": "float", "default": 2.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 32, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 6.7, "min": 2.7, "max": 16.8, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "bore_d": {"type": "float", "default": 14.1, "min": 2.0, "max": 35.4, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332198 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 2.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 32, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 6.7, \"min\": 2.7, \"max\": 16.8, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 14.1, \"min\": 2.0, \"max\": 35.4, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca9e7_3635", "family": "revolved", "tier": 2, "seed": 1177332199, "symmetry": "radial", "op_count": 1, "ir_hash": "4699c817d659496c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 6140.0, "surface_area": 3210.0, "principal_moments": [206000.0, 1050000.0, 1050000.0], "n_faces": 4, "n_edges": 6, "n_vertices": 4}, "dimensions": {"lines": ["Revolved body, \u00d815 mm \u00d7 43.1 mm tall with \u00d86.6 mm bore."], "text": "Revolved body, \u00d815 mm \u00d7 43.1 mm tall with \u00d86.6 mm bore."}, "params": {"outer_d": {"type": "float", "default": 15, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 43.1, "min": 12.9, "max": 129.3, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 6.6, "min": 2.0, "max": 10.5, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332199 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 15, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 43.1, \"min\": 12.9, \"max\": 129.3, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 6.6, \"min\": 2.0, \"max\": 10.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462ca9e8_3636", "family": "plate", "tier": 0, "seed": 1177332200, "symmetry": "none", "op_count": 1, "ir_hash": "4d9dcff01e5b854a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 111000.0, "surface_area": 23100.0, "principal_moments": [77300000.0, 96999999.99999999, 172000000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 101.78 \u00d7 90.7 \u00d7 12 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 101.78 \u00d7 90.7 \u00d7 12 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 101.78, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 90.7, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332200 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 101.78, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 90.7, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462ca9e9_3637", "family": "swept", "tier": 2, "seed": 1177332201, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "5199c28bad2e6a32", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 7360.0, "surface_area": 4560.0, "principal_moments": [2070000.0, 5020000.0, 7030000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["8.4 \u00d7 6.9 mm rectangular section swept along a curved path, ~93.63 mm span."], "text": "8.4 \u00d7 6.9 mm rectangular section swept along a curved path, ~93.63 mm span."}, "params": {"path_w": {"type": "float", "default": 70.77, "min": 35.4, "max": 127.4, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 93.63, "min": 46.8, "max": 168.5, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_a": {"type": "float", "default": 8.4, "min": 4.2, "max": 15.1, "step": 1.0, "group": "Section", "label": "Section width (mm)"}, "sweep_b": {"type": "float", "default": 6.9, "min": 3.5, "max": 12.4, "step": 1.0, "group": "Section", "label": "Section depth (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332201 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 70.77, \"min\": 35.4, \"max\": 127.4, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 93.63, \"min\": 46.8, \"max\": 168.5, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_a\": {\"type\": 'float', \"default\": 8.4, \"min\": 4.2, \"max\": 15.1, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section width (mm)'},\n    \"sweep_b\": {\"type\": 'float', \"default\": 6.9, \"min\": 3.5, \"max\": 12.4, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section depth (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.2121, p[\"path_h\"] * 0.7457), (p[\"path_w\"] * 0.0515, p[\"path_h\"] * 0.7722), (p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.8265), (p[\"path_w\"] * 0.0087, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').rect(p[\"sweep_a\"], p[\"sweep_b\"]).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca9ea_3638", "family": "revolved", "tier": 0, "seed": 1177332202, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "8dad406fdc7844f2", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 291000.0, "surface_area": 40400.0, "principal_moments": [241000000.0, 296000000.0, 296000000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d874.25 mm \u00d7 100.9 mm tall."], "text": "Revolved body, \u00d874.25 mm \u00d7 100.9 mm tall."}, "params": {"outer_d": {"type": "float", "default": 74.25, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 100.9, "min": 30.3, "max": 302.7, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332202 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 74.25, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 100.9, \"min\": 30.3, \"max\": 302.7, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462ca9eb_3639", "family": "lofted", "tier": 0, "seed": 1177332203, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "0f10210f1a9ae94d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 37300.0, "surface_area": 6770.0, "principal_moments": [6080000.0, 8330000.0, 8330000.0], "n_faces": 7, "n_edges": 15, "n_vertices": 10}, "dimensions": {"lines": ["Lofted body through 2 sections: 39.13 \u00d7 39.13 mm rectangular section \u2192 \u00d819.4 mm circular section."], "text": "Lofted body through 2 sections: 39.13 \u00d7 39.13 mm rectangular section \u2192 \u00d819.4 mm circular section."}, "params": {"loft_base": {"type": "float", "default": 39.13, "min": 19.6, "max": 62.6, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 19.4, "min": 7.8, "max": 47.0, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 44.6, "min": 17.8, "max": 89.2, "step": 1.0, "group": "Body", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332203 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 39.13, \"min\": 19.6, \"max\": 62.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 19.4, \"min\": 7.8, \"max\": 47.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 44.6, \"min\": 17.8, \"max\": 89.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .rect(p[\"loft_base\"], p[\"loft_base\"])\n        .workplane(offset=p[\"loft_h\"])\n        .circle(p[\"loft_top\"] / 2)\n        .loft(combine=True)\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462ca9ed_3641", "family": "ribbed", "tier": 1, "seed": 1177332205, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "593a54347d1ef9b5", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 22700.0, "surface_area": 15900.0, "principal_moments": [10600000.0, 14299999.999999998, 24699999.999999996], "n_faces": 21, "n_edges": 48, "n_vertices": 32}, "dimensions": {"lines": ["Rectangular body, 85 \u00d7 75.5 \u00d7 3 mm (W\u00d7D\u00d7H).", "Three ribs, 3.4 mm thick, 5 mm tall."], "text": "Rectangular body, 85 \u00d7 75.5 \u00d7 3 mm (W\u00d7D\u00d7H). Three ribs, 3.4 mm thick, 5 mm tall."}, "params": {"base_w": {"type": "float", "default": 85, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 75.5, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 3.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 3, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 5.0, "min": 2.0, "max": 10.0, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 3.4, "min": 1.0, "max": 8.5, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332205 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 85, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 75.5, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 3, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 5.0, \"min\": 2.0, \"max\": 10.0, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 3.4, \"min\": 1.0, \"max\": 8.5, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462ca9ee_3642", "family": "gear", "tier": 1, "seed": 1177332206, "symmetry": "none", "op_count": 1, "ir_hash": "2791ef43c5d6dd90", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 141000.0, "surface_area": 31400.0, "principal_moments": [126000000.0, 126000000.0, 249000000.0], "n_faces": 237, "n_edges": 705, "n_vertices": 470}, "dimensions": {"lines": ["Spur gear, module 3 mm, 39 teeth (pitch \u00d8117 mm), face width 13.6 mm, \u00d820.8 mm bore."], "text": "Spur gear, module 3 mm, 39 teeth (pitch \u00d8117 mm), face width 13.6 mm, \u00d820.8 mm bore."}, "params": {"module": {"type": "float", "default": 3.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 39, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 13.6, "min": 5.4, "max": 34.0, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "bore_d": {"type": "float", "default": 20.8, "min": 2.0, "max": 65.7, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332206 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 3.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 39, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 13.6, \"min\": 5.4, \"max\": 34.0, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 20.8, \"min\": 2.0, \"max\": 65.7, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462ca9ef_3643", "family": "ribbed", "tier": 3, "seed": 1177332207, "symmetry": "none", "op_count": 2, "ir_hash": "a72cc9c671734419", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 31800.0, "surface_area": 16300.0, "principal_moments": [10500000.0, 21800000.0, 31999999.999999996], "n_faces": 38, "n_edges": 92, "n_vertices": 56}, "dimensions": {"lines": ["Rectangular body, 90 \u00d7 60.8 \u00d7 5 mm (W\u00d7D\u00d7H).", "Four ribs, 2.5 mm thick, 6.1 mm tall."], "text": "Rectangular body, 90 \u00d7 60.8 \u00d7 5 mm (W\u00d7D\u00d7H). Four ribs, 2.5 mm thick, 6.1 mm tall."}, "params": {"base_w": {"type": "float", "default": 90, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 60.8, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 5.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 4, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 6.1, "min": 2.4, "max": 12.2, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 2.5, "min": 1.0, "max": 6.2, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332207 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 90, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 60.8, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 4, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 6.1, \"min\": 2.4, \"max\": 12.2, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 2.5, \"min\": 1.0, \"max\": 6.2, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca9f0_3644", "family": "block", "tier": 1, "seed": 1177332208, "symmetry": "none", "op_count": 2, "ir_hash": "8b30a55b1536ee61", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 408000.0, "surface_area": 38700.0, "principal_moments": [335000000.0, 378000000.0, 458000000.0], "n_faces": 22, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 78.3 \u00d7 61.5 \u00d7 85.8 mm (W\u00d7D\u00d7H).", "Four 3.8 mm square holes at the corners, 54.81 \u00d7 43.05 mm spacing."], "text": "Rectangular body, 78.3 \u00d7 61.5 \u00d7 85.8 mm (W\u00d7D\u00d7H). Four 3.8 mm square holes at the corners, 54.81 \u00d7 43.05 mm spacing."}, "params": {"block_w": {"type": "float", "default": 78.3, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 61.5, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 85.8, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 3.8, "min": 2.0, "max": 16.9, "step": 0.5, "group": "Holes", "label": "Square hole size (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332208 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 78.3, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 61.5, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 85.8, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.8, \"min\": 2.0, \"max\": 16.9, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Square hole size (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().rect(p[\"hole_d\"], p[\"hole_d\"]).cutThruAll()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462ca9f2_3646", "family": "flanged", "tier": 1, "seed": 1177332210, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "4de4ed141a2906d4", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 185000.0, "surface_area": 35700.0, "principal_moments": [134000000.0, 134000000.0, 162000000.0], "n_faces": 21, "n_edges": 78, "n_vertices": 52}, "dimensions": {"lines": ["Revolved body, \u00d865 mm \u00d7 54 mm tall with \u00d823 mm bore, \u00d8109 mm \u00d7 6.7 mm flange.", "Eight \u00d88.4 mm holes on a \u00d865.4 mm bolt circle."], "text": "Revolved body, \u00d865 mm \u00d7 54 mm tall with \u00d823 mm bore, \u00d8109 mm \u00d7 6.7 mm flange. Eight \u00d88.4 mm holes on a \u00d865.4 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 65, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 54.0, "min": 16.2, "max": 135.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 23.0, "min": 2.0, "max": 45.5, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 109.0, "min": 84.5, "max": 195.0, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 6.7, "min": 2.0, "max": 21.6, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 8.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 32.7, "min": 21.8, "max": 49.1, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 8, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332210 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 65, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 54.0, \"min\": 16.2, \"max\": 135.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 23.0, \"min\": 2.0, \"max\": 45.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 109.0, \"min\": 84.5, \"max\": 195.0, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 6.7, \"min\": 2.0, \"max\": 21.6, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 32.7, \"min\": 21.8, \"max\": 49.1, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca9f3_3647", "family": "block", "tier": 1, "seed": 1177332211, "symmetry": "none", "op_count": 2, "ir_hash": "8e1614423ccc0db2", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 95000.0, "surface_area": 16600.0, "principal_moments": [24599999.999999996, 42400000.0, 47199999.99999999], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 65 \u00d7 35.9 \u00d7 43.1 mm (W\u00d7D\u00d7H).", "Four \u00d86.4 mm holes at the corners, 45.5 \u00d7 25.13 mm spacing."], "text": "Rectangular body, 65 \u00d7 35.9 \u00d7 43.1 mm (W\u00d7D\u00d7H). Four \u00d86.4 mm holes at the corners, 45.5 \u00d7 25.13 mm spacing."}, "params": {"block_w": {"type": "float", "default": 65, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 35.9, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 43.1, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 8.1, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332211 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 65, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 35.9, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 43.1, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 8.1, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462ca9f4_3648", "family": "tapped", "tier": 2, "seed": 1177332212, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "95abd997bf9d74dd", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 4680.0, "surface_area": 2220.0, "principal_moments": [245000.0, 245000.0, 270000.0], "n_faces": 111, "n_edges": 299, "n_vertices": 190}, "dimensions": {"lines": ["One M8x1.25 tapped hole in a cylinder."], "text": "One M8x1.25 tapped hole in a cylinder."}, "params": {"major_d": {"type": "float", "default": 8.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 1.25, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 16.8, "min": 9.6, "max": 30.2, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "body_d": {"type": "float", "default": 20.2, "min": 14.4, "max": 32.3, "step": 1.0, "group": "Body", "label": "Outer \u00d8 (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332212 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.25, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 16.8, \"min\": 9.6, \"max\": 30.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"body_d\": {\"type\": 'float', \"default\": 20.2, \"min\": 14.4, \"max\": 32.3, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer \u00d8 (mm)'},\n}\n\n\ndef build(p):\n\n    _W = _D = p[\"body_d\"]\n    _H = p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Cylinder(radius=_W / 2, height=_H)\n    _locs = [(0.0, 0.0)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462ca9f5_3649", "family": "sketched", "tier": 1, "seed": 1177332213, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "65f06d8cba838d37", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 17900.0, "surface_area": 5420.0, "principal_moments": [1880000.0, 4300000.0, 5880000.0], "n_faces": 7, "n_edges": 15, "n_vertices": 10}, "dimensions": {"lines": ["freeform sketched section (4 segments: 2 straight, 2 arcs), ~67.166 \u00d7 46.101 mm, extruded 10 mm thick.", "One \u00d85.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "freeform sketched section (4 segments: 2 straight, 2 arcs), ~67.166 \u00d7 46.101 mm, extruded 10 mm thick. One \u00d85.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"sk_w": {"type": "float", "default": 79.95, "min": 40.0, "max": 143.9, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 55, "min": 27.5, "max": 99.0, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "sk_t": {"type": "float", "default": 10, "min": 4.0, "max": 22.0, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "sk_hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 10.6, "step": 0.5, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332213 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 79.95, \"min\": 40.0, \"max\": 143.9, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 55, \"min\": 27.5, \"max\": 99.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"sk_t\": {\"type\": 'float', \"default\": 10, \"min\": 4.0, \"max\": 22.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"sk_hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 10.6, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.4807, p[\"sk_h\"] * 0.0568).lineTo(p[\"sk_w\"] * 0.0932, p[\"sk_h\"] * 0.4899).lineTo(p[\"sk_w\"] * -0.3594, p[\"sk_h\"] * 0.135).threePointArc((p[\"sk_w\"] * -0.2882, p[\"sk_h\"] * -0.1382), (p[\"sk_w\"] * -0.1288, p[\"sk_h\"] * -0.3483)).threePointArc((p[\"sk_w\"] * 0.212, p[\"sk_h\"] * -0.1991), (p[\"sk_w\"] * 0.4807, p[\"sk_h\"] * 0.0568)).close().extrude(p[\"sk_t\"]))\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"sk_hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462ca9f7_3651", "family": "flanged", "tier": 1, "seed": 1177332215, "symmetry": "radial", "op_count": 2, "ir_hash": "f5fbb3636a5d5a71", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 827000.0, "surface_area": 101000.0, "principal_moments": [2070000000.0, 2070000000.0, 2070000000.0], "n_faces": 12, "n_edges": 27, "n_vertices": 18}, "dimensions": {"lines": ["Revolved body, \u00d891.51 mm \u00d7 112.9 mm tall with \u00d845.2 mm bore, \u00d8178.7 mm \u00d7 14.5 mm flange.", "Six \u00d86.4 mm holes on a \u00d8107.2 mm bolt circle."], "text": "Revolved body, \u00d891.51 mm \u00d7 112.9 mm tall with \u00d845.2 mm bore, \u00d8178.7 mm \u00d7 14.5 mm flange. Six \u00d86.4 mm holes on a \u00d8107.2 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 91.51, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 112.9, "min": 33.9, "max": 282.2, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 45.2, "min": 2.0, "max": 64.1, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 178.7, "min": 119.0, "max": 274.5, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 14.5, "min": 4.3, "max": 45.2, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 53.6, "min": 35.7, "max": 80.4, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 6, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332215 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 91.51, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 112.9, \"min\": 33.9, \"max\": 282.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 45.2, \"min\": 2.0, \"max\": 64.1, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 178.7, \"min\": 119.0, \"max\": 274.5, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 14.5, \"min\": 4.3, \"max\": 45.2, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 53.6, \"min\": 35.7, \"max\": 80.4, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462ca9f8_3652", "family": "ribbed", "tier": 2, "seed": 1177332216, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "fb1d404f14b37a55", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 53300.0, "surface_area": 20700.0, "principal_moments": [16599999.999999998, 27099999.999999996, 38800000.0], "n_faces": 46, "n_edges": 112, "n_vertices": 68}, "dimensions": {"lines": ["Rectangular body, 75 \u00d7 53.9 \u00d7 8 mm (W\u00d7D\u00d7H).", "Five ribs, 4.4 mm thick, 15.9 mm tall."], "text": "Rectangular body, 75 \u00d7 53.9 \u00d7 8 mm (W\u00d7D\u00d7H). Five ribs, 4.4 mm thick, 15.9 mm tall."}, "params": {"base_w": {"type": "float", "default": 75, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 53.9, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 8.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 5, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 15.9, "min": 6.4, "max": 31.8, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 4.4, "min": 1.0, "max": 11.0, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332216 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 75, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 53.9, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 5, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 15.9, \"min\": 6.4, \"max\": 31.8, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 4.4, \"min\": 1.0, \"max\": 11.0, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca9f9_3653", "family": "block", "tier": 1, "seed": 1177332217, "symmetry": "radial", "op_count": 2, "ir_hash": "a4aa8af5fc1ace92", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 271000.0, "surface_area": 39000.0, "principal_moments": [136000000.0, 270000000.0, 317000000.0], "n_faces": 18, "n_edges": 48, "n_vertices": 32}, "dimensions": {"lines": ["Rectangular body, 63.02 \u00d7 44.5 \u00d7 100 mm (W\u00d7D\u00d7H).", "Twelve \u00d83.2 mm holes on a \u00d837.8 mm bolt circle."], "text": "Rectangular body, 63.02 \u00d7 44.5 \u00d7 100 mm (W\u00d7D\u00d7H). Twelve \u00d83.2 mm holes on a \u00d837.8 mm bolt circle."}, "params": {"block_w": {"type": "float", "default": 63.02, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 44.5, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 100.0, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "bolt_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 18.9, "min": 12.6, "max": 28.4, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 12, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332217 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 63.02, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 44.5, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 100.0, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 18.9, \"min\": 12.6, \"max\": 28.4, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 12, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462ca9fa_3654", "family": "tapped", "tier": 1, "seed": 1177332218, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "9864b3e4bc228793", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 755.0, "surface_area": 657.0, "principal_moments": [11400.0, 12100.0, 12100.0], "n_faces": 119, "n_edges": 321, "n_vertices": 204}, "dimensions": {"lines": ["One M4x0.7 tapped hole in a cylinder."], "text": "One M4x0.7 tapped hole in a cylinder."}, "params": {"major_d": {"type": "float", "default": 4.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 0.7, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 10.1, "min": 4.8, "max": 18.2, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "body_d": {"type": "float", "default": 10.4, "min": 7.2, "max": 16.6, "step": 1.0, "group": "Body", "label": "Outer \u00d8 (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332218 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 4.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 0.7, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 10.1, \"min\": 4.8, \"max\": 18.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"body_d\": {\"type\": 'float', \"default\": 10.4, \"min\": 7.2, \"max\": 16.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer \u00d8 (mm)'},\n}\n\n\ndef build(p):\n\n    _W = _D = p[\"body_d\"]\n    _H = p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Cylinder(radius=_W / 2, height=_H)\n    _locs = [(0.0, 0.0)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462ca9fb_3655", "family": "gear", "tier": 3, "seed": 1177332219, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "3c17ab583ae768d9", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 34800.0, "surface_area": 11100.0, "principal_moments": [8930000.0, 8930000.0, 16800000.0], "n_faces": 93, "n_edges": 273, "n_vertices": 182}, "dimensions": {"lines": ["Cycloid gear, module 4 mm, 15 teeth (pitch \u00d860 mm), face width 13.2 mm, \u00d811.1 mm bore."], "text": "Cycloid gear, module 4 mm, 15 teeth (pitch \u00d860 mm), face width 13.2 mm, \u00d811.1 mm bore."}, "params": {"module": {"type": "float", "default": 4.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 15, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 13.2, "min": 5.3, "max": 33.0, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "bore_d": {"type": "float", "default": 11.1, "min": 2.0, "max": 30.0, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332219 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 4.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 15, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 13.2, \"min\": 5.3, \"max\": 33.0, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 11.1, \"min\": 2.0, \"max\": 30.0, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.CycloidGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462ca9fc_3656", "family": "block", "tier": 2, "seed": 1177332220, "symmetry": "none", "op_count": 3, "ir_hash": "6e97d6e078a5999b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 663000.0, "surface_area": 58600.0, "principal_moments": [786000000.0, 838000000.0, 1060000000.0], "n_faces": 19, "n_edges": 45, "n_vertices": 30}, "dimensions": {"lines": ["Rectangular body, 95 \u00d7 71 \u00d7 100 mm (W\u00d7D\u00d7H).", "Nine \u00d83.2 mm holes in two staggered rows, 17.8 \u00d7 16.7 mm pitch.", "Boss \u00d820.2 mm \u00d7 5.1 mm tall on top face with a \u00d88.4 mm bore."], "text": "Rectangular body, 95 \u00d7 71 \u00d7 100 mm (W\u00d7D\u00d7H). Nine \u00d83.2 mm holes in two staggered rows, 17.8 \u00d7 16.7 mm pitch. Boss \u00d820.2 mm \u00d7 5.1 mm tall on top face with a \u00d88.4 mm bore."}, "params": {"block_w": {"type": "float", "default": 95, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 71.0, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 100.0, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 7.1, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 5, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}, "boss_d": {"type": "float", "default": 20.2, "min": 10.1, "max": 40.4, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 5.1, "min": 2.0, "max": 12.8, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}, "boss_bore_d": {"type": "float", "default": 8.4, "min": 2.0, "max": 14.1, "step": 0.1, "group": "Boss", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332220 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 95, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 71.0, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 100.0, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 7.1, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 5, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n    \"boss_d\": {\"type\": 'float', \"default\": 20.2, \"min\": 10.1, \"max\": 40.4, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 5.1, \"min\": 2.0, \"max\": 12.8, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n    \"boss_bore_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 2.0, \"max\": 14.1, \"step\": 0.1, \"group\": 'Boss', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 17.8\n    _ssy = 16.7\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .hole(p[\"boss_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462ca9fd_3657", "family": "compound", "tier": 1, "seed": 1177332221, "symmetry": "none", "op_count": 3, "ir_hash": "19799a3bc0b2c663", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 34900.0, "surface_area": 7440.0, "principal_moments": [5310000.0, 6790000.0, 7660000.0], "n_faces": 22, "n_edges": 57, "n_vertices": 37}, "dimensions": {"lines": ["Rectangular body, 39.42 \u00d7 27.4 \u00d7 32.5 mm (W\u00d7D\u00d7H).", "5-sided polygon section, 6.4 mm across corners attachment, 6.5 mm long, from back face with a \u00d83 mm bore.", "5-sided polygon section, 6.4 mm across corners attachment, 6.5 mm long, from right face with a \u00d83 mm bore."], "text": "Rectangular body, 39.42 \u00d7 27.4 \u00d7 32.5 mm (W\u00d7D\u00d7H). 5-sided polygon section, 6.4 mm across corners attachment, 6.5 mm long, from back face with a \u00d83 mm bore. 5-sided polygon section, 6.4 mm across corners attachment, 6.5 mm long, from right face with a \u00d83 mm bore."}, "params": {"block_w": {"type": "float", "default": 39.42, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body width (mm)"}, "block_d": {"type": "float", "default": 27.4, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body depth (mm)"}, "block_h": {"type": "float", "default": 32.5, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body height (mm)"}, "port_sides": {"type": "int", "default": 5, "min": 3, "max": 8, "step": 1, "group": "Ports", "label": "Ports sides"}, "port_r": {"type": "float", "default": 3.2, "min": 1.6, "max": 6.2, "step": 1.0, "group": "Ports", "label": "Ports circumradius (mm)"}, "port_len": {"type": "float", "default": 6.5, "min": 1.3, "max": 15.5, "step": 1.0, "group": "Ports", "label": "Port boss length (mm)"}, "port_bore": {"type": "float", "default": 3.0, "min": 2.0, "max": 3.7, "step": 0.5, "group": "Ports", "label": "Port bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332221 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 39.42, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 27.4, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 32.5, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body height (mm)'},\n    \"port_sides\": {\"type\": 'int', \"default\": 5, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Ports', \"label\": 'Ports sides'},\n    \"port_r\": {\"type\": 'float', \"default\": 3.2, \"min\": 1.6, \"max\": 6.2, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Ports circumradius (mm)'},\n    \"port_len\": {\"type\": 'float', \"default\": 6.5, \"min\": 1.3, \"max\": 15.5, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Port boss length (mm)'},\n    \"port_bore\": {\"type\": 'float', \"default\": 3.0, \"min\": 2.0, \"max\": 3.7, \"step\": 0.5, \"group\": 'Ports', \"label\": 'Port bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"port_sides\"], p[\"port_r\"] * 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"port_sides\"], p[\"port_r\"] * 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462ca9fe_3658", "family": "revolved", "tier": 0, "seed": 1177332222, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "8a54c79df5082c7b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 682.0, "surface_area": 753.0, "principal_moments": [8320.0, 14500.0, 14500.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d89.02 mm \u00d7 16 mm tall."], "text": "Revolved body, \u00d89.02 mm \u00d7 16 mm tall."}, "params": {"outer_d": {"type": "float", "default": 9.02, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 16.0, "min": 4.8, "max": 48.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332222 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 9.02, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 16.0, \"min\": 4.8, \"max\": 48.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462ca9ff_3659", "family": "tapped", "tier": 0, "seed": 1177332223, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "6bd14c07f170a3ab", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 22900.0, "surface_area": 5790.0, "principal_moments": [3180000.0, 3180000.0, 5030000.0], "n_faces": 127, "n_edges": 345, "n_vertices": 220}, "dimensions": {"lines": ["One M8x1.25 tapped hole in a plate."], "text": "One M8x1.25 tapped hole in a plate."}, "params": {"major_d": {"type": "float", "default": 8.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 1.25, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 18.6, "min": 9.6, "max": 33.5, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "plate_w": {"type": "float", "default": 35.7, "min": 21.4, "max": 57.1, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 35.7, "min": 21.4, "max": 57.1, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332223 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.25, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 18.6, \"min\": 9.6, \"max\": 33.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"plate_w\": {\"type\": 'float', \"default\": 35.7, \"min\": 21.4, \"max\": 57.1, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 35.7, \"min\": 21.4, \"max\": 57.1, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n}\n\n\ndef build(p):\n\n    _W, _D, _H = p[\"plate_w\"], p[\"plate_d\"], p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Box(_W, _D, _H)\n    _locs = [(0.0, 0.0)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462caa00_3660", "family": "block", "tier": 2, "seed": 1177332224, "symmetry": "radial", "op_count": 3, "ir_hash": "a2c7de010778303d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 17300.0, "surface_area": 8040.0, "principal_moments": [1670000.0, 4210000.0, 4530000.0], "n_faces": 31, "n_edges": 102, "n_vertices": 68}, "dimensions": {"lines": ["Rectangular body, 45.89 \u00d7 20.3 \u00d7 26.3 mm (W\u00d7D\u00d7H).", "Twelve \u00d85.3 mm holes on a \u00d827.6 mm bolt circle.", "Pocket 27.9 \u00d7 9.6 mm, 14.7 mm deep, in top face."], "text": "Rectangular body, 45.89 \u00d7 20.3 \u00d7 26.3 mm (W\u00d7D\u00d7H). Twelve \u00d85.3 mm holes on a \u00d827.6 mm bolt circle. Pocket 27.9 \u00d7 9.6 mm, 14.7 mm deep, in top face."}, "params": {"block_w": {"type": "float", "default": 45.89, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 20.3, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 26.3, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "bolt_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 13.8, "min": 9.2, "max": 20.7, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 12, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}, "pocket_w": {"type": "float", "default": 27.9, "min": 13.9, "max": 36.7, "step": 1.0, "group": "Pocket", "label": "Pocket width (mm)"}, "pocket_d": {"type": "float", "default": 9.6, "min": 4.8, "max": 16.2, "step": 1.0, "group": "Pocket", "label": "Pocket depth (mm)"}, "pocket_h": {"type": "float", "default": 14.7, "min": 5.9, "max": 22.4, "step": 0.5, "group": "Pocket", "label": "Pocket height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332224 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 45.89, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 20.3, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 26.3, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 13.8, \"min\": 9.2, \"max\": 20.7, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 12, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n    \"pocket_w\": {\"type\": 'float', \"default\": 27.9, \"min\": 13.9, \"max\": 36.7, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket width (mm)'},\n    \"pocket_d\": {\"type\": 'float', \"default\": 9.6, \"min\": 4.8, \"max\": 16.2, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket depth (mm)'},\n    \"pocket_h\": {\"type\": 'float', \"default\": 14.7, \"min\": 5.9, \"max\": 22.4, \"step\": 0.5, \"group\": 'Pocket', \"label\": 'Pocket height (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"pocket_w\"], p[\"pocket_d\"])\n        .cutBlind(-p[\"pocket_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462caa01_3661", "family": "block", "tier": 1, "seed": 1177332225, "symmetry": "radial", "op_count": 2, "ir_hash": "aa6fe7b394820fb3", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 206000.0, "surface_area": 41600.0, "principal_moments": [109000000.0, 161000000.0, 162000000.0], "n_faces": 18, "n_edges": 48, "n_vertices": 32}, "dimensions": {"lines": ["Rectangular body, 55 \u00d7 54.4 \u00d7 79 mm (W\u00d7D\u00d7H).", "Twelve \u00d86.4 mm holes on a \u00d833 mm bolt circle."], "text": "Rectangular body, 55 \u00d7 54.4 \u00d7 79 mm (W\u00d7D\u00d7H). Twelve \u00d86.4 mm holes on a \u00d833 mm bolt circle."}, "params": {"block_w": {"type": "float", "default": 55, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 54.4, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 79.0, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "bolt_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 16.5, "min": 11.0, "max": 24.8, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 12, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332225 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 55, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 54.4, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 79.0, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 16.5, \"min\": 11.0, \"max\": 24.8, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 12, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462caa02_3662", "family": "compound", "tier": 3, "seed": 1177332226, "symmetry": "none", "op_count": 3, "ir_hash": "8ecfa4d37be07b82", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 84800.0, "surface_area": 15200.0, "principal_moments": [32299999.999999996, 32299999.999999996, 34400000.0], "n_faces": 12, "n_edges": 25, "n_vertices": 16}, "dimensions": {"lines": ["Lofted body through 3 sections: 65.09 \u00d7 65.09 mm rectangular section \u2192 \u00d849.3 mm circular section \u2192 \u00d833.5 mm circular section.", "\u00d823.4 mm circular section attachment, 18.5 mm long, from top face with a \u00d810.1 mm bore.", "Chamfer 1.3 mm on top edges."], "text": "Lofted body through 3 sections: 65.09 \u00d7 65.09 mm rectangular section \u2192 \u00d849.3 mm circular section \u2192 \u00d833.5 mm circular section. \u00d823.4 mm circular section attachment, 18.5 mm long, from top face with a \u00d810.1 mm bore. Chamfer 1.3 mm on top edges."}, "params": {"adapter_base": {"type": "float", "default": 65.09, "min": 39.1, "max": 97.6, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "adapter_top": {"type": "float", "default": 33.5, "min": 16.8, "max": 65.1, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "adapter_h": {"type": "float", "default": 38.3, "min": 15.3, "max": 76.6, "step": 1.0, "group": "Body", "label": "Transition height (mm)"}, "adapter_mid": {"type": "float", "default": 49.3, "min": 16.8, "max": 65.1, "step": 1.0, "group": "Body", "label": "Mid size (mm)"}, "neck_d": {"type": "float", "default": 23.4, "min": 9.4, "max": 33.5, "step": 1.0, "group": "Neck", "label": "Neck diameter (mm)"}, "neck_l": {"type": "float", "default": 18.5, "min": 7.4, "max": 46.2, "step": 1.0, "group": "Neck", "label": "Neck length (mm)"}, "neck_bore": {"type": "float", "default": 10.1, "min": 2.0, "max": 16.8, "step": 0.5, "group": "Neck", "label": "Neck bore diameter (mm)"}, "chamfer_d": {"type": "float", "default": 1.3, "min": 0.5, "max": 3.0, "step": 0.5, "group": "Body", "label": "Chamfer distance (mm)"}, "chamfered": {"type": "bool", "default": true, "group": "Body", "label": "Chamfer edges"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332226 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"adapter_base\": {\"type\": 'float', \"default\": 65.09, \"min\": 39.1, \"max\": 97.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"adapter_top\": {\"type\": 'float', \"default\": 33.5, \"min\": 16.8, \"max\": 65.1, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"adapter_h\": {\"type\": 'float', \"default\": 38.3, \"min\": 15.3, \"max\": 76.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Transition height (mm)'},\n    \"adapter_mid\": {\"type\": 'float', \"default\": 49.3, \"min\": 16.8, \"max\": 65.1, \"step\": 1.0, \"group\": 'Body', \"label\": 'Mid size (mm)'},\n    \"neck_d\": {\"type\": 'float', \"default\": 23.4, \"min\": 9.4, \"max\": 33.5, \"step\": 1.0, \"group\": 'Neck', \"label\": 'Neck diameter (mm)'},\n    \"neck_l\": {\"type\": 'float', \"default\": 18.5, \"min\": 7.4, \"max\": 46.2, \"step\": 1.0, \"group\": 'Neck', \"label\": 'Neck length (mm)'},\n    \"neck_bore\": {\"type\": 'float', \"default\": 10.1, \"min\": 2.0, \"max\": 16.8, \"step\": 0.5, \"group\": 'Neck', \"label\": 'Neck bore diameter (mm)'},\n    \"chamfer_d\": {\"type\": 'float', \"default\": 1.3, \"min\": 0.5, \"max\": 3.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Chamfer distance (mm)'},\n    \"chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Chamfer edges'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .rect(p[\"adapter_base\"], p[\"adapter_base\"])\n        .workplane(offset=p[\"adapter_h\"] * 0.5)\n        .circle(p[\"adapter_mid\"] / 2)\n        .workplane(offset=p[\"adapter_h\"] * 0.5)\n        .circle(p[\"adapter_top\"] / 2)\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"neck_d\"] / 2).extrude(p[\"neck_l\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"neck_bore\"])\n    )\n    if p[\"chamfered\"]:\n        result = result.edges('>Z').chamfer(p[\"chamfer_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462caa03_3663", "family": "revolved", "tier": 1, "seed": 1177332227, "symmetry": "radial", "op_count": 1, "ir_hash": "1c400a54a52790fb", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 107000.0, "surface_area": 18000.0, "principal_moments": [51099999.99999999, 51099999.99999999, 59199999.99999999], "n_faces": 4, "n_edges": 6, "n_vertices": 4}, "dimensions": {"lines": ["Revolved body, \u00d860 mm \u00d7 49 mm tall with \u00d828.5 mm bore."], "text": "Revolved body, \u00d860 mm \u00d7 49 mm tall with \u00d828.5 mm bore."}, "params": {"outer_d": {"type": "float", "default": 60, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 49.0, "min": 14.7, "max": 147.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 28.5, "min": 2.0, "max": 42.0, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332227 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 60, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 49.0, \"min\": 14.7, \"max\": 147.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 28.5, \"min\": 2.0, \"max\": 42.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462caa04_3664", "family": "plate", "tier": 0, "seed": 1177332228, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "be4b209012685f2b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 23900.0, "surface_area": 9470.0, "principal_moments": [7600000.0, 8400000.0, 15799999.999999998], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 64.69 \u00d7 61.5 \u00d7 6 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 64.69 \u00d7 61.5 \u00d7 6 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 64.69, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 61.5, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 6.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332228 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 64.69, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 61.5, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462caa05_3665", "family": "bracket", "tier": 1, "seed": 1177332229, "symmetry": "none", "op_count": 1, "ir_hash": "59537ea940b039f3", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 42200.0, "surface_area": 19100.0, "principal_moments": [15399999.999999998, 46299999.99999999, 52199999.99999999], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Z-bracket: base leg 55 mm, vertical leg 57.5 mm, top leg 51.2 mm, 55 mm wide, 5 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."], "text": "Z-bracket: base leg 55 mm, vertical leg 57.5 mm, top leg 51.2 mm, 55 mm wide, 5 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 55, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 57.5, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 55, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 5.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 51.2, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332229 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 55, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 57.5, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 55, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 51.2, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462caa06_3666", "family": "bracket", "tier": 2, "seed": 1177332230, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "5eb68e6227ef0923", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 7070.0, "surface_area": 3400.0, "principal_moments": [439000.0, 1410000.0, 1440000.0], "n_faces": 14, "n_edges": 37, "n_vertices": 24}, "dimensions": {"lines": ["L-bracket: base leg 40 mm, vertical leg 27.5 mm, 18.64 mm wide, 6 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg; 8.8 mm corner gusset."], "text": "L-bracket: base leg 40 mm, vertical leg 27.5 mm, 18.64 mm wide, 6 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg; 8.8 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 40, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 27.5, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 18.64, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 6.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 7.5, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 8.8, "min": 3.0, "max": 9.3, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332230 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 40, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 27.5, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 18.64, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 7.5, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 8.8, \"min\": 3.0, \"max\": 9.3, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462caa07_3667", "family": "block", "tier": 3, "seed": 1177332231, "symmetry": "none", "op_count": 5, "ir_hash": "db6331528feafc14", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 36400.0, "surface_area": 9450.0, "principal_moments": [6060000.0, 7620000.0, 11000000.0], "n_faces": 44, "n_edges": 126, "n_vertices": 84}, "dimensions": {"lines": ["Rectangular body, 40 \u00d7 21.3 \u00d7 45.9 mm (W\u00d7D\u00d7H).", "Four 3.8 mm square holes at the corners, 28 \u00d7 14.91 mm spacing.", "Fillet radius 1.547 mm on vertical edges.", "Fillet radius 1.068 mm on vertical edges (optional, off by default).", "One \u00d86.4 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch on the >Y face."], "text": "Rectangular body, 40 \u00d7 21.3 \u00d7 45.9 mm (W\u00d7D\u00d7H). Four 3.8 mm square holes at the corners, 28 \u00d7 14.91 mm spacing. Fillet radius 1.547 mm on vertical edges. Fillet radius 1.068 mm on vertical edges (optional, off by default). One \u00d86.4 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch on the >Y face."}, "params": {"block_w": {"type": "float", "default": 40, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 21.3, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 45.9, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 3.8, "min": 2.0, "max": 6.2, "step": 0.5, "group": "Holes", "label": "Square hole size (mm)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}, "filleted2": {"type": "bool", "default": false, "group": "Body", "label": "Fillet corners"}, "face_hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 11.5, "step": 0.5, "group": "Holes", "label": "Side hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332231 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 40, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 21.3, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 45.9, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.8, \"min\": 2.0, \"max\": 6.2, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Square hole size (mm)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n    \"filleted2\": {\"type\": 'bool', \"default\": False, \"group\": 'Body', \"label\": 'Fillet corners'},\n    \"face_hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 11.5, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Side hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().rect(p[\"hole_d\"], p[\"hole_d\"]).cutThruAll()\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"block_w\"], p[\"block_d\"]) * 0.0726390554459429)\n    if p[\"filleted2\"]:\n        result = result.edges('|Z').fillet(min(p[\"block_w\"], p[\"block_d\"]) * 0.05012928281710742)\n    result = (\n        result.faces('>Y').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"face_hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462caa09_3669", "family": "sketched", "tier": 2, "seed": 1177332233, "symmetry": "mirror_xy", "op_count": 3, "ir_hash": "53213345bc909b61", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 36700.0, "surface_area": 8210.0, "principal_moments": [5100000.0, 9910000.0, 10000000.0], "n_faces": 11, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["freeform sketched section (6 segments: 2 straight, 1 arc, 3 curves), ~57.972 \u00d7 33.232 mm, extruded 22.8 mm thick.", "One \u00d84.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch.", "Boss \u00d824.5 mm \u00d7 11 mm tall on top face with a \u00d810.5 mm bore."], "text": "freeform sketched section (6 segments: 2 straight, 1 arc, 3 curves), ~57.972 \u00d7 33.232 mm, extruded 22.8 mm thick. One \u00d84.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch. Boss \u00d824.5 mm \u00d7 11 mm tall on top face with a \u00d810.5 mm bore."}, "params": {"sk_w": {"type": "float", "default": 75.8, "min": 37.9, "max": 136.4, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 41.78, "min": 20.9, "max": 75.2, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "sk_t": {"type": "float", "default": 22.8, "min": 9.1, "max": 50.2, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "sk_hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 8.6, "step": 0.5, "group": "Holes", "label": "Hole diameter (mm)"}, "boss_d": {"type": "float", "default": 24.5, "min": 12.2, "max": 49.0, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 11.0, "min": 4.4, "max": 27.5, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}, "boss_bore_d": {"type": "float", "default": 10.5, "min": 2.0, "max": 17.1, "step": 0.1, "group": "Boss", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332233 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 75.8, \"min\": 37.9, \"max\": 136.4, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 41.78, \"min\": 20.9, \"max\": 75.2, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"sk_t\": {\"type\": 'float', \"default\": 22.8, \"min\": 9.1, \"max\": 50.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"sk_hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 8.6, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"boss_d\": {\"type\": 'float', \"default\": 24.5, \"min\": 12.2, \"max\": 49.0, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 11.0, \"min\": 4.4, \"max\": 27.5, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n    \"boss_bore_d\": {\"type\": 'float', \"default\": 10.5, \"min\": 2.0, \"max\": 17.1, \"step\": 0.1, \"group\": 'Boss', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.3017, p[\"sk_h\"] * 0.114).lineTo(p[\"sk_w\"] * 0.1535, p[\"sk_h\"] * 0.3108).bezier([(p[\"sk_w\"] * 0.1535, p[\"sk_h\"] * 0.3108), (p[\"sk_w\"] * 0.0321, p[\"sk_h\"] * 0.3978), (p[\"sk_w\"] * -0.1131, p[\"sk_h\"] * 0.433)]).threePointArc((p[\"sk_w\"] * -0.3563, p[\"sk_h\"] * 0.2926), (p[\"sk_w\"] * -0.4631, p[\"sk_h\"] * 0.0502)).spline([(p[\"sk_w\"] * -0.4631, p[\"sk_h\"] * 0.0502), (p[\"sk_w\"] * -0.3878, p[\"sk_h\"] * -0.1776), (p[\"sk_w\"] * -0.2012, p[\"sk_h\"] * -0.3285)]).bezier([(p[\"sk_w\"] * -0.2012, p[\"sk_h\"] * -0.3285), (p[\"sk_w\"] * 0.0157, p[\"sk_h\"] * -0.4109), (p[\"sk_w\"] * 0.2426, p[\"sk_h\"] * -0.3624)]).lineTo(p[\"sk_w\"] * 0.3017, p[\"sk_h\"] * 0.114).close().extrude(p[\"sk_t\"]))\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"sk_hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .hole(p[\"boss_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462caa0a_3670", "family": "profiled", "tier": 0, "seed": 1177332234, "symmetry": "none", "op_count": 1, "ir_hash": "e447bc6bf81b1bf7", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 14000.0, "surface_area": 4680.0, "principal_moments": [622000.0, 4660000.0, 4660000.0], "n_faces": 5, "n_edges": 9, "n_vertices": 6}, "dimensions": {"lines": ["3-sided polygon section, 26.62 mm across corners, extruded 61 mm thick."], "text": "3-sided polygon section, 26.62 mm across corners, extruded 61 mm thick."}, "params": {"circ_r": {"type": "float", "default": 13.31, "min": 6.7, "max": 26.6, "step": 1.0, "group": "Profile", "label": "Circumscribed radius (mm)"}, "n_sides": {"type": "int", "default": 3, "min": 3, "max": 8, "step": 1, "group": "Profile", "label": "Sides"}, "length": {"type": "float", "default": 61.0, "min": 18.3, "max": 183.0, "step": 5.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332234 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"circ_r\": {\"type\": 'float', \"default\": 13.31, \"min\": 6.7, \"max\": 26.6, \"step\": 1.0, \"group\": 'Profile', \"label\": 'Circumscribed radius (mm)'},\n    \"n_sides\": {\"type\": 'int', \"default\": 3, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Profile', \"label\": 'Sides'},\n    \"length\": {\"type\": 'float', \"default\": 61.0, \"min\": 18.3, \"max\": 183.0, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').polygon(p[\"n_sides\"], p[\"circ_r\"] * 2).extrude(p[\"length\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462caa0c_3672", "family": "sketched", "tier": 1, "seed": 1177332236, "symmetry": "none", "op_count": 2, "ir_hash": "3e610e0af7b983c5", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 29200.0, "surface_area": 6700.0, "principal_moments": [2830000.0, 9470000.0, 11100000.0], "n_faces": 9, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["freeform sketched section (6 segments: 2 straight, 3 arcs, 1 curve), ~36.321 \u00d7 72.784 mm, extruded 15.71 mm thick.", "One \u00d85.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "freeform sketched section (6 segments: 2 straight, 3 arcs, 1 curve), ~36.321 \u00d7 72.784 mm, extruded 15.71 mm thick. One \u00d85.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"sk_w": {"type": "float", "default": 51.74, "min": 25.9, "max": 93.1, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 89.36, "min": 44.7, "max": 160.8, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "sk_t": {"type": "float", "default": 15.71, "min": 6.3, "max": 34.6, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "sk_hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 10.6, "step": 0.5, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332236 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 51.74, \"min\": 25.9, \"max\": 93.1, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 89.36, \"min\": 44.7, \"max\": 160.8, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"sk_t\": {\"type\": 'float', \"default\": 15.71, \"min\": 6.3, \"max\": 34.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"sk_hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 10.6, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.3924, p[\"sk_h\"] * -0.0127).lineTo(p[\"sk_w\"] * 0.3149, p[\"sk_h\"] * 0.2907).threePointArc((p[\"sk_w\"] * 0.113, p[\"sk_h\"] * 0.364), (p[\"sk_w\"] * -0.099, p[\"sk_h\"] * 0.3829)).threePointArc((p[\"sk_w\"] * -0.2519, p[\"sk_h\"] * 0.1706), (p[\"sk_w\"] * -0.3096, p[\"sk_h\"] * -0.1067)).lineTo(p[\"sk_w\"] * -0.1335, p[\"sk_h\"] * -0.2933).bezier([(p[\"sk_w\"] * -0.1335, p[\"sk_h\"] * -0.2933), (p[\"sk_w\"] * -0.0451, p[\"sk_h\"] * -0.3854), (p[\"sk_w\"] * 0.0739, p[\"sk_h\"] * -0.4316)]).threePointArc((p[\"sk_w\"] * 0.2639, p[\"sk_h\"] * -0.253), (p[\"sk_w\"] * 0.3924, p[\"sk_h\"] * -0.0127)).close().extrude(p[\"sk_t\"]))\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"sk_hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462caa0d_3673", "family": "flanged", "tier": 1, "seed": 1177332237, "symmetry": "none", "op_count": 2, "ir_hash": "7c4cc4d31f6f0427", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 280000.0, "surface_area": 45500.0, "principal_moments": [291000000.0, 291000000.0, 295000000.0], "n_faces": 18, "n_edges": 45, "n_vertices": 30}, "dimensions": {"lines": ["Revolved body, \u00d866.34 mm \u00d7 71.8 mm tall with \u00d824.4 mm bore, \u00d8123.2 mm \u00d7 7.8 mm flange.", "Twelve \u00d83.2 mm holes on a \u00d874 mm bolt circle."], "text": "Revolved body, \u00d866.34 mm \u00d7 71.8 mm tall with \u00d824.4 mm bore, \u00d8123.2 mm \u00d7 7.8 mm flange. Twelve \u00d83.2 mm holes on a \u00d874 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 66.34, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 71.8, "min": 21.5, "max": 179.5, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 24.4, "min": 2.0, "max": 46.4, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 123.2, "min": 86.2, "max": 199.0, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 7.8, "min": 2.3, "max": 28.7, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 37.0, "min": 24.6, "max": 55.4, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 12, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332237 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 66.34, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 71.8, \"min\": 21.5, \"max\": 179.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 24.4, \"min\": 2.0, \"max\": 46.4, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 123.2, \"min\": 86.2, \"max\": 199.0, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 7.8, \"min\": 2.3, \"max\": 28.7, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 37.0, \"min\": 24.6, \"max\": 55.4, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 12, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462caa0e_3674", "family": "tapped", "tier": 2, "seed": 1177332238, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "a5950129859f340b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 44500.0, "surface_area": 10700.0, "principal_moments": [11200000.0, 12099999.999999998, 21400000.0], "n_faces": 522, "n_edges": 1432, "n_vertices": 912}, "dimensions": {"lines": ["Four M6x1 tapped holes in a plate."], "text": "Four M6x1 tapped holes in a plate."}, "params": {"major_d": {"type": "float", "default": 6.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 1.0, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 15.9, "min": 7.2, "max": 28.6, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "plate_w": {"type": "float", "default": 55, "min": 33.0, "max": 88.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 52.6, "min": 31.6, "max": 84.2, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332238 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.0, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 15.9, \"min\": 7.2, \"max\": 28.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"plate_w\": {\"type\": 'float', \"default\": 55, \"min\": 33.0, \"max\": 88.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 52.6, \"min\": 31.6, \"max\": 84.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n}\n\n\ndef build(p):\n\n    _W, _D, _H = p[\"plate_w\"], p[\"plate_d\"], p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Box(_W, _D, _H)\n    _sx, _sy = p[\"plate_w\"] * 0.6, p[\"plate_d\"] * 0.6\n    _locs = [(_xx, _yy) for _xx in (-_sx / 2, _sx / 2) for _yy in (-_sy / 2, _sy / 2)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462caa0f_3675", "family": "bracket", "tier": 1, "seed": 1177332239, "symmetry": "none", "op_count": 1, "ir_hash": "2b1eb0f01116a370", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 34500.0, "surface_area": 16000.0, "principal_moments": [9430000.0, 45999999.99999999, 46299999.99999999], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Z-bracket: base leg 70 mm, vertical leg 57.2 mm, top leg 51.4 mm, 41.02 mm wide, 5 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."], "text": "Z-bracket: base leg 70 mm, vertical leg 57.2 mm, top leg 51.4 mm, 41.02 mm wide, 5 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 70, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 57.2, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 41.02, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 5.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 51.4, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332239 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 70, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 57.2, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 41.02, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 51.4, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462caa10_3676", "family": "bracket", "tier": 3, "seed": 1177332240, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "835d4af08fa2cb02", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 12300.0, "surface_area": 9490.0, "principal_moments": [1850000.0, 13299999.999999998, 13999999.999999998], "n_faces": 22, "n_edges": 70, "n_vertices": 44}, "dimensions": {"lines": ["Z-bracket: base leg 70 mm, vertical leg 46.1 mm, top leg 47.4 mm, 25 mm wide, 3 mm thick; 2 \u00d7 \u00d84.3 mm holes per leg; 2.8 mm corner gusset."], "text": "Z-bracket: base leg 70 mm, vertical leg 46.1 mm, top leg 47.4 mm, 25 mm wide, 3 mm thick; 2 \u00d7 \u00d84.3 mm holes per leg; 2.8 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 70, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 46.1, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 25, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 3.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 47.4, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 2, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}, "gusset_t": {"type": "float", "default": 2.8, "min": 1.5, "max": 9.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332240 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 70, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 46.1, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 25, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 47.4, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 2, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 2.8, \"min\": 1.5, \"max\": 9.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _tl, _vl) * 0.4 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(0, _vl - _bt).lineTo(-_g, _vl - _bt)\n                    .lineTo(0, _vl - _bt - _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462caa11_3677", "family": "flanged", "tier": 2, "seed": 1177332241, "symmetry": "radial", "op_count": 2, "ir_hash": "d9049acab6438f6d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 9130.0, "surface_area": 4780.0, "principal_moments": [799000.0, 1130000.0, 1130000.0], "n_faces": 21, "n_edges": 78, "n_vertices": 52}, "dimensions": {"lines": ["Revolved body, \u00d820 mm \u00d7 28.3 mm tall with \u00d87.5 mm bore, \u00d837.8 mm \u00d7 2.1 mm flange.", "Eight \u00d83.2 mm holes on a \u00d822.6 mm bolt circle."], "text": "Revolved body, \u00d820 mm \u00d7 28.3 mm tall with \u00d87.5 mm bore, \u00d837.8 mm \u00d7 2.1 mm flange. Eight \u00d83.2 mm holes on a \u00d822.6 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 20.0, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 28.3, "min": 8.5, "max": 70.8, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 7.5, "min": 2.0, "max": 14.0, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 37.8, "min": 26.0, "max": 60.0, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 2.1, "min": 0.6, "max": 11.3, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 11.3, "min": 7.6, "max": 17.0, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 8, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332241 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 20.0, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 28.3, \"min\": 8.5, \"max\": 70.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 7.5, \"min\": 2.0, \"max\": 14.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 37.8, \"min\": 26.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 2.1, \"min\": 0.6, \"max\": 11.3, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 11.3, \"min\": 7.6, \"max\": 17.0, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462caa12_3678", "family": "lofted", "tier": 2, "seed": 1177332242, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "d781a4d7f36a200e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 102000.0, "surface_area": 15600.0, "principal_moments": [40200000.0, 40200000.0, 46299999.99999999], "n_faces": 8, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["Lofted body through 3 sections: 65 \u00d7 65 mm rectangular section \u2192 43 \u00d7 43 mm rectangular section \u2192 \u00d821.1 mm circular section.", "One \u00d88.4 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 3 sections: 65 \u00d7 65 mm rectangular section \u2192 43 \u00d7 43 mm rectangular section \u2192 \u00d821.1 mm circular section. One \u00d88.4 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 65, "min": 32.5, "max": 104.0, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 21.1, "min": 8.4, "max": 78.0, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 52.7, "min": 21.1, "max": 105.4, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_mid": {"type": "float", "default": 43.0, "min": 10.6, "max": 78.0, "step": 1.0, "group": "Body", "label": "Mid size (mm)"}, "loft_bore_d": {"type": "float", "default": 8.4, "min": 2.0, "max": 16.9, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332242 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 65, \"min\": 32.5, \"max\": 104.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 21.1, \"min\": 8.4, \"max\": 78.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 52.7, \"min\": 21.1, \"max\": 105.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_mid\": {\"type\": 'float', \"default\": 43.0, \"min\": 10.6, \"max\": 78.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Mid size (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 2.0, \"max\": 16.9, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .rect(p[\"loft_base\"], p[\"loft_base\"])\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .rect(p[\"loft_mid\"], p[\"loft_mid\"])\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .circle(p[\"loft_top\"] / 2)\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462caa13_3679", "family": "enclosure", "tier": 3, "seed": 1177332243, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "ea5e0f0ec94810f8", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 34300.0, "surface_area": 20000.0, "principal_moments": [13399999.999999998, 21700000.0, 25699999.999999996], "n_faces": 15, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 64.64 \u00d7 43.5 \u00d7 37.1 mm (W\u00d7D\u00d7H).", "Hollowed to 3.6 mm wall thickness, open at top face.", "Four \u00d84.3 mm holes at the corners, 45.248 \u00d7 30.45 mm spacing."], "text": "Rectangular body, 64.64 \u00d7 43.5 \u00d7 37.1 mm (W\u00d7D\u00d7H). Hollowed to 3.6 mm wall thickness, open at top face. Four \u00d84.3 mm holes at the corners, 45.248 \u00d7 30.45 mm spacing."}, "params": {"enc_w": {"type": "float", "default": 64.64, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 43.5, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 37.1, "min": 14.8, "max": 74.2, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 3.6, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 9.8, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332243 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 64.64, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 43.5, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 37.1, \"min\": 14.8, \"max\": 74.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 3.6, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 9.8, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"enc_w\"] * 0.7, p[\"enc_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462caa14_3680", "family": "plate", "tier": 2, "seed": 1177332244, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "6f9d4ea96ea56c40", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 5130.0, "surface_area": 3800.0, "principal_moments": [230000.0, 1530000.0, 1750000.0], "n_faces": 18, "n_edges": 48, "n_vertices": 32}, "dimensions": {"lines": ["Rectangular body, 62.17 \u00d7 23.8 \u00d7 4 mm (W\u00d7D\u00d7H).", "Four \u00d84.3 mm counterbored holes (\u00d88.6 mm \u00d7 3.4 mm counterbore) at the corners, 43.519 \u00d7 16.66 mm spacing."], "text": "Rectangular body, 62.17 \u00d7 23.8 \u00d7 4 mm (W\u00d7D\u00d7H). Four \u00d84.3 mm counterbored holes (\u00d88.6 mm \u00d7 3.4 mm counterbore) at the corners, 43.519 \u00d7 16.66 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 62.17, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 23.8, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 4.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 5.4, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "cb_d": {"type": "float", "default": 8.6, "min": 6.4, "max": 12.9, "step": 0.5, "group": "Holes", "label": "Counterbore diameter (mm)"}, "cb_depth": {"type": "float", "default": 3.4, "min": 1.7, "max": 6.8, "step": 0.5, "group": "Holes", "label": "Counterbore depth (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332244 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 62.17, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 23.8, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 4.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 5.4, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"cb_d\": {\"type\": 'float', \"default\": 8.6, \"min\": 6.4, \"max\": 12.9, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Counterbore diameter (mm)'},\n    \"cb_depth\": {\"type\": 'float', \"default\": 3.4, \"min\": 1.7, \"max\": 6.8, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Counterbore depth (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().cboreHole(p[\"hole_d\"], p[\"cb_d\"], p[\"cb_depth\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462caa15_3681", "family": "plate", "tier": 3, "seed": 1177332245, "symmetry": "radial", "op_count": 4, "ir_hash": "3d0f0582e5aaec20", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 34600.0, "surface_area": 11800.0, "principal_moments": [7250000.0, 20900000.0, 27299999.999999996], "n_faces": 21, "n_edges": 54, "n_vertices": 36}, "dimensions": {"lines": ["Rectangular body, 78.07 \u00d7 46.3 \u00d7 12 mm (W\u00d7D\u00d7H).", "Six \u00d84.3 mm holes on a \u00d846.8 mm bolt circle.", "Fillet radius 5.058 mm on vertical edges.", "Pocket 37.2 \u00d7 28.4 mm, 7.1 mm deep, in top face."], "text": "Rectangular body, 78.07 \u00d7 46.3 \u00d7 12 mm (W\u00d7D\u00d7H). Six \u00d84.3 mm holes on a \u00d846.8 mm bolt circle. Fillet radius 5.058 mm on vertical edges. Pocket 37.2 \u00d7 28.4 mm, 7.1 mm deep, in top face."}, "params": {"plate_w": {"type": "float", "default": 78.07, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 46.3, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "bolt_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 23.4, "min": 15.6, "max": 35.1, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 6, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}, "pocket_w": {"type": "float", "default": 37.2, "min": 18.6, "max": 62.5, "step": 1.0, "group": "Pocket", "label": "Pocket width (mm)"}, "pocket_d": {"type": "float", "default": 28.4, "min": 14.2, "max": 37.0, "step": 1.0, "group": "Pocket", "label": "Pocket depth (mm)"}, "pocket_h": {"type": "float", "default": 7.1, "min": 2.8, "max": 10.2, "step": 0.5, "group": "Pocket", "label": "Pocket height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332245 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 78.07, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 46.3, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 23.4, \"min\": 15.6, \"max\": 35.1, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n    \"pocket_w\": {\"type\": 'float', \"default\": 37.2, \"min\": 18.6, \"max\": 62.5, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket width (mm)'},\n    \"pocket_d\": {\"type\": 'float', \"default\": 28.4, \"min\": 14.2, \"max\": 37.0, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket depth (mm)'},\n    \"pocket_h\": {\"type\": 'float', \"default\": 7.1, \"min\": 2.8, \"max\": 10.2, \"step\": 0.5, \"group\": 'Pocket', \"label\": 'Pocket height (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"plate_w\"], p[\"plate_d\"]) * 0.10925451078304321)\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"pocket_w\"], p[\"pocket_d\"])\n        .cutBlind(-p[\"pocket_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462caa16_3682", "family": "compound", "tier": 2, "seed": 1177332246, "symmetry": "none", "op_count": 5, "ir_hash": "897413c10017620a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 105000.0, "surface_area": 17100.0, "principal_moments": [34900000.0, 40600000.0, 47099999.99999999], "n_faces": 20, "n_edges": 47, "n_vertices": 30}, "dimensions": {"lines": ["Rectangular body, 54.63 \u00d7 40.4 \u00d7 48.6 mm (W\u00d7D\u00d7H).", "\u00d87.3 mm circular section attachment, 9.7 mm long, from right face with a \u00d83.4 mm bore.", "\u00d87.3 mm circular section attachment, 9.7 mm long, from left face with a \u00d83.4 mm bore.", "\u00d87.3 mm circular section attachment, 9.7 mm long, from back face with a \u00d83.4 mm bore.", "Four \u00d85.3 mm holes at the corners, 38.241 \u00d7 28.28 mm spacing."], "text": "Rectangular body, 54.63 \u00d7 40.4 \u00d7 48.6 mm (W\u00d7D\u00d7H). \u00d87.3 mm circular section attachment, 9.7 mm long, from right face with a \u00d83.4 mm bore. \u00d87.3 mm circular section attachment, 9.7 mm long, from left face with a \u00d83.4 mm bore. \u00d87.3 mm circular section attachment, 9.7 mm long, from back face with a \u00d83.4 mm bore. Four \u00d85.3 mm holes at the corners, 38.241 \u00d7 28.28 mm spacing."}, "params": {"block_w": {"type": "float", "default": 54.63, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body width (mm)"}, "block_d": {"type": "float", "default": 40.4, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body depth (mm)"}, "block_h": {"type": "float", "default": 48.6, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body height (mm)"}, "port_d": {"type": "float", "default": 7.3, "min": 2.9, "max": 18.2, "step": 1.0, "group": "Ports", "label": "Ports diameter (mm)"}, "port_len": {"type": "float", "default": 9.7, "min": 1.8, "max": 21.9, "step": 1.0, "group": "Ports", "label": "Port boss length (mm)"}, "port_bore": {"type": "float", "default": 3.4, "min": 2.0, "max": 5.3, "step": 0.5, "group": "Ports", "label": "Port bore diameter (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 9.1, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332246 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 54.63, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 40.4, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 48.6, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body height (mm)'},\n    \"port_d\": {\"type\": 'float', \"default\": 7.3, \"min\": 2.9, \"max\": 18.2, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Ports diameter (mm)'},\n    \"port_len\": {\"type\": 'float', \"default\": 9.7, \"min\": 1.8, \"max\": 21.9, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Port boss length (mm)'},\n    \"port_bore\": {\"type\": 'float', \"default\": 3.4, \"min\": 2.0, \"max\": 5.3, \"step\": 0.5, \"group\": 'Ports', \"label\": 'Port bore diameter (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 9.1, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462caa17_3683", "family": "compound", "tier": 1, "seed": 1177332247, "symmetry": "none", "op_count": 2, "ir_hash": "52d7ad6fa1ec6faa", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 320000.0, "surface_area": 29700.0, "principal_moments": [230000000.0, 244000000.0, 334000000.0], "n_faces": 12, "n_edges": 27, "n_vertices": 18}, "dimensions": {"lines": ["Rectangular body, 77.96 \u00d7 78.6 \u00d7 51.5 mm (W\u00d7D\u00d7H).", "5-sided polygon section, 16.8 mm across corners attachment, 25.8 mm long, from front face."], "text": "Rectangular body, 77.96 \u00d7 78.6 \u00d7 51.5 mm (W\u00d7D\u00d7H). 5-sided polygon section, 16.8 mm across corners attachment, 25.8 mm long, from front face."}, "params": {"block_w": {"type": "float", "default": 77.96, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 78.6, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 51.5, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "spig_sides": {"type": "int", "default": 5, "min": 3, "max": 8, "step": 1, "group": "Spigot", "label": "Spigot sides"}, "spig_r": {"type": "float", "default": 8.4, "min": 4.2, "max": 18.0, "step": 1.0, "group": "Spigot", "label": "Spigot circumradius (mm)"}, "spig_len": {"type": "float", "default": 25.8, "min": 4.1, "max": 54.4, "step": 1.0, "group": "Spigot", "label": "Spigot length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332247 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 77.96, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 78.6, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 51.5, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"spig_sides\": {\"type\": 'int', \"default\": 5, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Spigot', \"label\": 'Spigot sides'},\n    \"spig_r\": {\"type\": 'float', \"default\": 8.4, \"min\": 4.2, \"max\": 18.0, \"step\": 1.0, \"group\": 'Spigot', \"label\": 'Spigot circumradius (mm)'},\n    \"spig_len\": {\"type\": 'float', \"default\": 25.8, \"min\": 4.1, \"max\": 54.4, \"step\": 1.0, \"group\": 'Spigot', \"label\": 'Spigot length (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"spig_sides\"], p[\"spig_r\"] * 2).extrude(p[\"spig_len\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462caa18_3684", "family": "swept", "tier": 2, "seed": 1177332248, "symmetry": "none", "op_count": 1, "ir_hash": "392cf5fe2cb86e67", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 6530.0, "surface_area": 3420.0, "principal_moments": [307000.0, 4460000.0, 4690000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["9.4 \u00d7 8.3 mm rectangular section swept along a curved path, ~80 mm span."], "text": "9.4 \u00d7 8.3 mm rectangular section swept along a curved path, ~80 mm span."}, "params": {"path_w": {"type": "float", "default": 58.09, "min": 29.0, "max": 104.6, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 80, "min": 40.0, "max": 144.0, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_a": {"type": "float", "default": 9.4, "min": 4.7, "max": 16.9, "step": 1.0, "group": "Section", "label": "Section width (mm)"}, "sweep_b": {"type": "float", "default": 8.3, "min": 4.2, "max": 14.9, "step": 1.0, "group": "Section", "label": "Section depth (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332248 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 58.09, \"min\": 29.0, \"max\": 104.6, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 80, \"min\": 40.0, \"max\": 144.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_a\": {\"type\": 'float', \"default\": 9.4, \"min\": 4.7, \"max\": 16.9, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section width (mm)'},\n    \"sweep_b\": {\"type\": 'float', \"default\": 8.3, \"min\": 4.2, \"max\": 14.9, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section depth (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.0679, p[\"path_h\"] * 0.5386), (p[\"path_w\"] * 0.506, p[\"path_h\"] * 0.7683), (p[\"path_w\"] * 0.5263, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').rect(p[\"sweep_a\"], p[\"sweep_b\"]).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462caa19_3685", "family": "revolved", "tier": 1, "seed": 1177332249, "symmetry": "radial", "op_count": 2, "ir_hash": "d555cb729fd32adb", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 355000.0, "surface_area": 55000.0, "principal_moments": [161000000.0, 1310000000.0, 1310000000.0], "n_faces": 8, "n_edges": 14, "n_vertices": 8}, "dimensions": {"lines": ["Revolved body, \u00d854.01 mm \u00d7 204 mm tall with \u00d826.5 mm bore.", "Chamfer 0.4 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d854.01 mm \u00d7 204 mm tall with \u00d826.5 mm bore. Chamfer 0.4 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 54.01, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 204.0, "min": 61.2, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 26.5, "min": 2.0, "max": 37.8, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "end_chamfer": {"type": "float", "default": 0.4, "min": 0.1, "max": 1.2, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332249 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 54.01, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 204.0, \"min\": 61.2, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 26.5, \"min\": 2.0, \"max\": 37.8, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.4, \"min\": 0.1, \"max\": 1.2, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462caa1a_3686", "family": "lofted", "tier": 1, "seed": 1177332250, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "285d1f63efb86527", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 167000.0, "surface_area": 26600.0, "principal_moments": [102000000.0, 122000000.0, 123000000.0], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["Lofted body through 2 sections: 65 \u00d7 65 mm rectangular section \u2192 6-sided polygon section, 50.3 mm across corners.", "One \u00d828.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 2 sections: 65 \u00d7 65 mm rectangular section \u2192 6-sided polygon section, 50.3 mm across corners. One \u00d828.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 65, "min": 32.5, "max": 104.0, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 50.3, "min": 20.1, "max": 78.0, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 75.4, "min": 30.2, "max": 150.8, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_bore_d": {"type": "float", "default": 28.3, "min": 2.0, "max": 40.2, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332250 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 65, \"min\": 32.5, \"max\": 104.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 50.3, \"min\": 20.1, \"max\": 78.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 75.4, \"min\": 30.2, \"max\": 150.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 28.3, \"min\": 2.0, \"max\": 40.2, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .rect(p[\"loft_base\"], p[\"loft_base\"])\n        .workplane(offset=p[\"loft_h\"])\n        .polygon(6, p[\"loft_top\"] * 0.5 * 2)\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462caa1b_3687", "family": "compound", "tier": 3, "seed": 1177332251, "symmetry": "none", "op_count": 3, "ir_hash": "28ae5f4ae18ef35a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 63500.0, "surface_area": 10700.0, "principal_moments": [14499999.999999998, 27499999.999999996, 27499999.999999996], "n_faces": 20, "n_edges": 51, "n_vertices": 34}, "dimensions": {"lines": ["8-sided polygon section, 51.24 mm across corners, extruded 24.2 mm thick.", "\u00d823.3 mm circular section attachment, 43.6 mm long, from top face.", "Fillet radius 3.006 mm on vertical edges."], "text": "8-sided polygon section, 51.24 mm across corners, extruded 24.2 mm thick. \u00d823.3 mm circular section attachment, 43.6 mm long, from top face. Fillet radius 3.006 mm on vertical edges."}, "params": {"base_sides": {"type": "int", "default": 8, "min": 3, "max": 8, "step": 1, "group": "Base", "label": "Base sides"}, "base_r": {"type": "float", "default": 25.62, "min": 15.4, "max": 41.0, "step": 1.0, "group": "Base", "label": "Base circumradius (mm)"}, "base_h": {"type": "float", "default": 24.2, "min": 9.7, "max": 60.5, "step": 1.0, "group": "Base", "label": "Base height (mm)"}, "col_d": {"type": "float", "default": 23.3, "min": 11.7, "max": 37.9, "step": 1.0, "group": "Column", "label": "Column diameter (mm)"}, "col_h": {"type": "float", "default": 43.6, "min": 13.1, "max": 109.0, "step": 1.0, "group": "Column", "label": "Column height (mm)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332251 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_sides\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Base', \"label\": 'Base sides'},\n    \"base_r\": {\"type\": 'float', \"default\": 25.62, \"min\": 15.4, \"max\": 41.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base circumradius (mm)'},\n    \"base_h\": {\"type\": 'float', \"default\": 24.2, \"min\": 9.7, \"max\": 60.5, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base height (mm)'},\n    \"col_d\": {\"type\": 'float', \"default\": 23.3, \"min\": 11.7, \"max\": 37.9, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column diameter (mm)'},\n    \"col_h\": {\"type\": 'float', \"default\": 43.6, \"min\": 13.1, \"max\": 109.0, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column height (mm)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').polygon(p[\"base_sides\"], p[\"base_r\"] * 2).extrude(p[\"base_h\"]))\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"col_d\"] / 2).extrude(p[\"col_h\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"base_r\"], p[\"base_r\"]) * 0.11731162667068479)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462caa1c_3688", "family": "tapped", "tier": 0, "seed": 1177332252, "symmetry": "none", "op_count": 1, "ir_hash": "868d0b30e8871744", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 46700.0, "surface_area": 9750.0, "principal_moments": [11699999.999999998, 11699999.999999998, 20500000.0], "n_faces": 131, "n_edges": 365, "n_vertices": 236}, "dimensions": {"lines": ["One M12x1.75 tapped hole in a plate."], "text": "One M12x1.75 tapped hole in a plate."}, "params": {"major_d": {"type": "float", "default": 12.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 1.75, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 19.2, "min": 14.4, "max": 34.6, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "plate_w": {"type": "float", "default": 50.3, "min": 30.2, "max": 80.5, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 50.3, "min": 30.2, "max": 80.5, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332252 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 12.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.75, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 19.2, \"min\": 14.4, \"max\": 34.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"plate_w\": {\"type\": 'float', \"default\": 50.3, \"min\": 30.2, \"max\": 80.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 50.3, \"min\": 30.2, \"max\": 80.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n}\n\n\ndef build(p):\n\n    _W, _D, _H = p[\"plate_w\"], p[\"plate_d\"], p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Box(_W, _D, _H)\n    _locs = [(0.0, 0.0)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462caa1d_3689", "family": "revolved", "tier": 1, "seed": 1177332253, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "674125f70b057f0f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 407.0, "surface_area": 618.0, "principal_moments": [5830.0, 5830.0, 8810.0], "n_faces": 10, "n_edges": 17, "n_vertices": 10}, "dimensions": {"lines": ["Revolved body, \u00d810.28 mm \u00d7 6.2 mm tall with \u00d85.8 mm bore, \u00d815.7 mm \u00d7 0.7 mm flange.", "Chamfer 0.6 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d810.28 mm \u00d7 6.2 mm tall with \u00d85.8 mm bore, \u00d815.7 mm \u00d7 0.7 mm flange. Chamfer 0.6 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 10.28, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 6.2, "min": 1.9, "max": 18.6, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 5.8, "min": 2.0, "max": 7.2, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 15.7, "min": 12.3, "max": 30.8, "step": 1.0, "group": "Body", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 0.7, "min": 0.2, "max": 3.1, "step": 0.5, "group": "Body", "label": "Flange height (mm)"}, "end_chamfer": {"type": "float", "default": 0.6, "min": 0.1, "max": 1.8, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332253 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 10.28, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 6.2, \"min\": 1.9, \"max\": 18.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 5.8, \"min\": 2.0, \"max\": 7.2, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 15.7, \"min\": 12.3, \"max\": 30.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 0.7, \"min\": 0.2, \"max\": 3.1, \"step\": 0.5, \"group\": 'Body', \"label\": 'Flange height (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.6, \"min\": 0.1, \"max\": 1.8, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462caa1e_3690", "family": "flanged", "tier": 1, "seed": 1177332254, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "654cf7c3ecafbf37", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 686000.0, "surface_area": 89100.0, "principal_moments": [1310000000.0, 1370000000.0, 1370000000.0], "n_faces": 10, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["Revolved body, \u00d891.07 mm \u00d7 101.6 mm tall with \u00d836.9 mm bore, \u00d8174.9 mm \u00d7 7.6 mm flange.", "Four \u00d84.3 mm holes on a \u00d8105 mm bolt circle."], "text": "Revolved body, \u00d891.07 mm \u00d7 101.6 mm tall with \u00d836.9 mm bore, \u00d8174.9 mm \u00d7 7.6 mm flange. Four \u00d84.3 mm holes on a \u00d8105 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 91.07, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 101.6, "min": 30.5, "max": 254.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 36.9, "min": 2.0, "max": 63.7, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 174.9, "min": 118.4, "max": 273.2, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 7.6, "min": 2.3, "max": 40.6, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 52.5, "min": 35.0, "max": 78.7, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 4, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332254 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 91.07, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 101.6, \"min\": 30.5, \"max\": 254.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 36.9, \"min\": 2.0, \"max\": 63.7, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 174.9, \"min\": 118.4, \"max\": 273.2, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 7.6, \"min\": 2.3, \"max\": 40.6, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 52.5, \"min\": 35.0, \"max\": 78.7, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 4, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462caa1f_3691", "family": "revolved", "tier": 1, "seed": 1177332255, "symmetry": "radial", "op_count": 2, "ir_hash": "dd4533c50e3bab9a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 10500.0, "surface_area": 3860.0, "principal_moments": [1550000.0, 1550000.0, 2950000.0], "n_faces": 8, "n_edges": 14, "n_vertices": 8}, "dimensions": {"lines": ["Revolved body, \u00d842.89 mm \u00d7 9.7 mm tall with \u00d820.4 mm bore.", "Chamfer 1.3 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d842.89 mm \u00d7 9.7 mm tall with \u00d820.4 mm bore. Chamfer 1.3 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 42.89, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 9.7, "min": 2.9, "max": 29.1, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 20.4, "min": 2.0, "max": 30.0, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "end_chamfer": {"type": "float", "default": 1.3, "min": 0.1, "max": 3.9, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332255 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 42.89, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 9.7, \"min\": 2.9, \"max\": 29.1, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 20.4, \"min\": 2.0, \"max\": 30.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 1.3, \"min\": 0.1, \"max\": 3.9, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462caa20_3692", "family": "profiled", "tier": 0, "seed": 1177332256, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "997e650077ebfbda", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 53800.0, "surface_area": 10100.0, "principal_moments": [4440000.0, 55999999.99999999, 57199999.99999999], "n_faces": 8, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["freeform sketched section (6 segments: 1 straight, 2 arcs, 3 curves), ~29.722 \u00d7 23.324 mm, extruded 110.1 mm thick."], "text": "freeform sketched section (6 segments: 1 straight, 2 arcs, 3 curves), ~29.722 \u00d7 23.324 mm, extruded 110.1 mm thick."}, "params": {"sk_w": {"type": "float", "default": 37.78, "min": 18.9, "max": 68.0, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 29.72, "min": 14.9, "max": 53.5, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "length": {"type": "float", "default": 110.1, "min": 33.0, "max": 330.3, "step": 5.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332256 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 37.78, \"min\": 18.9, \"max\": 68.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 29.72, \"min\": 14.9, \"max\": 53.5, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 110.1, \"min\": 33.0, \"max\": 330.3, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.4066, p[\"sk_h\"] * 0.1526).spline([(p[\"sk_w\"] * 0.4066, p[\"sk_h\"] * 0.1526), (p[\"sk_w\"] * 0.248, p[\"sk_h\"] * 0.2678), (p[\"sk_w\"] * 0.0627, p[\"sk_h\"] * 0.3317)]).lineTo(p[\"sk_w\"] * -0.2812, p[\"sk_h\"] * 0.2672).threePointArc((p[\"sk_w\"] * -0.3582, p[\"sk_h\"] * 0.1103), (p[\"sk_w\"] * -0.3801, p[\"sk_h\"] * -0.0669)).threePointArc((p[\"sk_w\"] * -0.3222, p[\"sk_h\"] * -0.2093), (p[\"sk_w\"] * -0.1768, p[\"sk_h\"] * -0.2911)).bezier([(p[\"sk_w\"] * -0.1768, p[\"sk_h\"] * -0.2911), (p[\"sk_w\"] * -0.0232, p[\"sk_h\"] * -0.4071), (p[\"sk_w\"] * 0.1638, p[\"sk_h\"] * -0.4531)]).bezier([(p[\"sk_w\"] * 0.1638, p[\"sk_h\"] * -0.4531), (p[\"sk_w\"] * 0.3245, p[\"sk_h\"] * -0.166), (p[\"sk_w\"] * 0.4066, p[\"sk_h\"] * 0.1526)]).close().extrude(p[\"length\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462caa21_3693", "family": "revolved", "tier": 1, "seed": 1177332257, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "78d257eca3152c89", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 751000.0, "surface_area": 92600.0, "principal_moments": [1570000000.0, 1670000000.0, 1670000000.0], "n_faces": 7, "n_edges": 11, "n_vertices": 7}, "dimensions": {"lines": ["Revolved body, \u00d880 mm \u00d7 140.6 mm tall with \u00d8159.6 mm \u00d7 18.7 mm flange.", "Chamfer 1.1 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d880 mm \u00d7 140.6 mm tall with \u00d8159.6 mm \u00d7 18.7 mm flange. Chamfer 1.1 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 80.0, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 140.6, "min": 42.2, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "flange_d": {"type": "float", "default": 159.6, "min": 96.0, "max": 240.0, "step": 1.0, "group": "Body", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 18.7, "min": 5.6, "max": 70.3, "step": 0.5, "group": "Body", "label": "Flange height (mm)"}, "end_chamfer": {"type": "float", "default": 1.1, "min": 0.1, "max": 3.3, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332257 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 80.0, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 140.6, \"min\": 42.2, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 159.6, \"min\": 96.0, \"max\": 240.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 18.7, \"min\": 5.6, \"max\": 70.3, \"step\": 0.5, \"group\": 'Body', \"label\": 'Flange height (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 1.1, \"min\": 0.1, \"max\": 3.3, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462caa22_3694", "family": "bracket", "tier": 1, "seed": 1177332258, "symmetry": "none", "op_count": 1, "ir_hash": "1a264da68ca8c988", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 20700.0, "surface_area": 15000.0, "principal_moments": [8520000.0, 18400000.0, 19600000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["L-bracket: base leg 63.97 mm, vertical leg 69.4 mm, 53.06 mm wide, 3 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."], "text": "L-bracket: base leg 63.97 mm, vertical leg 69.4 mm, 53.06 mm wide, 3 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 63.97, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 69.4, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 53.06, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 3.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332258 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 63.97, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 69.4, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 53.06, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462caa24_3696", "family": "tapped", "tier": 1, "seed": 1177332260, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "2a1c6a3f49a9117e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 5940.0, "surface_area": 2630.0, "principal_moments": [364000.0, 364000.0, 476000.0], "n_faces": 91, "n_edges": 317, "n_vertices": 228}, "dimensions": {"lines": ["One M10x1.5 tapped hole in a cylinder."], "text": "One M10x1.5 tapped hole in a cylinder."}, "params": {"major_d": {"type": "float", "default": 10.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 1.5, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 16.0, "min": 12.0, "max": 28.8, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "body_d": {"type": "float", "default": 23.6, "min": 18.0, "max": 37.8, "step": 1.0, "group": "Body", "label": "Outer \u00d8 (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332260 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 10.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.5, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 16.0, \"min\": 12.0, \"max\": 28.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"body_d\": {\"type\": 'float', \"default\": 23.6, \"min\": 18.0, \"max\": 37.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer \u00d8 (mm)'},\n}\n\n\ndef build(p):\n\n    _W = _D = p[\"body_d\"]\n    _H = p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Cylinder(radius=_W / 2, height=_H)\n    _locs = [(0.0, 0.0)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462caa25_3697", "family": "block", "tier": 1, "seed": 1177332261, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "d42d7142c4758ef2", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 64900.0, "surface_area": 18200.0, "principal_moments": [11899999.999999998, 34800000.0, 41900000.0], "n_faces": 22, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 43.22 \u00d7 21.9 \u00d7 77.4 mm (W\u00d7D\u00d7H).", "Four 5.2 mm square holes at the corners, 30.254 \u00d7 15.33 mm spacing."], "text": "Rectangular body, 43.22 \u00d7 21.9 \u00d7 77.4 mm (W\u00d7D\u00d7H). Four 5.2 mm square holes at the corners, 30.254 \u00d7 15.33 mm spacing."}, "params": {"block_w": {"type": "float", "default": 43.22, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 21.9, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 77.4, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 5.2, "min": 2.0, "max": 6.4, "step": 0.5, "group": "Holes", "label": "Square hole size (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332261 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 43.22, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 21.9, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 77.4, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.2, \"min\": 2.0, \"max\": 6.4, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Square hole size (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().rect(p[\"hole_d\"], p[\"hole_d\"]).cutThruAll()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462caa26_3698", "family": "ribbed", "tier": 1, "seed": 1177332262, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "87801245bc9437ff", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 31400.0, "surface_area": 19800.0, "principal_moments": [17600000.0, 29199999.999999996, 46299999.99999999], "n_faces": 16, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 95 \u00d7 83.1 \u00d7 3 mm (W\u00d7D\u00d7H).", "Two ribs, 5.7 mm thick, 8.9 mm tall."], "text": "Rectangular body, 95 \u00d7 83.1 \u00d7 3 mm (W\u00d7D\u00d7H). Two ribs, 5.7 mm thick, 8.9 mm tall."}, "params": {"base_w": {"type": "float", "default": 95, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 83.1, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 3.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 2, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 8.9, "min": 3.6, "max": 17.8, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 5.7, "min": 1.0, "max": 14.2, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332262 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 95, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 83.1, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 2, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 8.9, \"min\": 3.6, \"max\": 17.8, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 5.7, \"min\": 1.0, \"max\": 14.2, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462caa27_3699", "family": "bracket", "tier": 1, "seed": 1177332263, "symmetry": "none", "op_count": 1, "ir_hash": "fe6b79416bc0cb85", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 20700.0, "surface_area": 12000.0, "principal_moments": [6200000.0, 23099999.999999996, 24999999.999999996], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["L-bracket: base leg 90 mm, vertical leg 63.1 mm, 35.08 mm wide, 4 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."], "text": "L-bracket: base leg 90 mm, vertical leg 63.1 mm, 35.08 mm wide, 4 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 90.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 63.1, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 35.08, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 4.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332263 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 90.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 63.1, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 35.08, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462caa28_3700", "family": "bracket", "tier": 2, "seed": 1177332264, "symmetry": "none", "op_count": 1, "ir_hash": "f3291444f610ff31", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 25800.0, "surface_area": 14300.0, "principal_moments": [7660000.0, 16399999.999999998, 21600000.0], "n_faces": 18, "n_edges": 48, "n_vertices": 32}, "dimensions": {"lines": ["Z-bracket: base leg 45 mm, vertical leg 33.7 mm, top leg 45 mm, 55 mm wide, 4 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 4.3 mm corner gusset."], "text": "Z-bracket: base leg 45 mm, vertical leg 33.7 mm, top leg 45 mm, 55 mm wide, 4 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 4.3 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 45, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 33.7, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 55, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 4.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 45.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}, "gusset_t": {"type": "float", "default": 4.3, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332264 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 45, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 33.7, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 55, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 45.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _tl, _vl) * 0.4 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(0, _vl - _bt).lineTo(-_g, _vl - _bt)\n                    .lineTo(0, _vl - _bt - _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462caa29_3701", "family": "compound", "tier": 2, "seed": 1177332265, "symmetry": "none", "op_count": 4, "ir_hash": "5e40d723ad638dd9", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 129000.0, "surface_area": 18000.0, "principal_moments": [50199999.99999999, 56199999.99999999, 62999999.99999999], "n_faces": 22, "n_edges": 66, "n_vertices": 44}, "dimensions": {"lines": ["Rectangular body, 45 \u00d7 51.1 \u00d7 57.3 mm (W\u00d7D\u00d7H).", "31.2 \u00d7 34 mm rectangular section attachment, 3 mm long, from left face.", "Four \u00d83.2 mm holes at the corners, 18.72 \u00d7 20.4 mm spacing on the <X face.", "Pocket 22.1 \u00d7 29.3 mm, 18.4 mm deep, in top face."], "text": "Rectangular body, 45 \u00d7 51.1 \u00d7 57.3 mm (W\u00d7D\u00d7H). 31.2 \u00d7 34 mm rectangular section attachment, 3 mm long, from left face. Four \u00d83.2 mm holes at the corners, 18.72 \u00d7 20.4 mm spacing on the <X face. Pocket 22.1 \u00d7 29.3 mm, 18.4 mm deep, in top face."}, "params": {"block_w": {"type": "float", "default": 45, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 51.1, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 57.3, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "tab_a": {"type": "float", "default": 31.2, "min": 12.5, "max": 49.9, "step": 1.0, "group": "Tab", "label": "Tab width (mm)"}, "tab_b": {"type": "float", "default": 34.0, "min": 13.6, "max": 54.4, "step": 1.0, "group": "Tab", "label": "Tab height (mm)"}, "tab_t": {"type": "float", "default": 3.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Tab", "label": "Tab thickness (mm)"}, "tab_hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 6.9, "step": 0.1, "group": "Tab", "label": "Tab hole diameter (mm)"}, "pocket_w": {"type": "float", "default": 22.1, "min": 11.1, "max": 36.0, "step": 1.0, "group": "Pocket", "label": "Pocket width (mm)"}, "pocket_d": {"type": "float", "default": 29.3, "min": 14.7, "max": 40.9, "step": 1.0, "group": "Pocket", "label": "Pocket depth (mm)"}, "pocket_h": {"type": "float", "default": 18.4, "min": 7.4, "max": 48.7, "step": 0.5, "group": "Pocket", "label": "Pocket height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332265 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 45, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 51.1, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 57.3, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"tab_a\": {\"type\": 'float', \"default\": 31.2, \"min\": 12.5, \"max\": 49.9, \"step\": 1.0, \"group\": 'Tab', \"label\": 'Tab width (mm)'},\n    \"tab_b\": {\"type\": 'float', \"default\": 34.0, \"min\": 13.6, \"max\": 54.4, \"step\": 1.0, \"group\": 'Tab', \"label\": 'Tab height (mm)'},\n    \"tab_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Tab', \"label\": 'Tab thickness (mm)'},\n    \"tab_hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 6.9, \"step\": 0.1, \"group\": 'Tab', \"label\": 'Tab hole diameter (mm)'},\n    \"pocket_w\": {\"type\": 'float', \"default\": 22.1, \"min\": 11.1, \"max\": 36.0, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket width (mm)'},\n    \"pocket_d\": {\"type\": 'float', \"default\": 29.3, \"min\": 14.7, \"max\": 40.9, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket depth (mm)'},\n    \"pocket_h\": {\"type\": 'float', \"default\": 18.4, \"min\": 7.4, \"max\": 48.7, \"step\": 0.5, \"group\": 'Pocket', \"label\": 'Pocket height (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .rect(p[\"tab_a\"], p[\"tab_b\"]).extrude(p[\"tab_t\"])\n    )\n    result = (\n        result.faces('<X').workplane()\n        .rect(p[\"tab_a\"] * 0.6, p[\"tab_b\"] * 0.6, forConstruction=True)\n        .vertices().hole(p[\"tab_hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"pocket_w\"], p[\"pocket_d\"])\n        .cutBlind(-p[\"pocket_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462caa2b_3703", "family": "bracket", "tier": 1, "seed": 1177332267, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "e3f0c88db6f17fb1", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 27700.0, "surface_area": 11200.0, "principal_moments": [7370000.0, 9960000.0, 14299999.999999998], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["C-channel bracket: base leg 40 mm, vertical leg 25 mm, 60 mm wide, 6 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."], "text": "C-channel bracket: base leg 40 mm, vertical leg 25 mm, 60 mm wide, 6 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 40, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 25.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 60.0, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 6.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332267 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 40, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 25.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 60.0, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462caa2c_3704", "family": "tapped", "tier": 1, "seed": 1177332268, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "28cf186c830fbb05", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 18900.0, "surface_area": 5230.0, "principal_moments": [2350000.0, 2350000.0, 3540000.0], "n_faces": 128, "n_edges": 356, "n_vertices": 230}, "dimensions": {"lines": ["One M12x1.75 tapped hole in a cylinder."], "text": "One M12x1.75 tapped hole in a cylinder."}, "params": {"major_d": {"type": "float", "default": 12.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 1.75, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 19.2, "min": 14.4, "max": 34.6, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "body_d": {"type": "float", "default": 37.1, "min": 21.6, "max": 59.4, "step": 1.0, "group": "Body", "label": "Outer \u00d8 (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332268 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 12.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.75, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 19.2, \"min\": 14.4, \"max\": 34.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"body_d\": {\"type\": 'float', \"default\": 37.1, \"min\": 21.6, \"max\": 59.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer \u00d8 (mm)'},\n}\n\n\ndef build(p):\n\n    _W = _D = p[\"body_d\"]\n    _H = p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Cylinder(radius=_W / 2, height=_H)\n    _locs = [(0.0, 0.0)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462caa2d_3705", "family": "gear", "tier": 0, "seed": 1177332269, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "8e59ea7bf996eb55", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 64700.0, "surface_area": 20900.0, "principal_moments": [40900000.0, 40900000.0, 81000000.0], "n_faces": 162, "n_edges": 480, "n_vertices": 320}, "dimensions": {"lines": ["Spur gear, module 2.5 mm, 40 teeth (pitch \u00d8100 mm), face width 8.3 mm."], "text": "Spur gear, module 2.5 mm, 40 teeth (pitch \u00d8100 mm), face width 8.3 mm."}, "params": {"module": {"type": "float", "default": 2.5, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 40, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 8.3, "min": 3.3, "max": 20.8, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332269 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 2.5, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 40, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 8.3, \"min\": 3.3, \"max\": 20.8, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462caa2e_3706", "family": "block", "tier": 1, "seed": 1177332270, "symmetry": "radial", "op_count": 2, "ir_hash": "da4fd85b0298ab93", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 715000.0, "surface_area": 73400.0, "principal_moments": [942000000.0, 947000000.0, 1190000000.0], "n_faces": 18, "n_edges": 48, "n_vertices": 32}, "dimensions": {"lines": ["Rectangular body, 98.36 \u00d7 76.6 \u00d7 100 mm (W\u00d7D\u00d7H).", "Twelve \u00d86.4 mm holes on a \u00d859 mm bolt circle."], "text": "Rectangular body, 98.36 \u00d7 76.6 \u00d7 100 mm (W\u00d7D\u00d7H). Twelve \u00d86.4 mm holes on a \u00d859 mm bolt circle."}, "params": {"block_w": {"type": "float", "default": 98.36, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 76.6, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 100.0, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "bolt_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 29.5, "min": 19.7, "max": 44.3, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 12, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332270 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 98.36, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 76.6, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 100.0, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 29.5, \"min\": 19.7, \"max\": 44.3, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 12, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462caa2f_3707", "family": "revolved", "tier": 1, "seed": 1177332271, "symmetry": "none", "op_count": 2, "ir_hash": "6a7e0337d0ec94ac", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 778000.0, "surface_area": 69700.0, "principal_moments": [694000000.0, 2460000000.0, 2460000000.0], "n_faces": 8, "n_edges": 14, "n_vertices": 8}, "dimensions": {"lines": ["Revolved body, \u00d879.44 mm \u00d7 180.7 mm tall with \u00d828.7 mm bore.", "Chamfer 0.9 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d879.44 mm \u00d7 180.7 mm tall with \u00d828.7 mm bore. Chamfer 0.9 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 79.44, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 180.7, "min": 54.2, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 28.7, "min": 2.0, "max": 55.6, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "end_chamfer": {"type": "float", "default": 0.9, "min": 0.1, "max": 2.7, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332271 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 79.44, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 180.7, \"min\": 54.2, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 28.7, \"min\": 2.0, \"max\": 55.6, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.9, \"min\": 0.1, \"max\": 2.7, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462caa30_3708", "family": "block", "tier": 1, "seed": 1177332272, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "1696684375e8c0bb", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 461000.0, "surface_area": 40600.0, "principal_moments": [362000000.0, 531000000.0, 600000000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 75 \u00d7 61.9 \u00d7 100 mm (W\u00d7D\u00d7H).", "Four \u00d83.2 mm holes at the corners, 52.5 \u00d7 43.33 mm spacing."], "text": "Rectangular body, 75 \u00d7 61.9 \u00d7 100 mm (W\u00d7D\u00d7H). Four \u00d83.2 mm holes at the corners, 52.5 \u00d7 43.33 mm spacing."}, "params": {"block_w": {"type": "float", "default": 75, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 61.9, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 100.0, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332272 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 75, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 61.9, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 100.0, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462caa31_3709", "family": "profiled", "tier": 2, "seed": 1177332273, "symmetry": "none", "op_count": 1, "ir_hash": "64bd1c711fec728f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 194000.0, "surface_area": 30800.0, "principal_moments": [22100000.0, 1460000000.0, 1470000000.0], "n_faces": 7, "n_edges": 15, "n_vertices": 10}, "dimensions": {"lines": ["freeform sketched section (5 segments: 2 straight, 2 arcs, 1 curve), ~34.915 \u00d7 24.573 mm, extruded 300 mm thick."], "text": "freeform sketched section (5 segments: 2 straight, 2 arcs, 1 curve), ~34.915 \u00d7 24.573 mm, extruded 300 mm thick."}, "params": {"sk_w": {"type": "float", "default": 50, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 33.88, "min": 16.9, "max": 61.0, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "length": {"type": "float", "default": 300.0, "min": 90.0, "max": 900.0, "step": 5.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332273 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 50, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 33.88, \"min\": 16.9, \"max\": 61.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 300.0, \"min\": 90.0, \"max\": 900.0, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.3924, p[\"sk_h\"] * -0.1486).bezier([(p[\"sk_w\"] * 0.3924, p[\"sk_h\"] * -0.1486), (p[\"sk_w\"] * 0.3316, p[\"sk_h\"] * 0.1448), (p[\"sk_w\"] * 0.2061, p[\"sk_h\"] * 0.4168)]).threePointArc((p[\"sk_w\"] * -0.0471, p[\"sk_h\"] * 0.3622), (p[\"sk_w\"] * -0.2848, p[\"sk_h\"] * 0.2433)).lineTo(p[\"sk_w\"] * -0.3059, p[\"sk_h\"] * -0.195).lineTo(p[\"sk_w\"] * 0.1902, p[\"sk_h\"] * -0.3085).threePointArc((p[\"sk_w\"] * 0.3132, p[\"sk_h\"] * -0.2485), (p[\"sk_w\"] * 0.3924, p[\"sk_h\"] * -0.1486)).close().extrude(p[\"length\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462caa32_3710", "family": "gear", "tier": 0, "seed": 1177332274, "symmetry": "none", "op_count": 1, "ir_hash": "c418b996d4cc1b69", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 375000.0, "surface_area": 45900.0, "principal_moments": [334000000.0, 334000000.0, 559000000.0], "n_faces": 110, "n_edges": 324, "n_vertices": 216}, "dimensions": {"lines": ["Spur gear, module 6 mm, 18 teeth (pitch \u00d8108 mm), face width 41.8 mm."], "text": "Spur gear, module 6 mm, 18 teeth (pitch \u00d8108 mm), face width 41.8 mm."}, "params": {"module": {"type": "float", "default": 6.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 18, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 41.8, "min": 16.7, "max": 104.5, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332274 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 6.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 18, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 41.8, \"min\": 16.7, \"max\": 104.5, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462caa33_3711", "family": "compound", "tier": 1, "seed": 1177332275, "symmetry": "mirror_xy", "op_count": 3, "ir_hash": "cb3fd5104a7a81d9", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 72700.0, "surface_area": 11200.0, "principal_moments": [20400000.0, 21000000.0, 22400000.0], "n_faces": 13, "n_edges": 26, "n_vertices": 17}, "dimensions": {"lines": ["Rectangular body, 43.49 \u00d7 42.1 \u00d7 39.7 mm (W\u00d7D\u00d7H).", "\u00d87.6 mm circular section attachment, 5 mm long, from front face with a \u00d83.2 mm bore.", "\u00d87.6 mm circular section attachment, 5 mm long, from back face with a \u00d83.2 mm bore."], "text": "Rectangular body, 43.49 \u00d7 42.1 \u00d7 39.7 mm (W\u00d7D\u00d7H). \u00d87.6 mm circular section attachment, 5 mm long, from front face with a \u00d83.2 mm bore. \u00d87.6 mm circular section attachment, 5 mm long, from back face with a \u00d83.2 mm bore."}, "params": {"block_w": {"type": "float", "default": 43.49, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body width (mm)"}, "block_d": {"type": "float", "default": 42.1, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body depth (mm)"}, "block_h": {"type": "float", "default": 39.7, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body height (mm)"}, "port_d": {"type": "float", "default": 7.6, "min": 3.0, "max": 17.9, "step": 1.0, "group": "Ports", "label": "Ports diameter (mm)"}, "port_len": {"type": "float", "default": 5.0, "min": 1.9, "max": 22.8, "step": 1.0, "group": "Ports", "label": "Port boss length (mm)"}, "port_bore": {"type": "float", "default": 3.2, "min": 2.0, "max": 5.5, "step": 0.5, "group": "Ports", "label": "Port bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332275 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 43.49, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 42.1, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 39.7, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body height (mm)'},\n    \"port_d\": {\"type\": 'float', \"default\": 7.6, \"min\": 3.0, \"max\": 17.9, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Ports diameter (mm)'},\n    \"port_len\": {\"type\": 'float', \"default\": 5.0, \"min\": 1.9, \"max\": 22.8, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Port boss length (mm)'},\n    \"port_bore\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 5.5, \"step\": 0.5, \"group\": 'Ports', \"label\": 'Port bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462caa34_3712", "family": "block", "tier": 1, "seed": 1177332276, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "e964bebbdc175fde", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 417000.0, "surface_area": 43000.0, "principal_moments": [394000000.0, 409000000.0, 672000000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 100 \u00d7 43.7 \u00d7 97.3 mm (W\u00d7D\u00d7H).", "Four \u00d85.3 mm holes at the corners, 70 \u00d7 30.59 mm spacing."], "text": "Rectangular body, 100 \u00d7 43.7 \u00d7 97.3 mm (W\u00d7D\u00d7H). Four \u00d85.3 mm holes at the corners, 70 \u00d7 30.59 mm spacing."}, "params": {"block_w": {"type": "float", "default": 100.0, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 43.7, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 97.3, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 9.8, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332276 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 100.0, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 43.7, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 97.3, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 9.8, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462caa35_3713", "family": "threaded", "tier": 2, "seed": 1177332277, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "6d4ab1fc7cfb8a83", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 3510.0, "surface_area": 2420.0, "principal_moments": [51600.0, 491000.0, 491000.0], "n_faces": 140, "n_edges": 358, "n_vertices": 220}, "dimensions": {"lines": ["Tr 12x3 external thread, 40.5 mm long."], "text": "Tr 12x3 external thread, 40.5 mm long."}, "params": {"thread_size": {"type": "enum", "default": "12x3", "choices": ["8x1.5", "10x2", "12x3", "14x3", "16x4", "18x4", "20x4", "24x5", "28x5", "30x6", "36x6", "40x7"], "group": "Thread", "label": "Size designation"}, "thread_len": {"type": "float", "default": 40.5, "min": 16.2, "max": 81.0, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332277 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"thread_size\": {\"type\": 'enum', \"default\": '12x3', \"choices\": ['8x1.5', '10x2', '12x3', '14x3', '16x4', '18x4', '20x4', '24x5', '28x5', '30x6', '36x6', '40x7'], \"group\": 'Thread', \"label\": 'Size designation'},\n    \"thread_len\": {\"type\": 'float', \"default\": 40.5, \"min\": 16.2, \"max\": 81.0, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.MetricTrapezoidalThread(size=p[\"thread_size\"], length=p[\"thread_len\"], external=True, end_finishes=(\"fade\", \"fade\"))\n    _r = _thr.min_radius if hasattr(_thr, 'min_radius') else _thr.root_radius\n    _shank = _bd.Cylinder(radius=_r, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = _shank + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462caa36_3714", "family": "bracket", "tier": 2, "seed": 1177332278, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "f3ea2350025bf572", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 11100.0, "surface_area": 6520.0, "principal_moments": [1960000.0, 2420000.0, 3570000.0], "n_faces": 15, "n_edges": 41, "n_vertices": 26}, "dimensions": {"lines": ["L-bracket: base leg 30 mm, vertical leg 32.4 mm, 46.95 mm wide, 4 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg; 4 mm corner gusset."], "text": "L-bracket: base leg 30 mm, vertical leg 32.4 mm, 46.95 mm wide, 4 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg; 4 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 30, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 32.4, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 46.95, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 4.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 4.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332278 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 30, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 32.4, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 46.95, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462caa37_3715", "family": "block", "tier": 1, "seed": 1177332279, "symmetry": "none", "op_count": 2, "ir_hash": "7163897db042164b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 409000.0, "surface_area": 46800.0, "principal_moments": [287000000.0, 473000000.0, 495000000.0], "n_faces": 22, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 68.34 \u00d7 63.3 \u00d7 100 mm (W\u00d7D\u00d7H).", "Four 7.7 mm square holes at the corners, 47.838 \u00d7 44.31 mm spacing."], "text": "Rectangular body, 68.34 \u00d7 63.3 \u00d7 100 mm (W\u00d7D\u00d7H). Four 7.7 mm square holes at the corners, 47.838 \u00d7 44.31 mm spacing."}, "params": {"block_w": {"type": "float", "default": 68.34, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 63.3, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 100.0, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 7.7, "min": 2.0, "max": 16.9, "step": 0.5, "group": "Holes", "label": "Square hole size (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332279 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 68.34, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 63.3, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 100.0, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 7.7, \"min\": 2.0, \"max\": 16.9, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Square hole size (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().rect(p[\"hole_d\"], p[\"hole_d\"]).cutThruAll()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462caa38_3716", "family": "flanged", "tier": 2, "seed": 1177332280, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "e4ac71ed8af93d01", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 101000.0, "surface_area": 23900.0, "principal_moments": [55399999.99999999, 59799999.99999999, 59799999.99999999], "n_faces": 12, "n_edges": 27, "n_vertices": 18}, "dimensions": {"lines": ["Revolved body, \u00d842.94 mm \u00d7 56.4 mm tall with \u00d814.9 mm bore, \u00d890.3 mm \u00d7 6.2 mm flange.", "Six \u00d88.4 mm holes on a \u00d854.2 mm bolt circle."], "text": "Revolved body, \u00d842.94 mm \u00d7 56.4 mm tall with \u00d814.9 mm bore, \u00d890.3 mm \u00d7 6.2 mm flange. Six \u00d88.4 mm holes on a \u00d854.2 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 42.94, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 56.4, "min": 16.9, "max": 141.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 14.9, "min": 2.0, "max": 30.1, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 90.3, "min": 55.8, "max": 128.8, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 6.2, "min": 1.9, "max": 22.6, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 8.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 27.1, "min": 18.1, "max": 40.6, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 6, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332280 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 42.94, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 56.4, \"min\": 16.9, \"max\": 141.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 14.9, \"min\": 2.0, \"max\": 30.1, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 90.3, \"min\": 55.8, \"max\": 128.8, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 6.2, \"min\": 1.9, \"max\": 22.6, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 27.1, \"min\": 18.1, \"max\": 40.6, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462caa39_3717", "family": "bracket", "tier": 2, "seed": 1177332281, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "6e9ae5ff1687492e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 41200.0, "surface_area": 13600.0, "principal_moments": [9020000.0, 53899999.99999999, 57299999.99999999], "n_faces": 18, "n_edges": 48, "n_vertices": 32}, "dimensions": {"lines": ["Z-bracket: base leg 76.51 mm, vertical leg 61.9 mm, top leg 50.5 mm, 29.03 mm wide, 8 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 7.6 mm corner gusset."], "text": "Z-bracket: base leg 76.51 mm, vertical leg 61.9 mm, top leg 50.5 mm, 29.03 mm wide, 8 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 7.6 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 76.51, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 61.9, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 29.03, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 8.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 50.5, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}, "gusset_t": {"type": "float", "default": 7.6, "min": 4.0, "max": 14.5, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332281 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 76.51, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 61.9, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 29.03, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 50.5, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 7.6, \"min\": 4.0, \"max\": 14.5, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _tl, _vl) * 0.4 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(0, _vl - _bt).lineTo(-_g, _vl - _bt)\n                    .lineTo(0, _vl - _bt - _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462caa3a_3718", "family": "plate", "tier": 1, "seed": 1177332282, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "41a30c355f7f4efd", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 29700.0, "surface_area": 10400.0, "principal_moments": [3280000.0, 28299999.999999996, 31299999.999999996], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 107.44 \u00d7 35.8 \u00d7 8 mm (W\u00d7D\u00d7H).", "Four \u00d86.4 mm holes at the corners, 75.208 \u00d7 25.06 mm spacing."], "text": "Rectangular body, 107.44 \u00d7 35.8 \u00d7 8 mm (W\u00d7D\u00d7H). Four \u00d86.4 mm holes at the corners, 75.208 \u00d7 25.06 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 107.44, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 35.8, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 8.1, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332282 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 107.44, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 35.8, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 8.1, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462caa3b_3719", "family": "profiled", "tier": 2, "seed": 1177332283, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "e8bae0d94c5dcaf5", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 89100.0, "surface_area": 20100.0, "principal_moments": [7640000.0, 301000000.0, 301000000.0], "n_faces": 5, "n_edges": 9, "n_vertices": 6}, "dimensions": {"lines": ["3-sided polygon section, 37.04 mm across corners, extruded 200 mm thick."], "text": "3-sided polygon section, 37.04 mm across corners, extruded 200 mm thick."}, "params": {"circ_r": {"type": "float", "default": 18.52, "min": 9.3, "max": 37.0, "step": 1.0, "group": "Profile", "label": "Circumscribed radius (mm)"}, "n_sides": {"type": "int", "default": 3, "min": 3, "max": 8, "step": 1, "group": "Profile", "label": "Sides"}, "length": {"type": "float", "default": 200.0, "min": 60.0, "max": 600.0, "step": 5.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332283 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"circ_r\": {\"type\": 'float', \"default\": 18.52, \"min\": 9.3, \"max\": 37.0, \"step\": 1.0, \"group\": 'Profile', \"label\": 'Circumscribed radius (mm)'},\n    \"n_sides\": {\"type\": 'int', \"default\": 3, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Profile', \"label\": 'Sides'},\n    \"length\": {\"type\": 'float', \"default\": 200.0, \"min\": 60.0, \"max\": 600.0, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').polygon(p[\"n_sides\"], p[\"circ_r\"] * 2).extrude(p[\"length\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462caa3c_3720", "family": "block", "tier": 3, "seed": 1177332284, "symmetry": "none", "op_count": 6, "ir_hash": "a388c450da15efea", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 4890.0, "surface_area": 3030.0, "principal_moments": [207000.0, 334000.0, 396000.0], "n_faces": 21, "n_edges": 54, "n_vertices": 36}, "dimensions": {"lines": ["Rectangular body, 24.26 \u00d7 17.7 \u00d7 14.1 mm (W\u00d7D\u00d7H).", "Four \u00d83.2 mm holes at the corners, 16.982 \u00d7 12.39 mm spacing.", "Pocket 9.7 \u00d7 11 mm, 5.1 mm deep, in top face.", "Fillet radius 1.155 mm on vertical edges (optional, off by default).", "One \u00d85.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch on the <X face.", "\u00d85.1 mm circular section attachment, 5.1 mm long, from left face with a \u00d82.2 mm bore."], "text": "Rectangular body, 24.26 \u00d7 17.7 \u00d7 14.1 mm (W\u00d7D\u00d7H). Four \u00d83.2 mm holes at the corners, 16.982 \u00d7 12.39 mm spacing. Pocket 9.7 \u00d7 11 mm, 5.1 mm deep, in top face. Fillet radius 1.155 mm on vertical edges (optional, off by default). One \u00d85.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch on the <X face. \u00d85.1 mm circular section attachment, 5.1 mm long, from left face with a \u00d82.2 mm bore."}, "params": {"block_w": {"type": "float", "default": 24.26, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 17.7, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 14.1, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 4.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "pocket_w": {"type": "float", "default": 9.7, "min": 4.8, "max": 19.4, "step": 1.0, "group": "Pocket", "label": "Pocket width (mm)"}, "pocket_d": {"type": "float", "default": 11.0, "min": 5.5, "max": 14.2, "step": 1.0, "group": "Pocket", "label": "Pocket depth (mm)"}, "pocket_h": {"type": "float", "default": 5.1, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Pocket", "label": "Pocket height (mm)"}, "filleted2": {"type": "bool", "default": false, "group": "Body", "label": "Fillet corners"}, "face_hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 9.5, "step": 0.5, "group": "Holes", "label": "Side hole diameter (mm)"}, "side_tube_d": {"type": "float", "default": 5.1, "min": 2.0, "max": 7.0, "step": 1.0, "group": "Side Tube", "label": "Side tube diameter (mm)"}, "side_tube_len": {"type": "float", "default": 5.1, "min": 1.5, "max": 15.3, "step": 1.0, "group": "Side Tube", "label": "Side tube length (mm)"}, "side_bore_d": {"type": "float", "default": 2.2, "min": 2.0, "max": 3.8, "step": 0.5, "group": "Side Tube", "label": "Side bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332284 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 24.26, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 17.7, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 14.1, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 4.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"pocket_w\": {\"type\": 'float', \"default\": 9.7, \"min\": 4.8, \"max\": 19.4, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket width (mm)'},\n    \"pocket_d\": {\"type\": 'float', \"default\": 11.0, \"min\": 5.5, \"max\": 14.2, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket depth (mm)'},\n    \"pocket_h\": {\"type\": 'float', \"default\": 5.1, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Pocket', \"label\": 'Pocket height (mm)'},\n    \"filleted2\": {\"type\": 'bool', \"default\": False, \"group\": 'Body', \"label\": 'Fillet corners'},\n    \"face_hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 9.5, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Side hole diameter (mm)'},\n    \"side_tube_d\": {\"type\": 'float', \"default\": 5.1, \"min\": 2.0, \"max\": 7.0, \"step\": 1.0, \"group\": 'Side Tube', \"label\": 'Side tube diameter (mm)'},\n    \"side_tube_len\": {\"type\": 'float', \"default\": 5.1, \"min\": 1.5, \"max\": 15.3, \"step\": 1.0, \"group\": 'Side Tube', \"label\": 'Side tube length (mm)'},\n    \"side_bore_d\": {\"type\": 'float', \"default\": 2.2, \"min\": 2.0, \"max\": 3.8, \"step\": 0.5, \"group\": 'Side Tube', \"label\": 'Side bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"pocket_w\"], p[\"pocket_d\"])\n        .cutBlind(-p[\"pocket_h\"])\n    )\n    if p[\"filleted2\"]:\n        result = result.edges('|Z').fillet(min(p[\"block_w\"], p[\"block_d\"]) * 0.06528231218484173)\n    result = (\n        result.faces('<X').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"face_hole_d\"])\n    )\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"side_tube_d\"] / 2).extrude(p[\"side_tube_len\"])\n    )\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"side_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462caa3e_3722", "family": "revolved", "tier": 1, "seed": 1177332286, "symmetry": "none", "op_count": 2, "ir_hash": "8af84ee0abbf59c0", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 10900.0, "surface_area": 5120.0, "principal_moments": [685000.0, 1970000.0, 1970000.0], "n_faces": 5, "n_edges": 8, "n_vertices": 5}, "dimensions": {"lines": ["Revolved body, \u00d820.43 mm \u00d7 50.1 mm tall.", "Chamfer 0.4 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d820.43 mm \u00d7 50.1 mm tall. Chamfer 0.4 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 20.43, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 50.1, "min": 15.0, "max": 150.3, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "end_chamfer": {"type": "float", "default": 0.4, "min": 0.1, "max": 1.2, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332286 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 20.43, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 50.1, \"min\": 15.0, \"max\": 150.3, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.4, \"min\": 0.1, \"max\": 1.2, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462caa3f_3723", "family": "threaded", "tier": 1, "seed": 1177332287, "symmetry": "none", "op_count": 1, "ir_hash": "e7a66817560e8f6c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 1540.0, "surface_area": 1510.0, "principal_moments": [28100.0, 78700.0, 78700.0], "n_faces": 183, "n_edges": 497, "n_vertices": 316}, "dimensions": {"lines": ["M6x1 internal thread, 22.5 mm long."], "text": "M6x1 internal thread, 22.5 mm long."}, "params": {"major_d": {"type": "float", "default": 6.0, "min": 4.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Major diameter (mm)"}, "pitch": {"type": "float", "default": 1.0, "min": 0.5, "max": 2.0, "step": 0.05, "group": "Thread", "label": "Pitch (mm)"}, "thread_len": {"type": "float", "default": 22.5, "min": 9.0, "max": 45.0, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332287 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 6.0, \"min\": 4.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Major diameter (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.0, \"min\": 0.5, \"max\": 2.0, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Pitch (mm)'},\n    \"thread_len\": {\"type\": 'float', \"default\": 22.5, \"min\": 9.0, \"max\": 45.0, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.IsoThread(major_diameter=p[\"major_d\"], pitch=p[\"pitch\"], length=p[\"thread_len\"], external=False, end_finishes=(\"fade\", \"fade\"))\n    _body = _bd.Cylinder(radius=(p[\"major_d\"]) * 0.9, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _bore = _bd.Cylinder(radius=(p[\"major_d\"]) / 2, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = (_body - _bore) + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462caa40_3724", "family": "block", "tier": 1, "seed": 1177332288, "symmetry": "none", "op_count": 2, "ir_hash": "0cb8eb1a07ee48f8", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 209000.0, "surface_area": 24600.0, "principal_moments": [98999999.99999999, 142000000.0, 152000000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 75 \u00d7 50.7 \u00d7 55.9 mm (W\u00d7D\u00d7H).", "Four \u00d84.3 mm holes at the corners, 52.5 \u00d7 35.49 mm spacing."], "text": "Rectangular body, 75 \u00d7 50.7 \u00d7 55.9 mm (W\u00d7D\u00d7H). Four \u00d84.3 mm holes at the corners, 52.5 \u00d7 35.49 mm spacing."}, "params": {"block_w": {"type": "float", "default": 75, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 50.7, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 55.9, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 11.4, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332288 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 75, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 50.7, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 55.9, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 11.4, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462caa41_3725", "family": "plate", "tier": 0, "seed": 1177332289, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "d36bd1ee37faec65", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 27600.0, "surface_area": 12500.0, "principal_moments": [9740000.0, 16699999.999999998, 26299999.999999996], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 85 \u00d7 64.9 \u00d7 5 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 85 \u00d7 64.9 \u00d7 5 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 85, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 64.9, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 5.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332289 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 85, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 64.9, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 5.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462caa43_3727", "family": "enclosure", "tier": 2, "seed": 1177332291, "symmetry": "none", "op_count": 3, "ir_hash": "5996aa3b6ffa5e81", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 11500.0, "surface_area": 11300.0, "principal_moments": [2260000.0, 4730000.0, 5350000.0], "n_faces": 15, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 54.07 \u00d7 29.7 \u00d7 26.5 mm (W\u00d7D\u00d7H).", "Hollowed to 2.1 mm wall thickness, open at top face.", "Four \u00d83.2 mm holes at the corners, 37.849 \u00d7 20.79 mm spacing."], "text": "Rectangular body, 54.07 \u00d7 29.7 \u00d7 26.5 mm (W\u00d7D\u00d7H). Hollowed to 2.1 mm wall thickness, open at top face. Four \u00d83.2 mm holes at the corners, 37.849 \u00d7 20.79 mm spacing."}, "params": {"enc_w": {"type": "float", "default": 54.07, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 29.7, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 26.5, "min": 10.6, "max": 53.0, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 2.1, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 6.7, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332291 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 54.07, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 29.7, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 26.5, \"min\": 10.6, \"max\": 53.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 2.1, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 6.7, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"enc_w\"] * 0.7, p[\"enc_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462caa44_3728", "family": "tapped", "tier": 2, "seed": 1177332292, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "3b0005884661185e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 54000.0, "surface_area": 14200.0, "principal_moments": [14199999.999999998, 15899999.999999998, 26099999.999999996], "n_faces": 582, "n_edges": 1636, "n_vertices": 1056}, "dimensions": {"lines": ["Four M12x1.75 tapped holes in a plate."], "text": "Four M12x1.75 tapped holes in a plate."}, "params": {"major_d": {"type": "float", "default": 12.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 1.75, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 21.1, "min": 14.4, "max": 38.0, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "plate_w": {"type": "float", "default": 55.94, "min": 33.6, "max": 89.5, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 52.6, "min": 31.6, "max": 84.2, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332292 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 12.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.75, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 21.1, \"min\": 14.4, \"max\": 38.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"plate_w\": {\"type\": 'float', \"default\": 55.94, \"min\": 33.6, \"max\": 89.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 52.6, \"min\": 31.6, \"max\": 84.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n}\n\n\ndef build(p):\n\n    _W, _D, _H = p[\"plate_w\"], p[\"plate_d\"], p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Box(_W, _D, _H)\n    _sx, _sy = p[\"plate_w\"] * 0.6, p[\"plate_d\"] * 0.6\n    _locs = [(_xx, _yy) for _xx in (-_sx / 2, _sx / 2) for _yy in (-_sy / 2, _sy / 2)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462caa45_3729", "family": "revolved", "tier": 1, "seed": 1177332293, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "363746809300105f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 326000.0, "surface_area": 56000.0, "principal_moments": [148000000.0, 899000000.0, 899000000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d854.92 mm \u00d7 206.5 mm tall."], "text": "Revolved body, \u00d854.92 mm \u00d7 206.5 mm tall."}, "params": {"outer_d": {"type": "float", "default": 54.92, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 206.5, "min": 61.9, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332293 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 54.92, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 206.5, \"min\": 61.9, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462caa46_3730", "family": "revolved", "tier": 1, "seed": 1177332294, "symmetry": "radial", "op_count": 2, "ir_hash": "b1fd200968e2cf39", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 366000.0, "surface_area": 46600.0, "principal_moments": [133000000.0, 1300000000.0, 1300000000.0], "n_faces": 8, "n_edges": 14, "n_vertices": 8}, "dimensions": {"lines": ["Revolved body, \u00d851.14 mm \u00d7 201.1 mm tall with \u00d817.2 mm bore.", "Chamfer 0.7 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d851.14 mm \u00d7 201.1 mm tall with \u00d817.2 mm bore. Chamfer 0.7 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 51.14, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 201.1, "min": 60.3, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 17.2, "min": 2.0, "max": 35.8, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "end_chamfer": {"type": "float", "default": 0.7, "min": 0.1, "max": 2.1, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332294 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 51.14, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 201.1, \"min\": 60.3, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 17.2, \"min\": 2.0, \"max\": 35.8, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.7, \"min\": 0.1, \"max\": 2.1, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462caa47_3731", "family": "bracket", "tier": 3, "seed": 1177332295, "symmetry": "none", "op_count": 1, "ir_hash": "312610fc3dc335b6", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 26400.0, "surface_area": 11100.0, "principal_moments": [4060000.0, 24099999.999999996, 24299999.999999996], "n_faces": 22, "n_edges": 54, "n_vertices": 36}, "dimensions": {"lines": ["Z-bracket: base leg 55.38 mm, vertical leg 45.6 mm, top leg 53.3 mm, 30 mm wide, 6 mm thick; 2 \u00d7 \u00d84.3 mm holes per leg; 7.6 mm corner gusset."], "text": "Z-bracket: base leg 55.38 mm, vertical leg 45.6 mm, top leg 53.3 mm, 30 mm wide, 6 mm thick; 2 \u00d7 \u00d84.3 mm holes per leg; 7.6 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 55.38, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 45.6, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 30, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 6.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 53.3, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 2, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}, "gusset_t": {"type": "float", "default": 7.6, "min": 3.0, "max": 15.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332295 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 55.38, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 45.6, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 30, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 53.3, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 2, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 7.6, \"min\": 3.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _tl, _vl) * 0.4 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(0, _vl - _bt).lineTo(-_g, _vl - _bt)\n                    .lineTo(0, _vl - _bt - _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462caa48_3732", "family": "bracket", "tier": 1, "seed": 1177332296, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "e2b46db484a3d5e7", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 40100.0, "surface_area": 18500.0, "principal_moments": [13499999.999999998, 72800000.0, 75700000.0], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Z-bracket: base leg 81.05 mm, vertical leg 73.1 mm, top leg 56.7 mm, 40 mm wide, 5 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."], "text": "Z-bracket: base leg 81.05 mm, vertical leg 73.1 mm, top leg 56.7 mm, 40 mm wide, 5 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 81.05, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 73.1, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 40, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 5.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 56.7, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332296 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 81.05, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 73.1, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 40, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 56.7, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462caa49_3733", "family": "plate", "tier": 1, "seed": 1177332297, "symmetry": "none", "op_count": 2, "ir_hash": "d8b3fb989fb59a02", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 12200.0, "surface_area": 4580.0, "principal_moments": [626000.0, 4370000.0, 4860000.0], "n_faces": 16, "n_edges": 42, "n_vertices": 28}, "dimensions": {"lines": ["Rectangular body, 65 \u00d7 23.7 \u00d7 8 mm (W\u00d7D\u00d7H).", "Five \u00d82.2 mm holes in two staggered rows, 24.4 \u00d7 22.5 mm pitch."], "text": "Rectangular body, 65 \u00d7 23.7 \u00d7 8 mm (W\u00d7D\u00d7H). Five \u00d82.2 mm holes in two staggered rows, 24.4 \u00d7 22.5 mm pitch."}, "params": {"plate_w": {"type": "float", "default": 65, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 23.7, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 2.2, "min": 2.0, "max": 2.4, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 3, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332297 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 65, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 23.7, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 2.2, \"min\": 2.0, \"max\": 2.4, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 3, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 24.4\n    _ssy = 22.5\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462caa4c_3736", "family": "sketched", "tier": 3, "seed": 1177332300, "symmetry": "none", "op_count": 1, "ir_hash": "ba95e9532de00332", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 2870.0, "surface_area": 2020.0, "principal_moments": [96200.0, 105000.0, 105000.0], "n_faces": 8, "n_edges": 14, "n_vertices": 8}, "dimensions": {"lines": ["Revolved organic body from a freeform sketched section (7 segments: 5 straight, 1 arc, 1 curve), ~10.653 \u00d7 20 mm half-silhouette."], "text": "Revolved organic body from a freeform sketched section (7 segments: 5 straight, 1 arc, 1 curve), ~10.653 \u00d7 20 mm half-silhouette."}, "params": {"sk_r": {"type": "float", "default": 15, "min": 7.5, "max": 27.0, "step": 1.0, "group": "Sketch", "label": "Max radius (mm)"}, "sk_h": {"type": "float", "default": 20.0, "min": 10.0, "max": 36.0, "step": 1.0, "group": "Sketch", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332300 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_r\": {\"type\": 'float', \"default\": 15, \"min\": 7.5, \"max\": 27.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Max radius (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 20.0, \"min\": 10.0, \"max\": 36.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XZ').moveTo(p[\"sk_r\"] * 0.1648, p[\"sk_h\"] * 0.0).bezier([(p[\"sk_r\"] * 0.1648, p[\"sk_h\"] * 0.0), (p[\"sk_r\"] * 0.5321, p[\"sk_h\"] * 0.2413), (p[\"sk_r\"] * 0.5986, p[\"sk_h\"] * 0.4825)]).lineTo(p[\"sk_r\"] * 0.7324, p[\"sk_h\"] * 0.5425).lineTo(p[\"sk_r\"] * 0.2839, p[\"sk_h\"] * 0.7408).lineTo(p[\"sk_r\"] * 0.2588, p[\"sk_h\"] * 0.9487).threePointArc((p[\"sk_r\"] * 0.4487, p[\"sk_h\"] * 0.9743), (p[\"sk_r\"] * 0.7706, p[\"sk_h\"] * 1.0)).lineTo(p[\"sk_r\"] * 0.0604, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.0604, p[\"sk_h\"] * 0.0).close().revolve())\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462caa4d_3737", "family": "bracket", "tier": 2, "seed": 1177332301, "symmetry": "none", "op_count": 1, "ir_hash": "eacebd2c771c41a6", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 45700.0, "surface_area": 14400.0, "principal_moments": [14199999.999999998, 35800000.0, 36100000.0], "n_faces": 14, "n_edges": 37, "n_vertices": 24}, "dimensions": {"lines": ["L-bracket: base leg 60 mm, vertical leg 71.8 mm, 44.39 mm wide, 8 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg; 7.2 mm corner gusset."], "text": "L-bracket: base leg 60 mm, vertical leg 71.8 mm, 44.39 mm wide, 8 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg; 7.2 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 60, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 71.8, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 44.39, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 8.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 7.2, "min": 4.0, "max": 22.2, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332301 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 60, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 71.8, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 44.39, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 7.2, \"min\": 4.0, \"max\": 22.2, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462caa4e_3738", "family": "gear", "tier": 1, "seed": 1177332302, "symmetry": "none", "op_count": 1, "ir_hash": "a97b6e15b65f38a9", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 575000.0, "surface_area": 71600.0, "principal_moments": [1030000000.0, 1030000000.0, 1980000000.0], "n_faces": 165, "n_edges": 489, "n_vertices": 326}, "dimensions": {"lines": ["Spur gear, module 6 mm, 27 teeth (pitch \u00d8162 mm), face width 29.4 mm, \u00d832.3 mm bore."], "text": "Spur gear, module 6 mm, 27 teeth (pitch \u00d8162 mm), face width 29.4 mm, \u00d832.3 mm bore."}, "params": {"module": {"type": "float", "default": 6.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 27, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 29.4, "min": 11.8, "max": 73.5, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "bore_d": {"type": "float", "default": 32.3, "min": 2.0, "max": 88.2, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332302 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 6.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 27, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 29.4, \"min\": 11.8, \"max\": 73.5, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 32.3, \"min\": 2.0, \"max\": 88.2, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462caa4f_3739", "family": "block", "tier": 3, "seed": 1177332303, "symmetry": "radial", "op_count": 4, "ir_hash": "4cb95a1e0b4465d7", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 39300.0, "surface_area": 16300.0, "principal_moments": [6340000.0, 17600000.0, 22000000.0], "n_faces": 32, "n_edges": 90, "n_vertices": 60}, "dimensions": {"lines": ["Rectangular body, 40 \u00d7 17.5 \u00d7 71.2 mm (W\u00d7D\u00d7H).", "Twelve \u00d85.3 mm holes on a \u00d824 mm bolt circle.", "Fillet radius 1.836 mm on vertical edges.", "Fillet radius 2.016 mm on vertical edges (optional, off by default)."], "text": "Rectangular body, 40 \u00d7 17.5 \u00d7 71.2 mm (W\u00d7D\u00d7H). Twelve \u00d85.3 mm holes on a \u00d824 mm bolt circle. Fillet radius 1.836 mm on vertical edges. Fillet radius 2.016 mm on vertical edges (optional, off by default)."}, "params": {"block_w": {"type": "float", "default": 40, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 17.5, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 71.2, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "bolt_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 12.0, "min": 8.0, "max": 18.0, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 12, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}, "filleted2": {"type": "bool", "default": false, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332303 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 40, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 17.5, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 71.2, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 12.0, \"min\": 8.0, \"max\": 18.0, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 12, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n    \"filleted2\": {\"type\": 'bool', \"default\": False, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"block_w\"], p[\"block_d\"]) * 0.1049161208052197)\n    if p[\"filleted2\"]:\n        result = result.edges('|Z').fillet(min(p[\"block_w\"], p[\"block_d\"]) * 0.11522357580432493)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462caa50_3740", "family": "tapped", "tier": 0, "seed": 1177332304, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "b90b50fa9f3a2370", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 11900.0, "surface_area": 3690.0, "principal_moments": [1020000.0, 1020000.0, 1400000.0], "n_faces": 154, "n_edges": 418, "n_vertices": 266}, "dimensions": {"lines": ["One M6x1 tapped hole in a plate."], "text": "One M6x1 tapped hole in a plate."}, "params": {"major_d": {"type": "float", "default": 6.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 1.0, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 18.1, "min": 7.2, "max": 32.6, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "plate_w": {"type": "float", "default": 26.1, "min": 15.7, "max": 41.8, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 26.1, "min": 15.7, "max": 41.8, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332304 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.0, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 18.1, \"min\": 7.2, \"max\": 32.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"plate_w\": {\"type\": 'float', \"default\": 26.1, \"min\": 15.7, \"max\": 41.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 26.1, \"min\": 15.7, \"max\": 41.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n}\n\n\ndef build(p):\n\n    _W, _D, _H = p[\"plate_w\"], p[\"plate_d\"], p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Box(_W, _D, _H)\n    _locs = [(0.0, 0.0)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462caa51_3741", "family": "plate", "tier": 0, "seed": 1177332305, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "7e8d065b7ff9975e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 49700.0, "surface_area": 13000.0, "principal_moments": [9670000.0, 45999999.99999999, 54899999.99999999], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 105 \u00d7 47.3 \u00d7 10 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 105 \u00d7 47.3 \u00d7 10 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 105, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 47.3, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332305 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 105, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 47.3, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462caa52_3742", "family": "sketched", "tier": 1, "seed": 1177332306, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "0d934dc315f5a344", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 5430.0, "surface_area": 2560.0, "principal_moments": [375000.0, 488000.0, 830000.0], "n_faces": 9, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["freeform sketched section (6 segments: 3 straight, 1 arc, 2 curves), ~37.112 \u00d7 31.905 mm, extruded 6 mm thick.", "One \u00d84.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "freeform sketched section (6 segments: 3 straight, 1 arc, 2 curves), ~37.112 \u00d7 31.905 mm, extruded 6 mm thick. One \u00d84.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"sk_w": {"type": "float", "default": 42.8, "min": 21.4, "max": 77.0, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 43.67, "min": 21.8, "max": 78.6, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "sk_t": {"type": "float", "default": 6.0, "min": 2.4, "max": 13.2, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "sk_hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 8.6, "step": 0.5, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332306 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 42.8, \"min\": 21.4, \"max\": 77.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 43.67, \"min\": 21.8, \"max\": 78.6, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"sk_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.4, \"max\": 13.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"sk_hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 8.6, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.4334, p[\"sk_h\"] * 0.1584).bezier([(p[\"sk_w\"] * 0.4334, p[\"sk_h\"] * 0.1584), (p[\"sk_w\"] * 0.3561, p[\"sk_h\"] * 0.2777), (p[\"sk_w\"] * 0.2526, p[\"sk_h\"] * 0.3751)]).spline([(p[\"sk_w\"] * 0.2526, p[\"sk_h\"] * 0.3751), (p[\"sk_w\"] * -0.0363, p[\"sk_h\"] * 0.3881), (p[\"sk_w\"] * -0.2912, p[\"sk_h\"] * 0.2513)]).threePointArc((p[\"sk_w\"] * -0.4371, p[\"sk_h\"] * 0.0618), (p[\"sk_w\"] * -0.4337, p[\"sk_h\"] * -0.1512)).lineTo(p[\"sk_w\"] * -0.0777, p[\"sk_h\"] * -0.3373).lineTo(p[\"sk_w\"] * 0.235, p[\"sk_h\"] * -0.3555).lineTo(p[\"sk_w\"] * 0.4334, p[\"sk_h\"] * 0.1584).close().extrude(p[\"sk_t\"]))\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"sk_hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462caa53_3743", "family": "plate", "tier": 1, "seed": 1177332307, "symmetry": "radial", "op_count": 2, "ir_hash": "5e283ad9c78c135d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 30300.0, "surface_area": 9260.0, "principal_moments": [3990000.0, 16699999.999999998, 20200000.0], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Rectangular body, 80.36 \u00d7 38.8 \u00d7 10 mm (W\u00d7D\u00d7H).", "Eight \u00d84.3 mm holes on a \u00d848.2 mm bolt circle."], "text": "Rectangular body, 80.36 \u00d7 38.8 \u00d7 10 mm (W\u00d7D\u00d7H). Eight \u00d84.3 mm holes on a \u00d848.2 mm bolt circle."}, "params": {"plate_w": {"type": "float", "default": 80.36, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 38.8, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "bolt_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 24.1, "min": 16.1, "max": 36.2, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 8, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332307 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 80.36, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 38.8, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 24.1, \"min\": 16.1, \"max\": 36.2, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462caa54_3744", "family": "block", "tier": 2, "seed": 1177332308, "symmetry": "none", "op_count": 3, "ir_hash": "dba8e23b32317f87", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 103000.0, "surface_area": 35000.0, "principal_moments": [41300000.0, 63299999.99999999, 63799999.99999999], "n_faces": 27, "n_edges": 84, "n_vertices": 56}, "dimensions": {"lines": ["Rectangular body, 50.59 \u00d7 49.2 \u00d7 72.5 mm (W\u00d7D\u00d7H).", "Four 12.6 mm square holes at the corners, 35.413 \u00d7 34.44 mm spacing.", "Pocket 32.3 \u00d7 27.2 mm, 37.7 mm deep, in top face."], "text": "Rectangular body, 50.59 \u00d7 49.2 \u00d7 72.5 mm (W\u00d7D\u00d7H). Four 12.6 mm square holes at the corners, 35.413 \u00d7 34.44 mm spacing. Pocket 32.3 \u00d7 27.2 mm, 37.7 mm deep, in top face."}, "params": {"block_w": {"type": "float", "default": 50.59, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 49.2, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 72.5, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 12.6, "min": 2.0, "max": 14.4, "step": 0.5, "group": "Holes", "label": "Square hole size (mm)"}, "pocket_w": {"type": "float", "default": 32.3, "min": 16.1, "max": 40.5, "step": 1.0, "group": "Pocket", "label": "Pocket width (mm)"}, "pocket_d": {"type": "float", "default": 27.2, "min": 13.6, "max": 39.4, "step": 1.0, "group": "Pocket", "label": "Pocket depth (mm)"}, "pocket_h": {"type": "float", "default": 37.7, "min": 15.1, "max": 61.6, "step": 0.5, "group": "Pocket", "label": "Pocket height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332308 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 50.59, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 49.2, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 72.5, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 12.6, \"min\": 2.0, \"max\": 14.4, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Square hole size (mm)'},\n    \"pocket_w\": {\"type\": 'float', \"default\": 32.3, \"min\": 16.1, \"max\": 40.5, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket width (mm)'},\n    \"pocket_d\": {\"type\": 'float', \"default\": 27.2, \"min\": 13.6, \"max\": 39.4, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket depth (mm)'},\n    \"pocket_h\": {\"type\": 'float', \"default\": 37.7, \"min\": 15.1, \"max\": 61.6, \"step\": 0.5, \"group\": 'Pocket', \"label\": 'Pocket height (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().rect(p[\"hole_d\"], p[\"hole_d\"]).cutThruAll()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"pocket_w\"], p[\"pocket_d\"])\n        .cutBlind(-p[\"pocket_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462caa55_3745", "family": "flanged", "tier": 1, "seed": 1177332309, "symmetry": "radial", "op_count": 2, "ir_hash": "aff85d89b4f94d96", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 834000.0, "surface_area": 92100.0, "principal_moments": [1710000000.0, 1710000000.0, 2220000000.0], "n_faces": 21, "n_edges": 78, "n_vertices": 52}, "dimensions": {"lines": ["Revolved body, \u00d8100 mm \u00d7 88.6 mm tall with \u00d843.2 mm bore, \u00d8173.9 mm \u00d7 17.7 mm flange.", "Eight \u00d88.4 mm holes on a \u00d8104.4 mm bolt circle."], "text": "Revolved body, \u00d8100 mm \u00d7 88.6 mm tall with \u00d843.2 mm bore, \u00d8173.9 mm \u00d7 17.7 mm flange. Eight \u00d88.4 mm holes on a \u00d8104.4 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 100.0, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 88.6, "min": 26.6, "max": 221.5, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 43.2, "min": 2.0, "max": 70.0, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 173.9, "min": 130.0, "max": 300.0, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 17.7, "min": 5.3, "max": 35.4, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 8.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 52.2, "min": 34.8, "max": 78.3, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 8, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332309 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 100.0, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 88.6, \"min\": 26.6, \"max\": 221.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 43.2, \"min\": 2.0, \"max\": 70.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 173.9, \"min\": 130.0, \"max\": 300.0, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 17.7, \"min\": 5.3, \"max\": 35.4, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 52.2, \"min\": 34.8, \"max\": 78.3, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462caa56_3746", "family": "compound", "tier": 2, "seed": 1177332310, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "6ddca19be6d71513", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 75700.0, "surface_area": 11500.0, "principal_moments": [21500000.0, 28399999.999999996, 28399999.999999996], "n_faces": 13, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Lofted body through 3 sections: 55 \u00d7 55 mm rectangular section \u2192 \u00d838.7 mm circular section \u2192 \u00d822.4 mm circular section.", "5-sided polygon section, 15 mm across corners attachment, 11.9 mm long, from top face."], "text": "Lofted body through 3 sections: 55 \u00d7 55 mm rectangular section \u2192 \u00d838.7 mm circular section \u2192 \u00d822.4 mm circular section. 5-sided polygon section, 15 mm across corners attachment, 11.9 mm long, from top face."}, "params": {"adapter_base": {"type": "float", "default": 55, "min": 33.0, "max": 82.5, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "adapter_top": {"type": "float", "default": 22.4, "min": 11.2, "max": 55, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "adapter_h": {"type": "float", "default": 54.7, "min": 21.9, "max": 109.4, "step": 1.0, "group": "Body", "label": "Transition height (mm)"}, "adapter_mid": {"type": "float", "default": 38.7, "min": 11.2, "max": 55, "step": 1.0, "group": "Body", "label": "Mid size (mm)"}, "neck_sides": {"type": "int", "default": 5, "min": 3, "max": 8, "step": 1, "group": "Neck", "label": "Neck sides"}, "neck_r": {"type": "float", "default": 7.5, "min": 3.8, "max": 11.2, "step": 1.0, "group": "Neck", "label": "Neck circumradius (mm)"}, "neck_l": {"type": "float", "default": 11.9, "min": 4.8, "max": 29.8, "step": 1.0, "group": "Neck", "label": "Neck length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332310 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"adapter_base\": {\"type\": 'float', \"default\": 55, \"min\": 33.0, \"max\": 82.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"adapter_top\": {\"type\": 'float', \"default\": 22.4, \"min\": 11.2, \"max\": 55, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"adapter_h\": {\"type\": 'float', \"default\": 54.7, \"min\": 21.9, \"max\": 109.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Transition height (mm)'},\n    \"adapter_mid\": {\"type\": 'float', \"default\": 38.7, \"min\": 11.2, \"max\": 55, \"step\": 1.0, \"group\": 'Body', \"label\": 'Mid size (mm)'},\n    \"neck_sides\": {\"type\": 'int', \"default\": 5, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Neck', \"label\": 'Neck sides'},\n    \"neck_r\": {\"type\": 'float', \"default\": 7.5, \"min\": 3.8, \"max\": 11.2, \"step\": 1.0, \"group\": 'Neck', \"label\": 'Neck circumradius (mm)'},\n    \"neck_l\": {\"type\": 'float', \"default\": 11.9, \"min\": 4.8, \"max\": 29.8, \"step\": 1.0, \"group\": 'Neck', \"label\": 'Neck length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .rect(p[\"adapter_base\"], p[\"adapter_base\"])\n        .workplane(offset=p[\"adapter_h\"] * 0.5)\n        .circle(p[\"adapter_mid\"] / 2)\n        .workplane(offset=p[\"adapter_h\"] * 0.5)\n        .circle(p[\"adapter_top\"] / 2)\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"neck_sides\"], p[\"neck_r\"] * 2).extrude(p[\"neck_l\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462caa57_3747", "family": "revolved", "tier": 2, "seed": 1177332311, "symmetry": "radial", "op_count": 2, "ir_hash": "fb48405514c0228f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 59800.0, "surface_area": 14700.0, "principal_moments": [9310000.0, 47499999.99999999, 47499999.99999999], "n_faces": 8, "n_edges": 14, "n_vertices": 8}, "dimensions": {"lines": ["Revolved body, \u00d832.15 mm \u00d7 93.2 mm tall with \u00d814.6 mm bore.", "Chamfer 1.4 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d832.15 mm \u00d7 93.2 mm tall with \u00d814.6 mm bore. Chamfer 1.4 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 32.15, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 93.2, "min": 28.0, "max": 279.6, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 14.6, "min": 2.0, "max": 22.5, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "end_chamfer": {"type": "float", "default": 1.4, "min": 0.1, "max": 4.2, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332311 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 32.15, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 93.2, \"min\": 28.0, \"max\": 279.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 14.6, \"min\": 2.0, \"max\": 22.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 1.4, \"min\": 0.1, \"max\": 4.2, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462caa58_3748", "family": "flanged", "tier": 3, "seed": 1177332312, "symmetry": "none", "op_count": 3, "ir_hash": "5aae3949a249b450", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 76700.0, "surface_area": 20100.0, "principal_moments": [31499999.999999996, 35900000.0, 35900000.0], "n_faces": 22, "n_edges": 47, "n_vertices": 28}, "dimensions": {"lines": ["Revolved body, \u00d841.46 mm \u00d7 51 mm tall with \u00d813.6 mm bore, \u00d883.7 mm \u00d7 3.8 mm flange.", "Six \u00d85.3 mm holes on a \u00d850.2 mm bolt circle.", "Chamfer 0.3 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d841.46 mm \u00d7 51 mm tall with \u00d813.6 mm bore, \u00d883.7 mm \u00d7 3.8 mm flange. Six \u00d85.3 mm holes on a \u00d850.2 mm bolt circle. Chamfer 0.3 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 41.46, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 51.0, "min": 15.3, "max": 127.5, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 13.6, "min": 2.0, "max": 29.0, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 83.7, "min": 53.9, "max": 124.4, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 3.8, "min": 1.1, "max": 20.4, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 25.1, "min": 16.7, "max": 37.7, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 6, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}, "end_chamfer": {"type": "float", "default": 0.3, "min": 0.1, "max": 2.0, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332312 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 41.46, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 51.0, \"min\": 15.3, \"max\": 127.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 13.6, \"min\": 2.0, \"max\": 29.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 83.7, \"min\": 53.9, \"max\": 124.4, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 3.8, \"min\": 1.1, \"max\": 20.4, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 25.1, \"min\": 16.7, \"max\": 37.7, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.3, \"min\": 0.1, \"max\": 2.0, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462caa59_3749", "family": "compound", "tier": 1, "seed": 1177332313, "symmetry": "none", "op_count": 3, "ir_hash": "0115e8c513afcb1a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 35300.0, "surface_area": 7500.0, "principal_moments": [5310000.0, 6990000.0, 8740000.0], "n_faces": 14, "n_edges": 34, "n_vertices": 22}, "dimensions": {"lines": ["Rectangular body, 41.82 \u00d7 34.4 \u00d7 24.6 mm (W\u00d7D\u00d7H).", "\u00d85.4 mm circular section attachment, 6.9 mm long, from front face with a \u00d82.4 mm bore.", "\u00d85.4 mm circular section attachment, 6.9 mm long, from right face with a \u00d82.4 mm bore."], "text": "Rectangular body, 41.82 \u00d7 34.4 \u00d7 24.6 mm (W\u00d7D\u00d7H). \u00d85.4 mm circular section attachment, 6.9 mm long, from front face with a \u00d82.4 mm bore. \u00d85.4 mm circular section attachment, 6.9 mm long, from right face with a \u00d82.4 mm bore."}, "params": {"block_w": {"type": "float", "default": 41.82, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body width (mm)"}, "block_d": {"type": "float", "default": 34.4, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body depth (mm)"}, "block_h": {"type": "float", "default": 24.6, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body height (mm)"}, "port_d": {"type": "float", "default": 5.4, "min": 2.2, "max": 11.1, "step": 1.0, "group": "Ports", "label": "Ports diameter (mm)"}, "port_len": {"type": "float", "default": 6.9, "min": 1.4, "max": 16.2, "step": 1.0, "group": "Ports", "label": "Port boss length (mm)"}, "port_bore": {"type": "float", "default": 2.4, "min": 2.0, "max": 3.9, "step": 0.5, "group": "Ports", "label": "Port bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332313 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 41.82, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 34.4, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 24.6, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body height (mm)'},\n    \"port_d\": {\"type\": 'float', \"default\": 5.4, \"min\": 2.2, \"max\": 11.1, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Ports diameter (mm)'},\n    \"port_len\": {\"type\": 'float', \"default\": 6.9, \"min\": 1.4, \"max\": 16.2, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Port boss length (mm)'},\n    \"port_bore\": {\"type\": 'float', \"default\": 2.4, \"min\": 2.0, \"max\": 3.9, \"step\": 0.5, \"group\": 'Ports', \"label\": 'Port bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462caa5a_3750", "family": "revolved", "tier": 1, "seed": 1177332314, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "2ab4cfc9faa83d66", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 347000.0, "surface_area": 46500.0, "principal_moments": [298000000.0, 426000000.0, 426000000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d875.6 mm \u00d7 116 mm tall."], "text": "Revolved body, \u00d875.6 mm \u00d7 116 mm tall."}, "params": {"outer_d": {"type": "float", "default": 75.6, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 116.0, "min": 34.8, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332314 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 75.6, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 116.0, \"min\": 34.8, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462caa5b_3751", "family": "plate", "tier": 0, "seed": 1177332315, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "2997372306b62bde", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 53400.0, "surface_area": 16000.0, "principal_moments": [20000000.0, 45000000.0, 64399999.99999999], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 100.22 \u00d7 66.6 \u00d7 8 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 100.22 \u00d7 66.6 \u00d7 8 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 100.22, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 66.6, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332315 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 100.22, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 66.6, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462caa5c_3752", "family": "swept", "tier": 0, "seed": 1177332316, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "d2da781120374615", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 8460.0, "surface_area": 3530.0, "principal_moments": [311000.0, 3680000.0, 3880000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["11.8 \u00d7 9.1 mm rectangular section swept along a curved path, ~51.02 mm span."], "text": "11.8 \u00d7 9.1 mm rectangular section swept along a curved path, ~51.02 mm span."}, "params": {"path_w": {"type": "float", "default": 51.02, "min": 25.5, "max": 91.8, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 45, "min": 22.5, "max": 81.0, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_a": {"type": "float", "default": 11.8, "min": 5.9, "max": 21.2, "step": 1.0, "group": "Section", "label": "Section width (mm)"}, "sweep_b": {"type": "float", "default": 9.1, "min": 4.5, "max": 16.4, "step": 1.0, "group": "Section", "label": "Section depth (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332316 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 51.02, \"min\": 25.5, \"max\": 91.8, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 45, \"min\": 22.5, \"max\": 81.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_a\": {\"type\": 'float', \"default\": 11.8, \"min\": 5.9, \"max\": 21.2, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section width (mm)'},\n    \"sweep_b\": {\"type\": 'float', \"default\": 9.1, \"min\": 4.5, \"max\": 16.4, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section depth (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.3973, p[\"path_h\"] * 0.4055), (p[\"path_w\"] * 0.767, p[\"path_h\"] * 0.4156), (p[\"path_w\"] * 1.0, p[\"path_h\"] * 0.8798), (p[\"path_w\"] * 1.0, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').rect(p[\"sweep_a\"], p[\"sweep_b\"]).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462caa5d_3753", "family": "bracket", "tier": 1, "seed": 1177332317, "symmetry": "none", "op_count": 1, "ir_hash": "b7a7f07b5f19e9f5", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 21100.0, "surface_area": 9070.0, "principal_moments": [4840000.0, 15499999.999999998, 17400000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["L-bracket: base leg 60 mm, vertical leg 70.7 mm, 28.56 mm wide, 6 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."], "text": "L-bracket: base leg 60 mm, vertical leg 70.7 mm, 28.56 mm wide, 6 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 60, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 70.7, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 28.56, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 6.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332317 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 60, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 70.7, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 28.56, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462caa5e_3754", "family": "revolved", "tier": 0, "seed": 1177332318, "symmetry": "none", "op_count": 1, "ir_hash": "0e17e06b45e6e9c1", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 25400.0, "surface_area": 8420.0, "principal_moments": [3430000.0, 6100000.0, 6100000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d830 mm \u00d7 53.9 mm tall."], "text": "Revolved body, \u00d830 mm \u00d7 53.9 mm tall."}, "params": {"outer_d": {"type": "float", "default": 30, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 53.9, "min": 16.2, "max": 161.7, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332318 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 30, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 53.9, \"min\": 16.2, \"max\": 161.7, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462caa5f_3755", "family": "threaded", "tier": 0, "seed": 1177332319, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "39ccfbe707183eeb", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 416.0, "surface_area": 623.0, "principal_moments": [1080.0, 23800.0, 23800.0], "n_faces": 330, "n_edges": 848, "n_vertices": 520}, "dimensions": {"lines": ["M5x0.8 external thread, 26 mm long."], "text": "M5x0.8 external thread, 26 mm long."}, "params": {"major_d": {"type": "float", "default": 5.0, "min": 4.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Major diameter (mm)"}, "pitch": {"type": "float", "default": 0.8, "min": 0.4, "max": 1.6, "step": 0.05, "group": "Thread", "label": "Pitch (mm)"}, "thread_len": {"type": "float", "default": 26.0, "min": 10.4, "max": 52.0, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332319 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 5.0, \"min\": 4.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Major diameter (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 0.8, \"min\": 0.4, \"max\": 1.6, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Pitch (mm)'},\n    \"thread_len\": {\"type\": 'float', \"default\": 26.0, \"min\": 10.4, \"max\": 52.0, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.IsoThread(major_diameter=p[\"major_d\"], pitch=p[\"pitch\"], length=p[\"thread_len\"], external=True, end_finishes=(\"fade\", \"fade\"))\n    _r = _thr.min_radius if hasattr(_thr, 'min_radius') else _thr.root_radius\n    _shank = _bd.Cylinder(radius=_r, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = _shank + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462caa60_3756", "family": "block", "tier": 1, "seed": 1177332320, "symmetry": "none", "op_count": 2, "ir_hash": "211018c836e124b2", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 169000.0, "surface_area": 23800.0, "principal_moments": [64699999.99999999, 111000000.0, 131000000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 80 \u00d7 40.2 \u00d7 54.8 mm (W\u00d7D\u00d7H).", "Four \u00d86.4 mm holes at the corners, 56 \u00d7 28.14 mm spacing."], "text": "Rectangular body, 80 \u00d7 40.2 \u00d7 54.8 mm (W\u00d7D\u00d7H). Four \u00d86.4 mm holes at the corners, 56 \u00d7 28.14 mm spacing."}, "params": {"block_w": {"type": "float", "default": 80, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 40.2, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 54.8, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 9.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332320 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 80, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 40.2, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 54.8, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 9.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462caa61_3757", "family": "plate", "tier": 1, "seed": 1177332321, "symmetry": "radial", "op_count": 2, "ir_hash": "d5b51815673ff3de", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 2370.0, "surface_area": 1930.0, "principal_moments": [71300.0, 331000.0, 396000.0], "n_faces": 20, "n_edges": 54, "n_vertices": 36}, "dimensions": {"lines": ["Rectangular body, 39.38 \u00d7 19.3 \u00d7 4 mm (W\u00d7D\u00d7H).", "Eight \u00d86.4 mm holes on a \u00d823.6 mm bolt circle."], "text": "Rectangular body, 39.38 \u00d7 19.3 \u00d7 4 mm (W\u00d7D\u00d7H). Eight \u00d86.4 mm holes on a \u00d823.6 mm bolt circle."}, "params": {"plate_w": {"type": "float", "default": 39.38, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 19.3, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 4.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "bolt_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 11.8, "min": 7.9, "max": 17.7, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 8, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332321 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 39.38, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 19.3, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 4.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 11.8, \"min\": 7.9, \"max\": 17.7, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462caa62_3758", "family": "bracket", "tier": 2, "seed": 1177332322, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "db1750b00399e6df", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 41400.0, "surface_area": 15800.0, "principal_moments": [14399999.999999998, 35600000.0, 35800000.0], "n_faces": 15, "n_edges": 41, "n_vertices": 26}, "dimensions": {"lines": ["L-bracket: base leg 72.52 mm, vertical leg 67 mm, 47.31 mm wide, 6 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg; 7.9 mm corner gusset."], "text": "L-bracket: base leg 72.52 mm, vertical leg 67 mm, 47.31 mm wide, 6 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg; 7.9 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 72.52, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 67.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 47.31, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 6.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 7.9, "min": 3.0, "max": 18.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332322 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 72.52, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 67.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 47.31, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 7.9, \"min\": 3.0, \"max\": 18.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462caa63_3759", "family": "plate", "tier": 3, "seed": 1177332323, "symmetry": "mirror_x", "op_count": 4, "ir_hash": "fdb9ae8c6f63986a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 29800.0, "surface_area": 9020.0, "principal_moments": [2890000.0, 19800000.0, 22100000.0], "n_faces": 21, "n_edges": 50, "n_vertices": 32}, "dimensions": {"lines": ["Rectangular body, 90 \u00d7 32.8 \u00d7 10 mm (W\u00d7D\u00d7H).", "Four \u00d83.2 mm countersunk holes (82\u00b0) at the corners, 63 \u00d7 22.96 mm spacing.", "Fillet radius 1.057 mm on vertical edges.", "Boss \u00d813.6 mm \u00d7 5.4 mm tall on top face with a \u00d83.2 mm bore."], "text": "Rectangular body, 90 \u00d7 32.8 \u00d7 10 mm (W\u00d7D\u00d7H). Four \u00d83.2 mm countersunk holes (82\u00b0) at the corners, 63 \u00d7 22.96 mm spacing. Fillet radius 1.057 mm on vertical edges. Boss \u00d813.6 mm \u00d7 5.4 mm tall on top face with a \u00d83.2 mm bore."}, "params": {"plate_w": {"type": "float", "default": 90, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 32.8, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 7.4, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "cs_angle": {"type": "float", "default": 82.0, "min": 60.0, "max": 120.0, "step": 15.0, "group": "Holes", "label": "Countersink angle (\u00b0)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}, "boss_d": {"type": "float", "default": 13.6, "min": 6.8, "max": 27.2, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 5.4, "min": 2.2, "max": 13.5, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}, "boss_bore_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 9.5, "step": 0.1, "group": "Boss", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332323 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 90, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 32.8, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 7.4, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"cs_angle\": {\"type\": 'float', \"default\": 82.0, \"min\": 60.0, \"max\": 120.0, \"step\": 15.0, \"group\": 'Holes', \"label\": 'Countersink angle (\u00b0)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n    \"boss_d\": {\"type\": 'float', \"default\": 13.6, \"min\": 6.8, \"max\": 27.2, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 5.4, \"min\": 2.2, \"max\": 13.5, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n    \"boss_bore_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 9.5, \"step\": 0.1, \"group\": 'Boss', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().cskHole(p[\"hole_d\"], p[\"hole_d\"] * 2, p[\"cs_angle\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"plate_w\"], p[\"plate_d\"]) * 0.03223906674645685)\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .hole(p[\"boss_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462caa64_3760", "family": "enclosure", "tier": 1, "seed": 1177332324, "symmetry": "none", "op_count": 2, "ir_hash": "23409a3cba339bf1", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 10800.0, "surface_area": 7320.0, "principal_moments": [1510000.0, 2100000.0, 2580000.0], "n_faces": 11, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 36.54 \u00d7 19.2 \u00d7 31.2 mm (W\u00d7D\u00d7H).", "Hollowed to 3.1 mm wall thickness, open at top face."], "text": "Rectangular body, 36.54 \u00d7 19.2 \u00d7 31.2 mm (W\u00d7D\u00d7H). Hollowed to 3.1 mm wall thickness, open at top face."}, "params": {"enc_w": {"type": "float", "default": 36.54, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 19.2, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 31.2, "min": 12.5, "max": 62.4, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 3.1, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332324 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 36.54, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 19.2, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 31.2, \"min\": 12.5, \"max\": 62.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 3.1, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462caa65_3761", "family": "sketched", "tier": 2, "seed": 1177332325, "symmetry": "none", "op_count": 1, "ir_hash": "9998b2325d9a04bc", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 48700.0, "surface_area": 11000.0, "principal_moments": [11100000.0, 15499999.999999998, 15499999.999999998], "n_faces": 6, "n_edges": 9, "n_vertices": 5}, "dimensions": {"lines": ["Revolved organic body from a freeform sketched section (6 segments: 4 straight, 2 curves), ~27.654 \u00d7 42.13 mm half-silhouette."], "text": "Revolved organic body from a freeform sketched section (6 segments: 4 straight, 2 curves), ~27.654 \u00d7 42.13 mm half-silhouette."}, "params": {"sk_r": {"type": "float", "default": 30, "min": 15.0, "max": 54.0, "step": 1.0, "group": "Sketch", "label": "Max radius (mm)"}, "sk_h": {"type": "float", "default": 42.13, "min": 21.1, "max": 75.8, "step": 1.0, "group": "Sketch", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332325 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_r\": {\"type\": 'float', \"default\": 30, \"min\": 15.0, \"max\": 54.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Max radius (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 42.13, \"min\": 21.1, \"max\": 75.8, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XZ').moveTo(p[\"sk_r\"] * 0.8397, p[\"sk_h\"] * 0.0).bezier([(p[\"sk_r\"] * 0.8397, p[\"sk_h\"] * 0.0), (p[\"sk_r\"] * 0.533, p[\"sk_h\"] * 0.3939), (p[\"sk_r\"] * 0.3789, p[\"sk_h\"] * 0.7877)]).lineTo(p[\"sk_r\"] * 0.5393, p[\"sk_h\"] * 0.8093).bezier([(p[\"sk_r\"] * 0.5393, p[\"sk_h\"] * 0.8093), (p[\"sk_r\"] * 0.6295, p[\"sk_h\"] * 0.8641), (p[\"sk_r\"] * 0.9218, p[\"sk_h\"] * 0.919)]).lineTo(p[\"sk_r\"] * 0.8918, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.0, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.0, p[\"sk_h\"] * 0.0).close().revolve())\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462caa66_3762", "family": "plate", "tier": 1, "seed": 1177332326, "symmetry": "none", "op_count": 2, "ir_hash": "b84edcc88b58e3d3", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 2340.0, "surface_area": 1860.0, "principal_moments": [87400.0, 175000.0, 256000.0], "n_faces": 15, "n_edges": 39, "n_vertices": 26}, "dimensions": {"lines": ["Rectangular body, 30 \u00d7 21 \u00d7 4 mm (W\u00d7D\u00d7H).", "Nine \u00d82.5 mm holes in a 3\u00d73 grid, 12 \u00d7 8.4 mm pitch."], "text": "Rectangular body, 30 \u00d7 21 \u00d7 4 mm (W\u00d7D\u00d7H). Nine \u00d82.5 mm holes in a 3\u00d73 grid, 12 \u00d7 8.4 mm pitch."}, "params": {"plate_w": {"type": "float", "default": 30, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 21.0, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 4.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 2.5, "min": 2.0, "max": 2.5, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 3, "min": 1, "max": 4, "step": 1, "group": "Holes", "label": "Holes across"}, "hole_ny": {"type": "int", "default": 3, "min": 1, "max": 4, "step": 1, "group": "Holes", "label": "Holes deep"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332326 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 30, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 21.0, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 4.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 2.5, \"min\": 2.0, \"max\": 2.5, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 3, \"min\": 1, \"max\": 4, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes across'},\n    \"hole_ny\": {\"type\": 'int', \"default\": 3, \"min\": 1, \"max\": 4, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes deep'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(12.0, 8.4, p[\"hole_nx\"], p[\"hole_ny\"])\n        .hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462caa67_3763", "family": "plate", "tier": 2, "seed": 1177332327, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "b22ca334367a5091", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 3290.0, "surface_area": 2460.0, "principal_moments": [143000.0, 416000.0, 550000.0], "n_faces": 22, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 40 \u00d7 23.2 \u00d7 4 mm (W\u00d7D\u00d7H).", "Four 7 \u00d7 4.3 mm slots at the corners, 28 \u00d7 16.24 mm spacing."], "text": "Rectangular body, 40 \u00d7 23.2 \u00d7 4 mm (W\u00d7D\u00d7H). Four 7 \u00d7 4.3 mm slots at the corners, 28 \u00d7 16.24 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 40, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 23.2, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 4.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 5.2, "step": 0.5, "group": "Holes", "label": "Slot width (mm)"}, "hole_slot_len": {"type": "float", "default": 7.0, "min": 6.4, "max": 7.0, "step": 0.5, "group": "Holes", "label": "Slot length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332327 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 40, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 23.2, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 4.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 5.2, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Slot width (mm)'},\n    \"hole_slot_len\": {\"type\": 'float', \"default\": 7.0, \"min\": 6.4, \"max\": 7.0, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Slot length (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().slot2D(p[\"hole_slot_len\"], p[\"hole_d\"]).cutThruAll()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462caa68_3764", "family": "revolved", "tier": 1, "seed": 1177332328, "symmetry": "radial", "op_count": 2, "ir_hash": "77fd35a70cf254a5", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 628.0, "surface_area": 538.0, "principal_moments": [10000.0, 10000.0, 16200.0], "n_faces": 8, "n_edges": 14, "n_vertices": 8}, "dimensions": {"lines": ["Revolved body, \u00d813.04 mm \u00d7 6.3 mm tall with \u00d86.1 mm bore.", "Chamfer 0.7 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d813.04 mm \u00d7 6.3 mm tall with \u00d86.1 mm bore. Chamfer 0.7 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 13.04, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 6.3, "min": 1.9, "max": 18.9, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 6.1, "min": 2.0, "max": 9.1, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "end_chamfer": {"type": "float", "default": 0.7, "min": 0.1, "max": 2.1, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332328 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 13.04, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 6.3, \"min\": 1.9, \"max\": 18.9, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 6.1, \"min\": 2.0, \"max\": 9.1, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.7, \"min\": 0.1, \"max\": 2.1, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462caa69_3765", "family": "compound", "tier": 1, "seed": 1177332329, "symmetry": "mirror_xy", "op_count": 3, "ir_hash": "e297bd496daaf5b8", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 201000.0, "surface_area": 23900.0, "principal_moments": [110000000.0, 112000000.0, 141000000.0], "n_faces": 14, "n_edges": 34, "n_vertices": 22}, "dimensions": {"lines": ["Rectangular body, 65 \u00d7 48.5 \u00d7 64.2 mm (W\u00d7D\u00d7H).", "\u00d812 mm circular section attachment, 10.4 mm long, from back face with a \u00d86 mm bore.", "\u00d812 mm circular section attachment, 10.4 mm long, from left face with a \u00d86 mm bore."], "text": "Rectangular body, 65 \u00d7 48.5 \u00d7 64.2 mm (W\u00d7D\u00d7H). \u00d812 mm circular section attachment, 10.4 mm long, from back face with a \u00d86 mm bore. \u00d812 mm circular section attachment, 10.4 mm long, from left face with a \u00d86 mm bore."}, "params": {"block_w": {"type": "float", "default": 65, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body width (mm)"}, "block_d": {"type": "float", "default": 48.5, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body depth (mm)"}, "block_h": {"type": "float", "default": 64.2, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body height (mm)"}, "port_d": {"type": "float", "default": 12.0, "min": 4.8, "max": 21.8, "step": 1.0, "group": "Ports", "label": "Ports diameter (mm)"}, "port_len": {"type": "float", "default": 10.4, "min": 3.0, "max": 36.0, "step": 1.0, "group": "Ports", "label": "Port boss length (mm)"}, "port_bore": {"type": "float", "default": 6.0, "min": 2.0, "max": 8.6, "step": 0.5, "group": "Ports", "label": "Port bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332329 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 65, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 48.5, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 64.2, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body height (mm)'},\n    \"port_d\": {\"type\": 'float', \"default\": 12.0, \"min\": 4.8, \"max\": 21.8, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Ports diameter (mm)'},\n    \"port_len\": {\"type\": 'float', \"default\": 10.4, \"min\": 3.0, \"max\": 36.0, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Port boss length (mm)'},\n    \"port_bore\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 8.6, \"step\": 0.5, \"group\": 'Ports', \"label\": 'Port bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462caa6a_3766", "family": "bracket", "tier": 1, "seed": 1177332330, "symmetry": "none", "op_count": 1, "ir_hash": "e091201e4596b027", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 17500.0, "surface_area": 10100.0, "principal_moments": [5150000.0, 5390000.0, 7640000.0], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["C-channel bracket: base leg 38.66 mm, vertical leg 29.1 mm, 50 mm wide, 4 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."], "text": "C-channel bracket: base leg 38.66 mm, vertical leg 29.1 mm, 50 mm wide, 4 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 38.66, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 29.1, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 50, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 4.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332330 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 38.66, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 29.1, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 50, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462caa6b_3767", "family": "lofted", "tier": 1, "seed": 1177332331, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "4fc790da6507dd62", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 14100.0, "surface_area": 4360.0, "principal_moments": [1520000.0, 1520000.0, 1880000.0], "n_faces": 9, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["Lofted body through 2 sections: \u00d839.19 mm circular section \u2192 6-sided polygon section, 16.7 mm across corners.", "One \u00d88.7 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 2 sections: \u00d839.19 mm circular section \u2192 6-sided polygon section, 16.7 mm across corners. One \u00d88.7 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 39.19, "min": 19.6, "max": 62.7, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 16.7, "min": 6.7, "max": 47.0, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 25.2, "min": 10.1, "max": 50.4, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_bore_d": {"type": "float", "default": 8.7, "min": 2.0, "max": 13.4, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332331 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 39.19, \"min\": 19.6, \"max\": 62.7, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 16.7, \"min\": 6.7, \"max\": 47.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 25.2, \"min\": 10.1, \"max\": 50.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 8.7, \"min\": 2.0, \"max\": 13.4, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .circle(p[\"loft_base\"] / 2)\n        .workplane(offset=p[\"loft_h\"])\n        .polygon(6, p[\"loft_top\"] * 0.5 * 2)\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462caa6c_3768", "family": "tapped", "tier": 1, "seed": 1177332332, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "3f25d40ee4ae3500", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 3920.0, "surface_area": 1920.0, "principal_moments": [161000.0, 192000.0, 192000.0], "n_faces": 151, "n_edges": 409, "n_vertices": 260}, "dimensions": {"lines": ["One M6x1 tapped hole in a cylinder."], "text": "One M6x1 tapped hole in a cylinder."}, "params": {"major_d": {"type": "float", "default": 6.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 1.0, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 18.5, "min": 7.2, "max": 33.3, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "body_d": {"type": "float", "default": 17.3, "min": 10.8, "max": 27.7, "step": 1.0, "group": "Body", "label": "Outer \u00d8 (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332332 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.0, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 18.5, \"min\": 7.2, \"max\": 33.3, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"body_d\": {\"type\": 'float', \"default\": 17.3, \"min\": 10.8, \"max\": 27.7, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer \u00d8 (mm)'},\n}\n\n\ndef build(p):\n\n    _W = _D = p[\"body_d\"]\n    _H = p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Cylinder(radius=_W / 2, height=_H)\n    _locs = [(0.0, 0.0)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462caa6d_3769", "family": "plate", "tier": 3, "seed": 1177332333, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "e5ab4a7c1c46bd84", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 32200.0, "surface_area": 13200.0, "principal_moments": [7250000.0, 25099999.999999996, 31999999.999999996], "n_faces": 17, "n_edges": 38, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 99.96 \u00d7 53.2 \u00d7 6 mm (W\u00d7D\u00d7H).", "Four \u00d86.4 mm countersunk holes (82\u00b0) at the corners, 69.972 \u00d7 37.24 mm spacing.", "Boss \u00d820.3 mm \u00d7 6.4 mm tall on top face with a \u00d86.4 mm bore."], "text": "Rectangular body, 99.96 \u00d7 53.2 \u00d7 6 mm (W\u00d7D\u00d7H). Four \u00d86.4 mm countersunk holes (82\u00b0) at the corners, 69.972 \u00d7 37.24 mm spacing. Boss \u00d820.3 mm \u00d7 6.4 mm tall on top face with a \u00d86.4 mm bore."}, "params": {"plate_w": {"type": "float", "default": 99.96, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 53.2, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 6.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 12.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "cs_angle": {"type": "float", "default": 82.0, "min": 60.0, "max": 120.0, "step": 15.0, "group": "Holes", "label": "Countersink angle (\u00b0)"}, "boss_d": {"type": "float", "default": 20.3, "min": 10.2, "max": 40.6, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 6.4, "min": 2.6, "max": 16.0, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}, "boss_bore_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 14.2, "step": 0.1, "group": "Boss", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332333 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 99.96, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 53.2, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 12.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"cs_angle\": {\"type\": 'float', \"default\": 82.0, \"min\": 60.0, \"max\": 120.0, \"step\": 15.0, \"group\": 'Holes', \"label\": 'Countersink angle (\u00b0)'},\n    \"boss_d\": {\"type\": 'float', \"default\": 20.3, \"min\": 10.2, \"max\": 40.6, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.6, \"max\": 16.0, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n    \"boss_bore_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 14.2, \"step\": 0.1, \"group\": 'Boss', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().cskHole(p[\"hole_d\"], p[\"hole_d\"] * 2, p[\"cs_angle\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .hole(p[\"boss_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462caa6e_3770", "family": "sketched", "tier": 1, "seed": 1177332334, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "7d65289860c1e030", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 121000.0, "surface_area": 14700.0, "principal_moments": [38900000.0, 56399999.99999999, 56399999.99999999], "n_faces": 7, "n_edges": 11, "n_vertices": 6}, "dimensions": {"lines": ["Revolved organic body from a freeform sketched section (7 segments: 4 straight, 2 arcs, 1 curve), ~29.212 \u00d7 62.65 mm half-silhouette."], "text": "Revolved organic body from a freeform sketched section (7 segments: 4 straight, 2 arcs, 1 curve), ~29.212 \u00d7 62.65 mm half-silhouette."}, "params": {"sk_r": {"type": "float", "default": 40, "min": 20.0, "max": 72.0, "step": 1.0, "group": "Sketch", "label": "Max radius (mm)"}, "sk_h": {"type": "float", "default": 62.65, "min": 31.3, "max": 112.8, "step": 1.0, "group": "Sketch", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332334 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_r\": {\"type\": 'float', \"default\": 40, \"min\": 20.0, \"max\": 72.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Max radius (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 62.65, \"min\": 31.3, \"max\": 112.8, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XZ').moveTo(p[\"sk_r\"] * 0.5075, p[\"sk_h\"] * 0.0).threePointArc((p[\"sk_r\"] * 0.5672, p[\"sk_h\"] * 0.0836), (p[\"sk_r\"] * 0.7303, p[\"sk_h\"] * 0.1672)).lineTo(p[\"sk_r\"] * 0.5496, p[\"sk_h\"] * 0.8081).lineTo(p[\"sk_r\"] * 0.4558, p[\"sk_h\"] * 0.8557).threePointArc((p[\"sk_r\"] * 0.496, p[\"sk_h\"] * 0.8782), (p[\"sk_r\"] * 0.5059, p[\"sk_h\"] * 0.9007)).spline([(p[\"sk_r\"] * 0.5059, p[\"sk_h\"] * 0.9007), (p[\"sk_r\"] * 0.6693, p[\"sk_h\"] * 0.9504), (p[\"sk_r\"] * 0.5939, p[\"sk_h\"] * 1.0)]).lineTo(p[\"sk_r\"] * 0.0, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.0, p[\"sk_h\"] * 0.0).close().revolve())\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462caa6f_3771", "family": "revolved", "tier": 1, "seed": 1177332335, "symmetry": "none", "op_count": 2, "ir_hash": "4fd03a78e4b15cd6", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 85800.0, "surface_area": 18000.0, "principal_moments": [39600000.0, 39600000.0, 42600000.0], "n_faces": 10, "n_edges": 17, "n_vertices": 10}, "dimensions": {"lines": ["Revolved body, \u00d847.29 mm \u00d7 48.9 mm tall with \u00d824.8 mm bore, \u00d868.4 mm \u00d7 12.4 mm flange.", "Chamfer 0.9 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d847.29 mm \u00d7 48.9 mm tall with \u00d824.8 mm bore, \u00d868.4 mm \u00d7 12.4 mm flange. Chamfer 0.9 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 47.29, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 48.9, "min": 14.7, "max": 146.7, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 24.8, "min": 2.0, "max": 33.1, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 68.4, "min": 56.7, "max": 141.9, "step": 1.0, "group": "Body", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 12.4, "min": 3.7, "max": 24.4, "step": 0.5, "group": "Body", "label": "Flange height (mm)"}, "end_chamfer": {"type": "float", "default": 0.9, "min": 0.1, "max": 2.7, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332335 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 47.29, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 48.9, \"min\": 14.7, \"max\": 146.7, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 24.8, \"min\": 2.0, \"max\": 33.1, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 68.4, \"min\": 56.7, \"max\": 141.9, \"step\": 1.0, \"group\": 'Body', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 12.4, \"min\": 3.7, \"max\": 24.4, \"step\": 0.5, \"group\": 'Body', \"label\": 'Flange height (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.9, \"min\": 0.1, \"max\": 2.7, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462caa70_3772", "family": "swept", "tier": 1, "seed": 1177332336, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "672a53a00f55904a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 4710.0, "surface_area": 2600.0, "principal_moments": [223000.0, 2210000.0, 2390000.0], "n_faces": 3, "n_edges": 3, "n_vertices": 2}, "dimensions": {"lines": ["\u00d89.3 mm circular section swept along a curved path, ~75 mm span."], "text": "\u00d89.3 mm circular section swept along a curved path, ~75 mm span."}, "params": {"path_w": {"type": "float", "default": 75, "min": 37.5, "max": 135.0, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 70, "min": 35.0, "max": 126.0, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_d": {"type": "float", "default": 9.3, "min": 4.7, "max": 16.7, "step": 1.0, "group": "Section", "label": "Section diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332336 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 75, \"min\": 37.5, \"max\": 135.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 70, \"min\": 35.0, \"max\": 126.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_d\": {\"type\": 'float', \"default\": 9.3, \"min\": 4.7, \"max\": 16.7, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.062, p[\"path_h\"] * 0.4196), (p[\"path_w\"] * 0.1252, p[\"path_h\"] * 0.6592), (p[\"path_w\"] * 0.3775, p[\"path_h\"] * 0.6699), (p[\"path_w\"] * 0.3611, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').circle(p[\"sweep_d\"] / 2).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462caa71_3773", "family": "block", "tier": 1, "seed": 1177332337, "symmetry": "none", "op_count": 2, "ir_hash": "4d6db08beed0b2de", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 163000.0, "surface_area": 20200.0, "principal_moments": [56799999.99999999, 109000000.0, 121000000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 80 \u00d7 50.6 \u00d7 40.5 mm (W\u00d7D\u00d7H).", "Four \u00d83.2 mm holes at the corners, 56 \u00d7 35.42 mm spacing."], "text": "Rectangular body, 80 \u00d7 50.6 \u00d7 40.5 mm (W\u00d7D\u00d7H). Four \u00d83.2 mm holes at the corners, 56 \u00d7 35.42 mm spacing."}, "params": {"block_w": {"type": "float", "default": 80, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 50.6, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 40.5, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 11.4, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332337 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 80, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 50.6, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 40.5, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 11.4, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462caa72_3774", "family": "sketched", "tier": 1, "seed": 1177332338, "symmetry": "none", "op_count": 1, "ir_hash": "545ffc751c121a9e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 112000.0, "surface_area": 20600.0, "principal_moments": [44100000.0, 49699999.99999999, 49699999.99999999], "n_faces": 7, "n_edges": 12, "n_vertices": 7}, "dimensions": {"lines": ["Revolved organic body from a freeform sketched section (6 segments: 3 straight, 2 arcs, 1 curve), ~30.676 \u00d7 59.9 mm half-silhouette."], "text": "Revolved organic body from a freeform sketched section (6 segments: 3 straight, 2 arcs, 1 curve), ~30.676 \u00d7 59.9 mm half-silhouette."}, "params": {"sk_r": {"type": "float", "default": 40, "min": 20.0, "max": 72.0, "step": 1.0, "group": "Sketch", "label": "Max radius (mm)"}, "sk_h": {"type": "float", "default": 59.9, "min": 29.9, "max": 107.8, "step": 1.0, "group": "Sketch", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332338 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_r\": {\"type\": 'float', \"default\": 40, \"min\": 20.0, \"max\": 72.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Max radius (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 59.9, \"min\": 29.9, \"max\": 107.8, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XZ').moveTo(p[\"sk_r\"] * 0.8164, p[\"sk_h\"] * 0.0).spline([(p[\"sk_r\"] * 0.8164, p[\"sk_h\"] * 0.0), (p[\"sk_r\"] * 0.7081, p[\"sk_h\"] * 0.3294), (p[\"sk_r\"] * 0.3622, p[\"sk_h\"] * 0.6588)]).threePointArc((p[\"sk_r\"] * 0.576, p[\"sk_h\"] * 0.6719), (p[\"sk_r\"] * 0.8631, p[\"sk_h\"] * 0.6851)).threePointArc((p[\"sk_r\"] * 0.5051, p[\"sk_h\"] * 0.7488), (p[\"sk_r\"] * 0.3254, p[\"sk_h\"] * 0.8126)).lineTo(p[\"sk_r\"] * 0.4309, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.0962, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.0962, p[\"sk_h\"] * 0.0).close().revolve())\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462caa73_3775", "family": "revolved", "tier": 2, "seed": 1177332339, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "d10045f7a1fb1825", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 744000.0, "surface_area": 82000.0, "principal_moments": [696000000.0, 2860000000.0, 2860000000.0], "n_faces": 12, "n_edges": 20, "n_vertices": 12}, "dimensions": {"lines": ["Revolved body, \u00d878.66 mm \u00d7 199.6 mm tall with \u00d836.8 mm bore, 10.67 mm-wide groove 5.56 mm deep.", "Chamfer 0.4 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d878.66 mm \u00d7 199.6 mm tall with \u00d836.8 mm bore, 10.67 mm-wide groove 5.56 mm deep. Chamfer 0.4 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 78.66, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 199.6, "min": 59.9, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 36.8, "min": 2.0, "max": 55.1, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "groove_depth": {"type": "float", "default": 5.56, "min": 2.22, "max": 16.68, "step": 0.1, "group": "Body", "label": "Groove depth (mm)"}, "groove_w": {"type": "float", "default": 10.67, "min": 4.27, "max": 32.01, "step": 0.2, "group": "Body", "label": "Groove width (mm)"}, "groove_pos": {"type": "float", "default": 106.0, "min": 29.9, "max": 169.7, "step": 1.0, "group": "Body", "label": "Groove position (mm)"}, "end_chamfer": {"type": "float", "default": 0.4, "min": 0.1, "max": 1.2, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332339 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 78.66, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 199.6, \"min\": 59.9, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 36.8, \"min\": 2.0, \"max\": 55.1, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"groove_depth\": {\"type\": 'float', \"default\": 5.56, \"min\": 2.22, \"max\": 16.68, \"step\": 0.1, \"group\": 'Body', \"label\": 'Groove depth (mm)'},\n    \"groove_w\": {\"type\": 'float', \"default\": 10.67, \"min\": 4.27, \"max\": 32.01, \"step\": 0.2, \"group\": 'Body', \"label\": 'Groove width (mm)'},\n    \"groove_pos\": {\"type\": 'float', \"default\": 106.0, \"min\": 29.9, \"max\": 169.7, \"step\": 1.0, \"group\": 'Body', \"label\": 'Groove position (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.4, \"min\": 0.1, \"max\": 1.2, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"groove_pos\"] - p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2 - p[\"groove_depth\"], p[\"groove_pos\"] - p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2 - p[\"groove_depth\"], p[\"groove_pos\"] + p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2, p[\"groove_pos\"] + p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462caa74_3776", "family": "bracket", "tier": 1, "seed": 1177332340, "symmetry": "none", "op_count": 1, "ir_hash": "833a2f5510102598", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 43500.0, "surface_area": 14100.0, "principal_moments": [9600000.0, 47999999.99999999, 48299999.99999999], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Z-bracket: base leg 64.25 mm, vertical leg 55.4 mm, top leg 49.9 mm, 35.62 mm wide, 8 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."], "text": "Z-bracket: base leg 64.25 mm, vertical leg 55.4 mm, top leg 49.9 mm, 35.62 mm wide, 8 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 64.25, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 55.4, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 35.62, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 8.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 49.9, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332340 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 64.25, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 55.4, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 35.62, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 49.9, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462caa75_3777", "family": "plate", "tier": 1, "seed": 1177332341, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "b759d9eb497ecffc", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 35500.0, "surface_area": 9550.0, "principal_moments": [4660000.0, 19100000.0, 22899999.999999996], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 80 \u00d7 38.1 \u00d7 12 mm (W\u00d7D\u00d7H).", "Four \u00d85.3 mm holes at the corners, 56 \u00d7 26.67 mm spacing."], "text": "Rectangular body, 80 \u00d7 38.1 \u00d7 12 mm (W\u00d7D\u00d7H). Four \u00d85.3 mm holes at the corners, 56 \u00d7 26.67 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 80, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 38.1, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 8.6, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332341 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 80, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 38.1, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 8.6, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462caa76_3778", "family": "bracket", "tier": 1, "seed": 1177332342, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "e4dfcaf753f6c146", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 9840.0, "surface_area": 6030.0, "principal_moments": [975000.0, 4540000.0, 4600000.0], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Z-bracket: base leg 35 mm, vertical leg 35.7 mm, top leg 36.9 mm, 25 mm wide, 4 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."], "text": "Z-bracket: base leg 35 mm, vertical leg 35.7 mm, top leg 36.9 mm, 25 mm wide, 4 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 35, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 35.7, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 25, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 4.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 36.9, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332342 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 35, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 35.7, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 25, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 36.9, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462caa77_3779", "family": "compound", "tier": 1, "seed": 1177332343, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "47e0781c643c8a24", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 118000.0, "surface_area": 15900.0, "principal_moments": [36300000.0, 56799999.99999999, 61599999.99999999], "n_faces": 12, "n_edges": 27, "n_vertices": 18}, "dimensions": {"lines": ["Rectangular body, 65 \u00d7 44.6 \u00d7 40.2 mm (W\u00d7D\u00d7H).", "12.5 \u00d7 8.4 mm rectangular section attachment, 15.3 mm long, from front face with a \u00d83.4 mm bore."], "text": "Rectangular body, 65 \u00d7 44.6 \u00d7 40.2 mm (W\u00d7D\u00d7H). 12.5 \u00d7 8.4 mm rectangular section attachment, 15.3 mm long, from front face with a \u00d83.4 mm bore."}, "params": {"block_w": {"type": "float", "default": 65, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 44.6, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 40.2, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "spig_a": {"type": "float", "default": 12.5, "min": 6.2, "max": 28.1, "step": 1.0, "group": "Spigot", "label": "Spigot width (mm)"}, "spig_b": {"type": "float", "default": 8.4, "min": 4.2, "max": 28.1, "step": 1.0, "group": "Spigot", "label": "Spigot depth (mm)"}, "spig_len": {"type": "float", "default": 15.3, "min": 2.5, "max": 33.6, "step": 1.0, "group": "Spigot", "label": "Spigot length (mm)"}, "spig_bore": {"type": "float", "default": 3.4, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Spigot", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332343 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 65, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 44.6, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 40.2, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"spig_a\": {\"type\": 'float', \"default\": 12.5, \"min\": 6.2, \"max\": 28.1, \"step\": 1.0, \"group\": 'Spigot', \"label\": 'Spigot width (mm)'},\n    \"spig_b\": {\"type\": 'float', \"default\": 8.4, \"min\": 4.2, \"max\": 28.1, \"step\": 1.0, \"group\": 'Spigot', \"label\": 'Spigot depth (mm)'},\n    \"spig_len\": {\"type\": 'float', \"default\": 15.3, \"min\": 2.5, \"max\": 33.6, \"step\": 1.0, \"group\": 'Spigot', \"label\": 'Spigot length (mm)'},\n    \"spig_bore\": {\"type\": 'float', \"default\": 3.4, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Spigot', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .rect(p[\"spig_a\"], p[\"spig_b\"]).extrude(p[\"spig_len\"])\n    )\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"spig_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462caa78_3780", "family": "revolved", "tier": 2, "seed": 1177332344, "symmetry": "none", "op_count": 2, "ir_hash": "6c6038aa20a9dc91", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 3370.0, "surface_area": 2150.0, "principal_moments": [159000.0, 159000.0, 250000.0], "n_faces": 11, "n_edges": 17, "n_vertices": 11}, "dimensions": {"lines": ["Revolved body, \u00d814.57 mm \u00d7 15 mm tall with \u00d826.7 mm \u00d7 4.5 mm flange, 0.87 mm-wide groove 0.75 mm deep.", "Chamfer 0.9 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d814.57 mm \u00d7 15 mm tall with \u00d826.7 mm \u00d7 4.5 mm flange, 0.87 mm-wide groove 0.75 mm deep. Chamfer 0.9 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 14.57, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 15.0, "min": 4.5, "max": 45.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "flange_d": {"type": "float", "default": 26.7, "min": 17.5, "max": 43.7, "step": 1.0, "group": "Body", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 4.5, "min": 1.3, "max": 7.5, "step": 0.5, "group": "Body", "label": "Flange height (mm)"}, "groove_depth": {"type": "float", "default": 0.75, "min": 0.3, "max": 2.25, "step": 0.1, "group": "Body", "label": "Groove depth (mm)"}, "groove_w": {"type": "float", "default": 0.87, "min": 0.35, "max": 2.61, "step": 0.2, "group": "Body", "label": "Groove width (mm)"}, "groove_pos": {"type": "float", "default": 5.8, "min": 2.2, "max": 12.8, "step": 1.0, "group": "Body", "label": "Groove position (mm)"}, "end_chamfer": {"type": "float", "default": 0.9, "min": 0.1, "max": 2.7, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332344 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 14.57, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 15.0, \"min\": 4.5, \"max\": 45.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 26.7, \"min\": 17.5, \"max\": 43.7, \"step\": 1.0, \"group\": 'Body', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 4.5, \"min\": 1.3, \"max\": 7.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Flange height (mm)'},\n    \"groove_depth\": {\"type\": 'float', \"default\": 0.75, \"min\": 0.3, \"max\": 2.25, \"step\": 0.1, \"group\": 'Body', \"label\": 'Groove depth (mm)'},\n    \"groove_w\": {\"type\": 'float', \"default\": 0.87, \"min\": 0.35, \"max\": 2.61, \"step\": 0.2, \"group\": 'Body', \"label\": 'Groove width (mm)'},\n    \"groove_pos\": {\"type\": 'float', \"default\": 5.8, \"min\": 2.2, \"max\": 12.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Groove position (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.9, \"min\": 0.1, \"max\": 2.7, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"groove_pos\"] - p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2 - p[\"groove_depth\"], p[\"groove_pos\"] - p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2 - p[\"groove_depth\"], p[\"groove_pos\"] + p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2, p[\"groove_pos\"] + p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462caa79_3781", "family": "block", "tier": 1, "seed": 1177332345, "symmetry": "radial", "op_count": 2, "ir_hash": "77380fa0eeab82cb", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 235000.0, "surface_area": 34200.0, "principal_moments": [140000000.0, 217000000.0, 314000000.0], "n_faces": 16, "n_edges": 42, "n_vertices": 28}, "dimensions": {"lines": ["Rectangular body, 77.18 \u00d7 33.4 \u00d7 100 mm (W\u00d7D\u00d7H).", "Eight \u00d88.4 mm holes on a \u00d846.4 mm bolt circle."], "text": "Rectangular body, 77.18 \u00d7 33.4 \u00d7 100 mm (W\u00d7D\u00d7H). Eight \u00d88.4 mm holes on a \u00d846.4 mm bolt circle."}, "params": {"block_w": {"type": "float", "default": 77.18, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 33.4, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 100.0, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "bolt_d": {"type": "float", "default": 8.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 23.2, "min": 15.4, "max": 34.7, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 8, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332345 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 77.18, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 33.4, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 100.0, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 23.2, \"min\": 15.4, \"max\": 34.7, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462caa7a_3782", "family": "tapped", "tier": 1, "seed": 1177332346, "symmetry": "none", "op_count": 1, "ir_hash": "fbc2c2932bbac513", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 9990.0, "surface_area": 3750.0, "principal_moments": [870000.0, 870000.0, 1130000.0], "n_faces": 128, "n_edges": 356, "n_vertices": 230}, "dimensions": {"lines": ["One M12x1.75 tapped hole in a cylinder."], "text": "One M12x1.75 tapped hole in a cylinder."}, "params": {"major_d": {"type": "float", "default": 12.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 1.75, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 19.2, "min": 14.4, "max": 34.6, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "body_d": {"type": "float", "default": 28.0, "min": 21.6, "max": 44.8, "step": 1.0, "group": "Body", "label": "Outer \u00d8 (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332346 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 12.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.75, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 19.2, \"min\": 14.4, \"max\": 34.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"body_d\": {\"type\": 'float', \"default\": 28.0, \"min\": 21.6, \"max\": 44.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer \u00d8 (mm)'},\n}\n\n\ndef build(p):\n\n    _W = _D = p[\"body_d\"]\n    _H = p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Cylinder(radius=_W / 2, height=_H)\n    _locs = [(0.0, 0.0)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462caa7b_3783", "family": "revolved", "tier": 0, "seed": 1177332347, "symmetry": "radial", "op_count": 1, "ir_hash": "5cfb0d8b33d9138c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 369.0, "surface_area": 521.0, "principal_moments": [2650.0, 6050.0, 6050.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d86.92 mm \u00d7 14.7 mm tall."], "text": "Revolved body, \u00d86.92 mm \u00d7 14.7 mm tall."}, "params": {"outer_d": {"type": "float", "default": 6.92, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 14.7, "min": 4.4, "max": 44.1, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332347 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 6.92, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 14.7, \"min\": 4.4, \"max\": 44.1, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462caa7c_3784", "family": "bracket", "tier": 2, "seed": 1177332348, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "e90ec17612efdfe3", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 11400.0, "surface_area": 6580.0, "principal_moments": [1710000.0, 5590000.0, 6670000.0], "n_faces": 15, "n_edges": 41, "n_vertices": 26}, "dimensions": {"lines": ["L-bracket: base leg 60 mm, vertical leg 59.9 mm, 20 mm wide, 4 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg; 5.4 mm corner gusset."], "text": "L-bracket: base leg 60 mm, vertical leg 59.9 mm, 20 mm wide, 4 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg; 5.4 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 60, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 59.9, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 20, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 4.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 8.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 5.4, "min": 2.0, "max": 10.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332348 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 60, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 59.9, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 20, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 8.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 5.4, \"min\": 2.0, \"max\": 10.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462caa7d_3785", "family": "ribbed", "tier": 3, "seed": 1177332349, "symmetry": "none", "op_count": 2, "ir_hash": "545305c1b33bfe78", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 13100.0, "surface_area": 8720.0, "principal_moments": [1490000.0, 2340000.0, 3370000.0], "n_faces": 54, "n_edges": 132, "n_vertices": 80}, "dimensions": {"lines": ["Rectangular body, 45.54 \u00d7 26.2 \u00d7 3 mm (W\u00d7D\u00d7H).", "Six ribs, 3.9 mm thick, 11.2 mm tall."], "text": "Rectangular body, 45.54 \u00d7 26.2 \u00d7 3 mm (W\u00d7D\u00d7H). Six ribs, 3.9 mm thick, 11.2 mm tall."}, "params": {"base_w": {"type": "float", "default": 45.54, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 26.2, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 3.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 6, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 11.2, "min": 4.5, "max": 22.4, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 3.9, "min": 1.0, "max": 9.8, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332349 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 45.54, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 26.2, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 6, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 11.2, \"min\": 4.5, \"max\": 22.4, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 3.9, \"min\": 1.0, \"max\": 9.8, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462caa7e_3786", "family": "compound", "tier": 1, "seed": 1177332350, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "42632439cc053074", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 99600.0, "surface_area": 13400.0, "principal_moments": [18200000.0, 71800000.0, 71800000.0], "n_faces": 5, "n_edges": 6, "n_vertices": 4}, "dimensions": {"lines": ["\u00d839.98 mm circular section, extruded 69.5 mm thick.", "\u00d822.9 mm circular section attachment, 29.9 mm long, from top face."], "text": "\u00d839.98 mm circular section, extruded 69.5 mm thick. \u00d822.9 mm circular section attachment, 29.9 mm long, from top face."}, "params": {"shaft_d": {"type": "float", "default": 39.98, "min": 20.0, "max": 72.0, "step": 1.0, "group": "Body", "label": "Shaft diameter (mm)"}, "shaft_len": {"type": "float", "default": 69.5, "min": 27.8, "max": 139.0, "step": 1.0, "group": "Body", "label": "Shaft length (mm)"}, "step_d": {"type": "float", "default": 22.9, "min": 11.4, "max": 36.0, "step": 1.0, "group": "Step", "label": "Step diameter (mm)"}, "step_len": {"type": "float", "default": 29.9, "min": 9.0, "max": 74.8, "step": 1.0, "group": "Step", "label": "Step length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332350 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"shaft_d\": {\"type\": 'float', \"default\": 39.98, \"min\": 20.0, \"max\": 72.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft diameter (mm)'},\n    \"shaft_len\": {\"type\": 'float', \"default\": 69.5, \"min\": 27.8, \"max\": 139.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft length (mm)'},\n    \"step_d\": {\"type\": 'float', \"default\": 22.9, \"min\": 11.4, \"max\": 36.0, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step diameter (mm)'},\n    \"step_len\": {\"type\": 'float', \"default\": 29.9, \"min\": 9.0, \"max\": 74.8, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').circle(p[\"shaft_d\"] / 2).extrude(p[\"shaft_len\"]))\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"step_d\"] / 2).extrude(p[\"step_len\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462caa7f_3787", "family": "bracket", "tier": 1, "seed": 1177332351, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "42cd41ad405899ee", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 18600.0, "surface_area": 7800.0, "principal_moments": [4000000.0, 4820000.0, 7100000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["L-bracket: base leg 35 mm, vertical leg 34.3 mm, 50 mm wide, 6 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."], "text": "L-bracket: base leg 35 mm, vertical leg 34.3 mm, 50 mm wide, 6 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 35, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 34.3, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 50, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 6.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332351 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 35, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 34.3, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 50, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462caa80_3788", "family": "compound", "tier": 2, "seed": 1177332352, "symmetry": "none", "op_count": 3, "ir_hash": "ff1c81aef5737ebb", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 47400.0, "surface_area": 9310.0, "principal_moments": [11899999.999999998, 11899999.999999998, 12799999.999999998], "n_faces": 16, "n_edges": 39, "n_vertices": 26}, "dimensions": {"lines": ["6-sided polygon section, 59.84 mm across corners, extruded 12.3 mm thick.", "\u00d830.5 mm circular section attachment, 25.7 mm long, from top face.", "Fillet radius 1.558 mm on vertical edges."], "text": "6-sided polygon section, 59.84 mm across corners, extruded 12.3 mm thick. \u00d830.5 mm circular section attachment, 25.7 mm long, from top face. Fillet radius 1.558 mm on vertical edges."}, "params": {"base_sides": {"type": "int", "default": 6, "min": 3, "max": 8, "step": 1, "group": "Base", "label": "Base sides"}, "base_r": {"type": "float", "default": 29.92, "min": 18.0, "max": 47.9, "step": 1.0, "group": "Base", "label": "Base circumradius (mm)"}, "base_h": {"type": "float", "default": 12.3, "min": 4.9, "max": 30.8, "step": 1.0, "group": "Base", "label": "Base height (mm)"}, "col_d": {"type": "float", "default": 30.5, "min": 15.2, "max": 41.5, "step": 1.0, "group": "Column", "label": "Column diameter (mm)"}, "col_h": {"type": "float", "default": 25.7, "min": 7.7, "max": 64.2, "step": 1.0, "group": "Column", "label": "Column height (mm)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332352 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_sides\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Base', \"label\": 'Base sides'},\n    \"base_r\": {\"type\": 'float', \"default\": 29.92, \"min\": 18.0, \"max\": 47.9, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base circumradius (mm)'},\n    \"base_h\": {\"type\": 'float', \"default\": 12.3, \"min\": 4.9, \"max\": 30.8, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base height (mm)'},\n    \"col_d\": {\"type\": 'float', \"default\": 30.5, \"min\": 15.2, \"max\": 41.5, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column diameter (mm)'},\n    \"col_h\": {\"type\": 'float', \"default\": 25.7, \"min\": 7.7, \"max\": 64.2, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column height (mm)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').polygon(p[\"base_sides\"], p[\"base_r\"] * 2).extrude(p[\"base_h\"]))\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"col_d\"] / 2).extrude(p[\"col_h\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"base_r\"], p[\"base_r\"]) * 0.05208802090047675)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462caa81_3789", "family": "plate", "tier": 1, "seed": 1177332353, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "8668813651a092ea", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 10900.0, "surface_area": 6480.0, "principal_moments": [1720000.0, 3690000.0, 5380000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 63.69 \u00d7 43.4 \u00d7 4 mm (W\u00d7D\u00d7H).", "Four \u00d83.2 mm holes at the corners, 44.583 \u00d7 30.38 mm spacing."], "text": "Rectangular body, 63.69 \u00d7 43.4 \u00d7 4 mm (W\u00d7D\u00d7H). Four \u00d83.2 mm holes at the corners, 44.583 \u00d7 30.38 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 63.69, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 43.4, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 4.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 9.8, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332353 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 63.69, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 43.4, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 4.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 9.8, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462caa82_3790", "family": "plate", "tier": 2, "seed": 1177332354, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "4a2f07ad4a827f56", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 1570.0, "surface_area": 1280.0, "principal_moments": [24200.0, 55900.0, 63400.0], "n_faces": 22, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 20 \u00d7 11.6 \u00d7 8 mm (W\u00d7D\u00d7H).", "Four 3 mm square holes at the corners, 14 \u00d7 8.12 mm spacing."], "text": "Rectangular body, 20 \u00d7 11.6 \u00d7 8 mm (W\u00d7D\u00d7H). Four 3 mm square holes at the corners, 14 \u00d7 8.12 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 20.0, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 11.6, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.0, "min": 2.0, "max": 3.4, "step": 0.5, "group": "Holes", "label": "Square hole size (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332354 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 20.0, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 11.6, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.0, \"min\": 2.0, \"max\": 3.4, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Square hole size (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().rect(p[\"hole_d\"], p[\"hole_d\"]).cutThruAll()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462caa83_3791", "family": "plate", "tier": 1, "seed": 1177332355, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "e3301e0558876418", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 3400.0, "surface_area": 1990.0, "principal_moments": [116000.0, 183000.0, 263000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 25 \u00d7 19.3 \u00d7 8 mm (W\u00d7D\u00d7H).", "Four \u00d84.3 mm holes at the corners, 17.5 \u00d7 13.51 mm spacing."], "text": "Rectangular body, 25 \u00d7 19.3 \u00d7 8 mm (W\u00d7D\u00d7H). Four \u00d84.3 mm holes at the corners, 17.5 \u00d7 13.51 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 25, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 19.3, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 4.3, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332355 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 25, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 19.3, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 4.3, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462caa84_3792", "family": "lofted", "tier": 3, "seed": 1177332356, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "f0e186a482e9a85f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 149000.0, "surface_area": 19600.0, "principal_moments": [54399999.99999999, 94799999.99999999, 94899999.99999999], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["Lofted body through 3 sections: 6-sided polygon section, 65 mm across corners \u2192 45 \u00d7 45 mm rectangular section \u2192 24.9 \u00d7 24.9 mm rectangular section.", "One \u00d89.7 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 3 sections: 6-sided polygon section, 65 mm across corners \u2192 45 \u00d7 45 mm rectangular section \u2192 24.9 \u00d7 24.9 mm rectangular section. One \u00d89.7 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 65, "min": 32.5, "max": 104.0, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 24.9, "min": 10.0, "max": 78.0, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 81.4, "min": 32.6, "max": 162.8, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_mid": {"type": "float", "default": 45.0, "min": 12.4, "max": 78.0, "step": 1.0, "group": "Body", "label": "Mid size (mm)"}, "loft_bore_d": {"type": "float", "default": 9.7, "min": 2.0, "max": 19.9, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332356 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 65, \"min\": 32.5, \"max\": 104.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 24.9, \"min\": 10.0, \"max\": 78.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 81.4, \"min\": 32.6, \"max\": 162.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_mid\": {\"type\": 'float', \"default\": 45.0, \"min\": 12.4, \"max\": 78.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Mid size (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 9.7, \"min\": 2.0, \"max\": 19.9, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .polygon(6, p[\"loft_base\"] * 0.5 * 2)\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .rect(p[\"loft_mid\"], p[\"loft_mid\"])\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .rect(p[\"loft_top\"], p[\"loft_top\"])\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462caa85_3793", "family": "plate", "tier": 1, "seed": 1177332357, "symmetry": "radial", "op_count": 2, "ir_hash": "c333b38d4d0d665e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 407.0, "surface_area": 634.0, "principal_moments": [3420.0, 21700.0, 24900.0], "n_faces": 24, "n_edges": 66, "n_vertices": 44}, "dimensions": {"lines": ["Rectangular body, 25 \u00d7 10 \u00d7 2 mm (W\u00d7D\u00d7H).", "Twelve \u00d83.2 mm holes on a \u00d815 mm bolt circle."], "text": "Rectangular body, 25 \u00d7 10 \u00d7 2 mm (W\u00d7D\u00d7H). Twelve \u00d83.2 mm holes on a \u00d815 mm bolt circle."}, "params": {"plate_w": {"type": "float", "default": 25, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 10.0, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 2.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "bolt_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 7.5, "min": 5.0, "max": 11.2, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 12, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332357 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 25, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 10.0, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 2.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 7.5, \"min\": 5.0, \"max\": 11.2, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 12, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462caa87_3795", "family": "revolved", "tier": 1, "seed": 1177332359, "symmetry": "radial", "op_count": 2, "ir_hash": "01e0ff907335f750", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 2190.0, "surface_area": 1380.0, "principal_moments": [74800.0, 74800.0, 91700.0], "n_faces": 5, "n_edges": 8, "n_vertices": 5}, "dimensions": {"lines": ["Revolved body, \u00d816.75 mm \u00d7 15.1 mm tall.", "Chamfer 0.8 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d816.75 mm \u00d7 15.1 mm tall. Chamfer 0.8 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 16.75, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 15.1, "min": 4.5, "max": 45.3, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "end_chamfer": {"type": "float", "default": 0.8, "min": 0.1, "max": 2.4, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332359 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 16.75, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 15.1, \"min\": 4.5, \"max\": 45.3, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.8, \"min\": 0.1, \"max\": 2.4, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462caa88_3796", "family": "profiled", "tier": 1, "seed": 1177332360, "symmetry": "none", "op_count": 1, "ir_hash": "0f3e924c67e3d73e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 156000.0, "surface_area": 25000.0, "principal_moments": [20900000.0, 698000000.0, 710000000.0], "n_faces": 7, "n_edges": 15, "n_vertices": 10}, "dimensions": {"lines": ["freeform sketched section (5 segments: 1 straight, 2 arcs, 2 curves), ~21.511 \u00d7 39.054 mm, extruded 230.7 mm thick."], "text": "freeform sketched section (5 segments: 1 straight, 2 arcs, 2 curves), ~21.511 \u00d7 39.054 mm, extruded 230.7 mm thick."}, "params": {"sk_w": {"type": "float", "default": 30.09, "min": 15.0, "max": 54.2, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 51.57, "min": 25.8, "max": 92.8, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "length": {"type": "float", "default": 230.7, "min": 69.2, "max": 692.1, "step": 5.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332360 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 30.09, \"min\": 15.0, \"max\": 54.2, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 51.57, \"min\": 25.8, \"max\": 92.8, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 230.7, \"min\": 69.2, \"max\": 692.1, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.4228, p[\"sk_h\"] * -0.1689).bezier([(p[\"sk_w\"] * 0.4228, p[\"sk_h\"] * -0.1689), (p[\"sk_w\"] * 0.319, p[\"sk_h\"] * 0.1108), (p[\"sk_w\"] * 0.1168, p[\"sk_h\"] * 0.3303)]).threePointArc((p[\"sk_w\"] * -0.0995, p[\"sk_h\"] * 0.3353), (p[\"sk_w\"] * -0.2921, p[\"sk_h\"] * 0.2521)).spline([(p[\"sk_w\"] * -0.2921, p[\"sk_h\"] * 0.2521), (p[\"sk_w\"] * -0.3297, p[\"sk_h\"] * -0.0758), (p[\"sk_w\"] * -0.2363, p[\"sk_h\"] * -0.3923)]).threePointArc((p[\"sk_w\"] * -0.1049, p[\"sk_h\"] * -0.4476), (p[\"sk_w\"] * 0.0508, p[\"sk_h\"] * -0.427)).lineTo(p[\"sk_w\"] * 0.4228, p[\"sk_h\"] * -0.1689).close().extrude(p[\"length\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462caa89_3797", "family": "bracket", "tier": 2, "seed": 1177332361, "symmetry": "none", "op_count": 1, "ir_hash": "9b672e2319d2d078", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 17900.0, "surface_area": 6120.0, "principal_moments": [2210000.0, 5320000.0, 5370000.0], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["L-bracket: base leg 40 mm, vertical leg 44.8 mm, 27.5 mm wide, 8 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 12 mm corner gusset."], "text": "L-bracket: base leg 40 mm, vertical leg 44.8 mm, 27.5 mm wide, 8 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 12 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 40, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 44.8, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 27.5, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 8.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 12.0, "min": 4.0, "max": 13.8, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332361 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 40, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 44.8, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 27.5, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 12.0, \"min\": 4.0, \"max\": 13.8, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462caa8a_3798", "family": "block", "tier": 1, "seed": 1177332362, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "5049e4fb5691b453", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 64400.0, "surface_area": 15500.0, "principal_moments": [11200000.0, 34500000.0, 40600000.0], "n_faces": 15, "n_edges": 39, "n_vertices": 26}, "dimensions": {"lines": ["Rectangular body, 40 \u00d7 21.6 \u00d7 77.1 mm (W\u00d7D\u00d7H).", "Nine \u00d82 mm holes in two staggered rows, 7.5 \u00d7 8.4 mm pitch."], "text": "Rectangular body, 40 \u00d7 21.6 \u00d7 77.1 mm (W\u00d7D\u00d7H). Nine \u00d82 mm holes in two staggered rows, 7.5 \u00d7 8.4 mm pitch."}, "params": {"block_w": {"type": "float", "default": 40, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 21.6, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 77.1, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 2.0, "min": 2.0, "max": 2.2, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 5, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332362 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 40, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 21.6, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 77.1, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 2.0, \"min\": 2.0, \"max\": 2.2, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 5, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 7.5\n    _ssy = 8.4\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462caa8b_3799", "family": "revolved", "tier": 1, "seed": 1177332363, "symmetry": "none", "op_count": 1, "ir_hash": "5cda4b7d59b4b0db", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 24500.0, "surface_area": 7930.0, "principal_moments": [1650000.0, 12999999.999999998, 12999999.999999998], "n_faces": 4, "n_edges": 6, "n_vertices": 4}, "dimensions": {"lines": ["Revolved body, \u00d821.71 mm \u00d7 77.4 mm tall with \u00d88.3 mm bore."], "text": "Revolved body, \u00d821.71 mm \u00d7 77.4 mm tall with \u00d88.3 mm bore."}, "params": {"outer_d": {"type": "float", "default": 21.71, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 77.4, "min": 23.2, "max": 232.2, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 8.3, "min": 2.0, "max": 15.2, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332363 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 21.71, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 77.4, \"min\": 23.2, \"max\": 232.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 8.3, \"min\": 2.0, \"max\": 15.2, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462caa8c_3800", "family": "gear", "tier": 1, "seed": 1177332364, "symmetry": "none", "op_count": 1, "ir_hash": "8c2e82c6715ccd3d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 2290.0, "surface_area": 1680.0, "principal_moments": [81100.0, 81100.0, 146000.0], "n_faces": 135, "n_edges": 399, "n_vertices": 266}, "dimensions": {"lines": ["Spur gear, module 1 mm, 22 teeth (pitch \u00d822 mm), face width 6.4 mm, \u00d84.7 mm bore."], "text": "Spur gear, module 1 mm, 22 teeth (pitch \u00d822 mm), face width 6.4 mm, \u00d84.7 mm bore."}, "params": {"module": {"type": "float", "default": 1.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 22, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 6.4, "min": 2.6, "max": 16.0, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "bore_d": {"type": "float", "default": 4.7, "min": 2.0, "max": 11.7, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332364 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 1.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 22, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.6, \"max\": 16.0, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 4.7, \"min\": 2.0, \"max\": 11.7, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462caa8d_3801", "family": "enclosure", "tier": 2, "seed": 1177332365, "symmetry": "mirror_xy", "op_count": 3, "ir_hash": "494181b04ef9730b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 159000.0, "surface_area": 67500.0, "principal_moments": [260000000.0, 281000000.0, 320000000.0], "n_faces": 15, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 90 \u00d7 83.1 \u00d7 83.1 mm (W\u00d7D\u00d7H).", "Hollowed to 4.9 mm wall thickness, open at top face.", "Four \u00d813 mm holes at the corners, 63 \u00d7 58.17 mm spacing."], "text": "Rectangular body, 90 \u00d7 83.1 \u00d7 83.1 mm (W\u00d7D\u00d7H). Hollowed to 4.9 mm wall thickness, open at top face. Four \u00d813 mm holes at the corners, 63 \u00d7 58.17 mm spacing."}, "params": {"enc_w": {"type": "float", "default": 90, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 83.1, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 83.1, "min": 33.2, "max": 166.2, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 4.9, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}, "hole_d": {"type": "float", "default": 13.0, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332365 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 90, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 83.1, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 83.1, \"min\": 33.2, \"max\": 166.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 4.9, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 13.0, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"enc_w\"] * 0.7, p[\"enc_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462caa8e_3802", "family": "threaded", "tier": 2, "seed": 1177332366, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "367ea535ac2e4d1a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 14000.0, "surface_area": 5310.0, "principal_moments": [729000.0, 2600000.0, 2600000.0], "n_faces": 110, "n_edges": 276, "n_vertices": 168}, "dimensions": {"lines": ["ACME 7/8 external thread, 44.4 mm long."], "text": "ACME 7/8 external thread, 44.4 mm long."}, "params": {"thread_size": {"type": "enum", "default": "7/8", "choices": ["1/4", "5/16", "3/8", "1/2", "5/8", "3/4", "7/8", "1", "1 1/4", "1 1/2"], "group": "Thread", "label": "Size designation"}, "thread_len": {"type": "float", "default": 44.4, "min": 17.8, "max": 88.8, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332366 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"thread_size\": {\"type\": 'enum', \"default\": '7/8', \"choices\": ['1/4', '5/16', '3/8', '1/2', '5/8', '3/4', '7/8', '1', '1 1/4', '1 1/2'], \"group\": 'Thread', \"label\": 'Size designation'},\n    \"thread_len\": {\"type\": 'float', \"default\": 44.4, \"min\": 17.8, \"max\": 88.8, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.AcmeThread(size=p[\"thread_size\"], length=p[\"thread_len\"], external=True, end_finishes=(\"fade\", \"fade\"))\n    _r = _thr.min_radius if hasattr(_thr, 'min_radius') else _thr.root_radius\n    _shank = _bd.Cylinder(radius=_r, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = _shank + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462caa8f_3803", "family": "plate", "tier": 0, "seed": 1177332367, "symmetry": "none", "op_count": 1, "ir_hash": "39256ba213c6e732", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 4660.0, "surface_area": 2940.0, "principal_moments": [181000.0, 1180000.0, 1350000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 55 \u00d7 21.2 \u00d7 4 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 55 \u00d7 21.2 \u00d7 4 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 55, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 21.2, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 4.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332367 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 55, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 21.2, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 4.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462caa90_3804", "family": "enclosure", "tier": 1, "seed": 1177332368, "symmetry": "none", "op_count": 2, "ir_hash": "331c37ee1c4b3deb", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 72700.0, "surface_area": 28800.0, "principal_moments": [33800000.0, 73900000.0, 75400000.0], "n_faces": 11, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 85 \u00d7 40.5 \u00d7 50 mm (W\u00d7D\u00d7H).", "Hollowed to 5.3 mm wall thickness, open at top face."], "text": "Rectangular body, 85 \u00d7 40.5 \u00d7 50 mm (W\u00d7D\u00d7H). Hollowed to 5.3 mm wall thickness, open at top face."}, "params": {"enc_w": {"type": "float", "default": 85, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 40.5, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 50.0, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 5.3, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332368 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 85, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 40.5, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 50.0, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462caa91_3805", "family": "bracket", "tier": 2, "seed": 1177332369, "symmetry": "none", "op_count": 1, "ir_hash": "bd5bdb36a9eb734a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 9550.0, "surface_area": 5550.0, "principal_moments": [1080000.0, 2170000.0, 2790000.0], "n_faces": 15, "n_edges": 41, "n_vertices": 26}, "dimensions": {"lines": ["L-bracket: base leg 25.64 mm, vertical leg 25 mm, 50 mm wide, 4 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 6 mm corner gusset."], "text": "L-bracket: base leg 25.64 mm, vertical leg 25 mm, 50 mm wide, 4 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 6 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 25.64, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 25.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 50, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 4.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 6.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332369 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 25.64, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 25.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 50, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462caa92_3806", "family": "block", "tier": 2, "seed": 1177332370, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "a9c9945bf089f235", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 63400.0, "surface_area": 14900.0, "principal_moments": [13799999.999999998, 26499999.999999996, 35700000.0], "n_faces": 19, "n_edges": 51, "n_vertices": 34}, "dimensions": {"lines": ["Rectangular body, 46.45 \u00d7 20.9 \u00d7 67.6 mm (W\u00d7D\u00d7H).", "Nine \u00d82.1 mm holes in two staggered rows, 8.7 \u00d7 8.1 mm pitch.", "Fillet radius 1.106 mm on vertical edges."], "text": "Rectangular body, 46.45 \u00d7 20.9 \u00d7 67.6 mm (W\u00d7D\u00d7H). Nine \u00d82.1 mm holes in two staggered rows, 8.7 \u00d7 8.1 mm pitch. Fillet radius 1.106 mm on vertical edges."}, "params": {"block_w": {"type": "float", "default": 46.45, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 20.9, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 67.6, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 2.1, "min": 2.0, "max": 2.1, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 5, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332370 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 46.45, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 20.9, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 67.6, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 2.1, \"min\": 2.0, \"max\": 2.1, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 5, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 8.7\n    _ssy = 8.1\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"block_w\"], p[\"block_d\"]) * 0.052927469994625324)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462caa93_3807", "family": "compound", "tier": 1, "seed": 1177332371, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "fe0dac726e76fcb4", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 50800.0, "surface_area": 11400.0, "principal_moments": [14099999.999999998, 14699999.999999998, 14699999.999999998], "n_faces": 11, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["6-sided polygon section, 53.62 mm across corners, extruded 24.5 mm thick.", "\u00d820 mm circular section attachment, 31.8 mm long, from top face with a \u00d810.6 mm bore."], "text": "6-sided polygon section, 53.62 mm across corners, extruded 24.5 mm thick. \u00d820 mm circular section attachment, 31.8 mm long, from top face with a \u00d810.6 mm bore."}, "params": {"base_sides": {"type": "int", "default": 6, "min": 3, "max": 8, "step": 1, "group": "Base", "label": "Base sides"}, "base_r": {"type": "float", "default": 26.81, "min": 16.1, "max": 42.9, "step": 1.0, "group": "Base", "label": "Base circumradius (mm)"}, "base_h": {"type": "float", "default": 24.5, "min": 9.8, "max": 61.2, "step": 1.0, "group": "Base", "label": "Base height (mm)"}, "col_d": {"type": "float", "default": 20.0, "min": 10.0, "max": 37.1, "step": 1.0, "group": "Column", "label": "Column diameter (mm)"}, "col_h": {"type": "float", "default": 31.8, "min": 9.5, "max": 79.5, "step": 1.0, "group": "Column", "label": "Column height (mm)"}, "col_bore": {"type": "float", "default": 10.6, "min": 2.0, "max": 14.4, "step": 0.5, "group": "Column", "label": "Column bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332371 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_sides\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Base', \"label\": 'Base sides'},\n    \"base_r\": {\"type\": 'float', \"default\": 26.81, \"min\": 16.1, \"max\": 42.9, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base circumradius (mm)'},\n    \"base_h\": {\"type\": 'float', \"default\": 24.5, \"min\": 9.8, \"max\": 61.2, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base height (mm)'},\n    \"col_d\": {\"type\": 'float', \"default\": 20.0, \"min\": 10.0, \"max\": 37.1, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column diameter (mm)'},\n    \"col_h\": {\"type\": 'float', \"default\": 31.8, \"min\": 9.5, \"max\": 79.5, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column height (mm)'},\n    \"col_bore\": {\"type\": 'float', \"default\": 10.6, \"min\": 2.0, \"max\": 14.4, \"step\": 0.5, \"group\": 'Column', \"label\": 'Column bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').polygon(p[\"base_sides\"], p[\"base_r\"] * 2).extrude(p[\"base_h\"]))\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"col_d\"] / 2).extrude(p[\"col_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"col_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462caa94_3808", "family": "ribbed", "tier": 2, "seed": 1177332372, "symmetry": "none", "op_count": 3, "ir_hash": "78fb7ee2b6e3addf", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 9400.0, "surface_area": 5700.0, "principal_moments": [713000.0, 1300000.0, 1520000.0], "n_faces": 46, "n_edges": 128, "n_vertices": 80}, "dimensions": {"lines": ["Rectangular body, 36.89 \u00d7 20.5 \u00d7 8 mm (W\u00d7D\u00d7H).", "Four ribs, 3.5 mm thick, 9.9 mm tall.", "Four \u00d84.3 mm holes at the corners, 25.823 \u00d7 14.35 mm spacing."], "text": "Rectangular body, 36.89 \u00d7 20.5 \u00d7 8 mm (W\u00d7D\u00d7H). Four ribs, 3.5 mm thick, 9.9 mm tall. Four \u00d84.3 mm holes at the corners, 25.823 \u00d7 14.35 mm spacing."}, "params": {"base_w": {"type": "float", "default": 36.89, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 20.5, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 8.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 4, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 9.9, "min": 4.0, "max": 19.8, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 3.5, "min": 1.0, "max": 8.8, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 4.6, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332372 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 36.89, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 20.5, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 4, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 9.9, \"min\": 4.0, \"max\": 19.8, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 3.5, \"min\": 1.0, \"max\": 8.8, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 4.6, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"base_w\"] * 0.7, p[\"base_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462caa95_3809", "family": "compound", "tier": 2, "seed": 1177332373, "symmetry": "mirror_xy", "op_count": 5, "ir_hash": "0f610b2b4ed992d4", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 39000.0, "surface_area": 8390.0, "principal_moments": [6900000.0, 7680000.0, 9770000.0], "n_faces": 29, "n_edges": 72, "n_vertices": 48}, "dimensions": {"lines": ["Rectangular body, 40.69 \u00d7 36.4 \u00d7 27.3 mm (W\u00d7D\u00d7H).", "6-sided polygon section, 6 mm across corners attachment, 4.6 mm long, from right face.", "6-sided polygon section, 6 mm across corners attachment, 4.6 mm long, from front face.", "6-sided polygon section, 6 mm across corners attachment, 4.6 mm long, from back face.", "Four \u00d86.4 mm holes at the corners, 28.483 \u00d7 25.48 mm spacing."], "text": "Rectangular body, 40.69 \u00d7 36.4 \u00d7 27.3 mm (W\u00d7D\u00d7H). 6-sided polygon section, 6 mm across corners attachment, 4.6 mm long, from right face. 6-sided polygon section, 6 mm across corners attachment, 4.6 mm long, from front face. 6-sided polygon section, 6 mm across corners attachment, 4.6 mm long, from back face. Four \u00d86.4 mm holes at the corners, 28.483 \u00d7 25.48 mm spacing."}, "params": {"block_w": {"type": "float", "default": 40.69, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body width (mm)"}, "block_d": {"type": "float", "default": 36.4, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body depth (mm)"}, "block_h": {"type": "float", "default": 27.3, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body height (mm)"}, "port_sides": {"type": "int", "default": 6, "min": 3, "max": 8, "step": 1, "group": "Ports", "label": "Ports sides"}, "port_r": {"type": "float", "default": 3.0, "min": 1.5, "max": 6.2, "step": 1.0, "group": "Ports", "label": "Ports circumradius (mm)"}, "port_len": {"type": "float", "default": 4.6, "min": 1.3, "max": 15.6, "step": 1.0, "group": "Ports", "label": "Port boss length (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 8.2, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332373 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 40.69, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 36.4, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 27.3, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body height (mm)'},\n    \"port_sides\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Ports', \"label\": 'Ports sides'},\n    \"port_r\": {\"type\": 'float', \"default\": 3.0, \"min\": 1.5, \"max\": 6.2, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Ports circumradius (mm)'},\n    \"port_len\": {\"type\": 'float', \"default\": 4.6, \"min\": 1.3, \"max\": 15.6, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Port boss length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 8.2, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"port_sides\"], p[\"port_r\"] * 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"port_sides\"], p[\"port_r\"] * 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"port_sides\"], p[\"port_r\"] * 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462caa96_3810", "family": "gear", "tier": 1, "seed": 1177332374, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "05dbbd8987fc5d57", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 6680.0, "surface_area": 3840.0, "principal_moments": [684000.0, 684000.0, 1330000.0], "n_faces": 237, "n_edges": 705, "n_vertices": 470}, "dimensions": {"lines": ["Spur gear, module 1 mm, 39 teeth (pitch \u00d839 mm), face width 5.9 mm, \u00d88.3 mm bore."], "text": "Spur gear, module 1 mm, 39 teeth (pitch \u00d839 mm), face width 5.9 mm, \u00d88.3 mm bore."}, "params": {"module": {"type": "float", "default": 1.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 39, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 5.9, "min": 2.4, "max": 14.8, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "bore_d": {"type": "float", "default": 8.3, "min": 2.0, "max": 21.9, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332374 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 1.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 39, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 5.9, \"min\": 2.4, \"max\": 14.8, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 8.3, \"min\": 2.0, \"max\": 21.9, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462caa97_3811", "family": "block", "tier": 2, "seed": 1177332375, "symmetry": "mirror_xy", "op_count": 3, "ir_hash": "40411146cec4f58b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 498000.0, "surface_area": 49400.0, "principal_moments": [452000000.0, 560000000.0, 727000000.0], "n_faces": 13, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Rectangular body, 86.86 \u00d7 58.9 \u00d7 100 mm (W\u00d7D\u00d7H).", "Four \u00d86.4 mm holes at the corners, 60.802 \u00d7 41.23 mm spacing.", "Boss \u00d812.4 mm \u00d7 11.2 mm tall on top face with a \u00d85.3 mm bore."], "text": "Rectangular body, 86.86 \u00d7 58.9 \u00d7 100 mm (W\u00d7D\u00d7H). Four \u00d86.4 mm holes at the corners, 60.802 \u00d7 41.23 mm spacing. Boss \u00d812.4 mm \u00d7 11.2 mm tall on top face with a \u00d85.3 mm bore."}, "params": {"block_w": {"type": "float", "default": 86.86, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 58.9, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 100.0, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "boss_d": {"type": "float", "default": 12.4, "min": 6.2, "max": 24.8, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 11.2, "min": 4.5, "max": 28.0, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}, "boss_bore_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 8.7, "step": 0.1, "group": "Boss", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332375 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 86.86, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 58.9, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 100.0, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"boss_d\": {\"type\": 'float', \"default\": 12.4, \"min\": 6.2, \"max\": 24.8, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 11.2, \"min\": 4.5, \"max\": 28.0, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n    \"boss_bore_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 8.7, \"step\": 0.1, \"group\": 'Boss', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .hole(p[\"boss_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462caa98_3812", "family": "block", "tier": 1, "seed": 1177332376, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "27f318a340c10946", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 279000.0, "surface_area": 30700.0, "principal_moments": [173000000.0, 214000000.0, 292000000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 85 \u00d7 45.4 \u00d7 73.4 mm (W\u00d7D\u00d7H).", "Four \u00d84.3 mm holes at the corners, 59.5 \u00d7 31.78 mm spacing."], "text": "Rectangular body, 85 \u00d7 45.4 \u00d7 73.4 mm (W\u00d7D\u00d7H). Four \u00d84.3 mm holes at the corners, 59.5 \u00d7 31.78 mm spacing."}, "params": {"block_w": {"type": "float", "default": 85, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 45.4, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 73.4, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 10.2, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332376 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 85, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 45.4, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 73.4, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 10.2, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462caa99_3813", "family": "ribbed", "tier": 1, "seed": 1177332377, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "9562f9b1fdc1b751", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 10200.0, "surface_area": 8170.0, "principal_moments": [1550000.0, 3490000.0, 4770000.0], "n_faces": 30, "n_edges": 72, "n_vertices": 44}, "dimensions": {"lines": ["Rectangular body, 60 \u00d7 36.3 \u00d7 3 mm (W\u00d7D\u00d7H).", "Three ribs, 2.5 mm thick, 10.1 mm tall."], "text": "Rectangular body, 60 \u00d7 36.3 \u00d7 3 mm (W\u00d7D\u00d7H). Three ribs, 2.5 mm thick, 10.1 mm tall."}, "params": {"base_w": {"type": "float", "default": 60, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 36.3, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 3.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 3, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 10.1, "min": 4.0, "max": 20.2, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 2.5, "min": 1.0, "max": 6.2, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332377 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 60, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 36.3, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 3, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 10.1, \"min\": 4.0, \"max\": 20.2, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 2.5, \"min\": 1.0, \"max\": 6.2, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462caa9a_3814", "family": "swept", "tier": 1, "seed": 1177332378, "symmetry": "none", "op_count": 1, "ir_hash": "8f4504da6dead3df", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 7640.0, "surface_area": 3460.0, "principal_moments": [312000.0, 2830000.0, 3000000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["16.6 \u00d7 10.6 mm rectangular section swept along a curved path, ~65 mm span."], "text": "16.6 \u00d7 10.6 mm rectangular section swept along a curved path, ~65 mm span."}, "params": {"path_w": {"type": "float", "default": 35, "min": 17.5, "max": 63.0, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 65, "min": 32.5, "max": 117.0, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_a": {"type": "float", "default": 16.6, "min": 8.3, "max": 29.9, "step": 1.0, "group": "Section", "label": "Section width (mm)"}, "sweep_b": {"type": "float", "default": 10.6, "min": 5.3, "max": 19.1, "step": 1.0, "group": "Section", "label": "Section depth (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332378 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 35, \"min\": 17.5, \"max\": 63.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 65, \"min\": 32.5, \"max\": 117.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_a\": {\"type\": 'float', \"default\": 16.6, \"min\": 8.3, \"max\": 29.9, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section width (mm)'},\n    \"sweep_b\": {\"type\": 'float', \"default\": 10.6, \"min\": 5.3, \"max\": 19.1, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section depth (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.2424, p[\"path_h\"] * 0.4331), (p[\"path_w\"] * 0.0438, p[\"path_h\"] * 0.5735), (p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.7215), (p[\"path_w\"] * 0.085, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').rect(p[\"sweep_a\"], p[\"sweep_b\"]).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462caa9b_3815", "family": "revolved", "tier": 0, "seed": 1177332379, "symmetry": "radial", "op_count": 1, "ir_hash": "7f3d377b99f9d521", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 88.1, "surface_area": 169.0, "principal_moments": [394.0, 394.0, 674.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d87.14 mm \u00d7 3.3 mm tall."], "text": "Revolved body, \u00d87.14 mm \u00d7 3.3 mm tall."}, "params": {"outer_d": {"type": "float", "default": 7.14, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 3.3, "min": 1.0, "max": 9.9, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332379 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 7.14, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 3.3, \"min\": 1.0, \"max\": 9.9, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462caa9c_3816", "family": "bracket", "tier": 1, "seed": 1177332380, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "04a72471d83217a0", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 35100.0, "surface_area": 16400.0, "principal_moments": [10300000.0, 54899999.99999999, 56599999.99999999], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Z-bracket: base leg 65 mm, vertical leg 73.5 mm, top leg 57.5 mm, 37.96 mm wide, 5 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."], "text": "Z-bracket: base leg 65 mm, vertical leg 73.5 mm, top leg 57.5 mm, 37.96 mm wide, 5 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 65.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 73.5, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 37.96, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 5.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 57.5, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332380 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 65.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 73.5, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 37.96, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 57.5, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462caa9d_3817", "family": "block", "tier": 2, "seed": 1177332381, "symmetry": "none", "op_count": 3, "ir_hash": "7bb18f80d1bdd743", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 13900.0, "surface_area": 5550.0, "principal_moments": [1010000.0, 2360000.0, 2690000.0], "n_faces": 25, "n_edges": 87, "n_vertices": 58}, "dimensions": {"lines": ["Rectangular body, 40 \u00d7 16.3 \u00d7 24.7 mm (W\u00d7D\u00d7H).", "Nine \u00d81.8 mm holes in two staggered rows, 7.5 \u00d7 7.2 mm pitch.", "Pocket 23.4 \u00d7 8 mm, 9.5 mm deep, in top face."], "text": "Rectangular body, 40 \u00d7 16.3 \u00d7 24.7 mm (W\u00d7D\u00d7H). Nine \u00d81.8 mm holes in two staggered rows, 7.5 \u00d7 7.2 mm pitch. Pocket 23.4 \u00d7 8 mm, 9.5 mm deep, in top face."}, "params": {"block_w": {"type": "float", "default": 40, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 16.3, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 24.7, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 1.8, "min": 2.0, "max": 1.6, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 5, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}, "pocket_w": {"type": "float", "default": 23.4, "min": 11.7, "max": 32.0, "step": 1.0, "group": "Pocket", "label": "Pocket width (mm)"}, "pocket_d": {"type": "float", "default": 8.0, "min": 4.0, "max": 13.0, "step": 1.0, "group": "Pocket", "label": "Pocket depth (mm)"}, "pocket_h": {"type": "float", "default": 9.5, "min": 3.8, "max": 21.0, "step": 0.5, "group": "Pocket", "label": "Pocket height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332381 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 40, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 16.3, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 24.7, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 1.8, \"min\": 2.0, \"max\": 1.6, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 5, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n    \"pocket_w\": {\"type\": 'float', \"default\": 23.4, \"min\": 11.7, \"max\": 32.0, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket width (mm)'},\n    \"pocket_d\": {\"type\": 'float', \"default\": 8.0, \"min\": 4.0, \"max\": 13.0, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket depth (mm)'},\n    \"pocket_h\": {\"type\": 'float', \"default\": 9.5, \"min\": 3.8, \"max\": 21.0, \"step\": 0.5, \"group\": 'Pocket', \"label\": 'Pocket height (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 7.5\n    _ssy = 7.2\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"pocket_w\"], p[\"pocket_d\"])\n        .cutBlind(-p[\"pocket_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462caa9e_3818", "family": "revolved", "tier": 1, "seed": 1177332382, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "dcf8e6c8d39bdd7a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 8210.0, "surface_area": 3790.0, "principal_moments": [264000.0, 2150000.0, 2150000.0], "n_faces": 8, "n_edges": 14, "n_vertices": 8}, "dimensions": {"lines": ["Revolved body, \u00d815 mm \u00d7 54.6 mm tall with \u00d85.7 mm bore.", "Chamfer 0.8 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d815 mm \u00d7 54.6 mm tall with \u00d85.7 mm bore. Chamfer 0.8 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 15, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 54.6, "min": 16.4, "max": 163.8, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 5.7, "min": 2.0, "max": 10.5, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "end_chamfer": {"type": "float", "default": 0.8, "min": 0.1, "max": 2.4, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332382 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 15, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 54.6, \"min\": 16.4, \"max\": 163.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 5.7, \"min\": 2.0, \"max\": 10.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.8, \"min\": 0.1, \"max\": 2.4, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462caa9f_3819", "family": "bracket", "tier": 2, "seed": 1177332383, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "34bd8787413a9b9e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 34500.0, "surface_area": 13700.0, "principal_moments": [13099999.999999998, 13699999.999999998, 16900000.0], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["C-channel bracket: base leg 40.19 mm, vertical leg 38.6 mm, 55 mm wide, 6 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg; 7.1 mm corner gusset."], "text": "C-channel bracket: base leg 40.19 mm, vertical leg 38.6 mm, 55 mm wide, 6 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg; 7.1 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 40.19, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 38.6, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 55, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 6.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 7.1, "min": 3.0, "max": 18.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332383 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 40.19, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 38.6, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 55, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 7.1, \"min\": 3.0, \"max\": 18.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl / 2, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bl - _bt, _bt).lineTo(_bl - _bt - _g, _bt)\n                    .lineTo(_bl - _bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462caaa0_3820", "family": "plate", "tier": 0, "seed": 1177332384, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "db0e0872406627a2", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 13300.0, "surface_area": 4190.0, "principal_moments": [877000.0, 2940000.0, 3590000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 50.53 \u00d7 26.3 \u00d7 10 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 50.53 \u00d7 26.3 \u00d7 10 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 50.53, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 26.3, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332384 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 50.53, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 26.3, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462caaa1_3821", "family": "compound", "tier": 1, "seed": 1177332385, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "5209eb583a8b3aa0", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 51700.0, "surface_area": 12900.0, "principal_moments": [13799999.999999998, 19800000.0, 19800000.0], "n_faces": 13, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["8-sided polygon section, 51.4 mm across corners, extruded 22.3 mm thick.", "\u00d825.6 mm circular section attachment, 39.2 mm long, from top face with a \u00d814.5 mm bore."], "text": "8-sided polygon section, 51.4 mm across corners, extruded 22.3 mm thick. \u00d825.6 mm circular section attachment, 39.2 mm long, from top face with a \u00d814.5 mm bore."}, "params": {"base_sides": {"type": "int", "default": 8, "min": 3, "max": 8, "step": 1, "group": "Base", "label": "Base sides"}, "base_r": {"type": "float", "default": 25.7, "min": 15.4, "max": 41.1, "step": 1.0, "group": "Base", "label": "Base circumradius (mm)"}, "base_h": {"type": "float", "default": 22.3, "min": 8.9, "max": 55.8, "step": 1.0, "group": "Base", "label": "Base height (mm)"}, "col_d": {"type": "float", "default": 25.6, "min": 12.8, "max": 38.0, "step": 1.0, "group": "Column", "label": "Column diameter (mm)"}, "col_h": {"type": "float", "default": 39.2, "min": 11.8, "max": 98.0, "step": 1.0, "group": "Column", "label": "Column height (mm)"}, "col_bore": {"type": "float", "default": 14.5, "min": 2.0, "max": 18.4, "step": 0.5, "group": "Column", "label": "Column bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332385 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_sides\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Base', \"label\": 'Base sides'},\n    \"base_r\": {\"type\": 'float', \"default\": 25.7, \"min\": 15.4, \"max\": 41.1, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base circumradius (mm)'},\n    \"base_h\": {\"type\": 'float', \"default\": 22.3, \"min\": 8.9, \"max\": 55.8, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base height (mm)'},\n    \"col_d\": {\"type\": 'float', \"default\": 25.6, \"min\": 12.8, \"max\": 38.0, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column diameter (mm)'},\n    \"col_h\": {\"type\": 'float', \"default\": 39.2, \"min\": 11.8, \"max\": 98.0, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column height (mm)'},\n    \"col_bore\": {\"type\": 'float', \"default\": 14.5, \"min\": 2.0, \"max\": 18.4, \"step\": 0.5, \"group\": 'Column', \"label\": 'Column bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').polygon(p[\"base_sides\"], p[\"base_r\"] * 2).extrude(p[\"base_h\"]))\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"col_d\"] / 2).extrude(p[\"col_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"col_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462caaa2_3822", "family": "block", "tier": 2, "seed": 1177332386, "symmetry": "none", "op_count": 3, "ir_hash": "36bb3943b426265a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 222000.0, "surface_area": 29200.0, "principal_moments": [112000000.0, 204000000.0, 279000000.0], "n_faces": 12, "n_edges": 27, "n_vertices": 18}, "dimensions": {"lines": ["Rectangular body, 71.5 \u00d7 31.4 \u00d7 100 mm (W\u00d7D\u00d7H).", "Four \u00d83.2 mm holes at the corners, 50.05 \u00d7 21.98 mm spacing.", "Boss \u00d88.5 mm \u00d7 7.4 mm tall on top face."], "text": "Rectangular body, 71.5 \u00d7 31.4 \u00d7 100 mm (W\u00d7D\u00d7H). Four \u00d83.2 mm holes at the corners, 50.05 \u00d7 21.98 mm spacing. Boss \u00d88.5 mm \u00d7 7.4 mm tall on top face."}, "params": {"block_w": {"type": "float", "default": 71.5, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 31.4, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 100.0, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 7.1, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "boss_d": {"type": "float", "default": 8.5, "min": 4.2, "max": 17.0, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 7.4, "min": 3.0, "max": 18.5, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332386 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 71.5, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 31.4, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 100.0, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 7.1, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"boss_d\": {\"type\": 'float', \"default\": 8.5, \"min\": 4.2, \"max\": 17.0, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 7.4, \"min\": 3.0, \"max\": 18.5, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462caaa3_3823", "family": "ribbed", "tier": 1, "seed": 1177332387, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "6a4e24fd42aa8daf", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 12000.0, "surface_area": 7010.0, "principal_moments": [2250000.0, 3070000.0, 5120000.0], "n_faces": 16, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 50 \u00d7 47.9 \u00d7 4 mm (W\u00d7D\u00d7H).", "Two ribs, 3.7 mm thick, 8.2 mm tall."], "text": "Rectangular body, 50 \u00d7 47.9 \u00d7 4 mm (W\u00d7D\u00d7H). Two ribs, 3.7 mm thick, 8.2 mm tall."}, "params": {"base_w": {"type": "float", "default": 50, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 47.9, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 4.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 2, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 8.2, "min": 3.3, "max": 16.4, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 3.7, "min": 1.0, "max": 9.2, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332387 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 50, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 47.9, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 2, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 8.2, \"min\": 3.3, \"max\": 16.4, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 3.7, \"min\": 1.0, \"max\": 9.2, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462caaa4_3824", "family": "sketched", "tier": 1, "seed": 1177332388, "symmetry": "none", "op_count": 1, "ir_hash": "a30b74728ec3225d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 81300.0, "surface_area": 12800.0, "principal_moments": [20600000.0, 35700000.0, 35700000.0], "n_faces": 7, "n_edges": 11, "n_vertices": 6}, "dimensions": {"lines": ["Revolved organic body from a freeform sketched section (7 segments: 6 straight, 1 arc), ~28.359 \u00d7 67.16 mm half-silhouette."], "text": "Revolved organic body from a freeform sketched section (7 segments: 6 straight, 1 arc), ~28.359 \u00d7 67.16 mm half-silhouette."}, "params": {"sk_r": {"type": "float", "default": 30, "min": 15.0, "max": 54.0, "step": 1.0, "group": "Sketch", "label": "Max radius (mm)"}, "sk_h": {"type": "float", "default": 67.16, "min": 33.6, "max": 120.9, "step": 1.0, "group": "Sketch", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332388 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_r\": {\"type\": 'float', \"default\": 30, \"min\": 15.0, \"max\": 54.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Max radius (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 67.16, \"min\": 33.6, \"max\": 120.9, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XZ').moveTo(p[\"sk_r\"] * 0.1271, p[\"sk_h\"] * 0.0).lineTo(p[\"sk_r\"] * 0.843, p[\"sk_h\"] * 0.1118).threePointArc((p[\"sk_r\"] * 0.6716, p[\"sk_h\"] * 0.1293), (p[\"sk_r\"] * 0.5088, p[\"sk_h\"] * 0.1468)).lineTo(p[\"sk_r\"] * 0.3508, p[\"sk_h\"] * 0.4084).lineTo(p[\"sk_r\"] * 0.9453, p[\"sk_h\"] * 0.6387).lineTo(p[\"sk_r\"] * 0.6344, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.0, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.0, p[\"sk_h\"] * 0.0).close().revolve())\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462caaa5_3825", "family": "revolved", "tier": 2, "seed": 1177332389, "symmetry": "radial", "op_count": 1, "ir_hash": "067ae9b4e3f73404", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 303000.0, "surface_area": 52200.0, "principal_moments": [138000000.0, 729000000.0, 729000000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d855 mm \u00d7 191.5 mm tall."], "text": "Revolved body, \u00d855 mm \u00d7 191.5 mm tall."}, "params": {"outer_d": {"type": "float", "default": 55, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 191.5, "min": 57.4, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332389 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 55, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 191.5, \"min\": 57.4, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462caaa6_3826", "family": "revolved", "tier": 2, "seed": 1177332390, "symmetry": "none", "op_count": 1, "ir_hash": "39492396b218294c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 83700.0, "surface_area": 14200.0, "principal_moments": [33399999.999999996, 33399999.999999996, 58099999.99999999], "n_faces": 4, "n_edges": 6, "n_vertices": 4}, "dimensions": {"lines": ["Revolved body, \u00d870 mm \u00d7 25.1 mm tall with \u00d825.6 mm bore."], "text": "Revolved body, \u00d870 mm \u00d7 25.1 mm tall with \u00d825.6 mm bore."}, "params": {"outer_d": {"type": "float", "default": 70, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 25.1, "min": 7.5, "max": 75.3, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 25.6, "min": 2.0, "max": 49.0, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332390 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 70, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 25.1, \"min\": 7.5, \"max\": 75.3, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 25.6, \"min\": 2.0, \"max\": 49.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462caaa7_3827", "family": "ribbed", "tier": 1, "seed": 1177332391, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "c4c001fa15071c1d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 37900.0, "surface_area": 14600.0, "principal_moments": [9000000.0, 13699999.999999998, 18700000.0], "n_faces": 38, "n_edges": 92, "n_vertices": 56}, "dimensions": {"lines": ["Rectangular body, 60 \u00d7 46.5 \u00d7 8 mm (W\u00d7D\u00d7H).", "Four ribs, 4.7 mm thick, 17.3 mm tall."], "text": "Rectangular body, 60 \u00d7 46.5 \u00d7 8 mm (W\u00d7D\u00d7H). Four ribs, 4.7 mm thick, 17.3 mm tall."}, "params": {"base_w": {"type": "float", "default": 60, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 46.5, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 8.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 4, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 17.3, "min": 6.9, "max": 34.6, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 4.7, "min": 1.0, "max": 11.8, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332391 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 60, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 46.5, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 4, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 17.3, \"min\": 6.9, \"max\": 34.6, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 4.7, \"min\": 1.0, \"max\": 11.8, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462caaa8_3828", "family": "compound", "tier": 1, "seed": 1177332392, "symmetry": "none", "op_count": 2, "ir_hash": "0b954bff5cdca92c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 14600.0, "surface_area": 3870.0, "principal_moments": [1070000.0, 1850000.0, 2050000.0], "n_faces": 8, "n_edges": 15, "n_vertices": 10}, "dimensions": {"lines": ["Rectangular body, 30.09 \u00d7 19.4 \u00d7 23.5 mm (W\u00d7D\u00d7H).", "\u00d88.9 mm circular section attachment, 13.4 mm long, from right face."], "text": "Rectangular body, 30.09 \u00d7 19.4 \u00d7 23.5 mm (W\u00d7D\u00d7H). \u00d88.9 mm circular section attachment, 13.4 mm long, from right face."}, "params": {"block_w": {"type": "float", "default": 30.09, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 19.4, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 23.5, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "spig_d": {"type": "float", "default": 8.9, "min": 3.6, "max": 13.6, "step": 1.0, "group": "Spigot", "label": "Spigot diameter (mm)"}, "spig_len": {"type": "float", "default": 13.4, "min": 2.7, "max": 35.6, "step": 1.0, "group": "Spigot", "label": "Spigot length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332392 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 30.09, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 19.4, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 23.5, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"spig_d\": {\"type\": 'float', \"default\": 8.9, \"min\": 3.6, \"max\": 13.6, \"step\": 1.0, \"group\": 'Spigot', \"label\": 'Spigot diameter (mm)'},\n    \"spig_len\": {\"type\": 'float', \"default\": 13.4, \"min\": 2.7, \"max\": 35.6, \"step\": 1.0, \"group\": 'Spigot', \"label\": 'Spigot length (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"spig_d\"] / 2).extrude(p[\"spig_len\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462caaa9_3829", "family": "plate", "tier": 0, "seed": 1177332393, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "fa9784c3e70ed378", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 5040.0, "surface_area": 2670.0, "principal_moments": [277000.0, 683000.0, 939000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 40 \u00d7 25.2 \u00d7 5 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 40 \u00d7 25.2 \u00d7 5 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 40, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 25.2, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 5.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332393 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 40, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 25.2, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 5.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462caaaa_3830", "family": "block", "tier": 1, "seed": 1177332394, "symmetry": "none", "op_count": 2, "ir_hash": "784b53ad6c584884", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 10100.0, "surface_area": 3910.0, "principal_moments": [834000.0, 877000.0, 1480000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 29.49 \u00d7 11.8 \u00d7 30.1 mm (W\u00d7D\u00d7H).", "Four \u00d82 mm holes at the corners, 20.643 \u00d7 8.26 mm spacing."], "text": "Rectangular body, 29.49 \u00d7 11.8 \u00d7 30.1 mm (W\u00d7D\u00d7H). Four \u00d82 mm holes at the corners, 20.643 \u00d7 8.26 mm spacing."}, "params": {"block_w": {"type": "float", "default": 29.49, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 11.8, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 30.1, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 2.0, "min": 2.0, "max": 2.7, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332394 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 29.49, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 11.8, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 30.1, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 2.0, \"min\": 2.0, \"max\": 2.7, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462caaab_3831", "family": "revolved", "tier": 2, "seed": 1177332395, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "9d6534251ac8811f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 377.0, "surface_area": 442.0, "principal_moments": [3990.0, 3990.0, 5650.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d810 mm \u00d7 7.2 mm tall."], "text": "Revolved body, \u00d810 mm \u00d7 7.2 mm tall."}, "params": {"outer_d": {"type": "float", "default": 10, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 7.2, "min": 2.2, "max": 21.6, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332395 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 10, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 7.2, \"min\": 2.2, \"max\": 21.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462caaac_3832", "family": "bracket", "tier": 1, "seed": 1177332396, "symmetry": "none", "op_count": 1, "ir_hash": "c41cde4c366c96af", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 13800.0, "surface_area": 6330.0, "principal_moments": [2290000.0, 8430000.0, 9790000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["L-bracket: base leg 67.34 mm, vertical leg 54.1 mm, 20 mm wide, 6 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."], "text": "L-bracket: base leg 67.34 mm, vertical leg 54.1 mm, 20 mm wide, 6 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 67.34, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 54.1, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 20, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 6.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 8.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332396 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 67.34, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 54.1, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 20, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 8.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462caaad_3833", "family": "plate", "tier": 1, "seed": 1177332397, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "af6a8c6067ee5e92", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 3310.0, "surface_area": 2330.0, "principal_moments": [103000.0, 553000.0, 647000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 45 \u00d7 19.1 \u00d7 4 mm (W\u00d7D\u00d7H).", "Four \u00d83.2 mm holes at the corners, 31.5 \u00d7 13.37 mm spacing."], "text": "Rectangular body, 45 \u00d7 19.1 \u00d7 4 mm (W\u00d7D\u00d7H). Four \u00d83.2 mm holes at the corners, 31.5 \u00d7 13.37 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 45, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 19.1, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 4.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 4.3, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332397 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 45, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 19.1, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 4.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 4.3, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462caaae_3834", "family": "profiled", "tier": 1, "seed": 1177332398, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "b74cfb84a1a5fd2a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 376000.0, "surface_area": 69800.0, "principal_moments": [141000000.0, 1920000000.0, 1920000000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d850 mm \u00d7 287.5 mm tall."], "text": "Revolved body, \u00d850 mm \u00d7 287.5 mm tall."}, "params": {"outer_d": {"type": "float", "default": 50.0, "min": 25.0, "max": 100.0, "step": 1.0, "group": "Profile", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 287.5, "min": 86.2, "max": 862.5, "step": 5.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332398 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 50.0, \"min\": 25.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Profile', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 287.5, \"min\": 86.2, \"max\": 862.5, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462caaaf_3835", "family": "lofted", "tier": 0, "seed": 1177332399, "symmetry": "none", "op_count": 1, "ir_hash": "c1fb172c94282d6f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 24600.0, "surface_area": 4870.0, "principal_moments": [2550000.0, 4340000.0, 4340000.0], "n_faces": 7, "n_edges": 15, "n_vertices": 10}, "dimensions": {"lines": ["Lofted body through 2 sections: \u00d831.7 mm circular section \u2192 21.9 \u00d7 21.9 mm rectangular section."], "text": "Lofted body through 2 sections: \u00d831.7 mm circular section \u2192 21.9 \u00d7 21.9 mm rectangular section."}, "params": {"loft_base": {"type": "float", "default": 31.7, "min": 15.8, "max": 50.7, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 21.9, "min": 8.8, "max": 38.0, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 39.0, "min": 15.6, "max": 78.0, "step": 1.0, "group": "Body", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332399 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 31.7, \"min\": 15.8, \"max\": 50.7, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 21.9, \"min\": 8.8, \"max\": 38.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 39.0, \"min\": 15.6, \"max\": 78.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .circle(p[\"loft_base\"] / 2)\n        .workplane(offset=p[\"loft_h\"])\n        .rect(p[\"loft_top\"], p[\"loft_top\"])\n        .loft(combine=True)\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462caab0_3836", "family": "revolved", "tier": 1, "seed": 1177332400, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "c95e23c9382c9c55", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 25300.0, "surface_area": 7210.0, "principal_moments": [2910000.0, 8140000.0, 8140000.0], "n_faces": 10, "n_edges": 17, "n_vertices": 10}, "dimensions": {"lines": ["Revolved body, \u00d820.65 mm \u00d7 54.7 mm tall with \u00d86.7 mm bore, \u00d836.2 mm \u00d7 13 mm flange.", "Chamfer 0.9 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d820.65 mm \u00d7 54.7 mm tall with \u00d86.7 mm bore, \u00d836.2 mm \u00d7 13 mm flange. Chamfer 0.9 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 20.65, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 54.7, "min": 16.4, "max": 164.1, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 6.7, "min": 2.0, "max": 14.5, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 36.2, "min": 24.8, "max": 61.9, "step": 1.0, "group": "Body", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 13.0, "min": 3.9, "max": 27.4, "step": 0.5, "group": "Body", "label": "Flange height (mm)"}, "end_chamfer": {"type": "float", "default": 0.9, "min": 0.1, "max": 2.7, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332400 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 20.65, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 54.7, \"min\": 16.4, \"max\": 164.1, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 6.7, \"min\": 2.0, \"max\": 14.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 36.2, \"min\": 24.8, \"max\": 61.9, \"step\": 1.0, \"group\": 'Body', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 13.0, \"min\": 3.9, \"max\": 27.4, \"step\": 0.5, \"group\": 'Body', \"label\": 'Flange height (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.9, \"min\": 0.1, \"max\": 2.7, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462caab1_3837", "family": "plate", "tier": 1, "seed": 1177332401, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "c2c5052c8cdd40b5", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 49000.0, "surface_area": 15300.0, "principal_moments": [14399999.999999998, 45100000.0, 58899999.99999999], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 105 \u00d7 58.9 \u00d7 8 mm (W\u00d7D\u00d7H).", "Four \u00d84.3 mm holes at the corners, 73.5 \u00d7 41.23 mm spacing."], "text": "Rectangular body, 105 \u00d7 58.9 \u00d7 8 mm (W\u00d7D\u00d7H). Four \u00d84.3 mm holes at the corners, 73.5 \u00d7 41.23 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 105, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 58.9, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332401 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 105, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 58.9, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462caab3_3839", "family": "revolved", "tier": 1, "seed": 1177332403, "symmetry": "radial", "op_count": 1, "ir_hash": "c799f1d24e38c0f0", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 5210.0, "surface_area": 2880.0, "principal_moments": [224000.0, 577000.0, 577000.0], "n_faces": 4, "n_edges": 6, "n_vertices": 4}, "dimensions": {"lines": ["Revolved body, \u00d816.54 mm \u00d7 32.7 mm tall with \u00d88.4 mm bore."], "text": "Revolved body, \u00d816.54 mm \u00d7 32.7 mm tall with \u00d88.4 mm bore."}, "params": {"outer_d": {"type": "float", "default": 16.54, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 32.7, "min": 9.8, "max": 98.1, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 8.4, "min": 2.0, "max": 11.6, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332403 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 16.54, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 32.7, \"min\": 9.8, \"max\": 98.1, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 2.0, \"max\": 11.6, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462caab4_3840", "family": "sketched", "tier": 2, "seed": 1177332404, "symmetry": "none", "op_count": 1, "ir_hash": "3bd5830e560cb6d8", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 6480.0, "surface_area": 7150.0, "principal_moments": [639000.0, 639000.0, 778000.0], "n_faces": 7, "n_edges": 11, "n_vertices": 6}, "dimensions": {"lines": ["Revolved organic body from a freeform sketched section (7 segments: 5 straight, 1 arc, 1 curve), ~30.751 \u00d7 20 mm half-silhouette."], "text": "Revolved organic body from a freeform sketched section (7 segments: 5 straight, 1 arc, 1 curve), ~30.751 \u00d7 20 mm half-silhouette."}, "params": {"sk_r": {"type": "float", "default": 35, "min": 17.5, "max": 63.0, "step": 1.0, "group": "Sketch", "label": "Max radius (mm)"}, "sk_h": {"type": "float", "default": 20.0, "min": 10.0, "max": 36.0, "step": 1.0, "group": "Sketch", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332404 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_r\": {\"type\": 'float', \"default\": 35, \"min\": 17.5, \"max\": 63.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Max radius (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 20.0, \"min\": 10.0, \"max\": 36.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XZ').moveTo(p[\"sk_r\"] * 0.1326, p[\"sk_h\"] * 0.0).lineTo(p[\"sk_r\"] * 0.3468, p[\"sk_h\"] * 0.3605).threePointArc((p[\"sk_r\"] * 0.1916, p[\"sk_h\"] * 0.5417), (p[\"sk_r\"] * 0.194, p[\"sk_h\"] * 0.7228)).lineTo(p[\"sk_r\"] * 0.3934, p[\"sk_h\"] * 0.8866).bezier([(p[\"sk_r\"] * 0.3934, p[\"sk_h\"] * 0.8866), (p[\"sk_r\"] * 0.3636, p[\"sk_h\"] * 0.917), (p[\"sk_r\"] * 0.3958, p[\"sk_h\"] * 0.9473)]).lineTo(p[\"sk_r\"] * 0.8786, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.0, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.0, p[\"sk_h\"] * 0.0).close().revolve())\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462caab5_3841", "family": "bracket", "tier": 1, "seed": 1177332405, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "bc890407f2414ebf", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 13500.0, "surface_area": 10200.0, "principal_moments": [2340000.0, 14199999.999999998, 14499999.999999998], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Z-bracket: base leg 64.06 mm, vertical leg 46.4 mm, top leg 46.4 mm, 30 mm wide, 3 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."], "text": "Z-bracket: base leg 64.06 mm, vertical leg 46.4 mm, top leg 46.4 mm, 30 mm wide, 3 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 64.06, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 46.4, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 30, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 3.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 46.4, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332405 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 64.06, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 46.4, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 30, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 46.4, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462caab6_3842", "family": "revolved", "tier": 1, "seed": 1177332406, "symmetry": "none", "op_count": 2, "ir_hash": "b56021e403621c75", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 88300.0, "surface_area": 20000.0, "principal_moments": [42200000.0, 42200000.0, 70300000.0], "n_faces": 10, "n_edges": 17, "n_vertices": 10}, "dimensions": {"lines": ["Revolved body, \u00d847.18 mm \u00d7 31.9 mm tall with \u00d819.7 mm bore, \u00d890.7 mm \u00d7 9 mm flange.", "Chamfer 0.7 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d847.18 mm \u00d7 31.9 mm tall with \u00d819.7 mm bore, \u00d890.7 mm \u00d7 9 mm flange. Chamfer 0.7 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 47.18, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 31.9, "min": 9.6, "max": 95.7, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 19.7, "min": 2.0, "max": 33.0, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 90.7, "min": 56.6, "max": 141.5, "step": 1.0, "group": "Body", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 9.0, "min": 2.7, "max": 15.9, "step": 0.5, "group": "Body", "label": "Flange height (mm)"}, "end_chamfer": {"type": "float", "default": 0.7, "min": 0.1, "max": 2.1, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332406 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 47.18, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 31.9, \"min\": 9.6, \"max\": 95.7, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 19.7, \"min\": 2.0, \"max\": 33.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 90.7, \"min\": 56.6, \"max\": 141.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 9.0, \"min\": 2.7, \"max\": 15.9, \"step\": 0.5, \"group\": 'Body', \"label\": 'Flange height (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.7, \"min\": 0.1, \"max\": 2.1, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462caab7_3843", "family": "gear", "tier": 1, "seed": 1177332407, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "782e4587b056fb7e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 97900.0, "surface_area": 20200.0, "principal_moments": [38600000.0, 38600000.0, 64999999.99999999], "n_faces": 87, "n_edges": 255, "n_vertices": 170}, "dimensions": {"lines": ["Spur gear, module 5 mm, 14 teeth (pitch \u00d870 mm), face width 27.3 mm, \u00d814 mm bore."], "text": "Spur gear, module 5 mm, 14 teeth (pitch \u00d870 mm), face width 27.3 mm, \u00d814 mm bore."}, "params": {"module": {"type": "float", "default": 5.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 14, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 27.3, "min": 10.9, "max": 68.2, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "bore_d": {"type": "float", "default": 14.0, "min": 2.0, "max": 34.5, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332407 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 5.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 14, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 27.3, \"min\": 10.9, \"max\": 68.2, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 14.0, \"min\": 2.0, \"max\": 34.5, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462caab8_3844", "family": "revolved", "tier": 2, "seed": 1177332408, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "b44bd13f116b95e5", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 6150.0, "surface_area": 2780.0, "principal_moments": [168000.0, 1040000.0, 1040000.0], "n_faces": 4, "n_edges": 6, "n_vertices": 4}, "dimensions": {"lines": ["Revolved body, \u00d814.15 mm \u00d7 43.1 mm tall with \u00d84.3 mm bore."], "text": "Revolved body, \u00d814.15 mm \u00d7 43.1 mm tall with \u00d84.3 mm bore."}, "params": {"outer_d": {"type": "float", "default": 14.15, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 43.1, "min": 12.9, "max": 129.3, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 9.9, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332408 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 14.15, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 43.1, \"min\": 12.9, \"max\": 129.3, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 9.9, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462caaba_3846", "family": "bracket", "tier": 2, "seed": 1177332410, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "4b76e156b550c543", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 49100.0, "surface_area": 16600.0, "principal_moments": [41300000.0, 66299999.99999999, 104000000.0], "n_faces": 19, "n_edges": 51, "n_vertices": 34}, "dimensions": {"lines": ["C-channel bracket: base leg 90 mm, vertical leg 90 mm, 22.77 mm wide, 8 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg; 11.5 mm corner gusset."], "text": "C-channel bracket: base leg 90 mm, vertical leg 90 mm, 22.77 mm wide, 8 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg; 11.5 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 90.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 90.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 22.77, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 8.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 9.1, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 11.5, "min": 4.0, "max": 11.4, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332410 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 90.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 90.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 22.77, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 9.1, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 11.5, \"min\": 4.0, \"max\": 11.4, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl / 2, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bl - _bt, _bt).lineTo(_bl - _bt - _g, _bt)\n                    .lineTo(_bl - _bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462caabb_3847", "family": "compound", "tier": 2, "seed": 1177332411, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "deaa62998d6ab5bf", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 69700.0, "surface_area": 14500.0, "principal_moments": [19700000.0, 32699999.999999996, 32699999.999999996], "n_faces": 10, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["5-sided polygon section, 60 mm across corners, extruded 23.1 mm thick.", "\u00d828.5 mm circular section attachment, 43.4 mm long, from top face with a \u00d811.9 mm bore."], "text": "5-sided polygon section, 60 mm across corners, extruded 23.1 mm thick. \u00d828.5 mm circular section attachment, 43.4 mm long, from top face with a \u00d811.9 mm bore."}, "params": {"base_sides": {"type": "int", "default": 5, "min": 3, "max": 8, "step": 1, "group": "Base", "label": "Base sides"}, "base_r": {"type": "float", "default": 30.0, "min": 18.0, "max": 48.0, "step": 1.0, "group": "Base", "label": "Base circumradius (mm)"}, "base_h": {"type": "float", "default": 23.1, "min": 9.2, "max": 57.8, "step": 1.0, "group": "Base", "label": "Base height (mm)"}, "col_d": {"type": "float", "default": 28.5, "min": 14.2, "max": 38.8, "step": 1.0, "group": "Column", "label": "Column diameter (mm)"}, "col_h": {"type": "float", "default": 43.4, "min": 13.0, "max": 108.5, "step": 1.0, "group": "Column", "label": "Column height (mm)"}, "col_bore": {"type": "float", "default": 11.9, "min": 2.0, "max": 20.5, "step": 0.5, "group": "Column", "label": "Column bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332411 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_sides\": {\"type\": 'int', \"default\": 5, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Base', \"label\": 'Base sides'},\n    \"base_r\": {\"type\": 'float', \"default\": 30.0, \"min\": 18.0, \"max\": 48.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base circumradius (mm)'},\n    \"base_h\": {\"type\": 'float', \"default\": 23.1, \"min\": 9.2, \"max\": 57.8, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base height (mm)'},\n    \"col_d\": {\"type\": 'float', \"default\": 28.5, \"min\": 14.2, \"max\": 38.8, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column diameter (mm)'},\n    \"col_h\": {\"type\": 'float', \"default\": 43.4, \"min\": 13.0, \"max\": 108.5, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column height (mm)'},\n    \"col_bore\": {\"type\": 'float', \"default\": 11.9, \"min\": 2.0, \"max\": 20.5, \"step\": 0.5, \"group\": 'Column', \"label\": 'Column bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').polygon(p[\"base_sides\"], p[\"base_r\"] * 2).extrude(p[\"base_h\"]))\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"col_d\"] / 2).extrude(p[\"col_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"col_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462caabc_3848", "family": "compound", "tier": 2, "seed": 1177332412, "symmetry": "none", "op_count": 4, "ir_hash": "9027e8ff8ad66597", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 30500.0, "surface_area": 9020.0, "principal_moments": [4610000.0, 5410000.0, 7500000.0], "n_faces": 17, "n_edges": 50, "n_vertices": 34}, "dimensions": {"lines": ["Rectangular body, 37.03 \u00d7 22.6 \u00d7 36.7 mm (W\u00d7D\u00d7H).", "17.5 \u00d7 21.2 mm rectangular section attachment, 6 mm long, from left face.", "Four \u00d83.2 mm holes at the corners, 10.5 \u00d7 12.72 mm spacing on the <X face.", "Four \u00d84.3 mm holes at the corners, 25.921 \u00d7 15.82 mm spacing."], "text": "Rectangular body, 37.03 \u00d7 22.6 \u00d7 36.7 mm (W\u00d7D\u00d7H). 17.5 \u00d7 21.2 mm rectangular section attachment, 6 mm long, from left face. Four \u00d83.2 mm holes at the corners, 10.5 \u00d7 12.72 mm spacing on the <X face. Four \u00d84.3 mm holes at the corners, 25.921 \u00d7 15.82 mm spacing."}, "params": {"block_w": {"type": "float", "default": 37.03, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 22.6, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 36.7, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "tab_a": {"type": "float", "default": 17.5, "min": 7.0, "max": 28.0, "step": 1.0, "group": "Tab", "label": "Tab width (mm)"}, "tab_b": {"type": "float", "default": 21.2, "min": 8.5, "max": 33.9, "step": 1.0, "group": "Tab", "label": "Tab height (mm)"}, "tab_t": {"type": "float", "default": 6.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Tab", "label": "Tab thickness (mm)"}, "tab_hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 3.9, "step": 0.1, "group": "Tab", "label": "Tab hole diameter (mm)"}, "block_hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 5.1, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332412 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 37.03, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 22.6, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 36.7, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"tab_a\": {\"type\": 'float', \"default\": 17.5, \"min\": 7.0, \"max\": 28.0, \"step\": 1.0, \"group\": 'Tab', \"label\": 'Tab width (mm)'},\n    \"tab_b\": {\"type\": 'float', \"default\": 21.2, \"min\": 8.5, \"max\": 33.9, \"step\": 1.0, \"group\": 'Tab', \"label\": 'Tab height (mm)'},\n    \"tab_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Tab', \"label\": 'Tab thickness (mm)'},\n    \"tab_hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 3.9, \"step\": 0.1, \"group\": 'Tab', \"label\": 'Tab hole diameter (mm)'},\n    \"block_hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 5.1, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .rect(p[\"tab_a\"], p[\"tab_b\"]).extrude(p[\"tab_t\"])\n    )\n    result = (\n        result.faces('<X').workplane()\n        .rect(p[\"tab_a\"] * 0.6, p[\"tab_b\"] * 0.6, forConstruction=True)\n        .vertices().hole(p[\"tab_hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"block_hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462caabd_3849", "family": "compound", "tier": 1, "seed": 1177332413, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "a2e4766cccae52c3", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 90100.0, "surface_area": 19300.0, "principal_moments": [54199999.99999999, 61799999.99999999, 63699999.99999999], "n_faces": 17, "n_edges": 42, "n_vertices": 28}, "dimensions": {"lines": ["Rectangular body, 65 \u00d7 75.9 \u00d7 16 mm (W\u00d7D\u00d7H).", "6-sided polygon section, 18.4 mm across corners attachment, 66.7 mm long, from top face.", "Four \u00d88.4 mm holes at the corners, 45.5 \u00d7 53.13 mm spacing."], "text": "Rectangular body, 65 \u00d7 75.9 \u00d7 16 mm (W\u00d7D\u00d7H). 6-sided polygon section, 18.4 mm across corners attachment, 66.7 mm long, from top face. Four \u00d88.4 mm holes at the corners, 45.5 \u00d7 53.13 mm spacing."}, "params": {"base_w": {"type": "float", "default": 65, "min": 30.0, "max": 160.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 75.9, "min": 25.0, "max": 160.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_h": {"type": "float", "default": 16.0, "min": 3.0, "max": 30.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "col_sides": {"type": "int", "default": 6, "min": 3, "max": 8, "step": 1, "group": "Column", "label": "Column sides"}, "col_r": {"type": "float", "default": 9.2, "min": 4.6, "max": 16.2, "step": 1.0, "group": "Column", "label": "Column circumradius (mm)"}, "col_h": {"type": "float", "default": 66.7, "min": 20.0, "max": 200.1, "step": 1.0, "group": "Column", "label": "Column height (mm)"}, "hole_d": {"type": "float", "default": 8.4, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332413 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 65, \"min\": 30.0, \"max\": 160.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 75.9, \"min\": 25.0, \"max\": 160.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_h\": {\"type\": 'float', \"default\": 16.0, \"min\": 3.0, \"max\": 30.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"col_sides\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Column', \"label\": 'Column sides'},\n    \"col_r\": {\"type\": 'float', \"default\": 9.2, \"min\": 4.6, \"max\": 16.2, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column circumradius (mm)'},\n    \"col_h\": {\"type\": 'float', \"default\": 66.7, \"min\": 20.0, \"max\": 200.1, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_h\"])\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"col_sides\"], p[\"col_r\"] * 2).extrude(p[\"col_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"base_w\"] * 0.7, p[\"base_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462caabe_3850", "family": "revolved", "tier": 0, "seed": 1177332414, "symmetry": "none", "op_count": 1, "ir_hash": "9ba2caad58c2df5d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 228000.0, "surface_area": 40200.0, "principal_moments": [102000000.0, 341000000.0, 341000000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d854.6 mm \u00d7 146.3 mm tall."], "text": "Revolved body, \u00d854.6 mm \u00d7 146.3 mm tall."}, "params": {"outer_d": {"type": "float", "default": 54.6, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 146.3, "min": 43.9, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332414 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 54.6, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 146.3, \"min\": 43.9, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462caabf_3851", "family": "plate", "tier": 3, "seed": 1177332415, "symmetry": "radial", "op_count": 4, "ir_hash": "8d8d752a862cb86b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 1930.0, "surface_area": 1650.0, "principal_moments": [67800.0, 164000.0, 227000.0], "n_faces": 25, "n_edges": 66, "n_vertices": 44}, "dimensions": {"lines": ["Rectangular body, 30 \u00d7 19.6 \u00d7 4 mm (W\u00d7D\u00d7H).", "Four \u00d84.3 mm holes on a \u00d818 mm bolt circle.", "Fillet radius 1.741 mm on vertical edges.", "Pocket 12.2 \u00d7 10.8 mm, 1.5 mm deep, in top face."], "text": "Rectangular body, 30 \u00d7 19.6 \u00d7 4 mm (W\u00d7D\u00d7H). Four \u00d84.3 mm holes on a \u00d818 mm bolt circle. Fillet radius 1.741 mm on vertical edges. Pocket 12.2 \u00d7 10.8 mm, 1.5 mm deep, in top face."}, "params": {"plate_w": {"type": "float", "default": 30, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 19.6, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 4.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "bolt_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 9.0, "min": 6.0, "max": 13.5, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 4, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}, "pocket_w": {"type": "float", "default": 12.2, "min": 6.1, "max": 24.0, "step": 1.0, "group": "Pocket", "label": "Pocket width (mm)"}, "pocket_d": {"type": "float", "default": 10.8, "min": 5.4, "max": 15.7, "step": 1.0, "group": "Pocket", "label": "Pocket depth (mm)"}, "pocket_h": {"type": "float", "default": 1.5, "min": 0.6, "max": 3.4, "step": 0.5, "group": "Pocket", "label": "Pocket height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332415 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 30, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 19.6, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 4.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 9.0, \"min\": 6.0, \"max\": 13.5, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 4, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n    \"pocket_w\": {\"type\": 'float', \"default\": 12.2, \"min\": 6.1, \"max\": 24.0, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket width (mm)'},\n    \"pocket_d\": {\"type\": 'float', \"default\": 10.8, \"min\": 5.4, \"max\": 15.7, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket depth (mm)'},\n    \"pocket_h\": {\"type\": 'float', \"default\": 1.5, \"min\": 0.6, \"max\": 3.4, \"step\": 0.5, \"group\": 'Pocket', \"label\": 'Pocket height (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"plate_w\"], p[\"plate_d\"]) * 0.08885169319231898)\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"pocket_w\"], p[\"pocket_d\"])\n        .cutBlind(-p[\"pocket_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462caac0_3852", "family": "compound", "tier": 2, "seed": 1177332416, "symmetry": "none", "op_count": 2, "ir_hash": "8f7ccfa059d3ad19", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 45000.0, "surface_area": 11200.0, "principal_moments": [9630000.0, 16800000.0, 16800000.0], "n_faces": 11, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["6-sided polygon section, 50 mm across corners, extruded 19.9 mm thick.", "\u00d823.9 mm circular section attachment, 40.6 mm long, from top face with a \u00d810.8 mm bore."], "text": "6-sided polygon section, 50 mm across corners, extruded 19.9 mm thick. \u00d823.9 mm circular section attachment, 40.6 mm long, from top face with a \u00d810.8 mm bore."}, "params": {"base_sides": {"type": "int", "default": 6, "min": 3, "max": 8, "step": 1, "group": "Base", "label": "Base sides"}, "base_r": {"type": "float", "default": 25, "min": 15.0, "max": 40.0, "step": 1.0, "group": "Base", "label": "Base circumradius (mm)"}, "base_h": {"type": "float", "default": 19.9, "min": 8.0, "max": 49.8, "step": 1.0, "group": "Base", "label": "Base height (mm)"}, "col_d": {"type": "float", "default": 23.9, "min": 11.9, "max": 34.6, "step": 1.0, "group": "Column", "label": "Column diameter (mm)"}, "col_h": {"type": "float", "default": 40.6, "min": 12.2, "max": 101.5, "step": 1.0, "group": "Column", "label": "Column height (mm)"}, "col_bore": {"type": "float", "default": 10.8, "min": 2.0, "max": 17.2, "step": 0.5, "group": "Column", "label": "Column bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332416 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_sides\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Base', \"label\": 'Base sides'},\n    \"base_r\": {\"type\": 'float', \"default\": 25, \"min\": 15.0, \"max\": 40.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base circumradius (mm)'},\n    \"base_h\": {\"type\": 'float', \"default\": 19.9, \"min\": 8.0, \"max\": 49.8, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base height (mm)'},\n    \"col_d\": {\"type\": 'float', \"default\": 23.9, \"min\": 11.9, \"max\": 34.6, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column diameter (mm)'},\n    \"col_h\": {\"type\": 'float', \"default\": 40.6, \"min\": 12.2, \"max\": 101.5, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column height (mm)'},\n    \"col_bore\": {\"type\": 'float', \"default\": 10.8, \"min\": 2.0, \"max\": 17.2, \"step\": 0.5, \"group\": 'Column', \"label\": 'Column bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').polygon(p[\"base_sides\"], p[\"base_r\"] * 2).extrude(p[\"base_h\"]))\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"col_d\"] / 2).extrude(p[\"col_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"col_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462caac1_3853", "family": "bracket", "tier": 2, "seed": 1177332417, "symmetry": "none", "op_count": 1, "ir_hash": "ae9d657965c0b560", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 46000.0, "surface_area": 17500.0, "principal_moments": [19000000.0, 38100000.0, 41600000.0], "n_faces": 15, "n_edges": 41, "n_vertices": 26}, "dimensions": {"lines": ["L-bracket: base leg 70 mm, vertical leg 65.1 mm, 55.85 mm wide, 6 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg; 6.8 mm corner gusset."], "text": "L-bracket: base leg 70 mm, vertical leg 65.1 mm, 55.85 mm wide, 6 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg; 6.8 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 70, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 65.1, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 55.85, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 6.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 6.8, "min": 3.0, "max": 18.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332417 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 70, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 65.1, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 55.85, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 6.8, \"min\": 3.0, \"max\": 18.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462caac2_3854", "family": "profiled", "tier": 1, "seed": 1177332418, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "a8d74964195f8bdb", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 218000.0, "surface_area": 33200.0, "principal_moments": [27599999.999999996, 1650000000.0, 1650000000.0], "n_faces": 7, "n_edges": 15, "n_vertices": 10}, "dimensions": {"lines": ["freeform sketched section (5 segments: 3 straight, 1 arc, 1 curve), ~38.457 \u00d7 27.012 mm, extruded 300 mm thick."], "text": "freeform sketched section (5 segments: 3 straight, 1 arc, 1 curve), ~38.457 \u00d7 27.012 mm, extruded 300 mm thick."}, "params": {"sk_w": {"type": "float", "default": 49.77, "min": 24.9, "max": 89.6, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 40, "min": 20.0, "max": 72.0, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "length": {"type": "float", "default": 300.0, "min": 90.0, "max": 900.0, "step": 5.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332418 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 49.77, \"min\": 24.9, \"max\": 89.6, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 40, \"min\": 20.0, \"max\": 72.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 300.0, \"min\": 90.0, \"max\": 900.0, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.4169, p[\"sk_h\"] * 0.086).spline([(p[\"sk_w\"] * 0.4169, p[\"sk_h\"] * 0.086), (p[\"sk_w\"] * 0.3134, p[\"sk_h\"] * 0.2348), (p[\"sk_w\"] * 0.1465, p[\"sk_h\"] * 0.3053)]).threePointArc((p[\"sk_w\"] * -0.1149, p[\"sk_h\"] * 0.3307), (p[\"sk_w\"] * -0.3558, p[\"sk_h\"] * 0.2956)).lineTo(p[\"sk_w\"] * -0.259, p[\"sk_h\"] * -0.2472).lineTo(p[\"sk_w\"] * 0.0163, p[\"sk_h\"] * -0.37).lineTo(p[\"sk_w\"] * 0.4169, p[\"sk_h\"] * 0.086).close().extrude(p[\"length\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462caac3_3855", "family": "lofted", "tier": 1, "seed": 1177332419, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "5cffb92c3bd18f70", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 35800.0, "surface_area": 8410.0, "principal_moments": [7610000.0, 7610000.0, 9070000.0], "n_faces": 9, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["Lofted body through 2 sections: 6-sided polygon section, 55.1 mm across corners \u2192 \u00d828.6 mm circular section.", "One \u00d815.7 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 2 sections: 6-sided polygon section, 55.1 mm across corners \u2192 \u00d828.6 mm circular section. One \u00d815.7 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 55.1, "min": 27.6, "max": 88.2, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 28.6, "min": 11.4, "max": 66.1, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 34.0, "min": 13.6, "max": 68.0, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_bore_d": {"type": "float", "default": 15.7, "min": 2.0, "max": 22.9, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332419 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 55.1, \"min\": 27.6, \"max\": 88.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 28.6, \"min\": 11.4, \"max\": 66.1, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 34.0, \"min\": 13.6, \"max\": 68.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 15.7, \"min\": 2.0, \"max\": 22.9, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .polygon(6, p[\"loft_base\"] * 0.5 * 2)\n        .workplane(offset=p[\"loft_h\"])\n        .circle(p[\"loft_top\"] / 2)\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462caac4_3856", "family": "swept", "tier": 1, "seed": 1177332420, "symmetry": "none", "op_count": 1, "ir_hash": "d4dbda9d2483c717", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 15600.0, "surface_area": 5120.0, "principal_moments": [478000.0, 17900000.0, 18000000.0], "n_faces": 3, "n_edges": 3, "n_vertices": 2}, "dimensions": {"lines": ["\u00d813.6 mm circular section swept along a curved path, ~105 mm span."], "text": "\u00d813.6 mm circular section swept along a curved path, ~105 mm span."}, "params": {"path_w": {"type": "float", "default": 78.73, "min": 39.4, "max": 141.7, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 105, "min": 52.5, "max": 189.0, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_d": {"type": "float", "default": 13.6, "min": 6.8, "max": 24.5, "step": 1.0, "group": "Section", "label": "Section diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332420 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 78.73, \"min\": 39.4, \"max\": 141.7, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 105, \"min\": 52.5, \"max\": 189.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_d\": {\"type\": 'float', \"default\": 13.6, \"min\": 6.8, \"max\": 24.5, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.0894, p[\"path_h\"] * 0.206), (p[\"path_w\"] * 0.1456, p[\"path_h\"] * 0.4002), (p[\"path_w\"] * 0.5609, p[\"path_h\"] * 0.8968), (p[\"path_w\"] * 0.6453, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').circle(p[\"sweep_d\"] / 2).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462caac5_3857", "family": "profiled", "tier": 2, "seed": 1177332421, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "2e26084f48f66bcb", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 80800.0, "surface_area": 24400.0, "principal_moments": [9270000.0, 234000000.0, 234000000.0], "n_faces": 4, "n_edges": 6, "n_vertices": 4}, "dimensions": {"lines": ["Revolved body, \u00d827.16 mm \u00d7 184.4 mm tall with \u00d813.4 mm bore."], "text": "Revolved body, \u00d827.16 mm \u00d7 184.4 mm tall with \u00d813.4 mm bore."}, "params": {"outer_d": {"type": "float", "default": 27.16, "min": 13.6, "max": 54.3, "step": 1.0, "group": "Profile", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 184.4, "min": 55.3, "max": 553.2, "step": 5.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 13.4, "min": 2.0, "max": 21.7, "step": 0.5, "group": "Profile", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332421 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 27.16, \"min\": 13.6, \"max\": 54.3, \"step\": 1.0, \"group\": 'Profile', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 184.4, \"min\": 55.3, \"max\": 553.2, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 13.4, \"min\": 2.0, \"max\": 21.7, \"step\": 0.5, \"group\": 'Profile', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462caac6_3858", "family": "block", "tier": 1, "seed": 1177332422, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "4add60a8f581b968", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 41100.0, "surface_area": 13100.0, "principal_moments": [6120000.0, 16900000.0, 21200000.0], "n_faces": 22, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 40 \u00d7 16.5 \u00d7 68.3 mm (W\u00d7D\u00d7H).", "Four 3.8 mm square holes at the corners, 28 \u00d7 11.55 mm spacing."], "text": "Rectangular body, 40 \u00d7 16.5 \u00d7 68.3 mm (W\u00d7D\u00d7H). Four 3.8 mm square holes at the corners, 28 \u00d7 11.55 mm spacing."}, "params": {"block_w": {"type": "float", "default": 40, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 16.5, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 68.3, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 3.8, "min": 2.0, "max": 4.8, "step": 0.5, "group": "Holes", "label": "Square hole size (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332422 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 40, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 16.5, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 68.3, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.8, \"min\": 2.0, \"max\": 4.8, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Square hole size (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().rect(p[\"hole_d\"], p[\"hole_d\"]).cutThruAll()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462caac7_3859", "family": "bracket", "tier": 2, "seed": 1177332423, "symmetry": "none", "op_count": 1, "ir_hash": "ed331a15636a6236", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 57400.0, "surface_area": 22000.0, "principal_moments": [21700000.0, 80300000.0, 85200000.0], "n_faces": 18, "n_edges": 48, "n_vertices": 32}, "dimensions": {"lines": ["Z-bracket: base leg 65 mm, vertical leg 65.1 mm, top leg 57.1 mm, 53.31 mm wide, 6 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg; 6.1 mm corner gusset."], "text": "Z-bracket: base leg 65 mm, vertical leg 65.1 mm, top leg 57.1 mm, 53.31 mm wide, 6 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg; 6.1 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 65, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 65.1, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 53.31, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 6.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 57.1, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}, "gusset_t": {"type": "float", "default": 6.1, "min": 3.0, "max": 18.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332423 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 65, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 65.1, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 53.31, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 57.1, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 6.1, \"min\": 3.0, \"max\": 18.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _tl, _vl) * 0.4 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(0, _vl - _bt).lineTo(-_g, _vl - _bt)\n                    .lineTo(0, _vl - _bt - _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462caac8_3860", "family": "ribbed", "tier": 1, "seed": 1177332424, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "07337d10c237a8f5", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 26900.0, "surface_area": 12500.0, "principal_moments": [6600000.0, 17000000.0, 23199999.999999996], "n_faces": 30, "n_edges": 72, "n_vertices": 44}, "dimensions": {"lines": ["Rectangular body, 83.65 \u00d7 47.9 \u00d7 5 mm (W\u00d7D\u00d7H).", "Three ribs, 5.9 mm thick, 5.8 mm tall."], "text": "Rectangular body, 83.65 \u00d7 47.9 \u00d7 5 mm (W\u00d7D\u00d7H). Three ribs, 5.9 mm thick, 5.8 mm tall."}, "params": {"base_w": {"type": "float", "default": 83.65, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 47.9, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 5.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 3, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 5.8, "min": 2.3, "max": 11.6, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 5.9, "min": 1.0, "max": 14.8, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332424 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 83.65, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 47.9, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 3, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 5.8, \"min\": 2.3, \"max\": 11.6, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 5.9, \"min\": 1.0, \"max\": 14.8, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462caac9_3861", "family": "block", "tier": 1, "seed": 1177332425, "symmetry": "none", "op_count": 2, "ir_hash": "ba990b7ea030da8f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 2780.0, "surface_area": 1740.0, "principal_moments": [85300.0, 106000.0, 158000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 20 \u00d7 8.7 \u00d7 17.2 mm (W\u00d7D\u00d7H).", "Four \u00d82 mm holes at the corners, 14 \u00d7 6.09 mm spacing."], "text": "Rectangular body, 20 \u00d7 8.7 \u00d7 17.2 mm (W\u00d7D\u00d7H). Four \u00d82 mm holes at the corners, 14 \u00d7 6.09 mm spacing."}, "params": {"block_w": {"type": "float", "default": 20, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 8.7, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 17.2, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 2.0, "min": 2.0, "max": 2.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332425 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 20, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 8.7, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 17.2, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 2.0, \"min\": 2.0, \"max\": 2.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462caaca_3862", "family": "compound", "tier": 1, "seed": 1177332426, "symmetry": "mirror_xy", "op_count": 3, "ir_hash": "797fb2a11d9d92f0", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 220000.0, "surface_area": 25600.0, "principal_moments": [126000000.0, 135000000.0, 195000000.0], "n_faces": 24, "n_edges": 63, "n_vertices": 41}, "dimensions": {"lines": ["Rectangular body, 71.05 \u00d7 74.3 \u00d7 42.2 mm (W\u00d7D\u00d7H).", "6-sided polygon section, 10.8 mm across corners attachment, 4.7 mm long, from front face with a \u00d85.6 mm bore.", "6-sided polygon section, 10.8 mm across corners attachment, 4.7 mm long, from left face with a \u00d85.6 mm bore."], "text": "Rectangular body, 71.05 \u00d7 74.3 \u00d7 42.2 mm (W\u00d7D\u00d7H). 6-sided polygon section, 10.8 mm across corners attachment, 4.7 mm long, from front face with a \u00d85.6 mm bore. 6-sided polygon section, 10.8 mm across corners attachment, 4.7 mm long, from left face with a \u00d85.6 mm bore."}, "params": {"block_w": {"type": "float", "default": 71.05, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body width (mm)"}, "block_d": {"type": "float", "default": 74.3, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body depth (mm)"}, "block_h": {"type": "float", "default": 42.2, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body height (mm)"}, "port_sides": {"type": "int", "default": 6, "min": 3, "max": 8, "step": 1, "group": "Ports", "label": "Ports sides"}, "port_r": {"type": "float", "default": 5.4, "min": 2.7, "max": 9.5, "step": 1.0, "group": "Ports", "label": "Ports circumradius (mm)"}, "port_len": {"type": "float", "default": 4.7, "min": 2.3, "max": 28.1, "step": 1.0, "group": "Ports", "label": "Port boss length (mm)"}, "port_bore": {"type": "float", "default": 5.6, "min": 2.0, "max": 6.7, "step": 0.5, "group": "Ports", "label": "Port bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332426 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 71.05, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 74.3, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 42.2, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body height (mm)'},\n    \"port_sides\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Ports', \"label\": 'Ports sides'},\n    \"port_r\": {\"type\": 'float', \"default\": 5.4, \"min\": 2.7, \"max\": 9.5, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Ports circumradius (mm)'},\n    \"port_len\": {\"type\": 'float', \"default\": 4.7, \"min\": 2.3, \"max\": 28.1, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Port boss length (mm)'},\n    \"port_bore\": {\"type\": 'float', \"default\": 5.6, \"min\": 2.0, \"max\": 6.7, \"step\": 0.5, \"group\": 'Ports', \"label\": 'Port bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"port_sides\"], p[\"port_r\"] * 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"port_sides\"], p[\"port_r\"] * 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462caacb_3863", "family": "ribbed", "tier": 1, "seed": 1177332427, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "7f0cc3eed10ff0bf", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 33800.0, "surface_area": 16200.0, "principal_moments": [7820000.0, 14999999.999999998, 19600000.0], "n_faces": 38, "n_edges": 92, "n_vertices": 56}, "dimensions": {"lines": ["Rectangular body, 68.26 \u00d7 43.1 \u00d7 8 mm (W\u00d7D\u00d7H).", "Four ribs, 2.6 mm thick, 18.1 mm tall."], "text": "Rectangular body, 68.26 \u00d7 43.1 \u00d7 8 mm (W\u00d7D\u00d7H). Four ribs, 2.6 mm thick, 18.1 mm tall."}, "params": {"base_w": {"type": "float", "default": 68.26, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 43.1, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 8.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 4, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 18.1, "min": 7.2, "max": 36.2, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 2.6, "min": 1.0, "max": 6.5, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332427 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 68.26, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 43.1, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 4, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 18.1, \"min\": 7.2, \"max\": 36.2, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 2.6, \"min\": 1.0, \"max\": 6.5, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462caacc_3864", "family": "compound", "tier": 1, "seed": 1177332428, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "6c44934a6823ead7", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 76200.0, "surface_area": 13500.0, "principal_moments": [25499999.999999996, 25499999.999999996, 27799999.999999996], "n_faces": 10, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["Lofted body through 2 sections: 58.77 \u00d7 58.77 mm rectangular section \u2192 \u00d828.9 mm circular section.", "\u00d816.7 mm circular section attachment, 17.7 mm long, from top face with a \u00d88.5 mm bore."], "text": "Lofted body through 2 sections: 58.77 \u00d7 58.77 mm rectangular section \u2192 \u00d828.9 mm circular section. \u00d816.7 mm circular section attachment, 17.7 mm long, from top face with a \u00d88.5 mm bore."}, "params": {"adapter_base": {"type": "float", "default": 58.77, "min": 35.3, "max": 88.2, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "adapter_top": {"type": "float", "default": 28.9, "min": 14.4, "max": 58.8, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "adapter_h": {"type": "float", "default": 40.2, "min": 16.1, "max": 80.4, "step": 1.0, "group": "Body", "label": "Transition height (mm)"}, "neck_d": {"type": "float", "default": 16.7, "min": 6.7, "max": 28.9, "step": 1.0, "group": "Neck", "label": "Neck diameter (mm)"}, "neck_l": {"type": "float", "default": 17.7, "min": 7.1, "max": 44.2, "step": 1.0, "group": "Neck", "label": "Neck length (mm)"}, "neck_bore": {"type": "float", "default": 8.5, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Neck", "label": "Neck bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332428 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"adapter_base\": {\"type\": 'float', \"default\": 58.77, \"min\": 35.3, \"max\": 88.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"adapter_top\": {\"type\": 'float', \"default\": 28.9, \"min\": 14.4, \"max\": 58.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"adapter_h\": {\"type\": 'float', \"default\": 40.2, \"min\": 16.1, \"max\": 80.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Transition height (mm)'},\n    \"neck_d\": {\"type\": 'float', \"default\": 16.7, \"min\": 6.7, \"max\": 28.9, \"step\": 1.0, \"group\": 'Neck', \"label\": 'Neck diameter (mm)'},\n    \"neck_l\": {\"type\": 'float', \"default\": 17.7, \"min\": 7.1, \"max\": 44.2, \"step\": 1.0, \"group\": 'Neck', \"label\": 'Neck length (mm)'},\n    \"neck_bore\": {\"type\": 'float', \"default\": 8.5, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Neck', \"label\": 'Neck bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .rect(p[\"adapter_base\"], p[\"adapter_base\"])\n        .workplane(offset=p[\"adapter_h\"])\n        .circle(p[\"adapter_top\"] / 2)\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"neck_d\"] / 2).extrude(p[\"neck_l\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"neck_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462caacd_3865", "family": "enclosure", "tier": 2, "seed": 1177332429, "symmetry": "none", "op_count": 4, "ir_hash": "a15015b1569057b0", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 32400.0, "surface_area": 24200.0, "principal_moments": [18300000.0, 25699999.999999996, 36900000.0], "n_faces": 23, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 75.01 \u00d7 58.8 \u00d7 32.7 mm (W\u00d7D\u00d7H).", "Hollowed to 2.7 mm wall thickness, open at top face.", "Four \u00d85.3 mm holes at the corners, 52.507 \u00d7 41.16 mm spacing.", "Fillet radius 6.168 mm on vertical edges."], "text": "Rectangular body, 75.01 \u00d7 58.8 \u00d7 32.7 mm (W\u00d7D\u00d7H). Hollowed to 2.7 mm wall thickness, open at top face. Four \u00d85.3 mm holes at the corners, 52.507 \u00d7 41.16 mm spacing. Fillet radius 6.168 mm on vertical edges."}, "params": {"enc_w": {"type": "float", "default": 75.01, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 58.8, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 32.7, "min": 13.1, "max": 65.4, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 2.7, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332429 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 75.01, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 58.8, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 32.7, \"min\": 13.1, \"max\": 65.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 2.7, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"enc_w\"] * 0.7, p[\"enc_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"enc_w\"], p[\"enc_d\"]) * 0.10489069957227418)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462caace_3866", "family": "block", "tier": 2, "seed": 1177332430, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "a0809ce209c97db5", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 469000.0, "surface_area": 50100.0, "principal_moments": [377000000.0, 556000000.0, 607000000.0], "n_faces": 24, "n_edges": 63, "n_vertices": 42}, "dimensions": {"lines": ["Rectangular body, 75 \u00d7 65.5 \u00d7 100 mm (W\u00d7D\u00d7H).", "Four 7.7 mm square holes at the corners, 52.5 \u00d7 45.85 mm spacing.", "Boss \u00d815.7 mm \u00d7 5.7 mm tall on top face."], "text": "Rectangular body, 75 \u00d7 65.5 \u00d7 100 mm (W\u00d7D\u00d7H). Four 7.7 mm square holes at the corners, 52.5 \u00d7 45.85 mm spacing. Boss \u00d815.7 mm \u00d7 5.7 mm tall on top face."}, "params": {"block_w": {"type": "float", "default": 75, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 65.5, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 100.0, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 7.7, "min": 2.0, "max": 16.9, "step": 0.5, "group": "Holes", "label": "Square hole size (mm)"}, "boss_d": {"type": "float", "default": 15.7, "min": 7.8, "max": 31.4, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 5.7, "min": 2.3, "max": 14.2, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332430 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 75, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 65.5, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 100.0, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 7.7, \"min\": 2.0, \"max\": 16.9, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Square hole size (mm)'},\n    \"boss_d\": {\"type\": 'float', \"default\": 15.7, \"min\": 7.8, \"max\": 31.4, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 5.7, \"min\": 2.3, \"max\": 14.2, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().rect(p[\"hole_d\"], p[\"hole_d\"]).cutThruAll()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462caacf_3867", "family": "compound", "tier": 1, "seed": 1177332431, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "c34f77fbe37d5df4", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 6440.0, "surface_area": 3150.0, "principal_moments": [199000.0, 1090000.0, 1090000.0], "n_faces": 6, "n_edges": 9, "n_vertices": 6}, "dimensions": {"lines": ["\u00d816.02 mm circular section, extruded 29.8 mm thick.", "\u00d87.4 mm circular section attachment, 25.4 mm long, from top face with a \u00d83.9 mm bore."], "text": "\u00d816.02 mm circular section, extruded 29.8 mm thick. \u00d87.4 mm circular section attachment, 25.4 mm long, from top face with a \u00d83.9 mm bore."}, "params": {"shaft_d": {"type": "float", "default": 16.02, "min": 8.0, "max": 28.8, "step": 1.0, "group": "Body", "label": "Shaft diameter (mm)"}, "shaft_len": {"type": "float", "default": 29.8, "min": 11.9, "max": 59.6, "step": 1.0, "group": "Body", "label": "Shaft length (mm)"}, "step_d": {"type": "float", "default": 7.4, "min": 3.7, "max": 14.4, "step": 1.0, "group": "Step", "label": "Step diameter (mm)"}, "step_len": {"type": "float", "default": 25.4, "min": 7.6, "max": 63.5, "step": 1.0, "group": "Step", "label": "Step length (mm)"}, "axial_bore": {"type": "float", "default": 3.9, "min": 2.0, "max": 5.3, "step": 0.5, "group": "Bore", "label": "Axial bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332431 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"shaft_d\": {\"type\": 'float', \"default\": 16.02, \"min\": 8.0, \"max\": 28.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft diameter (mm)'},\n    \"shaft_len\": {\"type\": 'float', \"default\": 29.8, \"min\": 11.9, \"max\": 59.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft length (mm)'},\n    \"step_d\": {\"type\": 'float', \"default\": 7.4, \"min\": 3.7, \"max\": 14.4, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step diameter (mm)'},\n    \"step_len\": {\"type\": 'float', \"default\": 25.4, \"min\": 7.6, \"max\": 63.5, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step length (mm)'},\n    \"axial_bore\": {\"type\": 'float', \"default\": 3.9, \"min\": 2.0, \"max\": 5.3, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Axial bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').circle(p[\"shaft_d\"] / 2).extrude(p[\"shaft_len\"]))\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"step_d\"] / 2).extrude(p[\"step_len\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"axial_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462caad0_3868", "family": "plate", "tier": 2, "seed": 1177332432, "symmetry": "none", "op_count": 2, "ir_hash": "342fceae923f6e92", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 25400.0, "surface_area": 10600.0, "principal_moments": [4220000.0, 20200000.0, 24299999.999999996], "n_faces": 14, "n_edges": 32, "n_vertices": 20}, "dimensions": {"lines": ["Rectangular body, 98.37 \u00d7 44.6 \u00d7 6 mm (W\u00d7D\u00d7H).", "Four \u00d85.3 mm countersunk holes (82\u00b0) at the corners, 68.859 \u00d7 31.22 mm spacing."], "text": "Rectangular body, 98.37 \u00d7 44.6 \u00d7 6 mm (W\u00d7D\u00d7H). Four \u00d85.3 mm countersunk holes (82\u00b0) at the corners, 68.859 \u00d7 31.22 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 98.37, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 44.6, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 6.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "cs_angle": {"type": "float", "default": 82.0, "min": 60.0, "max": 120.0, "step": 15.0, "group": "Holes", "label": "Countersink angle (\u00b0)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332432 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 98.37, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 44.6, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"cs_angle\": {\"type\": 'float', \"default\": 82.0, \"min\": 60.0, \"max\": 120.0, \"step\": 15.0, \"group\": 'Holes', \"label\": 'Countersink angle (\u00b0)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().cskHole(p[\"hole_d\"], p[\"hole_d\"] * 2, p[\"cs_angle\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462caad1_3869", "family": "block", "tier": 1, "seed": 1177332433, "symmetry": "none", "op_count": 2, "ir_hash": "c6080fb78d502e1c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 388000.0, "surface_area": 48400.0, "principal_moments": [319000000.0, 392000000.0, 575000000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 90 \u00d7 47 \u00d7 100 mm (W\u00d7D\u00d7H).", "Four \u00d810.5 mm holes at the corners, 63 \u00d7 32.9 mm spacing."], "text": "Rectangular body, 90 \u00d7 47 \u00d7 100 mm (W\u00d7D\u00d7H). Four \u00d810.5 mm holes at the corners, 63 \u00d7 32.9 mm spacing."}, "params": {"block_w": {"type": "float", "default": 90, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 47.0, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 100.0, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 10.5, "min": 2.0, "max": 10.6, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332433 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 90, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 47.0, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 100.0, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 10.5, \"min\": 2.0, \"max\": 10.6, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462caad2_3870", "family": "plate", "tier": 0, "seed": 1177332434, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "80b4d0fdc06b467e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 48200.0, "surface_area": 11100.0, "principal_moments": [12299999.999999998, 22899999.999999996, 34000000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 74.54 \u00d7 53.9 \u00d7 12 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 74.54 \u00d7 53.9 \u00d7 12 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 74.54, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 53.9, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332434 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 74.54, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 53.9, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462caad3_3871", "family": "block", "tier": 1, "seed": 1177332435, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "3e8ae104476b319b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 41900.0, "surface_area": 11000.0, "principal_moments": [5990000.0, 15199999.999999998, 18900000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 37.67 \u00d7 18.4 \u00d7 63.4 mm (W\u00d7D\u00d7H).", "Four \u00d83.2 mm holes at the corners, 26.369 \u00d7 12.88 mm spacing."], "text": "Rectangular body, 37.67 \u00d7 18.4 \u00d7 63.4 mm (W\u00d7D\u00d7H). Four \u00d83.2 mm holes at the corners, 26.369 \u00d7 12.88 mm spacing."}, "params": {"block_w": {"type": "float", "default": 37.67, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 18.4, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 63.4, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 4.1, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332435 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 37.67, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 18.4, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 63.4, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 4.1, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462caad4_3872", "family": "compound", "tier": 1, "seed": 1177332436, "symmetry": "none", "op_count": 2, "ir_hash": "8c806f3bbdb078be", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 39400.0, "surface_area": 6830.0, "principal_moments": [6000000.0, 8680000.0, 8680000.0], "n_faces": 5, "n_edges": 6, "n_vertices": 4}, "dimensions": {"lines": ["\u00d836.28 mm circular section, extruded 34.2 mm thick.", "\u00d819 mm circular section attachment, 14.4 mm long, from top face."], "text": "\u00d836.28 mm circular section, extruded 34.2 mm thick. \u00d819 mm circular section attachment, 14.4 mm long, from top face."}, "params": {"shaft_d": {"type": "float", "default": 36.28, "min": 18.1, "max": 65.3, "step": 1.0, "group": "Body", "label": "Shaft diameter (mm)"}, "shaft_len": {"type": "float", "default": 34.2, "min": 13.7, "max": 68.4, "step": 1.0, "group": "Body", "label": "Shaft length (mm)"}, "step_d": {"type": "float", "default": 19.0, "min": 9.5, "max": 32.7, "step": 1.0, "group": "Step", "label": "Step diameter (mm)"}, "step_len": {"type": "float", "default": 14.4, "min": 4.3, "max": 36.0, "step": 1.0, "group": "Step", "label": "Step length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332436 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"shaft_d\": {\"type\": 'float', \"default\": 36.28, \"min\": 18.1, \"max\": 65.3, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft diameter (mm)'},\n    \"shaft_len\": {\"type\": 'float', \"default\": 34.2, \"min\": 13.7, \"max\": 68.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft length (mm)'},\n    \"step_d\": {\"type\": 'float', \"default\": 19.0, \"min\": 9.5, \"max\": 32.7, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step diameter (mm)'},\n    \"step_len\": {\"type\": 'float', \"default\": 14.4, \"min\": 4.3, \"max\": 36.0, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').circle(p[\"shaft_d\"] / 2).extrude(p[\"shaft_len\"]))\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"step_d\"] / 2).extrude(p[\"step_len\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462caad5_3873", "family": "block", "tier": 2, "seed": 1177332437, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "5896974e607362f5", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 401000.0, "surface_area": 40700.0, "principal_moments": [345000000.0, 404000000.0, 624000000.0], "n_faces": 13, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Rectangular body, 92.29 \u00d7 43.5 \u00d7 100 mm (W\u00d7D\u00d7H).", "Five \u00d83.2 mm holes in two staggered rows, 34.6 \u00d7 33.6 mm pitch.", "Boss \u00d823.2 mm \u00d7 8.4 mm tall on top face."], "text": "Rectangular body, 92.29 \u00d7 43.5 \u00d7 100 mm (W\u00d7D\u00d7H). Five \u00d83.2 mm holes in two staggered rows, 34.6 \u00d7 33.6 mm pitch. Boss \u00d823.2 mm \u00d7 8.4 mm tall on top face."}, "params": {"block_w": {"type": "float", "default": 92.29, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 43.5, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 100.0, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 4.4, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 3, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}, "boss_d": {"type": "float", "default": 23.2, "min": 11.6, "max": 46.4, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 8.4, "min": 3.4, "max": 21.0, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332437 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 92.29, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 43.5, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 100.0, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 4.4, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 3, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n    \"boss_d\": {\"type\": 'float', \"default\": 23.2, \"min\": 11.6, \"max\": 46.4, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 8.4, \"min\": 3.4, \"max\": 21.0, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 34.6\n    _ssy = 33.6\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462caad6_3874", "family": "compound", "tier": 2, "seed": 1177332438, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "85a9e0da5bb40a97", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 27800.0, "surface_area": 6220.0, "principal_moments": [3320000.0, 7660000.0, 7660000.0], "n_faces": 9, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["5-sided polygon section, 40 mm across corners, extruded 20.6 mm thick.", "\u00d817.3 mm circular section attachment, 34.9 mm long, from top face."], "text": "5-sided polygon section, 40 mm across corners, extruded 20.6 mm thick. \u00d817.3 mm circular section attachment, 34.9 mm long, from top face."}, "params": {"base_sides": {"type": "int", "default": 5, "min": 3, "max": 8, "step": 1, "group": "Base", "label": "Base sides"}, "base_r": {"type": "float", "default": 20, "min": 12.0, "max": 32.0, "step": 1.0, "group": "Base", "label": "Base circumradius (mm)"}, "base_h": {"type": "float", "default": 20.6, "min": 8.2, "max": 51.5, "step": 1.0, "group": "Base", "label": "Base height (mm)"}, "col_d": {"type": "float", "default": 17.3, "min": 8.7, "max": 25.9, "step": 1.0, "group": "Column", "label": "Column diameter (mm)"}, "col_h": {"type": "float", "default": 34.9, "min": 10.5, "max": 87.2, "step": 1.0, "group": "Column", "label": "Column height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332438 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_sides\": {\"type\": 'int', \"default\": 5, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Base', \"label\": 'Base sides'},\n    \"base_r\": {\"type\": 'float', \"default\": 20, \"min\": 12.0, \"max\": 32.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base circumradius (mm)'},\n    \"base_h\": {\"type\": 'float', \"default\": 20.6, \"min\": 8.2, \"max\": 51.5, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base height (mm)'},\n    \"col_d\": {\"type\": 'float', \"default\": 17.3, \"min\": 8.7, \"max\": 25.9, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column diameter (mm)'},\n    \"col_h\": {\"type\": 'float', \"default\": 34.9, \"min\": 10.5, \"max\": 87.2, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').polygon(p[\"base_sides\"], p[\"base_r\"] * 2).extrude(p[\"base_h\"]))\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"col_d\"] / 2).extrude(p[\"col_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462caad7_3875", "family": "sketched", "tier": 2, "seed": 1177332439, "symmetry": "none", "op_count": 1, "ir_hash": "96c2a3915dc2fd57", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 68100.0, "surface_area": 14500.0, "principal_moments": [21500000.0, 21800000.0, 21800000.0], "n_faces": 7, "n_edges": 11, "n_vertices": 6}, "dimensions": {"lines": ["Revolved organic body from a freeform sketched section (7 segments: 2 straight, 2 arcs, 3 curves), ~32.528 \u00d7 50.07 mm half-silhouette."], "text": "Revolved organic body from a freeform sketched section (7 segments: 2 straight, 2 arcs, 3 curves), ~32.528 \u00d7 50.07 mm half-silhouette."}, "params": {"sk_r": {"type": "float", "default": 40, "min": 20.0, "max": 72.0, "step": 1.0, "group": "Sketch", "label": "Max radius (mm)"}, "sk_h": {"type": "float", "default": 50.07, "min": 25.0, "max": 90.1, "step": 1.0, "group": "Sketch", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332439 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_r\": {\"type\": 'float', \"default\": 40, \"min\": 20.0, \"max\": 72.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Max radius (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 50.07, \"min\": 25.0, \"max\": 90.1, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XZ').moveTo(p[\"sk_r\"] * 0.7358, p[\"sk_h\"] * 0.0).spline([(p[\"sk_r\"] * 0.7358, p[\"sk_h\"] * 0.0), (p[\"sk_r\"] * 0.6421, p[\"sk_h\"] * 0.0695), (p[\"sk_r\"] * 0.5167, p[\"sk_h\"] * 0.139)]).threePointArc((p[\"sk_r\"] * 0.6214, p[\"sk_h\"] * 0.1483), (p[\"sk_r\"] * 0.7072, p[\"sk_h\"] * 0.1577)).threePointArc((p[\"sk_r\"] * 0.6914, p[\"sk_h\"] * 0.2925), (p[\"sk_r\"] * 0.8132, p[\"sk_h\"] * 0.4274)).spline([(p[\"sk_r\"] * 0.8132, p[\"sk_h\"] * 0.4274), (p[\"sk_r\"] * 0.5276, p[\"sk_h\"] * 0.4332), (p[\"sk_r\"] * 0.2552, p[\"sk_h\"] * 0.4391)]).spline([(p[\"sk_r\"] * 0.2552, p[\"sk_h\"] * 0.4391), (p[\"sk_r\"] * 0.3674, p[\"sk_h\"] * 0.7195), (p[\"sk_r\"] * 0.3176, p[\"sk_h\"] * 1.0)]).lineTo(p[\"sk_r\"] * 0.0, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.0, p[\"sk_h\"] * 0.0).close().revolve())\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462caad8_3876", "family": "block", "tier": 3, "seed": 1177332440, "symmetry": "none", "op_count": 5, "ir_hash": "6e444654e388127c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 10200.0, "surface_area": 6360.0, "principal_moments": [603000.0, 1780000.0, 2130000.0], "n_faces": 32, "n_edges": 86, "n_vertices": 56}, "dimensions": {"lines": ["Rectangular body, 24.28 \u00d7 12.1 \u00d7 36.8 mm (W\u00d7D\u00d7H).", "Four 2.9 mm square holes at the corners, 16.996 \u00d7 8.47 mm spacing.", "Boss \u00d814.5 mm \u00d7 9.8 mm tall on top face with a \u00d85.3 mm bore.", "Fillet radius 1.243 mm on vertical edges (optional, off by default).", "\u00d84 mm circular section attachment, 7.5 mm long, from left face with a \u00d82 mm bore."], "text": "Rectangular body, 24.28 \u00d7 12.1 \u00d7 36.8 mm (W\u00d7D\u00d7H). Four 2.9 mm square holes at the corners, 16.996 \u00d7 8.47 mm spacing. Boss \u00d814.5 mm \u00d7 9.8 mm tall on top face with a \u00d85.3 mm bore. Fillet radius 1.243 mm on vertical edges (optional, off by default). \u00d84 mm circular section attachment, 7.5 mm long, from left face with a \u00d82 mm bore."}, "params": {"block_w": {"type": "float", "default": 24.28, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 12.1, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 36.8, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 2.9, "min": 2.0, "max": 3.5, "step": 0.5, "group": "Holes", "label": "Square hole size (mm)"}, "boss_d": {"type": "float", "default": 14.5, "min": 7.2, "max": 29.0, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 9.8, "min": 3.9, "max": 24.5, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}, "boss_bore_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 10.1, "step": 0.1, "group": "Boss", "label": "Bore diameter (mm)"}, "filleted2": {"type": "bool", "default": false, "group": "Body", "label": "Fillet corners"}, "side_tube_d": {"type": "float", "default": 4.0, "min": 1.6, "max": 6.0, "step": 1.0, "group": "Side Tube", "label": "Side tube diameter (mm)"}, "side_tube_len": {"type": "float", "default": 7.5, "min": 2.2, "max": 12.0, "step": 1.0, "group": "Side Tube", "label": "Side tube length (mm)"}, "side_bore_d": {"type": "float", "default": 2.0, "min": 2.0, "max": 3.0, "step": 0.5, "group": "Side Tube", "label": "Side bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332440 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 24.28, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 12.1, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 36.8, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 2.9, \"min\": 2.0, \"max\": 3.5, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Square hole size (mm)'},\n    \"boss_d\": {\"type\": 'float', \"default\": 14.5, \"min\": 7.2, \"max\": 29.0, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 9.8, \"min\": 3.9, \"max\": 24.5, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n    \"boss_bore_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 10.1, \"step\": 0.1, \"group\": 'Boss', \"label\": 'Bore diameter (mm)'},\n    \"filleted2\": {\"type\": 'bool', \"default\": False, \"group\": 'Body', \"label\": 'Fillet corners'},\n    \"side_tube_d\": {\"type\": 'float', \"default\": 4.0, \"min\": 1.6, \"max\": 6.0, \"step\": 1.0, \"group\": 'Side Tube', \"label\": 'Side tube diameter (mm)'},\n    \"side_tube_len\": {\"type\": 'float', \"default\": 7.5, \"min\": 2.2, \"max\": 12.0, \"step\": 1.0, \"group\": 'Side Tube', \"label\": 'Side tube length (mm)'},\n    \"side_bore_d\": {\"type\": 'float', \"default\": 2.0, \"min\": 2.0, \"max\": 3.0, \"step\": 0.5, \"group\": 'Side Tube', \"label\": 'Side bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().rect(p[\"hole_d\"], p[\"hole_d\"]).cutThruAll()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .hole(p[\"boss_bore_d\"])\n    )\n    if p[\"filleted2\"]:\n        result = result.edges('|Z').fillet(min(p[\"block_w\"], p[\"block_d\"]) * 0.10272290114629196)\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"side_tube_d\"] / 2).extrude(p[\"side_tube_len\"])\n    )\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"side_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462caad9_3877", "family": "plate", "tier": 3, "seed": 1177332441, "symmetry": "none", "op_count": 4, "ir_hash": "6377c3b399a4a555", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 42200.0, "surface_area": 16500.0, "principal_moments": [22200000.0, 29599999.999999996, 51399999.99999999], "n_faces": 27, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 87.17 \u00d7 73.7 \u00d7 8 mm (W\u00d7D\u00d7H).", "Four \u00d83.2 mm counterbored holes (\u00d86.4 mm \u00d7 2.6 mm counterbore) at the corners, 61.019 \u00d7 51.59 mm spacing.", "Chamfer 3.4 mm on vertical edges.", "Pocket 57.6 \u00d7 31.4 mm, 4.7 mm deep, in top face."], "text": "Rectangular body, 87.17 \u00d7 73.7 \u00d7 8 mm (W\u00d7D\u00d7H). Four \u00d83.2 mm counterbored holes (\u00d86.4 mm \u00d7 2.6 mm counterbore) at the corners, 61.019 \u00d7 51.59 mm spacing. Chamfer 3.4 mm on vertical edges. Pocket 57.6 \u00d7 31.4 mm, 4.7 mm deep, in top face."}, "params": {"plate_w": {"type": "float", "default": 87.17, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 73.7, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "cb_d": {"type": "float", "default": 6.4, "min": 4.8, "max": 9.6, "step": 0.5, "group": "Holes", "label": "Counterbore diameter (mm)"}, "cb_depth": {"type": "float", "default": 2.6, "min": 1.3, "max": 5.2, "step": 0.5, "group": "Holes", "label": "Counterbore depth (mm)"}, "chamfer_d": {"type": "float", "default": 3.4, "min": 2.9, "max": 5.9, "step": 0.5, "group": "Body", "label": "Chamfer distance (mm)"}, "chamfered": {"type": "bool", "default": true, "group": "Body", "label": "Chamfer edges"}, "pocket_w": {"type": "float", "default": 57.6, "min": 28.8, "max": 69.7, "step": 1.0, "group": "Pocket", "label": "Pocket width (mm)"}, "pocket_d": {"type": "float", "default": 31.4, "min": 15.7, "max": 59.0, "step": 1.0, "group": "Pocket", "label": "Pocket depth (mm)"}, "pocket_h": {"type": "float", "default": 4.7, "min": 1.9, "max": 6.8, "step": 0.5, "group": "Pocket", "label": "Pocket height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332441 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 87.17, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 73.7, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"cb_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 4.8, \"max\": 9.6, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Counterbore diameter (mm)'},\n    \"cb_depth\": {\"type\": 'float', \"default\": 2.6, \"min\": 1.3, \"max\": 5.2, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Counterbore depth (mm)'},\n    \"chamfer_d\": {\"type\": 'float', \"default\": 3.4, \"min\": 2.9, \"max\": 5.9, \"step\": 0.5, \"group\": 'Body', \"label\": 'Chamfer distance (mm)'},\n    \"chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Chamfer edges'},\n    \"pocket_w\": {\"type\": 'float', \"default\": 57.6, \"min\": 28.8, \"max\": 69.7, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket width (mm)'},\n    \"pocket_d\": {\"type\": 'float', \"default\": 31.4, \"min\": 15.7, \"max\": 59.0, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket depth (mm)'},\n    \"pocket_h\": {\"type\": 'float', \"default\": 4.7, \"min\": 1.9, \"max\": 6.8, \"step\": 0.5, \"group\": 'Pocket', \"label\": 'Pocket height (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().cboreHole(p[\"hole_d\"], p[\"cb_d\"], p[\"cb_depth\"])\n    )\n    if p[\"chamfered\"]:\n        result = result.edges('|Z').chamfer(p[\"chamfer_d\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"pocket_w\"], p[\"pocket_d\"])\n        .cutBlind(-p[\"pocket_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462caada_3878", "family": "profiled", "tier": 1, "seed": 1177332442, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "82812400a75c77fe", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 317000.0, "surface_area": 38600.0, "principal_moments": [54599999.99999999, 2400000000.0, 2400000000.0], "n_faces": 9, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["freeform sketched section (7 segments: 3 straight, 3 arcs, 1 curve), ~34.779 \u00d7 34.55 mm, extruded 300 mm thick."], "text": "freeform sketched section (7 segments: 3 straight, 3 arcs, 1 curve), ~34.779 \u00d7 34.55 mm, extruded 300 mm thick."}, "params": {"sk_w": {"type": "float", "default": 51.8, "min": 25.9, "max": 93.2, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 46.03, "min": 23.0, "max": 82.9, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "length": {"type": "float", "default": 300.0, "min": 90.0, "max": 900.0, "step": 5.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332442 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 51.8, \"min\": 25.9, \"max\": 93.2, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 46.03, \"min\": 23.0, \"max\": 82.9, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 300.0, \"min\": 90.0, \"max\": 900.0, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.3317, p[\"sk_h\"] * 0.0818).threePointArc((p[\"sk_w\"] * 0.3472, p[\"sk_h\"] * 0.2144), (p[\"sk_w\"] * 0.3361, p[\"sk_h\"] * 0.3282)).lineTo(p[\"sk_w\"] * -0.1508, p[\"sk_h\"] * 0.326).threePointArc((p[\"sk_w\"] * -0.259, p[\"sk_h\"] * 0.2284), (p[\"sk_w\"] * -0.3308, p[\"sk_h\"] * 0.0988)).lineTo(p[\"sk_w\"] * -0.3147, p[\"sk_h\"] * -0.2778).spline([(p[\"sk_w\"] * -0.3147, p[\"sk_h\"] * -0.2778), (p[\"sk_w\"] * -0.2005, p[\"sk_h\"] * -0.3679), (p[\"sk_w\"] * -0.0657, p[\"sk_h\"] * -0.4224)]).lineTo(p[\"sk_w\"] * 0.3406, p[\"sk_h\"] * -0.2587).threePointArc((p[\"sk_w\"] * 0.3749, p[\"sk_h\"] * -0.0971), (p[\"sk_w\"] * 0.3317, p[\"sk_h\"] * 0.0818)).close().extrude(p[\"length\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462caadb_3879", "family": "profiled", "tier": 1, "seed": 1177332443, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "423fddf12e5144d0", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 644000.0, "surface_area": 70700.0, "principal_moments": [251000000.0, 8920000000.0, 9110000000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["68.67 \u00d7 25 mm slot section, extruded 407 mm thick."], "text": "68.67 \u00d7 25 mm slot section, extruded 407 mm thick."}, "params": {"slot_len": {"type": "float", "default": 68.67, "min": 34.3, "max": 137.3, "step": 1.0, "group": "Profile", "label": "Slot length (mm)"}, "slot_w": {"type": "float", "default": 25.0, "min": 12.5, "max": 50.0, "step": 0.5, "group": "Profile", "label": "Slot width (mm)"}, "length": {"type": "float", "default": 407.0, "min": 122.1, "max": 1221.0, "step": 5.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332443 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"slot_len\": {\"type\": 'float', \"default\": 68.67, \"min\": 34.3, \"max\": 137.3, \"step\": 1.0, \"group\": 'Profile', \"label\": 'Slot length (mm)'},\n    \"slot_w\": {\"type\": 'float', \"default\": 25.0, \"min\": 12.5, \"max\": 50.0, \"step\": 0.5, \"group\": 'Profile', \"label\": 'Slot width (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 407.0, \"min\": 122.1, \"max\": 1221.0, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').slot2D(p[\"slot_len\"], p[\"slot_w\"]).extrude(p[\"length\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462caadc_3880", "family": "tapped", "tier": 1, "seed": 1177332444, "symmetry": "none", "op_count": 1, "ir_hash": "1e06a42aa3625515", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 4060.0, "surface_area": 2060.0, "principal_moments": [153000.0, 230000.0, 230000.0], "n_faces": 175, "n_edges": 475, "n_vertices": 302}, "dimensions": {"lines": ["One M6x1 tapped hole in a cylinder."], "text": "One M6x1 tapped hole in a cylinder."}, "params": {"major_d": {"type": "float", "default": 6.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 1.0, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 21.3, "min": 7.2, "max": 38.3, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "body_d": {"type": "float", "default": 16.5, "min": 10.8, "max": 26.4, "step": 1.0, "group": "Body", "label": "Outer \u00d8 (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332444 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.0, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 21.3, \"min\": 7.2, \"max\": 38.3, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"body_d\": {\"type\": 'float', \"default\": 16.5, \"min\": 10.8, \"max\": 26.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer \u00d8 (mm)'},\n}\n\n\ndef build(p):\n\n    _W = _D = p[\"body_d\"]\n    _H = p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Cylinder(radius=_W / 2, height=_H)\n    _locs = [(0.0, 0.0)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462caadd_3881", "family": "plate", "tier": 0, "seed": 1177332445, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "21b69a05155c193b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 48800.0, "surface_area": 12800.0, "principal_moments": [8760000.0, 47699999.99999999, 55699999.99999999], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 107.83 \u00d7 45.3 \u00d7 10 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 107.83 \u00d7 45.3 \u00d7 10 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 107.83, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 45.3, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332445 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 107.83, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 45.3, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462caade_3882", "family": "bracket", "tier": 3, "seed": 1177332446, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "6e0f95daf97e3248", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 22400.0, "surface_area": 9020.0, "principal_moments": [4780000.0, 19800000.0, 23299999.999999996], "n_faces": 14, "n_edges": 37, "n_vertices": 24}, "dimensions": {"lines": ["L-bracket: base leg 90 mm, vertical leg 67.5 mm, 20 mm wide, 6 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 9 mm corner gusset."], "text": "L-bracket: base leg 90 mm, vertical leg 67.5 mm, 20 mm wide, 6 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 9 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 90.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 67.5, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 20, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 6.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 8.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 9.0, "min": 3.0, "max": 10.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332446 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 90.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 67.5, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 20, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 8.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 9.0, \"min\": 3.0, \"max\": 10.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462caadf_3883", "family": "bracket", "tier": 1, "seed": 1177332447, "symmetry": "none", "op_count": 1, "ir_hash": "50843b7e5d5a582f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 11100.0, "surface_area": 6700.0, "principal_moments": [1260000.0, 5750000.0, 5810000.0], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Z-bracket: base leg 40 mm, vertical leg 39.5 mm, top leg 33.9 mm, 26.54 mm wide, 4 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."], "text": "Z-bracket: base leg 40 mm, vertical leg 39.5 mm, top leg 33.9 mm, 26.54 mm wide, 4 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 40, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 39.5, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 26.54, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 4.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 33.9, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332447 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 40, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 39.5, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 26.54, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 33.9, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462caae0_3884", "family": "plate", "tier": 1, "seed": 1177332448, "symmetry": "none", "op_count": 2, "ir_hash": "a899ddc99532c2f9", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 32700.0, "surface_area": 8840.0, "principal_moments": [2920000.0, 22600000.0, 24799999.999999996], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 90.51 \u00d7 30.5 \u00d7 12 mm (W\u00d7D\u00d7H).", "Four \u00d83.2 mm holes at the corners, 63.357 \u00d7 21.35 mm spacing."], "text": "Rectangular body, 90.51 \u00d7 30.5 \u00d7 12 mm (W\u00d7D\u00d7H). Four \u00d83.2 mm holes at the corners, 63.357 \u00d7 21.35 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 90.51, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 30.5, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 6.9, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332448 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 90.51, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 30.5, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 6.9, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462caae1_3885", "family": "bracket", "tier": 2, "seed": 1177332449, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "f605d52b61c2dc52", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 25800.0, "surface_area": 18500.0, "principal_moments": [14799999.999999998, 31799999.999999996, 40000000.0], "n_faces": 19, "n_edges": 51, "n_vertices": 34}, "dimensions": {"lines": ["C-channel bracket: base leg 80 mm, vertical leg 65.8 mm, 40 mm wide, 3 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg; 3.8 mm corner gusset."], "text": "C-channel bracket: base leg 80 mm, vertical leg 65.8 mm, 40 mm wide, 3 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg; 3.8 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 80, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 65.8, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 40, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 3.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 3.8, "min": 1.5, "max": 9.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332449 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 80, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 65.8, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 40, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 3.8, \"min\": 1.5, \"max\": 9.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl / 2, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bl - _bt, _bt).lineTo(_bl - _bt - _g, _bt)\n                    .lineTo(_bl - _bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462caae2_3886", "family": "lofted", "tier": 2, "seed": 1177332450, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "72effde0de78b6bf", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 148000.0, "surface_area": 21100.0, "principal_moments": [63099999.99999999, 98699999.99999999, 98699999.99999999], "n_faces": 8, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["Lofted body through 3 sections: 64.4 \u00d7 64.4 mm rectangular section \u2192 \u00d846.3 mm circular section \u2192 \u00d828.2 mm circular section.", "One \u00d812.9 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 3 sections: 64.4 \u00d7 64.4 mm rectangular section \u2192 \u00d846.3 mm circular section \u2192 \u00d828.2 mm circular section. One \u00d812.9 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 64.4, "min": 32.2, "max": 103.0, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 28.2, "min": 11.3, "max": 77.3, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 82.7, "min": 33.1, "max": 165.4, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_mid": {"type": "float", "default": 46.3, "min": 14.1, "max": 77.3, "step": 1.0, "group": "Body", "label": "Mid size (mm)"}, "loft_bore_d": {"type": "float", "default": 12.9, "min": 2.0, "max": 22.6, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332450 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 64.4, \"min\": 32.2, \"max\": 103.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 28.2, \"min\": 11.3, \"max\": 77.3, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 82.7, \"min\": 33.1, \"max\": 165.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_mid\": {\"type\": 'float', \"default\": 46.3, \"min\": 14.1, \"max\": 77.3, \"step\": 1.0, \"group\": 'Body', \"label\": 'Mid size (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 12.9, \"min\": 2.0, \"max\": 22.6, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .rect(p[\"loft_base\"], p[\"loft_base\"])\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .circle(p[\"loft_mid\"] / 2)\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .circle(p[\"loft_top\"] / 2)\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462caae3_3887", "family": "swept", "tier": 1, "seed": 1177332451, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "c184d93957bd0c85", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 17600.0, "surface_area": 4600.0, "principal_moments": [698000.0, 8930000.0, 8990000.0], "n_faces": 3, "n_edges": 3, "n_vertices": 2}, "dimensions": {"lines": ["\u00d817 mm circular section swept along a curved path, ~72.61 mm span."], "text": "\u00d817 mm circular section swept along a curved path, ~72.61 mm span."}, "params": {"path_w": {"type": "float", "default": 50, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 72.61, "min": 36.3, "max": 130.7, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_d": {"type": "float", "default": 17.0, "min": 8.5, "max": 30.6, "step": 1.0, "group": "Section", "label": "Section diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332451 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 50, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 72.61, \"min\": 36.3, \"max\": 130.7, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_d\": {\"type\": 'float', \"default\": 17.0, \"min\": 8.5, \"max\": 30.6, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.4467), (p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.6182), (p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.7274), (p[\"path_w\"] * 0.2563, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').circle(p[\"sweep_d\"] / 2).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462caae5_3889", "family": "sketched", "tier": 1, "seed": 1177332453, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "6665baa3633e375a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 27300.0, "surface_area": 6210.0, "principal_moments": [2790000.0, 6410000.0, 7100000.0], "n_faces": 9, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["freeform sketched section (6 segments: 3 straight, 1 arc, 2 curves), ~33.84 \u00d7 60.203 mm, extruded 21.54 mm thick.", "One \u00d88.4 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "freeform sketched section (6 segments: 3 straight, 1 arc, 2 curves), ~33.84 \u00d7 60.203 mm, extruded 21.54 mm thick. One \u00d88.4 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"sk_w": {"type": "float", "default": 45, "min": 22.5, "max": 81.0, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 75, "min": 37.5, "max": 135.0, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "sk_t": {"type": "float", "default": 21.54, "min": 8.6, "max": 47.4, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "sk_hole_d": {"type": "float", "default": 8.4, "min": 2.0, "max": 16.8, "step": 0.5, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332453 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 45, \"min\": 22.5, \"max\": 81.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 75, \"min\": 37.5, \"max\": 135.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"sk_t\": {\"type\": 'float', \"default\": 21.54, \"min\": 8.6, \"max\": 47.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"sk_hole_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 2.0, \"max\": 16.8, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.3688, p[\"sk_h\"] * 0.0355).bezier([(p[\"sk_w\"] * 0.3688, p[\"sk_h\"] * 0.0355), (p[\"sk_w\"] * 0.2779, p[\"sk_h\"] * 0.2412), (p[\"sk_w\"] * 0.1194, p[\"sk_h\"] * 0.4007)]).lineTo(p[\"sk_w\"] * -0.258, p[\"sk_h\"] * 0.2619).threePointArc((p[\"sk_w\"] * -0.3595, p[\"sk_h\"] * 0.1583), (p[\"sk_w\"] * -0.3832, p[\"sk_h\"] * 0.0166)).lineTo(p[\"sk_w\"] * -0.1269, p[\"sk_h\"] * -0.3319).lineTo(p[\"sk_w\"] * 0.1011, p[\"sk_h\"] * -0.402).bezier([(p[\"sk_w\"] * 0.1011, p[\"sk_h\"] * -0.402), (p[\"sk_w\"] * 0.2715, p[\"sk_h\"] * -0.2056), (p[\"sk_w\"] * 0.3688, p[\"sk_h\"] * 0.0355)]).close().extrude(p[\"sk_t\"]))\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"sk_hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462caae6_3890", "family": "bracket", "tier": 2, "seed": 1177332454, "symmetry": "none", "op_count": 1, "ir_hash": "09c64843692704c7", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 7910.0, "surface_area": 3700.0, "principal_moments": [535000.0, 1750000.0, 1770000.0], "n_faces": 13, "n_edges": 35, "n_vertices": 23}, "dimensions": {"lines": ["L-bracket: base leg 42 mm, vertical leg 28 mm, 20 mm wide, 6 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 7.4 mm corner gusset."], "text": "L-bracket: base leg 42 mm, vertical leg 28 mm, 20 mm wide, 6 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 7.4 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 42.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 28.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 20, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 6.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 8.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 7.4, "min": 3.0, "max": 10.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332454 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 42.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 28.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 20, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 8.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 7.4, \"min\": 3.0, \"max\": 10.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462caae7_3891", "family": "sketched", "tier": 3, "seed": 1177332455, "symmetry": "none", "op_count": 4, "ir_hash": "1e6298109d71c6b9", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 18400.0, "surface_area": 4930.0, "principal_moments": [2120000.0, 2140000.0, 2500000.0], "n_faces": 12, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["freeform sketched section (5 segments: 4 straight, 1 arc), ~33.232 \u00d7 30.866 mm, extruded 27.91 mm thick.", "One \u00d86.4 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch.", "Boss \u00d89.4 mm \u00d7 6.2 mm tall on top face with a \u00d85.3 mm bore.", "Fillet radius 1.6 mm on vertical edges (optional, off by default)."], "text": "freeform sketched section (5 segments: 4 straight, 1 arc), ~33.232 \u00d7 30.866 mm, extruded 27.91 mm thick. One \u00d86.4 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch. Boss \u00d89.4 mm \u00d7 6.2 mm tall on top face with a \u00d85.3 mm bore. Fillet radius 1.6 mm on vertical edges (optional, off by default)."}, "params": {"sk_w": {"type": "float", "default": 45, "min": 22.5, "max": 81.0, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 40.38, "min": 20.2, "max": 72.7, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "sk_t": {"type": "float", "default": 27.91, "min": 11.2, "max": 61.4, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "sk_hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 12.8, "step": 0.5, "group": "Holes", "label": "Hole diameter (mm)"}, "boss_d": {"type": "float", "default": 9.4, "min": 4.7, "max": 18.8, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 6.2, "min": 2.5, "max": 15.5, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}, "boss_bore_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 6.6, "step": 0.1, "group": "Boss", "label": "Bore diameter (mm)"}, "sk_fillet_r": {"type": "float", "default": 1.6, "min": 0.5, "max": 4.0, "step": 0.5, "group": "Body", "label": "Edge fillet radius (mm)"}, "sk_filleted": {"type": "bool", "default": false, "group": "Body", "label": "Fillet vertical edges"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332455 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 45, \"min\": 22.5, \"max\": 81.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 40.38, \"min\": 20.2, \"max\": 72.7, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"sk_t\": {\"type\": 'float', \"default\": 27.91, \"min\": 11.2, \"max\": 61.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"sk_hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 12.8, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"boss_d\": {\"type\": 'float', \"default\": 9.4, \"min\": 4.7, \"max\": 18.8, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 6.2, \"min\": 2.5, \"max\": 15.5, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n    \"boss_bore_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 6.6, \"step\": 0.1, \"group\": 'Boss', \"label\": 'Bore diameter (mm)'},\n    \"sk_fillet_r\": {\"type\": 'float', \"default\": 1.6, \"min\": 0.5, \"max\": 4.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Edge fillet radius (mm)'},\n    \"sk_filleted\": {\"type\": 'bool', \"default\": False, \"group\": 'Body', \"label\": 'Fillet vertical edges'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.4088, p[\"sk_h\"] * 0.0813).lineTo(p[\"sk_w\"] * -0.0205, p[\"sk_h\"] * 0.4479).lineTo(p[\"sk_w\"] * -0.2442, p[\"sk_h\"] * 0.3173).threePointArc((p[\"sk_w\"] * -0.3657, p[\"sk_h\"] * 0.0742), (p[\"sk_w\"] * -0.3297, p[\"sk_h\"] * -0.1699)).lineTo(p[\"sk_w\"] * 0.1137, p[\"sk_h\"] * -0.3165).lineTo(p[\"sk_w\"] * 0.4088, p[\"sk_h\"] * 0.0813).close().extrude(p[\"sk_t\"]))\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"sk_hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .hole(p[\"boss_bore_d\"])\n    )\n    if p[\"sk_filleted\"]:\n        result = result.edges('|Z').fillet(p[\"sk_fillet_r\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462caae8_3892", "family": "tapped", "tier": 1, "seed": 1177332456, "symmetry": "none", "op_count": 1, "ir_hash": "aad4d4ff97226137", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 7110.0, "surface_area": 2880.0, "principal_moments": [478000.0, 478000.0, 653000.0], "n_faces": 91, "n_edges": 317, "n_vertices": 228}, "dimensions": {"lines": ["One M10x1.5 tapped hole in a cylinder."], "text": "One M10x1.5 tapped hole in a cylinder."}, "params": {"major_d": {"type": "float", "default": 10.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 1.5, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 16.0, "min": 12.0, "max": 28.8, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "body_d": {"type": "float", "default": 25.5, "min": 18.0, "max": 40.8, "step": 1.0, "group": "Body", "label": "Outer \u00d8 (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332456 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 10.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.5, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 16.0, \"min\": 12.0, \"max\": 28.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"body_d\": {\"type\": 'float', \"default\": 25.5, \"min\": 18.0, \"max\": 40.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer \u00d8 (mm)'},\n}\n\n\ndef build(p):\n\n    _W = _D = p[\"body_d\"]\n    _H = p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Cylinder(radius=_W / 2, height=_H)\n    _locs = [(0.0, 0.0)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462caae9_3893", "family": "plate", "tier": 2, "seed": 1177332457, "symmetry": "none", "op_count": 3, "ir_hash": "9a9522c0f085d0a2", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 48300.0, "surface_area": 12600.0, "principal_moments": [6140000.0, 49399999.99999999, 54299999.99999999], "n_faces": 19, "n_edges": 51, "n_vertices": 34}, "dimensions": {"lines": ["Rectangular body, 110 \u00d7 37.3 \u00d7 12 mm (W\u00d7D\u00d7H).", "Nine \u00d83.2 mm holes in two staggered rows, 20.6 \u00d7 23.1 mm pitch.", "Chamfer 1.9 mm on vertical edges."], "text": "Rectangular body, 110 \u00d7 37.3 \u00d7 12 mm (W\u00d7D\u00d7H). Nine \u00d83.2 mm holes in two staggered rows, 20.6 \u00d7 23.1 mm pitch. Chamfer 1.9 mm on vertical edges."}, "params": {"plate_w": {"type": "float", "default": 110, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 37.3, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 3.7, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 5, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}, "chamfer_d": {"type": "float", "default": 1.9, "min": 1.4, "max": 2.3, "step": 0.5, "group": "Body", "label": "Chamfer distance (mm)"}, "chamfered": {"type": "bool", "default": true, "group": "Body", "label": "Chamfer edges"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332457 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 110, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 37.3, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 3.7, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 5, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n    \"chamfer_d\": {\"type\": 'float', \"default\": 1.9, \"min\": 1.4, \"max\": 2.3, \"step\": 0.5, \"group\": 'Body', \"label\": 'Chamfer distance (mm)'},\n    \"chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Chamfer edges'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 20.6\n    _ssy = 23.1\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    if p[\"chamfered\"]:\n        result = result.edges('|Z').chamfer(p[\"chamfer_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462caaea_3894", "family": "compound", "tier": 1, "seed": 1177332458, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "3b9b0bcc99dab044", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 86900.0, "surface_area": 14900.0, "principal_moments": [28299999.999999996, 33900000.0, 33900000.0], "n_faces": 10, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["Lofted body through 2 sections: \u00d857.25 mm circular section \u2192 35.5 \u00d7 35.5 mm rectangular section.", "\u00d823.7 mm circular section attachment, 15.5 mm long, from top face with a \u00d813.3 mm bore."], "text": "Lofted body through 2 sections: \u00d857.25 mm circular section \u2192 35.5 \u00d7 35.5 mm rectangular section. \u00d823.7 mm circular section attachment, 15.5 mm long, from top face with a \u00d813.3 mm bore."}, "params": {"adapter_base": {"type": "float", "default": 57.25, "min": 34.4, "max": 85.9, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "adapter_top": {"type": "float", "default": 35.5, "min": 17.8, "max": 57.2, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "adapter_h": {"type": "float", "default": 47.0, "min": 18.8, "max": 94.0, "step": 1.0, "group": "Body", "label": "Transition height (mm)"}, "neck_d": {"type": "float", "default": 23.7, "min": 9.5, "max": 35.5, "step": 1.0, "group": "Neck", "label": "Neck diameter (mm)"}, "neck_l": {"type": "float", "default": 15.5, "min": 6.2, "max": 38.8, "step": 1.0, "group": "Neck", "label": "Neck length (mm)"}, "neck_bore": {"type": "float", "default": 13.3, "min": 2.0, "max": 17.1, "step": 0.5, "group": "Neck", "label": "Neck bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332458 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"adapter_base\": {\"type\": 'float', \"default\": 57.25, \"min\": 34.4, \"max\": 85.9, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"adapter_top\": {\"type\": 'float', \"default\": 35.5, \"min\": 17.8, \"max\": 57.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"adapter_h\": {\"type\": 'float', \"default\": 47.0, \"min\": 18.8, \"max\": 94.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Transition height (mm)'},\n    \"neck_d\": {\"type\": 'float', \"default\": 23.7, \"min\": 9.5, \"max\": 35.5, \"step\": 1.0, \"group\": 'Neck', \"label\": 'Neck diameter (mm)'},\n    \"neck_l\": {\"type\": 'float', \"default\": 15.5, \"min\": 6.2, \"max\": 38.8, \"step\": 1.0, \"group\": 'Neck', \"label\": 'Neck length (mm)'},\n    \"neck_bore\": {\"type\": 'float', \"default\": 13.3, \"min\": 2.0, \"max\": 17.1, \"step\": 0.5, \"group\": 'Neck', \"label\": 'Neck bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .circle(p[\"adapter_base\"] / 2)\n        .workplane(offset=p[\"adapter_h\"])\n        .rect(p[\"adapter_top\"], p[\"adapter_top\"])\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"neck_d\"] / 2).extrude(p[\"neck_l\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"neck_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462caaeb_3895", "family": "revolved", "tier": 0, "seed": 1177332459, "symmetry": "radial", "op_count": 1, "ir_hash": "16cac7c8eb9170db", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 596000.0, "surface_area": 81500.0, "principal_moments": [428000000.0, 2210000000.0, 2210000000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d869.2 mm \u00d7 237.7 mm tall."], "text": "Revolved body, \u00d869.2 mm \u00d7 237.7 mm tall."}, "params": {"outer_d": {"type": "float", "default": 69.2, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 237.7, "min": 71.3, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332459 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 69.2, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 237.7, \"min\": 71.3, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462caaec_3896", "family": "profiled", "tier": 0, "seed": 1177332460, "symmetry": "none", "op_count": 1, "ir_hash": "9659f1b22a1eaa87", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 77900.0, "surface_area": 12500.0, "principal_moments": [7910000.0, 101000000.0, 101000000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["8-sided polygon section, 30 mm across corners, extruded 122.4 mm thick."], "text": "8-sided polygon section, 30 mm across corners, extruded 122.4 mm thick."}, "params": {"circ_r": {"type": "float", "default": 15, "min": 7.5, "max": 30.0, "step": 1.0, "group": "Profile", "label": "Circumscribed radius (mm)"}, "n_sides": {"type": "int", "default": 8, "min": 3, "max": 8, "step": 1, "group": "Profile", "label": "Sides"}, "length": {"type": "float", "default": 122.4, "min": 36.7, "max": 367.2, "step": 5.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332460 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"circ_r\": {\"type\": 'float', \"default\": 15, \"min\": 7.5, \"max\": 30.0, \"step\": 1.0, \"group\": 'Profile', \"label\": 'Circumscribed radius (mm)'},\n    \"n_sides\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Profile', \"label\": 'Sides'},\n    \"length\": {\"type\": 'float', \"default\": 122.4, \"min\": 36.7, \"max\": 367.2, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').polygon(p[\"n_sides\"], p[\"circ_r\"] * 2).extrude(p[\"length\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462caaed_3897", "family": "sketched", "tier": 0, "seed": 1177332461, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "0c884274b287df39", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 17200.0, "surface_area": 4180.0, "principal_moments": [1460000.0, 2470000.0, 3230000.0], "n_faces": 8, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["freeform sketched section (6 segments: 3 straight, 2 arcs, 1 curve), ~34.898 \u00d7 46.55 mm, extruded 15.62 mm thick."], "text": "freeform sketched section (6 segments: 3 straight, 2 arcs, 1 curve), ~34.898 \u00d7 46.55 mm, extruded 15.62 mm thick."}, "params": {"sk_w": {"type": "float", "default": 45, "min": 22.5, "max": 81.0, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 61.25, "min": 30.6, "max": 110.2, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "sk_t": {"type": "float", "default": 15.62, "min": 6.2, "max": 34.4, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332461 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 45, \"min\": 22.5, \"max\": 81.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 61.25, \"min\": 30.6, \"max\": 110.2, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"sk_t\": {\"type\": 'float', \"default\": 15.62, \"min\": 6.2, \"max\": 34.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.4495, p[\"sk_h\"] * 0.1306).threePointArc((p[\"sk_w\"] * 0.3781, p[\"sk_h\"] * 0.2285), (p[\"sk_w\"] * 0.2453, p[\"sk_h\"] * 0.2887)).lineTo(p[\"sk_w\"] * -0.0693, p[\"sk_h\"] * 0.4325).bezier([(p[\"sk_w\"] * -0.0693, p[\"sk_h\"] * 0.4325), (p[\"sk_w\"] * -0.2204, p[\"sk_h\"] * 0.2679), (p[\"sk_w\"] * -0.326, p[\"sk_h\"] * 0.0711)]).lineTo(p[\"sk_w\"] * -0.0555, p[\"sk_h\"] * -0.3215).lineTo(p[\"sk_w\"] * 0.2383, p[\"sk_h\"] * -0.3275).threePointArc((p[\"sk_w\"] * 0.3941, p[\"sk_h\"] * -0.1259), (p[\"sk_w\"] * 0.4495, p[\"sk_h\"] * 0.1306)).close().extrude(p[\"sk_t\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462caaee_3898", "family": "profiled", "tier": 1, "seed": 1177332462, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "3cff95ec21dc3ba6", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 37800.0, "surface_area": 17100.0, "principal_moments": [2350000.0, 69800000.0, 69800000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d820.34 mm \u00d7 174.7 mm tall."], "text": "Revolved body, \u00d820.34 mm \u00d7 174.7 mm tall."}, "params": {"outer_d": {"type": "float", "default": 20.34, "min": 10.2, "max": 40.7, "step": 1.0, "group": "Profile", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 174.7, "min": 52.4, "max": 524.1, "step": 5.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332462 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 20.34, \"min\": 10.2, \"max\": 40.7, \"step\": 1.0, \"group\": 'Profile', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 174.7, \"min\": 52.4, \"max\": 524.1, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462caaef_3899", "family": "tapped", "tier": 1, "seed": 1177332463, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "e4f6fc054d778cda", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 61400.0, "surface_area": 12900.0, "principal_moments": [12899999.999999998, 30299999.999999996, 40100000.0], "n_faces": 726, "n_edges": 1988, "n_vertices": 1264}, "dimensions": {"lines": ["Four M5x0.8 tapped holes in a plate."], "text": "Four M5x0.8 tapped holes in a plate."}, "params": {"major_d": {"type": "float", "default": 5.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 0.8, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 17.7, "min": 6.0, "max": 31.9, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "plate_w": {"type": "float", "default": 75, "min": 45.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 47.1, "min": 28.3, "max": 75.4, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332463 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 0.8, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 17.7, \"min\": 6.0, \"max\": 31.9, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"plate_w\": {\"type\": 'float', \"default\": 75, \"min\": 45.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 47.1, \"min\": 28.3, \"max\": 75.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n}\n\n\ndef build(p):\n\n    _W, _D, _H = p[\"plate_w\"], p[\"plate_d\"], p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Box(_W, _D, _H)\n    _sx, _sy = p[\"plate_w\"] * 0.6, p[\"plate_d\"] * 0.6\n    _locs = [(_xx, _yy) for _xx in (-_sx / 2, _sx / 2) for _yy in (-_sy / 2, _sy / 2)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462caaf0_3900", "family": "bracket", "tier": 2, "seed": 1177332464, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "863819c1505c3756", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 72200.0, "surface_area": 21900.0, "principal_moments": [24999999.999999996, 144000000.0, 150000000.0], "n_faces": 18, "n_edges": 48, "n_vertices": 32}, "dimensions": {"lines": ["Z-bracket: base leg 85 mm, vertical leg 78 mm, top leg 67.6 mm, 40 mm wide, 8 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg; 10.4 mm corner gusset."], "text": "Z-bracket: base leg 85 mm, vertical leg 78 mm, top leg 67.6 mm, 40 mm wide, 8 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg; 10.4 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 85, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 78.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 40, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 8.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 67.6, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}, "gusset_t": {"type": "float", "default": 10.4, "min": 4.0, "max": 20.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332464 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 85, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 78.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 40, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 67.6, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 10.4, \"min\": 4.0, \"max\": 20.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _tl, _vl) * 0.4 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(0, _vl - _bt).lineTo(-_g, _vl - _bt)\n                    .lineTo(0, _vl - _bt - _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462caaf1_3901", "family": "profiled", "tier": 1, "seed": 1177332465, "symmetry": "none", "op_count": 1, "ir_hash": "50b07584b45fbbe0", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 25600.0, "surface_area": 7160.0, "principal_moments": [1000000.0, 25999999.999999996, 25999999.999999996], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["4-sided polygon section, 21.66 mm across corners, extruded 109.2 mm thick."], "text": "4-sided polygon section, 21.66 mm across corners, extruded 109.2 mm thick."}, "params": {"circ_r": {"type": "float", "default": 10.83, "min": 5.4, "max": 21.7, "step": 1.0, "group": "Profile", "label": "Circumscribed radius (mm)"}, "n_sides": {"type": "int", "default": 4, "min": 3, "max": 8, "step": 1, "group": "Profile", "label": "Sides"}, "length": {"type": "float", "default": 109.2, "min": 32.8, "max": 327.6, "step": 5.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332465 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"circ_r\": {\"type\": 'float', \"default\": 10.83, \"min\": 5.4, \"max\": 21.7, \"step\": 1.0, \"group\": 'Profile', \"label\": 'Circumscribed radius (mm)'},\n    \"n_sides\": {\"type\": 'int', \"default\": 4, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Profile', \"label\": 'Sides'},\n    \"length\": {\"type\": 'float', \"default\": 109.2, \"min\": 32.8, \"max\": 327.6, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').polygon(p[\"n_sides\"], p[\"circ_r\"] * 2).extrude(p[\"length\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462caaf2_3902", "family": "plate", "tier": 1, "seed": 1177332466, "symmetry": "none", "op_count": 2, "ir_hash": "ce056807ba8b2029", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 6230.0, "surface_area": 3160.0, "principal_moments": [297000.0, 528000.0, 721000.0], "n_faces": 42, "n_edges": 120, "n_vertices": 80}, "dimensions": {"lines": ["Rectangular body, 30.66 \u00d7 22 \u00d7 10 mm (W\u00d7D\u00d7H).", "Nine 2.4 mm square holes in a 3\u00d73 grid, 12.3 \u00d7 8.8 mm pitch."], "text": "Rectangular body, 30.66 \u00d7 22 \u00d7 10 mm (W\u00d7D\u00d7H). Nine 2.4 mm square holes in a 3\u00d73 grid, 12.3 \u00d7 8.8 mm pitch."}, "params": {"plate_w": {"type": "float", "default": 30.66, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 22.0, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 2.4, "min": 2.0, "max": 3.4, "step": 0.1, "group": "Holes", "label": "Square hole size (mm)"}, "hole_nx": {"type": "int", "default": 3, "min": 1, "max": 4, "step": 1, "group": "Holes", "label": "Holes across"}, "hole_ny": {"type": "int", "default": 3, "min": 1, "max": 4, "step": 1, "group": "Holes", "label": "Holes deep"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332466 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 30.66, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 22.0, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 2.4, \"min\": 2.0, \"max\": 3.4, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Square hole size (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 3, \"min\": 1, \"max\": 4, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes across'},\n    \"hole_ny\": {\"type\": 'int', \"default\": 3, \"min\": 1, \"max\": 4, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes deep'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(12.3, 8.8, p[\"hole_nx\"], p[\"hole_ny\"])\n        .rect(p[\"hole_d\"], p[\"hole_d\"]).cutThruAll()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462caaf3_3903", "family": "tapped", "tier": 0, "seed": 1177332467, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "11d5887458e6049e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 44300.0, "surface_area": 9390.0, "principal_moments": [10600000.0, 10600000.0, 18400000.0], "n_faces": 131, "n_edges": 365, "n_vertices": 236}, "dimensions": {"lines": ["One M12x1.75 tapped hole in a plate."], "text": "One M12x1.75 tapped hole in a plate."}, "params": {"major_d": {"type": "float", "default": 12.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 1.75, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 19.2, "min": 14.4, "max": 34.6, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "plate_w": {"type": "float", "default": 49.0, "min": 29.4, "max": 78.4, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 49.0, "min": 29.4, "max": 78.4, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332467 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 12.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.75, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 19.2, \"min\": 14.4, \"max\": 34.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"plate_w\": {\"type\": 'float', \"default\": 49.0, \"min\": 29.4, \"max\": 78.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 49.0, \"min\": 29.4, \"max\": 78.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n}\n\n\ndef build(p):\n\n    _W, _D, _H = p[\"plate_w\"], p[\"plate_d\"], p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Box(_W, _D, _H)\n    _locs = [(0.0, 0.0)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462caaf4_3904", "family": "sketched", "tier": 1, "seed": 1177332468, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "c79d37c224f34015", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 32600.0, "surface_area": 8440.0, "principal_moments": [3940000.0, 18800000.0, 18800000.0], "n_faces": 7, "n_edges": 11, "n_vertices": 6}, "dimensions": {"lines": ["Revolved organic body from a freeform sketched section (7 segments: 4 straight, 2 arcs, 1 curve), ~21.108 \u00d7 67.97 mm half-silhouette."], "text": "Revolved organic body from a freeform sketched section (7 segments: 4 straight, 2 arcs, 1 curve), ~21.108 \u00d7 67.97 mm half-silhouette."}, "params": {"sk_r": {"type": "float", "default": 22.24, "min": 11.1, "max": 40.0, "step": 1.0, "group": "Sketch", "label": "Max radius (mm)"}, "sk_h": {"type": "float", "default": 67.97, "min": 34.0, "max": 122.3, "step": 1.0, "group": "Sketch", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332468 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_r\": {\"type\": 'float', \"default\": 22.24, \"min\": 11.1, \"max\": 40.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Max radius (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 67.97, \"min\": 34.0, \"max\": 122.3, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XZ').moveTo(p[\"sk_r\"] * 0.9491, p[\"sk_h\"] * 0.0).bezier([(p[\"sk_r\"] * 0.9491, p[\"sk_h\"] * 0.0), (p[\"sk_r\"] * 0.8258, p[\"sk_h\"] * 0.1496), (p[\"sk_r\"] * 0.4322, p[\"sk_h\"] * 0.2993)]).threePointArc((p[\"sk_r\"] * 0.3993, p[\"sk_h\"] * 0.5461), (p[\"sk_r\"] * 0.1802, p[\"sk_h\"] * 0.793)).lineTo(p[\"sk_r\"] * 0.882, p[\"sk_h\"] * 0.9055).lineTo(p[\"sk_r\"] * 0.7377, p[\"sk_h\"] * 0.9173).threePointArc((p[\"sk_r\"] * 0.5422, p[\"sk_h\"] * 0.9586), (p[\"sk_r\"] * 0.569, p[\"sk_h\"] * 1.0)).lineTo(p[\"sk_r\"] * 0.0, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.0, p[\"sk_h\"] * 0.0).close().revolve())\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462caaf5_3905", "family": "flanged", "tier": 1, "seed": 1177332469, "symmetry": "none", "op_count": 2, "ir_hash": "e17b0a58a753e42c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 44100.0, "surface_area": 14400.0, "principal_moments": [13799999.999999998, 14399999.999999998, 14399999.999999998], "n_faces": 21, "n_edges": 78, "n_vertices": 52}, "dimensions": {"lines": ["Revolved body, \u00d836.56 mm \u00d7 41.3 mm tall with \u00d813.6 mm bore, \u00d870.5 mm \u00d7 3.5 mm flange.", "Eight \u00d88.4 mm holes on a \u00d842.2 mm bolt circle."], "text": "Revolved body, \u00d836.56 mm \u00d7 41.3 mm tall with \u00d813.6 mm bore, \u00d870.5 mm \u00d7 3.5 mm flange. Eight \u00d88.4 mm holes on a \u00d842.2 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 36.56, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 41.3, "min": 12.4, "max": 103.2, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 13.6, "min": 2.0, "max": 25.6, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 70.5, "min": 47.5, "max": 109.7, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 3.5, "min": 1.1, "max": 16.5, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 8.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 21.1, "min": 14.1, "max": 31.7, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 8, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332469 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 36.56, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 41.3, \"min\": 12.4, \"max\": 103.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 13.6, \"min\": 2.0, \"max\": 25.6, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 70.5, \"min\": 47.5, \"max\": 109.7, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 3.5, \"min\": 1.1, \"max\": 16.5, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 21.1, \"min\": 14.1, \"max\": 31.7, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462caaf7_3907", "family": "bracket", "tier": 1, "seed": 1177332471, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "6793f75b485c7607", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 19000.0, "surface_area": 13800.0, "principal_moments": [5530000.0, 15299999.999999998, 17300000.0], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Z-bracket: base leg 52.49 mm, vertical leg 49.7 mm, top leg 34.5 mm, 48.78 mm wide, 3 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."], "text": "Z-bracket: base leg 52.49 mm, vertical leg 49.7 mm, top leg 34.5 mm, 48.78 mm wide, 3 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 52.49, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 49.7, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 48.78, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 3.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 34.5, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332471 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 52.49, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 49.7, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 48.78, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 34.5, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462caaf9_3909", "family": "revolved", "tier": 0, "seed": 1177332473, "symmetry": "none", "op_count": 1, "ir_hash": "a1dc3d7e34fa6215", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 5660.0, "surface_area": 3310.0, "principal_moments": [233000.0, 639000.0, 639000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d816.57 mm \u00d7 39.4 mm tall."], "text": "Revolved body, \u00d816.57 mm \u00d7 39.4 mm tall."}, "params": {"outer_d": {"type": "float", "default": 16.57, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 39.4, "min": 11.8, "max": 118.2, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332473 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 16.57, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 39.4, \"min\": 11.8, \"max\": 118.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462caafa_3910", "family": "flanged", "tier": 1, "seed": 1177332474, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "797c3dd4bf7065d5", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 8310.0, "surface_area": 6070.0, "principal_moments": [1030000.0, 1030000.0, 1670000.0], "n_faces": 29, "n_edges": 114, "n_vertices": 76}, "dimensions": {"lines": ["Revolved body, \u00d828.8 mm \u00d7 16.2 mm tall with \u00d811.5 mm bore, \u00d846.3 mm \u00d7 3.5 mm flange.", "Twelve \u00d86.4 mm holes on a \u00d827.8 mm bolt circle."], "text": "Revolved body, \u00d828.8 mm \u00d7 16.2 mm tall with \u00d811.5 mm bore, \u00d846.3 mm \u00d7 3.5 mm flange. Twelve \u00d86.4 mm holes on a \u00d827.8 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 28.8, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 16.2, "min": 4.9, "max": 40.5, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 11.5, "min": 2.0, "max": 20.2, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 46.3, "min": 37.4, "max": 86.4, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 3.5, "min": 1.1, "max": 6.5, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 13.9, "min": 9.3, "max": 20.8, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 12, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332474 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 28.8, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 16.2, \"min\": 4.9, \"max\": 40.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 11.5, \"min\": 2.0, \"max\": 20.2, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 46.3, \"min\": 37.4, \"max\": 86.4, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 3.5, \"min\": 1.1, \"max\": 6.5, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 13.9, \"min\": 9.3, \"max\": 20.8, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 12, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462caafb_3911", "family": "block", "tier": 2, "seed": 1177332475, "symmetry": "mirror_xy", "op_count": 3, "ir_hash": "b4cf22a787e0ffc2", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 459000.0, "surface_area": 43900.0, "principal_moments": [442000000.0, 459000000.0, 708000000.0], "n_faces": 15, "n_edges": 39, "n_vertices": 26}, "dimensions": {"lines": ["Rectangular body, 95 \u00d7 50.5 \u00d7 97.3 mm (W\u00d7D\u00d7H).", "Five \u00d84.3 mm holes in two staggered rows, 35.6 \u00d7 37.7 mm pitch.", "Fillet radius 2.671 mm on vertical edges."], "text": "Rectangular body, 95 \u00d7 50.5 \u00d7 97.3 mm (W\u00d7D\u00d7H). Five \u00d84.3 mm holes in two staggered rows, 35.6 \u00d7 37.7 mm pitch. Fillet radius 2.671 mm on vertical edges."}, "params": {"block_w": {"type": "float", "default": 95, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 50.5, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 97.3, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 5.1, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 3, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332475 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 95, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 50.5, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 97.3, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 5.1, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 3, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 35.6\n    _ssy = 37.7\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"block_w\"], p[\"block_d\"]) * 0.05289072167178879)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462caafc_3912", "family": "lofted", "tier": 0, "seed": 1177332476, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "4fc1e9114a2339b7", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 13900.0, "surface_area": 3700.0, "principal_moments": [1430000.0, 1430000.0, 1590000.0], "n_faces": 7, "n_edges": 15, "n_vertices": 10}, "dimensions": {"lines": ["Lofted body through 2 sections: 33.5 \u00d7 33.5 mm rectangular section \u2192 \u00d810.3 mm circular section."], "text": "Lofted body through 2 sections: 33.5 \u00d7 33.5 mm rectangular section \u2192 \u00d810.3 mm circular section."}, "params": {"loft_base": {"type": "float", "default": 33.5, "min": 16.8, "max": 53.6, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 10.3, "min": 4.1, "max": 40.2, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 27.6, "min": 11.0, "max": 55.2, "step": 1.0, "group": "Body", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332476 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 33.5, \"min\": 16.8, \"max\": 53.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 10.3, \"min\": 4.1, \"max\": 40.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 27.6, \"min\": 11.0, \"max\": 55.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .rect(p[\"loft_base\"], p[\"loft_base\"])\n        .workplane(offset=p[\"loft_h\"])\n        .circle(p[\"loft_top\"] / 2)\n        .loft(combine=True)\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462caafd_3913", "family": "revolved", "tier": 0, "seed": 1177332477, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "c53f8cb3b15f8871", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 5860.0, "surface_area": 3700.0, "principal_moments": [198000.0, 958000.0, 958000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d815 mm \u00d7 49.7 mm tall."], "text": "Revolved body, \u00d815 mm \u00d7 49.7 mm tall."}, "params": {"outer_d": {"type": "float", "default": 15, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 49.7, "min": 14.9, "max": 149.1, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332477 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 15, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 49.7, \"min\": 14.9, \"max\": 149.1, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462caafe_3914", "family": "revolved", "tier": 2, "seed": 1177332478, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "05c0bb65203fe234", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 396000.0, "surface_area": 42700.0, "principal_moments": [295000000.0, 576000000.0, 576000000.0], "n_faces": 4, "n_edges": 6, "n_vertices": 4}, "dimensions": {"lines": ["Revolved body, \u00d872.07 mm \u00d7 113.9 mm tall with \u00d827.7 mm bore."], "text": "Revolved body, \u00d872.07 mm \u00d7 113.9 mm tall with \u00d827.7 mm bore."}, "params": {"outer_d": {"type": "float", "default": 72.07, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 113.9, "min": 34.2, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 27.7, "min": 2.0, "max": 50.4, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332478 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 72.07, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 113.9, \"min\": 34.2, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 27.7, \"min\": 2.0, \"max\": 50.4, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462cab00_3916", "family": "bracket", "tier": 1, "seed": 1177332480, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "bc9b189173e5c1b7", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 17400.0, "surface_area": 7380.0, "principal_moments": [3550000.0, 4670000.0, 6300000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["L-bracket: base leg 40.88 mm, vertical leg 35.8 mm, 41.85 mm wide, 6 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."], "text": "L-bracket: base leg 40.88 mm, vertical leg 35.8 mm, 41.85 mm wide, 6 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 40.88, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 35.8, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 41.85, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 6.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332480 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 40.88, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 35.8, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 41.85, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462cab01_3917", "family": "sketched", "tier": 1, "seed": 1177332481, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "29dcc4021325c542", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 35300.0, "surface_area": 12600.0, "principal_moments": [6960000.0, 14199999.999999998, 14199999.999999998], "n_faces": 7, "n_edges": 12, "n_vertices": 7}, "dimensions": {"lines": ["Revolved organic body from a freeform sketched section (6 segments: 4 straight, 1 arc, 1 curve), ~29.172 \u00d7 50 mm half-silhouette."], "text": "Revolved organic body from a freeform sketched section (6 segments: 4 straight, 1 arc, 1 curve), ~29.172 \u00d7 50 mm half-silhouette."}, "params": {"sk_r": {"type": "float", "default": 40, "min": 20.0, "max": 72.0, "step": 1.0, "group": "Sketch", "label": "Max radius (mm)"}, "sk_h": {"type": "float", "default": 50, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Sketch", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332481 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_r\": {\"type\": 'float', \"default\": 40, \"min\": 20.0, \"max\": 72.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Max radius (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 50, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XZ').moveTo(p[\"sk_r\"] * 0.8024, p[\"sk_h\"] * 0.0).bezier([(p[\"sk_r\"] * 0.8024, p[\"sk_h\"] * 0.0), (p[\"sk_r\"] * 0.5154, p[\"sk_h\"] * 0.0915), (p[\"sk_r\"] * 0.263, p[\"sk_h\"] * 0.1831)]).lineTo(p[\"sk_r\"] * 0.3142, p[\"sk_h\"] * 0.7759).threePointArc((p[\"sk_r\"] * 0.3781, p[\"sk_h\"] * 0.7975), (p[\"sk_r\"] * 0.5822, p[\"sk_h\"] * 0.8191)).lineTo(p[\"sk_r\"] * 0.2723, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.0731, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.0731, p[\"sk_h\"] * 0.0).close().revolve())\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462cab02_3918", "family": "flanged", "tier": 1, "seed": 1177332482, "symmetry": "none", "op_count": 2, "ir_hash": "d035d0e9f5fe818c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 889000.0, "surface_area": 103000.0, "principal_moments": [2130000000.0, 2190000000.0, 2190000000.0], "n_faces": 18, "n_edges": 45, "n_vertices": 30}, "dimensions": {"lines": ["Revolved body, \u00d895.12 mm \u00d7 112.7 mm tall with \u00d840.9 mm bore, \u00d8182.2 mm \u00d7 12.7 mm flange.", "Twelve \u00d86.4 mm holes on a \u00d8109.4 mm bolt circle."], "text": "Revolved body, \u00d895.12 mm \u00d7 112.7 mm tall with \u00d840.9 mm bore, \u00d8182.2 mm \u00d7 12.7 mm flange. Twelve \u00d86.4 mm holes on a \u00d8109.4 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 95.12, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 112.7, "min": 33.8, "max": 281.8, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 40.9, "min": 2.0, "max": 66.6, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 182.2, "min": 123.7, "max": 285.4, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 12.7, "min": 3.8, "max": 45.1, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 54.7, "min": 36.4, "max": 82.0, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 12, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332482 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 95.12, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 112.7, \"min\": 33.8, \"max\": 281.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 40.9, \"min\": 2.0, \"max\": 66.6, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 182.2, \"min\": 123.7, \"max\": 285.4, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 12.7, \"min\": 3.8, \"max\": 45.1, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 54.7, \"min\": 36.4, \"max\": 82.0, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 12, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462cab03_3919", "family": "enclosure", "tier": 1, "seed": 1177332483, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "39259ec6e1e8f071", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 37000.0, "surface_area": 15000.0, "principal_moments": [10400000.0, 13499999.999999998, 19500000.0], "n_faces": 11, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 54.99 \u00d7 22 \u00d7 49.5 mm (W\u00d7D\u00d7H).", "Hollowed to 5.2 mm wall thickness, open at top face."], "text": "Rectangular body, 54.99 \u00d7 22 \u00d7 49.5 mm (W\u00d7D\u00d7H). Hollowed to 5.2 mm wall thickness, open at top face."}, "params": {"enc_w": {"type": "float", "default": 54.99, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 22.0, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 49.5, "min": 19.8, "max": 99.0, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 5.2, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332483 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 54.99, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 22.0, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 49.5, \"min\": 19.8, \"max\": 99.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 5.2, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462cab04_3920", "family": "threaded", "tier": 2, "seed": 1177332484, "symmetry": "none", "op_count": 1, "ir_hash": "e16f23ef2830d3d4", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 18100.0, "surface_area": 6740.0, "principal_moments": [944000.0, 5270000.0, 5270000.0], "n_faces": 140, "n_edges": 354, "n_vertices": 216}, "dimensions": {"lines": ["ACME 7/8 external thread, 57.1 mm long."], "text": "ACME 7/8 external thread, 57.1 mm long."}, "params": {"thread_size": {"type": "enum", "default": "7/8", "choices": ["1/4", "5/16", "3/8", "1/2", "5/8", "3/4", "7/8", "1", "1 1/4", "1 1/2"], "group": "Thread", "label": "Size designation"}, "thread_len": {"type": "float", "default": 57.1, "min": 22.8, "max": 114.2, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332484 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"thread_size\": {\"type\": 'enum', \"default\": '7/8', \"choices\": ['1/4', '5/16', '3/8', '1/2', '5/8', '3/4', '7/8', '1', '1 1/4', '1 1/2'], \"group\": 'Thread', \"label\": 'Size designation'},\n    \"thread_len\": {\"type\": 'float', \"default\": 57.1, \"min\": 22.8, \"max\": 114.2, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.AcmeThread(size=p[\"thread_size\"], length=p[\"thread_len\"], external=True, end_finishes=(\"fade\", \"fade\"))\n    _r = _thr.min_radius if hasattr(_thr, 'min_radius') else _thr.root_radius\n    _shank = _bd.Cylinder(radius=_r, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = _shank + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462cab05_3921", "family": "bracket", "tier": 1, "seed": 1177332485, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "b7ffd348c00a43c2", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 38800.0, "surface_area": 12800.0, "principal_moments": [10800000.0, 39500000.0, 42200000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["L-bracket: base leg 87.82 mm, vertical leg 60.7 mm, 35 mm wide, 8 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."], "text": "L-bracket: base leg 87.82 mm, vertical leg 60.7 mm, 35 mm wide, 8 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 87.82, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 60.7, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 35, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 8.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332485 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 87.82, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 60.7, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 35, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462cab06_3922", "family": "tapped", "tier": 3, "seed": 1177332486, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "62fb891ff9254ee8", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 3210.0, "surface_area": 1730.0, "principal_moments": [129000.0, 129000.0, 171000.0], "n_faces": 87, "n_edges": 233, "n_vertices": 148}, "dimensions": {"lines": ["One M8x1.25 tapped hole in a cylinder."], "text": "One M8x1.25 tapped hole in a cylinder."}, "params": {"major_d": {"type": "float", "default": 8.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 1.25, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 12.8, "min": 9.6, "max": 23.0, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "body_d": {"type": "float", "default": 19.3, "min": 14.4, "max": 30.9, "step": 1.0, "group": "Body", "label": "Outer \u00d8 (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332486 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.25, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 12.8, \"min\": 9.6, \"max\": 23.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"body_d\": {\"type\": 'float', \"default\": 19.3, \"min\": 14.4, \"max\": 30.9, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer \u00d8 (mm)'},\n}\n\n\ndef build(p):\n\n    _W = _D = p[\"body_d\"]\n    _H = p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Cylinder(radius=_W / 2, height=_H)\n    _locs = [(0.0, 0.0)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462cab07_3923", "family": "tapped", "tier": 1, "seed": 1177332487, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "3aaa95ee37461f63", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 56600.0, "surface_area": 13400.0, "principal_moments": [15399999.999999998, 30899999.999999996, 44600000.0], "n_faces": 534, "n_edges": 1460, "n_vertices": 928}, "dimensions": {"lines": ["Four M5x0.8 tapped holes in a plate."], "text": "Four M5x0.8 tapped holes in a plate."}, "params": {"major_d": {"type": "float", "default": 5.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 0.8, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 12.9, "min": 6.0, "max": 23.2, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "plate_w": {"type": "float", "default": 80, "min": 48.0, "max": 128.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 55.7, "min": 33.4, "max": 89.1, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332487 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 0.8, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 12.9, \"min\": 6.0, \"max\": 23.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"plate_w\": {\"type\": 'float', \"default\": 80, \"min\": 48.0, \"max\": 128.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 55.7, \"min\": 33.4, \"max\": 89.1, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n}\n\n\ndef build(p):\n\n    _W, _D, _H = p[\"plate_w\"], p[\"plate_d\"], p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Box(_W, _D, _H)\n    _nx, _ny = max(1, int(2)), max(1, int(2))\n    _sx, _sy = p[\"plate_w\"] * 0.66, p[\"plate_d\"] * 0.66\n    _locs = [(_sx * (_i - (_nx - 1) / 2), _sy * (_j - (_ny - 1) / 2))\n             for _i in range(_nx) for _j in range(_ny)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462cab08_3924", "family": "sketched", "tier": 0, "seed": 1177332488, "symmetry": "none", "op_count": 1, "ir_hash": "73dc67239ed22219", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 15200.0, "surface_area": 5780.0, "principal_moments": [1920000.0, 4350000.0, 6150000.0], "n_faces": 8, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["freeform sketched section (6 segments: 3 straight, 3 curves), ~66.359 \u00d7 47.779 mm, extruded 6.69 mm thick."], "text": "freeform sketched section (6 segments: 3 straight, 3 curves), ~66.359 \u00d7 47.779 mm, extruded 6.69 mm thick."}, "params": {"sk_w": {"type": "float", "default": 85, "min": 42.5, "max": 153.0, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 59.62, "min": 29.8, "max": 107.3, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "sk_t": {"type": "float", "default": 6.69, "min": 2.7, "max": 14.7, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332488 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 85, \"min\": 42.5, \"max\": 153.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 59.62, \"min\": 29.8, \"max\": 107.3, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"sk_t\": {\"type\": 'float', \"default\": 6.69, \"min\": 2.7, \"max\": 14.7, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.3416, p[\"sk_h\"] * -0.0794).bezier([(p[\"sk_w\"] * 0.3416, p[\"sk_h\"] * -0.0794), (p[\"sk_w\"] * 0.3359, p[\"sk_h\"] * 0.0873), (p[\"sk_w\"] * 0.2783, p[\"sk_h\"] * 0.2438)]).lineTo(p[\"sk_w\"] * -0.3162, p[\"sk_h\"] * 0.3507).lineTo(p[\"sk_w\"] * -0.4391, p[\"sk_h\"] * 0.0684).bezier([(p[\"sk_w\"] * -0.4391, p[\"sk_h\"] * 0.0684), (p[\"sk_w\"] * -0.3366, p[\"sk_h\"] * -0.2029), (p[\"sk_w\"] * -0.111, p[\"sk_h\"] * -0.3849)]).bezier([(p[\"sk_w\"] * -0.111, p[\"sk_h\"] * -0.3849), (p[\"sk_w\"] * 0.046, p[\"sk_h\"] * -0.4441), (p[\"sk_w\"] * 0.2135, p[\"sk_h\"] * -0.4507)]).lineTo(p[\"sk_w\"] * 0.3416, p[\"sk_h\"] * -0.0794).close().extrude(p[\"sk_t\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462cab09_3925", "family": "enclosure", "tier": 1, "seed": 1177332489, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "93b6be733f42a114", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 51800.0, "surface_area": 40500.0, "principal_moments": [41000000.0, 66999999.99999999, 67600000.0], "n_faces": 11, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 85 \u00d7 51.6 \u00d7 61.7 mm (W\u00d7D\u00d7H).", "Hollowed to 2.6 mm wall thickness, open at top face."], "text": "Rectangular body, 85 \u00d7 51.6 \u00d7 61.7 mm (W\u00d7D\u00d7H). Hollowed to 2.6 mm wall thickness, open at top face."}, "params": {"enc_w": {"type": "float", "default": 85, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 51.6, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 61.7, "min": 24.7, "max": 123.4, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 2.6, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332489 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 85, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 51.6, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 61.7, \"min\": 24.7, \"max\": 123.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 2.6, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462cab0a_3926", "family": "ribbed", "tier": 1, "seed": 1177332490, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "e2d599d8f49556ba", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 8080.0, "surface_area": 3730.0, "principal_moments": [633000.0, 914000.0, 1180000.0], "n_faces": 16, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 30 \u00d7 26.3 \u00d7 8 mm (W\u00d7D\u00d7H).", "Two ribs, 3.2 mm thick, 11.5 mm tall."], "text": "Rectangular body, 30 \u00d7 26.3 \u00d7 8 mm (W\u00d7D\u00d7H). Two ribs, 3.2 mm thick, 11.5 mm tall."}, "params": {"base_w": {"type": "float", "default": 30.0, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 26.3, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 8.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 2, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 11.5, "min": 4.6, "max": 23.0, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 3.2, "min": 1.0, "max": 8.0, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332490 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 30.0, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 26.3, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 2, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 11.5, \"min\": 4.6, \"max\": 23.0, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 3.2, \"min\": 1.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462cab0b_3927", "family": "block", "tier": 1, "seed": 1177332491, "symmetry": "radial", "op_count": 2, "ir_hash": "7030b2db7dbe3e77", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 296000.0, "surface_area": 44700.0, "principal_moments": [165000000.0, 327000000.0, 332000000.0], "n_faces": 14, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 57.53 \u00d7 56 \u00d7 100 mm (W\u00d7D\u00d7H).", "Eight \u00d86.4 mm holes on a \u00d834.6 mm bolt circle."], "text": "Rectangular body, 57.53 \u00d7 56 \u00d7 100 mm (W\u00d7D\u00d7H). Eight \u00d86.4 mm holes on a \u00d834.6 mm bolt circle."}, "params": {"block_w": {"type": "float", "default": 57.53, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 56.0, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 100.0, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "bolt_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 17.3, "min": 11.5, "max": 25.9, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 8, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332491 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 57.53, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 56.0, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 100.0, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 17.3, \"min\": 11.5, \"max\": 25.9, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462cab0c_3928", "family": "revolved", "tier": 2, "seed": 1177332492, "symmetry": "radial", "op_count": 1, "ir_hash": "019b5a763c28f70e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 112000.0, "surface_area": 25800.0, "principal_moments": [29199999.999999996, 117000000.0, 117000000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d841.62 mm \u00d7 123.8 mm tall."], "text": "Revolved body, \u00d841.62 mm \u00d7 123.8 mm tall."}, "params": {"outer_d": {"type": "float", "default": 41.62, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 123.8, "min": 37.1, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332492 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 41.62, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 123.8, \"min\": 37.1, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462cab0d_3929", "family": "ribbed", "tier": 3, "seed": 1177332493, "symmetry": "mirror_xy", "op_count": 3, "ir_hash": "482923302b4675a2", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 32300.0, "surface_area": 19500.0, "principal_moments": [12799999.999999998, 20400000.0, 32699999.999999996], "n_faces": 62, "n_edges": 168, "n_vertices": 104}, "dimensions": {"lines": ["Rectangular body, 90.33 \u00d7 65.8 \u00d7 3 mm (W\u00d7D\u00d7H).", "Six ribs, 5.4 mm thick, 6.9 mm tall.", "Four \u00d810.5 mm holes at the corners, 63.231 \u00d7 46.06 mm spacing."], "text": "Rectangular body, 90.33 \u00d7 65.8 \u00d7 3 mm (W\u00d7D\u00d7H). Six ribs, 5.4 mm thick, 6.9 mm tall. Four \u00d810.5 mm holes at the corners, 63.231 \u00d7 46.06 mm spacing."}, "params": {"base_w": {"type": "float", "default": 90.33, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 65.8, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 3.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 6, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 6.9, "min": 2.8, "max": 13.8, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 5.4, "min": 1.0, "max": 13.5, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}, "hole_d": {"type": "float", "default": 10.5, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332493 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 90.33, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 65.8, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 6, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 6.9, \"min\": 2.8, \"max\": 13.8, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 5.4, \"min\": 1.0, \"max\": 13.5, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 10.5, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"base_w\"] * 0.7, p[\"base_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462cab0e_3930", "family": "plate", "tier": 1, "seed": 1177332494, "symmetry": "none", "op_count": 2, "ir_hash": "6ed3d25a1ee1cb88", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 76600.0, "surface_area": 20500.0, "principal_moments": [28499999.999999996, 93299999.99999999, 120000000.0], "n_faces": 15, "n_edges": 39, "n_vertices": 26}, "dimensions": {"lines": ["Rectangular body, 120 \u00d7 65.5 \u00d7 10 mm (W\u00d7D\u00d7H).", "Nine \u00d85.3 mm holes in two staggered rows, 22.5 \u00d7 23.1 mm pitch."], "text": "Rectangular body, 120 \u00d7 65.5 \u00d7 10 mm (W\u00d7D\u00d7H). Nine \u00d85.3 mm holes in two staggered rows, 22.5 \u00d7 23.1 mm pitch."}, "params": {"plate_w": {"type": "float", "default": 120.0, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 65.5, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 6.6, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 5, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332494 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 120.0, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 65.5, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 6.6, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 5, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 22.5\n    _ssy = 23.1\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462cab0f_3931", "family": "compound", "tier": 2, "seed": 1177332495, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "0ff8fd6c6b74c5c8", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 21600.0, "surface_area": 5890.0, "principal_moments": [2320000.0, 3280000.0, 4230000.0], "n_faces": 16, "n_edges": 39, "n_vertices": 26}, "dimensions": {"lines": ["Rectangular body, 30 \u00d7 38.5 \u00d7 19.5 mm (W\u00d7D\u00d7H).", "8 \u00d7 6.8 mm rectangular section attachment, 8.8 mm long, from left face with a \u00d83.7 mm bore.", "Four \u00d86.4 mm holes at the corners, 21 \u00d7 26.95 mm spacing."], "text": "Rectangular body, 30 \u00d7 38.5 \u00d7 19.5 mm (W\u00d7D\u00d7H). 8 \u00d7 6.8 mm rectangular section attachment, 8.8 mm long, from left face with a \u00d83.7 mm bore. Four \u00d86.4 mm holes at the corners, 21 \u00d7 26.95 mm spacing."}, "params": {"block_w": {"type": "float", "default": 30, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 38.5, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 19.5, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "spig_a": {"type": "float", "default": 8.0, "min": 4.0, "max": 13.6, "step": 1.0, "group": "Spigot", "label": "Spigot width (mm)"}, "spig_b": {"type": "float", "default": 6.8, "min": 3.4, "max": 13.6, "step": 1.0, "group": "Spigot", "label": "Spigot depth (mm)"}, "spig_len": {"type": "float", "default": 8.8, "min": 2.0, "max": 27.2, "step": 1.0, "group": "Spigot", "label": "Spigot length (mm)"}, "spig_bore": {"type": "float", "default": 3.7, "min": 2.0, "max": 4.9, "step": 0.5, "group": "Spigot", "label": "Bore diameter (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 6.7, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332495 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 30, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 38.5, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 19.5, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"spig_a\": {\"type\": 'float', \"default\": 8.0, \"min\": 4.0, \"max\": 13.6, \"step\": 1.0, \"group\": 'Spigot', \"label\": 'Spigot width (mm)'},\n    \"spig_b\": {\"type\": 'float', \"default\": 6.8, \"min\": 3.4, \"max\": 13.6, \"step\": 1.0, \"group\": 'Spigot', \"label\": 'Spigot depth (mm)'},\n    \"spig_len\": {\"type\": 'float', \"default\": 8.8, \"min\": 2.0, \"max\": 27.2, \"step\": 1.0, \"group\": 'Spigot', \"label\": 'Spigot length (mm)'},\n    \"spig_bore\": {\"type\": 'float', \"default\": 3.7, \"min\": 2.0, \"max\": 4.9, \"step\": 0.5, \"group\": 'Spigot', \"label\": 'Bore diameter (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 6.7, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .rect(p[\"spig_a\"], p[\"spig_b\"]).extrude(p[\"spig_len\"])\n    )\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"spig_bore\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462cab10_3932", "family": "block", "tier": 2, "seed": 1177332496, "symmetry": "none", "op_count": 3, "ir_hash": "989dcbdaf2d57519", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 7570.0, "surface_area": 2900.0, "principal_moments": [447000.0, 523000.0, 658000.0], "n_faces": 19, "n_edges": 35, "n_vertices": 22}, "dimensions": {"lines": ["Rectangular body, 24.83 \u00d7 11.5 \u00d7 12.9 mm (W\u00d7D\u00d7H).", "Four \u00d82.3 mm holes at the corners, 17.381 \u00d7 8.05 mm spacing.", "Boss \u00d821.5 mm \u00d7 11.3 mm tall on top face."], "text": "Rectangular body, 24.83 \u00d7 11.5 \u00d7 12.9 mm (W\u00d7D\u00d7H). Four \u00d82.3 mm holes at the corners, 17.381 \u00d7 8.05 mm spacing. Boss \u00d821.5 mm \u00d7 11.3 mm tall on top face."}, "params": {"block_w": {"type": "float", "default": 24.83, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 11.5, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 12.9, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 2.3, "min": 2.0, "max": 2.6, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "boss_d": {"type": "float", "default": 21.5, "min": 10.8, "max": 43.0, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 11.3, "min": 4.5, "max": 28.2, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332496 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 24.83, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 11.5, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 12.9, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 2.3, \"min\": 2.0, \"max\": 2.6, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"boss_d\": {\"type\": 'float', \"default\": 21.5, \"min\": 10.8, \"max\": 43.0, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 11.3, \"min\": 4.5, \"max\": 28.2, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462cab11_3933", "family": "block", "tier": 2, "seed": 1177332497, "symmetry": "radial", "op_count": 3, "ir_hash": "8e607e1d84654d4e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 437000.0, "surface_area": 45500.0, "principal_moments": [348000000.0, 476000000.0, 600000000.0], "n_faces": 17, "n_edges": 42, "n_vertices": 28}, "dimensions": {"lines": ["Rectangular body, 80.16 \u00d7 55.4 \u00d7 100 mm (W\u00d7D\u00d7H).", "Eight \u00d83.2 mm holes on a \u00d848 mm bolt circle.", "Boss \u00d89.1 mm \u00d7 7.2 mm tall on top face with a \u00d84.3 mm bore."], "text": "Rectangular body, 80.16 \u00d7 55.4 \u00d7 100 mm (W\u00d7D\u00d7H). Eight \u00d83.2 mm holes on a \u00d848 mm bolt circle. Boss \u00d89.1 mm \u00d7 7.2 mm tall on top face with a \u00d84.3 mm bore."}, "params": {"block_w": {"type": "float", "default": 80.16, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 55.4, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 100.0, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "bolt_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 24.0, "min": 16.0, "max": 36.1, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 8, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}, "boss_d": {"type": "float", "default": 9.1, "min": 4.5, "max": 18.2, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 7.2, "min": 2.9, "max": 18.0, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}, "boss_bore_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 6.4, "step": 0.1, "group": "Boss", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332497 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 80.16, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 55.4, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 100.0, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 24.0, \"min\": 16.0, \"max\": 36.1, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n    \"boss_d\": {\"type\": 'float', \"default\": 9.1, \"min\": 4.5, \"max\": 18.2, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 7.2, \"min\": 2.9, \"max\": 18.0, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n    \"boss_bore_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 6.4, \"step\": 0.1, \"group\": 'Boss', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .hole(p[\"boss_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462cab12_3934", "family": "enclosure", "tier": 2, "seed": 1177332498, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "9ba0488ad22bdb24", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 205000.0, "surface_area": 77400.0, "principal_moments": [342000000.0, 460000000.0, 543000000.0], "n_faces": 15, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 113.29 \u00d7 86.7 \u00d7 79 mm (W\u00d7D\u00d7H).", "Hollowed to 5.5 mm wall thickness, open at top face.", "Four \u00d810.5 mm holes at the corners, 79.303 \u00d7 60.69 mm spacing."], "text": "Rectangular body, 113.29 \u00d7 86.7 \u00d7 79 mm (W\u00d7D\u00d7H). Hollowed to 5.5 mm wall thickness, open at top face. Four \u00d810.5 mm holes at the corners, 79.303 \u00d7 60.69 mm spacing."}, "params": {"enc_w": {"type": "float", "default": 113.29, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 86.7, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 79.0, "min": 31.6, "max": 158.0, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 5.5, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}, "hole_d": {"type": "float", "default": 10.5, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332498 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 113.29, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 86.7, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 79.0, \"min\": 31.6, \"max\": 158.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 5.5, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 10.5, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"enc_w\"] * 0.7, p[\"enc_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462cab13_3935", "family": "flanged", "tier": 1, "seed": 1177332499, "symmetry": "none", "op_count": 2, "ir_hash": "dba760011db7a9eb", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 46300.0, "surface_area": 16200.0, "principal_moments": [18000000.0, 18000000.0, 29799999.999999996], "n_faces": 14, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["Revolved body, \u00d835.56 mm \u00d7 29.2 mm tall with \u00d819 mm bore, \u00d881.6 mm \u00d7 6.2 mm flange.", "Eight \u00d84.3 mm holes on a \u00d849 mm bolt circle."], "text": "Revolved body, \u00d835.56 mm \u00d7 29.2 mm tall with \u00d819 mm bore, \u00d881.6 mm \u00d7 6.2 mm flange. Eight \u00d84.3 mm holes on a \u00d849 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 35.56, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 29.2, "min": 8.8, "max": 73.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 19.0, "min": 2.0, "max": 24.9, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 81.6, "min": 46.2, "max": 106.7, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 6.2, "min": 1.9, "max": 11.7, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 24.5, "min": 16.3, "max": 36.7, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 8, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332499 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 35.56, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 29.2, \"min\": 8.8, \"max\": 73.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 19.0, \"min\": 2.0, \"max\": 24.9, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 81.6, \"min\": 46.2, \"max\": 106.7, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 6.2, \"min\": 1.9, \"max\": 11.7, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 24.5, \"min\": 16.3, \"max\": 36.7, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462cab14_3936", "family": "revolved", "tier": 0, "seed": 1177332500, "symmetry": "none", "op_count": 1, "ir_hash": "e61d2de79be794b7", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 23000.0, "surface_area": 8540.0, "principal_moments": [2330000.0, 6930000.0, 6930000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d825.98 mm \u00d7 65 mm tall."], "text": "Revolved body, \u00d825.98 mm \u00d7 65 mm tall."}, "params": {"outer_d": {"type": "float", "default": 25.98, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 65.0, "min": 19.5, "max": 195.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332500 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 25.98, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 65.0, \"min\": 19.5, \"max\": 195.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462cab15_3937", "family": "lofted", "tier": 2, "seed": 1177332501, "symmetry": "none", "op_count": 2, "ir_hash": "14dfc7c18ffd2186", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 65600.0, "surface_area": 13100.0, "principal_moments": [22000000.0, 22000000.0, 23099999.999999996], "n_faces": 8, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["Lofted body through 3 sections: 48.41 \u00d7 48.41 mm rectangular section \u2192 41.8 \u00d7 41.8 mm rectangular section \u2192 \u00d835.2 mm circular section.", "One \u00d819.2 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 3 sections: 48.41 \u00d7 48.41 mm rectangular section \u2192 41.8 \u00d7 41.8 mm rectangular section \u2192 \u00d835.2 mm circular section. One \u00d819.2 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 48.41, "min": 24.2, "max": 77.5, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 35.2, "min": 14.1, "max": 58.1, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 45.9, "min": 18.4, "max": 91.8, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_mid": {"type": "float", "default": 41.8, "min": 17.6, "max": 58.1, "step": 1.0, "group": "Body", "label": "Mid size (mm)"}, "loft_bore_d": {"type": "float", "default": 19.2, "min": 2.0, "max": 28.2, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332501 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 48.41, \"min\": 24.2, \"max\": 77.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 35.2, \"min\": 14.1, \"max\": 58.1, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 45.9, \"min\": 18.4, \"max\": 91.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_mid\": {\"type\": 'float', \"default\": 41.8, \"min\": 17.6, \"max\": 58.1, \"step\": 1.0, \"group\": 'Body', \"label\": 'Mid size (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 19.2, \"min\": 2.0, \"max\": 28.2, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .rect(p[\"loft_base\"], p[\"loft_base\"])\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .rect(p[\"loft_mid\"], p[\"loft_mid\"])\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .circle(p[\"loft_top\"] / 2)\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462cab16_3938", "family": "revolved", "tier": 1, "seed": 1177332502, "symmetry": "none", "op_count": 1, "ir_hash": "f57fcb83727bc2fa", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 902000.0, "surface_area": 91900.0, "principal_moments": [696000000.0, 5580000000.0, 5580000000.0], "n_faces": 4, "n_edges": 6, "n_vertices": 4}, "dimensions": {"lines": ["Revolved body, \u00d872.54 mm \u00d7 263.7 mm tall with \u00d830.1 mm bore."], "text": "Revolved body, \u00d872.54 mm \u00d7 263.7 mm tall with \u00d830.1 mm bore."}, "params": {"outer_d": {"type": "float", "default": 72.54, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 263.7, "min": 79.1, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 30.1, "min": 2.0, "max": 50.8, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332502 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 72.54, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 263.7, \"min\": 79.1, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 30.1, \"min\": 2.0, \"max\": 50.8, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462cab17_3939", "family": "flanged", "tier": 1, "seed": 1177332503, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "89e9bf38f88189cc", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 14800.0, "surface_area": 7730.0, "principal_moments": [2410000.0, 2410000.0, 3630000.0], "n_faces": 29, "n_edges": 114, "n_vertices": 76}, "dimensions": {"lines": ["Revolved body, \u00d830 mm \u00d7 20.4 mm tall with \u00d812.6 mm bore, \u00d855.8 mm \u00d7 3 mm flange.", "Twelve \u00d86.4 mm holes on a \u00d833.4 mm bolt circle."], "text": "Revolved body, \u00d830 mm \u00d7 20.4 mm tall with \u00d812.6 mm bore, \u00d855.8 mm \u00d7 3 mm flange. Twelve \u00d86.4 mm holes on a \u00d833.4 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 30, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 20.4, "min": 6.1, "max": 51.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 12.6, "min": 2.0, "max": 21.0, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 55.8, "min": 39.0, "max": 90.0, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 3.0, "min": 0.9, "max": 8.2, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 16.7, "min": 11.2, "max": 25.1, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 12, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332503 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 30, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 20.4, \"min\": 6.1, \"max\": 51.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 12.6, \"min\": 2.0, \"max\": 21.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 55.8, \"min\": 39.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 3.0, \"min\": 0.9, \"max\": 8.2, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 16.7, \"min\": 11.2, \"max\": 25.1, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 12, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462cab18_3940", "family": "flanged", "tier": 2, "seed": 1177332504, "symmetry": "mirror_xy", "op_count": 3, "ir_hash": "eabe24da44fde02c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 22600.0, "surface_area": 8920.0, "principal_moments": [4440000.0, 4440000.0, 5790000.0], "n_faces": 80, "n_edges": 216, "n_vertices": 127}, "dimensions": {"lines": ["Revolved body, \u00d830.96 mm \u00d7 27.1 mm tall with \u00d814.5 mm bore, \u00d853.8 mm \u00d7 5.1 mm flange.", "Twelve \u00d83.2 mm holes on a \u00d832.2 mm bolt circle.", "Chamfer 0.5 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d830.96 mm \u00d7 27.1 mm tall with \u00d814.5 mm bore, \u00d853.8 mm \u00d7 5.1 mm flange. Twelve \u00d83.2 mm holes on a \u00d832.2 mm bolt circle. Chamfer 0.5 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 30.96, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 27.1, "min": 8.1, "max": 67.8, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 14.5, "min": 2.0, "max": 21.7, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 53.8, "min": 40.2, "max": 92.9, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 5.1, "min": 1.5, "max": 10.8, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 16.1, "min": 10.8, "max": 24.2, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 12, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}, "end_chamfer": {"type": "float", "default": 0.5, "min": 0.1, "max": 2.0, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332504 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 30.96, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 27.1, \"min\": 8.1, \"max\": 67.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 14.5, \"min\": 2.0, \"max\": 21.7, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 53.8, \"min\": 40.2, \"max\": 92.9, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 5.1, \"min\": 1.5, \"max\": 10.8, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 16.1, \"min\": 10.8, \"max\": 24.2, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 12, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.5, \"min\": 0.1, \"max\": 2.0, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462cab19_3941", "family": "block", "tier": 1, "seed": 1177332505, "symmetry": "none", "op_count": 2, "ir_hash": "d9c08a06940866a5", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 205000.0, "surface_area": 27700.0, "principal_moments": [92299999.99999999, 187000000.0, 247000000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 66.93 \u00d7 31.1 \u00d7 100 mm (W\u00d7D\u00d7H).", "Four \u00d83.2 mm holes at the corners, 46.851 \u00d7 21.77 mm spacing."], "text": "Rectangular body, 66.93 \u00d7 31.1 \u00d7 100 mm (W\u00d7D\u00d7H). Four \u00d83.2 mm holes at the corners, 46.851 \u00d7 21.77 mm spacing."}, "params": {"block_w": {"type": "float", "default": 66.93, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 31.1, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 100.0, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 7.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332505 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 66.93, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 31.1, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 100.0, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 7.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462cab1a_3942", "family": "gear", "tier": 0, "seed": 1177332506, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "0cc4752018cd7b4c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 23500.0, "surface_area": 7490.0, "principal_moments": [3830000.0, 3830000.0, 6970000.0], "n_faces": 98, "n_edges": 288, "n_vertices": 192}, "dimensions": {"lines": ["Spur gear, module 3 mm, 16 teeth (pitch \u00d848 mm), face width 13.3 mm."], "text": "Spur gear, module 3 mm, 16 teeth (pitch \u00d848 mm), face width 13.3 mm."}, "params": {"module": {"type": "float", "default": 3.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 16, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 13.3, "min": 5.3, "max": 33.2, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332506 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 3.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 16, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 13.3, \"min\": 5.3, \"max\": 33.2, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462cab1c_3944", "family": "revolved", "tier": 1, "seed": 1177332508, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "ed32a4e3d95f29f9", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 565000.0, "surface_area": 71700.0, "principal_moments": [498000000.0, 1410000000.0, 1410000000.0], "n_faces": 5, "n_edges": 7, "n_vertices": 5}, "dimensions": {"lines": ["Revolved body, \u00d864.77 mm \u00d7 188.8 mm tall with \u00d891.9 mm \u00d7 44.9 mm flange."], "text": "Revolved body, \u00d864.77 mm \u00d7 188.8 mm tall with \u00d891.9 mm \u00d7 44.9 mm flange."}, "params": {"outer_d": {"type": "float", "default": 64.77, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 188.8, "min": 56.6, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "flange_d": {"type": "float", "default": 91.9, "min": 77.7, "max": 194.3, "step": 1.0, "group": "Body", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 44.9, "min": 13.5, "max": 94.4, "step": 0.5, "group": "Body", "label": "Flange height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332508 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 64.77, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 188.8, \"min\": 56.6, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 91.9, \"min\": 77.7, \"max\": 194.3, \"step\": 1.0, \"group\": 'Body', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 44.9, \"min\": 13.5, \"max\": 94.4, \"step\": 0.5, \"group\": 'Body', \"label\": 'Flange height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462cab1d_3945", "family": "flanged", "tier": 1, "seed": 1177332509, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "ecbac60e233a3935", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 272000.0, "surface_area": 49700.0, "principal_moments": [321000000.0, 321000000.0, 356000000.0], "n_faces": 18, "n_edges": 45, "n_vertices": 30}, "dimensions": {"lines": ["Revolved body, \u00d861.32 mm \u00d7 73 mm tall with \u00d826.1 mm bore, \u00d8133.1 mm \u00d7 8.8 mm flange.", "Twelve \u00d83.2 mm holes on a \u00d879.8 mm bolt circle."], "text": "Revolved body, \u00d861.32 mm \u00d7 73 mm tall with \u00d826.1 mm bore, \u00d8133.1 mm \u00d7 8.8 mm flange. Twelve \u00d83.2 mm holes on a \u00d879.8 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 61.32, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 73.0, "min": 21.9, "max": 182.5, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 26.1, "min": 2.0, "max": 42.9, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 133.1, "min": 79.7, "max": 184.0, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 8.8, "min": 2.6, "max": 29.2, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 39.9, "min": 26.6, "max": 59.9, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 12, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332509 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 61.32, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 73.0, \"min\": 21.9, \"max\": 182.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 26.1, \"min\": 2.0, \"max\": 42.9, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 133.1, \"min\": 79.7, \"max\": 184.0, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 8.8, \"min\": 2.6, \"max\": 29.2, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 39.9, \"min\": 26.6, \"max\": 59.9, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 12, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462cab1e_3946", "family": "block", "tier": 1, "seed": 1177332510, "symmetry": "none", "op_count": 2, "ir_hash": "a3e83f918ba6e37d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 63500.0, "surface_area": 16100.0, "principal_moments": [17500000.0, 18100000.0, 29399999.999999996], "n_faces": 22, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 55 \u00d7 25.1 \u00d7 52.2 mm (W\u00d7D\u00d7H).", "Four 6.4 mm square holes at the corners, 38.5 \u00d7 17.57 mm spacing."], "text": "Rectangular body, 55 \u00d7 25.1 \u00d7 52.2 mm (W\u00d7D\u00d7H). Four 6.4 mm square holes at the corners, 38.5 \u00d7 17.57 mm spacing."}, "params": {"block_w": {"type": "float", "default": 55, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 25.1, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 52.2, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 7.3, "step": 0.5, "group": "Holes", "label": "Square hole size (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332510 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 55, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 25.1, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 52.2, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 7.3, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Square hole size (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().rect(p[\"hole_d\"], p[\"hole_d\"]).cutThruAll()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462cab1f_3947", "family": "revolved", "tier": 1, "seed": 1177332511, "symmetry": "radial", "op_count": 1, "ir_hash": "6cbe828e0101e764", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 65300.0, "surface_area": 14000.0, "principal_moments": [21500000.0, 21500000.0, 26599999.999999996], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d852.17 mm \u00d7 45.8 mm tall."], "text": "Revolved body, \u00d852.17 mm \u00d7 45.8 mm tall."}, "params": {"outer_d": {"type": "float", "default": 52.17, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 45.8, "min": 13.7, "max": 137.4, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332511 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 52.17, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 45.8, \"min\": 13.7, \"max\": 137.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462cab20_3948", "family": "plate", "tier": 1, "seed": 1177332512, "symmetry": "none", "op_count": 2, "ir_hash": "7ddd2cb5d47189b1", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 9250.0, "surface_area": 6030.0, "principal_moments": [845000.0, 3230000.0, 4030000.0], "n_faces": 54, "n_edges": 156, "n_vertices": 104}, "dimensions": {"lines": ["Rectangular body, 65 \u00d7 33.6 \u00d7 5 mm (W\u00d7D\u00d7H).", "Twelve 9.4 \u00d7 3.2 mm slots in a 4\u00d73 grid, 17.3 \u00d7 13.4 mm pitch."], "text": "Rectangular body, 65 \u00d7 33.6 \u00d7 5 mm (W\u00d7D\u00d7H). Twelve 9.4 \u00d7 3.2 mm slots in a 4\u00d73 grid, 17.3 \u00d7 13.4 mm pitch."}, "params": {"plate_w": {"type": "float", "default": 65, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 33.6, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 5.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 4.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 4, "min": 1, "max": 4, "step": 1, "group": "Holes", "label": "Holes across"}, "hole_ny": {"type": "int", "default": 3, "min": 1, "max": 4, "step": 1, "group": "Holes", "label": "Holes deep"}, "hole_slot_len": {"type": "float", "default": 9.4, "min": 4.8, "max": 9.4, "step": 0.5, "group": "Holes", "label": "Slot length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332512 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 65, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 33.6, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 5.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 4.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 4, \"min\": 1, \"max\": 4, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes across'},\n    \"hole_ny\": {\"type\": 'int', \"default\": 3, \"min\": 1, \"max\": 4, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes deep'},\n    \"hole_slot_len\": {\"type\": 'float', \"default\": 9.4, \"min\": 4.8, \"max\": 9.4, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Slot length (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(17.3, 13.4, p[\"hole_nx\"], p[\"hole_ny\"])\n        .slot2D(p[\"hole_slot_len\"], p[\"hole_d\"]).cutThruAll()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462cab21_3949", "family": "revolved", "tier": 0, "seed": 1177332513, "symmetry": "radial", "op_count": 1, "ir_hash": "29dc357193561da5", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 2050.0, "surface_area": 1930.0, "principal_moments": [30800.0, 203000.0, 203000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d810 mm \u00d7 39.2 mm tall."], "text": "Revolved body, \u00d810 mm \u00d7 39.2 mm tall."}, "params": {"outer_d": {"type": "float", "default": 10, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 39.2, "min": 11.8, "max": 117.6, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332513 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 10, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 39.2, \"min\": 11.8, \"max\": 117.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462cab22_3950", "family": "bracket", "tier": 2, "seed": 1177332514, "symmetry": "none", "op_count": 1, "ir_hash": "8e86b3290645ea44", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 30700.0, "surface_area": 14100.0, "principal_moments": [9440000.0, 23799999.999999996, 24499999.999999996], "n_faces": 19, "n_edges": 51, "n_vertices": 34}, "dimensions": {"lines": ["C-channel bracket: base leg 65 mm, vertical leg 39.1 mm, 45 mm wide, 5 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 5.2 mm corner gusset."], "text": "C-channel bracket: base leg 65 mm, vertical leg 39.1 mm, 45 mm wide, 5 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 5.2 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 65, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 39.1, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 45, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 5.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 5.2, "min": 2.5, "max": 15.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332514 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 65, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 39.1, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 45, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 5.2, \"min\": 2.5, \"max\": 15.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl / 2, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bl - _bt, _bt).lineTo(_bl - _bt - _g, _bt)\n                    .lineTo(_bl - _bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462cab23_3951", "family": "threaded", "tier": 1, "seed": 1177332515, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "7fcd9b914d16b436", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 437.0, "surface_area": 639.0, "principal_moments": [3530.0, 9160.0, 9160.0], "n_faces": 167, "n_edges": 453, "n_vertices": 288}, "dimensions": {"lines": ["M4x0.7 internal thread, 14.3 mm long."], "text": "M4x0.7 internal thread, 14.3 mm long."}, "params": {"major_d": {"type": "float", "default": 4.0, "min": 4.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Major diameter (mm)"}, "pitch": {"type": "float", "default": 0.7, "min": 0.35, "max": 1.4, "step": 0.05, "group": "Thread", "label": "Pitch (mm)"}, "thread_len": {"type": "float", "default": 14.3, "min": 5.7, "max": 28.6, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332515 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 4.0, \"min\": 4.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Major diameter (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 0.7, \"min\": 0.35, \"max\": 1.4, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Pitch (mm)'},\n    \"thread_len\": {\"type\": 'float', \"default\": 14.3, \"min\": 5.7, \"max\": 28.6, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.IsoThread(major_diameter=p[\"major_d\"], pitch=p[\"pitch\"], length=p[\"thread_len\"], external=False, end_finishes=(\"fade\", \"fade\"))\n    _body = _bd.Cylinder(radius=(p[\"major_d\"]) * 0.9, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _bore = _bd.Cylinder(radius=(p[\"major_d\"]) / 2, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = (_body - _bore) + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462cab24_3952", "family": "block", "tier": 2, "seed": 1177332516, "symmetry": "mirror_xy", "op_count": 3, "ir_hash": "f088b24a01e752d4", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 115000.0, "surface_area": 22300.0, "principal_moments": [57499999.99999999, 57799999.99999999, 98099999.99999999], "n_faces": 21, "n_edges": 54, "n_vertices": 36}, "dimensions": {"lines": ["Rectangular body, 68.04 \u00d7 27.9 \u00d7 72.7 mm (W\u00d7D\u00d7H).", "Five \u00d82.7 mm holes in two staggered rows, 25.5 \u00d7 30.4 mm pitch.", "Pocket 47.3 \u00d7 13.3 mm, 37.3 mm deep, in top face."], "text": "Rectangular body, 68.04 \u00d7 27.9 \u00d7 72.7 mm (W\u00d7D\u00d7H). Five \u00d82.7 mm holes in two staggered rows, 25.5 \u00d7 30.4 mm pitch. Pocket 47.3 \u00d7 13.3 mm, 37.3 mm deep, in top face."}, "params": {"block_w": {"type": "float", "default": 68.04, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 27.9, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 72.7, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 2.7, "min": 2.0, "max": 2.8, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 3, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}, "pocket_w": {"type": "float", "default": 47.3, "min": 23.6, "max": 54.4, "step": 1.0, "group": "Pocket", "label": "Pocket width (mm)"}, "pocket_d": {"type": "float", "default": 13.3, "min": 6.7, "max": 22.3, "step": 1.0, "group": "Pocket", "label": "Pocket depth (mm)"}, "pocket_h": {"type": "float", "default": 37.3, "min": 14.9, "max": 61.8, "step": 0.5, "group": "Pocket", "label": "Pocket height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332516 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 68.04, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 27.9, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 72.7, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 2.7, \"min\": 2.0, \"max\": 2.8, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 3, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n    \"pocket_w\": {\"type\": 'float', \"default\": 47.3, \"min\": 23.6, \"max\": 54.4, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket width (mm)'},\n    \"pocket_d\": {\"type\": 'float', \"default\": 13.3, \"min\": 6.7, \"max\": 22.3, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket depth (mm)'},\n    \"pocket_h\": {\"type\": 'float', \"default\": 37.3, \"min\": 14.9, \"max\": 61.8, \"step\": 0.5, \"group\": 'Pocket', \"label\": 'Pocket height (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 25.5\n    _ssy = 30.4\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"pocket_w\"], p[\"pocket_d\"])\n        .cutBlind(-p[\"pocket_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462cab25_3953", "family": "bracket", "tier": 1, "seed": 1177332517, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "2217039d31629be8", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 21900.0, "surface_area": 9030.0, "principal_moments": [5400000.0, 7320000.0, 10500000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["L-bracket: base leg 50.09 mm, vertical leg 33.1 mm, 48.03 mm wide, 6 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."], "text": "L-bracket: base leg 50.09 mm, vertical leg 33.1 mm, 48.03 mm wide, 6 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 50.09, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 33.1, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 48.03, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 6.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332517 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 50.09, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 33.1, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 48.03, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462cab26_3954", "family": "revolved", "tier": 1, "seed": 1177332518, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "52f7d088b42c87d1", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 15000.0, "surface_area": 5560.0, "principal_moments": [877000.0, 4590000.0, 4590000.0], "n_faces": 8, "n_edges": 14, "n_vertices": 8}, "dimensions": {"lines": ["Revolved body, \u00d820 mm \u00d7 58.2 mm tall with \u00d88.3 mm bore.", "Chamfer 1.3 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d820 mm \u00d7 58.2 mm tall with \u00d88.3 mm bore. Chamfer 1.3 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 20, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 58.2, "min": 17.5, "max": 174.6, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 8.3, "min": 2.0, "max": 14.0, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "end_chamfer": {"type": "float", "default": 1.3, "min": 0.1, "max": 3.9, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332518 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 20, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 58.2, \"min\": 17.5, \"max\": 174.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 8.3, \"min\": 2.0, \"max\": 14.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 1.3, \"min\": 0.1, \"max\": 3.9, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462cab27_3955", "family": "swept", "tier": 1, "seed": 1177332519, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "21cac2b4eb264a05", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 3750.0, "surface_area": 3000.0, "principal_moments": [221000.0, 3670000.0, 3860000.0], "n_faces": 3, "n_edges": 3, "n_vertices": 2}, "dimensions": {"lines": ["\u00d87.9 mm circular section swept along a curved path, ~101.38 mm span."], "text": "\u00d87.9 mm circular section swept along a curved path, ~101.38 mm span."}, "params": {"path_w": {"type": "float", "default": 73.94, "min": 37.0, "max": 133.1, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 101.38, "min": 50.7, "max": 182.5, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_d": {"type": "float", "default": 7.9, "min": 4.0, "max": 14.2, "step": 1.0, "group": "Section", "label": "Section diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332519 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 73.94, \"min\": 37.0, \"max\": 133.1, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 101.38, \"min\": 50.7, \"max\": 182.5, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_d\": {\"type\": 'float', \"default\": 7.9, \"min\": 4.0, \"max\": 14.2, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.3041, p[\"path_h\"] * 0.2802), (p[\"path_w\"] * 0.2283, p[\"path_h\"] * 0.2908), (p[\"path_w\"] * 0.1428, p[\"path_h\"] * 0.5094), (p[\"path_w\"] * 0.4332, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').circle(p[\"sweep_d\"] / 2).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462cab28_3956", "family": "lofted", "tier": 2, "seed": 1177332520, "symmetry": "none", "op_count": 2, "ir_hash": "df6ee4c4281cf880", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 57100.0, "surface_area": 11500.0, "principal_moments": [16699999.999999998, 16699999.999999998, 17700000.0], "n_faces": 8, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["Lofted body through 3 sections: 55 \u00d7 55 mm rectangular section \u2192 \u00d837.8 mm circular section \u2192 \u00d820.6 mm circular section.", "One \u00d811.5 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 3 sections: 55 \u00d7 55 mm rectangular section \u2192 \u00d837.8 mm circular section \u2192 \u00d820.6 mm circular section. One \u00d811.5 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 55, "min": 27.5, "max": 88.0, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 20.6, "min": 8.2, "max": 66.0, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 47.4, "min": 19.0, "max": 94.8, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_mid": {"type": "float", "default": 37.8, "min": 10.3, "max": 66.0, "step": 1.0, "group": "Body", "label": "Mid size (mm)"}, "loft_bore_d": {"type": "float", "default": 11.5, "min": 2.0, "max": 16.5, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332520 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 55, \"min\": 27.5, \"max\": 88.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 20.6, \"min\": 8.2, \"max\": 66.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 47.4, \"min\": 19.0, \"max\": 94.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_mid\": {\"type\": 'float', \"default\": 37.8, \"min\": 10.3, \"max\": 66.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Mid size (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 11.5, \"min\": 2.0, \"max\": 16.5, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .rect(p[\"loft_base\"], p[\"loft_base\"])\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .circle(p[\"loft_mid\"] / 2)\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .circle(p[\"loft_top\"] / 2)\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462cab2a_3958", "family": "revolved", "tier": 2, "seed": 1177332522, "symmetry": "none", "op_count": 1, "ir_hash": "f3ffd123336f62fc", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 245.0, "surface_area": 369.0, "principal_moments": [2050.0, 2050.0, 2120.0], "n_faces": 7, "n_edges": 10, "n_vertices": 7}, "dimensions": {"lines": ["Revolved body, \u00d87.64 mm \u00d7 8.2 mm tall with 0.61 mm-wide groove 0.43 mm deep."], "text": "Revolved body, \u00d87.64 mm \u00d7 8.2 mm tall with 0.61 mm-wide groove 0.43 mm deep."}, "params": {"outer_d": {"type": "float", "default": 7.64, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 8.2, "min": 2.5, "max": 24.6, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "groove_depth": {"type": "float", "default": 0.43, "min": 0.17, "max": 1.29, "step": 0.1, "group": "Body", "label": "Groove depth (mm)"}, "groove_w": {"type": "float", "default": 0.61, "min": 0.24, "max": 1.83, "step": 0.2, "group": "Body", "label": "Groove width (mm)"}, "groove_pos": {"type": "float", "default": 4.2, "min": 1.2, "max": 7.0, "step": 1.0, "group": "Body", "label": "Groove position (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332522 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 7.64, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 8.2, \"min\": 2.5, \"max\": 24.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"groove_depth\": {\"type\": 'float', \"default\": 0.43, \"min\": 0.17, \"max\": 1.29, \"step\": 0.1, \"group\": 'Body', \"label\": 'Groove depth (mm)'},\n    \"groove_w\": {\"type\": 'float', \"default\": 0.61, \"min\": 0.24, \"max\": 1.83, \"step\": 0.2, \"group\": 'Body', \"label\": 'Groove width (mm)'},\n    \"groove_pos\": {\"type\": 'float', \"default\": 4.2, \"min\": 1.2, \"max\": 7.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Groove position (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"groove_pos\"] - p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2 - p[\"groove_depth\"], p[\"groove_pos\"] - p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2 - p[\"groove_depth\"], p[\"groove_pos\"] + p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2, p[\"groove_pos\"] + p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462cab2b_3959", "family": "lofted", "tier": 2, "seed": 1177332523, "symmetry": "none", "op_count": 2, "ir_hash": "fbfb21abb55b7792", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 89300.0, "surface_area": 14000.0, "principal_moments": [31099999.999999996, 31099999.999999996, 42700000.0], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["Lofted body through 3 sections: 6-sided polygon section, 70 mm across corners \u2192 \u00d858.6 mm circular section \u2192 47.2 \u00d7 47.2 mm rectangular section.", "One \u00d818 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 3 sections: 6-sided polygon section, 70 mm across corners \u2192 \u00d858.6 mm circular section \u2192 47.2 \u00d7 47.2 mm rectangular section. One \u00d818 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 70.0, "min": 35.0, "max": 112.0, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 47.2, "min": 18.9, "max": 84.0, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 36.5, "min": 14.6, "max": 73.0, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_mid": {"type": "float", "default": 58.6, "min": 23.6, "max": 84.0, "step": 1.0, "group": "Body", "label": "Mid size (mm)"}, "loft_bore_d": {"type": "float", "default": 18.0, "min": 2.0, "max": 37.8, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332523 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 70.0, \"min\": 35.0, \"max\": 112.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 47.2, \"min\": 18.9, \"max\": 84.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 36.5, \"min\": 14.6, \"max\": 73.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_mid\": {\"type\": 'float', \"default\": 58.6, \"min\": 23.6, \"max\": 84.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Mid size (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 18.0, \"min\": 2.0, \"max\": 37.8, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .polygon(6, p[\"loft_base\"] * 0.5 * 2)\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .circle(p[\"loft_mid\"] / 2)\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .rect(p[\"loft_top\"], p[\"loft_top\"])\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462cab2c_3960", "family": "bracket", "tier": 1, "seed": 1177332524, "symmetry": "none", "op_count": 1, "ir_hash": "e80a911806f187e3", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 16900.0, "surface_area": 6590.0, "principal_moments": [2320000.0, 10000000.0, 11200000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["L-bracket: base leg 70 mm, vertical leg 46.6 mm, 20 mm wide, 8 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."], "text": "L-bracket: base leg 70 mm, vertical leg 46.6 mm, 20 mm wide, 8 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 70, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 46.6, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 20, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 8.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 8.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332524 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 70, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 46.6, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 20, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 8.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462cab2d_3961", "family": "bracket", "tier": 1, "seed": 1177332525, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "bb2414bde51a1d9d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 22500.0, "surface_area": 12900.0, "principal_moments": [5260000.0, 21100000.0, 21900000.0], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Z-bracket: base leg 50 mm, vertical leg 54.5 mm, top leg 45.7 mm, 40 mm wide, 4 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."], "text": "Z-bracket: base leg 50 mm, vertical leg 54.5 mm, top leg 45.7 mm, 40 mm wide, 4 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 50, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 54.5, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 40, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 4.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 45.7, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332525 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 50, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 54.5, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 40, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 45.7, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462cab2e_3962", "family": "block", "tier": 2, "seed": 1177332526, "symmetry": "none", "op_count": 3, "ir_hash": "7c791d5f457f74fe", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 81400.0, "surface_area": 16800.0, "principal_moments": [21200000.0, 32699999.999999996, 34300000.0], "n_faces": 13, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Rectangular body, 58.27 \u00d7 38.1 \u00d7 39.9 mm (W\u00d7D\u00d7H).", "Four \u00d86.4 mm holes at the corners, 40.789 \u00d7 26.67 mm spacing.", "Boss \u00d819.8 mm \u00d7 6.3 mm tall on top face with a \u00d810.5 mm bore."], "text": "Rectangular body, 58.27 \u00d7 38.1 \u00d7 39.9 mm (W\u00d7D\u00d7H). Four \u00d86.4 mm holes at the corners, 40.789 \u00d7 26.67 mm spacing. Boss \u00d819.8 mm \u00d7 6.3 mm tall on top face with a \u00d810.5 mm bore."}, "params": {"block_w": {"type": "float", "default": 58.27, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 38.1, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 39.9, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 8.6, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "boss_d": {"type": "float", "default": 19.8, "min": 9.9, "max": 39.6, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 6.3, "min": 2.5, "max": 15.8, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}, "boss_bore_d": {"type": "float", "default": 10.5, "min": 2.0, "max": 13.9, "step": 0.1, "group": "Boss", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332526 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 58.27, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 38.1, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 39.9, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 8.6, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"boss_d\": {\"type\": 'float', \"default\": 19.8, \"min\": 9.9, \"max\": 39.6, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 6.3, \"min\": 2.5, \"max\": 15.8, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n    \"boss_bore_d\": {\"type\": 'float', \"default\": 10.5, \"min\": 2.0, \"max\": 13.9, \"step\": 0.1, \"group\": 'Boss', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .hole(p[\"boss_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462cab2f_3963", "family": "gear", "tier": 0, "seed": 1177332527, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "938a2118e1c70963", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 6360.0, "surface_area": 3320.0, "principal_moments": [504000.0, 504000.0, 957000.0], "n_faces": 140, "n_edges": 414, "n_vertices": 276}, "dimensions": {"lines": ["Spur gear, module 1.5 mm, 23 teeth (pitch \u00d834.5 mm), face width 6.9 mm."], "text": "Spur gear, module 1.5 mm, 23 teeth (pitch \u00d834.5 mm), face width 6.9 mm."}, "params": {"module": {"type": "float", "default": 1.5, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 23, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 6.9, "min": 2.8, "max": 17.2, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332527 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 1.5, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 23, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 6.9, \"min\": 2.8, \"max\": 17.2, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462cab30_3964", "family": "compound", "tier": 2, "seed": 1177332528, "symmetry": "mirror_xy", "op_count": 4, "ir_hash": "7d1d5d6ed4ea0d13", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 57300.0, "surface_area": 18600.0, "principal_moments": [25699999.999999996, 44900000.0, 47899999.99999999], "n_faces": 16, "n_edges": 39, "n_vertices": 26}, "dimensions": {"lines": ["Rectangular body, 101.37 \u00d7 65.4 \u00d7 6 mm (W\u00d7D\u00d7H).", "\u00d822.6 mm circular section attachment, 45.3 mm long, from top face.", "Four \u00d85.3 mm holes at the corners, 70.959 \u00d7 45.78 mm spacing.", "Fillet radius 5.727 mm on vertical edges."], "text": "Rectangular body, 101.37 \u00d7 65.4 \u00d7 6 mm (W\u00d7D\u00d7H). \u00d822.6 mm circular section attachment, 45.3 mm long, from top face. Four \u00d85.3 mm holes at the corners, 70.959 \u00d7 45.78 mm spacing. Fillet radius 5.727 mm on vertical edges."}, "params": {"base_w": {"type": "float", "default": 101.37, "min": 30.0, "max": 160.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 65.4, "min": 25.0, "max": 160.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_h": {"type": "float", "default": 6.0, "min": 3.0, "max": 30.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "col_d": {"type": "float", "default": 22.6, "min": 9.0, "max": 32.7, "step": 1.0, "group": "Column", "label": "Column diameter (mm)"}, "col_h": {"type": "float", "default": 45.3, "min": 13.6, "max": 135.9, "step": 1.0, "group": "Column", "label": "Column height (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332528 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 101.37, \"min\": 30.0, \"max\": 160.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 65.4, \"min\": 25.0, \"max\": 160.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_h\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 30.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"col_d\": {\"type\": 'float', \"default\": 22.6, \"min\": 9.0, \"max\": 32.7, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column diameter (mm)'},\n    \"col_h\": {\"type\": 'float', \"default\": 45.3, \"min\": 13.6, \"max\": 135.9, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_h\"])\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"col_d\"] / 2).extrude(p[\"col_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"base_w\"] * 0.7, p[\"base_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"base_w\"], p[\"base_d\"]) * 0.08756583712090887)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462cab31_3965", "family": "bracket", "tier": 1, "seed": 1177332529, "symmetry": "none", "op_count": 1, "ir_hash": "2da1f976981b84c9", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 23300.0, "surface_area": 11100.0, "principal_moments": [6830000.0, 19900000.0, 21900000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["L-bracket: base leg 70.72 mm, vertical leg 68.3 mm, 35 mm wide, 5 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."], "text": "L-bracket: base leg 70.72 mm, vertical leg 68.3 mm, 35 mm wide, 5 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 70.72, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 68.3, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 35, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 5.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332529 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 70.72, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 68.3, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 35, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462cab32_3966", "family": "revolved", "tier": 2, "seed": 1177332530, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "6df4099a3784e117", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 349000.0, "surface_area": 46300.0, "principal_moments": [174000000.0, 855000000.0, 855000000.0], "n_faces": 8, "n_edges": 14, "n_vertices": 8}, "dimensions": {"lines": ["Revolved body, \u00d857.97 mm \u00d7 162.7 mm tall with \u00d825 mm bore.", "Chamfer 1.4 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d857.97 mm \u00d7 162.7 mm tall with \u00d825 mm bore. Chamfer 1.4 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 57.97, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 162.7, "min": 48.8, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 25.0, "min": 2.0, "max": 40.6, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "end_chamfer": {"type": "float", "default": 1.4, "min": 0.1, "max": 4.2, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332530 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 57.97, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 162.7, \"min\": 48.8, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 25.0, \"min\": 2.0, \"max\": 40.6, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 1.4, \"min\": 0.1, \"max\": 4.2, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462cab33_3967", "family": "lofted", "tier": 2, "seed": 1177332531, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "35ab3a28bd3eac34", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 22900.0, "surface_area": 6010.0, "principal_moments": [3490000.0, 3500000.0, 3850000.0], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["Lofted body through 3 sections: 41.14 \u00d7 41.14 mm rectangular section \u2192 \u00d826.9 mm circular section \u2192 6-sided polygon section, 12.6 mm across corners.", "One \u00d86.4 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 3 sections: 41.14 \u00d7 41.14 mm rectangular section \u2192 \u00d826.9 mm circular section \u2192 6-sided polygon section, 12.6 mm across corners. One \u00d86.4 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 41.14, "min": 20.6, "max": 65.8, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 12.6, "min": 5.0, "max": 49.4, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 35.4, "min": 14.2, "max": 70.8, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_mid": {"type": "float", "default": 26.9, "min": 6.3, "max": 49.4, "step": 1.0, "group": "Body", "label": "Mid size (mm)"}, "loft_bore_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 10.1, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332531 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 41.14, \"min\": 20.6, \"max\": 65.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 12.6, \"min\": 5.0, \"max\": 49.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 35.4, \"min\": 14.2, \"max\": 70.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_mid\": {\"type\": 'float', \"default\": 26.9, \"min\": 6.3, \"max\": 49.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Mid size (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 10.1, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .rect(p[\"loft_base\"], p[\"loft_base\"])\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .circle(p[\"loft_mid\"] / 2)\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .polygon(6, p[\"loft_top\"] * 0.5 * 2)\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462cab34_3968", "family": "profiled", "tier": 1, "seed": 1177332532, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "ed022692863e5941", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 175000.0, "surface_area": 26900.0, "principal_moments": [18300000.0, 1120000000.0, 1120000000.0], "n_faces": 7, "n_edges": 15, "n_vertices": 10}, "dimensions": {"lines": ["freeform sketched section (5 segments: 1 straight, 3 arcs, 1 curve), ~30.632 \u00d7 26.604 mm, extruded 275.7 mm thick."], "text": "freeform sketched section (5 segments: 1 straight, 3 arcs, 1 curve), ~30.632 \u00d7 26.604 mm, extruded 275.7 mm thick."}, "params": {"sk_w": {"type": "float", "default": 35, "min": 17.5, "max": 63.0, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 35, "min": 17.5, "max": 63.0, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "length": {"type": "float", "default": 275.7, "min": 82.7, "max": 827.1, "step": 5.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332532 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 35, \"min\": 17.5, \"max\": 63.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 35, \"min\": 17.5, \"max\": 63.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 275.7, \"min\": 82.7, \"max\": 827.1, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.4362, p[\"sk_h\"] * -0.1666).bezier([(p[\"sk_w\"] * 0.4362, p[\"sk_h\"] * -0.1666), (p[\"sk_w\"] * 0.4141, p[\"sk_h\"] * 0.1015), (p[\"sk_w\"] * 0.3063, p[\"sk_h\"] * 0.348)]).threePointArc((p[\"sk_w\"] * -0.0782, p[\"sk_h\"] * 0.309), (p[\"sk_w\"] * -0.439, p[\"sk_h\"] * 0.1551)).threePointArc((p[\"sk_w\"] * -0.4395, p[\"sk_h\"] * -0.0579), (p[\"sk_w\"] * -0.3527, p[\"sk_h\"] * -0.2732)).lineTo(p[\"sk_w\"] * 0.0501, p[\"sk_h\"] * -0.4121).threePointArc((p[\"sk_w\"] * 0.2782, p[\"sk_h\"] * -0.321), (p[\"sk_w\"] * 0.4362, p[\"sk_h\"] * -0.1666)).close().extrude(p[\"length\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462cab35_3969", "family": "revolved", "tier": 0, "seed": 1177332533, "symmetry": "none", "op_count": 1, "ir_hash": "69ff4a9bbbd1c955", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 108000.0, "surface_area": 19400.0, "principal_moments": [56799999.99999999, 56799999.99999999, 98999999.99999999], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d878.14 mm \u00d7 33.8 mm tall."], "text": "Revolved body, \u00d878.14 mm \u00d7 33.8 mm tall."}, "params": {"outer_d": {"type": "float", "default": 78.14, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 33.8, "min": 10.1, "max": 101.4, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332533 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 78.14, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 33.8, \"min\": 10.1, \"max\": 101.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462cab36_3970", "family": "flanged", "tier": 1, "seed": 1177332534, "symmetry": "radial", "op_count": 2, "ir_hash": "9cdfe64481fe1e51", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 41200.0, "surface_area": 13700.0, "principal_moments": [10700000.0, 13499999.999999998, 13499999.999999998], "n_faces": 21, "n_edges": 78, "n_vertices": 52}, "dimensions": {"lines": ["Revolved body, \u00d835 mm \u00d7 45 mm tall with \u00d814.3 mm bore, \u00d857.8 mm \u00d7 5.9 mm flange.", "Eight \u00d85.3 mm holes on a \u00d834.6 mm bolt circle."], "text": "Revolved body, \u00d835 mm \u00d7 45 mm tall with \u00d814.3 mm bore, \u00d857.8 mm \u00d7 5.9 mm flange. Eight \u00d85.3 mm holes on a \u00d834.6 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 35, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 45.0, "min": 13.5, "max": 112.5, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 14.3, "min": 2.0, "max": 24.5, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 57.8, "min": 45.5, "max": 105.0, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 5.9, "min": 1.8, "max": 18.0, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 17.3, "min": 11.6, "max": 26.0, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 8, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332534 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 35, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 45.0, \"min\": 13.5, \"max\": 112.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 14.3, \"min\": 2.0, \"max\": 24.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 57.8, \"min\": 45.5, \"max\": 105.0, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 5.9, \"min\": 1.8, \"max\": 18.0, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 17.3, \"min\": 11.6, \"max\": 26.0, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462cab38_3972", "family": "bracket", "tier": 1, "seed": 1177332536, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "6c5fa56c2465f707", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 39800.0, "surface_area": 15600.0, "principal_moments": [13899999.999999998, 39100000.0, 41800000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["L-bracket: base leg 84.67 mm, vertical leg 54.2 mm, 50 mm wide, 6 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."], "text": "L-bracket: base leg 84.67 mm, vertical leg 54.2 mm, 50 mm wide, 6 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 84.67, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 54.2, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 50, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 6.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332536 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 84.67, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 54.2, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 50, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462cab3a_3974", "family": "bracket", "tier": 1, "seed": 1177332538, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "23ab7ec0b8122a38", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 18700.0, "surface_area": 7950.0, "principal_moments": [2790000.0, 7250000.0, 8330000.0], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Z-bracket: base leg 35 mm, vertical leg 39.2 mm, top leg 28.3 mm, 35 mm wide, 6 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."], "text": "Z-bracket: base leg 35 mm, vertical leg 39.2 mm, top leg 28.3 mm, 35 mm wide, 6 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 35, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 39.2, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 35, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 6.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 28.3, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332538 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 35, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 39.2, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 35, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 28.3, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462cab3b_3975", "family": "ribbed", "tier": 1, "seed": 1177332539, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "8b719ac8a67fc752", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 31700.0, "surface_area": 19300.0, "principal_moments": [11599999.999999998, 17300000.0, 26599999.999999996], "n_faces": 26, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 76.74 \u00d7 64.8 \u00d7 3 mm (W\u00d7D\u00d7H).", "Four ribs, 4.2 mm thick, 16.3 mm tall."], "text": "Rectangular body, 76.74 \u00d7 64.8 \u00d7 3 mm (W\u00d7D\u00d7H). Four ribs, 4.2 mm thick, 16.3 mm tall."}, "params": {"base_w": {"type": "float", "default": 76.74, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 64.8, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 3.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 4, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 16.3, "min": 6.5, "max": 32.6, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 4.2, "min": 1.0, "max": 10.5, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332539 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 76.74, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 64.8, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 4, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 16.3, \"min\": 6.5, \"max\": 32.6, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 4.2, \"min\": 1.0, \"max\": 10.5, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462cab3c_3976", "family": "revolved", "tier": 0, "seed": 1177332540, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "ca498862db03e596", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 59600.0, "surface_area": 15500.0, "principal_moments": [12699999.999999998, 29199999.999999996, 29199999.999999996], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d837.65 mm \u00d7 80.3 mm tall."], "text": "Revolved body, \u00d837.65 mm \u00d7 80.3 mm tall."}, "params": {"outer_d": {"type": "float", "default": 37.65, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 80.3, "min": 24.1, "max": 240.9, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332540 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 37.65, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 80.3, \"min\": 24.1, \"max\": 240.9, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462cab3d_3977", "family": "bracket", "tier": 3, "seed": 1177332541, "symmetry": "none", "op_count": 1, "ir_hash": "709770856b425074", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 5630.0, "surface_area": 4440.0, "principal_moments": [618000.0, 2680000.0, 3110000.0], "n_faces": 14, "n_edges": 37, "n_vertices": 24}, "dimensions": {"lines": ["L-bracket: base leg 65 mm, vertical leg 45.9 mm, 15 mm wide, 3 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg; 3.9 mm corner gusset."], "text": "L-bracket: base leg 65 mm, vertical leg 45.9 mm, 15 mm wide, 3 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg; 3.9 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 65, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 45.9, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 15.0, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 3.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 6.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 3.9, "min": 1.5, "max": 7.5, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332541 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 65, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 45.9, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 15.0, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 6.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 3.9, \"min\": 1.5, \"max\": 7.5, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462cab3e_3978", "family": "lofted", "tier": 1, "seed": 1177332542, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "5b011ba2a2d2c1e7", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 68800.0, "surface_area": 13100.0, "principal_moments": [23199999.999999996, 23199999.999999996, 31399999.999999996], "n_faces": 8, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["Lofted body through 2 sections: \u00d858.93 mm circular section \u2192 44.3 \u00d7 44.3 mm rectangular section.", "One \u00d824.1 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 2 sections: \u00d858.93 mm circular section \u2192 44.3 \u00d7 44.3 mm rectangular section. One \u00d824.1 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 58.93, "min": 29.5, "max": 94.3, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 44.3, "min": 17.7, "max": 70.7, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 36.4, "min": 14.6, "max": 72.8, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_bore_d": {"type": "float", "default": 24.1, "min": 2.0, "max": 35.4, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332542 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 58.93, \"min\": 29.5, \"max\": 94.3, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 44.3, \"min\": 17.7, \"max\": 70.7, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 36.4, \"min\": 14.6, \"max\": 72.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 24.1, \"min\": 2.0, \"max\": 35.4, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .circle(p[\"loft_base\"] / 2)\n        .workplane(offset=p[\"loft_h\"])\n        .rect(p[\"loft_top\"], p[\"loft_top\"])\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462cab3f_3979", "family": "plate", "tier": 3, "seed": 1177332543, "symmetry": "radial", "op_count": 4, "ir_hash": "6223fa41855f98ef", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 11200.0, "surface_area": 6530.0, "principal_moments": [1180000.0, 3760000.0, 4800000.0], "n_faces": 27, "n_edges": 72, "n_vertices": 48}, "dimensions": {"lines": ["Rectangular body, 67.49 \u00d7 37.3 \u00d7 4 mm (W\u00d7D\u00d7H).", "Eight \u00d85.3 mm holes on a \u00d840.4 mm bolt circle.", "Chamfer 1.9 mm on vertical edges.", "Boss \u00d818.4 mm \u00d7 7.4 mm tall on top face with a \u00d85.3 mm bore."], "text": "Rectangular body, 67.49 \u00d7 37.3 \u00d7 4 mm (W\u00d7D\u00d7H). Eight \u00d85.3 mm holes on a \u00d840.4 mm bolt circle. Chamfer 1.9 mm on vertical edges. Boss \u00d818.4 mm \u00d7 7.4 mm tall on top face with a \u00d85.3 mm bore."}, "params": {"plate_w": {"type": "float", "default": 67.49, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 37.3, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 4.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "bolt_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 20.2, "min": 13.5, "max": 30.4, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 8, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}, "chamfer_d": {"type": "float", "default": 1.9, "min": 1.5, "max": 4.5, "step": 0.5, "group": "Body", "label": "Chamfer distance (mm)"}, "chamfered": {"type": "bool", "default": true, "group": "Body", "label": "Chamfer edges"}, "boss_d": {"type": "float", "default": 18.4, "min": 9.2, "max": 36.8, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 7.4, "min": 3.0, "max": 18.5, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}, "boss_bore_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 12.9, "step": 0.1, "group": "Boss", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332543 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 67.49, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 37.3, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 4.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 20.2, \"min\": 13.5, \"max\": 30.4, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n    \"chamfer_d\": {\"type\": 'float', \"default\": 1.9, \"min\": 1.5, \"max\": 4.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Chamfer distance (mm)'},\n    \"chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Chamfer edges'},\n    \"boss_d\": {\"type\": 'float', \"default\": 18.4, \"min\": 9.2, \"max\": 36.8, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 7.4, \"min\": 3.0, \"max\": 18.5, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n    \"boss_bore_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 12.9, \"step\": 0.1, \"group\": 'Boss', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    if p[\"chamfered\"]:\n        result = result.edges('|Z').chamfer(p[\"chamfer_d\"])\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .hole(p[\"boss_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462cab40_3980", "family": "swept", "tier": 1, "seed": 1177332544, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "672e72426282e060", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 3920.0, "surface_area": 2510.0, "principal_moments": [136000.0, 2030000.0, 2110000.0], "n_faces": 3, "n_edges": 3, "n_vertices": 2}, "dimensions": {"lines": ["\u00d810.6 mm circular section swept along a curved path, ~75 mm span."], "text": "\u00d810.6 mm circular section swept along a curved path, ~75 mm span."}, "params": {"path_w": {"type": "float", "default": 30.0, "min": 15.0, "max": 54.0, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 75, "min": 37.5, "max": 135.0, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_d": {"type": "float", "default": 10.6, "min": 5.3, "max": 19.1, "step": 1.0, "group": "Section", "label": "Section diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332544 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 30.0, \"min\": 15.0, \"max\": 54.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 75, \"min\": 37.5, \"max\": 135.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_d\": {\"type\": 'float', \"default\": 10.6, \"min\": 5.3, \"max\": 19.1, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.3878, p[\"path_h\"] * 0.4618), (p[\"path_w\"] * 0.5422, p[\"path_h\"] * 0.8596), (p[\"path_w\"] * 0.4121, p[\"path_h\"] * 0.8835), (p[\"path_w\"] * 0.2654, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').circle(p[\"sweep_d\"] / 2).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462cab41_3981", "family": "flanged", "tier": 2, "seed": 1177332545, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "f08c23c98f803f7b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 164000.0, "surface_area": 34000.0, "principal_moments": [130000000.0, 130000000.0, 184000000.0], "n_faces": 12, "n_edges": 27, "n_vertices": 18}, "dimensions": {"lines": ["Revolved body, \u00d856.42 mm \u00d7 50.7 mm tall with \u00d828.6 mm bore, \u00d8110.9 mm \u00d7 10 mm flange.", "Six \u00d85.3 mm holes on a \u00d866.6 mm bolt circle."], "text": "Revolved body, \u00d856.42 mm \u00d7 50.7 mm tall with \u00d828.6 mm bore, \u00d8110.9 mm \u00d7 10 mm flange. Six \u00d85.3 mm holes on a \u00d866.6 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 56.42, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 50.7, "min": 15.2, "max": 126.8, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 28.6, "min": 2.0, "max": 39.5, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 110.9, "min": 73.3, "max": 169.3, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 10.0, "min": 3.0, "max": 20.3, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 33.3, "min": 22.2, "max": 49.9, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 6, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332545 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 56.42, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 50.7, \"min\": 15.2, \"max\": 126.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 28.6, \"min\": 2.0, \"max\": 39.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 110.9, \"min\": 73.3, \"max\": 169.3, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 10.0, \"min\": 3.0, \"max\": 20.3, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 33.3, \"min\": 22.2, \"max\": 49.9, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462cab42_3982", "family": "compound", "tier": 1, "seed": 1177332546, "symmetry": "mirror_xy", "op_count": 3, "ir_hash": "b9c42520efda5dce", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 60200.0, "surface_area": 13000.0, "principal_moments": [15299999.999999998, 16099999.999999998, 17800000.0], "n_faces": 15, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 36.18 \u00d7 37.1 \u00d7 43.3 mm (W\u00d7D\u00d7H).", "34.9 \u00d7 35.8 mm rectangular section attachment, 6 mm long, from right face.", "Four \u00d86.4 mm holes at the corners, 20.94 \u00d7 21.48 mm spacing on the >X face."], "text": "Rectangular body, 36.18 \u00d7 37.1 \u00d7 43.3 mm (W\u00d7D\u00d7H). 34.9 \u00d7 35.8 mm rectangular section attachment, 6 mm long, from right face. Four \u00d86.4 mm holes at the corners, 20.94 \u00d7 21.48 mm spacing on the >X face."}, "params": {"block_w": {"type": "float", "default": 36.18, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 37.1, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 43.3, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "tab_a": {"type": "float", "default": 34.9, "min": 14.0, "max": 55.8, "step": 1.0, "group": "Tab", "label": "Tab width (mm)"}, "tab_b": {"type": "float", "default": 35.8, "min": 14.3, "max": 57.3, "step": 1.0, "group": "Tab", "label": "Tab height (mm)"}, "tab_t": {"type": "float", "default": 6.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Tab", "label": "Tab thickness (mm)"}, "tab_hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 7.7, "step": 0.1, "group": "Tab", "label": "Tab hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332546 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 36.18, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 37.1, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 43.3, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"tab_a\": {\"type\": 'float', \"default\": 34.9, \"min\": 14.0, \"max\": 55.8, \"step\": 1.0, \"group\": 'Tab', \"label\": 'Tab width (mm)'},\n    \"tab_b\": {\"type\": 'float', \"default\": 35.8, \"min\": 14.3, \"max\": 57.3, \"step\": 1.0, \"group\": 'Tab', \"label\": 'Tab height (mm)'},\n    \"tab_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Tab', \"label\": 'Tab thickness (mm)'},\n    \"tab_hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 7.7, \"step\": 0.1, \"group\": 'Tab', \"label\": 'Tab hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .rect(p[\"tab_a\"], p[\"tab_b\"]).extrude(p[\"tab_t\"])\n    )\n    result = (\n        result.faces('>X').workplane()\n        .rect(p[\"tab_a\"] * 0.6, p[\"tab_b\"] * 0.6, forConstruction=True)\n        .vertices().hole(p[\"tab_hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462cab43_3983", "family": "plate", "tier": 2, "seed": 1177332547, "symmetry": "none", "op_count": 3, "ir_hash": "7bd1aca500c5c96b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 48000.0, "surface_area": 12600.0, "principal_moments": [6170000.0, 48599999.99999999, 53599999.99999999], "n_faces": 19, "n_edges": 51, "n_vertices": 34}, "dimensions": {"lines": ["Rectangular body, 109.39 \u00d7 37.3 \u00d7 12 mm (W\u00d7D\u00d7H).", "Nine \u00d83.2 mm holes in two staggered rows, 20.5 \u00d7 16.6 mm pitch.", "Chamfer 1.7 mm on vertical edges."], "text": "Rectangular body, 109.39 \u00d7 37.3 \u00d7 12 mm (W\u00d7D\u00d7H). Nine \u00d83.2 mm holes in two staggered rows, 20.5 \u00d7 16.6 mm pitch. Chamfer 1.7 mm on vertical edges."}, "params": {"plate_w": {"type": "float", "default": 109.39, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 37.3, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 3.7, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 5, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}, "chamfer_d": {"type": "float", "default": 1.7, "min": 1.4, "max": 2.3, "step": 0.5, "group": "Body", "label": "Chamfer distance (mm)"}, "chamfered": {"type": "bool", "default": true, "group": "Body", "label": "Chamfer edges"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332547 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 109.39, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 37.3, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 3.7, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 5, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n    \"chamfer_d\": {\"type\": 'float', \"default\": 1.7, \"min\": 1.4, \"max\": 2.3, \"step\": 0.5, \"group\": 'Body', \"label\": 'Chamfer distance (mm)'},\n    \"chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Chamfer edges'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 20.5\n    _ssy = 16.6\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    if p[\"chamfered\"]:\n        result = result.edges('|Z').chamfer(p[\"chamfer_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462cab44_3984", "family": "bracket", "tier": 1, "seed": 1177332548, "symmetry": "none", "op_count": 1, "ir_hash": "a605d84a85f27225", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 18100.0, "surface_area": 6920.0, "principal_moments": [2420000.0, 6800000.0, 7260000.0], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["C-channel bracket: base leg 50 mm, vertical leg 30.2 mm, 25 mm wide, 8 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."], "text": "C-channel bracket: base leg 50 mm, vertical leg 30.2 mm, 25 mm wide, 8 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 50, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 30.2, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 25, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 8.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332548 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 50, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 30.2, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 25, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462cab45_3985", "family": "bracket", "tier": 1, "seed": 1177332549, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "c264f7edebc17d41", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 5180.0, "surface_area": 4150.0, "principal_moments": [592000.0, 1820000.0, 2060000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["L-bracket: base leg 45 mm, vertical leg 45.1 mm, 20 mm wide, 3 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."], "text": "L-bracket: base leg 45 mm, vertical leg 45.1 mm, 20 mm wide, 3 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 45, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 45.1, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 20, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 3.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 8.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332549 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 45, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 45.1, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 20, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 8.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462cab46_3986", "family": "block", "tier": 3, "seed": 1177332550, "symmetry": "none", "op_count": 4, "ir_hash": "2938627ce81de6ca", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 34100.0, "surface_area": 8860.0, "principal_moments": [5540000.0, 5960000.0, 7970000.0], "n_faces": 12, "n_edges": 27, "n_vertices": 18}, "dimensions": {"lines": ["Rectangular body, 40.9 \u00d7 26.1 \u00d7 31.3 mm (W\u00d7D\u00d7H).", "Four \u00d85.3 mm holes at the corners, 28.63 \u00d7 18.27 mm spacing.", "Boss \u00d822 mm \u00d7 9 mm tall on top face.", "Fillet radius 2.098 mm on vertical edges (optional, off by default)."], "text": "Rectangular body, 40.9 \u00d7 26.1 \u00d7 31.3 mm (W\u00d7D\u00d7H). Four \u00d85.3 mm holes at the corners, 28.63 \u00d7 18.27 mm spacing. Boss \u00d822 mm \u00d7 9 mm tall on top face. Fillet radius 2.098 mm on vertical edges (optional, off by default)."}, "params": {"block_w": {"type": "float", "default": 40.9, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 26.1, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 31.3, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 5.9, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "boss_d": {"type": "float", "default": 22.0, "min": 11.0, "max": 44.0, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 9.0, "min": 3.6, "max": 22.5, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}, "filleted2": {"type": "bool", "default": false, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332550 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 40.9, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 26.1, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 31.3, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 5.9, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"boss_d\": {\"type\": 'float', \"default\": 22.0, \"min\": 11.0, \"max\": 44.0, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 9.0, \"min\": 3.6, \"max\": 22.5, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n    \"filleted2\": {\"type\": 'bool', \"default\": False, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    if p[\"filleted2\"]:\n        result = result.edges('|Z').fillet(min(p[\"block_w\"], p[\"block_d\"]) * 0.08039543445821484)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462cab47_3987", "family": "revolved", "tier": 1, "seed": 1177332551, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "c0abaa612e501b06", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 434000.0, "surface_area": 57000.0, "principal_moments": [366000000.0, 741000000.0, 741000000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d875 mm \u00d7 147.2 mm tall."], "text": "Revolved body, \u00d875 mm \u00d7 147.2 mm tall."}, "params": {"outer_d": {"type": "float", "default": 75, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 147.2, "min": 44.2, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332551 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 75, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 147.2, \"min\": 44.2, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462cab48_3988", "family": "bracket", "tier": 1, "seed": 1177332552, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "a7e91665f829b7e1", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 48700.0, "surface_area": 15300.0, "principal_moments": [13699999.999999998, 43700000.0, 46499999.99999999], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Z-bracket: base leg 55 mm, vertical leg 62.6 mm, top leg 34.7 mm, 45 mm wide, 8 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."], "text": "Z-bracket: base leg 55 mm, vertical leg 62.6 mm, top leg 34.7 mm, 45 mm wide, 8 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 55, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 62.6, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 45, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 8.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 34.7, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332552 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 55, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 62.6, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 45, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 34.7, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462cab49_3989", "family": "bracket", "tier": 1, "seed": 1177332553, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "8eef67c86de557a5", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 25200.0, "surface_area": 18300.0, "principal_moments": [16099999.999999998, 20700000.0, 28199999.999999996], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["C-channel bracket: base leg 60.11 mm, vertical leg 66.5 mm, 45 mm wide, 3 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."], "text": "C-channel bracket: base leg 60.11 mm, vertical leg 66.5 mm, 45 mm wide, 3 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 60.11, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 66.5, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 45, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 3.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332553 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 60.11, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 66.5, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 45, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462cab4a_3990", "family": "swept", "tier": 1, "seed": 1177332554, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "7f3f4a839d18ae57", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 14600.0, "surface_area": 4250.0, "principal_moments": [761000.0, 6410000.0, 6600000.0], "n_faces": 3, "n_edges": 3, "n_vertices": 2}, "dimensions": {"lines": ["\u00d817.8 mm circular section swept along a curved path, ~70 mm span."], "text": "\u00d817.8 mm circular section swept along a curved path, ~70 mm span."}, "params": {"path_w": {"type": "float", "default": 70, "min": 35.0, "max": 126.0, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 65, "min": 32.5, "max": 117.0, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_d": {"type": "float", "default": 17.8, "min": 8.9, "max": 32.0, "step": 1.0, "group": "Section", "label": "Section diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332554 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 70, \"min\": 35.0, \"max\": 126.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 65, \"min\": 32.5, \"max\": 117.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_d\": {\"type\": 'float', \"default\": 17.8, \"min\": 8.9, \"max\": 32.0, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.197, p[\"path_h\"] * 0.441), (p[\"path_w\"] * 0.1944, p[\"path_h\"] * 0.7751), (p[\"path_w\"] * 0.0, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').circle(p[\"sweep_d\"] / 2).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462cab4b_3991", "family": "tapped", "tier": 3, "seed": 1177332555, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "e80b99c3aa2f6b21", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 86000.0, "surface_area": 17500.0, "principal_moments": [37200000.0, 42300000.0, 75300000.0], "n_faces": 438, "n_edges": 1196, "n_vertices": 760}, "dimensions": {"lines": ["Four M8x1.25 tapped holes in a plate."], "text": "Four M8x1.25 tapped holes in a plate."}, "params": {"major_d": {"type": "float", "default": 8.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 1.25, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 16.9, "min": 9.6, "max": 30.4, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "plate_w": {"type": "float", "default": 75, "min": 45.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 70.1, "min": 42.1, "max": 112.2, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332555 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.25, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 16.9, \"min\": 9.6, \"max\": 30.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"plate_w\": {\"type\": 'float', \"default\": 75, \"min\": 45.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 70.1, \"min\": 42.1, \"max\": 112.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n}\n\n\ndef build(p):\n\n    _W, _D, _H = p[\"plate_w\"], p[\"plate_d\"], p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Box(_W, _D, _H)\n    _sx, _sy = p[\"plate_w\"] * 0.6, p[\"plate_d\"] * 0.6\n    _locs = [(_xx, _yy) for _xx in (-_sx / 2, _sx / 2) for _yy in (-_sy / 2, _sy / 2)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462cab4c_3992", "family": "lofted", "tier": 0, "seed": 1177332556, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "7e350410946b13f1", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 22100.0, "surface_area": 4530.0, "principal_moments": [2110000.0, 3720000.0, 3720000.0], "n_faces": 8, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["Lofted body through 2 sections: 6-sided polygon section, 35 mm across corners \u2192 \u00d821.8 mm circular section."], "text": "Lofted body through 2 sections: 6-sided polygon section, 35 mm across corners \u2192 \u00d821.8 mm circular section."}, "params": {"loft_base": {"type": "float", "default": 35, "min": 17.5, "max": 56.0, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 21.8, "min": 8.7, "max": 42.0, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 38.7, "min": 15.5, "max": 77.4, "step": 1.0, "group": "Body", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332556 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 35, \"min\": 17.5, \"max\": 56.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 21.8, \"min\": 8.7, \"max\": 42.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 38.7, \"min\": 15.5, \"max\": 77.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .polygon(6, p[\"loft_base\"] * 0.5 * 2)\n        .workplane(offset=p[\"loft_h\"])\n        .circle(p[\"loft_top\"] / 2)\n        .loft(combine=True)\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462cab4d_3993", "family": "plate", "tier": 0, "seed": 1177332557, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "1bde27ffaf766b0e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 37900.0, "surface_area": 10300.0, "principal_moments": [4850000.0, 31899999.999999996, 36100000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 100 \u00d7 37.9 \u00d7 10 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 100 \u00d7 37.9 \u00d7 10 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 100, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 37.9, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332557 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 100, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 37.9, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462cab4e_3994", "family": "plate", "tier": 2, "seed": 1177332558, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "5173eb68bd78df8b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 1220.0, "surface_area": 996.0, "principal_moments": [13100.0, 54500.0, 60600.0], "n_faces": 18, "n_edges": 48, "n_vertices": 32}, "dimensions": {"lines": ["Rectangular body, 23.11 \u00d7 10 \u00d7 6 mm (W\u00d7D\u00d7H).", "Four \u00d82.2 mm counterbored holes (\u00d84.4 mm \u00d7 1.8 mm counterbore) at the corners, 16.177 \u00d7 7 mm spacing."], "text": "Rectangular body, 23.11 \u00d7 10 \u00d7 6 mm (W\u00d7D\u00d7H). Four \u00d82.2 mm counterbored holes (\u00d84.4 mm \u00d7 1.8 mm counterbore) at the corners, 16.177 \u00d7 7 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 23.11, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 10.0, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 6.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 2.2, "min": 2.0, "max": 2.2, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "cb_d": {"type": "float", "default": 4.4, "min": 3.3, "max": 6.6, "step": 0.5, "group": "Holes", "label": "Counterbore diameter (mm)"}, "cb_depth": {"type": "float", "default": 1.8, "min": 0.9, "max": 3.6, "step": 0.5, "group": "Holes", "label": "Counterbore depth (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332558 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 23.11, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 10.0, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 2.2, \"min\": 2.0, \"max\": 2.2, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"cb_d\": {\"type\": 'float', \"default\": 4.4, \"min\": 3.3, \"max\": 6.6, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Counterbore diameter (mm)'},\n    \"cb_depth\": {\"type\": 'float', \"default\": 1.8, \"min\": 0.9, \"max\": 3.6, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Counterbore depth (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().cboreHole(p[\"hole_d\"], p[\"cb_d\"], p[\"cb_depth\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462cab4f_3995", "family": "revolved", "tier": 0, "seed": 1177332559, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "ad0e6d5171f1ca05", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 32100.0, "surface_area": 9390.0, "principal_moments": [5900000.0, 7740000.0, 7740000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d835 mm \u00d7 50.1 mm tall."], "text": "Revolved body, \u00d835 mm \u00d7 50.1 mm tall."}, "params": {"outer_d": {"type": "float", "default": 35, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 50.1, "min": 15.0, "max": 150.3, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332559 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 35, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 50.1, \"min\": 15.0, \"max\": 150.3, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462cab50_3996", "family": "revolved", "tier": 0, "seed": 1177332560, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "6a8efd53f7c33481", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 77000.0, "surface_area": 15600.0, "principal_moments": [32999999.999999996, 32999999.999999996, 58099999.99999999], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d870.96 mm \u00d7 29.2 mm tall."], "text": "Revolved body, \u00d870.96 mm \u00d7 29.2 mm tall."}, "params": {"outer_d": {"type": "float", "default": 70.96, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 29.2, "min": 8.8, "max": 87.6, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332560 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 70.96, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 29.2, \"min\": 8.8, \"max\": 87.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462cab52_3998", "family": "flanged", "tier": 1, "seed": 1177332562, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "cdf8979792230c7c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 975000.0, "surface_area": 96500.0, "principal_moments": [1960000000.0, 2330000000.0, 2330000000.0], "n_faces": 21, "n_edges": 78, "n_vertices": 52}, "dimensions": {"lines": ["Revolved body, \u00d896 mm \u00d7 118.5 mm tall with \u00d830.3 mm bore, \u00d8169.1 mm \u00d7 14.1 mm flange.", "Eight \u00d88.4 mm holes on a \u00d8101.4 mm bolt circle."], "text": "Revolved body, \u00d896 mm \u00d7 118.5 mm tall with \u00d830.3 mm bore, \u00d8169.1 mm \u00d7 14.1 mm flange. Eight \u00d88.4 mm holes on a \u00d8101.4 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 96.0, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 118.5, "min": 35.5, "max": 296.2, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 30.3, "min": 2.0, "max": 67.2, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 169.1, "min": 124.8, "max": 288.0, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 14.1, "min": 4.2, "max": 47.4, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 8.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 50.7, "min": 33.8, "max": 76.1, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 8, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332562 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 96.0, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 118.5, \"min\": 35.5, \"max\": 296.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 30.3, \"min\": 2.0, \"max\": 67.2, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 169.1, \"min\": 124.8, \"max\": 288.0, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 14.1, \"min\": 4.2, \"max\": 47.4, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 50.7, \"min\": 33.8, \"max\": 76.1, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462cab53_3999", "family": "bracket", "tier": 1, "seed": 1177332563, "symmetry": "none", "op_count": 1, "ir_hash": "dc34d7dfe3d4a49f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 19600.0, "surface_area": 9210.0, "principal_moments": [4760000.0, 6530000.0, 9310000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["L-bracket: base leg 36.11 mm, vertical leg 36.7 mm, 58.09 mm wide, 5 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."], "text": "L-bracket: base leg 36.11 mm, vertical leg 36.7 mm, 58.09 mm wide, 5 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 36.11, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 36.7, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 58.09, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 5.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332563 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 36.11, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 36.7, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 58.09, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462cab54_4000", "family": "bracket", "tier": 1, "seed": 1177332564, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "90b6092b1f3a7d06", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 27500.0, "surface_area": 11800.0, "principal_moments": [5480000.0, 40000000.0, 42500000.0], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Z-bracket: base leg 66.14 mm, vertical leg 61.5 mm, top leg 66.3 mm, 25.31 mm wide, 6 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."], "text": "Z-bracket: base leg 66.14 mm, vertical leg 61.5 mm, top leg 66.3 mm, 25.31 mm wide, 6 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 66.14, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 61.5, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 25.31, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 6.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 66.3, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332564 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 66.14, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 61.5, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 25.31, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 66.3, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462cab55_4001", "family": "bracket", "tier": 3, "seed": 1177332565, "symmetry": "none", "op_count": 1, "ir_hash": "3b1fa43628593f40", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 78900.0, "surface_area": 23800.0, "principal_moments": [51599999.99999999, 71900000.0, 81100000.0], "n_faces": 19, "n_edges": 51, "n_vertices": 34}, "dimensions": {"lines": ["C-channel bracket: base leg 65 mm, vertical leg 62.5 mm, 56.74 mm wide, 8 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg; 7.1 mm corner gusset."], "text": "C-channel bracket: base leg 65 mm, vertical leg 62.5 mm, 56.74 mm wide, 8 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg; 7.1 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 65, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 62.5, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 56.74, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 8.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 7.1, "min": 4.0, "max": 24.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332565 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 65, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 62.5, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 56.74, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 7.1, \"min\": 4.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl / 2, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bl - _bt, _bt).lineTo(_bl - _bt - _g, _bt)\n                    .lineTo(_bl - _bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462cab57_4003", "family": "plate", "tier": 1, "seed": 1177332567, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "fdd64d3b3c5c3355", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 4720.0, "surface_area": 2570.0, "principal_moments": [142000.0, 795000.0, 909000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 45 \u00d7 18.2 \u00d7 6 mm (W\u00d7D\u00d7H).", "Four \u00d83.2 mm holes at the corners, 31.5 \u00d7 12.74 mm spacing."], "text": "Rectangular body, 45 \u00d7 18.2 \u00d7 6 mm (W\u00d7D\u00d7H). Four \u00d83.2 mm holes at the corners, 31.5 \u00d7 12.74 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 45, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 18.2, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 6.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 4.1, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332567 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 45, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 18.2, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 4.1, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462cab58_4004", "family": "bracket", "tier": 3, "seed": 1177332568, "symmetry": "none", "op_count": 1, "ir_hash": "d128c568d2554654", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 26200.0, "surface_area": 13000.0, "principal_moments": [9630000.0, 16099999.999999998, 20300000.0], "n_faces": 26, "n_edges": 76, "n_vertices": 48}, "dimensions": {"lines": ["C-channel bracket: base leg 56.53 mm, vertical leg 51.7 mm, 35.16 mm wide, 5 mm thick; 2 \u00d7 \u00d86.4 mm holes per leg; 6.9 mm corner gusset."], "text": "C-channel bracket: base leg 56.53 mm, vertical leg 51.7 mm, 35.16 mm wide, 5 mm thick; 2 \u00d7 \u00d86.4 mm holes per leg; 6.9 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 56.53, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 51.7, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 35.16, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 5.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 2, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 6.9, "min": 2.5, "max": 15.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332568 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 56.53, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 51.7, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 35.16, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 2, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 6.9, \"min\": 2.5, \"max\": 15.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl / 2, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bl - _bt, _bt).lineTo(_bl - _bt - _g, _bt)\n                    .lineTo(_bl - _bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462cab59_4005", "family": "plate", "tier": 0, "seed": 1177332569, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "6a9178165eb57519", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 55800.0, "surface_area": 14400.0, "principal_moments": [11499999.999999998, 61199999.99999999, 71800000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 114.28 \u00d7 48.8 \u00d7 10 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 114.28 \u00d7 48.8 \u00d7 10 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 114.28, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 48.8, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332569 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 114.28, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 48.8, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462cab5a_4006", "family": "revolved", "tier": 1, "seed": 1177332570, "symmetry": "radial", "op_count": 1, "ir_hash": "975fb0ad6ad49db1", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 13500.0, "surface_area": 5170.0, "principal_moments": [1500000.0, 1730000.0, 1730000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d827.17 mm \u00d7 35 mm tall."], "text": "Revolved body, \u00d827.17 mm \u00d7 35 mm tall."}, "params": {"outer_d": {"type": "float", "default": 27.17, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 35.0, "min": 10.5, "max": 105.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332570 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 27.17, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 35.0, \"min\": 10.5, \"max\": 105.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462cab5b_4007", "family": "block", "tier": 1, "seed": 1177332571, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "e5ac4775dde5aa4d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 3770.0, "surface_area": 2210.0, "principal_moments": [147000.0, 177000.0, 272000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 20 \u00d7 9.3 \u00d7 21.9 mm (W\u00d7D\u00d7H).", "Four \u00d82.1 mm holes at the corners, 14 \u00d7 6.51 mm spacing."], "text": "Rectangular body, 20 \u00d7 9.3 \u00d7 21.9 mm (W\u00d7D\u00d7H). Four \u00d82.1 mm holes at the corners, 14 \u00d7 6.51 mm spacing."}, "params": {"block_w": {"type": "float", "default": 20, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 9.3, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 21.9, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 2.1, "min": 2.0, "max": 2.1, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332571 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 20, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 9.3, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 21.9, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 2.1, \"min\": 2.0, \"max\": 2.1, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462cab5c_4008", "family": "bracket", "tier": 1, "seed": 1177332572, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "b11e65aecd7a55ce", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 22200.0, "surface_area": 12700.0, "principal_moments": [7400000.0, 15799999.999999998, 17300000.0], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["C-channel bracket: base leg 60 mm, vertical leg 44.4 mm, 39.79 mm wide, 4 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."], "text": "C-channel bracket: base leg 60 mm, vertical leg 44.4 mm, 39.79 mm wide, 4 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 60, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 44.4, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 39.79, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 4.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332572 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 60, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 44.4, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 39.79, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462cab5d_4009", "family": "plate", "tier": 1, "seed": 1177332573, "symmetry": "none", "op_count": 2, "ir_hash": "545e5b30b3b503de", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 13200.0, "surface_area": 6610.0, "principal_moments": [1270000.0, 6880000.0, 8100000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 79.22 \u00d7 33.7 \u00d7 5 mm (W\u00d7D\u00d7H).", "Four \u00d83.2 mm holes at the corners, 55.454 \u00d7 23.59 mm spacing."], "text": "Rectangular body, 79.22 \u00d7 33.7 \u00d7 5 mm (W\u00d7D\u00d7H). Four \u00d83.2 mm holes at the corners, 55.454 \u00d7 23.59 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 79.22, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 33.7, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 5.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 7.6, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332573 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 79.22, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 33.7, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 5.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 7.6, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462cab5e_4010", "family": "profiled", "tier": 1, "seed": 1177332574, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "4832f8b7544228dd", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 225000.0, "surface_area": 58700.0, "principal_moments": [80800000.0, 1160000000.0, 1160000000.0], "n_faces": 4, "n_edges": 6, "n_vertices": 4}, "dimensions": {"lines": ["Revolved body, \u00d845 mm \u00d7 244 mm tall with \u00d829.2 mm bore."], "text": "Revolved body, \u00d845 mm \u00d7 244 mm tall with \u00d829.2 mm bore."}, "params": {"outer_d": {"type": "float", "default": 45, "min": 22.5, "max": 90.0, "step": 1.0, "group": "Profile", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 244.0, "min": 73.2, "max": 732.0, "step": 5.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 29.2, "min": 2.0, "max": 36.0, "step": 0.5, "group": "Profile", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332574 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 45, \"min\": 22.5, \"max\": 90.0, \"step\": 1.0, \"group\": 'Profile', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 244.0, \"min\": 73.2, \"max\": 732.0, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 29.2, \"min\": 2.0, \"max\": 36.0, \"step\": 0.5, \"group\": 'Profile', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462cab60_4012", "family": "enclosure", "tier": 1, "seed": 1177332576, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "4e959c79535b8707", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 10800.0, "surface_area": 7380.0, "principal_moments": [1410000.0, 2580000.0, 2670000.0], "n_faces": 11, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 40 \u00d7 21.7 \u00d7 26.8 mm (W\u00d7D\u00d7H).", "Hollowed to 3.1 mm wall thickness, open at top face."], "text": "Rectangular body, 40 \u00d7 21.7 \u00d7 26.8 mm (W\u00d7D\u00d7H). Hollowed to 3.1 mm wall thickness, open at top face."}, "params": {"enc_w": {"type": "float", "default": 40, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 21.7, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 26.8, "min": 10.7, "max": 53.6, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 3.1, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332576 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 40, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 21.7, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 26.8, \"min\": 10.7, \"max\": 53.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 3.1, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462cab61_4013", "family": "block", "tier": 2, "seed": 1177332577, "symmetry": "mirror_xy", "op_count": 3, "ir_hash": "6dfb69645bf934e9", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 88200.0, "surface_area": 18400.0, "principal_moments": [25999999.999999996, 46399999.99999999, 50499999.99999999], "n_faces": 15, "n_edges": 48, "n_vertices": 32}, "dimensions": {"lines": ["Rectangular body, 64.98 \u00d7 42.6 \u00d7 40.6 mm (W\u00d7D\u00d7H).", "Four \u00d83.2 mm holes at the corners, 45.486 \u00d7 29.82 mm spacing.", "Pocket 42.4 \u00d7 29.8 mm, 18.1 mm deep, in top face."], "text": "Rectangular body, 64.98 \u00d7 42.6 \u00d7 40.6 mm (W\u00d7D\u00d7H). Four \u00d83.2 mm holes at the corners, 45.486 \u00d7 29.82 mm spacing. Pocket 42.4 \u00d7 29.8 mm, 18.1 mm deep, in top face."}, "params": {"block_w": {"type": "float", "default": 64.98, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 42.6, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 40.6, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 9.6, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "pocket_w": {"type": "float", "default": 42.4, "min": 21.2, "max": 52.0, "step": 1.0, "group": "Pocket", "label": "Pocket width (mm)"}, "pocket_d": {"type": "float", "default": 29.8, "min": 14.9, "max": 34.1, "step": 1.0, "group": "Pocket", "label": "Pocket depth (mm)"}, "pocket_h": {"type": "float", "default": 18.1, "min": 7.2, "max": 34.5, "step": 0.5, "group": "Pocket", "label": "Pocket height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332577 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 64.98, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 42.6, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 40.6, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 9.6, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"pocket_w\": {\"type\": 'float', \"default\": 42.4, \"min\": 21.2, \"max\": 52.0, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket width (mm)'},\n    \"pocket_d\": {\"type\": 'float', \"default\": 29.8, \"min\": 14.9, \"max\": 34.1, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket depth (mm)'},\n    \"pocket_h\": {\"type\": 'float', \"default\": 18.1, \"min\": 7.2, \"max\": 34.5, \"step\": 0.5, \"group\": 'Pocket', \"label\": 'Pocket height (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"pocket_w\"], p[\"pocket_d\"])\n        .cutBlind(-p[\"pocket_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462cab62_4014", "family": "plate", "tier": 1, "seed": 1177332578, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "8608888ef3d69ff6", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 53500.0, "surface_area": 13400.0, "principal_moments": [7430000.0, 60099999.99999999, 66299999.99999999], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 116.03 \u00d7 39.2 \u00d7 12 mm (W\u00d7D\u00d7H).", "Four \u00d85.3 mm holes at the corners, 81.221 \u00d7 27.44 mm spacing."], "text": "Rectangular body, 116.03 \u00d7 39.2 \u00d7 12 mm (W\u00d7D\u00d7H). Four \u00d85.3 mm holes at the corners, 81.221 \u00d7 27.44 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 116.03, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 39.2, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 8.8, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332578 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 116.03, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 39.2, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 8.8, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462cab63_4015", "family": "ribbed", "tier": 1, "seed": 1177332579, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "7b4807ace09ada41", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 34900.0, "surface_area": 18500.0, "principal_moments": [13999999.999999998, 22500000.0, 35900000.0], "n_faces": 46, "n_edges": 112, "n_vertices": 68}, "dimensions": {"lines": ["Rectangular body, 87.97 \u00d7 67.7 \u00d7 4 mm (W\u00d7D\u00d7H).", "Five ribs, 4.5 mm thick, 7 mm tall."], "text": "Rectangular body, 87.97 \u00d7 67.7 \u00d7 4 mm (W\u00d7D\u00d7H). Five ribs, 4.5 mm thick, 7 mm tall."}, "params": {"base_w": {"type": "float", "default": 87.97, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 67.7, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 4.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 5, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 7.0, "min": 2.8, "max": 14.0, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 4.5, "min": 1.0, "max": 11.2, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332579 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 87.97, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 67.7, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 5, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 7.0, \"min\": 2.8, \"max\": 14.0, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 4.5, \"min\": 1.0, \"max\": 11.2, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462cab65_4017", "family": "enclosure", "tier": 1, "seed": 1177332581, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "12d1cd45d774bbef", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 121000.0, "surface_area": 43800.0, "principal_moments": [112000000.0, 131000000.0, 163000000.0], "n_faces": 11, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 80 \u00d7 49.1 \u00d7 78.9 mm (W\u00d7D\u00d7H).", "Hollowed to 5.7 mm wall thickness, open at top face."], "text": "Rectangular body, 80 \u00d7 49.1 \u00d7 78.9 mm (W\u00d7D\u00d7H). Hollowed to 5.7 mm wall thickness, open at top face."}, "params": {"enc_w": {"type": "float", "default": 80, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 49.1, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 78.9, "min": 31.6, "max": 157.8, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 5.7, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332581 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 80, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 49.1, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 78.9, \"min\": 31.6, \"max\": 157.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 5.7, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462cab66_4018", "family": "plate", "tier": 1, "seed": 1177332582, "symmetry": "radial", "op_count": 2, "ir_hash": "ef7ef0fdb109a52d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 9260.0, "surface_area": 3800.0, "principal_moments": [527000.0, 1120000.0, 1430000.0], "n_faces": 16, "n_edges": 42, "n_vertices": 28}, "dimensions": {"lines": ["Rectangular body, 35.63 \u00d7 23.4 \u00d7 12 mm (W\u00d7D\u00d7H).", "Eight \u00d83.2 mm holes on a \u00d821.4 mm bolt circle."], "text": "Rectangular body, 35.63 \u00d7 23.4 \u00d7 12 mm (W\u00d7D\u00d7H). Eight \u00d83.2 mm holes on a \u00d821.4 mm bolt circle."}, "params": {"plate_w": {"type": "float", "default": 35.63, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 23.4, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "bolt_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 10.7, "min": 7.1, "max": 16.0, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 8, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332582 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 35.63, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 23.4, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 10.7, \"min\": 7.1, \"max\": 16.0, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462cab67_4019", "family": "plate", "tier": 1, "seed": 1177332583, "symmetry": "none", "op_count": 2, "ir_hash": "adf2900a1249617c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 46700.0, "surface_area": 11900.0, "principal_moments": [5740000.0, 45599999.99999999, 50199999.99999999], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 107.97 \u00d7 36.6 \u00d7 12 mm (W\u00d7D\u00d7H).", "Four \u00d84.3 mm holes at the corners, 75.579 \u00d7 25.62 mm spacing."], "text": "Rectangular body, 107.97 \u00d7 36.6 \u00d7 12 mm (W\u00d7D\u00d7H). Four \u00d84.3 mm holes at the corners, 75.579 \u00d7 25.62 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 107.97, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 36.6, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 8.2, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332583 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 107.97, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 36.6, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 8.2, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462cab68_4020", "family": "compound", "tier": 1, "seed": 1177332584, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "6b3ad6c3b60715fb", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 14000.0, "surface_area": 3990.0, "principal_moments": [1100000.0, 1570000.0, 1740000.0], "n_faces": 14, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["Rectangular body, 22.85 \u00d7 30.8 \u00d7 19.9 mm (W\u00d7D\u00d7H).", "6-sided polygon section, 6.4 mm across corners attachment, 7.8 mm long, from right face with a \u00d83.3 mm bore."], "text": "Rectangular body, 22.85 \u00d7 30.8 \u00d7 19.9 mm (W\u00d7D\u00d7H). 6-sided polygon section, 6.4 mm across corners attachment, 7.8 mm long, from right face with a \u00d83.3 mm bore."}, "params": {"block_w": {"type": "float", "default": 22.85, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 30.8, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 19.9, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "spig_sides": {"type": "int", "default": 6, "min": 3, "max": 8, "step": 1, "group": "Spigot", "label": "Spigot sides"}, "spig_r": {"type": "float", "default": 3.2, "min": 1.6, "max": 7.0, "step": 1.0, "group": "Spigot", "label": "Spigot circumradius (mm)"}, "spig_len": {"type": "float", "default": 7.8, "min": 1.7, "max": 22.2, "step": 1.0, "group": "Spigot", "label": "Spigot length (mm)"}, "spig_bore": {"type": "float", "default": 3.3, "min": 2.0, "max": 4.0, "step": 0.5, "group": "Spigot", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332584 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 22.85, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 30.8, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 19.9, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"spig_sides\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Spigot', \"label\": 'Spigot sides'},\n    \"spig_r\": {\"type\": 'float', \"default\": 3.2, \"min\": 1.6, \"max\": 7.0, \"step\": 1.0, \"group\": 'Spigot', \"label\": 'Spigot circumradius (mm)'},\n    \"spig_len\": {\"type\": 'float', \"default\": 7.8, \"min\": 1.7, \"max\": 22.2, \"step\": 1.0, \"group\": 'Spigot', \"label\": 'Spigot length (mm)'},\n    \"spig_bore\": {\"type\": 'float', \"default\": 3.3, \"min\": 2.0, \"max\": 4.0, \"step\": 0.5, \"group\": 'Spigot', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"spig_sides\"], p[\"spig_r\"] * 2).extrude(p[\"spig_len\"])\n    )\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"spig_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462cab69_4021", "family": "lofted", "tier": 1, "seed": 1177332585, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "9578a195a2a5b6cb", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 145000.0, "surface_area": 18800.0, "principal_moments": [52499999.99999999, 95099999.99999999, 95099999.99999999], "n_faces": 8, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["Lofted body through 2 sections: \u00d866.82 mm circular section \u2192 21.8 \u00d7 21.8 mm rectangular section.", "One \u00d87.9 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 2 sections: \u00d866.82 mm circular section \u2192 21.8 \u00d7 21.8 mm rectangular section. One \u00d87.9 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 66.82, "min": 33.4, "max": 106.9, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 21.8, "min": 8.7, "max": 80.2, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 84.7, "min": 33.9, "max": 169.4, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_bore_d": {"type": "float", "default": 7.9, "min": 2.0, "max": 17.4, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332585 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 66.82, \"min\": 33.4, \"max\": 106.9, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 21.8, \"min\": 8.7, \"max\": 80.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 84.7, \"min\": 33.9, \"max\": 169.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 7.9, \"min\": 2.0, \"max\": 17.4, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .circle(p[\"loft_base\"] / 2)\n        .workplane(offset=p[\"loft_h\"])\n        .rect(p[\"loft_top\"], p[\"loft_top\"])\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462cab6a_4022", "family": "tapped", "tier": 3, "seed": 1177332586, "symmetry": "none", "op_count": 1, "ir_hash": "e461b35aacc3c750", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 3580.0, "surface_area": 1930.0, "principal_moments": [163000.0, 163000.0, 177000.0], "n_faces": 103, "n_edges": 277, "n_vertices": 176}, "dimensions": {"lines": ["One M8x1.25 tapped hole in a cylinder."], "text": "One M8x1.25 tapped hole in a cylinder."}, "params": {"major_d": {"type": "float", "default": 8.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 1.25, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 15.8, "min": 9.6, "max": 28.4, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "body_d": {"type": "float", "default": 18.5, "min": 14.4, "max": 29.6, "step": 1.0, "group": "Body", "label": "Outer \u00d8 (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332586 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.25, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 15.8, \"min\": 9.6, \"max\": 28.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"body_d\": {\"type\": 'float', \"default\": 18.5, \"min\": 14.4, \"max\": 29.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer \u00d8 (mm)'},\n}\n\n\ndef build(p):\n\n    _W = _D = p[\"body_d\"]\n    _H = p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Cylinder(radius=_W / 2, height=_H)\n    _locs = [(0.0, 0.0)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462cab6b_4023", "family": "sketched", "tier": 1, "seed": 1177332587, "symmetry": "none", "op_count": 2, "ir_hash": "e7b586ba56ebffeb", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 43700.0, "surface_area": 7930.0, "principal_moments": [6690000.0, 11499999.999999998, 13699999.999999998], "n_faces": 7, "n_edges": 15, "n_vertices": 10}, "dimensions": {"lines": ["freeform sketched section (4 segments: 1 straight, 1 arc, 2 curves), ~45.07 \u00d7 61.285 mm, extruded 25 mm thick.", "One \u00d85.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "freeform sketched section (4 segments: 1 straight, 1 arc, 2 curves), ~45.07 \u00d7 61.285 mm, extruded 25 mm thick. One \u00d85.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"sk_w": {"type": "float", "default": 50, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 85, "min": 42.5, "max": 153.0, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "sk_t": {"type": "float", "default": 25, "min": 10.0, "max": 55.0, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "sk_hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 10.6, "step": 0.5, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332587 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 50, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 85, \"min\": 42.5, \"max\": 153.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"sk_t\": {\"type\": 'float', \"default\": 25, \"min\": 10.0, \"max\": 55.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"sk_hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 10.6, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.4851, p[\"sk_h\"] * 0.0537).spline([(p[\"sk_w\"] * 0.4851, p[\"sk_h\"] * 0.0537), (p[\"sk_w\"] * 0.1913, p[\"sk_h\"] * 0.2941), (p[\"sk_w\"] * -0.1818, p[\"sk_h\"] * 0.3646)]).bezier([(p[\"sk_w\"] * -0.1818, p[\"sk_h\"] * 0.3646), (p[\"sk_w\"] * -0.333, p[\"sk_h\"] * 0.1609), (p[\"sk_w\"] * -0.4163, p[\"sk_h\"] * -0.0786)]).threePointArc((p[\"sk_w\"] * -0.2291, p[\"sk_h\"] * -0.269), (p[\"sk_w\"] * 0.0401, p[\"sk_h\"] * -0.3564)).lineTo(p[\"sk_w\"] * 0.4851, p[\"sk_h\"] * 0.0537).close().extrude(p[\"sk_t\"]))\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"sk_hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462cab6c_4024", "family": "enclosure", "tier": 1, "seed": 1177332588, "symmetry": "none", "op_count": 2, "ir_hash": "01c819ba10294e4d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 21200.0, "surface_area": 9200.0, "principal_moments": [2970000.0, 6380000.0, 7170000.0], "n_faces": 11, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 50 \u00d7 21 \u00d7 31.2 mm (W\u00d7D\u00d7H).", "Hollowed to 5 mm wall thickness, open at top face."], "text": "Rectangular body, 50 \u00d7 21 \u00d7 31.2 mm (W\u00d7D\u00d7H). Hollowed to 5 mm wall thickness, open at top face."}, "params": {"enc_w": {"type": "float", "default": 50, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 21.0, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 31.2, "min": 12.5, "max": 62.4, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 5.0, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332588 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 50, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 21.0, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 31.2, \"min\": 12.5, \"max\": 62.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462cab6d_4025", "family": "flanged", "tier": 2, "seed": 1177332589, "symmetry": "none", "op_count": 2, "ir_hash": "275bf1e4d423a0b7", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 18200.0, "surface_area": 8940.0, "principal_moments": [3410000.0, 3410000.0, 3910000.0], "n_faces": 29, "n_edges": 114, "n_vertices": 76}, "dimensions": {"lines": ["Revolved body, \u00d830.56 mm \u00d7 28.4 mm tall with \u00d812.9 mm bore, \u00d854.3 mm \u00d7 3.2 mm flange.", "Twelve \u00d86.4 mm holes on a \u00d832.6 mm bolt circle."], "text": "Revolved body, \u00d830.56 mm \u00d7 28.4 mm tall with \u00d812.9 mm bore, \u00d854.3 mm \u00d7 3.2 mm flange. Twelve \u00d86.4 mm holes on a \u00d832.6 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 30.56, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 28.4, "min": 8.5, "max": 71.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 12.9, "min": 2.0, "max": 21.4, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 54.3, "min": 39.7, "max": 91.7, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 3.2, "min": 1.0, "max": 11.4, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 16.3, "min": 10.9, "max": 24.4, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 12, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332589 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 30.56, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 28.4, \"min\": 8.5, \"max\": 71.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 12.9, \"min\": 2.0, \"max\": 21.4, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 54.3, \"min\": 39.7, \"max\": 91.7, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 3.2, \"min\": 1.0, \"max\": 11.4, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 16.3, \"min\": 10.9, \"max\": 24.4, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 12, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462cab6e_4026", "family": "bracket", "tier": 2, "seed": 1177332590, "symmetry": "none", "op_count": 1, "ir_hash": "f48c56c00744b7bc", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 11900.0, "surface_area": 8680.0, "principal_moments": [2500000.0, 8280000.0, 9720000.0], "n_faces": 15, "n_edges": 41, "n_vertices": 26}, "dimensions": {"lines": ["L-bracket: base leg 72.99 mm, vertical leg 64.3 mm, 25 mm wide, 3 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg; 3.8 mm corner gusset."], "text": "L-bracket: base leg 72.99 mm, vertical leg 64.3 mm, 25 mm wide, 3 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg; 3.8 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 72.99, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 64.3, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 25, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 3.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 3.8, "min": 1.5, "max": 9.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332590 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 72.99, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 64.3, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 25, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 3.8, \"min\": 1.5, \"max\": 9.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462cab70_4028", "family": "compound", "tier": 2, "seed": 1177332592, "symmetry": "none", "op_count": 3, "ir_hash": "c208b79b956c60a1", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 20600.0, "surface_area": 4740.0, "principal_moments": [1730000.0, 4040000.0, 4040000.0], "n_faces": 12, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["\u00d827.86 mm circular section, extruded 27.6 mm thick.", "\u00d815.2 mm circular section attachment, 14.7 mm long, from top face.", "6-sided polygon section, 13.2 mm across corners attachment, 10.1 mm long, from top face."], "text": "\u00d827.86 mm circular section, extruded 27.6 mm thick. \u00d815.2 mm circular section attachment, 14.7 mm long, from top face. 6-sided polygon section, 13.2 mm across corners attachment, 10.1 mm long, from top face."}, "params": {"shaft_d": {"type": "float", "default": 27.86, "min": 13.9, "max": 50.1, "step": 1.0, "group": "Body", "label": "Shaft diameter (mm)"}, "shaft_len": {"type": "float", "default": 27.6, "min": 11.0, "max": 55.2, "step": 1.0, "group": "Body", "label": "Shaft length (mm)"}, "step_d": {"type": "float", "default": 15.2, "min": 7.6, "max": 25.1, "step": 1.0, "group": "Step", "label": "Step diameter (mm)"}, "step_len": {"type": "float", "default": 14.7, "min": 4.4, "max": 36.8, "step": 1.0, "group": "Step", "label": "Step length (mm)"}, "head_sides": {"type": "int", "default": 6, "min": 3, "max": 8, "step": 1, "group": "Head", "label": "Drive head sides"}, "head_r": {"type": "float", "default": 6.6, "min": 4.0, "max": 7.3, "step": 1.0, "group": "Head", "label": "Drive head circumradius (mm)"}, "head_len": {"type": "float", "default": 10.1, "min": 3.0, "max": 20.2, "step": 1.0, "group": "Head", "label": "Drive head length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332592 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"shaft_d\": {\"type\": 'float', \"default\": 27.86, \"min\": 13.9, \"max\": 50.1, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft diameter (mm)'},\n    \"shaft_len\": {\"type\": 'float', \"default\": 27.6, \"min\": 11.0, \"max\": 55.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft length (mm)'},\n    \"step_d\": {\"type\": 'float', \"default\": 15.2, \"min\": 7.6, \"max\": 25.1, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step diameter (mm)'},\n    \"step_len\": {\"type\": 'float', \"default\": 14.7, \"min\": 4.4, \"max\": 36.8, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step length (mm)'},\n    \"head_sides\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Head', \"label\": 'Drive head sides'},\n    \"head_r\": {\"type\": 'float', \"default\": 6.6, \"min\": 4.0, \"max\": 7.3, \"step\": 1.0, \"group\": 'Head', \"label\": 'Drive head circumradius (mm)'},\n    \"head_len\": {\"type\": 'float', \"default\": 10.1, \"min\": 3.0, \"max\": 20.2, \"step\": 1.0, \"group\": 'Head', \"label\": 'Drive head length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').circle(p[\"shaft_d\"] / 2).extrude(p[\"shaft_len\"]))\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"step_d\"] / 2).extrude(p[\"step_len\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"head_sides\"], p[\"head_r\"] * 2).extrude(p[\"head_len\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462cab71_4029", "family": "bracket", "tier": 1, "seed": 1177332593, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "704c7966f6f80e89", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 28900.0, "surface_area": 14200.0, "principal_moments": [8240000.0, 59599999.99999999, 64399999.99999999], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Z-bracket: base leg 85.19 mm, vertical leg 75.8 mm, top leg 67.9 mm, 26.62 mm wide, 5 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."], "text": "Z-bracket: base leg 85.19 mm, vertical leg 75.8 mm, top leg 67.9 mm, 26.62 mm wide, 5 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 85.19, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 75.8, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 26.62, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 5.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 67.9, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332593 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 85.19, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 75.8, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 26.62, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 67.9, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462cab72_4030", "family": "plate", "tier": 2, "seed": 1177332594, "symmetry": "none", "op_count": 3, "ir_hash": "538a66af3c6ef0a8", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 3480.0, "surface_area": 1940.0, "principal_moments": [82400.0, 410000.0, 471000.0], "n_faces": 15, "n_edges": 39, "n_vertices": 26}, "dimensions": {"lines": ["Rectangular body, 37.14 \u00d7 15.9 \u00d7 6 mm (W\u00d7D\u00d7H).", "Five \u00d81.6 mm holes in two staggered rows, 13.9 \u00d7 12.5 mm pitch.", "Chamfer 0.7 mm on vertical edges."], "text": "Rectangular body, 37.14 \u00d7 15.9 \u00d7 6 mm (W\u00d7D\u00d7H). Five \u00d81.6 mm holes in two staggered rows, 13.9 \u00d7 12.5 mm pitch. Chamfer 0.7 mm on vertical edges."}, "params": {"plate_w": {"type": "float", "default": 37.14, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 15.9, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 6.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 1.6, "min": 2.0, "max": 1.6, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 3, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}, "chamfer_d": {"type": "float", "default": 0.7, "min": 0.5, "max": 0.9, "step": 0.5, "group": "Body", "label": "Chamfer distance (mm)"}, "chamfered": {"type": "bool", "default": true, "group": "Body", "label": "Chamfer edges"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332594 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 37.14, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 15.9, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 1.6, \"min\": 2.0, \"max\": 1.6, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 3, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n    \"chamfer_d\": {\"type\": 'float', \"default\": 0.7, \"min\": 0.5, \"max\": 0.9, \"step\": 0.5, \"group\": 'Body', \"label\": 'Chamfer distance (mm)'},\n    \"chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Chamfer edges'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 13.9\n    _ssy = 12.5\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    if p[\"chamfered\"]:\n        result = result.edges('|Z').chamfer(p[\"chamfer_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462cab73_4031", "family": "compound", "tier": 3, "seed": 1177332595, "symmetry": "mirror_x", "op_count": 4, "ir_hash": "af8f4f2a5e379504", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 43700.0, "surface_area": 10300.0, "principal_moments": [4270000.0, 27399999.999999996, 27399999.999999996], "n_faces": 17, "n_edges": 37, "n_vertices": 24}, "dimensions": {"lines": ["\u00d829.21 mm circular section, extruded 56.2 mm thick.", "\u00d816.8 mm circular section attachment, 33.2 mm long, from top face.", "8-sided polygon section, 15 mm across corners attachment, 9.7 mm long, from top face with a \u00d85.8 mm bore.", "Chamfer 2 mm on bottom edges."], "text": "\u00d829.21 mm circular section, extruded 56.2 mm thick. \u00d816.8 mm circular section attachment, 33.2 mm long, from top face. 8-sided polygon section, 15 mm across corners attachment, 9.7 mm long, from top face with a \u00d85.8 mm bore. Chamfer 2 mm on bottom edges."}, "params": {"shaft_d": {"type": "float", "default": 29.21, "min": 14.6, "max": 52.6, "step": 1.0, "group": "Body", "label": "Shaft diameter (mm)"}, "shaft_len": {"type": "float", "default": 56.2, "min": 22.5, "max": 112.4, "step": 1.0, "group": "Body", "label": "Shaft length (mm)"}, "step_d": {"type": "float", "default": 16.8, "min": 8.4, "max": 26.3, "step": 1.0, "group": "Step", "label": "Step diameter (mm)"}, "step_len": {"type": "float", "default": 33.2, "min": 10.0, "max": 83.0, "step": 1.0, "group": "Step", "label": "Step length (mm)"}, "head_sides": {"type": "int", "default": 8, "min": 3, "max": 8, "step": 1, "group": "Head", "label": "Drive head sides"}, "head_r": {"type": "float", "default": 7.5, "min": 4.5, "max": 8.1, "step": 1.0, "group": "Head", "label": "Drive head circumradius (mm)"}, "head_len": {"type": "float", "default": 9.7, "min": 2.9, "max": 19.4, "step": 1.0, "group": "Head", "label": "Drive head length (mm)"}, "axial_bore": {"type": "float", "default": 5.8, "min": 2.0, "max": 10.0, "step": 0.5, "group": "Bore", "label": "Axial bore diameter (mm)"}, "chamfer_d": {"type": "float", "default": 2.0, "min": 0.5, "max": 3.0, "step": 0.5, "group": "Body", "label": "Chamfer distance (mm)"}, "chamfered": {"type": "bool", "default": true, "group": "Body", "label": "Chamfer edges"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332595 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"shaft_d\": {\"type\": 'float', \"default\": 29.21, \"min\": 14.6, \"max\": 52.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft diameter (mm)'},\n    \"shaft_len\": {\"type\": 'float', \"default\": 56.2, \"min\": 22.5, \"max\": 112.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft length (mm)'},\n    \"step_d\": {\"type\": 'float', \"default\": 16.8, \"min\": 8.4, \"max\": 26.3, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step diameter (mm)'},\n    \"step_len\": {\"type\": 'float', \"default\": 33.2, \"min\": 10.0, \"max\": 83.0, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step length (mm)'},\n    \"head_sides\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Head', \"label\": 'Drive head sides'},\n    \"head_r\": {\"type\": 'float', \"default\": 7.5, \"min\": 4.5, \"max\": 8.1, \"step\": 1.0, \"group\": 'Head', \"label\": 'Drive head circumradius (mm)'},\n    \"head_len\": {\"type\": 'float', \"default\": 9.7, \"min\": 2.9, \"max\": 19.4, \"step\": 1.0, \"group\": 'Head', \"label\": 'Drive head length (mm)'},\n    \"axial_bore\": {\"type\": 'float', \"default\": 5.8, \"min\": 2.0, \"max\": 10.0, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Axial bore diameter (mm)'},\n    \"chamfer_d\": {\"type\": 'float', \"default\": 2.0, \"min\": 0.5, \"max\": 3.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Chamfer distance (mm)'},\n    \"chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Chamfer edges'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').circle(p[\"shaft_d\"] / 2).extrude(p[\"shaft_len\"]))\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"step_d\"] / 2).extrude(p[\"step_len\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"head_sides\"], p[\"head_r\"] * 2).extrude(p[\"head_len\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"axial_bore\"])\n    )\n    if p[\"chamfered\"]:\n        result = result.edges('<Z').chamfer(p[\"chamfer_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462cab75_4033", "family": "plate", "tier": 1, "seed": 1177332597, "symmetry": "none", "op_count": 2, "ir_hash": "2e2005717141badb", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 4500.0, "surface_area": 2700.0, "principal_moments": [127000.0, 1010000.0, 1120000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 52.07 \u00d7 17.9 \u00d7 5 mm (W\u00d7D\u00d7H).", "Four \u00d83.2 mm holes at the corners, 36.449 \u00d7 12.53 mm spacing."], "text": "Rectangular body, 52.07 \u00d7 17.9 \u00d7 5 mm (W\u00d7D\u00d7H). Four \u00d83.2 mm holes at the corners, 36.449 \u00d7 12.53 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 52.07, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 17.9, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 5.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 4.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332597 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 52.07, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 17.9, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 5.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 4.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462cab76_4034", "family": "compound", "tier": 1, "seed": 1177332598, "symmetry": "mirror_xy", "op_count": 3, "ir_hash": "8e797e15b2f34ee7", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 104000.0, "surface_area": 35300.0, "principal_moments": [125000000.0, 177000000.0, 185000000.0], "n_faces": 20, "n_edges": 51, "n_vertices": 34}, "dimensions": {"lines": ["Rectangular body, 95 \u00d7 101.3 \u00d7 8 mm (W\u00d7D\u00d7H).", "8-sided polygon section, 22.2 mm across corners attachment, 119.4 mm long, from top face with a \u00d811.8 mm bore.", "Four \u00d84.3 mm holes at the corners, 66.5 \u00d7 70.91 mm spacing."], "text": "Rectangular body, 95 \u00d7 101.3 \u00d7 8 mm (W\u00d7D\u00d7H). 8-sided polygon section, 22.2 mm across corners attachment, 119.4 mm long, from top face with a \u00d811.8 mm bore. Four \u00d84.3 mm holes at the corners, 66.5 \u00d7 70.91 mm spacing."}, "params": {"base_w": {"type": "float", "default": 95, "min": 30.0, "max": 160.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 101.3, "min": 25.0, "max": 160.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_h": {"type": "float", "default": 8.0, "min": 3.0, "max": 30.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "col_sides": {"type": "int", "default": 8, "min": 3, "max": 8, "step": 1, "group": "Column", "label": "Column sides"}, "col_r": {"type": "float", "default": 11.1, "min": 5.5, "max": 23.8, "step": 1.0, "group": "Column", "label": "Column circumradius (mm)"}, "col_h": {"type": "float", "default": 119.4, "min": 35.8, "max": 358.2, "step": 1.0, "group": "Column", "label": "Column height (mm)"}, "col_bore": {"type": "float", "default": 11.8, "min": 2.0, "max": 14.8, "step": 0.5, "group": "Column", "label": "Column bore diameter (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332598 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 95, \"min\": 30.0, \"max\": 160.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 101.3, \"min\": 25.0, \"max\": 160.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_h\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 30.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"col_sides\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Column', \"label\": 'Column sides'},\n    \"col_r\": {\"type\": 'float', \"default\": 11.1, \"min\": 5.5, \"max\": 23.8, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column circumradius (mm)'},\n    \"col_h\": {\"type\": 'float', \"default\": 119.4, \"min\": 35.8, \"max\": 358.2, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column height (mm)'},\n    \"col_bore\": {\"type\": 'float', \"default\": 11.8, \"min\": 2.0, \"max\": 14.8, \"step\": 0.5, \"group\": 'Column', \"label\": 'Column bore diameter (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_h\"])\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"col_sides\"], p[\"col_r\"] * 2).extrude(p[\"col_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"col_bore\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"base_w\"] * 0.7, p[\"base_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462cab77_4035", "family": "revolved", "tier": 2, "seed": 1177332599, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "27bf289a83a1806e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 215000.0, "surface_area": 37000.0, "principal_moments": [101000000.0, 272000000.0, 272000000.0], "n_faces": 5, "n_edges": 8, "n_vertices": 5}, "dimensions": {"lines": ["Revolved body, \u00d855.86 mm \u00d7 131.8 mm tall.", "Chamfer 1 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d855.86 mm \u00d7 131.8 mm tall. Chamfer 1 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 55.86, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 131.8, "min": 39.5, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "end_chamfer": {"type": "float", "default": 1.0, "min": 0.1, "max": 3.0, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332599 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 55.86, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 131.8, \"min\": 39.5, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 1.0, \"min\": 0.1, \"max\": 3.0, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462cab79_4037", "family": "profiled", "tier": 2, "seed": 1177332601, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "3b03a9ccd670d6fc", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 292000.0, "surface_area": 60000.0, "principal_moments": [88600000.0, 1350000000.0, 1350000000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d845 mm \u00d7 275 mm tall."], "text": "Revolved body, \u00d845 mm \u00d7 275 mm tall."}, "params": {"outer_d": {"type": "float", "default": 45, "min": 22.5, "max": 90.0, "step": 1.0, "group": "Profile", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 275.0, "min": 82.5, "max": 825.0, "step": 5.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332601 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 45, \"min\": 22.5, \"max\": 90.0, \"step\": 1.0, \"group\": 'Profile', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 275.0, \"min\": 82.5, \"max\": 825.0, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462cab7a_4038", "family": "revolved", "tier": 1, "seed": 1177332602, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "173bf5cf8fe19b2a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 232000.0, "surface_area": 35000.0, "principal_moments": [109000000.0, 352000000.0, 352000000.0], "n_faces": 6, "n_edges": 9, "n_vertices": 6}, "dimensions": {"lines": ["Revolved body, \u00d850 mm \u00d7 115.3 mm tall with \u00d818.7 mm bore, \u00d877.9 mm \u00d7 13.3 mm flange."], "text": "Revolved body, \u00d850 mm \u00d7 115.3 mm tall with \u00d818.7 mm bore, \u00d877.9 mm \u00d7 13.3 mm flange."}, "params": {"outer_d": {"type": "float", "default": 50, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 115.3, "min": 34.6, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 18.7, "min": 2.0, "max": 35.0, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 77.9, "min": 60.0, "max": 150.0, "step": 1.0, "group": "Body", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 13.3, "min": 4.0, "max": 57.6, "step": 0.5, "group": "Body", "label": "Flange height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332602 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 50, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 115.3, \"min\": 34.6, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 18.7, \"min\": 2.0, \"max\": 35.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 77.9, \"min\": 60.0, \"max\": 150.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 13.3, \"min\": 4.0, \"max\": 57.6, \"step\": 0.5, \"group\": 'Body', \"label\": 'Flange height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462cab7b_4039", "family": "revolved", "tier": 0, "seed": 1177332603, "symmetry": "none", "op_count": 1, "ir_hash": "b7d2e8175f18f5af", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 26200.0, "surface_area": 8650.0, "principal_moments": [3530000.0, 6550000.0, 6550000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d830 mm \u00d7 55.5 mm tall."], "text": "Revolved body, \u00d830 mm \u00d7 55.5 mm tall."}, "params": {"outer_d": {"type": "float", "default": 30, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 55.5, "min": 16.6, "max": 166.5, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332603 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 30, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 55.5, \"min\": 16.6, \"max\": 166.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462cab7c_4040", "family": "tapped", "tier": 0, "seed": 1177332604, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "554806dcd448be39", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 120000.0, "surface_area": 18300.0, "principal_moments": [56499999.99999999, 56499999.99999999, 99999999.99999999], "n_faces": 199, "n_edges": 565, "n_vertices": 368}, "dimensions": {"lines": ["One M16x2 tapped hole in a plate."], "text": "One M16x2 tapped hole in a plate."}, "params": {"major_d": {"type": "float", "default": 16.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 2.0, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 25.6, "min": 19.2, "max": 46.1, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "plate_w": {"type": "float", "default": 69.6, "min": 41.8, "max": 111.4, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 69.6, "min": 41.8, "max": 111.4, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332604 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 16.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 2.0, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 25.6, \"min\": 19.2, \"max\": 46.1, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"plate_w\": {\"type\": 'float', \"default\": 69.6, \"min\": 41.8, \"max\": 111.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 69.6, \"min\": 41.8, \"max\": 111.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n}\n\n\ndef build(p):\n\n    _W, _D, _H = p[\"plate_w\"], p[\"plate_d\"], p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Box(_W, _D, _H)\n    _locs = [(0.0, 0.0)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462cab7d_4041", "family": "revolved", "tier": 2, "seed": 1177332605, "symmetry": "none", "op_count": 2, "ir_hash": "4eafa5537bcd5bb8", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 155.0, "surface_area": 215.0, "principal_moments": [1210.0, 1210.0, 2250.0], "n_faces": 8, "n_edges": 14, "n_vertices": 8}, "dimensions": {"lines": ["Revolved body, \u00d810 mm \u00d7 2.9 mm tall with \u00d84.4 mm bore.", "Chamfer 0.8 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d810 mm \u00d7 2.9 mm tall with \u00d84.4 mm bore. Chamfer 0.8 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 10, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 2.9, "min": 1.0, "max": 8.7, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 4.4, "min": 2.0, "max": 7.0, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "end_chamfer": {"type": "float", "default": 0.8, "min": 0.1, "max": 2.4, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332605 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 10, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 2.9, \"min\": 1.0, \"max\": 8.7, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 4.4, \"min\": 2.0, \"max\": 7.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.8, \"min\": 0.1, \"max\": 2.4, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462cab7e_4042", "family": "flanged", "tier": 2, "seed": 1177332606, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "06dea0fc066acf74", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 83400.0, "surface_area": 23500.0, "principal_moments": [45899999.99999999, 45899999.99999999, 63299999.99999999], "n_faces": 18, "n_edges": 45, "n_vertices": 30}, "dimensions": {"lines": ["Revolved body, \u00d842.88 mm \u00d7 43.9 mm tall with \u00d823.1 mm bore, \u00d892.1 mm \u00d7 7.5 mm flange.", "Twelve \u00d83.2 mm holes on a \u00d855.2 mm bolt circle."], "text": "Revolved body, \u00d842.88 mm \u00d7 43.9 mm tall with \u00d823.1 mm bore, \u00d892.1 mm \u00d7 7.5 mm flange. Twelve \u00d83.2 mm holes on a \u00d855.2 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 42.88, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 43.9, "min": 13.2, "max": 109.8, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 23.1, "min": 2.0, "max": 30.0, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 92.1, "min": 55.7, "max": 128.6, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 7.5, "min": 2.2, "max": 17.6, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 27.6, "min": 18.4, "max": 41.4, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 12, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332606 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 42.88, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 43.9, \"min\": 13.2, \"max\": 109.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 23.1, \"min\": 2.0, \"max\": 30.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 92.1, \"min\": 55.7, \"max\": 128.6, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 7.5, \"min\": 2.2, \"max\": 17.6, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 27.6, \"min\": 18.4, \"max\": 41.4, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 12, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462cab7f_4043", "family": "sketched", "tier": 0, "seed": 1177332607, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "d115c563b3ac09c5", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 12300.0, "surface_area": 3910.0, "principal_moments": [644000.0, 2820000.0, 3260000.0], "n_faces": 7, "n_edges": 15, "n_vertices": 10}, "dimensions": {"lines": ["freeform sketched section (5 segments: 2 straight, 2 arcs, 1 curve), ~61.688 \u00d7 27.836 mm, extruded 10 mm thick with a 5.2\u00b0 draft."], "text": "freeform sketched section (5 segments: 2 straight, 2 arcs, 1 curve), ~61.688 \u00d7 27.836 mm, extruded 10 mm thick with a 5.2\u00b0 draft."}, "params": {"sk_w": {"type": "float", "default": 75, "min": 37.5, "max": 135.0, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 40.0, "min": 20.0, "max": 72.0, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "sk_t": {"type": "float", "default": 10, "min": 4.0, "max": 22.0, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "sk_draft": {"type": "float", "default": 5.2, "min": 0.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Draft angle (deg)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332607 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 75, \"min\": 37.5, \"max\": 135.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 40.0, \"min\": 20.0, \"max\": 72.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"sk_t\": {\"type\": 'float', \"default\": 10, \"min\": 4.0, \"max\": 22.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"sk_draft\": {\"type\": 'float', \"default\": 5.2, \"min\": 0.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Draft angle (deg)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.3884, p[\"sk_h\"] * 0.0178).bezier([(p[\"sk_w\"] * 0.3884, p[\"sk_h\"] * 0.0178), (p[\"sk_w\"] * 0.2809, p[\"sk_h\"] * 0.2078), (p[\"sk_w\"] * 0.1253, p[\"sk_h\"] * 0.3609)]).threePointArc((p[\"sk_w\"] * -0.172, p[\"sk_h\"] * 0.3307), (p[\"sk_w\"] * -0.4341, p[\"sk_h\"] * 0.2401)).threePointArc((p[\"sk_w\"] * -0.3849, p[\"sk_h\"] * -0.0159), (p[\"sk_w\"] * -0.2633, p[\"sk_h\"] * -0.2684)).lineTo(p[\"sk_w\"] * 0.2782, p[\"sk_h\"] * -0.335).lineTo(p[\"sk_w\"] * 0.3884, p[\"sk_h\"] * 0.0178).close().extrude(p[\"sk_t\"], taper=p[\"sk_draft\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462cab80_4044", "family": "gear", "tier": 2, "seed": 1177332608, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "8518b18150511651", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 26900.0, "surface_area": 9890.0, "principal_moments": [7490000.0, 7490000.0, 14699999.999999998], "n_faces": 183, "n_edges": 543, "n_vertices": 362}, "dimensions": {"lines": ["Helical gear, module 2 mm, 30 teeth (pitch \u00d860 mm), face width 8.5 mm, 18\u00b0 helix, \u00d811.7 mm bore."], "text": "Helical gear, module 2 mm, 30 teeth (pitch \u00d860 mm), face width 8.5 mm, 18\u00b0 helix, \u00d811.7 mm bore."}, "params": {"module": {"type": "float", "default": 2.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 30, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 8.5, "min": 3.4, "max": 21.2, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "helix_angle": {"type": "float", "default": 18.0, "min": 5.0, "max": 40.0, "step": 1.0, "group": "Gear", "label": "Helix angle (deg)"}, "profile_shift": {"type": "float", "default": 0.44, "min": -0.5, "max": 0.7, "step": 0.05, "group": "Gear", "label": "Profile shift"}, "root_fillet": {"type": "float", "default": 0.28, "min": 0.0, "max": 1.0, "step": 0.05, "group": "Gear", "label": "Root fillet (mm)"}, "bore_d": {"type": "float", "default": 11.7, "min": 2.0, "max": 33.0, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332608 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 2.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 30, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 8.5, \"min\": 3.4, \"max\": 21.2, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"helix_angle\": {\"type\": 'float', \"default\": 18.0, \"min\": 5.0, \"max\": 40.0, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Helix angle (deg)'},\n    \"profile_shift\": {\"type\": 'float', \"default\": 0.44, \"min\": -0.5, \"max\": 0.7, \"step\": 0.05, \"group\": 'Gear', \"label\": 'Profile shift'},\n    \"root_fillet\": {\"type\": 'float', \"default\": 0.28, \"min\": 0.0, \"max\": 1.0, \"step\": 0.05, \"group\": 'Gear', \"label\": 'Root fillet (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 11.7, \"min\": 2.0, \"max\": 33.0, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.HelicalGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"], helix_angle=math.radians(p[\"helix_angle\"]), herringbone=False, profile_shift=p[\"profile_shift\"], root_fillet=p[\"root_fillet\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462cab81_4045", "family": "compound", "tier": 2, "seed": 1177332609, "symmetry": "none", "op_count": 5, "ir_hash": "78a6ecc53eef828c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 63900.0, "surface_area": 12800.0, "principal_moments": [13199999.999999998, 22200000.0, 23599999.999999996], "n_faces": 21, "n_edges": 49, "n_vertices": 31}, "dimensions": {"lines": ["Rectangular body, 55 \u00d7 36.3 \u00d7 32.9 mm (W\u00d7D\u00d7H).", "\u00d89.5 mm circular section attachment, 5.5 mm long, from front face with a \u00d85.5 mm bore.", "\u00d89.5 mm circular section attachment, 5.5 mm long, from left face with a \u00d85.5 mm bore.", "\u00d89.5 mm circular section attachment, 5.5 mm long, from back face with a \u00d85.5 mm bore.", "Four \u00d83.2 mm holes at the corners, 38.5 \u00d7 25.41 mm spacing."], "text": "Rectangular body, 55 \u00d7 36.3 \u00d7 32.9 mm (W\u00d7D\u00d7H). \u00d89.5 mm circular section attachment, 5.5 mm long, from front face with a \u00d85.5 mm bore. \u00d89.5 mm circular section attachment, 5.5 mm long, from left face with a \u00d85.5 mm bore. \u00d89.5 mm circular section attachment, 5.5 mm long, from back face with a \u00d85.5 mm bore. Four \u00d83.2 mm holes at the corners, 38.5 \u00d7 25.41 mm spacing."}, "params": {"block_w": {"type": "float", "default": 55, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body width (mm)"}, "block_d": {"type": "float", "default": 36.3, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body depth (mm)"}, "block_h": {"type": "float", "default": 32.9, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body height (mm)"}, "port_d": {"type": "float", "default": 9.5, "min": 3.8, "max": 14.8, "step": 1.0, "group": "Ports", "label": "Ports diameter (mm)"}, "port_len": {"type": "float", "default": 5.5, "min": 2.4, "max": 28.5, "step": 1.0, "group": "Ports", "label": "Port boss length (mm)"}, "port_bore": {"type": "float", "default": 5.5, "min": 2.0, "max": 6.8, "step": 0.5, "group": "Ports", "label": "Port bore diameter (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 8.2, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332609 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 55, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 36.3, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 32.9, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body height (mm)'},\n    \"port_d\": {\"type\": 'float', \"default\": 9.5, \"min\": 3.8, \"max\": 14.8, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Ports diameter (mm)'},\n    \"port_len\": {\"type\": 'float', \"default\": 5.5, \"min\": 2.4, \"max\": 28.5, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Port boss length (mm)'},\n    \"port_bore\": {\"type\": 'float', \"default\": 5.5, \"min\": 2.0, \"max\": 6.8, \"step\": 0.5, \"group\": 'Ports', \"label\": 'Port bore diameter (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 8.2, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462cab82_4046", "family": "flanged", "tier": 3, "seed": 1177332610, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "0113bde6f94ebb81", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 194000.0, "surface_area": 40100.0, "principal_moments": [185000000.0, 185000000.0, 324000000.0], "n_faces": 18, "n_edges": 37, "n_vertices": 22}, "dimensions": {"lines": ["Revolved body, \u00d860.01 mm \u00d7 38.8 mm tall with \u00d823.1 mm bore, \u00d8134.7 mm \u00d7 9 mm flange.", "Four \u00d88.4 mm holes on a \u00d880.8 mm bolt circle.", "Chamfer 0.7 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d860.01 mm \u00d7 38.8 mm tall with \u00d823.1 mm bore, \u00d8134.7 mm \u00d7 9 mm flange. Four \u00d88.4 mm holes on a \u00d880.8 mm bolt circle. Chamfer 0.7 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 60.01, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 38.8, "min": 11.6, "max": 97.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 23.1, "min": 2.0, "max": 42.0, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 134.7, "min": 78.0, "max": 180.0, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 9.0, "min": 2.7, "max": 15.5, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 8.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 40.4, "min": 26.9, "max": 60.6, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 4, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}, "end_chamfer": {"type": "float", "default": 0.7, "min": 0.1, "max": 2.0, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332610 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 60.01, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 38.8, \"min\": 11.6, \"max\": 97.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 23.1, \"min\": 2.0, \"max\": 42.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 134.7, \"min\": 78.0, \"max\": 180.0, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 9.0, \"min\": 2.7, \"max\": 15.5, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 40.4, \"min\": 26.9, \"max\": 60.6, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 4, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.7, \"min\": 0.1, \"max\": 2.0, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462cab83_4047", "family": "revolved", "tier": 1, "seed": 1177332611, "symmetry": "radial", "op_count": 1, "ir_hash": "d5dd19a8950df84f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 705000.0, "surface_area": 81300.0, "principal_moments": [1340000000.0, 1670000000.0, 1670000000.0], "n_faces": 6, "n_edges": 9, "n_vertices": 6}, "dimensions": {"lines": ["Revolved body, \u00d872.98 mm \u00d7 121.2 mm tall with \u00d825.6 mm bore, \u00d8160.2 mm \u00d7 16.3 mm flange."], "text": "Revolved body, \u00d872.98 mm \u00d7 121.2 mm tall with \u00d825.6 mm bore, \u00d8160.2 mm \u00d7 16.3 mm flange."}, "params": {"outer_d": {"type": "float", "default": 72.98, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 121.2, "min": 36.4, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 25.6, "min": 2.0, "max": 51.1, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 160.2, "min": 87.6, "max": 218.9, "step": 1.0, "group": "Body", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 16.3, "min": 4.9, "max": 60.6, "step": 0.5, "group": "Body", "label": "Flange height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332611 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 72.98, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 121.2, \"min\": 36.4, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 25.6, \"min\": 2.0, \"max\": 51.1, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 160.2, \"min\": 87.6, \"max\": 218.9, \"step\": 1.0, \"group\": 'Body', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 16.3, \"min\": 4.9, \"max\": 60.6, \"step\": 0.5, \"group\": 'Body', \"label\": 'Flange height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462cab84_4048", "family": "profiled", "tier": 2, "seed": 1177332612, "symmetry": "none", "op_count": 1, "ir_hash": "36d5a595632107f9", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 77400.0, "surface_area": 12800.0, "principal_moments": [9800000.0, 71900000.0, 71900000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["4-sided polygon section, 38.98 mm across corners, extruded 101.9 mm thick."], "text": "4-sided polygon section, 38.98 mm across corners, extruded 101.9 mm thick."}, "params": {"circ_r": {"type": "float", "default": 19.49, "min": 9.7, "max": 39.0, "step": 1.0, "group": "Profile", "label": "Circumscribed radius (mm)"}, "n_sides": {"type": "int", "default": 4, "min": 3, "max": 8, "step": 1, "group": "Profile", "label": "Sides"}, "length": {"type": "float", "default": 101.9, "min": 30.6, "max": 305.7, "step": 5.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332612 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"circ_r\": {\"type\": 'float', \"default\": 19.49, \"min\": 9.7, \"max\": 39.0, \"step\": 1.0, \"group\": 'Profile', \"label\": 'Circumscribed radius (mm)'},\n    \"n_sides\": {\"type\": 'int', \"default\": 4, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Profile', \"label\": 'Sides'},\n    \"length\": {\"type\": 'float', \"default\": 101.9, \"min\": 30.6, \"max\": 305.7, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').polygon(p[\"n_sides\"], p[\"circ_r\"] * 2).extrude(p[\"length\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462cab85_4049", "family": "gear", "tier": 2, "seed": 1177332613, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "0a5990fe1e8598f9", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 38900.0, "surface_area": 10700.0, "principal_moments": [9030000.0, 9030000.0, 16399999.999999998], "n_faces": 123, "n_edges": 363, "n_vertices": 242}, "dimensions": {"lines": ["Helical gear, module 2.5 mm, 20 teeth (pitch \u00d850 mm), face width 15.9 mm, 26.9\u00b0 helix, \u00d89.5 mm bore."], "text": "Helical gear, module 2.5 mm, 20 teeth (pitch \u00d850 mm), face width 15.9 mm, 26.9\u00b0 helix, \u00d89.5 mm bore."}, "params": {"module": {"type": "float", "default": 2.5, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 20, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 15.9, "min": 6.4, "max": 39.8, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "helix_angle": {"type": "float", "default": 26.9, "min": 5.0, "max": 40.0, "step": 1.0, "group": "Gear", "label": "Helix angle (deg)"}, "profile_shift": {"type": "float", "default": 0.16, "min": -0.5, "max": 0.7, "step": 0.05, "group": "Gear", "label": "Profile shift"}, "root_fillet": {"type": "float", "default": 0.5, "min": 0.0, "max": 1.25, "step": 0.05, "group": "Gear", "label": "Root fillet (mm)"}, "bore_d": {"type": "float", "default": 9.5, "min": 2.0, "max": 26.2, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332613 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 2.5, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 20, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 15.9, \"min\": 6.4, \"max\": 39.8, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"helix_angle\": {\"type\": 'float', \"default\": 26.9, \"min\": 5.0, \"max\": 40.0, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Helix angle (deg)'},\n    \"profile_shift\": {\"type\": 'float', \"default\": 0.16, \"min\": -0.5, \"max\": 0.7, \"step\": 0.05, \"group\": 'Gear', \"label\": 'Profile shift'},\n    \"root_fillet\": {\"type\": 'float', \"default\": 0.5, \"min\": 0.0, \"max\": 1.25, \"step\": 0.05, \"group\": 'Gear', \"label\": 'Root fillet (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 9.5, \"min\": 2.0, \"max\": 26.2, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.HelicalGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"], helix_angle=math.radians(p[\"helix_angle\"]), herringbone=False, profile_shift=p[\"profile_shift\"], root_fillet=p[\"root_fillet\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462cab86_4050", "family": "gear", "tier": 2, "seed": 1177332614, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "e68e1bbe222838b6", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 5840.0, "surface_area": 3510.0, "principal_moments": [548000.0, 548000.0, 1070000.0], "n_faces": 195, "n_edges": 579, "n_vertices": 386}, "dimensions": {"lines": ["Helical gear, module 1.5 mm, 24 teeth (pitch \u00d836 mm), face width 5.5 mm, 16.5\u00b0 helix, \u00d86.3 mm bore."], "text": "Helical gear, module 1.5 mm, 24 teeth (pitch \u00d836 mm), face width 5.5 mm, 16.5\u00b0 helix, \u00d86.3 mm bore."}, "params": {"module": {"type": "float", "default": 1.5, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 24, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 5.5, "min": 2.2, "max": 13.8, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "helix_angle": {"type": "float", "default": 16.5, "min": 5.0, "max": 40.0, "step": 1.0, "group": "Gear", "label": "Helix angle (deg)"}, "profile_shift": {"type": "float", "default": -0.01, "min": -0.5, "max": 0.7, "step": 0.05, "group": "Gear", "label": "Profile shift"}, "root_fillet": {"type": "float", "default": 0.29, "min": 0.0, "max": 0.75, "step": 0.05, "group": "Gear", "label": "Root fillet (mm)"}, "bore_d": {"type": "float", "default": 6.3, "min": 2.0, "max": 19.3, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332614 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 1.5, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 24, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 5.5, \"min\": 2.2, \"max\": 13.8, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"helix_angle\": {\"type\": 'float', \"default\": 16.5, \"min\": 5.0, \"max\": 40.0, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Helix angle (deg)'},\n    \"profile_shift\": {\"type\": 'float', \"default\": -0.01, \"min\": -0.5, \"max\": 0.7, \"step\": 0.05, \"group\": 'Gear', \"label\": 'Profile shift'},\n    \"root_fillet\": {\"type\": 'float', \"default\": 0.29, \"min\": 0.0, \"max\": 0.75, \"step\": 0.05, \"group\": 'Gear', \"label\": 'Root fillet (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 6.3, \"min\": 2.0, \"max\": 19.3, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.HelicalGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"], helix_angle=math.radians(p[\"helix_angle\"]), herringbone=False, profile_shift=p[\"profile_shift\"], root_fillet=p[\"root_fillet\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462cab87_4051", "family": "bracket", "tier": 1, "seed": 1177332615, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "80fba1bf2bf002a8", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 66900.0, "surface_area": 25700.0, "principal_moments": [51299999.99999999, 78400000.0, 95799999.99999999], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["C-channel bracket: base leg 74.6 mm, vertical leg 70.7 mm, 55 mm wide, 6 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."], "text": "C-channel bracket: base leg 74.6 mm, vertical leg 70.7 mm, 55 mm wide, 6 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 74.6, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 70.7, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 55, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 6.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332615 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 74.6, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 70.7, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 55, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462cab88_4052", "family": "bracket", "tier": 1, "seed": 1177332616, "symmetry": "none", "op_count": 1, "ir_hash": "3cf54793db126291", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 34400.0, "surface_area": 24900.0, "principal_moments": [33700000.0, 55699999.99999999, 77800000.0], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["C-channel bracket: base leg 89.42 mm, vertical leg 86.7 mm, 45 mm wide, 3 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."], "text": "C-channel bracket: base leg 89.42 mm, vertical leg 86.7 mm, 45 mm wide, 3 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 89.42, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 86.7, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 45, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 3.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332616 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 89.42, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 86.7, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 45, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462cab89_4053", "family": "gear", "tier": 2, "seed": 1177332617, "symmetry": "none", "op_count": 1, "ir_hash": "209beaa8d819ea96", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 85600.0, "surface_area": 19600.0, "principal_moments": [40700000.0, 40700000.0, 77700000.0], "n_faces": 375, "n_edges": 933, "n_vertices": 560}, "dimensions": {"lines": ["Helical gear, module 2.5 mm, 31 teeth (pitch \u00d877.5 mm), face width 16.3 mm, 23.2\u00b0 helix (herringbone), \u00d815.7 mm bore."], "text": "Helical gear, module 2.5 mm, 31 teeth (pitch \u00d877.5 mm), face width 16.3 mm, 23.2\u00b0 helix (herringbone), \u00d815.7 mm bore."}, "params": {"module": {"type": "float", "default": 2.5, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 31, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 16.3, "min": 6.5, "max": 40.8, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "helix_angle": {"type": "float", "default": 23.2, "min": 5.0, "max": 40.0, "step": 1.0, "group": "Gear", "label": "Helix angle (deg)"}, "profile_shift": {"type": "float", "default": -0.16, "min": -0.5, "max": 0.7, "step": 0.05, "group": "Gear", "label": "Profile shift"}, "root_fillet": {"type": "float", "default": 0.5, "min": 0.0, "max": 1.25, "step": 0.05, "group": "Gear", "label": "Root fillet (mm)"}, "bore_d": {"type": "float", "default": 15.7, "min": 2.0, "max": 42.8, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332617 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 2.5, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 31, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 16.3, \"min\": 6.5, \"max\": 40.8, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"helix_angle\": {\"type\": 'float', \"default\": 23.2, \"min\": 5.0, \"max\": 40.0, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Helix angle (deg)'},\n    \"profile_shift\": {\"type\": 'float', \"default\": -0.16, \"min\": -0.5, \"max\": 0.7, \"step\": 0.05, \"group\": 'Gear', \"label\": 'Profile shift'},\n    \"root_fillet\": {\"type\": 'float', \"default\": 0.5, \"min\": 0.0, \"max\": 1.25, \"step\": 0.05, \"group\": 'Gear', \"label\": 'Root fillet (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 15.7, \"min\": 2.0, \"max\": 42.8, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.HelicalGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"], helix_angle=math.radians(p[\"helix_angle\"]), herringbone=True, profile_shift=p[\"profile_shift\"], root_fillet=p[\"root_fillet\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462cab8b_4055", "family": "plate", "tier": 3, "seed": 1177332619, "symmetry": "mirror_x", "op_count": 4, "ir_hash": "7caaef1829b5a226", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 63800.0, "surface_area": 17700.0, "principal_moments": [16900000.0, 63199999.99999999, 78700000.0], "n_faces": 24, "n_edges": 51, "n_vertices": 34}, "dimensions": {"lines": ["Rectangular body, 112.36 \u00d7 57.1 \u00d7 10 mm (W\u00d7D\u00d7H).", "Four \u00d86.4 mm counterbored holes (\u00d812.8 mm \u00d7 5.1 mm counterbore) at the corners, 78.652 \u00d7 39.97 mm spacing.", "Fillet radius 1.348 mm on vertical edges.", "Boss \u00d822.2 mm \u00d7 7.5 mm tall on top face."], "text": "Rectangular body, 112.36 \u00d7 57.1 \u00d7 10 mm (W\u00d7D\u00d7H). Four \u00d86.4 mm counterbored holes (\u00d812.8 mm \u00d7 5.1 mm counterbore) at the corners, 78.652 \u00d7 39.97 mm spacing. Fillet radius 1.348 mm on vertical edges. Boss \u00d822.2 mm \u00d7 7.5 mm tall on top face."}, "params": {"plate_w": {"type": "float", "default": 112.36, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 57.1, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 12.8, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "cb_d": {"type": "float", "default": 12.8, "min": 9.6, "max": 19.2, "step": 0.5, "group": "Holes", "label": "Counterbore diameter (mm)"}, "cb_depth": {"type": "float", "default": 5.1, "min": 2.5, "max": 10.2, "step": 0.5, "group": "Holes", "label": "Counterbore depth (mm)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}, "boss_d": {"type": "float", "default": 22.2, "min": 11.1, "max": 44.4, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 7.5, "min": 3.0, "max": 18.8, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332619 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 112.36, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 57.1, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 12.8, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"cb_d\": {\"type\": 'float', \"default\": 12.8, \"min\": 9.6, \"max\": 19.2, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Counterbore diameter (mm)'},\n    \"cb_depth\": {\"type\": 'float', \"default\": 5.1, \"min\": 2.5, \"max\": 10.2, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Counterbore depth (mm)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n    \"boss_d\": {\"type\": 'float', \"default\": 22.2, \"min\": 11.1, \"max\": 44.4, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 7.5, \"min\": 3.0, \"max\": 18.8, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().cboreHole(p[\"hole_d\"], p[\"cb_d\"], p[\"cb_depth\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"plate_w\"], p[\"plate_d\"]) * 0.02359991256051861)\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462cab8c_4056", "family": "flanged", "tier": 2, "seed": 1177332620, "symmetry": "none", "op_count": 2, "ir_hash": "219ef26113c0190d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 371000.0, "surface_area": 61300.0, "principal_moments": [472000000.0, 600000000.0, 600000000.0], "n_faces": 29, "n_edges": 114, "n_vertices": 76}, "dimensions": {"lines": ["Revolved body, \u00d873.2 mm \u00d7 99 mm tall with \u00d840.2 mm bore, \u00d8127.3 mm \u00d7 9.7 mm flange.", "Twelve \u00d84.3 mm holes on a \u00d876.4 mm bolt circle."], "text": "Revolved body, \u00d873.2 mm \u00d7 99 mm tall with \u00d840.2 mm bore, \u00d8127.3 mm \u00d7 9.7 mm flange. Twelve \u00d84.3 mm holes on a \u00d876.4 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 73.2, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 99.0, "min": 29.7, "max": 247.5, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 40.2, "min": 2.0, "max": 51.2, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 127.3, "min": 95.2, "max": 219.6, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 9.7, "min": 2.9, "max": 39.6, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 38.2, "min": 25.5, "max": 57.3, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 12, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332620 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 73.2, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 99.0, \"min\": 29.7, \"max\": 247.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 40.2, \"min\": 2.0, \"max\": 51.2, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 127.3, \"min\": 95.2, \"max\": 219.6, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 9.7, \"min\": 2.9, \"max\": 39.6, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 38.2, \"min\": 25.5, \"max\": 57.3, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 12, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462cab8d_4057", "family": "plate", "tier": 1, "seed": 1177332621, "symmetry": "none", "op_count": 2, "ir_hash": "71ca64c98141ddb0", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 6550.0, "surface_area": 4950.0, "principal_moments": [459000.0, 2290000.0, 2730000.0], "n_faces": 70, "n_edges": 204, "n_vertices": 136}, "dimensions": {"lines": ["Rectangular body, 65 \u00d7 28.9 \u00d7 4 mm (W\u00d7D\u00d7H).", "16 5.4 \u00d7 3.2 mm slots in a 4\u00d74 grid, 17.3 \u00d7 7.7 mm pitch."], "text": "Rectangular body, 65 \u00d7 28.9 \u00d7 4 mm (W\u00d7D\u00d7H). 16 5.4 \u00d7 3.2 mm slots in a 4\u00d74 grid, 17.3 \u00d7 7.7 mm pitch."}, "params": {"plate_w": {"type": "float", "default": 65, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 28.9, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 4.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 3.5, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 4, "min": 1, "max": 4, "step": 1, "group": "Holes", "label": "Holes across"}, "hole_ny": {"type": "int", "default": 4, "min": 1, "max": 4, "step": 1, "group": "Holes", "label": "Holes deep"}, "hole_slot_len": {"type": "float", "default": 5.4, "min": 4.8, "max": 5.4, "step": 0.5, "group": "Holes", "label": "Slot length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332621 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 65, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 28.9, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 4.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 3.5, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 4, \"min\": 1, \"max\": 4, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes across'},\n    \"hole_ny\": {\"type\": 'int', \"default\": 4, \"min\": 1, \"max\": 4, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes deep'},\n    \"hole_slot_len\": {\"type\": 'float', \"default\": 5.4, \"min\": 4.8, \"max\": 5.4, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Slot length (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(17.3, 7.7, p[\"hole_nx\"], p[\"hole_ny\"])\n        .slot2D(p[\"hole_slot_len\"], p[\"hole_d\"]).cutThruAll()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462cab8e_4058", "family": "profiled", "tier": 1, "seed": 1177332622, "symmetry": "none", "op_count": 1, "ir_hash": "c0e0321756dba5e2", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 189000.0, "surface_area": 27600.0, "principal_moments": [35000000.0, 791000000.0, 814000000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["46.71 \u00d7 20 mm slot section, extruded 223.1 mm thick."], "text": "46.71 \u00d7 20 mm slot section, extruded 223.1 mm thick."}, "params": {"slot_len": {"type": "float", "default": 46.71, "min": 23.4, "max": 93.4, "step": 1.0, "group": "Profile", "label": "Slot length (mm)"}, "slot_w": {"type": "float", "default": 20, "min": 10.0, "max": 40.0, "step": 0.5, "group": "Profile", "label": "Slot width (mm)"}, "length": {"type": "float", "default": 223.1, "min": 66.9, "max": 669.3, "step": 5.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332622 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"slot_len\": {\"type\": 'float', \"default\": 46.71, \"min\": 23.4, \"max\": 93.4, \"step\": 1.0, \"group\": 'Profile', \"label\": 'Slot length (mm)'},\n    \"slot_w\": {\"type\": 'float', \"default\": 20, \"min\": 10.0, \"max\": 40.0, \"step\": 0.5, \"group\": 'Profile', \"label\": 'Slot width (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 223.1, \"min\": 66.9, \"max\": 669.3, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').slot2D(p[\"slot_len\"], p[\"slot_w\"]).extrude(p[\"length\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462cab8f_4059", "family": "compound", "tier": 3, "seed": 1177332623, "symmetry": "mirror_xy", "op_count": 4, "ir_hash": "4ff500a557fa440b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 37400.0, "surface_area": 8660.0, "principal_moments": [4040000.0, 13899999.999999998, 13899999.999999998], "n_faces": 15, "n_edges": 31, "n_vertices": 20}, "dimensions": {"lines": ["\u00d830.57 mm circular section, extruded 44.3 mm thick.", "\u00d818.8 mm circular section attachment, 18 mm long, from top face.", "6-sided polygon section, 15.2 mm across corners attachment, 13.3 mm long, from top face with a \u00d85.9 mm bore.", "Chamfer 1.2 mm on bottom edges."], "text": "\u00d830.57 mm circular section, extruded 44.3 mm thick. \u00d818.8 mm circular section attachment, 18 mm long, from top face. 6-sided polygon section, 15.2 mm across corners attachment, 13.3 mm long, from top face with a \u00d85.9 mm bore. Chamfer 1.2 mm on bottom edges."}, "params": {"shaft_d": {"type": "float", "default": 30.57, "min": 15.3, "max": 55.0, "step": 1.0, "group": "Body", "label": "Shaft diameter (mm)"}, "shaft_len": {"type": "float", "default": 44.3, "min": 17.7, "max": 88.6, "step": 1.0, "group": "Body", "label": "Shaft length (mm)"}, "step_d": {"type": "float", "default": 18.8, "min": 9.4, "max": 27.5, "step": 1.0, "group": "Step", "label": "Step diameter (mm)"}, "step_len": {"type": "float", "default": 18.0, "min": 5.4, "max": 45.0, "step": 1.0, "group": "Step", "label": "Step length (mm)"}, "head_sides": {"type": "int", "default": 6, "min": 3, "max": 8, "step": 1, "group": "Head", "label": "Drive head sides"}, "head_r": {"type": "float", "default": 7.6, "min": 4.6, "max": 9.0, "step": 1.0, "group": "Head", "label": "Drive head circumradius (mm)"}, "head_len": {"type": "float", "default": 13.3, "min": 4.0, "max": 26.6, "step": 1.0, "group": "Head", "label": "Drive head length (mm)"}, "axial_bore": {"type": "float", "default": 5.9, "min": 2.0, "max": 9.5, "step": 0.5, "group": "Bore", "label": "Axial bore diameter (mm)"}, "chamfer_d": {"type": "float", "default": 1.2, "min": 0.5, "max": 3.0, "step": 0.5, "group": "Body", "label": "Chamfer distance (mm)"}, "chamfered": {"type": "bool", "default": true, "group": "Body", "label": "Chamfer edges"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332623 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"shaft_d\": {\"type\": 'float', \"default\": 30.57, \"min\": 15.3, \"max\": 55.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft diameter (mm)'},\n    \"shaft_len\": {\"type\": 'float', \"default\": 44.3, \"min\": 17.7, \"max\": 88.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft length (mm)'},\n    \"step_d\": {\"type\": 'float', \"default\": 18.8, \"min\": 9.4, \"max\": 27.5, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step diameter (mm)'},\n    \"step_len\": {\"type\": 'float', \"default\": 18.0, \"min\": 5.4, \"max\": 45.0, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step length (mm)'},\n    \"head_sides\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Head', \"label\": 'Drive head sides'},\n    \"head_r\": {\"type\": 'float', \"default\": 7.6, \"min\": 4.6, \"max\": 9.0, \"step\": 1.0, \"group\": 'Head', \"label\": 'Drive head circumradius (mm)'},\n    \"head_len\": {\"type\": 'float', \"default\": 13.3, \"min\": 4.0, \"max\": 26.6, \"step\": 1.0, \"group\": 'Head', \"label\": 'Drive head length (mm)'},\n    \"axial_bore\": {\"type\": 'float', \"default\": 5.9, \"min\": 2.0, \"max\": 9.5, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Axial bore diameter (mm)'},\n    \"chamfer_d\": {\"type\": 'float', \"default\": 1.2, \"min\": 0.5, \"max\": 3.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Chamfer distance (mm)'},\n    \"chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Chamfer edges'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').circle(p[\"shaft_d\"] / 2).extrude(p[\"shaft_len\"]))\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"step_d\"] / 2).extrude(p[\"step_len\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"head_sides\"], p[\"head_r\"] * 2).extrude(p[\"head_len\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"axial_bore\"])\n    )\n    if p[\"chamfered\"]:\n        result = result.edges('<Z').chamfer(p[\"chamfer_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462cab90_4060", "family": "ribbed", "tier": 1, "seed": 1177332624, "symmetry": "none", "op_count": 2, "ir_hash": "99bf16a7ec602f44", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 13600.0, "surface_area": 9480.0, "principal_moments": [2010000.0, 3580000.0, 5120000.0], "n_faces": 46, "n_edges": 112, "n_vertices": 68}, "dimensions": {"lines": ["Rectangular body, 55 \u00d7 30.9 \u00d7 3 mm (W\u00d7D\u00d7H).", "Five ribs, 3.6 mm thick, 10.7 mm tall."], "text": "Rectangular body, 55 \u00d7 30.9 \u00d7 3 mm (W\u00d7D\u00d7H). Five ribs, 3.6 mm thick, 10.7 mm tall."}, "params": {"base_w": {"type": "float", "default": 55, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 30.9, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 3.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 5, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 10.7, "min": 4.3, "max": 21.4, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 3.6, "min": 1.0, "max": 9.0, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332624 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 55, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 30.9, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 5, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 10.7, \"min\": 4.3, \"max\": 21.4, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 3.6, \"min\": 1.0, \"max\": 9.0, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462cab91_4061", "family": "flanged", "tier": 3, "seed": 1177332625, "symmetry": "none", "op_count": 3, "ir_hash": "d877f01d223b7d22", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 287000.0, "surface_area": 45000.0, "principal_moments": [286000000.0, 286000000.0, 401000000.0], "n_faces": 44, "n_edges": 114, "n_vertices": 67}, "dimensions": {"lines": ["Revolved body, \u00d875 mm \u00d7 57.6 mm tall with \u00d834.7 mm bore, \u00d8121.2 mm \u00d7 13.2 mm flange.", "Six \u00d85.3 mm holes on a \u00d872.8 mm bolt circle.", "Chamfer 0.9 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d875 mm \u00d7 57.6 mm tall with \u00d834.7 mm bore, \u00d8121.2 mm \u00d7 13.2 mm flange. Six \u00d85.3 mm holes on a \u00d872.8 mm bolt circle. Chamfer 0.9 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 75, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 57.6, "min": 17.3, "max": 144.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 34.7, "min": 2.0, "max": 52.5, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 121.2, "min": 97.5, "max": 225.0, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 13.2, "min": 4.0, "max": 23.0, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 36.4, "min": 24.2, "max": 54.5, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 6, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}, "end_chamfer": {"type": "float", "default": 0.9, "min": 0.1, "max": 2.0, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332625 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 75, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 57.6, \"min\": 17.3, \"max\": 144.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 34.7, \"min\": 2.0, \"max\": 52.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 121.2, \"min\": 97.5, \"max\": 225.0, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 13.2, \"min\": 4.0, \"max\": 23.0, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 36.4, \"min\": 24.2, \"max\": 54.5, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.9, \"min\": 0.1, \"max\": 2.0, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462cab93_4063", "family": "plate", "tier": 0, "seed": 1177332627, "symmetry": "radial", "op_count": 1, "ir_hash": "ffdb3899a33ff7ed", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 72100.0, "surface_area": 16000.0, "principal_moments": [16900000.0, 81900000.0, 97099999.99999999], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 116.17 \u00d7 51.7 \u00d7 12 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 116.17 \u00d7 51.7 \u00d7 12 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 116.17, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 51.7, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332627 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 116.17, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 51.7, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462cab94_4064", "family": "plate", "tier": 3, "seed": 1177332628, "symmetry": "none", "op_count": 4, "ir_hash": "4e950acabc4970ef", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 79000.0, "surface_area": 20800.0, "principal_moments": [42600000.0, 73700000.0, 114000000.0], "n_faces": 19, "n_edges": 48, "n_vertices": 32}, "dimensions": {"lines": ["Rectangular body, 100 \u00d7 77 \u00d7 12 mm (W\u00d7D\u00d7H).", "Four \u00d83.2 mm holes at the corners, 70 \u00d7 53.9 mm spacing.", "Fillet radius 7.462 mm on vertical edges.", "Pocket 48.3 \u00d7 52.6 mm, 4.9 mm deep, in top face."], "text": "Rectangular body, 100 \u00d7 77 \u00d7 12 mm (W\u00d7D\u00d7H). Four \u00d83.2 mm holes at the corners, 70 \u00d7 53.9 mm spacing. Fillet radius 7.462 mm on vertical edges. Pocket 48.3 \u00d7 52.6 mm, 4.9 mm deep, in top face."}, "params": {"plate_w": {"type": "float", "default": 100, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 77.0, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}, "pocket_w": {"type": "float", "default": 48.3, "min": 24.1, "max": 80.0, "step": 1.0, "group": "Pocket", "label": "Pocket width (mm)"}, "pocket_d": {"type": "float", "default": 52.6, "min": 26.3, "max": 61.6, "step": 1.0, "group": "Pocket", "label": "Pocket depth (mm)"}, "pocket_h": {"type": "float", "default": 4.9, "min": 2.0, "max": 10.2, "step": 0.5, "group": "Pocket", "label": "Pocket height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332628 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 100, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 77.0, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n    \"pocket_w\": {\"type\": 'float', \"default\": 48.3, \"min\": 24.1, \"max\": 80.0, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket width (mm)'},\n    \"pocket_d\": {\"type\": 'float', \"default\": 52.6, \"min\": 26.3, \"max\": 61.6, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket depth (mm)'},\n    \"pocket_h\": {\"type\": 'float', \"default\": 4.9, \"min\": 2.0, \"max\": 10.2, \"step\": 0.5, \"group\": 'Pocket', \"label\": 'Pocket height (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"plate_w\"], p[\"plate_d\"]) * 0.09690296372222464)\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"pocket_w\"], p[\"pocket_d\"])\n        .cutBlind(-p[\"pocket_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462cab95_4065", "family": "bracket", "tier": 1, "seed": 1177332629, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "97599083d79cf075", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 76800.0, "surface_area": 23100.0, "principal_moments": [50299999.99999999, 61299999.99999999, 67099999.99999999], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["C-channel bracket: base leg 58.09 mm, vertical leg 60.9 mm, 58.85 mm wide, 8 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."], "text": "C-channel bracket: base leg 58.09 mm, vertical leg 60.9 mm, 58.85 mm wide, 8 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 58.09, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 60.9, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 58.85, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 8.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332629 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 58.09, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 60.9, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 58.85, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462cab96_4066", "family": "compound", "tier": 2, "seed": 1177332630, "symmetry": "none", "op_count": 3, "ir_hash": "69df93fdb2e49ee9", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 104000.0, "surface_area": 18400.0, "principal_moments": [34300000.0, 66499999.99999999, 66499999.99999999], "n_faces": 21, "n_edges": 54, "n_vertices": 36}, "dimensions": {"lines": ["8-sided polygon section, 58.14 mm across corners, extruded 34.3 mm thick.", "\u00d828.3 mm circular section attachment, 51.2 mm long, from top face with a \u00d812.1 mm bore.", "Fillet radius 2.471 mm on vertical edges."], "text": "8-sided polygon section, 58.14 mm across corners, extruded 34.3 mm thick. \u00d828.3 mm circular section attachment, 51.2 mm long, from top face with a \u00d812.1 mm bore. Fillet radius 2.471 mm on vertical edges."}, "params": {"base_sides": {"type": "int", "default": 8, "min": 3, "max": 8, "step": 1, "group": "Base", "label": "Base sides"}, "base_r": {"type": "float", "default": 29.07, "min": 17.4, "max": 46.5, "step": 1.0, "group": "Base", "label": "Base circumradius (mm)"}, "base_h": {"type": "float", "default": 34.3, "min": 13.7, "max": 85.8, "step": 1.0, "group": "Base", "label": "Base height (mm)"}, "col_d": {"type": "float", "default": 28.3, "min": 14.2, "max": 43.0, "step": 1.0, "group": "Column", "label": "Column diameter (mm)"}, "col_h": {"type": "float", "default": 51.2, "min": 15.4, "max": 128.0, "step": 1.0, "group": "Column", "label": "Column height (mm)"}, "col_bore": {"type": "float", "default": 12.1, "min": 2.0, "max": 20.4, "step": 0.5, "group": "Column", "label": "Column bore diameter (mm)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332630 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_sides\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Base', \"label\": 'Base sides'},\n    \"base_r\": {\"type\": 'float', \"default\": 29.07, \"min\": 17.4, \"max\": 46.5, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base circumradius (mm)'},\n    \"base_h\": {\"type\": 'float', \"default\": 34.3, \"min\": 13.7, \"max\": 85.8, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base height (mm)'},\n    \"col_d\": {\"type\": 'float', \"default\": 28.3, \"min\": 14.2, \"max\": 43.0, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column diameter (mm)'},\n    \"col_h\": {\"type\": 'float', \"default\": 51.2, \"min\": 15.4, \"max\": 128.0, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column height (mm)'},\n    \"col_bore\": {\"type\": 'float', \"default\": 12.1, \"min\": 2.0, \"max\": 20.4, \"step\": 0.5, \"group\": 'Column', \"label\": 'Column bore diameter (mm)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').polygon(p[\"base_sides\"], p[\"base_r\"] * 2).extrude(p[\"base_h\"]))\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"col_d\"] / 2).extrude(p[\"col_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"col_bore\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"base_r\"], p[\"base_r\"]) * 0.08501617739726083)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462cab97_4067", "family": "sketched", "tier": 2, "seed": 1177332631, "symmetry": "none", "op_count": 1, "ir_hash": "8a1b738fe535898d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 37000.0, "surface_area": 9830.0, "principal_moments": [6450000.0, 12599999.999999998, 12599999.999999998], "n_faces": 7, "n_edges": 12, "n_vertices": 7}, "dimensions": {"lines": ["Revolved organic body from a freeform sketched section (6 segments: 4 straight, 1 arc, 1 curve), ~23.076 \u00d7 55 mm half-silhouette."], "text": "Revolved organic body from a freeform sketched section (6 segments: 4 straight, 1 arc, 1 curve), ~23.076 \u00d7 55 mm half-silhouette."}, "params": {"sk_r": {"type": "float", "default": 27.19, "min": 13.6, "max": 48.9, "step": 1.0, "group": "Sketch", "label": "Max radius (mm)"}, "sk_h": {"type": "float", "default": 55, "min": 27.5, "max": 99.0, "step": 1.0, "group": "Sketch", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332631 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_r\": {\"type\": 'float', \"default\": 27.19, \"min\": 13.6, \"max\": 48.9, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Max radius (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 55, \"min\": 27.5, \"max\": 99.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XZ').moveTo(p[\"sk_r\"] * 0.9447, p[\"sk_h\"] * 0.0).lineTo(p[\"sk_r\"] * 0.4281, p[\"sk_h\"] * 0.3628).lineTo(p[\"sk_r\"] * 0.3161, p[\"sk_h\"] * 0.63).spline([(p[\"sk_r\"] * 0.3161, p[\"sk_h\"] * 0.63), (p[\"sk_r\"] * 0.5073, p[\"sk_h\"] * 0.6704), (p[\"sk_r\"] * 0.7775, p[\"sk_h\"] * 0.7108)]).threePointArc((p[\"sk_r\"] * 0.3947, p[\"sk_h\"] * 0.8554), (p[\"sk_r\"] * 0.1716, p[\"sk_h\"] * 1.0)).lineTo(p[\"sk_r\"] * 0.096, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.096, p[\"sk_h\"] * 0.0).close().revolve())\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462cab98_4068", "family": "tapped", "tier": 0, "seed": 1177332632, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "b85df8d3786b3912", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 5040.0, "surface_area": 2440.0, "principal_moments": [268000.0, 303000.0, 303000.0], "n_faces": 135, "n_edges": 365, "n_vertices": 232}, "dimensions": {"lines": ["One M8x1.25 tapped hole in a cylinder."], "text": "One M8x1.25 tapped hole in a cylinder."}, "params": {"major_d": {"type": "float", "default": 8.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 1.25, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 20.1, "min": 9.6, "max": 36.2, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "body_d": {"type": "float", "default": 19.3, "min": 14.4, "max": 30.9, "step": 1.0, "group": "Body", "label": "Outer \u00d8 (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332632 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.25, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 20.1, \"min\": 9.6, \"max\": 36.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"body_d\": {\"type\": 'float', \"default\": 19.3, \"min\": 14.4, \"max\": 30.9, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer \u00d8 (mm)'},\n}\n\n\ndef build(p):\n\n    _W = _D = p[\"body_d\"]\n    _H = p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Cylinder(radius=_W / 2, height=_H)\n    _locs = [(0.0, 0.0)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462cab9a_4070", "family": "plate", "tier": 0, "seed": 1177332634, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "c43a396c724717fa", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 8810.0, "surface_area": 2800.0, "principal_moments": [452000.0, 947000.0, 1190000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 33.85 \u00d7 21.7 \u00d7 12 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 33.85 \u00d7 21.7 \u00d7 12 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 33.85, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 21.7, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332634 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 33.85, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 21.7, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462cab9b_4071", "family": "plate", "tier": 3, "seed": 1177332635, "symmetry": "mirror_x", "op_count": 4, "ir_hash": "3960f6716cf374c7", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 3860.0, "surface_area": 2390.0, "principal_moments": [138000.0, 350000.0, 449000.0], "n_faces": 19, "n_edges": 48, "n_vertices": 32}, "dimensions": {"lines": ["Rectangular body, 31.33 \u00d7 18.5 \u00d7 8 mm (W\u00d7D\u00d7H).", "Four \u00d83.2 mm holes at the corners, 21.931 \u00d7 12.95 mm spacing.", "Fillet radius 0.731 mm on vertical edges.", "Pocket 19.7 \u00d7 7.5 mm, 3.5 mm deep, in top face."], "text": "Rectangular body, 31.33 \u00d7 18.5 \u00d7 8 mm (W\u00d7D\u00d7H). Four \u00d83.2 mm holes at the corners, 21.931 \u00d7 12.95 mm spacing. Fillet radius 0.731 mm on vertical edges. Pocket 19.7 \u00d7 7.5 mm, 3.5 mm deep, in top face."}, "params": {"plate_w": {"type": "float", "default": 31.33, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 18.5, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 4.2, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}, "pocket_w": {"type": "float", "default": 19.7, "min": 9.8, "max": 25.1, "step": 1.0, "group": "Pocket", "label": "Pocket width (mm)"}, "pocket_d": {"type": "float", "default": 7.5, "min": 3.8, "max": 14.8, "step": 1.0, "group": "Pocket", "label": "Pocket depth (mm)"}, "pocket_h": {"type": "float", "default": 3.5, "min": 1.4, "max": 6.8, "step": 0.5, "group": "Pocket", "label": "Pocket height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332635 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 31.33, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 18.5, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 4.2, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n    \"pocket_w\": {\"type\": 'float', \"default\": 19.7, \"min\": 9.8, \"max\": 25.1, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket width (mm)'},\n    \"pocket_d\": {\"type\": 'float', \"default\": 7.5, \"min\": 3.8, \"max\": 14.8, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket depth (mm)'},\n    \"pocket_h\": {\"type\": 'float', \"default\": 3.5, \"min\": 1.4, \"max\": 6.8, \"step\": 0.5, \"group\": 'Pocket', \"label\": 'Pocket height (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"plate_w\"], p[\"plate_d\"]) * 0.039509204406721204)\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"pocket_w\"], p[\"pocket_d\"])\n        .cutBlind(-p[\"pocket_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462cab9c_4072", "family": "plate", "tier": 1, "seed": 1177332636, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "874f4e951438f63e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 81600.0, "surface_area": 18800.0, "principal_moments": [25199999.999999996, 91099999.99999999, 114000000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 115.65 \u00d7 59.9 \u00d7 12 mm (W\u00d7D\u00d7H).", "Four \u00d86.4 mm holes at the corners, 80.955 \u00d7 41.93 mm spacing."], "text": "Rectangular body, 115.65 \u00d7 59.9 \u00d7 12 mm (W\u00d7D\u00d7H). Four \u00d86.4 mm holes at the corners, 80.955 \u00d7 41.93 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 115.65, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 59.9, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332636 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 115.65, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 59.9, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462cab9d_4073", "family": "sketched", "tier": 0, "seed": 1177332637, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "22968176219195b4", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 25600.0, "surface_area": 4970.0, "principal_moments": [3340000.0, 3760000.0, 3970000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["freeform sketched section (4 segments: 4 curves), ~36.36 \u00d7 37.872 mm, extruded 27.09 mm thick."], "text": "freeform sketched section (4 segments: 4 curves), ~36.36 \u00d7 37.872 mm, extruded 27.09 mm thick."}, "params": {"sk_w": {"type": "float", "default": 50, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 61.45, "min": 30.7, "max": 110.6, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "sk_t": {"type": "float", "default": 27.09, "min": 10.8, "max": 59.6, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332637 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 50, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 61.45, \"min\": 30.7, \"max\": 110.6, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"sk_t\": {\"type\": 'float', \"default\": 27.09, \"min\": 10.8, \"max\": 59.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.3099, p[\"sk_h\"] * -0.1824).spline([(p[\"sk_w\"] * 0.3099, p[\"sk_h\"] * -0.1824), (p[\"sk_w\"] * 0.2872, p[\"sk_h\"] * 0.0634), (p[\"sk_w\"] * 0.1688, p[\"sk_h\"] * 0.2799)]).spline([(p[\"sk_w\"] * 0.1688, p[\"sk_h\"] * 0.2799), (p[\"sk_w\"] * -0.1572, p[\"sk_h\"] * 0.1636), (p[\"sk_w\"] * -0.4173, p[\"sk_h\"] * -0.065)]).spline([(p[\"sk_w\"] * -0.4173, p[\"sk_h\"] * -0.065), (p[\"sk_w\"] * -0.2205, p[\"sk_h\"] * -0.264), (p[\"sk_w\"] * 0.0498, p[\"sk_h\"] * -0.3364)]).bezier([(p[\"sk_w\"] * 0.0498, p[\"sk_h\"] * -0.3364), (p[\"sk_w\"] * 0.2022, p[\"sk_h\"] * -0.2972), (p[\"sk_w\"] * 0.3099, p[\"sk_h\"] * -0.1824)]).close().extrude(p[\"sk_t\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462cab9e_4074", "family": "compound", "tier": 2, "seed": 1177332638, "symmetry": "none", "op_count": 5, "ir_hash": "90054e5dd705f2bf", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 301000.0, "surface_area": 34600.0, "principal_moments": [190000000.0, 259000000.0, 271000000.0], "n_faces": 41, "n_edges": 110, "n_vertices": 72}, "dimensions": {"lines": ["Rectangular body, 80 \u00d7 58.8 \u00d7 63.6 mm (W\u00d7D\u00d7H).", "8-sided polygon section, 17.4 mm across corners attachment, 15.9 mm long, from left face with a \u00d87 mm bore.", "8-sided polygon section, 17.4 mm across corners attachment, 15.9 mm long, from right face with a \u00d87 mm bore.", "8-sided polygon section, 17.4 mm across corners attachment, 15.9 mm long, from front face with a \u00d87 mm bore.", "Four \u00d83.2 mm holes at the corners, 56 \u00d7 41.16 mm spacing."], "text": "Rectangular body, 80 \u00d7 58.8 \u00d7 63.6 mm (W\u00d7D\u00d7H). 8-sided polygon section, 17.4 mm across corners attachment, 15.9 mm long, from left face with a \u00d87 mm bore. 8-sided polygon section, 17.4 mm across corners attachment, 15.9 mm long, from right face with a \u00d87 mm bore. 8-sided polygon section, 17.4 mm across corners attachment, 15.9 mm long, from front face with a \u00d87 mm bore. Four \u00d83.2 mm holes at the corners, 56 \u00d7 41.16 mm spacing."}, "params": {"block_w": {"type": "float", "default": 80, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body width (mm)"}, "block_d": {"type": "float", "default": 58.8, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body depth (mm)"}, "block_h": {"type": "float", "default": 63.6, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body height (mm)"}, "port_sides": {"type": "int", "default": 8, "min": 3, "max": 8, "step": 1, "group": "Ports", "label": "Ports sides"}, "port_r": {"type": "float", "default": 8.7, "min": 4.3, "max": 13.2, "step": 1.0, "group": "Ports", "label": "Ports circumradius (mm)"}, "port_len": {"type": "float", "default": 15.9, "min": 4.0, "max": 48.2, "step": 1.0, "group": "Ports", "label": "Port boss length (mm)"}, "port_bore": {"type": "float", "default": 7.0, "min": 2.0, "max": 11.6, "step": 0.5, "group": "Ports", "label": "Port bore diameter (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332638 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 80, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 58.8, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 63.6, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body height (mm)'},\n    \"port_sides\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Ports', \"label\": 'Ports sides'},\n    \"port_r\": {\"type\": 'float', \"default\": 8.7, \"min\": 4.3, \"max\": 13.2, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Ports circumradius (mm)'},\n    \"port_len\": {\"type\": 'float', \"default\": 15.9, \"min\": 4.0, \"max\": 48.2, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Port boss length (mm)'},\n    \"port_bore\": {\"type\": 'float', \"default\": 7.0, \"min\": 2.0, \"max\": 11.6, \"step\": 0.5, \"group\": 'Ports', \"label\": 'Port bore diameter (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"port_sides\"], p[\"port_r\"] * 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"port_sides\"], p[\"port_r\"] * 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"port_sides\"], p[\"port_r\"] * 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462cab9f_4075", "family": "block", "tier": 1, "seed": 1177332639, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "603a2709ec911f52", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 113000.0, "surface_area": 17400.0, "principal_moments": [28199999.999999996, 69700000.0, 77800000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 80 \u00d7 32.9 \u00d7 43.9 mm (W\u00d7D\u00d7H).", "Four \u00d84.3 mm holes at the corners, 56 \u00d7 23.03 mm spacing."], "text": "Rectangular body, 80 \u00d7 32.9 \u00d7 43.9 mm (W\u00d7D\u00d7H). Four \u00d84.3 mm holes at the corners, 56 \u00d7 23.03 mm spacing."}, "params": {"block_w": {"type": "float", "default": 80, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 32.9, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 43.9, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 7.4, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332639 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 80, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 32.9, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 43.9, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 7.4, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462caba0_4076", "family": "ribbed", "tier": 2, "seed": 1177332640, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "92ccae33247e7982", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 14700.0, "surface_area": 8710.0, "principal_moments": [2900000.0, 5100000.0, 7730000.0], "n_faces": 30, "n_edges": 72, "n_vertices": 44}, "dimensions": {"lines": ["Rectangular body, 60 \u00d7 47 \u00d7 3 mm (W\u00d7D\u00d7H).", "Three ribs, 5.9 mm thick, 7.4 mm tall."], "text": "Rectangular body, 60 \u00d7 47 \u00d7 3 mm (W\u00d7D\u00d7H). Three ribs, 5.9 mm thick, 7.4 mm tall."}, "params": {"base_w": {"type": "float", "default": 60, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 47.0, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 3.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 3, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 7.4, "min": 3.0, "max": 14.8, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 5.9, "min": 1.0, "max": 14.8, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332640 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 60, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 47.0, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 3, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 7.4, \"min\": 3.0, \"max\": 14.8, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 5.9, \"min\": 1.0, \"max\": 14.8, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462caba1_4077", "family": "plate", "tier": 1, "seed": 1177332641, "symmetry": "radial", "op_count": 2, "ir_hash": "8fad76dd4e6fa015", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 2280.0, "surface_area": 1940.0, "principal_moments": [61600.0, 167000.0, 190000.0], "n_faces": 16, "n_edges": 42, "n_vertices": 28}, "dimensions": {"lines": ["Rectangular body, 25 \u00d7 15.5 \u00d7 10 mm (W\u00d7D\u00d7H).", "Six \u00d86.4 mm holes on a \u00d815 mm bolt circle."], "text": "Rectangular body, 25 \u00d7 15.5 \u00d7 10 mm (W\u00d7D\u00d7H). Six \u00d86.4 mm holes on a \u00d815 mm bolt circle."}, "params": {"plate_w": {"type": "float", "default": 25, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 15.5, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "bolt_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 7.5, "min": 5.0, "max": 11.2, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 6, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332641 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 25, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 15.5, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 7.5, \"min\": 5.0, \"max\": 11.2, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462caba2_4078", "family": "plate", "tier": 1, "seed": 1177332642, "symmetry": "none", "op_count": 2, "ir_hash": "ba85e0c01cedab1a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 9350.0, "surface_area": 3730.0, "principal_moments": [425000.0, 1650000.0, 1920000.0], "n_faces": 14, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 45 \u00d7 21.4 \u00d7 10 mm (W\u00d7D\u00d7H).", "Eight \u00d82.1 mm holes in a 4\u00d72 grid, 12 \u00d7 17.1 mm pitch."], "text": "Rectangular body, 45 \u00d7 21.4 \u00d7 10 mm (W\u00d7D\u00d7H). Eight \u00d82.1 mm holes in a 4\u00d72 grid, 12 \u00d7 17.1 mm pitch."}, "params": {"plate_w": {"type": "float", "default": 45, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 21.4, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 2.1, "min": 2.0, "max": 2.6, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 4, "min": 1, "max": 4, "step": 1, "group": "Holes", "label": "Holes across"}, "hole_ny": {"type": "int", "default": 2, "min": 1, "max": 4, "step": 1, "group": "Holes", "label": "Holes deep"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332642 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 45, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 21.4, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 2.1, \"min\": 2.0, \"max\": 2.6, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 4, \"min\": 1, \"max\": 4, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes across'},\n    \"hole_ny\": {\"type\": 'int', \"default\": 2, \"min\": 1, \"max\": 4, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes deep'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(12.0, 17.1, p[\"hole_nx\"], p[\"hole_ny\"])\n        .hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462caba3_4079", "family": "plate", "tier": 1, "seed": 1177332643, "symmetry": "none", "op_count": 2, "ir_hash": "5f50953f7c8405d2", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 14500.0, "surface_area": 5150.0, "principal_moments": [875000.0, 4400000.0, 5030000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 60 \u00d7 25.2 \u00d7 10 mm (W\u00d7D\u00d7H).", "Four \u00d84.3 mm holes at the corners, 42 \u00d7 17.64 mm spacing."], "text": "Rectangular body, 60 \u00d7 25.2 \u00d7 10 mm (W\u00d7D\u00d7H). Four \u00d84.3 mm holes at the corners, 42 \u00d7 17.64 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 60, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 25.2, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 5.7, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332643 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 60, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 25.2, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 5.7, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462caba4_4080", "family": "plate", "tier": 2, "seed": 1177332644, "symmetry": "none", "op_count": 3, "ir_hash": "f856f7c27b2296f8", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 3410.0, "surface_area": 2440.0, "principal_moments": [114000.0, 585000.0, 690000.0], "n_faces": 19, "n_edges": 51, "n_vertices": 34}, "dimensions": {"lines": ["Rectangular body, 45 \u00d7 19.6 \u00d7 4 mm (W\u00d7D\u00d7H).", "Nine \u00d82 mm holes in two staggered rows, 8.4 \u00d7 9.9 mm pitch.", "Fillet radius 1.082 mm on vertical edges."], "text": "Rectangular body, 45 \u00d7 19.6 \u00d7 4 mm (W\u00d7D\u00d7H). Nine \u00d82 mm holes in two staggered rows, 8.4 \u00d7 9.9 mm pitch. Fillet radius 1.082 mm on vertical edges."}, "params": {"plate_w": {"type": "float", "default": 45, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 19.6, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 4.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 2.0, "min": 2.0, "max": 2.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 5, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332644 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 45, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 19.6, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 4.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 2.0, \"min\": 2.0, \"max\": 2.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 5, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 8.4\n    _ssy = 9.9\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"plate_w\"], p[\"plate_d\"]) * 0.055221337737342654)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462caba6_4082", "family": "revolved", "tier": 1, "seed": 1177332646, "symmetry": "none", "op_count": 2, "ir_hash": "8934d1448cc1218f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 31000.0, "surface_area": 11000.0, "principal_moments": [3210000.0, 15199999.999999998, 15199999.999999998], "n_faces": 5, "n_edges": 8, "n_vertices": 5}, "dimensions": {"lines": ["Revolved body, \u00d826.26 mm \u00d7 86.2 mm tall.", "Chamfer 1.3 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d826.26 mm \u00d7 86.2 mm tall. Chamfer 1.3 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 26.26, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 86.2, "min": 25.9, "max": 258.6, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "end_chamfer": {"type": "float", "default": 1.3, "min": 0.1, "max": 3.9, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332646 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 26.26, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 86.2, \"min\": 25.9, \"max\": 258.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 1.3, \"min\": 0.1, \"max\": 3.9, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462caba7_4083", "family": "flanged", "tier": 1, "seed": 1177332647, "symmetry": "none", "op_count": 2, "ir_hash": "4ff5240f7b10c383", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 61400.0, "surface_area": 19700.0, "principal_moments": [27099999.999999996, 27099999.999999996, 37800000.0], "n_faces": 18, "n_edges": 45, "n_vertices": 30}, "dimensions": {"lines": ["Revolved body, \u00d841.34 mm \u00d7 37.5 mm tall with \u00d820.7 mm bore, \u00d886.7 mm \u00d7 5.4 mm flange.", "Twelve \u00d84.3 mm holes on a \u00d852 mm bolt circle."], "text": "Revolved body, \u00d841.34 mm \u00d7 37.5 mm tall with \u00d820.7 mm bore, \u00d886.7 mm \u00d7 5.4 mm flange. Twelve \u00d84.3 mm holes on a \u00d852 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 41.34, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 37.5, "min": 11.2, "max": 93.8, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 20.7, "min": 2.0, "max": 28.9, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 86.7, "min": 53.7, "max": 124.0, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 5.4, "min": 1.6, "max": 15.0, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 26.0, "min": 17.3, "max": 39.0, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 12, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332647 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 41.34, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 37.5, \"min\": 11.2, \"max\": 93.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 20.7, \"min\": 2.0, \"max\": 28.9, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 86.7, \"min\": 53.7, \"max\": 124.0, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 5.4, \"min\": 1.6, \"max\": 15.0, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 26.0, \"min\": 17.3, \"max\": 39.0, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 12, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462caba8_4084", "family": "block", "tier": 1, "seed": 1177332648, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "dd86e8b0fd13d235", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 2500.0, "surface_area": 1900.0, "principal_moments": [60900.0, 120000.0, 155000.0], "n_faces": 15, "n_edges": 39, "n_vertices": 26}, "dimensions": {"lines": ["Rectangular body, 15 \u00d7 7.8 \u00d7 22.7 mm (W\u00d7D\u00d7H).", "Nine \u00d81 mm holes in two staggered rows, 2.8 \u00d7 2.7 mm pitch."], "text": "Rectangular body, 15 \u00d7 7.8 \u00d7 22.7 mm (W\u00d7D\u00d7H). Nine \u00d81 mm holes in two staggered rows, 2.8 \u00d7 2.7 mm pitch."}, "params": {"block_w": {"type": "float", "default": 15.0, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 7.8, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 22.7, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 1.0, "min": 2.0, "max": 0.8, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 5, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332648 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 15.0, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 7.8, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 22.7, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 1.0, \"min\": 2.0, \"max\": 0.8, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 5, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 2.8\n    _ssy = 2.7\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462caba9_4085", "family": "block", "tier": 1, "seed": 1177332649, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "22b1f665e0dcc506", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 110000.0, "surface_area": 17800.0, "principal_moments": [39200000.0, 41900000.0, 57499999.99999999], "n_faces": 22, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 55 \u00d7 36.1 \u00d7 57.2 mm (W\u00d7D\u00d7H).", "Four 3.8 mm square holes at the corners, 38.5 \u00d7 25.27 mm spacing."], "text": "Rectangular body, 55 \u00d7 36.1 \u00d7 57.2 mm (W\u00d7D\u00d7H). Four 3.8 mm square holes at the corners, 38.5 \u00d7 25.27 mm spacing."}, "params": {"block_w": {"type": "float", "default": 55, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 36.1, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 57.2, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 3.8, "min": 2.0, "max": 10.6, "step": 0.5, "group": "Holes", "label": "Square hole size (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332649 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 55, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 36.1, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 57.2, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.8, \"min\": 2.0, \"max\": 10.6, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Square hole size (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().rect(p[\"hole_d\"], p[\"hole_d\"]).cutThruAll()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462cabaa_4086", "family": "compound", "tier": 3, "seed": 1177332650, "symmetry": "none", "op_count": 4, "ir_hash": "44b833e7d69e7028", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 92000.0, "surface_area": 14200.0, "principal_moments": [30699999.999999996, 32099999.999999996, 34000000.0], "n_faces": 21, "n_edges": 54, "n_vertices": 36}, "dimensions": {"lines": ["Rectangular body, 45 \u00d7 46.4 \u00d7 43.6 mm (W\u00d7D\u00d7H).", "\u00d816.4 mm circular section attachment, 16.7 mm long, from left face with a \u00d87 mm bore.", "Four \u00d83.2 mm holes at the corners, 31.5 \u00d7 32.48 mm spacing.", "Fillet radius 1.842 mm on vertical edges."], "text": "Rectangular body, 45 \u00d7 46.4 \u00d7 43.6 mm (W\u00d7D\u00d7H). \u00d816.4 mm circular section attachment, 16.7 mm long, from left face with a \u00d87 mm bore. Four \u00d83.2 mm holes at the corners, 31.5 \u00d7 32.48 mm spacing. Fillet radius 1.842 mm on vertical edges."}, "params": {"block_w": {"type": "float", "default": 45, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 46.4, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 43.6, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "spig_d": {"type": "float", "default": 16.4, "min": 6.6, "max": 30.5, "step": 1.0, "group": "Spigot", "label": "Spigot diameter (mm)"}, "spig_len": {"type": "float", "default": 16.7, "min": 4.9, "max": 65.6, "step": 1.0, "group": "Spigot", "label": "Spigot length (mm)"}, "spig_bore": {"type": "float", "default": 7.0, "min": 2.0, "max": 11.8, "step": 0.5, "group": "Spigot", "label": "Bore diameter (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 10.1, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332650 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 45, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 46.4, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 43.6, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"spig_d\": {\"type\": 'float', \"default\": 16.4, \"min\": 6.6, \"max\": 30.5, \"step\": 1.0, \"group\": 'Spigot', \"label\": 'Spigot diameter (mm)'},\n    \"spig_len\": {\"type\": 'float', \"default\": 16.7, \"min\": 4.9, \"max\": 65.6, \"step\": 1.0, \"group\": 'Spigot', \"label\": 'Spigot length (mm)'},\n    \"spig_bore\": {\"type\": 'float', \"default\": 7.0, \"min\": 2.0, \"max\": 11.8, \"step\": 0.5, \"group\": 'Spigot', \"label\": 'Bore diameter (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 10.1, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"spig_d\"] / 2).extrude(p[\"spig_len\"])\n    )\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"spig_bore\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"block_w\"], p[\"block_d\"]) * 0.04093033024336219)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462cabab_4087", "family": "gear", "tier": 1, "seed": 1177332651, "symmetry": "none", "op_count": 1, "ir_hash": "4c6efe85278648a8", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 108000.0, "surface_area": 29900.0, "principal_moments": [102000000.0, 102000000.0, 202000000.0], "n_faces": 163, "n_edges": 483, "n_vertices": 322}, "dimensions": {"lines": ["Spur gear, module 3 mm, 40 teeth (pitch \u00d8120 mm), face width 10 mm, \u00d824 mm bore."], "text": "Spur gear, module 3 mm, 40 teeth (pitch \u00d8120 mm), face width 10 mm, \u00d824 mm bore."}, "params": {"module": {"type": "float", "default": 3.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 40, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 10.0, "min": 4.0, "max": 25.0, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "bore_d": {"type": "float", "default": 24.0, "min": 2.0, "max": 67.5, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332651 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 3.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 40, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 10.0, \"min\": 4.0, \"max\": 25.0, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 24.0, \"min\": 2.0, \"max\": 67.5, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462cabac_4088", "family": "sketched", "tier": 2, "seed": 1177332652, "symmetry": "none", "op_count": 1, "ir_hash": "c8d4ed78ac315417", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 22700.0, "surface_area": 5490.0, "principal_moments": [1680000.0, 9700000.0, 9700000.0], "n_faces": 7, "n_edges": 11, "n_vertices": 6}, "dimensions": {"lines": ["Revolved organic body from a freeform sketched section (7 segments: 6 straight, 1 arc), ~14.61 \u00d7 61.43 mm half-silhouette."], "text": "Revolved organic body from a freeform sketched section (7 segments: 6 straight, 1 arc), ~14.61 \u00d7 61.43 mm half-silhouette."}, "params": {"sk_r": {"type": "float", "default": 15, "min": 7.5, "max": 27.0, "step": 1.0, "group": "Sketch", "label": "Max radius (mm)"}, "sk_h": {"type": "float", "default": 61.43, "min": 30.7, "max": 110.6, "step": 1.0, "group": "Sketch", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332652 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_r\": {\"type\": 'float', \"default\": 15, \"min\": 7.5, \"max\": 27.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Max radius (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 61.43, \"min\": 30.7, \"max\": 110.6, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XZ').moveTo(p[\"sk_r\"] * 0.974, p[\"sk_h\"] * 0.0).lineTo(p[\"sk_r\"] * 0.7578, p[\"sk_h\"] * 0.2257).lineTo(p[\"sk_r\"] * 0.3833, p[\"sk_h\"] * 0.2346).threePointArc((p[\"sk_r\"] * 0.3284, p[\"sk_h\"] * 0.3272), (p[\"sk_r\"] * 0.3174, p[\"sk_h\"] * 0.4199)).lineTo(p[\"sk_r\"] * 0.9215, p[\"sk_h\"] * 0.6589).lineTo(p[\"sk_r\"] * 0.7114, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.0, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.0, p[\"sk_h\"] * 0.0).close().revolve())\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462cabad_4089", "family": "enclosure", "tier": 3, "seed": 1177332653, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "fded9cae955236dc", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 18200.0, "surface_area": 8890.0, "principal_moments": [3400000.0, 4630000.0, 6640000.0], "n_faces": 15, "n_edges": 48, "n_vertices": 32}, "dimensions": {"lines": ["Rectangular body, 45 \u00d7 36.5 \u00d7 20.5 mm (W\u00d7D\u00d7H).", "Hollowed to 5 mm wall thickness, open at top face.", "Four \u00d85.3 mm holes at the corners, 31.5 \u00d7 25.55 mm spacing."], "text": "Rectangular body, 45 \u00d7 36.5 \u00d7 20.5 mm (W\u00d7D\u00d7H). Hollowed to 5 mm wall thickness, open at top face. Four \u00d85.3 mm holes at the corners, 31.5 \u00d7 25.55 mm spacing."}, "params": {"enc_w": {"type": "float", "default": 45, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 36.5, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 20.5, "min": 8.2, "max": 41.0, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 5.0, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 8.2, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332653 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 45, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 36.5, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 20.5, \"min\": 8.2, \"max\": 41.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 8.2, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"enc_w\"] * 0.7, p[\"enc_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462cabae_4090", "family": "flanged", "tier": 2, "seed": 1177332654, "symmetry": "none", "op_count": 2, "ir_hash": "f4304b000ad00e75", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 166000.0, "surface_area": 36400.0, "principal_moments": [139000000.0, 143000000.0, 143000000.0], "n_faces": 10, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["Revolved body, \u00d855 mm \u00d7 65.8 mm tall with \u00d825.3 mm bore, \u00d8111.6 mm \u00d7 5.8 mm flange.", "Four \u00d85.3 mm holes on a \u00d867 mm bolt circle."], "text": "Revolved body, \u00d855 mm \u00d7 65.8 mm tall with \u00d825.3 mm bore, \u00d8111.6 mm \u00d7 5.8 mm flange. Four \u00d85.3 mm holes on a \u00d867 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 55, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 65.8, "min": 19.7, "max": 164.5, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 25.3, "min": 2.0, "max": 38.5, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 111.6, "min": 71.5, "max": 165.0, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 5.8, "min": 1.7, "max": 26.3, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 33.5, "min": 22.3, "max": 50.2, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 4, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332654 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 55, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 65.8, \"min\": 19.7, \"max\": 164.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 25.3, \"min\": 2.0, \"max\": 38.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 111.6, \"min\": 71.5, \"max\": 165.0, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 5.8, \"min\": 1.7, \"max\": 26.3, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 33.5, \"min\": 22.3, \"max\": 50.2, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 4, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462cabaf_4091", "family": "revolved", "tier": 1, "seed": 1177332655, "symmetry": "radial", "op_count": 1, "ir_hash": "384c05c08675a5e9", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 526000.0, "surface_area": 65000.0, "principal_moments": [470000000.0, 1410000000.0, 1410000000.0], "n_faces": 4, "n_edges": 6, "n_vertices": 4}, "dimensions": {"lines": ["Revolved body, \u00d875 mm \u00d7 163.5 mm tall with \u00d839.1 mm bore."], "text": "Revolved body, \u00d875 mm \u00d7 163.5 mm tall with \u00d839.1 mm bore."}, "params": {"outer_d": {"type": "float", "default": 75, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 163.5, "min": 49.0, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 39.1, "min": 2.0, "max": 52.5, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332655 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 75, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 163.5, \"min\": 49.0, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 39.1, \"min\": 2.0, \"max\": 52.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462cabb0_4092", "family": "revolved", "tier": 1, "seed": 1177332656, "symmetry": "none", "op_count": 2, "ir_hash": "df417d4cbaa64dbe", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 124000.0, "surface_area": 41800.0, "principal_moments": [119000000.0, 119000000.0, 227000000.0], "n_faces": 7, "n_edges": 11, "n_vertices": 7}, "dimensions": {"lines": ["Revolved body, \u00d870 mm \u00d7 27.8 mm tall with \u00d8147.4 mm \u00d7 4 mm flange.", "Chamfer 0.9 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d870 mm \u00d7 27.8 mm tall with \u00d8147.4 mm \u00d7 4 mm flange. Chamfer 0.9 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 70, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 27.8, "min": 8.3, "max": 83.4, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "flange_d": {"type": "float", "default": 147.4, "min": 84.0, "max": 210.0, "step": 1.0, "group": "Body", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 4.0, "min": 1.2, "max": 13.9, "step": 0.5, "group": "Body", "label": "Flange height (mm)"}, "end_chamfer": {"type": "float", "default": 0.9, "min": 0.1, "max": 2.7, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332656 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 70, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 27.8, \"min\": 8.3, \"max\": 83.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 147.4, \"min\": 84.0, \"max\": 210.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 4.0, \"min\": 1.2, \"max\": 13.9, \"step\": 0.5, \"group\": 'Body', \"label\": 'Flange height (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.9, \"min\": 0.1, \"max\": 2.7, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462cabb1_4093", "family": "enclosure", "tier": 1, "seed": 1177332657, "symmetry": "none", "op_count": 2, "ir_hash": "9fd10968ec41652d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 22700.0, "surface_area": 12500.0, "principal_moments": [5150000.0, 7820000.0, 9680000.0], "n_faces": 11, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 50 \u00d7 23.4 \u00d7 40.4 mm (W\u00d7D\u00d7H).", "Hollowed to 3.8 mm wall thickness, open at top face."], "text": "Rectangular body, 50 \u00d7 23.4 \u00d7 40.4 mm (W\u00d7D\u00d7H). Hollowed to 3.8 mm wall thickness, open at top face."}, "params": {"enc_w": {"type": "float", "default": 50, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 23.4, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 40.4, "min": 16.2, "max": 80.8, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 3.8, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332657 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 50, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 23.4, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 40.4, \"min\": 16.2, \"max\": 80.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 3.8, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462cabb2_4094", "family": "compound", "tier": 2, "seed": 1177332658, "symmetry": "none", "op_count": 5, "ir_hash": "09bcab7906b7ab45", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 346000.0, "surface_area": 36400.0, "principal_moments": [255000000.0, 297000000.0, 376000000.0], "n_faces": 35, "n_edges": 92, "n_vertices": 60}, "dimensions": {"lines": ["Rectangular body, 84.42 \u00d7 54.9 \u00d7 75.7 mm (W\u00d7D\u00d7H).", "6-sided polygon section, 15.6 mm across corners attachment, 7.7 mm long, from left face with a \u00d87.6 mm bore.", "6-sided polygon section, 15.6 mm across corners attachment, 7.7 mm long, from right face with a \u00d87.6 mm bore.", "6-sided polygon section, 15.6 mm across corners attachment, 7.7 mm long, from front face with a \u00d87.6 mm bore.", "Four \u00d83.2 mm holes at the corners, 59.094 \u00d7 38.43 mm spacing."], "text": "Rectangular body, 84.42 \u00d7 54.9 \u00d7 75.7 mm (W\u00d7D\u00d7H). 6-sided polygon section, 15.6 mm across corners attachment, 7.7 mm long, from left face with a \u00d87.6 mm bore. 6-sided polygon section, 15.6 mm across corners attachment, 7.7 mm long, from right face with a \u00d87.6 mm bore. 6-sided polygon section, 15.6 mm across corners attachment, 7.7 mm long, from front face with a \u00d87.6 mm bore. Four \u00d83.2 mm holes at the corners, 59.094 \u00d7 38.43 mm spacing."}, "params": {"block_w": {"type": "float", "default": 84.42, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body width (mm)"}, "block_d": {"type": "float", "default": 54.9, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body depth (mm)"}, "block_h": {"type": "float", "default": 75.7, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body height (mm)"}, "port_sides": {"type": "int", "default": 6, "min": 3, "max": 8, "step": 1, "group": "Ports", "label": "Ports sides"}, "port_r": {"type": "float", "default": 7.8, "min": 3.9, "max": 12.3, "step": 1.0, "group": "Ports", "label": "Ports circumradius (mm)"}, "port_len": {"type": "float", "default": 7.7, "min": 3.4, "max": 40.5, "step": 1.0, "group": "Ports", "label": "Port boss length (mm)"}, "port_bore": {"type": "float", "default": 7.6, "min": 2.0, "max": 9.7, "step": 0.5, "group": "Ports", "label": "Port bore diameter (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 12.4, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332658 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 84.42, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 54.9, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 75.7, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body height (mm)'},\n    \"port_sides\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Ports', \"label\": 'Ports sides'},\n    \"port_r\": {\"type\": 'float', \"default\": 7.8, \"min\": 3.9, \"max\": 12.3, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Ports circumradius (mm)'},\n    \"port_len\": {\"type\": 'float', \"default\": 7.7, \"min\": 3.4, \"max\": 40.5, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Port boss length (mm)'},\n    \"port_bore\": {\"type\": 'float', \"default\": 7.6, \"min\": 2.0, \"max\": 9.7, \"step\": 0.5, \"group\": 'Ports', \"label\": 'Port bore diameter (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 12.4, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"port_sides\"], p[\"port_r\"] * 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"port_sides\"], p[\"port_r\"] * 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"port_sides\"], p[\"port_r\"] * 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462cabb3_4095", "family": "bracket", "tier": 1, "seed": 1177332659, "symmetry": "none", "op_count": 1, "ir_hash": "72c4536e08ab43d3", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 30000.0, "surface_area": 10100.0, "principal_moments": [7100000.0, 20500000.0, 22500000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["L-bracket: base leg 60 mm, vertical leg 67 mm, 31.75 mm wide, 8 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."], "text": "L-bracket: base leg 60 mm, vertical leg 67 mm, 31.75 mm wide, 8 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 60, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 67.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 31.75, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 8.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332659 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 60, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 67.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 31.75, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462cabb4_4096", "family": "ribbed", "tier": 2, "seed": 1177332660, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "70783f4a9207e89b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 13800.0, "surface_area": 7180.0, "principal_moments": [1790000.0, 3740000.0, 4840000.0], "n_faces": 30, "n_edges": 72, "n_vertices": 44}, "dimensions": {"lines": ["Rectangular body, 50 \u00d7 26.3 \u00d7 4 mm (W\u00d7D\u00d7H).", "Three ribs, 5.6 mm thick, 12.7 mm tall."], "text": "Rectangular body, 50 \u00d7 26.3 \u00d7 4 mm (W\u00d7D\u00d7H). Three ribs, 5.6 mm thick, 12.7 mm tall."}, "params": {"base_w": {"type": "float", "default": 50, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 26.3, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 4.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 3, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 12.7, "min": 5.1, "max": 25.4, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 5.6, "min": 1.0, "max": 14.0, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332660 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 50, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 26.3, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 3, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 12.7, \"min\": 5.1, \"max\": 25.4, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 5.6, \"min\": 1.0, \"max\": 14.0, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462cabb5_4097", "family": "plate", "tier": 2, "seed": 1177332661, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "562a709fbec2fc77", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 26500.0, "surface_area": 9600.0, "principal_moments": [2710000.0, 22000000.0, 24399999.999999996], "n_faces": 22, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 100.66 \u00d7 34.5 \u00d7 8 mm (W\u00d7D\u00d7H).", "Four 10.3 \u00d7 4.3 mm slots at the corners, 70.462 \u00d7 24.15 mm spacing."], "text": "Rectangular body, 100.66 \u00d7 34.5 \u00d7 8 mm (W\u00d7D\u00d7H). Four 10.3 \u00d7 4.3 mm slots at the corners, 70.462 \u00d7 24.15 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 100.66, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 34.5, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 7.8, "step": 0.5, "group": "Holes", "label": "Slot width (mm)"}, "hole_slot_len": {"type": "float", "default": 10.3, "min": 6.4, "max": 10.3, "step": 0.5, "group": "Holes", "label": "Slot length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332661 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 100.66, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 34.5, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 7.8, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Slot width (mm)'},\n    \"hole_slot_len\": {\"type\": 'float', \"default\": 10.3, \"min\": 6.4, \"max\": 10.3, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Slot length (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().slot2D(p[\"hole_slot_len\"], p[\"hole_d\"]).cutThruAll()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462cabb6_4098", "family": "lofted", "tier": 2, "seed": 1177332662, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "15bd59e6478bdd55", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 126000.0, "surface_area": 18200.0, "principal_moments": [57299999.99999999, 61999999.99999999, 61999999.99999999], "n_faces": 8, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["Lofted body through 3 sections: 65 \u00d7 65 mm rectangular section \u2192 \u00d851.5 mm circular section \u2192 \u00d837.9 mm circular section.", "One \u00d813.5 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 3 sections: 65 \u00d7 65 mm rectangular section \u2192 \u00d851.5 mm circular section \u2192 \u00d837.9 mm circular section. One \u00d813.5 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 65, "min": 32.5, "max": 104.0, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 37.9, "min": 15.2, "max": 78.0, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 59.1, "min": 23.6, "max": 118.2, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_mid": {"type": "float", "default": 51.5, "min": 18.9, "max": 78.0, "step": 1.0, "group": "Body", "label": "Mid size (mm)"}, "loft_bore_d": {"type": "float", "default": 13.5, "min": 2.0, "max": 30.3, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332662 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 65, \"min\": 32.5, \"max\": 104.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 37.9, \"min\": 15.2, \"max\": 78.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 59.1, \"min\": 23.6, \"max\": 118.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_mid\": {\"type\": 'float', \"default\": 51.5, \"min\": 18.9, \"max\": 78.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Mid size (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 13.5, \"min\": 2.0, \"max\": 30.3, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .rect(p[\"loft_base\"], p[\"loft_base\"])\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .circle(p[\"loft_mid\"] / 2)\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .circle(p[\"loft_top\"] / 2)\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462cabb7_4099", "family": "revolved", "tier": 1, "seed": 1177332663, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "2cc33e8042993d58", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 432000.0, "surface_area": 58600.0, "principal_moments": [331000000.0, 833000000.0, 833000000.0], "n_faces": 5, "n_edges": 8, "n_vertices": 5}, "dimensions": {"lines": ["Revolved body, \u00d871.49 mm \u00d7 161.4 mm tall.", "Chamfer 0.4 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d871.49 mm \u00d7 161.4 mm tall. Chamfer 0.4 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 71.49, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 161.4, "min": 48.4, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "end_chamfer": {"type": "float", "default": 0.4, "min": 0.1, "max": 1.2, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332663 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 71.49, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 161.4, \"min\": 48.4, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.4, \"min\": 0.1, \"max\": 1.2, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462cabb8_4100", "family": "profiled", "tier": 2, "seed": 1177332664, "symmetry": "none", "op_count": 1, "ir_hash": "3b617b056195fda9", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 44200.0, "surface_area": 8840.0, "principal_moments": [3790000.0, 29199999.999999996, 29199999.999999996], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["4-sided polygon section, 32.06 mm across corners, extruded 86.1 mm thick."], "text": "4-sided polygon section, 32.06 mm across corners, extruded 86.1 mm thick."}, "params": {"circ_r": {"type": "float", "default": 16.03, "min": 8.0, "max": 32.1, "step": 1.0, "group": "Profile", "label": "Circumscribed radius (mm)"}, "n_sides": {"type": "int", "default": 4, "min": 3, "max": 8, "step": 1, "group": "Profile", "label": "Sides"}, "length": {"type": "float", "default": 86.1, "min": 25.8, "max": 258.3, "step": 5.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332664 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"circ_r\": {\"type\": 'float', \"default\": 16.03, \"min\": 8.0, \"max\": 32.1, \"step\": 1.0, \"group\": 'Profile', \"label\": 'Circumscribed radius (mm)'},\n    \"n_sides\": {\"type\": 'int', \"default\": 4, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Profile', \"label\": 'Sides'},\n    \"length\": {\"type\": 'float', \"default\": 86.1, \"min\": 25.8, \"max\": 258.3, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').polygon(p[\"n_sides\"], p[\"circ_r\"] * 2).extrude(p[\"length\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462cabba_4102", "family": "ribbed", "tier": 2, "seed": 1177332666, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "c30bc48f75116db3", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 13700.0, "surface_area": 9460.0, "principal_moments": [2790000.0, 7750000.0, 10100000.0], "n_faces": 30, "n_edges": 88, "n_vertices": 56}, "dimensions": {"lines": ["Rectangular body, 70.19 \u00d7 41.6 \u00d7 3 mm (W\u00d7D\u00d7H).", "Two ribs, 4.1 mm thick, 11 mm tall.", "Four \u00d83.2 mm holes at the corners, 49.133 \u00d7 29.12 mm spacing."], "text": "Rectangular body, 70.19 \u00d7 41.6 \u00d7 3 mm (W\u00d7D\u00d7H). Two ribs, 4.1 mm thick, 11 mm tall. Four \u00d83.2 mm holes at the corners, 49.133 \u00d7 29.12 mm spacing."}, "params": {"base_w": {"type": "float", "default": 70.19, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 41.6, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 3.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 2, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 11.0, "min": 4.4, "max": 22.0, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 4.1, "min": 1.0, "max": 10.2, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 9.4, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332666 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 70.19, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 41.6, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 2, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 11.0, \"min\": 4.4, \"max\": 22.0, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 4.1, \"min\": 1.0, \"max\": 10.2, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 9.4, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"base_w\"] * 0.7, p[\"base_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462cabbb_4103", "family": "threaded", "tier": 1, "seed": 1177332667, "symmetry": "none", "op_count": 1, "ir_hash": "50a2819ff5e97b87", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 249.0, "surface_area": 382.0, "principal_moments": [647.0, 5310.0, 5310.0], "n_faces": 200, "n_edges": 510, "n_vertices": 312}, "dimensions": {"lines": ["M5x0.8 external thread, 15.6 mm long."], "text": "M5x0.8 external thread, 15.6 mm long."}, "params": {"major_d": {"type": "float", "default": 5.0, "min": 4.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Major diameter (mm)"}, "pitch": {"type": "float", "default": 0.8, "min": 0.4, "max": 1.6, "step": 0.05, "group": "Thread", "label": "Pitch (mm)"}, "thread_len": {"type": "float", "default": 15.6, "min": 6.2, "max": 31.2, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332667 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 5.0, \"min\": 4.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Major diameter (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 0.8, \"min\": 0.4, \"max\": 1.6, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Pitch (mm)'},\n    \"thread_len\": {\"type\": 'float', \"default\": 15.6, \"min\": 6.2, \"max\": 31.2, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.IsoThread(major_diameter=p[\"major_d\"], pitch=p[\"pitch\"], length=p[\"thread_len\"], external=True, end_finishes=(\"fade\", \"fade\"))\n    _r = _thr.min_radius if hasattr(_thr, 'min_radius') else _thr.root_radius\n    _shank = _bd.Cylinder(radius=_r, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = _shank + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462cabbc_4104", "family": "compound", "tier": 1, "seed": 1177332668, "symmetry": "none", "op_count": 3, "ir_hash": "3c41e5d57691ce56", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 54600.0, "surface_area": 16200.0, "principal_moments": [20800000.0, 29299999.999999996, 32099999.999999996], "n_faces": 13, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Rectangular body, 70.92 \u00d7 47.2 \u00d7 16 mm (W\u00d7D\u00d7H).", "\u00d812.1 mm circular section attachment, 69.4 mm long, from top face with a \u00d87.1 mm bore.", "Four \u00d88.4 mm holes at the corners, 49.644 \u00d7 33.04 mm spacing."], "text": "Rectangular body, 70.92 \u00d7 47.2 \u00d7 16 mm (W\u00d7D\u00d7H). \u00d812.1 mm circular section attachment, 69.4 mm long, from top face with a \u00d87.1 mm bore. Four \u00d88.4 mm holes at the corners, 49.644 \u00d7 33.04 mm spacing."}, "params": {"base_w": {"type": "float", "default": 70.92, "min": 30.0, "max": 160.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 47.2, "min": 25.0, "max": 160.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_h": {"type": "float", "default": 16.0, "min": 3.0, "max": 30.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "col_d": {"type": "float", "default": 12.1, "min": 4.8, "max": 23.6, "step": 1.0, "group": "Column", "label": "Column diameter (mm)"}, "col_h": {"type": "float", "default": 69.4, "min": 20.8, "max": 208.2, "step": 1.0, "group": "Column", "label": "Column height (mm)"}, "col_bore": {"type": "float", "default": 7.1, "min": 2.0, "max": 8.7, "step": 0.5, "group": "Column", "label": "Column bore diameter (mm)"}, "hole_d": {"type": "float", "default": 8.4, "min": 2.0, "max": 10.6, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332668 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 70.92, \"min\": 30.0, \"max\": 160.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 47.2, \"min\": 25.0, \"max\": 160.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_h\": {\"type\": 'float', \"default\": 16.0, \"min\": 3.0, \"max\": 30.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"col_d\": {\"type\": 'float', \"default\": 12.1, \"min\": 4.8, \"max\": 23.6, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column diameter (mm)'},\n    \"col_h\": {\"type\": 'float', \"default\": 69.4, \"min\": 20.8, \"max\": 208.2, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column height (mm)'},\n    \"col_bore\": {\"type\": 'float', \"default\": 7.1, \"min\": 2.0, \"max\": 8.7, \"step\": 0.5, \"group\": 'Column', \"label\": 'Column bore diameter (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 2.0, \"max\": 10.6, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_h\"])\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"col_d\"] / 2).extrude(p[\"col_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"col_bore\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"base_w\"] * 0.7, p[\"base_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462cabbd_4105", "family": "plate", "tier": 0, "seed": 1177332669, "symmetry": "none", "op_count": 1, "ir_hash": "e89317e8ca25475a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 41400.0, "surface_area": 10000.0, "principal_moments": [5040000.0, 31599999.999999996, 35700000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 95 \u00d7 36.3 \u00d7 12 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 95 \u00d7 36.3 \u00d7 12 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 95, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 36.3, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332669 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 95, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 36.3, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462cabbe_4106", "family": "revolved", "tier": 1, "seed": 1177332670, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "fcbc86d31aa0698c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 10400.0, "surface_area": 4720.0, "principal_moments": [750000.0, 1450000.0, 1450000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d821.89 mm \u00d7 41.6 mm tall."], "text": "Revolved body, \u00d821.89 mm \u00d7 41.6 mm tall."}, "params": {"outer_d": {"type": "float", "default": 21.89, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 41.6, "min": 12.5, "max": 124.8, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332670 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 21.89, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 41.6, \"min\": 12.5, \"max\": 124.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462cabbf_4107", "family": "bracket", "tier": 2, "seed": 1177332671, "symmetry": "none", "op_count": 1, "ir_hash": "8a59c3d568eeb2be", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 28700.0, "surface_area": 9440.0, "principal_moments": [5960000.0, 7790000.0, 7960000.0], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["C-channel bracket: base leg 30 mm, vertical leg 33.3 mm, 45 mm wide, 8 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg; 8.3 mm corner gusset."], "text": "C-channel bracket: base leg 30 mm, vertical leg 33.3 mm, 45 mm wide, 8 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg; 8.3 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 30, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 33.3, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 45, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 8.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 8.3, "min": 4.0, "max": 22.5, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332671 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 30, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 33.3, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 45, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 8.3, \"min\": 4.0, \"max\": 22.5, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl / 2, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bl - _bt, _bt).lineTo(_bl - _bt - _g, _bt)\n                    .lineTo(_bl - _bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462cabc0_4108", "family": "plate", "tier": 1, "seed": 1177332672, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "2aee181518197169", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 15800.0, "surface_area": 5500.0, "principal_moments": [953000.0, 5600000.0, 6290000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 65 \u00d7 25.2 \u00d7 10 mm (W\u00d7D\u00d7H).", "Four \u00d84.3 mm holes at the corners, 45.5 \u00d7 17.64 mm spacing."], "text": "Rectangular body, 65 \u00d7 25.2 \u00d7 10 mm (W\u00d7D\u00d7H). Four \u00d84.3 mm holes at the corners, 45.5 \u00d7 17.64 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 65, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 25.2, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 5.7, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332672 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 65, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 25.2, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 5.7, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462cabc1_4109", "family": "plate", "tier": 1, "seed": 1177332673, "symmetry": "none", "op_count": 2, "ir_hash": "e69a4d841f598c3b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 2450.0, "surface_area": 1410.0, "principal_moments": [40600.0, 148000.0, 148000.0], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["Rectangular body, 25 \u00d7 10 \u00d7 10 mm (W\u00d7D\u00d7H).", "Seven \u00d81 mm holes in two staggered rows, 6.2 \u00d7 6.6 mm pitch."], "text": "Rectangular body, 25 \u00d7 10 \u00d7 10 mm (W\u00d7D\u00d7H). Seven \u00d81 mm holes in two staggered rows, 6.2 \u00d7 6.6 mm pitch."}, "params": {"plate_w": {"type": "float", "default": 25, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 10.0, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 1.0, "min": 2.0, "max": 1.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 4, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332673 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 25, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 10.0, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 1.0, \"min\": 2.0, \"max\": 1.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 4, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 6.2\n    _ssy = 6.6\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462cabc2_4110", "family": "block", "tier": 2, "seed": 1177332674, "symmetry": "none", "op_count": 3, "ir_hash": "45837955babf1688", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 39900.0, "surface_area": 9510.0, "principal_moments": [5580000.0, 11000000.0, 13299999.999999998], "n_faces": 14, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 35 \u00d7 22.6 \u00d7 53 mm (W\u00d7D\u00d7H).", "Four \u00d83.2 mm holes at the corners, 24.5 \u00d7 15.82 mm spacing.", "Fillet radius 2.593 mm on vertical edges."], "text": "Rectangular body, 35 \u00d7 22.6 \u00d7 53 mm (W\u00d7D\u00d7H). Four \u00d83.2 mm holes at the corners, 24.5 \u00d7 15.82 mm spacing. Fillet radius 2.593 mm on vertical edges."}, "params": {"block_w": {"type": "float", "default": 35, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 22.6, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 53.0, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 5.1, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332674 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 35, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 22.6, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 53.0, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 5.1, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"block_w\"], p[\"block_d\"]) * 0.11472977277588256)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462cabc3_4111", "family": "sketched", "tier": 2, "seed": 1177332675, "symmetry": "none", "op_count": 1, "ir_hash": "7412670e4fb37feb", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 120000.0, "surface_area": 20300.0, "principal_moments": [43500000.0, 56199999.99999999, 56199999.99999999], "n_faces": 9, "n_edges": 16, "n_vertices": 9}, "dimensions": {"lines": ["Revolved organic body from a freeform sketched section (8 segments: 4 straight, 3 arcs, 1 curve), ~29.452 \u00d7 63.28 mm half-silhouette."], "text": "Revolved organic body from a freeform sketched section (8 segments: 4 straight, 3 arcs, 1 curve), ~29.452 \u00d7 63.28 mm half-silhouette."}, "params": {"sk_r": {"type": "float", "default": 40, "min": 20.0, "max": 72.0, "step": 1.0, "group": "Sketch", "label": "Max radius (mm)"}, "sk_h": {"type": "float", "default": 63.28, "min": 31.6, "max": 113.9, "step": 1.0, "group": "Sketch", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332675 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_r\": {\"type\": 'float', \"default\": 40, \"min\": 20.0, \"max\": 72.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Max radius (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 63.28, \"min\": 31.6, \"max\": 113.9, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XZ').moveTo(p[\"sk_r\"] * 0.8142, p[\"sk_h\"] * 0.0).threePointArc((p[\"sk_r\"] * 0.646, p[\"sk_h\"] * 0.051), (p[\"sk_r\"] * 0.3647, p[\"sk_h\"] * 0.102)).threePointArc((p[\"sk_r\"] * 0.4838, p[\"sk_h\"] * 0.2224), (p[\"sk_r\"] * 0.3783, p[\"sk_h\"] * 0.3428)).lineTo(p[\"sk_r\"] * 0.8161, p[\"sk_h\"] * 0.4064).threePointArc((p[\"sk_r\"] * 0.7306, p[\"sk_h\"] * 0.536), (p[\"sk_r\"] * 0.6792, p[\"sk_h\"] * 0.6657)).lineTo(p[\"sk_r\"] * 0.6233, p[\"sk_h\"] * 0.9496).bezier([(p[\"sk_r\"] * 0.6233, p[\"sk_h\"] * 0.9496), (p[\"sk_r\"] * 0.38, p[\"sk_h\"] * 0.9748), (p[\"sk_r\"] * 0.1212, p[\"sk_h\"] * 1.0)]).lineTo(p[\"sk_r\"] * 0.0798, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.0798, p[\"sk_h\"] * 0.0).close().revolve())\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462cabc4_4112", "family": "plate", "tier": 3, "seed": 1177332676, "symmetry": "none", "op_count": 4, "ir_hash": "cc36adf35e5c17fe", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 60400.0, "surface_area": 17200.0, "principal_moments": [19000000.0, 60899999.99999999, 78400000.0], "n_faces": 31, "n_edges": 105, "n_vertices": 70}, "dimensions": {"lines": ["Rectangular body, 104.21 \u00d7 56.5 \u00d7 12 mm (W\u00d7D\u00d7H).", "Nine \u00d83.2 mm holes in two staggered rows, 19.5 \u00d7 20.5 mm pitch.", "Fillet radius 2.417 mm on vertical edges.", "Pocket 63.1 \u00d7 23.3 mm, 6.6 mm deep, in top face."], "text": "Rectangular body, 104.21 \u00d7 56.5 \u00d7 12 mm (W\u00d7D\u00d7H). Nine \u00d83.2 mm holes in two staggered rows, 19.5 \u00d7 20.5 mm pitch. Fillet radius 2.417 mm on vertical edges. Pocket 63.1 \u00d7 23.3 mm, 6.6 mm deep, in top face."}, "params": {"plate_w": {"type": "float", "default": 104.21, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 56.5, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 5.7, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 5, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}, "pocket_w": {"type": "float", "default": 63.1, "min": 31.6, "max": 83.4, "step": 1.0, "group": "Pocket", "label": "Pocket width (mm)"}, "pocket_d": {"type": "float", "default": 23.3, "min": 11.7, "max": 45.2, "step": 1.0, "group": "Pocket", "label": "Pocket depth (mm)"}, "pocket_h": {"type": "float", "default": 6.6, "min": 2.6, "max": 10.2, "step": 0.5, "group": "Pocket", "label": "Pocket height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332676 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 104.21, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 56.5, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 5.7, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 5, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n    \"pocket_w\": {\"type\": 'float', \"default\": 63.1, \"min\": 31.6, \"max\": 83.4, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket width (mm)'},\n    \"pocket_d\": {\"type\": 'float', \"default\": 23.3, \"min\": 11.7, \"max\": 45.2, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket depth (mm)'},\n    \"pocket_h\": {\"type\": 'float', \"default\": 6.6, \"min\": 2.6, \"max\": 10.2, \"step\": 0.5, \"group\": 'Pocket', \"label\": 'Pocket height (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 19.5\n    _ssy = 20.5\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"plate_w\"], p[\"plate_d\"]) * 0.0427795595516011)\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"pocket_w\"], p[\"pocket_d\"])\n        .cutBlind(-p[\"pocket_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462cabc5_4113", "family": "swept", "tier": 1, "seed": 1177332677, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "cbd9c312afd4608d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 27300.0, "surface_area": 6750.0, "principal_moments": [1140000.0, 29599999.999999996, 29699999.999999996], "n_faces": 3, "n_edges": 3, "n_vertices": 2}, "dimensions": {"lines": ["\u00d817.7 mm circular section swept along a curved path, ~93.81 mm span."], "text": "\u00d817.7 mm circular section swept along a curved path, ~93.81 mm span."}, "params": {"path_w": {"type": "float", "default": 60, "min": 30.0, "max": 108.0, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 93.81, "min": 46.9, "max": 168.9, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_d": {"type": "float", "default": 17.7, "min": 8.8, "max": 31.9, "step": 1.0, "group": "Section", "label": "Section diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332677 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 60, \"min\": 30.0, \"max\": 108.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 93.81, \"min\": 46.9, \"max\": 168.9, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_d\": {\"type\": 'float', \"default\": 17.7, \"min\": 8.8, \"max\": 31.9, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.2676, p[\"path_h\"] * 0.3011), (p[\"path_w\"] * 0.7173, p[\"path_h\"] * 0.5879), (p[\"path_w\"] * 1.0, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').circle(p[\"sweep_d\"] / 2).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462cabc6_4114", "family": "revolved", "tier": 1, "seed": 1177332678, "symmetry": "radial", "op_count": 2, "ir_hash": "c712f9cc8eca57e8", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 100000.0, "surface_area": 25000.0, "principal_moments": [33900000.0, 94099999.99999999, 94099999.99999999], "n_faces": 7, "n_edges": 11, "n_vertices": 7}, "dimensions": {"lines": ["Revolved body, \u00d835 mm \u00d7 110.1 mm tall with \u00d866.4 mm \u00d7 12 mm flange.", "Chamfer 1.3 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d835 mm \u00d7 110.1 mm tall with \u00d866.4 mm \u00d7 12 mm flange. Chamfer 1.3 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 35, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 110.1, "min": 33.0, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "flange_d": {"type": "float", "default": 66.4, "min": 42.0, "max": 105.0, "step": 1.0, "group": "Body", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 12.0, "min": 3.6, "max": 55.0, "step": 0.5, "group": "Body", "label": "Flange height (mm)"}, "end_chamfer": {"type": "float", "default": 1.3, "min": 0.1, "max": 3.9, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332678 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 35, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 110.1, \"min\": 33.0, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 66.4, \"min\": 42.0, \"max\": 105.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 12.0, \"min\": 3.6, \"max\": 55.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Flange height (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 1.3, \"min\": 0.1, \"max\": 3.9, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462cabc7_4115", "family": "revolved", "tier": 1, "seed": 1177332679, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "01f59c609e9710cf", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 6680.0, "surface_area": 3880.0, "principal_moments": [237000.0, 1590000.0, 1590000.0], "n_faces": 8, "n_edges": 14, "n_vertices": 8}, "dimensions": {"lines": ["Revolved body, \u00d815 mm \u00d7 52.4 mm tall with \u00d87.7 mm bore.", "Chamfer 1.4 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d815 mm \u00d7 52.4 mm tall with \u00d87.7 mm bore. Chamfer 1.4 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 15, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 52.4, "min": 15.7, "max": 157.2, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 7.7, "min": 2.0, "max": 10.5, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "end_chamfer": {"type": "float", "default": 1.4, "min": 0.1, "max": 4.2, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332679 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 15, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 52.4, \"min\": 15.7, \"max\": 157.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 7.7, \"min\": 2.0, \"max\": 10.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 1.4, \"min\": 0.1, \"max\": 4.2, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462cabc8_4116", "family": "revolved", "tier": 2, "seed": 1177332680, "symmetry": "none", "op_count": 2, "ir_hash": "3e6a3fc513659aef", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 1560.0, "surface_area": 1200.0, "principal_moments": [49800.0, 49800.0, 52900.0], "n_faces": 12, "n_edges": 20, "n_vertices": 12}, "dimensions": {"lines": ["Revolved body, \u00d814.7 mm \u00d7 14.3 mm tall with \u00d87.8 mm bore, 1.52 mm-wide groove 0.72 mm deep.", "Chamfer 1.4 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d814.7 mm \u00d7 14.3 mm tall with \u00d87.8 mm bore, 1.52 mm-wide groove 0.72 mm deep. Chamfer 1.4 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 14.7, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 14.3, "min": 4.3, "max": 42.9, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 7.8, "min": 2.0, "max": 10.3, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "groove_depth": {"type": "float", "default": 0.72, "min": 0.29, "max": 2.16, "step": 0.1, "group": "Body", "label": "Groove depth (mm)"}, "groove_w": {"type": "float", "default": 1.52, "min": 0.61, "max": 4.56, "step": 0.2, "group": "Body", "label": "Groove width (mm)"}, "groove_pos": {"type": "float", "default": 8.7, "min": 2.1, "max": 12.2, "step": 1.0, "group": "Body", "label": "Groove position (mm)"}, "end_chamfer": {"type": "float", "default": 1.4, "min": 0.1, "max": 4.2, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332680 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 14.7, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 14.3, \"min\": 4.3, \"max\": 42.9, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 7.8, \"min\": 2.0, \"max\": 10.3, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"groove_depth\": {\"type\": 'float', \"default\": 0.72, \"min\": 0.29, \"max\": 2.16, \"step\": 0.1, \"group\": 'Body', \"label\": 'Groove depth (mm)'},\n    \"groove_w\": {\"type\": 'float', \"default\": 1.52, \"min\": 0.61, \"max\": 4.56, \"step\": 0.2, \"group\": 'Body', \"label\": 'Groove width (mm)'},\n    \"groove_pos\": {\"type\": 'float', \"default\": 8.7, \"min\": 2.1, \"max\": 12.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Groove position (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 1.4, \"min\": 0.1, \"max\": 4.2, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"groove_pos\"] - p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2 - p[\"groove_depth\"], p[\"groove_pos\"] - p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2 - p[\"groove_depth\"], p[\"groove_pos\"] + p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2, p[\"groove_pos\"] + p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462cabc9_4117", "family": "flanged", "tier": 1, "seed": 1177332681, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "fec7e5b56ad06258", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 269000.0, "surface_area": 48300.0, "principal_moments": [222000000.0, 318000000.0, 318000000.0], "n_faces": 29, "n_edges": 114, "n_vertices": 76}, "dimensions": {"lines": ["Revolved body, \u00d865 mm \u00d7 88.5 mm tall with \u00d827.8 mm bore, \u00d8106.7 mm \u00d7 7.9 mm flange.", "Twelve \u00d85.3 mm holes on a \u00d864 mm bolt circle."], "text": "Revolved body, \u00d865 mm \u00d7 88.5 mm tall with \u00d827.8 mm bore, \u00d8106.7 mm \u00d7 7.9 mm flange. Twelve \u00d85.3 mm holes on a \u00d864 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 65, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 88.5, "min": 26.6, "max": 221.2, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 27.8, "min": 2.0, "max": 45.5, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 106.7, "min": 84.5, "max": 195.0, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 7.9, "min": 2.4, "max": 35.4, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 32.0, "min": 21.3, "max": 48.0, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 12, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332681 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 65, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 88.5, \"min\": 26.6, \"max\": 221.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 27.8, \"min\": 2.0, \"max\": 45.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 106.7, \"min\": 84.5, \"max\": 195.0, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 7.9, \"min\": 2.4, \"max\": 35.4, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 32.0, \"min\": 21.3, \"max\": 48.0, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 12, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462cabca_4118", "family": "revolved", "tier": 2, "seed": 1177332682, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "37026ca340199f54", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 287000.0, "surface_area": 47600.0, "principal_moments": [339000000.0, 339000000.0, 551000000.0], "n_faces": 10, "n_edges": 17, "n_vertices": 10}, "dimensions": {"lines": ["Revolved body, \u00d864.38 mm \u00d7 55.8 mm tall with \u00d837.2 mm bore, \u00d8135.7 mm \u00d7 14.8 mm flange.", "Chamfer 0.5 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d864.38 mm \u00d7 55.8 mm tall with \u00d837.2 mm bore, \u00d8135.7 mm \u00d7 14.8 mm flange. Chamfer 0.5 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 64.38, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 55.8, "min": 16.7, "max": 167.4, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 37.2, "min": 2.0, "max": 45.1, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 135.7, "min": 77.3, "max": 193.1, "step": 1.0, "group": "Body", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 14.8, "min": 4.4, "max": 27.9, "step": 0.5, "group": "Body", "label": "Flange height (mm)"}, "end_chamfer": {"type": "float", "default": 0.5, "min": 0.1, "max": 1.5, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332682 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 64.38, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 55.8, \"min\": 16.7, \"max\": 167.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 37.2, \"min\": 2.0, \"max\": 45.1, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 135.7, \"min\": 77.3, \"max\": 193.1, \"step\": 1.0, \"group\": 'Body', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 14.8, \"min\": 4.4, \"max\": 27.9, \"step\": 0.5, \"group\": 'Body', \"label\": 'Flange height (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.5, \"min\": 0.1, \"max\": 1.5, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462cabcb_4119", "family": "gear", "tier": 1, "seed": 1177332683, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "3ddf8706a1e6f4ec", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 2270.0, "surface_area": 2100.0, "principal_moments": [142000.0, 142000.0, 279000.0], "n_faces": 189, "n_edges": 561, "n_vertices": 374}, "dimensions": {"lines": ["Spur gear, module 1 mm, 31 teeth (pitch \u00d831 mm), face width 3.1 mm, \u00d84.5 mm bore."], "text": "Spur gear, module 1 mm, 31 teeth (pitch \u00d831 mm), face width 3.1 mm, \u00d84.5 mm bore."}, "params": {"module": {"type": "float", "default": 1.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 31, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 3.1, "min": 1.2, "max": 7.8, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "bore_d": {"type": "float", "default": 4.5, "min": 2.0, "max": 17.1, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332683 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 1.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 31, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 3.1, \"min\": 1.2, \"max\": 7.8, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 4.5, \"min\": 2.0, \"max\": 17.1, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462cabcc_4120", "family": "profiled", "tier": 0, "seed": 1177332684, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "71f20e9ad639c548", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 17500.0, "surface_area": 4610.0, "principal_moments": [705000.0, 7390000.0, 7390000.0], "n_faces": 8, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["6-sided polygon section, 19.68 mm across corners, extruded 69.5 mm thick."], "text": "6-sided polygon section, 19.68 mm across corners, extruded 69.5 mm thick."}, "params": {"circ_r": {"type": "float", "default": 9.84, "min": 4.9, "max": 19.7, "step": 1.0, "group": "Profile", "label": "Circumscribed radius (mm)"}, "n_sides": {"type": "int", "default": 6, "min": 3, "max": 8, "step": 1, "group": "Profile", "label": "Sides"}, "length": {"type": "float", "default": 69.5, "min": 20.8, "max": 208.5, "step": 5.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332684 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"circ_r\": {\"type\": 'float', \"default\": 9.84, \"min\": 4.9, \"max\": 19.7, \"step\": 1.0, \"group\": 'Profile', \"label\": 'Circumscribed radius (mm)'},\n    \"n_sides\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Profile', \"label\": 'Sides'},\n    \"length\": {\"type\": 'float', \"default\": 69.5, \"min\": 20.8, \"max\": 208.5, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').polygon(p[\"n_sides\"], p[\"circ_r\"] * 2).extrude(p[\"length\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462cabcd_4121", "family": "enclosure", "tier": 1, "seed": 1177332685, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "3e990fe72aed3980", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 64600.0, "surface_area": 29700.0, "principal_moments": [36700000.0, 48899999.99999999, 65099999.99999999], "n_faces": 11, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 73.13 \u00d7 33.5 \u00d7 65.5 mm (W\u00d7D\u00d7H).", "Hollowed to 4.5 mm wall thickness, open at top face."], "text": "Rectangular body, 73.13 \u00d7 33.5 \u00d7 65.5 mm (W\u00d7D\u00d7H). Hollowed to 4.5 mm wall thickness, open at top face."}, "params": {"enc_w": {"type": "float", "default": 73.13, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 33.5, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 65.5, "min": 26.2, "max": 131.0, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 4.5, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332685 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 73.13, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 33.5, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 65.5, \"min\": 26.2, \"max\": 131.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 4.5, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462cabce_4122", "family": "compound", "tier": 1, "seed": 1177332686, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "9c58e2ea7a644e3e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 56400.0, "surface_area": 10700.0, "principal_moments": [14799999.999999998, 14799999.999999998, 16800000.0], "n_faces": 10, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["Lofted body through 2 sections: \u00d860 mm circular section \u2192 25.7 \u00d7 25.7 mm rectangular section.", "\u00d816.1 mm circular section attachment, 14.5 mm long, from top face with a \u00d88 mm bore."], "text": "Lofted body through 2 sections: \u00d860 mm circular section \u2192 25.7 \u00d7 25.7 mm rectangular section. \u00d816.1 mm circular section attachment, 14.5 mm long, from top face with a \u00d88 mm bore."}, "params": {"adapter_base": {"type": "float", "default": 60, "min": 36.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "adapter_top": {"type": "float", "default": 25.7, "min": 12.8, "max": 60, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "adapter_h": {"type": "float", "default": 34.4, "min": 13.8, "max": 68.8, "step": 1.0, "group": "Body", "label": "Transition height (mm)"}, "neck_d": {"type": "float", "default": 16.1, "min": 6.4, "max": 25.7, "step": 1.0, "group": "Neck", "label": "Neck diameter (mm)"}, "neck_l": {"type": "float", "default": 14.5, "min": 5.8, "max": 36.2, "step": 1.0, "group": "Neck", "label": "Neck length (mm)"}, "neck_bore": {"type": "float", "default": 8.0, "min": 2.0, "max": 11.6, "step": 0.5, "group": "Neck", "label": "Neck bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332686 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"adapter_base\": {\"type\": 'float', \"default\": 60, \"min\": 36.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"adapter_top\": {\"type\": 'float', \"default\": 25.7, \"min\": 12.8, \"max\": 60, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"adapter_h\": {\"type\": 'float', \"default\": 34.4, \"min\": 13.8, \"max\": 68.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Transition height (mm)'},\n    \"neck_d\": {\"type\": 'float', \"default\": 16.1, \"min\": 6.4, \"max\": 25.7, \"step\": 1.0, \"group\": 'Neck', \"label\": 'Neck diameter (mm)'},\n    \"neck_l\": {\"type\": 'float', \"default\": 14.5, \"min\": 5.8, \"max\": 36.2, \"step\": 1.0, \"group\": 'Neck', \"label\": 'Neck length (mm)'},\n    \"neck_bore\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 11.6, \"step\": 0.5, \"group\": 'Neck', \"label\": 'Neck bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .circle(p[\"adapter_base\"] / 2)\n        .workplane(offset=p[\"adapter_h\"])\n        .rect(p[\"adapter_top\"], p[\"adapter_top\"])\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"neck_d\"] / 2).extrude(p[\"neck_l\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"neck_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462cabcf_4123", "family": "plate", "tier": 2, "seed": 1177332687, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "c90afb5164094eed", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 132000.0, "surface_area": 32500.0, "principal_moments": [142000000.0, 153000000.0, 293000000.0], "n_faces": 14, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 120 \u00d7 115.2 \u00d7 10 mm (W\u00d7D\u00d7H).", "Four \u00d813 mm holes at the corners, 84 \u00d7 80.64 mm spacing.", "Chamfer 7.9 mm on vertical edges."], "text": "Rectangular body, 120 \u00d7 115.2 \u00d7 10 mm (W\u00d7D\u00d7H). Four \u00d813 mm holes at the corners, 84 \u00d7 80.64 mm spacing. Chamfer 7.9 mm on vertical edges."}, "params": {"plate_w": {"type": "float", "default": 120.0, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 115.2, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 13.0, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "chamfer_d": {"type": "float", "default": 7.9, "min": 4.6, "max": 8.1, "step": 0.5, "group": "Body", "label": "Chamfer distance (mm)"}, "chamfered": {"type": "bool", "default": true, "group": "Body", "label": "Chamfer edges"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332687 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 120.0, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 115.2, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 13.0, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"chamfer_d\": {\"type\": 'float', \"default\": 7.9, \"min\": 4.6, \"max\": 8.1, \"step\": 0.5, \"group\": 'Body', \"label\": 'Chamfer distance (mm)'},\n    \"chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Chamfer edges'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"chamfered\"]:\n        result = result.edges('|Z').chamfer(p[\"chamfer_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462cabd0_4124", "family": "bracket", "tier": 1, "seed": 1177332688, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "2a0da4cef06106a9", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 17100.0, "surface_area": 10100.0, "principal_moments": [3020000.0, 15999999.999999998, 16399999.999999998], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Z-bracket: base leg 54.42 mm, vertical leg 52.9 mm, top leg 44.3 mm, 30 mm wide, 4 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."], "text": "Z-bracket: base leg 54.42 mm, vertical leg 52.9 mm, top leg 44.3 mm, 30 mm wide, 4 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 54.42, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 52.9, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 30, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 4.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 44.3, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332688 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 54.42, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 52.9, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 30, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 44.3, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462cabd1_4125", "family": "bracket", "tier": 3, "seed": 1177332689, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "46d195e6bced76ee", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 8510.0, "surface_area": 5240.0, "principal_moments": [1110000.0, 1730000.0, 2320000.0], "n_faces": 17, "n_edges": 39, "n_vertices": 26}, "dimensions": {"lines": ["L-bracket: base leg 39.47 mm, vertical leg 25.7 mm, 34.69 mm wide, 4 mm thick; 2 \u00d7 \u00d84.3 mm holes per leg; 5 mm corner gusset."], "text": "L-bracket: base leg 39.47 mm, vertical leg 25.7 mm, 34.69 mm wide, 4 mm thick; 2 \u00d7 \u00d84.3 mm holes per leg; 5 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 39.47, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 25.7, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 34.69, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 4.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 2, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 5.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332689 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 39.47, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 25.7, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 34.69, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 2, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462cabd2_4126", "family": "bracket", "tier": 2, "seed": 1177332690, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "3b650681ea2de0d2", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 36400.0, "surface_area": 14300.0, "principal_moments": [11899999.999999998, 25899999.999999996, 27199999.999999996], "n_faces": 15, "n_edges": 41, "n_vertices": 26}, "dimensions": {"lines": ["L-bracket: base leg 64.91 mm, vertical leg 60.7 mm, 47.94 mm wide, 6 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg; 6.3 mm corner gusset."], "text": "L-bracket: base leg 64.91 mm, vertical leg 60.7 mm, 47.94 mm wide, 6 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg; 6.3 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 64.91, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 60.7, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 47.94, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 6.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 6.3, "min": 3.0, "max": 18.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332690 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 64.91, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 60.7, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 47.94, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 6.3, \"min\": 3.0, \"max\": 18.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462cabd3_4127", "family": "bracket", "tier": 3, "seed": 1177332691, "symmetry": "none", "op_count": 1, "ir_hash": "5be4b3acd589cf4d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 19500.0, "surface_area": 7190.0, "principal_moments": [3540000.0, 5330000.0, 6810000.0], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["C-channel bracket: base leg 40.9 mm, vertical leg 37.2 mm, 25 mm wide, 8 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg; 11.6 mm corner gusset."], "text": "C-channel bracket: base leg 40.9 mm, vertical leg 37.2 mm, 25 mm wide, 8 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg; 11.6 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 40.9, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 37.2, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 25, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 8.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 11.6, "min": 4.0, "max": 12.5, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332691 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 40.9, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 37.2, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 25, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 11.6, \"min\": 4.0, \"max\": 12.5, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl / 2, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bl - _bt, _bt).lineTo(_bl - _bt - _g, _bt)\n                    .lineTo(_bl - _bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462cabd4_4128", "family": "gear", "tier": 1, "seed": 1177332692, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "1eb4f1d79eb2d759", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 29700.0, "surface_area": 9330.0, "principal_moments": [5950000.0, 5950000.0, 10800000.0], "n_faces": 129, "n_edges": 381, "n_vertices": 254}, "dimensions": {"lines": ["Spur gear, module 2.5 mm, 21 teeth (pitch \u00d852.5 mm), face width 14.6 mm, \u00d811.2 mm bore."], "text": "Spur gear, module 2.5 mm, 21 teeth (pitch \u00d852.5 mm), face width 14.6 mm, \u00d811.2 mm bore."}, "params": {"module": {"type": "float", "default": 2.5, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 21, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 14.6, "min": 5.8, "max": 36.5, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "bore_d": {"type": "float", "default": 11.2, "min": 2.0, "max": 27.8, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332692 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 2.5, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 21, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 14.6, \"min\": 5.8, \"max\": 36.5, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 11.2, \"min\": 2.0, \"max\": 27.8, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462cabd5_4129", "family": "gear", "tier": 1, "seed": 1177332693, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "29452e47348db746", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 8740.0, "surface_area": 4550.0, "principal_moments": [1050000.0, 1050000.0, 2030000.0], "n_faces": 171, "n_edges": 507, "n_vertices": 338}, "dimensions": {"lines": ["Spur gear, module 1.5 mm, 28 teeth (pitch \u00d842 mm), face width 6.7 mm, \u00d89.2 mm bore."], "text": "Spur gear, module 1.5 mm, 28 teeth (pitch \u00d842 mm), face width 6.7 mm, \u00d89.2 mm bore."}, "params": {"module": {"type": "float", "default": 1.5, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 28, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 6.7, "min": 2.7, "max": 16.8, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "bore_d": {"type": "float", "default": 9.2, "min": 2.0, "max": 22.9, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332693 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 1.5, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 28, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 6.7, \"min\": 2.7, \"max\": 16.8, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 9.2, \"min\": 2.0, \"max\": 22.9, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462cabd6_4130", "family": "compound", "tier": 1, "seed": 1177332694, "symmetry": "mirror_xy", "op_count": 3, "ir_hash": "5110f612a5e034f3", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 26300.0, "surface_area": 6100.0, "principal_moments": [3600000.0, 4030000.0, 5870000.0], "n_faces": 21, "n_edges": 51, "n_vertices": 34}, "dimensions": {"lines": ["Rectangular body, 35 \u00d7 37.8 \u00d7 20 mm (W\u00d7D\u00d7H).", "5-sided polygon section, 6 mm across corners attachment, 4 mm long, from right face with a \u00d82.7 mm bore.", "5-sided polygon section, 6 mm across corners attachment, 4 mm long, from left face with a \u00d82.7 mm bore."], "text": "Rectangular body, 35 \u00d7 37.8 \u00d7 20 mm (W\u00d7D\u00d7H). 5-sided polygon section, 6 mm across corners attachment, 4 mm long, from right face with a \u00d82.7 mm bore. 5-sided polygon section, 6 mm across corners attachment, 4 mm long, from left face with a \u00d82.7 mm bore."}, "params": {"block_w": {"type": "float", "default": 35, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body width (mm)"}, "block_d": {"type": "float", "default": 37.8, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body depth (mm)"}, "block_h": {"type": "float", "default": 20.0, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body height (mm)"}, "port_sides": {"type": "int", "default": 5, "min": 3, "max": 8, "step": 1, "group": "Ports", "label": "Ports sides"}, "port_r": {"type": "float", "default": 3.0, "min": 1.5, "max": 4.5, "step": 1.0, "group": "Ports", "label": "Ports circumradius (mm)"}, "port_len": {"type": "float", "default": 4.0, "min": 1.2, "max": 14.6, "step": 1.0, "group": "Ports", "label": "Port boss length (mm)"}, "port_bore": {"type": "float", "default": 2.7, "min": 2.0, "max": 3.5, "step": 0.5, "group": "Ports", "label": "Port bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332694 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 35, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 37.8, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 20.0, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body height (mm)'},\n    \"port_sides\": {\"type\": 'int', \"default\": 5, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Ports', \"label\": 'Ports sides'},\n    \"port_r\": {\"type\": 'float', \"default\": 3.0, \"min\": 1.5, \"max\": 4.5, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Ports circumradius (mm)'},\n    \"port_len\": {\"type\": 'float', \"default\": 4.0, \"min\": 1.2, \"max\": 14.6, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Port boss length (mm)'},\n    \"port_bore\": {\"type\": 'float', \"default\": 2.7, \"min\": 2.0, \"max\": 3.5, \"step\": 0.5, \"group\": 'Ports', \"label\": 'Port bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"port_sides\"], p[\"port_r\"] * 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"port_sides\"], p[\"port_r\"] * 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462cabd7_4131", "family": "flanged", "tier": 1, "seed": 1177332695, "symmetry": "none", "op_count": 2, "ir_hash": "b84b13c7e00a582d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 30100.0, "surface_area": 11200.0, "principal_moments": [7870000.0, 8380000.0, 8380000.0], "n_faces": 17, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Revolved body, \u00d830.82 mm \u00d7 38.5 mm tall with \u00d814.4 mm bore, \u00d858.9 mm \u00d7 4.6 mm flange.", "Six \u00d86.4 mm holes on a \u00d835.4 mm bolt circle."], "text": "Revolved body, \u00d830.82 mm \u00d7 38.5 mm tall with \u00d814.4 mm bore, \u00d858.9 mm \u00d7 4.6 mm flange. Six \u00d86.4 mm holes on a \u00d835.4 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 30.82, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 38.5, "min": 11.5, "max": 96.2, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 14.4, "min": 2.0, "max": 21.6, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 58.9, "min": 40.1, "max": 92.5, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 4.6, "min": 1.4, "max": 15.4, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 17.7, "min": 11.8, "max": 26.5, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 6, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332695 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 30.82, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 38.5, \"min\": 11.5, \"max\": 96.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 14.4, \"min\": 2.0, \"max\": 21.6, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 58.9, \"min\": 40.1, \"max\": 92.5, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 4.6, \"min\": 1.4, \"max\": 15.4, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 17.7, \"min\": 11.8, \"max\": 26.5, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462cabd8_4132", "family": "flanged", "tier": 1, "seed": 1177332696, "symmetry": "none", "op_count": 2, "ir_hash": "a41dbdb9a3ef5258", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 99600.0, "surface_area": 27700.0, "principal_moments": [65099999.99999999, 65099999.99999999, 81500000.0], "n_faces": 12, "n_edges": 27, "n_vertices": 18}, "dimensions": {"lines": ["Revolved body, \u00d845.81 mm \u00d7 50.3 mm tall with \u00d824 mm bore, \u00d8101.2 mm \u00d7 6.3 mm flange.", "Six \u00d85.3 mm holes on a \u00d860.8 mm bolt circle."], "text": "Revolved body, \u00d845.81 mm \u00d7 50.3 mm tall with \u00d824 mm bore, \u00d8101.2 mm \u00d7 6.3 mm flange. Six \u00d85.3 mm holes on a \u00d860.8 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 45.81, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 50.3, "min": 15.1, "max": 125.8, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 24.0, "min": 2.0, "max": 32.1, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 101.2, "min": 59.6, "max": 137.4, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 6.3, "min": 1.9, "max": 20.1, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 30.4, "min": 20.2, "max": 45.5, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 6, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332696 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 45.81, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 50.3, \"min\": 15.1, \"max\": 125.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 24.0, \"min\": 2.0, \"max\": 32.1, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 101.2, \"min\": 59.6, \"max\": 137.4, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 6.3, \"min\": 1.9, \"max\": 20.1, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 30.4, \"min\": 20.2, \"max\": 45.5, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462cabd9_4133", "family": "bracket", "tier": 1, "seed": 1177332697, "symmetry": "none", "op_count": 1, "ir_hash": "457d061981a90b83", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 13400.0, "surface_area": 6720.0, "principal_moments": [2480000.0, 2780000.0, 3090000.0], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["C-channel bracket: base leg 30 mm, vertical leg 29.1 mm, 35 mm wide, 5 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."], "text": "C-channel bracket: base leg 30 mm, vertical leg 29.1 mm, 35 mm wide, 5 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 30, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 29.1, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 35, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 5.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332697 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 30, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 29.1, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 35, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462cabda_4134", "family": "flanged", "tier": 2, "seed": 1177332698, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "877e53813c25ce94", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 428000.0, "surface_area": 61200.0, "principal_moments": [581000000.0, 581000000.0, 941000000.0], "n_faces": 14, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["Revolved body, \u00d880 mm \u00d7 54.9 mm tall with \u00d826.6 mm bore, \u00d8158.2 mm \u00d7 12.7 mm flange.", "Eight \u00d86.4 mm holes on a \u00d895 mm bolt circle."], "text": "Revolved body, \u00d880 mm \u00d7 54.9 mm tall with \u00d826.6 mm bore, \u00d8158.2 mm \u00d7 12.7 mm flange. Eight \u00d86.4 mm holes on a \u00d895 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 80, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 54.9, "min": 16.5, "max": 137.2, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 26.6, "min": 2.0, "max": 56.0, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 158.2, "min": 104.0, "max": 240.0, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 12.7, "min": 3.8, "max": 22.0, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 47.5, "min": 31.6, "max": 71.2, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 8, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332698 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 80, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 54.9, \"min\": 16.5, \"max\": 137.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 26.6, \"min\": 2.0, \"max\": 56.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 158.2, \"min\": 104.0, \"max\": 240.0, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 12.7, \"min\": 3.8, \"max\": 22.0, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 47.5, \"min\": 31.6, \"max\": 71.2, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462cabdb_4135", "family": "plate", "tier": 2, "seed": 1177332699, "symmetry": "radial", "op_count": 3, "ir_hash": "79ff26e852b07be3", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 55800.0, "surface_area": 13400.0, "principal_moments": [10200000.0, 52199999.99999999, 60999999.99999999], "n_faces": 28, "n_edges": 78, "n_vertices": 52}, "dimensions": {"lines": ["Rectangular body, 105.45 \u00d7 46.2 \u00d7 12 mm (W\u00d7D\u00d7H).", "Eight \u00d86.4 mm holes on a \u00d863.2 mm bolt circle.", "Chamfer 4.1 mm on vertical edges."], "text": "Rectangular body, 105.45 \u00d7 46.2 \u00d7 12 mm (W\u00d7D\u00d7H). Eight \u00d86.4 mm holes on a \u00d863.2 mm bolt circle. Chamfer 4.1 mm on vertical edges."}, "params": {"plate_w": {"type": "float", "default": 105.45, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 46.2, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "bolt_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 31.6, "min": 21.1, "max": 47.5, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 8, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}, "chamfer_d": {"type": "float", "default": 4.1, "min": 1.8, "max": 5.5, "step": 0.5, "group": "Body", "label": "Chamfer distance (mm)"}, "chamfered": {"type": "bool", "default": true, "group": "Body", "label": "Chamfer edges"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332699 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 105.45, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 46.2, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 31.6, \"min\": 21.1, \"max\": 47.5, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n    \"chamfer_d\": {\"type\": 'float', \"default\": 4.1, \"min\": 1.8, \"max\": 5.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Chamfer distance (mm)'},\n    \"chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Chamfer edges'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    if p[\"chamfered\"]:\n        result = result.edges('|Z').chamfer(p[\"chamfer_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462cabdc_4136", "family": "compound", "tier": 2, "seed": 1177332700, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "0b258e597f688ba6", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 32500.0, "surface_area": 6350.0, "principal_moments": [4680000.0, 6840000.0, 6840000.0], "n_faces": 14, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["Lofted body through 3 sections: \u00d842.9 mm circular section \u2192 \u00d831.9 mm circular section \u2192 20.9 \u00d7 20.9 mm rectangular section.", "6-sided polygon section, 12.6 mm across corners attachment, 15.1 mm long, from top face."], "text": "Lofted body through 3 sections: \u00d842.9 mm circular section \u2192 \u00d831.9 mm circular section \u2192 20.9 \u00d7 20.9 mm rectangular section. 6-sided polygon section, 12.6 mm across corners attachment, 15.1 mm long, from top face."}, "params": {"adapter_base": {"type": "float", "default": 42.9, "min": 25.7, "max": 64.3, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "adapter_top": {"type": "float", "default": 20.9, "min": 10.4, "max": 42.9, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "adapter_h": {"type": "float", "default": 36.5, "min": 14.6, "max": 73.0, "step": 1.0, "group": "Body", "label": "Transition height (mm)"}, "adapter_mid": {"type": "float", "default": 31.9, "min": 10.4, "max": 42.9, "step": 1.0, "group": "Body", "label": "Mid size (mm)"}, "neck_sides": {"type": "int", "default": 6, "min": 3, "max": 8, "step": 1, "group": "Neck", "label": "Neck sides"}, "neck_r": {"type": "float", "default": 6.3, "min": 3.1, "max": 10.4, "step": 1.0, "group": "Neck", "label": "Neck circumradius (mm)"}, "neck_l": {"type": "float", "default": 15.1, "min": 6.0, "max": 37.8, "step": 1.0, "group": "Neck", "label": "Neck length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332700 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"adapter_base\": {\"type\": 'float', \"default\": 42.9, \"min\": 25.7, \"max\": 64.3, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"adapter_top\": {\"type\": 'float', \"default\": 20.9, \"min\": 10.4, \"max\": 42.9, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"adapter_h\": {\"type\": 'float', \"default\": 36.5, \"min\": 14.6, \"max\": 73.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Transition height (mm)'},\n    \"adapter_mid\": {\"type\": 'float', \"default\": 31.9, \"min\": 10.4, \"max\": 42.9, \"step\": 1.0, \"group\": 'Body', \"label\": 'Mid size (mm)'},\n    \"neck_sides\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Neck', \"label\": 'Neck sides'},\n    \"neck_r\": {\"type\": 'float', \"default\": 6.3, \"min\": 3.1, \"max\": 10.4, \"step\": 1.0, \"group\": 'Neck', \"label\": 'Neck circumradius (mm)'},\n    \"neck_l\": {\"type\": 'float', \"default\": 15.1, \"min\": 6.0, \"max\": 37.8, \"step\": 1.0, \"group\": 'Neck', \"label\": 'Neck length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .circle(p[\"adapter_base\"] / 2)\n        .workplane(offset=p[\"adapter_h\"] * 0.5)\n        .circle(p[\"adapter_mid\"] / 2)\n        .workplane(offset=p[\"adapter_h\"] * 0.5)\n        .rect(p[\"adapter_top\"], p[\"adapter_top\"])\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"neck_sides\"], p[\"neck_r\"] * 2).extrude(p[\"neck_l\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462cabdd_4137", "family": "bracket", "tier": 1, "seed": 1177332701, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "627cd806b584894a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 31200.0, "surface_area": 17800.0, "principal_moments": [18200000.0, 44900000.0, 56099999.99999999], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["C-channel bracket: base leg 88.65 mm, vertical leg 67.2 mm, 36.62 mm wide, 4 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."], "text": "C-channel bracket: base leg 88.65 mm, vertical leg 67.2 mm, 36.62 mm wide, 4 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 88.65, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 67.2, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 36.62, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 4.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332701 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 88.65, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 67.2, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 36.62, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462cabde_4138", "family": "sketched", "tier": 1, "seed": 1177332702, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "bf10e30e708fc1b4", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 34200.0, "surface_area": 9210.0, "principal_moments": [4000000.0, 15599999.999999998, 15599999.999999998], "n_faces": 7, "n_edges": 12, "n_vertices": 7}, "dimensions": {"lines": ["Revolved organic body from a freeform sketched section (6 segments: 5 straight, 1 arc), ~19.131 \u00d7 67.9 mm half-silhouette."], "text": "Revolved organic body from a freeform sketched section (6 segments: 5 straight, 1 arc), ~19.131 \u00d7 67.9 mm half-silhouette."}, "params": {"sk_r": {"type": "float", "default": 35, "min": 17.5, "max": 63.0, "step": 1.0, "group": "Sketch", "label": "Max radius (mm)"}, "sk_h": {"type": "float", "default": 67.9, "min": 34.0, "max": 122.2, "step": 1.0, "group": "Sketch", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332702 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_r\": {\"type\": 'float', \"default\": 35, \"min\": 17.5, \"max\": 63.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Max radius (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 67.9, \"min\": 34.0, \"max\": 122.2, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XZ').moveTo(p[\"sk_r\"] * 0.6206, p[\"sk_h\"] * 0.0).lineTo(p[\"sk_r\"] * 0.1607, p[\"sk_h\"] * 0.2535).lineTo(p[\"sk_r\"] * 0.1767, p[\"sk_h\"] * 0.4104).threePointArc((p[\"sk_r\"] * 0.4476, p[\"sk_h\"] * 0.4436), (p[\"sk_r\"] * 0.4896, p[\"sk_h\"] * 0.4768)).lineTo(p[\"sk_r\"] * 0.2559, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.074, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.074, p[\"sk_h\"] * 0.0).close().revolve())\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462cabdf_4139", "family": "revolved", "tier": 1, "seed": 1177332703, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "29ff901174722ae0", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 472000.0, "surface_area": 58400.0, "principal_moments": [421000000.0, 1050000000.0, 1050000000.0], "n_faces": 8, "n_edges": 14, "n_vertices": 8}, "dimensions": {"lines": ["Revolved body, \u00d875 mm \u00d7 146.3 mm tall with \u00d838.9 mm bore.", "Chamfer 0.9 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d875 mm \u00d7 146.3 mm tall with \u00d838.9 mm bore. Chamfer 0.9 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 75, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 146.3, "min": 43.9, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 38.9, "min": 2.0, "max": 52.5, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "end_chamfer": {"type": "float", "default": 0.9, "min": 0.1, "max": 2.7, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332703 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 75, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 146.3, \"min\": 43.9, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 38.9, \"min\": 2.0, \"max\": 52.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.9, \"min\": 0.1, \"max\": 2.7, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462cabe0_4140", "family": "plate", "tier": 2, "seed": 1177332704, "symmetry": "radial", "op_count": 3, "ir_hash": "eba8eddad74bd0ba", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 8070.0, "surface_area": 4920.0, "principal_moments": [703000.0, 2820000.0, 3500000.0], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Rectangular body, 65 \u00d7 31.9 \u00d7 4 mm (W\u00d7D\u00d7H).", "Four \u00d85.3 mm holes on a \u00d839 mm bolt circle.", "Chamfer 2.4 mm on vertical edges."], "text": "Rectangular body, 65 \u00d7 31.9 \u00d7 4 mm (W\u00d7D\u00d7H). Four \u00d85.3 mm holes on a \u00d839 mm bolt circle. Chamfer 2.4 mm on vertical edges."}, "params": {"plate_w": {"type": "float", "default": 65, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 31.9, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 4.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "bolt_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 19.5, "min": 13.0, "max": 29.2, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 4, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}, "chamfer_d": {"type": "float", "default": 2.4, "min": 1.3, "max": 3.8, "step": 0.5, "group": "Body", "label": "Chamfer distance (mm)"}, "chamfered": {"type": "bool", "default": true, "group": "Body", "label": "Chamfer edges"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332704 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 65, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 31.9, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 4.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 19.5, \"min\": 13.0, \"max\": 29.2, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 4, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n    \"chamfer_d\": {\"type\": 'float', \"default\": 2.4, \"min\": 1.3, \"max\": 3.8, \"step\": 0.5, \"group\": 'Body', \"label\": 'Chamfer distance (mm)'},\n    \"chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Chamfer edges'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    if p[\"chamfered\"]:\n        result = result.edges('|Z').chamfer(p[\"chamfer_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462cabe1_4141", "family": "flanged", "tier": 2, "seed": 1177332705, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "60c6164f0353a160", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 109000.0, "surface_area": 33700.0, "principal_moments": [82000000.0, 82000000.0, 142000000.0], "n_faces": 12, "n_edges": 27, "n_vertices": 18}, "dimensions": {"lines": ["Revolved body, \u00d854.66 mm \u00d7 32.8 mm tall with \u00d824.5 mm bore, \u00d8126.8 mm \u00d7 4.7 mm flange.", "Six \u00d84.3 mm holes on a \u00d876 mm bolt circle."], "text": "Revolved body, \u00d854.66 mm \u00d7 32.8 mm tall with \u00d824.5 mm bore, \u00d8126.8 mm \u00d7 4.7 mm flange. Six \u00d84.3 mm holes on a \u00d876 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 54.66, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 32.8, "min": 9.8, "max": 82.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 24.5, "min": 2.0, "max": 38.3, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 126.8, "min": 71.1, "max": 164.0, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 4.7, "min": 1.4, "max": 13.1, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 38.0, "min": 25.4, "max": 57.1, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 6, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332705 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 54.66, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 32.8, \"min\": 9.8, \"max\": 82.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 24.5, \"min\": 2.0, \"max\": 38.3, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 126.8, \"min\": 71.1, \"max\": 164.0, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 4.7, \"min\": 1.4, \"max\": 13.1, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 38.0, \"min\": 25.4, \"max\": 57.1, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462cabe2_4142", "family": "enclosure", "tier": 2, "seed": 1177332706, "symmetry": "mirror_x", "op_count": 4, "ir_hash": "1ad786001aa184d1", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 103000.0, "surface_area": 69900.0, "principal_moments": [171000000.0, 208000000.0, 218000000.0], "n_faces": 23, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 96.18 \u00d7 78.1 \u00d7 86.9 mm (W\u00d7D\u00d7H).", "Hollowed to 2.9 mm wall thickness, open at top face.", "Four \u00d84.3 mm holes at the corners, 67.326 \u00d7 54.67 mm spacing.", "Fillet radius 9.166 mm on vertical edges."], "text": "Rectangular body, 96.18 \u00d7 78.1 \u00d7 86.9 mm (W\u00d7D\u00d7H). Hollowed to 2.9 mm wall thickness, open at top face. Four \u00d84.3 mm holes at the corners, 67.326 \u00d7 54.67 mm spacing. Fillet radius 9.166 mm on vertical edges."}, "params": {"enc_w": {"type": "float", "default": 96.18, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 78.1, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 86.9, "min": 34.8, "max": 173.8, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 2.9, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332706 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 96.18, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 78.1, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 86.9, \"min\": 34.8, \"max\": 173.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 2.9, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"enc_w\"] * 0.7, p[\"enc_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"enc_w\"], p[\"enc_d\"]) * 0.11736760915972183)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462cabe3_4143", "family": "threaded", "tier": 0, "seed": 1177332707, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "faf5cd14566fe038", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 12400.0, "surface_area": 4770.0, "principal_moments": [533000.0, 2440000.0, 2440000.0], "n_faces": 326, "n_edges": 892, "n_vertices": 568}, "dimensions": {"lines": ["M20x2.5 external thread, 46.2 mm long."], "text": "M20x2.5 external thread, 46.2 mm long."}, "params": {"major_d": {"type": "float", "default": 20.0, "min": 4.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Major diameter (mm)"}, "pitch": {"type": "float", "default": 2.5, "min": 1.25, "max": 5.0, "step": 0.05, "group": "Thread", "label": "Pitch (mm)"}, "thread_len": {"type": "float", "default": 46.2, "min": 18.5, "max": 92.4, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332707 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 20.0, \"min\": 4.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Major diameter (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 2.5, \"min\": 1.25, \"max\": 5.0, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Pitch (mm)'},\n    \"thread_len\": {\"type\": 'float', \"default\": 46.2, \"min\": 18.5, \"max\": 92.4, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.IsoThread(major_diameter=p[\"major_d\"], pitch=p[\"pitch\"], length=p[\"thread_len\"], external=True, end_finishes=(\"fade\", \"fade\"))\n    _r = _thr.min_radius if hasattr(_thr, 'min_radius') else _thr.root_radius\n    _shank = _bd.Cylinder(radius=_r, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = _shank + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462cabe4_4144", "family": "ribbed", "tier": 3, "seed": 1177332708, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "9db1534042aed3b7", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 56200.0, "surface_area": 23400.0, "principal_moments": [23999999.999999996, 40800000.0, 60899999.99999999], "n_faces": 38, "n_edges": 92, "n_vertices": 56}, "dimensions": {"lines": ["Rectangular body, 90 \u00d7 66.7 \u00d7 6 mm (W\u00d7D\u00d7H).", "Four ribs, 4.6 mm thick, 15.2 mm tall."], "text": "Rectangular body, 90 \u00d7 66.7 \u00d7 6 mm (W\u00d7D\u00d7H). Four ribs, 4.6 mm thick, 15.2 mm tall."}, "params": {"base_w": {"type": "float", "default": 90, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 66.7, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 6.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 4, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 15.2, "min": 6.1, "max": 30.4, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 4.6, "min": 1.0, "max": 11.5, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332708 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 90, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 66.7, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 4, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 15.2, \"min\": 6.1, \"max\": 30.4, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 4.6, \"min\": 1.0, \"max\": 11.5, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462cabe5_4145", "family": "threaded", "tier": 1, "seed": 1177332709, "symmetry": "none", "op_count": 1, "ir_hash": "14cda86586a2c426", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 4920.0, "surface_area": 3560.0, "principal_moments": [160000.0, 754000.0, 754000.0], "n_faces": 263, "n_edges": 717, "n_vertices": 456}, "dimensions": {"lines": ["M8x1.25 internal thread, 40.6 mm long."], "text": "M8x1.25 internal thread, 40.6 mm long."}, "params": {"major_d": {"type": "float", "default": 8.0, "min": 4.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Major diameter (mm)"}, "pitch": {"type": "float", "default": 1.25, "min": 0.62, "max": 2.5, "step": 0.05, "group": "Thread", "label": "Pitch (mm)"}, "thread_len": {"type": "float", "default": 40.6, "min": 16.2, "max": 81.2, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332709 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 8.0, \"min\": 4.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Major diameter (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.25, \"min\": 0.62, \"max\": 2.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Pitch (mm)'},\n    \"thread_len\": {\"type\": 'float', \"default\": 40.6, \"min\": 16.2, \"max\": 81.2, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.IsoThread(major_diameter=p[\"major_d\"], pitch=p[\"pitch\"], length=p[\"thread_len\"], external=False, end_finishes=(\"fade\", \"fade\"))\n    _body = _bd.Cylinder(radius=(p[\"major_d\"]) * 0.9, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _bore = _bd.Cylinder(radius=(p[\"major_d\"]) / 2, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = (_body - _bore) + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462cabe6_4146", "family": "enclosure", "tier": 1, "seed": 1177332710, "symmetry": "none", "op_count": 2, "ir_hash": "3109fdd3cd873635", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 91700.0, "surface_area": 46900.0, "principal_moments": [78300000.0, 117000000.0, 150000000.0], "n_faces": 11, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 95 \u00d7 40.3 \u00d7 79 mm (W\u00d7D\u00d7H).", "Hollowed to 4 mm wall thickness, open at top face."], "text": "Rectangular body, 95 \u00d7 40.3 \u00d7 79 mm (W\u00d7D\u00d7H). Hollowed to 4 mm wall thickness, open at top face."}, "params": {"enc_w": {"type": "float", "default": 95, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 40.3, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 79.0, "min": 31.6, "max": 158.0, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 4.0, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332710 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 95, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 40.3, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 79.0, \"min\": 31.6, \"max\": 158.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462cabe7_4147", "family": "plate", "tier": 1, "seed": 1177332711, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "117d3ecf25fe0bd9", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 3190.0, "surface_area": 1750.0, "principal_moments": [59100.0, 260000.0, 266000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 30 \u00d7 11.2 \u00d7 10 mm (W\u00d7D\u00d7H).", "Four \u00d82.3 mm holes at the corners, 21 \u00d7 7.84 mm spacing."], "text": "Rectangular body, 30 \u00d7 11.2 \u00d7 10 mm (W\u00d7D\u00d7H). Four \u00d82.3 mm holes at the corners, 21 \u00d7 7.84 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 30, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 11.2, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 2.3, "min": 2.0, "max": 2.5, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332711 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 30, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 11.2, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 2.3, \"min\": 2.0, \"max\": 2.5, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462cabe8_4148", "family": "threaded", "tier": 3, "seed": 1177332712, "symmetry": "none", "op_count": 1, "ir_hash": "b6107cb8dc2df088", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 574.0, "surface_area": 852.0, "principal_moments": [4710.0, 20000.0, 20000.0], "n_faces": 533, "n_edges": 1589, "n_vertices": 1058}, "dimensions": {"lines": ["M4x0.5 internal thread, 19.2 mm long."], "text": "M4x0.5 internal thread, 19.2 mm long."}, "params": {"major_d": {"type": "float", "default": 4.0, "min": 4.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Major diameter (mm)"}, "pitch": {"type": "float", "default": 0.5, "min": 0.25, "max": 1.0, "step": 0.05, "group": "Thread", "label": "Pitch (mm)"}, "thread_len": {"type": "float", "default": 19.2, "min": 7.7, "max": 38.4, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332712 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 4.0, \"min\": 4.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Major diameter (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 0.5, \"min\": 0.25, \"max\": 1.0, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Pitch (mm)'},\n    \"thread_len\": {\"type\": 'float', \"default\": 19.2, \"min\": 7.7, \"max\": 38.4, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.IsoThread(major_diameter=p[\"major_d\"], pitch=p[\"pitch\"], length=p[\"thread_len\"], external=False, end_finishes=(\"fade\", \"fade\"))\n    _body = _bd.Cylinder(radius=(p[\"major_d\"]) * 0.9, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _bore = _bd.Cylinder(radius=(p[\"major_d\"]) / 2, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = (_body - _bore) + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462cabe9_4149", "family": "compound", "tier": 1, "seed": 1177332713, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "a06a12e935ed065d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 11700.0, "surface_area": 3220.0, "principal_moments": [547000.0, 1920000.0, 1920000.0], "n_faces": 5, "n_edges": 6, "n_vertices": 4}, "dimensions": {"lines": ["\u00d820.24 mm circular section, extruded 32.1 mm thick.", "\u00d810.2 mm circular section attachment, 16.8 mm long, from top face."], "text": "\u00d820.24 mm circular section, extruded 32.1 mm thick. \u00d810.2 mm circular section attachment, 16.8 mm long, from top face."}, "params": {"shaft_d": {"type": "float", "default": 20.24, "min": 10.1, "max": 36.4, "step": 1.0, "group": "Body", "label": "Shaft diameter (mm)"}, "shaft_len": {"type": "float", "default": 32.1, "min": 12.8, "max": 64.2, "step": 1.0, "group": "Body", "label": "Shaft length (mm)"}, "step_d": {"type": "float", "default": 10.2, "min": 5.1, "max": 18.2, "step": 1.0, "group": "Step", "label": "Step diameter (mm)"}, "step_len": {"type": "float", "default": 16.8, "min": 5.0, "max": 42.0, "step": 1.0, "group": "Step", "label": "Step length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332713 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"shaft_d\": {\"type\": 'float', \"default\": 20.24, \"min\": 10.1, \"max\": 36.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft diameter (mm)'},\n    \"shaft_len\": {\"type\": 'float', \"default\": 32.1, \"min\": 12.8, \"max\": 64.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft length (mm)'},\n    \"step_d\": {\"type\": 'float', \"default\": 10.2, \"min\": 5.1, \"max\": 18.2, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step diameter (mm)'},\n    \"step_len\": {\"type\": 'float', \"default\": 16.8, \"min\": 5.0, \"max\": 42.0, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').circle(p[\"shaft_d\"] / 2).extrude(p[\"shaft_len\"]))\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"step_d\"] / 2).extrude(p[\"step_len\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462cabea_4150", "family": "threaded", "tier": 2, "seed": 1177332714, "symmetry": "none", "op_count": 1, "ir_hash": "b6d08c7985e28724", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 9590.0, "surface_area": 4050.0, "principal_moments": [401000.0, 1320000.0, 1320000.0], "n_faces": 100, "n_edges": 254, "n_vertices": 156}, "dimensions": {"lines": ["Tr 20x4 external thread, 38 mm long."], "text": "Tr 20x4 external thread, 38 mm long."}, "params": {"thread_size": {"type": "enum", "default": "20x4", "choices": ["8x1.5", "10x2", "12x3", "14x3", "16x4", "18x4", "20x4", "24x5", "28x5", "30x6", "36x6", "40x7"], "group": "Thread", "label": "Size designation"}, "thread_len": {"type": "float", "default": 38.0, "min": 15.2, "max": 76.0, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332714 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"thread_size\": {\"type\": 'enum', \"default\": '20x4', \"choices\": ['8x1.5', '10x2', '12x3', '14x3', '16x4', '18x4', '20x4', '24x5', '28x5', '30x6', '36x6', '40x7'], \"group\": 'Thread', \"label\": 'Size designation'},\n    \"thread_len\": {\"type\": 'float', \"default\": 38.0, \"min\": 15.2, \"max\": 76.0, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.MetricTrapezoidalThread(size=p[\"thread_size\"], length=p[\"thread_len\"], external=True, end_finishes=(\"fade\", \"fade\"))\n    _r = _thr.min_radius if hasattr(_thr, 'min_radius') else _thr.root_radius\n    _shank = _bd.Cylinder(radius=_r, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = _shank + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462cabeb_4151", "family": "block", "tier": 2, "seed": 1177332715, "symmetry": "mirror_xy", "op_count": 3, "ir_hash": "0588c4d6d6efbd70", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 404000.0, "surface_area": 48500.0, "principal_moments": [313000000.0, 423000000.0, 564000000.0], "n_faces": 25, "n_edges": 66, "n_vertices": 44}, "dimensions": {"lines": ["Rectangular body, 83.24 \u00d7 51.4 \u00d7 100 mm (W\u00d7D\u00d7H).", "Four 7.7 mm square holes at the corners, 58.268 \u00d7 35.98 mm spacing.", "Boss \u00d88.4 mm \u00d7 4.8 mm tall on top face with a \u00d83.2 mm bore."], "text": "Rectangular body, 83.24 \u00d7 51.4 \u00d7 100 mm (W\u00d7D\u00d7H). Four 7.7 mm square holes at the corners, 58.268 \u00d7 35.98 mm spacing. Boss \u00d88.4 mm \u00d7 4.8 mm tall on top face with a \u00d83.2 mm bore."}, "params": {"block_w": {"type": "float", "default": 83.24, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 51.4, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 100.0, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 7.7, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Holes", "label": "Square hole size (mm)"}, "boss_d": {"type": "float", "default": 8.4, "min": 4.2, "max": 16.8, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 4.8, "min": 1.9, "max": 12.0, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}, "boss_bore_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 5.9, "step": 0.1, "group": "Boss", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332715 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 83.24, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 51.4, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 100.0, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 7.7, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Square hole size (mm)'},\n    \"boss_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 4.2, \"max\": 16.8, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 4.8, \"min\": 1.9, \"max\": 12.0, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n    \"boss_bore_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 5.9, \"step\": 0.1, \"group\": 'Boss', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().rect(p[\"hole_d\"], p[\"hole_d\"]).cutThruAll()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .hole(p[\"boss_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462cabec_4152", "family": "threaded", "tier": 3, "seed": 1177332716, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "154a4ed27840d2b6", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 19700.0, "surface_area": 6570.0, "principal_moments": [1330000.0, 4360000.0, 4360000.0], "n_faces": 100, "n_edges": 254, "n_vertices": 156}, "dimensions": {"lines": ["ACME 1 external thread, 48.3 mm long."], "text": "ACME 1 external thread, 48.3 mm long."}, "params": {"thread_size": {"type": "enum", "default": "1", "choices": ["1/4", "5/16", "3/8", "1/2", "5/8", "3/4", "7/8", "1", "1 1/4", "1 1/2"], "group": "Thread", "label": "Size designation"}, "thread_len": {"type": "float", "default": 48.3, "min": 19.3, "max": 96.6, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332716 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"thread_size\": {\"type\": 'enum', \"default\": '1', \"choices\": ['1/4', '5/16', '3/8', '1/2', '5/8', '3/4', '7/8', '1', '1 1/4', '1 1/2'], \"group\": 'Thread', \"label\": 'Size designation'},\n    \"thread_len\": {\"type\": 'float', \"default\": 48.3, \"min\": 19.3, \"max\": 96.6, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.AcmeThread(size=p[\"thread_size\"], length=p[\"thread_len\"], external=True, end_finishes=(\"fade\", \"fade\"))\n    _r = _thr.min_radius if hasattr(_thr, 'min_radius') else _thr.root_radius\n    _shank = _bd.Cylinder(radius=_r, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = _shank + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462cabed_4153", "family": "profiled", "tier": 0, "seed": 1177332717, "symmetry": "none", "op_count": 1, "ir_hash": "e3eab8bd4bf64941", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 106000.0, "surface_area": 17900.0, "principal_moments": [9570000.0, 359000000.0, 362000000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["30.57 \u00d7 20 mm slot section, extruded 201 mm thick."], "text": "30.57 \u00d7 20 mm slot section, extruded 201 mm thick."}, "params": {"slot_len": {"type": "float", "default": 30.57, "min": 15.3, "max": 61.1, "step": 1.0, "group": "Profile", "label": "Slot length (mm)"}, "slot_w": {"type": "float", "default": 20, "min": 10.0, "max": 40.0, "step": 0.5, "group": "Profile", "label": "Slot width (mm)"}, "length": {"type": "float", "default": 201.0, "min": 60.3, "max": 603.0, "step": 5.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332717 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"slot_len\": {\"type\": 'float', \"default\": 30.57, \"min\": 15.3, \"max\": 61.1, \"step\": 1.0, \"group\": 'Profile', \"label\": 'Slot length (mm)'},\n    \"slot_w\": {\"type\": 'float', \"default\": 20, \"min\": 10.0, \"max\": 40.0, \"step\": 0.5, \"group\": 'Profile', \"label\": 'Slot width (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 201.0, \"min\": 60.3, \"max\": 603.0, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').slot2D(p[\"slot_len\"], p[\"slot_w\"]).extrude(p[\"length\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462cabee_4154", "family": "bracket", "tier": 2, "seed": 1177332718, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "c0dc2688a20a5331", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 29400.0, "surface_area": 12000.0, "principal_moments": [8880000.0, 14699999.999999998, 14799999.999999998], "n_faces": 19, "n_edges": 51, "n_vertices": 34}, "dimensions": {"lines": ["C-channel bracket: base leg 48.81 mm, vertical leg 39.9 mm, 42.15 mm wide, 6 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg; 6.1 mm corner gusset."], "text": "C-channel bracket: base leg 48.81 mm, vertical leg 39.9 mm, 42.15 mm wide, 6 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg; 6.1 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 48.81, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 39.9, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 42.15, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 6.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 6.1, "min": 3.0, "max": 18.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332718 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 48.81, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 39.9, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 42.15, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 6.1, \"min\": 3.0, \"max\": 18.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl / 2, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bl - _bt, _bt).lineTo(_bl - _bt - _g, _bt)\n                    .lineTo(_bl - _bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462cabef_4155", "family": "block", "tier": 1, "seed": 1177332719, "symmetry": "none", "op_count": 2, "ir_hash": "6612455e2f719de6", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 50100.0, "surface_area": 10200.0, "principal_moments": [9980000.0, 11799999.999999998, 14999999.999999998], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 40 \u00d7 28.7 \u00d7 44.9 mm (W\u00d7D\u00d7H).", "Four \u00d83.2 mm holes at the corners, 28 \u00d7 20.09 mm spacing."], "text": "Rectangular body, 40 \u00d7 28.7 \u00d7 44.9 mm (W\u00d7D\u00d7H). Four \u00d83.2 mm holes at the corners, 28 \u00d7 20.09 mm spacing."}, "params": {"block_w": {"type": "float", "default": 40, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 28.7, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 44.9, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 6.5, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332719 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 40, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 28.7, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 44.9, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 6.5, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462cabf0_4156", "family": "sketched", "tier": 2, "seed": 1177332720, "symmetry": "none", "op_count": 3, "ir_hash": "0a6845e2946da074", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 55800.0, "surface_area": 9680.0, "principal_moments": [11200000.0, 15599999.999999998, 20100000.0], "n_faces": 10, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["freeform sketched section (4 segments: 1 straight, 1 arc, 2 curves), ~53.722 \u00d7 66.249 mm, extruded 25 mm thick.", "One \u00d85.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch.", "Boss \u00d821.6 mm \u00d7 6.1 mm tall on top face."], "text": "freeform sketched section (4 segments: 1 straight, 1 arc, 2 curves), ~53.722 \u00d7 66.249 mm, extruded 25 mm thick. One \u00d85.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch. Boss \u00d821.6 mm \u00d7 6.1 mm tall on top face."}, "params": {"sk_w": {"type": "float", "default": 78.3, "min": 39.1, "max": 140.9, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 90.0, "min": 45.0, "max": 162.0, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "sk_t": {"type": "float", "default": 25, "min": 10.0, "max": 55.0, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "sk_hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 10.6, "step": 0.5, "group": "Holes", "label": "Hole diameter (mm)"}, "boss_d": {"type": "float", "default": 21.6, "min": 10.8, "max": 43.2, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 6.1, "min": 2.4, "max": 15.2, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332720 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 78.3, \"min\": 39.1, \"max\": 140.9, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 90.0, \"min\": 45.0, \"max\": 162.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"sk_t\": {\"type\": 'float', \"default\": 25, \"min\": 10.0, \"max\": 55.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"sk_hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 10.6, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"boss_d\": {\"type\": 'float', \"default\": 21.6, \"min\": 10.8, \"max\": 43.2, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 6.1, \"min\": 2.4, \"max\": 15.2, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.3384, p[\"sk_h\"] * -0.183).bezier([(p[\"sk_w\"] * 0.3384, p[\"sk_h\"] * -0.183), (p[\"sk_w\"] * 0.2825, p[\"sk_h\"] * 0.1067), (p[\"sk_w\"] * 0.147, p[\"sk_h\"] * 0.3687)]).lineTo(p[\"sk_w\"] * -0.3477, p[\"sk_h\"] * 0.0338).bezier([(p[\"sk_w\"] * -0.3477, p[\"sk_h\"] * 0.0338), (p[\"sk_w\"] * -0.2334, p[\"sk_h\"] * -0.208), (p[\"sk_w\"] * -0.0186, p[\"sk_h\"] * -0.3674)]).threePointArc((p[\"sk_w\"] * 0.19, p[\"sk_h\"] * -0.3303), (p[\"sk_w\"] * 0.3384, p[\"sk_h\"] * -0.183)).close().extrude(p[\"sk_t\"]))\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"sk_hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462cabf1_4157", "family": "tapped", "tier": 0, "seed": 1177332721, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "94c3ad4f35412179", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 41700.0, "surface_area": 9020.0, "principal_moments": [9480000.0, 9480000.0, 16399999.999999998], "n_faces": 131, "n_edges": 365, "n_vertices": 236}, "dimensions": {"lines": ["One M12x1.75 tapped hole in a plate."], "text": "One M12x1.75 tapped hole in a plate."}, "params": {"major_d": {"type": "float", "default": 12.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 1.75, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 19.2, "min": 14.4, "max": 34.6, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "plate_w": {"type": "float", "default": 47.6, "min": 28.6, "max": 76.2, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 47.6, "min": 28.6, "max": 76.2, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332721 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 12.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.75, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 19.2, \"min\": 14.4, \"max\": 34.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"plate_w\": {\"type\": 'float', \"default\": 47.6, \"min\": 28.6, \"max\": 76.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 47.6, \"min\": 28.6, \"max\": 76.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n}\n\n\ndef build(p):\n\n    _W, _D, _H = p[\"plate_w\"], p[\"plate_d\"], p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Box(_W, _D, _H)\n    _locs = [(0.0, 0.0)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462cabf2_4158", "family": "bracket", "tier": 2, "seed": 1177332722, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "9e7f67b673551f66", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 8720.0, "surface_area": 3460.0, "principal_moments": [708000.0, 1010000.0, 1230000.0], "n_faces": 9, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["L-bracket: base leg 27.89 mm, vertical leg 25 mm, 25 mm wide, 8 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg; 8.3 mm corner gusset."], "text": "L-bracket: base leg 27.89 mm, vertical leg 25 mm, 25 mm wide, 8 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg; 8.3 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 27.89, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 25.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 25, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 8.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 8.3, "min": 4.0, "max": 12.5, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332722 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 27.89, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 25.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 25, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 8.3, \"min\": 4.0, \"max\": 12.5, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462cabf3_4159", "family": "swept", "tier": 1, "seed": 1177332723, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "545cbd3bc8929cde", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 15900.0, "surface_area": 4660.0, "principal_moments": [475000.0, 11300000.0, 11399999.999999998], "n_faces": 3, "n_edges": 3, "n_vertices": 2}, "dimensions": {"lines": ["\u00d814.8 mm circular section swept along a curved path, ~88.9 mm span."], "text": "\u00d814.8 mm circular section swept along a curved path, ~88.9 mm span."}, "params": {"path_w": {"type": "float", "default": 40.28, "min": 20.1, "max": 72.5, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 88.9, "min": 44.5, "max": 160.0, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_d": {"type": "float", "default": 14.8, "min": 7.4, "max": 26.6, "step": 1.0, "group": "Section", "label": "Section diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332723 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 40.28, \"min\": 20.1, \"max\": 72.5, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 88.9, \"min\": 44.5, \"max\": 160.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_d\": {\"type\": 'float', \"default\": 14.8, \"min\": 7.4, \"max\": 26.6, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.2356), (p[\"path_w\"] * 0.0942, p[\"path_h\"] * 0.5687), (p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.8699), (p[\"path_w\"] * 0.2242, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').circle(p[\"sweep_d\"] / 2).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462cabf4_4160", "family": "plate", "tier": 1, "seed": 1177332724, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "24a0f983968c4d24", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 52500.0, "surface_area": 15100.0, "principal_moments": [10800000.0, 54399999.99999999, 64299999.99999999], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 112.82 \u00d7 49.6 \u00d7 10 mm (W\u00d7D\u00d7H).", "Four \u00d810.5 mm holes at the corners, 78.974 \u00d7 34.72 mm spacing."], "text": "Rectangular body, 112.82 \u00d7 49.6 \u00d7 10 mm (W\u00d7D\u00d7H). Four \u00d810.5 mm holes at the corners, 78.974 \u00d7 34.72 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 112.82, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 49.6, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 10.5, "min": 2.0, "max": 11.2, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332724 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 112.82, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 49.6, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 10.5, \"min\": 2.0, \"max\": 11.2, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462cabf5_4161", "family": "block", "tier": 1, "seed": 1177332725, "symmetry": "radial", "op_count": 2, "ir_hash": "30c42e51e413e718", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 129000.0, "surface_area": 22200.0, "principal_moments": [49399999.99999999, 63399999.99999999, 87500000.0], "n_faces": 16, "n_edges": 42, "n_vertices": 28}, "dimensions": {"lines": ["Rectangular body, 57.56 \u00d7 34.9 \u00d7 68.7 mm (W\u00d7D\u00d7H).", "Six \u00d85.3 mm holes on a \u00d834.6 mm bolt circle."], "text": "Rectangular body, 57.56 \u00d7 34.9 \u00d7 68.7 mm (W\u00d7D\u00d7H). Six \u00d85.3 mm holes on a \u00d834.6 mm bolt circle."}, "params": {"block_w": {"type": "float", "default": 57.56, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 34.9, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 68.7, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "bolt_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 17.3, "min": 11.5, "max": 25.9, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 6, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332725 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 57.56, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 34.9, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 68.7, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 17.3, \"min\": 11.5, \"max\": 25.9, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462cabf6_4162", "family": "revolved", "tier": 1, "seed": 1177332726, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "7da1593234ba3377", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 195000.0, "surface_area": 29000.0, "principal_moments": [133000000.0, 133000000.0, 163000000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d874.64 mm \u00d7 66.7 mm tall."], "text": "Revolved body, \u00d874.64 mm \u00d7 66.7 mm tall."}, "params": {"outer_d": {"type": "float", "default": 74.64, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 66.7, "min": 20.0, "max": 200.1, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332726 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 74.64, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 66.7, \"min\": 20.0, \"max\": 200.1, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462cabf7_4163", "family": "profiled", "tier": 0, "seed": 1177332727, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "2f0dfad5eb2e09ca", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 497000.0, "surface_area": 56800.0, "principal_moments": [151000000.0, 5500000000.0, 5610000000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["60 \u00d7 25 mm slot section, extruded 363.8 mm thick."], "text": "60 \u00d7 25 mm slot section, extruded 363.8 mm thick."}, "params": {"slot_len": {"type": "float", "default": 60, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Profile", "label": "Slot length (mm)"}, "slot_w": {"type": "float", "default": 25.0, "min": 12.5, "max": 50.0, "step": 0.5, "group": "Profile", "label": "Slot width (mm)"}, "length": {"type": "float", "default": 363.8, "min": 109.1, "max": 1091.4, "step": 5.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332727 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"slot_len\": {\"type\": 'float', \"default\": 60, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Profile', \"label\": 'Slot length (mm)'},\n    \"slot_w\": {\"type\": 'float', \"default\": 25.0, \"min\": 12.5, \"max\": 50.0, \"step\": 0.5, \"group\": 'Profile', \"label\": 'Slot width (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 363.8, \"min\": 109.1, \"max\": 1091.4, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').slot2D(p[\"slot_len\"], p[\"slot_w\"]).extrude(p[\"length\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462cabf8_4164", "family": "tapped", "tier": 0, "seed": 1177332728, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "6d0b1ef82a21c794", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 116000.0, "surface_area": 17900.0, "principal_moments": [53499999.99999999, 53499999.99999999, 94399999.99999999], "n_faces": 199, "n_edges": 565, "n_vertices": 368}, "dimensions": {"lines": ["One M16x2 tapped hole in a plate."], "text": "One M16x2 tapped hole in a plate."}, "params": {"major_d": {"type": "float", "default": 16.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 2.0, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 25.6, "min": 19.2, "max": 46.1, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "plate_w": {"type": "float", "default": 68.6, "min": 41.2, "max": 109.8, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 68.6, "min": 41.2, "max": 109.8, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332728 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 16.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 2.0, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 25.6, \"min\": 19.2, \"max\": 46.1, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"plate_w\": {\"type\": 'float', \"default\": 68.6, \"min\": 41.2, \"max\": 109.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 68.6, \"min\": 41.2, \"max\": 109.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n}\n\n\ndef build(p):\n\n    _W, _D, _H = p[\"plate_w\"], p[\"plate_d\"], p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Box(_W, _D, _H)\n    _locs = [(0.0, 0.0)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462cabf9_4165", "family": "gear", "tier": 2, "seed": 1177332729, "symmetry": "none", "op_count": 1, "ir_hash": "9f2feac1b2dc3f31", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 18900.0, "surface_area": 7340.0, "principal_moments": [3460000.0, 3460000.0, 6650000.0], "n_faces": 283, "n_edges": 843, "n_vertices": 562}, "dimensions": {"lines": ["Spur gear, module 1.5 mm, 35 teeth (pitch \u00d852.5 mm), face width 9.2 mm, \u00d89.5 mm bore."], "text": "Spur gear, module 1.5 mm, 35 teeth (pitch \u00d852.5 mm), face width 9.2 mm, \u00d89.5 mm bore."}, "params": {"module": {"type": "float", "default": 1.5, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 35, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 9.2, "min": 3.7, "max": 23.0, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "profile_shift": {"type": "float", "default": -0.11, "min": -0.5, "max": 0.7, "step": 0.05, "group": "Gear", "label": "Profile shift"}, "root_fillet": {"type": "float", "default": 0.37, "min": 0.0, "max": 0.75, "step": 0.05, "group": "Gear", "label": "Root fillet (mm)"}, "bore_d": {"type": "float", "default": 9.5, "min": 2.0, "max": 29.2, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332729 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 1.5, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 35, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 9.2, \"min\": 3.7, \"max\": 23.0, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"profile_shift\": {\"type\": 'float', \"default\": -0.11, \"min\": -0.5, \"max\": 0.7, \"step\": 0.05, \"group\": 'Gear', \"label\": 'Profile shift'},\n    \"root_fillet\": {\"type\": 'float', \"default\": 0.37, \"min\": 0.0, \"max\": 0.75, \"step\": 0.05, \"group\": 'Gear', \"label\": 'Root fillet (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 9.5, \"min\": 2.0, \"max\": 29.2, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"], profile_shift=p[\"profile_shift\"], root_fillet=p[\"root_fillet\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462cabfa_4166", "family": "lofted", "tier": 2, "seed": 1177332730, "symmetry": "none", "op_count": 2, "ir_hash": "286f3926d1d37334", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 13200.0, "surface_area": 4390.0, "principal_moments": [1490000.0, 1500000.0, 1500000.0], "n_faces": 9, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["Lofted body through 3 sections: \u00d835 mm circular section \u2192 6-sided polygon section, 28.2 mm across corners \u2192 6-sided polygon section, 21.4 mm across corners.", "One \u00d89.7 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 3 sections: \u00d835 mm circular section \u2192 6-sided polygon section, 28.2 mm across corners \u2192 6-sided polygon section, 21.4 mm across corners. One \u00d89.7 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 35, "min": 17.5, "max": 56.0, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 21.4, "min": 8.6, "max": 42.0, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 27.5, "min": 11.0, "max": 55.0, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_mid": {"type": "float", "default": 28.2, "min": 10.7, "max": 42.0, "step": 1.0, "group": "Body", "label": "Mid size (mm)"}, "loft_bore_d": {"type": "float", "default": 9.7, "min": 2.0, "max": 17.1, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332730 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 35, \"min\": 17.5, \"max\": 56.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 21.4, \"min\": 8.6, \"max\": 42.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 27.5, \"min\": 11.0, \"max\": 55.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_mid\": {\"type\": 'float', \"default\": 28.2, \"min\": 10.7, \"max\": 42.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Mid size (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 9.7, \"min\": 2.0, \"max\": 17.1, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .circle(p[\"loft_base\"] / 2)\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .polygon(6, p[\"loft_mid\"] * 0.5 * 2)\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .polygon(6, p[\"loft_top\"] * 0.5 * 2)\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462cabfb_4167", "family": "sketched", "tier": 2, "seed": 1177332731, "symmetry": "none", "op_count": 3, "ir_hash": "bc9b98ae3e2fe443", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 28400.0, "surface_area": 6450.0, "principal_moments": [3420000.0, 5660000.0, 6710000.0], "n_faces": 11, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["freeform sketched section (5 segments: 3 straight, 1 arc, 1 curve), ~48.763 \u00d7 35.212 mm, extruded 19.08 mm thick.", "One \u00d86.4 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch.", "Boss \u00d816.6 mm \u00d7 9.3 mm tall on top face."], "text": "freeform sketched section (5 segments: 3 straight, 1 arc, 1 curve), ~48.763 \u00d7 35.212 mm, extruded 19.08 mm thick. One \u00d86.4 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch. Boss \u00d816.6 mm \u00d7 9.3 mm tall on top face."}, "params": {"sk_w": {"type": "float", "default": 76.24, "min": 38.1, "max": 137.2, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 45, "min": 22.5, "max": 81.0, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "sk_t": {"type": "float", "default": 19.08, "min": 7.6, "max": 42.0, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "sk_hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 12.8, "step": 0.5, "group": "Holes", "label": "Hole diameter (mm)"}, "boss_d": {"type": "float", "default": 16.6, "min": 8.3, "max": 33.2, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 9.3, "min": 3.7, "max": 23.2, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332731 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 76.24, \"min\": 38.1, \"max\": 137.2, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 45, \"min\": 22.5, \"max\": 81.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"sk_t\": {\"type\": 'float', \"default\": 19.08, \"min\": 7.6, \"max\": 42.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"sk_hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 12.8, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"boss_d\": {\"type\": 'float', \"default\": 16.6, \"min\": 8.3, \"max\": 33.2, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 9.3, \"min\": 3.7, \"max\": 23.2, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.4203, p[\"sk_h\"] * 0.1135).lineTo(p[\"sk_w\"] * 0.1642, p[\"sk_h\"] * 0.419).bezier([(p[\"sk_w\"] * 0.1642, p[\"sk_h\"] * 0.419), (p[\"sk_w\"] * -0.0325, p[\"sk_h\"] * 0.3905), (p[\"sk_w\"] * -0.199, p[\"sk_h\"] * 0.2818)]).lineTo(p[\"sk_w\"] * -0.2193, p[\"sk_h\"] * -0.3635).lineTo(p[\"sk_w\"] * 0.2035, p[\"sk_h\"] * -0.356).threePointArc((p[\"sk_w\"] * 0.3915, p[\"sk_h\"] * -0.1681), (p[\"sk_w\"] * 0.4203, p[\"sk_h\"] * 0.1135)).close().extrude(p[\"sk_t\"]))\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"sk_hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462cabfc_4168", "family": "flanged", "tier": 2, "seed": 1177332732, "symmetry": "none", "op_count": 3, "ir_hash": "a0930fbb8e89dcad", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 907000.0, "surface_area": 98900.0, "principal_moments": [2170000000.0, 2170000000.0, 2230000000.0], "n_faces": 18, "n_edges": 37, "n_vertices": 22}, "dimensions": {"lines": ["Revolved body, \u00d895 mm \u00d7 108.7 mm tall with \u00d838.5 mm bore, \u00d8181.2 mm \u00d7 14.2 mm flange.", "Four \u00d86.4 mm holes on a \u00d8108.8 mm bolt circle.", "Chamfer 0.9 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d895 mm \u00d7 108.7 mm tall with \u00d838.5 mm bore, \u00d8181.2 mm \u00d7 14.2 mm flange. Four \u00d86.4 mm holes on a \u00d8108.8 mm bolt circle. Chamfer 0.9 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 95, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 108.7, "min": 32.6, "max": 271.8, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 38.5, "min": 2.0, "max": 66.5, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 181.2, "min": 123.5, "max": 285.0, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 14.2, "min": 4.3, "max": 43.5, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 54.4, "min": 36.2, "max": 81.5, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 4, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}, "end_chamfer": {"type": "float", "default": 0.9, "min": 0.1, "max": 2.0, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332732 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 95, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 108.7, \"min\": 32.6, \"max\": 271.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 38.5, \"min\": 2.0, \"max\": 66.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 181.2, \"min\": 123.5, \"max\": 285.0, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 14.2, \"min\": 4.3, \"max\": 43.5, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 54.4, \"min\": 36.2, \"max\": 81.5, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 4, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.9, \"min\": 0.1, \"max\": 2.0, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462cabfd_4169", "family": "lofted", "tier": 2, "seed": 1177332733, "symmetry": "none", "op_count": 2, "ir_hash": "47adf38f950e78ac", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 21100.0, "surface_area": 5940.0, "principal_moments": [2920000.0, 3480000.0, 3480000.0], "n_faces": 8, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["Lofted body through 3 sections: 36.69 \u00d7 36.69 mm rectangular section \u2192 \u00d825 mm circular section \u2192 \u00d813.4 mm circular section.", "One \u00d87.8 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 3 sections: 36.69 \u00d7 36.69 mm rectangular section \u2192 \u00d825 mm circular section \u2192 \u00d813.4 mm circular section. One \u00d87.8 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 36.69, "min": 18.3, "max": 58.7, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 13.4, "min": 5.4, "max": 44.0, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 40.0, "min": 16.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_mid": {"type": "float", "default": 25.0, "min": 6.7, "max": 44.0, "step": 1.0, "group": "Body", "label": "Mid size (mm)"}, "loft_bore_d": {"type": "float", "default": 7.8, "min": 2.0, "max": 10.7, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332733 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 36.69, \"min\": 18.3, \"max\": 58.7, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 13.4, \"min\": 5.4, \"max\": 44.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 40.0, \"min\": 16.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_mid\": {\"type\": 'float', \"default\": 25.0, \"min\": 6.7, \"max\": 44.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Mid size (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 7.8, \"min\": 2.0, \"max\": 10.7, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .rect(p[\"loft_base\"], p[\"loft_base\"])\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .circle(p[\"loft_mid\"] / 2)\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .circle(p[\"loft_top\"] / 2)\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462cabfe_4170", "family": "tapped", "tier": 2, "seed": 1177332734, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "e21f9c7451e05488", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 91300.0, "surface_area": 21200.0, "principal_moments": [36400000.0, 37000000.0, 63399999.99999999], "n_faces": 778, "n_edges": 2224, "n_vertices": 1448}, "dimensions": {"lines": ["Four M16x2 tapped holes in a plate."], "text": "Four M16x2 tapped holes in a plate."}, "params": {"major_d": {"type": "float", "default": 16.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 2.0, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 25.6, "min": 19.2, "max": 46.1, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "plate_w": {"type": "float", "default": 65.6, "min": 39.4, "max": 105.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 65.0, "min": 39.0, "max": 104.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332734 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 16.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 2.0, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 25.6, \"min\": 19.2, \"max\": 46.1, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"plate_w\": {\"type\": 'float', \"default\": 65.6, \"min\": 39.4, \"max\": 105.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 65.0, \"min\": 39.0, \"max\": 104.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n}\n\n\ndef build(p):\n\n    _W, _D, _H = p[\"plate_w\"], p[\"plate_d\"], p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Box(_W, _D, _H)\n    _sx, _sy = p[\"plate_w\"] * 0.6, p[\"plate_d\"] * 0.6\n    _locs = [(_xx, _yy) for _xx in (-_sx / 2, _sx / 2) for _yy in (-_sy / 2, _sy / 2)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462cabff_4171", "family": "revolved", "tier": 2, "seed": 1177332735, "symmetry": "radial", "op_count": 2, "ir_hash": "5aba94b6aa74340a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 101000.0, "surface_area": 17900.0, "principal_moments": [49499999.99999999, 49499999.99999999, 84900000.0], "n_faces": 5, "n_edges": 8, "n_vertices": 5}, "dimensions": {"lines": ["Revolved body, \u00d875 mm \u00d7 34.4 mm tall.", "Chamfer 1.4 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d875 mm \u00d7 34.4 mm tall. Chamfer 1.4 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 75.0, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 34.4, "min": 10.3, "max": 103.2, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "end_chamfer": {"type": "float", "default": 1.4, "min": 0.1, "max": 4.2, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332735 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 75.0, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 34.4, \"min\": 10.3, \"max\": 103.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 1.4, \"min\": 0.1, \"max\": 4.2, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462cac01_4173", "family": "compound", "tier": 1, "seed": 1177332737, "symmetry": "none", "op_count": 3, "ir_hash": "0c6dfd667466c64f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 27800.0, "surface_area": 6410.0, "principal_moments": [3420000.0, 5050000.0, 6330000.0], "n_faces": 14, "n_edges": 33, "n_vertices": 21}, "dimensions": {"lines": ["Rectangular body, 41.27 \u00d7 31.7 \u00d7 21.4 mm (W\u00d7D\u00d7H).", "\u00d85 mm circular section attachment, 4 mm long, from left face with a \u00d82.3 mm bore.", "\u00d85 mm circular section attachment, 4 mm long, from back face with a \u00d82.3 mm bore."], "text": "Rectangular body, 41.27 \u00d7 31.7 \u00d7 21.4 mm (W\u00d7D\u00d7H). \u00d85 mm circular section attachment, 4 mm long, from left face with a \u00d82.3 mm bore. \u00d85 mm circular section attachment, 4 mm long, from back face with a \u00d82.3 mm bore."}, "params": {"block_w": {"type": "float", "default": 41.27, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body width (mm)"}, "block_d": {"type": "float", "default": 31.7, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body depth (mm)"}, "block_h": {"type": "float", "default": 21.4, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body height (mm)"}, "port_d": {"type": "float", "default": 5.0, "min": 2.0, "max": 9.6, "step": 1.0, "group": "Ports", "label": "Ports diameter (mm)"}, "port_len": {"type": "float", "default": 4.0, "min": 1.2, "max": 15.0, "step": 1.0, "group": "Ports", "label": "Port boss length (mm)"}, "port_bore": {"type": "float", "default": 2.3, "min": 2.0, "max": 3.6, "step": 0.5, "group": "Ports", "label": "Port bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332737 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 41.27, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 31.7, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 21.4, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body height (mm)'},\n    \"port_d\": {\"type\": 'float', \"default\": 5.0, \"min\": 2.0, \"max\": 9.6, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Ports diameter (mm)'},\n    \"port_len\": {\"type\": 'float', \"default\": 4.0, \"min\": 1.2, \"max\": 15.0, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Port boss length (mm)'},\n    \"port_bore\": {\"type\": 'float', \"default\": 2.3, \"min\": 2.0, \"max\": 3.6, \"step\": 0.5, \"group\": 'Ports', \"label\": 'Port bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462cac02_4174", "family": "plate", "tier": 1, "seed": 1177332738, "symmetry": "none", "op_count": 2, "ir_hash": "f091643ecfb82fc1", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 28500.0, "surface_area": 7600.0, "principal_moments": [5830000.0, 6250000.0, 11399999.999999998], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 50 \u00d7 48.2 \u00d7 12 mm (W\u00d7D\u00d7H).", "Four \u00d83.2 mm holes at the corners, 35 \u00d7 33.74 mm spacing."], "text": "Rectangular body, 50 \u00d7 48.2 \u00d7 12 mm (W\u00d7D\u00d7H). Four \u00d83.2 mm holes at the corners, 35 \u00d7 33.74 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 50, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 48.2, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 10.8, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332738 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 50, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 48.2, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 10.8, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462cac03_4175", "family": "plate", "tier": 2, "seed": 1177332739, "symmetry": "none", "op_count": 3, "ir_hash": "6417dd14d51bd903", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 18100.0, "surface_area": 10500.0, "principal_moments": [6560000.0, 7220000.0, 13699999.999999998], "n_faces": 14, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 70 \u00d7 66.7 \u00d7 4 mm (W\u00d7D\u00d7H).", "Four \u00d86.4 mm holes in a 2\u00d72 grid, 56 \u00d7 53.4 mm pitch.", "Fillet radius 2.384 mm on vertical edges."], "text": "Rectangular body, 70 \u00d7 66.7 \u00d7 4 mm (W\u00d7D\u00d7H). Four \u00d86.4 mm holes in a 2\u00d72 grid, 56 \u00d7 53.4 mm pitch. Fillet radius 2.384 mm on vertical edges."}, "params": {"plate_w": {"type": "float", "default": 70, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 66.7, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 4.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 8.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 2, "min": 1, "max": 4, "step": 1, "group": "Holes", "label": "Holes across"}, "hole_ny": {"type": "int", "default": 2, "min": 1, "max": 4, "step": 1, "group": "Holes", "label": "Holes deep"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332739 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 70, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 66.7, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 4.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 8.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 2, \"min\": 1, \"max\": 4, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes across'},\n    \"hole_ny\": {\"type\": 'int', \"default\": 2, \"min\": 1, \"max\": 4, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes deep'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(56.0, 53.4, p[\"hole_nx\"], p[\"hole_ny\"])\n        .hole(p[\"hole_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"plate_w\"], p[\"plate_d\"]) * 0.03573607716283772)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462cac04_4176", "family": "ribbed", "tier": 2, "seed": 1177332740, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "b5b33ce317d6915e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 32200.0, "surface_area": 16200.0, "principal_moments": [12599999.999999998, 21700000.0, 31499999.999999996], "n_faces": 16, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 75 \u00d7 67.2 \u00d7 4 mm (W\u00d7D\u00d7H).", "Two ribs, 5.3 mm thick, 18.9 mm tall."], "text": "Rectangular body, 75 \u00d7 67.2 \u00d7 4 mm (W\u00d7D\u00d7H). Two ribs, 5.3 mm thick, 18.9 mm tall."}, "params": {"base_w": {"type": "float", "default": 75, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 67.2, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 4.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 2, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 18.9, "min": 7.6, "max": 37.8, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 5.3, "min": 1.0, "max": 13.2, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332740 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 75, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 67.2, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 2, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 18.9, \"min\": 7.6, \"max\": 37.8, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 5.3, \"min\": 1.0, \"max\": 13.2, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462cac05_4177", "family": "lofted", "tier": 0, "seed": 1177332741, "symmetry": "none", "op_count": 1, "ir_hash": "f573930ba9132985", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 10800.0, "surface_area": 2810.0, "principal_moments": [845000.0, 845000.0, 947000.0], "n_faces": 8, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["Lofted body through 2 sections: 6-sided polygon section, 33.2 mm across corners \u2192 \u00d821.3 mm circular section."], "text": "Lofted body through 2 sections: 6-sided polygon section, 33.2 mm across corners \u2192 \u00d821.3 mm circular section."}, "params": {"loft_base": {"type": "float", "default": 33.2, "min": 16.6, "max": 53.1, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 21.3, "min": 8.5, "max": 39.8, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 20.6, "min": 8.2, "max": 41.2, "step": 1.0, "group": "Body", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332741 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 33.2, \"min\": 16.6, \"max\": 53.1, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 21.3, \"min\": 8.5, \"max\": 39.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 20.6, \"min\": 8.2, \"max\": 41.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .polygon(6, p[\"loft_base\"] * 0.5 * 2)\n        .workplane(offset=p[\"loft_h\"])\n        .circle(p[\"loft_top\"] / 2)\n        .loft(combine=True)\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462cac06_4178", "family": "lofted", "tier": 1, "seed": 1177332742, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "f04a3d31e5c50f4b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 199000.0, "surface_area": 25100.0, "principal_moments": [94099999.99999999, 159000000.0, 159000000.0], "n_faces": 8, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["Lofted body through 2 sections: \u00d865 mm circular section \u2192 44.5 \u00d7 44.5 mm rectangular section.", "One \u00d817.5 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 2 sections: \u00d865 mm circular section \u2192 44.5 \u00d7 44.5 mm rectangular section. One \u00d817.5 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 65, "min": 32.5, "max": 104.0, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 44.5, "min": 17.8, "max": 78.0, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 83.2, "min": 33.3, "max": 166.4, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_bore_d": {"type": "float", "default": 17.5, "min": 2.0, "max": 35.6, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332742 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 65, \"min\": 32.5, \"max\": 104.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 44.5, \"min\": 17.8, \"max\": 78.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 83.2, \"min\": 33.3, \"max\": 166.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 17.5, \"min\": 2.0, \"max\": 35.6, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .circle(p[\"loft_base\"] / 2)\n        .workplane(offset=p[\"loft_h\"])\n        .rect(p[\"loft_top\"], p[\"loft_top\"])\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462cac07_4179", "family": "revolved", "tier": 1, "seed": 1177332743, "symmetry": "none", "op_count": 2, "ir_hash": "5443b5f521101343", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 20600.0, "surface_area": 6530.0, "principal_moments": [4280000.0, 4280000.0, 8000000.0], "n_faces": 5, "n_edges": 8, "n_vertices": 5}, "dimensions": {"lines": ["Revolved body, \u00d851.08 mm \u00d7 15.3 mm tall.", "Chamfer 1.4 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d851.08 mm \u00d7 15.3 mm tall. Chamfer 1.4 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 51.08, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 15.3, "min": 4.6, "max": 45.9, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "end_chamfer": {"type": "float", "default": 1.4, "min": 0.1, "max": 4.2, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332743 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 51.08, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 15.3, \"min\": 4.6, \"max\": 45.9, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 1.4, \"min\": 0.1, \"max\": 4.2, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462cac08_4180", "family": "bracket", "tier": 1, "seed": 1177332744, "symmetry": "none", "op_count": 1, "ir_hash": "0acb7a50e7d4991f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 17000.0, "surface_area": 13000.0, "principal_moments": [5330000.0, 37900000.0, 41400000.0], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Z-bracket: base leg 82.73 mm, vertical leg 85.9 mm, top leg 66.4 mm, 25 mm wide, 3 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."], "text": "Z-bracket: base leg 82.73 mm, vertical leg 85.9 mm, top leg 66.4 mm, 25 mm wide, 3 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 82.73, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 85.9, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 25, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 3.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 66.4, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332744 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 82.73, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 85.9, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 25, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 66.4, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462cac09_4181", "family": "sketched", "tier": 1, "seed": 1177332745, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "81b7b46e0230e725", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 27000.0, "surface_area": 5910.0, "principal_moments": [3640000.0, 4220000.0, 4220000.0], "n_faces": 7, "n_edges": 11, "n_vertices": 6}, "dimensions": {"lines": ["Revolved organic body from a freeform sketched section (7 segments: 4 straight, 1 arc, 2 curves), ~20.922 \u00d7 45.05 mm half-silhouette."], "text": "Revolved organic body from a freeform sketched section (7 segments: 4 straight, 1 arc, 2 curves), ~20.922 \u00d7 45.05 mm half-silhouette."}, "params": {"sk_r": {"type": "float", "default": 30, "min": 15.0, "max": 54.0, "step": 1.0, "group": "Sketch", "label": "Max radius (mm)"}, "sk_h": {"type": "float", "default": 45.05, "min": 22.5, "max": 81.1, "step": 1.0, "group": "Sketch", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332745 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_r\": {\"type\": 'float', \"default\": 30, \"min\": 15.0, \"max\": 54.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Max radius (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 45.05, \"min\": 22.5, \"max\": 81.1, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XZ').moveTo(p[\"sk_r\"] * 0.1326, p[\"sk_h\"] * 0.0).bezier([(p[\"sk_r\"] * 0.1326, p[\"sk_h\"] * 0.0), (p[\"sk_r\"] * 0.3185, p[\"sk_h\"] * 0.0971), (p[\"sk_r\"] * 0.1759, p[\"sk_h\"] * 0.1942)]).lineTo(p[\"sk_r\"] * 0.1667, p[\"sk_h\"] * 0.282).lineTo(p[\"sk_r\"] * 0.5828, p[\"sk_h\"] * 0.4702).threePointArc((p[\"sk_r\"] * 0.5622, p[\"sk_h\"] * 0.4867), (p[\"sk_r\"] * 0.6974, p[\"sk_h\"] * 0.5031)).spline([(p[\"sk_r\"] * 0.6974, p[\"sk_h\"] * 0.5031), (p[\"sk_r\"] * 0.5718, p[\"sk_h\"] * 0.7516), (p[\"sk_r\"] * 0.4914, p[\"sk_h\"] * 1.0)]).lineTo(p[\"sk_r\"] * 0.0, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.0, p[\"sk_h\"] * 0.0).close().revolve())\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462cac0a_4182", "family": "swept", "tier": 0, "seed": 1177332746, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "73241fa85ce8aa59", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 430.0, "surface_area": 1660.0, "principal_moments": [3760.0, 292000.0, 292000.0], "n_faces": 3, "n_edges": 3, "n_vertices": 2}, "dimensions": {"lines": ["\u00d88.4 mm circular section swept along a curved path, ~65 mm span."], "text": "\u00d88.4 mm circular section swept along a curved path, ~65 mm span."}, "params": {"path_w": {"type": "float", "default": 65, "min": 32.5, "max": 117.0, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 55.94, "min": 28.0, "max": 100.7, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_d": {"type": "float", "default": 8.4, "min": 4.2, "max": 15.1, "step": 1.0, "group": "Section", "label": "Section diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332746 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 65, \"min\": 32.5, \"max\": 117.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 55.94, \"min\": 28.0, \"max\": 100.7, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 4.2, \"max\": 15.1, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.4107, p[\"path_h\"] * 0.2227), (p[\"path_w\"] * 0.8106, p[\"path_h\"] * 0.6594), (p[\"path_w\"] * 0.9185, p[\"path_h\"] * 0.7346), (p[\"path_w\"] * 1.0, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').circle(p[\"sweep_d\"] / 2).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462cac0b_4183", "family": "revolved", "tier": 0, "seed": 1177332747, "symmetry": "none", "op_count": 1, "ir_hash": "3f361fa08a5d99b9", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 2560.0, "surface_area": 1580.0, "principal_moments": [99200.0, 99200.0, 153000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d820 mm \u00d7 12.2 mm tall."], "text": "Revolved body, \u00d820 mm \u00d7 12.2 mm tall."}, "params": {"outer_d": {"type": "float", "default": 20, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 12.2, "min": 3.7, "max": 36.6, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332747 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 20, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 12.2, \"min\": 3.7, \"max\": 36.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462cac0c_4184", "family": "block", "tier": 1, "seed": 1177332748, "symmetry": "none", "op_count": 2, "ir_hash": "1959d6614ab3acbe", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 9300.0, "surface_area": 4570.0, "principal_moments": [603000.0, 1000000.0, 1380000.0], "n_faces": 15, "n_edges": 39, "n_vertices": 26}, "dimensions": {"lines": ["Rectangular body, 25 \u00d7 11.7 \u00d7 33.9 mm (W\u00d7D\u00d7H).", "Nine \u00d81.6 mm holes in two staggered rows, 4.7 \u00d7 5.2 mm pitch."], "text": "Rectangular body, 25 \u00d7 11.7 \u00d7 33.9 mm (W\u00d7D\u00d7H). Nine \u00d81.6 mm holes in two staggered rows, 4.7 \u00d7 5.2 mm pitch."}, "params": {"block_w": {"type": "float", "default": 25, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 11.7, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 33.9, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 1.6, "min": 2.0, "max": 1.2, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 5, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332748 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 25, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 11.7, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 33.9, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 1.6, \"min\": 2.0, \"max\": 1.2, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 5, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 4.7\n    _ssy = 5.2\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462cac0d_4185", "family": "bracket", "tier": 2, "seed": 1177332749, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "a7f9ec945cd24803", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 19300.0, "surface_area": 13800.0, "principal_moments": [6590000.0, 9760000.0, 14499999.999999998], "n_faces": 18, "n_edges": 48, "n_vertices": 32}, "dimensions": {"lines": ["Z-bracket: base leg 41.69 mm, vertical leg 34.3 mm, top leg 35 mm, 60 mm wide, 3 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg; 4.4 mm corner gusset."], "text": "Z-bracket: base leg 41.69 mm, vertical leg 34.3 mm, top leg 35 mm, 60 mm wide, 3 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg; 4.4 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 41.69, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 34.3, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 60.0, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 3.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 35.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}, "gusset_t": {"type": "float", "default": 4.4, "min": 1.5, "max": 9.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332749 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 41.69, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 34.3, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 60.0, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 35.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 4.4, \"min\": 1.5, \"max\": 9.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _tl, _vl) * 0.4 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(0, _vl - _bt).lineTo(-_g, _vl - _bt)\n                    .lineTo(0, _vl - _bt - _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462cac0e_4186", "family": "revolved", "tier": 0, "seed": 1177332750, "symmetry": "none", "op_count": 1, "ir_hash": "fb62c879e2e1c018", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 564000.0, "surface_area": 70600.0, "principal_moments": [512000000.0, 1320000000.0, 1320000000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d877.79 mm \u00d7 178.1 mm tall."], "text": "Revolved body, \u00d877.79 mm \u00d7 178.1 mm tall."}, "params": {"outer_d": {"type": "float", "default": 77.79, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 178.1, "min": 53.4, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332750 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 77.79, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 178.1, \"min\": 53.4, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462cac0f_4187", "family": "sketched", "tier": 1, "seed": 1177332751, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "12e890233ac565a5", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 19200.0, "surface_area": 5630.0, "principal_moments": [2360000.0, 4310000.0, 6350000.0], "n_faces": 7, "n_edges": 15, "n_vertices": 10}, "dimensions": {"lines": ["freeform sketched section (4 segments: 2 arcs, 2 curves), ~44.218 \u00d7 63.448 mm, extruded 10 mm thick.", "One \u00d85.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "freeform sketched section (4 segments: 2 arcs, 2 curves), ~44.218 \u00d7 63.448 mm, extruded 10 mm thick. One \u00d85.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"sk_w": {"type": "float", "default": 65.45, "min": 32.7, "max": 117.8, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 71.62, "min": 35.8, "max": 128.9, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "sk_t": {"type": "float", "default": 10, "min": 4.0, "max": 22.0, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "sk_hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 10.6, "step": 0.5, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332751 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 65.45, \"min\": 32.7, \"max\": 117.8, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 71.62, \"min\": 35.8, \"max\": 128.9, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"sk_t\": {\"type\": 'float', \"default\": 10, \"min\": 4.0, \"max\": 22.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"sk_hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 10.6, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.3502, p[\"sk_h\"] * -0.1077).threePointArc((p[\"sk_w\"] * 0.2859, p[\"sk_h\"] * 0.249), (p[\"sk_w\"] * 0.0929, p[\"sk_h\"] * 0.4879)).bezier([(p[\"sk_w\"] * 0.0929, p[\"sk_h\"] * 0.4879), (p[\"sk_w\"] * -0.1717, p[\"sk_h\"] * 0.3337), (p[\"sk_w\"] * -0.3254, p[\"sk_h\"] * 0.0689)]).threePointArc((p[\"sk_w\"] * -0.23, p[\"sk_h\"] * -0.2229), (p[\"sk_w\"] * -0.0071, p[\"sk_h\"] * -0.398)).spline([(p[\"sk_w\"] * -0.0071, p[\"sk_h\"] * -0.398), (p[\"sk_w\"] * 0.2136, p[\"sk_h\"] * -0.3046), (p[\"sk_w\"] * 0.3502, p[\"sk_h\"] * -0.1077)]).close().extrude(p[\"sk_t\"]))\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"sk_hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462cac10_4188", "family": "swept", "tier": 1, "seed": 1177332752, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "6fda79d81df1756b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 1560.0, "surface_area": 1730.0, "principal_moments": [31000.0, 761000.0, 780000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["8.6 \u00d7 6.8 mm rectangular section swept along a curved path, ~69.17 mm span."], "text": "8.6 \u00d7 6.8 mm rectangular section swept along a curved path, ~69.17 mm span."}, "params": {"path_w": {"type": "float", "default": 68.42, "min": 34.2, "max": 123.2, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 69.17, "min": 34.6, "max": 124.5, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_a": {"type": "float", "default": 8.6, "min": 4.3, "max": 15.5, "step": 1.0, "group": "Section", "label": "Section width (mm)"}, "sweep_b": {"type": "float", "default": 6.8, "min": 3.4, "max": 12.2, "step": 1.0, "group": "Section", "label": "Section depth (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332752 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 68.42, \"min\": 34.2, \"max\": 123.2, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 69.17, \"min\": 34.6, \"max\": 124.5, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_a\": {\"type\": 'float', \"default\": 8.6, \"min\": 4.3, \"max\": 15.5, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section width (mm)'},\n    \"sweep_b\": {\"type\": 'float', \"default\": 6.8, \"min\": 3.4, \"max\": 12.2, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section depth (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.2405, p[\"path_h\"] * 0.2951), (p[\"path_w\"] * 0.2261, p[\"path_h\"] * 0.3917), (p[\"path_w\"] * 0.38, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').rect(p[\"sweep_a\"], p[\"sweep_b\"]).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462cac11_4189", "family": "enclosure", "tier": 1, "seed": 1177332753, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "a5cc09d75861335b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 7390.0, "surface_area": 7330.0, "principal_moments": [1070000.0, 1760000.0, 2160000.0], "n_faces": 11, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 40.21 \u00d7 27.2 \u00d7 21.3 mm (W\u00d7D\u00d7H).", "Hollowed to 2.1 mm wall thickness, open at top face."], "text": "Rectangular body, 40.21 \u00d7 27.2 \u00d7 21.3 mm (W\u00d7D\u00d7H). Hollowed to 2.1 mm wall thickness, open at top face."}, "params": {"enc_w": {"type": "float", "default": 40.21, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 27.2, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 21.3, "min": 8.5, "max": 42.6, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 2.1, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332753 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 40.21, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 27.2, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 21.3, \"min\": 8.5, \"max\": 42.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 2.1, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462cac12_4190", "family": "compound", "tier": 2, "seed": 1177332754, "symmetry": "none", "op_count": 4, "ir_hash": "a8fd4f5f09f77a70", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 119000.0, "surface_area": 21500.0, "principal_moments": [82300000.0, 89700000.0, 114000000.0], "n_faces": 16, "n_edges": 39, "n_vertices": 26}, "dimensions": {"lines": ["Rectangular body, 82.2 \u00d7 60.2 \u00d7 20 mm (W\u00d7D\u00d7H).", "\u00d819.5 mm circular section attachment, 78.4 mm long, from top face.", "Four \u00d86.4 mm holes at the corners, 57.54 \u00d7 42.14 mm spacing.", "Fillet radius 5.16 mm on vertical edges."], "text": "Rectangular body, 82.2 \u00d7 60.2 \u00d7 20 mm (W\u00d7D\u00d7H). \u00d819.5 mm circular section attachment, 78.4 mm long, from top face. Four \u00d86.4 mm holes at the corners, 57.54 \u00d7 42.14 mm spacing. Fillet radius 5.16 mm on vertical edges."}, "params": {"base_w": {"type": "float", "default": 82.2, "min": 30.0, "max": 160.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 60.2, "min": 25.0, "max": 160.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_h": {"type": "float", "default": 20.0, "min": 3.0, "max": 30.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "col_d": {"type": "float", "default": 19.5, "min": 7.8, "max": 30.1, "step": 1.0, "group": "Column", "label": "Column diameter (mm)"}, "col_h": {"type": "float", "default": 78.4, "min": 23.5, "max": 235.2, "step": 1.0, "group": "Column", "label": "Column height (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332754 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 82.2, \"min\": 30.0, \"max\": 160.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 60.2, \"min\": 25.0, \"max\": 160.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_h\": {\"type\": 'float', \"default\": 20.0, \"min\": 3.0, \"max\": 30.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"col_d\": {\"type\": 'float', \"default\": 19.5, \"min\": 7.8, \"max\": 30.1, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column diameter (mm)'},\n    \"col_h\": {\"type\": 'float', \"default\": 78.4, \"min\": 23.5, \"max\": 235.2, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_h\"])\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"col_d\"] / 2).extrude(p[\"col_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"base_w\"] * 0.7, p[\"base_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"base_w\"], p[\"base_d\"]) * 0.08571740782395701)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462cac13_4191", "family": "lofted", "tier": 1, "seed": 1177332755, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "309f007e28ff6cc1", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 18500.0, "surface_area": 5490.0, "principal_moments": [2670000.0, 2690000.0, 2690000.0], "n_faces": 9, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["Lofted body through 2 sections: 6-sided polygon section, 38.93 mm across corners \u2192 \u00d825.8 mm circular section.", "One \u00d813 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 2 sections: 6-sided polygon section, 38.93 mm across corners \u2192 \u00d825.8 mm circular section. One \u00d813 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 38.93, "min": 19.5, "max": 62.3, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 25.8, "min": 10.3, "max": 46.7, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 30.3, "min": 12.1, "max": 60.6, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_bore_d": {"type": "float", "default": 13.0, "min": 2.0, "max": 20.6, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332755 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 38.93, \"min\": 19.5, \"max\": 62.3, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 25.8, \"min\": 10.3, \"max\": 46.7, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 30.3, \"min\": 12.1, \"max\": 60.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 13.0, \"min\": 2.0, \"max\": 20.6, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .polygon(6, p[\"loft_base\"] * 0.5 * 2)\n        .workplane(offset=p[\"loft_h\"])\n        .circle(p[\"loft_top\"] / 2)\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462cac14_4192", "family": "bracket", "tier": 2, "seed": 1177332756, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "398bc0cf93d95154", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 19700.0, "surface_area": 9300.0, "principal_moments": [3200000.0, 6510000.0, 6680000.0], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["C-channel bracket: base leg 25.09 mm, vertical leg 28.5 mm, 55 mm wide, 5 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 7.2 mm corner gusset."], "text": "C-channel bracket: base leg 25.09 mm, vertical leg 28.5 mm, 55 mm wide, 5 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 7.2 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 25.09, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 28.5, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 55, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 5.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 7.2, "min": 2.5, "max": 15.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332756 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 25.09, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 28.5, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 55, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 7.2, \"min\": 2.5, \"max\": 15.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl / 2, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bl - _bt, _bt).lineTo(_bl - _bt - _g, _bt)\n                    .lineTo(_bl - _bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462cac15_4193", "family": "block", "tier": 1, "seed": 1177332757, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "9ec338008dc75e43", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 90400.0, "surface_area": 18200.0, "principal_moments": [19800000.0, 55099999.99999999, 64999999.99999999], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 45 \u00d7 25.9 \u00d7 81.6 mm (W\u00d7D\u00d7H).", "Four \u00d84.3 mm holes at the corners, 31.5 \u00d7 18.13 mm spacing."], "text": "Rectangular body, 45 \u00d7 25.9 \u00d7 81.6 mm (W\u00d7D\u00d7H). Four \u00d84.3 mm holes at the corners, 31.5 \u00d7 18.13 mm spacing."}, "params": {"block_w": {"type": "float", "default": 45, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 25.9, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 81.6, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 5.8, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332757 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 45, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 25.9, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 81.6, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 5.8, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462cac16_4194", "family": "ribbed", "tier": 3, "seed": 1177332758, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "22f3377300812211", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 37800.0, "surface_area": 15700.0, "principal_moments": [11799999.999999998, 14499999.999999998, 23999999.999999996], "n_faces": 26, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 64.27 \u00d7 61.9 \u00d7 6 mm (W\u00d7D\u00d7H).", "Four ribs, 4.9 mm thick, 13.8 mm tall."], "text": "Rectangular body, 64.27 \u00d7 61.9 \u00d7 6 mm (W\u00d7D\u00d7H). Four ribs, 4.9 mm thick, 13.8 mm tall."}, "params": {"base_w": {"type": "float", "default": 64.27, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 61.9, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 6.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 4, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 13.8, "min": 5.5, "max": 27.6, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 4.9, "min": 1.0, "max": 12.2, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332758 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 64.27, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 61.9, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 4, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 13.8, \"min\": 5.5, \"max\": 27.6, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 4.9, \"min\": 1.0, \"max\": 12.2, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462cac17_4195", "family": "block", "tier": 1, "seed": 1177332759, "symmetry": "none", "op_count": 2, "ir_hash": "b04a6a78e7dbe882", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 19800.0, "surface_area": 7210.0, "principal_moments": [1470000.0, 4850000.0, 5530000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 26.11 \u00d7 15.8 \u00d7 52 mm (W\u00d7D\u00d7H).", "Four \u00d83.2 mm holes at the corners, 18.277 \u00d7 11.06 mm spacing."], "text": "Rectangular body, 26.11 \u00d7 15.8 \u00d7 52 mm (W\u00d7D\u00d7H). Four \u00d83.2 mm holes at the corners, 18.277 \u00d7 11.06 mm spacing."}, "params": {"block_w": {"type": "float", "default": 26.11, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 15.8, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 52.0, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 3.6, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332759 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 26.11, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 15.8, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 52.0, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 3.6, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462cac18_4196", "family": "compound", "tier": 2, "seed": 1177332760, "symmetry": "none", "op_count": 4, "ir_hash": "060c7d3624285e30", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 241000.0, "surface_area": 31900.0, "principal_moments": [150000000.0, 159000000.0, 231000000.0], "n_faces": 17, "n_edges": 42, "n_vertices": 28}, "dimensions": {"lines": ["Rectangular body, 77.69 \u00d7 72.1 \u00d7 44 mm (W\u00d7D\u00d7H).", "53.1 \u00d7 38.9 mm rectangular section attachment, 3 mm long, from back face.", "Four \u00d85.3 mm holes at the corners, 31.86 \u00d7 23.34 mm spacing on the >Y face.", "Four \u00d88.4 mm holes at the corners, 54.383 \u00d7 50.47 mm spacing."], "text": "Rectangular body, 77.69 \u00d7 72.1 \u00d7 44 mm (W\u00d7D\u00d7H). 53.1 \u00d7 38.9 mm rectangular section attachment, 3 mm long, from back face. Four \u00d85.3 mm holes at the corners, 31.86 \u00d7 23.34 mm spacing on the >Y face. Four \u00d88.4 mm holes at the corners, 54.383 \u00d7 50.47 mm spacing."}, "params": {"block_w": {"type": "float", "default": 77.69, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 72.1, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 44.0, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "tab_a": {"type": "float", "default": 53.1, "min": 21.2, "max": 85.0, "step": 1.0, "group": "Tab", "label": "Tab width (mm)"}, "tab_b": {"type": "float", "default": 38.9, "min": 15.6, "max": 62.2, "step": 1.0, "group": "Tab", "label": "Tab height (mm)"}, "tab_t": {"type": "float", "default": 3.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Tab", "label": "Tab thickness (mm)"}, "tab_hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 8.6, "step": 0.1, "group": "Tab", "label": "Tab hole diameter (mm)"}, "block_hole_d": {"type": "float", "default": 8.4, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332760 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 77.69, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 72.1, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 44.0, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"tab_a\": {\"type\": 'float', \"default\": 53.1, \"min\": 21.2, \"max\": 85.0, \"step\": 1.0, \"group\": 'Tab', \"label\": 'Tab width (mm)'},\n    \"tab_b\": {\"type\": 'float', \"default\": 38.9, \"min\": 15.6, \"max\": 62.2, \"step\": 1.0, \"group\": 'Tab', \"label\": 'Tab height (mm)'},\n    \"tab_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Tab', \"label\": 'Tab thickness (mm)'},\n    \"tab_hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 8.6, \"step\": 0.1, \"group\": 'Tab', \"label\": 'Tab hole diameter (mm)'},\n    \"block_hole_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .rect(p[\"tab_a\"], p[\"tab_b\"]).extrude(p[\"tab_t\"])\n    )\n    result = (\n        result.faces('>Y').workplane()\n        .rect(p[\"tab_a\"] * 0.6, p[\"tab_b\"] * 0.6, forConstruction=True)\n        .vertices().hole(p[\"tab_hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"block_hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462cac19_4197", "family": "block", "tier": 1, "seed": 1177332761, "symmetry": "none", "op_count": 2, "ir_hash": "2a027e5291a057de", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 37700.0, "surface_area": 8510.0, "principal_moments": [4620000.0, 11000000.0, 12399999.999999998], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 55.06 \u00d7 22.6 \u00d7 31.1 mm (W\u00d7D\u00d7H).", "Four \u00d83.2 mm holes at the corners, 38.542 \u00d7 15.82 mm spacing."], "text": "Rectangular body, 55.06 \u00d7 22.6 \u00d7 31.1 mm (W\u00d7D\u00d7H). Four \u00d83.2 mm holes at the corners, 38.542 \u00d7 15.82 mm spacing."}, "params": {"block_w": {"type": "float", "default": 55.06, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 22.6, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 31.1, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 5.1, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332761 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 55.06, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 22.6, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 31.1, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 5.1, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462cac1a_4198", "family": "plate", "tier": 1, "seed": 1177332762, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "212a4e9f5f30ce4b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 32800.0, "surface_area": 9460.0, "principal_moments": [6340000.0, 13799999.999999998, 19600000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 70.61 \u00d7 47.3 \u00d7 10 mm (W\u00d7D\u00d7H).", "Four \u00d84.3 mm holes at the corners, 49.427 \u00d7 33.11 mm spacing."], "text": "Rectangular body, 70.61 \u00d7 47.3 \u00d7 10 mm (W\u00d7D\u00d7H). Four \u00d84.3 mm holes at the corners, 49.427 \u00d7 33.11 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 70.61, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 47.3, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 10.6, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332762 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 70.61, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 47.3, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 10.6, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462cac1b_4199", "family": "plate", "tier": 2, "seed": 1177332763, "symmetry": "radial", "op_count": 3, "ir_hash": "e2169d46b50c05c0", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 4750.0, "surface_area": 3270.0, "principal_moments": [219000.0, 1420000.0, 1620000.0], "n_faces": 28, "n_edges": 78, "n_vertices": 52}, "dimensions": {"lines": ["Rectangular body, 59.19 \u00d7 23.4 \u00d7 4 mm (W\u00d7D\u00d7H).", "Eight \u00d88.4 mm holes on a \u00d835.6 mm bolt circle.", "Fillet radius 2.006 mm on vertical edges."], "text": "Rectangular body, 59.19 \u00d7 23.4 \u00d7 4 mm (W\u00d7D\u00d7H). Eight \u00d88.4 mm holes on a \u00d835.6 mm bolt circle. Fillet radius 2.006 mm on vertical edges."}, "params": {"plate_w": {"type": "float", "default": 59.19, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 23.4, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 4.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "bolt_d": {"type": "float", "default": 8.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 17.8, "min": 11.8, "max": 26.6, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 8, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332763 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 59.19, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 23.4, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 4.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 17.8, \"min\": 11.8, \"max\": 26.6, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"plate_w\"], p[\"plate_d\"]) * 0.08573392321095027)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462cac1c_4200", "family": "enclosure", "tier": 1, "seed": 1177332764, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "270416cd31ea4119", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 26900.0, "surface_area": 10300.0, "principal_moments": [5660000.0, 8030000.0, 9370000.0], "n_faces": 11, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 45 \u00d7 33.7 \u00d7 29.5 mm (W\u00d7D\u00d7H).", "Hollowed to 5.7 mm wall thickness, open at top face."], "text": "Rectangular body, 45 \u00d7 33.7 \u00d7 29.5 mm (W\u00d7D\u00d7H). Hollowed to 5.7 mm wall thickness, open at top face."}, "params": {"enc_w": {"type": "float", "default": 45, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 33.7, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 29.5, "min": 11.8, "max": 59.0, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 5.7, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332764 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 45, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 33.7, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 29.5, \"min\": 11.8, \"max\": 59.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 5.7, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462cac1d_4201", "family": "lofted", "tier": 0, "seed": 1177332765, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "0e00ccac7bf785cf", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 89700.0, "surface_area": 11800.0, "principal_moments": [27799999.999999996, 27899999.999999996, 36700000.0], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Lofted body through 2 sections: 6-sided polygon section, 68 mm across corners \u2192 44.9 \u00d7 44.9 mm rectangular section."], "text": "Lofted body through 2 sections: 6-sided polygon section, 68 mm across corners \u2192 44.9 \u00d7 44.9 mm rectangular section."}, "params": {"loft_base": {"type": "float", "default": 68.0, "min": 34.0, "max": 108.8, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 44.9, "min": 18.0, "max": 81.6, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 35.8, "min": 14.3, "max": 71.6, "step": 1.0, "group": "Body", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332765 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 68.0, \"min\": 34.0, \"max\": 108.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 44.9, \"min\": 18.0, \"max\": 81.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 35.8, \"min\": 14.3, \"max\": 71.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .polygon(6, p[\"loft_base\"] * 0.5 * 2)\n        .workplane(offset=p[\"loft_h\"])\n        .rect(p[\"loft_top\"], p[\"loft_top\"])\n        .loft(combine=True)\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462cac1e_4202", "family": "bracket", "tier": 1, "seed": 1177332766, "symmetry": "none", "op_count": 1, "ir_hash": "e428b00a2616ccc7", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 11400.0, "surface_area": 8480.0, "principal_moments": [2080000.0, 4930000.0, 5900000.0], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Z-bracket: base leg 35 mm, vertical leg 40.9 mm, top leg 25.6 mm, 40 mm wide, 3 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."], "text": "Z-bracket: base leg 35 mm, vertical leg 40.9 mm, top leg 25.6 mm, 40 mm wide, 3 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 35, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 40.9, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 40, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 3.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 25.6, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332766 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 35, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 40.9, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 40, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 25.6, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462cac1f_4203", "family": "flanged", "tier": 2, "seed": 1177332767, "symmetry": "radial", "op_count": 2, "ir_hash": "b9d10866ac897621", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 17700.0, "surface_area": 9670.0, "principal_moments": [3920000.0, 3920000.0, 6580000.0], "n_faces": 13, "n_edges": 42, "n_vertices": 28}, "dimensions": {"lines": ["Revolved body, \u00d832.05 mm \u00d7 19.3 mm tall with \u00d817.2 mm bore, \u00d866.8 mm \u00d7 2.7 mm flange.", "Four \u00d88.4 mm holes on a \u00d840 mm bolt circle."], "text": "Revolved body, \u00d832.05 mm \u00d7 19.3 mm tall with \u00d817.2 mm bore, \u00d866.8 mm \u00d7 2.7 mm flange. Four \u00d88.4 mm holes on a \u00d840 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 32.05, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 19.3, "min": 5.8, "max": 48.2, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 17.2, "min": 2.0, "max": 22.4, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 66.8, "min": 41.7, "max": 96.1, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 2.7, "min": 0.8, "max": 7.7, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 8.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 20.0, "min": 13.4, "max": 30.1, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 4, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332767 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 32.05, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 19.3, \"min\": 5.8, \"max\": 48.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 17.2, \"min\": 2.0, \"max\": 22.4, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 66.8, \"min\": 41.7, \"max\": 96.1, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 2.7, \"min\": 0.8, \"max\": 7.7, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 20.0, \"min\": 13.4, \"max\": 30.1, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 4, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462cac20_4204", "family": "sketched", "tier": 1, "seed": 1177332768, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "b9c196f98823b748", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 27800.0, "surface_area": 6120.0, "principal_moments": [2990000.0, 6290000.0, 7250000.0], "n_faces": 9, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["freeform sketched section (6 segments: 2 straight, 1 arc, 3 curves), ~58.817 \u00d7 32.33 mm, extruded 20.91 mm thick.", "One \u00d86.4 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "freeform sketched section (6 segments: 2 straight, 1 arc, 3 curves), ~58.817 \u00d7 32.33 mm, extruded 20.91 mm thick. One \u00d86.4 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"sk_w": {"type": "float", "default": 88.5, "min": 44.2, "max": 159.3, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 50, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "sk_t": {"type": "float", "default": 20.91, "min": 8.4, "max": 46.0, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "sk_hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 12.8, "step": 0.5, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332768 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 88.5, \"min\": 44.2, \"max\": 159.3, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 50, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"sk_t\": {\"type\": 'float', \"default\": 20.91, \"min\": 8.4, \"max\": 46.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"sk_hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 12.8, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.3349, p[\"sk_h\"] * 0.1168).threePointArc((p[\"sk_w\"] * 0.2897, p[\"sk_h\"] * 0.2033), (p[\"sk_w\"] * 0.2231, p[\"sk_h\"] * 0.2749)).spline([(p[\"sk_w\"] * 0.2231, p[\"sk_h\"] * 0.2749), (p[\"sk_w\"] * -0.0252, p[\"sk_h\"] * 0.2965), (p[\"sk_w\"] * -0.2702, p[\"sk_h\"] * 0.2513)]).lineTo(p[\"sk_w\"] * -0.3297, p[\"sk_h\"] * 0.0205).bezier([(p[\"sk_w\"] * -0.3297, p[\"sk_h\"] * 0.0205), (p[\"sk_w\"] * -0.2516, p[\"sk_h\"] * -0.1945), (p[\"sk_w\"] * -0.107, p[\"sk_h\"] * -0.3717)]).spline([(p[\"sk_w\"] * -0.107, p[\"sk_h\"] * -0.3717), (p[\"sk_w\"] * -0.0228, p[\"sk_h\"] * -0.3692), (p[\"sk_w\"] * 0.0561, p[\"sk_h\"] * -0.3396)]).lineTo(p[\"sk_w\"] * 0.3349, p[\"sk_h\"] * 0.1168).close().extrude(p[\"sk_t\"]))\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"sk_hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462cac21_4205", "family": "plate", "tier": 0, "seed": 1177332769, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "9dfc1a9ec27045dc", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 82200.0, "surface_area": 17700.0, "principal_moments": [47499999.99999999, 48299999.99999999, 93799999.99999999], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 83.12 \u00d7 82.4 \u00d7 12 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 83.12 \u00d7 82.4 \u00d7 12 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 83.12, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 82.4, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332769 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 83.12, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 82.4, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462cac22_4206", "family": "flanged", "tier": 2, "seed": 1177332770, "symmetry": "none", "op_count": 3, "ir_hash": "949a293736ae7c60", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 199000.0, "surface_area": 44500.0, "principal_moments": [210000000.0, 210000000.0, 237000000.0], "n_faces": 18, "n_edges": 37, "n_vertices": 22}, "dimensions": {"lines": ["Revolved body, \u00d859.08 mm \u00d7 67.8 mm tall with \u00d831.7 mm bore, \u00d8126.7 mm \u00d7 6.8 mm flange.", "Four \u00d86.4 mm holes on a \u00d876 mm bolt circle.", "Chamfer 0.4 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d859.08 mm \u00d7 67.8 mm tall with \u00d831.7 mm bore, \u00d8126.7 mm \u00d7 6.8 mm flange. Four \u00d86.4 mm holes on a \u00d876 mm bolt circle. Chamfer 0.4 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 59.08, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 67.8, "min": 20.3, "max": 169.5, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 31.7, "min": 2.0, "max": 41.4, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 126.7, "min": 76.8, "max": 177.2, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 6.8, "min": 2.0, "max": 27.1, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 38.0, "min": 25.3, "max": 57.0, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 4, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}, "end_chamfer": {"type": "float", "default": 0.4, "min": 0.1, "max": 2.0, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332770 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 59.08, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 67.8, \"min\": 20.3, \"max\": 169.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 31.7, \"min\": 2.0, \"max\": 41.4, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 126.7, \"min\": 76.8, \"max\": 177.2, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 6.8, \"min\": 2.0, \"max\": 27.1, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 38.0, \"min\": 25.3, \"max\": 57.0, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 4, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.4, \"min\": 0.1, \"max\": 2.0, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462cac23_4207", "family": "revolved", "tier": 0, "seed": 1177332771, "symmetry": "none", "op_count": 1, "ir_hash": "7f7329904fa8edd6", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 31000.0, "surface_area": 9750.0, "principal_moments": [4590000.0, 8900000.0, 8900000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d831.43 mm \u00d7 59.9 mm tall."], "text": "Revolved body, \u00d831.43 mm \u00d7 59.9 mm tall."}, "params": {"outer_d": {"type": "float", "default": 31.43, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 59.9, "min": 18.0, "max": 179.7, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332771 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 31.43, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 59.9, \"min\": 18.0, \"max\": 179.7, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462cac24_4208", "family": "plate", "tier": 0, "seed": 1177332772, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "2f532bee7d51d249", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 21100.0, "surface_area": 7030.0, "principal_moments": [2270000.0, 9980000.0, 11999999.999999998], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 75 \u00d7 35.1 \u00d7 8 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 75 \u00d7 35.1 \u00d7 8 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 75, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 35.1, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332772 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 75, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 35.1, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462cac25_4209", "family": "block", "tier": 1, "seed": 1177332773, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "5ee4700400975cb4", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 197000.0, "surface_area": 27800.0, "principal_moments": [97099999.99999999, 124000000.0, 170000000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 66.93 \u00d7 39.9 \u00d7 77.4 mm (W\u00d7D\u00d7H).", "Four \u00d86.4 mm holes at the corners, 46.851 \u00d7 27.93 mm spacing."], "text": "Rectangular body, 66.93 \u00d7 39.9 \u00d7 77.4 mm (W\u00d7D\u00d7H). Four \u00d86.4 mm holes at the corners, 46.851 \u00d7 27.93 mm spacing."}, "params": {"block_w": {"type": "float", "default": 66.93, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 39.9, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 77.4, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 9.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332773 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 66.93, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 39.9, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 77.4, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 9.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462cac26_4210", "family": "block", "tier": 1, "seed": 1177332774, "symmetry": "none", "op_count": 2, "ir_hash": "c22ef3f382566814", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 459000.0, "surface_area": 44200.0, "principal_moments": [440000000.0, 472000000.0, 734000000.0], "n_faces": 22, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 96.09 \u00d7 48.4 \u00d7 100 mm (W\u00d7D\u00d7H).", "Four 3.8 mm square holes at the corners, 67.263 \u00d7 33.88 mm spacing."], "text": "Rectangular body, 96.09 \u00d7 48.4 \u00d7 100 mm (W\u00d7D\u00d7H). Four 3.8 mm square holes at the corners, 67.263 \u00d7 33.88 mm spacing."}, "params": {"block_w": {"type": "float", "default": 96.09, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 48.4, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 100.0, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 3.8, "min": 2.0, "max": 14.2, "step": 0.5, "group": "Holes", "label": "Square hole size (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332774 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 96.09, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 48.4, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 100.0, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.8, \"min\": 2.0, \"max\": 14.2, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Square hole size (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().rect(p[\"hole_d\"], p[\"hole_d\"]).cutThruAll()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462cac27_4211", "family": "block", "tier": 1, "seed": 1177332775, "symmetry": "none", "op_count": 2, "ir_hash": "1cf308959c3c7289", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 12800.0, "surface_area": 4840.0, "principal_moments": [1050000.0, 1670000.0, 2410000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 29.25 \u00d7 12.2 \u00d7 37.6 mm (W\u00d7D\u00d7H).", "Four \u00d82.2 mm holes at the corners, 20.475 \u00d7 8.54 mm spacing."], "text": "Rectangular body, 29.25 \u00d7 12.2 \u00d7 37.6 mm (W\u00d7D\u00d7H). Four \u00d82.2 mm holes at the corners, 20.475 \u00d7 8.54 mm spacing."}, "params": {"block_w": {"type": "float", "default": 29.25, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 12.2, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 37.6, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 2.2, "min": 2.0, "max": 2.7, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332775 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 29.25, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 12.2, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 37.6, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 2.2, \"min\": 2.0, \"max\": 2.7, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462cac28_4212", "family": "flanged", "tier": 2, "seed": 1177332776, "symmetry": "none", "op_count": 3, "ir_hash": "bdb32d25065be40c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 161000.0, "surface_area": 40900.0, "principal_moments": [138000000.0, 138000000.0, 233000000.0], "n_faces": 18, "n_edges": 37, "n_vertices": 22}, "dimensions": {"lines": ["Revolved body, \u00d861.31 mm \u00d7 37.5 mm tall with \u00d820 mm bore, \u00d8140.2 mm \u00d7 5 mm flange.", "Four \u00d83.2 mm holes on a \u00d884.2 mm bolt circle.", "Chamfer 0.7 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d861.31 mm \u00d7 37.5 mm tall with \u00d820 mm bore, \u00d8140.2 mm \u00d7 5 mm flange. Four \u00d83.2 mm holes on a \u00d884.2 mm bolt circle. Chamfer 0.7 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 61.31, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 37.5, "min": 11.2, "max": 93.8, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 20.0, "min": 2.0, "max": 42.9, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 140.2, "min": 79.7, "max": 183.9, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 5.0, "min": 1.5, "max": 15.0, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 42.1, "min": 28.0, "max": 63.1, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 4, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}, "end_chamfer": {"type": "float", "default": 0.7, "min": 0.1, "max": 2.0, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332776 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 61.31, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 37.5, \"min\": 11.2, \"max\": 93.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 20.0, \"min\": 2.0, \"max\": 42.9, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 140.2, \"min\": 79.7, \"max\": 183.9, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 5.0, \"min\": 1.5, \"max\": 15.0, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 42.1, \"min\": 28.0, \"max\": 63.1, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 4, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.7, \"min\": 0.1, \"max\": 2.0, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462cac29_4213", "family": "compound", "tier": 1, "seed": 1177332777, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "234abaaa04d39c7c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 288000.0, "surface_area": 32600.0, "principal_moments": [189000000.0, 243000000.0, 280000000.0], "n_faces": 14, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["Rectangular body, 70 \u00d7 68.1 \u00d7 57.5 mm (W\u00d7D\u00d7H).", "6-sided polygon section, 26 mm across corners attachment, 49.4 mm long, from front face with a \u00d89.3 mm bore."], "text": "Rectangular body, 70 \u00d7 68.1 \u00d7 57.5 mm (W\u00d7D\u00d7H). 6-sided polygon section, 26 mm across corners attachment, 49.4 mm long, from front face with a \u00d89.3 mm bore."}, "params": {"block_w": {"type": "float", "default": 70, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 68.1, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 57.5, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "spig_sides": {"type": "int", "default": 6, "min": 3, "max": 8, "step": 1, "group": "Spigot", "label": "Spigot sides"}, "spig_r": {"type": "float", "default": 13.0, "min": 6.5, "max": 20.1, "step": 1.0, "group": "Spigot", "label": "Spigot circumradius (mm)"}, "spig_len": {"type": "float", "default": 49.4, "min": 6.8, "max": 90.1, "step": 1.0, "group": "Spigot", "label": "Spigot length (mm)"}, "spig_bore": {"type": "float", "default": 9.3, "min": 2.0, "max": 16.2, "step": 0.5, "group": "Spigot", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332777 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 70, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 68.1, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 57.5, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"spig_sides\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Spigot', \"label\": 'Spigot sides'},\n    \"spig_r\": {\"type\": 'float', \"default\": 13.0, \"min\": 6.5, \"max\": 20.1, \"step\": 1.0, \"group\": 'Spigot', \"label\": 'Spigot circumradius (mm)'},\n    \"spig_len\": {\"type\": 'float', \"default\": 49.4, \"min\": 6.8, \"max\": 90.1, \"step\": 1.0, \"group\": 'Spigot', \"label\": 'Spigot length (mm)'},\n    \"spig_bore\": {\"type\": 'float', \"default\": 9.3, \"min\": 2.0, \"max\": 16.2, \"step\": 0.5, \"group\": 'Spigot', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"spig_sides\"], p[\"spig_r\"] * 2).extrude(p[\"spig_len\"])\n    )\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"spig_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462cac2a_4214", "family": "plate", "tier": 2, "seed": 1177332778, "symmetry": "radial", "op_count": 3, "ir_hash": "e276c43fdc5f37e3", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 71100.0, "surface_area": 18700.0, "principal_moments": [25299999.999999996, 74600000.0, 98699999.99999999], "n_faces": 16, "n_edges": 42, "n_vertices": 28}, "dimensions": {"lines": ["Rectangular body, 111.7 \u00d7 65.1 \u00d7 10 mm (W\u00d7D\u00d7H).", "Six \u00d85.3 mm holes on a \u00d867 mm bolt circle.", "Fillet radius 5.679 mm on vertical edges."], "text": "Rectangular body, 111.7 \u00d7 65.1 \u00d7 10 mm (W\u00d7D\u00d7H). Six \u00d85.3 mm holes on a \u00d867 mm bolt circle. Fillet radius 5.679 mm on vertical edges."}, "params": {"plate_w": {"type": "float", "default": 111.7, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 65.1, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "bolt_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 33.5, "min": 22.3, "max": 50.3, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 6, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332778 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 111.7, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 65.1, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 33.5, \"min\": 22.3, \"max\": 50.3, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"plate_w\"], p[\"plate_d\"]) * 0.08723119381608144)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462cac2b_4215", "family": "revolved", "tier": 1, "seed": 1177332779, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "ece105abf68b89ee", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 62800.0, "surface_area": 11000.0, "principal_moments": [17800000.0, 17800000.0, 20800000.0], "n_faces": 4, "n_edges": 6, "n_vertices": 4}, "dimensions": {"lines": ["Revolved body, \u00d848.93 mm \u00d7 37.5 mm tall with \u00d816.2 mm bore."], "text": "Revolved body, \u00d848.93 mm \u00d7 37.5 mm tall with \u00d816.2 mm bore."}, "params": {"outer_d": {"type": "float", "default": 48.93, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 37.5, "min": 11.2, "max": 112.5, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 16.2, "min": 2.0, "max": 34.3, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332779 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 48.93, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 37.5, \"min\": 11.2, \"max\": 112.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 16.2, \"min\": 2.0, \"max\": 34.3, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462cac2c_4216", "family": "threaded", "tier": 0, "seed": 1177332780, "symmetry": "none", "op_count": 1, "ir_hash": "4702b7d5e14bb8de", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 198.0, "surface_area": 308.0, "principal_moments": [512.0, 2750.0, 2750.0], "n_faces": 160, "n_edges": 406, "n_vertices": 248}, "dimensions": {"lines": ["M5x0.8 external thread, 12.4 mm long."], "text": "M5x0.8 external thread, 12.4 mm long."}, "params": {"major_d": {"type": "float", "default": 5.0, "min": 4.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Major diameter (mm)"}, "pitch": {"type": "float", "default": 0.8, "min": 0.4, "max": 1.6, "step": 0.05, "group": "Thread", "label": "Pitch (mm)"}, "thread_len": {"type": "float", "default": 12.4, "min": 5.0, "max": 24.8, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332780 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 5.0, \"min\": 4.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Major diameter (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 0.8, \"min\": 0.4, \"max\": 1.6, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Pitch (mm)'},\n    \"thread_len\": {\"type\": 'float', \"default\": 12.4, \"min\": 5.0, \"max\": 24.8, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.IsoThread(major_diameter=p[\"major_d\"], pitch=p[\"pitch\"], length=p[\"thread_len\"], external=True, end_finishes=(\"fade\", \"fade\"))\n    _r = _thr.min_radius if hasattr(_thr, 'min_radius') else _thr.root_radius\n    _shank = _bd.Cylinder(radius=_r, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = _shank + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462cac2d_4217", "family": "threaded", "tier": 1, "seed": 1177332781, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "70513562c144e0bf", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 587.0, "surface_area": 840.0, "principal_moments": [4740.0, 20300.0, 20300.0], "n_faces": 223, "n_edges": 607, "n_vertices": 386}, "dimensions": {"lines": ["M4x0.7 internal thread, 19.2 mm long."], "text": "M4x0.7 internal thread, 19.2 mm long."}, "params": {"major_d": {"type": "float", "default": 4.0, "min": 4.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Major diameter (mm)"}, "pitch": {"type": "float", "default": 0.7, "min": 0.35, "max": 1.4, "step": 0.05, "group": "Thread", "label": "Pitch (mm)"}, "thread_len": {"type": "float", "default": 19.2, "min": 7.7, "max": 38.4, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332781 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 4.0, \"min\": 4.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Major diameter (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 0.7, \"min\": 0.35, \"max\": 1.4, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Pitch (mm)'},\n    \"thread_len\": {\"type\": 'float', \"default\": 19.2, \"min\": 7.7, \"max\": 38.4, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.IsoThread(major_diameter=p[\"major_d\"], pitch=p[\"pitch\"], length=p[\"thread_len\"], external=False, end_finishes=(\"fade\", \"fade\"))\n    _body = _bd.Cylinder(radius=(p[\"major_d\"]) * 0.9, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _bore = _bd.Cylinder(radius=(p[\"major_d\"]) / 2, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = (_body - _bore) + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462cac2e_4218", "family": "threaded", "tier": 0, "seed": 1177332782, "symmetry": "none", "op_count": 1, "ir_hash": "015603e04a92cf2c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 313.0, "surface_area": 475.0, "principal_moments": [815.0, 10300.0, 10300.0], "n_faces": 250, "n_edges": 640, "n_vertices": 392}, "dimensions": {"lines": ["M5x0.8 external thread, 19.6 mm long."], "text": "M5x0.8 external thread, 19.6 mm long."}, "params": {"major_d": {"type": "float", "default": 5.0, "min": 4.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Major diameter (mm)"}, "pitch": {"type": "float", "default": 0.8, "min": 0.4, "max": 1.6, "step": 0.05, "group": "Thread", "label": "Pitch (mm)"}, "thread_len": {"type": "float", "default": 19.6, "min": 7.8, "max": 39.2, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332782 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 5.0, \"min\": 4.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Major diameter (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 0.8, \"min\": 0.4, \"max\": 1.6, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Pitch (mm)'},\n    \"thread_len\": {\"type\": 'float', \"default\": 19.6, \"min\": 7.8, \"max\": 39.2, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.IsoThread(major_diameter=p[\"major_d\"], pitch=p[\"pitch\"], length=p[\"thread_len\"], external=True, end_finishes=(\"fade\", \"fade\"))\n    _r = _thr.min_radius if hasattr(_thr, 'min_radius') else _thr.root_radius\n    _shank = _bd.Cylinder(radius=_r, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = _shank + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462cac2f_4219", "family": "revolved", "tier": 2, "seed": 1177332783, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "729d3faaf10fef24", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 910000.0, "surface_area": 77800.0, "principal_moments": [767000000.0, 3820000000.0, 3820000000.0], "n_faces": 4, "n_edges": 6, "n_vertices": 4}, "dimensions": {"lines": ["Revolved body, \u00d878.06 mm \u00d7 212.9 mm tall with \u00d825.5 mm bore."], "text": "Revolved body, \u00d878.06 mm \u00d7 212.9 mm tall with \u00d825.5 mm bore."}, "params": {"outer_d": {"type": "float", "default": 78.06, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 212.9, "min": 63.9, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 25.5, "min": 2.0, "max": 54.6, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332783 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 78.06, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 212.9, \"min\": 63.9, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 25.5, \"min\": 2.0, \"max\": 54.6, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462cac30_4220", "family": "bracket", "tier": 3, "seed": 1177332784, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "b85ce0808f8c247a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 26800.0, "surface_area": 9730.0, "principal_moments": [6880000.0, 24999999.999999996, 30699999.999999996], "n_faces": 14, "n_edges": 37, "n_vertices": 24}, "dimensions": {"lines": ["L-bracket: base leg 80 mm, vertical leg 87.4 mm, 17.61 mm wide, 8 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 6.9 mm corner gusset."], "text": "L-bracket: base leg 80 mm, vertical leg 87.4 mm, 17.61 mm wide, 8 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 6.9 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 80, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 87.4, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 17.61, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 8.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 7.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 6.9, "min": 4.0, "max": 8.8, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332784 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 80, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 87.4, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 17.61, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 7.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 6.9, \"min\": 4.0, \"max\": 8.8, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462cac31_4221", "family": "revolved", "tier": 0, "seed": 1177332785, "symmetry": "radial", "op_count": 1, "ir_hash": "d211098ef7c40fbf", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 214000.0, "surface_area": 38300.0, "principal_moments": [92599999.99999999, 301000000.0, 301000000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d853.71 mm \u00d7 141.7 mm tall."], "text": "Revolved body, \u00d853.71 mm \u00d7 141.7 mm tall."}, "params": {"outer_d": {"type": "float", "default": 53.71, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 141.7, "min": 42.5, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332785 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 53.71, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 141.7, \"min\": 42.5, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462cac32_4222", "family": "revolved", "tier": 0, "seed": 1177332786, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "c7475bedc0d7f929", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 6860.0, "surface_area": 3360.0, "principal_moments": [445000.0, 596000.0, 596000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d820.79 mm \u00d7 30.3 mm tall."], "text": "Revolved body, \u00d820.79 mm \u00d7 30.3 mm tall."}, "params": {"outer_d": {"type": "float", "default": 20.79, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 30.3, "min": 9.1, "max": 90.9, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332786 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 20.79, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 30.3, \"min\": 9.1, \"max\": 90.9, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462cac33_4223", "family": "enclosure", "tier": 1, "seed": 1177332787, "symmetry": "none", "op_count": 2, "ir_hash": "f757c2aa492bc3a2", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 18100.0, "surface_area": 10800.0, "principal_moments": [3870000.0, 4980000.0, 6380000.0], "n_faces": 11, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 43.14 \u00d7 22.7 \u00d7 39.2 mm (W\u00d7D\u00d7H).", "Hollowed to 3.5 mm wall thickness, open at top face."], "text": "Rectangular body, 43.14 \u00d7 22.7 \u00d7 39.2 mm (W\u00d7D\u00d7H). Hollowed to 3.5 mm wall thickness, open at top face."}, "params": {"enc_w": {"type": "float", "default": 43.14, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 22.7, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 39.2, "min": 15.7, "max": 78.4, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 3.5, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332787 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 43.14, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 22.7, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 39.2, \"min\": 15.7, \"max\": 78.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 3.5, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462cac34_4224", "family": "bracket", "tier": 1, "seed": 1177332788, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "1b53417401393ddc", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 14500.0, "surface_area": 7300.0, "principal_moments": [2270000.0, 8840000.0, 9260000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["L-bracket: base leg 68.21 mm, vertical leg 43.8 mm, 27.48 mm wide, 5 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."], "text": "L-bracket: base leg 68.21 mm, vertical leg 43.8 mm, 27.48 mm wide, 5 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 68.21, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 43.8, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 27.48, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 5.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332788 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 68.21, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 43.8, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 27.48, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462cac35_4225", "family": "compound", "tier": 3, "seed": 1177332789, "symmetry": "none", "op_count": 7, "ir_hash": "02180a313ea43e79", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 40900.0, "surface_area": 10400.0, "principal_moments": [7980000.0, 8230000.0, 9980000.0], "n_faces": 30, "n_edges": 70, "n_vertices": 44}, "dimensions": {"lines": ["Rectangular body, 38.44 \u00d7 37.5 \u00d7 30 mm (W\u00d7D\u00d7H).", "\u00d88.6 mm circular section attachment, 7.3 mm long, from back face with a \u00d85.3 mm bore.", "\u00d88.6 mm circular section attachment, 7.3 mm long, from right face with a \u00d85.3 mm bore.", "\u00d88.6 mm circular section attachment, 7.3 mm long, from front face with a \u00d85.3 mm bore.", "\u00d88.6 mm circular section attachment, 7.3 mm long, from left face with a \u00d85.3 mm bore.", "Four \u00d85.3 mm holes at the corners, 26.908 \u00d7 26.25 mm spacing.", "Fillet radius 4.172 mm on vertical edges."], "text": "Rectangular body, 38.44 \u00d7 37.5 \u00d7 30 mm (W\u00d7D\u00d7H). \u00d88.6 mm circular section attachment, 7.3 mm long, from back face with a \u00d85.3 mm bore. \u00d88.6 mm circular section attachment, 7.3 mm long, from right face with a \u00d85.3 mm bore. \u00d88.6 mm circular section attachment, 7.3 mm long, from front face with a \u00d85.3 mm bore. \u00d88.6 mm circular section attachment, 7.3 mm long, from left face with a \u00d85.3 mm bore. Four \u00d85.3 mm holes at the corners, 26.908 \u00d7 26.25 mm spacing. Fillet radius 4.172 mm on vertical edges."}, "params": {"block_w": {"type": "float", "default": 38.44, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body width (mm)"}, "block_d": {"type": "float", "default": 37.5, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body depth (mm)"}, "block_h": {"type": "float", "default": 30.0, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body height (mm)"}, "port_d": {"type": "float", "default": 8.6, "min": 3.4, "max": 13.5, "step": 1.0, "group": "Ports", "label": "Ports diameter (mm)"}, "port_len": {"type": "float", "default": 7.3, "min": 2.1, "max": 25.8, "step": 1.0, "group": "Ports", "label": "Port boss length (mm)"}, "port_bore": {"type": "float", "default": 5.3, "min": 2.0, "max": 6.2, "step": 0.5, "group": "Ports", "label": "Port bore diameter (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 8.4, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332789 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 38.44, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 37.5, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 30.0, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body height (mm)'},\n    \"port_d\": {\"type\": 'float', \"default\": 8.6, \"min\": 3.4, \"max\": 13.5, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Ports diameter (mm)'},\n    \"port_len\": {\"type\": 'float', \"default\": 7.3, \"min\": 2.1, \"max\": 25.8, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Port boss length (mm)'},\n    \"port_bore\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 6.2, \"step\": 0.5, \"group\": 'Ports', \"label\": 'Port bore diameter (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 8.4, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"block_w\"], p[\"block_d\"]) * 0.11126338180540604)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462cac36_4226", "family": "swept", "tier": 2, "seed": 1177332790, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "1f52e8767448095f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 13900.0, "surface_area": 4780.0, "principal_moments": [819000.0, 6450000.0, 7010000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["20.9 \u00d7 10.5 mm rectangular section swept along a curved path, ~64.56 mm span."], "text": "20.9 \u00d7 10.5 mm rectangular section swept along a curved path, ~64.56 mm span."}, "params": {"path_w": {"type": "float", "default": 45, "min": 22.5, "max": 81.0, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 64.56, "min": 32.3, "max": 116.2, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_a": {"type": "float", "default": 20.9, "min": 10.4, "max": 37.6, "step": 1.0, "group": "Section", "label": "Section width (mm)"}, "sweep_b": {"type": "float", "default": 10.5, "min": 5.2, "max": 18.9, "step": 1.0, "group": "Section", "label": "Section depth (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332790 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 45, \"min\": 22.5, \"max\": 81.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 64.56, \"min\": 32.3, \"max\": 116.2, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_a\": {\"type\": 'float', \"default\": 20.9, \"min\": 10.4, \"max\": 37.6, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section width (mm)'},\n    \"sweep_b\": {\"type\": 'float', \"default\": 10.5, \"min\": 5.2, \"max\": 18.9, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section depth (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.3621, p[\"path_h\"] * 0.2244), (p[\"path_w\"] * 0.616, p[\"path_h\"] * 0.3668), (p[\"path_w\"] * 0.7314, p[\"path_h\"] * 0.8917), (p[\"path_w\"] * 0.7878, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').rect(p[\"sweep_a\"], p[\"sweep_b\"]).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462cac37_4227", "family": "block", "tier": 1, "seed": 1177332791, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "43c4978ee5a2dff3", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 15700.0, "surface_area": 5040.0, "principal_moments": [1530000.0, 1650000.0, 2180000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 30 \u00d7 19.8 \u00d7 28 mm (W\u00d7D\u00d7H).", "Four \u00d83.2 mm holes at the corners, 21 \u00d7 13.86 mm spacing."], "text": "Rectangular body, 30 \u00d7 19.8 \u00d7 28 mm (W\u00d7D\u00d7H). Four \u00d83.2 mm holes at the corners, 21 \u00d7 13.86 mm spacing."}, "params": {"block_w": {"type": "float", "default": 30, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 19.8, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 28.0, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 4.5, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332791 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 30, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 19.8, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 28.0, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 4.5, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462cac38_4228", "family": "block", "tier": 1, "seed": 1177332792, "symmetry": "none", "op_count": 2, "ir_hash": "ab5d7b91adcfdab6", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 507000.0, "surface_area": 43900.0, "principal_moments": [439000000.0, 607000000.0, 677000000.0], "n_faces": 11, "n_edges": 27, "n_vertices": 18}, "dimensions": {"lines": ["Rectangular body, 77.54 \u00d7 65.9 \u00d7 100 mm (W\u00d7D\u00d7H).", "Five \u00d83.2 mm holes in two staggered rows, 29.1 \u00d7 24.9 mm pitch."], "text": "Rectangular body, 77.54 \u00d7 65.9 \u00d7 100 mm (W\u00d7D\u00d7H). Five \u00d83.2 mm holes in two staggered rows, 29.1 \u00d7 24.9 mm pitch."}, "params": {"block_w": {"type": "float", "default": 77.54, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 65.9, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 100.0, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 6.6, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 3, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332792 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 77.54, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 65.9, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 100.0, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 6.6, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 3, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 29.1\n    _ssy = 24.9\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462cac39_4229", "family": "block", "tier": 1, "seed": 1177332793, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "edaab5914f0a1cbb", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 462000.0, "surface_area": 54500.0, "principal_moments": [387000000.0, 529000000.0, 628000000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 81.76 \u00d7 63 \u00d7 100 mm (W\u00d7D\u00d7H).", "Four \u00d813 mm holes at the corners, 57.232 \u00d7 44.1 mm spacing."], "text": "Rectangular body, 81.76 \u00d7 63 \u00d7 100 mm (W\u00d7D\u00d7H). Four \u00d813 mm holes at the corners, 57.232 \u00d7 44.1 mm spacing."}, "params": {"block_w": {"type": "float", "default": 81.76, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 63.0, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 100.0, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 13.0, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332793 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 81.76, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 63.0, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 100.0, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 13.0, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462cac3a_4230", "family": "ribbed", "tier": 3, "seed": 1177332794, "symmetry": "none", "op_count": 2, "ir_hash": "282573377e9e6535", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 42900.0, "surface_area": 22500.0, "principal_moments": [15299999.999999998, 25999999.999999996, 39200000.0], "n_faces": 54, "n_edges": 132, "n_vertices": 80}, "dimensions": {"lines": ["Rectangular body, 85.88 \u00d7 55.4 \u00d7 4 mm (W\u00d7D\u00d7H).", "Six ribs, 4.6 mm thick, 12.6 mm tall."], "text": "Rectangular body, 85.88 \u00d7 55.4 \u00d7 4 mm (W\u00d7D\u00d7H). Six ribs, 4.6 mm thick, 12.6 mm tall."}, "params": {"base_w": {"type": "float", "default": 85.88, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 55.4, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 4.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 6, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 12.6, "min": 5.0, "max": 25.2, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 4.6, "min": 1.0, "max": 11.5, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332794 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 85.88, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 55.4, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 6, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 12.6, \"min\": 5.0, \"max\": 25.2, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 4.6, \"min\": 1.0, \"max\": 11.5, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462cac3b_4231", "family": "plate", "tier": 2, "seed": 1177332795, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "bee5208deebd5861", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 102000.0, "surface_area": 25700.0, "principal_moments": [73100000.0, 108000000.0, 179000000.0], "n_faces": 22, "n_edges": 48, "n_vertices": 32}, "dimensions": {"lines": ["Rectangular body, 113.04 \u00d7 92.8 \u00d7 10 mm (W\u00d7D\u00d7H).", "Four \u00d85.3 mm counterbored holes (\u00d810.6 mm \u00d7 4.2 mm counterbore) at the corners, 79.128 \u00d7 64.96 mm spacing.", "Chamfer 4.8 mm on vertical edges."], "text": "Rectangular body, 113.04 \u00d7 92.8 \u00d7 10 mm (W\u00d7D\u00d7H). Four \u00d85.3 mm counterbored holes (\u00d810.6 mm \u00d7 4.2 mm counterbore) at the corners, 79.128 \u00d7 64.96 mm spacing. Chamfer 4.8 mm on vertical edges."}, "params": {"plate_w": {"type": "float", "default": 113.04, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 92.8, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "cb_d": {"type": "float", "default": 10.6, "min": 7.9, "max": 15.9, "step": 0.5, "group": "Holes", "label": "Counterbore diameter (mm)"}, "cb_depth": {"type": "float", "default": 4.2, "min": 2.1, "max": 8.4, "step": 0.5, "group": "Holes", "label": "Counterbore depth (mm)"}, "chamfer_d": {"type": "float", "default": 4.8, "min": 3.7, "max": 6.5, "step": 0.5, "group": "Body", "label": "Chamfer distance (mm)"}, "chamfered": {"type": "bool", "default": true, "group": "Body", "label": "Chamfer edges"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332795 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 113.04, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 92.8, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"cb_d\": {\"type\": 'float', \"default\": 10.6, \"min\": 7.9, \"max\": 15.9, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Counterbore diameter (mm)'},\n    \"cb_depth\": {\"type\": 'float', \"default\": 4.2, \"min\": 2.1, \"max\": 8.4, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Counterbore depth (mm)'},\n    \"chamfer_d\": {\"type\": 'float', \"default\": 4.8, \"min\": 3.7, \"max\": 6.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Chamfer distance (mm)'},\n    \"chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Chamfer edges'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().cboreHole(p[\"hole_d\"], p[\"cb_d\"], p[\"cb_depth\"])\n    )\n    if p[\"chamfered\"]:\n        result = result.edges('|Z').chamfer(p[\"chamfer_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462cac3c_4232", "family": "compound", "tier": 1, "seed": 1177332796, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "49cf26f5fac4300d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 65300.0, "surface_area": 14100.0, "principal_moments": [16800000.0, 18800000.0, 22700000.0], "n_faces": 15, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 45 \u00d7 43.7 \u00d7 34.4 mm (W\u00d7D\u00d7H).", "42.3 \u00d7 30.3 mm rectangular section attachment, 3 mm long, from right face.", "Four \u00d86.4 mm holes at the corners, 25.38 \u00d7 18.18 mm spacing on the >X face."], "text": "Rectangular body, 45 \u00d7 43.7 \u00d7 34.4 mm (W\u00d7D\u00d7H). 42.3 \u00d7 30.3 mm rectangular section attachment, 3 mm long, from right face. Four \u00d86.4 mm holes at the corners, 25.38 \u00d7 18.18 mm spacing on the >X face."}, "params": {"block_w": {"type": "float", "default": 45, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 43.7, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 34.4, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "tab_a": {"type": "float", "default": 42.3, "min": 16.9, "max": 67.7, "step": 1.0, "group": "Tab", "label": "Tab width (mm)"}, "tab_b": {"type": "float", "default": 30.3, "min": 12.1, "max": 48.5, "step": 1.0, "group": "Tab", "label": "Tab height (mm)"}, "tab_t": {"type": "float", "default": 3.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Tab", "label": "Tab thickness (mm)"}, "tab_hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 6.7, "step": 0.1, "group": "Tab", "label": "Tab hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332796 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 45, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 43.7, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 34.4, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"tab_a\": {\"type\": 'float', \"default\": 42.3, \"min\": 16.9, \"max\": 67.7, \"step\": 1.0, \"group\": 'Tab', \"label\": 'Tab width (mm)'},\n    \"tab_b\": {\"type\": 'float', \"default\": 30.3, \"min\": 12.1, \"max\": 48.5, \"step\": 1.0, \"group\": 'Tab', \"label\": 'Tab height (mm)'},\n    \"tab_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Tab', \"label\": 'Tab thickness (mm)'},\n    \"tab_hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 6.7, \"step\": 0.1, \"group\": 'Tab', \"label\": 'Tab hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .rect(p[\"tab_a\"], p[\"tab_b\"]).extrude(p[\"tab_t\"])\n    )\n    result = (\n        result.faces('>X').workplane()\n        .rect(p[\"tab_a\"] * 0.6, p[\"tab_b\"] * 0.6, forConstruction=True)\n        .vertices().hole(p[\"tab_hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462cac3d_4233", "family": "plate", "tier": 2, "seed": 1177332797, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "2f6e0a5947e3881e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 21300.0, "surface_area": 9630.0, "principal_moments": [5180000.0, 8420000.0, 13499999.999999998], "n_faces": 22, "n_edges": 48, "n_vertices": 32}, "dimensions": {"lines": ["Rectangular body, 70 \u00d7 54.8 \u00d7 6 mm (W\u00d7D\u00d7H).", "Four \u00d85.3 mm counterbored holes (\u00d810.6 mm \u00d7 4.2 mm counterbore) at the corners, 49 \u00d7 38.36 mm spacing.", "Chamfer 1.9 mm on vertical edges."], "text": "Rectangular body, 70 \u00d7 54.8 \u00d7 6 mm (W\u00d7D\u00d7H). Four \u00d85.3 mm counterbored holes (\u00d810.6 mm \u00d7 4.2 mm counterbore) at the corners, 49 \u00d7 38.36 mm spacing. Chamfer 1.9 mm on vertical edges."}, "params": {"plate_w": {"type": "float", "default": 70, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 54.8, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 6.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 12.3, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "cb_d": {"type": "float", "default": 10.6, "min": 7.9, "max": 15.9, "step": 0.5, "group": "Holes", "label": "Counterbore diameter (mm)"}, "cb_depth": {"type": "float", "default": 4.2, "min": 2.1, "max": 8.4, "step": 0.5, "group": "Holes", "label": "Counterbore depth (mm)"}, "chamfer_d": {"type": "float", "default": 1.9, "min": 1.3, "max": 2.2, "step": 0.5, "group": "Body", "label": "Chamfer distance (mm)"}, "chamfered": {"type": "bool", "default": true, "group": "Body", "label": "Chamfer edges"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332797 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 70, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 54.8, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 12.3, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"cb_d\": {\"type\": 'float', \"default\": 10.6, \"min\": 7.9, \"max\": 15.9, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Counterbore diameter (mm)'},\n    \"cb_depth\": {\"type\": 'float', \"default\": 4.2, \"min\": 2.1, \"max\": 8.4, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Counterbore depth (mm)'},\n    \"chamfer_d\": {\"type\": 'float', \"default\": 1.9, \"min\": 1.3, \"max\": 2.2, \"step\": 0.5, \"group\": 'Body', \"label\": 'Chamfer distance (mm)'},\n    \"chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Chamfer edges'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().cboreHole(p[\"hole_d\"], p[\"cb_d\"], p[\"cb_depth\"])\n    )\n    if p[\"chamfered\"]:\n        result = result.edges('|Z').chamfer(p[\"chamfer_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462cac3e_4234", "family": "compound", "tier": 2, "seed": 1177332798, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "e9ddf12feeae6017", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 38600.0, "surface_area": 9540.0, "principal_moments": [3790000.0, 18500000.0, 18500000.0], "n_faces": 13, "n_edges": 27, "n_vertices": 18}, "dimensions": {"lines": ["\u00d828.42 mm circular section, extruded 56.9 mm thick.", "\u00d815.6 mm circular section attachment, 24.4 mm long, from top face.", "6-sided polygon section, 13.6 mm across corners attachment, 6.5 mm long, from top face with a \u00d86.5 mm bore."], "text": "\u00d828.42 mm circular section, extruded 56.9 mm thick. \u00d815.6 mm circular section attachment, 24.4 mm long, from top face. 6-sided polygon section, 13.6 mm across corners attachment, 6.5 mm long, from top face with a \u00d86.5 mm bore."}, "params": {"shaft_d": {"type": "float", "default": 28.42, "min": 14.2, "max": 51.2, "step": 1.0, "group": "Body", "label": "Shaft diameter (mm)"}, "shaft_len": {"type": "float", "default": 56.9, "min": 22.8, "max": 113.8, "step": 1.0, "group": "Body", "label": "Shaft length (mm)"}, "step_d": {"type": "float", "default": 15.6, "min": 7.8, "max": 25.6, "step": 1.0, "group": "Step", "label": "Step diameter (mm)"}, "step_len": {"type": "float", "default": 24.4, "min": 7.3, "max": 61.0, "step": 1.0, "group": "Step", "label": "Step length (mm)"}, "head_sides": {"type": "int", "default": 6, "min": 3, "max": 8, "step": 1, "group": "Head", "label": "Drive head sides"}, "head_r": {"type": "float", "default": 6.8, "min": 4.1, "max": 7.5, "step": 1.0, "group": "Head", "label": "Drive head circumradius (mm)"}, "head_len": {"type": "float", "default": 6.5, "min": 1.9, "max": 13.0, "step": 1.0, "group": "Head", "label": "Drive head length (mm)"}, "axial_bore": {"type": "float", "default": 6.5, "min": 2.0, "max": 8.5, "step": 0.5, "group": "Bore", "label": "Axial bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332798 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"shaft_d\": {\"type\": 'float', \"default\": 28.42, \"min\": 14.2, \"max\": 51.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft diameter (mm)'},\n    \"shaft_len\": {\"type\": 'float', \"default\": 56.9, \"min\": 22.8, \"max\": 113.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft length (mm)'},\n    \"step_d\": {\"type\": 'float', \"default\": 15.6, \"min\": 7.8, \"max\": 25.6, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step diameter (mm)'},\n    \"step_len\": {\"type\": 'float', \"default\": 24.4, \"min\": 7.3, \"max\": 61.0, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step length (mm)'},\n    \"head_sides\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Head', \"label\": 'Drive head sides'},\n    \"head_r\": {\"type\": 'float', \"default\": 6.8, \"min\": 4.1, \"max\": 7.5, \"step\": 1.0, \"group\": 'Head', \"label\": 'Drive head circumradius (mm)'},\n    \"head_len\": {\"type\": 'float', \"default\": 6.5, \"min\": 1.9, \"max\": 13.0, \"step\": 1.0, \"group\": 'Head', \"label\": 'Drive head length (mm)'},\n    \"axial_bore\": {\"type\": 'float', \"default\": 6.5, \"min\": 2.0, \"max\": 8.5, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Axial bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').circle(p[\"shaft_d\"] / 2).extrude(p[\"shaft_len\"]))\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"step_d\"] / 2).extrude(p[\"step_len\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"head_sides\"], p[\"head_r\"] * 2).extrude(p[\"head_len\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"axial_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462cac3f_4235", "family": "block", "tier": 1, "seed": 1177332799, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "4a08bc761025b2d1", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 657000.0, "surface_area": 55500.0, "principal_moments": [743000000.0, 892000000.0, 935000000.0], "n_faces": 15, "n_edges": 39, "n_vertices": 26}, "dimensions": {"lines": ["Rectangular body, 99.24 \u00d7 84.1 \u00d7 80 mm (W\u00d7D\u00d7H).", "Nine \u00d84.3 mm holes in two staggered rows, 18.6 \u00d7 18.4 mm pitch."], "text": "Rectangular body, 99.24 \u00d7 84.1 \u00d7 80 mm (W\u00d7D\u00d7H). Nine \u00d84.3 mm holes in two staggered rows, 18.6 \u00d7 18.4 mm pitch."}, "params": {"block_w": {"type": "float", "default": 99.24, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 84.1, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 80.0, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 8.4, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 5, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332799 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 99.24, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 84.1, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 80.0, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 8.4, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 5, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 18.6\n    _ssy = 18.4\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462cac40_4236", "family": "enclosure", "tier": 1, "seed": 1177332800, "symmetry": "none", "op_count": 2, "ir_hash": "fce706fec75a216f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 24700.0, "surface_area": 17600.0, "principal_moments": [6790000.0, 17900000.0, 20000000.0], "n_faces": 11, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 75 \u00d7 35.8 \u00d7 30.6 mm (W\u00d7D\u00d7H).", "Hollowed to 2.9 mm wall thickness, open at top face."], "text": "Rectangular body, 75 \u00d7 35.8 \u00d7 30.6 mm (W\u00d7D\u00d7H). Hollowed to 2.9 mm wall thickness, open at top face."}, "params": {"enc_w": {"type": "float", "default": 75, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 35.8, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 30.6, "min": 12.2, "max": 61.2, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 2.9, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332800 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 75, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 35.8, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 30.6, \"min\": 12.2, \"max\": 61.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 2.9, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462cac41_4237", "family": "lofted", "tier": 0, "seed": 1177332801, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "c555e4bdd6638d36", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 67700.0, "surface_area": 10000.0, "principal_moments": [18500000.0, 20600000.0, 20600000.0], "n_faces": 8, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["Lofted body through 2 sections: 6-sided polygon section, 65 mm across corners \u2192 \u00d820.3 mm circular section."], "text": "Lofted body through 2 sections: 6-sided polygon section, 65 mm across corners \u2192 \u00d820.3 mm circular section."}, "params": {"loft_base": {"type": "float", "default": 65, "min": 32.5, "max": 104.0, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 20.3, "min": 8.1, "max": 78.0, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 50.6, "min": 20.2, "max": 101.2, "step": 1.0, "group": "Body", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332801 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 65, \"min\": 32.5, \"max\": 104.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 20.3, \"min\": 8.1, \"max\": 78.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 50.6, \"min\": 20.2, \"max\": 101.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .polygon(6, p[\"loft_base\"] * 0.5 * 2)\n        .workplane(offset=p[\"loft_h\"])\n        .circle(p[\"loft_top\"] / 2)\n        .loft(combine=True)\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462cac42_4238", "family": "flanged", "tier": 1, "seed": 1177332802, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "0843eac4dba55e99", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 14700.0, "surface_area": 6990.0, "principal_moments": [2220000.0, 2680000.0, 2680000.0], "n_faces": 14, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["Revolved body, \u00d821.75 mm \u00d7 32.3 mm tall with \u00d86.9 mm bore, \u00d849.8 mm \u00d7 2.8 mm flange.", "Eight \u00d85.3 mm holes on a \u00d829.8 mm bolt circle."], "text": "Revolved body, \u00d821.75 mm \u00d7 32.3 mm tall with \u00d86.9 mm bore, \u00d849.8 mm \u00d7 2.8 mm flange. Eight \u00d85.3 mm holes on a \u00d829.8 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 21.75, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 32.3, "min": 9.7, "max": 80.8, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 6.9, "min": 2.0, "max": 15.2, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 49.8, "min": 28.3, "max": 65.2, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 2.8, "min": 0.8, "max": 12.9, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 14.9, "min": 10.0, "max": 22.4, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 8, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332802 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 21.75, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 32.3, \"min\": 9.7, \"max\": 80.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 6.9, \"min\": 2.0, \"max\": 15.2, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 49.8, \"min\": 28.3, \"max\": 65.2, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 2.8, \"min\": 0.8, \"max\": 12.9, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 14.9, \"min\": 10.0, \"max\": 22.4, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462cac43_4239", "family": "flanged", "tier": 1, "seed": 1177332803, "symmetry": "none", "op_count": 2, "ir_hash": "9e9744fa8170ca0c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 30700.0, "surface_area": 12500.0, "principal_moments": [8860000.0, 8860000.0, 13599999.999999998], "n_faces": 14, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["Revolved body, \u00d830.01 mm \u00d7 27.6 mm tall with \u00d813.1 mm bore, \u00d872 mm \u00d7 4.6 mm flange.", "Eight \u00d84.3 mm holes on a \u00d843.2 mm bolt circle."], "text": "Revolved body, \u00d830.01 mm \u00d7 27.6 mm tall with \u00d813.1 mm bore, \u00d872 mm \u00d7 4.6 mm flange. Eight \u00d84.3 mm holes on a \u00d843.2 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 30.01, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 27.6, "min": 8.3, "max": 69.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 13.1, "min": 2.0, "max": 21.0, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 72.0, "min": 39.0, "max": 90.0, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 4.6, "min": 1.4, "max": 11.0, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 21.6, "min": 14.4, "max": 32.4, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 8, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332803 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 30.01, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 27.6, \"min\": 8.3, \"max\": 69.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 13.1, \"min\": 2.0, \"max\": 21.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 72.0, \"min\": 39.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 4.6, \"min\": 1.4, \"max\": 11.0, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 21.6, \"min\": 14.4, \"max\": 32.4, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462cac44_4240", "family": "tapped", "tier": 1, "seed": 1177332804, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "80cf1e631029b3fd", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 58600.0, "surface_area": 15200.0, "principal_moments": [21600000.0, 35100000.0, 55599999.99999999], "n_faces": 362, "n_edges": 992, "n_vertices": 632}, "dimensions": {"lines": ["Four M6x1 tapped holes in a plate."], "text": "Four M6x1 tapped holes in a plate."}, "params": {"major_d": {"type": "float", "default": 6.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 1.0, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 10.8, "min": 7.2, "max": 19.4, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "plate_w": {"type": "float", "default": 84.07, "min": 50.4, "max": 134.5, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 65.7, "min": 39.4, "max": 105.1, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332804 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.0, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 10.8, \"min\": 7.2, \"max\": 19.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"plate_w\": {\"type\": 'float', \"default\": 84.07, \"min\": 50.4, \"max\": 134.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 65.7, \"min\": 39.4, \"max\": 105.1, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n}\n\n\ndef build(p):\n\n    _W, _D, _H = p[\"plate_w\"], p[\"plate_d\"], p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Box(_W, _D, _H)\n    _sx, _sy = p[\"plate_w\"] * 0.6, p[\"plate_d\"] * 0.6\n    _locs = [(_xx, _yy) for _xx in (-_sx / 2, _sx / 2) for _yy in (-_sy / 2, _sy / 2)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462cac45_4241", "family": "plate", "tier": 0, "seed": 1177332805, "symmetry": "none", "op_count": 1, "ir_hash": "ad69cad229576c54", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 15600.0, "surface_area": 6580.0, "principal_moments": [1220000.0, 9660000.0, 10800000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 86.12 \u00d7 30.1 \u00d7 6 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 86.12 \u00d7 30.1 \u00d7 6 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 86.12, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 30.1, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 6.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332805 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 86.12, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 30.1, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462cac46_4242", "family": "ribbed", "tier": 1, "seed": 1177332806, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "e80251bcf544e3fa", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 34900.0, "surface_area": 14200.0, "principal_moments": [8400000.0, 17700000.0, 24799999.999999996], "n_faces": 30, "n_edges": 72, "n_vertices": 44}, "dimensions": {"lines": ["Rectangular body, 75 \u00d7 50.1 \u00d7 8 mm (W\u00d7D\u00d7H).", "Three ribs, 2.2 mm thick, 12.3 mm tall."], "text": "Rectangular body, 75 \u00d7 50.1 \u00d7 8 mm (W\u00d7D\u00d7H). Three ribs, 2.2 mm thick, 12.3 mm tall."}, "params": {"base_w": {"type": "float", "default": 75, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 50.1, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 8.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 3, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 12.3, "min": 4.9, "max": 24.6, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 2.2, "min": 1.0, "max": 5.5, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332806 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 75, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 50.1, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 3, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 12.3, \"min\": 4.9, \"max\": 24.6, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 2.2, \"min\": 1.0, \"max\": 5.5, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462cac47_4243", "family": "plate", "tier": 2, "seed": 1177332807, "symmetry": "none", "op_count": 3, "ir_hash": "4e00f9f218cf0819", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 8540.0, "surface_area": 3370.0, "principal_moments": [370000.0, 1350000.0, 1580000.0], "n_faces": 14, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 42.85 \u00d7 20.7 \u00d7 10 mm (W\u00d7D\u00d7H).", "Four \u00d83.2 mm holes at the corners, 29.995 \u00d7 14.49 mm spacing.", "Fillet radius 0.945 mm on vertical edges."], "text": "Rectangular body, 42.85 \u00d7 20.7 \u00d7 10 mm (W\u00d7D\u00d7H). Four \u00d83.2 mm holes at the corners, 29.995 \u00d7 14.49 mm spacing. Fillet radius 0.945 mm on vertical edges."}, "params": {"plate_w": {"type": "float", "default": 42.85, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 20.7, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 4.7, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332807 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 42.85, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 20.7, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 4.7, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"plate_w\"], p[\"plate_d\"]) * 0.04563019615751486)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462cac48_4244", "family": "bracket", "tier": 1, "seed": 1177332808, "symmetry": "none", "op_count": 1, "ir_hash": "42193185cb1892ff", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 19500.0, "surface_area": 9270.0, "principal_moments": [5360000.0, 6440000.0, 9630000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["L-bracket: base leg 48.08 mm, vertical leg 34.5 mm, 50.96 mm wide, 5 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."], "text": "L-bracket: base leg 48.08 mm, vertical leg 34.5 mm, 50.96 mm wide, 5 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 48.08, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 34.5, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 50.96, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 5.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332808 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 48.08, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 34.5, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 50.96, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462cac49_4245", "family": "threaded", "tier": 2, "seed": 1177332809, "symmetry": "none", "op_count": 1, "ir_hash": "7c7494404a505e1d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 13700.0, "surface_area": 5660.0, "principal_moments": [576000.0, 3540000.0, 3540000.0], "n_faces": 140, "n_edges": 358, "n_vertices": 220}, "dimensions": {"lines": ["Tr 20x4 external thread, 54 mm long."], "text": "Tr 20x4 external thread, 54 mm long."}, "params": {"thread_size": {"type": "enum", "default": "20x4", "choices": ["8x1.5", "10x2", "12x3", "14x3", "16x4", "18x4", "20x4", "24x5", "28x5", "30x6", "36x6", "40x7"], "group": "Thread", "label": "Size designation"}, "thread_len": {"type": "float", "default": 54.0, "min": 21.6, "max": 108.0, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332809 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"thread_size\": {\"type\": 'enum', \"default\": '20x4', \"choices\": ['8x1.5', '10x2', '12x3', '14x3', '16x4', '18x4', '20x4', '24x5', '28x5', '30x6', '36x6', '40x7'], \"group\": 'Thread', \"label\": 'Size designation'},\n    \"thread_len\": {\"type\": 'float', \"default\": 54.0, \"min\": 21.6, \"max\": 108.0, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.MetricTrapezoidalThread(size=p[\"thread_size\"], length=p[\"thread_len\"], external=True, end_finishes=(\"fade\", \"fade\"))\n    _r = _thr.min_radius if hasattr(_thr, 'min_radius') else _thr.root_radius\n    _shank = _bd.Cylinder(radius=_r, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = _shank + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462cac4a_4246", "family": "revolved", "tier": 1, "seed": 1177332810, "symmetry": "none", "op_count": 1, "ir_hash": "a418a188503bb6a9", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 1070.0, "surface_area": 1150.0, "principal_moments": [18000.0, 48000.0, 48000.0], "n_faces": 4, "n_edges": 6, "n_vertices": 4}, "dimensions": {"lines": ["Revolved body, \u00d810 mm \u00d7 20.9 mm tall with \u00d85.9 mm bore."], "text": "Revolved body, \u00d810 mm \u00d7 20.9 mm tall with \u00d85.9 mm bore."}, "params": {"outer_d": {"type": "float", "default": 10, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 20.9, "min": 6.3, "max": 62.7, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 5.9, "min": 2.0, "max": 7.0, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332810 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 10, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 20.9, \"min\": 6.3, \"max\": 62.7, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 5.9, \"min\": 2.0, \"max\": 7.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462cac4b_4247", "family": "bracket", "tier": 3, "seed": 1177332811, "symmetry": "none", "op_count": 1, "ir_hash": "40f984a9a961afb5", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 7590.0, "surface_area": 4050.0, "principal_moments": [576000.0, 2090000.0, 2170000.0], "n_faces": 14, "n_edges": 37, "n_vertices": 24}, "dimensions": {"lines": ["L-bracket: base leg 47.03 mm, vertical leg 31.1 mm, 20 mm wide, 5 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg; 5.8 mm corner gusset."], "text": "L-bracket: base leg 47.03 mm, vertical leg 31.1 mm, 20 mm wide, 5 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg; 5.8 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 47.03, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 31.1, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 20, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 5.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 8.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 5.8, "min": 2.5, "max": 10.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332811 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 47.03, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 31.1, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 20, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 8.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 5.8, \"min\": 2.5, \"max\": 10.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462cac4c_4248", "family": "revolved", "tier": 1, "seed": 1177332812, "symmetry": "none", "op_count": 2, "ir_hash": "2454a7949a750ab1", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 33800.0, "surface_area": 8530.0, "principal_moments": [8130000.0, 8130000.0, 11699999.999999998], "n_faces": 8, "n_edges": 14, "n_vertices": 8}, "dimensions": {"lines": ["Revolved body, \u00d846.31 mm \u00d7 28.6 mm tall with \u00d825.1 mm bore.", "Chamfer 1 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d846.31 mm \u00d7 28.6 mm tall with \u00d825.1 mm bore. Chamfer 1 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 46.31, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 28.6, "min": 8.6, "max": 85.8, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 25.1, "min": 2.0, "max": 32.4, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "end_chamfer": {"type": "float", "default": 1.0, "min": 0.1, "max": 3.0, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332812 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 46.31, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 28.6, \"min\": 8.6, \"max\": 85.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 25.1, \"min\": 2.0, \"max\": 32.4, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 1.0, \"min\": 0.1, \"max\": 3.0, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462cac4d_4249", "family": "block", "tier": 1, "seed": 1177332813, "symmetry": "radial", "op_count": 2, "ir_hash": "b90cfbc2c59192ed", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 630000.0, "surface_area": 55700.0, "principal_moments": [697000000.0, 793000000.0, 954000000.0], "n_faces": 14, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 90 \u00d7 71.3 \u00d7 100 mm (W\u00d7D\u00d7H).", "Eight \u00d84.3 mm holes on a \u00d854 mm bolt circle."], "text": "Rectangular body, 90 \u00d7 71.3 \u00d7 100 mm (W\u00d7D\u00d7H). Eight \u00d84.3 mm holes on a \u00d854 mm bolt circle."}, "params": {"block_w": {"type": "float", "default": 90, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 71.3, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 100.0, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "bolt_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 27.0, "min": 18.0, "max": 40.5, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 8, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332813 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 90, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 71.3, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 100.0, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 27.0, \"min\": 18.0, \"max\": 40.5, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462cac4e_4250", "family": "bracket", "tier": 2, "seed": 1177332814, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "f7383aebc7f315a1", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 57100.0, "surface_area": 17700.0, "principal_moments": [29299999.999999996, 30899999.999999996, 36300000.0], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["C-channel bracket: base leg 47.8 mm, vertical leg 55.9 mm, 50 mm wide, 8 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg; 11.5 mm corner gusset."], "text": "C-channel bracket: base leg 47.8 mm, vertical leg 55.9 mm, 50 mm wide, 8 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg; 11.5 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 47.8, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 55.9, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 50, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 8.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 11.5, "min": 4.0, "max": 24.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332814 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 47.8, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 55.9, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 50, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 11.5, \"min\": 4.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl / 2, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bl - _bt, _bt).lineTo(_bl - _bt - _g, _bt)\n                    .lineTo(_bl - _bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462cac4f_4251", "family": "plate", "tier": 1, "seed": 1177332815, "symmetry": "none", "op_count": 2, "ir_hash": "91496546f1908ec1", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 53600.0, "surface_area": 17600.0, "principal_moments": [17300000.0, 57099999.99999999, 73800000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 115 \u00d7 62.9 \u00d7 8 mm (W\u00d7D\u00d7H).", "Four \u00d813 mm holes at the corners, 80.5 \u00d7 44.03 mm spacing."], "text": "Rectangular body, 115 \u00d7 62.9 \u00d7 8 mm (W\u00d7D\u00d7H). Four \u00d813 mm holes at the corners, 80.5 \u00d7 44.03 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 115, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 62.9, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 13.0, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332815 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 115, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 62.9, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 13.0, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462cac50_4252", "family": "ribbed", "tier": 2, "seed": 1177332816, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "231a18e33144bc8b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 8450.0, "surface_area": 6310.0, "principal_moments": [919000.0, 1670000.0, 2470000.0], "n_faces": 46, "n_edges": 112, "n_vertices": 68}, "dimensions": {"lines": ["Rectangular body, 48.18 \u00d7 31.6 \u00d7 3 mm (W\u00d7D\u00d7H).", "Five ribs, 3.3 mm thick, 6.1 mm tall."], "text": "Rectangular body, 48.18 \u00d7 31.6 \u00d7 3 mm (W\u00d7D\u00d7H). Five ribs, 3.3 mm thick, 6.1 mm tall."}, "params": {"base_w": {"type": "float", "default": 48.18, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 31.6, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 3.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 5, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 6.1, "min": 2.4, "max": 12.2, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 3.3, "min": 1.0, "max": 8.2, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332816 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 48.18, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 31.6, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 5, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 6.1, \"min\": 2.4, \"max\": 12.2, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 3.3, \"min\": 1.0, \"max\": 8.2, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462cac51_4253", "family": "lofted", "tier": 2, "seed": 1177332817, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "43b5d78eb2271713", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 54100.0, "surface_area": 11900.0, "principal_moments": [12699999.999999998, 19200000.0, 19200000.0], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["Lofted body through 3 sections: 6-sided polygon section, 48.77 mm across corners \u2192 6-sided polygon section, 42.3 mm across corners \u2192 35.8 \u00d7 35.8 mm rectangular section.", "One \u00d816 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 3 sections: 6-sided polygon section, 48.77 mm across corners \u2192 6-sided polygon section, 42.3 mm across corners \u2192 35.8 \u00d7 35.8 mm rectangular section. One \u00d816 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 48.77, "min": 24.4, "max": 78.0, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 35.8, "min": 14.3, "max": 58.5, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 51.8, "min": 20.7, "max": 103.6, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_mid": {"type": "float", "default": 42.3, "min": 17.9, "max": 58.5, "step": 1.0, "group": "Body", "label": "Mid size (mm)"}, "loft_bore_d": {"type": "float", "default": 16.0, "min": 2.0, "max": 28.6, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332817 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 48.77, \"min\": 24.4, \"max\": 78.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 35.8, \"min\": 14.3, \"max\": 58.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 51.8, \"min\": 20.7, \"max\": 103.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_mid\": {\"type\": 'float', \"default\": 42.3, \"min\": 17.9, \"max\": 58.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Mid size (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 16.0, \"min\": 2.0, \"max\": 28.6, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .polygon(6, p[\"loft_base\"] * 0.5 * 2)\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .polygon(6, p[\"loft_mid\"] * 0.5 * 2)\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .rect(p[\"loft_top\"], p[\"loft_top\"])\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462cac52_4254", "family": "flanged", "tier": 3, "seed": 1177332818, "symmetry": "none", "op_count": 2, "ir_hash": "71e2d181762c4b06", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 22000.0, "surface_area": 9520.0, "principal_moments": [4540000.0, 4540000.0, 7120000.0], "n_faces": 10, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["Revolved body, \u00d830 mm \u00d7 21.7 mm tall with \u00d89.8 mm bore, \u00d864.7 mm \u00d7 3.4 mm flange.", "Four \u00d86.4 mm holes on a \u00d838.8 mm bolt circle."], "text": "Revolved body, \u00d830 mm \u00d7 21.7 mm tall with \u00d89.8 mm bore, \u00d864.7 mm \u00d7 3.4 mm flange. Four \u00d86.4 mm holes on a \u00d838.8 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 30, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 21.7, "min": 6.5, "max": 54.2, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 9.8, "min": 2.0, "max": 21.0, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 64.7, "min": 39.0, "max": 90.0, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 3.4, "min": 1.0, "max": 8.7, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 19.4, "min": 12.9, "max": 29.1, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 4, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332818 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 30, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 21.7, \"min\": 6.5, \"max\": 54.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 9.8, \"min\": 2.0, \"max\": 21.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 64.7, \"min\": 39.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 3.4, \"min\": 1.0, \"max\": 8.7, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 19.4, \"min\": 12.9, \"max\": 29.1, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 4, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462cac53_4255", "family": "revolved", "tier": 0, "seed": 1177332819, "symmetry": "radial", "op_count": 1, "ir_hash": "fc13261223122ad9", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 33800.0, "surface_area": 9810.0, "principal_moments": [6210000.0, 8680000.0, 8680000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d835 mm \u00d7 52.7 mm tall."], "text": "Revolved body, \u00d835 mm \u00d7 52.7 mm tall."}, "params": {"outer_d": {"type": "float", "default": 35, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 52.7, "min": 15.8, "max": 158.1, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332819 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 35, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 52.7, \"min\": 15.8, \"max\": 158.1, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462cac54_4256", "family": "tapped", "tier": 2, "seed": 1177332820, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "1a5f688fc50a4ec3", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 33100.0, "surface_area": 7910.0, "principal_moments": [6120000.0, 6120000.0, 8630000.0], "n_faces": 196, "n_edges": 556, "n_vertices": 362}, "dimensions": {"lines": ["One M16x2 tapped hole in a cylinder."], "text": "One M16x2 tapped hole in a cylinder."}, "params": {"major_d": {"type": "float", "default": 16.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 2.0, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 25.6, "min": 19.2, "max": 46.1, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "body_d": {"type": "float", "default": 43.2, "min": 28.8, "max": 69.1, "step": 1.0, "group": "Body", "label": "Outer \u00d8 (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332820 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 16.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 2.0, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 25.6, \"min\": 19.2, \"max\": 46.1, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"body_d\": {\"type\": 'float', \"default\": 43.2, \"min\": 28.8, \"max\": 69.1, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer \u00d8 (mm)'},\n}\n\n\ndef build(p):\n\n    _W = _D = p[\"body_d\"]\n    _H = p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Cylinder(radius=_W / 2, height=_H)\n    _locs = [(0.0, 0.0)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462cac55_4257", "family": "gear", "tier": 0, "seed": 1177332821, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "fece837d9eeed4c3", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 211000.0, "surface_area": 36400.0, "principal_moments": [200000000.0, 200000000.0, 386000000.0], "n_faces": 122, "n_edges": 360, "n_vertices": 240}, "dimensions": {"lines": ["Spur gear, module 6 mm, 20 teeth (pitch \u00d8120 mm), face width 19 mm."], "text": "Spur gear, module 6 mm, 20 teeth (pitch \u00d8120 mm), face width 19 mm."}, "params": {"module": {"type": "float", "default": 6.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 20, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 19.0, "min": 7.6, "max": 47.5, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332821 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 6.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 20, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 19.0, \"min\": 7.6, \"max\": 47.5, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462cac57_4259", "family": "compound", "tier": 1, "seed": 1177332823, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "ba19a1e942b08d2d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 25500.0, "surface_area": 7490.0, "principal_moments": [4610000.0, 4690000.0, 5390000.0], "n_faces": 10, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["5-sided polygon section, 49.18 mm across corners, extruded 14.8 mm thick.", "\u00d821.1 mm circular section attachment, 21.5 mm long, from top face with a \u00d810.8 mm bore."], "text": "5-sided polygon section, 49.18 mm across corners, extruded 14.8 mm thick. \u00d821.1 mm circular section attachment, 21.5 mm long, from top face with a \u00d810.8 mm bore."}, "params": {"base_sides": {"type": "int", "default": 5, "min": 3, "max": 8, "step": 1, "group": "Base", "label": "Base sides"}, "base_r": {"type": "float", "default": 24.59, "min": 14.8, "max": 39.3, "step": 1.0, "group": "Base", "label": "Base circumradius (mm)"}, "base_h": {"type": "float", "default": 14.8, "min": 5.9, "max": 37.0, "step": 1.0, "group": "Base", "label": "Base height (mm)"}, "col_d": {"type": "float", "default": 21.1, "min": 10.6, "max": 31.8, "step": 1.0, "group": "Column", "label": "Column diameter (mm)"}, "col_h": {"type": "float", "default": 21.5, "min": 6.5, "max": 53.8, "step": 1.0, "group": "Column", "label": "Column height (mm)"}, "col_bore": {"type": "float", "default": 10.8, "min": 2.0, "max": 15.2, "step": 0.5, "group": "Column", "label": "Column bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332823 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_sides\": {\"type\": 'int', \"default\": 5, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Base', \"label\": 'Base sides'},\n    \"base_r\": {\"type\": 'float', \"default\": 24.59, \"min\": 14.8, \"max\": 39.3, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base circumradius (mm)'},\n    \"base_h\": {\"type\": 'float', \"default\": 14.8, \"min\": 5.9, \"max\": 37.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base height (mm)'},\n    \"col_d\": {\"type\": 'float', \"default\": 21.1, \"min\": 10.6, \"max\": 31.8, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column diameter (mm)'},\n    \"col_h\": {\"type\": 'float', \"default\": 21.5, \"min\": 6.5, \"max\": 53.8, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column height (mm)'},\n    \"col_bore\": {\"type\": 'float', \"default\": 10.8, \"min\": 2.0, \"max\": 15.2, \"step\": 0.5, \"group\": 'Column', \"label\": 'Column bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').polygon(p[\"base_sides\"], p[\"base_r\"] * 2).extrude(p[\"base_h\"]))\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"col_d\"] / 2).extrude(p[\"col_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"col_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462cac58_4260", "family": "profiled", "tier": 0, "seed": 1177332824, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "5d70e8e641ae45cb", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 47800.0, "surface_area": 13300.0, "principal_moments": [2690000.0, 108000000.0, 108000000.0], "n_faces": 5, "n_edges": 9, "n_vertices": 6}, "dimensions": {"lines": ["3-sided polygon section, 30 mm across corners, extruded 163.7 mm thick."], "text": "3-sided polygon section, 30 mm across corners, extruded 163.7 mm thick."}, "params": {"circ_r": {"type": "float", "default": 15, "min": 7.5, "max": 30.0, "step": 1.0, "group": "Profile", "label": "Circumscribed radius (mm)"}, "n_sides": {"type": "int", "default": 3, "min": 3, "max": 8, "step": 1, "group": "Profile", "label": "Sides"}, "length": {"type": "float", "default": 163.7, "min": 49.1, "max": 491.1, "step": 5.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332824 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"circ_r\": {\"type\": 'float', \"default\": 15, \"min\": 7.5, \"max\": 30.0, \"step\": 1.0, \"group\": 'Profile', \"label\": 'Circumscribed radius (mm)'},\n    \"n_sides\": {\"type\": 'int', \"default\": 3, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Profile', \"label\": 'Sides'},\n    \"length\": {\"type\": 'float', \"default\": 163.7, \"min\": 49.1, \"max\": 491.1, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').polygon(p[\"n_sides\"], p[\"circ_r\"] * 2).extrude(p[\"length\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462cac59_4261", "family": "plate", "tier": 2, "seed": 1177332825, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "1557b1dd7537605e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 5770.0, "surface_area": 3830.0, "principal_moments": [310000.0, 1690000.0, 1980000.0], "n_faces": 14, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 60 \u00d7 25.5 \u00d7 4 mm (W\u00d7D\u00d7H).", "Four \u00d85.3 mm holes at the corners, 42 \u00d7 17.85 mm spacing.", "Fillet radius 0.733 mm on vertical edges."], "text": "Rectangular body, 60 \u00d7 25.5 \u00d7 4 mm (W\u00d7D\u00d7H). Four \u00d85.3 mm holes at the corners, 42 \u00d7 17.85 mm spacing. Fillet radius 0.733 mm on vertical edges."}, "params": {"plate_w": {"type": "float", "default": 60, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 25.5, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 4.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 5.7, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332825 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 60, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 25.5, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 4.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 5.7, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"plate_w\"], p[\"plate_d\"]) * 0.028745803564332054)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462cac5a_4262", "family": "bracket", "tier": 1, "seed": 1177332826, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "8ad182577637ff52", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 19300.0, "surface_area": 9170.0, "principal_moments": [2730000.0, 6980000.0, 7450000.0], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["C-channel bracket: base leg 25 mm, vertical leg 25 mm, 60 mm wide, 5 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."], "text": "C-channel bracket: base leg 25 mm, vertical leg 25 mm, 60 mm wide, 5 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 25.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 25.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 60.0, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 5.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332826 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 25.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 25.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 60.0, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462cac5b_4263", "family": "revolved", "tier": 0, "seed": 1177332827, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "d5582d3e01e99a3e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 275000.0, "surface_area": 48100.0, "principal_moments": [121000000.0, 581000000.0, 581000000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d854.19 mm \u00d7 178.7 mm tall."], "text": "Revolved body, \u00d854.19 mm \u00d7 178.7 mm tall."}, "params": {"outer_d": {"type": "float", "default": 54.19, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 178.7, "min": 53.6, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332827 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 54.19, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 178.7, \"min\": 53.6, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462cac5c_4264", "family": "revolved", "tier": 1, "seed": 1177332828, "symmetry": "none", "op_count": 2, "ir_hash": "ef34ad4d64fea290", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 945000.0, "surface_area": 96700.0, "principal_moments": [716000000.0, 6620000000.0, 6620000000.0], "n_faces": 8, "n_edges": 14, "n_vertices": 8}, "dimensions": {"lines": ["Revolved body, \u00d871.88 mm \u00d7 282 mm tall with \u00d830 mm bore.", "Chamfer 0.8 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d871.88 mm \u00d7 282 mm tall with \u00d830 mm bore. Chamfer 0.8 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 71.88, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 282.0, "min": 84.6, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 30.0, "min": 2.0, "max": 50.3, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "end_chamfer": {"type": "float", "default": 0.8, "min": 0.1, "max": 2.4, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332828 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 71.88, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 282.0, \"min\": 84.6, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 30.0, \"min\": 2.0, \"max\": 50.3, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.8, \"min\": 0.1, \"max\": 2.4, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462cac5d_4265", "family": "ribbed", "tier": 1, "seed": 1177332829, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "efb973376119a62d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 45600.0, "surface_area": 18800.0, "principal_moments": [17500000.0, 40000000.0, 56699999.99999999], "n_faces": 30, "n_edges": 72, "n_vertices": 44}, "dimensions": {"lines": ["Rectangular body, 100 \u00d7 64.5 \u00d7 6 mm (W\u00d7D\u00d7H).", "Three ribs, 4.1 mm thick, 7 mm tall."], "text": "Rectangular body, 100 \u00d7 64.5 \u00d7 6 mm (W\u00d7D\u00d7H). Three ribs, 4.1 mm thick, 7 mm tall."}, "params": {"base_w": {"type": "float", "default": 100.0, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 64.5, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 6.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 3, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 7.0, "min": 2.8, "max": 14.0, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 4.1, "min": 1.0, "max": 10.2, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332829 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 100.0, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 64.5, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 3, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 7.0, \"min\": 2.8, \"max\": 14.0, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 4.1, \"min\": 1.0, \"max\": 10.2, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462cac5e_4266", "family": "flanged", "tier": 1, "seed": 1177332830, "symmetry": "radial", "op_count": 2, "ir_hash": "20e9f0c99936b51f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 712000.0, "surface_area": 107000.0, "principal_moments": [1660000000.0, 1660000000.0, 2410000000.0], "n_faces": 12, "n_edges": 27, "n_vertices": 18}, "dimensions": {"lines": ["Revolved body, \u00d897.01 mm \u00d7 80.6 mm tall with \u00d847.1 mm bore, \u00d8212.1 mm \u00d7 9.2 mm flange.", "Six \u00d83.2 mm holes on a \u00d8127.2 mm bolt circle."], "text": "Revolved body, \u00d897.01 mm \u00d7 80.6 mm tall with \u00d847.1 mm bore, \u00d8212.1 mm \u00d7 9.2 mm flange. Six \u00d83.2 mm holes on a \u00d8127.2 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 97.01, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 80.6, "min": 24.2, "max": 201.5, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 47.1, "min": 2.0, "max": 67.9, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 212.1, "min": 126.1, "max": 291.0, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 9.2, "min": 2.8, "max": 32.2, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 63.6, "min": 42.4, "max": 95.4, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 6, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332830 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 97.01, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 80.6, \"min\": 24.2, \"max\": 201.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 47.1, \"min\": 2.0, \"max\": 67.9, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 212.1, \"min\": 126.1, \"max\": 291.0, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 9.2, \"min\": 2.8, \"max\": 32.2, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 63.6, \"min\": 42.4, \"max\": 95.4, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462cac5f_4267", "family": "lofted", "tier": 1, "seed": 1177332831, "symmetry": "none", "op_count": 2, "ir_hash": "b2bed2c2797f3b13", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 15400.0, "surface_area": 4870.0, "principal_moments": [1870000.0, 1870000.0, 2430000.0], "n_faces": 8, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["Lofted body through 2 sections: 34.53 \u00d7 34.53 mm rectangular section \u2192 \u00d822.5 mm circular section.", "One \u00d812.4 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 2 sections: 34.53 \u00d7 34.53 mm rectangular section \u2192 \u00d822.5 mm circular section. One \u00d812.4 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 34.53, "min": 17.3, "max": 55.2, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 22.5, "min": 9.0, "max": 41.4, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 23.9, "min": 9.6, "max": 47.8, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_bore_d": {"type": "float", "default": 12.4, "min": 2.0, "max": 18.0, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332831 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 34.53, \"min\": 17.3, \"max\": 55.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 22.5, \"min\": 9.0, \"max\": 41.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 23.9, \"min\": 9.6, \"max\": 47.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 12.4, \"min\": 2.0, \"max\": 18.0, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .rect(p[\"loft_base\"], p[\"loft_base\"])\n        .workplane(offset=p[\"loft_h\"])\n        .circle(p[\"loft_top\"] / 2)\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462cac60_4268", "family": "revolved", "tier": 1, "seed": 1177332832, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "0d3d075f7072c796", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 388000.0, "surface_area": 44000.0, "principal_moments": [188000000.0, 915000000.0, 915000000.0], "n_faces": 8, "n_edges": 14, "n_vertices": 8}, "dimensions": {"lines": ["Revolved body, \u00d859.03 mm \u00d7 159.4 mm tall with \u00d819.6 mm bore.", "Chamfer 0.7 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d859.03 mm \u00d7 159.4 mm tall with \u00d819.6 mm bore. Chamfer 0.7 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 59.03, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 159.4, "min": 47.8, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 19.6, "min": 2.0, "max": 41.3, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "end_chamfer": {"type": "float", "default": 0.7, "min": 0.1, "max": 2.1, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332832 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 59.03, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 159.4, \"min\": 47.8, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 19.6, \"min\": 2.0, \"max\": 41.3, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.7, \"min\": 0.1, \"max\": 2.1, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462cac61_4269", "family": "plate", "tier": 1, "seed": 1177332833, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "066d3d21d026934e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 42400.0, "surface_area": 13700.0, "principal_moments": [8640000.0, 42700000.0, 50899999.99999999], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 110 \u00d7 49 \u00d7 8 mm (W\u00d7D\u00d7H).", "Four \u00d85.3 mm holes at the corners, 77 \u00d7 34.3 mm spacing."], "text": "Rectangular body, 110 \u00d7 49 \u00d7 8 mm (W\u00d7D\u00d7H). Four \u00d85.3 mm holes at the corners, 77 \u00d7 34.3 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 110, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 49.0, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 11.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332833 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 110, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 49.0, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 11.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462cac62_4270", "family": "flanged", "tier": 1, "seed": 1177332834, "symmetry": "radial", "op_count": 2, "ir_hash": "981b414ca44210ff", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 4800.0, "surface_area": 3730.0, "principal_moments": [372000.0, 372000.0, 405000.0], "n_faces": 17, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Revolved body, \u00d821.15 mm \u00d7 18.9 mm tall with \u00d87.8 mm bore, \u00d834.7 mm \u00d7 1.8 mm flange.", "Six \u00d86.4 mm holes on a \u00d820.8 mm bolt circle."], "text": "Revolved body, \u00d821.15 mm \u00d7 18.9 mm tall with \u00d87.8 mm bore, \u00d834.7 mm \u00d7 1.8 mm flange. Six \u00d86.4 mm holes on a \u00d820.8 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 21.15, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 18.9, "min": 5.7, "max": 47.2, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 7.8, "min": 2.0, "max": 14.8, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 34.7, "min": 27.5, "max": 63.4, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 1.8, "min": 0.5, "max": 7.6, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 10.4, "min": 6.9, "max": 15.6, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 6, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332834 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 21.15, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 18.9, \"min\": 5.7, \"max\": 47.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 7.8, \"min\": 2.0, \"max\": 14.8, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 34.7, \"min\": 27.5, \"max\": 63.4, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 1.8, \"min\": 0.5, \"max\": 7.6, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 10.4, \"min\": 6.9, \"max\": 15.6, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462cac63_4271", "family": "plate", "tier": 2, "seed": 1177332835, "symmetry": "none", "op_count": 2, "ir_hash": "845515f82aae6c3e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 15600.0, "surface_area": 7330.0, "principal_moments": [1350000.0, 9130000.0, 10400000.0], "n_faces": 38, "n_edges": 108, "n_vertices": 72}, "dimensions": {"lines": ["Rectangular body, 85.71 \u00d7 31.8 \u00d7 6 mm (W\u00d7D\u00d7H).", "Eight 5.8 \u00d7 3.2 mm slots in a 2\u00d74 grid, 68.6 \u00d7 8.5 mm pitch."], "text": "Rectangular body, 85.71 \u00d7 31.8 \u00d7 6 mm (W\u00d7D\u00d7H). Eight 5.8 \u00d7 3.2 mm slots in a 2\u00d74 grid, 68.6 \u00d7 8.5 mm pitch."}, "params": {"plate_w": {"type": "float", "default": 85.71, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 31.8, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 6.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 3.8, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 2, "min": 1, "max": 4, "step": 1, "group": "Holes", "label": "Holes across"}, "hole_ny": {"type": "int", "default": 4, "min": 1, "max": 4, "step": 1, "group": "Holes", "label": "Holes deep"}, "hole_slot_len": {"type": "float", "default": 5.8, "min": 4.8, "max": 5.9, "step": 0.5, "group": "Holes", "label": "Slot length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332835 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 85.71, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 31.8, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 3.8, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 2, \"min\": 1, \"max\": 4, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes across'},\n    \"hole_ny\": {\"type\": 'int', \"default\": 4, \"min\": 1, \"max\": 4, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes deep'},\n    \"hole_slot_len\": {\"type\": 'float', \"default\": 5.8, \"min\": 4.8, \"max\": 5.9, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Slot length (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(68.6, 8.5, p[\"hole_nx\"], p[\"hole_ny\"])\n        .slot2D(p[\"hole_slot_len\"], p[\"hole_d\"]).cutThruAll()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462cac65_4273", "family": "sketched", "tier": 1, "seed": 1177332837, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "208bc9907901f7ea", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 69800.0, "surface_area": 10600.0, "principal_moments": [15299999.999999998, 22999999.999999996, 27799999.999999996], "n_faces": 8, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["freeform sketched section (5 segments: 3 straight, 1 arc, 1 curve), ~54.477 \u00d7 61.113 mm, extruded 30 mm thick.", "One \u00d86.4 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "freeform sketched section (5 segments: 3 straight, 1 arc, 1 curve), ~54.477 \u00d7 61.113 mm, extruded 30 mm thick. One \u00d86.4 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"sk_w": {"type": "float", "default": 85, "min": 42.5, "max": 153.0, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 65, "min": 32.5, "max": 117.0, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "sk_t": {"type": "float", "default": 30.0, "min": 12.0, "max": 66.0, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "sk_hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 12.8, "step": 0.5, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332837 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 85, \"min\": 42.5, \"max\": 153.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 65, \"min\": 32.5, \"max\": 117.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"sk_t\": {\"type\": 'float', \"default\": 30.0, \"min\": 12.0, \"max\": 66.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"sk_hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 12.8, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.3292, p[\"sk_h\"] * 0.0086).threePointArc((p[\"sk_w\"] * 0.2698, p[\"sk_h\"] * 0.3129), (p[\"sk_w\"] * 0.0827, p[\"sk_h\"] * 0.4793)).lineTo(p[\"sk_w\"] * -0.2978, p[\"sk_h\"] * 0.1229).lineTo(p[\"sk_w\"] * -0.3117, p[\"sk_h\"] * -0.3179).lineTo(p[\"sk_w\"] * -0.0577, p[\"sk_h\"] * -0.4609).spline([(p[\"sk_w\"] * -0.0577, p[\"sk_h\"] * -0.4609), (p[\"sk_w\"] * 0.2014, p[\"sk_h\"] * -0.2803), (p[\"sk_w\"] * 0.3292, p[\"sk_h\"] * 0.0086)]).close().extrude(p[\"sk_t\"]))\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"sk_hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462cac66_4274", "family": "plate", "tier": 3, "seed": 1177332838, "symmetry": "none", "op_count": 4, "ir_hash": "d8af1c1375ce2b83", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 5370.0, "surface_area": 2110.0, "principal_moments": [244000.0, 307000.0, 310000.0], "n_faces": 29, "n_edges": 56, "n_vertices": 36}, "dimensions": {"lines": ["Rectangular body, 25 \u00d7 10 \u00d7 6 mm (W\u00d7D\u00d7H).", "Seven \u00d81.2 mm holes in two staggered rows, 6.2 \u00d7 5.5 mm pitch.", "Chamfer 0.5 mm on vertical edges.", "Boss \u00d821.3 mm \u00d7 11 mm tall on top face."], "text": "Rectangular body, 25 \u00d7 10 \u00d7 6 mm (W\u00d7D\u00d7H). Seven \u00d81.2 mm holes in two staggered rows, 6.2 \u00d7 5.5 mm pitch. Chamfer 0.5 mm on vertical edges. Boss \u00d821.3 mm \u00d7 11 mm tall on top face."}, "params": {"plate_w": {"type": "float", "default": 25, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 10.0, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 6.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 1.2, "min": 2.0, "max": 1.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 4, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}, "chamfer_d": {"type": "float", "default": 0.5, "min": 0.5, "max": 0.5, "step": 0.5, "group": "Body", "label": "Chamfer distance (mm)"}, "chamfered": {"type": "bool", "default": true, "group": "Body", "label": "Chamfer edges"}, "boss_d": {"type": "float", "default": 21.3, "min": 10.7, "max": 42.6, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 11.0, "min": 4.4, "max": 27.5, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332838 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 25, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 10.0, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 1.2, \"min\": 2.0, \"max\": 1.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 4, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n    \"chamfer_d\": {\"type\": 'float', \"default\": 0.5, \"min\": 0.5, \"max\": 0.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Chamfer distance (mm)'},\n    \"chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Chamfer edges'},\n    \"boss_d\": {\"type\": 'float', \"default\": 21.3, \"min\": 10.7, \"max\": 42.6, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 11.0, \"min\": 4.4, \"max\": 27.5, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 6.2\n    _ssy = 5.5\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    if p[\"chamfered\"]:\n        result = result.edges('|Z').chamfer(p[\"chamfer_d\"])\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462cac67_4275", "family": "revolved", "tier": 1, "seed": 1177332839, "symmetry": "radial", "op_count": 1, "ir_hash": "304251f90cb7c821", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 227000.0, "surface_area": 37200.0, "principal_moments": [204000000.0, 204000000.0, 270000000.0], "n_faces": 6, "n_edges": 9, "n_vertices": 6}, "dimensions": {"lines": ["Revolved body, \u00d872.14 mm \u00d7 57.5 mm tall with \u00d839.6 mm bore, \u00d8107.4 mm \u00d7 12.6 mm flange."], "text": "Revolved body, \u00d872.14 mm \u00d7 57.5 mm tall with \u00d839.6 mm bore, \u00d8107.4 mm \u00d7 12.6 mm flange."}, "params": {"outer_d": {"type": "float", "default": 72.14, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 57.5, "min": 17.2, "max": 172.5, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 39.6, "min": 2.0, "max": 50.5, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 107.4, "min": 86.6, "max": 216.4, "step": 1.0, "group": "Body", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 12.6, "min": 3.8, "max": 28.8, "step": 0.5, "group": "Body", "label": "Flange height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332839 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 72.14, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 57.5, \"min\": 17.2, \"max\": 172.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 39.6, \"min\": 2.0, \"max\": 50.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 107.4, \"min\": 86.6, \"max\": 216.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 12.6, \"min\": 3.8, \"max\": 28.8, \"step\": 0.5, \"group\": 'Body', \"label\": 'Flange height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462cac68_4276", "family": "bracket", "tier": 1, "seed": 1177332840, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "e2d7e7597b1d04d9", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 25300.0, "surface_area": 14500.0, "principal_moments": [11499999.999999998, 24799999.999999996, 31199999.999999996], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["C-channel bracket: base leg 72.53 mm, vertical leg 58.3 mm, 35 mm wide, 4 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."], "text": "C-channel bracket: base leg 72.53 mm, vertical leg 58.3 mm, 35 mm wide, 4 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 72.53, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 58.3, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 35, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 4.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332840 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 72.53, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 58.3, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 35, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462cac69_4277", "family": "compound", "tier": 1, "seed": 1177332841, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "9eb16d015ac6034e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 9290.0, "surface_area": 2710.0, "principal_moments": [413000.0, 1110000.0, 1110000.0], "n_faces": 5, "n_edges": 6, "n_vertices": 4}, "dimensions": {"lines": ["\u00d819.8 mm circular section, extruded 26.3 mm thick.", "\u00d810.4 mm circular section attachment, 14 mm long, from top face."], "text": "\u00d819.8 mm circular section, extruded 26.3 mm thick. \u00d810.4 mm circular section attachment, 14 mm long, from top face."}, "params": {"shaft_d": {"type": "float", "default": 19.8, "min": 9.9, "max": 35.6, "step": 1.0, "group": "Body", "label": "Shaft diameter (mm)"}, "shaft_len": {"type": "float", "default": 26.3, "min": 10.5, "max": 52.6, "step": 1.0, "group": "Body", "label": "Shaft length (mm)"}, "step_d": {"type": "float", "default": 10.4, "min": 5.2, "max": 17.8, "step": 1.0, "group": "Step", "label": "Step diameter (mm)"}, "step_len": {"type": "float", "default": 14.0, "min": 4.2, "max": 35.0, "step": 1.0, "group": "Step", "label": "Step length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332841 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"shaft_d\": {\"type\": 'float', \"default\": 19.8, \"min\": 9.9, \"max\": 35.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft diameter (mm)'},\n    \"shaft_len\": {\"type\": 'float', \"default\": 26.3, \"min\": 10.5, \"max\": 52.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft length (mm)'},\n    \"step_d\": {\"type\": 'float', \"default\": 10.4, \"min\": 5.2, \"max\": 17.8, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step diameter (mm)'},\n    \"step_len\": {\"type\": 'float', \"default\": 14.0, \"min\": 4.2, \"max\": 35.0, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').circle(p[\"shaft_d\"] / 2).extrude(p[\"shaft_len\"]))\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"step_d\"] / 2).extrude(p[\"step_len\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462cac6a_4278", "family": "gear", "tier": 1, "seed": 1177332842, "symmetry": "none", "op_count": 1, "ir_hash": "7100492fdf3af8c9", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 586000.0, "surface_area": 69400.0, "principal_moments": [927000000.0, 927000000.0, 1730000000.0], "n_faces": 153, "n_edges": 453, "n_vertices": 302}, "dimensions": {"lines": ["Spur gear, module 6 mm, 25 teeth (pitch \u00d8150 mm), face width 35.1 mm, \u00d830.8 mm bore."], "text": "Spur gear, module 6 mm, 25 teeth (pitch \u00d8150 mm), face width 35.1 mm, \u00d830.8 mm bore."}, "params": {"module": {"type": "float", "default": 6.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 25, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 35.1, "min": 14.0, "max": 87.8, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "bore_d": {"type": "float", "default": 30.8, "min": 2.0, "max": 81.0, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332842 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 6.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 25, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 35.1, \"min\": 14.0, \"max\": 87.8, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 30.8, \"min\": 2.0, \"max\": 81.0, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462cac6b_4279", "family": "flanged", "tier": 1, "seed": 1177332843, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "60d60b6b2b669513", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 849000.0, "surface_area": 97600.0, "principal_moments": [1880000000.0, 1950000000.0, 1950000000.0], "n_faces": 14, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["Revolved body, \u00d890 mm \u00d7 108.8 mm tall with \u00d827.4 mm bore, \u00d8186 mm \u00d7 10.7 mm flange.", "Eight \u00d85.3 mm holes on a \u00d8111.6 mm bolt circle."], "text": "Revolved body, \u00d890 mm \u00d7 108.8 mm tall with \u00d827.4 mm bore, \u00d8186 mm \u00d7 10.7 mm flange. Eight \u00d85.3 mm holes on a \u00d8111.6 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 90, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 108.8, "min": 32.6, "max": 272.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 27.4, "min": 2.0, "max": 63.0, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 186.0, "min": 117.0, "max": 270.0, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 10.7, "min": 3.2, "max": 43.5, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 55.8, "min": 37.2, "max": 83.7, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 8, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332843 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 90, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 108.8, \"min\": 32.6, \"max\": 272.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 27.4, \"min\": 2.0, \"max\": 63.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 186.0, \"min\": 117.0, \"max\": 270.0, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 10.7, \"min\": 3.2, \"max\": 43.5, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 55.8, \"min\": 37.2, \"max\": 83.7, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462cac6d_4281", "family": "bracket", "tier": 1, "seed": 1177332845, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "b4e6a514f5f3bc96", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 26300.0, "surface_area": 14700.0, "principal_moments": [9130000.0, 22200000.0, 22899999.999999996], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["C-channel bracket: base leg 66.45 mm, vertical leg 40.4 mm, 47.33 mm wide, 4 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."], "text": "C-channel bracket: base leg 66.45 mm, vertical leg 40.4 mm, 47.33 mm wide, 4 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 66.45, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 40.4, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 47.33, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 4.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332845 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 66.45, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 40.4, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 47.33, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462cac6e_4282", "family": "compound", "tier": 2, "seed": 1177332846, "symmetry": "none", "op_count": 3, "ir_hash": "1bb4f1262e4b59fc", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 21800.0, "surface_area": 6420.0, "principal_moments": [3150000.0, 4240000.0, 4240000.0], "n_faces": 17, "n_edges": 42, "n_vertices": 28}, "dimensions": {"lines": ["6-sided polygon section, 40 mm across corners, extruded 17.4 mm thick.", "\u00d814.8 mm circular section attachment, 30 mm long, from top face with a \u00d86.3 mm bore.", "Fillet radius 1.024 mm on vertical edges."], "text": "6-sided polygon section, 40 mm across corners, extruded 17.4 mm thick. \u00d814.8 mm circular section attachment, 30 mm long, from top face with a \u00d86.3 mm bore. Fillet radius 1.024 mm on vertical edges."}, "params": {"base_sides": {"type": "int", "default": 6, "min": 3, "max": 8, "step": 1, "group": "Base", "label": "Base sides"}, "base_r": {"type": "float", "default": 20, "min": 12.0, "max": 32.0, "step": 1.0, "group": "Base", "label": "Base circumradius (mm)"}, "base_h": {"type": "float", "default": 17.4, "min": 7.0, "max": 43.5, "step": 1.0, "group": "Base", "label": "Base height (mm)"}, "col_d": {"type": "float", "default": 14.8, "min": 7.4, "max": 27.7, "step": 1.0, "group": "Column", "label": "Column diameter (mm)"}, "col_h": {"type": "float", "default": 30.0, "min": 9.0, "max": 75.0, "step": 1.0, "group": "Column", "label": "Column height (mm)"}, "col_bore": {"type": "float", "default": 6.3, "min": 2.0, "max": 10.7, "step": 0.5, "group": "Column", "label": "Column bore diameter (mm)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332846 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_sides\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Base', \"label\": 'Base sides'},\n    \"base_r\": {\"type\": 'float', \"default\": 20, \"min\": 12.0, \"max\": 32.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base circumradius (mm)'},\n    \"base_h\": {\"type\": 'float', \"default\": 17.4, \"min\": 7.0, \"max\": 43.5, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base height (mm)'},\n    \"col_d\": {\"type\": 'float', \"default\": 14.8, \"min\": 7.4, \"max\": 27.7, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column diameter (mm)'},\n    \"col_h\": {\"type\": 'float', \"default\": 30.0, \"min\": 9.0, \"max\": 75.0, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column height (mm)'},\n    \"col_bore\": {\"type\": 'float', \"default\": 6.3, \"min\": 2.0, \"max\": 10.7, \"step\": 0.5, \"group\": 'Column', \"label\": 'Column bore diameter (mm)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').polygon(p[\"base_sides\"], p[\"base_r\"] * 2).extrude(p[\"base_h\"]))\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"col_d\"] / 2).extrude(p[\"col_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"col_bore\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"base_r\"], p[\"base_r\"]) * 0.051177522185627905)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462cac6f_4283", "family": "revolved", "tier": 2, "seed": 1177332847, "symmetry": "none", "op_count": 2, "ir_hash": "ea6ba296c11fa6b4", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 480000.0, "surface_area": 59600.0, "principal_moments": [452000000.0, 832000000.0, 832000000.0], "n_faces": 5, "n_edges": 8, "n_vertices": 5}, "dimensions": {"lines": ["Revolved body, \u00d879.26 mm \u00d7 145.9 mm tall.", "Chamfer 0.9 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d879.26 mm \u00d7 145.9 mm tall. Chamfer 0.9 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 79.26, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 145.9, "min": 43.8, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "end_chamfer": {"type": "float", "default": 0.9, "min": 0.1, "max": 2.7, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332847 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 79.26, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 145.9, \"min\": 43.8, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.9, \"min\": 0.1, \"max\": 2.7, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462cac70_4284", "family": "block", "tier": 1, "seed": 1177332848, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "acaa9f4c1eb39c21", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 467000.0, "surface_area": 45300.0, "principal_moments": [367000000.0, 568000000.0, 577000000.0], "n_faces": 22, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 70 \u00d7 68.2 \u00d7 100 mm (W\u00d7D\u00d7H).", "Four 5.2 mm square holes at the corners, 49 \u00d7 47.74 mm spacing."], "text": "Rectangular body, 70 \u00d7 68.2 \u00d7 100 mm (W\u00d7D\u00d7H). Four 5.2 mm square holes at the corners, 49 \u00d7 47.74 mm spacing."}, "params": {"block_w": {"type": "float", "default": 70, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 68.2, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 100.0, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 5.2, "min": 2.0, "max": 16.9, "step": 0.5, "group": "Holes", "label": "Square hole size (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332848 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 70, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 68.2, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 100.0, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.2, \"min\": 2.0, \"max\": 16.9, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Square hole size (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().rect(p[\"hole_d\"], p[\"hole_d\"]).cutThruAll()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462cac71_4285", "family": "bracket", "tier": 2, "seed": 1177332849, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "c636c864fcd3d595", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 12400.0, "surface_area": 7610.0, "principal_moments": [2430000.0, 9080000.0, 10800000.0], "n_faces": 14, "n_edges": 37, "n_vertices": 24}, "dimensions": {"lines": ["L-bracket: base leg 77.37 mm, vertical leg 62.6 mm, 20 mm wide, 4 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg; 3.8 mm corner gusset."], "text": "L-bracket: base leg 77.37 mm, vertical leg 62.6 mm, 20 mm wide, 4 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg; 3.8 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 77.37, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 62.6, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 20, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 4.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 8.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 3.8, "min": 2.0, "max": 10.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332849 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 77.37, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 62.6, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 20, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 8.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 3.8, \"min\": 2.0, \"max\": 10.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462cac72_4286", "family": "flanged", "tier": 2, "seed": 1177332850, "symmetry": "none", "op_count": 2, "ir_hash": "5e1ee308d5b0cde8", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 358000.0, "surface_area": 53200.0, "principal_moments": [419000000.0, 419000000.0, 710000000.0], "n_faces": 29, "n_edges": 114, "n_vertices": 76}, "dimensions": {"lines": ["Revolved body, \u00d886.6 mm \u00d7 45.5 mm tall with \u00d832.1 mm bore, \u00d8145.9 mm \u00d7 12.1 mm flange.", "Twelve \u00d84.3 mm holes on a \u00d887.6 mm bolt circle."], "text": "Revolved body, \u00d886.6 mm \u00d7 45.5 mm tall with \u00d832.1 mm bore, \u00d8145.9 mm \u00d7 12.1 mm flange. Twelve \u00d84.3 mm holes on a \u00d887.6 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 86.6, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 45.5, "min": 13.7, "max": 113.8, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 32.1, "min": 2.0, "max": 60.6, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 145.9, "min": 112.6, "max": 259.8, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 12.1, "min": 3.6, "max": 18.2, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 43.8, "min": 29.2, "max": 65.7, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 12, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332850 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 86.6, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 45.5, \"min\": 13.7, \"max\": 113.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 32.1, \"min\": 2.0, \"max\": 60.6, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 145.9, \"min\": 112.6, \"max\": 259.8, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 12.1, \"min\": 3.6, \"max\": 18.2, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 43.8, \"min\": 29.2, \"max\": 65.7, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 12, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462cac73_4287", "family": "compound", "tier": 1, "seed": 1177332851, "symmetry": "mirror_xy", "op_count": 3, "ir_hash": "293bb5aadb2da24f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 105000.0, "surface_area": 29500.0, "principal_moments": [109000000.0, 119000000.0, 152000000.0], "n_faces": 12, "n_edges": 27, "n_vertices": 18}, "dimensions": {"lines": ["Rectangular body, 99.98 \u00d7 107.2 \u00d7 8 mm (W\u00d7D\u00d7H).", "\u00d818.5 mm circular section attachment, 75.3 mm long, from top face.", "Four \u00d86.4 mm holes at the corners, 69.986 \u00d7 75.04 mm spacing."], "text": "Rectangular body, 99.98 \u00d7 107.2 \u00d7 8 mm (W\u00d7D\u00d7H). \u00d818.5 mm circular section attachment, 75.3 mm long, from top face. Four \u00d86.4 mm holes at the corners, 69.986 \u00d7 75.04 mm spacing."}, "params": {"base_w": {"type": "float", "default": 99.98, "min": 30.0, "max": 160.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 107.2, "min": 25.0, "max": 160.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_h": {"type": "float", "default": 8.0, "min": 3.0, "max": 30.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "col_d": {"type": "float", "default": 18.5, "min": 7.4, "max": 50.0, "step": 1.0, "group": "Column", "label": "Column diameter (mm)"}, "col_h": {"type": "float", "default": 75.3, "min": 22.6, "max": 225.9, "step": 1.0, "group": "Column", "label": "Column height (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332851 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 99.98, \"min\": 30.0, \"max\": 160.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 107.2, \"min\": 25.0, \"max\": 160.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_h\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 30.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"col_d\": {\"type\": 'float', \"default\": 18.5, \"min\": 7.4, \"max\": 50.0, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column diameter (mm)'},\n    \"col_h\": {\"type\": 'float', \"default\": 75.3, \"min\": 22.6, \"max\": 225.9, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_h\"])\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"col_d\"] / 2).extrude(p[\"col_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"base_w\"] * 0.7, p[\"base_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462cac74_4288", "family": "compound", "tier": 1, "seed": 1177332852, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "3c1ecaa4938e64f4", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 98500.0, "surface_area": 20300.0, "principal_moments": [49399999.99999999, 65099999.99999999, 88400000.0], "n_faces": 12, "n_edges": 27, "n_vertices": 18}, "dimensions": {"lines": ["Rectangular body, 83.85 \u00d7 70 \u00d7 16 mm (W\u00d7D\u00d7H).", "\u00d813.9 mm circular section attachment, 53.9 mm long, from top face.", "Four \u00d88.4 mm holes at the corners, 58.695 \u00d7 49 mm spacing."], "text": "Rectangular body, 83.85 \u00d7 70 \u00d7 16 mm (W\u00d7D\u00d7H). \u00d813.9 mm circular section attachment, 53.9 mm long, from top face. Four \u00d88.4 mm holes at the corners, 58.695 \u00d7 49 mm spacing."}, "params": {"base_w": {"type": "float", "default": 83.85, "min": 30.0, "max": 160.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 70.0, "min": 25.0, "max": 160.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_h": {"type": "float", "default": 16.0, "min": 3.0, "max": 30.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "col_d": {"type": "float", "default": 13.9, "min": 5.6, "max": 35.0, "step": 1.0, "group": "Column", "label": "Column diameter (mm)"}, "col_h": {"type": "float", "default": 53.9, "min": 16.2, "max": 161.7, "step": 1.0, "group": "Column", "label": "Column height (mm)"}, "hole_d": {"type": "float", "default": 8.4, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332852 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 83.85, \"min\": 30.0, \"max\": 160.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 70.0, \"min\": 25.0, \"max\": 160.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_h\": {\"type\": 'float', \"default\": 16.0, \"min\": 3.0, \"max\": 30.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"col_d\": {\"type\": 'float', \"default\": 13.9, \"min\": 5.6, \"max\": 35.0, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column diameter (mm)'},\n    \"col_h\": {\"type\": 'float', \"default\": 53.9, \"min\": 16.2, \"max\": 161.7, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_h\"])\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"col_d\"] / 2).extrude(p[\"col_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"base_w\"] * 0.7, p[\"base_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462cac75_4289", "family": "enclosure", "tier": 1, "seed": 1177332853, "symmetry": "none", "op_count": 2, "ir_hash": "e9a9140f90e90e99", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 116000.0, "surface_area": 49900.0, "principal_moments": [124000000.0, 179000000.0, 238000000.0], "n_faces": 11, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 101.8 \u00d7 76.9 \u00d7 52.9 mm (W\u00d7D\u00d7H).", "Hollowed to 4.8 mm wall thickness, open at top face."], "text": "Rectangular body, 101.8 \u00d7 76.9 \u00d7 52.9 mm (W\u00d7D\u00d7H). Hollowed to 4.8 mm wall thickness, open at top face."}, "params": {"enc_w": {"type": "float", "default": 101.8, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 76.9, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 52.9, "min": 21.2, "max": 105.8, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 4.8, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332853 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 101.8, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 76.9, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 52.9, \"min\": 21.2, \"max\": 105.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 4.8, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462cac76_4290", "family": "ribbed", "tier": 1, "seed": 1177332854, "symmetry": "none", "op_count": 2, "ir_hash": "7d533f2c2d71aff1", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 13700.0, "surface_area": 5340.0, "principal_moments": [1510000.0, 2610000.0, 3840000.0], "n_faces": 22, "n_edges": 52, "n_vertices": 32}, "dimensions": {"lines": ["Rectangular body, 44.2 \u00d7 34.5 \u00d7 8 mm (W\u00d7D\u00d7H).", "Two ribs, 3.3 mm thick, 6.6 mm tall."], "text": "Rectangular body, 44.2 \u00d7 34.5 \u00d7 8 mm (W\u00d7D\u00d7H). Two ribs, 3.3 mm thick, 6.6 mm tall."}, "params": {"base_w": {"type": "float", "default": 44.2, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 34.5, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 8.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 2, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 6.6, "min": 2.6, "max": 13.2, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 3.3, "min": 1.0, "max": 8.2, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332854 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 44.2, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 34.5, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 2, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 6.6, \"min\": 2.6, \"max\": 13.2, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 3.3, \"min\": 1.0, \"max\": 8.2, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462cac77_4291", "family": "bracket", "tier": 2, "seed": 1177332855, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "b5e01ff72df77201", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 25500.0, "surface_area": 12000.0, "principal_moments": [8840000.0, 14799999.999999998, 18700000.0], "n_faces": 19, "n_edges": 51, "n_vertices": 34}, "dimensions": {"lines": ["C-channel bracket: base leg 55.13 mm, vertical leg 50.2 mm, 34.27 mm wide, 5 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg; 7.2 mm corner gusset."], "text": "C-channel bracket: base leg 55.13 mm, vertical leg 50.2 mm, 34.27 mm wide, 5 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg; 7.2 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 55.13, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 50.2, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 34.27, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 5.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 7.2, "min": 2.5, "max": 15.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332855 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 55.13, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 50.2, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 34.27, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 7.2, \"min\": 2.5, \"max\": 15.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl / 2, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bl - _bt, _bt).lineTo(_bl - _bt - _g, _bt)\n                    .lineTo(_bl - _bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462cac78_4292", "family": "bracket", "tier": 3, "seed": 1177332856, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "ea9e372881571905", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 43400.0, "surface_area": 16900.0, "principal_moments": [15799999.999999998, 43900000.0, 45699999.99999999], "n_faces": 17, "n_edges": 39, "n_vertices": 26}, "dimensions": {"lines": ["L-bracket: base leg 82.78 mm, vertical leg 69.9 mm, 45.62 mm wide, 6 mm thick; 2 \u00d7 \u00d84.3 mm holes per leg; 6.9 mm corner gusset."], "text": "L-bracket: base leg 82.78 mm, vertical leg 69.9 mm, 45.62 mm wide, 6 mm thick; 2 \u00d7 \u00d84.3 mm holes per leg; 6.9 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 82.78, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 69.9, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 45.62, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 6.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 2, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 6.9, "min": 3.0, "max": 18.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332856 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 82.78, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 69.9, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 45.62, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 2, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 6.9, \"min\": 3.0, \"max\": 18.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462cac79_4293", "family": "plate", "tier": 0, "seed": 1177332857, "symmetry": "none", "op_count": 1, "ir_hash": "b3fb4025d041bbec", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 1240.0, "surface_area": 1110.0, "principal_moments": [15300.0, 127000.0, 141000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 35 \u00d7 11.8 \u00d7 3 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 35 \u00d7 11.8 \u00d7 3 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 35, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 11.8, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 3.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332857 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 35, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 11.8, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 3.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462cac7a_4294", "family": "tapped", "tier": 2, "seed": 1177332858, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "c8d4540b58a10823", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 27100.0, "surface_area": 10200.0, "principal_moments": [4140000.0, 5410000.0, 7900000.0], "n_faces": 506, "n_edges": 1424, "n_vertices": 920}, "dimensions": {"lines": ["Four M12x1.75 tapped holes in a plate."], "text": "Four M12x1.75 tapped holes in a plate."}, "params": {"major_d": {"type": "float", "default": 12.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 1.75, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 19.2, "min": 14.4, "max": 34.6, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "plate_w": {"type": "float", "default": 45.86, "min": 27.5, "max": 73.4, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 39.1, "min": 23.5, "max": 62.6, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332858 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 12.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.75, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 19.2, \"min\": 14.4, \"max\": 34.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"plate_w\": {\"type\": 'float', \"default\": 45.86, \"min\": 27.5, \"max\": 73.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 39.1, \"min\": 23.5, \"max\": 62.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n}\n\n\ndef build(p):\n\n    _W, _D, _H = p[\"plate_w\"], p[\"plate_d\"], p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Box(_W, _D, _H)\n    _sx, _sy = p[\"plate_w\"] * 0.6, p[\"plate_d\"] * 0.6\n    _locs = [(_xx, _yy) for _xx in (-_sx / 2, _sx / 2) for _yy in (-_sy / 2, _sy / 2)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462cac7b_4295", "family": "bracket", "tier": 2, "seed": 1177332859, "symmetry": "none", "op_count": 1, "ir_hash": "be60b0934c7eaf8f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 23700.0, "surface_area": 17600.0, "principal_moments": [20100000.0, 32599999.999999996, 49299999.99999999], "n_faces": 19, "n_edges": 51, "n_vertices": 34}, "dimensions": {"lines": ["C-channel bracket: base leg 85 mm, vertical leg 86.1 mm, 30 mm wide, 3 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 2.7 mm corner gusset."], "text": "C-channel bracket: base leg 85 mm, vertical leg 86.1 mm, 30 mm wide, 3 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 2.7 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 85, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 86.1, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 30, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 3.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 2.7, "min": 1.5, "max": 9.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332859 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 85, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 86.1, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 30, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 2.7, \"min\": 1.5, \"max\": 9.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl / 2, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bl - _bt, _bt).lineTo(_bl - _bt - _g, _bt)\n                    .lineTo(_bl - _bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462cac7c_4296", "family": "ribbed", "tier": 2, "seed": 1177332860, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "e7cc31146e8fe6b3", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 28200.0, "surface_area": 10600.0, "principal_moments": [5270000.0, 9060000.0, 11899999.999999998], "n_faces": 30, "n_edges": 72, "n_vertices": 44}, "dimensions": {"lines": ["Rectangular body, 55 \u00d7 40.2 \u00d7 8 mm (W\u00d7D\u00d7H).", "Three ribs, 5.2 mm thick, 15.3 mm tall."], "text": "Rectangular body, 55 \u00d7 40.2 \u00d7 8 mm (W\u00d7D\u00d7H). Three ribs, 5.2 mm thick, 15.3 mm tall."}, "params": {"base_w": {"type": "float", "default": 55, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 40.2, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 8.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 3, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 15.3, "min": 6.1, "max": 30.6, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 5.2, "min": 1.0, "max": 13.0, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332860 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 55, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 40.2, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 3, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 15.3, \"min\": 6.1, \"max\": 30.6, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 5.2, \"min\": 1.0, \"max\": 13.0, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462cac7d_4297", "family": "plate", "tier": 0, "seed": 1177332861, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "1a4c9622796dce92", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 6970.0, "surface_area": 4220.0, "principal_moments": [426000.0, 2460000.0, 2870000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 65 \u00d7 26.8 \u00d7 4 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 65 \u00d7 26.8 \u00d7 4 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 65, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 26.8, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 4.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332861 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 65, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 26.8, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 4.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462cac7e_4298", "family": "plate", "tier": 2, "seed": 1177332862, "symmetry": "none", "op_count": 3, "ir_hash": "7b7067eecd138624", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 4480.0, "surface_area": 2450.0, "principal_moments": [131000.0, 686000.0, 790000.0], "n_faces": 16, "n_edges": 42, "n_vertices": 28}, "dimensions": {"lines": ["Rectangular body, 42.64 \u00d7 18 \u00d7 6 mm (W\u00d7D\u00d7H).", "Six \u00d82.1 mm holes in a 3\u00d72 grid, 17.1 \u00d7 14.4 mm pitch.", "Fillet radius 0.553 mm on vertical edges."], "text": "Rectangular body, 42.64 \u00d7 18 \u00d7 6 mm (W\u00d7D\u00d7H). Six \u00d82.1 mm holes in a 3\u00d72 grid, 17.1 \u00d7 14.4 mm pitch. Fillet radius 0.553 mm on vertical edges."}, "params": {"plate_w": {"type": "float", "default": 42.64, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 18.0, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 6.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 2.1, "min": 2.0, "max": 2.2, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 3, "min": 1, "max": 4, "step": 1, "group": "Holes", "label": "Holes across"}, "hole_ny": {"type": "int", "default": 2, "min": 1, "max": 4, "step": 1, "group": "Holes", "label": "Holes deep"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332862 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 42.64, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 18.0, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 2.1, \"min\": 2.0, \"max\": 2.2, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 3, \"min\": 1, \"max\": 4, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes across'},\n    \"hole_ny\": {\"type\": 'int', \"default\": 2, \"min\": 1, \"max\": 4, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes deep'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(17.1, 14.4, p[\"hole_nx\"], p[\"hole_ny\"])\n        .hole(p[\"hole_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"plate_w\"], p[\"plate_d\"]) * 0.030739468523272015)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462cac7f_4299", "family": "enclosure", "tier": 1, "seed": 1177332863, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "0ed26e58907b65c8", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 41900.0, "surface_area": 42500.0, "principal_moments": [31799999.999999996, 61799999.99999999, 62799999.99999999], "n_faces": 11, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 95 \u00d7 50 \u00d7 59.4 mm (W\u00d7D\u00d7H).", "Hollowed to 2 mm wall thickness, open at top face."], "text": "Rectangular body, 95 \u00d7 50 \u00d7 59.4 mm (W\u00d7D\u00d7H). Hollowed to 2 mm wall thickness, open at top face."}, "params": {"enc_w": {"type": "float", "default": 95, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 50.0, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 59.4, "min": 23.8, "max": 118.8, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 2.0, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332863 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 95, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 50.0, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 59.4, \"min\": 23.8, \"max\": 118.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 2.0, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462cac80_4300", "family": "block", "tier": 2, "seed": 1177332864, "symmetry": "radial", "op_count": 3, "ir_hash": "472b47fa14db0ef7", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 47100.0, "surface_area": 14400.0, "principal_moments": [9610000.0, 14899999.999999998, 18800000.0], "n_faces": 23, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 53.08 \u00d7 28.2 \u00d7 40.7 mm (W\u00d7D\u00d7H).", "Eight \u00d88.4 mm holes on a \u00d831.8 mm bolt circle.", "Boss \u00d88.6 mm \u00d7 10.8 mm tall on top face with a \u00d84.3 mm bore."], "text": "Rectangular body, 53.08 \u00d7 28.2 \u00d7 40.7 mm (W\u00d7D\u00d7H). Eight \u00d88.4 mm holes on a \u00d831.8 mm bolt circle. Boss \u00d88.6 mm \u00d7 10.8 mm tall on top face with a \u00d84.3 mm bore."}, "params": {"block_w": {"type": "float", "default": 53.08, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 28.2, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 40.7, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "bolt_d": {"type": "float", "default": 8.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 15.9, "min": 10.6, "max": 23.9, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 8, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}, "boss_d": {"type": "float", "default": 8.6, "min": 4.3, "max": 17.2, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 10.8, "min": 4.3, "max": 27.0, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}, "boss_bore_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 6.0, "step": 0.1, "group": "Boss", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332864 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 53.08, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 28.2, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 40.7, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 15.9, \"min\": 10.6, \"max\": 23.9, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n    \"boss_d\": {\"type\": 'float', \"default\": 8.6, \"min\": 4.3, \"max\": 17.2, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 10.8, \"min\": 4.3, \"max\": 27.0, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n    \"boss_bore_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 6.0, \"step\": 0.1, \"group\": 'Boss', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .hole(p[\"boss_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462cac81_4301", "family": "compound", "tier": 1, "seed": 1177332865, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "2824c066cde72cdb", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 52200.0, "surface_area": 11400.0, "principal_moments": [10500000.0, 18100000.0, 18100000.0], "n_faces": 6, "n_edges": 9, "n_vertices": 6}, "dimensions": {"lines": ["\u00d840 mm circular section, extruded 36.5 mm thick.", "\u00d828.6 mm circular section attachment, 22.8 mm long, from top face with a \u00d813.4 mm bore."], "text": "\u00d840 mm circular section, extruded 36.5 mm thick. \u00d828.6 mm circular section attachment, 22.8 mm long, from top face with a \u00d813.4 mm bore."}, "params": {"shaft_d": {"type": "float", "default": 40, "min": 20.0, "max": 72.0, "step": 1.0, "group": "Body", "label": "Shaft diameter (mm)"}, "shaft_len": {"type": "float", "default": 36.5, "min": 14.6, "max": 73.0, "step": 1.0, "group": "Body", "label": "Shaft length (mm)"}, "step_d": {"type": "float", "default": 28.6, "min": 14.3, "max": 36.0, "step": 1.0, "group": "Step", "label": "Step diameter (mm)"}, "step_len": {"type": "float", "default": 22.8, "min": 6.8, "max": 57.0, "step": 1.0, "group": "Step", "label": "Step length (mm)"}, "axial_bore": {"type": "float", "default": 13.4, "min": 2.0, "max": 20.6, "step": 0.5, "group": "Bore", "label": "Axial bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332865 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"shaft_d\": {\"type\": 'float', \"default\": 40, \"min\": 20.0, \"max\": 72.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft diameter (mm)'},\n    \"shaft_len\": {\"type\": 'float', \"default\": 36.5, \"min\": 14.6, \"max\": 73.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft length (mm)'},\n    \"step_d\": {\"type\": 'float', \"default\": 28.6, \"min\": 14.3, \"max\": 36.0, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step diameter (mm)'},\n    \"step_len\": {\"type\": 'float', \"default\": 22.8, \"min\": 6.8, \"max\": 57.0, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step length (mm)'},\n    \"axial_bore\": {\"type\": 'float', \"default\": 13.4, \"min\": 2.0, \"max\": 20.6, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Axial bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').circle(p[\"shaft_d\"] / 2).extrude(p[\"shaft_len\"]))\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"step_d\"] / 2).extrude(p[\"step_len\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"axial_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462cac82_4302", "family": "sketched", "tier": 1, "seed": 1177332866, "symmetry": "none", "op_count": 1, "ir_hash": "af2e27e195f3c3a9", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 44800.0, "surface_area": 9650.0, "principal_moments": [10600000.0, 10600000.0, 14999999.999999998], "n_faces": 6, "n_edges": 9, "n_vertices": 5}, "dimensions": {"lines": ["Revolved organic body from a freeform sketched section (6 segments: 4 straight, 2 arcs), ~31.36 \u00d7 30 mm half-silhouette."], "text": "Revolved organic body from a freeform sketched section (6 segments: 4 straight, 2 arcs), ~31.36 \u00d7 30 mm half-silhouette."}, "params": {"sk_r": {"type": "float", "default": 40, "min": 20.0, "max": 72.0, "step": 1.0, "group": "Sketch", "label": "Max radius (mm)"}, "sk_h": {"type": "float", "default": 30, "min": 15.0, "max": 54.0, "step": 1.0, "group": "Sketch", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332866 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_r\": {\"type\": 'float', \"default\": 40, \"min\": 20.0, \"max\": 72.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Max radius (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 30, \"min\": 15.0, \"max\": 54.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XZ').moveTo(p[\"sk_r\"] * 0.3892, p[\"sk_h\"] * 0.0).lineTo(p[\"sk_r\"] * 0.4252, p[\"sk_h\"] * 0.2981).threePointArc((p[\"sk_r\"] * 0.3359, p[\"sk_h\"] * 0.3917), (p[\"sk_r\"] * 0.4249, p[\"sk_h\"] * 0.4854)).threePointArc((p[\"sk_r\"] * 0.4915, p[\"sk_h\"] * 0.604), (p[\"sk_r\"] * 0.784, p[\"sk_h\"] * 0.7226)).lineTo(p[\"sk_r\"] * 0.7529, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.0, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.0, p[\"sk_h\"] * 0.0).close().revolve())\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462cac83_4303", "family": "bracket", "tier": 2, "seed": 1177332867, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "15dc675ae0bff911", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 57200.0, "surface_area": 18000.0, "principal_moments": [32999999.999999996, 55599999.99999999, 77200000.0], "n_faces": 19, "n_edges": 51, "n_vertices": 34}, "dimensions": {"lines": ["C-channel bracket: base leg 75 mm, vertical leg 69.8 mm, 35 mm wide, 8 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 11.3 mm corner gusset."], "text": "C-channel bracket: base leg 75 mm, vertical leg 69.8 mm, 35 mm wide, 8 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 11.3 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 75, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 69.8, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 35, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 8.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 11.3, "min": 4.0, "max": 17.5, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332867 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 75, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 69.8, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 35, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 11.3, \"min\": 4.0, \"max\": 17.5, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl / 2, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bl - _bt, _bt).lineTo(_bl - _bt - _g, _bt)\n                    .lineTo(_bl - _bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462cac84_4304", "family": "flanged", "tier": 3, "seed": 1177332868, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "6d2043df18a98b06", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 636000.0, "surface_area": 85100.0, "principal_moments": [1090000000.0, 1320000000.0, 1320000000.0], "n_faces": 12, "n_edges": 27, "n_vertices": 18}, "dimensions": {"lines": ["Revolved body, \u00d885 mm \u00d7 109.6 mm tall with \u00d836.3 mm bore, \u00d8165 mm \u00d7 8.2 mm flange.", "Six \u00d85.3 mm holes on a \u00d899 mm bolt circle."], "text": "Revolved body, \u00d885 mm \u00d7 109.6 mm tall with \u00d836.3 mm bore, \u00d8165 mm \u00d7 8.2 mm flange. Six \u00d85.3 mm holes on a \u00d899 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 85, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 109.6, "min": 32.9, "max": 274.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 36.3, "min": 2.0, "max": 59.5, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 165.0, "min": 110.5, "max": 255.0, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 8.2, "min": 2.5, "max": 43.8, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 49.5, "min": 33.0, "max": 74.2, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 6, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332868 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 85, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 109.6, \"min\": 32.9, \"max\": 274.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 36.3, \"min\": 2.0, \"max\": 59.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 165.0, \"min\": 110.5, \"max\": 255.0, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 8.2, \"min\": 2.5, \"max\": 43.8, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 49.5, \"min\": 33.0, \"max\": 74.2, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462cac85_4305", "family": "revolved", "tier": 1, "seed": 1177332869, "symmetry": "none", "op_count": 1, "ir_hash": "602a5eb12b06f816", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 22200.0, "surface_area": 7970.0, "principal_moments": [3780000.0, 3780000.0, 5720000.0], "n_faces": 5, "n_edges": 7, "n_vertices": 5}, "dimensions": {"lines": ["Revolved body, \u00d830.34 mm \u00d7 27.8 mm tall with \u00d851.1 mm \u00d7 6.6 mm flange."], "text": "Revolved body, \u00d830.34 mm \u00d7 27.8 mm tall with \u00d851.1 mm \u00d7 6.6 mm flange."}, "params": {"outer_d": {"type": "float", "default": 30.34, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 27.8, "min": 8.3, "max": 83.4, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "flange_d": {"type": "float", "default": 51.1, "min": 36.4, "max": 91.0, "step": 1.0, "group": "Body", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 6.6, "min": 2.0, "max": 13.9, "step": 0.5, "group": "Body", "label": "Flange height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332869 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 30.34, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 27.8, \"min\": 8.3, \"max\": 83.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 51.1, \"min\": 36.4, \"max\": 91.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 6.6, \"min\": 2.0, \"max\": 13.9, \"step\": 0.5, \"group\": 'Body', \"label\": 'Flange height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462cac86_4306", "family": "swept", "tier": 1, "seed": 1177332870, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "b95ca62fccde2935", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 6110.0, "surface_area": 3020.0, "principal_moments": [67100.0, 6080000.0, 6090000.0], "n_faces": 3, "n_edges": 3, "n_vertices": 2}, "dimensions": {"lines": ["\u00d88.7 mm circular section swept along a curved path, ~105 mm span."], "text": "\u00d88.7 mm circular section swept along a curved path, ~105 mm span."}, "params": {"path_w": {"type": "float", "default": 47.17, "min": 23.6, "max": 84.9, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 105, "min": 52.5, "max": 189.0, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_d": {"type": "float", "default": 8.7, "min": 4.3, "max": 15.7, "step": 1.0, "group": "Section", "label": "Section diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332870 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 47.17, \"min\": 23.6, \"max\": 84.9, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 105, \"min\": 52.5, \"max\": 189.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_d\": {\"type\": 'float', \"default\": 8.7, \"min\": 4.3, \"max\": 15.7, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.2924, p[\"path_h\"] * 0.3531), (p[\"path_w\"] * 0.5727, p[\"path_h\"] * 0.8394), (p[\"path_w\"] * 0.5939, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').circle(p[\"sweep_d\"] / 2).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462cac87_4307", "family": "ribbed", "tier": 2, "seed": 1177332871, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "ba96f29396bd3946", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 10800.0, "surface_area": 8900.0, "principal_moments": [1250000.0, 1930000.0, 2720000.0], "n_faces": 54, "n_edges": 132, "n_vertices": 80}, "dimensions": {"lines": ["Rectangular body, 45 \u00d7 29.3 \u00d7 3 mm (W\u00d7D\u00d7H).", "Six ribs, 2.6 mm thick, 12.1 mm tall."], "text": "Rectangular body, 45 \u00d7 29.3 \u00d7 3 mm (W\u00d7D\u00d7H). Six ribs, 2.6 mm thick, 12.1 mm tall."}, "params": {"base_w": {"type": "float", "default": 45, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 29.3, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 3.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 6, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 12.1, "min": 4.8, "max": 24.2, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 2.6, "min": 1.0, "max": 6.5, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332871 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 45, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 29.3, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 6, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 12.1, \"min\": 4.8, \"max\": 24.2, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 2.6, \"min\": 1.0, \"max\": 6.5, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462cac88_4308", "family": "lofted", "tier": 0, "seed": 1177332872, "symmetry": "none", "op_count": 1, "ir_hash": "3ffa343f6278f34b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 29200.0, "surface_area": 5640.0, "principal_moments": [4620000.0, 4620000.0, 4980000.0], "n_faces": 8, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["Lofted body through 2 sections: 6-sided polygon section, 50 mm across corners \u2192 \u00d821.7 mm circular section."], "text": "Lofted body through 2 sections: 6-sided polygon section, 50 mm across corners \u2192 \u00d821.7 mm circular section."}, "params": {"loft_base": {"type": "float", "default": 50, "min": 25.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 21.7, "min": 8.7, "max": 60.0, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 31.6, "min": 12.6, "max": 63.2, "step": 1.0, "group": "Body", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332872 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 50, \"min\": 25.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 21.7, \"min\": 8.7, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 31.6, \"min\": 12.6, \"max\": 63.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .polygon(6, p[\"loft_base\"] * 0.5 * 2)\n        .workplane(offset=p[\"loft_h\"])\n        .circle(p[\"loft_top\"] / 2)\n        .loft(combine=True)\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462cac89_4309", "family": "sketched", "tier": 1, "seed": 1177332873, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "6cf78cb6f6eabcf1", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 10700.0, "surface_area": 4540.0, "principal_moments": [1230000.0, 2070000.0, 3230000.0], "n_faces": 7, "n_edges": 15, "n_vertices": 10}, "dimensions": {"lines": ["freeform sketched section (4 segments: 2 straight, 2 curves), ~56.492 \u00d7 47.807 mm, extruded 6.39 mm thick.", "One \u00d88.4 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "freeform sketched section (4 segments: 2 straight, 2 curves), ~56.492 \u00d7 47.807 mm, extruded 6.39 mm thick. One \u00d88.4 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"sk_w": {"type": "float", "default": 70.02, "min": 35.0, "max": 126.0, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 64.5, "min": 32.2, "max": 116.1, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "sk_t": {"type": "float", "default": 6.39, "min": 2.6, "max": 14.1, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "sk_hole_d": {"type": "float", "default": 8.4, "min": 2.0, "max": 16.8, "step": 0.5, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332873 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 70.02, \"min\": 35.0, \"max\": 126.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 64.5, \"min\": 32.2, \"max\": 116.1, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"sk_t\": {\"type\": 'float', \"default\": 6.39, \"min\": 2.6, \"max\": 14.1, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"sk_hole_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 2.0, \"max\": 16.8, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.4027, p[\"sk_h\"] * 0.2443).lineTo(p[\"sk_w\"] * -0.1283, p[\"sk_h\"] * 0.3021).spline([(p[\"sk_w\"] * -0.1283, p[\"sk_h\"] * 0.3021), (p[\"sk_w\"] * -0.3108, p[\"sk_h\"] * 0.0824), (p[\"sk_w\"] * -0.4041, p[\"sk_h\"] * -0.1875)]).lineTo(p[\"sk_w\"] * 0.0272, p[\"sk_h\"] * -0.4391).spline([(p[\"sk_w\"] * 0.0272, p[\"sk_h\"] * -0.4391), (p[\"sk_w\"] * 0.2654, p[\"sk_h\"] * -0.1251), (p[\"sk_w\"] * 0.4027, p[\"sk_h\"] * 0.2443)]).close().extrude(p[\"sk_t\"]))\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"sk_hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462cac8a_4310", "family": "tapped", "tier": 1, "seed": 1177332874, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "4ff726674baaa9fb", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 28500.0, "surface_area": 7750.0, "principal_moments": [3700000.0, 6370000.0, 8730000.0], "n_faces": 682, "n_edges": 1872, "n_vertices": 1192}, "dimensions": {"lines": ["Four M5x0.8 tapped holes in a plate."], "text": "Four M5x0.8 tapped holes in a plate."}, "params": {"major_d": {"type": "float", "default": 5.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 0.8, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 16.8, "min": 6.0, "max": 30.2, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "plate_w": {"type": "float", "default": 49.13, "min": 29.5, "max": 78.6, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 35.8, "min": 21.5, "max": 57.3, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332874 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 0.8, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 16.8, \"min\": 6.0, \"max\": 30.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"plate_w\": {\"type\": 'float', \"default\": 49.13, \"min\": 29.5, \"max\": 78.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 35.8, \"min\": 21.5, \"max\": 57.3, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n}\n\n\ndef build(p):\n\n    _W, _D, _H = p[\"plate_w\"], p[\"plate_d\"], p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Box(_W, _D, _H)\n    _sx, _sy = p[\"plate_w\"] * 0.6, p[\"plate_d\"] * 0.6\n    _locs = [(_xx, _yy) for _xx in (-_sx / 2, _sx / 2) for _yy in (-_sy / 2, _sy / 2)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462cac8b_4311", "family": "plate", "tier": 1, "seed": 1177332875, "symmetry": "radial", "op_count": 2, "ir_hash": "aef1b845b69e10ef", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 23700.0, "surface_area": 7120.0, "principal_moments": [2390000.0, 10500000.0, 12499999.999999998], "n_faces": 8, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["Rectangular body, 72.44 \u00d7 33.1 \u00d7 10 mm (W\u00d7D\u00d7H).", "Six \u00d84.3 mm holes on a \u00d843.4 mm bolt circle."], "text": "Rectangular body, 72.44 \u00d7 33.1 \u00d7 10 mm (W\u00d7D\u00d7H). Six \u00d84.3 mm holes on a \u00d843.4 mm bolt circle."}, "params": {"plate_w": {"type": "float", "default": 72.44, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 33.1, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "bolt_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 21.7, "min": 14.5, "max": 32.6, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 6, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332875 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 72.44, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 33.1, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 21.7, \"min\": 14.5, \"max\": 32.6, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462cac8c_4312", "family": "revolved", "tier": 2, "seed": 1177332876, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "db57fbd9b9f0870b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 87000.0, "surface_area": 22700.0, "principal_moments": [18400000.0, 84300000.0, 84300000.0], "n_faces": 9, "n_edges": 14, "n_vertices": 9}, "dimensions": {"lines": ["Revolved body, \u00d837.8 mm \u00d7 119.2 mm tall with 6.65 mm-wide groove 2.93 mm deep.", "Chamfer 0.9 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d837.8 mm \u00d7 119.2 mm tall with 6.65 mm-wide groove 2.93 mm deep. Chamfer 0.9 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 37.8, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 119.2, "min": 35.8, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "groove_depth": {"type": "float", "default": 2.93, "min": 1.17, "max": 8.79, "step": 0.1, "group": "Body", "label": "Groove depth (mm)"}, "groove_w": {"type": "float", "default": 6.65, "min": 2.66, "max": 19.95, "step": 0.2, "group": "Body", "label": "Groove width (mm)"}, "groove_pos": {"type": "float", "default": 48.5, "min": 17.9, "max": 101.3, "step": 1.0, "group": "Body", "label": "Groove position (mm)"}, "end_chamfer": {"type": "float", "default": 0.9, "min": 0.1, "max": 2.7, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332876 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 37.8, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 119.2, \"min\": 35.8, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"groove_depth\": {\"type\": 'float', \"default\": 2.93, \"min\": 1.17, \"max\": 8.79, \"step\": 0.1, \"group\": 'Body', \"label\": 'Groove depth (mm)'},\n    \"groove_w\": {\"type\": 'float', \"default\": 6.65, \"min\": 2.66, \"max\": 19.95, \"step\": 0.2, \"group\": 'Body', \"label\": 'Groove width (mm)'},\n    \"groove_pos\": {\"type\": 'float', \"default\": 48.5, \"min\": 17.9, \"max\": 101.3, \"step\": 1.0, \"group\": 'Body', \"label\": 'Groove position (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.9, \"min\": 0.1, \"max\": 2.7, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"groove_pos\"] - p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2 - p[\"groove_depth\"], p[\"groove_pos\"] - p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2 - p[\"groove_depth\"], p[\"groove_pos\"] + p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2, p[\"groove_pos\"] + p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462cac8d_4313", "family": "revolved", "tier": 1, "seed": 1177332877, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "1b3eed82f9f392d8", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 561000.0, "surface_area": 82700.0, "principal_moments": [467000000.0, 2530000000.0, 2530000000.0], "n_faces": 8, "n_edges": 14, "n_vertices": 8}, "dimensions": {"lines": ["Revolved body, \u00d870.31 mm \u00d7 221.8 mm tall with \u00d841.5 mm bore.", "Chamfer 0.6 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d870.31 mm \u00d7 221.8 mm tall with \u00d841.5 mm bore. Chamfer 0.6 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 70.31, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 221.8, "min": 66.5, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 41.5, "min": 2.0, "max": 49.2, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "end_chamfer": {"type": "float", "default": 0.6, "min": 0.1, "max": 1.8, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332877 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 70.31, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 221.8, \"min\": 66.5, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 41.5, \"min\": 2.0, \"max\": 49.2, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.6, \"min\": 0.1, \"max\": 1.8, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462cac8e_4314", "family": "plate", "tier": 0, "seed": 1177332878, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "69ce166302496807", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 5560.0, "surface_area": 3390.0, "principal_moments": [450000.0, 946000.0, 1380000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 45 \u00d7 30.9 \u00d7 4 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 45 \u00d7 30.9 \u00d7 4 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 45, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 30.9, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 4.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332878 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 45, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 30.9, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 4.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462cac8f_4315", "family": "sketched", "tier": 3, "seed": 1177332879, "symmetry": "none", "op_count": 4, "ir_hash": "c369507ccfcd4817", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 20500.0, "surface_area": 6030.0, "principal_moments": [1400000.0, 6830000.0, 7490000.0], "n_faces": 13, "n_edges": 27, "n_vertices": 18}, "dimensions": {"lines": ["freeform sketched section (6 segments: 2 straight, 3 arcs, 1 curve), ~30.93 \u00d7 70.47 mm, extruded 12.04 mm thick.", "One \u00d86.4 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch.", "Boss \u00d814.9 mm \u00d7 8.5 mm tall on top face with a \u00d85.3 mm bore.", "Fillet radius 1.6 mm on vertical edges (optional, off by default)."], "text": "freeform sketched section (6 segments: 2 straight, 3 arcs, 1 curve), ~30.93 \u00d7 70.47 mm, extruded 12.04 mm thick. One \u00d86.4 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch. Boss \u00d814.9 mm \u00d7 8.5 mm tall on top face with a \u00d85.3 mm bore. Fillet radius 1.6 mm on vertical edges (optional, off by default)."}, "params": {"sk_w": {"type": "float", "default": 40.8, "min": 20.4, "max": 73.4, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 90.0, "min": 45.0, "max": 162.0, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "sk_t": {"type": "float", "default": 12.04, "min": 4.8, "max": 26.5, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "sk_hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 12.8, "step": 0.5, "group": "Holes", "label": "Hole diameter (mm)"}, "boss_d": {"type": "float", "default": 14.9, "min": 7.5, "max": 29.8, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 8.5, "min": 3.4, "max": 21.2, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}, "boss_bore_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 10.4, "step": 0.1, "group": "Boss", "label": "Bore diameter (mm)"}, "sk_fillet_r": {"type": "float", "default": 1.6, "min": 0.5, "max": 4.0, "step": 0.5, "group": "Body", "label": "Edge fillet radius (mm)"}, "sk_filleted": {"type": "bool", "default": false, "group": "Body", "label": "Fillet vertical edges"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332879 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 40.8, \"min\": 20.4, \"max\": 73.4, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 90.0, \"min\": 45.0, \"max\": 162.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"sk_t\": {\"type\": 'float', \"default\": 12.04, \"min\": 4.8, \"max\": 26.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"sk_hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 12.8, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"boss_d\": {\"type\": 'float', \"default\": 14.9, \"min\": 7.5, \"max\": 29.8, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 8.5, \"min\": 3.4, \"max\": 21.2, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n    \"boss_bore_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 10.4, \"step\": 0.1, \"group\": 'Boss', \"label\": 'Bore diameter (mm)'},\n    \"sk_fillet_r\": {\"type\": 'float', \"default\": 1.6, \"min\": 0.5, \"max\": 4.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Edge fillet radius (mm)'},\n    \"sk_filleted\": {\"type\": 'bool', \"default\": False, \"group\": 'Body', \"label\": 'Fillet vertical edges'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.3928, p[\"sk_h\"] * -0.067).lineTo(p[\"sk_w\"] * 0.2275, p[\"sk_h\"] * 0.292).threePointArc((p[\"sk_w\"] * 0.0825, p[\"sk_h\"] * 0.3769), (p[\"sk_w\"] * -0.0786, p[\"sk_h\"] * 0.3804)).threePointArc((p[\"sk_w\"] * -0.2793, p[\"sk_h\"] * 0.2292), (p[\"sk_w\"] * -0.3653, p[\"sk_h\"] * -0.031)).bezier([(p[\"sk_w\"] * -0.3653, p[\"sk_h\"] * -0.031), (p[\"sk_w\"] * -0.3349, p[\"sk_h\"] * -0.2265), (p[\"sk_w\"] * -0.2342, p[\"sk_h\"] * -0.3969)]).threePointArc((p[\"sk_w\"] * -0.0898, p[\"sk_h\"] * -0.4233), (p[\"sk_w\"] * 0.0658, p[\"sk_h\"] * -0.4026)).lineTo(p[\"sk_w\"] * 0.3928, p[\"sk_h\"] * -0.067).close().extrude(p[\"sk_t\"]))\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"sk_hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .hole(p[\"boss_bore_d\"])\n    )\n    if p[\"sk_filleted\"]:\n        result = result.edges('|Z').fillet(p[\"sk_fillet_r\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462cac90_4316", "family": "block", "tier": 2, "seed": 1177332880, "symmetry": "none", "op_count": 3, "ir_hash": "1fd721049bef2b1d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 2410.0, "surface_area": 1770.0, "principal_moments": [74800.0, 76400.0, 102000.0], "n_faces": 15, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 15.97 \u00d7 11 \u00d7 16.2 mm (W\u00d7D\u00d7H).", "Four \u00d82.2 mm holes at the corners, 11.179 \u00d7 7.7 mm spacing.", "Pocket 7.6 \u00d7 4.9 mm, 5 mm deep, in top face."], "text": "Rectangular body, 15.97 \u00d7 11 \u00d7 16.2 mm (W\u00d7D\u00d7H). Four \u00d82.2 mm holes at the corners, 11.179 \u00d7 7.7 mm spacing. Pocket 7.6 \u00d7 4.9 mm, 5 mm deep, in top face."}, "params": {"block_w": {"type": "float", "default": 15.97, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 11.0, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 16.2, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 2.2, "min": 2.0, "max": 2.5, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "pocket_w": {"type": "float", "default": 7.6, "min": 3.8, "max": 12.8, "step": 1.0, "group": "Pocket", "label": "Pocket width (mm)"}, "pocket_d": {"type": "float", "default": 4.9, "min": 2.5, "max": 8.8, "step": 1.0, "group": "Pocket", "label": "Pocket depth (mm)"}, "pocket_h": {"type": "float", "default": 5.0, "min": 2.0, "max": 13.8, "step": 0.5, "group": "Pocket", "label": "Pocket height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332880 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 15.97, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 11.0, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 16.2, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 2.2, \"min\": 2.0, \"max\": 2.5, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"pocket_w\": {\"type\": 'float', \"default\": 7.6, \"min\": 3.8, \"max\": 12.8, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket width (mm)'},\n    \"pocket_d\": {\"type\": 'float', \"default\": 4.9, \"min\": 2.5, \"max\": 8.8, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket depth (mm)'},\n    \"pocket_h\": {\"type\": 'float', \"default\": 5.0, \"min\": 2.0, \"max\": 13.8, \"step\": 0.5, \"group\": 'Pocket', \"label\": 'Pocket height (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"pocket_w\"], p[\"pocket_d\"])\n        .cutBlind(-p[\"pocket_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462cac91_4317", "family": "bracket", "tier": 1, "seed": 1177332881, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "4a411a1357a3d39a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 19900.0, "surface_area": 8130.0, "principal_moments": [3570000.0, 6320000.0, 8520000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["L-bracket: base leg 35.43 mm, vertical leg 27.8 mm, 58.17 mm wide, 6 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."], "text": "L-bracket: base leg 35.43 mm, vertical leg 27.8 mm, 58.17 mm wide, 6 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 35.43, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 27.8, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 58.17, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 6.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332881 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 35.43, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 27.8, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 58.17, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462cac92_4318", "family": "profiled", "tier": 2, "seed": 1177332882, "symmetry": "none", "op_count": 1, "ir_hash": "dc3e1676e94309c6", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 253000.0, "surface_area": 29700.0, "principal_moments": [51899999.99999999, 870000000.0, 870000000.0], "n_faces": 7, "n_edges": 15, "n_vertices": 10}, "dimensions": {"lines": ["5-sided polygon section, 46.16 mm across corners, extruded 200 mm thick."], "text": "5-sided polygon section, 46.16 mm across corners, extruded 200 mm thick."}, "params": {"circ_r": {"type": "float", "default": 23.08, "min": 11.5, "max": 46.2, "step": 1.0, "group": "Profile", "label": "Circumscribed radius (mm)"}, "n_sides": {"type": "int", "default": 5, "min": 3, "max": 8, "step": 1, "group": "Profile", "label": "Sides"}, "length": {"type": "float", "default": 200.0, "min": 60.0, "max": 600.0, "step": 5.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332882 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"circ_r\": {\"type\": 'float', \"default\": 23.08, \"min\": 11.5, \"max\": 46.2, \"step\": 1.0, \"group\": 'Profile', \"label\": 'Circumscribed radius (mm)'},\n    \"n_sides\": {\"type\": 'int', \"default\": 5, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Profile', \"label\": 'Sides'},\n    \"length\": {\"type\": 'float', \"default\": 200.0, \"min\": 60.0, \"max\": 600.0, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').polygon(p[\"n_sides\"], p[\"circ_r\"] * 2).extrude(p[\"length\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462cac93_4319", "family": "compound", "tier": 1, "seed": 1177332883, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "f0d0a01a565a8a8a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 265000.0, "surface_area": 45100.0, "principal_moments": [465000000.0, 479000000.0, 489000000.0], "n_faces": 12, "n_edges": 27, "n_vertices": 18}, "dimensions": {"lines": ["Rectangular body, 115.09 \u00d7 117.6 \u00d7 16 mm (W\u00d7D\u00d7H).", "\u00d825.3 mm circular section attachment, 113.2 mm long, from top face.", "Four \u00d813 mm holes at the corners, 80.563 \u00d7 82.32 mm spacing."], "text": "Rectangular body, 115.09 \u00d7 117.6 \u00d7 16 mm (W\u00d7D\u00d7H). \u00d825.3 mm circular section attachment, 113.2 mm long, from top face. Four \u00d813 mm holes at the corners, 80.563 \u00d7 82.32 mm spacing."}, "params": {"base_w": {"type": "float", "default": 115.09, "min": 30.0, "max": 160.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 117.6, "min": 25.0, "max": 160.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_h": {"type": "float", "default": 16.0, "min": 3.0, "max": 30.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "col_d": {"type": "float", "default": 25.3, "min": 10.1, "max": 57.5, "step": 1.0, "group": "Column", "label": "Column diameter (mm)"}, "col_h": {"type": "float", "default": 113.2, "min": 34.0, "max": 339.6, "step": 1.0, "group": "Column", "label": "Column height (mm)"}, "hole_d": {"type": "float", "default": 13.0, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332883 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 115.09, \"min\": 30.0, \"max\": 160.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 117.6, \"min\": 25.0, \"max\": 160.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_h\": {\"type\": 'float', \"default\": 16.0, \"min\": 3.0, \"max\": 30.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"col_d\": {\"type\": 'float', \"default\": 25.3, \"min\": 10.1, \"max\": 57.5, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column diameter (mm)'},\n    \"col_h\": {\"type\": 'float', \"default\": 113.2, \"min\": 34.0, \"max\": 339.6, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 13.0, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_h\"])\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"col_d\"] / 2).extrude(p[\"col_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"base_w\"] * 0.7, p[\"base_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462cac94_4320", "family": "flanged", "tier": 2, "seed": 1177332884, "symmetry": "radial", "op_count": 2, "ir_hash": "0661d0956f970375", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 12300.0, "surface_area": 6440.0, "principal_moments": [1930000.0, 2040000.0, 2040000.0], "n_faces": 13, "n_edges": 42, "n_vertices": 28}, "dimensions": {"lines": ["Revolved body, \u00d822.82 mm \u00d7 29.9 mm tall with \u00d812.4 mm bore, \u00d843.5 mm \u00d7 4 mm flange.", "Four \u00d85.3 mm holes on a \u00d826 mm bolt circle."], "text": "Revolved body, \u00d822.82 mm \u00d7 29.9 mm tall with \u00d812.4 mm bore, \u00d843.5 mm \u00d7 4 mm flange. Four \u00d85.3 mm holes on a \u00d826 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 22.82, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 29.9, "min": 9.0, "max": 74.8, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 12.4, "min": 2.0, "max": 16.0, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 43.5, "min": 29.7, "max": 68.5, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 4.0, "min": 1.2, "max": 12.0, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 13.0, "min": 8.7, "max": 19.6, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 4, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332884 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 22.82, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 29.9, \"min\": 9.0, \"max\": 74.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 12.4, \"min\": 2.0, \"max\": 16.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 43.5, \"min\": 29.7, \"max\": 68.5, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 4.0, \"min\": 1.2, \"max\": 12.0, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 13.0, \"min\": 8.7, \"max\": 19.6, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 4, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462cac95_4321", "family": "gear", "tier": 2, "seed": 1177332885, "symmetry": "none", "op_count": 1, "ir_hash": "06c670e1223603fa", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 1140.0, "surface_area": 1020.0, "principal_moments": [23200.0, 23200.0, 39800.0], "n_faces": 243, "n_edges": 603, "n_vertices": 362}, "dimensions": {"lines": ["Helical gear, module 1 mm, 15 teeth (pitch \u00d815 mm), face width 5.9 mm, 20.1\u00b0 helix (herringbone), \u00d83 mm bore."], "text": "Helical gear, module 1 mm, 15 teeth (pitch \u00d815 mm), face width 5.9 mm, 20.1\u00b0 helix (herringbone), \u00d83 mm bore."}, "params": {"module": {"type": "float", "default": 1.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 15, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 5.9, "min": 2.4, "max": 14.8, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "helix_angle": {"type": "float", "default": 20.1, "min": 5.0, "max": 40.0, "step": 1.0, "group": "Gear", "label": "Helix angle (deg)"}, "profile_shift": {"type": "float", "default": 0.09, "min": -0.5, "max": 0.7, "step": 0.05, "group": "Gear", "label": "Profile shift"}, "root_fillet": {"type": "float", "default": 0.24, "min": 0.0, "max": 0.5, "step": 0.05, "group": "Gear", "label": "Root fillet (mm)"}, "bore_d": {"type": "float", "default": 3.0, "min": 2.0, "max": 7.5, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332885 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 1.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 15, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 5.9, \"min\": 2.4, \"max\": 14.8, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"helix_angle\": {\"type\": 'float', \"default\": 20.1, \"min\": 5.0, \"max\": 40.0, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Helix angle (deg)'},\n    \"profile_shift\": {\"type\": 'float', \"default\": 0.09, \"min\": -0.5, \"max\": 0.7, \"step\": 0.05, \"group\": 'Gear', \"label\": 'Profile shift'},\n    \"root_fillet\": {\"type\": 'float', \"default\": 0.24, \"min\": 0.0, \"max\": 0.5, \"step\": 0.05, \"group\": 'Gear', \"label\": 'Root fillet (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 3.0, \"min\": 2.0, \"max\": 7.5, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.HelicalGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"], helix_angle=math.radians(p[\"helix_angle\"]), herringbone=True, profile_shift=p[\"profile_shift\"], root_fillet=p[\"root_fillet\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462cac96_4322", "family": "block", "tier": 1, "seed": 1177332886, "symmetry": "none", "op_count": 2, "ir_hash": "54fa8a12f48f1b59", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 523000.0, "surface_area": 53500.0, "principal_moments": [540000000.0, 558000000.0, 781000000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 95 \u00d7 61.2 \u00d7 95.7 mm (W\u00d7D\u00d7H).", "Four \u00d810.5 mm holes at the corners, 66.5 \u00d7 42.84 mm spacing."], "text": "Rectangular body, 95 \u00d7 61.2 \u00d7 95.7 mm (W\u00d7D\u00d7H). Four \u00d810.5 mm holes at the corners, 66.5 \u00d7 42.84 mm spacing."}, "params": {"block_w": {"type": "float", "default": 95, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 61.2, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 95.7, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 10.5, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332886 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 95, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 61.2, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 95.7, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 10.5, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462cac97_4323", "family": "plate", "tier": 2, "seed": 1177332887, "symmetry": "none", "op_count": 3, "ir_hash": "c0d127105f9e8219", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 64600.0, "surface_area": 16000.0, "principal_moments": [11999999.999999998, 76800000.0, 87200000.0], "n_faces": 18, "n_edges": 48, "n_vertices": 32}, "dimensions": {"lines": ["Rectangular body, 118.99 \u00d7 46.2 \u00d7 12 mm (W\u00d7D\u00d7H).", "Eight \u00d84.3 mm holes in a 4\u00d72 grid, 31.7 \u00d7 37 mm pitch.", "Fillet radius 1.455 mm on vertical edges."], "text": "Rectangular body, 118.99 \u00d7 46.2 \u00d7 12 mm (W\u00d7D\u00d7H). Eight \u00d84.3 mm holes in a 4\u00d72 grid, 31.7 \u00d7 37 mm pitch. Fillet radius 1.455 mm on vertical edges."}, "params": {"plate_w": {"type": "float", "default": 118.99, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 46.2, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 5.5, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 4, "min": 1, "max": 4, "step": 1, "group": "Holes", "label": "Holes across"}, "hole_ny": {"type": "int", "default": 2, "min": 1, "max": 4, "step": 1, "group": "Holes", "label": "Holes deep"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332887 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 118.99, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 46.2, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 5.5, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 4, \"min\": 1, \"max\": 4, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes across'},\n    \"hole_ny\": {\"type\": 'int', \"default\": 2, \"min\": 1, \"max\": 4, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes deep'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(31.7, 37.0, p[\"hole_nx\"], p[\"hole_ny\"])\n        .hole(p[\"hole_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"plate_w\"], p[\"plate_d\"]) * 0.03150016795767693)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462cac98_4324", "family": "plate", "tier": 1, "seed": 1177332888, "symmetry": "radial", "op_count": 2, "ir_hash": "b3dc58a87a14b7cd", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 6250.0, "surface_area": 3650.0, "principal_moments": [249000.0, 1260000.0, 1440000.0], "n_faces": 20, "n_edges": 54, "n_vertices": 36}, "dimensions": {"lines": ["Rectangular body, 47.65 \u00d7 20.8 \u00d7 8 mm (W\u00d7D\u00d7H).", "Twelve \u00d86.4 mm holes on a \u00d828.6 mm bolt circle."], "text": "Rectangular body, 47.65 \u00d7 20.8 \u00d7 8 mm (W\u00d7D\u00d7H). Twelve \u00d86.4 mm holes on a \u00d828.6 mm bolt circle."}, "params": {"plate_w": {"type": "float", "default": 47.65, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 20.8, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "bolt_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 14.3, "min": 9.5, "max": 21.4, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 12, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332888 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 47.65, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 20.8, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 14.3, \"min\": 9.5, \"max\": 21.4, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 12, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462cac99_4325", "family": "revolved", "tier": 0, "seed": 1177332889, "symmetry": "none", "op_count": 1, "ir_hash": "04ec6095e1e36d8c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 7770.0, "surface_area": 3680.0, "principal_moments": [904000.0, 904000.0, 1710000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d838.34 mm \u00d7 10.1 mm tall."], "text": "Revolved body, \u00d838.34 mm \u00d7 10.1 mm tall."}, "params": {"outer_d": {"type": "float", "default": 38.34, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 10.1, "min": 3.0, "max": 30.3, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332889 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 38.34, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 10.1, \"min\": 3.0, \"max\": 30.3, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462cac9a_4326", "family": "compound", "tier": 1, "seed": 1177332890, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "f42e08fe9752443a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 235000.0, "surface_area": 29300.0, "principal_moments": [142000000.0, 146000000.0, 208000000.0], "n_faces": 15, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 70 \u00d7 45.7 \u00d7 72.5 mm (W\u00d7D\u00d7H).", "30.5 \u00d7 40.6 mm rectangular section attachment, 8 mm long, from right face.", "Four \u00d85.3 mm holes at the corners, 18.3 \u00d7 24.36 mm spacing on the >X face."], "text": "Rectangular body, 70 \u00d7 45.7 \u00d7 72.5 mm (W\u00d7D\u00d7H). 30.5 \u00d7 40.6 mm rectangular section attachment, 8 mm long, from right face. Four \u00d85.3 mm holes at the corners, 18.3 \u00d7 24.36 mm spacing on the >X face."}, "params": {"block_w": {"type": "float", "default": 70, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 45.7, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 72.5, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "tab_a": {"type": "float", "default": 30.5, "min": 12.2, "max": 48.8, "step": 1.0, "group": "Tab", "label": "Tab width (mm)"}, "tab_b": {"type": "float", "default": 40.6, "min": 16.2, "max": 65.0, "step": 1.0, "group": "Tab", "label": "Tab height (mm)"}, "tab_t": {"type": "float", "default": 8.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Tab", "label": "Tab thickness (mm)"}, "tab_hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 6.7, "step": 0.1, "group": "Tab", "label": "Tab hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332890 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 70, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 45.7, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 72.5, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"tab_a\": {\"type\": 'float', \"default\": 30.5, \"min\": 12.2, \"max\": 48.8, \"step\": 1.0, \"group\": 'Tab', \"label\": 'Tab width (mm)'},\n    \"tab_b\": {\"type\": 'float', \"default\": 40.6, \"min\": 16.2, \"max\": 65.0, \"step\": 1.0, \"group\": 'Tab', \"label\": 'Tab height (mm)'},\n    \"tab_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Tab', \"label\": 'Tab thickness (mm)'},\n    \"tab_hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 6.7, \"step\": 0.1, \"group\": 'Tab', \"label\": 'Tab hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .rect(p[\"tab_a\"], p[\"tab_b\"]).extrude(p[\"tab_t\"])\n    )\n    result = (\n        result.faces('>X').workplane()\n        .rect(p[\"tab_a\"] * 0.6, p[\"tab_b\"] * 0.6, forConstruction=True)\n        .vertices().hole(p[\"tab_hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462cac9b_4327", "family": "compound", "tier": 2, "seed": 1177332891, "symmetry": "mirror_x", "op_count": 5, "ir_hash": "e762fe5a36e8d994", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 36000.0, "surface_area": 8230.0, "principal_moments": [5550000.0, 7530000.0, 7630000.0], "n_faces": 21, "n_edges": 49, "n_vertices": 31}, "dimensions": {"lines": ["Rectangular body, 40 \u00d7 30.4 \u00d7 30.1 mm (W\u00d7D\u00d7H).", "\u00d86 mm circular section attachment, 4.8 mm long, from back face with a \u00d82.9 mm bore.", "\u00d86 mm circular section attachment, 4.8 mm long, from right face with a \u00d82.9 mm bore.", "\u00d86 mm circular section attachment, 4.8 mm long, from front face with a \u00d82.9 mm bore.", "Four \u00d83.2 mm holes at the corners, 28 \u00d7 21.28 mm spacing."], "text": "Rectangular body, 40 \u00d7 30.4 \u00d7 30.1 mm (W\u00d7D\u00d7H). \u00d86 mm circular section attachment, 4.8 mm long, from back face with a \u00d82.9 mm bore. \u00d86 mm circular section attachment, 4.8 mm long, from right face with a \u00d82.9 mm bore. \u00d86 mm circular section attachment, 4.8 mm long, from front face with a \u00d82.9 mm bore. Four \u00d83.2 mm holes at the corners, 28 \u00d7 21.28 mm spacing."}, "params": {"block_w": {"type": "float", "default": 40, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body width (mm)"}, "block_d": {"type": "float", "default": 30.4, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body depth (mm)"}, "block_h": {"type": "float", "default": 30.1, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body height (mm)"}, "port_d": {"type": "float", "default": 6.0, "min": 2.4, "max": 13.5, "step": 1.0, "group": "Ports", "label": "Ports diameter (mm)"}, "port_len": {"type": "float", "default": 4.8, "min": 1.5, "max": 18.0, "step": 1.0, "group": "Ports", "label": "Port boss length (mm)"}, "port_bore": {"type": "float", "default": 2.9, "min": 2.0, "max": 4.3, "step": 0.5, "group": "Ports", "label": "Port bore diameter (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 6.8, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332891 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 40, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 30.4, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 30.1, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body height (mm)'},\n    \"port_d\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.4, \"max\": 13.5, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Ports diameter (mm)'},\n    \"port_len\": {\"type\": 'float', \"default\": 4.8, \"min\": 1.5, \"max\": 18.0, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Port boss length (mm)'},\n    \"port_bore\": {\"type\": 'float', \"default\": 2.9, \"min\": 2.0, \"max\": 4.3, \"step\": 0.5, \"group\": 'Ports', \"label\": 'Port bore diameter (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 6.8, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462cac9c_4328", "family": "bracket", "tier": 3, "seed": 1177332892, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "a9a15dc13390eb6f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 31900.0, "surface_area": 10200.0, "principal_moments": [7140000.0, 14599999.999999998, 15599999.999999998], "n_faces": 14, "n_edges": 37, "n_vertices": 24}, "dimensions": {"lines": ["L-bracket: base leg 50 mm, vertical leg 53.1 mm, 40 mm wide, 8 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg; 8.7 mm corner gusset."], "text": "L-bracket: base leg 50 mm, vertical leg 53.1 mm, 40 mm wide, 8 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg; 8.7 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 50, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 53.1, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 40, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 8.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 8.7, "min": 4.0, "max": 20.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332892 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 50, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 53.1, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 40, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 8.7, \"min\": 4.0, \"max\": 20.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462cac9d_4329", "family": "bracket", "tier": 3, "seed": 1177332893, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "de5aaff8d3c8c986", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 11000.0, "surface_area": 4150.0, "principal_moments": [976000.0, 1820000.0, 2070000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["C-channel bracket: base leg 33.67 mm, vertical leg 25.4 mm, 20 mm wide, 8 mm thick; 2 \u00d7 \u00d85.3 mm holes per leg; 9.7 mm corner gusset."], "text": "C-channel bracket: base leg 33.67 mm, vertical leg 25.4 mm, 20 mm wide, 8 mm thick; 2 \u00d7 \u00d85.3 mm holes per leg; 9.7 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 33.67, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 25.4, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 20, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 8.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 8.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 2, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 9.7, "min": 4.0, "max": 10.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332893 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 33.67, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 25.4, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 20, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 8.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 2, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 9.7, \"min\": 4.0, \"max\": 10.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl / 2, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bl - _bt, _bt).lineTo(_bl - _bt - _g, _bt)\n                    .lineTo(_bl - _bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462cac9f_4331", "family": "plate", "tier": 3, "seed": 1177332895, "symmetry": "mirror_xy", "op_count": 4, "ir_hash": "3da7c50e75ed00d1", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 12400.0, "surface_area": 5370.0, "principal_moments": [636000.0, 4770000.0, 5200000.0], "n_faces": 19, "n_edges": 48, "n_vertices": 32}, "dimensions": {"lines": ["Rectangular body, 65 \u00d7 22.1 \u00d7 10 mm (W\u00d7D\u00d7H).", "Four \u00d84.3 mm holes at the corners, 45.5 \u00d7 15.47 mm spacing.", "Chamfer 0.6 mm on vertical edges.", "Pocket 27.4 \u00d7 10.9 mm, 4.5 mm deep, in top face."], "text": "Rectangular body, 65 \u00d7 22.1 \u00d7 10 mm (W\u00d7D\u00d7H). Four \u00d84.3 mm holes at the corners, 45.5 \u00d7 15.47 mm spacing. Chamfer 0.6 mm on vertical edges. Pocket 27.4 \u00d7 10.9 mm, 4.5 mm deep, in top face."}, "params": {"plate_w": {"type": "float", "default": 65, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 22.1, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 5.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "chamfer_d": {"type": "float", "default": 0.6, "min": 0.5, "max": 0.9, "step": 0.5, "group": "Body", "label": "Chamfer distance (mm)"}, "chamfered": {"type": "bool", "default": true, "group": "Body", "label": "Chamfer edges"}, "pocket_w": {"type": "float", "default": 27.4, "min": 13.7, "max": 52.0, "step": 1.0, "group": "Pocket", "label": "Pocket width (mm)"}, "pocket_d": {"type": "float", "default": 10.9, "min": 5.5, "max": 17.7, "step": 1.0, "group": "Pocket", "label": "Pocket depth (mm)"}, "pocket_h": {"type": "float", "default": 4.5, "min": 1.8, "max": 8.5, "step": 0.5, "group": "Pocket", "label": "Pocket height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332895 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 65, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 22.1, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 5.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"chamfer_d\": {\"type\": 'float', \"default\": 0.6, \"min\": 0.5, \"max\": 0.9, \"step\": 0.5, \"group\": 'Body', \"label\": 'Chamfer distance (mm)'},\n    \"chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Chamfer edges'},\n    \"pocket_w\": {\"type\": 'float', \"default\": 27.4, \"min\": 13.7, \"max\": 52.0, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket width (mm)'},\n    \"pocket_d\": {\"type\": 'float', \"default\": 10.9, \"min\": 5.5, \"max\": 17.7, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket depth (mm)'},\n    \"pocket_h\": {\"type\": 'float', \"default\": 4.5, \"min\": 1.8, \"max\": 8.5, \"step\": 0.5, \"group\": 'Pocket', \"label\": 'Pocket height (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"chamfered\"]:\n        result = result.edges('|Z').chamfer(p[\"chamfer_d\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"pocket_w\"], p[\"pocket_d\"])\n        .cutBlind(-p[\"pocket_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462caca0_4332", "family": "tapped", "tier": 1, "seed": 1177332896, "symmetry": "none", "op_count": 1, "ir_hash": "a41cef79519bfe27", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 69000.0, "surface_area": 14900.0, "principal_moments": [17800000.0, 42900000.0, 57899999.99999999], "n_faces": 502, "n_edges": 1372, "n_vertices": 872}, "dimensions": {"lines": ["Four M6x1 tapped holes in a plate."], "text": "Four M6x1 tapped holes in a plate."}, "params": {"major_d": {"type": "float", "default": 6.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 1.0, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 15.5, "min": 7.2, "max": 27.9, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "plate_w": {"type": "float", "default": 85, "min": 51.0, "max": 136.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 53.5, "min": 32.1, "max": 85.6, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332896 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.0, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 15.5, \"min\": 7.2, \"max\": 27.9, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"plate_w\": {\"type\": 'float', \"default\": 85, \"min\": 51.0, \"max\": 136.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 53.5, \"min\": 32.1, \"max\": 85.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n}\n\n\ndef build(p):\n\n    _W, _D, _H = p[\"plate_w\"], p[\"plate_d\"], p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Box(_W, _D, _H)\n    _sx, _sy = p[\"plate_w\"] * 0.6, p[\"plate_d\"] * 0.6\n    _locs = [(_xx, _yy) for _xx in (-_sx / 2, _sx / 2) for _yy in (-_sy / 2, _sy / 2)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462caca1_4333", "family": "threaded", "tier": 0, "seed": 1177332897, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "9a8e0aef3492550b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 223.0, "surface_area": 345.0, "principal_moments": [580.0, 3890.0, 3890.0], "n_faces": 180, "n_edges": 458, "n_vertices": 280}, "dimensions": {"lines": ["M5x0.8 external thread, 14 mm long."], "text": "M5x0.8 external thread, 14 mm long."}, "params": {"major_d": {"type": "float", "default": 5.0, "min": 4.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Major diameter (mm)"}, "pitch": {"type": "float", "default": 0.8, "min": 0.4, "max": 1.6, "step": 0.05, "group": "Thread", "label": "Pitch (mm)"}, "thread_len": {"type": "float", "default": 14.0, "min": 5.6, "max": 28.0, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332897 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 5.0, \"min\": 4.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Major diameter (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 0.8, \"min\": 0.4, \"max\": 1.6, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Pitch (mm)'},\n    \"thread_len\": {\"type\": 'float', \"default\": 14.0, \"min\": 5.6, \"max\": 28.0, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.IsoThread(major_diameter=p[\"major_d\"], pitch=p[\"pitch\"], length=p[\"thread_len\"], external=True, end_finishes=(\"fade\", \"fade\"))\n    _r = _thr.min_radius if hasattr(_thr, 'min_radius') else _thr.root_radius\n    _shank = _bd.Cylinder(radius=_r, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = _shank + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462caca3_4335", "family": "compound", "tier": 1, "seed": 1177332899, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "895966d433ffcacc", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 25300.0, "surface_area": 8480.0, "principal_moments": [6250000.0, 6300000.0, 8180000.0], "n_faces": 12, "n_edges": 27, "n_vertices": 18}, "dimensions": {"lines": ["Rectangular body, 50 \u00d7 50.3 \u00d7 8 mm (W\u00d7D\u00d7H).", "\u00d815.7 mm circular section attachment, 30.2 mm long, from top face.", "Four \u00d85.3 mm holes at the corners, 35 \u00d7 35.21 mm spacing."], "text": "Rectangular body, 50 \u00d7 50.3 \u00d7 8 mm (W\u00d7D\u00d7H). \u00d815.7 mm circular section attachment, 30.2 mm long, from top face. Four \u00d85.3 mm holes at the corners, 35 \u00d7 35.21 mm spacing."}, "params": {"base_w": {"type": "float", "default": 50, "min": 30.0, "max": 160.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 50.3, "min": 25.0, "max": 160.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_h": {"type": "float", "default": 8.0, "min": 3.0, "max": 30.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "col_d": {"type": "float", "default": 15.7, "min": 6.3, "max": 25.0, "step": 1.0, "group": "Column", "label": "Column diameter (mm)"}, "col_h": {"type": "float", "default": 30.2, "min": 9.1, "max": 90.6, "step": 1.0, "group": "Column", "label": "Column height (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 11.2, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332899 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 50, \"min\": 30.0, \"max\": 160.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 50.3, \"min\": 25.0, \"max\": 160.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_h\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 30.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"col_d\": {\"type\": 'float', \"default\": 15.7, \"min\": 6.3, \"max\": 25.0, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column diameter (mm)'},\n    \"col_h\": {\"type\": 'float', \"default\": 30.2, \"min\": 9.1, \"max\": 90.6, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 11.2, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_h\"])\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"col_d\"] / 2).extrude(p[\"col_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"base_w\"] * 0.7, p[\"base_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462caca4_4336", "family": "enclosure", "tier": 1, "seed": 1177332900, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "1a0ea3aaa1bce01d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 76900.0, "surface_area": 29000.0, "principal_moments": [36900000.0, 82500000.0, 92099999.99999999], "n_faces": 11, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 90 \u00d7 48 \u00d7 42.7 mm (W\u00d7D\u00d7H).", "Hollowed to 5.6 mm wall thickness, open at top face."], "text": "Rectangular body, 90 \u00d7 48 \u00d7 42.7 mm (W\u00d7D\u00d7H). Hollowed to 5.6 mm wall thickness, open at top face."}, "params": {"enc_w": {"type": "float", "default": 90, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 48.0, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 42.7, "min": 17.1, "max": 85.4, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 5.6, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332900 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 90, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 48.0, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 42.7, \"min\": 17.1, \"max\": 85.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 5.6, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462caca5_4337", "family": "lofted", "tier": 1, "seed": 1177332901, "symmetry": "none", "op_count": 2, "ir_hash": "a29574632b0d1c50", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 35500.0, "surface_area": 7840.0, "principal_moments": [5550000.0, 8650000.0, 8650000.0], "n_faces": 9, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["Lofted body through 2 sections: \u00d840 mm circular section \u2192 6-sided polygon section, 27.4 mm across corners.", "One \u00d89.8 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 2 sections: \u00d840 mm circular section \u2192 6-sided polygon section, 27.4 mm across corners. One \u00d89.8 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 40, "min": 20.0, "max": 64.0, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 27.4, "min": 11.0, "max": 48.0, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 46.2, "min": 18.5, "max": 92.4, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_bore_d": {"type": "float", "default": 9.8, "min": 2.0, "max": 21.9, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332901 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 40, \"min\": 20.0, \"max\": 64.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 27.4, \"min\": 11.0, \"max\": 48.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 46.2, \"min\": 18.5, \"max\": 92.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 9.8, \"min\": 2.0, \"max\": 21.9, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .circle(p[\"loft_base\"] / 2)\n        .workplane(offset=p[\"loft_h\"])\n        .polygon(6, p[\"loft_top\"] * 0.5 * 2)\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462caca6_4338", "family": "sketched", "tier": 0, "seed": 1177332902, "symmetry": "none", "op_count": 1, "ir_hash": "502db7f1450fbe79", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 35700.0, "surface_area": 9920.0, "principal_moments": [6560000.0, 8060000.0, 8060000.0], "n_faces": 9, "n_edges": 16, "n_vertices": 9}, "dimensions": {"lines": ["Revolved organic body from a freeform sketched section (8 segments: 3 straight, 2 arcs, 3 curves), ~24.467 \u00d7 45 mm half-silhouette."], "text": "Revolved organic body from a freeform sketched section (8 segments: 3 straight, 2 arcs, 3 curves), ~24.467 \u00d7 45 mm half-silhouette."}, "params": {"sk_r": {"type": "float", "default": 26.67, "min": 13.3, "max": 48.0, "step": 1.0, "group": "Sketch", "label": "Max radius (mm)"}, "sk_h": {"type": "float", "default": 45, "min": 22.5, "max": 81.0, "step": 1.0, "group": "Sketch", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332902 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_r\": {\"type\": 'float', \"default\": 26.67, \"min\": 13.3, \"max\": 48.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Max radius (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 45, \"min\": 22.5, \"max\": 81.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XZ').moveTo(p[\"sk_r\"] * 0.3111, p[\"sk_h\"] * 0.0).spline([(p[\"sk_r\"] * 0.3111, p[\"sk_h\"] * 0.0), (p[\"sk_r\"] * 0.2671, p[\"sk_h\"] * 0.0752), (p[\"sk_r\"] * 0.3898, p[\"sk_h\"] * 0.1504)]).threePointArc((p[\"sk_r\"] * 0.4607, p[\"sk_h\"] * 0.2159), (p[\"sk_r\"] * 0.3488, p[\"sk_h\"] * 0.2815)).bezier([(p[\"sk_r\"] * 0.3488, p[\"sk_h\"] * 0.2815), (p[\"sk_r\"] * 0.7747, p[\"sk_h\"] * 0.4047), (p[\"sk_r\"] * 0.9072, p[\"sk_h\"] * 0.5279)]).lineTo(p[\"sk_r\"] * 0.5467, p[\"sk_h\"] * 0.6066).threePointArc((p[\"sk_r\"] * 0.4197, p[\"sk_h\"] * 0.668), (p[\"sk_r\"] * 0.4803, p[\"sk_h\"] * 0.7295)).bezier([(p[\"sk_r\"] * 0.4803, p[\"sk_h\"] * 0.7295), (p[\"sk_r\"] * 0.6145, p[\"sk_h\"] * 0.8647), (p[\"sk_r\"] * 0.9785, p[\"sk_h\"] * 1.0)]).lineTo(p[\"sk_r\"] * 0.0611, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.0611, p[\"sk_h\"] * 0.0).close().revolve())\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462caca7_4339", "family": "tapped", "tier": 0, "seed": 1177332903, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "3ab7701ccac71fe8", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 10600.0, "surface_area": 3570.0, "principal_moments": [900000.0, 900000.0, 1350000.0], "n_faces": 91, "n_edges": 317, "n_vertices": 228}, "dimensions": {"lines": ["One M10x1.5 tapped hole in a cylinder."], "text": "One M10x1.5 tapped hole in a cylinder."}, "params": {"major_d": {"type": "float", "default": 10.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 1.5, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 16.0, "min": 12.0, "max": 28.8, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "body_d": {"type": "float", "default": 30.5, "min": 18.0, "max": 48.8, "step": 1.0, "group": "Body", "label": "Outer \u00d8 (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332903 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 10.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.5, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 16.0, \"min\": 12.0, \"max\": 28.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"body_d\": {\"type\": 'float', \"default\": 30.5, \"min\": 18.0, \"max\": 48.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer \u00d8 (mm)'},\n}\n\n\ndef build(p):\n\n    _W = _D = p[\"body_d\"]\n    _H = p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Cylinder(radius=_W / 2, height=_H)\n    _locs = [(0.0, 0.0)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462caca8_4340", "family": "threaded", "tier": 0, "seed": 1177332904, "symmetry": "none", "op_count": 1, "ir_hash": "b7b389af55cd2b78", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 7370.0, "surface_area": 3510.0, "principal_moments": [203000.0, 1230000.0, 1230000.0], "n_faces": 380, "n_edges": 1042, "n_vertices": 664}, "dimensions": {"lines": ["M16x2 external thread, 43 mm long."], "text": "M16x2 external thread, 43 mm long."}, "params": {"major_d": {"type": "float", "default": 16.0, "min": 4.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Major diameter (mm)"}, "pitch": {"type": "float", "default": 2.0, "min": 1.0, "max": 4.0, "step": 0.05, "group": "Thread", "label": "Pitch (mm)"}, "thread_len": {"type": "float", "default": 43.0, "min": 17.2, "max": 86.0, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332904 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 16.0, \"min\": 4.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Major diameter (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 2.0, \"min\": 1.0, \"max\": 4.0, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Pitch (mm)'},\n    \"thread_len\": {\"type\": 'float', \"default\": 43.0, \"min\": 17.2, \"max\": 86.0, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.IsoThread(major_diameter=p[\"major_d\"], pitch=p[\"pitch\"], length=p[\"thread_len\"], external=True, end_finishes=(\"fade\", \"fade\"))\n    _r = _thr.min_radius if hasattr(_thr, 'min_radius') else _thr.root_radius\n    _shank = _bd.Cylinder(radius=_r, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = _shank + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462caca9_4341", "family": "plate", "tier": 1, "seed": 1177332905, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "1ea7229f84b37130", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 2230.0, "surface_area": 1400.0, "principal_moments": [36600.0, 121000.0, 121000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 23.87 \u00d7 10 \u00d7 10 mm (W\u00d7D\u00d7H).", "Four \u00d82.2 mm holes at the corners, 16.709 \u00d7 7 mm spacing."], "text": "Rectangular body, 23.87 \u00d7 10 \u00d7 10 mm (W\u00d7D\u00d7H). Four \u00d82.2 mm holes at the corners, 16.709 \u00d7 7 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 23.87, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 10.0, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 2.2, "min": 2.0, "max": 2.2, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332905 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 23.87, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 10.0, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 2.2, \"min\": 2.0, \"max\": 2.2, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462cacaa_4342", "family": "plate", "tier": 2, "seed": 1177332906, "symmetry": "none", "op_count": 2, "ir_hash": "0729d9353872530a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 1810.0, "surface_area": 1670.0, "principal_moments": [50300.0, 184000.0, 232000.0], "n_faces": 14, "n_edges": 44, "n_vertices": 28}, "dimensions": {"lines": ["Rectangular body, 35.71 \u00d7 18.5 \u00d7 3 mm (W\u00d7D\u00d7H).", "Four \u00d83.2 mm countersunk holes (82\u00b0) at the corners, 24.997 \u00d7 12.95 mm spacing."], "text": "Rectangular body, 35.71 \u00d7 18.5 \u00d7 3 mm (W\u00d7D\u00d7H). Four \u00d83.2 mm countersunk holes (82\u00b0) at the corners, 24.997 \u00d7 12.95 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 35.71, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 18.5, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 3.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 4.2, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "cs_angle": {"type": "float", "default": 82.0, "min": 60.0, "max": 120.0, "step": 15.0, "group": "Holes", "label": "Countersink angle (\u00b0)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332906 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 35.71, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 18.5, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 3.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 4.2, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"cs_angle\": {\"type\": 'float', \"default\": 82.0, \"min\": 60.0, \"max\": 120.0, \"step\": 15.0, \"group\": 'Holes', \"label\": 'Countersink angle (\u00b0)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().cskHole(p[\"hole_d\"], p[\"hole_d\"] * 2, p[\"cs_angle\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462cacac_4344", "family": "block", "tier": 1, "seed": 1177332908, "symmetry": "none", "op_count": 2, "ir_hash": "7e614da4a5d835d6", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 412000.0, "surface_area": 41000.0, "principal_moments": [320000000.0, 423000000.0, 543000000.0], "n_faces": 11, "n_edges": 27, "n_vertices": 18}, "dimensions": {"lines": ["Rectangular body, 80 \u00d7 54 \u00d7 97 mm (W\u00d7D\u00d7H).", "Five \u00d84.3 mm holes in two staggered rows, 30 \u00d7 32 mm pitch."], "text": "Rectangular body, 80 \u00d7 54 \u00d7 97 mm (W\u00d7D\u00d7H). Five \u00d84.3 mm holes in two staggered rows, 30 \u00d7 32 mm pitch."}, "params": {"block_w": {"type": "float", "default": 80, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 54.0, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 97.0, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 5.4, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 3, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332908 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 80, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 54.0, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 97.0, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 5.4, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 3, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 30.0\n    _ssy = 32.0\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462cacad_4345", "family": "compound", "tier": 2, "seed": 1177332909, "symmetry": "none", "op_count": 4, "ir_hash": "fab0fe40f360fc89", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 97700.0, "surface_area": 18300.0, "principal_moments": [33900000.0, 39600000.0, 60799999.99999999], "n_faces": 17, "n_edges": 42, "n_vertices": 28}, "dimensions": {"lines": ["Rectangular body, 55 \u00d7 65.1 \u00d7 28 mm (W\u00d7D\u00d7H).", "47.2 \u00d7 22.2 mm rectangular section attachment, 4 mm long, from left face.", "Four \u00d83.2 mm holes at the corners, 28.32 \u00d7 13.32 mm spacing on the <X face.", "Four \u00d810.5 mm holes at the corners, 38.5 \u00d7 45.57 mm spacing."], "text": "Rectangular body, 55 \u00d7 65.1 \u00d7 28 mm (W\u00d7D\u00d7H). 47.2 \u00d7 22.2 mm rectangular section attachment, 4 mm long, from left face. Four \u00d83.2 mm holes at the corners, 28.32 \u00d7 13.32 mm spacing on the <X face. Four \u00d810.5 mm holes at the corners, 38.5 \u00d7 45.57 mm spacing."}, "params": {"block_w": {"type": "float", "default": 55, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 65.1, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 28.0, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "tab_a": {"type": "float", "default": 47.2, "min": 18.9, "max": 75.5, "step": 1.0, "group": "Tab", "label": "Tab width (mm)"}, "tab_b": {"type": "float", "default": 22.2, "min": 8.9, "max": 35.5, "step": 1.0, "group": "Tab", "label": "Tab height (mm)"}, "tab_t": {"type": "float", "default": 4.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Tab", "label": "Tab thickness (mm)"}, "tab_hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 4.9, "step": 0.1, "group": "Tab", "label": "Tab hole diameter (mm)"}, "block_hole_d": {"type": "float", "default": 10.5, "min": 2.0, "max": 12.4, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332909 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 55, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 65.1, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 28.0, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"tab_a\": {\"type\": 'float', \"default\": 47.2, \"min\": 18.9, \"max\": 75.5, \"step\": 1.0, \"group\": 'Tab', \"label\": 'Tab width (mm)'},\n    \"tab_b\": {\"type\": 'float', \"default\": 22.2, \"min\": 8.9, \"max\": 35.5, \"step\": 1.0, \"group\": 'Tab', \"label\": 'Tab height (mm)'},\n    \"tab_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Tab', \"label\": 'Tab thickness (mm)'},\n    \"tab_hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 4.9, \"step\": 0.1, \"group\": 'Tab', \"label\": 'Tab hole diameter (mm)'},\n    \"block_hole_d\": {\"type\": 'float', \"default\": 10.5, \"min\": 2.0, \"max\": 12.4, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .rect(p[\"tab_a\"], p[\"tab_b\"]).extrude(p[\"tab_t\"])\n    )\n    result = (\n        result.faces('<X').workplane()\n        .rect(p[\"tab_a\"] * 0.6, p[\"tab_b\"] * 0.6, forConstruction=True)\n        .vertices().hole(p[\"tab_hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"block_hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462cacae_4346", "family": "sketched", "tier": 1, "seed": 1177332910, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "7b5b255310213444", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 50400.0, "surface_area": 13100.0, "principal_moments": [12999999.999999998, 12999999.999999998, 18300000.0], "n_faces": 9, "n_edges": 16, "n_vertices": 9}, "dimensions": {"lines": ["Revolved organic body from a freeform sketched section (8 segments: 7 straight, 1 curve), ~32.416 \u00d7 40 mm half-silhouette."], "text": "Revolved organic body from a freeform sketched section (8 segments: 7 straight, 1 curve), ~32.416 \u00d7 40 mm half-silhouette."}, "params": {"sk_r": {"type": "float", "default": 40, "min": 20.0, "max": 72.0, "step": 1.0, "group": "Sketch", "label": "Max radius (mm)"}, "sk_h": {"type": "float", "default": 40, "min": 20.0, "max": 72.0, "step": 1.0, "group": "Sketch", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332910 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_r\": {\"type\": 'float', \"default\": 40, \"min\": 20.0, \"max\": 72.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Max radius (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 40, \"min\": 20.0, \"max\": 72.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XZ').moveTo(p[\"sk_r\"] * 0.1514, p[\"sk_h\"] * 0.0).spline([(p[\"sk_r\"] * 0.1514, p[\"sk_h\"] * 0.0), (p[\"sk_r\"] * 0.1821, p[\"sk_h\"] * 0.1699), (p[\"sk_r\"] * 0.3318, p[\"sk_h\"] * 0.3398)]).lineTo(p[\"sk_r\"] * 0.6113, p[\"sk_h\"] * 0.3711).lineTo(p[\"sk_r\"] * 0.4231, p[\"sk_h\"] * 0.43).lineTo(p[\"sk_r\"] * 0.4783, p[\"sk_h\"] * 0.5875).lineTo(p[\"sk_r\"] * 0.5052, p[\"sk_h\"] * 0.6643).lineTo(p[\"sk_r\"] * 0.9023, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.0919, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.0919, p[\"sk_h\"] * 0.0).close().revolve())\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462cacaf_4347", "family": "plate", "tier": 1, "seed": 1177332911, "symmetry": "radial", "op_count": 2, "ir_hash": "4d9b76f7d751165c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 27100.0, "surface_area": 8360.0, "principal_moments": [2310000.0, 14899999.999999998, 16499999.999999998], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Rectangular body, 80 \u00d7 29.9 \u00d7 12 mm (W\u00d7D\u00d7H).", "Twelve \u00d85.3 mm holes on a \u00d848 mm bolt circle."], "text": "Rectangular body, 80 \u00d7 29.9 \u00d7 12 mm (W\u00d7D\u00d7H). Twelve \u00d85.3 mm holes on a \u00d848 mm bolt circle."}, "params": {"plate_w": {"type": "float", "default": 80, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 29.9, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "bolt_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 24.0, "min": 16.0, "max": 36.0, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 12, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332911 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 80, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 29.9, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 24.0, \"min\": 16.0, \"max\": 36.0, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 12, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462cacb0_4348", "family": "revolved", "tier": 1, "seed": 1177332912, "symmetry": "none", "op_count": 1, "ir_hash": "8c433c8a9e3af0f0", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 7460.0, "surface_area": 4040.0, "principal_moments": [356000.0, 1070000.0, 1070000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d817.83 mm \u00d7 44.8 mm tall."], "text": "Revolved body, \u00d817.83 mm \u00d7 44.8 mm tall."}, "params": {"outer_d": {"type": "float", "default": 17.83, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 44.8, "min": 13.4, "max": 134.4, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332912 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 17.83, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 44.8, \"min\": 13.4, \"max\": 134.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462cacb1_4349", "family": "plate", "tier": 1, "seed": 1177332913, "symmetry": "radial", "op_count": 2, "ir_hash": "a7c7edeff476cd2d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 61900.0, "surface_area": 19200.0, "principal_moments": [24099999.999999996, 68800000.0, 92199999.99999999], "n_faces": 20, "n_edges": 54, "n_vertices": 36}, "dimensions": {"lines": ["Rectangular body, 115 \u00d7 68 \u00d7 8 mm (W\u00d7D\u00d7H).", "Twelve \u00d83.2 mm holes on a \u00d869 mm bolt circle."], "text": "Rectangular body, 115 \u00d7 68 \u00d7 8 mm (W\u00d7D\u00d7H). Twelve \u00d83.2 mm holes on a \u00d869 mm bolt circle."}, "params": {"plate_w": {"type": "float", "default": 115, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 68.0, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "bolt_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 34.5, "min": 23.0, "max": 51.8, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 12, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332913 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 115, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 68.0, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 34.5, \"min\": 23.0, \"max\": 51.8, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 12, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462cacb2_4350", "family": "plate", "tier": 1, "seed": 1177332914, "symmetry": "none", "op_count": 2, "ir_hash": "634269dbae004750", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 3300.0, "surface_area": 2300.0, "principal_moments": [135000.0, 415000.0, 542000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 39 \u00d7 22 \u00d7 4 mm (W\u00d7D\u00d7H).", "Four \u00d83.2 mm holes at the corners, 27.3 \u00d7 15.4 mm spacing."], "text": "Rectangular body, 39 \u00d7 22 \u00d7 4 mm (W\u00d7D\u00d7H). Four \u00d83.2 mm holes at the corners, 27.3 \u00d7 15.4 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 39.0, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 22.0, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 4.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 4.9, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332914 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 39.0, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 22.0, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 4.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 4.9, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462cacb3_4351", "family": "flanged", "tier": 2, "seed": 1177332915, "symmetry": "radial", "op_count": 3, "ir_hash": "951b765ae008d6ab", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 97800.0, "surface_area": 23100.0, "principal_moments": [50099999.99999999, 50099999.99999999, 77000000.0], "n_faces": 26, "n_edges": 57, "n_vertices": 34}, "dimensions": {"lines": ["Revolved body, \u00d847.26 mm \u00d7 36.8 mm tall with \u00d815.3 mm bore, \u00d895.8 mm \u00d7 8 mm flange.", "Eight \u00d88.4 mm holes on a \u00d857.4 mm bolt circle.", "Chamfer 0.5 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d847.26 mm \u00d7 36.8 mm tall with \u00d815.3 mm bore, \u00d895.8 mm \u00d7 8 mm flange. Eight \u00d88.4 mm holes on a \u00d857.4 mm bolt circle. Chamfer 0.5 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 47.26, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 36.8, "min": 11.0, "max": 92.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 15.3, "min": 2.0, "max": 33.1, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 95.8, "min": 61.4, "max": 141.8, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 8.0, "min": 2.4, "max": 14.7, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 8.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 28.7, "min": 19.2, "max": 43.1, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 8, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}, "end_chamfer": {"type": "float", "default": 0.5, "min": 0.1, "max": 2.0, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332915 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 47.26, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 36.8, \"min\": 11.0, \"max\": 92.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 15.3, \"min\": 2.0, \"max\": 33.1, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 95.8, \"min\": 61.4, \"max\": 141.8, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.4, \"max\": 14.7, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 28.7, \"min\": 19.2, \"max\": 43.1, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.5, \"min\": 0.1, \"max\": 2.0, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462cacb4_4352", "family": "plate", "tier": 1, "seed": 1177332916, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "fcd78a9e719de3c0", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 3750.0, "surface_area": 2050.0, "principal_moments": [81600.0, 390000.0, 432000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 35 \u00d7 14.3 \u00d7 8 mm (W\u00d7D\u00d7H).", "Four \u00d83.2 mm holes at the corners, 24.5 \u00d7 10.01 mm spacing."], "text": "Rectangular body, 35 \u00d7 14.3 \u00d7 8 mm (W\u00d7D\u00d7H). Four \u00d83.2 mm holes at the corners, 24.5 \u00d7 10.01 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 35, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 14.3, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 3.2, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332916 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 35, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 14.3, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 3.2, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462cacb5_4353", "family": "flanged", "tier": 2, "seed": 1177332917, "symmetry": "mirror_xy", "op_count": 3, "ir_hash": "74ba8d3326b9d44d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 14400.0, "surface_area": 7990.0, "principal_moments": [2810000.0, 2810000.0, 4960000.0], "n_faces": 18, "n_edges": 37, "n_vertices": 22}, "dimensions": {"lines": ["Revolved body, \u00d826.81 mm \u00d7 16.7 mm tall with \u00d813.2 mm bore, \u00d861.5 mm \u00d7 3.2 mm flange.", "Four \u00d86.4 mm holes on a \u00d836.8 mm bolt circle.", "Chamfer 0.5 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d826.81 mm \u00d7 16.7 mm tall with \u00d813.2 mm bore, \u00d861.5 mm \u00d7 3.2 mm flange. Four \u00d86.4 mm holes on a \u00d836.8 mm bolt circle. Chamfer 0.5 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 26.81, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 16.7, "min": 5.0, "max": 41.8, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 13.2, "min": 2.0, "max": 18.8, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 61.5, "min": 34.9, "max": 80.4, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 3.2, "min": 1.0, "max": 6.7, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 18.4, "min": 12.3, "max": 27.7, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 4, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}, "end_chamfer": {"type": "float", "default": 0.5, "min": 0.1, "max": 2.0, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332917 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 26.81, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 16.7, \"min\": 5.0, \"max\": 41.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 13.2, \"min\": 2.0, \"max\": 18.8, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 61.5, \"min\": 34.9, \"max\": 80.4, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 3.2, \"min\": 1.0, \"max\": 6.7, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 18.4, \"min\": 12.3, \"max\": 27.7, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 4, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.5, \"min\": 0.1, \"max\": 2.0, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462cacb6_4354", "family": "bracket", "tier": 2, "seed": 1177332918, "symmetry": "none", "op_count": 1, "ir_hash": "bf13060a89d85b2b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 12300.0, "surface_area": 9140.0, "principal_moments": [3080000.0, 22100000.0, 24699999.999999996], "n_faces": 18, "n_edges": 48, "n_vertices": 32}, "dimensions": {"lines": ["Z-bracket: base leg 80 mm, vertical leg 81.8 mm, top leg 60 mm, 16.1 mm wide, 3 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 4.3 mm corner gusset."], "text": "Z-bracket: base leg 80 mm, vertical leg 81.8 mm, top leg 60 mm, 16.1 mm wide, 3 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 4.3 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 80, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 81.8, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 16.1, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 3.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 60.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 6.4, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}, "gusset_t": {"type": "float", "default": 4.3, "min": 1.5, "max": 8.1, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332918 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 80, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 81.8, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 16.1, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 60.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 6.4, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 4.3, \"min\": 1.5, \"max\": 8.1, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _tl, _vl) * 0.4 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(0, _vl - _bt).lineTo(-_g, _vl - _bt)\n                    .lineTo(0, _vl - _bt - _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462cacb7_4355", "family": "revolved", "tier": 0, "seed": 1177332919, "symmetry": "none", "op_count": 1, "ir_hash": "e28452734408e42b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 77700.0, "surface_area": 19700.0, "principal_moments": [16599999.999999998, 58199999.99999999, 58199999.99999999], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d837.77 mm \u00d7 104 mm tall."], "text": "Revolved body, \u00d837.77 mm \u00d7 104 mm tall."}, "params": {"outer_d": {"type": "float", "default": 37.77, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 104.0, "min": 31.2, "max": 312.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332919 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 37.77, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 104.0, \"min\": 31.2, \"max\": 312.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462cacb8_4356", "family": "revolved", "tier": 2, "seed": 1177332920, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "9dc1e646c4fd262c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 5470.0, "surface_area": 3420.0, "principal_moments": [300000.0, 750000.0, 750000.0], "n_faces": 6, "n_edges": 9, "n_vertices": 6}, "dimensions": {"lines": ["Revolved body, \u00d814.47 mm \u00d7 34.3 mm tall with \u00d88.5 mm bore, \u00d823.6 mm \u00d7 6.5 mm flange."], "text": "Revolved body, \u00d814.47 mm \u00d7 34.3 mm tall with \u00d88.5 mm bore, \u00d823.6 mm \u00d7 6.5 mm flange."}, "params": {"outer_d": {"type": "float", "default": 14.47, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 34.3, "min": 10.3, "max": 102.9, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 8.5, "min": 2.0, "max": 10.1, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 23.6, "min": 17.4, "max": 43.4, "step": 1.0, "group": "Body", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 6.5, "min": 1.9, "max": 17.1, "step": 0.5, "group": "Body", "label": "Flange height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332920 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 14.47, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 34.3, \"min\": 10.3, \"max\": 102.9, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 8.5, \"min\": 2.0, \"max\": 10.1, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 23.6, \"min\": 17.4, \"max\": 43.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 6.5, \"min\": 1.9, \"max\": 17.1, \"step\": 0.5, \"group\": 'Body', \"label\": 'Flange height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462cacb9_4357", "family": "lofted", "tier": 1, "seed": 1177332921, "symmetry": "none", "op_count": 2, "ir_hash": "5a9231e2b91664ec", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 17400.0, "surface_area": 5230.0, "principal_moments": [2270000.0, 2450000.0, 2450000.0], "n_faces": 8, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["Lofted body through 2 sections: \u00d832 mm circular section \u2192 23.9 \u00d7 23.9 mm rectangular section.", "One \u00d812 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 2 sections: \u00d832 mm circular section \u2192 23.9 \u00d7 23.9 mm rectangular section. One \u00d812 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 32.0, "min": 16.0, "max": 51.2, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 23.9, "min": 9.6, "max": 38.4, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 30.3, "min": 12.1, "max": 60.6, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_bore_d": {"type": "float", "default": 12.0, "min": 2.0, "max": 19.1, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332921 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 32.0, \"min\": 16.0, \"max\": 51.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 23.9, \"min\": 9.6, \"max\": 38.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 30.3, \"min\": 12.1, \"max\": 60.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 19.1, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .circle(p[\"loft_base\"] / 2)\n        .workplane(offset=p[\"loft_h\"])\n        .rect(p[\"loft_top\"], p[\"loft_top\"])\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462cacba_4358", "family": "flanged", "tier": 1, "seed": 1177332922, "symmetry": "none", "op_count": 2, "ir_hash": "e1bfa2ebc339b4dc", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 207000.0, "surface_area": 40200.0, "principal_moments": [174000000.0, 174000000.0, 198000000.0], "n_faces": 21, "n_edges": 78, "n_vertices": 52}, "dimensions": {"lines": ["Revolved body, \u00d868.01 mm \u00d7 60.7 mm tall with \u00d830.1 mm bore, \u00d8113.9 mm \u00d7 5.8 mm flange.", "Eight \u00d86.4 mm holes on a \u00d868.4 mm bolt circle."], "text": "Revolved body, \u00d868.01 mm \u00d7 60.7 mm tall with \u00d830.1 mm bore, \u00d8113.9 mm \u00d7 5.8 mm flange. Eight \u00d86.4 mm holes on a \u00d868.4 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 68.01, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 60.7, "min": 18.2, "max": 151.8, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 30.1, "min": 2.0, "max": 47.6, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 113.9, "min": 88.4, "max": 204.0, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 5.8, "min": 1.7, "max": 24.3, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 34.2, "min": 22.8, "max": 51.3, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 8, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332922 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 68.01, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 60.7, \"min\": 18.2, \"max\": 151.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 30.1, \"min\": 2.0, \"max\": 47.6, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 113.9, \"min\": 88.4, \"max\": 204.0, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 5.8, \"min\": 1.7, \"max\": 24.3, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 34.2, \"min\": 22.8, \"max\": 51.3, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462cacbb_4359", "family": "plate", "tier": 2, "seed": 1177332923, "symmetry": "none", "op_count": 3, "ir_hash": "f458e74c3988229d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 20000.0, "surface_area": 8650.0, "principal_moments": [2170000.0, 15199999.999999998, 17200000.0], "n_faces": 17, "n_edges": 45, "n_vertices": 30}, "dimensions": {"lines": ["Rectangular body, 95 \u00d7 35.8 \u00d7 6 mm (W\u00d7D\u00d7H).", "Seven \u00d83.2 mm holes in two staggered rows, 23.8 \u00d7 26.7 mm pitch.", "Chamfer 1.5 mm on vertical edges."], "text": "Rectangular body, 95 \u00d7 35.8 \u00d7 6 mm (W\u00d7D\u00d7H). Seven \u00d83.2 mm holes in two staggered rows, 23.8 \u00d7 26.7 mm pitch. Chamfer 1.5 mm on vertical edges."}, "params": {"plate_w": {"type": "float", "default": 95, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 35.8, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 6.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 3.6, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 4, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}, "chamfer_d": {"type": "float", "default": 1.5, "min": 1.3, "max": 2.2, "step": 0.5, "group": "Body", "label": "Chamfer distance (mm)"}, "chamfered": {"type": "bool", "default": true, "group": "Body", "label": "Chamfer edges"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332923 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 95, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 35.8, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 3.6, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 4, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n    \"chamfer_d\": {\"type\": 'float', \"default\": 1.5, \"min\": 1.3, \"max\": 2.2, \"step\": 0.5, \"group\": 'Body', \"label\": 'Chamfer distance (mm)'},\n    \"chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Chamfer edges'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 23.8\n    _ssy = 26.7\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    if p[\"chamfered\"]:\n        result = result.edges('|Z').chamfer(p[\"chamfer_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462cacbc_4360", "family": "plate", "tier": 1, "seed": 1177332924, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "37021a340f74ab79", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 9560.0, "surface_area": 5090.0, "principal_moments": [862000.0, 2900000.0, 3720000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 60.77 \u00d7 32.9 \u00d7 5 mm (W\u00d7D\u00d7H).", "Four \u00d85.3 mm holes at the corners, 42.539 \u00d7 23.03 mm spacing."], "text": "Rectangular body, 60.77 \u00d7 32.9 \u00d7 5 mm (W\u00d7D\u00d7H). Four \u00d85.3 mm holes at the corners, 42.539 \u00d7 23.03 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 60.77, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 32.9, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 5.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 7.4, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332924 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 60.77, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 32.9, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 5.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 7.4, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462cacbd_4361", "family": "plate", "tier": 0, "seed": 1177332925, "symmetry": "none", "op_count": 1, "ir_hash": "39b45b131278dbbb", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 54400.0, "surface_area": 16300.0, "principal_moments": [17600000.0, 55099999.99999999, 72100000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 110 \u00d7 61.8 \u00d7 8 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 110 \u00d7 61.8 \u00d7 8 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 110, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 61.8, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332925 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 110, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 61.8, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462cacbe_4362", "family": "sketched", "tier": 1, "seed": 1177332926, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "da4d20eaa1fdded2", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 15600.0, "surface_area": 6240.0, "principal_moments": [2430000.0, 4270000.0, 6590000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["freeform sketched section (7 segments: 4 straight, 1 arc, 2 curves), ~66.996 \u00d7 48.262 mm, extruded 6.31 mm thick.", "One \u00d86.4 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "freeform sketched section (7 segments: 4 straight, 1 arc, 2 curves), ~66.996 \u00d7 48.262 mm, extruded 6.31 mm thick. One \u00d86.4 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"sk_w": {"type": "float", "default": 78.68, "min": 39.3, "max": 141.6, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 75, "min": 37.5, "max": 135.0, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "sk_t": {"type": "float", "default": 6.31, "min": 2.5, "max": 13.9, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "sk_hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 12.8, "step": 0.5, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332926 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 78.68, \"min\": 39.3, \"max\": 141.6, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 75, \"min\": 37.5, \"max\": 135.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"sk_t\": {\"type\": 'float', \"default\": 6.31, \"min\": 2.5, \"max\": 13.9, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"sk_hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 12.8, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.4331, p[\"sk_h\"] * -0.0499).bezier([(p[\"sk_w\"] * 0.4331, p[\"sk_h\"] * -0.0499), (p[\"sk_w\"] * 0.3608, p[\"sk_h\"] * 0.1387), (p[\"sk_w\"] * 0.2407, p[\"sk_h\"] * 0.301)]).lineTo(p[\"sk_w\"] * 0.0223, p[\"sk_h\"] * 0.3412).threePointArc((p[\"sk_w\"] * -0.2177, p[\"sk_h\"] * 0.2696), (p[\"sk_w\"] * -0.4184, p[\"sk_h\"] * 0.1481)).lineTo(p[\"sk_w\"] * -0.362, p[\"sk_h\"] * -0.2373).lineTo(p[\"sk_w\"] * -0.1427, p[\"sk_h\"] * -0.3023).bezier([(p[\"sk_w\"] * -0.1427, p[\"sk_h\"] * -0.3023), (p[\"sk_w\"] * 0.0546, p[\"sk_h\"] * -0.3145), (p[\"sk_w\"] * 0.2487, p[\"sk_h\"] * -0.2768)]).lineTo(p[\"sk_w\"] * 0.4331, p[\"sk_h\"] * -0.0499).close().extrude(p[\"sk_t\"]))\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"sk_hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462cacbf_4363", "family": "ribbed", "tier": 1, "seed": 1177332927, "symmetry": "none", "op_count": 2, "ir_hash": "2ac49c94a016363f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 9260.0, "surface_area": 5190.0, "principal_moments": [884000.0, 1350000.0, 1680000.0], "n_faces": 21, "n_edges": 48, "n_vertices": 32}, "dimensions": {"lines": ["Rectangular body, 35 \u00d7 28.1 \u00d7 5 mm (W\u00d7D\u00d7H).", "Three ribs, 3.8 mm thick, 13.6 mm tall."], "text": "Rectangular body, 35 \u00d7 28.1 \u00d7 5 mm (W\u00d7D\u00d7H). Three ribs, 3.8 mm thick, 13.6 mm tall."}, "params": {"base_w": {"type": "float", "default": 35, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 28.1, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 5.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 3, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 13.6, "min": 5.4, "max": 27.2, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 3.8, "min": 1.0, "max": 9.5, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332927 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 35, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 28.1, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 3, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 13.6, \"min\": 5.4, \"max\": 27.2, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 3.8, \"min\": 1.0, \"max\": 9.5, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462cacc0_4364", "family": "block", "tier": 1, "seed": 1177332928, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "3953c7148dfb3324", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 2520.0, "surface_area": 1720.0, "principal_moments": [65900.0, 90200.0, 113000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 15 \u00d7 10.4 \u00d7 18.1 mm (W\u00d7D\u00d7H).", "Four \u00d82.3 mm holes at the corners, 10.5 \u00d7 7.28 mm spacing."], "text": "Rectangular body, 15 \u00d7 10.4 \u00d7 18.1 mm (W\u00d7D\u00d7H). Four \u00d82.3 mm holes at the corners, 10.5 \u00d7 7.28 mm spacing."}, "params": {"block_w": {"type": "float", "default": 15.0, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 10.4, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 18.1, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 2.3, "min": 2.0, "max": 2.3, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332928 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 15.0, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 10.4, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 18.1, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 2.3, \"min\": 2.0, \"max\": 2.3, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462cacc1_4365", "family": "revolved", "tier": 1, "seed": 1177332929, "symmetry": "radial", "op_count": 2, "ir_hash": "c7f014a8b8262bdf", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 177000.0, "surface_area": 29100.0, "principal_moments": [121000000.0, 152000000.0, 152000000.0], "n_faces": 8, "n_edges": 14, "n_vertices": 8}, "dimensions": {"lines": ["Revolved body, \u00d864.6 mm \u00d7 79.2 mm tall with \u00d836.4 mm bore.", "Chamfer 1.3 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d864.6 mm \u00d7 79.2 mm tall with \u00d836.4 mm bore. Chamfer 1.3 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 64.6, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 79.2, "min": 23.8, "max": 237.6, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 36.4, "min": 2.0, "max": 45.2, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "end_chamfer": {"type": "float", "default": 1.3, "min": 0.1, "max": 3.9, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332929 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 64.6, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 79.2, \"min\": 23.8, \"max\": 237.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 36.4, \"min\": 2.0, \"max\": 45.2, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 1.3, \"min\": 0.1, \"max\": 3.9, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462cacc2_4366", "family": "plate", "tier": 2, "seed": 1177332930, "symmetry": "mirror_xy", "op_count": 3, "ir_hash": "7350a6b670adda0b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 25500.0, "surface_area": 10400.0, "principal_moments": [5320000.0, 15799999.999999998, 21000000.0], "n_faces": 14, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 86.7 \u00d7 50 \u00d7 6 mm (W\u00d7D\u00d7H).", "Four \u00d84.3 mm holes at the corners, 60.69 \u00d7 35 mm spacing.", "Chamfer 3.2 mm on vertical edges."], "text": "Rectangular body, 86.7 \u00d7 50 \u00d7 6 mm (W\u00d7D\u00d7H). Four \u00d84.3 mm holes at the corners, 60.69 \u00d7 35 mm spacing. Chamfer 3.2 mm on vertical edges."}, "params": {"plate_w": {"type": "float", "default": 86.7, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 50.0, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 6.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 11.2, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "chamfer_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 4.0, "step": 0.5, "group": "Body", "label": "Chamfer distance (mm)"}, "chamfered": {"type": "bool", "default": true, "group": "Body", "label": "Chamfer edges"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332930 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 86.7, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 50.0, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 11.2, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"chamfer_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 4.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Chamfer distance (mm)'},\n    \"chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Chamfer edges'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"chamfered\"]:\n        result = result.edges('|Z').chamfer(p[\"chamfer_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462cacc3_4367", "family": "block", "tier": 1, "seed": 1177332931, "symmetry": "radial", "op_count": 2, "ir_hash": "25174c4035697e13", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 379000.0, "surface_area": 41800.0, "principal_moments": [312000000.0, 382000000.0, 562000000.0], "n_faces": 16, "n_edges": 42, "n_vertices": 28}, "dimensions": {"lines": ["Rectangular body, 87.22 \u00d7 46.2 \u00d7 100 mm (W\u00d7D\u00d7H).", "Six \u00d88.4 mm holes on a \u00d852.4 mm bolt circle."], "text": "Rectangular body, 87.22 \u00d7 46.2 \u00d7 100 mm (W\u00d7D\u00d7H). Six \u00d88.4 mm holes on a \u00d852.4 mm bolt circle."}, "params": {"block_w": {"type": "float", "default": 87.22, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 46.2, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 100.0, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "bolt_d": {"type": "float", "default": 8.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 26.2, "min": 17.4, "max": 39.2, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 6, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332931 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 87.22, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 46.2, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 100.0, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 26.2, \"min\": 17.4, \"max\": 39.2, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462cacc4_4368", "family": "gear", "tier": 1, "seed": 1177332932, "symmetry": "none", "op_count": 1, "ir_hash": "2a21a8ab17f719fb", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 912.0, "surface_area": 900.0, "principal_moments": [15300.0, 15300.0, 24400.0], "n_faces": 87, "n_edges": 255, "n_vertices": 170}, "dimensions": {"lines": ["Spur gear, module 1 mm, 14 teeth (pitch \u00d814 mm), face width 6.4 mm, \u00d83 mm bore."], "text": "Spur gear, module 1 mm, 14 teeth (pitch \u00d814 mm), face width 6.4 mm, \u00d83 mm bore."}, "params": {"module": {"type": "float", "default": 1.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 14, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 6.4, "min": 2.6, "max": 16.0, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "bore_d": {"type": "float", "default": 3.0, "min": 2.0, "max": 6.9, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332932 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 1.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 14, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.6, \"max\": 16.0, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 3.0, \"min\": 2.0, \"max\": 6.9, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462cacc5_4369", "family": "profiled", "tier": 0, "seed": 1177332933, "symmetry": "none", "op_count": 1, "ir_hash": "6d5aef8a1d77b350", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 164000.0, "surface_area": 22200.0, "principal_moments": [24899999.999999996, 477000000.0, 486000000.0], "n_faces": 8, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["freeform sketched section (6 segments: 2 straight, 1 arc, 3 curves), ~33.904 \u00d7 34.075 mm, extruded 185.2 mm thick."], "text": "freeform sketched section (6 segments: 2 straight, 1 arc, 3 curves), ~33.904 \u00d7 34.075 mm, extruded 185.2 mm thick."}, "params": {"sk_w": {"type": "float", "default": 40, "min": 20.0, "max": 72.0, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 47.15, "min": 23.6, "max": 84.9, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "length": {"type": "float", "default": 185.2, "min": 55.6, "max": 555.6, "step": 5.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332933 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 40, \"min\": 20.0, \"max\": 72.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 47.15, \"min\": 23.6, \"max\": 84.9, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 185.2, \"min\": 55.6, \"max\": 555.6, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.4346, p[\"sk_h\"] * -0.1484).spline([(p[\"sk_w\"] * 0.4346, p[\"sk_h\"] * -0.1484), (p[\"sk_w\"] * 0.3047, p[\"sk_h\"] * 0.1096), (p[\"sk_w\"] * 0.1191, p[\"sk_h\"] * 0.331)]).bezier([(p[\"sk_w\"] * 0.1191, p[\"sk_h\"] * 0.331), (p[\"sk_w\"] * -0.0802, p[\"sk_h\"] * 0.4061), (p[\"sk_w\"] * -0.2932, p[\"sk_h\"] * 0.4045)]).lineTo(p[\"sk_w\"] * -0.413, p[\"sk_h\"] * 0.112).spline([(p[\"sk_w\"] * -0.413, p[\"sk_h\"] * 0.112), (p[\"sk_w\"] * -0.3674, p[\"sk_h\"] * -0.0686), (p[\"sk_w\"] * -0.2572, p[\"sk_h\"] * -0.2188)]).threePointArc((p[\"sk_w\"] * 0.0685, p[\"sk_h\"] * -0.3665), (p[\"sk_w\"] * 0.3557, p[\"sk_h\"] * -0.3182)).lineTo(p[\"sk_w\"] * 0.4346, p[\"sk_h\"] * -0.1484).close().extrude(p[\"length\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462cacc6_4370", "family": "tapped", "tier": 3, "seed": 1177332934, "symmetry": "none", "op_count": 1, "ir_hash": "1fdf7792b9514b5d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 75600.0, "surface_area": 16900.0, "principal_moments": [23199999.999999996, 46899999.99999999, 66899999.99999999], "n_faces": 358, "n_edges": 1268, "n_vertices": 912}, "dimensions": {"lines": ["Four M10x1.5 tapped holes in a plate."], "text": "Four M10x1.5 tapped holes in a plate."}, "params": {"major_d": {"type": "float", "default": 10.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 1.5, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 16.0, "min": 12.0, "max": 28.8, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "plate_w": {"type": "float", "default": 85, "min": 51.0, "max": 136.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 58.7, "min": 35.2, "max": 93.9, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332934 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 10.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.5, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 16.0, \"min\": 12.0, \"max\": 28.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"plate_w\": {\"type\": 'float', \"default\": 85, \"min\": 51.0, \"max\": 136.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 58.7, \"min\": 35.2, \"max\": 93.9, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n}\n\n\ndef build(p):\n\n    _W, _D, _H = p[\"plate_w\"], p[\"plate_d\"], p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Box(_W, _D, _H)\n    _sx, _sy = p[\"plate_w\"] * 0.6, p[\"plate_d\"] * 0.6\n    _locs = [(_xx, _yy) for _xx in (-_sx / 2, _sx / 2) for _yy in (-_sy / 2, _sy / 2)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462cacc7_4371", "family": "bracket", "tier": 3, "seed": 1177332935, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "6f338c932f252ab8", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 25600.0, "surface_area": 10600.0, "principal_moments": [5940000.0, 23099999.999999996, 26799999.999999996], "n_faces": 17, "n_edges": 39, "n_vertices": 26}, "dimensions": {"lines": ["L-bracket: base leg 88.65 mm, vertical leg 68.1 mm, 24.42 mm wide, 6 mm thick; 2 \u00d7 \u00d85.3 mm holes per leg; 8.2 mm corner gusset."], "text": "L-bracket: base leg 88.65 mm, vertical leg 68.1 mm, 24.42 mm wide, 6 mm thick; 2 \u00d7 \u00d85.3 mm holes per leg; 8.2 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 88.65, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 68.1, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 24.42, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 6.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 9.8, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 2, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 8.2, "min": 3.0, "max": 12.2, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332935 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 88.65, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 68.1, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 24.42, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 9.8, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 2, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 8.2, \"min\": 3.0, \"max\": 12.2, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462cacc8_4372", "family": "sketched", "tier": 2, "seed": 1177332936, "symmetry": "none", "op_count": 1, "ir_hash": "7d08e118426c3906", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 95300.0, "surface_area": 21400.0, "principal_moments": [37000000.0, 37000000.0, 56999999.99999999], "n_faces": 6, "n_edges": 9, "n_vertices": 5}, "dimensions": {"lines": ["Revolved organic body from a freeform sketched section (6 segments: 2 straight, 2 arcs, 2 curves), ~39.894 \u00d7 32.88 mm half-silhouette."], "text": "Revolved organic body from a freeform sketched section (6 segments: 2 straight, 2 arcs, 2 curves), ~39.894 \u00d7 32.88 mm half-silhouette."}, "params": {"sk_r": {"type": "float", "default": 44.86, "min": 22.4, "max": 80.7, "step": 1.0, "group": "Sketch", "label": "Max radius (mm)"}, "sk_h": {"type": "float", "default": 32.88, "min": 16.4, "max": 59.2, "step": 1.0, "group": "Sketch", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332936 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_r\": {\"type\": 'float', \"default\": 44.86, \"min\": 22.4, \"max\": 80.7, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Max radius (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 32.88, \"min\": 16.4, \"max\": 59.2, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XZ').moveTo(p[\"sk_r\"] * 0.2358, p[\"sk_h\"] * 0.0).spline([(p[\"sk_r\"] * 0.2358, p[\"sk_h\"] * 0.0), (p[\"sk_r\"] * 0.4617, p[\"sk_h\"] * 0.0898), (p[\"sk_r\"] * 0.8893, p[\"sk_h\"] * 0.1795)]).bezier([(p[\"sk_r\"] * 0.8893, p[\"sk_h\"] * 0.1795), (p[\"sk_r\"] * 0.5607, p[\"sk_h\"] * 0.3004), (p[\"sk_r\"] * 0.3001, p[\"sk_h\"] * 0.4212)]).threePointArc((p[\"sk_r\"] * 0.5533, p[\"sk_h\"] * 0.5574), (p[\"sk_r\"] * 0.8719, p[\"sk_h\"] * 0.6936)).threePointArc((p[\"sk_r\"] * 0.8573, p[\"sk_h\"] * 0.8468), (p[\"sk_r\"] * 0.8639, p[\"sk_h\"] * 1.0)).lineTo(p[\"sk_r\"] * 0.0, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.0, p[\"sk_h\"] * 0.0).close().revolve())\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462cacc9_4373", "family": "lofted", "tier": 1, "seed": 1177332937, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "c224ee20ee615697", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 30600.0, "surface_area": 7610.0, "principal_moments": [6050000.0, 6050000.0, 6500000.0], "n_faces": 9, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["Lofted body through 2 sections: \u00d845.16 mm circular section \u2192 6-sided polygon section, 30.3 mm across corners.", "One \u00d815 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 2 sections: \u00d845.16 mm circular section \u2192 6-sided polygon section, 30.3 mm across corners. One \u00d815 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 45.16, "min": 22.6, "max": 72.3, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 30.3, "min": 12.1, "max": 54.2, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 34.7, "min": 13.9, "max": 69.4, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_bore_d": {"type": "float", "default": 15.0, "min": 2.0, "max": 24.2, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332937 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 45.16, \"min\": 22.6, \"max\": 72.3, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 30.3, \"min\": 12.1, \"max\": 54.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 34.7, \"min\": 13.9, \"max\": 69.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 15.0, \"min\": 2.0, \"max\": 24.2, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .circle(p[\"loft_base\"] / 2)\n        .workplane(offset=p[\"loft_h\"])\n        .polygon(6, p[\"loft_top\"] * 0.5 * 2)\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462cacca_4374", "family": "threaded", "tier": 2, "seed": 1177332938, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "3286cd650cc04aeb", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 3770.0, "surface_area": 2450.0, "principal_moments": [64000.0, 448000.0, 448000.0], "n_faces": 150, "n_edges": 380, "n_vertices": 232}, "dimensions": {"lines": ["ACME 1/2 external thread, 36.8 mm long."], "text": "ACME 1/2 external thread, 36.8 mm long."}, "params": {"thread_size": {"type": "enum", "default": "1/2", "choices": ["1/4", "5/16", "3/8", "1/2", "5/8", "3/4", "7/8", "1", "1 1/4", "1 1/2"], "group": "Thread", "label": "Size designation"}, "thread_len": {"type": "float", "default": 36.8, "min": 14.7, "max": 73.6, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332938 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"thread_size\": {\"type\": 'enum', \"default\": '1/2', \"choices\": ['1/4', '5/16', '3/8', '1/2', '5/8', '3/4', '7/8', '1', '1 1/4', '1 1/2'], \"group\": 'Thread', \"label\": 'Size designation'},\n    \"thread_len\": {\"type\": 'float', \"default\": 36.8, \"min\": 14.7, \"max\": 73.6, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.AcmeThread(size=p[\"thread_size\"], length=p[\"thread_len\"], external=True, end_finishes=(\"fade\", \"fade\"))\n    _r = _thr.min_radius if hasattr(_thr, 'min_radius') else _thr.root_radius\n    _shank = _bd.Cylinder(radius=_r, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = _shank + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462caccb_4375", "family": "swept", "tier": 1, "seed": 1177332939, "symmetry": "none", "op_count": 1, "ir_hash": "5567cd052f05eebf", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 6400.0, "surface_area": 2590.0, "principal_moments": [179000.0, 1890000.0, 1910000.0], "n_faces": 3, "n_edges": 3, "n_vertices": 2}, "dimensions": {"lines": ["\u00d813.8 mm circular section swept along a curved path, ~76.85 mm span."], "text": "\u00d813.8 mm circular section swept along a curved path, ~76.85 mm span."}, "params": {"path_w": {"type": "float", "default": 76.85, "min": 38.4, "max": 138.3, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 45, "min": 22.5, "max": 81.0, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_d": {"type": "float", "default": 13.8, "min": 6.9, "max": 24.8, "step": 1.0, "group": "Section", "label": "Section diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332939 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 76.85, \"min\": 38.4, \"max\": 138.3, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 45, \"min\": 22.5, \"max\": 81.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_d\": {\"type\": 'float', \"default\": 13.8, \"min\": 6.9, \"max\": 24.8, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.1977, p[\"path_h\"] * 0.3113), (p[\"path_w\"] * 0.3561, p[\"path_h\"] * 0.5474), (p[\"path_w\"] * 0.3754, p[\"path_h\"] * 0.5767), (p[\"path_w\"] * 0.3551, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').circle(p[\"sweep_d\"] / 2).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462caccc_4376", "family": "bracket", "tier": 1, "seed": 1177332940, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "42213d4f8790b3fa", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 13400.0, "surface_area": 6660.0, "principal_moments": [2530000.0, 3380000.0, 4500000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["L-bracket: base leg 38.2 mm, vertical leg 35.5 mm, 40 mm wide, 5 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."], "text": "L-bracket: base leg 38.2 mm, vertical leg 35.5 mm, 40 mm wide, 5 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 38.2, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 35.5, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 40, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 5.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332940 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 38.2, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 35.5, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 40, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462caccd_4377", "family": "bracket", "tier": 1, "seed": 1177332941, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "21339d743e4e0b7c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 13700.0, "surface_area": 7250.0, "principal_moments": [2820000.0, 12699999.999999998, 14599999.999999998], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["L-bracket: base leg 85 mm, vertical leg 59.4 mm, 20 mm wide, 5 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."], "text": "L-bracket: base leg 85 mm, vertical leg 59.4 mm, 20 mm wide, 5 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 85, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 59.4, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 20, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 5.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 8.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332941 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 85, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 59.4, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 20, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 8.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462cacce_4378", "family": "plate", "tier": 1, "seed": 1177332942, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "5a68120efc9edbbc", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 47000.0, "surface_area": 13500.0, "principal_moments": [8410000.0, 44500000.0, 52099999.99999999], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 107.36 \u00d7 45.8 \u00d7 10 mm (W\u00d7D\u00d7H).", "Four \u00d88.4 mm holes at the corners, 75.152 \u00d7 32.06 mm spacing."], "text": "Rectangular body, 107.36 \u00d7 45.8 \u00d7 10 mm (W\u00d7D\u00d7H). Four \u00d88.4 mm holes at the corners, 75.152 \u00d7 32.06 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 107.36, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 45.8, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 8.4, "min": 2.0, "max": 10.3, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332942 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 107.36, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 45.8, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 2.0, \"max\": 10.3, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462caccf_4379", "family": "bracket", "tier": 3, "seed": 1177332943, "symmetry": "none", "op_count": 1, "ir_hash": "f9743f964cfdeb48", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 17400.0, "surface_area": 7600.0, "principal_moments": [1820000.0, 10600000.0, 10700000.0], "n_faces": 18, "n_edges": 48, "n_vertices": 32}, "dimensions": {"lines": ["Z-bracket: base leg 45 mm, vertical leg 36.6 mm, top leg 45.2 mm, 25 mm wide, 6 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg; 8.2 mm corner gusset."], "text": "Z-bracket: base leg 45 mm, vertical leg 36.6 mm, top leg 45.2 mm, 25 mm wide, 6 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg; 8.2 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 45, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 36.6, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 25, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 6.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 45.2, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}, "gusset_t": {"type": "float", "default": 8.2, "min": 3.0, "max": 12.5, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332943 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 45, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 36.6, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 25, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 45.2, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 8.2, \"min\": 3.0, \"max\": 12.5, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _tl, _vl) * 0.4 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(0, _vl - _bt).lineTo(-_g, _vl - _bt)\n                    .lineTo(0, _vl - _bt - _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462cacd0_4380", "family": "bracket", "tier": 1, "seed": 1177332944, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "dd43bfd416a490f4", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 23300.0, "surface_area": 11900.0, "principal_moments": [5710000.0, 46999999.99999999, 50899999.99999999], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Z-bracket: base leg 75.74 mm, vertical leg 71.3 mm, top leg 79.4 mm, 21.78 mm wide, 5 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."], "text": "Z-bracket: base leg 75.74 mm, vertical leg 71.3 mm, top leg 79.4 mm, 21.78 mm wide, 5 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 75.74, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 71.3, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 21.78, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 5.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 79.4, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 8.7, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332944 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 75.74, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 71.3, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 21.78, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 79.4, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 8.7, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462cacd1_4381", "family": "threaded", "tier": 3, "seed": 1177332945, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "e130afdef85b337b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 6930.0, "surface_area": 4260.0, "principal_moments": [357000.0, 989000.0, 989000.0], "n_faces": 591, "n_edges": 1691, "n_vertices": 1102}, "dimensions": {"lines": ["M10x1 internal thread, 37.5 mm long."], "text": "M10x1 internal thread, 37.5 mm long."}, "params": {"major_d": {"type": "float", "default": 10.0, "min": 4.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Major diameter (mm)"}, "pitch": {"type": "float", "default": 1.0, "min": 0.5, "max": 2.0, "step": 0.05, "group": "Thread", "label": "Pitch (mm)"}, "thread_len": {"type": "float", "default": 37.5, "min": 15.0, "max": 75.0, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332945 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 10.0, \"min\": 4.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Major diameter (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.0, \"min\": 0.5, \"max\": 2.0, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Pitch (mm)'},\n    \"thread_len\": {\"type\": 'float', \"default\": 37.5, \"min\": 15.0, \"max\": 75.0, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.IsoThread(major_diameter=p[\"major_d\"], pitch=p[\"pitch\"], length=p[\"thread_len\"], external=False, end_finishes=(\"fade\", \"fade\"))\n    _body = _bd.Cylinder(radius=(p[\"major_d\"]) * 0.9, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _bore = _bd.Cylinder(radius=(p[\"major_d\"]) / 2, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = (_body - _bore) + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462cacd2_4382", "family": "compound", "tier": 3, "seed": 1177332946, "symmetry": "mirror_xy", "op_count": 5, "ir_hash": "1c866f6ee0ccf175", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 74800.0, "surface_area": 16600.0, "principal_moments": [18200000.0, 27799999.999999996, 32499999.999999996], "n_faces": 37, "n_edges": 108, "n_vertices": 70}, "dimensions": {"lines": ["Rectangular body, 55 \u00d7 43.2 \u00d7 32.9 mm (W\u00d7D\u00d7H).", "24.3 \u00d7 26.5 mm rectangular section attachment, 4 mm long, from right face.", "Four \u00d85.3 mm holes at the corners, 14.58 \u00d7 15.9 mm spacing on the >X face.", "Four \u00d86.4 mm holes at the corners, 38.5 \u00d7 30.24 mm spacing.", "Fillet radius 3.28 mm on vertical edges."], "text": "Rectangular body, 55 \u00d7 43.2 \u00d7 32.9 mm (W\u00d7D\u00d7H). 24.3 \u00d7 26.5 mm rectangular section attachment, 4 mm long, from right face. Four \u00d85.3 mm holes at the corners, 14.58 \u00d7 15.9 mm spacing on the >X face. Four \u00d86.4 mm holes at the corners, 38.5 \u00d7 30.24 mm spacing. Fillet radius 3.28 mm on vertical edges."}, "params": {"block_w": {"type": "float", "default": 55, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 43.2, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 32.9, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "tab_a": {"type": "float", "default": 24.3, "min": 9.7, "max": 38.9, "step": 1.0, "group": "Tab", "label": "Tab width (mm)"}, "tab_b": {"type": "float", "default": 26.5, "min": 10.6, "max": 42.4, "step": 1.0, "group": "Tab", "label": "Tab height (mm)"}, "tab_t": {"type": "float", "default": 4.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Tab", "label": "Tab thickness (mm)"}, "tab_hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 5.3, "step": 0.1, "group": "Tab", "label": "Tab hole diameter (mm)"}, "block_hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 9.7, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332946 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 55, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 43.2, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 32.9, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"tab_a\": {\"type\": 'float', \"default\": 24.3, \"min\": 9.7, \"max\": 38.9, \"step\": 1.0, \"group\": 'Tab', \"label\": 'Tab width (mm)'},\n    \"tab_b\": {\"type\": 'float', \"default\": 26.5, \"min\": 10.6, \"max\": 42.4, \"step\": 1.0, \"group\": 'Tab', \"label\": 'Tab height (mm)'},\n    \"tab_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Tab', \"label\": 'Tab thickness (mm)'},\n    \"tab_hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 5.3, \"step\": 0.1, \"group\": 'Tab', \"label\": 'Tab hole diameter (mm)'},\n    \"block_hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 9.7, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .rect(p[\"tab_a\"], p[\"tab_b\"]).extrude(p[\"tab_t\"])\n    )\n    result = (\n        result.faces('>X').workplane()\n        .rect(p[\"tab_a\"] * 0.6, p[\"tab_b\"] * 0.6, forConstruction=True)\n        .vertices().hole(p[\"tab_hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"block_hole_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"block_w\"], p[\"block_d\"]) * 0.0759243458849847)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462cacd3_4383", "family": "sketched", "tier": 0, "seed": 1177332947, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "ce66f461d76c321b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 80300.0, "surface_area": 23500.0, "principal_moments": [31499999.999999996, 31499999.999999996, 36400000.0], "n_faces": 8, "n_edges": 14, "n_vertices": 8}, "dimensions": {"lines": ["Revolved organic body from a freeform sketched section (7 segments: 4 straight, 2 arcs, 1 curve), ~32.82 \u00d7 40.81 mm half-silhouette."], "text": "Revolved organic body from a freeform sketched section (7 segments: 4 straight, 2 arcs, 1 curve), ~32.82 \u00d7 40.81 mm half-silhouette."}, "params": {"sk_r": {"type": "float", "default": 39.09, "min": 19.5, "max": 70.4, "step": 1.0, "group": "Sketch", "label": "Max radius (mm)"}, "sk_h": {"type": "float", "default": 40.81, "min": 20.4, "max": 73.5, "step": 1.0, "group": "Sketch", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332947 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_r\": {\"type\": 'float', \"default\": 39.09, \"min\": 19.5, \"max\": 70.4, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Max radius (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 40.81, \"min\": 20.4, \"max\": 73.5, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XZ').moveTo(p[\"sk_r\"] * 0.8446, p[\"sk_h\"] * 0.0).lineTo(p[\"sk_r\"] * 0.3189, p[\"sk_h\"] * 0.7033).threePointArc((p[\"sk_r\"] * 0.7185, p[\"sk_h\"] * 0.7111), (p[\"sk_r\"] * 0.9612, p[\"sk_h\"] * 0.7188)).lineTo(p[\"sk_r\"] * 0.9416, p[\"sk_h\"] * 0.84).threePointArc((p[\"sk_r\"] * 0.6722, p[\"sk_h\"] * 0.8732), (p[\"sk_r\"] * 0.1815, p[\"sk_h\"] * 0.9064)).bezier([(p[\"sk_r\"] * 0.1815, p[\"sk_h\"] * 0.9064), (p[\"sk_r\"] * 0.5075, p[\"sk_h\"] * 0.9532), (p[\"sk_r\"] * 0.7095, p[\"sk_h\"] * 1.0)]).lineTo(p[\"sk_r\"] * 0.1216, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.1216, p[\"sk_h\"] * 0.0).close().revolve())\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462cacd4_4384", "family": "bracket", "tier": 2, "seed": 1177332948, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "9937fef8085ebbb5", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 13500.0, "surface_area": 8100.0, "principal_moments": [3430000.0, 4280000.0, 5650000.0], "n_faces": 19, "n_edges": 51, "n_vertices": 34}, "dimensions": {"lines": ["C-channel bracket: base leg 38.56 mm, vertical leg 41.8 mm, 30 mm wide, 4 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg; 4.4 mm corner gusset."], "text": "C-channel bracket: base leg 38.56 mm, vertical leg 41.8 mm, 30 mm wide, 4 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg; 4.4 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 38.56, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 41.8, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 30, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 4.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 4.4, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332948 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 38.56, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 41.8, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 30, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 4.4, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl / 2, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bl - _bt, _bt).lineTo(_bl - _bt - _g, _bt)\n                    .lineTo(_bl - _bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462cacd5_4385", "family": "ribbed", "tier": 1, "seed": 1177332949, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "bfbf3cb986a25a0b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 11000.0, "surface_area": 6880.0, "principal_moments": [1040000.0, 1930000.0, 2550000.0], "n_faces": 46, "n_edges": 112, "n_vertices": 68}, "dimensions": {"lines": ["Rectangular body, 43.61 \u00d7 22.9 \u00d7 5 mm (W\u00d7D\u00d7H).", "Five ribs, 3.5 mm thick, 9.9 mm tall."], "text": "Rectangular body, 43.61 \u00d7 22.9 \u00d7 5 mm (W\u00d7D\u00d7H). Five ribs, 3.5 mm thick, 9.9 mm tall."}, "params": {"base_w": {"type": "float", "default": 43.61, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 22.9, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 5.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 5, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 9.9, "min": 4.0, "max": 19.8, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 3.5, "min": 1.0, "max": 8.8, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332949 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 43.61, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 22.9, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 5, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 9.9, \"min\": 4.0, \"max\": 19.8, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 3.5, \"min\": 1.0, \"max\": 8.8, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462cacd6_4386", "family": "revolved", "tier": 1, "seed": 1177332950, "symmetry": "none", "op_count": 2, "ir_hash": "ddbc75b990b2f75a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 241000.0, "surface_area": 30700.0, "principal_moments": [90500000.0, 360000000.0, 360000000.0], "n_faces": 8, "n_edges": 14, "n_vertices": 8}, "dimensions": {"lines": ["Revolved body, \u00d852.23 mm \u00d7 125.4 mm tall with \u00d816.8 mm bore.", "Chamfer 1.2 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d852.23 mm \u00d7 125.4 mm tall with \u00d816.8 mm bore. Chamfer 1.2 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 52.23, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 125.4, "min": 37.6, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 16.8, "min": 2.0, "max": 36.6, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "end_chamfer": {"type": "float", "default": 1.2, "min": 0.1, "max": 3.6, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332950 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 52.23, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 125.4, \"min\": 37.6, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 16.8, \"min\": 2.0, \"max\": 36.6, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 1.2, \"min\": 0.1, \"max\": 3.6, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462cacd7_4387", "family": "bracket", "tier": 1, "seed": 1177332951, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "89a474902991bd23", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 17500.0, "surface_area": 8830.0, "principal_moments": [5330000.0, 8460000.0, 11999999.999999998], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["C-channel bracket: base leg 51.74 mm, vertical leg 49.8 mm, 25 mm wide, 5 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."], "text": "C-channel bracket: base leg 51.74 mm, vertical leg 49.8 mm, 25 mm wide, 5 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 51.74, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 49.8, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 25, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 5.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332951 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 51.74, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 49.8, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 25, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462cacd8_4388", "family": "gear", "tier": 1, "seed": 1177332952, "symmetry": "none", "op_count": 1, "ir_hash": "eb4e1bf615a659c2", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 44300.0, "surface_area": 12500.0, "principal_moments": [12999999.999999998, 12999999.999999998, 24599999.999999996], "n_faces": 159, "n_edges": 471, "n_vertices": 314}, "dimensions": {"lines": ["Spur gear, module 2.5 mm, 26 teeth (pitch \u00d865 mm), face width 14.1 mm, \u00d813.2 mm bore."], "text": "Spur gear, module 2.5 mm, 26 teeth (pitch \u00d865 mm), face width 14.1 mm, \u00d813.2 mm bore."}, "params": {"module": {"type": "float", "default": 2.5, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 26, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 14.1, "min": 5.6, "max": 35.2, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "bore_d": {"type": "float", "default": 13.2, "min": 2.0, "max": 35.2, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332952 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 2.5, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 26, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 14.1, \"min\": 5.6, \"max\": 35.2, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 13.2, \"min\": 2.0, \"max\": 35.2, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462cacd9_4389", "family": "lofted", "tier": 2, "seed": 1177332953, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "249e8f7a95f3cb73", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 20200.0, "surface_area": 5860.0, "principal_moments": [2950000.0, 2950000.0, 3490000.0], "n_faces": 8, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["Lofted body through 3 sections: 35.77 \u00d7 35.77 mm rectangular section \u2192 28.5 \u00d7 28.5 mm rectangular section \u2192 \u00d821.3 mm circular section.", "One \u00d812.2 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 3 sections: 35.77 \u00d7 35.77 mm rectangular section \u2192 28.5 \u00d7 28.5 mm rectangular section \u2192 \u00d821.3 mm circular section. One \u00d812.2 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 35.77, "min": 17.9, "max": 57.2, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 21.3, "min": 8.5, "max": 42.9, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 29.0, "min": 11.6, "max": 58.0, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_mid": {"type": "float", "default": 28.5, "min": 10.7, "max": 42.9, "step": 1.0, "group": "Body", "label": "Mid size (mm)"}, "loft_bore_d": {"type": "float", "default": 12.2, "min": 2.0, "max": 17.0, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332953 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 35.77, \"min\": 17.9, \"max\": 57.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 21.3, \"min\": 8.5, \"max\": 42.9, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 29.0, \"min\": 11.6, \"max\": 58.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_mid\": {\"type\": 'float', \"default\": 28.5, \"min\": 10.7, \"max\": 42.9, \"step\": 1.0, \"group\": 'Body', \"label\": 'Mid size (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 12.2, \"min\": 2.0, \"max\": 17.0, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .rect(p[\"loft_base\"], p[\"loft_base\"])\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .rect(p[\"loft_mid\"], p[\"loft_mid\"])\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .circle(p[\"loft_top\"] / 2)\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462cacda_4390", "family": "sketched", "tier": 1, "seed": 1177332954, "symmetry": "none", "op_count": 1, "ir_hash": "c16f57dfb1b40db4", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 50800.0, "surface_area": 10700.0, "principal_moments": [11300000.0, 21200000.0, 21200000.0], "n_faces": 8, "n_edges": 13, "n_vertices": 7}, "dimensions": {"lines": ["Revolved organic body from a freeform sketched section (8 segments: 4 straight, 4 arcs), ~27.477 \u00d7 53.1 mm half-silhouette."], "text": "Revolved organic body from a freeform sketched section (8 segments: 4 straight, 4 arcs), ~27.477 \u00d7 53.1 mm half-silhouette."}, "params": {"sk_r": {"type": "float", "default": 30, "min": 15.0, "max": 54.0, "step": 1.0, "group": "Sketch", "label": "Max radius (mm)"}, "sk_h": {"type": "float", "default": 53.1, "min": 26.6, "max": 95.6, "step": 1.0, "group": "Sketch", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332954 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_r\": {\"type\": 'float', \"default\": 30, \"min\": 15.0, \"max\": 54.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Max radius (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 53.1, \"min\": 26.6, \"max\": 95.6, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XZ').moveTo(p[\"sk_r\"] * 0.6412, p[\"sk_h\"] * 0.0).threePointArc((p[\"sk_r\"] * 0.5264, p[\"sk_h\"] * 0.0781), (p[\"sk_r\"] * 0.6403, p[\"sk_h\"] * 0.1563)).threePointArc((p[\"sk_r\"] * 0.4575, p[\"sk_h\"] * 0.3012), (p[\"sk_r\"] * 0.3176, p[\"sk_h\"] * 0.446)).lineTo(p[\"sk_r\"] * 0.3974, p[\"sk_h\"] * 0.5338).threePointArc((p[\"sk_r\"] * 0.3443, p[\"sk_h\"] * 0.5635), (p[\"sk_r\"] * 0.3208, p[\"sk_h\"] * 0.5933)).lineTo(p[\"sk_r\"] * 0.7248, p[\"sk_h\"] * 0.8177).threePointArc((p[\"sk_r\"] * 0.904, p[\"sk_h\"] * 0.9089), (p[\"sk_r\"] * 0.9159, p[\"sk_h\"] * 1.0)).lineTo(p[\"sk_r\"] * 0.0, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.0, p[\"sk_h\"] * 0.0).close().revolve())\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462cacdb_4391", "family": "revolved", "tier": 1, "seed": 1177332955, "symmetry": "none", "op_count": 2, "ir_hash": "4ee7f33ad3e24905", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 241000.0, "surface_area": 36300.0, "principal_moments": [191000000.0, 209000000.0, 209000000.0], "n_faces": 7, "n_edges": 11, "n_vertices": 7}, "dimensions": {"lines": ["Revolved body, \u00d845 mm \u00d7 103.5 mm tall with \u00d887.3 mm \u00d7 29.8 mm flange.", "Chamfer 0.5 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d845 mm \u00d7 103.5 mm tall with \u00d887.3 mm \u00d7 29.8 mm flange. Chamfer 0.5 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 45, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 103.5, "min": 31.0, "max": 310.5, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "flange_d": {"type": "float", "default": 87.3, "min": 54.0, "max": 135.0, "step": 1.0, "group": "Body", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 29.8, "min": 8.9, "max": 51.8, "step": 0.5, "group": "Body", "label": "Flange height (mm)"}, "end_chamfer": {"type": "float", "default": 0.5, "min": 0.1, "max": 1.5, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332955 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 45, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 103.5, \"min\": 31.0, \"max\": 310.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 87.3, \"min\": 54.0, \"max\": 135.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 29.8, \"min\": 8.9, \"max\": 51.8, \"step\": 0.5, \"group\": 'Body', \"label\": 'Flange height (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.5, \"min\": 0.1, \"max\": 1.5, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462cacdc_4392", "family": "plate", "tier": 1, "seed": 1177332956, "symmetry": "none", "op_count": 2, "ir_hash": "4a20d60a394976a7", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 35300.0, "surface_area": 11300.0, "principal_moments": [9210000.0, 18900000.0, 27799999.999999996], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 80 \u00d7 55.5 \u00d7 8 mm (W\u00d7D\u00d7H).", "Four \u00d83.2 mm holes at the corners, 56 \u00d7 38.85 mm spacing."], "text": "Rectangular body, 80 \u00d7 55.5 \u00d7 8 mm (W\u00d7D\u00d7H). Four \u00d83.2 mm holes at the corners, 56 \u00d7 38.85 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 80, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 55.5, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 12.5, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332956 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 80, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 55.5, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 12.5, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462cacdd_4393", "family": "bracket", "tier": 1, "seed": 1177332957, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "755d5dcb0084aea7", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 23200.0, "surface_area": 7570.0, "principal_moments": [3900000.0, 5010000.0, 5960000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["C-channel bracket: base leg 30.12 mm, vertical leg 26.9 mm, 42.72 mm wide, 8 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."], "text": "C-channel bracket: base leg 30.12 mm, vertical leg 26.9 mm, 42.72 mm wide, 8 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 30.12, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 26.9, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 42.72, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 8.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332957 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 30.12, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 26.9, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 42.72, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462cacde_4394", "family": "plate", "tier": 0, "seed": 1177332958, "symmetry": "radial", "op_count": 1, "ir_hash": "aaa7403af1ef7620", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 68800.0, "surface_area": 20200.0, "principal_moments": [42800000.0, 57699999.99999999, 99699999.99999999], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 100 \u00d7 86 \u00d7 8 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 100 \u00d7 86 \u00d7 8 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 100, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 86.0, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332958 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 100, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 86.0, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462cacdf_4395", "family": "swept", "tier": 0, "seed": 1177332959, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "d9018103f376fe91", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 6580.0, "surface_area": 3550.0, "principal_moments": [381000.0, 3310000.0, 3640000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["12.1 \u00d7 7 mm rectangular section swept along a curved path, ~76.18 mm span."], "text": "12.1 \u00d7 7 mm rectangular section swept along a curved path, ~76.18 mm span."}, "params": {"path_w": {"type": "float", "default": 35, "min": 17.5, "max": 63.0, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 76.18, "min": 38.1, "max": 137.1, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_a": {"type": "float", "default": 12.1, "min": 6.0, "max": 21.8, "step": 1.0, "group": "Section", "label": "Section width (mm)"}, "sweep_b": {"type": "float", "default": 7.0, "min": 3.5, "max": 12.6, "step": 1.0, "group": "Section", "label": "Section depth (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332959 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 35, \"min\": 17.5, \"max\": 63.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 76.18, \"min\": 38.1, \"max\": 137.1, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_a\": {\"type\": 'float', \"default\": 12.1, \"min\": 6.0, \"max\": 21.8, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section width (mm)'},\n    \"sweep_b\": {\"type\": 'float', \"default\": 7.0, \"min\": 3.5, \"max\": 12.6, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section depth (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.1343, p[\"path_h\"] * 0.4208), (p[\"path_w\"] * 0.3507, p[\"path_h\"] * 0.4677), (p[\"path_w\"] * 0.3904, p[\"path_h\"] * 0.5607), (p[\"path_w\"] * 0.2995, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').rect(p[\"sweep_a\"], p[\"sweep_b\"]).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462cace0_4396", "family": "plate", "tier": 2, "seed": 1177332960, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "32bda4e2a3efb6aa", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 13700.0, "surface_area": 6470.0, "principal_moments": [1410000.0, 5380000.0, 6700000.0], "n_faces": 22, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 70 \u00d7 35.4 \u00d7 6 mm (W\u00d7D\u00d7H).", "Four 10.6 \u00d7 5.3 mm slots at the corners, 49 \u00d7 24.78 mm spacing."], "text": "Rectangular body, 70 \u00d7 35.4 \u00d7 6 mm (W\u00d7D\u00d7H). Four 10.6 \u00d7 5.3 mm slots at the corners, 49 \u00d7 24.78 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 70, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 35.4, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 6.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 8.0, "step": 0.5, "group": "Holes", "label": "Slot width (mm)"}, "hole_slot_len": {"type": "float", "default": 10.6, "min": 7.9, "max": 10.6, "step": 0.5, "group": "Holes", "label": "Slot length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332960 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 70, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 35.4, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Slot width (mm)'},\n    \"hole_slot_len\": {\"type\": 'float', \"default\": 10.6, \"min\": 7.9, \"max\": 10.6, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Slot length (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().slot2D(p[\"hole_slot_len\"], p[\"hole_d\"]).cutThruAll()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462cace1_4397", "family": "gear", "tier": 3, "seed": 1177332961, "symmetry": "none", "op_count": 1, "ir_hash": "7fcef9e9821059f6", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 1270000.0, "surface_area": 132000.0, "principal_moments": [3340000000.0, 3340000000.0, 6060000000.0], "n_faces": 203, "n_edges": 600, "n_vertices": 400}, "dimensions": {"lines": ["Cycloid gear, module 6 mm, 33 teeth (pitch \u00d8198 mm), face width 40.4 mm, \u00d837.9 mm bore, \u00d868.2 mm \u00d7 38.2 mm hub."], "text": "Cycloid gear, module 6 mm, 33 teeth (pitch \u00d8198 mm), face width 40.4 mm, \u00d837.9 mm bore, \u00d868.2 mm \u00d7 38.2 mm hub."}, "params": {"module": {"type": "float", "default": 6.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 33, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 40.4, "min": 16.2, "max": 101.0, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "bore_d": {"type": "float", "default": 37.9, "min": 2.0, "max": 109.8, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}, "hub_d": {"type": "float", "default": 68.2, "min": 53.1, "max": 99.0, "step": 1.0, "group": "Hub", "label": "Hub diameter (mm)"}, "hub_h": {"type": "float", "default": 38.2, "min": 11.5, "max": 76.4, "step": 0.5, "group": "Hub", "label": "Hub height (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332961 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 6.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 33, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 40.4, \"min\": 16.2, \"max\": 101.0, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 37.9, \"min\": 2.0, \"max\": 109.8, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n    \"hub_d\": {\"type\": 'float', \"default\": 68.2, \"min\": 53.1, \"max\": 99.0, \"step\": 1.0, \"group\": 'Hub', \"label\": 'Hub diameter (mm)'},\n    \"hub_h\": {\"type\": 'float', \"default\": 38.2, \"min\": 11.5, \"max\": 76.4, \"step\": 0.5, \"group\": 'Hub', \"label\": 'Hub height (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.CycloidGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"hub_d\"] / 2).extrude(p[\"hub_h\"])\n    )\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462cace2_4398", "family": "enclosure", "tier": 1, "seed": 1177332962, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "16372fdd5543fd35", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 118000.0, "surface_area": 79900.0, "principal_moments": [187000000.0, 240000000.0, 324000000.0], "n_faces": 11, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 115 \u00d7 51.4 \u00d7 107.6 mm (W\u00d7D\u00d7H).", "Hollowed to 3 mm wall thickness, open at top face."], "text": "Rectangular body, 115 \u00d7 51.4 \u00d7 107.6 mm (W\u00d7D\u00d7H). Hollowed to 3 mm wall thickness, open at top face."}, "params": {"enc_w": {"type": "float", "default": 115, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 51.4, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 107.6, "min": 43.0, "max": 215.2, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 3.0, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332962 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 115, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 51.4, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 107.6, \"min\": 43.0, \"max\": 215.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462cace3_4399", "family": "bracket", "tier": 2, "seed": 1177332963, "symmetry": "none", "op_count": 1, "ir_hash": "4a5e77390a727a36", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 23500.0, "surface_area": 12900.0, "principal_moments": [6700000.0, 19900000.0, 22400000.0], "n_faces": 15, "n_edges": 57, "n_vertices": 34}, "dimensions": {"lines": ["L-bracket: base leg 75 mm, vertical leg 73.3 mm, 35 mm wide, 4 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg; 5.2 mm corner gusset."], "text": "L-bracket: base leg 75 mm, vertical leg 73.3 mm, 35 mm wide, 4 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg; 5.2 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 75, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 73.3, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 35, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 4.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 5.2, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332963 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 75, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 73.3, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 35, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 5.2, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462cace4_4400", "family": "gear", "tier": 0, "seed": 1177332964, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "96035d927c763cb3", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 204000.0, "surface_area": 43600.0, "principal_moments": [267000000.0, 267000000.0, 529000000.0], "n_faces": 218, "n_edges": 648, "n_vertices": 432}, "dimensions": {"lines": ["Spur gear, module 4 mm, 36 teeth (pitch \u00d8144 mm), face width 12.6 mm."], "text": "Spur gear, module 4 mm, 36 teeth (pitch \u00d8144 mm), face width 12.6 mm."}, "params": {"module": {"type": "float", "default": 4.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 36, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 12.6, "min": 5.0, "max": 31.5, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332964 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 4.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 36, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 12.6, \"min\": 5.0, \"max\": 31.5, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462cace5_4401", "family": "threaded", "tier": 3, "seed": 1177332965, "symmetry": "none", "op_count": 1, "ir_hash": "3dddb1a8de555c67", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 625.0, "surface_area": 763.0, "principal_moments": [7940.0, 13000.0, 13000.0], "n_faces": 135, "n_edges": 365, "n_vertices": 232}, "dimensions": {"lines": ["M5x0.8 internal thread, 13.2 mm long."], "text": "M5x0.8 internal thread, 13.2 mm long."}, "params": {"major_d": {"type": "float", "default": 5.0, "min": 4.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Major diameter (mm)"}, "pitch": {"type": "float", "default": 0.8, "min": 0.4, "max": 1.6, "step": 0.05, "group": "Thread", "label": "Pitch (mm)"}, "thread_len": {"type": "float", "default": 13.2, "min": 5.3, "max": 26.4, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332965 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 5.0, \"min\": 4.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Major diameter (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 0.8, \"min\": 0.4, \"max\": 1.6, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Pitch (mm)'},\n    \"thread_len\": {\"type\": 'float', \"default\": 13.2, \"min\": 5.3, \"max\": 26.4, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.IsoThread(major_diameter=p[\"major_d\"], pitch=p[\"pitch\"], length=p[\"thread_len\"], external=False, end_finishes=(\"fade\", \"fade\"))\n    _body = _bd.Cylinder(radius=(p[\"major_d\"]) * 0.9, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _bore = _bd.Cylinder(radius=(p[\"major_d\"]) / 2, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = (_body - _bore) + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462cace6_4402", "family": "flanged", "tier": 1, "seed": 1177332966, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "cf5dbdf9dd98727e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 645000.0, "surface_area": 83400.0, "principal_moments": [1260000000.0, 1260000000.0, 1380000000.0], "n_faces": 21, "n_edges": 78, "n_vertices": 52}, "dimensions": {"lines": ["Revolved body, \u00d895 mm \u00d7 95 mm tall with \u00d850.1 mm bore, \u00d8156.8 mm \u00d7 13.4 mm flange.", "Eight \u00d83.2 mm holes on a \u00d894 mm bolt circle."], "text": "Revolved body, \u00d895 mm \u00d7 95 mm tall with \u00d850.1 mm bore, \u00d8156.8 mm \u00d7 13.4 mm flange. Eight \u00d83.2 mm holes on a \u00d894 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 95, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 95.0, "min": 28.5, "max": 237.5, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 50.1, "min": 2.0, "max": 66.5, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 156.8, "min": 123.5, "max": 285.0, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 13.4, "min": 4.0, "max": 38.0, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 47.0, "min": 31.4, "max": 70.6, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 8, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332966 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 95, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 95.0, \"min\": 28.5, \"max\": 237.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 50.1, \"min\": 2.0, \"max\": 66.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 156.8, \"min\": 123.5, \"max\": 285.0, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 13.4, \"min\": 4.0, \"max\": 38.0, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 47.0, \"min\": 31.4, \"max\": 70.6, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462cace8_4404", "family": "block", "tier": 2, "seed": 1177332968, "symmetry": "none", "op_count": 3, "ir_hash": "3d71cac2f1bf6993", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 142000.0, "surface_area": 19800.0, "principal_moments": [54399999.99999999, 69600000.0, 91599999.99999999], "n_faces": 12, "n_edges": 27, "n_vertices": 18}, "dimensions": {"lines": ["Rectangular body, 57.46 \u00d7 37.4 \u00d7 65.9 mm (W\u00d7D\u00d7H).", "Four \u00d83.2 mm holes at the corners, 40.222 \u00d7 26.18 mm spacing.", "Boss \u00d820.7 mm \u00d7 6.7 mm tall on top face."], "text": "Rectangular body, 57.46 \u00d7 37.4 \u00d7 65.9 mm (W\u00d7D\u00d7H). Four \u00d83.2 mm holes at the corners, 40.222 \u00d7 26.18 mm spacing. Boss \u00d820.7 mm \u00d7 6.7 mm tall on top face."}, "params": {"block_w": {"type": "float", "default": 57.46, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 37.4, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 65.9, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 8.4, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "boss_d": {"type": "float", "default": 20.7, "min": 10.3, "max": 41.4, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 6.7, "min": 2.7, "max": 16.8, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332968 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 57.46, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 37.4, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 65.9, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 8.4, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"boss_d\": {\"type\": 'float', \"default\": 20.7, \"min\": 10.3, \"max\": 41.4, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 6.7, \"min\": 2.7, \"max\": 16.8, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462cace9_4405", "family": "compound", "tier": 2, "seed": 1177332969, "symmetry": "mirror_xy", "op_count": 5, "ir_hash": "6987edbf4a48df9d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 20500.0, "surface_area": 6090.0, "principal_moments": [2260000.0, 2810000.0, 3700000.0], "n_faces": 20, "n_edges": 47, "n_vertices": 30}, "dimensions": {"lines": ["Rectangular body, 34.89 \u00d7 30.4 \u00d7 20 mm (W\u00d7D\u00d7H).", "\u00d85.2 mm circular section attachment, 4.7 mm long, from back face with a \u00d82.8 mm bore.", "\u00d85.2 mm circular section attachment, 4.7 mm long, from right face with a \u00d82.8 mm bore.", "\u00d85.2 mm circular section attachment, 4.7 mm long, from left face with a \u00d82.8 mm bore.", "Four \u00d84.3 mm holes at the corners, 24.423 \u00d7 21.28 mm spacing."], "text": "Rectangular body, 34.89 \u00d7 30.4 \u00d7 20 mm (W\u00d7D\u00d7H). \u00d85.2 mm circular section attachment, 4.7 mm long, from back face with a \u00d82.8 mm bore. \u00d85.2 mm circular section attachment, 4.7 mm long, from right face with a \u00d82.8 mm bore. \u00d85.2 mm circular section attachment, 4.7 mm long, from left face with a \u00d82.8 mm bore. Four \u00d84.3 mm holes at the corners, 24.423 \u00d7 21.28 mm spacing."}, "params": {"block_w": {"type": "float", "default": 34.89, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body width (mm)"}, "block_d": {"type": "float", "default": 30.4, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body depth (mm)"}, "block_h": {"type": "float", "default": 20.0, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body height (mm)"}, "port_d": {"type": "float", "default": 5.2, "min": 2.1, "max": 9.0, "step": 1.0, "group": "Ports", "label": "Ports diameter (mm)"}, "port_len": {"type": "float", "default": 4.7, "min": 1.3, "max": 15.6, "step": 1.0, "group": "Ports", "label": "Port boss length (mm)"}, "port_bore": {"type": "float", "default": 2.8, "min": 2.0, "max": 3.7, "step": 0.5, "group": "Ports", "label": "Port bore diameter (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 6.8, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332969 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 34.89, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 30.4, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 20.0, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body height (mm)'},\n    \"port_d\": {\"type\": 'float', \"default\": 5.2, \"min\": 2.1, \"max\": 9.0, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Ports diameter (mm)'},\n    \"port_len\": {\"type\": 'float', \"default\": 4.7, \"min\": 1.3, \"max\": 15.6, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Port boss length (mm)'},\n    \"port_bore\": {\"type\": 'float', \"default\": 2.8, \"min\": 2.0, \"max\": 3.7, \"step\": 0.5, \"group\": 'Ports', \"label\": 'Port bore diameter (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 6.8, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462cacea_4406", "family": "revolved", "tier": 2, "seed": 1177332970, "symmetry": "none", "op_count": 2, "ir_hash": "ba949c43aee59c8d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 75300.0, "surface_area": 21000.0, "principal_moments": [12699999.999999998, 79200000.0, 79200000.0], "n_faces": 5, "n_edges": 8, "n_vertices": 5}, "dimensions": {"lines": ["Revolved body, \u00d833.58 mm \u00d7 127.6 mm tall.", "Chamfer 0.4 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d833.58 mm \u00d7 127.6 mm tall. Chamfer 0.4 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 33.58, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 127.6, "min": 38.3, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "end_chamfer": {"type": "float", "default": 0.4, "min": 0.1, "max": 1.2, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332970 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 33.58, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 127.6, \"min\": 38.3, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.4, \"min\": 0.1, \"max\": 1.2, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462caceb_4407", "family": "plate", "tier": 0, "seed": 1177332971, "symmetry": "radial", "op_count": 1, "ir_hash": "b71ace937dc8b3ad", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 53200.0, "surface_area": 13600.0, "principal_moments": [22700000.0, 25399999.999999996, 47199999.99999999], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 75 \u00d7 70.9 \u00d7 10 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 75 \u00d7 70.9 \u00d7 10 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 75, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 70.9, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332971 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 75, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 70.9, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462cacec_4408", "family": "gear", "tier": 1, "seed": 1177332972, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "8be158cda5395e62", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 6170.0, "surface_area": 3460.0, "principal_moments": [528000.0, 528000.0, 1020000.0], "n_faces": 219, "n_edges": 651, "n_vertices": 434}, "dimensions": {"lines": ["Spur gear, module 1 mm, 36 teeth (pitch \u00d836 mm), face width 6.2 mm, \u00d84.3 mm bore."], "text": "Spur gear, module 1 mm, 36 teeth (pitch \u00d836 mm), face width 6.2 mm, \u00d84.3 mm bore."}, "params": {"module": {"type": "float", "default": 1.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 36, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 6.2, "min": 2.5, "max": 15.5, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "bore_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 20.1, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332972 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 1.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 36, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 6.2, \"min\": 2.5, \"max\": 15.5, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 20.1, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462caced_4409", "family": "revolved", "tier": 1, "seed": 1177332973, "symmetry": "radial", "op_count": 1, "ir_hash": "bc2bf4997ecaa002", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 126000.0, "surface_area": 23800.0, "principal_moments": [54299999.99999999, 80000000.0, 80000000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d853.55 mm \u00d7 84 mm tall."], "text": "Revolved body, \u00d853.55 mm \u00d7 84 mm tall."}, "params": {"outer_d": {"type": "float", "default": 53.55, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 84.0, "min": 25.2, "max": 252.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332973 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 53.55, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 84.0, \"min\": 25.2, \"max\": 252.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462cacee_4410", "family": "compound", "tier": 3, "seed": 1177332974, "symmetry": "mirror_x", "op_count": 4, "ir_hash": "322bda20cde3a2c0", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 172000.0, "surface_area": 20600.0, "principal_moments": [36600000.0, 272000000.0, 272000000.0], "n_faces": 13, "n_edges": 26, "n_vertices": 17}, "dimensions": {"lines": ["\u00d845 mm circular section, extruded 78.7 mm thick.", "\u00d831.1 mm circular section attachment, 50.9 mm long, from top face.", "6-sided polygon section, 24 mm across corners attachment, 22.2 mm long, from top face.", "Chamfer 2.8 mm on bottom edges."], "text": "\u00d845 mm circular section, extruded 78.7 mm thick. \u00d831.1 mm circular section attachment, 50.9 mm long, from top face. 6-sided polygon section, 24 mm across corners attachment, 22.2 mm long, from top face. Chamfer 2.8 mm on bottom edges."}, "params": {"shaft_d": {"type": "float", "default": 45, "min": 22.5, "max": 81.0, "step": 1.0, "group": "Body", "label": "Shaft diameter (mm)"}, "shaft_len": {"type": "float", "default": 78.7, "min": 31.5, "max": 157.4, "step": 1.0, "group": "Body", "label": "Shaft length (mm)"}, "step_d": {"type": "float", "default": 31.1, "min": 15.6, "max": 40.5, "step": 1.0, "group": "Step", "label": "Step diameter (mm)"}, "step_len": {"type": "float", "default": 50.9, "min": 15.3, "max": 127.2, "step": 1.0, "group": "Step", "label": "Step length (mm)"}, "head_sides": {"type": "int", "default": 6, "min": 3, "max": 8, "step": 1, "group": "Head", "label": "Drive head sides"}, "head_r": {"type": "float", "default": 12.0, "min": 7.2, "max": 14.9, "step": 1.0, "group": "Head", "label": "Drive head circumradius (mm)"}, "head_len": {"type": "float", "default": 22.2, "min": 6.7, "max": 44.4, "step": 1.0, "group": "Head", "label": "Drive head length (mm)"}, "chamfer_d": {"type": "float", "default": 2.8, "min": 0.5, "max": 3.0, "step": 0.5, "group": "Body", "label": "Chamfer distance (mm)"}, "chamfered": {"type": "bool", "default": true, "group": "Body", "label": "Chamfer edges"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332974 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"shaft_d\": {\"type\": 'float', \"default\": 45, \"min\": 22.5, \"max\": 81.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft diameter (mm)'},\n    \"shaft_len\": {\"type\": 'float', \"default\": 78.7, \"min\": 31.5, \"max\": 157.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft length (mm)'},\n    \"step_d\": {\"type\": 'float', \"default\": 31.1, \"min\": 15.6, \"max\": 40.5, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step diameter (mm)'},\n    \"step_len\": {\"type\": 'float', \"default\": 50.9, \"min\": 15.3, \"max\": 127.2, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step length (mm)'},\n    \"head_sides\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Head', \"label\": 'Drive head sides'},\n    \"head_r\": {\"type\": 'float', \"default\": 12.0, \"min\": 7.2, \"max\": 14.9, \"step\": 1.0, \"group\": 'Head', \"label\": 'Drive head circumradius (mm)'},\n    \"head_len\": {\"type\": 'float', \"default\": 22.2, \"min\": 6.7, \"max\": 44.4, \"step\": 1.0, \"group\": 'Head', \"label\": 'Drive head length (mm)'},\n    \"chamfer_d\": {\"type\": 'float', \"default\": 2.8, \"min\": 0.5, \"max\": 3.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Chamfer distance (mm)'},\n    \"chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Chamfer edges'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').circle(p[\"shaft_d\"] / 2).extrude(p[\"shaft_len\"]))\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"step_d\"] / 2).extrude(p[\"step_len\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"head_sides\"], p[\"head_r\"] * 2).extrude(p[\"head_len\"])\n    )\n    if p[\"chamfered\"]:\n        result = result.edges('<Z').chamfer(p[\"chamfer_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462cacef_4411", "family": "compound", "tier": 1, "seed": 1177332975, "symmetry": "none", "op_count": 2, "ir_hash": "c600f0842f1b8537", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 90700.0, "surface_area": 13300.0, "principal_moments": [19200000.0, 48199999.99999999, 48299999.99999999], "n_faces": 11, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 68.44 \u00d7 36.1 \u00d7 35.9 mm (W\u00d7D\u00d7H).", "10.7 \u00d7 8.6 mm rectangular section attachment, 21.5 mm long, from right face."], "text": "Rectangular body, 68.44 \u00d7 36.1 \u00d7 35.9 mm (W\u00d7D\u00d7H). 10.7 \u00d7 8.6 mm rectangular section attachment, 21.5 mm long, from right face."}, "params": {"block_w": {"type": "float", "default": 68.44, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 36.1, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 35.9, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "spig_a": {"type": "float", "default": 10.7, "min": 5.3, "max": 25.1, "step": 1.0, "group": "Spigot", "label": "Spigot width (mm)"}, "spig_b": {"type": "float", "default": 8.6, "min": 4.3, "max": 25.1, "step": 1.0, "group": "Spigot", "label": "Spigot depth (mm)"}, "spig_len": {"type": "float", "default": 21.5, "min": 2.6, "max": 34.4, "step": 1.0, "group": "Spigot", "label": "Spigot length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332975 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 68.44, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 36.1, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 35.9, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"spig_a\": {\"type\": 'float', \"default\": 10.7, \"min\": 5.3, \"max\": 25.1, \"step\": 1.0, \"group\": 'Spigot', \"label\": 'Spigot width (mm)'},\n    \"spig_b\": {\"type\": 'float', \"default\": 8.6, \"min\": 4.3, \"max\": 25.1, \"step\": 1.0, \"group\": 'Spigot', \"label\": 'Spigot depth (mm)'},\n    \"spig_len\": {\"type\": 'float', \"default\": 21.5, \"min\": 2.6, \"max\": 34.4, \"step\": 1.0, \"group\": 'Spigot', \"label\": 'Spigot length (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .rect(p[\"spig_a\"], p[\"spig_b\"]).extrude(p[\"spig_len\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462cacf0_4412", "family": "revolved", "tier": 1, "seed": 1177332976, "symmetry": "none", "op_count": 1, "ir_hash": "5c026fc37d21c141", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 535000.0, "surface_area": 65200.0, "principal_moments": [391000000.0, 2150000000.0, 2150000000.0], "n_faces": 6, "n_edges": 9, "n_vertices": 6}, "dimensions": {"lines": ["Revolved body, \u00d854.65 mm \u00d7 197.8 mm tall with \u00d823.8 mm bore, \u00d891 mm \u00d7 38.2 mm flange."], "text": "Revolved body, \u00d854.65 mm \u00d7 197.8 mm tall with \u00d823.8 mm bore, \u00d891 mm \u00d7 38.2 mm flange."}, "params": {"outer_d": {"type": "float", "default": 54.65, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 197.8, "min": 59.3, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 23.8, "min": 2.0, "max": 38.3, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 91.0, "min": 65.6, "max": 163.9, "step": 1.0, "group": "Body", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 38.2, "min": 11.5, "max": 98.9, "step": 0.5, "group": "Body", "label": "Flange height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332976 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 54.65, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 197.8, \"min\": 59.3, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 23.8, \"min\": 2.0, \"max\": 38.3, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 91.0, \"min\": 65.6, \"max\": 163.9, \"step\": 1.0, \"group\": 'Body', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 38.2, \"min\": 11.5, \"max\": 98.9, \"step\": 0.5, \"group\": 'Body', \"label\": 'Flange height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462cacf1_4413", "family": "lofted", "tier": 0, "seed": 1177332977, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "44be80e28dc78275", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 39900.0, "surface_area": 6600.0, "principal_moments": [7450000.0, 7450000.0, 7840000.0], "n_faces": 8, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["Lofted body through 2 sections: 6-sided polygon section, 47.61 mm across corners \u2192 \u00d835.2 mm circular section."], "text": "Lofted body through 2 sections: 6-sided polygon section, 47.61 mm across corners \u2192 \u00d835.2 mm circular section."}, "params": {"loft_base": {"type": "float", "default": 47.61, "min": 23.8, "max": 76.2, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 35.2, "min": 14.1, "max": 57.1, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 32.8, "min": 13.1, "max": 65.6, "step": 1.0, "group": "Body", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332977 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 47.61, \"min\": 23.8, \"max\": 76.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 35.2, \"min\": 14.1, \"max\": 57.1, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 32.8, \"min\": 13.1, \"max\": 65.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .polygon(6, p[\"loft_base\"] * 0.5 * 2)\n        .workplane(offset=p[\"loft_h\"])\n        .circle(p[\"loft_top\"] / 2)\n        .loft(combine=True)\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462cacf2_4414", "family": "block", "tier": 1, "seed": 1177332978, "symmetry": "none", "op_count": 2, "ir_hash": "03f2ea46b656a11e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 19400.0, "surface_area": 6230.0, "principal_moments": [1980000.0, 2810000.0, 3830000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 30.96 \u00d7 17.5 \u00d7 38 mm (W\u00d7D\u00d7H).", "Four \u00d83.2 mm holes at the corners, 21.672 \u00d7 12.25 mm spacing."], "text": "Rectangular body, 30.96 \u00d7 17.5 \u00d7 38 mm (W\u00d7D\u00d7H). Four \u00d83.2 mm holes at the corners, 21.672 \u00d7 12.25 mm spacing."}, "params": {"block_w": {"type": "float", "default": 30.96, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 17.5, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 38.0, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 3.9, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332978 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 30.96, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 17.5, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 38.0, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 3.9, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462cacf3_4415", "family": "block", "tier": 2, "seed": 1177332979, "symmetry": "none", "op_count": 3, "ir_hash": "a18cb47893f1a74d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 89500.0, "surface_area": 21000.0, "principal_moments": [24499999.999999996, 49299999.99999999, 49899999.99999999], "n_faces": 22, "n_edges": 63, "n_vertices": 42}, "dimensions": {"lines": ["Rectangular body, 39.37 \u00d7 37.2 \u00d7 73.2 mm (W\u00d7D\u00d7H).", "Nine \u00d83.2 mm holes in two staggered rows, 7.4 \u00d7 6.3 mm pitch.", "Pocket 27.2 \u00d7 18.7 mm, 27.6 mm deep, in top face."], "text": "Rectangular body, 39.37 \u00d7 37.2 \u00d7 73.2 mm (W\u00d7D\u00d7H). Nine \u00d83.2 mm holes in two staggered rows, 7.4 \u00d7 6.3 mm pitch. Pocket 27.2 \u00d7 18.7 mm, 27.6 mm deep, in top face."}, "params": {"block_w": {"type": "float", "default": 39.37, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 37.2, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 73.2, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 3.7, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 5, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}, "pocket_w": {"type": "float", "default": 27.2, "min": 13.6, "max": 31.5, "step": 1.0, "group": "Pocket", "label": "Pocket width (mm)"}, "pocket_d": {"type": "float", "default": 18.7, "min": 9.3, "max": 29.8, "step": 1.0, "group": "Pocket", "label": "Pocket depth (mm)"}, "pocket_h": {"type": "float", "default": 27.6, "min": 11.0, "max": 62.2, "step": 0.5, "group": "Pocket", "label": "Pocket height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332979 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 39.37, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 37.2, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 73.2, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 3.7, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 5, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n    \"pocket_w\": {\"type\": 'float', \"default\": 27.2, \"min\": 13.6, \"max\": 31.5, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket width (mm)'},\n    \"pocket_d\": {\"type\": 'float', \"default\": 18.7, \"min\": 9.3, \"max\": 29.8, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket depth (mm)'},\n    \"pocket_h\": {\"type\": 'float', \"default\": 27.6, \"min\": 11.0, \"max\": 62.2, \"step\": 0.5, \"group\": 'Pocket', \"label\": 'Pocket height (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 7.4\n    _ssy = 6.3\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"pocket_w\"], p[\"pocket_d\"])\n        .cutBlind(-p[\"pocket_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462cacf4_4416", "family": "bracket", "tier": 2, "seed": 1177332980, "symmetry": "none", "op_count": 1, "ir_hash": "9332b6d36ce5db89", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 19100.0, "surface_area": 6360.0, "principal_moments": [2070000.0, 5330000.0, 6390000.0], "n_faces": 8, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["L-bracket: base leg 26.51 mm, vertical leg 25 mm, 55 mm wide, 8 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg; 8.4 mm corner gusset."], "text": "L-bracket: base leg 26.51 mm, vertical leg 25 mm, 55 mm wide, 8 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg; 8.4 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 26.51, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 25.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 55, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 8.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 8.4, "min": 4.0, "max": 24.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332980 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 26.51, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 25.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 55, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 8.4, \"min\": 4.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462cacf5_4417", "family": "lofted", "tier": 1, "seed": 1177332981, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "6ec7aa582be1f158", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 66600.0, "surface_area": 11900.0, "principal_moments": [14799999.999999998, 26399999.999999996, 26399999.999999996], "n_faces": 9, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["Lofted body through 2 sections: \u00d850 mm circular section \u2192 6-sided polygon section, 27.4 mm across corners.", "One \u00d810.2 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 2 sections: \u00d850 mm circular section \u2192 6-sided polygon section, 27.4 mm across corners. One \u00d810.2 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 50, "min": 25.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 27.4, "min": 11.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 62.7, "min": 25.1, "max": 125.4, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_bore_d": {"type": "float", "default": 10.2, "min": 2.0, "max": 21.9, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332981 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 50, \"min\": 25.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 27.4, \"min\": 11.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 62.7, \"min\": 25.1, \"max\": 125.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 10.2, \"min\": 2.0, \"max\": 21.9, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .circle(p[\"loft_base\"] / 2)\n        .workplane(offset=p[\"loft_h\"])\n        .polygon(6, p[\"loft_top\"] * 0.5 * 2)\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462cacf6_4418", "family": "bracket", "tier": 1, "seed": 1177332982, "symmetry": "none", "op_count": 1, "ir_hash": "cb8996a8ffc48b48", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 24400.0, "surface_area": 11700.0, "principal_moments": [4930000.0, 22600000.0, 22700000.0], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Z-bracket: base leg 55 mm, vertical leg 52.3 mm, top leg 43.8 mm, 35 mm wide, 5 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."], "text": "Z-bracket: base leg 55 mm, vertical leg 52.3 mm, top leg 43.8 mm, 35 mm wide, 5 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 55, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 52.3, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 35, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 5.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 43.8, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332982 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 55, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 52.3, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 35, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 43.8, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462cacf7_4419", "family": "ribbed", "tier": 1, "seed": 1177332983, "symmetry": "none", "op_count": 2, "ir_hash": "cd5fb9b2594a8987", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 21300.0, "surface_area": 8750.0, "principal_moments": [3020000.0, 6150000.0, 6810000.0], "n_faces": 30, "n_edges": 72, "n_vertices": 44}, "dimensions": {"lines": ["Rectangular body, 50 \u00d7 25.2 \u00d7 10 mm (W\u00d7D\u00d7H).", "Three ribs, 4.5 mm thick, 16.2 mm tall."], "text": "Rectangular body, 50 \u00d7 25.2 \u00d7 10 mm (W\u00d7D\u00d7H). Three ribs, 4.5 mm thick, 16.2 mm tall."}, "params": {"base_w": {"type": "float", "default": 50, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 25.2, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 10.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 3, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 16.2, "min": 6.5, "max": 32.4, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 4.5, "min": 1.0, "max": 11.2, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332983 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 50, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 25.2, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 3, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 16.2, \"min\": 6.5, \"max\": 32.4, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 4.5, \"min\": 1.0, \"max\": 11.2, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462cacf8_4420", "family": "compound", "tier": 2, "seed": 1177332984, "symmetry": "mirror_xy", "op_count": 5, "ir_hash": "ce0427b3a39525b9", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 54600.0, "surface_area": 11100.0, "principal_moments": [10500000.0, 15499999.999999998, 17500000.0], "n_faces": 21, "n_edges": 49, "n_vertices": 31}, "dimensions": {"lines": ["Rectangular body, 49.55 \u00d7 36.6 \u00d7 30.6 mm (W\u00d7D\u00d7H).", "\u00d87.5 mm circular section attachment, 6.4 mm long, from back face with a \u00d83.3 mm bore.", "\u00d87.5 mm circular section attachment, 6.4 mm long, from front face with a \u00d83.3 mm bore.", "\u00d87.5 mm circular section attachment, 6.4 mm long, from right face with a \u00d83.3 mm bore.", "Four \u00d84.3 mm holes at the corners, 34.685 \u00d7 25.62 mm spacing."], "text": "Rectangular body, 49.55 \u00d7 36.6 \u00d7 30.6 mm (W\u00d7D\u00d7H). \u00d87.5 mm circular section attachment, 6.4 mm long, from back face with a \u00d83.3 mm bore. \u00d87.5 mm circular section attachment, 6.4 mm long, from front face with a \u00d83.3 mm bore. \u00d87.5 mm circular section attachment, 6.4 mm long, from right face with a \u00d83.3 mm bore. Four \u00d84.3 mm holes at the corners, 34.685 \u00d7 25.62 mm spacing."}, "params": {"block_w": {"type": "float", "default": 49.55, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body width (mm)"}, "block_d": {"type": "float", "default": 36.6, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body depth (mm)"}, "block_h": {"type": "float", "default": 30.6, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body height (mm)"}, "port_d": {"type": "float", "default": 7.5, "min": 3.0, "max": 13.8, "step": 1.0, "group": "Ports", "label": "Ports diameter (mm)"}, "port_len": {"type": "float", "default": 6.4, "min": 1.9, "max": 22.5, "step": 1.0, "group": "Ports", "label": "Port boss length (mm)"}, "port_bore": {"type": "float", "default": 3.3, "min": 2.0, "max": 5.4, "step": 0.5, "group": "Ports", "label": "Port bore diameter (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 8.2, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332984 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 49.55, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 36.6, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 30.6, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body height (mm)'},\n    \"port_d\": {\"type\": 'float', \"default\": 7.5, \"min\": 3.0, \"max\": 13.8, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Ports diameter (mm)'},\n    \"port_len\": {\"type\": 'float', \"default\": 6.4, \"min\": 1.9, \"max\": 22.5, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Port boss length (mm)'},\n    \"port_bore\": {\"type\": 'float', \"default\": 3.3, \"min\": 2.0, \"max\": 5.4, \"step\": 0.5, \"group\": 'Ports', \"label\": 'Port bore diameter (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 8.2, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462cacfb_4423", "family": "sketched", "tier": 1, "seed": 1177332987, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "986b63dcb987c0db", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 21300.0, "surface_area": 5620.0, "principal_moments": [2330000.0, 3590000.0, 4180000.0], "n_faces": 7, "n_edges": 15, "n_vertices": 10}, "dimensions": {"lines": ["freeform sketched section (4 segments: 1 straight, 1 arc, 2 curves), ~43.007 \u00d7 32.572 mm, extruded 28.71 mm thick.", "One \u00d88.4 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "freeform sketched section (4 segments: 1 straight, 1 arc, 2 curves), ~43.007 \u00d7 32.572 mm, extruded 28.71 mm thick. One \u00d88.4 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"sk_w": {"type": "float", "default": 63.06, "min": 31.5, "max": 113.5, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 40.0, "min": 20.0, "max": 72.0, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "sk_t": {"type": "float", "default": 28.71, "min": 11.5, "max": 63.2, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "sk_hole_d": {"type": "float", "default": 8.4, "min": 2.0, "max": 16.8, "step": 0.5, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332987 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 63.06, \"min\": 31.5, \"max\": 113.5, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 40.0, \"min\": 20.0, \"max\": 72.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"sk_t\": {\"type\": 'float', \"default\": 28.71, \"min\": 11.5, \"max\": 63.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"sk_hole_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 2.0, \"max\": 16.8, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.3006, p[\"sk_h\"] * -0.1681).threePointArc((p[\"sk_w\"] * 0.2927, p[\"sk_h\"] * 0.2141), (p[\"sk_w\"] * 0.1554, p[\"sk_h\"] * 0.4664)).lineTo(p[\"sk_w\"] * -0.3814, p[\"sk_h\"] * -0.2311).bezier([(p[\"sk_w\"] * -0.3814, p[\"sk_h\"] * -0.2311), (p[\"sk_w\"] * -0.2175, p[\"sk_h\"] * -0.3139), (p[\"sk_w\"] * -0.0371, p[\"sk_h\"] * -0.3479)]).bezier([(p[\"sk_w\"] * -0.0371, p[\"sk_h\"] * -0.3479), (p[\"sk_w\"] * 0.1542, p[\"sk_h\"] * -0.3001), (p[\"sk_w\"] * 0.3006, p[\"sk_h\"] * -0.1681)]).close().extrude(p[\"sk_t\"]))\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"sk_hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462cacfc_4424", "family": "tapped", "tier": 2, "seed": 1177332988, "symmetry": "none", "op_count": 1, "ir_hash": "fbf479bd35a72cde", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 68200.0, "surface_area": 14500.0, "principal_moments": [17500000.0, 28499999.999999996, 41200000.0], "n_faces": 534, "n_edges": 1460, "n_vertices": 928}, "dimensions": {"lines": ["Four M8x1.25 tapped holes in a plate."], "text": "Four M8x1.25 tapped holes in a plate."}, "params": {"major_d": {"type": "float", "default": 8.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 1.25, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 20.4, "min": 9.6, "max": 36.7, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "plate_w": {"type": "float", "default": 67.91, "min": 40.7, "max": 108.7, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 51.7, "min": 31.0, "max": 82.7, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332988 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.25, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 20.4, \"min\": 9.6, \"max\": 36.7, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"plate_w\": {\"type\": 'float', \"default\": 67.91, \"min\": 40.7, \"max\": 108.7, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 51.7, \"min\": 31.0, \"max\": 82.7, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n}\n\n\ndef build(p):\n\n    _W, _D, _H = p[\"plate_w\"], p[\"plate_d\"], p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Box(_W, _D, _H)\n    _sx, _sy = p[\"plate_w\"] * 0.6, p[\"plate_d\"] * 0.6\n    _locs = [(_xx, _yy) for _xx in (-_sx / 2, _sx / 2) for _yy in (-_sy / 2, _sy / 2)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462cacfd_4425", "family": "revolved", "tier": 2, "seed": 1177332989, "symmetry": "none", "op_count": 2, "ir_hash": "7b9105718743b1bb", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 84600.0, "surface_area": 24000.0, "principal_moments": [41800000.0, 41800000.0, 48799999.99999999], "n_faces": 11, "n_edges": 17, "n_vertices": 11}, "dimensions": {"lines": ["Revolved body, \u00d845.04 mm \u00d7 56.8 mm tall with \u00d887.6 mm \u00d7 5.8 mm flange, 3.47 mm-wide groove 2.85 mm deep.", "Chamfer 0.8 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d845.04 mm \u00d7 56.8 mm tall with \u00d887.6 mm \u00d7 5.8 mm flange, 3.47 mm-wide groove 2.85 mm deep. Chamfer 0.8 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 45.04, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 56.8, "min": 17.0, "max": 170.4, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "flange_d": {"type": "float", "default": 87.6, "min": 54.0, "max": 135.1, "step": 1.0, "group": "Body", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 5.8, "min": 1.7, "max": 28.4, "step": 0.5, "group": "Body", "label": "Flange height (mm)"}, "groove_depth": {"type": "float", "default": 2.85, "min": 1.14, "max": 8.55, "step": 0.1, "group": "Body", "label": "Groove depth (mm)"}, "groove_w": {"type": "float", "default": 3.47, "min": 1.39, "max": 10.41, "step": 0.2, "group": "Body", "label": "Groove width (mm)"}, "groove_pos": {"type": "float", "default": 30.3, "min": 8.5, "max": 48.3, "step": 1.0, "group": "Body", "label": "Groove position (mm)"}, "end_chamfer": {"type": "float", "default": 0.8, "min": 0.1, "max": 2.4, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332989 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 45.04, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 56.8, \"min\": 17.0, \"max\": 170.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 87.6, \"min\": 54.0, \"max\": 135.1, \"step\": 1.0, \"group\": 'Body', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 5.8, \"min\": 1.7, \"max\": 28.4, \"step\": 0.5, \"group\": 'Body', \"label\": 'Flange height (mm)'},\n    \"groove_depth\": {\"type\": 'float', \"default\": 2.85, \"min\": 1.14, \"max\": 8.55, \"step\": 0.1, \"group\": 'Body', \"label\": 'Groove depth (mm)'},\n    \"groove_w\": {\"type\": 'float', \"default\": 3.47, \"min\": 1.39, \"max\": 10.41, \"step\": 0.2, \"group\": 'Body', \"label\": 'Groove width (mm)'},\n    \"groove_pos\": {\"type\": 'float', \"default\": 30.3, \"min\": 8.5, \"max\": 48.3, \"step\": 1.0, \"group\": 'Body', \"label\": 'Groove position (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.8, \"min\": 0.1, \"max\": 2.4, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"groove_pos\"] - p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2 - p[\"groove_depth\"], p[\"groove_pos\"] - p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2 - p[\"groove_depth\"], p[\"groove_pos\"] + p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2, p[\"groove_pos\"] + p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462cacfe_4426", "family": "ribbed", "tier": 2, "seed": 1177332990, "symmetry": "none", "op_count": 3, "ir_hash": "96ec11ddb9ea4da2", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 13600.0, "surface_area": 5750.0, "principal_moments": [1280000.0, 2040000.0, 2900000.0], "n_faces": 38, "n_edges": 108, "n_vertices": 68}, "dimensions": {"lines": ["Rectangular body, 40 \u00d7 31 \u00d7 10 mm (W\u00d7D\u00d7H).", "Three ribs, 3 mm thick, 6.5 mm tall.", "Four \u00d84.3 mm holes at the corners, 28 \u00d7 21.7 mm spacing."], "text": "Rectangular body, 40 \u00d7 31 \u00d7 10 mm (W\u00d7D\u00d7H). Three ribs, 3 mm thick, 6.5 mm tall. Four \u00d84.3 mm holes at the corners, 28 \u00d7 21.7 mm spacing."}, "params": {"base_w": {"type": "float", "default": 40, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 31.0, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 10.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 3, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 6.5, "min": 2.6, "max": 13.0, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 3.0, "min": 1.0, "max": 7.5, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 7.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332990 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 40, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 31.0, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 3, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 6.5, \"min\": 2.6, \"max\": 13.0, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 1.0, \"max\": 7.5, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 7.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"base_w\"] * 0.7, p[\"base_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462cacff_4427", "family": "plate", "tier": 0, "seed": 1177332991, "symmetry": "radial", "op_count": 1, "ir_hash": "d164c3ca7c91020b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 82500.0, "surface_area": 17900.0, "principal_moments": [27799999.999999996, 84200000.0, 110000000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 110 \u00d7 62.5 \u00d7 12 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 110 \u00d7 62.5 \u00d7 12 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 110, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 62.5, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332991 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 110, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 62.5, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462cad00_4428", "family": "plate", "tier": 1, "seed": 1177332992, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "6e2844b83ed17586", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 77100.0, "surface_area": 17700.0, "principal_moments": [19600000.0, 92999999.99999999, 111000000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 120 \u00d7 54 \u00d7 12 mm (W\u00d7D\u00d7H).", "Four \u00d84.3 mm holes at the corners, 84 \u00d7 37.8 mm spacing."], "text": "Rectangular body, 120 \u00d7 54 \u00d7 12 mm (W\u00d7D\u00d7H). Four \u00d84.3 mm holes at the corners, 84 \u00d7 37.8 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 120.0, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 54.0, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 12.1, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332992 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 120.0, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 54.0, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 12.1, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462cad01_4429", "family": "compound", "tier": 2, "seed": 1177332993, "symmetry": "mirror_x", "op_count": 5, "ir_hash": "f7e2a290736cdf6a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 581000.0, "surface_area": 51200.0, "principal_moments": [647000000.0, 679000000.0, 760000000.0], "n_faces": 20, "n_edges": 47, "n_vertices": 30}, "dimensions": {"lines": ["Rectangular body, 90 \u00d7 75.6 \u00d7 86.3 mm (W\u00d7D\u00d7H).", "\u00d815.3 mm circular section attachment, 14.2 mm long, from left face with a \u00d88.9 mm bore.", "\u00d815.3 mm circular section attachment, 14.2 mm long, from back face with a \u00d88.9 mm bore.", "\u00d815.3 mm circular section attachment, 14.2 mm long, from front face with a \u00d88.9 mm bore.", "Four \u00d83.2 mm holes at the corners, 63 \u00d7 52.92 mm spacing."], "text": "Rectangular body, 90 \u00d7 75.6 \u00d7 86.3 mm (W\u00d7D\u00d7H). \u00d815.3 mm circular section attachment, 14.2 mm long, from left face with a \u00d88.9 mm bore. \u00d815.3 mm circular section attachment, 14.2 mm long, from back face with a \u00d88.9 mm bore. \u00d815.3 mm circular section attachment, 14.2 mm long, from front face with a \u00d88.9 mm bore. Four \u00d83.2 mm holes at the corners, 63 \u00d7 52.92 mm spacing."}, "params": {"block_w": {"type": "float", "default": 90.0, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body width (mm)"}, "block_d": {"type": "float", "default": 75.6, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body depth (mm)"}, "block_h": {"type": "float", "default": 86.3, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body height (mm)"}, "port_d": {"type": "float", "default": 15.3, "min": 6.1, "max": 34.0, "step": 1.0, "group": "Ports", "label": "Ports diameter (mm)"}, "port_len": {"type": "float", "default": 14.2, "min": 3.8, "max": 45.9, "step": 1.0, "group": "Ports", "label": "Port boss length (mm)"}, "port_bore": {"type": "float", "default": 8.9, "min": 2.0, "max": 11.0, "step": 0.5, "group": "Ports", "label": "Port bore diameter (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332993 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 90.0, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 75.6, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 86.3, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body height (mm)'},\n    \"port_d\": {\"type\": 'float', \"default\": 15.3, \"min\": 6.1, \"max\": 34.0, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Ports diameter (mm)'},\n    \"port_len\": {\"type\": 'float', \"default\": 14.2, \"min\": 3.8, \"max\": 45.9, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Port boss length (mm)'},\n    \"port_bore\": {\"type\": 'float', \"default\": 8.9, \"min\": 2.0, \"max\": 11.0, \"step\": 0.5, \"group\": 'Ports', \"label\": 'Port bore diameter (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462cad02_4430", "family": "tapped", "tier": 1, "seed": 1177332994, "symmetry": "none", "op_count": 1, "ir_hash": "72f4f07365d75f09", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 6990.0, "surface_area": 2850.0, "principal_moments": [465000.0, 465000.0, 632000.0], "n_faces": 91, "n_edges": 317, "n_vertices": 228}, "dimensions": {"lines": ["One M10x1.5 tapped hole in a cylinder."], "text": "One M10x1.5 tapped hole in a cylinder."}, "params": {"major_d": {"type": "float", "default": 10.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 1.5, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 16.0, "min": 12.0, "max": 28.8, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "body_d": {"type": "float", "default": 25.3, "min": 18.0, "max": 40.5, "step": 1.0, "group": "Body", "label": "Outer \u00d8 (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332994 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 10.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.5, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 16.0, \"min\": 12.0, \"max\": 28.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"body_d\": {\"type\": 'float', \"default\": 25.3, \"min\": 18.0, \"max\": 40.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer \u00d8 (mm)'},\n}\n\n\ndef build(p):\n\n    _W = _D = p[\"body_d\"]\n    _H = p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Cylinder(radius=_W / 2, height=_H)\n    _locs = [(0.0, 0.0)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462cad03_4431", "family": "compound", "tier": 1, "seed": 1177332995, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "a0385aa9a634bfc8", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 119000.0, "surface_area": 15300.0, "principal_moments": [42700000.0, 47799999.99999999, 61399999.99999999], "n_faces": 11, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 58.6 \u00d7 36.6 \u00d7 54 mm (W\u00d7D\u00d7H).", "21.8 \u00d7 12.8 mm rectangular section attachment, 10.6 mm long, from front face."], "text": "Rectangular body, 58.6 \u00d7 36.6 \u00d7 54 mm (W\u00d7D\u00d7H). 21.8 \u00d7 12.8 mm rectangular section attachment, 10.6 mm long, from front face."}, "params": {"block_w": {"type": "float", "default": 58.6, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 36.6, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 54.0, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "spig_a": {"type": "float", "default": 21.8, "min": 10.9, "max": 37.8, "step": 1.0, "group": "Spigot", "label": "Spigot width (mm)"}, "spig_b": {"type": "float", "default": 12.8, "min": 6.4, "max": 37.8, "step": 1.0, "group": "Spigot", "label": "Spigot depth (mm)"}, "spig_len": {"type": "float", "default": 10.6, "min": 3.8, "max": 51.2, "step": 1.0, "group": "Spigot", "label": "Spigot length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332995 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 58.6, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 36.6, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 54.0, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"spig_a\": {\"type\": 'float', \"default\": 21.8, \"min\": 10.9, \"max\": 37.8, \"step\": 1.0, \"group\": 'Spigot', \"label\": 'Spigot width (mm)'},\n    \"spig_b\": {\"type\": 'float', \"default\": 12.8, \"min\": 6.4, \"max\": 37.8, \"step\": 1.0, \"group\": 'Spigot', \"label\": 'Spigot depth (mm)'},\n    \"spig_len\": {\"type\": 'float', \"default\": 10.6, \"min\": 3.8, \"max\": 51.2, \"step\": 1.0, \"group\": 'Spigot', \"label\": 'Spigot length (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .rect(p[\"spig_a\"], p[\"spig_b\"]).extrude(p[\"spig_len\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462cad04_4432", "family": "compound", "tier": 3, "seed": 1177332996, "symmetry": "none", "op_count": 3, "ir_hash": "ecebc6ca589f0675", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 158000.0, "surface_area": 23000.0, "principal_moments": [85900000.0, 91599999.99999999, 91599999.99999999], "n_faces": 22, "n_edges": 50, "n_vertices": 31}, "dimensions": {"lines": ["Lofted body through 3 sections: \u00d879.98 mm circular section \u2192 \u00d863.7 mm circular section \u2192 47.4 \u00d7 47.4 mm rectangular section.", "6-sided polygon section, 29.2 mm across corners attachment, 34.5 mm long, from top face with a \u00d813.4 mm bore.", "Chamfer 1.4 mm on top edges."], "text": "Lofted body through 3 sections: \u00d879.98 mm circular section \u2192 \u00d863.7 mm circular section \u2192 47.4 \u00d7 47.4 mm rectangular section. 6-sided polygon section, 29.2 mm across corners attachment, 34.5 mm long, from top face with a \u00d813.4 mm bore. Chamfer 1.4 mm on top edges."}, "params": {"adapter_base": {"type": "float", "default": 79.98, "min": 48.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "adapter_top": {"type": "float", "default": 47.4, "min": 23.7, "max": 80.0, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "adapter_h": {"type": "float", "default": 45.0, "min": 18.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Transition height (mm)"}, "adapter_mid": {"type": "float", "default": 63.7, "min": 23.7, "max": 80.0, "step": 1.0, "group": "Body", "label": "Mid size (mm)"}, "neck_sides": {"type": "int", "default": 6, "min": 3, "max": 8, "step": 1, "group": "Neck", "label": "Neck sides"}, "neck_r": {"type": "float", "default": 14.6, "min": 7.3, "max": 23.7, "step": 1.0, "group": "Neck", "label": "Neck circumradius (mm)"}, "neck_l": {"type": "float", "default": 34.5, "min": 13.8, "max": 86.2, "step": 1.0, "group": "Neck", "label": "Neck length (mm)"}, "neck_bore": {"type": "float", "default": 13.4, "min": 2.0, "max": 18.2, "step": 0.5, "group": "Neck", "label": "Neck bore diameter (mm)"}, "chamfer_d": {"type": "float", "default": 1.4, "min": 0.5, "max": 3.0, "step": 0.5, "group": "Body", "label": "Chamfer distance (mm)"}, "chamfered": {"type": "bool", "default": true, "group": "Body", "label": "Chamfer edges"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332996 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"adapter_base\": {\"type\": 'float', \"default\": 79.98, \"min\": 48.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"adapter_top\": {\"type\": 'float', \"default\": 47.4, \"min\": 23.7, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"adapter_h\": {\"type\": 'float', \"default\": 45.0, \"min\": 18.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Transition height (mm)'},\n    \"adapter_mid\": {\"type\": 'float', \"default\": 63.7, \"min\": 23.7, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Mid size (mm)'},\n    \"neck_sides\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Neck', \"label\": 'Neck sides'},\n    \"neck_r\": {\"type\": 'float', \"default\": 14.6, \"min\": 7.3, \"max\": 23.7, \"step\": 1.0, \"group\": 'Neck', \"label\": 'Neck circumradius (mm)'},\n    \"neck_l\": {\"type\": 'float', \"default\": 34.5, \"min\": 13.8, \"max\": 86.2, \"step\": 1.0, \"group\": 'Neck', \"label\": 'Neck length (mm)'},\n    \"neck_bore\": {\"type\": 'float', \"default\": 13.4, \"min\": 2.0, \"max\": 18.2, \"step\": 0.5, \"group\": 'Neck', \"label\": 'Neck bore diameter (mm)'},\n    \"chamfer_d\": {\"type\": 'float', \"default\": 1.4, \"min\": 0.5, \"max\": 3.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Chamfer distance (mm)'},\n    \"chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Chamfer edges'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .circle(p[\"adapter_base\"] / 2)\n        .workplane(offset=p[\"adapter_h\"] * 0.5)\n        .circle(p[\"adapter_mid\"] / 2)\n        .workplane(offset=p[\"adapter_h\"] * 0.5)\n        .rect(p[\"adapter_top\"], p[\"adapter_top\"])\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"neck_sides\"], p[\"neck_r\"] * 2).extrude(p[\"neck_l\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"neck_bore\"])\n    )\n    if p[\"chamfered\"]:\n        result = result.edges('>Z').chamfer(p[\"chamfer_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462cad05_4433", "family": "revolved", "tier": 0, "seed": 1177332997, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "f05d134a169a754a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 5870.0, "surface_area": 3470.0, "principal_moments": [235000.0, 735000.0, 735000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d816.32 mm \u00d7 42.1 mm tall."], "text": "Revolved body, \u00d816.32 mm \u00d7 42.1 mm tall."}, "params": {"outer_d": {"type": "float", "default": 16.32, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 42.1, "min": 12.6, "max": 126.3, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177332997 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 16.32, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 42.1, \"min\": 12.6, \"max\": 126.3, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462cad08_4436", "family": "bracket", "tier": 1, "seed": 1177333000, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "1f58a9a3b19f9773", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 11700.0, "surface_area": 5980.0, "principal_moments": [1320000.0, 3530000.0, 4010000.0], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Z-bracket: base leg 30 mm, vertical leg 35.1 mm, top leg 25 mm, 30 mm wide, 5 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."], "text": "Z-bracket: base leg 30 mm, vertical leg 35.1 mm, top leg 25 mm, 30 mm wide, 5 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 30, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 35.1, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 30, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 5.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 25.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333000 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 30, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 35.1, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 30, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 25.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462cad09_4437", "family": "plate", "tier": 1, "seed": 1177333001, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "186fb2346cfec494", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 31300.0, "surface_area": 12600.0, "principal_moments": [6820000.0, 27999999.999999996, 34700000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 103.73 \u00d7 50.9 \u00d7 6 mm (W\u00d7D\u00d7H).", "Four \u00d84.3 mm holes at the corners, 72.611 \u00d7 35.63 mm spacing."], "text": "Rectangular body, 103.73 \u00d7 50.9 \u00d7 6 mm (W\u00d7D\u00d7H). Four \u00d84.3 mm holes at the corners, 72.611 \u00d7 35.63 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 103.73, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 50.9, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 6.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 11.5, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333001 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 103.73, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 50.9, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 11.5, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462cad0a_4438", "family": "bracket", "tier": 1, "seed": 1177333002, "symmetry": "none", "op_count": 1, "ir_hash": "45498cf5fdc4fe3f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 53300.0, "surface_area": 16400.0, "principal_moments": [22400000.0, 29899999.999999996, 34400000.0], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["C-channel bracket: base leg 53.08 mm, vertical leg 42.3 mm, 55 mm wide, 8 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."], "text": "C-channel bracket: base leg 53.08 mm, vertical leg 42.3 mm, 55 mm wide, 8 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 53.08, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 42.3, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 55, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 8.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333002 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 53.08, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 42.3, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 55, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462cad0b_4439", "family": "bracket", "tier": 3, "seed": 1177333003, "symmetry": "none", "op_count": 1, "ir_hash": "a42bbaa46082f527", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 30200.0, "surface_area": 16600.0, "principal_moments": [11499999.999999998, 28299999.999999996, 28499999.999999996], "n_faces": 17, "n_edges": 39, "n_vertices": 26}, "dimensions": {"lines": ["L-bracket: base leg 75 mm, vertical leg 68.2 mm, 50 mm wide, 4 mm thick; 2 \u00d7 \u00d84.3 mm holes per leg; 4.7 mm corner gusset."], "text": "L-bracket: base leg 75 mm, vertical leg 68.2 mm, 50 mm wide, 4 mm thick; 2 \u00d7 \u00d84.3 mm holes per leg; 4.7 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 75, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 68.2, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 50, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 4.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 2, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 4.7, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333003 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 75, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 68.2, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 50, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 2, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 4.7, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462cad0c_4440", "family": "bracket", "tier": 2, "seed": 1177333004, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "5dcfde644d11acd5", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 7080.0, "surface_area": 2950.0, "principal_moments": [517000.0, 606000.0, 857000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["C-channel bracket: base leg 25 mm, vertical leg 25 mm, 15 mm wide, 8 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 11.3 mm corner gusset."], "text": "C-channel bracket: base leg 25 mm, vertical leg 25 mm, 15 mm wide, 8 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 11.3 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 25.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 25.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 15.0, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 8.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 6.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 11.3, "min": 4.0, "max": 7.5, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333004 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 25.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 25.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 15.0, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 6.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 11.3, \"min\": 4.0, \"max\": 7.5, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl / 2, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bl - _bt, _bt).lineTo(_bl - _bt - _g, _bt)\n                    .lineTo(_bl - _bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462cad0d_4441", "family": "compound", "tier": 2, "seed": 1177333005, "symmetry": "mirror_x", "op_count": 5, "ir_hash": "9467864f9dc16124", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 246000.0, "surface_area": 34600.0, "principal_moments": [156000000.0, 175000000.0, 193000000.0], "n_faces": 20, "n_edges": 47, "n_vertices": 30}, "dimensions": {"lines": ["Rectangular body, 70.59 \u00d7 65.4 \u00d7 57.5 mm (W\u00d7D\u00d7H).", "\u00d816.7 mm circular section attachment, 9.3 mm long, from right face with a \u00d89.2 mm bore.", "\u00d816.7 mm circular section attachment, 9.3 mm long, from back face with a \u00d89.2 mm bore.", "\u00d816.7 mm circular section attachment, 9.3 mm long, from left face with a \u00d89.2 mm bore.", "Four \u00d813 mm holes at the corners, 49.413 \u00d7 45.78 mm spacing."], "text": "Rectangular body, 70.59 \u00d7 65.4 \u00d7 57.5 mm (W\u00d7D\u00d7H). \u00d816.7 mm circular section attachment, 9.3 mm long, from right face with a \u00d89.2 mm bore. \u00d816.7 mm circular section attachment, 9.3 mm long, from back face with a \u00d89.2 mm bore. \u00d816.7 mm circular section attachment, 9.3 mm long, from left face with a \u00d89.2 mm bore. Four \u00d813 mm holes at the corners, 49.413 \u00d7 45.78 mm spacing."}, "params": {"block_w": {"type": "float", "default": 70.59, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body width (mm)"}, "block_d": {"type": "float", "default": 65.4, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body depth (mm)"}, "block_h": {"type": "float", "default": 57.5, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body height (mm)"}, "port_d": {"type": "float", "default": 16.7, "min": 6.7, "max": 25.9, "step": 1.0, "group": "Ports", "label": "Ports diameter (mm)"}, "port_len": {"type": "float", "default": 9.3, "min": 4.2, "max": 50.1, "step": 1.0, "group": "Ports", "label": "Port boss length (mm)"}, "port_bore": {"type": "float", "default": 9.2, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Ports", "label": "Port bore diameter (mm)"}, "hole_d": {"type": "float", "default": 13.0, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333005 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 70.59, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 65.4, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 57.5, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body height (mm)'},\n    \"port_d\": {\"type\": 'float', \"default\": 16.7, \"min\": 6.7, \"max\": 25.9, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Ports diameter (mm)'},\n    \"port_len\": {\"type\": 'float', \"default\": 9.3, \"min\": 4.2, \"max\": 50.1, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Port boss length (mm)'},\n    \"port_bore\": {\"type\": 'float', \"default\": 9.2, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Ports', \"label\": 'Port bore diameter (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 13.0, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462cad0e_4442", "family": "lofted", "tier": 1, "seed": 1177333006, "symmetry": "none", "op_count": 2, "ir_hash": "f4fe6a07da19d35e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 26000.0, "surface_area": 6410.0, "principal_moments": [4220000.0, 4220000.0, 5360000.0], "n_faces": 9, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["Lofted body through 2 sections: 6-sided polygon section, 45.79 mm across corners \u2192 \u00d833.7 mm circular section.", "One \u00d814 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 2 sections: 6-sided polygon section, 45.79 mm across corners \u2192 \u00d833.7 mm circular section. One \u00d814 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 45.79, "min": 22.9, "max": 73.3, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 33.7, "min": 13.5, "max": 54.9, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 26.9, "min": 10.8, "max": 53.8, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_bore_d": {"type": "float", "default": 14.0, "min": 2.0, "max": 27.0, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333006 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 45.79, \"min\": 22.9, \"max\": 73.3, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 33.7, \"min\": 13.5, \"max\": 54.9, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 26.9, \"min\": 10.8, \"max\": 53.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 14.0, \"min\": 2.0, \"max\": 27.0, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .polygon(6, p[\"loft_base\"] * 0.5 * 2)\n        .workplane(offset=p[\"loft_h\"])\n        .circle(p[\"loft_top\"] / 2)\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462cad0f_4443", "family": "gear", "tier": 1, "seed": 1177333007, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "80d4256678880aac", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 9350.0, "surface_area": 4400.0, "principal_moments": [955000.0, 955000.0, 1800000.0], "n_faces": 189, "n_edges": 561, "n_vertices": 374}, "dimensions": {"lines": ["Spur gear, module 1.25 mm, 31 teeth (pitch \u00d838.75 mm), face width 8.2 mm, \u00d86 mm bore."], "text": "Spur gear, module 1.25 mm, 31 teeth (pitch \u00d838.75 mm), face width 8.2 mm, \u00d86 mm bore."}, "params": {"module": {"type": "float", "default": 1.25, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 31, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 8.2, "min": 3.3, "max": 20.5, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "bore_d": {"type": "float", "default": 6.0, "min": 2.0, "max": 21.4, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333007 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 1.25, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 31, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 8.2, \"min\": 3.3, \"max\": 20.5, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 21.4, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462cad10_4444", "family": "plate", "tier": 2, "seed": 1177333008, "symmetry": "none", "op_count": 2, "ir_hash": "b1189ca1f0c4b231", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 708.0, "surface_area": 817.0, "principal_moments": [6260.0, 39100.0, 44300.0], "n_faces": 18, "n_edges": 48, "n_vertices": 32}, "dimensions": {"lines": ["Rectangular body, 26.55 \u00d7 10.2 \u00d7 3 mm (W\u00d7D\u00d7H).", "Four \u00d82.1 mm counterbored holes (\u00d84.2 mm \u00d7 1.7 mm counterbore) at the corners, 18.585 \u00d7 7.14 mm spacing."], "text": "Rectangular body, 26.55 \u00d7 10.2 \u00d7 3 mm (W\u00d7D\u00d7H). Four \u00d82.1 mm counterbored holes (\u00d84.2 mm \u00d7 1.7 mm counterbore) at the corners, 18.585 \u00d7 7.14 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 26.55, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 10.2, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 3.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 2.1, "min": 2.0, "max": 2.3, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "cb_d": {"type": "float", "default": 4.2, "min": 3.2, "max": 6.3, "step": 0.5, "group": "Holes", "label": "Counterbore diameter (mm)"}, "cb_depth": {"type": "float", "default": 1.7, "min": 0.8, "max": 3.4, "step": 0.5, "group": "Holes", "label": "Counterbore depth (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333008 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 26.55, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 10.2, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 3.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 2.1, \"min\": 2.0, \"max\": 2.3, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"cb_d\": {\"type\": 'float', \"default\": 4.2, \"min\": 3.2, \"max\": 6.3, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Counterbore diameter (mm)'},\n    \"cb_depth\": {\"type\": 'float', \"default\": 1.7, \"min\": 0.8, \"max\": 3.4, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Counterbore depth (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().cboreHole(p[\"hole_d\"], p[\"cb_d\"], p[\"cb_depth\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462cad11_4445", "family": "plate", "tier": 0, "seed": 1177333009, "symmetry": "radial", "op_count": 1, "ir_hash": "e2019e36173e42db", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 5480.0, "surface_area": 3330.0, "principal_moments": [532000.0, 752000.0, 1270000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 40.39 \u00d7 33.9 \u00d7 4 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 40.39 \u00d7 33.9 \u00d7 4 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 40.39, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 33.9, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 4.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333009 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 40.39, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 33.9, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 4.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462cad12_4446", "family": "enclosure", "tier": 2, "seed": 1177333010, "symmetry": "none", "op_count": 3, "ir_hash": "7f80b4af6d8b5c5c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 75200.0, "surface_area": 49800.0, "principal_moments": [90800000.0, 98499999.99999999, 122000000.0], "n_faces": 15, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 80 \u00d7 74 \u00d7 65.9 mm (W\u00d7D\u00d7H).", "Hollowed to 3.1 mm wall thickness, open at top face.", "Four \u00d88.4 mm holes at the corners, 56 \u00d7 51.8 mm spacing."], "text": "Rectangular body, 80 \u00d7 74 \u00d7 65.9 mm (W\u00d7D\u00d7H). Hollowed to 3.1 mm wall thickness, open at top face. Four \u00d88.4 mm holes at the corners, 56 \u00d7 51.8 mm spacing."}, "params": {"enc_w": {"type": "float", "default": 80, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 74.0, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 65.9, "min": 26.4, "max": 131.8, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 3.1, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}, "hole_d": {"type": "float", "default": 8.4, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333010 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 80, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 74.0, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 65.9, \"min\": 26.4, \"max\": 131.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 3.1, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"enc_w\"] * 0.7, p[\"enc_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462cad13_4447", "family": "profiled", "tier": 0, "seed": 1177333011, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "342b2a32a5de2fe6", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 71700.0, "surface_area": 12700.0, "principal_moments": [5860000.0, 122000000.0, 123000000.0], "n_faces": 8, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["freeform sketched section (6 segments: 2 straight, 3 arcs, 1 curve), ~25.656 \u00d7 24.77 mm, extruded 141.6 mm thick."], "text": "freeform sketched section (6 segments: 2 straight, 3 arcs, 1 curve), ~25.656 \u00d7 24.77 mm, extruded 141.6 mm thick."}, "params": {"sk_w": {"type": "float", "default": 30.24, "min": 15.1, "max": 54.4, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 29.21, "min": 14.6, "max": 52.6, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "length": {"type": "float", "default": 141.6, "min": 42.5, "max": 424.8, "step": 5.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333011 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 30.24, \"min\": 15.1, \"max\": 54.4, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 29.21, \"min\": 14.6, \"max\": 52.6, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 141.6, \"min\": 42.5, \"max\": 424.8, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.4056, p[\"sk_h\"] * -0.0993).threePointArc((p[\"sk_w\"] * 0.3885, p[\"sk_h\"] * 0.1205), (p[\"sk_w\"] * 0.2809, p[\"sk_h\"] * 0.3153)).lineTo(p[\"sk_w\"] * -0.1035, p[\"sk_h\"] * 0.4809).threePointArc((p[\"sk_w\"] * -0.3204, p[\"sk_h\"] * 0.3316), (p[\"sk_w\"] * -0.4428, p[\"sk_h\"] * 0.0992)).lineTo(p[\"sk_w\"] * -0.3126, p[\"sk_h\"] * -0.3671).threePointArc((p[\"sk_w\"] * 0.0249, p[\"sk_h\"] * -0.3785), (p[\"sk_w\"] * 0.364, p[\"sk_h\"] * -0.2962)).bezier([(p[\"sk_w\"] * 0.364, p[\"sk_h\"] * -0.2962), (p[\"sk_w\"] * 0.4085, p[\"sk_h\"] * -0.2027), (p[\"sk_w\"] * 0.4056, p[\"sk_h\"] * -0.0993)]).close().extrude(p[\"length\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462cad14_4448", "family": "tapped", "tier": 1, "seed": 1177333012, "symmetry": "none", "op_count": 1, "ir_hash": "75cae06e52a388a2", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 64800.0, "surface_area": 14900.0, "principal_moments": [15299999.999999998, 31999999.999999996, 43600000.0], "n_faces": 406, "n_edges": 1460, "n_vertices": 1056}, "dimensions": {"lines": ["Four M10x1.5 tapped holes in a plate."], "text": "Four M10x1.5 tapped holes in a plate."}, "params": {"major_d": {"type": "float", "default": 10.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 1.5, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 18.6, "min": 12.0, "max": 33.5, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "plate_w": {"type": "float", "default": 75, "min": 45.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 50.0, "min": 30.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333012 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 10.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.5, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 18.6, \"min\": 12.0, \"max\": 33.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"plate_w\": {\"type\": 'float', \"default\": 75, \"min\": 45.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 50.0, \"min\": 30.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n}\n\n\ndef build(p):\n\n    _W, _D, _H = p[\"plate_w\"], p[\"plate_d\"], p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Box(_W, _D, _H)\n    _sx, _sy = p[\"plate_w\"] * 0.6, p[\"plate_d\"] * 0.6\n    _locs = [(_xx, _yy) for _xx in (-_sx / 2, _sx / 2) for _yy in (-_sy / 2, _sy / 2)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462cad15_4449", "family": "block", "tier": 3, "seed": 1177333013, "symmetry": "none", "op_count": 4, "ir_hash": "bd7c6268f9831ab4", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 198000.0, "surface_area": 40200.0, "principal_moments": [115000000.0, 173000000.0, 253000000.0], "n_faces": 27, "n_edges": 72, "n_vertices": 48}, "dimensions": {"lines": ["Rectangular body, 75 \u00d7 31.8 \u00d7 100 mm (W\u00d7D\u00d7H).", "Four 6.4 mm square holes at the corners, 52.5 \u00d7 22.26 mm spacing.", "Pocket 39.2 \u00d7 16.4 mm, 37.6 mm deep, in top face.", "Fillet radius 2.13 mm on vertical edges (optional, off by default)."], "text": "Rectangular body, 75 \u00d7 31.8 \u00d7 100 mm (W\u00d7D\u00d7H). Four 6.4 mm square holes at the corners, 52.5 \u00d7 22.26 mm spacing. Pocket 39.2 \u00d7 16.4 mm, 37.6 mm deep, in top face. Fillet radius 2.13 mm on vertical edges (optional, off by default)."}, "params": {"block_w": {"type": "float", "default": 75, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 31.8, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 100.0, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 9.3, "step": 0.5, "group": "Holes", "label": "Square hole size (mm)"}, "pocket_w": {"type": "float", "default": 39.2, "min": 19.6, "max": 60.0, "step": 1.0, "group": "Pocket", "label": "Pocket width (mm)"}, "pocket_d": {"type": "float", "default": 16.4, "min": 8.2, "max": 25.4, "step": 1.0, "group": "Pocket", "label": "Pocket depth (mm)"}, "pocket_h": {"type": "float", "default": 37.6, "min": 15.0, "max": 85.0, "step": 0.5, "group": "Pocket", "label": "Pocket height (mm)"}, "filleted2": {"type": "bool", "default": false, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333013 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 75, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 31.8, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 100.0, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 9.3, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Square hole size (mm)'},\n    \"pocket_w\": {\"type\": 'float', \"default\": 39.2, \"min\": 19.6, \"max\": 60.0, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket width (mm)'},\n    \"pocket_d\": {\"type\": 'float', \"default\": 16.4, \"min\": 8.2, \"max\": 25.4, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket depth (mm)'},\n    \"pocket_h\": {\"type\": 'float', \"default\": 37.6, \"min\": 15.0, \"max\": 85.0, \"step\": 0.5, \"group\": 'Pocket', \"label\": 'Pocket height (mm)'},\n    \"filleted2\": {\"type\": 'bool', \"default\": False, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().rect(p[\"hole_d\"], p[\"hole_d\"]).cutThruAll()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"pocket_w\"], p[\"pocket_d\"])\n        .cutBlind(-p[\"pocket_h\"])\n    )\n    if p[\"filleted2\"]:\n        result = result.edges('|Z').fillet(min(p[\"block_w\"], p[\"block_d\"]) * 0.06698847696030989)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462cad16_4450", "family": "revolved", "tier": 0, "seed": 1177333014, "symmetry": "none", "op_count": 1, "ir_hash": "b79253864f5e61b4", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 422000.0, "surface_area": 58800.0, "principal_moments": [307000000.0, 849000000.0, 849000000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d869.6 mm \u00d7 166.5 mm tall."], "text": "Revolved body, \u00d869.6 mm \u00d7 166.5 mm tall."}, "params": {"outer_d": {"type": "float", "default": 69.6, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 166.5, "min": 49.9, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333014 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 69.6, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 166.5, \"min\": 49.9, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462cad17_4451", "family": "gear", "tier": 2, "seed": 1177333015, "symmetry": "none", "op_count": 1, "ir_hash": "171b3608275f1d28", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 2000.0, "surface_area": 1400.0, "principal_moments": [55400.0, 55400.0, 91100.0], "n_faces": 115, "n_edges": 339, "n_vertices": 226}, "dimensions": {"lines": ["Spur gear, module 1.25 mm, 14 teeth (pitch \u00d817.5 mm), face width 7.7 mm, \u00d83 mm bore."], "text": "Spur gear, module 1.25 mm, 14 teeth (pitch \u00d817.5 mm), face width 7.7 mm, \u00d83 mm bore."}, "params": {"module": {"type": "float", "default": 1.25, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 14, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 7.7, "min": 3.1, "max": 19.2, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "profile_shift": {"type": "float", "default": 0.47, "min": -0.5, "max": 0.7, "step": 0.05, "group": "Gear", "label": "Profile shift"}, "root_fillet": {"type": "float", "default": 0.32, "min": 0.0, "max": 0.62, "step": 0.05, "group": "Gear", "label": "Root fillet (mm)"}, "bore_d": {"type": "float", "default": 3.0, "min": 2.0, "max": 8.6, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333015 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 1.25, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 14, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 7.7, \"min\": 3.1, \"max\": 19.2, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"profile_shift\": {\"type\": 'float', \"default\": 0.47, \"min\": -0.5, \"max\": 0.7, \"step\": 0.05, \"group\": 'Gear', \"label\": 'Profile shift'},\n    \"root_fillet\": {\"type\": 'float', \"default\": 0.32, \"min\": 0.0, \"max\": 0.62, \"step\": 0.05, \"group\": 'Gear', \"label\": 'Root fillet (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 3.0, \"min\": 2.0, \"max\": 8.6, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"], profile_shift=p[\"profile_shift\"], root_fillet=p[\"root_fillet\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462cad18_4452", "family": "gear", "tier": 0, "seed": 1177333016, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "44a3c8ffd4f58512", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 712.0, "surface_area": 711.0, "principal_moments": [10500.0, 10500.0, 18100.0], "n_faces": 68, "n_edges": 198, "n_vertices": 132}, "dimensions": {"lines": ["Spur gear, module 1.25 mm, 11 teeth (pitch \u00d813.75 mm), face width 5 mm."], "text": "Spur gear, module 1.25 mm, 11 teeth (pitch \u00d813.75 mm), face width 5 mm."}, "params": {"module": {"type": "float", "default": 1.25, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 11, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 5.0, "min": 2.0, "max": 12.5, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333016 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 1.25, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 11, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 5.0, \"min\": 2.0, \"max\": 12.5, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462cad19_4453", "family": "enclosure", "tier": 2, "seed": 1177333017, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "34ea7fcfb87af00f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 135000.0, "surface_area": 55800.0, "principal_moments": [182000000.0, 194000000.0, 225000000.0], "n_faces": 15, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 82.04 \u00d7 76.8 \u00d7 74.7 mm (W\u00d7D\u00d7H).", "Hollowed to 5 mm wall thickness, open at top face.", "Four \u00d83.2 mm holes at the corners, 57.428 \u00d7 53.76 mm spacing."], "text": "Rectangular body, 82.04 \u00d7 76.8 \u00d7 74.7 mm (W\u00d7D\u00d7H). Hollowed to 5 mm wall thickness, open at top face. Four \u00d83.2 mm holes at the corners, 57.428 \u00d7 53.76 mm spacing."}, "params": {"enc_w": {"type": "float", "default": 82.04, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 76.8, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 74.7, "min": 29.9, "max": 149.4, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 5.0, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333017 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 82.04, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 76.8, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 74.7, \"min\": 29.9, \"max\": 149.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"enc_w\"] * 0.7, p[\"enc_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462cad1a_4454", "family": "revolved", "tier": 1, "seed": 1177333018, "symmetry": "radial", "op_count": 2, "ir_hash": "d05d2f6a23a4d347", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 120000.0, "surface_area": 25500.0, "principal_moments": [36500000.0, 110000000.0, 110000000.0], "n_faces": 5, "n_edges": 8, "n_vertices": 5}, "dimensions": {"lines": ["Revolved body, \u00d845 mm \u00d7 113.3 mm tall.", "Chamfer 0.9 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d845 mm \u00d7 113.3 mm tall. Chamfer 0.9 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 45, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 113.3, "min": 34.0, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "end_chamfer": {"type": "float", "default": 0.9, "min": 0.1, "max": 2.7, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333018 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 45, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 113.3, \"min\": 34.0, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.9, \"min\": 0.1, \"max\": 2.7, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462cad1b_4455", "family": "enclosure", "tier": 1, "seed": 1177333019, "symmetry": "none", "op_count": 2, "ir_hash": "4b61e646f890584b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 150000.0, "surface_area": 53600.0, "principal_moments": [160000000.0, 231000000.0, 252000000.0], "n_faces": 11, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 95 \u00d7 57.8 \u00d7 78.2 mm (W\u00d7D\u00d7H).", "Hollowed to 5.8 mm wall thickness, open at top face."], "text": "Rectangular body, 95 \u00d7 57.8 \u00d7 78.2 mm (W\u00d7D\u00d7H). Hollowed to 5.8 mm wall thickness, open at top face."}, "params": {"enc_w": {"type": "float", "default": 95, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 57.8, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 78.2, "min": 31.3, "max": 156.4, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 5.8, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333019 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 95, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 57.8, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 78.2, \"min\": 31.3, \"max\": 156.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 5.8, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462cad1c_4456", "family": "sketched", "tier": 0, "seed": 1177333020, "symmetry": "none", "op_count": 1, "ir_hash": "52a6d289862f7cac", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 19600.0, "surface_area": 4160.0, "principal_moments": [2040000.0, 2520000.0, 2530000.0], "n_faces": 9, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["freeform sketched section (5 segments: 1 straight, 4 curves), ~38.943 \u00d7 33.427 mm, extruded 25 mm thick with a 4.5\u00b0 draft."], "text": "freeform sketched section (5 segments: 1 straight, 4 curves), ~38.943 \u00d7 33.427 mm, extruded 25 mm thick with a 4.5\u00b0 draft."}, "params": {"sk_w": {"type": "float", "default": 51.41, "min": 25.7, "max": 92.5, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 43.12, "min": 21.6, "max": 77.6, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "sk_t": {"type": "float", "default": 25, "min": 10.0, "max": 55.0, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "sk_draft": {"type": "float", "default": 4.5, "min": 0.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Draft angle (deg)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333020 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 51.41, \"min\": 25.7, \"max\": 92.5, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 43.12, \"min\": 21.6, \"max\": 77.6, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"sk_t\": {\"type\": 'float', \"default\": 25, \"min\": 10.0, \"max\": 55.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"sk_draft\": {\"type\": 'float', \"default\": 4.5, \"min\": 0.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Draft angle (deg)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.3598, p[\"sk_h\"] * -0.1675).spline([(p[\"sk_w\"] * 0.3598, p[\"sk_h\"] * -0.1675), (p[\"sk_w\"] * 0.235, p[\"sk_h\"] * 0.1358), (p[\"sk_w\"] * -0.0067, p[\"sk_h\"] * 0.3576)]).bezier([(p[\"sk_w\"] * -0.0067, p[\"sk_h\"] * 0.3576), (p[\"sk_w\"] * -0.2337, p[\"sk_h\"] * 0.2982), (p[\"sk_w\"] * -0.3977, p[\"sk_h\"] * 0.1303)]).lineTo(p[\"sk_w\"] * -0.2848, p[\"sk_h\"] * -0.2672).spline([(p[\"sk_w\"] * -0.2848, p[\"sk_h\"] * -0.2672), (p[\"sk_w\"] * -0.1306, p[\"sk_h\"] * -0.3829), (p[\"sk_w\"] * 0.0591, p[\"sk_h\"] * -0.4176)]).bezier([(p[\"sk_w\"] * 0.0591, p[\"sk_h\"] * -0.4176), (p[\"sk_w\"] * 0.2379, p[\"sk_h\"] * -0.3267), (p[\"sk_w\"] * 0.3598, p[\"sk_h\"] * -0.1675)]).close().extrude(p[\"sk_t\"], taper=p[\"sk_draft\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462cad1d_4457", "family": "threaded", "tier": 2, "seed": 1177333021, "symmetry": "none", "op_count": 1, "ir_hash": "4646db86df016510", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 12700.0, "surface_area": 5260.0, "principal_moments": [532000.0, 2840000.0, 2840000.0], "n_faces": 130, "n_edges": 332, "n_vertices": 204}, "dimensions": {"lines": ["Tr 20x4 external thread, 50 mm long."], "text": "Tr 20x4 external thread, 50 mm long."}, "params": {"thread_size": {"type": "enum", "default": "20x4", "choices": ["8x1.5", "10x2", "12x3", "14x3", "16x4", "18x4", "20x4", "24x5", "28x5", "30x6", "36x6", "40x7"], "group": "Thread", "label": "Size designation"}, "thread_len": {"type": "float", "default": 50.0, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333021 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"thread_size\": {\"type\": 'enum', \"default\": '20x4', \"choices\": ['8x1.5', '10x2', '12x3', '14x3', '16x4', '18x4', '20x4', '24x5', '28x5', '30x6', '36x6', '40x7'], \"group\": 'Thread', \"label\": 'Size designation'},\n    \"thread_len\": {\"type\": 'float', \"default\": 50.0, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.MetricTrapezoidalThread(size=p[\"thread_size\"], length=p[\"thread_len\"], external=True, end_finishes=(\"fade\", \"fade\"))\n    _r = _thr.min_radius if hasattr(_thr, 'min_radius') else _thr.root_radius\n    _shank = _bd.Cylinder(radius=_r, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = _shank + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462cad1e_4458", "family": "plate", "tier": 2, "seed": 1177333022, "symmetry": "mirror_xy", "op_count": 3, "ir_hash": "ab7d2010ce082f09", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 21800.0, "surface_area": 9210.0, "principal_moments": [2290000.0, 20000000.0, 22100000.0], "n_faces": 42, "n_edges": 120, "n_vertices": 80}, "dimensions": {"lines": ["Rectangular body, 104.94 \u00d7 35.1 \u00d7 6 mm (W\u00d7D\u00d7H).", "Four 3.8 mm square holes at the corners, 73.458 \u00d7 24.57 mm spacing.", "Chamfer 1.6 mm on vertical edges."], "text": "Rectangular body, 104.94 \u00d7 35.1 \u00d7 6 mm (W\u00d7D\u00d7H). Four 3.8 mm square holes at the corners, 73.458 \u00d7 24.57 mm spacing. Chamfer 1.6 mm on vertical edges."}, "params": {"plate_w": {"type": "float", "default": 104.94, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 35.1, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 6.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.8, "min": 2.0, "max": 10.3, "step": 0.5, "group": "Holes", "label": "Square hole size (mm)"}, "chamfer_d": {"type": "float", "default": 1.6, "min": 1.2, "max": 1.9, "step": 0.5, "group": "Body", "label": "Chamfer distance (mm)"}, "chamfered": {"type": "bool", "default": true, "group": "Body", "label": "Chamfer edges"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333022 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 104.94, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 35.1, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.8, \"min\": 2.0, \"max\": 10.3, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Square hole size (mm)'},\n    \"chamfer_d\": {\"type\": 'float', \"default\": 1.6, \"min\": 1.2, \"max\": 1.9, \"step\": 0.5, \"group\": 'Body', \"label\": 'Chamfer distance (mm)'},\n    \"chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Chamfer edges'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().rect(p[\"hole_d\"], p[\"hole_d\"]).cutThruAll()\n    )\n    if p[\"chamfered\"]:\n        result = result.edges('|Z').chamfer(p[\"chamfer_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462cad1f_4459", "family": "compound", "tier": 3, "seed": 1177333023, "symmetry": "none", "op_count": 3, "ir_hash": "51f3c718e96a6aa2", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 15100.0, "surface_area": 4660.0, "principal_moments": [1370000.0, 1950000.0, 1950000.0], "n_faces": 8, "n_edges": 13, "n_vertices": 8}, "dimensions": {"lines": ["\u00d826.61 mm circular section, extruded 28.3 mm thick.", "\u00d812.5 mm circular section attachment, 12.1 mm long, from top face with a \u00d87.5 mm bore.", "Chamfer 2.5 mm on bottom edges."], "text": "\u00d826.61 mm circular section, extruded 28.3 mm thick. \u00d812.5 mm circular section attachment, 12.1 mm long, from top face with a \u00d87.5 mm bore. Chamfer 2.5 mm on bottom edges."}, "params": {"shaft_d": {"type": "float", "default": 26.61, "min": 13.3, "max": 47.9, "step": 1.0, "group": "Body", "label": "Shaft diameter (mm)"}, "shaft_len": {"type": "float", "default": 28.3, "min": 11.3, "max": 56.6, "step": 1.0, "group": "Body", "label": "Shaft length (mm)"}, "step_d": {"type": "float", "default": 12.5, "min": 6.2, "max": 23.9, "step": 1.0, "group": "Step", "label": "Step diameter (mm)"}, "step_len": {"type": "float", "default": 12.1, "min": 3.6, "max": 30.2, "step": 1.0, "group": "Step", "label": "Step length (mm)"}, "axial_bore": {"type": "float", "default": 7.5, "min": 2.0, "max": 9.0, "step": 0.5, "group": "Bore", "label": "Axial bore diameter (mm)"}, "chamfer_d": {"type": "float", "default": 2.5, "min": 0.5, "max": 3.0, "step": 0.5, "group": "Body", "label": "Chamfer distance (mm)"}, "chamfered": {"type": "bool", "default": true, "group": "Body", "label": "Chamfer edges"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333023 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"shaft_d\": {\"type\": 'float', \"default\": 26.61, \"min\": 13.3, \"max\": 47.9, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft diameter (mm)'},\n    \"shaft_len\": {\"type\": 'float', \"default\": 28.3, \"min\": 11.3, \"max\": 56.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft length (mm)'},\n    \"step_d\": {\"type\": 'float', \"default\": 12.5, \"min\": 6.2, \"max\": 23.9, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step diameter (mm)'},\n    \"step_len\": {\"type\": 'float', \"default\": 12.1, \"min\": 3.6, \"max\": 30.2, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step length (mm)'},\n    \"axial_bore\": {\"type\": 'float', \"default\": 7.5, \"min\": 2.0, \"max\": 9.0, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Axial bore diameter (mm)'},\n    \"chamfer_d\": {\"type\": 'float', \"default\": 2.5, \"min\": 0.5, \"max\": 3.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Chamfer distance (mm)'},\n    \"chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Chamfer edges'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').circle(p[\"shaft_d\"] / 2).extrude(p[\"shaft_len\"]))\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"step_d\"] / 2).extrude(p[\"step_len\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"axial_bore\"])\n    )\n    if p[\"chamfered\"]:\n        result = result.edges('<Z').chamfer(p[\"chamfer_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462cad20_4460", "family": "profiled", "tier": 0, "seed": 1177333024, "symmetry": "none", "op_count": 1, "ir_hash": "6a946805d05c8074", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 182000.0, "surface_area": 26100.0, "principal_moments": [31199999.999999996, 714000000.0, 733000000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["44.57 \u00d7 20.94 mm slot section, extruded 216.3 mm thick."], "text": "44.57 \u00d7 20.94 mm slot section, extruded 216.3 mm thick."}, "params": {"slot_len": {"type": "float", "default": 44.57, "min": 22.3, "max": 89.1, "step": 1.0, "group": "Profile", "label": "Slot length (mm)"}, "slot_w": {"type": "float", "default": 20.94, "min": 10.5, "max": 41.9, "step": 0.5, "group": "Profile", "label": "Slot width (mm)"}, "length": {"type": "float", "default": 216.3, "min": 64.9, "max": 648.9, "step": 5.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333024 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"slot_len\": {\"type\": 'float', \"default\": 44.57, \"min\": 22.3, \"max\": 89.1, \"step\": 1.0, \"group\": 'Profile', \"label\": 'Slot length (mm)'},\n    \"slot_w\": {\"type\": 'float', \"default\": 20.94, \"min\": 10.5, \"max\": 41.9, \"step\": 0.5, \"group\": 'Profile', \"label\": 'Slot width (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 216.3, \"min\": 64.9, \"max\": 648.9, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').slot2D(p[\"slot_len\"], p[\"slot_w\"]).extrude(p[\"length\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462cad21_4461", "family": "compound", "tier": 1, "seed": 1177333025, "symmetry": "mirror_xy", "op_count": 3, "ir_hash": "6621cd6938844d91", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 31300.0, "surface_area": 15600.0, "principal_moments": [15999999.999999998, 16900000.0, 24099999.999999996], "n_faces": 17, "n_edges": 42, "n_vertices": 28}, "dimensions": {"lines": ["Rectangular body, 75 \u00d7 72.4 \u00d7 5 mm (W\u00d7D\u00d7H).", "5-sided polygon section, 14 mm across corners attachment, 52 mm long, from top face with a \u00d85.7 mm bore.", "Four \u00d85.3 mm holes at the corners, 52.5 \u00d7 50.68 mm spacing."], "text": "Rectangular body, 75 \u00d7 72.4 \u00d7 5 mm (W\u00d7D\u00d7H). 5-sided polygon section, 14 mm across corners attachment, 52 mm long, from top face with a \u00d85.7 mm bore. Four \u00d85.3 mm holes at the corners, 52.5 \u00d7 50.68 mm spacing."}, "params": {"base_w": {"type": "float", "default": 75, "min": 30.0, "max": 160.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 72.4, "min": 25.0, "max": 160.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_h": {"type": "float", "default": 5.0, "min": 3.0, "max": 30.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "col_sides": {"type": "int", "default": 5, "min": 3, "max": 8, "step": 1, "group": "Column", "label": "Column sides"}, "col_r": {"type": "float", "default": 7.0, "min": 3.5, "max": 18.1, "step": 1.0, "group": "Column", "label": "Column circumradius (mm)"}, "col_h": {"type": "float", "default": 52.0, "min": 15.6, "max": 156.0, "step": 1.0, "group": "Column", "label": "Column height (mm)"}, "col_bore": {"type": "float", "default": 5.7, "min": 2.0, "max": 8.2, "step": 0.5, "group": "Column", "label": "Column bore diameter (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333025 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 75, \"min\": 30.0, \"max\": 160.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 72.4, \"min\": 25.0, \"max\": 160.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_h\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 30.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"col_sides\": {\"type\": 'int', \"default\": 5, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Column', \"label\": 'Column sides'},\n    \"col_r\": {\"type\": 'float', \"default\": 7.0, \"min\": 3.5, \"max\": 18.1, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column circumradius (mm)'},\n    \"col_h\": {\"type\": 'float', \"default\": 52.0, \"min\": 15.6, \"max\": 156.0, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column height (mm)'},\n    \"col_bore\": {\"type\": 'float', \"default\": 5.7, \"min\": 2.0, \"max\": 8.2, \"step\": 0.5, \"group\": 'Column', \"label\": 'Column bore diameter (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_h\"])\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"col_sides\"], p[\"col_r\"] * 2).extrude(p[\"col_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"col_bore\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"base_w\"] * 0.7, p[\"base_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462cad22_4462", "family": "plate", "tier": 1, "seed": 1177333026, "symmetry": "radial", "op_count": 2, "ir_hash": "368db1d66a2f0b88", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 18500.0, "surface_area": 6720.0, "principal_moments": [1370000.0, 6510000.0, 7440000.0], "n_faces": 20, "n_edges": 54, "n_vertices": 36}, "dimensions": {"lines": ["Rectangular body, 63.44 \u00d7 27.4 \u00d7 12 mm (W\u00d7D\u00d7H).", "Twelve \u00d86.4 mm holes on a \u00d838 mm bolt circle."], "text": "Rectangular body, 63.44 \u00d7 27.4 \u00d7 12 mm (W\u00d7D\u00d7H). Twelve \u00d86.4 mm holes on a \u00d838 mm bolt circle."}, "params": {"plate_w": {"type": "float", "default": 63.44, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 27.4, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "bolt_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 19.0, "min": 12.7, "max": 28.5, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 12, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333026 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 63.44, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 27.4, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 19.0, \"min\": 12.7, \"max\": 28.5, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 12, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462cad23_4463", "family": "block", "tier": 3, "seed": 1177333027, "symmetry": "radial", "op_count": 5, "ir_hash": "b64b80cd963abf10", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 73500.0, "surface_area": 16700.0, "principal_moments": [16599999.999999998, 34200000.0, 36400000.0], "n_faces": 41, "n_edges": 119, "n_vertices": 78}, "dimensions": {"lines": ["Rectangular body, 64.77 \u00d7 34.1 \u00d7 39.3 mm (W\u00d7D\u00d7H).", "Eight \u00d88.4 mm holes on a \u00d838.8 mm bolt circle.", "Fillet radius 1.38 mm on vertical edges.", "Fillet radius 2.781 mm on vertical edges (optional, off by default).", "\u00d811.6 mm circular section attachment, 14.7 mm long, from front face with a \u00d85.5 mm bore."], "text": "Rectangular body, 64.77 \u00d7 34.1 \u00d7 39.3 mm (W\u00d7D\u00d7H). Eight \u00d88.4 mm holes on a \u00d838.8 mm bolt circle. Fillet radius 1.38 mm on vertical edges. Fillet radius 2.781 mm on vertical edges (optional, off by default). \u00d811.6 mm circular section attachment, 14.7 mm long, from front face with a \u00d85.5 mm bore."}, "params": {"block_w": {"type": "float", "default": 64.77, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 34.1, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 39.3, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "bolt_d": {"type": "float", "default": 8.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 19.4, "min": 13.0, "max": 29.1, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 8, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}, "filleted2": {"type": "bool", "default": false, "group": "Body", "label": "Fillet corners"}, "side_tube_d": {"type": "float", "default": 11.6, "min": 4.6, "max": 19.6, "step": 1.0, "group": "Side Tube", "label": "Side tube diameter (mm)"}, "side_tube_len": {"type": "float", "default": 14.7, "min": 4.4, "max": 34.8, "step": 1.0, "group": "Side Tube", "label": "Side tube length (mm)"}, "side_bore_d": {"type": "float", "default": 5.5, "min": 2.0, "max": 8.7, "step": 0.5, "group": "Side Tube", "label": "Side bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333027 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 64.77, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 34.1, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 39.3, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 19.4, \"min\": 13.0, \"max\": 29.1, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n    \"filleted2\": {\"type\": 'bool', \"default\": False, \"group\": 'Body', \"label\": 'Fillet corners'},\n    \"side_tube_d\": {\"type\": 'float', \"default\": 11.6, \"min\": 4.6, \"max\": 19.6, \"step\": 1.0, \"group\": 'Side Tube', \"label\": 'Side tube diameter (mm)'},\n    \"side_tube_len\": {\"type\": 'float', \"default\": 14.7, \"min\": 4.4, \"max\": 34.8, \"step\": 1.0, \"group\": 'Side Tube', \"label\": 'Side tube length (mm)'},\n    \"side_bore_d\": {\"type\": 'float', \"default\": 5.5, \"min\": 2.0, \"max\": 8.7, \"step\": 0.5, \"group\": 'Side Tube', \"label\": 'Side bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"block_w\"], p[\"block_d\"]) * 0.04046589076993127)\n    if p[\"filleted2\"]:\n        result = result.edges('|Z').fillet(min(p[\"block_w\"], p[\"block_d\"]) * 0.08155268435899479)\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"side_tube_d\"] / 2).extrude(p[\"side_tube_len\"])\n    )\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"side_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462cad24_4464", "family": "bracket", "tier": 2, "seed": 1177333028, "symmetry": "none", "op_count": 1, "ir_hash": "a10cc3a900caae8d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 76600.0, "surface_area": 23500.0, "principal_moments": [69400000.0, 79800000.0, 129000000.0], "n_faces": 19, "n_edges": 51, "n_vertices": 34}, "dimensions": {"lines": ["C-channel bracket: base leg 75 mm, vertical leg 87.8 mm, 40 mm wide, 8 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg; 11.7 mm corner gusset."], "text": "C-channel bracket: base leg 75 mm, vertical leg 87.8 mm, 40 mm wide, 8 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg; 11.7 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 75, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 87.8, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 40, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 8.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 11.7, "min": 4.0, "max": 20.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333028 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 75, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 87.8, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 40, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 11.7, \"min\": 4.0, \"max\": 20.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl / 2, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bl - _bt, _bt).lineTo(_bl - _bt - _g, _bt)\n                    .lineTo(_bl - _bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462cad25_4465", "family": "compound", "tier": 1, "seed": 1177333029, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "96436e95bcbc8d1a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 36400.0, "surface_area": 7000.0, "principal_moments": [4310000.0, 9920000.0, 10100000.0], "n_faces": 11, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 50 \u00d7 27.2 \u00d7 26.4 mm (W\u00d7D\u00d7H).", "13.3 \u00d7 6.2 mm slot section attachment, 6.1 mm long, from right face."], "text": "Rectangular body, 50 \u00d7 27.2 \u00d7 26.4 mm (W\u00d7D\u00d7H). 13.3 \u00d7 6.2 mm slot section attachment, 6.1 mm long, from right face."}, "params": {"block_w": {"type": "float", "default": 50, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 27.2, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 26.4, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "spig_w": {"type": "float", "default": 6.2, "min": 3.1, "max": 14.8, "step": 0.5, "group": "Spigot", "label": "Spigot width (mm)"}, "spig_slot_l": {"type": "float", "default": 13.3, "min": 7.4, "max": 18.5, "step": 1.0, "group": "Spigot", "label": "Spigot slot length (mm)"}, "spig_len": {"type": "float", "default": 6.1, "min": 1.9, "max": 24.8, "step": 1.0, "group": "Spigot", "label": "Spigot length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333029 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 50, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 27.2, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 26.4, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"spig_w\": {\"type\": 'float', \"default\": 6.2, \"min\": 3.1, \"max\": 14.8, \"step\": 0.5, \"group\": 'Spigot', \"label\": 'Spigot width (mm)'},\n    \"spig_slot_l\": {\"type\": 'float', \"default\": 13.3, \"min\": 7.4, \"max\": 18.5, \"step\": 1.0, \"group\": 'Spigot', \"label\": 'Spigot slot length (mm)'},\n    \"spig_len\": {\"type\": 'float', \"default\": 6.1, \"min\": 1.9, \"max\": 24.8, \"step\": 1.0, \"group\": 'Spigot', \"label\": 'Spigot length (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .slot2D(p[\"spig_slot_l\"], p[\"spig_w\"]).extrude(p[\"spig_len\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462cad26_4466", "family": "revolved", "tier": 1, "seed": 1177333030, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "7e107e0d549b701b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 4950.0, "surface_area": 3230.0, "principal_moments": [158000.0, 658000.0, 658000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d814.59 mm \u00d7 44.4 mm tall."], "text": "Revolved body, \u00d814.59 mm \u00d7 44.4 mm tall."}, "params": {"outer_d": {"type": "float", "default": 14.59, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 44.4, "min": 13.3, "max": 133.2, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333030 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 14.59, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 44.4, \"min\": 13.3, \"max\": 133.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462cad27_4467", "family": "swept", "tier": 1, "seed": 1177333031, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "3037bb9e6a4145b4", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 21400.0, "surface_area": 5300.0, "principal_moments": [916000.0, 13299999.999999998, 13299999.999999998], "n_faces": 3, "n_edges": 3, "n_vertices": 2}, "dimensions": {"lines": ["\u00d817.9 mm circular section swept along a curved path, ~80 mm span."], "text": "\u00d817.9 mm circular section swept along a curved path, ~80 mm span."}, "params": {"path_w": {"type": "float", "default": 35, "min": 17.5, "max": 63.0, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 80, "min": 40.0, "max": 144.0, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_d": {"type": "float", "default": 17.9, "min": 8.9, "max": 32.2, "step": 1.0, "group": "Section", "label": "Section diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333031 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 35, \"min\": 17.5, \"max\": 63.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 80, \"min\": 40.0, \"max\": 144.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_d\": {\"type\": 'float', \"default\": 17.9, \"min\": 8.9, \"max\": 32.2, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.0576, p[\"path_h\"] * 0.3237), (p[\"path_w\"] * 0.4533, p[\"path_h\"] * 0.7428), (p[\"path_w\"] * 0.7545, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').circle(p[\"sweep_d\"] / 2).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462cad28_4468", "family": "tapped", "tier": 1, "seed": 1177333032, "symmetry": "none", "op_count": 1, "ir_hash": "385890190891ff3c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 48000.0, "surface_area": 9710.0, "principal_moments": [11100000.0, 11100000.0, 17000000.0], "n_faces": 196, "n_edges": 556, "n_vertices": 362}, "dimensions": {"lines": ["One M16x2 tapped hole in a cylinder."], "text": "One M16x2 tapped hole in a cylinder."}, "params": {"major_d": {"type": "float", "default": 16.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 2.0, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 25.6, "min": 19.2, "max": 46.1, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "body_d": {"type": "float", "default": 51.1, "min": 28.8, "max": 81.8, "step": 1.0, "group": "Body", "label": "Outer \u00d8 (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333032 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 16.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 2.0, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 25.6, \"min\": 19.2, \"max\": 46.1, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"body_d\": {\"type\": 'float', \"default\": 51.1, \"min\": 28.8, \"max\": 81.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer \u00d8 (mm)'},\n}\n\n\ndef build(p):\n\n    _W = _D = p[\"body_d\"]\n    _H = p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Cylinder(radius=_W / 2, height=_H)\n    _locs = [(0.0, 0.0)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462cad29_4469", "family": "plate", "tier": 0, "seed": 1177333033, "symmetry": "radial", "op_count": 1, "ir_hash": "51b3a84d9446a86d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 2940.0, "surface_area": 1950.0, "principal_moments": [79900.0, 433000.0, 505000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 41.82 \u00d7 17.6 \u00d7 4 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 41.82 \u00d7 17.6 \u00d7 4 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 41.82, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 17.6, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 4.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333033 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 41.82, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 17.6, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 4.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462cad2a_4470", "family": "bracket", "tier": 3, "seed": 1177333034, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "aecdbd912d085515", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 29800.0, "surface_area": 13700.0, "principal_moments": [10000000.0, 18000000.0, 20800000.0], "n_faces": 17, "n_edges": 39, "n_vertices": 26}, "dimensions": {"lines": ["L-bracket: base leg 60 mm, vertical leg 54.8 mm, 51.86 mm wide, 5 mm thick; 2 \u00d7 \u00d83.2 mm holes per leg; 4.8 mm corner gusset."], "text": "L-bracket: base leg 60 mm, vertical leg 54.8 mm, 51.86 mm wide, 5 mm thick; 2 \u00d7 \u00d83.2 mm holes per leg; 4.8 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 60, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 54.8, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 51.86, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 5.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 2, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 4.8, "min": 2.5, "max": 15.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333034 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 60, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 54.8, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 51.86, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 2, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 4.8, \"min\": 2.5, \"max\": 15.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462cad2b_4471", "family": "revolved", "tier": 2, "seed": 1177333035, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "775484b1ebdeb371", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 125000.0, "surface_area": 23500.0, "principal_moments": [23099999.999999996, 214000000.0, 214000000.0], "n_faces": 12, "n_edges": 20, "n_vertices": 12}, "dimensions": {"lines": ["Revolved body, \u00d836.36 mm \u00d7 139.2 mm tall with \u00d813.1 mm bore, 7.9 mm-wide groove 1.29 mm deep.", "Chamfer 0.6 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d836.36 mm \u00d7 139.2 mm tall with \u00d813.1 mm bore, 7.9 mm-wide groove 1.29 mm deep. Chamfer 0.6 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 36.36, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 139.2, "min": 41.8, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 13.1, "min": 2.0, "max": 25.5, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "groove_depth": {"type": "float", "default": 1.29, "min": 0.52, "max": 3.87, "step": 0.1, "group": "Body", "label": "Groove depth (mm)"}, "groove_w": {"type": "float", "default": 7.9, "min": 3.16, "max": 23.7, "step": 0.2, "group": "Body", "label": "Groove width (mm)"}, "groove_pos": {"type": "float", "default": 79.6, "min": 20.9, "max": 118.3, "step": 1.0, "group": "Body", "label": "Groove position (mm)"}, "end_chamfer": {"type": "float", "default": 0.6, "min": 0.1, "max": 1.8, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333035 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 36.36, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 139.2, \"min\": 41.8, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 13.1, \"min\": 2.0, \"max\": 25.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"groove_depth\": {\"type\": 'float', \"default\": 1.29, \"min\": 0.52, \"max\": 3.87, \"step\": 0.1, \"group\": 'Body', \"label\": 'Groove depth (mm)'},\n    \"groove_w\": {\"type\": 'float', \"default\": 7.9, \"min\": 3.16, \"max\": 23.7, \"step\": 0.2, \"group\": 'Body', \"label\": 'Groove width (mm)'},\n    \"groove_pos\": {\"type\": 'float', \"default\": 79.6, \"min\": 20.9, \"max\": 118.3, \"step\": 1.0, \"group\": 'Body', \"label\": 'Groove position (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.6, \"min\": 0.1, \"max\": 1.8, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"groove_pos\"] - p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2 - p[\"groove_depth\"], p[\"groove_pos\"] - p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2 - p[\"groove_depth\"], p[\"groove_pos\"] + p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2, p[\"groove_pos\"] + p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462cad2c_4472", "family": "plate", "tier": 1, "seed": 1177333036, "symmetry": "none", "op_count": 2, "ir_hash": "e3d6ccf2043cf726", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 7470.0, "surface_area": 3980.0, "principal_moments": [723000.0, 1260000.0, 1950000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 45 \u00d7 33.9 \u00d7 5 mm (W\u00d7D\u00d7H).", "Four \u00d83.2 mm holes at the corners, 31.5 \u00d7 23.73 mm spacing."], "text": "Rectangular body, 45 \u00d7 33.9 \u00d7 5 mm (W\u00d7D\u00d7H). Four \u00d83.2 mm holes at the corners, 31.5 \u00d7 23.73 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 45, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 33.9, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 5.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 7.6, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333036 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 45, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 33.9, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 5.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 7.6, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462cad2d_4473", "family": "plate", "tier": 2, "seed": 1177333037, "symmetry": "none", "op_count": 3, "ir_hash": "6dd81a8f264a8bf9", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 1580.0, "surface_area": 1240.0, "principal_moments": [26600.0, 117000.0, 139000.0], "n_faces": 15, "n_edges": 39, "n_vertices": 26}, "dimensions": {"lines": ["Rectangular body, 29.54 \u00d7 13.8 \u00d7 4 mm (W\u00d7D\u00d7H).", "Five \u00d81.7 mm holes in two staggered rows, 11.1 \u00d7 10.1 mm pitch.", "Chamfer 0.7 mm on vertical edges."], "text": "Rectangular body, 29.54 \u00d7 13.8 \u00d7 4 mm (W\u00d7D\u00d7H). Five \u00d81.7 mm holes in two staggered rows, 11.1 \u00d7 10.1 mm pitch. Chamfer 0.7 mm on vertical edges."}, "params": {"plate_w": {"type": "float", "default": 29.54, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 13.8, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 4.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 1.7, "min": 2.0, "max": 1.4, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 3, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}, "chamfer_d": {"type": "float", "default": 0.7, "min": 0.5, "max": 0.7, "step": 0.5, "group": "Body", "label": "Chamfer distance (mm)"}, "chamfered": {"type": "bool", "default": true, "group": "Body", "label": "Chamfer edges"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333037 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 29.54, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 13.8, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 4.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 1.7, \"min\": 2.0, \"max\": 1.4, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 3, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n    \"chamfer_d\": {\"type\": 'float', \"default\": 0.7, \"min\": 0.5, \"max\": 0.7, \"step\": 0.5, \"group\": 'Body', \"label\": 'Chamfer distance (mm)'},\n    \"chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Chamfer edges'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 11.1\n    _ssy = 10.1\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    if p[\"chamfered\"]:\n        result = result.edges('|Z').chamfer(p[\"chamfer_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462cad2e_4474", "family": "lofted", "tier": 3, "seed": 1177333038, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "75f6e45771372204", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 109000.0, "surface_area": 16800.0, "principal_moments": [39300000.0, 53599999.99999999, 53599999.99999999], "n_faces": 9, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["Lofted body through 3 sections: 6-sided polygon section, 65 mm across corners \u2192 \u00d849.2 mm circular section \u2192 \u00d833.5 mm circular section.", "One \u00d816.5 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 3 sections: 6-sided polygon section, 65 mm across corners \u2192 \u00d849.2 mm circular section \u2192 \u00d833.5 mm circular section. One \u00d816.5 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 65, "min": 32.5, "max": 104.0, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 33.5, "min": 13.4, "max": 78.0, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 65.5, "min": 26.2, "max": 131.0, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_mid": {"type": "float", "default": 49.2, "min": 16.8, "max": 78.0, "step": 1.0, "group": "Body", "label": "Mid size (mm)"}, "loft_bore_d": {"type": "float", "default": 16.5, "min": 2.0, "max": 26.8, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333038 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 65, \"min\": 32.5, \"max\": 104.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 33.5, \"min\": 13.4, \"max\": 78.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 65.5, \"min\": 26.2, \"max\": 131.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_mid\": {\"type\": 'float', \"default\": 49.2, \"min\": 16.8, \"max\": 78.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Mid size (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 16.5, \"min\": 2.0, \"max\": 26.8, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .polygon(6, p[\"loft_base\"] * 0.5 * 2)\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .circle(p[\"loft_mid\"] / 2)\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .circle(p[\"loft_top\"] / 2)\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462cad2f_4475", "family": "gear", "tier": 2, "seed": 1177333039, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "9775df18b6ae0035", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 63400.0, "surface_area": 18100.0, "principal_moments": [34600000.0, 34600000.0, 68100000.0], "n_faces": 163, "n_edges": 483, "n_vertices": 322}, "dimensions": {"lines": ["Helical gear, module 2.5 mm, 32 teeth (pitch \u00d880 mm), face width 10.1 mm, 27.1\u00b0 helix, \u00d816.5 mm bore."], "text": "Helical gear, module 2.5 mm, 32 teeth (pitch \u00d880 mm), face width 10.1 mm, 27.1\u00b0 helix, \u00d816.5 mm bore."}, "params": {"module": {"type": "float", "default": 2.5, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 32, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 10.1, "min": 4.0, "max": 25.2, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "helix_angle": {"type": "float", "default": 27.1, "min": 5.0, "max": 40.0, "step": 1.0, "group": "Gear", "label": "Helix angle (deg)"}, "profile_shift": {"type": "float", "default": 0.16, "min": -0.5, "max": 0.7, "step": 0.05, "group": "Gear", "label": "Profile shift"}, "root_fillet": {"type": "float", "default": 0.67, "min": 0.0, "max": 1.25, "step": 0.05, "group": "Gear", "label": "Root fillet (mm)"}, "bore_d": {"type": "float", "default": 16.5, "min": 2.0, "max": 44.2, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333039 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 2.5, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 32, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 10.1, \"min\": 4.0, \"max\": 25.2, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"helix_angle\": {\"type\": 'float', \"default\": 27.1, \"min\": 5.0, \"max\": 40.0, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Helix angle (deg)'},\n    \"profile_shift\": {\"type\": 'float', \"default\": 0.16, \"min\": -0.5, \"max\": 0.7, \"step\": 0.05, \"group\": 'Gear', \"label\": 'Profile shift'},\n    \"root_fillet\": {\"type\": 'float', \"default\": 0.67, \"min\": 0.0, \"max\": 1.25, \"step\": 0.05, \"group\": 'Gear', \"label\": 'Root fillet (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 16.5, \"min\": 2.0, \"max\": 44.2, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.HelicalGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"], helix_angle=math.radians(p[\"helix_angle\"]), herringbone=False, profile_shift=p[\"profile_shift\"], root_fillet=p[\"root_fillet\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462cad30_4476", "family": "compound", "tier": 1, "seed": 1177333040, "symmetry": "none", "op_count": 2, "ir_hash": "05b7daa67f0813dc", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 92000.0, "surface_area": 12500.0, "principal_moments": [31299999.999999996, 33499999.999999996, 33499999.999999996], "n_faces": 9, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["Lofted body through 2 sections: \u00d865 mm circular section \u2192 30.6 \u00d7 30.6 mm rectangular section.", "\u00d826 mm circular section attachment, 12.7 mm long, from top face."], "text": "Lofted body through 2 sections: \u00d865 mm circular section \u2192 30.6 \u00d7 30.6 mm rectangular section. \u00d826 mm circular section attachment, 12.7 mm long, from top face."}, "params": {"adapter_base": {"type": "float", "default": 65, "min": 39.0, "max": 97.5, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "adapter_top": {"type": "float", "default": 30.6, "min": 15.3, "max": 65, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "adapter_h": {"type": "float", "default": 42.3, "min": 16.9, "max": 84.6, "step": 1.0, "group": "Body", "label": "Transition height (mm)"}, "neck_d": {"type": "float", "default": 26.0, "min": 10.4, "max": 30.6, "step": 1.0, "group": "Neck", "label": "Neck diameter (mm)"}, "neck_l": {"type": "float", "default": 12.7, "min": 5.1, "max": 31.8, "step": 1.0, "group": "Neck", "label": "Neck length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333040 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"adapter_base\": {\"type\": 'float', \"default\": 65, \"min\": 39.0, \"max\": 97.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"adapter_top\": {\"type\": 'float', \"default\": 30.6, \"min\": 15.3, \"max\": 65, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"adapter_h\": {\"type\": 'float', \"default\": 42.3, \"min\": 16.9, \"max\": 84.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Transition height (mm)'},\n    \"neck_d\": {\"type\": 'float', \"default\": 26.0, \"min\": 10.4, \"max\": 30.6, \"step\": 1.0, \"group\": 'Neck', \"label\": 'Neck diameter (mm)'},\n    \"neck_l\": {\"type\": 'float', \"default\": 12.7, \"min\": 5.1, \"max\": 31.8, \"step\": 1.0, \"group\": 'Neck', \"label\": 'Neck length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .circle(p[\"adapter_base\"] / 2)\n        .workplane(offset=p[\"adapter_h\"])\n        .rect(p[\"adapter_top\"], p[\"adapter_top\"])\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"neck_d\"] / 2).extrude(p[\"neck_l\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462cad31_4477", "family": "revolved", "tier": 2, "seed": 1177333041, "symmetry": "none", "op_count": 2, "ir_hash": "7f7a8b78c033c197", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 17200.0, "surface_area": 6970.0, "principal_moments": [2350000.0, 4350000.0, 4350000.0], "n_faces": 10, "n_edges": 17, "n_vertices": 10}, "dimensions": {"lines": ["Revolved body, \u00d820 mm \u00d7 44.9 mm tall with \u00d810.5 mm bore, \u00d839.3 mm \u00d7 7.8 mm flange.", "Chamfer 0.4 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d820 mm \u00d7 44.9 mm tall with \u00d810.5 mm bore, \u00d839.3 mm \u00d7 7.8 mm flange. Chamfer 0.4 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 20, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 44.9, "min": 13.5, "max": 134.7, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 10.5, "min": 2.0, "max": 14.0, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 39.3, "min": 24.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 7.8, "min": 2.3, "max": 22.4, "step": 0.5, "group": "Body", "label": "Flange height (mm)"}, "end_chamfer": {"type": "float", "default": 0.4, "min": 0.1, "max": 1.2, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333041 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 20, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 44.9, \"min\": 13.5, \"max\": 134.7, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 10.5, \"min\": 2.0, \"max\": 14.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 39.3, \"min\": 24.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 7.8, \"min\": 2.3, \"max\": 22.4, \"step\": 0.5, \"group\": 'Body', \"label\": 'Flange height (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.4, \"min\": 0.1, \"max\": 1.2, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462cad32_4478", "family": "block", "tier": 3, "seed": 1177333042, "symmetry": "mirror_xy", "op_count": 5, "ir_hash": "c317c2ff20cb6c43", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 362000.0, "surface_area": 48700.0, "principal_moments": [336000000.0, 377000000.0, 479000000.0], "n_faces": 17, "n_edges": 39, "n_vertices": 26}, "dimensions": {"lines": ["Rectangular body, 88.4 \u00d7 40.1 \u00d7 100 mm (W\u00d7D\u00d7H).", "Four \u00d86.4 mm holes at the corners, 61.88 \u00d7 28.07 mm spacing.", "Pocket 36.3 \u00d7 18.5 mm, 30.3 mm deep, in top face.", "Fillet radius 2.506 mm on vertical edges (optional, off by default).", "\u00d833.7 mm circular section attachment, 45.3 mm long, from back face."], "text": "Rectangular body, 88.4 \u00d7 40.1 \u00d7 100 mm (W\u00d7D\u00d7H). Four \u00d86.4 mm holes at the corners, 61.88 \u00d7 28.07 mm spacing. Pocket 36.3 \u00d7 18.5 mm, 30.3 mm deep, in top face. Fillet radius 2.506 mm on vertical edges (optional, off by default). \u00d833.7 mm circular section attachment, 45.3 mm long, from back face."}, "params": {"block_w": {"type": "float", "default": 88.4, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 40.1, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 100.0, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 9.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "pocket_w": {"type": "float", "default": 36.3, "min": 18.1, "max": 70.7, "step": 1.0, "group": "Pocket", "label": "Pocket width (mm)"}, "pocket_d": {"type": "float", "default": 18.5, "min": 9.2, "max": 32.1, "step": 1.0, "group": "Pocket", "label": "Pocket depth (mm)"}, "pocket_h": {"type": "float", "default": 30.3, "min": 12.1, "max": 85.0, "step": 0.5, "group": "Pocket", "label": "Pocket height (mm)"}, "filleted2": {"type": "bool", "default": false, "group": "Body", "label": "Fillet corners"}, "side_tube_d": {"type": "float", "default": 33.7, "min": 13.5, "max": 44.2, "step": 1.0, "group": "Side Tube", "label": "Side tube diameter (mm)"}, "side_tube_len": {"type": "float", "default": 45.3, "min": 13.6, "max": 101.1, "step": 1.0, "group": "Side Tube", "label": "Side tube length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333042 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 88.4, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 40.1, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 100.0, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 9.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"pocket_w\": {\"type\": 'float', \"default\": 36.3, \"min\": 18.1, \"max\": 70.7, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket width (mm)'},\n    \"pocket_d\": {\"type\": 'float', \"default\": 18.5, \"min\": 9.2, \"max\": 32.1, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket depth (mm)'},\n    \"pocket_h\": {\"type\": 'float', \"default\": 30.3, \"min\": 12.1, \"max\": 85.0, \"step\": 0.5, \"group\": 'Pocket', \"label\": 'Pocket height (mm)'},\n    \"filleted2\": {\"type\": 'bool', \"default\": False, \"group\": 'Body', \"label\": 'Fillet corners'},\n    \"side_tube_d\": {\"type\": 'float', \"default\": 33.7, \"min\": 13.5, \"max\": 44.2, \"step\": 1.0, \"group\": 'Side Tube', \"label\": 'Side tube diameter (mm)'},\n    \"side_tube_len\": {\"type\": 'float', \"default\": 45.3, \"min\": 13.6, \"max\": 101.1, \"step\": 1.0, \"group\": 'Side Tube', \"label\": 'Side tube length (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"pocket_w\"], p[\"pocket_d\"])\n        .cutBlind(-p[\"pocket_h\"])\n    )\n    if p[\"filleted2\"]:\n        result = result.edges('|Z').fillet(min(p[\"block_w\"], p[\"block_d\"]) * 0.06249763127874039)\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"side_tube_d\"] / 2).extrude(p[\"side_tube_len\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462cad33_4479", "family": "plate", "tier": 1, "seed": 1177333043, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "5fdbc1a6a68d714e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 80500.0, "surface_area": 23900.0, "principal_moments": [48199999.99999999, 96599999.99999999, 144000000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 120 \u00d7 84.6 \u00d7 8 mm (W\u00d7D\u00d7H).", "Four \u00d85.3 mm holes at the corners, 84 \u00d7 59.22 mm spacing."], "text": "Rectangular body, 120 \u00d7 84.6 \u00d7 8 mm (W\u00d7D\u00d7H). Four \u00d85.3 mm holes at the corners, 84 \u00d7 59.22 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 120.0, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 84.6, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333043 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 120.0, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 84.6, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462cad34_4480", "family": "bracket", "tier": 1, "seed": 1177333044, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "1692c5cf5feab854", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 35000.0, "surface_area": 13900.0, "principal_moments": [11200000.0, 26899999.999999996, 30299999.999999996], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["L-bracket: base leg 75 mm, vertical leg 48.4 mm, 50 mm wide, 6 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."], "text": "L-bracket: base leg 75 mm, vertical leg 48.4 mm, 50 mm wide, 6 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 75, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 48.4, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 50, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 6.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333044 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 75, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 48.4, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 50, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462cad35_4481", "family": "enclosure", "tier": 1, "seed": 1177333045, "symmetry": "none", "op_count": 2, "ir_hash": "21199e9136398153", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 25100.0, "surface_area": 25600.0, "principal_moments": [11200000.0, 23399999.999999996, 25499999.999999996], "n_faces": 11, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 78.96 \u00d7 41.8 \u00d7 41.7 mm (W\u00d7D\u00d7H).", "Hollowed to 2 mm wall thickness, open at top face."], "text": "Rectangular body, 78.96 \u00d7 41.8 \u00d7 41.7 mm (W\u00d7D\u00d7H). Hollowed to 2 mm wall thickness, open at top face."}, "params": {"enc_w": {"type": "float", "default": 78.96, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 41.8, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 41.7, "min": 16.7, "max": 83.4, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 2.0, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333045 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 78.96, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 41.8, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 41.7, \"min\": 16.7, \"max\": 83.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 2.0, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462cad36_4482", "family": "plate", "tier": 2, "seed": 1177333046, "symmetry": "mirror_xy", "op_count": 3, "ir_hash": "e91e56ad8367cc8c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 24800.0, "surface_area": 10700.0, "principal_moments": [4730000.0, 17000000.0, 21600000.0], "n_faces": 14, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 92.48 \u00d7 48.5 \u00d7 6 mm (W\u00d7D\u00d7H).", "Four \u00d810.5 mm holes at the corners, 64.736 \u00d7 33.95 mm spacing.", "Chamfer 1.1 mm on vertical edges."], "text": "Rectangular body, 92.48 \u00d7 48.5 \u00d7 6 mm (W\u00d7D\u00d7H). Four \u00d810.5 mm holes at the corners, 64.736 \u00d7 33.95 mm spacing. Chamfer 1.1 mm on vertical edges."}, "params": {"plate_w": {"type": "float", "default": 92.48, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 48.5, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 6.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 10.5, "min": 2.0, "max": 10.9, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "chamfer_d": {"type": "float", "default": 1.1, "min": 1.0, "max": 1.5, "step": 0.5, "group": "Body", "label": "Chamfer distance (mm)"}, "chamfered": {"type": "bool", "default": true, "group": "Body", "label": "Chamfer edges"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333046 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 92.48, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 48.5, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 10.5, \"min\": 2.0, \"max\": 10.9, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"chamfer_d\": {\"type\": 'float', \"default\": 1.1, \"min\": 1.0, \"max\": 1.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Chamfer distance (mm)'},\n    \"chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Chamfer edges'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"chamfered\"]:\n        result = result.edges('|Z').chamfer(p[\"chamfer_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462cad37_4483", "family": "gear", "tier": 0, "seed": 1177333047, "symmetry": "none", "op_count": 1, "ir_hash": "254143fcfea4eb0c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 5440.0, "surface_area": 2840.0, "principal_moments": [337000.0, 337000.0, 618000.0], "n_faces": 146, "n_edges": 432, "n_vertices": 288}, "dimensions": {"lines": ["Spur gear, module 1.25 mm, 24 teeth (pitch \u00d830 mm), face width 7.8 mm."], "text": "Spur gear, module 1.25 mm, 24 teeth (pitch \u00d830 mm), face width 7.8 mm."}, "params": {"module": {"type": "float", "default": 1.25, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 24, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 7.8, "min": 3.1, "max": 19.5, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333047 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 1.25, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 24, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 7.8, \"min\": 3.1, \"max\": 19.5, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462cad38_4484", "family": "sketched", "tier": 1, "seed": 1177333048, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "5c821d827a596b46", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 19400.0, "surface_area": 6050.0, "principal_moments": [1150000.0, 8540000.0, 8540000.0], "n_faces": 7, "n_edges": 12, "n_vertices": 7}, "dimensions": {"lines": ["Revolved organic body from a freeform sketched section (6 segments: 3 straight, 2 arcs, 1 curve), ~12.468 \u00d7 69.82 mm half-silhouette."], "text": "Revolved organic body from a freeform sketched section (6 segments: 3 straight, 2 arcs, 1 curve), ~12.468 \u00d7 69.82 mm half-silhouette."}, "params": {"sk_r": {"type": "float", "default": 15, "min": 7.5, "max": 27.0, "step": 1.0, "group": "Sketch", "label": "Max radius (mm)"}, "sk_h": {"type": "float", "default": 69.82, "min": 34.9, "max": 125.7, "step": 1.0, "group": "Sketch", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333048 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_r\": {\"type\": 'float', \"default\": 15, \"min\": 7.5, \"max\": 27.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Max radius (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 69.82, \"min\": 34.9, \"max\": 125.7, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XZ').moveTo(p[\"sk_r\"] * 0.9648, p[\"sk_h\"] * 0.0).threePointArc((p[\"sk_r\"] * 0.6164, p[\"sk_h\"] * 0.1114), (p[\"sk_r\"] * 0.2152, p[\"sk_h\"] * 0.2229)).bezier([(p[\"sk_r\"] * 0.2152, p[\"sk_h\"] * 0.2229), (p[\"sk_r\"] * 0.4003, p[\"sk_h\"] * 0.305), (p[\"sk_r\"] * 0.5483, p[\"sk_h\"] * 0.3871)]).threePointArc((p[\"sk_r\"] * 0.7333, p[\"sk_h\"] * 0.5497), (p[\"sk_r\"] * 0.8157, p[\"sk_h\"] * 0.7122)).lineTo(p[\"sk_r\"] * 0.4818, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.1336, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.1336, p[\"sk_h\"] * 0.0).close().revolve())\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462cad39_4485", "family": "lofted", "tier": 2, "seed": 1177333049, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "53725ba879335486", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 57500.0, "surface_area": 11400.0, "principal_moments": [17100000.0, 17100000.0, 17400000.0], "n_faces": 8, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["Lofted body through 3 sections: 50.71 \u00d7 50.71 mm rectangular section \u2192 \u00d842.2 mm circular section \u2192 \u00d833.7 mm circular section.", "One \u00d815.1 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 3 sections: 50.71 \u00d7 50.71 mm rectangular section \u2192 \u00d842.2 mm circular section \u2192 \u00d833.7 mm circular section. One \u00d815.1 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 50.71, "min": 25.4, "max": 81.1, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 33.7, "min": 13.5, "max": 60.9, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 43.2, "min": 17.3, "max": 86.4, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_mid": {"type": "float", "default": 42.2, "min": 16.9, "max": 60.9, "step": 1.0, "group": "Body", "label": "Mid size (mm)"}, "loft_bore_d": {"type": "float", "default": 15.1, "min": 2.0, "max": 27.0, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333049 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 50.71, \"min\": 25.4, \"max\": 81.1, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 33.7, \"min\": 13.5, \"max\": 60.9, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 43.2, \"min\": 17.3, \"max\": 86.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_mid\": {\"type\": 'float', \"default\": 42.2, \"min\": 16.9, \"max\": 60.9, \"step\": 1.0, \"group\": 'Body', \"label\": 'Mid size (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 15.1, \"min\": 2.0, \"max\": 27.0, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .rect(p[\"loft_base\"], p[\"loft_base\"])\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .circle(p[\"loft_mid\"] / 2)\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .circle(p[\"loft_top\"] / 2)\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462cad3a_4486", "family": "block", "tier": 1, "seed": 1177333050, "symmetry": "radial", "op_count": 2, "ir_hash": "30dbcc2671d90c40", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 246000.0, "surface_area": 52900.0, "principal_moments": [148000000.0, 242000000.0, 315000000.0], "n_faces": 24, "n_edges": 66, "n_vertices": 44}, "dimensions": {"lines": ["Rectangular body, 69.85 \u00d7 44.1 \u00d7 100 mm (W\u00d7D\u00d7H).", "Twelve \u00d88.4 mm holes on a \u00d842 mm bolt circle."], "text": "Rectangular body, 69.85 \u00d7 44.1 \u00d7 100 mm (W\u00d7D\u00d7H). Twelve \u00d88.4 mm holes on a \u00d842 mm bolt circle."}, "params": {"block_w": {"type": "float", "default": 69.85, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 44.1, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 100.0, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "bolt_d": {"type": "float", "default": 8.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 21.0, "min": 14.0, "max": 31.4, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 12, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333050 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 69.85, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 44.1, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 100.0, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 21.0, \"min\": 14.0, \"max\": 31.4, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 12, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462cad3b_4487", "family": "revolved", "tier": 0, "seed": 1177333051, "symmetry": "radial", "op_count": 1, "ir_hash": "998253779b7af554", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 250000.0, "surface_area": 38400.0, "principal_moments": [159000000.0, 269000000.0, 269000000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d865.12 mm \u00d7 112.8 mm tall."], "text": "Revolved body, \u00d865.12 mm \u00d7 112.8 mm tall."}, "params": {"outer_d": {"type": "float", "default": 65.12, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 112.8, "min": 33.8, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333051 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 65.12, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 112.8, \"min\": 33.8, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462cad3c_4488", "family": "lofted", "tier": 2, "seed": 1177333052, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "4e91997258a8c133", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 37500.0, "surface_area": 8490.0, "principal_moments": [7700000.0, 7700000.0, 10600000.0], "n_faces": 8, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["Lofted body through 3 sections: 49.61 \u00d7 49.61 mm rectangular section \u2192 \u00d841.2 mm circular section \u2192 \u00d832.7 mm circular section.", "One \u00d813.1 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 3 sections: 49.61 \u00d7 49.61 mm rectangular section \u2192 \u00d841.2 mm circular section \u2192 \u00d832.7 mm circular section. One \u00d813.1 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 49.61, "min": 24.8, "max": 79.4, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 32.7, "min": 13.1, "max": 59.5, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 28.7, "min": 11.5, "max": 57.4, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_mid": {"type": "float", "default": 41.2, "min": 16.4, "max": 59.5, "step": 1.0, "group": "Body", "label": "Mid size (mm)"}, "loft_bore_d": {"type": "float", "default": 13.1, "min": 2.0, "max": 26.2, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333052 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 49.61, \"min\": 24.8, \"max\": 79.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 32.7, \"min\": 13.1, \"max\": 59.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 28.7, \"min\": 11.5, \"max\": 57.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_mid\": {\"type\": 'float', \"default\": 41.2, \"min\": 16.4, \"max\": 59.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Mid size (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 13.1, \"min\": 2.0, \"max\": 26.2, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .rect(p[\"loft_base\"], p[\"loft_base\"])\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .circle(p[\"loft_mid\"] / 2)\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .circle(p[\"loft_top\"] / 2)\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462cad3d_4489", "family": "sketched", "tier": 2, "seed": 1177333053, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "f35fe1ce1e918952", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 4530.0, "surface_area": 1760.0, "principal_moments": [131000.0, 503000.0, 503000.0], "n_faces": 7, "n_edges": 11, "n_vertices": 6}, "dimensions": {"lines": ["Revolved organic body from a freeform sketched section (7 segments: 3 straight, 4 curves), ~8.386 \u00d7 32.05 mm half-silhouette."], "text": "Revolved organic body from a freeform sketched section (7 segments: 3 straight, 4 curves), ~8.386 \u00d7 32.05 mm half-silhouette."}, "params": {"sk_r": {"type": "float", "default": 15, "min": 7.5, "max": 27.0, "step": 1.0, "group": "Sketch", "label": "Max radius (mm)"}, "sk_h": {"type": "float", "default": 32.05, "min": 16.0, "max": 57.7, "step": 1.0, "group": "Sketch", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333053 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_r\": {\"type\": 'float', \"default\": 15, \"min\": 7.5, \"max\": 27.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Max radius (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 32.05, \"min\": 16.0, \"max\": 57.7, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XZ').moveTo(p[\"sk_r\"] * 0.3518, p[\"sk_h\"] * 0.0).lineTo(p[\"sk_r\"] * 0.5362, p[\"sk_h\"] * 0.1421).bezier([(p[\"sk_r\"] * 0.5362, p[\"sk_h\"] * 0.1421), (p[\"sk_r\"] * 0.4148, p[\"sk_h\"] * 0.2325), (p[\"sk_r\"] * 0.291, p[\"sk_h\"] * 0.3229)]).spline([(p[\"sk_r\"] * 0.291, p[\"sk_h\"] * 0.3229), (p[\"sk_r\"] * 0.134, p[\"sk_h\"] * 0.4274), (p[\"sk_r\"] * 0.2073, p[\"sk_h\"] * 0.532)]).spline([(p[\"sk_r\"] * 0.2073, p[\"sk_h\"] * 0.532), (p[\"sk_r\"] * 0.5377, p[\"sk_h\"] * 0.6102), (p[\"sk_r\"] * 0.5591, p[\"sk_h\"] * 0.6884)]).bezier([(p[\"sk_r\"] * 0.5591, p[\"sk_h\"] * 0.6884), (p[\"sk_r\"] * 0.5565, p[\"sk_h\"] * 0.8442), (p[\"sk_r\"] * 0.519, p[\"sk_h\"] * 1.0)]).lineTo(p[\"sk_r\"] * 0.0, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.0, p[\"sk_h\"] * 0.0).close().revolve())\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462cad3e_4490", "family": "bracket", "tier": 1, "seed": 1177333054, "symmetry": "none", "op_count": 1, "ir_hash": "bda198b91bea7e06", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 22500.0, "surface_area": 9190.0, "principal_moments": [5790000.0, 6930000.0, 11000000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["L-bracket: base leg 44.71 mm, vertical leg 28.4 mm, 56.6 mm wide, 6 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."], "text": "L-bracket: base leg 44.71 mm, vertical leg 28.4 mm, 56.6 mm wide, 6 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 44.71, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 28.4, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 56.6, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 6.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333054 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 44.71, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 28.4, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 56.6, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462cad3f_4491", "family": "plate", "tier": 3, "seed": 1177333055, "symmetry": "radial", "op_count": 4, "ir_hash": "4f89c31c5635a640", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 21700.0, "surface_area": 7070.0, "principal_moments": [2890000.0, 5790000.0, 8260000.0], "n_faces": 18, "n_edges": 45, "n_vertices": 30}, "dimensions": {"lines": ["Rectangular body, 55.95 \u00d7 39.2 \u00d7 10 mm (W\u00d7D\u00d7H).", "Six \u00d84.3 mm holes on a \u00d833.6 mm bolt circle.", "Fillet radius 2.128 mm on vertical edges.", "Boss \u00d815 mm \u00d7 4.1 mm tall on top face."], "text": "Rectangular body, 55.95 \u00d7 39.2 \u00d7 10 mm (W\u00d7D\u00d7H). Six \u00d84.3 mm holes on a \u00d833.6 mm bolt circle. Fillet radius 2.128 mm on vertical edges. Boss \u00d815 mm \u00d7 4.1 mm tall on top face."}, "params": {"plate_w": {"type": "float", "default": 55.95, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 39.2, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "bolt_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 16.8, "min": 11.2, "max": 25.2, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 6, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}, "boss_d": {"type": "float", "default": 15.0, "min": 7.5, "max": 30.0, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 4.1, "min": 1.6, "max": 10.2, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333055 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 55.95, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 39.2, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 16.8, \"min\": 11.2, \"max\": 25.2, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n    \"boss_d\": {\"type\": 'float', \"default\": 15.0, \"min\": 7.5, \"max\": 30.0, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 4.1, \"min\": 1.6, \"max\": 10.2, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"plate_w\"], p[\"plate_d\"]) * 0.05428297896721565)\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462cad40_4492", "family": "bracket", "tier": 2, "seed": 1177333056, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "09fcd217f6a13536", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 55200.0, "surface_area": 16600.0, "principal_moments": [20500000.0, 42500000.0, 48799999.99999999], "n_faces": 14, "n_edges": 37, "n_vertices": 24}, "dimensions": {"lines": ["L-bracket: base leg 75 mm, vertical leg 53.7 mm, 55 mm wide, 8 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg; 10.1 mm corner gusset."], "text": "L-bracket: base leg 75 mm, vertical leg 53.7 mm, 55 mm wide, 8 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg; 10.1 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 75, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 53.7, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 55, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 8.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 10.1, "min": 4.0, "max": 24.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333056 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 75, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 53.7, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 55, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 10.1, \"min\": 4.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462cad41_4493", "family": "compound", "tier": 2, "seed": 1177333057, "symmetry": "mirror_xy", "op_count": 5, "ir_hash": "60e2f8762045b3db", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 122000.0, "surface_area": 20000.0, "principal_moments": [40500000.0, 61899999.99999999, 67400000.0], "n_faces": 21, "n_edges": 49, "n_vertices": 31}, "dimensions": {"lines": ["Rectangular body, 65 \u00d7 47.2 \u00d7 41.1 mm (W\u00d7D\u00d7H).", "\u00d810.6 mm circular section attachment, 9 mm long, from left face with a \u00d86.4 mm bore.", "\u00d810.6 mm circular section attachment, 9 mm long, from back face with a \u00d86.4 mm bore.", "\u00d810.6 mm circular section attachment, 9 mm long, from right face with a \u00d86.4 mm bore.", "Four \u00d85.3 mm holes at the corners, 45.5 \u00d7 33.04 mm spacing."], "text": "Rectangular body, 65 \u00d7 47.2 \u00d7 41.1 mm (W\u00d7D\u00d7H). \u00d810.6 mm circular section attachment, 9 mm long, from left face with a \u00d86.4 mm bore. \u00d810.6 mm circular section attachment, 9 mm long, from back face with a \u00d86.4 mm bore. \u00d810.6 mm circular section attachment, 9 mm long, from right face with a \u00d86.4 mm bore. Four \u00d85.3 mm holes at the corners, 45.5 \u00d7 33.04 mm spacing."}, "params": {"block_w": {"type": "float", "default": 65, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body width (mm)"}, "block_d": {"type": "float", "default": 47.2, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body depth (mm)"}, "block_h": {"type": "float", "default": 41.1, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body height (mm)"}, "port_d": {"type": "float", "default": 10.6, "min": 4.2, "max": 18.5, "step": 1.0, "group": "Ports", "label": "Ports diameter (mm)"}, "port_len": {"type": "float", "default": 9.0, "min": 2.6, "max": 31.8, "step": 1.0, "group": "Ports", "label": "Port boss length (mm)"}, "port_bore": {"type": "float", "default": 6.4, "min": 2.0, "max": 7.6, "step": 0.5, "group": "Ports", "label": "Port bore diameter (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 10.6, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333057 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 65, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 47.2, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 41.1, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body height (mm)'},\n    \"port_d\": {\"type\": 'float', \"default\": 10.6, \"min\": 4.2, \"max\": 18.5, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Ports diameter (mm)'},\n    \"port_len\": {\"type\": 'float', \"default\": 9.0, \"min\": 2.6, \"max\": 31.8, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Port boss length (mm)'},\n    \"port_bore\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 7.6, \"step\": 0.5, \"group\": 'Ports', \"label\": 'Port bore diameter (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 10.6, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462cad42_4494", "family": "compound", "tier": 1, "seed": 1177333058, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "6751cff59d37e873", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 21600.0, "surface_area": 7290.0, "principal_moments": [1660000.0, 7440000.0, 7440000.0], "n_faces": 6, "n_edges": 9, "n_vertices": 6}, "dimensions": {"lines": ["\u00d825 mm circular section, extruded 42 mm thick.", "\u00d811.8 mm circular section attachment, 36.6 mm long, from top face with a \u00d87 mm bore."], "text": "\u00d825 mm circular section, extruded 42 mm thick. \u00d811.8 mm circular section attachment, 36.6 mm long, from top face with a \u00d87 mm bore."}, "params": {"shaft_d": {"type": "float", "default": 25, "min": 12.5, "max": 45.0, "step": 1.0, "group": "Body", "label": "Shaft diameter (mm)"}, "shaft_len": {"type": "float", "default": 42.0, "min": 16.8, "max": 84.0, "step": 1.0, "group": "Body", "label": "Shaft length (mm)"}, "step_d": {"type": "float", "default": 11.8, "min": 5.9, "max": 22.5, "step": 1.0, "group": "Step", "label": "Step diameter (mm)"}, "step_len": {"type": "float", "default": 36.6, "min": 11.0, "max": 91.5, "step": 1.0, "group": "Step", "label": "Step length (mm)"}, "axial_bore": {"type": "float", "default": 7.0, "min": 2.0, "max": 8.5, "step": 0.5, "group": "Bore", "label": "Axial bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333058 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"shaft_d\": {\"type\": 'float', \"default\": 25, \"min\": 12.5, \"max\": 45.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft diameter (mm)'},\n    \"shaft_len\": {\"type\": 'float', \"default\": 42.0, \"min\": 16.8, \"max\": 84.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft length (mm)'},\n    \"step_d\": {\"type\": 'float', \"default\": 11.8, \"min\": 5.9, \"max\": 22.5, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step diameter (mm)'},\n    \"step_len\": {\"type\": 'float', \"default\": 36.6, \"min\": 11.0, \"max\": 91.5, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step length (mm)'},\n    \"axial_bore\": {\"type\": 'float', \"default\": 7.0, \"min\": 2.0, \"max\": 8.5, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Axial bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').circle(p[\"shaft_d\"] / 2).extrude(p[\"shaft_len\"]))\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"step_d\"] / 2).extrude(p[\"step_len\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"axial_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462cad43_4495", "family": "bracket", "tier": 3, "seed": 1177333059, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "012081e4093a6c5c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 20100.0, "surface_area": 8430.0, "principal_moments": [3580000.0, 10300000.0, 11000000.0], "n_faces": 14, "n_edges": 37, "n_vertices": 24}, "dimensions": {"lines": ["L-bracket: base leg 60 mm, vertical leg 50.8 mm, 30 mm wide, 6 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg; 5.9 mm corner gusset."], "text": "L-bracket: base leg 60 mm, vertical leg 50.8 mm, 30 mm wide, 6 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg; 5.9 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 60, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 50.8, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 30, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 6.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 5.9, "min": 3.0, "max": 15.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333059 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 60, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 50.8, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 30, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 5.9, \"min\": 3.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462cad44_4496", "family": "profiled", "tier": 1, "seed": 1177333060, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "a51af9c48e61b8c5", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 27700.0, "surface_area": 7650.0, "principal_moments": [1100000.0, 31799999.999999996, 31799999.999999996], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["4-sided polygon section, 21.82 mm across corners, extruded 116.3 mm thick."], "text": "4-sided polygon section, 21.82 mm across corners, extruded 116.3 mm thick."}, "params": {"circ_r": {"type": "float", "default": 10.91, "min": 5.5, "max": 21.8, "step": 1.0, "group": "Profile", "label": "Circumscribed radius (mm)"}, "n_sides": {"type": "int", "default": 4, "min": 3, "max": 8, "step": 1, "group": "Profile", "label": "Sides"}, "length": {"type": "float", "default": 116.3, "min": 34.9, "max": 348.9, "step": 5.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333060 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"circ_r\": {\"type\": 'float', \"default\": 10.91, \"min\": 5.5, \"max\": 21.8, \"step\": 1.0, \"group\": 'Profile', \"label\": 'Circumscribed radius (mm)'},\n    \"n_sides\": {\"type\": 'int', \"default\": 4, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Profile', \"label\": 'Sides'},\n    \"length\": {\"type\": 'float', \"default\": 116.3, \"min\": 34.9, \"max\": 348.9, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').polygon(p[\"n_sides\"], p[\"circ_r\"] * 2).extrude(p[\"length\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462cad45_4497", "family": "threaded", "tier": 1, "seed": 1177333061, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "9e6fed7ba69f503e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 481.0, "surface_area": 715.0, "principal_moments": [1250.0, 36400.0, 36400.0], "n_faces": 380, "n_edges": 978, "n_vertices": 600}, "dimensions": {"lines": ["M5x0.8 external thread, 30 mm long."], "text": "M5x0.8 external thread, 30 mm long."}, "params": {"major_d": {"type": "float", "default": 5.0, "min": 4.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Major diameter (mm)"}, "pitch": {"type": "float", "default": 0.8, "min": 0.4, "max": 1.6, "step": 0.05, "group": "Thread", "label": "Pitch (mm)"}, "thread_len": {"type": "float", "default": 30.0, "min": 12.0, "max": 60.0, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333061 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 5.0, \"min\": 4.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Major diameter (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 0.8, \"min\": 0.4, \"max\": 1.6, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Pitch (mm)'},\n    \"thread_len\": {\"type\": 'float', \"default\": 30.0, \"min\": 12.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.IsoThread(major_diameter=p[\"major_d\"], pitch=p[\"pitch\"], length=p[\"thread_len\"], external=True, end_finishes=(\"fade\", \"fade\"))\n    _r = _thr.min_radius if hasattr(_thr, 'min_radius') else _thr.root_radius\n    _shank = _bd.Cylinder(radius=_r, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = _shank + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462cad46_4498", "family": "gear", "tier": 2, "seed": 1177333062, "symmetry": "none", "op_count": 1, "ir_hash": "0ebd8bcd857b2698", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 88300.0, "surface_area": 17700.0, "principal_moments": [31999999.999999996, 31999999.999999996, 54999999.99999999], "n_faces": 183, "n_edges": 453, "n_vertices": 272}, "dimensions": {"lines": ["Helical gear, module 4 mm, 15 teeth (pitch \u00d860 mm), face width 24.6 mm, 23.7\u00b0 helix (herringbone), \u00d810.8 mm bore."], "text": "Helical gear, module 4 mm, 15 teeth (pitch \u00d860 mm), face width 24.6 mm, 23.7\u00b0 helix (herringbone), \u00d810.8 mm bore."}, "params": {"module": {"type": "float", "default": 4.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 15, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 24.6, "min": 9.8, "max": 61.5, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "helix_angle": {"type": "float", "default": 23.7, "min": 5.0, "max": 40.0, "step": 1.0, "group": "Gear", "label": "Helix angle (deg)"}, "profile_shift": {"type": "float", "default": 0.44, "min": -0.5, "max": 0.7, "step": 0.05, "group": "Gear", "label": "Profile shift"}, "root_fillet": {"type": "float", "default": 0.42, "min": 0.0, "max": 2.0, "step": 0.05, "group": "Gear", "label": "Root fillet (mm)"}, "bore_d": {"type": "float", "default": 10.8, "min": 2.0, "max": 30.0, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333062 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 4.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 15, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 24.6, \"min\": 9.8, \"max\": 61.5, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"helix_angle\": {\"type\": 'float', \"default\": 23.7, \"min\": 5.0, \"max\": 40.0, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Helix angle (deg)'},\n    \"profile_shift\": {\"type\": 'float', \"default\": 0.44, \"min\": -0.5, \"max\": 0.7, \"step\": 0.05, \"group\": 'Gear', \"label\": 'Profile shift'},\n    \"root_fillet\": {\"type\": 'float', \"default\": 0.42, \"min\": 0.0, \"max\": 2.0, \"step\": 0.05, \"group\": 'Gear', \"label\": 'Root fillet (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 10.8, \"min\": 2.0, \"max\": 30.0, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.HelicalGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"], helix_angle=math.radians(p[\"helix_angle\"]), herringbone=True, profile_shift=p[\"profile_shift\"], root_fillet=p[\"root_fillet\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462cad48_4500", "family": "lofted", "tier": 2, "seed": 1177333064, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "180ca3973ecf22f7", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 69200.0, "surface_area": 11700.0, "principal_moments": [20200000.0, 20200000.0, 28499999.999999996], "n_faces": 9, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["Lofted body through 3 sections: \u00d865 mm circular section \u2192 \u00d853.1 mm circular section \u2192 6-sided polygon section, 41.2 mm across corners.", "One \u00d814.5 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 3 sections: \u00d865 mm circular section \u2192 \u00d853.1 mm circular section \u2192 6-sided polygon section, 41.2 mm across corners. One \u00d814.5 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 65, "min": 32.5, "max": 104.0, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 41.2, "min": 16.5, "max": 78.0, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 33.8, "min": 13.5, "max": 67.6, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_mid": {"type": "float", "default": 53.1, "min": 20.6, "max": 78.0, "step": 1.0, "group": "Body", "label": "Mid size (mm)"}, "loft_bore_d": {"type": "float", "default": 14.5, "min": 2.0, "max": 33.0, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333064 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 65, \"min\": 32.5, \"max\": 104.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 41.2, \"min\": 16.5, \"max\": 78.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 33.8, \"min\": 13.5, \"max\": 67.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_mid\": {\"type\": 'float', \"default\": 53.1, \"min\": 20.6, \"max\": 78.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Mid size (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 14.5, \"min\": 2.0, \"max\": 33.0, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .circle(p[\"loft_base\"] / 2)\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .circle(p[\"loft_mid\"] / 2)\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .polygon(6, p[\"loft_top\"] * 0.5 * 2)\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462cad49_4501", "family": "plate", "tier": 0, "seed": 1177333065, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "1784c4b1826411fd", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 2880.0, "surface_area": 1330.0, "principal_moments": [93100.0, 111000.0, 174000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 20 \u00d7 18 \u00d7 8 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 20 \u00d7 18 \u00d7 8 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 20.0, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 18.0, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333065 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 20.0, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 18.0, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462cad4b_4503", "family": "lofted", "tier": 1, "seed": 1177333067, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "8fdfcf99f90f98b3", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 7930.0, "surface_area": 3050.0, "principal_moments": [614000.0, 614000.0, 709000.0], "n_faces": 9, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["Lofted body through 2 sections: \u00d830.21 mm circular section \u2192 6-sided polygon section, 18 mm across corners.", "One \u00d89.1 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 2 sections: \u00d830.21 mm circular section \u2192 6-sided polygon section, 18 mm across corners. One \u00d89.1 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 30.21, "min": 15.1, "max": 48.3, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 18.0, "min": 7.2, "max": 36.3, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 21.2, "min": 8.5, "max": 42.4, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_bore_d": {"type": "float", "default": 9.1, "min": 2.0, "max": 14.4, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333067 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 30.21, \"min\": 15.1, \"max\": 48.3, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 18.0, \"min\": 7.2, \"max\": 36.3, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 21.2, \"min\": 8.5, \"max\": 42.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 9.1, \"min\": 2.0, \"max\": 14.4, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .circle(p[\"loft_base\"] / 2)\n        .workplane(offset=p[\"loft_h\"])\n        .polygon(6, p[\"loft_top\"] * 0.5 * 2)\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462cad4d_4505", "family": "sketched", "tier": 2, "seed": 1177333069, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "329de05ed0512235", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 23600.0, "surface_area": 6650.0, "principal_moments": [3600000.0, 3600000.0, 4510000.0], "n_faces": 7, "n_edges": 12, "n_vertices": 7}, "dimensions": {"lines": ["Revolved organic body from a freeform sketched section (6 segments: 3 straight, 2 arcs, 1 curve), ~17.62 \u00d7 30 mm half-silhouette."], "text": "Revolved organic body from a freeform sketched section (6 segments: 3 straight, 2 arcs, 1 curve), ~17.62 \u00d7 30 mm half-silhouette."}, "params": {"sk_r": {"type": "float", "default": 25, "min": 12.5, "max": 45.0, "step": 1.0, "group": "Sketch", "label": "Max radius (mm)"}, "sk_h": {"type": "float", "default": 30, "min": 15.0, "max": 54.0, "step": 1.0, "group": "Sketch", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333069 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_r\": {\"type\": 'float', \"default\": 25, \"min\": 12.5, \"max\": 45.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Max radius (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 30, \"min\": 15.0, \"max\": 54.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XZ').moveTo(p[\"sk_r\"] * 0.9157, p[\"sk_h\"] * 0.0).threePointArc((p[\"sk_r\"] * 0.7622, p[\"sk_h\"] * 0.3154), (p[\"sk_r\"] * 0.6305, p[\"sk_h\"] * 0.6308)).threePointArc((p[\"sk_r\"] * 0.403, p[\"sk_h\"] * 0.7306), (p[\"sk_r\"] * 0.3543, p[\"sk_h\"] * 0.8304)).lineTo(p[\"sk_r\"] * 0.3311, p[\"sk_h\"] * 0.8701).spline([(p[\"sk_r\"] * 0.3311, p[\"sk_h\"] * 0.8701), (p[\"sk_r\"] * 0.523, p[\"sk_h\"] * 0.935), (p[\"sk_r\"] * 0.3819, p[\"sk_h\"] * 1.0)]).lineTo(p[\"sk_r\"] * 0.2109, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.2109, p[\"sk_h\"] * 0.0).close().revolve())\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462cad4f_4507", "family": "revolved", "tier": 2, "seed": 1177333071, "symmetry": "none", "op_count": 2, "ir_hash": "5e1ba9413b8f8404", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 163000.0, "surface_area": 30400.0, "principal_moments": [72800000.0, 142000000.0, 142000000.0], "n_faces": 9, "n_edges": 14, "n_vertices": 9}, "dimensions": {"lines": ["Revolved body, \u00d855 mm \u00d7 105.4 mm tall with 10.63 mm-wide groove 2.36 mm deep.", "Chamfer 0.6 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d855 mm \u00d7 105.4 mm tall with 10.63 mm-wide groove 2.36 mm deep. Chamfer 0.6 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 55, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 105.4, "min": 31.6, "max": 316.2, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "groove_depth": {"type": "float", "default": 2.36, "min": 0.94, "max": 7.08, "step": 0.1, "group": "Body", "label": "Groove depth (mm)"}, "groove_w": {"type": "float", "default": 10.63, "min": 4.25, "max": 31.89, "step": 0.2, "group": "Body", "label": "Groove width (mm)"}, "groove_pos": {"type": "float", "default": 71.4, "min": 15.8, "max": 89.6, "step": 1.0, "group": "Body", "label": "Groove position (mm)"}, "end_chamfer": {"type": "float", "default": 0.6, "min": 0.1, "max": 1.8, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333071 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 55, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 105.4, \"min\": 31.6, \"max\": 316.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"groove_depth\": {\"type\": 'float', \"default\": 2.36, \"min\": 0.94, \"max\": 7.08, \"step\": 0.1, \"group\": 'Body', \"label\": 'Groove depth (mm)'},\n    \"groove_w\": {\"type\": 'float', \"default\": 10.63, \"min\": 4.25, \"max\": 31.89, \"step\": 0.2, \"group\": 'Body', \"label\": 'Groove width (mm)'},\n    \"groove_pos\": {\"type\": 'float', \"default\": 71.4, \"min\": 15.8, \"max\": 89.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Groove position (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.6, \"min\": 0.1, \"max\": 1.8, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"groove_pos\"] - p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2 - p[\"groove_depth\"], p[\"groove_pos\"] - p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2 - p[\"groove_depth\"], p[\"groove_pos\"] + p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2, p[\"groove_pos\"] + p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462cad51_4509", "family": "enclosure", "tier": 1, "seed": 1177333073, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "f78c794a875a7f0b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 10600.0, "surface_area": 7640.0, "principal_moments": [1510000.0, 2070000.0, 2800000.0], "n_faces": 11, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 38.45 \u00d7 16.6 \u00d7 33.6 mm (W\u00d7D\u00d7H).", "Hollowed to 2.9 mm wall thickness, open at top face."], "text": "Rectangular body, 38.45 \u00d7 16.6 \u00d7 33.6 mm (W\u00d7D\u00d7H). Hollowed to 2.9 mm wall thickness, open at top face."}, "params": {"enc_w": {"type": "float", "default": 38.45, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 16.6, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 33.6, "min": 13.4, "max": 67.2, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 2.9, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333073 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 38.45, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 16.6, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 33.6, \"min\": 13.4, \"max\": 67.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 2.9, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462cad52_4510", "family": "plate", "tier": 2, "seed": 1177333074, "symmetry": "none", "op_count": 2, "ir_hash": "69b693a88eedd360", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 13900.0, "surface_area": 6180.0, "principal_moments": [1100000.0, 2610000.0, 3370000.0], "n_faces": 54, "n_edges": 156, "n_vertices": 104}, "dimensions": {"lines": ["Rectangular body, 46.92 \u00d7 28.5 \u00d7 12 mm (W\u00d7D\u00d7H).", "Twelve 5.3 \u00d7 3.2 mm slots in a 3\u00d74 grid, 18.8 \u00d7 7.6 mm pitch."], "text": "Rectangular body, 46.92 \u00d7 28.5 \u00d7 12 mm (W\u00d7D\u00d7H). Twelve 5.3 \u00d7 3.2 mm slots in a 3\u00d74 grid, 18.8 \u00d7 7.6 mm pitch."}, "params": {"plate_w": {"type": "float", "default": 46.92, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 28.5, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 3.4, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 3, "min": 1, "max": 4, "step": 1, "group": "Holes", "label": "Holes across"}, "hole_ny": {"type": "int", "default": 4, "min": 1, "max": 4, "step": 1, "group": "Holes", "label": "Holes deep"}, "hole_slot_len": {"type": "float", "default": 5.3, "min": 4.8, "max": 5.3, "step": 0.5, "group": "Holes", "label": "Slot length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333074 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 46.92, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 28.5, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 3.4, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 3, \"min\": 1, \"max\": 4, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes across'},\n    \"hole_ny\": {\"type\": 'int', \"default\": 4, \"min\": 1, \"max\": 4, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes deep'},\n    \"hole_slot_len\": {\"type\": 'float', \"default\": 5.3, \"min\": 4.8, \"max\": 5.3, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Slot length (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(18.8, 7.6, p[\"hole_nx\"], p[\"hole_ny\"])\n        .slot2D(p[\"hole_slot_len\"], p[\"hole_d\"]).cutThruAll()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462cad53_4511", "family": "lofted", "tier": 0, "seed": 1177333075, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "d9d2ed09dc4fe5ae", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 14400.0, "surface_area": 3500.0, "principal_moments": [1380000.0, 1560000.0, 1560000.0], "n_faces": 8, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["Lofted body through 2 sections: \u00d835 mm circular section \u2192 6-sided polygon section, 13.7 mm across corners."], "text": "Lofted body through 2 sections: \u00d835 mm circular section \u2192 6-sided polygon section, 13.7 mm across corners."}, "params": {"loft_base": {"type": "float", "default": 35, "min": 17.5, "max": 56.0, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 13.7, "min": 5.5, "max": 42.0, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 30.2, "min": 12.1, "max": 60.4, "step": 1.0, "group": "Body", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333075 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 35, \"min\": 17.5, \"max\": 56.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 13.7, \"min\": 5.5, \"max\": 42.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 30.2, \"min\": 12.1, \"max\": 60.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .circle(p[\"loft_base\"] / 2)\n        .workplane(offset=p[\"loft_h\"])\n        .polygon(6, p[\"loft_top\"] * 0.5 * 2)\n        .loft(combine=True)\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462cad54_4512", "family": "enclosure", "tier": 1, "seed": 1177333076, "symmetry": "none", "op_count": 2, "ir_hash": "2a4a70e729425f92", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 8240.0, "surface_area": 5010.0, "principal_moments": [624000.0, 1600000.0, 1730000.0], "n_faces": 11, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 40 \u00d7 19.7 \u00d7 17.9 mm (W\u00d7D\u00d7H).", "Hollowed to 3.6 mm wall thickness, open at top face."], "text": "Rectangular body, 40 \u00d7 19.7 \u00d7 17.9 mm (W\u00d7D\u00d7H). Hollowed to 3.6 mm wall thickness, open at top face."}, "params": {"enc_w": {"type": "float", "default": 40, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 19.7, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 17.9, "min": 7.2, "max": 35.8, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 3.6, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333076 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 40, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 19.7, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 17.9, \"min\": 7.2, \"max\": 35.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 3.6, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462cad55_4513", "family": "enclosure", "tier": 1, "seed": 1177333077, "symmetry": "none", "op_count": 2, "ir_hash": "cbae5b0dbe4af9ba", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 66400.0, "surface_area": 27700.0, "principal_moments": [38700000.0, 51299999.99999999, 54099999.99999999], "n_faces": 11, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 65 \u00d7 45.1 \u00d7 56.7 mm (W\u00d7D\u00d7H).", "Hollowed to 5 mm wall thickness, open at top face."], "text": "Rectangular body, 65 \u00d7 45.1 \u00d7 56.7 mm (W\u00d7D\u00d7H). Hollowed to 5 mm wall thickness, open at top face."}, "params": {"enc_w": {"type": "float", "default": 65, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 45.1, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 56.7, "min": 22.7, "max": 113.4, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 5.0, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333077 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 65, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 45.1, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 56.7, \"min\": 22.7, \"max\": 113.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462cad56_4514", "family": "block", "tier": 3, "seed": 1177333078, "symmetry": "none", "op_count": 5, "ir_hash": "6161c816f7c773aa", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 465000.0, "surface_area": 57700.0, "principal_moments": [508000000.0, 529000000.0, 721000000.0], "n_faces": 15, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["Rectangular body, 98.41 \u00d7 47.1 \u00d7 100 mm (W\u00d7D\u00d7H).", "Four \u00d88.4 mm holes at the corners, 68.887 \u00d7 32.97 mm spacing.", "Boss \u00d811.7 mm \u00d7 5.2 mm tall on top face.", "Fillet radius 4.914 mm on vertical edges (optional, off by default).", "\u00d829.3 mm circular section attachment, 55 mm long, from back face with a \u00d813.1 mm bore."], "text": "Rectangular body, 98.41 \u00d7 47.1 \u00d7 100 mm (W\u00d7D\u00d7H). Four \u00d88.4 mm holes at the corners, 68.887 \u00d7 32.97 mm spacing. Boss \u00d811.7 mm \u00d7 5.2 mm tall on top face. Fillet radius 4.914 mm on vertical edges (optional, off by default). \u00d829.3 mm circular section attachment, 55 mm long, from back face with a \u00d813.1 mm bore."}, "params": {"block_w": {"type": "float", "default": 98.41, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 47.1, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 100.0, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 8.4, "min": 2.0, "max": 10.6, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "boss_d": {"type": "float", "default": 11.7, "min": 5.8, "max": 23.4, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 5.2, "min": 2.1, "max": 13.0, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}, "filleted2": {"type": "bool", "default": false, "group": "Body", "label": "Fillet corners"}, "side_tube_d": {"type": "float", "default": 29.3, "min": 11.7, "max": 49.2, "step": 1.0, "group": "Side Tube", "label": "Side tube diameter (mm)"}, "side_tube_len": {"type": "float", "default": 55.0, "min": 16.5, "max": 87.9, "step": 1.0, "group": "Side Tube", "label": "Side tube length (mm)"}, "side_bore_d": {"type": "float", "default": 13.1, "min": 2.0, "max": 22.0, "step": 0.5, "group": "Side Tube", "label": "Side bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333078 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 98.41, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 47.1, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 100.0, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 2.0, \"max\": 10.6, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"boss_d\": {\"type\": 'float', \"default\": 11.7, \"min\": 5.8, \"max\": 23.4, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 5.2, \"min\": 2.1, \"max\": 13.0, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n    \"filleted2\": {\"type\": 'bool', \"default\": False, \"group\": 'Body', \"label\": 'Fillet corners'},\n    \"side_tube_d\": {\"type\": 'float', \"default\": 29.3, \"min\": 11.7, \"max\": 49.2, \"step\": 1.0, \"group\": 'Side Tube', \"label\": 'Side tube diameter (mm)'},\n    \"side_tube_len\": {\"type\": 'float', \"default\": 55.0, \"min\": 16.5, \"max\": 87.9, \"step\": 1.0, \"group\": 'Side Tube', \"label\": 'Side tube length (mm)'},\n    \"side_bore_d\": {\"type\": 'float', \"default\": 13.1, \"min\": 2.0, \"max\": 22.0, \"step\": 0.5, \"group\": 'Side Tube', \"label\": 'Side bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    if p[\"filleted2\"]:\n        result = result.edges('|Z').fillet(min(p[\"block_w\"], p[\"block_d\"]) * 0.10433403321546714)\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"side_tube_d\"] / 2).extrude(p[\"side_tube_len\"])\n    )\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"side_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462cad57_4515", "family": "ribbed", "tier": 1, "seed": 1177333079, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "2a752253bd5a7ea3", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 6630.0, "surface_area": 4430.0, "principal_moments": [426000.0, 926000.0, 1250000.0], "n_faces": 46, "n_edges": 112, "n_vertices": 68}, "dimensions": {"lines": ["Rectangular body, 40.06 \u00d7 23.1 \u00d7 5 mm (W\u00d7D\u00d7H).", "Five ribs, 2.5 mm thick, 5 mm tall."], "text": "Rectangular body, 40.06 \u00d7 23.1 \u00d7 5 mm (W\u00d7D\u00d7H). Five ribs, 2.5 mm thick, 5 mm tall."}, "params": {"base_w": {"type": "float", "default": 40.06, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 23.1, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 5.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 5, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 5.0, "min": 2.0, "max": 10.0, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 2.5, "min": 1.0, "max": 6.2, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333079 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 40.06, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 23.1, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 5, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 5.0, \"min\": 2.0, \"max\": 10.0, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 2.5, \"min\": 1.0, \"max\": 6.2, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462cad58_4516", "family": "profiled", "tier": 0, "seed": 1177333080, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "582f03e80925674e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 242000.0, "surface_area": 56700.0, "principal_moments": [55699999.99999999, 1320000000.0, 1320000000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d839.22 mm \u00d7 300 mm tall."], "text": "Revolved body, \u00d839.22 mm \u00d7 300 mm tall."}, "params": {"outer_d": {"type": "float", "default": 39.22, "min": 19.6, "max": 78.4, "step": 1.0, "group": "Profile", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 300.0, "min": 90.0, "max": 900.0, "step": 5.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333080 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 39.22, \"min\": 19.6, \"max\": 78.4, \"step\": 1.0, \"group\": 'Profile', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 300.0, \"min\": 90.0, \"max\": 900.0, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462cad5a_4518", "family": "lofted", "tier": 3, "seed": 1177333082, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "2e2e3a9025c2d267", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 92100.0, "surface_area": 17900.0, "principal_moments": [38200000.0, 46899999.99999999, 46899999.99999999], "n_faces": 8, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["Lofted body through 3 sections: \u00d856.05 mm circular section \u2192 \u00d850.3 mm circular section \u2192 44.5 \u00d7 44.5 mm rectangular section.", "One \u00d825.5 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 3 sections: \u00d856.05 mm circular section \u2192 \u00d850.3 mm circular section \u2192 44.5 \u00d7 44.5 mm rectangular section. One \u00d825.5 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 56.05, "min": 28.0, "max": 89.7, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 44.5, "min": 17.8, "max": 67.3, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 59.2, "min": 23.7, "max": 118.4, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_mid": {"type": "float", "default": 50.3, "min": 22.2, "max": 67.3, "step": 1.0, "group": "Body", "label": "Mid size (mm)"}, "loft_bore_d": {"type": "float", "default": 25.5, "min": 2.0, "max": 35.6, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333082 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 56.05, \"min\": 28.0, \"max\": 89.7, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 44.5, \"min\": 17.8, \"max\": 67.3, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 59.2, \"min\": 23.7, \"max\": 118.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_mid\": {\"type\": 'float', \"default\": 50.3, \"min\": 22.2, \"max\": 67.3, \"step\": 1.0, \"group\": 'Body', \"label\": 'Mid size (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 25.5, \"min\": 2.0, \"max\": 35.6, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .circle(p[\"loft_base\"] / 2)\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .circle(p[\"loft_mid\"] / 2)\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .rect(p[\"loft_top\"], p[\"loft_top\"])\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462cad5b_4519", "family": "compound", "tier": 1, "seed": 1177333083, "symmetry": "none", "op_count": 3, "ir_hash": "5e1e78621d7f214c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 12800.0, "surface_area": 4430.0, "principal_moments": [918000.0, 1490000.0, 1500000.0], "n_faces": 15, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 31.82 \u00d7 17.7 \u00d7 21 mm (W\u00d7D\u00d7H).", "22.7 \u00d7 14.7 mm rectangular section attachment, 5 mm long, from front face.", "Four \u00d83.2 mm holes at the corners, 13.62 \u00d7 8.82 mm spacing on the <Y face."], "text": "Rectangular body, 31.82 \u00d7 17.7 \u00d7 21 mm (W\u00d7D\u00d7H). 22.7 \u00d7 14.7 mm rectangular section attachment, 5 mm long, from front face. Four \u00d83.2 mm holes at the corners, 13.62 \u00d7 8.82 mm spacing on the <Y face."}, "params": {"block_w": {"type": "float", "default": 31.82, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 17.7, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 21.0, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "tab_a": {"type": "float", "default": 22.7, "min": 9.1, "max": 36.3, "step": 1.0, "group": "Tab", "label": "Tab width (mm)"}, "tab_b": {"type": "float", "default": 14.7, "min": 5.9, "max": 23.5, "step": 1.0, "group": "Tab", "label": "Tab height (mm)"}, "tab_t": {"type": "float", "default": 5.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Tab", "label": "Tab thickness (mm)"}, "tab_hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 3.2, "step": 0.1, "group": "Tab", "label": "Tab hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333083 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 31.82, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 17.7, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 21.0, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"tab_a\": {\"type\": 'float', \"default\": 22.7, \"min\": 9.1, \"max\": 36.3, \"step\": 1.0, \"group\": 'Tab', \"label\": 'Tab width (mm)'},\n    \"tab_b\": {\"type\": 'float', \"default\": 14.7, \"min\": 5.9, \"max\": 23.5, \"step\": 1.0, \"group\": 'Tab', \"label\": 'Tab height (mm)'},\n    \"tab_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Tab', \"label\": 'Tab thickness (mm)'},\n    \"tab_hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 3.2, \"step\": 0.1, \"group\": 'Tab', \"label\": 'Tab hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .rect(p[\"tab_a\"], p[\"tab_b\"]).extrude(p[\"tab_t\"])\n    )\n    result = (\n        result.faces('<Y').workplane()\n        .rect(p[\"tab_a\"] * 0.6, p[\"tab_b\"] * 0.6, forConstruction=True)\n        .vertices().hole(p[\"tab_hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462cad5c_4520", "family": "sketched", "tier": 1, "seed": 1177333084, "symmetry": "none", "op_count": 1, "ir_hash": "30d87da6475dbda1", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 101000.0, "surface_area": 14900.0, "principal_moments": [40400000.0, 43600000.0, 43600000.0], "n_faces": 6, "n_edges": 9, "n_vertices": 5}, "dimensions": {"lines": ["Revolved organic body from a freeform sketched section (6 segments: 2 straight, 2 arcs, 2 curves), ~33.66 \u00d7 70 mm half-silhouette."], "text": "Revolved organic body from a freeform sketched section (6 segments: 2 straight, 2 arcs, 2 curves), ~33.66 \u00d7 70 mm half-silhouette."}, "params": {"sk_r": {"type": "float", "default": 33.86, "min": 16.9, "max": 60.9, "step": 1.0, "group": "Sketch", "label": "Max radius (mm)"}, "sk_h": {"type": "float", "default": 70.0, "min": 35.0, "max": 126.0, "step": 1.0, "group": "Sketch", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333084 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_r\": {\"type\": 'float', \"default\": 33.86, \"min\": 16.9, \"max\": 60.9, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Max radius (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 70.0, \"min\": 35.0, \"max\": 126.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XZ').moveTo(p[\"sk_r\"] * 0.6033, p[\"sk_h\"] * 0.0).threePointArc((p[\"sk_r\"] * 0.2791, p[\"sk_h\"] * 0.0587), (p[\"sk_r\"] * 0.1312, p[\"sk_h\"] * 0.1173)).bezier([(p[\"sk_r\"] * 0.1312, p[\"sk_h\"] * 0.1173), (p[\"sk_r\"] * 0.2879, p[\"sk_h\"] * 0.2698), (p[\"sk_r\"] * 0.3989, p[\"sk_h\"] * 0.4223)]).threePointArc((p[\"sk_r\"] * 0.6575, p[\"sk_h\"] * 0.616), (p[\"sk_r\"] * 0.9941, p[\"sk_h\"] * 0.8096)).bezier([(p[\"sk_r\"] * 0.9941, p[\"sk_h\"] * 0.8096), (p[\"sk_r\"] * 0.9452, p[\"sk_h\"] * 0.9048), (p[\"sk_r\"] * 0.9519, p[\"sk_h\"] * 1.0)]).lineTo(p[\"sk_r\"] * 0.0, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.0, p[\"sk_h\"] * 0.0).close().revolve())\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462cad5d_4521", "family": "threaded", "tier": 2, "seed": 1177333085, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "f3af0b218ad82dca", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 717.0, "surface_area": 929.0, "principal_moments": [2970.0, 51900.0, 51900.0], "n_faces": 190, "n_edges": 484, "n_vertices": 296}, "dimensions": {"lines": ["ACME 1/4 external thread, 29.4 mm long."], "text": "ACME 1/4 external thread, 29.4 mm long."}, "params": {"thread_size": {"type": "enum", "default": "1/4", "choices": ["1/4", "5/16", "3/8", "1/2", "5/8", "3/4", "7/8", "1", "1 1/4", "1 1/2"], "group": "Thread", "label": "Size designation"}, "thread_len": {"type": "float", "default": 29.4, "min": 11.8, "max": 58.8, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333085 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"thread_size\": {\"type\": 'enum', \"default\": '1/4', \"choices\": ['1/4', '5/16', '3/8', '1/2', '5/8', '3/4', '7/8', '1', '1 1/4', '1 1/2'], \"group\": 'Thread', \"label\": 'Size designation'},\n    \"thread_len\": {\"type\": 'float', \"default\": 29.4, \"min\": 11.8, \"max\": 58.8, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.AcmeThread(size=p[\"thread_size\"], length=p[\"thread_len\"], external=True, end_finishes=(\"fade\", \"fade\"))\n    _r = _thr.min_radius if hasattr(_thr, 'min_radius') else _thr.root_radius\n    _shank = _bd.Cylinder(radius=_r, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = _shank + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462cad5e_4522", "family": "gear", "tier": 0, "seed": 1177333086, "symmetry": "none", "op_count": 1, "ir_hash": "b3c09c2e7b548b59", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 13100.0, "surface_area": 5760.0, "principal_moments": [1950000.0, 1950000.0, 3780000.0], "n_faces": 194, "n_edges": 576, "n_vertices": 384}, "dimensions": {"lines": ["Spur gear, module 1.5 mm, 32 teeth (pitch \u00d848 mm), face width 7.3 mm."], "text": "Spur gear, module 1.5 mm, 32 teeth (pitch \u00d848 mm), face width 7.3 mm."}, "params": {"module": {"type": "float", "default": 1.5, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 32, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 7.3, "min": 2.9, "max": 18.2, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333086 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 1.5, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 32, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 7.3, \"min\": 2.9, \"max\": 18.2, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462cad5f_4523", "family": "plate", "tier": 1, "seed": 1177333087, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "ffe3ab5d7457bf48", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 13800.0, "surface_area": 5000.0, "principal_moments": [1280000.0, 1910000.0, 2850000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 40 \u00d7 32 \u00d7 12 mm (W\u00d7D\u00d7H).", "Four \u00d86.4 mm holes at the corners, 28 \u00d7 22.4 mm spacing."], "text": "Rectangular body, 40 \u00d7 32 \u00d7 12 mm (W\u00d7D\u00d7H). Four \u00d86.4 mm holes at the corners, 28 \u00d7 22.4 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 40, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 32.0, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 7.2, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333087 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 40, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 32.0, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 7.2, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462cad60_4524", "family": "compound", "tier": 2, "seed": 1177333088, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "f6eb7b52139d5c9b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 12100.0, "surface_area": 4710.0, "principal_moments": [1110000.0, 1750000.0, 1750000.0], "n_faces": 13, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["8-sided polygon section, 30 mm across corners, extruded 15.8 mm thick.", "\u00d814.4 mm circular section attachment, 24.3 mm long, from top face with a \u00d87.8 mm bore."], "text": "8-sided polygon section, 30 mm across corners, extruded 15.8 mm thick. \u00d814.4 mm circular section attachment, 24.3 mm long, from top face with a \u00d87.8 mm bore."}, "params": {"base_sides": {"type": "int", "default": 8, "min": 3, "max": 8, "step": 1, "group": "Base", "label": "Base sides"}, "base_r": {"type": "float", "default": 15, "min": 9.0, "max": 24.0, "step": 1.0, "group": "Base", "label": "Base circumradius (mm)"}, "base_h": {"type": "float", "default": 15.8, "min": 6.3, "max": 39.5, "step": 1.0, "group": "Base", "label": "Base height (mm)"}, "col_d": {"type": "float", "default": 14.4, "min": 7.2, "max": 22.2, "step": 1.0, "group": "Column", "label": "Column diameter (mm)"}, "col_h": {"type": "float", "default": 24.3, "min": 7.3, "max": 60.8, "step": 1.0, "group": "Column", "label": "Column height (mm)"}, "col_bore": {"type": "float", "default": 7.8, "min": 2.0, "max": 10.4, "step": 0.5, "group": "Column", "label": "Column bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333088 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_sides\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Base', \"label\": 'Base sides'},\n    \"base_r\": {\"type\": 'float', \"default\": 15, \"min\": 9.0, \"max\": 24.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base circumradius (mm)'},\n    \"base_h\": {\"type\": 'float', \"default\": 15.8, \"min\": 6.3, \"max\": 39.5, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base height (mm)'},\n    \"col_d\": {\"type\": 'float', \"default\": 14.4, \"min\": 7.2, \"max\": 22.2, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column diameter (mm)'},\n    \"col_h\": {\"type\": 'float', \"default\": 24.3, \"min\": 7.3, \"max\": 60.8, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column height (mm)'},\n    \"col_bore\": {\"type\": 'float', \"default\": 7.8, \"min\": 2.0, \"max\": 10.4, \"step\": 0.5, \"group\": 'Column', \"label\": 'Column bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').polygon(p[\"base_sides\"], p[\"base_r\"] * 2).extrude(p[\"base_h\"]))\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"col_d\"] / 2).extrude(p[\"col_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"col_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462cad61_4525", "family": "revolved", "tier": 1, "seed": 1177333089, "symmetry": "none", "op_count": 1, "ir_hash": "5cc57c6d9ea77792", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 1220.0, "surface_area": 969.0, "principal_moments": [10600.0, 79500.0, 79500.0], "n_faces": 4, "n_edges": 6, "n_vertices": 4}, "dimensions": {"lines": ["Revolved body, \u00d87.96 mm \u00d7 27 mm tall with \u00d82.4 mm bore."], "text": "Revolved body, \u00d87.96 mm \u00d7 27 mm tall with \u00d82.4 mm bore."}, "params": {"outer_d": {"type": "float", "default": 7.96, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 27.0, "min": 8.1, "max": 81.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 2.4, "min": 2.0, "max": 5.6, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333089 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 7.96, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 27.0, \"min\": 8.1, \"max\": 81.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 2.4, \"min\": 2.0, \"max\": 5.6, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462cad62_4526", "family": "tapped", "tier": 1, "seed": 1177333090, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "7b72aafb24a123f3", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 35200.0, "surface_area": 11400.0, "principal_moments": [6060000.0, 9130000.0, 12999999.999999998], "n_faces": 506, "n_edges": 1424, "n_vertices": 920}, "dimensions": {"lines": ["Four M12x1.75 tapped holes in a plate."], "text": "Four M12x1.75 tapped holes in a plate."}, "params": {"major_d": {"type": "float", "default": 12.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 1.75, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 19.2, "min": 14.4, "max": 34.6, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "plate_w": {"type": "float", "default": 53.03, "min": 31.8, "max": 84.8, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 41.8, "min": 25.1, "max": 66.9, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333090 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 12.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.75, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 19.2, \"min\": 14.4, \"max\": 34.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"plate_w\": {\"type\": 'float', \"default\": 53.03, \"min\": 31.8, \"max\": 84.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 41.8, \"min\": 25.1, \"max\": 66.9, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n}\n\n\ndef build(p):\n\n    _W, _D, _H = p[\"plate_w\"], p[\"plate_d\"], p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Box(_W, _D, _H)\n    _sx, _sy = p[\"plate_w\"] * 0.6, p[\"plate_d\"] * 0.6\n    _locs = [(_xx, _yy) for _xx in (-_sx / 2, _sx / 2) for _yy in (-_sy / 2, _sy / 2)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462cad63_4527", "family": "revolved", "tier": 1, "seed": 1177333091, "symmetry": "none", "op_count": 1, "ir_hash": "9c8a7396a2ab8496", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 54500.0, "surface_area": 18000.0, "principal_moments": [8150000.0, 64099999.99999999, 64099999.99999999], "n_faces": 4, "n_edges": 6, "n_vertices": 4}, "dimensions": {"lines": ["Revolved body, \u00d830 mm \u00d7 114.9 mm tall with \u00d817.2 mm bore."], "text": "Revolved body, \u00d830 mm \u00d7 114.9 mm tall with \u00d817.2 mm bore."}, "params": {"outer_d": {"type": "float", "default": 30, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 114.9, "min": 34.5, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 17.2, "min": 2.0, "max": 21.0, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333091 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 30, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 114.9, \"min\": 34.5, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 17.2, \"min\": 2.0, \"max\": 21.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462cad64_4528", "family": "enclosure", "tier": 1, "seed": 1177333092, "symmetry": "none", "op_count": 2, "ir_hash": "24ac3b4f87e3905c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 75300.0, "surface_area": 49600.0, "principal_moments": [68000000.0, 128000000.0, 139000000.0], "n_faces": 11, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 104.52 \u00d7 59.3 \u00d7 60.5 mm (W\u00d7D\u00d7H).", "Hollowed to 3.1 mm wall thickness, open at top face."], "text": "Rectangular body, 104.52 \u00d7 59.3 \u00d7 60.5 mm (W\u00d7D\u00d7H). Hollowed to 3.1 mm wall thickness, open at top face."}, "params": {"enc_w": {"type": "float", "default": 104.52, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 59.3, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 60.5, "min": 24.2, "max": 121.0, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 3.1, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333092 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 104.52, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 59.3, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 60.5, \"min\": 24.2, \"max\": 121.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 3.1, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462cad65_4529", "family": "plate", "tier": 1, "seed": 1177333093, "symmetry": "none", "op_count": 2, "ir_hash": "ce6159362ca6163f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 4660.0, "surface_area": 3090.0, "principal_moments": [207000.0, 1060000.0, 1250000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 52.31 \u00d7 22.9 \u00d7 4 mm (W\u00d7D\u00d7H).", "Four \u00d83.2 mm holes at the corners, 36.617 \u00d7 16.03 mm spacing."], "text": "Rectangular body, 52.31 \u00d7 22.9 \u00d7 4 mm (W\u00d7D\u00d7H). Four \u00d83.2 mm holes at the corners, 36.617 \u00d7 16.03 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 52.31, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 22.9, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 4.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 5.2, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333093 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 52.31, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 22.9, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 4.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 5.2, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462cad66_4530", "family": "threaded", "tier": 1, "seed": 1177333094, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "ba430fe463e1f61f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 372.0, "surface_area": 553.0, "principal_moments": [3010.0, 6090.0, 6090.0], "n_faces": 143, "n_edges": 387, "n_vertices": 246}, "dimensions": {"lines": ["M4x0.7 internal thread, 12.2 mm long."], "text": "M4x0.7 internal thread, 12.2 mm long."}, "params": {"major_d": {"type": "float", "default": 4.0, "min": 4.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Major diameter (mm)"}, "pitch": {"type": "float", "default": 0.7, "min": 0.35, "max": 1.4, "step": 0.05, "group": "Thread", "label": "Pitch (mm)"}, "thread_len": {"type": "float", "default": 12.2, "min": 5.0, "max": 24.4, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333094 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 4.0, \"min\": 4.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Major diameter (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 0.7, \"min\": 0.35, \"max\": 1.4, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Pitch (mm)'},\n    \"thread_len\": {\"type\": 'float', \"default\": 12.2, \"min\": 5.0, \"max\": 24.4, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.IsoThread(major_diameter=p[\"major_d\"], pitch=p[\"pitch\"], length=p[\"thread_len\"], external=False, end_finishes=(\"fade\", \"fade\"))\n    _body = _bd.Cylinder(radius=(p[\"major_d\"]) * 0.9, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _bore = _bd.Cylinder(radius=(p[\"major_d\"]) / 2, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = (_body - _bore) + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462cad67_4531", "family": "threaded", "tier": 3, "seed": 1177333095, "symmetry": "none", "op_count": 1, "ir_hash": "143eae145046fda7", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 330.0, "surface_area": 430.0, "principal_moments": [1220.0, 6280.0, 6290.0], "n_faces": 150, "n_edges": 380, "n_vertices": 232}, "dimensions": {"lines": ["M6x1 external thread, 14.5 mm long."], "text": "M6x1 external thread, 14.5 mm long."}, "params": {"major_d": {"type": "float", "default": 6.0, "min": 4.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Major diameter (mm)"}, "pitch": {"type": "float", "default": 1.0, "min": 0.5, "max": 2.0, "step": 0.05, "group": "Thread", "label": "Pitch (mm)"}, "thread_len": {"type": "float", "default": 14.5, "min": 5.8, "max": 29.0, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333095 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 6.0, \"min\": 4.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Major diameter (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.0, \"min\": 0.5, \"max\": 2.0, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Pitch (mm)'},\n    \"thread_len\": {\"type\": 'float', \"default\": 14.5, \"min\": 5.8, \"max\": 29.0, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.IsoThread(major_diameter=p[\"major_d\"], pitch=p[\"pitch\"], length=p[\"thread_len\"], external=True, end_finishes=(\"fade\", \"fade\"))\n    _r = _thr.min_radius if hasattr(_thr, 'min_radius') else _thr.root_radius\n    _shank = _bd.Cylinder(radius=_r, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = _shank + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462cad68_4532", "family": "enclosure", "tier": 1, "seed": 1177333096, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "59b5b5a6c129af83", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 71700.0, "surface_area": 69000.0, "principal_moments": [105000000.0, 144000000.0, 150000000.0], "n_faces": 11, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 100 \u00d7 66.8 \u00d7 86.6 mm (W\u00d7D\u00d7H).", "Hollowed to 2.1 mm wall thickness, open at top face."], "text": "Rectangular body, 100 \u00d7 66.8 \u00d7 86.6 mm (W\u00d7D\u00d7H). Hollowed to 2.1 mm wall thickness, open at top face."}, "params": {"enc_w": {"type": "float", "default": 100, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 66.8, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 86.6, "min": 34.6, "max": 173.2, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 2.1, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333096 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 100, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 66.8, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 86.6, \"min\": 34.6, \"max\": 173.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 2.1, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462cad6a_4534", "family": "gear", "tier": 0, "seed": 1177333098, "symmetry": "none", "op_count": 1, "ir_hash": "420ce2f383c53321", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 3560.0, "surface_area": 2420.0, "principal_moments": [226000.0, 226000.0, 438000.0], "n_faces": 152, "n_edges": 450, "n_vertices": 300}, "dimensions": {"lines": ["Spur gear, module 1.25 mm, 25 teeth (pitch \u00d831.25 mm), face width 4.7 mm."], "text": "Spur gear, module 1.25 mm, 25 teeth (pitch \u00d831.25 mm), face width 4.7 mm."}, "params": {"module": {"type": "float", "default": 1.25, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 25, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 4.7, "min": 1.9, "max": 11.8, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333098 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 1.25, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 25, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 4.7, \"min\": 1.9, \"max\": 11.8, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462cad6b_4535", "family": "compound", "tier": 1, "seed": 1177333099, "symmetry": "none", "op_count": 3, "ir_hash": "6904c8f068ec4673", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 125000.0, "surface_area": 18800.0, "principal_moments": [49699999.99999999, 51199999.99999999, 70900000.0], "n_faces": 15, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 55.82 \u00d7 58.9 \u00d7 38 mm (W\u00d7D\u00d7H).", "53.3 \u00d7 24.2 mm rectangular section attachment, 3 mm long, from right face.", "Four \u00d84.3 mm holes at the corners, 31.98 \u00d7 14.52 mm spacing on the >X face."], "text": "Rectangular body, 55.82 \u00d7 58.9 \u00d7 38 mm (W\u00d7D\u00d7H). 53.3 \u00d7 24.2 mm rectangular section attachment, 3 mm long, from right face. Four \u00d84.3 mm holes at the corners, 31.98 \u00d7 14.52 mm spacing on the >X face."}, "params": {"block_w": {"type": "float", "default": 55.82, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 58.9, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 38.0, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "tab_a": {"type": "float", "default": 53.3, "min": 21.3, "max": 85.3, "step": 1.0, "group": "Tab", "label": "Tab width (mm)"}, "tab_b": {"type": "float", "default": 24.2, "min": 9.7, "max": 38.7, "step": 1.0, "group": "Tab", "label": "Tab height (mm)"}, "tab_t": {"type": "float", "default": 3.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Tab", "label": "Tab thickness (mm)"}, "tab_hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 5.3, "step": 0.1, "group": "Tab", "label": "Tab hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333099 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 55.82, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 58.9, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 38.0, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"tab_a\": {\"type\": 'float', \"default\": 53.3, \"min\": 21.3, \"max\": 85.3, \"step\": 1.0, \"group\": 'Tab', \"label\": 'Tab width (mm)'},\n    \"tab_b\": {\"type\": 'float', \"default\": 24.2, \"min\": 9.7, \"max\": 38.7, \"step\": 1.0, \"group\": 'Tab', \"label\": 'Tab height (mm)'},\n    \"tab_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Tab', \"label\": 'Tab thickness (mm)'},\n    \"tab_hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 5.3, \"step\": 0.1, \"group\": 'Tab', \"label\": 'Tab hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .rect(p[\"tab_a\"], p[\"tab_b\"]).extrude(p[\"tab_t\"])\n    )\n    result = (\n        result.faces('>X').workplane()\n        .rect(p[\"tab_a\"] * 0.6, p[\"tab_b\"] * 0.6, forConstruction=True)\n        .vertices().hole(p[\"tab_hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462cad6c_4536", "family": "bracket", "tier": 1, "seed": 1177333100, "symmetry": "none", "op_count": 1, "ir_hash": "7d38cc3155d8365f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 15300.0, "surface_area": 6890.0, "principal_moments": [3020000.0, 3080000.0, 3720000.0], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["C-channel bracket: base leg 30 mm, vertical leg 35.2 mm, 30 mm wide, 6 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."], "text": "C-channel bracket: base leg 30 mm, vertical leg 35.2 mm, 30 mm wide, 6 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 30, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 35.2, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 30, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 6.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333100 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 30, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 35.2, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 30, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462cad6d_4537", "family": "ribbed", "tier": 2, "seed": 1177333101, "symmetry": "none", "op_count": 3, "ir_hash": "3e5f8519b6d0f4f4", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 10000.0, "surface_area": 6530.0, "principal_moments": [1190000.0, 3790000.0, 4850000.0], "n_faces": 30, "n_edges": 88, "n_vertices": 56}, "dimensions": {"lines": ["Rectangular body, 61.5 \u00d7 32.9 \u00d7 4 mm (W\u00d7D\u00d7H).", "Two ribs, 3 mm thick, 6.9 mm tall.", "Four \u00d83.2 mm holes at the corners, 43.05 \u00d7 23.03 mm spacing."], "text": "Rectangular body, 61.5 \u00d7 32.9 \u00d7 4 mm (W\u00d7D\u00d7H). Two ribs, 3 mm thick, 6.9 mm tall. Four \u00d83.2 mm holes at the corners, 43.05 \u00d7 23.03 mm spacing."}, "params": {"base_w": {"type": "float", "default": 61.5, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 32.9, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 4.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 2, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 6.9, "min": 2.8, "max": 13.8, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 3.0, "min": 1.0, "max": 7.5, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 7.4, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333101 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 61.5, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 32.9, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 2, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 6.9, \"min\": 2.8, \"max\": 13.8, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 1.0, \"max\": 7.5, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 7.4, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"base_w\"] * 0.7, p[\"base_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462cad6e_4538", "family": "lofted", "tier": 1, "seed": 1177333102, "symmetry": "none", "op_count": 2, "ir_hash": "9250673dc570b599", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 29300.0, "surface_area": 7180.0, "principal_moments": [5310000.0, 5310000.0, 7650000.0], "n_faces": 9, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["Lofted body through 2 sections: \u00d850 mm circular section \u2192 6-sided polygon section, 35.2 mm across corners.", "One \u00d815.9 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 2 sections: \u00d850 mm circular section \u2192 6-sided polygon section, 35.2 mm across corners. One \u00d815.9 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 50, "min": 25.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 35.2, "min": 14.1, "max": 60.0, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 25.6, "min": 10.2, "max": 51.2, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_bore_d": {"type": "float", "default": 15.9, "min": 2.0, "max": 28.2, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333102 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 50, \"min\": 25.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 35.2, \"min\": 14.1, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 25.6, \"min\": 10.2, \"max\": 51.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 15.9, \"min\": 2.0, \"max\": 28.2, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .circle(p[\"loft_base\"] / 2)\n        .workplane(offset=p[\"loft_h\"])\n        .polygon(6, p[\"loft_top\"] * 0.5 * 2)\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462cad6f_4539", "family": "plate", "tier": 2, "seed": 1177333103, "symmetry": "none", "op_count": 3, "ir_hash": "6659549173cbdbc7", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 27800.0, "surface_area": 11700.0, "principal_moments": [4920000.0, 24999999.999999996, 29799999.999999996], "n_faces": 14, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 105.09 \u00d7 46.3 \u00d7 6 mm (W\u00d7D\u00d7H).", "Four \u00d88.4 mm holes at the corners, 73.563 \u00d7 32.41 mm spacing.", "Chamfer 1.8 mm on vertical edges."], "text": "Rectangular body, 105.09 \u00d7 46.3 \u00d7 6 mm (W\u00d7D\u00d7H). Four \u00d88.4 mm holes at the corners, 73.563 \u00d7 32.41 mm spacing. Chamfer 1.8 mm on vertical edges."}, "params": {"plate_w": {"type": "float", "default": 105.09, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 46.3, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 6.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 8.4, "min": 2.0, "max": 10.4, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "chamfer_d": {"type": "float", "default": 1.8, "min": 1.2, "max": 2.1, "step": 0.5, "group": "Body", "label": "Chamfer distance (mm)"}, "chamfered": {"type": "bool", "default": true, "group": "Body", "label": "Chamfer edges"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333103 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 105.09, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 46.3, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 2.0, \"max\": 10.4, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"chamfer_d\": {\"type\": 'float', \"default\": 1.8, \"min\": 1.2, \"max\": 2.1, \"step\": 0.5, \"group\": 'Body', \"label\": 'Chamfer distance (mm)'},\n    \"chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Chamfer edges'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"chamfered\"]:\n        result = result.edges('|Z').chamfer(p[\"chamfer_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462cad70_4540", "family": "ribbed", "tier": 2, "seed": 1177333104, "symmetry": "none", "op_count": 3, "ir_hash": "a34658477ff8941d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 27500.0, "surface_area": 21100.0, "principal_moments": [14299999.999999998, 18200000.0, 32099999.999999996], "n_faces": 40, "n_edges": 96, "n_vertices": 64}, "dimensions": {"lines": ["Rectangular body, 90 \u00d7 80.5 \u00d7 3 mm (W\u00d7D\u00d7H).", "Six ribs, 2.2 mm thick, 6.3 mm tall.", "Four \u00d85.3 mm holes at the corners, 63 \u00d7 56.35 mm spacing."], "text": "Rectangular body, 90 \u00d7 80.5 \u00d7 3 mm (W\u00d7D\u00d7H). Six ribs, 2.2 mm thick, 6.3 mm tall. Four \u00d85.3 mm holes at the corners, 63 \u00d7 56.35 mm spacing."}, "params": {"base_w": {"type": "float", "default": 90, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 80.5, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 3.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 6, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 6.3, "min": 2.5, "max": 12.6, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 2.2, "min": 1.0, "max": 5.5, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333104 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 90, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 80.5, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 6, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 6.3, \"min\": 2.5, \"max\": 12.6, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 2.2, \"min\": 1.0, \"max\": 5.5, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"base_w\"] * 0.7, p[\"base_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462cad71_4541", "family": "revolved", "tier": 0, "seed": 1177333105, "symmetry": "radial", "op_count": 1, "ir_hash": "eb54feaa28343e50", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 65900.0, "surface_area": 18000.0, "principal_moments": [12099999.999999998, 47299999.99999999, 47299999.99999999], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d835 mm \u00d7 102.7 mm tall."], "text": "Revolved body, \u00d835 mm \u00d7 102.7 mm tall."}, "params": {"outer_d": {"type": "float", "default": 35, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 102.7, "min": 30.8, "max": 308.1, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333105 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 35, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 102.7, \"min\": 30.8, \"max\": 308.1, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462cad72_4542", "family": "revolved", "tier": 0, "seed": 1177333106, "symmetry": "radial", "op_count": 1, "ir_hash": "87e45a178c2ebc43", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 1150.0, "surface_area": 929.0, "principal_moments": [26100.0, 26100.0, 39000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d815 mm \u00d7 9.8 mm tall."], "text": "Revolved body, \u00d815 mm \u00d7 9.8 mm tall."}, "params": {"outer_d": {"type": "float", "default": 15, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 9.8, "min": 2.9, "max": 29.4, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333106 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 15, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 9.8, \"min\": 2.9, \"max\": 29.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462cad73_4543", "family": "sketched", "tier": 0, "seed": 1177333107, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "c49f816e12f03543", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 37200.0, "surface_area": 6670.0, "principal_moments": [4900000.0, 8710000.0, 9730000.0], "n_faces": 9, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["freeform sketched section (7 segments: 4 straight, 3 curves), ~56.317 \u00d7 34.259 mm, extruded 25 mm thick."], "text": "freeform sketched section (7 segments: 4 straight, 3 curves), ~56.317 \u00d7 34.259 mm, extruded 25 mm thick."}, "params": {"sk_w": {"type": "float", "default": 75, "min": 37.5, "max": 135.0, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 43.36, "min": 21.7, "max": 78.0, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "sk_t": {"type": "float", "default": 25, "min": 10.0, "max": 55.0, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333107 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 75, \"min\": 37.5, \"max\": 135.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 43.36, \"min\": 21.7, \"max\": 78.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"sk_t\": {\"type\": 'float', \"default\": 25, \"min\": 10.0, \"max\": 55.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.3828, p[\"sk_h\"] * -0.0532).lineTo(p[\"sk_w\"] * 0.2816, p[\"sk_h\"] * 0.335).spline([(p[\"sk_w\"] * 0.2816, p[\"sk_h\"] * 0.335), (p[\"sk_w\"] * 0.1095, p[\"sk_h\"] * 0.3892), (p[\"sk_w\"] * -0.0658, p[\"sk_h\"] * 0.3463)]).lineTo(p[\"sk_w\"] * -0.3681, p[\"sk_h\"] * 0.1706).lineTo(p[\"sk_w\"] * -0.2665, p[\"sk_h\"] * -0.2095).bezier([(p[\"sk_w\"] * -0.2665, p[\"sk_h\"] * -0.2095), (p[\"sk_w\"] * -0.1816, p[\"sk_h\"] * -0.356), (p[\"sk_w\"] * -0.0368, p[\"sk_h\"] * -0.4438)]).lineTo(p[\"sk_w\"] * 0.3092, p[\"sk_h\"] * -0.3529).bezier([(p[\"sk_w\"] * 0.3092, p[\"sk_h\"] * -0.3529), (p[\"sk_w\"] * 0.3628, p[\"sk_h\"] * -0.2072), (p[\"sk_w\"] * 0.3828, p[\"sk_h\"] * -0.0532)]).close().extrude(p[\"sk_t\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462cad74_4544", "family": "plate", "tier": 2, "seed": 1177333108, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "10b8ff0e604efd5b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 15800.0, "surface_area": 7450.0, "principal_moments": [2120000.0, 6530000.0, 8550000.0], "n_faces": 22, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 72.62 \u00d7 41.1 \u00d7 6 mm (W\u00d7D\u00d7H).", "Four 12.3 \u00d7 8.4 mm slots at the corners, 50.834 \u00d7 28.77 mm spacing."], "text": "Rectangular body, 72.62 \u00d7 41.1 \u00d7 6 mm (W\u00d7D\u00d7H). Four 12.3 \u00d7 8.4 mm slots at the corners, 50.834 \u00d7 28.77 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 72.62, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 41.1, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 6.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 8.4, "min": 2.0, "max": 9.2, "step": 0.5, "group": "Holes", "label": "Slot width (mm)"}, "hole_slot_len": {"type": "float", "default": 12.3, "min": 12.6, "max": 12.3, "step": 0.5, "group": "Holes", "label": "Slot length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333108 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 72.62, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 41.1, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 2.0, \"max\": 9.2, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Slot width (mm)'},\n    \"hole_slot_len\": {\"type\": 'float', \"default\": 12.3, \"min\": 12.6, \"max\": 12.3, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Slot length (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().slot2D(p[\"hole_slot_len\"], p[\"hole_d\"]).cutThruAll()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462cad75_4545", "family": "revolved", "tier": 1, "seed": 1177333109, "symmetry": "none", "op_count": 1, "ir_hash": "780094cf31ec9cd2", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 16100.0, "surface_area": 6450.0, "principal_moments": [1440000.0, 3250000.0, 3250000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d824.45 mm \u00d7 51.4 mm tall."], "text": "Revolved body, \u00d824.45 mm \u00d7 51.4 mm tall."}, "params": {"outer_d": {"type": "float", "default": 24.45, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 51.4, "min": 15.4, "max": 154.2, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333109 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 24.45, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 51.4, \"min\": 15.4, \"max\": 154.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462cad76_4546", "family": "sketched", "tier": 1, "seed": 1177333110, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "c407844de9c49b80", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 116000.0, "surface_area": 25900.0, "principal_moments": [48799999.99999999, 57299999.99999999, 57299999.99999999], "n_faces": 9, "n_edges": 16, "n_vertices": 9}, "dimensions": {"lines": ["Revolved organic body from a freeform sketched section (8 segments: 5 straight, 1 arc, 2 curves), ~32.264 \u00d7 55 mm half-silhouette."], "text": "Revolved organic body from a freeform sketched section (8 segments: 5 straight, 1 arc, 2 curves), ~32.264 \u00d7 55 mm half-silhouette."}, "params": {"sk_r": {"type": "float", "default": 40.1, "min": 20.1, "max": 72.2, "step": 1.0, "group": "Sketch", "label": "Max radius (mm)"}, "sk_h": {"type": "float", "default": 55, "min": 27.5, "max": 99.0, "step": 1.0, "group": "Sketch", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333110 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_r\": {\"type\": 'float', \"default\": 40.1, \"min\": 20.1, \"max\": 72.2, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Max radius (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 55, \"min\": 27.5, \"max\": 99.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XZ').moveTo(p[\"sk_r\"] * 0.3098, p[\"sk_h\"] * 0.0).lineTo(p[\"sk_r\"] * 0.9121, p[\"sk_h\"] * 0.1022).spline([(p[\"sk_r\"] * 0.9121, p[\"sk_h\"] * 0.1022), (p[\"sk_r\"] * 0.6877, p[\"sk_h\"] * 0.2019), (p[\"sk_r\"] * 0.5252, p[\"sk_h\"] * 0.3016)]).lineTo(p[\"sk_r\"] * 0.9738, p[\"sk_h\"] * 0.3715).threePointArc((p[\"sk_r\"] * 0.6604, p[\"sk_h\"] * 0.3735), (p[\"sk_r\"] * 0.5584, p[\"sk_h\"] * 0.3756)).lineTo(p[\"sk_r\"] * 0.5784, p[\"sk_h\"] * 0.5332).bezier([(p[\"sk_r\"] * 0.5784, p[\"sk_h\"] * 0.5332), (p[\"sk_r\"] * 0.5978, p[\"sk_h\"] * 0.7666), (p[\"sk_r\"] * 0.8279, p[\"sk_h\"] * 1.0)]).lineTo(p[\"sk_r\"] * 0.1692, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.1692, p[\"sk_h\"] * 0.0).close().revolve())\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462cad77_4547", "family": "bracket", "tier": 1, "seed": 1177333111, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "411524656c04bd62", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 25300.0, "surface_area": 9120.0, "principal_moments": [3000000.0, 20400000.0, 20800000.0], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Z-bracket: base leg 55 mm, vertical leg 40.9 mm, top leg 50.3 mm, 24.77 mm wide, 8 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."], "text": "Z-bracket: base leg 55 mm, vertical leg 40.9 mm, top leg 50.3 mm, 24.77 mm wide, 8 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 55, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 40.9, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 24.77, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 8.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 50.3, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 9.9, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333111 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 55, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 40.9, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 24.77, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 50.3, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 9.9, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462cad78_4548", "family": "flanged", "tier": 2, "seed": 1177333112, "symmetry": "none", "op_count": 3, "ir_hash": "b10a8b97d5498f96", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 174000.0, "surface_area": 33000.0, "principal_moments": [118000000.0, 130000000.0, 130000000.0], "n_faces": 26, "n_edges": 57, "n_vertices": 34}, "dimensions": {"lines": ["Revolved body, \u00d856.9 mm \u00d7 64.2 mm tall with \u00d818.7 mm bore, \u00d8105.6 mm \u00d7 4.8 mm flange.", "Eight \u00d86.4 mm holes on a \u00d863.4 mm bolt circle.", "Chamfer 0.5 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d856.9 mm \u00d7 64.2 mm tall with \u00d818.7 mm bore, \u00d8105.6 mm \u00d7 4.8 mm flange. Eight \u00d86.4 mm holes on a \u00d863.4 mm bolt circle. Chamfer 0.5 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 56.9, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 64.2, "min": 19.3, "max": 160.5, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 18.7, "min": 2.0, "max": 39.8, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 105.6, "min": 74.0, "max": 170.7, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 4.8, "min": 1.4, "max": 25.7, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 31.7, "min": 21.1, "max": 47.5, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 8, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}, "end_chamfer": {"type": "float", "default": 0.5, "min": 0.1, "max": 2.0, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333112 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 56.9, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 64.2, \"min\": 19.3, \"max\": 160.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 18.7, \"min\": 2.0, \"max\": 39.8, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 105.6, \"min\": 74.0, \"max\": 170.7, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 4.8, \"min\": 1.4, \"max\": 25.7, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 31.7, \"min\": 21.1, \"max\": 47.5, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.5, \"min\": 0.1, \"max\": 2.0, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462cad79_4549", "family": "enclosure", "tier": 1, "seed": 1177333113, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "5fde864562a0f7ed", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 190000.0, "surface_area": 94600.0, "principal_moments": [396000000.0, 517000000.0, 594000000.0], "n_faces": 11, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 120 \u00d7 93.1 \u00d7 90.1 mm (W\u00d7D\u00d7H).", "Hollowed to 4.1 mm wall thickness, open at top face."], "text": "Rectangular body, 120 \u00d7 93.1 \u00d7 90.1 mm (W\u00d7D\u00d7H). Hollowed to 4.1 mm wall thickness, open at top face."}, "params": {"enc_w": {"type": "float", "default": 120.0, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 93.1, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 90.1, "min": 36.0, "max": 180.2, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 4.1, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333113 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 120.0, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 93.1, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 90.1, \"min\": 36.0, \"max\": 180.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 4.1, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462cad7a_4550", "family": "bracket", "tier": 1, "seed": 1177333114, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "7601be9367b506b2", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 22400.0, "surface_area": 9920.0, "principal_moments": [4230000.0, 27499999.999999996, 29899999.999999996], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Z-bracket: base leg 65 mm, vertical leg 66.3 mm, top leg 49.7 mm, 22.26 mm wide, 6 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."], "text": "Z-bracket: base leg 65 mm, vertical leg 66.3 mm, top leg 49.7 mm, 22.26 mm wide, 6 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 65, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 66.3, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 22.26, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 6.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 49.7, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 8.9, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333114 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 65, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 66.3, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 22.26, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 49.7, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 8.9, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462cad7b_4551", "family": "block", "tier": 1, "seed": 1177333115, "symmetry": "none", "op_count": 2, "ir_hash": "8c50c51ea9689b79", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 96900.0, "surface_area": 22400.0, "principal_moments": [20900000.0, 70300000.0, 80500000.0], "n_faces": 22, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 45 \u00d7 26.4 \u00d7 89.7 mm (W\u00d7D\u00d7H).", "Four 5.2 mm square holes at the corners, 31.5 \u00d7 18.48 mm spacing."], "text": "Rectangular body, 45 \u00d7 26.4 \u00d7 89.7 mm (W\u00d7D\u00d7H). Four 5.2 mm square holes at the corners, 31.5 \u00d7 18.48 mm spacing."}, "params": {"block_w": {"type": "float", "default": 45, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 26.4, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 89.7, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 5.2, "min": 2.0, "max": 7.7, "step": 0.5, "group": "Holes", "label": "Square hole size (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333115 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 45, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 26.4, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 89.7, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.2, \"min\": 2.0, \"max\": 7.7, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Square hole size (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().rect(p[\"hole_d\"], p[\"hole_d\"]).cutThruAll()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462cad7c_4552", "family": "revolved", "tier": 1, "seed": 1177333116, "symmetry": "none", "op_count": 2, "ir_hash": "2aa10f63b42efeee", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 4650.0, "surface_area": 2520.0, "principal_moments": [286000.0, 286000.0, 446000.0], "n_faces": 10, "n_edges": 17, "n_vertices": 10}, "dimensions": {"lines": ["Revolved body, \u00d820 mm \u00d7 12.9 mm tall with \u00d89.2 mm bore, \u00d830.9 mm \u00d7 3.7 mm flange.", "Chamfer 1.2 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d820 mm \u00d7 12.9 mm tall with \u00d89.2 mm bore, \u00d830.9 mm \u00d7 3.7 mm flange. Chamfer 1.2 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 20, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 12.9, "min": 3.9, "max": 38.7, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 9.2, "min": 2.0, "max": 14.0, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 30.9, "min": 24.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 3.7, "min": 1.1, "max": 6.5, "step": 0.5, "group": "Body", "label": "Flange height (mm)"}, "end_chamfer": {"type": "float", "default": 1.2, "min": 0.1, "max": 3.6, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333116 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 20, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 12.9, \"min\": 3.9, \"max\": 38.7, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 9.2, \"min\": 2.0, \"max\": 14.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 30.9, \"min\": 24.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 3.7, \"min\": 1.1, \"max\": 6.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Flange height (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 1.2, \"min\": 0.1, \"max\": 3.6, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462cad7d_4553", "family": "compound", "tier": 1, "seed": 1177333117, "symmetry": "none", "op_count": 2, "ir_hash": "20b6b114780ec912", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 104000.0, "surface_area": 13500.0, "principal_moments": [36000000.0, 36600000.0, 43100000.0], "n_faces": 8, "n_edges": 15, "n_vertices": 10}, "dimensions": {"lines": ["Rectangular body, 49.55 \u00d7 49.9 \u00d7 41.5 mm (W\u00d7D\u00d7H).", "\u00d811 mm circular section attachment, 10 mm long, from right face."], "text": "Rectangular body, 49.55 \u00d7 49.9 \u00d7 41.5 mm (W\u00d7D\u00d7H). \u00d811 mm circular section attachment, 10 mm long, from right face."}, "params": {"block_w": {"type": "float", "default": 49.55, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 49.9, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 41.5, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "spig_d": {"type": "float", "default": 11.0, "min": 4.4, "max": 29.0, "step": 1.0, "group": "Spigot", "label": "Spigot diameter (mm)"}, "spig_len": {"type": "float", "default": 10.0, "min": 3.3, "max": 44.0, "step": 1.0, "group": "Spigot", "label": "Spigot length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333117 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 49.55, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 49.9, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 41.5, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"spig_d\": {\"type\": 'float', \"default\": 11.0, \"min\": 4.4, \"max\": 29.0, \"step\": 1.0, \"group\": 'Spigot', \"label\": 'Spigot diameter (mm)'},\n    \"spig_len\": {\"type\": 'float', \"default\": 10.0, \"min\": 3.3, \"max\": 44.0, \"step\": 1.0, \"group\": 'Spigot', \"label\": 'Spigot length (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"spig_d\"] / 2).extrude(p[\"spig_len\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462cad7e_4554", "family": "revolved", "tier": 1, "seed": 1177333118, "symmetry": "none", "op_count": 1, "ir_hash": "601494e845f5c218", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 281000.0, "surface_area": 40400.0, "principal_moments": [122000000.0, 592000000.0, 592000000.0], "n_faces": 4, "n_edges": 6, "n_vertices": 4}, "dimensions": {"lines": ["Revolved body, \u00d854.06 mm \u00d7 150.6 mm tall with \u00d823.4 mm bore."], "text": "Revolved body, \u00d854.06 mm \u00d7 150.6 mm tall with \u00d823.4 mm bore."}, "params": {"outer_d": {"type": "float", "default": 54.06, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 150.6, "min": 45.2, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 23.4, "min": 2.0, "max": 37.8, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333118 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 54.06, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 150.6, \"min\": 45.2, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 23.4, \"min\": 2.0, \"max\": 37.8, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462cad7f_4555", "family": "bracket", "tier": 1, "seed": 1177333119, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "2bdba6044b9af033", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 9090.0, "surface_area": 5630.0, "principal_moments": [1290000.0, 3610000.0, 3820000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["L-bracket: base leg 50 mm, vertical leg 42.8 mm, 26.32 mm wide, 4 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."], "text": "L-bracket: base leg 50 mm, vertical leg 42.8 mm, 26.32 mm wide, 4 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 50, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 42.8, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 26.32, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 4.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333119 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 50, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 42.8, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 26.32, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462cad80_4556", "family": "flanged", "tier": 1, "seed": 1177333120, "symmetry": "none", "op_count": 2, "ir_hash": "c3b3815adb7b745e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 505000.0, "surface_area": 64000.0, "principal_moments": [737000000.0, 829000000.0, 829000000.0], "n_faces": 12, "n_edges": 27, "n_vertices": 18}, "dimensions": {"lines": ["Revolved body, \u00d876.64 mm \u00d7 96.7 mm tall with \u00d832 mm bore, \u00d8136.7 mm \u00d7 13.6 mm flange.", "Six \u00d83.2 mm holes on a \u00d882 mm bolt circle."], "text": "Revolved body, \u00d876.64 mm \u00d7 96.7 mm tall with \u00d832 mm bore, \u00d8136.7 mm \u00d7 13.6 mm flange. Six \u00d83.2 mm holes on a \u00d882 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 76.64, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 96.7, "min": 29.0, "max": 241.8, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 32.0, "min": 2.0, "max": 53.6, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 136.7, "min": 99.6, "max": 229.9, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 13.6, "min": 4.1, "max": 38.7, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 41.0, "min": 27.3, "max": 61.5, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 6, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333120 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 76.64, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 96.7, \"min\": 29.0, \"max\": 241.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 32.0, \"min\": 2.0, \"max\": 53.6, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 136.7, \"min\": 99.6, \"max\": 229.9, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 13.6, \"min\": 4.1, \"max\": 38.7, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 41.0, \"min\": 27.3, \"max\": 61.5, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462cad81_4557", "family": "revolved", "tier": 2, "seed": 1177333121, "symmetry": "none", "op_count": 2, "ir_hash": "fe758181d840b2ea", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 70000.0, "surface_area": 15500.0, "principal_moments": [15199999.999999998, 44900000.0, 44900000.0], "n_faces": 8, "n_edges": 14, "n_vertices": 8}, "dimensions": {"lines": ["Revolved body, \u00d837.77 mm \u00d7 80.3 mm tall with \u00d817.7 mm bore.", "Chamfer 1.2 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d837.77 mm \u00d7 80.3 mm tall with \u00d817.7 mm bore. Chamfer 1.2 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 37.77, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 80.3, "min": 24.1, "max": 240.9, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 17.7, "min": 2.0, "max": 26.4, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "end_chamfer": {"type": "float", "default": 1.2, "min": 0.1, "max": 3.6, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333121 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 37.77, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 80.3, \"min\": 24.1, \"max\": 240.9, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 17.7, \"min\": 2.0, \"max\": 26.4, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 1.2, \"min\": 0.1, \"max\": 3.6, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462cad82_4558", "family": "flanged", "tier": 3, "seed": 1177333122, "symmetry": "none", "op_count": 3, "ir_hash": "8dd031868a002f09", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 140000.0, "surface_area": 29900.0, "principal_moments": [97399999.99999999, 97399999.99999999, 131000000.0], "n_faces": 18, "n_edges": 37, "n_vertices": 22}, "dimensions": {"lines": ["Revolved body, \u00d851.98 mm \u00d7 50.1 mm tall with \u00d824 mm bore, \u00d8103.9 mm \u00d7 9.2 mm flange.", "Four \u00d88.4 mm holes on a \u00d862.4 mm bolt circle.", "Chamfer 0.4 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d851.98 mm \u00d7 50.1 mm tall with \u00d824 mm bore, \u00d8103.9 mm \u00d7 9.2 mm flange. Four \u00d88.4 mm holes on a \u00d862.4 mm bolt circle. Chamfer 0.4 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 51.98, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 50.1, "min": 15.0, "max": 125.2, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 24.0, "min": 2.0, "max": 36.4, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 103.9, "min": 67.6, "max": 155.9, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 9.2, "min": 2.8, "max": 20.0, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 8.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 31.2, "min": 20.8, "max": 46.8, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 4, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}, "end_chamfer": {"type": "float", "default": 0.4, "min": 0.1, "max": 2.0, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333122 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 51.98, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 50.1, \"min\": 15.0, \"max\": 125.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 24.0, \"min\": 2.0, \"max\": 36.4, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 103.9, \"min\": 67.6, \"max\": 155.9, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 9.2, \"min\": 2.8, \"max\": 20.0, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 31.2, \"min\": 20.8, \"max\": 46.8, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 4, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.4, \"min\": 0.1, \"max\": 2.0, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462cad83_4559", "family": "plate", "tier": 1, "seed": 1177333123, "symmetry": "none", "op_count": 2, "ir_hash": "8876c7b52b3a34a1", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 31800.0, "surface_area": 13000.0, "principal_moments": [7100000.0, 28999999.999999996, 35900000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 105 \u00d7 51.7 \u00d7 6 mm (W\u00d7D\u00d7H).", "Four \u00d86.4 mm holes at the corners, 73.5 \u00d7 36.19 mm spacing."], "text": "Rectangular body, 105 \u00d7 51.7 \u00d7 6 mm (W\u00d7D\u00d7H). Four \u00d86.4 mm holes at the corners, 73.5 \u00d7 36.19 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 105, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 51.7, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 6.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 11.6, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333123 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 105, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 51.7, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 11.6, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462cad84_4560", "family": "gear", "tier": 1, "seed": 1177333124, "symmetry": "none", "op_count": 1, "ir_hash": "ed99114da85e4c9b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 72500.0, "surface_area": 18900.0, "principal_moments": [36400000.0, 36400000.0, 70900000.0], "n_faces": 213, "n_edges": 633, "n_vertices": 422}, "dimensions": {"lines": ["Spur gear, module 2.5 mm, 35 teeth (pitch \u00d887.5 mm), face width 12.4 mm, \u00d812.4 mm bore."], "text": "Spur gear, module 2.5 mm, 35 teeth (pitch \u00d887.5 mm), face width 12.4 mm, \u00d812.4 mm bore."}, "params": {"module": {"type": "float", "default": 2.5, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 35, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 12.4, "min": 5.0, "max": 31.0, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "bore_d": {"type": "float", "default": 12.4, "min": 2.0, "max": 48.8, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333124 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 2.5, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 35, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 12.4, \"min\": 5.0, \"max\": 31.0, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 12.4, \"min\": 2.0, \"max\": 48.8, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462cad85_4561", "family": "block", "tier": 1, "seed": 1177333125, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "8c4cc3bd1ab0c7e3", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 7870.0, "surface_area": 3660.0, "principal_moments": [345000.0, 894000.0, 1060000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 20 \u00d7 12 \u00d7 35 mm (W\u00d7D\u00d7H).", "Four \u00d82.2 mm holes at the corners, 14 \u00d7 8.4 mm spacing."], "text": "Rectangular body, 20 \u00d7 12 \u00d7 35 mm (W\u00d7D\u00d7H). Four \u00d82.2 mm holes at the corners, 14 \u00d7 8.4 mm spacing."}, "params": {"block_w": {"type": "float", "default": 20, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 12.0, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 35.0, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 2.2, "min": 2.0, "max": 2.7, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333125 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 20, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 12.0, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 35.0, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 2.2, \"min\": 2.0, \"max\": 2.7, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462cad86_4562", "family": "lofted", "tier": 2, "seed": 1177333126, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "b51cc106f1a7cb79", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 71100.0, "surface_area": 12400.0, "principal_moments": [21900000.0, 21900000.0, 28499999.999999996], "n_faces": 8, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["Lofted body through 3 sections: 53.79 \u00d7 53.79 mm rectangular section \u2192 46 \u00d7 46 mm rectangular section \u2192 \u00d838.3 mm circular section.", "One \u00d815.5 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 3 sections: 53.79 \u00d7 53.79 mm rectangular section \u2192 46 \u00d7 46 mm rectangular section \u2192 \u00d838.3 mm circular section. One \u00d815.5 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 53.79, "min": 26.9, "max": 86.1, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 38.3, "min": 15.3, "max": 64.5, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 37.5, "min": 15.0, "max": 75.0, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_mid": {"type": "float", "default": 46.0, "min": 19.1, "max": 64.5, "step": 1.0, "group": "Body", "label": "Mid size (mm)"}, "loft_bore_d": {"type": "float", "default": 15.5, "min": 2.0, "max": 30.6, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333126 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 53.79, \"min\": 26.9, \"max\": 86.1, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 38.3, \"min\": 15.3, \"max\": 64.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 37.5, \"min\": 15.0, \"max\": 75.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_mid\": {\"type\": 'float', \"default\": 46.0, \"min\": 19.1, \"max\": 64.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Mid size (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 15.5, \"min\": 2.0, \"max\": 30.6, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .rect(p[\"loft_base\"], p[\"loft_base\"])\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .rect(p[\"loft_mid\"], p[\"loft_mid\"])\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .circle(p[\"loft_top\"] / 2)\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462cad87_4563", "family": "revolved", "tier": 1, "seed": 1177333127, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "c90573c1fd2a0461", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 209000.0, "surface_area": 31200.0, "principal_moments": [149000000.0, 161000000.0, 161000000.0], "n_faces": 5, "n_edges": 8, "n_vertices": 5}, "dimensions": {"lines": ["Revolved body, \u00d869.08 mm \u00d7 83.6 mm tall.", "Chamfer 1.1 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d869.08 mm \u00d7 83.6 mm tall. Chamfer 1.1 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 69.08, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 83.6, "min": 25.1, "max": 250.8, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "end_chamfer": {"type": "float", "default": 1.1, "min": 0.1, "max": 3.3, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333127 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 69.08, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 83.6, \"min\": 25.1, \"max\": 250.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 1.1, \"min\": 0.1, \"max\": 3.3, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462cad88_4564", "family": "plate", "tier": 1, "seed": 1177333128, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "b33e48a1b51d23bf", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 41600.0, "surface_area": 12000.0, "principal_moments": [6900000.0, 33199999.999999996, 39400000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 97.98 \u00d7 43.8 \u00d7 10 mm (W\u00d7D\u00d7H).", "Four \u00d86.4 mm holes at the corners, 68.586 \u00d7 30.66 mm spacing."], "text": "Rectangular body, 97.98 \u00d7 43.8 \u00d7 10 mm (W\u00d7D\u00d7H). Four \u00d86.4 mm holes at the corners, 68.586 \u00d7 30.66 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 97.98, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 43.8, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 9.9, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333128 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 97.98, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 43.8, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 9.9, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462cad89_4565", "family": "tapped", "tier": 1, "seed": 1177333129, "symmetry": "none", "op_count": 1, "ir_hash": "b3f782e292e94760", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 90100.0, "surface_area": 21100.0, "principal_moments": [31399999.999999996, 40800000.0, 62499999.99999999], "n_faces": 778, "n_edges": 2224, "n_vertices": 1448}, "dimensions": {"lines": ["Four M16x2 tapped holes in a plate."], "text": "Four M16x2 tapped holes in a plate."}, "params": {"major_d": {"type": "float", "default": 16.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 2.0, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 25.6, "min": 19.2, "max": 46.1, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "plate_w": {"type": "float", "default": 70, "min": 42.0, "max": 112.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 60.2, "min": 36.1, "max": 96.3, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333129 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 16.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 2.0, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 25.6, \"min\": 19.2, \"max\": 46.1, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"plate_w\": {\"type\": 'float', \"default\": 70, \"min\": 42.0, \"max\": 112.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 60.2, \"min\": 36.1, \"max\": 96.3, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n}\n\n\ndef build(p):\n\n    _W, _D, _H = p[\"plate_w\"], p[\"plate_d\"], p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Box(_W, _D, _H)\n    _sx, _sy = p[\"plate_w\"] * 0.6, p[\"plate_d\"] * 0.6\n    _locs = [(_xx, _yy) for _xx in (-_sx / 2, _sx / 2) for _yy in (-_sy / 2, _sy / 2)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462cad8a_4566", "family": "revolved", "tier": 1, "seed": 1177333130, "symmetry": "radial", "op_count": 1, "ir_hash": "3a022a2408cd6b32", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 297000.0, "surface_area": 52400.0, "principal_moments": [340000000.0, 505000000.0, 505000000.0], "n_faces": 6, "n_edges": 9, "n_vertices": 6}, "dimensions": {"lines": ["Revolved body, \u00d855 mm \u00d7 108.1 mm tall with \u00d830.2 mm bore, \u00d8118.8 mm \u00d7 13.5 mm flange."], "text": "Revolved body, \u00d855 mm \u00d7 108.1 mm tall with \u00d830.2 mm bore, \u00d8118.8 mm \u00d7 13.5 mm flange."}, "params": {"outer_d": {"type": "float", "default": 55, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 108.1, "min": 32.4, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 30.2, "min": 2.0, "max": 38.5, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 118.8, "min": 66.0, "max": 165.0, "step": 1.0, "group": "Body", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 13.5, "min": 4.0, "max": 54.0, "step": 0.5, "group": "Body", "label": "Flange height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333130 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 55, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 108.1, \"min\": 32.4, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 30.2, \"min\": 2.0, \"max\": 38.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 118.8, \"min\": 66.0, \"max\": 165.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 13.5, \"min\": 4.0, \"max\": 54.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Flange height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462cad8b_4567", "family": "plate", "tier": 0, "seed": 1177333131, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "3bd036a57090c899", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 3560.0, "surface_area": 2810.0, "principal_moments": [169000.0, 743000.0, 907000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 50 \u00d7 23.7 \u00d7 3 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 50 \u00d7 23.7 \u00d7 3 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 50, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 23.7, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 3.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333131 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 50, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 23.7, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 3.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462cad8c_4568", "family": "ribbed", "tier": 1, "seed": 1177333132, "symmetry": "none", "op_count": 2, "ir_hash": "3a54e9db55f95649", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 7160.0, "surface_area": 3750.0, "principal_moments": [560000.0, 903000.0, 1020000.0], "n_faces": 22, "n_edges": 52, "n_vertices": 32}, "dimensions": {"lines": ["Rectangular body, 30 \u00d7 16.9 \u00d7 10 mm (W\u00d7D\u00d7H).", "Two ribs, 2.7 mm thick, 16.1 mm tall."], "text": "Rectangular body, 30 \u00d7 16.9 \u00d7 10 mm (W\u00d7D\u00d7H). Two ribs, 2.7 mm thick, 16.1 mm tall."}, "params": {"base_w": {"type": "float", "default": 30.0, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 16.9, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 10.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 2, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 16.1, "min": 6.4, "max": 32.2, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 2.7, "min": 1.0, "max": 6.8, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333132 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 30.0, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 16.9, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 2, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 16.1, \"min\": 6.4, \"max\": 32.2, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 2.7, \"min\": 1.0, \"max\": 6.8, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462cad8d_4569", "family": "bracket", "tier": 1, "seed": 1177333133, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "8dab7f8fdebd7b7f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 21000.0, "surface_area": 9750.0, "principal_moments": [3030000.0, 35700000.0, 37500000.0], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Z-bracket: base leg 75 mm, vertical leg 50.4 mm, top leg 77.3 mm, 18.67 mm wide, 6 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."], "text": "Z-bracket: base leg 75 mm, vertical leg 50.4 mm, top leg 77.3 mm, 18.67 mm wide, 6 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 75, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 50.4, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 18.67, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 6.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 77.3, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 7.5, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333133 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 75, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 50.4, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 18.67, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 77.3, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 7.5, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462cad8e_4570", "family": "swept", "tier": 1, "seed": 1177333134, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "afa6f71814b50cfe", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 1540.0, "surface_area": 1390.0, "principal_moments": [56600.0, 518000.0, 566000.0], "n_faces": 3, "n_edges": 3, "n_vertices": 2}, "dimensions": {"lines": ["\u00d86.4 mm circular section swept along a curved path, ~60 mm span."], "text": "\u00d86.4 mm circular section swept along a curved path, ~60 mm span."}, "params": {"path_w": {"type": "float", "default": 57.25, "min": 28.6, "max": 103.0, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 60, "min": 30.0, "max": 108.0, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_d": {"type": "float", "default": 6.4, "min": 3.2, "max": 11.5, "step": 1.0, "group": "Section", "label": "Section diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333134 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 57.25, \"min\": 28.6, \"max\": 103.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 60, \"min\": 30.0, \"max\": 108.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.2, \"max\": 11.5, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.1461, p[\"path_h\"] * 0.309), (p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.4092), (p[\"path_w\"] * 0.0248, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').circle(p[\"sweep_d\"] / 2).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462cad8f_4571", "family": "gear", "tier": 2, "seed": 1177333135, "symmetry": "none", "op_count": 1, "ir_hash": "63d06d0473541221", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 163000.0, "surface_area": 30600.0, "principal_moments": [122000000.0, 122000000.0, 233000000.0], "n_faces": 275, "n_edges": 819, "n_vertices": 546}, "dimensions": {"lines": ["Helical gear, module 3 mm, 34 teeth (pitch \u00d8102 mm), face width 19.6 mm, 16.9\u00b0 helix, \u00d818.4 mm bore."], "text": "Helical gear, module 3 mm, 34 teeth (pitch \u00d8102 mm), face width 19.6 mm, 16.9\u00b0 helix, \u00d818.4 mm bore."}, "params": {"module": {"type": "float", "default": 3.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 34, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 19.6, "min": 7.8, "max": 49.0, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "helix_angle": {"type": "float", "default": 16.9, "min": 5.0, "max": 40.0, "step": 1.0, "group": "Gear", "label": "Helix angle (deg)"}, "profile_shift": {"type": "float", "default": -0.25, "min": -0.5, "max": 0.7, "step": 0.05, "group": "Gear", "label": "Profile shift"}, "root_fillet": {"type": "float", "default": 0.42, "min": 0.0, "max": 1.5, "step": 0.05, "group": "Gear", "label": "Root fillet (mm)"}, "bore_d": {"type": "float", "default": 18.4, "min": 2.0, "max": 56.7, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333135 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 3.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 34, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 19.6, \"min\": 7.8, \"max\": 49.0, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"helix_angle\": {\"type\": 'float', \"default\": 16.9, \"min\": 5.0, \"max\": 40.0, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Helix angle (deg)'},\n    \"profile_shift\": {\"type\": 'float', \"default\": -0.25, \"min\": -0.5, \"max\": 0.7, \"step\": 0.05, \"group\": 'Gear', \"label\": 'Profile shift'},\n    \"root_fillet\": {\"type\": 'float', \"default\": 0.42, \"min\": 0.0, \"max\": 1.5, \"step\": 0.05, \"group\": 'Gear', \"label\": 'Root fillet (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 18.4, \"min\": 2.0, \"max\": 56.7, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.HelicalGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"], helix_angle=math.radians(p[\"helix_angle\"]), herringbone=False, profile_shift=p[\"profile_shift\"], root_fillet=p[\"root_fillet\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462cad90_4572", "family": "plate", "tier": 2, "seed": 1177333136, "symmetry": "none", "op_count": 3, "ir_hash": "a56bfadf808e0659", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 104000.0, "surface_area": 23500.0, "principal_moments": [54099999.99999999, 113000000.0, 165000000.0], "n_faces": 14, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 115 \u00d7 78.9 \u00d7 12 mm (W\u00d7D\u00d7H).", "Four \u00d810.5 mm holes at the corners, 80.5 \u00d7 55.23 mm spacing.", "Chamfer 3.7 mm on vertical edges."], "text": "Rectangular body, 115 \u00d7 78.9 \u00d7 12 mm (W\u00d7D\u00d7H). Four \u00d810.5 mm holes at the corners, 80.5 \u00d7 55.23 mm spacing. Chamfer 3.7 mm on vertical edges."}, "params": {"plate_w": {"type": "float", "default": 115, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 78.9, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 10.5, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "chamfer_d": {"type": "float", "default": 3.7, "min": 3.0, "max": 4.9, "step": 0.5, "group": "Body", "label": "Chamfer distance (mm)"}, "chamfered": {"type": "bool", "default": true, "group": "Body", "label": "Chamfer edges"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333136 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 115, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 78.9, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 10.5, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"chamfer_d\": {\"type\": 'float', \"default\": 3.7, \"min\": 3.0, \"max\": 4.9, \"step\": 0.5, \"group\": 'Body', \"label\": 'Chamfer distance (mm)'},\n    \"chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Chamfer edges'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"chamfered\"]:\n        result = result.edges('|Z').chamfer(p[\"chamfer_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462cad92_4574", "family": "bracket", "tier": 1, "seed": 1177333138, "symmetry": "none", "op_count": 1, "ir_hash": "51b64714c8889c39", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 19500.0, "surface_area": 14400.0, "principal_moments": [7260000.0, 22799999.999999996, 25299999.999999996], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["C-channel bracket: base leg 80 mm, vertical leg 49.6 mm, 37.87 mm wide, 3 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."], "text": "C-channel bracket: base leg 80 mm, vertical leg 49.6 mm, 37.87 mm wide, 3 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 80, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 49.6, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 37.87, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 3.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333138 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 80, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 49.6, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 37.87, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462cad93_4575", "family": "compound", "tier": 3, "seed": 1177333139, "symmetry": "none", "op_count": 7, "ir_hash": "944679f6f91d2117", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 170000.0, "surface_area": 25900.0, "principal_moments": [83500000.0, 90900000.0, 133000000.0], "n_faces": 28, "n_edges": 66, "n_vertices": 42}, "dimensions": {"lines": ["Rectangular body, 65 \u00d7 68.8 \u00d7 38.3 mm (W\u00d7D\u00d7H).", "\u00d812.5 mm circular section attachment, 14.6 mm long, from front face with a \u00d87 mm bore.", "\u00d812.5 mm circular section attachment, 14.6 mm long, from left face with a \u00d87 mm bore.", "\u00d812.5 mm circular section attachment, 14.6 mm long, from back face with a \u00d87 mm bore.", "\u00d812.5 mm circular section attachment, 14.6 mm long, from right face with a \u00d87 mm bore.", "Four \u00d83.2 mm holes at the corners, 45.5 \u00d7 48.16 mm spacing.", "Fillet radius 3.422 mm on vertical edges."], "text": "Rectangular body, 65 \u00d7 68.8 \u00d7 38.3 mm (W\u00d7D\u00d7H). \u00d812.5 mm circular section attachment, 14.6 mm long, from front face with a \u00d87 mm bore. \u00d812.5 mm circular section attachment, 14.6 mm long, from left face with a \u00d87 mm bore. \u00d812.5 mm circular section attachment, 14.6 mm long, from back face with a \u00d87 mm bore. \u00d812.5 mm circular section attachment, 14.6 mm long, from right face with a \u00d87 mm bore. Four \u00d83.2 mm holes at the corners, 45.5 \u00d7 48.16 mm spacing. Fillet radius 3.422 mm on vertical edges."}, "params": {"block_w": {"type": "float", "default": 65, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body width (mm)"}, "block_d": {"type": "float", "default": 68.8, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body depth (mm)"}, "block_h": {"type": "float", "default": 38.3, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body height (mm)"}, "port_d": {"type": "float", "default": 12.5, "min": 5.0, "max": 17.2, "step": 1.0, "group": "Ports", "label": "Ports diameter (mm)"}, "port_len": {"type": "float", "default": 14.6, "min": 3.1, "max": 37.5, "step": 1.0, "group": "Ports", "label": "Port boss length (mm)"}, "port_bore": {"type": "float", "default": 7.0, "min": 2.0, "max": 9.0, "step": 0.5, "group": "Ports", "label": "Port bore diameter (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333139 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 65, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 68.8, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 38.3, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body height (mm)'},\n    \"port_d\": {\"type\": 'float', \"default\": 12.5, \"min\": 5.0, \"max\": 17.2, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Ports diameter (mm)'},\n    \"port_len\": {\"type\": 'float', \"default\": 14.6, \"min\": 3.1, \"max\": 37.5, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Port boss length (mm)'},\n    \"port_bore\": {\"type\": 'float', \"default\": 7.0, \"min\": 2.0, \"max\": 9.0, \"step\": 0.5, \"group\": 'Ports', \"label\": 'Port bore diameter (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"block_w\"], p[\"block_d\"]) * 0.05264211664616063)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462cad94_4576", "family": "flanged", "tier": 1, "seed": 1177333140, "symmetry": "radial", "op_count": 2, "ir_hash": "d80b6c137228c3fe", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 17900.0, "surface_area": 8060.0, "principal_moments": [3580000.0, 3580000.0, 3600000.0], "n_faces": 14, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["Revolved body, \u00d825 mm \u00d7 31.9 mm tall with \u00d812.2 mm bore, \u00d850.4 mm \u00d7 4.3 mm flange.", "Eight \u00d84.3 mm holes on a \u00d830.2 mm bolt circle."], "text": "Revolved body, \u00d825 mm \u00d7 31.9 mm tall with \u00d812.2 mm bore, \u00d850.4 mm \u00d7 4.3 mm flange. Eight \u00d84.3 mm holes on a \u00d830.2 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 25, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 31.9, "min": 9.6, "max": 79.8, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 12.2, "min": 2.0, "max": 17.5, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 50.4, "min": 32.5, "max": 75.0, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 4.3, "min": 1.3, "max": 12.8, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 15.1, "min": 10.1, "max": 22.7, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 8, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333140 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 25, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 31.9, \"min\": 9.6, \"max\": 79.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 12.2, \"min\": 2.0, \"max\": 17.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 50.4, \"min\": 32.5, \"max\": 75.0, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 4.3, \"min\": 1.3, \"max\": 12.8, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 15.1, \"min\": 10.1, \"max\": 22.7, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462cad95_4577", "family": "profiled", "tier": 0, "seed": 1177333141, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "2ed75c454699f076", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 128000.0, "surface_area": 32100.0, "principal_moments": [28499999.999999996, 321000000.0, 321000000.0], "n_faces": 4, "n_edges": 6, "n_vertices": 4}, "dimensions": {"lines": ["Revolved body, \u00d837.04 mm \u00d7 169.7 mm tall with \u00d820.3 mm bore."], "text": "Revolved body, \u00d837.04 mm \u00d7 169.7 mm tall with \u00d820.3 mm bore."}, "params": {"outer_d": {"type": "float", "default": 37.04, "min": 18.5, "max": 74.1, "step": 1.0, "group": "Profile", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 169.7, "min": 50.9, "max": 509.1, "step": 5.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 20.3, "min": 2.0, "max": 29.6, "step": 0.5, "group": "Profile", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333141 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 37.04, \"min\": 18.5, \"max\": 74.1, \"step\": 1.0, \"group\": 'Profile', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 169.7, \"min\": 50.9, \"max\": 509.1, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 20.3, \"min\": 2.0, \"max\": 29.6, \"step\": 0.5, \"group\": 'Profile', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462cad97_4579", "family": "compound", "tier": 1, "seed": 1177333143, "symmetry": "none", "op_count": 2, "ir_hash": "cd19b99808ebc862", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 40500.0, "surface_area": 8560.0, "principal_moments": [7800000.0, 8320000.0, 9290000.0], "n_faces": 14, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["Rectangular body, 35.92 \u00d7 29.8 \u00d7 38 mm (W\u00d7D\u00d7H).", "6-sided polygon section, 14.6 mm across corners attachment, 12.1 mm long, from back face with a \u00d87.5 mm bore."], "text": "Rectangular body, 35.92 \u00d7 29.8 \u00d7 38 mm (W\u00d7D\u00d7H). 6-sided polygon section, 14.6 mm across corners attachment, 12.1 mm long, from back face with a \u00d87.5 mm bore."}, "params": {"block_w": {"type": "float", "default": 35.92, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 29.8, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 38.0, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "spig_sides": {"type": "int", "default": 6, "min": 3, "max": 8, "step": 1, "group": "Spigot", "label": "Spigot sides"}, "spig_r": {"type": "float", "default": 7.3, "min": 3.6, "max": 12.6, "step": 1.0, "group": "Spigot", "label": "Spigot circumradius (mm)"}, "spig_len": {"type": "float", "default": 12.1, "min": 3.8, "max": 50.6, "step": 1.0, "group": "Spigot", "label": "Spigot length (mm)"}, "spig_bore": {"type": "float", "default": 7.5, "min": 2.0, "max": 9.1, "step": 0.5, "group": "Spigot", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333143 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 35.92, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 29.8, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 38.0, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"spig_sides\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Spigot', \"label\": 'Spigot sides'},\n    \"spig_r\": {\"type\": 'float', \"default\": 7.3, \"min\": 3.6, \"max\": 12.6, \"step\": 1.0, \"group\": 'Spigot', \"label\": 'Spigot circumradius (mm)'},\n    \"spig_len\": {\"type\": 'float', \"default\": 12.1, \"min\": 3.8, \"max\": 50.6, \"step\": 1.0, \"group\": 'Spigot', \"label\": 'Spigot length (mm)'},\n    \"spig_bore\": {\"type\": 'float', \"default\": 7.5, \"min\": 2.0, \"max\": 9.1, \"step\": 0.5, \"group\": 'Spigot', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"spig_sides\"], p[\"spig_r\"] * 2).extrude(p[\"spig_len\"])\n    )\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"spig_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462cad98_4580", "family": "sketched", "tier": 1, "seed": 1177333144, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "b9c5f0d89fb8d7fe", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 42300.0, "surface_area": 8250.0, "principal_moments": [6810000.0, 10900000.0, 11399999.999999998], "n_faces": 7, "n_edges": 15, "n_vertices": 10}, "dimensions": {"lines": ["freeform sketched section (4 segments: 3 straight, 1 arc), ~59.092 \u00d7 38.938 mm, extruded 30 mm thick.", "One \u00d88.4 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "freeform sketched section (4 segments: 3 straight, 1 arc), ~59.092 \u00d7 38.938 mm, extruded 30 mm thick. One \u00d88.4 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"sk_w": {"type": "float", "default": 79.65, "min": 39.8, "max": 143.4, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 54.85, "min": 27.4, "max": 98.7, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "sk_t": {"type": "float", "default": 30.0, "min": 12.0, "max": 66.0, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "sk_hole_d": {"type": "float", "default": 8.4, "min": 2.0, "max": 16.8, "step": 0.5, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333144 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 79.65, \"min\": 39.8, \"max\": 143.4, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 54.85, \"min\": 27.4, \"max\": 98.7, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"sk_t\": {\"type\": 'float', \"default\": 30.0, \"min\": 12.0, \"max\": 66.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"sk_hole_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 2.0, \"max\": 16.8, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.4461, p[\"sk_h\"] * -0.1413).lineTo(p[\"sk_w\"] * 0.1966, p[\"sk_h\"] * 0.3529).lineTo(p[\"sk_w\"] * -0.2958, p[\"sk_h\"] * 0.1808).lineTo(p[\"sk_w\"] * -0.1454, p[\"sk_h\"] * -0.357).threePointArc((p[\"sk_w\"] * 0.1652, p[\"sk_h\"] * -0.2875), (p[\"sk_w\"] * 0.4461, p[\"sk_h\"] * -0.1413)).close().extrude(p[\"sk_t\"]))\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"sk_hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462cad9a_4582", "family": "sketched", "tier": 1, "seed": 1177333146, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "da20b37249a5108c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 23400.0, "surface_area": 5310.0, "principal_moments": [2670000.0, 3660000.0, 4770000.0], "n_faces": 9, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["freeform sketched section (6 segments: 3 straight, 1 arc, 2 curves), ~39.159 \u00d7 40.958 mm, extruded 20 mm thick.", "One \u00d86.4 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "freeform sketched section (6 segments: 3 straight, 1 arc, 2 curves), ~39.159 \u00d7 40.958 mm, extruded 20 mm thick. One \u00d86.4 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"sk_w": {"type": "float", "default": 49.25, "min": 24.6, "max": 88.7, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 55, "min": 27.5, "max": 99.0, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "sk_t": {"type": "float", "default": 20, "min": 8.0, "max": 44.0, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "sk_hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 12.8, "step": 0.5, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333146 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 49.25, \"min\": 24.6, \"max\": 88.7, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 55, \"min\": 27.5, \"max\": 99.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"sk_t\": {\"type\": 'float', \"default\": 20, \"min\": 8.0, \"max\": 44.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"sk_hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 12.8, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.3827, p[\"sk_h\"] * 0.0625).spline([(p[\"sk_w\"] * 0.3827, p[\"sk_h\"] * 0.0625), (p[\"sk_w\"] * 0.3323, p[\"sk_h\"] * 0.2099), (p[\"sk_w\"] * 0.2189, p[\"sk_h\"] * 0.3166)]).threePointArc((p[\"sk_w\"] * -0.0168, p[\"sk_h\"] * 0.3617), (p[\"sk_w\"] * -0.2352, p[\"sk_h\"] * 0.2529)).lineTo(p[\"sk_w\"] * -0.4124, p[\"sk_h\"] * 0.1021).lineTo(p[\"sk_w\"] * -0.1088, p[\"sk_h\"] * -0.4281).spline([(p[\"sk_w\"] * -0.1088, p[\"sk_h\"] * -0.4281), (p[\"sk_w\"] * 0.1124, p[\"sk_h\"] * -0.4111), (p[\"sk_w\"] * 0.2941, p[\"sk_h\"] * -0.2837)]).lineTo(p[\"sk_w\"] * 0.3827, p[\"sk_h\"] * 0.0625).close().extrude(p[\"sk_t\"]))\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"sk_hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462cad9b_4583", "family": "plate", "tier": 0, "seed": 1177333147, "symmetry": "radial", "op_count": 1, "ir_hash": "db9e16e4dcd306ed", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 1970.0, "surface_area": 1650.0, "principal_moments": [45600.0, 264000.0, 307000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 40 \u00d7 16.4 \u00d7 3 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 40 \u00d7 16.4 \u00d7 3 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 40, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 16.4, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 3.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333147 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 40, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 16.4, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 3.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462cad9c_4584", "family": "bracket", "tier": 1, "seed": 1177333148, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "d263ebb1db6a0fbc", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 10200.0, "surface_area": 7780.0, "principal_moments": [2100000.0, 7200000.0, 7900000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["L-bracket: base leg 70 mm, vertical leg 53.4 mm, 28.53 mm wide, 3 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."], "text": "L-bracket: base leg 70 mm, vertical leg 53.4 mm, 28.53 mm wide, 3 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 70, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 53.4, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 28.53, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 3.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333148 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 70, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 53.4, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 28.53, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462cad9d_4585", "family": "bracket", "tier": 2, "seed": 1177333149, "symmetry": "none", "op_count": 1, "ir_hash": "90006801df9743e7", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 51200.0, "surface_area": 19600.0, "principal_moments": [22799999.999999996, 52599999.99999999, 53799999.99999999], "n_faces": 15, "n_edges": 49, "n_vertices": 30}, "dimensions": {"lines": ["L-bracket: base leg 75 mm, vertical leg 75.6 mm, 55 mm wide, 6 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg; 6.3 mm corner gusset."], "text": "L-bracket: base leg 75 mm, vertical leg 75.6 mm, 55 mm wide, 6 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg; 6.3 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 75, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 75.6, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 55, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 6.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 6.3, "min": 3.0, "max": 18.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333149 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 75, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 75.6, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 55, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 6.3, \"min\": 3.0, \"max\": 18.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462cad9e_4586", "family": "lofted", "tier": 1, "seed": 1177333150, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "c82bbb809bb6c8f6", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 44400.0, "surface_area": 8850.0, "principal_moments": [8480000.0, 11599999.999999998, 11599999.999999998], "n_faces": 8, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["Lofted body through 2 sections: \u00d845 mm circular section \u2192 23.3 \u00d7 23.3 mm rectangular section.", "One \u00d89.5 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 2 sections: \u00d845 mm circular section \u2192 23.3 \u00d7 23.3 mm rectangular section. One \u00d89.5 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 45, "min": 22.5, "max": 72.0, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 23.3, "min": 9.3, "max": 54.0, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 46.5, "min": 18.6, "max": 93.0, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_bore_d": {"type": "float", "default": 9.5, "min": 2.0, "max": 18.6, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333150 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 45, \"min\": 22.5, \"max\": 72.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 23.3, \"min\": 9.3, \"max\": 54.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 46.5, \"min\": 18.6, \"max\": 93.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 9.5, \"min\": 2.0, \"max\": 18.6, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .circle(p[\"loft_base\"] / 2)\n        .workplane(offset=p[\"loft_h\"])\n        .rect(p[\"loft_top\"], p[\"loft_top\"])\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462cad9f_4587", "family": "compound", "tier": 1, "seed": 1177333151, "symmetry": "none", "op_count": 3, "ir_hash": "db105d7a9ba1960b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 288000.0, "surface_area": 30100.0, "principal_moments": [194000000.0, 210000000.0, 294000000.0], "n_faces": 22, "n_edges": 58, "n_vertices": 38}, "dimensions": {"lines": ["Rectangular body, 80 \u00d7 75.7 \u00d7 47.9 mm (W\u00d7D\u00d7H).", "5-sided polygon section, 14.2 mm across corners attachment, 5.9 mm long, from front face with a \u00d85.2 mm bore.", "5-sided polygon section, 14.2 mm across corners attachment, 5.9 mm long, from right face with a \u00d85.2 mm bore."], "text": "Rectangular body, 80 \u00d7 75.7 \u00d7 47.9 mm (W\u00d7D\u00d7H). 5-sided polygon section, 14.2 mm across corners attachment, 5.9 mm long, from front face with a \u00d85.2 mm bore. 5-sided polygon section, 14.2 mm across corners attachment, 5.9 mm long, from right face with a \u00d85.2 mm bore."}, "params": {"block_w": {"type": "float", "default": 80, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body width (mm)"}, "block_d": {"type": "float", "default": 75.7, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body depth (mm)"}, "block_h": {"type": "float", "default": 47.9, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body height (mm)"}, "port_sides": {"type": "int", "default": 5, "min": 3, "max": 8, "step": 1, "group": "Ports", "label": "Ports sides"}, "port_r": {"type": "float", "default": 7.1, "min": 3.5, "max": 10.8, "step": 1.0, "group": "Ports", "label": "Ports circumradius (mm)"}, "port_len": {"type": "float", "default": 5.9, "min": 2.9, "max": 34.5, "step": 1.0, "group": "Ports", "label": "Port boss length (mm)"}, "port_bore": {"type": "float", "default": 5.2, "min": 2.0, "max": 8.3, "step": 0.5, "group": "Ports", "label": "Port bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333151 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 80, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 75.7, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 47.9, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body height (mm)'},\n    \"port_sides\": {\"type\": 'int', \"default\": 5, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Ports', \"label\": 'Ports sides'},\n    \"port_r\": {\"type\": 'float', \"default\": 7.1, \"min\": 3.5, \"max\": 10.8, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Ports circumradius (mm)'},\n    \"port_len\": {\"type\": 'float', \"default\": 5.9, \"min\": 2.9, \"max\": 34.5, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Port boss length (mm)'},\n    \"port_bore\": {\"type\": 'float', \"default\": 5.2, \"min\": 2.0, \"max\": 8.3, \"step\": 0.5, \"group\": 'Ports', \"label\": 'Port bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"port_sides\"], p[\"port_r\"] * 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"port_sides\"], p[\"port_r\"] * 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462cada0_4588", "family": "flanged", "tier": 1, "seed": 1177333152, "symmetry": "radial", "op_count": 2, "ir_hash": "d09539f1320cddb7", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 1130000.0, "surface_area": 139000.0, "principal_moments": [3550000000.0, 3550000000.0, 4070000000.0], "n_faces": 12, "n_edges": 27, "n_vertices": 18}, "dimensions": {"lines": ["Revolved body, \u00d8100 mm \u00d7 114.7 mm tall with \u00d838.5 mm bore, \u00d8234.3 mm \u00d7 10.4 mm flange.", "Six \u00d85.3 mm holes on a \u00d8140.6 mm bolt circle."], "text": "Revolved body, \u00d8100 mm \u00d7 114.7 mm tall with \u00d838.5 mm bore, \u00d8234.3 mm \u00d7 10.4 mm flange. Six \u00d85.3 mm holes on a \u00d8140.6 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 100.0, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 114.7, "min": 34.4, "max": 286.8, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 38.5, "min": 2.0, "max": 70.0, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 234.3, "min": 130.0, "max": 300.0, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 10.4, "min": 3.1, "max": 45.9, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 70.3, "min": 46.9, "max": 105.4, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 6, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333152 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 100.0, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 114.7, \"min\": 34.4, \"max\": 286.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 38.5, \"min\": 2.0, \"max\": 70.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 234.3, \"min\": 130.0, \"max\": 300.0, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 10.4, \"min\": 3.1, \"max\": 45.9, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 70.3, \"min\": 46.9, \"max\": 105.4, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462cada1_4589", "family": "swept", "tier": 2, "seed": 1177333153, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "77c510017335441f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 5230.0, "surface_area": 2040.0, "principal_moments": [127000.0, 962000.0, 992000.0], "n_faces": 3, "n_edges": 3, "n_vertices": 2}, "dimensions": {"lines": ["\u00d812.2 mm circular section swept along a curved path, ~41.24 mm span."], "text": "\u00d812.2 mm circular section swept along a curved path, ~41.24 mm span."}, "params": {"path_w": {"type": "float", "default": 40.14, "min": 20.1, "max": 72.3, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 41.24, "min": 20.6, "max": 74.2, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_d": {"type": "float", "default": 12.2, "min": 6.1, "max": 22.0, "step": 1.0, "group": "Section", "label": "Section diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333153 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 40.14, \"min\": 20.1, \"max\": 72.3, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 41.24, \"min\": 20.6, \"max\": 74.2, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_d\": {\"type\": 'float', \"default\": 12.2, \"min\": 6.1, \"max\": 22.0, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.479), (p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.7639), (p[\"path_w\"] * 0.3248, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').circle(p[\"sweep_d\"] / 2).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462cada2_4590", "family": "plate", "tier": 1, "seed": 1177333154, "symmetry": "none", "op_count": 2, "ir_hash": "7dce97d8b9fe7cd7", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 44800.0, "surface_area": 12300.0, "principal_moments": [16599999.999999998, 18400000.0, 34300000.0], "n_faces": 11, "n_edges": 27, "n_vertices": 18}, "dimensions": {"lines": ["Rectangular body, 69.43 \u00d7 65.6 \u00d7 10 mm (W\u00d7D\u00d7H).", "Five \u00d84.3 mm holes in two staggered rows, 26 \u00d7 22.5 mm pitch."], "text": "Rectangular body, 69.43 \u00d7 65.6 \u00d7 10 mm (W\u00d7D\u00d7H). Five \u00d84.3 mm holes in two staggered rows, 26 \u00d7 22.5 mm pitch."}, "params": {"plate_w": {"type": "float", "default": 69.43, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 65.6, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 6.6, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 3, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333154 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 69.43, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 65.6, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 6.6, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 3, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 26.0\n    _ssy = 22.5\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462cada3_4591", "family": "threaded", "tier": 3, "seed": 1177333155, "symmetry": "none", "op_count": 1, "ir_hash": "2539ea8d2b3ab0b2", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 24800.0, "surface_area": 7790.0, "principal_moments": [1620000.0, 8480000.0, 8480000.0], "n_faces": 545, "n_edges": 1505, "n_vertices": 962}, "dimensions": {"lines": ["M24x2 external thread, 61 mm long."], "text": "M24x2 external thread, 61 mm long."}, "params": {"major_d": {"type": "float", "default": 24.0, "min": 4.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Major diameter (mm)"}, "pitch": {"type": "float", "default": 2.0, "min": 1.0, "max": 4.0, "step": 0.05, "group": "Thread", "label": "Pitch (mm)"}, "thread_len": {"type": "float", "default": 61.0, "min": 24.4, "max": 122.0, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333155 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 24.0, \"min\": 4.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Major diameter (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 2.0, \"min\": 1.0, \"max\": 4.0, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Pitch (mm)'},\n    \"thread_len\": {\"type\": 'float', \"default\": 61.0, \"min\": 24.4, \"max\": 122.0, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.IsoThread(major_diameter=p[\"major_d\"], pitch=p[\"pitch\"], length=p[\"thread_len\"], external=True, end_finishes=(\"fade\", \"fade\"))\n    _r = _thr.min_radius if hasattr(_thr, 'min_radius') else _thr.root_radius\n    _shank = _bd.Cylinder(radius=_r, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = _shank + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462cada4_4592", "family": "block", "tier": 1, "seed": 1177333156, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "e164934288fa47bb", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 329000.0, "surface_area": 33600.0, "principal_moments": [233000000.0, 277000000.0, 289000000.0], "n_faces": 22, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 67.14 \u00d7 63.6 \u00d7 78 mm (W\u00d7D\u00d7H).", "Four 3.8 mm square holes at the corners, 46.998 \u00d7 44.52 mm spacing."], "text": "Rectangular body, 67.14 \u00d7 63.6 \u00d7 78 mm (W\u00d7D\u00d7H). Four 3.8 mm square holes at the corners, 46.998 \u00d7 44.52 mm spacing."}, "params": {"block_w": {"type": "float", "default": 67.14, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 63.6, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 78.0, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 3.8, "min": 2.0, "max": 16.9, "step": 0.5, "group": "Holes", "label": "Square hole size (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333156 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 67.14, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 63.6, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 78.0, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.8, \"min\": 2.0, \"max\": 16.9, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Square hole size (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().rect(p[\"hole_d\"], p[\"hole_d\"]).cutThruAll()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462cada5_4593", "family": "bracket", "tier": 3, "seed": 1177333157, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "a36cd968a527e27a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 5890.0, "surface_area": 3690.0, "principal_moments": [455000.0, 1450000.0, 1600000.0], "n_faces": 14, "n_edges": 37, "n_vertices": 24}, "dimensions": {"lines": ["L-bracket: base leg 43.28 mm, vertical leg 35.1 mm, 18.17 mm wide, 4 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 4.7 mm corner gusset."], "text": "L-bracket: base leg 43.28 mm, vertical leg 35.1 mm, 18.17 mm wide, 4 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 4.7 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 43.28, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 35.1, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 18.17, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 4.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 7.3, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 4.7, "min": 2.0, "max": 9.1, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333157 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 43.28, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 35.1, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 18.17, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 7.3, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 4.7, \"min\": 2.0, \"max\": 9.1, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462cada6_4594", "family": "block", "tier": 1, "seed": 1177333158, "symmetry": "none", "op_count": 2, "ir_hash": "ad4d73a72c922b79", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 56400.0, "surface_area": 13600.0, "principal_moments": [10100000.0, 19800000.0, 22899999.999999996], "n_faces": 15, "n_edges": 39, "n_vertices": 26}, "dimensions": {"lines": ["Rectangular body, 37.22 \u00d7 26.9 \u00d7 58.9 mm (W\u00d7D\u00d7H).", "Nine \u00d82.5 mm holes in two staggered rows, 7 \u00d7 6.5 mm pitch."], "text": "Rectangular body, 37.22 \u00d7 26.9 \u00d7 58.9 mm (W\u00d7D\u00d7H). Nine \u00d82.5 mm holes in two staggered rows, 7 \u00d7 6.5 mm pitch."}, "params": {"block_w": {"type": "float", "default": 37.22, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 26.9, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 58.9, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 2.5, "min": 2.0, "max": 2.7, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 5, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333158 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 37.22, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 26.9, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 58.9, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 2.5, \"min\": 2.0, \"max\": 2.7, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 5, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 7.0\n    _ssy = 6.5\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462cada7_4595", "family": "flanged", "tier": 1, "seed": 1177333159, "symmetry": "none", "op_count": 2, "ir_hash": "2fe690dee8dcbe6c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 30200.0, "surface_area": 17600.0, "principal_moments": [9200000.0, 12199999.999999998, 12199999.999999998], "n_faces": 29, "n_edges": 114, "n_vertices": 76}, "dimensions": {"lines": ["Revolved body, \u00d837.04 mm \u00d7 50.4 mm tall with \u00d818.4 mm bore, \u00d859.5 mm \u00d7 6.2 mm flange.", "Twelve \u00d88.4 mm holes on a \u00d835.6 mm bolt circle."], "text": "Revolved body, \u00d837.04 mm \u00d7 50.4 mm tall with \u00d818.4 mm bore, \u00d859.5 mm \u00d7 6.2 mm flange. Twelve \u00d88.4 mm holes on a \u00d835.6 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 37.04, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 50.4, "min": 15.1, "max": 126.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 18.4, "min": 2.0, "max": 25.9, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 59.5, "min": 48.2, "max": 111.1, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 6.2, "min": 1.9, "max": 20.2, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 8.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 17.8, "min": 11.9, "max": 26.8, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 12, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333159 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 37.04, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 50.4, \"min\": 15.1, \"max\": 126.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 18.4, \"min\": 2.0, \"max\": 25.9, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 59.5, \"min\": 48.2, \"max\": 111.1, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 6.2, \"min\": 1.9, \"max\": 20.2, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 17.8, \"min\": 11.9, \"max\": 26.8, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 12, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462cada8_4596", "family": "revolved", "tier": 0, "seed": 1177333160, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "90f8fd7e4c5436fc", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 143000.0, "surface_area": 24700.0, "principal_moments": [79100000.0, 86100000.0, 86100000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d860.71 mm \u00d7 74.1 mm tall."], "text": "Revolved body, \u00d860.71 mm \u00d7 74.1 mm tall."}, "params": {"outer_d": {"type": "float", "default": 60.71, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 74.1, "min": 22.2, "max": 222.3, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333160 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 60.71, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 74.1, \"min\": 22.2, \"max\": 222.3, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462cada9_4597", "family": "enclosure", "tier": 1, "seed": 1177333161, "symmetry": "none", "op_count": 2, "ir_hash": "182dc1f226a35bd8", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 17100.0, "surface_area": 7560.0, "principal_moments": [1870000.0, 5060000.0, 5340000.0], "n_faces": 11, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 50 \u00d7 23.5 \u00d7 22.6 mm (W\u00d7D\u00d7H).", "Hollowed to 5 mm wall thickness, open at top face."], "text": "Rectangular body, 50 \u00d7 23.5 \u00d7 22.6 mm (W\u00d7D\u00d7H). Hollowed to 5 mm wall thickness, open at top face."}, "params": {"enc_w": {"type": "float", "default": 50, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 23.5, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 22.6, "min": 9.0, "max": 45.2, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 5.0, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333161 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 50, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 23.5, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 22.6, \"min\": 9.0, \"max\": 45.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462cadaa_4598", "family": "bracket", "tier": 2, "seed": 1177333162, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "bd1bbd3b6403f5a3", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 9950.0, "surface_area": 3820.0, "principal_moments": [856000.0, 1320000.0, 1540000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["C-channel bracket: base leg 29.78 mm, vertical leg 25 mm, 19.51 mm wide, 8 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg; 11.9 mm corner gusset."], "text": "C-channel bracket: base leg 29.78 mm, vertical leg 25 mm, 19.51 mm wide, 8 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg; 11.9 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 29.78, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 25.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 19.51, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 8.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 7.8, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 11.9, "min": 4.0, "max": 9.8, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333162 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 29.78, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 25.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 19.51, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 7.8, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 11.9, \"min\": 4.0, \"max\": 9.8, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl / 2, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bl - _bt, _bt).lineTo(_bl - _bt - _g, _bt)\n                    .lineTo(_bl - _bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462cadab_4599", "family": "revolved", "tier": 1, "seed": 1177333163, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "ab3e81029209c1fa", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 52700.0, "surface_area": 13700.0, "principal_moments": [13899999.999999998, 23799999.999999996, 23799999.999999996], "n_faces": 6, "n_edges": 9, "n_vertices": 6}, "dimensions": {"lines": ["Revolved body, \u00d831.8 mm \u00d7 58.9 mm tall with \u00d815.7 mm bore, \u00d853.4 mm \u00d7 12 mm flange."], "text": "Revolved body, \u00d831.8 mm \u00d7 58.9 mm tall with \u00d815.7 mm bore, \u00d853.4 mm \u00d7 12 mm flange."}, "params": {"outer_d": {"type": "float", "default": 31.8, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 58.9, "min": 17.7, "max": 176.7, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 15.7, "min": 2.0, "max": 22.3, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 53.4, "min": 38.2, "max": 95.4, "step": 1.0, "group": "Body", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 12.0, "min": 3.6, "max": 29.4, "step": 0.5, "group": "Body", "label": "Flange height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333163 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 31.8, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 58.9, \"min\": 17.7, \"max\": 176.7, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 15.7, \"min\": 2.0, \"max\": 22.3, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 53.4, \"min\": 38.2, \"max\": 95.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 12.0, \"min\": 3.6, \"max\": 29.4, \"step\": 0.5, \"group\": 'Body', \"label\": 'Flange height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462cadac_4600", "family": "sketched", "tier": 1, "seed": 1177333164, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "dc9a76394200305e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 14700.0, "surface_area": 4000.0, "principal_moments": [1060000.0, 3990000.0, 3990000.0], "n_faces": 6, "n_edges": 9, "n_vertices": 5}, "dimensions": {"lines": ["Revolved organic body from a freeform sketched section (6 segments: 4 straight, 1 arc, 1 curve), ~14.466 \u00d7 45 mm half-silhouette."], "text": "Revolved organic body from a freeform sketched section (6 segments: 4 straight, 1 arc, 1 curve), ~14.466 \u00d7 45 mm half-silhouette."}, "params": {"sk_r": {"type": "float", "default": 16.65, "min": 8.3, "max": 30.0, "step": 1.0, "group": "Sketch", "label": "Max radius (mm)"}, "sk_h": {"type": "float", "default": 45, "min": 22.5, "max": 81.0, "step": 1.0, "group": "Sketch", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333164 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_r\": {\"type\": 'float', \"default\": 16.65, \"min\": 8.3, \"max\": 30.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Max radius (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 45, \"min\": 22.5, \"max\": 81.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XZ').moveTo(p[\"sk_r\"] * 0.6545, p[\"sk_h\"] * 0.0).bezier([(p[\"sk_r\"] * 0.6545, p[\"sk_h\"] * 0.0), (p[\"sk_r\"] * 0.8191, p[\"sk_h\"] * 0.0783), (p[\"sk_r\"] * 0.762, p[\"sk_h\"] * 0.1565)]).lineTo(p[\"sk_r\"] * 0.1208, p[\"sk_h\"] * 0.3838).lineTo(p[\"sk_r\"] * 0.8688, p[\"sk_h\"] * 0.8368).threePointArc((p[\"sk_r\"] * 0.7959, p[\"sk_h\"] * 0.9184), (p[\"sk_r\"] * 0.744, p[\"sk_h\"] * 1.0)).lineTo(p[\"sk_r\"] * 0.0, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.0, p[\"sk_h\"] * 0.0).close().revolve())\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462cadad_4601", "family": "bracket", "tier": 3, "seed": 1177333165, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "9dd3890406d5e6dc", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 22000.0, "surface_area": 15900.0, "principal_moments": [7490000.0, 17800000.0, 21300000.0], "n_faces": 22, "n_edges": 70, "n_vertices": 44}, "dimensions": {"lines": ["Z-bracket: base leg 50 mm, vertical leg 53.2 mm, top leg 34.4 mm, 55 mm wide, 3 mm thick; 2 \u00d7 \u00d83.2 mm holes per leg; 2.9 mm corner gusset."], "text": "Z-bracket: base leg 50 mm, vertical leg 53.2 mm, top leg 34.4 mm, 55 mm wide, 3 mm thick; 2 \u00d7 \u00d83.2 mm holes per leg; 2.9 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 50, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 53.2, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 55, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 3.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 34.4, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 2, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}, "gusset_t": {"type": "float", "default": 2.9, "min": 1.5, "max": 9.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333165 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 50, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 53.2, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 55, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 34.4, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 2, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 2.9, \"min\": 1.5, \"max\": 9.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _tl, _vl) * 0.4 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(0, _vl - _bt).lineTo(-_g, _vl - _bt)\n                    .lineTo(0, _vl - _bt - _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462cadae_4602", "family": "block", "tier": 1, "seed": 1177333166, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "f44dab17bb18acf0", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 106000.0, "surface_area": 17400.0, "principal_moments": [36200000.0, 41700000.0, 48599999.99999999], "n_faces": 15, "n_edges": 39, "n_vertices": 26}, "dimensions": {"lines": ["Rectangular body, 55 \u00d7 48.8 \u00d7 40.7 mm (W\u00d7D\u00d7H).", "Nine \u00d83.2 mm holes in two staggered rows, 10.3 \u00d7 11.9 mm pitch."], "text": "Rectangular body, 55 \u00d7 48.8 \u00d7 40.7 mm (W\u00d7D\u00d7H). Nine \u00d83.2 mm holes in two staggered rows, 10.3 \u00d7 11.9 mm pitch."}, "params": {"block_w": {"type": "float", "default": 55, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 48.8, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 40.7, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 4.9, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 5, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333166 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 55, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 48.8, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 40.7, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 4.9, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 5, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 10.3\n    _ssy = 11.9\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462cadb1_4605", "family": "flanged", "tier": 2, "seed": 1177333169, "symmetry": "none", "op_count": 2, "ir_hash": "0fa7ed6efb8d9ad3", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 179000.0, "surface_area": 44200.0, "principal_moments": [185000000.0, 185000000.0, 209000000.0], "n_faces": 18, "n_edges": 45, "n_vertices": 30}, "dimensions": {"lines": ["Revolved body, \u00d855 mm \u00d7 66.6 mm tall with \u00d827.6 mm bore, \u00d8128.8 mm \u00d7 6.1 mm flange.", "Twelve \u00d88.4 mm holes on a \u00d877.2 mm bolt circle."], "text": "Revolved body, \u00d855 mm \u00d7 66.6 mm tall with \u00d827.6 mm bore, \u00d8128.8 mm \u00d7 6.1 mm flange. Twelve \u00d88.4 mm holes on a \u00d877.2 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 55, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 66.6, "min": 20.0, "max": 166.5, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 27.6, "min": 2.0, "max": 38.5, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 128.8, "min": 71.5, "max": 165.0, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 6.1, "min": 1.8, "max": 26.6, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 8.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 38.6, "min": 25.8, "max": 58.0, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 12, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333169 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 55, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 66.6, \"min\": 20.0, \"max\": 166.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 27.6, \"min\": 2.0, \"max\": 38.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 128.8, \"min\": 71.5, \"max\": 165.0, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 6.1, \"min\": 1.8, \"max\": 26.6, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 38.6, \"min\": 25.8, \"max\": 58.0, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 12, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462cadb2_4606", "family": "revolved", "tier": 0, "seed": 1177333170, "symmetry": "none", "op_count": 1, "ir_hash": "7601727e86bfa28f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 472000.0, "surface_area": 71600.0, "principal_moments": [274000000.0, 1660000000.0, 1660000000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d862.19 mm \u00d7 233.2 mm tall."], "text": "Revolved body, \u00d862.19 mm \u00d7 233.2 mm tall."}, "params": {"outer_d": {"type": "float", "default": 62.19, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 233.2, "min": 70.0, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333170 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 62.19, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 233.2, \"min\": 70.0, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462cadb3_4607", "family": "profiled", "tier": 0, "seed": 1177333171, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "754d5a6bc6d8a119", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 311000.0, "surface_area": 38900.0, "principal_moments": [79900000.0, 1870000000.0, 1920000000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["55.18 \u00d7 23.14 mm slot section, extruded 267.6 mm thick."], "text": "55.18 \u00d7 23.14 mm slot section, extruded 267.6 mm thick."}, "params": {"slot_len": {"type": "float", "default": 55.18, "min": 27.6, "max": 110.4, "step": 1.0, "group": "Profile", "label": "Slot length (mm)"}, "slot_w": {"type": "float", "default": 23.14, "min": 11.6, "max": 46.3, "step": 0.5, "group": "Profile", "label": "Slot width (mm)"}, "length": {"type": "float", "default": 267.6, "min": 80.3, "max": 802.8, "step": 5.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333171 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"slot_len\": {\"type\": 'float', \"default\": 55.18, \"min\": 27.6, \"max\": 110.4, \"step\": 1.0, \"group\": 'Profile', \"label\": 'Slot length (mm)'},\n    \"slot_w\": {\"type\": 'float', \"default\": 23.14, \"min\": 11.6, \"max\": 46.3, \"step\": 0.5, \"group\": 'Profile', \"label\": 'Slot width (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 267.6, \"min\": 80.3, \"max\": 802.8, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').slot2D(p[\"slot_len\"], p[\"slot_w\"]).extrude(p[\"length\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462cadb4_4608", "family": "revolved", "tier": 1, "seed": 1177333172, "symmetry": "none", "op_count": 1, "ir_hash": "39a6ad662316bdaa", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 740000.0, "surface_area": 95000.0, "principal_moments": [1210000000.0, 1940000000.0, 1940000000.0], "n_faces": 5, "n_edges": 7, "n_vertices": 5}, "dimensions": {"lines": ["Revolved body, \u00d877.29 mm \u00d7 168 mm tall with \u00d8147.4 mm \u00d7 17.3 mm flange."], "text": "Revolved body, \u00d877.29 mm \u00d7 168 mm tall with \u00d8147.4 mm \u00d7 17.3 mm flange."}, "params": {"outer_d": {"type": "float", "default": 77.29, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 168.0, "min": 50.4, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "flange_d": {"type": "float", "default": 147.4, "min": 92.7, "max": 231.9, "step": 1.0, "group": "Body", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 17.3, "min": 5.2, "max": 84.0, "step": 0.5, "group": "Body", "label": "Flange height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333172 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 77.29, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 168.0, \"min\": 50.4, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 147.4, \"min\": 92.7, \"max\": 231.9, \"step\": 1.0, \"group\": 'Body', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 17.3, \"min\": 5.2, \"max\": 84.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Flange height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462cadb5_4609", "family": "bracket", "tier": 1, "seed": 1177333173, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "61093248a808189a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 11200.0, "surface_area": 7000.0, "principal_moments": [2750000.0, 9760000.0, 11799999.999999998], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["L-bracket: base leg 75 mm, vertical leg 70.6 mm, 20 mm wide, 4 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."], "text": "L-bracket: base leg 75 mm, vertical leg 70.6 mm, 20 mm wide, 4 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 75, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 70.6, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 20, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 4.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 8.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333173 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 75, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 70.6, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 20, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 8.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462cadb6_4610", "family": "tapped", "tier": 2, "seed": 1177333174, "symmetry": "none", "op_count": 1, "ir_hash": "85c7accd738290e9", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 5760.0, "surface_area": 2600.0, "principal_moments": [348000.0, 348000.0, 452000.0], "n_faces": 91, "n_edges": 317, "n_vertices": 228}, "dimensions": {"lines": ["One M10x1.5 tapped hole in a cylinder."], "text": "One M10x1.5 tapped hole in a cylinder."}, "params": {"major_d": {"type": "float", "default": 10.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 1.5, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 16.0, "min": 12.0, "max": 28.8, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "body_d": {"type": "float", "default": 23.3, "min": 18.0, "max": 37.3, "step": 1.0, "group": "Body", "label": "Outer \u00d8 (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333174 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 10.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.5, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 16.0, \"min\": 12.0, \"max\": 28.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"body_d\": {\"type\": 'float', \"default\": 23.3, \"min\": 18.0, \"max\": 37.3, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer \u00d8 (mm)'},\n}\n\n\ndef build(p):\n\n    _W = _D = p[\"body_d\"]\n    _H = p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Cylinder(radius=_W / 2, height=_H)\n    _locs = [(0.0, 0.0)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462cadb7_4611", "family": "revolved", "tier": 1, "seed": 1177333175, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "474077362fc041dc", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 229000.0, "surface_area": 40200.0, "principal_moments": [205000000.0, 205000000.0, 296000000.0], "n_faces": 10, "n_edges": 17, "n_vertices": 10}, "dimensions": {"lines": ["Revolved body, \u00d863.33 mm \u00d7 51.7 mm tall with \u00d821.3 mm bore, \u00d8128 mm \u00d7 8.7 mm flange.", "Chamfer 0.8 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d863.33 mm \u00d7 51.7 mm tall with \u00d821.3 mm bore, \u00d8128 mm \u00d7 8.7 mm flange. Chamfer 0.8 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 63.33, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 51.7, "min": 15.5, "max": 155.1, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 21.3, "min": 2.0, "max": 44.3, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 128.0, "min": 76.0, "max": 190.0, "step": 1.0, "group": "Body", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 8.7, "min": 2.6, "max": 25.9, "step": 0.5, "group": "Body", "label": "Flange height (mm)"}, "end_chamfer": {"type": "float", "default": 0.8, "min": 0.1, "max": 2.4, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333175 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 63.33, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 51.7, \"min\": 15.5, \"max\": 155.1, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 21.3, \"min\": 2.0, \"max\": 44.3, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 128.0, \"min\": 76.0, \"max\": 190.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 8.7, \"min\": 2.6, \"max\": 25.9, \"step\": 0.5, \"group\": 'Body', \"label\": 'Flange height (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.8, \"min\": 0.1, \"max\": 2.4, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462cadb8_4612", "family": "ribbed", "tier": 1, "seed": 1177333176, "symmetry": "none", "op_count": 2, "ir_hash": "8d78e49d0198fcfc", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 61300.0, "surface_area": 19400.0, "principal_moments": [18200000.0, 53899999.99999999, 69800000.0], "n_faces": 30, "n_edges": 72, "n_vertices": 44}, "dimensions": {"lines": ["Rectangular body, 100 \u00d7 54.3 \u00d7 10 mm (W\u00d7D\u00d7H).", "Three ribs, 2.9 mm thick, 10.1 mm tall."], "text": "Rectangular body, 100 \u00d7 54.3 \u00d7 10 mm (W\u00d7D\u00d7H). Three ribs, 2.9 mm thick, 10.1 mm tall."}, "params": {"base_w": {"type": "float", "default": 100.0, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 54.3, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 10.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 3, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 10.1, "min": 4.0, "max": 20.2, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 2.9, "min": 1.0, "max": 7.2, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333176 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 100.0, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 54.3, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 3, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 10.1, \"min\": 4.0, \"max\": 20.2, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 2.9, \"min\": 1.0, \"max\": 7.2, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462cadb9_4613", "family": "plate", "tier": 0, "seed": 1177333177, "symmetry": "none", "op_count": 1, "ir_hash": "a414fa93211a7309", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 4870.0, "surface_area": 3080.0, "principal_moments": [174000.0, 1470000.0, 1630000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 60 \u00d7 20.3 \u00d7 4 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 60 \u00d7 20.3 \u00d7 4 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 60, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 20.3, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 4.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333177 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 60, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 20.3, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 4.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462cadba_4614", "family": "profiled", "tier": 0, "seed": 1177333178, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "0ed90013b482d4f8", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 512000.0, "surface_area": 57400.0, "principal_moments": [180000000.0, 5060000000.0, 5190000000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["65 \u00d7 25 mm slot section, extruded 343.5 mm thick."], "text": "65 \u00d7 25 mm slot section, extruded 343.5 mm thick."}, "params": {"slot_len": {"type": "float", "default": 65, "min": 32.5, "max": 130.0, "step": 1.0, "group": "Profile", "label": "Slot length (mm)"}, "slot_w": {"type": "float", "default": 25.0, "min": 12.5, "max": 50.0, "step": 0.5, "group": "Profile", "label": "Slot width (mm)"}, "length": {"type": "float", "default": 343.5, "min": 103.0, "max": 1030.5, "step": 5.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333178 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"slot_len\": {\"type\": 'float', \"default\": 65, \"min\": 32.5, \"max\": 130.0, \"step\": 1.0, \"group\": 'Profile', \"label\": 'Slot length (mm)'},\n    \"slot_w\": {\"type\": 'float', \"default\": 25.0, \"min\": 12.5, \"max\": 50.0, \"step\": 0.5, \"group\": 'Profile', \"label\": 'Slot width (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 343.5, \"min\": 103.0, \"max\": 1030.5, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').slot2D(p[\"slot_len\"], p[\"slot_w\"]).extrude(p[\"length\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462cadbb_4615", "family": "gear", "tier": 0, "seed": 1177333179, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "7ae2b6ef4d933d89", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 4790.0, "surface_area": 2570.0, "principal_moments": [271000.0, 271000.0, 486000.0], "n_faces": 68, "n_edges": 198, "n_vertices": 132}, "dimensions": {"lines": ["Spur gear, module 2.5 mm, 11 teeth (pitch \u00d827.5 mm), face width 8.4 mm."], "text": "Spur gear, module 2.5 mm, 11 teeth (pitch \u00d827.5 mm), face width 8.4 mm."}, "params": {"module": {"type": "float", "default": 2.5, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 11, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 8.4, "min": 3.4, "max": 21.0, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333179 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 2.5, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 11, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 8.4, \"min\": 3.4, \"max\": 21.0, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462cadbc_4616", "family": "tapped", "tier": 0, "seed": 1177333180, "symmetry": "none", "op_count": 1, "ir_hash": "3eee8fdca505d19a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 1940.0, "surface_area": 1250.0, "principal_moments": [38000.0, 75900.0, 75900.0], "n_faces": 220, "n_edges": 600, "n_vertices": 382}, "dimensions": {"lines": ["One M4x0.7 tapped hole in a cylinder."], "text": "One M4x0.7 tapped hole in a cylinder."}, "params": {"major_d": {"type": "float", "default": 4.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 0.7, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 18.8, "min": 4.8, "max": 33.8, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "body_d": {"type": "float", "default": 12.0, "min": 7.2, "max": 19.2, "step": 1.0, "group": "Body", "label": "Outer \u00d8 (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333180 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 4.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 0.7, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 18.8, \"min\": 4.8, \"max\": 33.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"body_d\": {\"type\": 'float', \"default\": 12.0, \"min\": 7.2, \"max\": 19.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer \u00d8 (mm)'},\n}\n\n\ndef build(p):\n\n    _W = _D = p[\"body_d\"]\n    _H = p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Cylinder(radius=_W / 2, height=_H)\n    _locs = [(0.0, 0.0)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462cadbd_4617", "family": "plate", "tier": 0, "seed": 1177333181, "symmetry": "none", "op_count": 1, "ir_hash": "42a7eb88628defe4", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 2470.0, "surface_area": 1210.0, "principal_moments": [45400.0, 139000.0, 158000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 24.73 \u00d7 12.5 \u00d7 8 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 24.73 \u00d7 12.5 \u00d7 8 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 24.73, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 12.5, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333181 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 24.73, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 12.5, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462cadbe_4618", "family": "sketched", "tier": 1, "seed": 1177333182, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "3f309cc238c20b08", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 71100.0, "surface_area": 10900.0, "principal_moments": [18400000.0, 21600000.0, 31999999.999999996], "n_faces": 7, "n_edges": 15, "n_vertices": 10}, "dimensions": {"lines": ["freeform sketched section (4 segments: 1 straight, 1 arc, 2 curves), ~65.611 \u00d7 65.658 mm, extruded 25.83 mm thick.", "One \u00d84.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "freeform sketched section (4 segments: 1 straight, 1 arc, 2 curves), ~65.611 \u00d7 65.658 mm, extruded 25.83 mm thick. One \u00d84.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"sk_w": {"type": "float", "default": 89.51, "min": 44.8, "max": 161.1, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 83.93, "min": 42.0, "max": 151.1, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "sk_t": {"type": "float", "default": 25.83, "min": 10.3, "max": 56.8, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "sk_hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 8.6, "step": 0.5, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333182 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 89.51, \"min\": 44.8, \"max\": 161.1, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 83.93, \"min\": 42.0, \"max\": 151.1, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"sk_t\": {\"type\": 'float', \"default\": 25.83, \"min\": 10.3, \"max\": 56.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"sk_hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 8.6, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.4397, p[\"sk_h\"] * 0.0237).bezier([(p[\"sk_w\"] * 0.4397, p[\"sk_h\"] * 0.0237), (p[\"sk_w\"] * 0.2557, p[\"sk_h\"] * 0.2842), (p[\"sk_w\"] * -0.0364, p[\"sk_h\"] * 0.4125)]).lineTo(p[\"sk_w\"] * -0.2933, p[\"sk_h\"] * 0.1339).threePointArc((p[\"sk_w\"] * -0.2, p[\"sk_h\"] * -0.1824), (p[\"sk_w\"] * 0.0226, p[\"sk_h\"] * -0.3698)).spline([(p[\"sk_w\"] * 0.0226, p[\"sk_h\"] * -0.3698), (p[\"sk_w\"] * 0.2872, p[\"sk_h\"] * -0.2325), (p[\"sk_w\"] * 0.4397, p[\"sk_h\"] * 0.0237)]).close().extrude(p[\"sk_t\"]))\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"sk_hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462cadbf_4619", "family": "bracket", "tier": 1, "seed": 1177333183, "symmetry": "none", "op_count": 1, "ir_hash": "c476a71031379651", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 9840.0, "surface_area": 7340.0, "principal_moments": [1820000.0, 2630000.0, 3960000.0], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Z-bracket: base leg 27.06 mm, vertical leg 25 mm, top leg 29.3 mm, 43.75 mm wide, 3 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."], "text": "Z-bracket: base leg 27.06 mm, vertical leg 25 mm, top leg 29.3 mm, 43.75 mm wide, 3 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 27.06, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 25.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 43.75, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 3.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 29.3, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333183 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 27.06, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 25.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 43.75, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 29.3, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462cadc1_4621", "family": "lofted", "tier": 0, "seed": 1177333185, "symmetry": "none", "op_count": 1, "ir_hash": "8057ef4890d9e317", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 93800.0, "surface_area": 13100.0, "principal_moments": [34100000.0, 36500000.0, 36500000.0], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Lofted body through 2 sections: 60 \u00d7 60 mm rectangular section \u2192 6-sided polygon section, 18.4 mm across corners."], "text": "Lofted body through 2 sections: 60 \u00d7 60 mm rectangular section \u2192 6-sided polygon section, 18.4 mm across corners."}, "params": {"loft_base": {"type": "float", "default": 60, "min": 30.0, "max": 96.0, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 18.4, "min": 7.4, "max": 72.0, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 59.6, "min": 23.8, "max": 119.2, "step": 1.0, "group": "Body", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333185 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 60, \"min\": 30.0, \"max\": 96.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 18.4, \"min\": 7.4, \"max\": 72.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 59.6, \"min\": 23.8, \"max\": 119.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .rect(p[\"loft_base\"], p[\"loft_base\"])\n        .workplane(offset=p[\"loft_h\"])\n        .polygon(6, p[\"loft_top\"] * 0.5 * 2)\n        .loft(combine=True)\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462cadc2_4622", "family": "threaded", "tier": 2, "seed": 1177333186, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "6ccaaafe7210217c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 3180.0, "surface_area": 2700.0, "principal_moments": [30100.0, 836000.0, 836000.0], "n_faces": 270, "n_edges": 692, "n_vertices": 424}, "dimensions": {"lines": ["ACME 3/8 external thread, 56.1 mm long."], "text": "ACME 3/8 external thread, 56.1 mm long."}, "params": {"thread_size": {"type": "enum", "default": "3/8", "choices": ["1/4", "5/16", "3/8", "1/2", "5/8", "3/4", "7/8", "1", "1 1/4", "1 1/2"], "group": "Thread", "label": "Size designation"}, "thread_len": {"type": "float", "default": 56.1, "min": 22.4, "max": 112.2, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333186 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"thread_size\": {\"type\": 'enum', \"default\": '3/8', \"choices\": ['1/4', '5/16', '3/8', '1/2', '5/8', '3/4', '7/8', '1', '1 1/4', '1 1/2'], \"group\": 'Thread', \"label\": 'Size designation'},\n    \"thread_len\": {\"type\": 'float', \"default\": 56.1, \"min\": 22.4, \"max\": 112.2, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.AcmeThread(size=p[\"thread_size\"], length=p[\"thread_len\"], external=True, end_finishes=(\"fade\", \"fade\"))\n    _r = _thr.min_radius if hasattr(_thr, 'min_radius') else _thr.root_radius\n    _shank = _bd.Cylinder(radius=_r, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = _shank + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462cadc3_4623", "family": "plate", "tier": 1, "seed": 1177333187, "symmetry": "none", "op_count": 2, "ir_hash": "da2c1293ffa37944", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 46800.0, "surface_area": 12900.0, "principal_moments": [6550000.0, 54899999.99999999, 60699999.99999999], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 118.41 \u00d7 39.8 \u00d7 10 mm (W\u00d7D\u00d7H).", "Four \u00d83.2 mm holes at the corners, 82.887 \u00d7 27.86 mm spacing."], "text": "Rectangular body, 118.41 \u00d7 39.8 \u00d7 10 mm (W\u00d7D\u00d7H). Four \u00d83.2 mm holes at the corners, 82.887 \u00d7 27.86 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 118.41, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 39.8, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 9.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333187 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 118.41, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 39.8, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 9.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462cadc4_4624", "family": "flanged", "tier": 2, "seed": 1177333188, "symmetry": "radial", "op_count": 3, "ir_hash": "fad399167c655483", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 195000.0, "surface_area": 34200.0, "principal_moments": [151000000.0, 151000000.0, 215000000.0], "n_faces": 22, "n_edges": 47, "n_vertices": 28}, "dimensions": {"lines": ["Revolved body, \u00d860.98 mm \u00d7 50.3 mm tall with \u00d825.1 mm bore, \u00d8111.1 mm \u00d7 11 mm flange.", "Six \u00d84.3 mm holes on a \u00d866.6 mm bolt circle.", "Chamfer 0.6 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d860.98 mm \u00d7 50.3 mm tall with \u00d825.1 mm bore, \u00d8111.1 mm \u00d7 11 mm flange. Six \u00d84.3 mm holes on a \u00d866.6 mm bolt circle. Chamfer 0.6 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 60.98, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 50.3, "min": 15.1, "max": 125.8, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 25.1, "min": 2.0, "max": 42.7, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 111.1, "min": 79.3, "max": 182.9, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 11.0, "min": 3.3, "max": 20.1, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 33.3, "min": 22.2, "max": 50.0, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 6, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}, "end_chamfer": {"type": "float", "default": 0.6, "min": 0.1, "max": 2.0, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333188 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 60.98, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 50.3, \"min\": 15.1, \"max\": 125.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 25.1, \"min\": 2.0, \"max\": 42.7, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 111.1, \"min\": 79.3, \"max\": 182.9, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 11.0, \"min\": 3.3, \"max\": 20.1, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 33.3, \"min\": 22.2, \"max\": 50.0, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.6, \"min\": 0.1, \"max\": 2.0, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462cadc5_4625", "family": "lofted", "tier": 0, "seed": 1177333189, "symmetry": "none", "op_count": 1, "ir_hash": "83e579aa01872a39", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 71200.0, "surface_area": 9980.0, "principal_moments": [18300000.0, 21700000.0, 21700000.0], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Lofted body through 2 sections: 6-sided polygon section, 57.96 mm across corners \u2192 30.3 \u00d7 30.3 mm rectangular section."], "text": "Lofted body through 2 sections: 6-sided polygon section, 57.96 mm across corners \u2192 30.3 \u00d7 30.3 mm rectangular section."}, "params": {"loft_base": {"type": "float", "default": 57.96, "min": 29.0, "max": 92.7, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 30.3, "min": 12.1, "max": 69.6, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 47.1, "min": 18.8, "max": 94.2, "step": 1.0, "group": "Body", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333189 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 57.96, \"min\": 29.0, \"max\": 92.7, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 30.3, \"min\": 12.1, \"max\": 69.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 47.1, \"min\": 18.8, \"max\": 94.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .polygon(6, p[\"loft_base\"] * 0.5 * 2)\n        .workplane(offset=p[\"loft_h\"])\n        .rect(p[\"loft_top\"], p[\"loft_top\"])\n        .loft(combine=True)\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462cadc6_4626", "family": "bracket", "tier": 1, "seed": 1177333190, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "ed49068d096bfa5f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 17800.0, "surface_area": 8850.0, "principal_moments": [4030000.0, 12599999.999999998, 13899999.999999998], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["L-bracket: base leg 69.02 mm, vertical leg 57.1 mm, 30 mm wide, 5 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."], "text": "L-bracket: base leg 69.02 mm, vertical leg 57.1 mm, 30 mm wide, 5 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 69.02, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 57.1, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 30, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 5.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333190 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 69.02, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 57.1, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 30, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462cadc8_4628", "family": "gear", "tier": 0, "seed": 1177333192, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "909af46c7b07c89f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 19000.0, "surface_area": 6300.0, "principal_moments": [2340000.0, 2340000.0, 3920000.0], "n_faces": 98, "n_edges": 288, "n_vertices": 192}, "dimensions": {"lines": ["Spur gear, module 2.5 mm, 16 teeth (pitch \u00d840 mm), face width 15.5 mm."], "text": "Spur gear, module 2.5 mm, 16 teeth (pitch \u00d840 mm), face width 15.5 mm."}, "params": {"module": {"type": "float", "default": 2.5, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 16, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 15.5, "min": 6.2, "max": 38.8, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333192 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 2.5, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 16, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 15.5, \"min\": 6.2, \"max\": 38.8, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462cadc9_4629", "family": "sketched", "tier": 2, "seed": 1177333193, "symmetry": "none", "op_count": 1, "ir_hash": "49544a0a3543d2ed", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 116000.0, "surface_area": 20400.0, "principal_moments": [51699999.99999999, 51699999.99999999, 58899999.99999999], "n_faces": 7, "n_edges": 11, "n_vertices": 6}, "dimensions": {"lines": ["Revolved organic body from a freeform sketched section (7 segments: 3 straight, 2 arcs, 2 curves), ~35.406 \u00d7 45.4 mm half-silhouette."], "text": "Revolved organic body from a freeform sketched section (7 segments: 3 straight, 2 arcs, 2 curves), ~35.406 \u00d7 45.4 mm half-silhouette."}, "params": {"sk_r": {"type": "float", "default": 36.61, "min": 18.3, "max": 65.9, "step": 1.0, "group": "Sketch", "label": "Max radius (mm)"}, "sk_h": {"type": "float", "default": 45.4, "min": 22.7, "max": 81.7, "step": 1.0, "group": "Sketch", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333193 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_r\": {\"type\": 'float', \"default\": 36.61, \"min\": 18.3, \"max\": 65.9, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Max radius (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 45.4, \"min\": 22.7, \"max\": 81.7, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XZ').moveTo(p[\"sk_r\"] * 0.7904, p[\"sk_h\"] * 0.0).threePointArc((p[\"sk_r\"] * 0.976, p[\"sk_h\"] * 0.0696), (p[\"sk_r\"] * 0.9671, p[\"sk_h\"] * 0.1392)).threePointArc((p[\"sk_r\"] * 0.6184, p[\"sk_h\"] * 0.148), (p[\"sk_r\"] * 0.2058, p[\"sk_h\"] * 0.1567)).spline([(p[\"sk_r\"] * 0.2058, p[\"sk_h\"] * 0.1567), (p[\"sk_r\"] * 0.5106, p[\"sk_h\"] * 0.3687), (p[\"sk_r\"] * 0.8921, p[\"sk_h\"] * 0.5808)]).spline([(p[\"sk_r\"] * 0.8921, p[\"sk_h\"] * 0.5808), (p[\"sk_r\"] * 0.9405, p[\"sk_h\"] * 0.7621), (p[\"sk_r\"] * 0.7768, p[\"sk_h\"] * 0.9434)]).lineTo(p[\"sk_r\"] * 0.8406, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.0, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.0, p[\"sk_h\"] * 0.0).close().revolve())\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462cadca_4630", "family": "bracket", "tier": 2, "seed": 1177333194, "symmetry": "none", "op_count": 1, "ir_hash": "48357480e6a30355", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 49600.0, "surface_area": 15200.0, "principal_moments": [16299999.999999998, 40400000.0, 41000000.0], "n_faces": 14, "n_edges": 37, "n_vertices": 24}, "dimensions": {"lines": ["L-bracket: base leg 70 mm, vertical leg 67 mm, 45 mm wide, 8 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 7.9 mm corner gusset."], "text": "L-bracket: base leg 70 mm, vertical leg 67 mm, 45 mm wide, 8 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 7.9 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 70, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 67.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 45, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 8.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 7.9, "min": 4.0, "max": 22.5, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333194 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 70, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 67.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 45, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 7.9, \"min\": 4.0, \"max\": 22.5, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462cadcb_4631", "family": "compound", "tier": 1, "seed": 1177333195, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "5d4a29b366dc9037", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 204000.0, "surface_area": 48500.0, "principal_moments": [359000000.0, 393000000.0, 413000000.0], "n_faces": 18, "n_edges": 45, "n_vertices": 30}, "dimensions": {"lines": ["Rectangular body, 115 \u00d7 124.9 \u00d7 12 mm (W\u00d7D\u00d7H).", "6-sided polygon section, 24.4 mm across corners attachment, 120.7 mm long, from top face with a \u00d811.4 mm bore.", "Four \u00d85.3 mm holes at the corners, 80.5 \u00d7 87.43 mm spacing."], "text": "Rectangular body, 115 \u00d7 124.9 \u00d7 12 mm (W\u00d7D\u00d7H). 6-sided polygon section, 24.4 mm across corners attachment, 120.7 mm long, from top face with a \u00d811.4 mm bore. Four \u00d85.3 mm holes at the corners, 80.5 \u00d7 87.43 mm spacing."}, "params": {"base_w": {"type": "float", "default": 115, "min": 30.0, "max": 160.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 124.9, "min": 25.0, "max": 160.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_h": {"type": "float", "default": 12.0, "min": 3.0, "max": 30.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "col_sides": {"type": "int", "default": 6, "min": 3, "max": 8, "step": 1, "group": "Column", "label": "Column sides"}, "col_r": {"type": "float", "default": 12.2, "min": 6.1, "max": 28.8, "step": 1.0, "group": "Column", "label": "Column circumradius (mm)"}, "col_h": {"type": "float", "default": 120.7, "min": 36.2, "max": 362.1, "step": 1.0, "group": "Column", "label": "Column height (mm)"}, "col_bore": {"type": "float", "default": 11.4, "min": 2.0, "max": 15.2, "step": 0.5, "group": "Column", "label": "Column bore diameter (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333195 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 115, \"min\": 30.0, \"max\": 160.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 124.9, \"min\": 25.0, \"max\": 160.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_h\": {\"type\": 'float', \"default\": 12.0, \"min\": 3.0, \"max\": 30.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"col_sides\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Column', \"label\": 'Column sides'},\n    \"col_r\": {\"type\": 'float', \"default\": 12.2, \"min\": 6.1, \"max\": 28.8, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column circumradius (mm)'},\n    \"col_h\": {\"type\": 'float', \"default\": 120.7, \"min\": 36.2, \"max\": 362.1, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column height (mm)'},\n    \"col_bore\": {\"type\": 'float', \"default\": 11.4, \"min\": 2.0, \"max\": 15.2, \"step\": 0.5, \"group\": 'Column', \"label\": 'Column bore diameter (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_h\"])\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"col_sides\"], p[\"col_r\"] * 2).extrude(p[\"col_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"col_bore\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"base_w\"] * 0.7, p[\"base_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462cadcc_4632", "family": "ribbed", "tier": 1, "seed": 1177333196, "symmetry": "none", "op_count": 2, "ir_hash": "c1e238e9cac999d1", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 20900.0, "surface_area": 16200.0, "principal_moments": [7060000.0, 16499999.999999998, 23299999.999999996], "n_faces": 30, "n_edges": 72, "n_vertices": 44}, "dimensions": {"lines": ["Rectangular body, 94.22 \u00d7 59.5 \u00d7 3 mm (W\u00d7D\u00d7H).", "Three ribs, 2.2 mm thick, 8.3 mm tall."], "text": "Rectangular body, 94.22 \u00d7 59.5 \u00d7 3 mm (W\u00d7D\u00d7H). Three ribs, 2.2 mm thick, 8.3 mm tall."}, "params": {"base_w": {"type": "float", "default": 94.22, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 59.5, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 3.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 3, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 8.3, "min": 3.3, "max": 16.6, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 2.2, "min": 1.0, "max": 5.5, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333196 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 94.22, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 59.5, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 3, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 8.3, \"min\": 3.3, \"max\": 16.6, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 2.2, \"min\": 1.0, \"max\": 5.5, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462cadcd_4633", "family": "sketched", "tier": 2, "seed": 1177333197, "symmetry": "none", "op_count": 3, "ir_hash": "cec266d0c5840604", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 32900.0, "surface_area": 6650.0, "principal_moments": [4010000.0, 7200000.0, 8170000.0], "n_faces": 11, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["freeform sketched section (5 segments: 3 arcs, 2 curves), ~35.237 \u00d7 43.875 mm, extruded 20.63 mm thick.", "One \u00d84.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch.", "Boss \u00d824.5 mm \u00d7 5.9 mm tall on top face."], "text": "freeform sketched section (5 segments: 3 arcs, 2 curves), ~35.237 \u00d7 43.875 mm, extruded 20.63 mm thick. One \u00d84.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch. Boss \u00d824.5 mm \u00d7 5.9 mm tall on top face."}, "params": {"sk_w": {"type": "float", "default": 43.8, "min": 21.9, "max": 78.8, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 75, "min": 37.5, "max": 135.0, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "sk_t": {"type": "float", "default": 20.63, "min": 8.3, "max": 45.4, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "sk_hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 8.6, "step": 0.5, "group": "Holes", "label": "Hole diameter (mm)"}, "boss_d": {"type": "float", "default": 24.5, "min": 12.2, "max": 49.0, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 5.9, "min": 2.4, "max": 14.8, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333197 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 43.8, \"min\": 21.9, \"max\": 78.8, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 75, \"min\": 37.5, \"max\": 135.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"sk_t\": {\"type\": 'float', \"default\": 20.63, \"min\": 8.3, \"max\": 45.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"sk_hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 8.6, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"boss_d\": {\"type\": 'float', \"default\": 24.5, \"min\": 12.2, \"max\": 49.0, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 5.9, \"min\": 2.4, \"max\": 14.8, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.4171, p[\"sk_h\"] * -0.0042).bezier([(p[\"sk_w\"] * 0.4171, p[\"sk_h\"] * -0.0042), (p[\"sk_w\"] * 0.3143, p[\"sk_h\"] * 0.1763), (p[\"sk_w\"] * 0.1487, p[\"sk_h\"] * 0.3015)]).threePointArc((p[\"sk_w\"] * -0.1499, p[\"sk_h\"] * 0.3483), (p[\"sk_w\"] * -0.3874, p[\"sk_h\"] * 0.2621)).bezier([(p[\"sk_w\"] * -0.3874, p[\"sk_h\"] * 0.2621), (p[\"sk_w\"] * -0.4108, p[\"sk_h\"] * -0.0123), (p[\"sk_w\"] * -0.3633, p[\"sk_h\"] * -0.2835)]).threePointArc((p[\"sk_w\"] * -0.1006, p[\"sk_h\"] * -0.3553), (p[\"sk_w\"] * 0.2181, p[\"sk_h\"] * -0.2378)).threePointArc((p[\"sk_w\"] * 0.3453, p[\"sk_h\"] * -0.1325), (p[\"sk_w\"] * 0.4171, p[\"sk_h\"] * -0.0042)).close().extrude(p[\"sk_t\"]))\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"sk_hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462cadce_4634", "family": "plate", "tier": 3, "seed": 1177333198, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "8e2bee3a5e8b3054", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 505.0, "surface_area": 954.0, "principal_moments": [7430.0, 47700.0, 54800.0], "n_faces": 22, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 33.08 \u00d7 12.8 \u00d7 2 mm (W\u00d7D\u00d7H).", "Four \u00d82.8 mm counterbored holes (\u00d85.6 mm \u00d7 2.2 mm counterbore) at the corners, 23.156 \u00d7 8.96 mm spacing.", "Pocket 21.6 \u00d7 8.2 mm, 1 mm deep, in top face."], "text": "Rectangular body, 33.08 \u00d7 12.8 \u00d7 2 mm (W\u00d7D\u00d7H). Four \u00d82.8 mm counterbored holes (\u00d85.6 mm \u00d7 2.2 mm counterbore) at the corners, 23.156 \u00d7 8.96 mm spacing. Pocket 21.6 \u00d7 8.2 mm, 1 mm deep, in top face."}, "params": {"plate_w": {"type": "float", "default": 33.08, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 12.8, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 2.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 2.8, "min": 2.0, "max": 2.9, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "cb_d": {"type": "float", "default": 5.6, "min": 4.2, "max": 8.4, "step": 0.5, "group": "Holes", "label": "Counterbore diameter (mm)"}, "cb_depth": {"type": "float", "default": 2.2, "min": 1.1, "max": 4.4, "step": 0.5, "group": "Holes", "label": "Counterbore depth (mm)"}, "pocket_w": {"type": "float", "default": 21.6, "min": 10.8, "max": 26.5, "step": 1.0, "group": "Pocket", "label": "Pocket width (mm)"}, "pocket_d": {"type": "float", "default": 8.2, "min": 4.1, "max": 10.2, "step": 1.0, "group": "Pocket", "label": "Pocket depth (mm)"}, "pocket_h": {"type": "float", "default": 1.0, "min": 0.4, "max": 1.7, "step": 0.5, "group": "Pocket", "label": "Pocket height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333198 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 33.08, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 12.8, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 2.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 2.8, \"min\": 2.0, \"max\": 2.9, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"cb_d\": {\"type\": 'float', \"default\": 5.6, \"min\": 4.2, \"max\": 8.4, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Counterbore diameter (mm)'},\n    \"cb_depth\": {\"type\": 'float', \"default\": 2.2, \"min\": 1.1, \"max\": 4.4, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Counterbore depth (mm)'},\n    \"pocket_w\": {\"type\": 'float', \"default\": 21.6, \"min\": 10.8, \"max\": 26.5, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket width (mm)'},\n    \"pocket_d\": {\"type\": 'float', \"default\": 8.2, \"min\": 4.1, \"max\": 10.2, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket depth (mm)'},\n    \"pocket_h\": {\"type\": 'float', \"default\": 1.0, \"min\": 0.4, \"max\": 1.7, \"step\": 0.5, \"group\": 'Pocket', \"label\": 'Pocket height (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().cboreHole(p[\"hole_d\"], p[\"cb_d\"], p[\"cb_depth\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"pocket_w\"], p[\"pocket_d\"])\n        .cutBlind(-p[\"pocket_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462cadcf_4635", "family": "revolved", "tier": 2, "seed": 1177333199, "symmetry": "none", "op_count": 1, "ir_hash": "89eee9699830e44d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 338.0, "surface_area": 474.0, "principal_moments": [3770.0, 3770.0, 6540.0], "n_faces": 7, "n_edges": 10, "n_vertices": 7}, "dimensions": {"lines": ["Revolved body, \u00d811.46 mm \u00d7 5.1 mm tall with 0.49 mm-wide groove 0.77 mm deep."], "text": "Revolved body, \u00d811.46 mm \u00d7 5.1 mm tall with 0.49 mm-wide groove 0.77 mm deep."}, "params": {"outer_d": {"type": "float", "default": 11.46, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 5.1, "min": 1.5, "max": 15.3, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "groove_depth": {"type": "float", "default": 0.77, "min": 0.31, "max": 2.31, "step": 0.1, "group": "Body", "label": "Groove depth (mm)"}, "groove_w": {"type": "float", "default": 0.49, "min": 0.2, "max": 1.47, "step": 0.2, "group": "Body", "label": "Groove width (mm)"}, "groove_pos": {"type": "float", "default": 3.7, "min": 0.8, "max": 4.3, "step": 1.0, "group": "Body", "label": "Groove position (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333199 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 11.46, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 5.1, \"min\": 1.5, \"max\": 15.3, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"groove_depth\": {\"type\": 'float', \"default\": 0.77, \"min\": 0.31, \"max\": 2.31, \"step\": 0.1, \"group\": 'Body', \"label\": 'Groove depth (mm)'},\n    \"groove_w\": {\"type\": 'float', \"default\": 0.49, \"min\": 0.2, \"max\": 1.47, \"step\": 0.2, \"group\": 'Body', \"label\": 'Groove width (mm)'},\n    \"groove_pos\": {\"type\": 'float', \"default\": 3.7, \"min\": 0.8, \"max\": 4.3, \"step\": 1.0, \"group\": 'Body', \"label\": 'Groove position (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"groove_pos\"] - p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2 - p[\"groove_depth\"], p[\"groove_pos\"] - p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2 - p[\"groove_depth\"], p[\"groove_pos\"] + p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2, p[\"groove_pos\"] + p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462cadd0_4636", "family": "bracket", "tier": 2, "seed": 1177333200, "symmetry": "none", "op_count": 1, "ir_hash": "48931e89f3f30b12", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 26900.0, "surface_area": 12800.0, "principal_moments": [4710000.0, 37300000.0, 38100000.0], "n_faces": 18, "n_edges": 48, "n_vertices": 32}, "dimensions": {"lines": ["Z-bracket: base leg 65 mm, vertical leg 47.8 mm, top leg 71.1 mm, 30 mm wide, 5 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg; 5.8 mm corner gusset."], "text": "Z-bracket: base leg 65 mm, vertical leg 47.8 mm, top leg 71.1 mm, 30 mm wide, 5 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg; 5.8 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 65, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 47.8, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 30, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 5.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 71.1, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}, "gusset_t": {"type": "float", "default": 5.8, "min": 2.5, "max": 15.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333200 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 65, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 47.8, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 30, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 71.1, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 5.8, \"min\": 2.5, \"max\": 15.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _tl, _vl) * 0.4 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(0, _vl - _bt).lineTo(-_g, _vl - _bt)\n                    .lineTo(0, _vl - _bt - _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462cadd1_4637", "family": "revolved", "tier": 2, "seed": 1177333201, "symmetry": "none", "op_count": 1, "ir_hash": "9b8bc774f84ccced", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 224000.0, "surface_area": 37700.0, "principal_moments": [155000000.0, 262000000.0, 262000000.0], "n_faces": 8, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Revolved body, \u00d865.54 mm \u00d7 98.6 mm tall with \u00d836.3 mm bore, 8.27 mm-wide groove 4.34 mm deep."], "text": "Revolved body, \u00d865.54 mm \u00d7 98.6 mm tall with \u00d836.3 mm bore, 8.27 mm-wide groove 4.34 mm deep."}, "params": {"outer_d": {"type": "float", "default": 65.54, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 98.6, "min": 29.6, "max": 295.8, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 36.3, "min": 2.0, "max": 45.9, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "groove_depth": {"type": "float", "default": 4.34, "min": 1.74, "max": 13.02, "step": 0.1, "group": "Body", "label": "Groove depth (mm)"}, "groove_w": {"type": "float", "default": 8.27, "min": 3.31, "max": 24.81, "step": 0.2, "group": "Body", "label": "Groove width (mm)"}, "groove_pos": {"type": "float", "default": 68.1, "min": 14.8, "max": 83.8, "step": 1.0, "group": "Body", "label": "Groove position (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333201 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 65.54, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 98.6, \"min\": 29.6, \"max\": 295.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 36.3, \"min\": 2.0, \"max\": 45.9, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"groove_depth\": {\"type\": 'float', \"default\": 4.34, \"min\": 1.74, \"max\": 13.02, \"step\": 0.1, \"group\": 'Body', \"label\": 'Groove depth (mm)'},\n    \"groove_w\": {\"type\": 'float', \"default\": 8.27, \"min\": 3.31, \"max\": 24.81, \"step\": 0.2, \"group\": 'Body', \"label\": 'Groove width (mm)'},\n    \"groove_pos\": {\"type\": 'float', \"default\": 68.1, \"min\": 14.8, \"max\": 83.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Groove position (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"groove_pos\"] - p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2 - p[\"groove_depth\"], p[\"groove_pos\"] - p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2 - p[\"groove_depth\"], p[\"groove_pos\"] + p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2, p[\"groove_pos\"] + p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462cadd4_4640", "family": "bracket", "tier": 1, "seed": 1177333204, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "b9d04540d8321046", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 61200.0, "surface_area": 33200.0, "principal_moments": [71100000.0, 94899999.99999999, 129000000.0], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["C-channel bracket: base leg 83.37 mm, vertical leg 90 mm, 60 mm wide, 4 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."], "text": "C-channel bracket: base leg 83.37 mm, vertical leg 90 mm, 60 mm wide, 4 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 83.37, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 90.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 60.0, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 4.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333204 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 83.37, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 90.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 60.0, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462cadd5_4641", "family": "ribbed", "tier": 3, "seed": 1177333205, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "b841a8c41ff0ba1c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 18200.0, "surface_area": 8390.0, "principal_moments": [2230000.0, 4540000.0, 5330000.0], "n_faces": 30, "n_edges": 72, "n_vertices": 44}, "dimensions": {"lines": ["Rectangular body, 48.68 \u00d7 29.1 \u00d7 10 mm (W\u00d7D\u00d7H).", "Three ribs, 2.2 mm thick, 15.7 mm tall."], "text": "Rectangular body, 48.68 \u00d7 29.1 \u00d7 10 mm (W\u00d7D\u00d7H). Three ribs, 2.2 mm thick, 15.7 mm tall."}, "params": {"base_w": {"type": "float", "default": 48.68, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 29.1, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 10.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 3, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 15.7, "min": 6.3, "max": 31.4, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 2.2, "min": 1.0, "max": 5.5, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333205 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 48.68, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 29.1, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 3, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 15.7, \"min\": 6.3, \"max\": 31.4, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 2.2, \"min\": 1.0, \"max\": 5.5, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462cadd6_4642", "family": "compound", "tier": 2, "seed": 1177333206, "symmetry": "mirror_xy", "op_count": 3, "ir_hash": "cfe33aab79a5865a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 11200.0, "surface_area": 3290.0, "principal_moments": [524000.0, 2090000.0, 2090000.0], "n_faces": 14, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["\u00d821.02 mm circular section, extruded 25.9 mm thick.", "\u00d810.4 mm circular section attachment, 22.6 mm long, from top face.", "8-sided polygon section, 8 mm across corners attachment, 6 mm long, from top face."], "text": "\u00d821.02 mm circular section, extruded 25.9 mm thick. \u00d810.4 mm circular section attachment, 22.6 mm long, from top face. 8-sided polygon section, 8 mm across corners attachment, 6 mm long, from top face."}, "params": {"shaft_d": {"type": "float", "default": 21.02, "min": 10.5, "max": 37.8, "step": 1.0, "group": "Body", "label": "Shaft diameter (mm)"}, "shaft_len": {"type": "float", "default": 25.9, "min": 10.4, "max": 51.8, "step": 1.0, "group": "Body", "label": "Shaft length (mm)"}, "step_d": {"type": "float", "default": 10.4, "min": 5.2, "max": 18.9, "step": 1.0, "group": "Step", "label": "Step diameter (mm)"}, "step_len": {"type": "float", "default": 22.6, "min": 6.8, "max": 56.5, "step": 1.0, "group": "Step", "label": "Step length (mm)"}, "head_sides": {"type": "int", "default": 8, "min": 3, "max": 8, "step": 1, "group": "Head", "label": "Drive head sides"}, "head_r": {"type": "float", "default": 4.0, "min": 2.4, "max": 5.0, "step": 1.0, "group": "Head", "label": "Drive head circumradius (mm)"}, "head_len": {"type": "float", "default": 6.0, "min": 1.8, "max": 12.0, "step": 1.0, "group": "Head", "label": "Drive head length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333206 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"shaft_d\": {\"type\": 'float', \"default\": 21.02, \"min\": 10.5, \"max\": 37.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft diameter (mm)'},\n    \"shaft_len\": {\"type\": 'float', \"default\": 25.9, \"min\": 10.4, \"max\": 51.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft length (mm)'},\n    \"step_d\": {\"type\": 'float', \"default\": 10.4, \"min\": 5.2, \"max\": 18.9, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step diameter (mm)'},\n    \"step_len\": {\"type\": 'float', \"default\": 22.6, \"min\": 6.8, \"max\": 56.5, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step length (mm)'},\n    \"head_sides\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Head', \"label\": 'Drive head sides'},\n    \"head_r\": {\"type\": 'float', \"default\": 4.0, \"min\": 2.4, \"max\": 5.0, \"step\": 1.0, \"group\": 'Head', \"label\": 'Drive head circumradius (mm)'},\n    \"head_len\": {\"type\": 'float', \"default\": 6.0, \"min\": 1.8, \"max\": 12.0, \"step\": 1.0, \"group\": 'Head', \"label\": 'Drive head length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').circle(p[\"shaft_d\"] / 2).extrude(p[\"shaft_len\"]))\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"step_d\"] / 2).extrude(p[\"step_len\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"head_sides\"], p[\"head_r\"] * 2).extrude(p[\"head_len\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462cadd7_4643", "family": "lofted", "tier": 2, "seed": 1177333207, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "ed3a8301368c285e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 6080.0, "surface_area": 2740.0, "principal_moments": [414000.0, 414000.0, 565000.0], "n_faces": 9, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["Lofted body through 3 sections: \u00d830 mm circular section \u2192 6-sided polygon section, 25.8 mm across corners \u2192 6-sided polygon section, 21.6 mm across corners.", "One \u00d810.6 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 3 sections: \u00d830 mm circular section \u2192 6-sided polygon section, 25.8 mm across corners \u2192 6-sided polygon section, 21.6 mm across corners. One \u00d810.6 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 30.0, "min": 15.0, "max": 48.0, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 21.6, "min": 8.6, "max": 36.0, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 16.5, "min": 6.6, "max": 33.0, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_mid": {"type": "float", "default": 25.8, "min": 10.8, "max": 36.0, "step": 1.0, "group": "Body", "label": "Mid size (mm)"}, "loft_bore_d": {"type": "float", "default": 10.6, "min": 2.0, "max": 17.3, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333207 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 30.0, \"min\": 15.0, \"max\": 48.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 21.6, \"min\": 8.6, \"max\": 36.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 16.5, \"min\": 6.6, \"max\": 33.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_mid\": {\"type\": 'float', \"default\": 25.8, \"min\": 10.8, \"max\": 36.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Mid size (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 10.6, \"min\": 2.0, \"max\": 17.3, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .circle(p[\"loft_base\"] / 2)\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .polygon(6, p[\"loft_mid\"] * 0.5 * 2)\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .polygon(6, p[\"loft_top\"] * 0.5 * 2)\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462cadd8_4644", "family": "profiled", "tier": 0, "seed": 1177333208, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "e2dede583ec595da", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 346000.0, "surface_area": 46900.0, "principal_moments": [61099999.99999999, 4470000000.0, 4510000000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["45 \u00d7 21.84 mm slot section, extruded 393.1 mm thick."], "text": "45 \u00d7 21.84 mm slot section, extruded 393.1 mm thick."}, "params": {"slot_len": {"type": "float", "default": 45, "min": 22.5, "max": 90.0, "step": 1.0, "group": "Profile", "label": "Slot length (mm)"}, "slot_w": {"type": "float", "default": 21.84, "min": 10.9, "max": 43.7, "step": 0.5, "group": "Profile", "label": "Slot width (mm)"}, "length": {"type": "float", "default": 393.1, "min": 117.9, "max": 1179.3, "step": 5.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333208 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"slot_len\": {\"type\": 'float', \"default\": 45, \"min\": 22.5, \"max\": 90.0, \"step\": 1.0, \"group\": 'Profile', \"label\": 'Slot length (mm)'},\n    \"slot_w\": {\"type\": 'float', \"default\": 21.84, \"min\": 10.9, \"max\": 43.7, \"step\": 0.5, \"group\": 'Profile', \"label\": 'Slot width (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 393.1, \"min\": 117.9, \"max\": 1179.3, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').slot2D(p[\"slot_len\"], p[\"slot_w\"]).extrude(p[\"length\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462cadd9_4645", "family": "revolved", "tier": 2, "seed": 1177333209, "symmetry": "none", "op_count": 2, "ir_hash": "6aac30ac0f614307", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 1510.0, "surface_area": 1080.0, "principal_moments": [45500.0, 45500.0, 54500.0], "n_faces": 8, "n_edges": 14, "n_vertices": 8}, "dimensions": {"lines": ["Revolved body, \u00d815 mm \u00d7 12.5 mm tall with \u00d88.1 mm bore.", "Chamfer 0.9 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d815 mm \u00d7 12.5 mm tall with \u00d88.1 mm bore. Chamfer 0.9 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 15, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 12.5, "min": 3.8, "max": 37.5, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 8.1, "min": 2.0, "max": 10.5, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "end_chamfer": {"type": "float", "default": 0.9, "min": 0.1, "max": 2.7, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333209 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 15, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 12.5, \"min\": 3.8, \"max\": 37.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 8.1, \"min\": 2.0, \"max\": 10.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.9, \"min\": 0.1, \"max\": 2.7, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462cadda_4646", "family": "revolved", "tier": 1, "seed": 1177333210, "symmetry": "radial", "op_count": 2, "ir_hash": "82596bca3fbf302d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 2200000.0, "surface_area": 162000.0, "principal_moments": [5920000000.0, 10600000000.0, 10600000000.0], "n_faces": 7, "n_edges": 11, "n_vertices": 7}, "dimensions": {"lines": ["Revolved body, \u00d876.11 mm \u00d7 292 mm tall with \u00d8160.1 mm \u00d7 84.1 mm flange.", "Chamfer 0.9 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d876.11 mm \u00d7 292 mm tall with \u00d8160.1 mm \u00d7 84.1 mm flange. Chamfer 0.9 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 76.11, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 292.0, "min": 87.6, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "flange_d": {"type": "float", "default": 160.1, "min": 91.3, "max": 228.3, "step": 1.0, "group": "Body", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 84.1, "min": 25.2, "max": 146.0, "step": 0.5, "group": "Body", "label": "Flange height (mm)"}, "end_chamfer": {"type": "float", "default": 0.9, "min": 0.1, "max": 2.7, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333210 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 76.11, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 292.0, \"min\": 87.6, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 160.1, \"min\": 91.3, \"max\": 228.3, \"step\": 1.0, \"group\": 'Body', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 84.1, \"min\": 25.2, \"max\": 146.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Flange height (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.9, \"min\": 0.1, \"max\": 2.7, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462caddb_4647", "family": "gear", "tier": 1, "seed": 1177333211, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "50c46e6aee163e07", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 31200.0, "surface_area": 9490.0, "principal_moments": [5510000.0, 5510000.0, 8440000.0], "n_faces": 69, "n_edges": 201, "n_vertices": 134}, "dimensions": {"lines": ["Spur gear, module 4 mm, 11 teeth (pitch \u00d844 mm), face width 22.3 mm, \u00d88.7 mm bore."], "text": "Spur gear, module 4 mm, 11 teeth (pitch \u00d844 mm), face width 22.3 mm, \u00d88.7 mm bore."}, "params": {"module": {"type": "float", "default": 4.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 11, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 22.3, "min": 8.9, "max": 55.8, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "bore_d": {"type": "float", "default": 8.7, "min": 2.0, "max": 20.4, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333211 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 4.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 11, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 22.3, \"min\": 8.9, \"max\": 55.8, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 8.7, \"min\": 2.0, \"max\": 20.4, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462caddc_4648", "family": "gear", "tier": 1, "seed": 1177333212, "symmetry": "none", "op_count": 1, "ir_hash": "7a0d648f5a1d917e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 425.0, "surface_area": 558.0, "principal_moments": [5410.0, 5410.0, 9940.0], "n_faces": 81, "n_edges": 237, "n_vertices": 158}, "dimensions": {"lines": ["Spur gear, module 1 mm, 13 teeth (pitch \u00d813 mm), face width 3.5 mm, \u00d83 mm bore."], "text": "Spur gear, module 1 mm, 13 teeth (pitch \u00d813 mm), face width 3.5 mm, \u00d83 mm bore."}, "params": {"module": {"type": "float", "default": 1.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 13, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 3.5, "min": 1.4, "max": 8.8, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "bore_d": {"type": "float", "default": 3.0, "min": 2.0, "max": 6.3, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333212 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 1.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 13, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 3.5, \"min\": 1.4, \"max\": 8.8, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 3.0, \"min\": 2.0, \"max\": 6.3, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462caddd_4649", "family": "block", "tier": 1, "seed": 1177333213, "symmetry": "none", "op_count": 2, "ir_hash": "aa56d130042e5265", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 47600.0, "surface_area": 10300.0, "principal_moments": [7100000.0, 15499999.999999998, 15499999.999999998], "n_faces": 11, "n_edges": 27, "n_vertices": 18}, "dimensions": {"lines": ["Rectangular body, 30 \u00d7 29.6 \u00d7 54.9 mm (W\u00d7D\u00d7H).", "Five \u00d82.3 mm holes in two staggered rows, 11.2 \u00d7 12.4 mm pitch."], "text": "Rectangular body, 30 \u00d7 29.6 \u00d7 54.9 mm (W\u00d7D\u00d7H). Five \u00d82.3 mm holes in two staggered rows, 11.2 \u00d7 12.4 mm pitch."}, "params": {"block_w": {"type": "float", "default": 30, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 29.6, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 54.9, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 2.3, "min": 2.0, "max": 3.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 3, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333213 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 30, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 29.6, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 54.9, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 2.3, \"min\": 2.0, \"max\": 3.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 3, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 11.2\n    _ssy = 12.4\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462caddf_4651", "family": "plate", "tier": 1, "seed": 1177333215, "symmetry": "radial", "op_count": 2, "ir_hash": "8b99ad9cdf129fa3", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 52400.0, "surface_area": 16800.0, "principal_moments": [16299999.999999998, 53499999.99999999, 69200000.0], "n_faces": 20, "n_edges": 54, "n_vertices": 36}, "dimensions": {"lines": ["Rectangular body, 110 \u00d7 60.8 \u00d7 8 mm (W\u00d7D\u00d7H).", "Twelve \u00d84.3 mm holes on a \u00d866 mm bolt circle."], "text": "Rectangular body, 110 \u00d7 60.8 \u00d7 8 mm (W\u00d7D\u00d7H). Twelve \u00d84.3 mm holes on a \u00d866 mm bolt circle."}, "params": {"plate_w": {"type": "float", "default": 110, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 60.8, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "bolt_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 33.0, "min": 22.0, "max": 49.5, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 12, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333215 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 110, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 60.8, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 33.0, \"min\": 22.0, \"max\": 49.5, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 12, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462cade0_4652", "family": "tapped", "tier": 1, "seed": 1177333216, "symmetry": "none", "op_count": 1, "ir_hash": "bf9f3dc4602a12a4", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 42300.0, "surface_area": 12400.0, "principal_moments": [8910000.0, 11699999.999999998, 18100000.0], "n_faces": 506, "n_edges": 1424, "n_vertices": 920}, "dimensions": {"lines": ["Four M12x1.75 tapped holes in a plate."], "text": "Four M12x1.75 tapped holes in a plate."}, "params": {"major_d": {"type": "float", "default": 12.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 1.75, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 19.2, "min": 14.4, "max": 34.6, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "plate_w": {"type": "float", "default": 55, "min": 33.0, "max": 88.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 47.0, "min": 28.2, "max": 75.2, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333216 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 12.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.75, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 19.2, \"min\": 14.4, \"max\": 34.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"plate_w\": {\"type\": 'float', \"default\": 55, \"min\": 33.0, \"max\": 88.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 47.0, \"min\": 28.2, \"max\": 75.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n}\n\n\ndef build(p):\n\n    _W, _D, _H = p[\"plate_w\"], p[\"plate_d\"], p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Box(_W, _D, _H)\n    _sx, _sy = p[\"plate_w\"] * 0.6, p[\"plate_d\"] * 0.6\n    _locs = [(_xx, _yy) for _xx in (-_sx / 2, _sx / 2) for _yy in (-_sy / 2, _sy / 2)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462cade1_4653", "family": "bracket", "tier": 2, "seed": 1177333217, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "9b07fa2411e9c5c6", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 17000.0, "surface_area": 9650.0, "principal_moments": [5080000.0, 5120000.0, 8130000.0], "n_faces": 14, "n_edges": 37, "n_vertices": 24}, "dimensions": {"lines": ["L-bracket: base leg 42.09 mm, vertical leg 38.5 mm, 54.1 mm wide, 4 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 3.6 mm corner gusset."], "text": "L-bracket: base leg 42.09 mm, vertical leg 38.5 mm, 54.1 mm wide, 4 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 3.6 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 42.09, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 38.5, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 54.1, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 4.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 3.6, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333217 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 42.09, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 38.5, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 54.1, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 3.6, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462cade2_4654", "family": "bracket", "tier": 2, "seed": 1177333218, "symmetry": "none", "op_count": 1, "ir_hash": "cb1e0d248c75754e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 36100.0, "surface_area": 14300.0, "principal_moments": [11599999.999999998, 28199999.999999996, 28799999.999999996], "n_faces": 14, "n_edges": 37, "n_vertices": 24}, "dimensions": {"lines": ["L-bracket: base leg 70.12 mm, vertical leg 60.1 mm, 46.16 mm wide, 6 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg; 5.1 mm corner gusset."], "text": "L-bracket: base leg 70.12 mm, vertical leg 60.1 mm, 46.16 mm wide, 6 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg; 5.1 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 70.12, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 60.1, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 46.16, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 6.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 5.1, "min": 3.0, "max": 18.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333218 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 70.12, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 60.1, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 46.16, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 5.1, \"min\": 3.0, \"max\": 18.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462cade3_4655", "family": "bracket", "tier": 2, "seed": 1177333219, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "f0945718840ca47f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 16500.0, "surface_area": 6880.0, "principal_moments": [2950000.0, 3820000.0, 5160000.0], "n_faces": 14, "n_edges": 37, "n_vertices": 24}, "dimensions": {"lines": ["L-bracket: base leg 35 mm, vertical leg 38 mm, 40 mm wide, 6 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg; 8 mm corner gusset."], "text": "L-bracket: base leg 35 mm, vertical leg 38 mm, 40 mm wide, 6 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg; 8 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 35, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 38.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 40, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 6.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 8.0, "min": 3.0, "max": 18.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333219 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 35, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 38.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 40, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 18.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462cade4_4656", "family": "enclosure", "tier": 1, "seed": 1177333220, "symmetry": "none", "op_count": 2, "ir_hash": "855ce16f471549e1", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 28700.0, "surface_area": 10700.0, "principal_moments": [6300000.0, 7170000.0, 9790000.0], "n_faces": 11, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 42.69 \u00d7 23.9 \u00d7 41.5 mm (W\u00d7D\u00d7H).", "Hollowed to 5.8 mm wall thickness, open at top face."], "text": "Rectangular body, 42.69 \u00d7 23.9 \u00d7 41.5 mm (W\u00d7D\u00d7H). Hollowed to 5.8 mm wall thickness, open at top face."}, "params": {"enc_w": {"type": "float", "default": 42.69, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 23.9, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 41.5, "min": 16.6, "max": 83.0, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 5.8, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333220 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 42.69, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 23.9, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 41.5, \"min\": 16.6, \"max\": 83.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 5.8, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462cade6_4658", "family": "gear", "tier": 1, "seed": 1177333222, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "a2a789f4b61ecead", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 38500.0, "surface_area": 12600.0, "principal_moments": [13299999.999999998, 13299999.999999998, 25999999.999999996], "n_faces": 147, "n_edges": 435, "n_vertices": 290}, "dimensions": {"lines": ["Spur gear, module 3 mm, 24 teeth (pitch \u00d872 mm), face width 9.9 mm, \u00d813 mm bore."], "text": "Spur gear, module 3 mm, 24 teeth (pitch \u00d872 mm), face width 9.9 mm, \u00d813 mm bore."}, "params": {"module": {"type": "float", "default": 3.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 24, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 9.9, "min": 4.0, "max": 24.8, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "bore_d": {"type": "float", "default": 13.0, "min": 2.0, "max": 38.7, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333222 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 3.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 24, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 9.9, \"min\": 4.0, \"max\": 24.8, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 13.0, \"min\": 2.0, \"max\": 38.7, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462cade7_4659", "family": "ribbed", "tier": 2, "seed": 1177333223, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "72e053fbfb01e031", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 34600.0, "surface_area": 21400.0, "principal_moments": [11200000.0, 17600000.0, 25299999.999999996], "n_faces": 46, "n_edges": 112, "n_vertices": 68}, "dimensions": {"lines": ["Rectangular body, 75 \u00d7 53.9 \u00d7 4 mm (W\u00d7D\u00d7H).", "Five ribs, 3.2 mm thick, 19.2 mm tall."], "text": "Rectangular body, 75 \u00d7 53.9 \u00d7 4 mm (W\u00d7D\u00d7H). Five ribs, 3.2 mm thick, 19.2 mm tall."}, "params": {"base_w": {"type": "float", "default": 75, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 53.9, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 4.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 5, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 19.2, "min": 7.7, "max": 38.4, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 3.2, "min": 1.0, "max": 8.0, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333223 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 75, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 53.9, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 5, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 19.2, \"min\": 7.7, \"max\": 38.4, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 3.2, \"min\": 1.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462cade8_4660", "family": "ribbed", "tier": 3, "seed": 1177333224, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "60ced14b5039d411", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 47700.0, "surface_area": 15700.0, "principal_moments": [14999999.999999998, 34800000.0, 47699999.99999999], "n_faces": 22, "n_edges": 52, "n_vertices": 32}, "dimensions": {"lines": ["Rectangular body, 85 \u00d7 56.9 \u00d7 8 mm (W\u00d7D\u00d7H).", "Two ribs, 5.5 mm thick, 12.1 mm tall."], "text": "Rectangular body, 85 \u00d7 56.9 \u00d7 8 mm (W\u00d7D\u00d7H). Two ribs, 5.5 mm thick, 12.1 mm tall."}, "params": {"base_w": {"type": "float", "default": 85, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 56.9, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 8.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 2, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 12.1, "min": 4.8, "max": 24.2, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 5.5, "min": 1.0, "max": 13.8, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333224 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 85, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 56.9, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 2, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 12.1, \"min\": 4.8, \"max\": 24.2, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 5.5, \"min\": 1.0, \"max\": 13.8, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462cade9_4661", "family": "lofted", "tier": 1, "seed": 1177333225, "symmetry": "none", "op_count": 2, "ir_hash": "95d1e1e79217bd96", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 16600.0, "surface_area": 4790.0, "principal_moments": [1990000.0, 1990000.0, 2310000.0], "n_faces": 8, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["Lofted body through 2 sections: 35 \u00d7 35 mm rectangular section \u2192 \u00d816.8 mm circular section.", "One \u00d87.8 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 2 sections: 35 \u00d7 35 mm rectangular section \u2192 \u00d816.8 mm circular section. One \u00d87.8 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 35, "min": 17.5, "max": 56.0, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 16.8, "min": 6.7, "max": 42.0, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 27.2, "min": 10.9, "max": 54.4, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_bore_d": {"type": "float", "default": 7.8, "min": 2.0, "max": 13.4, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333225 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 35, \"min\": 17.5, \"max\": 56.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 16.8, \"min\": 6.7, \"max\": 42.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 27.2, \"min\": 10.9, \"max\": 54.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 7.8, \"min\": 2.0, \"max\": 13.4, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .rect(p[\"loft_base\"], p[\"loft_base\"])\n        .workplane(offset=p[\"loft_h\"])\n        .circle(p[\"loft_top\"] / 2)\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462cadea_4662", "family": "plate", "tier": 0, "seed": 1177333226, "symmetry": "none", "op_count": 1, "ir_hash": "ba1156f1e8a58df0", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 13300.0, "surface_area": 5660.0, "principal_moments": [1090000.0, 5750000.0, 6760000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 71.84 \u00d7 30.8 \u00d7 6 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 71.84 \u00d7 30.8 \u00d7 6 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 71.84, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 30.8, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 6.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333226 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 71.84, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 30.8, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462cadeb_4663", "family": "block", "tier": 3, "seed": 1177333227, "symmetry": "radial", "op_count": 4, "ir_hash": "6def82c287a7daa8", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 56600.0, "surface_area": 16700.0, "principal_moments": [12099999.999999998, 31099999.999999996, 39500000.0], "n_faces": 21, "n_edges": 54, "n_vertices": 36}, "dimensions": {"lines": ["Rectangular body, 45 \u00d7 18.6 \u00d7 80.4 mm (W\u00d7D\u00d7H).", "Six \u00d86.4 mm holes on a \u00d827 mm bolt circle.", "Pocket 18.1 \u00d7 9.3 mm, 28.3 mm deep, in top face.", "Fillet radius 1.506 mm on vertical edges (optional, off by default)."], "text": "Rectangular body, 45 \u00d7 18.6 \u00d7 80.4 mm (W\u00d7D\u00d7H). Six \u00d86.4 mm holes on a \u00d827 mm bolt circle. Pocket 18.1 \u00d7 9.3 mm, 28.3 mm deep, in top face. Fillet radius 1.506 mm on vertical edges (optional, off by default)."}, "params": {"block_w": {"type": "float", "default": 45, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 18.6, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 80.4, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "bolt_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 13.5, "min": 9.0, "max": 20.2, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 6, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}, "pocket_w": {"type": "float", "default": 18.1, "min": 9.1, "max": 36.0, "step": 1.0, "group": "Pocket", "label": "Pocket width (mm)"}, "pocket_d": {"type": "float", "default": 9.3, "min": 4.7, "max": 14.9, "step": 1.0, "group": "Pocket", "label": "Pocket depth (mm)"}, "pocket_h": {"type": "float", "default": 28.3, "min": 11.3, "max": 68.3, "step": 0.5, "group": "Pocket", "label": "Pocket height (mm)"}, "filleted2": {"type": "bool", "default": false, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333227 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 45, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 18.6, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 80.4, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 13.5, \"min\": 9.0, \"max\": 20.2, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n    \"pocket_w\": {\"type\": 'float', \"default\": 18.1, \"min\": 9.1, \"max\": 36.0, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket width (mm)'},\n    \"pocket_d\": {\"type\": 'float', \"default\": 9.3, \"min\": 4.7, \"max\": 14.9, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket depth (mm)'},\n    \"pocket_h\": {\"type\": 'float', \"default\": 28.3, \"min\": 11.3, \"max\": 68.3, \"step\": 0.5, \"group\": 'Pocket', \"label\": 'Pocket height (mm)'},\n    \"filleted2\": {\"type\": 'bool', \"default\": False, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"pocket_w\"], p[\"pocket_d\"])\n        .cutBlind(-p[\"pocket_h\"])\n    )\n    if p[\"filleted2\"]:\n        result = result.edges('|Z').fillet(min(p[\"block_w\"], p[\"block_d\"]) * 0.08095330067182138)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462cadec_4664", "family": "lofted", "tier": 1, "seed": 1177333228, "symmetry": "none", "op_count": 2, "ir_hash": "dd1408c082296bbc", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 63700.0, "surface_area": 12300.0, "principal_moments": [18700000.0, 18700000.0, 27399999.999999996], "n_faces": 8, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["Lofted body through 2 sections: 63.32 \u00d7 63.32 mm rectangular section \u2192 \u00d821.1 mm circular section.", "One \u00d811.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 2 sections: 63.32 \u00d7 63.32 mm rectangular section \u2192 \u00d821.1 mm circular section. One \u00d811.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 63.32, "min": 31.7, "max": 101.3, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 21.1, "min": 8.4, "max": 76.0, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 36.3, "min": 14.5, "max": 72.6, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_bore_d": {"type": "float", "default": 11.3, "min": 2.0, "max": 16.9, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333228 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 63.32, \"min\": 31.7, \"max\": 101.3, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 21.1, \"min\": 8.4, \"max\": 76.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 36.3, \"min\": 14.5, \"max\": 72.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 11.3, \"min\": 2.0, \"max\": 16.9, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .rect(p[\"loft_base\"], p[\"loft_base\"])\n        .workplane(offset=p[\"loft_h\"])\n        .circle(p[\"loft_top\"] / 2)\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462caded_4665", "family": "block", "tier": 2, "seed": 1177333229, "symmetry": "mirror_xy", "op_count": 3, "ir_hash": "1748403cf38c2a3b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 7060.0, "surface_area": 3180.0, "principal_moments": [300000.0, 653000.0, 765000.0], "n_faces": 19, "n_edges": 51, "n_vertices": 30}, "dimensions": {"lines": ["Rectangular body, 20 \u00d7 12.3 \u00d7 24.5 mm (W\u00d7D\u00d7H).", "Four \u00d82.3 mm holes at the corners, 14 \u00d7 8.61 mm spacing.", "Boss \u00d816.9 mm \u00d7 6.4 mm tall on top face."], "text": "Rectangular body, 20 \u00d7 12.3 \u00d7 24.5 mm (W\u00d7D\u00d7H). Four \u00d82.3 mm holes at the corners, 14 \u00d7 8.61 mm spacing. Boss \u00d816.9 mm \u00d7 6.4 mm tall on top face."}, "params": {"block_w": {"type": "float", "default": 20, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 12.3, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 24.5, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 2.3, "min": 2.0, "max": 2.8, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "boss_d": {"type": "float", "default": 16.9, "min": 8.4, "max": 33.8, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 6.4, "min": 2.6, "max": 16.0, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333229 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 20, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 12.3, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 24.5, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 2.3, \"min\": 2.0, \"max\": 2.8, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"boss_d\": {\"type\": 'float', \"default\": 16.9, \"min\": 8.4, \"max\": 33.8, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.6, \"max\": 16.0, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462cadee_4666", "family": "compound", "tier": 1, "seed": 1177333230, "symmetry": "none", "op_count": 3, "ir_hash": "ee60ae080b44a204", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 72000.0, "surface_area": 17500.0, "principal_moments": [33900000.0, 34800000.0, 36200000.0], "n_faces": 18, "n_edges": 45, "n_vertices": 30}, "dimensions": {"lines": ["Rectangular body, 59.14 \u00d7 55.4 \u00d7 20 mm (W\u00d7D\u00d7H).", "6-sided polygon section, 18.2 mm across corners attachment, 59.2 mm long, from top face with a \u00d88.5 mm bore.", "Four \u00d85.3 mm holes at the corners, 41.398 \u00d7 38.78 mm spacing."], "text": "Rectangular body, 59.14 \u00d7 55.4 \u00d7 20 mm (W\u00d7D\u00d7H). 6-sided polygon section, 18.2 mm across corners attachment, 59.2 mm long, from top face with a \u00d88.5 mm bore. Four \u00d85.3 mm holes at the corners, 41.398 \u00d7 38.78 mm spacing."}, "params": {"base_w": {"type": "float", "default": 59.14, "min": 30.0, "max": 160.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 55.4, "min": 25.0, "max": 160.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_h": {"type": "float", "default": 20.0, "min": 3.0, "max": 30.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "col_sides": {"type": "int", "default": 6, "min": 3, "max": 8, "step": 1, "group": "Column", "label": "Column sides"}, "col_r": {"type": "float", "default": 9.1, "min": 4.5, "max": 13.8, "step": 1.0, "group": "Column", "label": "Column circumradius (mm)"}, "col_h": {"type": "float", "default": 59.2, "min": 17.8, "max": 177.6, "step": 1.0, "group": "Column", "label": "Column height (mm)"}, "col_bore": {"type": "float", "default": 8.5, "min": 2.0, "max": 11.3, "step": 0.5, "group": "Column", "label": "Column bore diameter (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 12.5, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333230 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 59.14, \"min\": 30.0, \"max\": 160.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 55.4, \"min\": 25.0, \"max\": 160.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_h\": {\"type\": 'float', \"default\": 20.0, \"min\": 3.0, \"max\": 30.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"col_sides\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Column', \"label\": 'Column sides'},\n    \"col_r\": {\"type\": 'float', \"default\": 9.1, \"min\": 4.5, \"max\": 13.8, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column circumradius (mm)'},\n    \"col_h\": {\"type\": 'float', \"default\": 59.2, \"min\": 17.8, \"max\": 177.6, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column height (mm)'},\n    \"col_bore\": {\"type\": 'float', \"default\": 8.5, \"min\": 2.0, \"max\": 11.3, \"step\": 0.5, \"group\": 'Column', \"label\": 'Column bore diameter (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 12.5, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_h\"])\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"col_sides\"], p[\"col_r\"] * 2).extrude(p[\"col_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"col_bore\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"base_w\"] * 0.7, p[\"base_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462cadef_4667", "family": "bracket", "tier": 2, "seed": 1177333231, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "3cb7f26797616ed4", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 34300.0, "surface_area": 11000.0, "principal_moments": [9790000.0, 10800000.0, 14399999.999999998], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["C-channel bracket: base leg 41.9 mm, vertical leg 31.9 mm, 48.11 mm wide, 8 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 11.7 mm corner gusset."], "text": "C-channel bracket: base leg 41.9 mm, vertical leg 31.9 mm, 48.11 mm wide, 8 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 11.7 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 41.9, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 31.9, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 48.11, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 8.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 11.7, "min": 4.0, "max": 24.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333231 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 41.9, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 31.9, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 48.11, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 11.7, \"min\": 4.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl / 2, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bl - _bt, _bt).lineTo(_bl - _bt - _g, _bt)\n                    .lineTo(_bl - _bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462cadf0_4668", "family": "plate", "tier": 3, "seed": 1177333232, "symmetry": "none", "op_count": 4, "ir_hash": "cbbde7731ea3e045", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 38300.0, "surface_area": 13100.0, "principal_moments": [5890000.0, 43000000.0, 48199999.99999999], "n_faces": 22, "n_edges": 57, "n_vertices": 38}, "dimensions": {"lines": ["Rectangular body, 110 \u00d7 40 \u00d7 10 mm (W\u00d7D\u00d7H).", "Seven \u00d83.2 mm holes in two staggered rows, 27.5 \u00d7 30.3 mm pitch.", "Chamfer 1.8 mm on vertical edges.", "Pocket 51.4 \u00d7 18.1 mm, 5.4 mm deep, in top face."], "text": "Rectangular body, 110 \u00d7 40 \u00d7 10 mm (W\u00d7D\u00d7H). Seven \u00d83.2 mm holes in two staggered rows, 27.5 \u00d7 30.3 mm pitch. Chamfer 1.8 mm on vertical edges. Pocket 51.4 \u00d7 18.1 mm, 5.4 mm deep, in top face."}, "params": {"plate_w": {"type": "float", "default": 110, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 40.0, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 4.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 4, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}, "chamfer_d": {"type": "float", "default": 1.8, "min": 1.5, "max": 2.5, "step": 0.5, "group": "Body", "label": "Chamfer distance (mm)"}, "chamfered": {"type": "bool", "default": true, "group": "Body", "label": "Chamfer edges"}, "pocket_w": {"type": "float", "default": 51.4, "min": 25.7, "max": 88.0, "step": 1.0, "group": "Pocket", "label": "Pocket width (mm)"}, "pocket_d": {"type": "float", "default": 18.1, "min": 9.1, "max": 32.0, "step": 1.0, "group": "Pocket", "label": "Pocket depth (mm)"}, "pocket_h": {"type": "float", "default": 5.4, "min": 2.2, "max": 8.5, "step": 0.5, "group": "Pocket", "label": "Pocket height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333232 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 110, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 40.0, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 4.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 4, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n    \"chamfer_d\": {\"type\": 'float', \"default\": 1.8, \"min\": 1.5, \"max\": 2.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Chamfer distance (mm)'},\n    \"chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Chamfer edges'},\n    \"pocket_w\": {\"type\": 'float', \"default\": 51.4, \"min\": 25.7, \"max\": 88.0, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket width (mm)'},\n    \"pocket_d\": {\"type\": 'float', \"default\": 18.1, \"min\": 9.1, \"max\": 32.0, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket depth (mm)'},\n    \"pocket_h\": {\"type\": 'float', \"default\": 5.4, \"min\": 2.2, \"max\": 8.5, \"step\": 0.5, \"group\": 'Pocket', \"label\": 'Pocket height (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 27.5\n    _ssy = 30.3\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    if p[\"chamfered\"]:\n        result = result.edges('|Z').chamfer(p[\"chamfer_d\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"pocket_w\"], p[\"pocket_d\"])\n        .cutBlind(-p[\"pocket_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462cadf1_4669", "family": "block", "tier": 3, "seed": 1177333233, "symmetry": "none", "op_count": 5, "ir_hash": "db8747fb640e1be3", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 6590.0, "surface_area": 3090.0, "principal_moments": [329000.0, 491000.0, 620000.0], "n_faces": 33, "n_edges": 90, "n_vertices": 56}, "dimensions": {"lines": ["Rectangular body, 24.09 \u00d7 10.2 \u00d7 15.9 mm (W\u00d7D\u00d7H).", "Four 2.5 mm square holes at the corners, 16.863 \u00d7 7.14 mm spacing.", "Boss \u00d819 mm \u00d7 10.7 mm tall on top face.", "Fillet radius 0.957 mm on vertical edges (optional, off by default).", "\u00d84 mm circular section attachment, 4 mm long, from back face."], "text": "Rectangular body, 24.09 \u00d7 10.2 \u00d7 15.9 mm (W\u00d7D\u00d7H). Four 2.5 mm square holes at the corners, 16.863 \u00d7 7.14 mm spacing. Boss \u00d819 mm \u00d7 10.7 mm tall on top face. Fillet radius 0.957 mm on vertical edges (optional, off by default). \u00d84 mm circular section attachment, 4 mm long, from back face."}, "params": {"block_w": {"type": "float", "default": 24.09, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 10.2, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 15.9, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 2.5, "min": 2.0, "max": 3.0, "step": 0.5, "group": "Holes", "label": "Square hole size (mm)"}, "boss_d": {"type": "float", "default": 19.0, "min": 9.5, "max": 38.0, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 10.7, "min": 4.3, "max": 26.8, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}, "filleted2": {"type": "bool", "default": false, "group": "Body", "label": "Fillet corners"}, "side_tube_d": {"type": "float", "default": 4.0, "min": 1.6, "max": 8.0, "step": 1.0, "group": "Side Tube", "label": "Side tube diameter (mm)"}, "side_tube_len": {"type": "float", "default": 4.0, "min": 1.2, "max": 12.0, "step": 1.0, "group": "Side Tube", "label": "Side tube length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333233 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 24.09, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 10.2, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 15.9, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 2.5, \"min\": 2.0, \"max\": 3.0, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Square hole size (mm)'},\n    \"boss_d\": {\"type\": 'float', \"default\": 19.0, \"min\": 9.5, \"max\": 38.0, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 10.7, \"min\": 4.3, \"max\": 26.8, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n    \"filleted2\": {\"type\": 'bool', \"default\": False, \"group\": 'Body', \"label\": 'Fillet corners'},\n    \"side_tube_d\": {\"type\": 'float', \"default\": 4.0, \"min\": 1.6, \"max\": 8.0, \"step\": 1.0, \"group\": 'Side Tube', \"label\": 'Side tube diameter (mm)'},\n    \"side_tube_len\": {\"type\": 'float', \"default\": 4.0, \"min\": 1.2, \"max\": 12.0, \"step\": 1.0, \"group\": 'Side Tube', \"label\": 'Side tube length (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().rect(p[\"hole_d\"], p[\"hole_d\"]).cutThruAll()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    if p[\"filleted2\"]:\n        result = result.edges('|Z').fillet(min(p[\"block_w\"], p[\"block_d\"]) * 0.093861650204273)\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"side_tube_d\"] / 2).extrude(p[\"side_tube_len\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462cadf2_4670", "family": "tapped", "tier": 2, "seed": 1177333234, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "9ea90463a3eaa81f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 17000.0, "surface_area": 4910.0, "principal_moments": [1970000.0, 1970000.0, 2900000.0], "n_faces": 128, "n_edges": 356, "n_vertices": 230}, "dimensions": {"lines": ["One M12x1.75 tapped hole in a cylinder."], "text": "One M12x1.75 tapped hole in a cylinder."}, "params": {"major_d": {"type": "float", "default": 12.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 1.75, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 19.2, "min": 14.4, "max": 34.6, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "body_d": {"type": "float", "default": 35.3, "min": 21.6, "max": 56.5, "step": 1.0, "group": "Body", "label": "Outer \u00d8 (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333234 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 12.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.75, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 19.2, \"min\": 14.4, \"max\": 34.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"body_d\": {\"type\": 'float', \"default\": 35.3, \"min\": 21.6, \"max\": 56.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer \u00d8 (mm)'},\n}\n\n\ndef build(p):\n\n    _W = _D = p[\"body_d\"]\n    _H = p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Cylinder(radius=_W / 2, height=_H)\n    _locs = [(0.0, 0.0)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462cadf3_4671", "family": "bracket", "tier": 1, "seed": 1177333235, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "27f4af0b7f17a675", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 60200.0, "surface_area": 18200.0, "principal_moments": [27399999.999999996, 51299999.99999999, 60099999.99999999], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["L-bracket: base leg 75.52 mm, vertical leg 58.2 mm, 60 mm wide, 8 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."], "text": "L-bracket: base leg 75.52 mm, vertical leg 58.2 mm, 60 mm wide, 8 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 75.52, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 58.2, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 60.0, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 8.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333235 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 75.52, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 58.2, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 60.0, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462cadf4_4672", "family": "flanged", "tier": 1, "seed": 1177333236, "symmetry": "none", "op_count": 2, "ir_hash": "36c0802c9f810a22", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 48700.0, "surface_area": 16900.0, "principal_moments": [18300000.0, 18300000.0, 20300000.0], "n_faces": 12, "n_edges": 27, "n_vertices": 18}, "dimensions": {"lines": ["Revolved body, \u00d840.24 mm \u00d7 40.6 mm tall with \u00d821.1 mm bore, \u00d876.7 mm \u00d7 3.4 mm flange.", "Six \u00d83.2 mm holes on a \u00d846 mm bolt circle."], "text": "Revolved body, \u00d840.24 mm \u00d7 40.6 mm tall with \u00d821.1 mm bore, \u00d876.7 mm \u00d7 3.4 mm flange. Six \u00d83.2 mm holes on a \u00d846 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 40.24, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 40.6, "min": 12.2, "max": 101.5, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 21.1, "min": 2.0, "max": 28.2, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 76.7, "min": 52.3, "max": 120.7, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 3.4, "min": 1.0, "max": 16.2, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 23.0, "min": 15.3, "max": 34.5, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 6, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333236 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 40.24, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 40.6, \"min\": 12.2, \"max\": 101.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 21.1, \"min\": 2.0, \"max\": 28.2, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 76.7, \"min\": 52.3, \"max\": 120.7, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 3.4, \"min\": 1.0, \"max\": 16.2, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 23.0, \"min\": 15.3, \"max\": 34.5, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462cadf5_4673", "family": "revolved", "tier": 0, "seed": 1177333237, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "a33f20fad86da3e3", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 283000.0, "surface_area": 50000.0, "principal_moments": [121000000.0, 658000000.0, 658000000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d853.49 mm \u00d7 188.7 mm tall."], "text": "Revolved body, \u00d853.49 mm \u00d7 188.7 mm tall."}, "params": {"outer_d": {"type": "float", "default": 53.49, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 188.7, "min": 56.6, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333237 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 53.49, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 188.7, \"min\": 56.6, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462cadf6_4674", "family": "bracket", "tier": 1, "seed": 1177333238, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "364897e052e59df0", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 11600.0, "surface_area": 4680.0, "principal_moments": [979000.0, 3540000.0, 3720000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["L-bracket: base leg 50 mm, vertical leg 32.7 mm, 20 mm wide, 8 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."], "text": "L-bracket: base leg 50 mm, vertical leg 32.7 mm, 20 mm wide, 8 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 50, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 32.7, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 20, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 8.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 8.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333238 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 50, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 32.7, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 20, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 8.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462cadf7_4675", "family": "profiled", "tier": 1, "seed": 1177333239, "symmetry": "none", "op_count": 1, "ir_hash": "bc52e6bcb23672ed", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 251000.0, "surface_area": 61400.0, "principal_moments": [73600000.0, 1750000000.0, 1750000000.0], "n_faces": 4, "n_edges": 6, "n_vertices": 4}, "dimensions": {"lines": ["Revolved body, \u00d841.61 mm \u00d7 286.1 mm tall with \u00d824.8 mm bore."], "text": "Revolved body, \u00d841.61 mm \u00d7 286.1 mm tall with \u00d824.8 mm bore."}, "params": {"outer_d": {"type": "float", "default": 41.61, "min": 20.8, "max": 83.2, "step": 1.0, "group": "Profile", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 286.1, "min": 85.8, "max": 858.3, "step": 5.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 24.8, "min": 2.0, "max": 33.3, "step": 0.5, "group": "Profile", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333239 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 41.61, \"min\": 20.8, \"max\": 83.2, \"step\": 1.0, \"group\": 'Profile', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 286.1, \"min\": 85.8, \"max\": 858.3, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 24.8, \"min\": 2.0, \"max\": 33.3, \"step\": 0.5, \"group\": 'Profile', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462cadf8_4676", "family": "tapped", "tier": 0, "seed": 1177333240, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "7888c4e5ad049c5d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 27900.0, "surface_area": 6950.0, "principal_moments": [4540000.0, 4540000.0, 6950000.0], "n_faces": 150, "n_edges": 418, "n_vertices": 270}, "dimensions": {"lines": ["One M12x1.75 tapped hole in a plate."], "text": "One M12x1.75 tapped hole in a plate."}, "params": {"major_d": {"type": "float", "default": 12.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 1.75, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 21.4, "min": 14.4, "max": 38.5, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "plate_w": {"type": "float", "default": 37.4, "min": 22.4, "max": 59.8, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 37.4, "min": 22.4, "max": 59.8, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333240 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 12.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.75, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 21.4, \"min\": 14.4, \"max\": 38.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"plate_w\": {\"type\": 'float', \"default\": 37.4, \"min\": 22.4, \"max\": 59.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 37.4, \"min\": 22.4, \"max\": 59.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n}\n\n\ndef build(p):\n\n    _W, _D, _H = p[\"plate_w\"], p[\"plate_d\"], p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Box(_W, _D, _H)\n    _locs = [(0.0, 0.0)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462cadf9_4677", "family": "compound", "tier": 1, "seed": 1177333241, "symmetry": "none", "op_count": 2, "ir_hash": "49ca202f3cc734fc", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 66300.0, "surface_area": 15500.0, "principal_moments": [10800000.0, 48699999.99999999, 48699999.99999999], "n_faces": 6, "n_edges": 9, "n_vertices": 6}, "dimensions": {"lines": ["\u00d834.81 mm circular section, extruded 69.5 mm thick.", "\u00d825 mm circular section attachment, 28 mm long, from top face with a \u00d813.3 mm bore."], "text": "\u00d834.81 mm circular section, extruded 69.5 mm thick. \u00d825 mm circular section attachment, 28 mm long, from top face with a \u00d813.3 mm bore."}, "params": {"shaft_d": {"type": "float", "default": 34.81, "min": 17.4, "max": 62.7, "step": 1.0, "group": "Body", "label": "Shaft diameter (mm)"}, "shaft_len": {"type": "float", "default": 69.5, "min": 27.8, "max": 139.0, "step": 1.0, "group": "Body", "label": "Shaft length (mm)"}, "step_d": {"type": "float", "default": 25.0, "min": 12.5, "max": 31.3, "step": 1.0, "group": "Step", "label": "Step diameter (mm)"}, "step_len": {"type": "float", "default": 28.0, "min": 8.4, "max": 70.0, "step": 1.0, "group": "Step", "label": "Step length (mm)"}, "axial_bore": {"type": "float", "default": 13.3, "min": 2.0, "max": 18.0, "step": 0.5, "group": "Bore", "label": "Axial bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333241 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"shaft_d\": {\"type\": 'float', \"default\": 34.81, \"min\": 17.4, \"max\": 62.7, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft diameter (mm)'},\n    \"shaft_len\": {\"type\": 'float', \"default\": 69.5, \"min\": 27.8, \"max\": 139.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft length (mm)'},\n    \"step_d\": {\"type\": 'float', \"default\": 25.0, \"min\": 12.5, \"max\": 31.3, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step diameter (mm)'},\n    \"step_len\": {\"type\": 'float', \"default\": 28.0, \"min\": 8.4, \"max\": 70.0, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step length (mm)'},\n    \"axial_bore\": {\"type\": 'float', \"default\": 13.3, \"min\": 2.0, \"max\": 18.0, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Axial bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').circle(p[\"shaft_d\"] / 2).extrude(p[\"shaft_len\"]))\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"step_d\"] / 2).extrude(p[\"step_len\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"axial_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462cadfa_4678", "family": "ribbed", "tier": 1, "seed": 1177333242, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "f76e0bbf3c9cca6a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 26700.0, "surface_area": 13800.0, "principal_moments": [6040000.0, 13599999.999999998, 19100000.0], "n_faces": 54, "n_edges": 132, "n_vertices": 80}, "dimensions": {"lines": ["Rectangular body, 79.03 \u00d7 41.6 \u00d7 5 mm (W\u00d7D\u00d7H).", "Six ribs, 4.5 mm thick, 6 mm tall."], "text": "Rectangular body, 79.03 \u00d7 41.6 \u00d7 5 mm (W\u00d7D\u00d7H). Six ribs, 4.5 mm thick, 6 mm tall."}, "params": {"base_w": {"type": "float", "default": 79.03, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 41.6, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 5.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 6, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 6.0, "min": 2.4, "max": 12.0, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 4.5, "min": 1.0, "max": 11.2, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333242 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 79.03, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 41.6, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 6, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.4, \"max\": 12.0, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 4.5, \"min\": 1.0, \"max\": 11.2, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462cadfc_4680", "family": "tapped", "tier": 1, "seed": 1177333244, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "21c6747614201224", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 56200.0, "surface_area": 13700.0, "principal_moments": [14199999.999999998, 29599999.999999996, 42000000.0], "n_faces": 374, "n_edges": 1020, "n_vertices": 648}, "dimensions": {"lines": ["Four M8x1.25 tapped holes in a plate."], "text": "Four M8x1.25 tapped holes in a plate."}, "params": {"major_d": {"type": "float", "default": 8.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 1.25, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 14.0, "min": 9.6, "max": 25.2, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "plate_w": {"type": "float", "default": 78.37, "min": 47.0, "max": 125.4, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 53.4, "min": 32.0, "max": 85.4, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333244 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.25, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 14.0, \"min\": 9.6, \"max\": 25.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"plate_w\": {\"type\": 'float', \"default\": 78.37, \"min\": 47.0, \"max\": 125.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 53.4, \"min\": 32.0, \"max\": 85.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n}\n\n\ndef build(p):\n\n    _W, _D, _H = p[\"plate_w\"], p[\"plate_d\"], p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Box(_W, _D, _H)\n    _sx, _sy = p[\"plate_w\"] * 0.6, p[\"plate_d\"] * 0.6\n    _locs = [(_xx, _yy) for _xx in (-_sx / 2, _sx / 2) for _yy in (-_sy / 2, _sy / 2)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462cadfd_4681", "family": "plate", "tier": 1, "seed": 1177333245, "symmetry": "radial", "op_count": 2, "ir_hash": "76c90e1c8121717c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 885.0, "surface_area": 940.0, "principal_moments": [16600.0, 48800.0, 64000.0], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Rectangular body, 25 \u00d7 14.3 \u00d7 3 mm (W\u00d7D\u00d7H).", "Four \u00d85.3 mm holes on a \u00d815 mm bolt circle."], "text": "Rectangular body, 25 \u00d7 14.3 \u00d7 3 mm (W\u00d7D\u00d7H). Four \u00d85.3 mm holes on a \u00d815 mm bolt circle."}, "params": {"plate_w": {"type": "float", "default": 25, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 14.3, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 3.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "bolt_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 7.5, "min": 5.0, "max": 11.2, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 4, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333245 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 25, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 14.3, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 3.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 7.5, \"min\": 5.0, \"max\": 11.2, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 4, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462cadfe_4682", "family": "lofted", "tier": 0, "seed": 1177333246, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "8535ae6653fe9936", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 22800.0, "surface_area": 4890.0, "principal_moments": [3010000.0, 3320000.0, 3330000.0], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Lofted body through 2 sections: 35.29 \u00d7 35.29 mm rectangular section \u2192 6-sided polygon section, 19.2 mm across corners."], "text": "Lofted body through 2 sections: 35.29 \u00d7 35.29 mm rectangular section \u2192 6-sided polygon section, 19.2 mm across corners."}, "params": {"loft_base": {"type": "float", "default": 35.29, "min": 17.6, "max": 56.5, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 19.2, "min": 7.7, "max": 42.3, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 33.5, "min": 13.4, "max": 67.0, "step": 1.0, "group": "Body", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333246 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 35.29, \"min\": 17.6, \"max\": 56.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 19.2, \"min\": 7.7, \"max\": 42.3, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 33.5, \"min\": 13.4, \"max\": 67.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .rect(p[\"loft_base\"], p[\"loft_base\"])\n        .workplane(offset=p[\"loft_h\"])\n        .polygon(6, p[\"loft_top\"] * 0.5 * 2)\n        .loft(combine=True)\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462cadff_4683", "family": "bracket", "tier": 1, "seed": 1177333247, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "877100a9d38c379b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 13600.0, "surface_area": 6900.0, "principal_moments": [2450000.0, 7610000.0, 8630000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["L-bracket: base leg 55 mm, vertical leg 59.7 mm, 25 mm wide, 5 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."], "text": "L-bracket: base leg 55 mm, vertical leg 59.7 mm, 25 mm wide, 5 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 55, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 59.7, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 25, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 5.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333247 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 55, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 59.7, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 25, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462cae00_4684", "family": "plate", "tier": 0, "seed": 1177333248, "symmetry": "none", "op_count": 1, "ir_hash": "b16a6420f99f7397", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 1580.0, "surface_area": 949.0, "principal_moments": [20100.0, 83100.0, 93700.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 24.39 \u00d7 10.8 \u00d7 6 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 24.39 \u00d7 10.8 \u00d7 6 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 24.39, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 10.8, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 6.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333248 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 24.39, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 10.8, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462cae01_4685", "family": "plate", "tier": 1, "seed": 1177333249, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "b9d6a82cc5e938d0", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 87100.0, "surface_area": 22900.0, "principal_moments": [50799999.99999999, 85300000.0, 135000000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 109.59 \u00d7 84.3 \u00d7 10 mm (W\u00d7D\u00d7H).", "Four \u00d813 mm holes at the corners, 76.713 \u00d7 59.01 mm spacing."], "text": "Rectangular body, 109.59 \u00d7 84.3 \u00d7 10 mm (W\u00d7D\u00d7H). Four \u00d813 mm holes at the corners, 76.713 \u00d7 59.01 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 109.59, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 84.3, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 13.0, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333249 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 109.59, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 84.3, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 13.0, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462cae02_4686", "family": "gear", "tier": 1, "seed": 1177333250, "symmetry": "none", "op_count": 1, "ir_hash": "7453d42336571c57", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 13000.0, "surface_area": 6290.0, "principal_moments": [2290000.0, 2290000.0, 4500000.0], "n_faces": 159, "n_edges": 471, "n_vertices": 314}, "dimensions": {"lines": ["Spur gear, module 2 mm, 26 teeth (pitch \u00d852 mm), face width 6.3 mm, \u00d87.1 mm bore."], "text": "Spur gear, module 2 mm, 26 teeth (pitch \u00d852 mm), face width 6.3 mm, \u00d87.1 mm bore."}, "params": {"module": {"type": "float", "default": 2.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 26, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 6.3, "min": 2.5, "max": 15.8, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "bore_d": {"type": "float", "default": 7.1, "min": 2.0, "max": 28.2, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333250 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 2.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 26, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 6.3, \"min\": 2.5, \"max\": 15.8, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 7.1, \"min\": 2.0, \"max\": 28.2, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462cae04_4688", "family": "ribbed", "tier": 2, "seed": 1177333252, "symmetry": "none", "op_count": 2, "ir_hash": "b6abc1ff63086abb", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 41700.0, "surface_area": 18000.0, "principal_moments": [12299999.999999998, 19900000.0, 27699999.999999996], "n_faces": 38, "n_edges": 92, "n_vertices": 56}, "dimensions": {"lines": ["Rectangular body, 70 \u00d7 51.8 \u00d7 6 mm (W\u00d7D\u00d7H).", "Four ribs, 4.7 mm thick, 18.9 mm tall."], "text": "Rectangular body, 70 \u00d7 51.8 \u00d7 6 mm (W\u00d7D\u00d7H). Four ribs, 4.7 mm thick, 18.9 mm tall."}, "params": {"base_w": {"type": "float", "default": 70, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 51.8, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 6.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 4, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 18.9, "min": 7.6, "max": 37.8, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 4.7, "min": 1.0, "max": 11.8, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333252 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 70, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 51.8, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 4, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 18.9, \"min\": 7.6, \"max\": 37.8, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 4.7, \"min\": 1.0, \"max\": 11.8, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462cae05_4689", "family": "enclosure", "tier": 2, "seed": 1177333253, "symmetry": "mirror_xy", "op_count": 4, "ir_hash": "30b3f943e641f66b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 31500.0, "surface_area": 20400.0, "principal_moments": [13899999.999999998, 19400000.0, 22000000.0], "n_faces": 23, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 59.61 \u00d7 43.9 \u00d7 42.2 mm (W\u00d7D\u00d7H).", "Hollowed to 3.1 mm wall thickness, open at top face.", "Four \u00d83.2 mm holes at the corners, 41.727 \u00d7 30.73 mm spacing.", "Fillet radius 5.02 mm on vertical edges."], "text": "Rectangular body, 59.61 \u00d7 43.9 \u00d7 42.2 mm (W\u00d7D\u00d7H). Hollowed to 3.1 mm wall thickness, open at top face. Four \u00d83.2 mm holes at the corners, 41.727 \u00d7 30.73 mm spacing. Fillet radius 5.02 mm on vertical edges."}, "params": {"enc_w": {"type": "float", "default": 59.61, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 43.9, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 42.2, "min": 16.9, "max": 84.4, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 3.1, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 9.9, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333253 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 59.61, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 43.9, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 42.2, \"min\": 16.9, \"max\": 84.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 3.1, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 9.9, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"enc_w\"] * 0.7, p[\"enc_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"enc_w\"], p[\"enc_d\"]) * 0.11434052242286291)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462cae06_4690", "family": "bracket", "tier": 2, "seed": 1177333254, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "2808e103935c0676", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 44700.0, "surface_area": 30700.0, "principal_moments": [22999999.999999996, 124000000.0, 127000000.0], "n_faces": 18, "n_edges": 48, "n_vertices": 32}, "dimensions": {"lines": ["Z-bracket: base leg 87.76 mm, vertical leg 90 mm, top leg 82.4 mm, 53.54 mm wide, 3 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 4.4 mm corner gusset."], "text": "Z-bracket: base leg 87.76 mm, vertical leg 90 mm, top leg 82.4 mm, 53.54 mm wide, 3 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 4.4 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 87.76, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 90.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 53.54, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 3.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 82.4, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}, "gusset_t": {"type": "float", "default": 4.4, "min": 1.5, "max": 9.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333254 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 87.76, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 90.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 53.54, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 82.4, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 4.4, \"min\": 1.5, \"max\": 9.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _tl, _vl) * 0.4 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(0, _vl - _bt).lineTo(-_g, _vl - _bt)\n                    .lineTo(0, _vl - _bt - _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462cae08_4692", "family": "enclosure", "tier": 1, "seed": 1177333256, "symmetry": "none", "op_count": 2, "ir_hash": "cc960c08680ddf7b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 50800.0, "surface_area": 46900.0, "principal_moments": [44500000.0, 88100000.0, 107000000.0], "n_faces": 11, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 110.62 \u00d7 65.3 \u00d7 48.4 mm (W\u00d7D\u00d7H).", "Hollowed to 2.2 mm wall thickness, open at top face."], "text": "Rectangular body, 110.62 \u00d7 65.3 \u00d7 48.4 mm (W\u00d7D\u00d7H). Hollowed to 2.2 mm wall thickness, open at top face."}, "params": {"enc_w": {"type": "float", "default": 110.62, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 65.3, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 48.4, "min": 19.4, "max": 96.8, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 2.2, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333256 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 110.62, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 65.3, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 48.4, \"min\": 19.4, \"max\": 96.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 2.2, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462cae09_4693", "family": "bracket", "tier": 1, "seed": 1177333257, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "9577a55bfbbf7eb0", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 6190.0, "surface_area": 3230.0, "principal_moments": [452000.0, 1350000.0, 1550000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["L-bracket: base leg 35 mm, vertical leg 39.1 mm, 15.58 mm wide, 6 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."], "text": "L-bracket: base leg 35 mm, vertical leg 39.1 mm, 15.58 mm wide, 6 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 35, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 39.1, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 15.58, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 6.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 6.2, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333257 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 35, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 39.1, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 15.58, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 6.2, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462cae0a_4694", "family": "block", "tier": 1, "seed": 1177333258, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "4ceee5a8d462e8e0", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 12900.0, "surface_area": 4320.0, "principal_moments": [790000.0, 1830000.0, 2090000.0], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["Rectangular body, 38.07 \u00d7 15.6 \u00d7 22.2 mm (W\u00d7D\u00d7H).", "Seven \u00d81.6 mm holes in two staggered rows, 9.5 \u00d7 9 mm pitch."], "text": "Rectangular body, 38.07 \u00d7 15.6 \u00d7 22.2 mm (W\u00d7D\u00d7H). Seven \u00d81.6 mm holes in two staggered rows, 9.5 \u00d7 9 mm pitch."}, "params": {"block_w": {"type": "float", "default": 38.07, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 15.6, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 22.2, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 1.6, "min": 2.0, "max": 1.6, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 4, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333258 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 38.07, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 15.6, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 22.2, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 1.6, \"min\": 2.0, \"max\": 1.6, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 4, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 9.5\n    _ssy = 9.0\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462cae0b_4695", "family": "sketched", "tier": 2, "seed": 1177333259, "symmetry": "mirror_xy", "op_count": 3, "ir_hash": "a73f78ce17a48f29", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 30600.0, "surface_area": 6980.0, "principal_moments": [4220000.0, 6090000.0, 6180000.0], "n_faces": 12, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["freeform sketched section (5 segments: 2 straight, 1 arc, 2 curves), ~35.53 \u00d7 45.484 mm, extruded 26.58 mm thick.", "One \u00d88.4 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch.", "Boss \u00d813.7 mm \u00d7 9.6 mm tall on top face with a \u00d85.3 mm bore."], "text": "freeform sketched section (5 segments: 2 straight, 1 arc, 2 curves), ~35.53 \u00d7 45.484 mm, extruded 26.58 mm thick. One \u00d88.4 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch. Boss \u00d813.7 mm \u00d7 9.6 mm tall on top face with a \u00d85.3 mm bore."}, "params": {"sk_w": {"type": "float", "default": 50, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 49.23, "min": 24.6, "max": 88.6, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "sk_t": {"type": "float", "default": 26.58, "min": 10.6, "max": 58.5, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "sk_hole_d": {"type": "float", "default": 8.4, "min": 2.0, "max": 16.8, "step": 0.5, "group": "Holes", "label": "Hole diameter (mm)"}, "boss_d": {"type": "float", "default": 13.7, "min": 6.8, "max": 27.4, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 9.6, "min": 3.8, "max": 24.0, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}, "boss_bore_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 9.6, "step": 0.1, "group": "Boss", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333259 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 50, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 49.23, \"min\": 24.6, \"max\": 88.6, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"sk_t\": {\"type\": 'float', \"default\": 26.58, \"min\": 10.6, \"max\": 58.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"sk_hole_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 2.0, \"max\": 16.8, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"boss_d\": {\"type\": 'float', \"default\": 13.7, \"min\": 6.8, \"max\": 27.4, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 9.6, \"min\": 3.8, \"max\": 24.0, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n    \"boss_bore_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 9.6, \"step\": 0.1, \"group\": 'Boss', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.4237, p[\"sk_h\"] * -0.0308).bezier([(p[\"sk_w\"] * 0.4237, p[\"sk_h\"] * -0.0308), (p[\"sk_w\"] * 0.2682, p[\"sk_h\"] * 0.2487), (p[\"sk_w\"] * 0.0575, p[\"sk_h\"] * 0.4894)]).bezier([(p[\"sk_w\"] * 0.0575, p[\"sk_h\"] * 0.4894), (p[\"sk_w\"] * -0.1209, p[\"sk_h\"] * 0.4718), (p[\"sk_w\"] * -0.282, p[\"sk_h\"] * 0.3933)]).lineTo(p[\"sk_w\"] * -0.2869, p[\"sk_h\"] * -0.2178).lineTo(p[\"sk_w\"] * 0.1421, p[\"sk_h\"] * -0.4345).threePointArc((p[\"sk_w\"] * 0.329, p[\"sk_h\"] * -0.2789), (p[\"sk_w\"] * 0.4237, p[\"sk_h\"] * -0.0308)).close().extrude(p[\"sk_t\"]))\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"sk_hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .hole(p[\"boss_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462cae0c_4696", "family": "block", "tier": 1, "seed": 1177333260, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "4465afae9dc13d5d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 310000.0, "surface_area": 39000.0, "principal_moments": [219000000.0, 294000000.0, 441000000.0], "n_faces": 22, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 84.79 \u00d7 37.8 \u00d7 100 mm (W\u00d7D\u00d7H).", "Four 5.2 mm square holes at the corners, 59.353 \u00d7 26.46 mm spacing."], "text": "Rectangular body, 84.79 \u00d7 37.8 \u00d7 100 mm (W\u00d7D\u00d7H). Four 5.2 mm square holes at the corners, 59.353 \u00d7 26.46 mm spacing."}, "params": {"block_w": {"type": "float", "default": 84.79, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 37.8, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 100.0, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 5.2, "min": 2.0, "max": 11.1, "step": 0.5, "group": "Holes", "label": "Square hole size (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333260 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 84.79, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 37.8, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 100.0, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.2, \"min\": 2.0, \"max\": 11.1, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Square hole size (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().rect(p[\"hole_d\"], p[\"hole_d\"]).cutThruAll()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462cae0d_4697", "family": "lofted", "tier": 1, "seed": 1177333261, "symmetry": "none", "op_count": 2, "ir_hash": "c4ead5f64116517c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 106000.0, "surface_area": 16400.0, "principal_moments": [37200000.0, 50499999.99999999, 50499999.99999999], "n_faces": 9, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["Lofted body through 2 sections: 6-sided polygon section, 62.43 mm across corners \u2192 \u00d842.1 mm circular section.", "One \u00d816.1 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 2 sections: 6-sided polygon section, 62.43 mm across corners \u2192 \u00d842.1 mm circular section. One \u00d816.1 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 62.43, "min": 31.2, "max": 99.9, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 42.1, "min": 16.8, "max": 74.9, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 61.1, "min": 24.4, "max": 122.2, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_bore_d": {"type": "float", "default": 16.1, "min": 2.0, "max": 33.7, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333261 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 62.43, \"min\": 31.2, \"max\": 99.9, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 42.1, \"min\": 16.8, \"max\": 74.9, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 61.1, \"min\": 24.4, \"max\": 122.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 16.1, \"min\": 2.0, \"max\": 33.7, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .polygon(6, p[\"loft_base\"] * 0.5 * 2)\n        .workplane(offset=p[\"loft_h\"])\n        .circle(p[\"loft_top\"] / 2)\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462cae0e_4698", "family": "plate", "tier": 0, "seed": 1177333262, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "e7387480466ac255", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 39900.0, "surface_area": 12400.0, "principal_moments": [7710000.0, 36900000.0, 44200000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 105 \u00d7 47.5 \u00d7 8 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 105 \u00d7 47.5 \u00d7 8 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 105, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 47.5, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333262 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 105, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 47.5, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462cae0f_4699", "family": "bracket", "tier": 2, "seed": 1177333263, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "168fa4cdd298c9d7", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 38000.0, "surface_area": 26800.0, "principal_moments": [17600000.0, 93499999.99999999, 96299999.99999999], "n_faces": 18, "n_edges": 48, "n_vertices": 32}, "dimensions": {"lines": ["Z-bracket: base leg 80 mm, vertical leg 89.5 mm, top leg 73.8 mm, 50 mm wide, 3 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg; 3.6 mm corner gusset."], "text": "Z-bracket: base leg 80 mm, vertical leg 89.5 mm, top leg 73.8 mm, 50 mm wide, 3 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg; 3.6 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 80, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 89.5, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 50, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 3.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 73.8, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}, "gusset_t": {"type": "float", "default": 3.6, "min": 1.5, "max": 9.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333263 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 80, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 89.5, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 50, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 73.8, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 3.6, \"min\": 1.5, \"max\": 9.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _tl, _vl) * 0.4 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(0, _vl - _bt).lineTo(-_g, _vl - _bt)\n                    .lineTo(0, _vl - _bt - _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462cae10_4700", "family": "profiled", "tier": 2, "seed": 1177333264, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "c1e411ae409fe3d0", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 143000.0, "surface_area": 25600.0, "principal_moments": [25399999.999999996, 583000000.0, 603000000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["46.64 \u00d7 15 mm slot section, extruded 220.3 mm thick."], "text": "46.64 \u00d7 15 mm slot section, extruded 220.3 mm thick."}, "params": {"slot_len": {"type": "float", "default": 46.64, "min": 23.3, "max": 93.3, "step": 1.0, "group": "Profile", "label": "Slot length (mm)"}, "slot_w": {"type": "float", "default": 15, "min": 7.5, "max": 30.0, "step": 0.5, "group": "Profile", "label": "Slot width (mm)"}, "length": {"type": "float", "default": 220.3, "min": 66.1, "max": 660.9, "step": 5.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333264 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"slot_len\": {\"type\": 'float', \"default\": 46.64, \"min\": 23.3, \"max\": 93.3, \"step\": 1.0, \"group\": 'Profile', \"label\": 'Slot length (mm)'},\n    \"slot_w\": {\"type\": 'float', \"default\": 15, \"min\": 7.5, \"max\": 30.0, \"step\": 0.5, \"group\": 'Profile', \"label\": 'Slot width (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 220.3, \"min\": 66.1, \"max\": 660.9, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').slot2D(p[\"slot_len\"], p[\"slot_w\"]).extrude(p[\"length\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462cae11_4701", "family": "bracket", "tier": 1, "seed": 1177333265, "symmetry": "none", "op_count": 1, "ir_hash": "c2f3415e2f7decbc", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 25000.0, "surface_area": 10200.0, "principal_moments": [5950000.0, 13799999.999999998, 15199999.999999998], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["L-bracket: base leg 62.19 mm, vertical leg 44.1 mm, 41.85 mm wide, 6 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."], "text": "L-bracket: base leg 62.19 mm, vertical leg 44.1 mm, 41.85 mm wide, 6 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 62.19, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 44.1, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 41.85, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 6.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333265 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 62.19, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 44.1, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 41.85, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462cae12_4702", "family": "revolved", "tier": 1, "seed": 1177333266, "symmetry": "radial", "op_count": 2, "ir_hash": "971a7a722f915025", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 9420.0, "surface_area": 4020.0, "principal_moments": [912000.0, 912000.0, 1270000.0], "n_faces": 10, "n_edges": 17, "n_vertices": 10}, "dimensions": {"lines": ["Revolved body, \u00d820 mm \u00d7 19.2 mm tall with \u00d87.5 mm bore, \u00d837.9 mm \u00d7 5.3 mm flange.", "Chamfer 0.8 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d820 mm \u00d7 19.2 mm tall with \u00d87.5 mm bore, \u00d837.9 mm \u00d7 5.3 mm flange. Chamfer 0.8 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 20, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 19.2, "min": 5.8, "max": 57.6, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 7.5, "min": 2.0, "max": 14.0, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 37.9, "min": 24.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 5.3, "min": 1.6, "max": 9.6, "step": 0.5, "group": "Body", "label": "Flange height (mm)"}, "end_chamfer": {"type": "float", "default": 0.8, "min": 0.1, "max": 2.4, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333266 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 20, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 19.2, \"min\": 5.8, \"max\": 57.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 7.5, \"min\": 2.0, \"max\": 14.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 37.9, \"min\": 24.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 5.3, \"min\": 1.6, \"max\": 9.6, \"step\": 0.5, \"group\": 'Body', \"label\": 'Flange height (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.8, \"min\": 0.1, \"max\": 2.4, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462cae13_4703", "family": "tapped", "tier": 3, "seed": 1177333267, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "31af59fc4780b2bb", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 61000.0, "surface_area": 13500.0, "principal_moments": [13799999.999999998, 23499999.999999996, 32999999.999999996], "n_faces": 534, "n_edges": 1460, "n_vertices": 928}, "dimensions": {"lines": ["Four M8x1.25 tapped holes in a plate."], "text": "Four M8x1.25 tapped holes in a plate."}, "params": {"major_d": {"type": "float", "default": 8.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 1.25, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 20.7, "min": 9.6, "max": 37.3, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "plate_w": {"type": "float", "default": 65, "min": 39.0, "max": 104.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 47.9, "min": 28.7, "max": 76.6, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333267 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.25, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 20.7, \"min\": 9.6, \"max\": 37.3, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"plate_w\": {\"type\": 'float', \"default\": 65, \"min\": 39.0, \"max\": 104.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 47.9, \"min\": 28.7, \"max\": 76.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n}\n\n\ndef build(p):\n\n    _W, _D, _H = p[\"plate_w\"], p[\"plate_d\"], p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Box(_W, _D, _H)\n    _sx, _sy = p[\"plate_w\"] * 0.6, p[\"plate_d\"] * 0.6\n    _locs = [(_xx, _yy) for _xx in (-_sx / 2, _sx / 2) for _yy in (-_sy / 2, _sy / 2)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462cae14_4704", "family": "sketched", "tier": 1, "seed": 1177333268, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "ee4662d7f9b4c836", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 20900.0, "surface_area": 6150.0, "principal_moments": [3390000.0, 4470000.0, 7530000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["freeform sketched section (7 segments: 3 straight, 4 curves), ~53.914 \u00d7 50.83 mm, extruded 9.74 mm thick.", "One \u00d86.4 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "freeform sketched section (7 segments: 3 straight, 4 curves), ~53.914 \u00d7 50.83 mm, extruded 9.74 mm thick. One \u00d86.4 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"sk_w": {"type": "float", "default": 70, "min": 35.0, "max": 126.0, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 68.68, "min": 34.3, "max": 123.6, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "sk_t": {"type": "float", "default": 9.74, "min": 3.9, "max": 21.4, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "sk_hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 12.8, "step": 0.5, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333268 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 70, \"min\": 35.0, \"max\": 126.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 68.68, \"min\": 34.3, \"max\": 123.6, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"sk_t\": {\"type\": 'float', \"default\": 9.74, \"min\": 3.9, \"max\": 21.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"sk_hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 12.8, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.4038, p[\"sk_h\"] * 0.0931).lineTo(p[\"sk_w\"] * 0.2626, p[\"sk_h\"] * 0.3884).lineTo(p[\"sk_w\"] * -0.17, p[\"sk_h\"] * 0.4116).spline([(p[\"sk_w\"] * -0.17, p[\"sk_h\"] * 0.4116), (p[\"sk_w\"] * -0.2764, p[\"sk_h\"] * 0.366), (p[\"sk_w\"] * -0.3664, p[\"sk_h\"] * 0.2933)]).spline([(p[\"sk_w\"] * -0.3664, p[\"sk_h\"] * 0.2933), (p[\"sk_w\"] * -0.3828, p[\"sk_h\"] * 0.113), (p[\"sk_w\"] * -0.3324, p[\"sk_h\"] * -0.0608)]).lineTo(p[\"sk_w\"] * -0.0455, p[\"sk_h\"] * -0.3285).bezier([(p[\"sk_w\"] * -0.0455, p[\"sk_h\"] * -0.3285), (p[\"sk_w\"] * 0.0719, p[\"sk_h\"] * -0.3493), (p[\"sk_w\"] * 0.1834, p[\"sk_h\"] * -0.3071)]).spline([(p[\"sk_w\"] * 0.1834, p[\"sk_h\"] * -0.3071), (p[\"sk_w\"] * 0.3407, p[\"sk_h\"] * -0.133), (p[\"sk_w\"] * 0.4038, p[\"sk_h\"] * 0.0931)]).close().extrude(p[\"sk_t\"]))\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"sk_hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462cae15_4705", "family": "bracket", "tier": 2, "seed": 1177333269, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "2fbf00c9274168ef", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 34400.0, "surface_area": 11000.0, "principal_moments": [7350000.0, 21100000.0, 22799999.999999996], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["L-bracket: base leg 70 mm, vertical leg 42.9 mm, 40 mm wide, 8 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 8.1 mm corner gusset."], "text": "L-bracket: base leg 70 mm, vertical leg 42.9 mm, 40 mm wide, 8 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 8.1 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 70, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 42.9, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 40, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 8.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 8.1, "min": 4.0, "max": 20.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333269 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 70, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 42.9, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 40, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 8.1, \"min\": 4.0, \"max\": 20.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462cae16_4706", "family": "block", "tier": 2, "seed": 1177333270, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "e7705d51a0047b71", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 52300.0, "surface_area": 14200.0, "principal_moments": [9550000.0, 18700000.0, 21700000.0], "n_faces": 20, "n_edges": 51, "n_vertices": 34}, "dimensions": {"lines": ["Rectangular body, 36.63 \u00d7 26.3 \u00d7 60.8 mm (W\u00d7D\u00d7H).", "Nine \u00d82.5 mm holes in two staggered rows, 6.9 \u00d7 6.4 mm pitch.", "Pocket 16.6 \u00d7 12.8 mm, 19.3 mm deep, in top face."], "text": "Rectangular body, 36.63 \u00d7 26.3 \u00d7 60.8 mm (W\u00d7D\u00d7H). Nine \u00d82.5 mm holes in two staggered rows, 6.9 \u00d7 6.4 mm pitch. Pocket 16.6 \u00d7 12.8 mm, 19.3 mm deep, in top face."}, "params": {"block_w": {"type": "float", "default": 36.63, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 26.3, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 60.8, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 2.5, "min": 2.0, "max": 2.6, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 5, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}, "pocket_w": {"type": "float", "default": 16.6, "min": 8.3, "max": 29.3, "step": 1.0, "group": "Pocket", "label": "Pocket width (mm)"}, "pocket_d": {"type": "float", "default": 12.8, "min": 6.4, "max": 21.0, "step": 1.0, "group": "Pocket", "label": "Pocket depth (mm)"}, "pocket_h": {"type": "float", "default": 19.3, "min": 7.7, "max": 51.7, "step": 0.5, "group": "Pocket", "label": "Pocket height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333270 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 36.63, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 26.3, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 60.8, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 2.5, \"min\": 2.0, \"max\": 2.6, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 5, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n    \"pocket_w\": {\"type\": 'float', \"default\": 16.6, \"min\": 8.3, \"max\": 29.3, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket width (mm)'},\n    \"pocket_d\": {\"type\": 'float', \"default\": 12.8, \"min\": 6.4, \"max\": 21.0, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket depth (mm)'},\n    \"pocket_h\": {\"type\": 'float', \"default\": 19.3, \"min\": 7.7, \"max\": 51.7, \"step\": 0.5, \"group\": 'Pocket', \"label\": 'Pocket height (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 6.9\n    _ssy = 6.4\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"pocket_w\"], p[\"pocket_d\"])\n        .cutBlind(-p[\"pocket_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462cae17_4707", "family": "sketched", "tier": 1, "seed": 1177333271, "symmetry": "none", "op_count": 1, "ir_hash": "289ae6865738fdc7", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 36400.0, "surface_area": 8050.0, "principal_moments": [6000000.0, 8890000.0, 8890000.0], "n_faces": 8, "n_edges": 14, "n_vertices": 8}, "dimensions": {"lines": ["Revolved organic body from a freeform sketched section (7 segments: 4 straight, 1 arc, 2 curves), ~21.263 \u00d7 48.29 mm half-silhouette."], "text": "Revolved organic body from a freeform sketched section (7 segments: 4 straight, 1 arc, 2 curves), ~21.263 \u00d7 48.29 mm half-silhouette."}, "params": {"sk_r": {"type": "float", "default": 23.43, "min": 11.7, "max": 42.2, "step": 1.0, "group": "Sketch", "label": "Max radius (mm)"}, "sk_h": {"type": "float", "default": 48.29, "min": 24.1, "max": 86.9, "step": 1.0, "group": "Sketch", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333271 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_r\": {\"type\": 'float', \"default\": 23.43, \"min\": 11.7, \"max\": 42.2, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Max radius (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 48.29, \"min\": 24.1, \"max\": 86.9, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XZ').moveTo(p[\"sk_r\"] * 0.7916, p[\"sk_h\"] * 0.0).spline([(p[\"sk_r\"] * 0.7916, p[\"sk_h\"] * 0.0), (p[\"sk_r\"] * 0.568, p[\"sk_h\"] * 0.1061), (p[\"sk_r\"] * 0.1932, p[\"sk_h\"] * 0.2122)]).lineTo(p[\"sk_r\"] * 0.3536, p[\"sk_h\"] * 0.2834).threePointArc((p[\"sk_r\"] * 0.6929, p[\"sk_h\"] * 0.4964), (p[\"sk_r\"] * 0.9902, p[\"sk_h\"] * 0.7093)).lineTo(p[\"sk_r\"] * 0.5496, p[\"sk_h\"] * 0.9398).spline([(p[\"sk_r\"] * 0.5496, p[\"sk_h\"] * 0.9398), (p[\"sk_r\"] * 0.5092, p[\"sk_h\"] * 0.9699), (p[\"sk_r\"] * 0.3998, p[\"sk_h\"] * 1.0)]).lineTo(p[\"sk_r\"] * 0.0827, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.0827, p[\"sk_h\"] * 0.0).close().revolve())\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462cae18_4708", "family": "bracket", "tier": 3, "seed": 1177333272, "symmetry": "none", "op_count": 1, "ir_hash": "14aaf963dfbe95ab", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 4620.0, "surface_area": 3710.0, "principal_moments": [466000.0, 596000.0, 824000.0], "n_faces": 17, "n_edges": 55, "n_vertices": 34}, "dimensions": {"lines": ["L-bracket: base leg 28.26 mm, vertical leg 25 mm, 30.22 mm wide, 3 mm thick; 2 \u00d7 \u00d83.2 mm holes per leg; 2.7 mm corner gusset."], "text": "L-bracket: base leg 28.26 mm, vertical leg 25 mm, 30.22 mm wide, 3 mm thick; 2 \u00d7 \u00d83.2 mm holes per leg; 2.7 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 28.26, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 25.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 30.22, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 3.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 2, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 2.7, "min": 1.5, "max": 9.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333272 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 28.26, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 25.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 30.22, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 2, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 2.7, \"min\": 1.5, \"max\": 9.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462cae19_4709", "family": "sketched", "tier": 1, "seed": 1177333273, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "0c79020c87c26805", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 60900.0, "surface_area": 14200.0, "principal_moments": [12399999.999999998, 23099999.999999996, 23099999.999999996], "n_faces": 7, "n_edges": 11, "n_vertices": 6}, "dimensions": {"lines": ["Revolved organic body from a freeform sketched section (7 segments: 4 straight, 3 curves), ~27.93 \u00d7 61.61 mm half-silhouette."], "text": "Revolved organic body from a freeform sketched section (7 segments: 4 straight, 3 curves), ~27.93 \u00d7 61.61 mm half-silhouette."}, "params": {"sk_r": {"type": "float", "default": 35, "min": 17.5, "max": 63.0, "step": 1.0, "group": "Sketch", "label": "Max radius (mm)"}, "sk_h": {"type": "float", "default": 61.61, "min": 30.8, "max": 110.9, "step": 1.0, "group": "Sketch", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333273 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_r\": {\"type\": 'float', \"default\": 35, \"min\": 17.5, \"max\": 63.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Max radius (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 61.61, \"min\": 30.8, \"max\": 110.9, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XZ').moveTo(p[\"sk_r\"] * 0.6818, p[\"sk_h\"] * 0.0).bezier([(p[\"sk_r\"] * 0.6818, p[\"sk_h\"] * 0.0), (p[\"sk_r\"] * 0.3569, p[\"sk_h\"] * 0.0621), (p[\"sk_r\"] * 0.143, p[\"sk_h\"] * 0.1242)]).spline([(p[\"sk_r\"] * 0.143, p[\"sk_h\"] * 0.1242), (p[\"sk_r\"] * 0.4861, p[\"sk_h\"] * 0.3181), (p[\"sk_r\"] * 0.6439, p[\"sk_h\"] * 0.512)]).bezier([(p[\"sk_r\"] * 0.6439, p[\"sk_h\"] * 0.512), (p[\"sk_r\"] * 0.6569, p[\"sk_h\"] * 0.5515), (p[\"sk_r\"] * 0.798, p[\"sk_h\"] * 0.591)]).lineTo(p[\"sk_r\"] * 0.2941, p[\"sk_h\"] * 0.6761).lineTo(p[\"sk_r\"] * 0.6758, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.0, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.0, p[\"sk_h\"] * 0.0).close().revolve())\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462cae1a_4710", "family": "plate", "tier": 1, "seed": 1177333274, "symmetry": "none", "op_count": 2, "ir_hash": "da682a75d9255d65", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 69100.0, "surface_area": 18900.0, "principal_moments": [34500000.0, 50599999.99999999, 84000000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 95 \u00d7 78.3 \u00d7 10 mm (W\u00d7D\u00d7H).", "Four \u00d813 mm holes at the corners, 66.5 \u00d7 54.81 mm spacing."], "text": "Rectangular body, 95 \u00d7 78.3 \u00d7 10 mm (W\u00d7D\u00d7H). Four \u00d813 mm holes at the corners, 66.5 \u00d7 54.81 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 95, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 78.3, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 13.0, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333274 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 95, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 78.3, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 13.0, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462cae1b_4711", "family": "block", "tier": 2, "seed": 1177333275, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "683ba1676dec92ed", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 340000.0, "surface_area": 45600.0, "principal_moments": [237000000.0, 344000000.0, 463000000.0], "n_faces": 13, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Rectangular body, 80 \u00d7 45.9 \u00d7 100 mm (W\u00d7D\u00d7H).", "Four \u00d88.4 mm holes at the corners, 56 \u00d7 32.13 mm spacing.", "Boss \u00d815.8 mm \u00d7 5.6 mm tall on top face with a \u00d88.4 mm bore."], "text": "Rectangular body, 80 \u00d7 45.9 \u00d7 100 mm (W\u00d7D\u00d7H). Four \u00d88.4 mm holes at the corners, 56 \u00d7 32.13 mm spacing. Boss \u00d815.8 mm \u00d7 5.6 mm tall on top face with a \u00d88.4 mm bore."}, "params": {"block_w": {"type": "float", "default": 80, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 45.9, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 100.0, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 8.4, "min": 2.0, "max": 10.3, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "boss_d": {"type": "float", "default": 15.8, "min": 7.9, "max": 31.6, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 5.6, "min": 2.2, "max": 14.0, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}, "boss_bore_d": {"type": "float", "default": 8.4, "min": 2.0, "max": 11.1, "step": 0.1, "group": "Boss", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333275 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 80, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 45.9, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 100.0, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 2.0, \"max\": 10.3, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"boss_d\": {\"type\": 'float', \"default\": 15.8, \"min\": 7.9, \"max\": 31.6, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 5.6, \"min\": 2.2, \"max\": 14.0, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n    \"boss_bore_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 2.0, \"max\": 11.1, \"step\": 0.1, \"group\": 'Boss', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .hole(p[\"boss_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462cae1c_4712", "family": "revolved", "tier": 0, "seed": 1177333276, "symmetry": "radial", "op_count": 1, "ir_hash": "1d5cfc7b35103c42", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 856000.0, "surface_area": 103000.0, "principal_moments": [805000000.0, 3850000000.0, 3850000000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d879.2 mm \u00d7 260.6 mm tall."], "text": "Revolved body, \u00d879.2 mm \u00d7 260.6 mm tall."}, "params": {"outer_d": {"type": "float", "default": 79.2, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 260.6, "min": 78.2, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333276 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 79.2, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 260.6, \"min\": 78.2, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462cae1d_4713", "family": "block", "tier": 3, "seed": 1177333277, "symmetry": "radial", "op_count": 4, "ir_hash": "f7b531a15ca3acb6", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 293000.0, "surface_area": 37100.0, "principal_moments": [212000000.0, 277000000.0, 423000000.0], "n_faces": 28, "n_edges": 78, "n_vertices": 52}, "dimensions": {"lines": ["Rectangular body, 85 \u00d7 37.4 \u00d7 100 mm (W\u00d7D\u00d7H).", "Eight \u00d88.4 mm holes on a \u00d851 mm bolt circle.", "Fillet radius 2.106 mm on vertical edges.", "Fillet radius 4.458 mm on vertical edges (optional, off by default)."], "text": "Rectangular body, 85 \u00d7 37.4 \u00d7 100 mm (W\u00d7D\u00d7H). Eight \u00d88.4 mm holes on a \u00d851 mm bolt circle. Fillet radius 2.106 mm on vertical edges. Fillet radius 4.458 mm on vertical edges (optional, off by default)."}, "params": {"block_w": {"type": "float", "default": 85, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 37.4, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 100.0, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "bolt_d": {"type": "float", "default": 8.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 25.5, "min": 17.0, "max": 38.2, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 8, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}, "filleted2": {"type": "bool", "default": false, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333277 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 85, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 37.4, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 100.0, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 25.5, \"min\": 17.0, \"max\": 38.2, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n    \"filleted2\": {\"type\": 'bool', \"default\": False, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"block_w\"], p[\"block_d\"]) * 0.05629933098779513)\n    if p[\"filleted2\"]:\n        result = result.edges('|Z').fillet(min(p[\"block_w\"], p[\"block_d\"]) * 0.11920646207645447)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462cae1e_4714", "family": "bracket", "tier": 1, "seed": 1177333278, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "28f6a7c2f218e714", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 33100.0, "surface_area": 18300.0, "principal_moments": [16199999.999999998, 25299999.999999996, 28999999.999999996], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["C-channel bracket: base leg 60 mm, vertical leg 43.3 mm, 60 mm wide, 4 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."], "text": "C-channel bracket: base leg 60 mm, vertical leg 43.3 mm, 60 mm wide, 4 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 60, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 43.3, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 60.0, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 4.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333278 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 60, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 43.3, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 60.0, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462cae1f_4715", "family": "flanged", "tier": 1, "seed": 1177333279, "symmetry": "none", "op_count": 2, "ir_hash": "e28030a16ebba0bb", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 114000.0, "surface_area": 29900.0, "principal_moments": [81300000.0, 81300000.0, 147000000.0], "n_faces": 18, "n_edges": 45, "n_vertices": 30}, "dimensions": {"lines": ["Revolved body, \u00d849.77 mm \u00d7 29.7 mm tall with \u00d815.8 mm bore, \u00d8116.8 mm \u00d7 7.7 mm flange.", "Twelve \u00d88.4 mm holes on a \u00d870 mm bolt circle."], "text": "Revolved body, \u00d849.77 mm \u00d7 29.7 mm tall with \u00d815.8 mm bore, \u00d8116.8 mm \u00d7 7.7 mm flange. Twelve \u00d88.4 mm holes on a \u00d870 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 49.77, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 29.7, "min": 8.9, "max": 74.2, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 15.8, "min": 2.0, "max": 34.8, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 116.8, "min": 64.7, "max": 149.3, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 7.7, "min": 2.3, "max": 11.9, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 8.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 35.0, "min": 23.4, "max": 52.6, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 12, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333279 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 49.77, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 29.7, \"min\": 8.9, \"max\": 74.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 15.8, \"min\": 2.0, \"max\": 34.8, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 116.8, \"min\": 64.7, \"max\": 149.3, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 7.7, \"min\": 2.3, \"max\": 11.9, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 35.0, \"min\": 23.4, \"max\": 52.6, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 12, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462cae20_4716", "family": "bracket", "tier": 1, "seed": 1177333280, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "244d4e9517634e32", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 9170.0, "surface_area": 6900.0, "principal_moments": [1330000.0, 3070000.0, 3880000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["L-bracket: base leg 30 mm, vertical leg 25 mm, 60 mm wide, 3 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."], "text": "L-bracket: base leg 30 mm, vertical leg 25 mm, 60 mm wide, 3 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 30, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 25.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 60.0, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 3.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333280 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 30, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 25.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 60.0, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462cae21_4717", "family": "plate", "tier": 1, "seed": 1177333281, "symmetry": "radial", "op_count": 2, "ir_hash": "c9b4211aeb7d2c14", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 25800.0, "surface_area": 8890.0, "principal_moments": [3080000.0, 17600000.0, 20400000.0], "n_faces": 16, "n_edges": 42, "n_vertices": 28}, "dimensions": {"lines": ["Rectangular body, 90 \u00d7 37.1 \u00d7 8 mm (W\u00d7D\u00d7H).", "Eight \u00d86.4 mm holes on a \u00d854 mm bolt circle."], "text": "Rectangular body, 90 \u00d7 37.1 \u00d7 8 mm (W\u00d7D\u00d7H). Eight \u00d86.4 mm holes on a \u00d854 mm bolt circle."}, "params": {"plate_w": {"type": "float", "default": 90, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 37.1, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "bolt_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 27.0, "min": 18.0, "max": 40.5, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 8, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333281 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 90, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 37.1, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 27.0, \"min\": 18.0, \"max\": 40.5, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462cae22_4718", "family": "plate", "tier": 2, "seed": 1177333282, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "a0134e2c74cb9f89", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 4480.0, "surface_area": 3460.0, "principal_moments": [243000.0, 857000.0, 1090000.0], "n_faces": 18, "n_edges": 48, "n_vertices": 32}, "dimensions": {"lines": ["Rectangular body, 50 \u00d7 26.5 \u00d7 4 mm (W\u00d7D\u00d7H).", "Four \u00d84.3 mm counterbored holes (\u00d88.6 mm \u00d7 3.4 mm counterbore) at the corners, 35 \u00d7 18.55 mm spacing."], "text": "Rectangular body, 50 \u00d7 26.5 \u00d7 4 mm (W\u00d7D\u00d7H). Four \u00d84.3 mm counterbored holes (\u00d88.6 mm \u00d7 3.4 mm counterbore) at the corners, 35 \u00d7 18.55 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 50, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 26.5, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 4.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 6.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "cb_d": {"type": "float", "default": 8.6, "min": 6.4, "max": 12.9, "step": 0.5, "group": "Holes", "label": "Counterbore diameter (mm)"}, "cb_depth": {"type": "float", "default": 3.4, "min": 1.7, "max": 6.8, "step": 0.5, "group": "Holes", "label": "Counterbore depth (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333282 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 50, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 26.5, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 4.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 6.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"cb_d\": {\"type\": 'float', \"default\": 8.6, \"min\": 6.4, \"max\": 12.9, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Counterbore diameter (mm)'},\n    \"cb_depth\": {\"type\": 'float', \"default\": 3.4, \"min\": 1.7, \"max\": 6.8, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Counterbore depth (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().cboreHole(p[\"hole_d\"], p[\"cb_d\"], p[\"cb_depth\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462cae23_4719", "family": "plate", "tier": 1, "seed": 1177333283, "symmetry": "none", "op_count": 2, "ir_hash": "669bb60dcc2da2aa", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 723.0, "surface_area": 813.0, "principal_moments": [6740.0, 40200.0, 45900.0], "n_faces": 15, "n_edges": 39, "n_vertices": 26}, "dimensions": {"lines": ["Rectangular body, 25.47 \u00d7 10 \u00d7 3 mm (W\u00d7D\u00d7H).", "Nine \u00d81.4 mm holes in two staggered rows, 4.8 \u00d7 4 mm pitch."], "text": "Rectangular body, 25.47 \u00d7 10 \u00d7 3 mm (W\u00d7D\u00d7H). Nine \u00d81.4 mm holes in two staggered rows, 4.8 \u00d7 4 mm pitch."}, "params": {"plate_w": {"type": "float", "default": 25.47, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 10.0, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 3.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 1.4, "min": 2.0, "max": 1.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 5, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333283 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 25.47, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 10.0, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 3.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 1.4, \"min\": 2.0, \"max\": 1.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 5, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 4.8\n    _ssy = 4.0\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462cae24_4720", "family": "revolved", "tier": 0, "seed": 1177333284, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "2cbaa3c39330c685", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 712.0, "surface_area": 733.0, "principal_moments": [10700.0, 13200.0, 13200.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d810 mm \u00d7 13.6 mm tall."], "text": "Revolved body, \u00d810 mm \u00d7 13.6 mm tall."}, "params": {"outer_d": {"type": "float", "default": 10, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 13.6, "min": 4.1, "max": 40.8, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333284 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 10, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 13.6, \"min\": 4.1, \"max\": 40.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462cae25_4721", "family": "threaded", "tier": 0, "seed": 1177333285, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "a5db9636a235fd0a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 15700.0, "surface_area": 5960.0, "principal_moments": [679000.0, 4840000.0, 4840000.0], "n_faces": 416, "n_edges": 1142, "n_vertices": 728}, "dimensions": {"lines": ["M20x2.5 external thread, 58.8 mm long."], "text": "M20x2.5 external thread, 58.8 mm long."}, "params": {"major_d": {"type": "float", "default": 20.0, "min": 4.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Major diameter (mm)"}, "pitch": {"type": "float", "default": 2.5, "min": 1.25, "max": 5.0, "step": 0.05, "group": "Thread", "label": "Pitch (mm)"}, "thread_len": {"type": "float", "default": 58.8, "min": 23.5, "max": 117.6, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333285 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 20.0, \"min\": 4.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Major diameter (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 2.5, \"min\": 1.25, \"max\": 5.0, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Pitch (mm)'},\n    \"thread_len\": {\"type\": 'float', \"default\": 58.8, \"min\": 23.5, \"max\": 117.6, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.IsoThread(major_diameter=p[\"major_d\"], pitch=p[\"pitch\"], length=p[\"thread_len\"], external=True, end_finishes=(\"fade\", \"fade\"))\n    _r = _thr.min_radius if hasattr(_thr, 'min_radius') else _thr.root_radius\n    _shank = _bd.Cylinder(radius=_r, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = _shank + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462cae26_4722", "family": "revolved", "tier": 1, "seed": 1177333286, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "b979d87d51f31ba7", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 138000.0, "surface_area": 33100.0, "principal_moments": [90900000.0, 90900000.0, 148000000.0], "n_faces": 5, "n_edges": 7, "n_vertices": 5}, "dimensions": {"lines": ["Revolved body, \u00d865.79 mm \u00d7 43.9 mm tall with \u00d8115.3 mm \u00d7 5.4 mm flange."], "text": "Revolved body, \u00d865.79 mm \u00d7 43.9 mm tall with \u00d8115.3 mm \u00d7 5.4 mm flange."}, "params": {"outer_d": {"type": "float", "default": 65.79, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 43.9, "min": 13.2, "max": 131.7, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "flange_d": {"type": "float", "default": 115.3, "min": 78.9, "max": 197.4, "step": 1.0, "group": "Body", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 5.4, "min": 1.6, "max": 21.9, "step": 0.5, "group": "Body", "label": "Flange height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333286 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 65.79, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 43.9, \"min\": 13.2, \"max\": 131.7, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 115.3, \"min\": 78.9, \"max\": 197.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 5.4, \"min\": 1.6, \"max\": 21.9, \"step\": 0.5, \"group\": 'Body', \"label\": 'Flange height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462cae27_4723", "family": "bracket", "tier": 2, "seed": 1177333287, "symmetry": "none", "op_count": 1, "ir_hash": "35aaa3af9f897c5c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 50600.0, "surface_area": 16400.0, "principal_moments": [11000000.0, 94499999.99999999, 98099999.99999999], "n_faces": 18, "n_edges": 48, "n_vertices": 32}, "dimensions": {"lines": ["Z-bracket: base leg 80 mm, vertical leg 58.8 mm, top leg 80.5 mm, 30 mm wide, 8 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 8.2 mm corner gusset."], "text": "Z-bracket: base leg 80 mm, vertical leg 58.8 mm, top leg 80.5 mm, 30 mm wide, 8 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 8.2 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 80, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 58.8, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 30, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 8.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 80.5, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}, "gusset_t": {"type": "float", "default": 8.2, "min": 4.0, "max": 15.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333287 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 80, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 58.8, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 30, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 80.5, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 8.2, \"min\": 4.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _tl, _vl) * 0.4 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(0, _vl - _bt).lineTo(-_g, _vl - _bt)\n                    .lineTo(0, _vl - _bt - _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462cae28_4724", "family": "compound", "tier": 3, "seed": 1177333288, "symmetry": "none", "op_count": 3, "ir_hash": "44cdd4191bc23746", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 233000.0, "surface_area": 27200.0, "principal_moments": [123000000.0, 196000000.0, 196000000.0], "n_faces": 26, "n_edges": 60, "n_vertices": 37}, "dimensions": {"lines": ["Lofted body through 3 sections: \u00d880 mm circular section \u2192 \u00d860.1 mm circular section \u2192 40.3 \u00d7 40.3 mm rectangular section.", "8-sided polygon section, 30.2 mm across corners attachment, 20.2 mm long, from top face with a \u00d812.2 mm bore.", "Chamfer 2.3 mm on top edges."], "text": "Lofted body through 3 sections: \u00d880 mm circular section \u2192 \u00d860.1 mm circular section \u2192 40.3 \u00d7 40.3 mm rectangular section. 8-sided polygon section, 30.2 mm across corners attachment, 20.2 mm long, from top face with a \u00d812.2 mm bore. Chamfer 2.3 mm on top edges."}, "params": {"adapter_base": {"type": "float", "default": 80.0, "min": 48.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "adapter_top": {"type": "float", "default": 40.3, "min": 20.1, "max": 80.0, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "adapter_h": {"type": "float", "default": 77.2, "min": 30.9, "max": 154.4, "step": 1.0, "group": "Body", "label": "Transition height (mm)"}, "adapter_mid": {"type": "float", "default": 60.1, "min": 20.1, "max": 80.0, "step": 1.0, "group": "Body", "label": "Mid size (mm)"}, "neck_sides": {"type": "int", "default": 8, "min": 3, "max": 8, "step": 1, "group": "Neck", "label": "Neck sides"}, "neck_r": {"type": "float", "default": 15.1, "min": 7.5, "max": 20.1, "step": 1.0, "group": "Neck", "label": "Neck circumradius (mm)"}, "neck_l": {"type": "float", "default": 20.2, "min": 8.1, "max": 50.5, "step": 1.0, "group": "Neck", "label": "Neck length (mm)"}, "neck_bore": {"type": "float", "default": 12.2, "min": 2.0, "max": 20.1, "step": 0.5, "group": "Neck", "label": "Neck bore diameter (mm)"}, "chamfer_d": {"type": "float", "default": 2.3, "min": 0.5, "max": 3.0, "step": 0.5, "group": "Body", "label": "Chamfer distance (mm)"}, "chamfered": {"type": "bool", "default": true, "group": "Body", "label": "Chamfer edges"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333288 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"adapter_base\": {\"type\": 'float', \"default\": 80.0, \"min\": 48.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"adapter_top\": {\"type\": 'float', \"default\": 40.3, \"min\": 20.1, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"adapter_h\": {\"type\": 'float', \"default\": 77.2, \"min\": 30.9, \"max\": 154.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Transition height (mm)'},\n    \"adapter_mid\": {\"type\": 'float', \"default\": 60.1, \"min\": 20.1, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Mid size (mm)'},\n    \"neck_sides\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Neck', \"label\": 'Neck sides'},\n    \"neck_r\": {\"type\": 'float', \"default\": 15.1, \"min\": 7.5, \"max\": 20.1, \"step\": 1.0, \"group\": 'Neck', \"label\": 'Neck circumradius (mm)'},\n    \"neck_l\": {\"type\": 'float', \"default\": 20.2, \"min\": 8.1, \"max\": 50.5, \"step\": 1.0, \"group\": 'Neck', \"label\": 'Neck length (mm)'},\n    \"neck_bore\": {\"type\": 'float', \"default\": 12.2, \"min\": 2.0, \"max\": 20.1, \"step\": 0.5, \"group\": 'Neck', \"label\": 'Neck bore diameter (mm)'},\n    \"chamfer_d\": {\"type\": 'float', \"default\": 2.3, \"min\": 0.5, \"max\": 3.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Chamfer distance (mm)'},\n    \"chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Chamfer edges'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .circle(p[\"adapter_base\"] / 2)\n        .workplane(offset=p[\"adapter_h\"] * 0.5)\n        .circle(p[\"adapter_mid\"] / 2)\n        .workplane(offset=p[\"adapter_h\"] * 0.5)\n        .rect(p[\"adapter_top\"], p[\"adapter_top\"])\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"neck_sides\"], p[\"neck_r\"] * 2).extrude(p[\"neck_l\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"neck_bore\"])\n    )\n    if p[\"chamfered\"]:\n        result = result.edges('>Z').chamfer(p[\"chamfer_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462cae29_4725", "family": "plate", "tier": 2, "seed": 1177333289, "symmetry": "none", "op_count": 3, "ir_hash": "7ac51d531956b29c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 34900.0, "surface_area": 9560.0, "principal_moments": [5790000.0, 14699999.999999998, 19700000.0], "n_faces": 19, "n_edges": 51, "n_vertices": 34}, "dimensions": {"lines": ["Rectangular body, 70 \u00d7 42.7 \u00d7 12 mm (W\u00d7D\u00d7H).", "Nine \u00d83.2 mm holes in two staggered rows, 13.1 \u00d7 13.6 mm pitch.", "Chamfer 1.9 mm on vertical edges."], "text": "Rectangular body, 70 \u00d7 42.7 \u00d7 12 mm (W\u00d7D\u00d7H). Nine \u00d83.2 mm holes in two staggered rows, 13.1 \u00d7 13.6 mm pitch. Chamfer 1.9 mm on vertical edges."}, "params": {"plate_w": {"type": "float", "default": 70, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 42.7, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 4.3, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 5, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}, "chamfer_d": {"type": "float", "default": 1.9, "min": 1.7, "max": 2.8, "step": 0.5, "group": "Body", "label": "Chamfer distance (mm)"}, "chamfered": {"type": "bool", "default": true, "group": "Body", "label": "Chamfer edges"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333289 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 70, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 42.7, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 4.3, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 5, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n    \"chamfer_d\": {\"type\": 'float', \"default\": 1.9, \"min\": 1.7, \"max\": 2.8, \"step\": 0.5, \"group\": 'Body', \"label\": 'Chamfer distance (mm)'},\n    \"chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Chamfer edges'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 13.1\n    _ssy = 13.6\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    if p[\"chamfered\"]:\n        result = result.edges('|Z').chamfer(p[\"chamfer_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462cae2a_4726", "family": "sketched", "tier": 0, "seed": 1177333290, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "2940aaf28ecf9a2c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 4470.0, "surface_area": 2320.0, "principal_moments": [180000.0, 301000.0, 301000.0], "n_faces": 8, "n_edges": 14, "n_vertices": 8}, "dimensions": {"lines": ["Revolved organic body from a freeform sketched section (7 segments: 4 straight, 2 arcs, 1 curve), ~9.456 \u00d7 22.85 mm half-silhouette."], "text": "Revolved organic body from a freeform sketched section (7 segments: 4 straight, 2 arcs, 1 curve), ~9.456 \u00d7 22.85 mm half-silhouette."}, "params": {"sk_r": {"type": "float", "default": 15, "min": 7.5, "max": 27.0, "step": 1.0, "group": "Sketch", "label": "Max radius (mm)"}, "sk_h": {"type": "float", "default": 22.85, "min": 11.4, "max": 41.1, "step": 1.0, "group": "Sketch", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333290 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_r\": {\"type\": 'float', \"default\": 15, \"min\": 7.5, \"max\": 27.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Max radius (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 22.85, \"min\": 11.4, \"max\": 41.1, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XZ').moveTo(p[\"sk_r\"] * 0.3957, p[\"sk_h\"] * 0.0).bezier([(p[\"sk_r\"] * 0.3957, p[\"sk_h\"] * 0.0), (p[\"sk_r\"] * 0.506, p[\"sk_h\"] * 0.1508), (p[\"sk_r\"] * 0.6208, p[\"sk_h\"] * 0.3016)]).lineTo(p[\"sk_r\"] * 0.5377, p[\"sk_h\"] * 0.4215).lineTo(p[\"sk_r\"] * 0.5625, p[\"sk_h\"] * 0.573).threePointArc((p[\"sk_r\"] * 0.3875, p[\"sk_h\"] * 0.5927), (p[\"sk_r\"] * 0.4019, p[\"sk_h\"] * 0.6124)).threePointArc((p[\"sk_r\"] * 0.571, p[\"sk_h\"] * 0.8062), (p[\"sk_r\"] * 0.776, p[\"sk_h\"] * 1.0)).lineTo(p[\"sk_r\"] * 0.1456, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.1456, p[\"sk_h\"] * 0.0).close().revolve())\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462cae2b_4727", "family": "compound", "tier": 2, "seed": 1177333291, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "529d3b07ce84ad1d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 295000.0, "surface_area": 32600.0, "principal_moments": [182000000.0, 260000000.0, 271000000.0], "n_faces": 10, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["Rectangular body, 63.74 \u00d7 81.6 \u00d7 59.2 mm (W\u00d7D\u00d7H).", "\u00d815.8 mm circular section attachment, 14.5 mm long, from front face.", "Four \u00d813 mm holes at the corners, 44.618 \u00d7 57.12 mm spacing."], "text": "Rectangular body, 63.74 \u00d7 81.6 \u00d7 59.2 mm (W\u00d7D\u00d7H). \u00d815.8 mm circular section attachment, 14.5 mm long, from front face. Four \u00d813 mm holes at the corners, 44.618 \u00d7 57.12 mm spacing."}, "params": {"block_w": {"type": "float", "default": 63.74, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 81.6, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 59.2, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "spig_d": {"type": "float", "default": 15.8, "min": 6.3, "max": 41.4, "step": 1.0, "group": "Spigot", "label": "Spigot diameter (mm)"}, "spig_len": {"type": "float", "default": 14.5, "min": 4.7, "max": 63.2, "step": 1.0, "group": "Spigot", "label": "Spigot length (mm)"}, "hole_d": {"type": "float", "default": 13.0, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333291 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 63.74, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 81.6, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 59.2, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"spig_d\": {\"type\": 'float', \"default\": 15.8, \"min\": 6.3, \"max\": 41.4, \"step\": 1.0, \"group\": 'Spigot', \"label\": 'Spigot diameter (mm)'},\n    \"spig_len\": {\"type\": 'float', \"default\": 14.5, \"min\": 4.7, \"max\": 63.2, \"step\": 1.0, \"group\": 'Spigot', \"label\": 'Spigot length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 13.0, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"spig_d\"] / 2).extrude(p[\"spig_len\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462cae2c_4728", "family": "block", "tier": 2, "seed": 1177333292, "symmetry": "none", "op_count": 3, "ir_hash": "9dacb486d27a5002", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 42000.0, "surface_area": 9430.0, "principal_moments": [7990000.0, 8230000.0, 10600000.0], "n_faces": 18, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 39.9 \u00d7 28.7 \u00d7 36 mm (W\u00d7D\u00d7H).", "Seven \u00d82.3 mm holes in two staggered rows, 10 \u00d7 10.5 mm pitch.", "Boss \u00d817.4 mm \u00d7 7.5 mm tall on top face."], "text": "Rectangular body, 39.9 \u00d7 28.7 \u00d7 36 mm (W\u00d7D\u00d7H). Seven \u00d82.3 mm holes in two staggered rows, 10 \u00d7 10.5 mm pitch. Boss \u00d817.4 mm \u00d7 7.5 mm tall on top face."}, "params": {"block_w": {"type": "float", "default": 39.9, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 28.7, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 36.0, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 2.3, "min": 2.0, "max": 2.9, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 4, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}, "boss_d": {"type": "float", "default": 17.4, "min": 8.7, "max": 34.8, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 7.5, "min": 3.0, "max": 18.8, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333292 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 39.9, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 28.7, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 36.0, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 2.3, \"min\": 2.0, \"max\": 2.9, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 4, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n    \"boss_d\": {\"type\": 'float', \"default\": 17.4, \"min\": 8.7, \"max\": 34.8, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 7.5, \"min\": 3.0, \"max\": 18.8, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 10.0\n    _ssy = 10.5\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462cae2d_4729", "family": "revolved", "tier": 0, "seed": 1177333293, "symmetry": "radial", "op_count": 1, "ir_hash": "175b17026a63cf1f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 607.0, "surface_area": 676.0, "principal_moments": [7540.0, 10800.0, 10800.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d89.1 mm \u00d7 14 mm tall."], "text": "Revolved body, \u00d89.1 mm \u00d7 14 mm tall."}, "params": {"outer_d": {"type": "float", "default": 9.1, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 14.0, "min": 4.2, "max": 42.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333293 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 9.1, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 14.0, \"min\": 4.2, \"max\": 42.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462cae2e_4730", "family": "revolved", "tier": 0, "seed": 1177333294, "symmetry": "none", "op_count": 1, "ir_hash": "708f9ce71877ba6d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 4880.0, "surface_area": 2420.0, "principal_moments": [293000.0, 293000.0, 457000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d825 mm \u00d7 14.9 mm tall."], "text": "Revolved body, \u00d825 mm \u00d7 14.9 mm tall."}, "params": {"outer_d": {"type": "float", "default": 25, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 14.9, "min": 4.5, "max": 44.7, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333294 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 25, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 14.9, \"min\": 4.5, \"max\": 44.7, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462cae2f_4731", "family": "swept", "tier": 1, "seed": 1177333295, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "7f51eed88c62f85d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 1680.0, "surface_area": 2110.0, "principal_moments": [93500.0, 664000.0, 739000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["11.5 \u00d7 8.1 mm rectangular section swept along a curved path, ~80 mm span."], "text": "11.5 \u00d7 8.1 mm rectangular section swept along a curved path, ~80 mm span."}, "params": {"path_w": {"type": "float", "default": 80.0, "min": 40.0, "max": 144.0, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 65.71, "min": 32.9, "max": 118.3, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_a": {"type": "float", "default": 11.5, "min": 5.8, "max": 20.7, "step": 1.0, "group": "Section", "label": "Section width (mm)"}, "sweep_b": {"type": "float", "default": 8.1, "min": 4.0, "max": 14.6, "step": 1.0, "group": "Section", "label": "Section depth (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333295 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 80.0, \"min\": 40.0, \"max\": 144.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 65.71, \"min\": 32.9, \"max\": 118.3, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_a\": {\"type\": 'float', \"default\": 11.5, \"min\": 5.8, \"max\": 20.7, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section width (mm)'},\n    \"sweep_b\": {\"type\": 'float', \"default\": 8.1, \"min\": 4.0, \"max\": 14.6, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section depth (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.2933, p[\"path_h\"] * 0.2489), (p[\"path_w\"] * 0.0879, p[\"path_h\"] * 0.5752), (p[\"path_w\"] * 0.0, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').rect(p[\"sweep_a\"], p[\"sweep_b\"]).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462cae30_4732", "family": "flanged", "tier": 3, "seed": 1177333296, "symmetry": "mirror_xy", "op_count": 3, "ir_hash": "5dde977740a9951d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 283000.0, "surface_area": 53400.0, "principal_moments": [352000000.0, 352000000.0, 429000000.0], "n_faces": 22, "n_edges": 47, "n_vertices": 28}, "dimensions": {"lines": ["Revolved body, \u00d865 mm \u00d7 70.4 mm tall with \u00d830.8 mm bore, \u00d8141.7 mm \u00d7 8.4 mm flange.", "Six \u00d88.4 mm holes on a \u00d885 mm bolt circle.", "Chamfer 0.9 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d865 mm \u00d7 70.4 mm tall with \u00d830.8 mm bore, \u00d8141.7 mm \u00d7 8.4 mm flange. Six \u00d88.4 mm holes on a \u00d885 mm bolt circle. Chamfer 0.9 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 65, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 70.4, "min": 21.1, "max": 176.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 30.8, "min": 2.0, "max": 45.5, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 141.7, "min": 84.5, "max": 195.0, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 8.4, "min": 2.5, "max": 28.2, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 8.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 42.5, "min": 28.3, "max": 63.8, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 6, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}, "end_chamfer": {"type": "float", "default": 0.9, "min": 0.1, "max": 2.0, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333296 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 65, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 70.4, \"min\": 21.1, \"max\": 176.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 30.8, \"min\": 2.0, \"max\": 45.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 141.7, \"min\": 84.5, \"max\": 195.0, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 8.4, \"min\": 2.5, \"max\": 28.2, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 42.5, \"min\": 28.3, \"max\": 63.8, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.9, \"min\": 0.1, \"max\": 2.0, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462cae31_4733", "family": "plate", "tier": 3, "seed": 1177333297, "symmetry": "mirror_x", "op_count": 4, "ir_hash": "3ed1ea8a85bf43be", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 27100.0, "surface_area": 12500.0, "principal_moments": [9440000.0, 15599999.999999998, 24899999.999999996], "n_faces": 19, "n_edges": 48, "n_vertices": 32}, "dimensions": {"lines": ["Rectangular body, 81.77 \u00d7 63.9 \u00d7 6 mm (W\u00d7D\u00d7H).", "Four \u00d810.5 mm holes at the corners, 57.239 \u00d7 44.73 mm spacing.", "Fillet radius 2.611 mm on vertical edges.", "Pocket 33.4 \u00d7 34.3 mm, 1.9 mm deep, in top face."], "text": "Rectangular body, 81.77 \u00d7 63.9 \u00d7 6 mm (W\u00d7D\u00d7H). Four \u00d810.5 mm holes at the corners, 57.239 \u00d7 44.73 mm spacing. Fillet radius 2.611 mm on vertical edges. Pocket 33.4 \u00d7 34.3 mm, 1.9 mm deep, in top face."}, "params": {"plate_w": {"type": "float", "default": 81.77, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 63.9, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 6.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 10.5, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}, "pocket_w": {"type": "float", "default": 33.4, "min": 16.7, "max": 65.4, "step": 1.0, "group": "Pocket", "label": "Pocket width (mm)"}, "pocket_d": {"type": "float", "default": 34.3, "min": 17.1, "max": 51.1, "step": 1.0, "group": "Pocket", "label": "Pocket depth (mm)"}, "pocket_h": {"type": "float", "default": 1.9, "min": 0.8, "max": 5.1, "step": 0.5, "group": "Pocket", "label": "Pocket height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333297 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 81.77, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 63.9, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 10.5, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n    \"pocket_w\": {\"type\": 'float', \"default\": 33.4, \"min\": 16.7, \"max\": 65.4, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket width (mm)'},\n    \"pocket_d\": {\"type\": 'float', \"default\": 34.3, \"min\": 17.1, \"max\": 51.1, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket depth (mm)'},\n    \"pocket_h\": {\"type\": 'float', \"default\": 1.9, \"min\": 0.8, \"max\": 5.1, \"step\": 0.5, \"group\": 'Pocket', \"label\": 'Pocket height (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"plate_w\"], p[\"plate_d\"]) * 0.04085521465878203)\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"pocket_w\"], p[\"pocket_d\"])\n        .cutBlind(-p[\"pocket_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462cae32_4734", "family": "enclosure", "tier": 2, "seed": 1177333298, "symmetry": "mirror_xy", "op_count": 3, "ir_hash": "412a97f2d5ed2c14", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 40700.0, "surface_area": 32400.0, "principal_moments": [28299999.999999996, 40400000.0, 49599999.99999999], "n_faces": 15, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 77.13 \u00d7 56.9 \u00d7 47.7 mm (W\u00d7D\u00d7H).", "Hollowed to 2.6 mm wall thickness, open at top face.", "Four \u00d810.5 mm holes at the corners, 53.991 \u00d7 39.83 mm spacing."], "text": "Rectangular body, 77.13 \u00d7 56.9 \u00d7 47.7 mm (W\u00d7D\u00d7H). Hollowed to 2.6 mm wall thickness, open at top face. Four \u00d810.5 mm holes at the corners, 53.991 \u00d7 39.83 mm spacing."}, "params": {"enc_w": {"type": "float", "default": 77.13, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 56.9, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 47.7, "min": 19.1, "max": 95.4, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 2.6, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}, "hole_d": {"type": "float", "default": 10.5, "min": 2.0, "max": 12.8, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333298 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 77.13, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 56.9, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 47.7, \"min\": 19.1, \"max\": 95.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 2.6, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 10.5, \"min\": 2.0, \"max\": 12.8, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"enc_w\"] * 0.7, p[\"enc_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462cae33_4735", "family": "plate", "tier": 1, "seed": 1177333299, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "5790ad93d0ad8d0b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 8210.0, "surface_area": 3550.0, "principal_moments": [441000.0, 1000000.0, 1300000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 37.89 \u00d7 24 \u00d7 10 mm (W\u00d7D\u00d7H).", "Four \u00d85.3 mm holes at the corners, 26.523 \u00d7 16.8 mm spacing."], "text": "Rectangular body, 37.89 \u00d7 24 \u00d7 10 mm (W\u00d7D\u00d7H). Four \u00d85.3 mm holes at the corners, 26.523 \u00d7 16.8 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 37.89, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 24.0, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 5.4, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333299 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 37.89, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 24.0, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 5.4, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462cae34_4736", "family": "revolved", "tier": 1, "seed": 1177333300, "symmetry": "radial", "op_count": 1, "ir_hash": "0317247a07b07712", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 235.0, "surface_area": 532.0, "principal_moments": [2630.0, 2630.0, 4840.0], "n_faces": 6, "n_edges": 9, "n_vertices": 6}, "dimensions": {"lines": ["Revolved body, \u00d88.45 mm \u00d7 3.1 mm tall with \u00d82.6 mm bore, \u00d816.4 mm \u00d7 0.5 mm flange."], "text": "Revolved body, \u00d88.45 mm \u00d7 3.1 mm tall with \u00d82.6 mm bore, \u00d816.4 mm \u00d7 0.5 mm flange."}, "params": {"outer_d": {"type": "float", "default": 8.45, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 3.1, "min": 1.0, "max": 9.3, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 2.6, "min": 2.0, "max": 5.9, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 16.4, "min": 10.1, "max": 25.3, "step": 1.0, "group": "Body", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 0.5, "min": 0.1, "max": 1.6, "step": 0.5, "group": "Body", "label": "Flange height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333300 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 8.45, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 3.1, \"min\": 1.0, \"max\": 9.3, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 2.6, \"min\": 2.0, \"max\": 5.9, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 16.4, \"min\": 10.1, \"max\": 25.3, \"step\": 1.0, \"group\": 'Body', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 0.5, \"min\": 0.1, \"max\": 1.6, \"step\": 0.5, \"group\": 'Body', \"label\": 'Flange height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462cae35_4737", "family": "sketched", "tier": 0, "seed": 1177333301, "symmetry": "none", "op_count": 1, "ir_hash": "3c2aed900ca54a28", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 33500.0, "surface_area": 5660.0, "principal_moments": [3800000.0, 7550000.0, 7550000.0], "n_faces": 7, "n_edges": 11, "n_vertices": 6}, "dimensions": {"lines": ["Revolved organic body from a freeform sketched section (7 segments: 4 straight, 3 arcs), ~14.926 \u00d7 50 mm half-silhouette."], "text": "Revolved organic body from a freeform sketched section (7 segments: 4 straight, 3 arcs), ~14.926 \u00d7 50 mm half-silhouette."}, "params": {"sk_r": {"type": "float", "default": 16.57, "min": 8.3, "max": 29.8, "step": 1.0, "group": "Sketch", "label": "Max radius (mm)"}, "sk_h": {"type": "float", "default": 50, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Sketch", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333301 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_r\": {\"type\": 'float', \"default\": 16.57, \"min\": 8.3, \"max\": 29.8, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Max radius (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 50, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XZ').moveTo(p[\"sk_r\"] * 0.8687, p[\"sk_h\"] * 0.0).lineTo(p[\"sk_r\"] * 0.9008, p[\"sk_h\"] * 0.1723).threePointArc((p[\"sk_r\"] * 0.8308, p[\"sk_h\"] * 0.1975), (p[\"sk_r\"] * 0.8888, p[\"sk_h\"] * 0.2227)).threePointArc((p[\"sk_r\"] * 0.9741, p[\"sk_h\"] * 0.5153), (p[\"sk_r\"] * 0.8562, p[\"sk_h\"] * 0.8079)).lineTo(p[\"sk_r\"] * 0.8473, p[\"sk_h\"] * 0.86).threePointArc((p[\"sk_r\"] * 0.5698, p[\"sk_h\"] * 0.93), (p[\"sk_r\"] * 0.3568, p[\"sk_h\"] * 1.0)).lineTo(p[\"sk_r\"] * 0.0, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.0, p[\"sk_h\"] * 0.0).close().revolve())\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462cae36_4738", "family": "enclosure", "tier": 1, "seed": 1177333302, "symmetry": "none", "op_count": 2, "ir_hash": "c8f55190521d0d8b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 73900.0, "surface_area": 50400.0, "principal_moments": [77300000.0, 129000000.0, 170000000.0], "n_faces": 11, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 110.65 \u00d7 76 \u00d7 47.9 mm (W\u00d7D\u00d7H).", "Hollowed to 3 mm wall thickness, open at top face."], "text": "Rectangular body, 110.65 \u00d7 76 \u00d7 47.9 mm (W\u00d7D\u00d7H). Hollowed to 3 mm wall thickness, open at top face."}, "params": {"enc_w": {"type": "float", "default": 110.65, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 76.0, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 47.9, "min": 19.2, "max": 95.8, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 3.0, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333302 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 110.65, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 76.0, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 47.9, \"min\": 19.2, \"max\": 95.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462cae37_4739", "family": "sketched", "tier": 1, "seed": 1177333303, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "4ead43e1da3988d6", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 8950.0, "surface_area": 3560.0, "principal_moments": [415000.0, 2100000.0, 2430000.0], "n_faces": 8, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["freeform sketched section (5 segments: 1 straight, 2 arcs, 2 curves), ~58.568 \u00d7 25.301 mm, extruded 7.71 mm thick.", "One \u00d85.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "freeform sketched section (5 segments: 1 straight, 2 arcs, 2 curves), ~58.568 \u00d7 25.301 mm, extruded 7.71 mm thick. One \u00d85.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"sk_w": {"type": "float", "default": 80, "min": 40.0, "max": 144.0, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 42.97, "min": 21.5, "max": 77.3, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "sk_t": {"type": "float", "default": 7.71, "min": 3.1, "max": 17.0, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "sk_hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 10.6, "step": 0.5, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333303 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 80, \"min\": 40.0, \"max\": 144.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 42.97, \"min\": 21.5, \"max\": 77.3, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"sk_t\": {\"type\": 'float', \"default\": 7.71, \"min\": 3.1, \"max\": 17.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"sk_hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 10.6, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.3746, p[\"sk_h\"] * 0.0864).bezier([(p[\"sk_w\"] * 0.3746, p[\"sk_h\"] * 0.0864), (p[\"sk_w\"] * 0.2945, p[\"sk_h\"] * 0.2057), (p[\"sk_w\"] * 0.1871, p[\"sk_h\"] * 0.301)]).bezier([(p[\"sk_w\"] * 0.1871, p[\"sk_h\"] * 0.301), (p[\"sk_w\"] * -0.0846, p[\"sk_h\"] * 0.3009), (p[\"sk_w\"] * -0.35, p[\"sk_h\"] * 0.2433)]).threePointArc((p[\"sk_w\"] * -0.3936, p[\"sk_h\"] * 0.0752), (p[\"sk_w\"] * -0.3575, p[\"sk_h\"] * -0.0982)).threePointArc((p[\"sk_w\"] * -0.1166, p[\"sk_h\"] * -0.2479), (p[\"sk_w\"] * 0.1693, p[\"sk_h\"] * -0.2878)).lineTo(p[\"sk_w\"] * 0.3746, p[\"sk_h\"] * 0.0864).close().extrude(p[\"sk_t\"]))\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"sk_hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462cae38_4740", "family": "bracket", "tier": 2, "seed": 1177333304, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "79a637013f7dbc57", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 36600.0, "surface_area": 19900.0, "principal_moments": [12299999.999999998, 53899999.99999999, 54799999.99999999], "n_faces": 18, "n_edges": 48, "n_vertices": 32}, "dimensions": {"lines": ["Z-bracket: base leg 60 mm, vertical leg 68.5 mm, top leg 60.4 mm, 47.93 mm wide, 4 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg; 5.2 mm corner gusset."], "text": "Z-bracket: base leg 60 mm, vertical leg 68.5 mm, top leg 60.4 mm, 47.93 mm wide, 4 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg; 5.2 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 60, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 68.5, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 47.93, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 4.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 60.4, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}, "gusset_t": {"type": "float", "default": 5.2, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333304 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 60, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 68.5, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 47.93, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 60.4, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 5.2, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _tl, _vl) * 0.4 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(0, _vl - _bt).lineTo(-_g, _vl - _bt)\n                    .lineTo(0, _vl - _bt - _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462cae39_4741", "family": "flanged", "tier": 1, "seed": 1177333305, "symmetry": "radial", "op_count": 2, "ir_hash": "3ef1997b235346c5", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 275000.0, "surface_area": 46700.0, "principal_moments": [291000000.0, 291000000.0, 504000000.0], "n_faces": 14, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["Revolved body, \u00d872.89 mm \u00d7 41.1 mm tall with \u00d823.9 mm bore, \u00d8142.1 mm \u00d7 10.6 mm flange.", "Eight \u00d85.3 mm holes on a \u00d885.2 mm bolt circle."], "text": "Revolved body, \u00d872.89 mm \u00d7 41.1 mm tall with \u00d823.9 mm bore, \u00d8142.1 mm \u00d7 10.6 mm flange. Eight \u00d85.3 mm holes on a \u00d885.2 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 72.89, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 41.1, "min": 12.3, "max": 102.8, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 23.9, "min": 2.0, "max": 51.0, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 142.1, "min": 94.8, "max": 218.7, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 10.6, "min": 3.2, "max": 16.4, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 42.6, "min": 28.4, "max": 63.9, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 8, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333305 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 72.89, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 41.1, \"min\": 12.3, \"max\": 102.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 23.9, \"min\": 2.0, \"max\": 51.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 142.1, \"min\": 94.8, \"max\": 218.7, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 10.6, \"min\": 3.2, \"max\": 16.4, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 42.6, \"min\": 28.4, \"max\": 63.9, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462cae3a_4742", "family": "gear", "tier": 1, "seed": 1177333306, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "0cd8a7fedd714c1d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 162000.0, "surface_area": 31200.0, "principal_moments": [128000000.0, 128000000.0, 247000000.0], "n_faces": 219, "n_edges": 651, "n_vertices": 434}, "dimensions": {"lines": ["Spur gear, module 3 mm, 36 teeth (pitch \u00d8108 mm), face width 18.6 mm, \u00d822.5 mm bore."], "text": "Spur gear, module 3 mm, 36 teeth (pitch \u00d8108 mm), face width 18.6 mm, \u00d822.5 mm bore."}, "params": {"module": {"type": "float", "default": 3.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 36, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 18.6, "min": 7.4, "max": 46.5, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "bore_d": {"type": "float", "default": 22.5, "min": 2.0, "max": 60.3, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333306 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 3.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 36, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 18.6, \"min\": 7.4, \"max\": 46.5, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 22.5, \"min\": 2.0, \"max\": 60.3, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462cae3b_4743", "family": "bracket", "tier": 2, "seed": 1177333307, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "44804cb719aa3add", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 9820.0, "surface_area": 4410.0, "principal_moments": [1010000.0, 1610000.0, 2070000.0], "n_faces": 14, "n_edges": 37, "n_vertices": 24}, "dimensions": {"lines": ["L-bracket: base leg 35.43 mm, vertical leg 25 mm, 30 mm wide, 6 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg; 6.5 mm corner gusset."], "text": "L-bracket: base leg 35.43 mm, vertical leg 25 mm, 30 mm wide, 6 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg; 6.5 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 35.43, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 25.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 30, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 6.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 6.5, "min": 3.0, "max": 15.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333307 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 35.43, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 25.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 30, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 6.5, \"min\": 3.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462cae3c_4744", "family": "compound", "tier": 2, "seed": 1177333308, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "29e88735776e2c6f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 45100.0, "surface_area": 10200.0, "principal_moments": [10200000.0, 12699999.999999998, 12699999.999999998], "n_faces": 15, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["5-sided polygon section, 50.96 mm across corners, extruded 25.7 mm thick.", "\u00d818.8 mm circular section attachment, 31.6 mm long, from top face with a \u00d88.5 mm bore.", "Fillet radius 2.199 mm on vertical edges."], "text": "5-sided polygon section, 50.96 mm across corners, extruded 25.7 mm thick. \u00d818.8 mm circular section attachment, 31.6 mm long, from top face with a \u00d88.5 mm bore. Fillet radius 2.199 mm on vertical edges."}, "params": {"base_sides": {"type": "int", "default": 5, "min": 3, "max": 8, "step": 1, "group": "Base", "label": "Base sides"}, "base_r": {"type": "float", "default": 25.48, "min": 15.3, "max": 40.8, "step": 1.0, "group": "Base", "label": "Base circumradius (mm)"}, "base_h": {"type": "float", "default": 25.7, "min": 10.3, "max": 64.2, "step": 1.0, "group": "Base", "label": "Base height (mm)"}, "col_d": {"type": "float", "default": 18.8, "min": 9.4, "max": 33.0, "step": 1.0, "group": "Column", "label": "Column diameter (mm)"}, "col_h": {"type": "float", "default": 31.6, "min": 9.5, "max": 79.0, "step": 1.0, "group": "Column", "label": "Column height (mm)"}, "col_bore": {"type": "float", "default": 8.5, "min": 2.0, "max": 13.5, "step": 0.5, "group": "Column", "label": "Column bore diameter (mm)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333308 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_sides\": {\"type\": 'int', \"default\": 5, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Base', \"label\": 'Base sides'},\n    \"base_r\": {\"type\": 'float', \"default\": 25.48, \"min\": 15.3, \"max\": 40.8, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base circumradius (mm)'},\n    \"base_h\": {\"type\": 'float', \"default\": 25.7, \"min\": 10.3, \"max\": 64.2, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base height (mm)'},\n    \"col_d\": {\"type\": 'float', \"default\": 18.8, \"min\": 9.4, \"max\": 33.0, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column diameter (mm)'},\n    \"col_h\": {\"type\": 'float', \"default\": 31.6, \"min\": 9.5, \"max\": 79.0, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column height (mm)'},\n    \"col_bore\": {\"type\": 'float', \"default\": 8.5, \"min\": 2.0, \"max\": 13.5, \"step\": 0.5, \"group\": 'Column', \"label\": 'Column bore diameter (mm)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').polygon(p[\"base_sides\"], p[\"base_r\"] * 2).extrude(p[\"base_h\"]))\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"col_d\"] / 2).extrude(p[\"col_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"col_bore\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"base_r\"], p[\"base_r\"]) * 0.08631806771193001)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462cae3d_4745", "family": "tapped", "tier": 1, "seed": 1177333309, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "e2a0f77c008cacab", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 37400.0, "surface_area": 11700.0, "principal_moments": [7440000.0, 9130000.0, 14299999.999999998], "n_faces": 506, "n_edges": 1424, "n_vertices": 920}, "dimensions": {"lines": ["Four M12x1.75 tapped holes in a plate."], "text": "Four M12x1.75 tapped holes in a plate."}, "params": {"major_d": {"type": "float", "default": 12.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 1.75, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 19.2, "min": 14.4, "max": 34.6, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "plate_w": {"type": "float", "default": 51.22, "min": 30.7, "max": 82.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 45.5, "min": 27.3, "max": 72.8, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333309 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 12.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.75, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 19.2, \"min\": 14.4, \"max\": 34.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"plate_w\": {\"type\": 'float', \"default\": 51.22, \"min\": 30.7, \"max\": 82.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 45.5, \"min\": 27.3, \"max\": 72.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n}\n\n\ndef build(p):\n\n    _W, _D, _H = p[\"plate_w\"], p[\"plate_d\"], p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Box(_W, _D, _H)\n    _sx, _sy = p[\"plate_w\"] * 0.6, p[\"plate_d\"] * 0.6\n    _locs = [(_xx, _yy) for _xx in (-_sx / 2, _sx / 2) for _yy in (-_sy / 2, _sy / 2)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462cae3e_4746", "family": "block", "tier": 3, "seed": 1177333310, "symmetry": "mirror_xy", "op_count": 5, "ir_hash": "c19d6bd7ab6b2efc", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 9260.0, "surface_area": 4510.0, "principal_moments": [470000.0, 1050000.0, 1160000.0], "n_faces": 14, "n_edges": 40, "n_vertices": 26}, "dimensions": {"lines": ["Rectangular body, 20 \u00d7 15.7 \u00d7 33.1 mm (W\u00d7D\u00d7H).", "Four \u00d83.2 mm holes at the corners, 14 \u00d7 10.99 mm spacing.", "Boss \u00d88.3 mm \u00d7 5.7 mm tall on top face.", "Fillet radius 0.732 mm on vertical edges (optional, off by default).", "One \u00d86.4 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch on the >Y face."], "text": "Rectangular body, 20 \u00d7 15.7 \u00d7 33.1 mm (W\u00d7D\u00d7H). Four \u00d83.2 mm holes at the corners, 14 \u00d7 10.99 mm spacing. Boss \u00d88.3 mm \u00d7 5.7 mm tall on top face. Fillet radius 0.732 mm on vertical edges (optional, off by default). One \u00d86.4 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch on the >Y face."}, "params": {"block_w": {"type": "float", "default": 20, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 15.7, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 33.1, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 3.5, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "boss_d": {"type": "float", "default": 8.3, "min": 4.2, "max": 16.6, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 5.7, "min": 2.3, "max": 14.2, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}, "filleted2": {"type": "bool", "default": false, "group": "Body", "label": "Fillet corners"}, "face_hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 11.5, "step": 0.5, "group": "Holes", "label": "Side hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333310 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 20, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 15.7, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 33.1, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 3.5, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"boss_d\": {\"type\": 'float', \"default\": 8.3, \"min\": 4.2, \"max\": 16.6, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 5.7, \"min\": 2.3, \"max\": 14.2, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n    \"filleted2\": {\"type\": 'bool', \"default\": False, \"group\": 'Body', \"label\": 'Fillet corners'},\n    \"face_hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 11.5, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Side hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    if p[\"filleted2\"]:\n        result = result.edges('|Z').fillet(min(p[\"block_w\"], p[\"block_d\"]) * 0.04661191952756179)\n    result = (\n        result.faces('>Y').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"face_hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462cae3f_4747", "family": "plate", "tier": 1, "seed": 1177333311, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "f3f3fdd03b978e7c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 2370.0, "surface_area": 2070.0, "principal_moments": [70800.0, 367000.0, 434000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 43.45 \u00d7 18.9 \u00d7 3 mm (W\u00d7D\u00d7H).", "Four \u00d83.2 mm holes at the corners, 30.415 \u00d7 13.23 mm spacing."], "text": "Rectangular body, 43.45 \u00d7 18.9 \u00d7 3 mm (W\u00d7D\u00d7H). Four \u00d83.2 mm holes at the corners, 30.415 \u00d7 13.23 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 43.45, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 18.9, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 3.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 4.3, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333311 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 43.45, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 18.9, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 3.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 4.3, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462cae40_4748", "family": "ribbed", "tier": 1, "seed": 1177333312, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "1d7db2a3399092a4", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 48300.0, "surface_area": 27200.0, "principal_moments": [18900000.0, 28799999.999999996, 43000000.0], "n_faces": 54, "n_edges": 132, "n_vertices": 80}, "dimensions": {"lines": ["Rectangular body, 83.03 \u00d7 62 \u00d7 5 mm (W\u00d7D\u00d7H).", "Six ribs, 3.1 mm thick, 18.3 mm tall."], "text": "Rectangular body, 83.03 \u00d7 62 \u00d7 5 mm (W\u00d7D\u00d7H). Six ribs, 3.1 mm thick, 18.3 mm tall."}, "params": {"base_w": {"type": "float", "default": 83.03, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 62.0, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 5.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 6, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 18.3, "min": 7.3, "max": 36.6, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 3.1, "min": 1.0, "max": 7.8, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333312 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 83.03, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 62.0, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 6, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 18.3, \"min\": 7.3, \"max\": 36.6, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 3.1, \"min\": 1.0, \"max\": 7.8, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462cae41_4749", "family": "revolved", "tier": 1, "seed": 1177333313, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "348b13b7e5c6ac63", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 32000.0, "surface_area": 12100.0, "principal_moments": [3000000.0, 19700000.0, 19700000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d825 mm \u00d7 97.9 mm tall."], "text": "Revolved body, \u00d825 mm \u00d7 97.9 mm tall."}, "params": {"outer_d": {"type": "float", "default": 25, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 97.9, "min": 29.4, "max": 293.7, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333313 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 25, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 97.9, \"min\": 29.4, \"max\": 293.7, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462cae42_4750", "family": "compound", "tier": 2, "seed": 1177333314, "symmetry": "mirror_xy", "op_count": 3, "ir_hash": "bfd87631083849e0", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 58300.0, "surface_area": 12600.0, "principal_moments": [8950000.0, 33499999.999999996, 33499999.999999996], "n_faces": 15, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["\u00d837.47 mm circular section, extruded 37 mm thick.", "\u00d826.4 mm circular section attachment, 30.4 mm long, from top face.", "8-sided polygon section, 23.4 mm across corners attachment, 17 mm long, from top face with a \u00d89.3 mm bore."], "text": "\u00d837.47 mm circular section, extruded 37 mm thick. \u00d826.4 mm circular section attachment, 30.4 mm long, from top face. 8-sided polygon section, 23.4 mm across corners attachment, 17 mm long, from top face with a \u00d89.3 mm bore."}, "params": {"shaft_d": {"type": "float", "default": 37.47, "min": 18.7, "max": 67.4, "step": 1.0, "group": "Body", "label": "Shaft diameter (mm)"}, "shaft_len": {"type": "float", "default": 37.0, "min": 14.8, "max": 74.0, "step": 1.0, "group": "Body", "label": "Shaft length (mm)"}, "step_d": {"type": "float", "default": 26.4, "min": 13.2, "max": 33.7, "step": 1.0, "group": "Step", "label": "Step diameter (mm)"}, "step_len": {"type": "float", "default": 30.4, "min": 9.1, "max": 76.0, "step": 1.0, "group": "Step", "label": "Step length (mm)"}, "head_sides": {"type": "int", "default": 8, "min": 3, "max": 8, "step": 1, "group": "Head", "label": "Drive head sides"}, "head_r": {"type": "float", "default": 11.7, "min": 7.0, "max": 12.7, "step": 1.0, "group": "Head", "label": "Drive head circumradius (mm)"}, "head_len": {"type": "float", "default": 17.0, "min": 5.1, "max": 34.0, "step": 1.0, "group": "Head", "label": "Drive head length (mm)"}, "axial_bore": {"type": "float", "default": 9.3, "min": 2.0, "max": 15.6, "step": 0.5, "group": "Bore", "label": "Axial bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333314 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"shaft_d\": {\"type\": 'float', \"default\": 37.47, \"min\": 18.7, \"max\": 67.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft diameter (mm)'},\n    \"shaft_len\": {\"type\": 'float', \"default\": 37.0, \"min\": 14.8, \"max\": 74.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft length (mm)'},\n    \"step_d\": {\"type\": 'float', \"default\": 26.4, \"min\": 13.2, \"max\": 33.7, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step diameter (mm)'},\n    \"step_len\": {\"type\": 'float', \"default\": 30.4, \"min\": 9.1, \"max\": 76.0, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step length (mm)'},\n    \"head_sides\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Head', \"label\": 'Drive head sides'},\n    \"head_r\": {\"type\": 'float', \"default\": 11.7, \"min\": 7.0, \"max\": 12.7, \"step\": 1.0, \"group\": 'Head', \"label\": 'Drive head circumradius (mm)'},\n    \"head_len\": {\"type\": 'float', \"default\": 17.0, \"min\": 5.1, \"max\": 34.0, \"step\": 1.0, \"group\": 'Head', \"label\": 'Drive head length (mm)'},\n    \"axial_bore\": {\"type\": 'float', \"default\": 9.3, \"min\": 2.0, \"max\": 15.6, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Axial bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').circle(p[\"shaft_d\"] / 2).extrude(p[\"shaft_len\"]))\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"step_d\"] / 2).extrude(p[\"step_len\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"head_sides\"], p[\"head_r\"] * 2).extrude(p[\"head_len\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"axial_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462cae43_4751", "family": "revolved", "tier": 0, "seed": 1177333315, "symmetry": "none", "op_count": 1, "ir_hash": "25e074ef3e1c4f50", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 694000.0, "surface_area": 89500.0, "principal_moments": [563000000.0, 2760000000.0, 2760000000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d873.52 mm \u00d7 245.2 mm tall."], "text": "Revolved body, \u00d873.52 mm \u00d7 245.2 mm tall."}, "params": {"outer_d": {"type": "float", "default": 73.52, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 245.2, "min": 73.6, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333315 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 73.52, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 245.2, \"min\": 73.6, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462cae44_4752", "family": "block", "tier": 2, "seed": 1177333316, "symmetry": "none", "op_count": 3, "ir_hash": "ce7bd67323b8f541", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 337000.0, "surface_area": 45100.0, "principal_moments": [295000000.0, 318000000.0, 506000000.0], "n_faces": 15, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 89.75 \u00d7 42.5 \u00d7 100 mm (W\u00d7D\u00d7H).", "Four \u00d85.3 mm holes at the corners, 62.825 \u00d7 29.75 mm spacing.", "Pocket 43.8 \u00d7 24 mm, 33.8 mm deep, in top face."], "text": "Rectangular body, 89.75 \u00d7 42.5 \u00d7 100 mm (W\u00d7D\u00d7H). Four \u00d85.3 mm holes at the corners, 62.825 \u00d7 29.75 mm spacing. Pocket 43.8 \u00d7 24 mm, 33.8 mm deep, in top face."}, "params": {"block_w": {"type": "float", "default": 89.75, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 42.5, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 100.0, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 9.6, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "pocket_w": {"type": "float", "default": 43.8, "min": 21.9, "max": 71.8, "step": 1.0, "group": "Pocket", "label": "Pocket width (mm)"}, "pocket_d": {"type": "float", "default": 24.0, "min": 12.0, "max": 34.0, "step": 1.0, "group": "Pocket", "label": "Pocket depth (mm)"}, "pocket_h": {"type": "float", "default": 33.8, "min": 13.5, "max": 85.0, "step": 0.5, "group": "Pocket", "label": "Pocket height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333316 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 89.75, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 42.5, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 100.0, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 9.6, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"pocket_w\": {\"type\": 'float', \"default\": 43.8, \"min\": 21.9, \"max\": 71.8, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket width (mm)'},\n    \"pocket_d\": {\"type\": 'float', \"default\": 24.0, \"min\": 12.0, \"max\": 34.0, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket depth (mm)'},\n    \"pocket_h\": {\"type\": 'float', \"default\": 33.8, \"min\": 13.5, \"max\": 85.0, \"step\": 0.5, \"group\": 'Pocket', \"label\": 'Pocket height (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"pocket_w\"], p[\"pocket_d\"])\n        .cutBlind(-p[\"pocket_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462cae45_4753", "family": "enclosure", "tier": 1, "seed": 1177333317, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "4f1d0b3fdd789dde", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 14400.0, "surface_area": 6540.0, "principal_moments": [1930000.0, 2700000.0, 2720000.0], "n_faces": 11, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 33.85 \u00d7 24.6 \u00d7 26.9 mm (W\u00d7D\u00d7H).", "Hollowed to 4.8 mm wall thickness, open at top face."], "text": "Rectangular body, 33.85 \u00d7 24.6 \u00d7 26.9 mm (W\u00d7D\u00d7H). Hollowed to 4.8 mm wall thickness, open at top face."}, "params": {"enc_w": {"type": "float", "default": 33.85, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 24.6, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 26.9, "min": 10.8, "max": 53.8, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 4.8, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333317 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 33.85, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 24.6, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 26.9, \"min\": 10.8, \"max\": 53.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 4.8, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462cae46_4754", "family": "sketched", "tier": 2, "seed": 1177333318, "symmetry": "mirror_xy", "op_count": 3, "ir_hash": "165150be527bb8e8", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 42200.0, "surface_area": 8220.0, "principal_moments": [6860000.0, 10300000.0, 10600000.0], "n_faces": 13, "n_edges": 27, "n_vertices": 18}, "dimensions": {"lines": ["freeform sketched section (6 segments: 2 straight, 2 arcs, 2 curves), ~52.22 \u00d7 37.911 mm, extruded 29.65 mm thick.", "One \u00d88.4 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch.", "Boss \u00d810.3 mm \u00d7 9.3 mm tall on top face with a \u00d83.2 mm bore."], "text": "freeform sketched section (6 segments: 2 straight, 2 arcs, 2 curves), ~52.22 \u00d7 37.911 mm, extruded 29.65 mm thick. One \u00d88.4 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch. Boss \u00d810.3 mm \u00d7 9.3 mm tall on top face with a \u00d83.2 mm bore."}, "params": {"sk_w": {"type": "float", "default": 70, "min": 35.0, "max": 126.0, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 49.57, "min": 24.8, "max": 89.2, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "sk_t": {"type": "float", "default": 29.65, "min": 11.9, "max": 65.2, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "sk_hole_d": {"type": "float", "default": 8.4, "min": 2.0, "max": 16.8, "step": 0.5, "group": "Holes", "label": "Hole diameter (mm)"}, "boss_d": {"type": "float", "default": 10.3, "min": 5.2, "max": 20.6, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 9.3, "min": 3.7, "max": 23.2, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}, "boss_bore_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 7.2, "step": 0.1, "group": "Boss", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333318 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 70, \"min\": 35.0, \"max\": 126.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 49.57, \"min\": 24.8, \"max\": 89.2, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"sk_t\": {\"type\": 'float', \"default\": 29.65, \"min\": 11.9, \"max\": 65.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"sk_hole_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 2.0, \"max\": 16.8, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"boss_d\": {\"type\": 'float', \"default\": 10.3, \"min\": 5.2, \"max\": 20.6, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 9.3, \"min\": 3.7, \"max\": 23.2, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n    \"boss_bore_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 7.2, \"step\": 0.1, \"group\": 'Boss', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.308, p[\"sk_h\"] * 0.0952).threePointArc((p[\"sk_w\"] * 0.2269, p[\"sk_h\"] * 0.2466), (p[\"sk_w\"] * 0.1064, p[\"sk_h\"] * 0.3687)).lineTo(p[\"sk_w\"] * -0.1878, p[\"sk_h\"] * 0.4305).spline([(p[\"sk_w\"] * -0.1878, p[\"sk_h\"] * 0.4305), (p[\"sk_w\"] * -0.3604, p[\"sk_h\"] * 0.2812), (p[\"sk_w\"] * -0.438, p[\"sk_h\"] * 0.0665)]).bezier([(p[\"sk_w\"] * -0.438, p[\"sk_h\"] * 0.0665), (p[\"sk_w\"] * -0.3423, p[\"sk_h\"] * -0.1801), (p[\"sk_w\"] * -0.1274, p[\"sk_h\"] * -0.3343)]).lineTo(p[\"sk_w\"] * 0.166, p[\"sk_h\"] * -0.2869).threePointArc((p[\"sk_w\"] * 0.2711, p[\"sk_h\"] * -0.1154), (p[\"sk_w\"] * 0.308, p[\"sk_h\"] * 0.0952)).close().extrude(p[\"sk_t\"]))\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"sk_hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .hole(p[\"boss_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462cae47_4755", "family": "revolved", "tier": 1, "seed": 1177333319, "symmetry": "radial", "op_count": 2, "ir_hash": "91fdb4181d95313d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 8970.0, "surface_area": 4250.0, "principal_moments": [537000.0, 1240000.0, 1240000.0], "n_faces": 5, "n_edges": 8, "n_vertices": 5}, "dimensions": {"lines": ["Revolved body, \u00d820 mm \u00d7 43 mm tall.", "Chamfer 1 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d820 mm \u00d7 43 mm tall. Chamfer 1 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 20, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 43.0, "min": 12.9, "max": 129.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "end_chamfer": {"type": "float", "default": 1.0, "min": 0.1, "max": 3.0, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333319 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 20, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 43.0, \"min\": 12.9, \"max\": 129.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 1.0, \"min\": 0.1, \"max\": 3.0, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462cae48_4756", "family": "bracket", "tier": 2, "seed": 1177333320, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "b633aa5b31a4c265", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 16200.0, "surface_area": 8000.0, "principal_moments": [2870000.0, 11000000.0, 12599999.999999998], "n_faces": 14, "n_edges": 37, "n_vertices": 24}, "dimensions": {"lines": ["L-bracket: base leg 75 mm, vertical leg 56 mm, 23.1 mm wide, 5 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg; 5.5 mm corner gusset."], "text": "L-bracket: base leg 75 mm, vertical leg 56 mm, 23.1 mm wide, 5 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg; 5.5 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 75, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 56.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 23.1, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 5.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 9.2, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 5.5, "min": 2.5, "max": 11.6, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333320 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 75, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 56.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 23.1, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 9.2, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 5.5, \"min\": 2.5, \"max\": 11.6, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462cae49_4757", "family": "swept", "tier": 2, "seed": 1177333321, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "e1d3c1b169ef2720", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 17900.0, "surface_area": 6500.0, "principal_moments": [1770000.0, 6360000.0, 7550000.0], "n_faces": 3, "n_edges": 3, "n_vertices": 2}, "dimensions": {"lines": ["\u00d816.1 mm circular section swept along a curved path, ~54.54 mm span."], "text": "\u00d816.1 mm circular section swept along a curved path, ~54.54 mm span."}, "params": {"path_w": {"type": "float", "default": 45, "min": 22.5, "max": 81.0, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 54.54, "min": 27.3, "max": 98.2, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_d": {"type": "float", "default": 16.1, "min": 8.1, "max": 29.0, "step": 1.0, "group": "Section", "label": "Section diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333321 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 45, \"min\": 22.5, \"max\": 81.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 54.54, \"min\": 27.3, \"max\": 98.2, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_d\": {\"type\": 'float', \"default\": 16.1, \"min\": 8.1, \"max\": 29.0, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.3888, p[\"path_h\"] * 0.4746), (p[\"path_w\"] * 0.56, p[\"path_h\"] * 0.4931), (p[\"path_w\"] * 0.3642, p[\"path_h\"] * 0.6203), (p[\"path_w\"] * 0.7852, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').circle(p[\"sweep_d\"] / 2).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462cae4a_4758", "family": "ribbed", "tier": 1, "seed": 1177333322, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "7c2b7f41f111d1a0", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 13800.0, "surface_area": 6850.0, "principal_moments": [1670000.0, 3000000.0, 3340000.0], "n_faces": 30, "n_edges": 72, "n_vertices": 44}, "dimensions": {"lines": ["Rectangular body, 40.94 \u00d7 20.7 \u00d7 5 mm (W\u00d7D\u00d7H).", "Three ribs, 5.4 mm thick, 18.1 mm tall."], "text": "Rectangular body, 40.94 \u00d7 20.7 \u00d7 5 mm (W\u00d7D\u00d7H). Three ribs, 5.4 mm thick, 18.1 mm tall."}, "params": {"base_w": {"type": "float", "default": 40.94, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 20.7, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 5.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 3, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 18.1, "min": 7.2, "max": 36.2, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 5.4, "min": 1.0, "max": 13.5, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333322 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 40.94, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 20.7, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 3, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 18.1, \"min\": 7.2, \"max\": 36.2, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 5.4, \"min\": 1.0, \"max\": 13.5, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462cae4b_4759", "family": "flanged", "tier": 1, "seed": 1177333323, "symmetry": "none", "op_count": 2, "ir_hash": "acac36cd617c0465", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 379000.0, "surface_area": 74900.0, "principal_moments": [642000000.0, 676000000.0, 676000000.0], "n_faces": 18, "n_edges": 45, "n_vertices": 30}, "dimensions": {"lines": ["Revolved body, \u00d873.03 mm \u00d7 94.9 mm tall with \u00d840 mm bore, \u00d8162.1 mm \u00d7 6.2 mm flange.", "Twelve \u00d84.3 mm holes on a \u00d897.2 mm bolt circle."], "text": "Revolved body, \u00d873.03 mm \u00d7 94.9 mm tall with \u00d840 mm bore, \u00d8162.1 mm \u00d7 6.2 mm flange. Twelve \u00d84.3 mm holes on a \u00d897.2 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 73.03, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 94.9, "min": 28.5, "max": 237.2, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 40.0, "min": 2.0, "max": 51.1, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 162.1, "min": 94.9, "max": 219.1, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 6.2, "min": 1.9, "max": 38.0, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 48.6, "min": 32.4, "max": 72.9, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 12, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333323 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 73.03, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 94.9, \"min\": 28.5, \"max\": 237.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 40.0, \"min\": 2.0, \"max\": 51.1, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 162.1, \"min\": 94.9, \"max\": 219.1, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 6.2, \"min\": 1.9, \"max\": 38.0, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 48.6, \"min\": 32.4, \"max\": 72.9, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 12, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462cae4c_4760", "family": "lofted", "tier": 2, "seed": 1177333324, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "2ae7e1715b78719c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 48300.0, "surface_area": 9500.0, "principal_moments": [11899999.999999998, 11899999.999999998, 11999999.999999998], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["Lofted body through 3 sections: 6-sided polygon section, 49.31 mm across corners \u2192 37.5 \u00d7 37.5 mm rectangular section \u2192 25.7 \u00d7 25.7 mm rectangular section.", "One \u00d812.7 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 3 sections: 6-sided polygon section, 49.31 mm across corners \u2192 37.5 \u00d7 37.5 mm rectangular section \u2192 25.7 \u00d7 25.7 mm rectangular section. One \u00d812.7 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 49.31, "min": 24.7, "max": 78.9, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 25.7, "min": 10.3, "max": 59.2, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 40.8, "min": 16.3, "max": 81.6, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_mid": {"type": "float", "default": 37.5, "min": 12.8, "max": 59.2, "step": 1.0, "group": "Body", "label": "Mid size (mm)"}, "loft_bore_d": {"type": "float", "default": 12.7, "min": 2.0, "max": 20.6, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333324 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 49.31, \"min\": 24.7, \"max\": 78.9, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 25.7, \"min\": 10.3, \"max\": 59.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 40.8, \"min\": 16.3, \"max\": 81.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_mid\": {\"type\": 'float', \"default\": 37.5, \"min\": 12.8, \"max\": 59.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Mid size (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 12.7, \"min\": 2.0, \"max\": 20.6, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .polygon(6, p[\"loft_base\"] * 0.5 * 2)\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .rect(p[\"loft_mid\"], p[\"loft_mid\"])\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .rect(p[\"loft_top\"], p[\"loft_top\"])\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462cae4d_4761", "family": "plate", "tier": 1, "seed": 1177333325, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "b4d2adabea757791", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 4970.0, "surface_area": 2340.0, "principal_moments": [180000.0, 366000.0, 463000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 28.43 \u00d7 18.6 \u00d7 10 mm (W\u00d7D\u00d7H).", "Four \u00d83.2 mm holes at the corners, 19.901 \u00d7 13.02 mm spacing."], "text": "Rectangular body, 28.43 \u00d7 18.6 \u00d7 10 mm (W\u00d7D\u00d7H). Four \u00d83.2 mm holes at the corners, 19.901 \u00d7 13.02 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 28.43, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 18.6, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 4.2, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333325 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 28.43, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 18.6, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 4.2, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462cae4e_4762", "family": "plate", "tier": 1, "seed": 1177333326, "symmetry": "none", "op_count": 2, "ir_hash": "7b77002897638640", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 24500.0, "surface_area": 10300.0, "principal_moments": [3520000.0, 20800000.0, 24099999.999999996], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 101.13 \u00d7 41.3 \u00d7 6 mm (W\u00d7D\u00d7H).", "Four \u00d85.3 mm holes at the corners, 70.791 \u00d7 28.91 mm spacing."], "text": "Rectangular body, 101.13 \u00d7 41.3 \u00d7 6 mm (W\u00d7D\u00d7H). Four \u00d85.3 mm holes at the corners, 70.791 \u00d7 28.91 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 101.13, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 41.3, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 6.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 9.3, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333326 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 101.13, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 41.3, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 9.3, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462cae4f_4763", "family": "revolved", "tier": 1, "seed": 1177333327, "symmetry": "none", "op_count": 1, "ir_hash": "ee3cb64dfca25ceb", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 412000.0, "surface_area": 55500.0, "principal_moments": [329000000.0, 698000000.0, 698000000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d872.98 mm \u00d7 147.7 mm tall."], "text": "Revolved body, \u00d872.98 mm \u00d7 147.7 mm tall."}, "params": {"outer_d": {"type": "float", "default": 72.98, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 147.7, "min": 44.3, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333327 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 72.98, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 147.7, \"min\": 44.3, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462cae50_4764", "family": "revolved", "tier": 1, "seed": 1177333328, "symmetry": "none", "op_count": 1, "ir_hash": "c40015fcaea240e6", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 1230000.0, "surface_area": 102000.0, "principal_moments": [2970000000.0, 3910000000.0, 3910000000.0], "n_faces": 6, "n_edges": 9, "n_vertices": 6}, "dimensions": {"lines": ["Revolved body, \u00d874.27 mm \u00d7 159.6 mm tall with \u00d828.7 mm bore, \u00d8159.9 mm \u00d7 41 mm flange."], "text": "Revolved body, \u00d874.27 mm \u00d7 159.6 mm tall with \u00d828.7 mm bore, \u00d8159.9 mm \u00d7 41 mm flange."}, "params": {"outer_d": {"type": "float", "default": 74.27, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 159.6, "min": 47.9, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 28.7, "min": 2.0, "max": 52.0, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 159.9, "min": 89.1, "max": 222.8, "step": 1.0, "group": "Body", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 41.0, "min": 12.3, "max": 79.8, "step": 0.5, "group": "Body", "label": "Flange height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333328 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 74.27, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 159.6, \"min\": 47.9, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 28.7, \"min\": 2.0, \"max\": 52.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 159.9, \"min\": 89.1, \"max\": 222.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 41.0, \"min\": 12.3, \"max\": 79.8, \"step\": 0.5, \"group\": 'Body', \"label\": 'Flange height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462cae52_4766", "family": "bracket", "tier": 3, "seed": 1177333330, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "25716c8c83e750f5", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 57000.0, "surface_area": 25700.0, "principal_moments": [46299999.99999999, 72300000.0, 94999999.99999999], "n_faces": 19, "n_edges": 51, "n_vertices": 34}, "dimensions": {"lines": ["C-channel bracket: base leg 78.91 mm, vertical leg 76.6 mm, 50.36 mm wide, 5 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg; 5.5 mm corner gusset."], "text": "C-channel bracket: base leg 78.91 mm, vertical leg 76.6 mm, 50.36 mm wide, 5 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg; 5.5 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 78.91, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 76.6, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 50.36, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 5.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 5.5, "min": 2.5, "max": 15.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333330 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 78.91, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 76.6, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 50.36, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 5.5, \"min\": 2.5, \"max\": 15.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl / 2, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bl - _bt, _bt).lineTo(_bl - _bt - _g, _bt)\n                    .lineTo(_bl - _bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462cae53_4767", "family": "block", "tier": 2, "seed": 1177333331, "symmetry": "none", "op_count": 3, "ir_hash": "3a66bc2a162f1fd6", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 274000.0, "surface_area": 38000.0, "principal_moments": [184000000.0, 234000000.0, 346000000.0], "n_faces": 17, "n_edges": 43, "n_vertices": 28}, "dimensions": {"lines": ["Rectangular body, 79.46 \u00d7 38.8 \u00d7 92.7 mm (W\u00d7D\u00d7H).", "Seven \u00d83.2 mm holes in two staggered rows, 19.9 \u00d7 17.5 mm pitch.", "Boss \u00d818.1 mm \u00d7 7 mm tall on top face with a \u00d810.5 mm bore."], "text": "Rectangular body, 79.46 \u00d7 38.8 \u00d7 92.7 mm (W\u00d7D\u00d7H). Seven \u00d83.2 mm holes in two staggered rows, 19.9 \u00d7 17.5 mm pitch. Boss \u00d818.1 mm \u00d7 7 mm tall on top face with a \u00d810.5 mm bore."}, "params": {"block_w": {"type": "float", "default": 79.46, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 38.8, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 92.7, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 3.9, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 4, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}, "boss_d": {"type": "float", "default": 18.1, "min": 9.1, "max": 36.2, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 7.0, "min": 2.8, "max": 17.5, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}, "boss_bore_d": {"type": "float", "default": 10.5, "min": 2.0, "max": 12.7, "step": 0.1, "group": "Boss", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333331 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 79.46, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 38.8, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 92.7, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 3.9, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 4, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n    \"boss_d\": {\"type\": 'float', \"default\": 18.1, \"min\": 9.1, \"max\": 36.2, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 7.0, \"min\": 2.8, \"max\": 17.5, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n    \"boss_bore_d\": {\"type\": 'float', \"default\": 10.5, \"min\": 2.0, \"max\": 12.7, \"step\": 0.1, \"group\": 'Boss', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 19.9\n    _ssy = 17.5\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .hole(p[\"boss_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462cae54_4768", "family": "flanged", "tier": 1, "seed": 1177333332, "symmetry": "radial", "op_count": 2, "ir_hash": "9ae0b828ff5d65c0", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 68800.0, "surface_area": 19400.0, "principal_moments": [25499999.999999996, 32699999.999999996, 32699999.999999996], "n_faces": 21, "n_edges": 78, "n_vertices": 52}, "dimensions": {"lines": ["Revolved body, \u00d841.21 mm \u00d7 54.4 mm tall with \u00d817.4 mm bore, \u00d868.5 mm \u00d7 7.2 mm flange.", "Eight \u00d86.4 mm holes on a \u00d841.2 mm bolt circle."], "text": "Revolved body, \u00d841.21 mm \u00d7 54.4 mm tall with \u00d817.4 mm bore, \u00d868.5 mm \u00d7 7.2 mm flange. Eight \u00d86.4 mm holes on a \u00d841.2 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 41.21, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 54.4, "min": 16.3, "max": 136.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 17.4, "min": 2.0, "max": 28.8, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 68.5, "min": 53.6, "max": 123.6, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 7.2, "min": 2.2, "max": 21.8, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 20.6, "min": 13.7, "max": 30.8, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 8, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333332 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 41.21, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 54.4, \"min\": 16.3, \"max\": 136.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 17.4, \"min\": 2.0, \"max\": 28.8, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 68.5, \"min\": 53.6, \"max\": 123.6, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 7.2, \"min\": 2.2, \"max\": 21.8, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 20.6, \"min\": 13.7, \"max\": 30.8, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462cae55_4769", "family": "swept", "tier": 0, "seed": 1177333333, "symmetry": "none", "op_count": 1, "ir_hash": "6babff132936c61c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 34700.0, "surface_area": 9470.0, "principal_moments": [3560000.0, 43500000.0, 46199999.99999999], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["21.3 \u00d7 12.3 mm rectangular section swept along a curved path, ~95 mm span."], "text": "21.3 \u00d7 12.3 mm rectangular section swept along a curved path, ~95 mm span."}, "params": {"path_w": {"type": "float", "default": 75, "min": 37.5, "max": 135.0, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 95, "min": 47.5, "max": 171.0, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_a": {"type": "float", "default": 21.3, "min": 10.7, "max": 38.3, "step": 1.0, "group": "Section", "label": "Section width (mm)"}, "sweep_b": {"type": "float", "default": 12.3, "min": 6.2, "max": 22.1, "step": 1.0, "group": "Section", "label": "Section depth (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333333 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 75, \"min\": 37.5, \"max\": 135.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 95, \"min\": 47.5, \"max\": 171.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_a\": {\"type\": 'float', \"default\": 21.3, \"min\": 10.7, \"max\": 38.3, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section width (mm)'},\n    \"sweep_b\": {\"type\": 'float', \"default\": 12.3, \"min\": 6.2, \"max\": 22.1, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section depth (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.4382, p[\"path_h\"] * 0.3618), (p[\"path_w\"] * 0.8412, p[\"path_h\"] * 0.6388), (p[\"path_w\"] * 0.8231, p[\"path_h\"] * 0.731), (p[\"path_w\"] * 1.0, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').rect(p[\"sweep_a\"], p[\"sweep_b\"]).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462cae57_4771", "family": "block", "tier": 2, "seed": 1177333335, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "5d42ec6377d937fe", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 11100.0, "surface_area": 5420.0, "principal_moments": [555000.0, 1810000.0, 1930000.0], "n_faces": 13, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Rectangular body, 20 \u00d7 16.1 \u00d7 35.5 mm (W\u00d7D\u00d7H).", "Four \u00d83.2 mm holes at the corners, 14 \u00d7 11.27 mm spacing.", "Boss \u00d811.9 mm \u00d7 10.7 mm tall on top face with a \u00d83.2 mm bore."], "text": "Rectangular body, 20 \u00d7 16.1 \u00d7 35.5 mm (W\u00d7D\u00d7H). Four \u00d83.2 mm holes at the corners, 14 \u00d7 11.27 mm spacing. Boss \u00d811.9 mm \u00d7 10.7 mm tall on top face with a \u00d83.2 mm bore."}, "params": {"block_w": {"type": "float", "default": 20, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 16.1, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 35.5, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 3.6, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "boss_d": {"type": "float", "default": 11.9, "min": 6.0, "max": 23.8, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 10.7, "min": 4.3, "max": 26.8, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}, "boss_bore_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 8.3, "step": 0.1, "group": "Boss", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333335 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 20, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 16.1, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 35.5, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 3.6, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"boss_d\": {\"type\": 'float', \"default\": 11.9, \"min\": 6.0, \"max\": 23.8, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 10.7, \"min\": 4.3, \"max\": 26.8, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n    \"boss_bore_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 8.3, \"step\": 0.1, \"group\": 'Boss', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .hole(p[\"boss_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462cae58_4772", "family": "tapped", "tier": 3, "seed": 1177333336, "symmetry": "none", "op_count": 1, "ir_hash": "56fc6414b06a0cd3", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 3500.0, "surface_area": 1710.0, "principal_moments": [142000.0, 142000.0, 159000.0], "n_faces": 119, "n_edges": 321, "n_vertices": 204}, "dimensions": {"lines": ["One M6x1 tapped hole in a cylinder."], "text": "One M6x1 tapped hole in a cylinder."}, "params": {"major_d": {"type": "float", "default": 6.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 1.0, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 14.6, "min": 7.2, "max": 26.3, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "body_d": {"type": "float", "default": 18.3, "min": 10.8, "max": 29.3, "step": 1.0, "group": "Body", "label": "Outer \u00d8 (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333336 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.0, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 14.6, \"min\": 7.2, \"max\": 26.3, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"body_d\": {\"type\": 'float', \"default\": 18.3, \"min\": 10.8, \"max\": 29.3, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer \u00d8 (mm)'},\n}\n\n\ndef build(p):\n\n    _W = _D = p[\"body_d\"]\n    _H = p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Cylinder(radius=_W / 2, height=_H)\n    _locs = [(0.0, 0.0)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462cae59_4773", "family": "plate", "tier": 1, "seed": 1177333337, "symmetry": "none", "op_count": 2, "ir_hash": "a6269e614e2e4fa3", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 39000.0, "surface_area": 10600.0, "principal_moments": [4940000.0, 26999999.999999996, 30999999.999999996], "n_faces": 15, "n_edges": 39, "n_vertices": 26}, "dimensions": {"lines": ["Rectangular body, 90 \u00d7 36.9 \u00d7 12 mm (W\u00d7D\u00d7H).", "Nine \u00d83.2 mm holes in two staggered rows, 16.9 \u00d7 15.4 mm pitch."], "text": "Rectangular body, 90 \u00d7 36.9 \u00d7 12 mm (W\u00d7D\u00d7H). Nine \u00d83.2 mm holes in two staggered rows, 16.9 \u00d7 15.4 mm pitch."}, "params": {"plate_w": {"type": "float", "default": 90, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 36.9, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 3.7, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 5, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333337 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 90, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 36.9, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 3.7, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 5, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 16.9\n    _ssy = 15.4\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462cae5a_4774", "family": "sketched", "tier": 0, "seed": 1177333338, "symmetry": "none", "op_count": 1, "ir_hash": "81380ae1f8798be1", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 19500.0, "surface_area": 5850.0, "principal_moments": [2430000.0, 5050000.0, 7200000.0], "n_faces": 10, "n_edges": 23, "n_vertices": 15}, "dimensions": {"lines": ["freeform sketched section (7 segments: 3 straight, 2 arcs, 2 curves), ~66.272 \u00d7 47.329 mm, extruded 9.15 mm thick with a 4.9\u00b0 draft."], "text": "freeform sketched section (7 segments: 3 straight, 2 arcs, 2 curves), ~66.272 \u00d7 47.329 mm, extruded 9.15 mm thick with a 4.9\u00b0 draft."}, "params": {"sk_w": {"type": "float", "default": 80, "min": 40.0, "max": 144.0, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 55.55, "min": 27.8, "max": 100.0, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "sk_t": {"type": "float", "default": 9.15, "min": 3.7, "max": 20.1, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "sk_draft": {"type": "float", "default": 4.9, "min": 0.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Draft angle (deg)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333338 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 80, \"min\": 40.0, \"max\": 144.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 55.55, \"min\": 27.8, \"max\": 100.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"sk_t\": {\"type\": 'float', \"default\": 9.15, \"min\": 3.7, \"max\": 20.1, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"sk_draft\": {\"type\": 'float', \"default\": 4.9, \"min\": 0.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Draft angle (deg)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.4165, p[\"sk_h\"] * -0.0491).spline([(p[\"sk_w\"] * 0.4165, p[\"sk_h\"] * -0.0491), (p[\"sk_w\"] * 0.3235, p[\"sk_h\"] * 0.1381), (p[\"sk_w\"] * 0.1665, p[\"sk_h\"] * 0.2762)]).lineTo(p[\"sk_w\"] * -0.1141, p[\"sk_h\"] * 0.4165).threePointArc((p[\"sk_w\"] * -0.2404, p[\"sk_h\"] * 0.3696), (p[\"sk_w\"] * -0.3238, p[\"sk_h\"] * 0.2449)).threePointArc((p[\"sk_w\"] * -0.4065, p[\"sk_h\"] * 0.0178), (p[\"sk_w\"] * -0.4119, p[\"sk_h\"] * -0.2163)).lineTo(p[\"sk_w\"] * -0.1187, p[\"sk_h\"] * -0.4355).lineTo(p[\"sk_w\"] * 0.1878, p[\"sk_h\"] * -0.3533).bezier([(p[\"sk_w\"] * 0.1878, p[\"sk_h\"] * -0.3533), (p[\"sk_w\"] * 0.3336, p[\"sk_h\"] * -0.2249), (p[\"sk_w\"] * 0.4165, p[\"sk_h\"] * -0.0491)]).close().extrude(p[\"sk_t\"], taper=p[\"sk_draft\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462cae5c_4776", "family": "revolved", "tier": 1, "seed": 1177333340, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "f1220b39452f1601", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 38400.0, "surface_area": 11900.0, "principal_moments": [6050000.0, 16199999.999999998, 16199999.999999998], "n_faces": 7, "n_edges": 11, "n_vertices": 7}, "dimensions": {"lines": ["Revolved body, \u00d825.36 mm \u00d7 77.2 mm tall with \u00d840.6 mm \u00d7 15.8 mm flange.", "Chamfer 1.1 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d825.36 mm \u00d7 77.2 mm tall with \u00d840.6 mm \u00d7 15.8 mm flange. Chamfer 1.1 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 25.36, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 77.2, "min": 23.2, "max": 231.6, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "flange_d": {"type": "float", "default": 40.6, "min": 30.4, "max": 76.1, "step": 1.0, "group": "Body", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 15.8, "min": 4.7, "max": 38.6, "step": 0.5, "group": "Body", "label": "Flange height (mm)"}, "end_chamfer": {"type": "float", "default": 1.1, "min": 0.1, "max": 3.3, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333340 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 25.36, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 77.2, \"min\": 23.2, \"max\": 231.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 40.6, \"min\": 30.4, \"max\": 76.1, \"step\": 1.0, \"group\": 'Body', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 15.8, \"min\": 4.7, \"max\": 38.6, \"step\": 0.5, \"group\": 'Body', \"label\": 'Flange height (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 1.1, \"min\": 0.1, \"max\": 3.3, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462cae5d_4777", "family": "threaded", "tier": 0, "seed": 1177333341, "symmetry": "none", "op_count": 1, "ir_hash": "cbead66442690b64", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 214.0, "surface_area": 403.0, "principal_moments": [351.0, 8190.0, 8190.0], "n_faces": 310, "n_edges": 798, "n_vertices": 490}, "dimensions": {"lines": ["M4x0.7 external thread, 21.3 mm long."], "text": "M4x0.7 external thread, 21.3 mm long."}, "params": {"major_d": {"type": "float", "default": 4.0, "min": 4.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Major diameter (mm)"}, "pitch": {"type": "float", "default": 0.7, "min": 0.35, "max": 1.4, "step": 0.05, "group": "Thread", "label": "Pitch (mm)"}, "thread_len": {"type": "float", "default": 21.3, "min": 8.5, "max": 42.6, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333341 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 4.0, \"min\": 4.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Major diameter (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 0.7, \"min\": 0.35, \"max\": 1.4, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Pitch (mm)'},\n    \"thread_len\": {\"type\": 'float', \"default\": 21.3, \"min\": 8.5, \"max\": 42.6, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.IsoThread(major_diameter=p[\"major_d\"], pitch=p[\"pitch\"], length=p[\"thread_len\"], external=True, end_finishes=(\"fade\", \"fade\"))\n    _r = _thr.min_radius if hasattr(_thr, 'min_radius') else _thr.root_radius\n    _shank = _bd.Cylinder(radius=_r, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = _shank + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462cae5e_4778", "family": "revolved", "tier": 1, "seed": 1177333342, "symmetry": "none", "op_count": 1, "ir_hash": "3eb246f1c1243f98", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 157000.0, "surface_area": 31900.0, "principal_moments": [43100000.0, 321000000.0, 321000000.0], "n_faces": 4, "n_edges": 6, "n_vertices": 4}, "dimensions": {"lines": ["Revolved body, \u00d841.93 mm \u00d7 151.3 mm tall with \u00d820.9 mm bore."], "text": "Revolved body, \u00d841.93 mm \u00d7 151.3 mm tall with \u00d820.9 mm bore."}, "params": {"outer_d": {"type": "float", "default": 41.93, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 151.3, "min": 45.4, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 20.9, "min": 2.0, "max": 29.4, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333342 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 41.93, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 151.3, \"min\": 45.4, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 20.9, \"min\": 2.0, \"max\": 29.4, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462cae5f_4779", "family": "plate", "tier": 1, "seed": 1177333343, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "691919a1be8a0c19", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 32900.0, "surface_area": 9520.0, "principal_moments": [4250000.0, 16199999.999999998, 19600000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 77.35 \u00d7 38.3 \u00d7 12 mm (W\u00d7D\u00d7H).", "Four \u00d88.4 mm holes at the corners, 54.145 \u00d7 26.81 mm spacing."], "text": "Rectangular body, 77.35 \u00d7 38.3 \u00d7 12 mm (W\u00d7D\u00d7H). Four \u00d88.4 mm holes at the corners, 54.145 \u00d7 26.81 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 77.35, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 38.3, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 8.4, "min": 2.0, "max": 8.6, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333343 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 77.35, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 38.3, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 2.0, \"max\": 8.6, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462cae60_4780", "family": "block", "tier": 1, "seed": 1177333344, "symmetry": "radial", "op_count": 2, "ir_hash": "3cbe684c97ed38ca", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 804000.0, "surface_area": 68200.0, "principal_moments": [1160000000.0, 1190000000.0, 1240000000.0], "n_faces": 14, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 94.01 \u00d7 90.5 \u00d7 97.5 mm (W\u00d7D\u00d7H).", "Eight \u00d86.4 mm holes on a \u00d856.4 mm bolt circle."], "text": "Rectangular body, 94.01 \u00d7 90.5 \u00d7 97.5 mm (W\u00d7D\u00d7H). Eight \u00d86.4 mm holes on a \u00d856.4 mm bolt circle."}, "params": {"block_w": {"type": "float", "default": 94.01, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 90.5, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 97.5, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "bolt_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 28.2, "min": 18.8, "max": 42.3, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 8, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333344 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 94.01, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 90.5, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 97.5, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 28.2, \"min\": 18.8, \"max\": 42.3, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462cae61_4781", "family": "plate", "tier": 3, "seed": 1177333345, "symmetry": "none", "op_count": 4, "ir_hash": "da7ff5516fbe58ad", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 63800.0, "surface_area": 23600.0, "principal_moments": [45899999.99999999, 73400000.0, 119000000.0], "n_faces": 24, "n_edges": 63, "n_vertices": 42}, "dimensions": {"lines": ["Rectangular body, 109.55 \u00d7 87.8 \u00d7 8 mm (W\u00d7D\u00d7H).", "Nine \u00d85.3 mm holes in two staggered rows, 20.5 \u00d7 24.5 mm pitch.", "Fillet radius 4.904 mm on vertical edges.", "Pocket 49.1 \u00d7 58.7 mm, 4.1 mm deep, in top face."], "text": "Rectangular body, 109.55 \u00d7 87.8 \u00d7 8 mm (W\u00d7D\u00d7H). Nine \u00d85.3 mm holes in two staggered rows, 20.5 \u00d7 24.5 mm pitch. Fillet radius 4.904 mm on vertical edges. Pocket 49.1 \u00d7 58.7 mm, 4.1 mm deep, in top face."}, "params": {"plate_w": {"type": "float", "default": 109.55, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 87.8, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 8.8, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 5, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}, "pocket_w": {"type": "float", "default": 49.1, "min": 24.6, "max": 87.6, "step": 1.0, "group": "Pocket", "label": "Pocket width (mm)"}, "pocket_d": {"type": "float", "default": 58.7, "min": 29.4, "max": 70.2, "step": 1.0, "group": "Pocket", "label": "Pocket depth (mm)"}, "pocket_h": {"type": "float", "default": 4.1, "min": 1.6, "max": 6.8, "step": 0.5, "group": "Pocket", "label": "Pocket height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333345 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 109.55, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 87.8, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 8.8, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 5, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n    \"pocket_w\": {\"type\": 'float', \"default\": 49.1, \"min\": 24.6, \"max\": 87.6, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket width (mm)'},\n    \"pocket_d\": {\"type\": 'float', \"default\": 58.7, \"min\": 29.4, \"max\": 70.2, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket depth (mm)'},\n    \"pocket_h\": {\"type\": 'float', \"default\": 4.1, \"min\": 1.6, \"max\": 6.8, \"step\": 0.5, \"group\": 'Pocket', \"label\": 'Pocket height (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 20.5\n    _ssy = 24.5\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"plate_w\"], p[\"plate_d\"]) * 0.05585975011386005)\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"pocket_w\"], p[\"pocket_d\"])\n        .cutBlind(-p[\"pocket_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462cae62_4782", "family": "block", "tier": 1, "seed": 1177333346, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "4a02acd39a4a4d39", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 67400.0, "surface_area": 13800.0, "principal_moments": [14099999.999999998, 28299999.999999996, 36600000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 45 \u00d7 23 \u00d7 67.2 mm (W\u00d7D\u00d7H).", "Four \u00d83.2 mm holes at the corners, 31.5 \u00d7 16.1 mm spacing."], "text": "Rectangular body, 45 \u00d7 23 \u00d7 67.2 mm (W\u00d7D\u00d7H). Four \u00d83.2 mm holes at the corners, 31.5 \u00d7 16.1 mm spacing."}, "params": {"block_w": {"type": "float", "default": 45, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 23.0, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 67.2, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 5.2, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333346 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 45, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 23.0, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 67.2, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 5.2, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462cae63_4783", "family": "tapped", "tier": 1, "seed": 1177333347, "symmetry": "none", "op_count": 1, "ir_hash": "b8e5c00879eb31af", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 141000.0, "surface_area": 26600.0, "principal_moments": [64599999.99999999, 94399999.99999999, 144000000.0], "n_faces": 778, "n_edges": 2224, "n_vertices": 1448}, "dimensions": {"lines": ["Four M16x2 tapped holes in a plate."], "text": "Four M16x2 tapped holes in a plate."}, "params": {"major_d": {"type": "float", "default": 16.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 2.0, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 25.6, "min": 19.2, "max": 46.1, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "plate_w": {"type": "float", "default": 87.61, "min": 52.6, "max": 140.2, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 71.0, "min": 42.6, "max": 113.6, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333347 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 16.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 2.0, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 25.6, \"min\": 19.2, \"max\": 46.1, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"plate_w\": {\"type\": 'float', \"default\": 87.61, \"min\": 52.6, \"max\": 140.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 71.0, \"min\": 42.6, \"max\": 113.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n}\n\n\ndef build(p):\n\n    _W, _D, _H = p[\"plate_w\"], p[\"plate_d\"], p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Box(_W, _D, _H)\n    _nx, _ny = max(1, int(2)), max(1, int(2))\n    _sx, _sy = p[\"plate_w\"] * 0.66, p[\"plate_d\"] * 0.66\n    _locs = [(_sx * (_i - (_nx - 1) / 2), _sy * (_j - (_ny - 1) / 2))\n             for _i in range(_nx) for _j in range(_ny)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462cae65_4785", "family": "swept", "tier": 0, "seed": 1177333349, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "2000cf7f5f7fa817", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 12500.0, "surface_area": 4530.0, "principal_moments": [389000.0, 11100000.0, 11200000.0], "n_faces": 3, "n_edges": 3, "n_vertices": 2}, "dimensions": {"lines": ["\u00d814.7 mm circular section swept along a curved path, ~100 mm span."], "text": "\u00d814.7 mm circular section swept along a curved path, ~100 mm span."}, "params": {"path_w": {"type": "float", "default": 50, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 100, "min": 50.0, "max": 180.0, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_d": {"type": "float", "default": 14.7, "min": 7.3, "max": 26.5, "step": 1.0, "group": "Section", "label": "Section diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333349 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 50, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 100, \"min\": 50.0, \"max\": 180.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_d\": {\"type\": 'float', \"default\": 14.7, \"min\": 7.3, \"max\": 26.5, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.2364, p[\"path_h\"] * 0.3331), (p[\"path_w\"] * 0.0684, p[\"path_h\"] * 0.7074), (p[\"path_w\"] * 0.1876, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').circle(p[\"sweep_d\"] / 2).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462cae66_4786", "family": "revolved", "tier": 0, "seed": 1177333350, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "341f5552890a4eb8", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 224.0, "surface_area": 368.0, "principal_moments": [1210.0, 2490.0, 2490.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d86 mm \u00d7 11.9 mm tall."], "text": "Revolved body, \u00d86 mm \u00d7 11.9 mm tall."}, "params": {"outer_d": {"type": "float", "default": 6.0, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 11.9, "min": 3.6, "max": 35.7, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333350 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 6.0, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 11.9, \"min\": 3.6, \"max\": 35.7, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462cae69_4789", "family": "compound", "tier": 1, "seed": 1177333353, "symmetry": "none", "op_count": 3, "ir_hash": "dbdc921007f7cffd", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 132000.0, "surface_area": 20300.0, "principal_moments": [47299999.99999999, 71900000.0, 72900000.0], "n_faces": 14, "n_edges": 33, "n_vertices": 21}, "dimensions": {"lines": ["Rectangular body, 65 \u00d7 45.3 \u00d7 45.5 mm (W\u00d7D\u00d7H).", "\u00d814.6 mm circular section attachment, 14.7 mm long, from right face with a \u00d88 mm bore.", "\u00d814.6 mm circular section attachment, 14.7 mm long, from front face with a \u00d88 mm bore."], "text": "Rectangular body, 65 \u00d7 45.3 \u00d7 45.5 mm (W\u00d7D\u00d7H). \u00d814.6 mm circular section attachment, 14.7 mm long, from right face with a \u00d88 mm bore. \u00d814.6 mm circular section attachment, 14.7 mm long, from front face with a \u00d88 mm bore."}, "params": {"block_w": {"type": "float", "default": 65, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body width (mm)"}, "block_d": {"type": "float", "default": 45.3, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body depth (mm)"}, "block_h": {"type": "float", "default": 45.5, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body height (mm)"}, "port_d": {"type": "float", "default": 14.6, "min": 5.8, "max": 20.4, "step": 1.0, "group": "Ports", "label": "Ports diameter (mm)"}, "port_len": {"type": "float", "default": 14.7, "min": 3.6, "max": 43.8, "step": 1.0, "group": "Ports", "label": "Port boss length (mm)"}, "port_bore": {"type": "float", "default": 8.0, "min": 2.0, "max": 10.5, "step": 0.5, "group": "Ports", "label": "Port bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333353 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 65, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 45.3, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 45.5, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body height (mm)'},\n    \"port_d\": {\"type\": 'float', \"default\": 14.6, \"min\": 5.8, \"max\": 20.4, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Ports diameter (mm)'},\n    \"port_len\": {\"type\": 'float', \"default\": 14.7, \"min\": 3.6, \"max\": 43.8, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Port boss length (mm)'},\n    \"port_bore\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 10.5, \"step\": 0.5, \"group\": 'Ports', \"label\": 'Port bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462cae6a_4790", "family": "plate", "tier": 0, "seed": 1177333354, "symmetry": "none", "op_count": 1, "ir_hash": "e306f6a0c469919b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 10600.0, "surface_area": 3830.0, "principal_moments": [968000.0, 1570000.0, 2420000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 41.35 \u00d7 32.1 \u00d7 8 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 41.35 \u00d7 32.1 \u00d7 8 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 41.35, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 32.1, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333354 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 41.35, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 32.1, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462cae6b_4791", "family": "flanged", "tier": 1, "seed": 1177333355, "symmetry": "radial", "op_count": 2, "ir_hash": "cc62d0255207d44e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 134000.0, "surface_area": 30500.0, "principal_moments": [93299999.99999999, 93299999.99999999, 140000000.0], "n_faces": 18, "n_edges": 45, "n_vertices": 30}, "dimensions": {"lines": ["Revolved body, \u00d847.6 mm \u00d7 44.8 mm tall with \u00d817.2 mm bore, \u00d8111.2 mm \u00d7 8.2 mm flange.", "Twelve \u00d83.2 mm holes on a \u00d866.8 mm bolt circle."], "text": "Revolved body, \u00d847.6 mm \u00d7 44.8 mm tall with \u00d817.2 mm bore, \u00d8111.2 mm \u00d7 8.2 mm flange. Twelve \u00d83.2 mm holes on a \u00d866.8 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 47.6, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 44.8, "min": 13.4, "max": 112.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 17.2, "min": 2.0, "max": 33.3, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 111.2, "min": 61.9, "max": 142.8, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 8.2, "min": 2.5, "max": 17.9, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 33.4, "min": 22.2, "max": 50.0, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 12, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333355 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 47.6, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 44.8, \"min\": 13.4, \"max\": 112.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 17.2, \"min\": 2.0, \"max\": 33.3, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 111.2, \"min\": 61.9, \"max\": 142.8, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 8.2, \"min\": 2.5, \"max\": 17.9, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 33.4, \"min\": 22.2, \"max\": 50.0, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 12, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462cae6c_4792", "family": "gear", "tier": 0, "seed": 1177333356, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "3d2941e16eab3436", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 570000.0, "surface_area": 69900.0, "principal_moments": [1010000000.0, 1010000000.0, 1950000000.0], "n_faces": 200, "n_edges": 594, "n_vertices": 396}, "dimensions": {"lines": ["Spur gear, module 5 mm, 33 teeth (pitch \u00d8165 mm), face width 26.9 mm."], "text": "Spur gear, module 5 mm, 33 teeth (pitch \u00d8165 mm), face width 26.9 mm."}, "params": {"module": {"type": "float", "default": 5.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 33, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 26.9, "min": 10.8, "max": 67.2, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333356 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 5.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 33, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 26.9, \"min\": 10.8, \"max\": 67.2, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462cae6d_4793", "family": "swept", "tier": 1, "seed": 1177333357, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "6e9c2fd27e2b642b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 2970.0, "surface_area": 1960.0, "principal_moments": [29900.0, 1260000.0, 1270000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["8.1 \u00d7 6.1 mm rectangular section swept along a curved path, ~70 mm span."], "text": "8.1 \u00d7 6.1 mm rectangular section swept along a curved path, ~70 mm span."}, "params": {"path_w": {"type": "float", "default": 70, "min": 35.0, "max": 126.0, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 70, "min": 35.0, "max": 126.0, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_a": {"type": "float", "default": 8.1, "min": 4.0, "max": 14.6, "step": 1.0, "group": "Section", "label": "Section width (mm)"}, "sweep_b": {"type": "float", "default": 6.1, "min": 3.0, "max": 11.0, "step": 1.0, "group": "Section", "label": "Section depth (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333357 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 70, \"min\": 35.0, \"max\": 126.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 70, \"min\": 35.0, \"max\": 126.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_a\": {\"type\": 'float', \"default\": 8.1, \"min\": 4.0, \"max\": 14.6, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section width (mm)'},\n    \"sweep_b\": {\"type\": 'float', \"default\": 6.1, \"min\": 3.0, \"max\": 11.0, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section depth (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.0642, p[\"path_h\"] * 0.3437), (p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.5779), (p[\"path_w\"] * 0.0, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').rect(p[\"sweep_a\"], p[\"sweep_b\"]).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462cae6e_4794", "family": "gear", "tier": 1, "seed": 1177333358, "symmetry": "none", "op_count": 1, "ir_hash": "73484fd8e0f6693e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 4530.0, "surface_area": 3090.0, "principal_moments": [387000.0, 387000.0, 759000.0], "n_faces": 177, "n_edges": 525, "n_vertices": 350}, "dimensions": {"lines": ["Spur gear, module 1.25 mm, 29 teeth (pitch \u00d836.25 mm), face width 4.5 mm, \u00d84.4 mm bore."], "text": "Spur gear, module 1.25 mm, 29 teeth (pitch \u00d836.25 mm), face width 4.5 mm, \u00d84.4 mm bore."}, "params": {"module": {"type": "float", "default": 1.25, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 29, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 4.5, "min": 1.8, "max": 11.2, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "bore_d": {"type": "float", "default": 4.4, "min": 2.0, "max": 19.9, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333358 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 1.25, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 29, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 4.5, \"min\": 1.8, \"max\": 11.2, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 4.4, \"min\": 2.0, \"max\": 19.9, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462cae6f_4795", "family": "gear", "tier": 1, "seed": 1177333359, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "df10bed48da802b6", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 131000.0, "surface_area": 26300.0, "principal_moments": [83000000.0, 83000000.0, 158000000.0], "n_faces": 195, "n_edges": 579, "n_vertices": 386}, "dimensions": {"lines": ["Spur gear, module 3 mm, 32 teeth (pitch \u00d896 mm), face width 19.1 mm, \u00d820.6 mm bore."], "text": "Spur gear, module 3 mm, 32 teeth (pitch \u00d896 mm), face width 19.1 mm, \u00d820.6 mm bore."}, "params": {"module": {"type": "float", "default": 3.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 32, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 19.1, "min": 7.6, "max": 47.8, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "bore_d": {"type": "float", "default": 20.6, "min": 2.0, "max": 53.1, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333359 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 3.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 32, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 19.1, \"min\": 7.6, \"max\": 47.8, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 20.6, \"min\": 2.0, \"max\": 53.1, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462cae70_4796", "family": "compound", "tier": 1, "seed": 1177333360, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "9ce2c6f2561dfda5", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 129000.0, "surface_area": 16100.0, "principal_moments": [51499999.99999999, 56299999.99999999, 57299999.99999999], "n_faces": 10, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["Rectangular body, 51.58 \u00d7 49 \u00d7 49.9 mm (W\u00d7D\u00d7H).", "\u00d812.3 mm circular section attachment, 12.6 mm long, from right face.", "\u00d812.3 mm circular section attachment, 12.6 mm long, from left face."], "text": "Rectangular body, 51.58 \u00d7 49 \u00d7 49.9 mm (W\u00d7D\u00d7H). \u00d812.3 mm circular section attachment, 12.6 mm long, from right face. \u00d812.3 mm circular section attachment, 12.6 mm long, from left face."}, "params": {"block_w": {"type": "float", "default": 51.58, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body width (mm)"}, "block_d": {"type": "float", "default": 49.0, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body depth (mm)"}, "block_h": {"type": "float", "default": 49.9, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body height (mm)"}, "port_d": {"type": "float", "default": 12.3, "min": 4.9, "max": 22.1, "step": 1.0, "group": "Ports", "label": "Ports diameter (mm)"}, "port_len": {"type": "float", "default": 12.6, "min": 3.1, "max": 36.9, "step": 1.0, "group": "Ports", "label": "Port boss length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333360 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 51.58, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 49.0, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 49.9, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body height (mm)'},\n    \"port_d\": {\"type\": 'float', \"default\": 12.3, \"min\": 4.9, \"max\": 22.1, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Ports diameter (mm)'},\n    \"port_len\": {\"type\": 'float', \"default\": 12.6, \"min\": 3.1, \"max\": 36.9, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Port boss length (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462cae71_4797", "family": "gear", "tier": 1, "seed": 1177333361, "symmetry": "none", "op_count": 1, "ir_hash": "2d95f726901970a1", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 112000.0, "surface_area": 24100.0, "principal_moments": [67300000.0, 67300000.0, 130000000.0], "n_faces": 231, "n_edges": 687, "n_vertices": 458}, "dimensions": {"lines": ["Spur gear, module 2.5 mm, 38 teeth (pitch \u00d895 mm), face width 16.3 mm, \u00d814.8 mm bore."], "text": "Spur gear, module 2.5 mm, 38 teeth (pitch \u00d895 mm), face width 16.3 mm, \u00d814.8 mm bore."}, "params": {"module": {"type": "float", "default": 2.5, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 38, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 16.3, "min": 6.5, "max": 40.8, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "bore_d": {"type": "float", "default": 14.8, "min": 2.0, "max": 53.2, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333361 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 2.5, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 38, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 16.3, \"min\": 6.5, \"max\": 40.8, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 14.8, \"min\": 2.0, \"max\": 53.2, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462cae72_4798", "family": "swept", "tier": 2, "seed": 1177333362, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "f1a83c1697f38e24", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 4170.0, "surface_area": 2000.0, "principal_moments": [50800.0, 1520000.0, 1530000.0], "n_faces": 3, "n_edges": 3, "n_vertices": 2}, "dimensions": {"lines": ["\u00d89.1 mm circular section swept along a curved path, ~65 mm span."], "text": "\u00d89.1 mm circular section swept along a curved path, ~65 mm span."}, "params": {"path_w": {"type": "float", "default": 65, "min": 32.5, "max": 117.0, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 51.02, "min": 25.5, "max": 91.8, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_d": {"type": "float", "default": 9.1, "min": 4.5, "max": 16.4, "step": 1.0, "group": "Section", "label": "Section diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333362 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 65, \"min\": 32.5, \"max\": 117.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 51.02, \"min\": 25.5, \"max\": 91.8, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_d\": {\"type\": 'float', \"default\": 9.1, \"min\": 4.5, \"max\": 16.4, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.2006, p[\"path_h\"] * 0.3451), (p[\"path_w\"] * 0.3613, p[\"path_h\"] * 0.4946), (p[\"path_w\"] * 0.6049, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').circle(p[\"sweep_d\"] / 2).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462cae73_4799", "family": "plate", "tier": 2, "seed": 1177333363, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "9fc0dd3cb86ab80d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 11100.0, "surface_area": 5310.0, "principal_moments": [653000.0, 5020000.0, 5610000.0], "n_faces": 14, "n_edges": 44, "n_vertices": 28}, "dimensions": {"lines": ["Rectangular body, 75 \u00d7 26.5 \u00d7 6 mm (W\u00d7D\u00d7H).", "Four \u00d85.3 mm countersunk holes (82\u00b0) at the corners, 52.5 \u00d7 18.55 mm spacing."], "text": "Rectangular body, 75 \u00d7 26.5 \u00d7 6 mm (W\u00d7D\u00d7H). Four \u00d85.3 mm countersunk holes (82\u00b0) at the corners, 52.5 \u00d7 18.55 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 75, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 26.5, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 6.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 6.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "cs_angle": {"type": "float", "default": 82.0, "min": 60.0, "max": 120.0, "step": 15.0, "group": "Holes", "label": "Countersink angle (\u00b0)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333363 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 75, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 26.5, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 6.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"cs_angle\": {\"type\": 'float', \"default\": 82.0, \"min\": 60.0, \"max\": 120.0, \"step\": 15.0, \"group\": 'Holes', \"label\": 'Countersink angle (\u00b0)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().cskHole(p[\"hole_d\"], p[\"hole_d\"] * 2, p[\"cs_angle\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462cae75_4801", "family": "plate", "tier": 1, "seed": 1177333365, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "50b8a38fc3511e44", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 8040.0, "surface_area": 3330.0, "principal_moments": [374000.0, 883000.0, 1060000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 35 \u00d7 20.8 \u00d7 12 mm (W\u00d7D\u00d7H).", "Four \u00d84.3 mm holes at the corners, 24.5 \u00d7 14.56 mm spacing."], "text": "Rectangular body, 35 \u00d7 20.8 \u00d7 12 mm (W\u00d7D\u00d7H). Four \u00d84.3 mm holes at the corners, 24.5 \u00d7 14.56 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 35, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 20.8, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 4.7, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333365 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 35, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 20.8, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 4.7, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462cae76_4802", "family": "plate", "tier": 1, "seed": 1177333366, "symmetry": "radial", "op_count": 2, "ir_hash": "b0d2cb19c495b6c3", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 9070.0, "surface_area": 4190.0, "principal_moments": [395000.0, 2800000.0, 3100000.0], "n_faces": 16, "n_edges": 42, "n_vertices": 28}, "dimensions": {"lines": ["Rectangular body, 60 \u00d7 21.8 \u00d7 8 mm (W\u00d7D\u00d7H).", "Twelve \u00d86.4 mm holes on a \u00d836 mm bolt circle."], "text": "Rectangular body, 60 \u00d7 21.8 \u00d7 8 mm (W\u00d7D\u00d7H). Twelve \u00d86.4 mm holes on a \u00d836 mm bolt circle."}, "params": {"plate_w": {"type": "float", "default": 60, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 21.8, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "bolt_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 18.0, "min": 12.0, "max": 27.0, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 12, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333366 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 60, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 21.8, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 18.0, \"min\": 12.0, \"max\": 27.0, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 12, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462cae78_4804", "family": "profiled", "tier": 0, "seed": 1177333368, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "534a9da07a38b965", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 408000.0, "surface_area": 43500.0, "principal_moments": [94299999.99999999, 2960000000.0, 2990000000.0], "n_faces": 8, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["freeform sketched section (6 segments: 2 straight, 3 arcs, 1 curve), ~39.782 \u00d7 44.744 mm, extruded 293.3 mm thick."], "text": "freeform sketched section (6 segments: 2 straight, 3 arcs, 1 curve), ~39.782 \u00d7 44.744 mm, extruded 293.3 mm thick."}, "params": {"sk_w": {"type": "float", "default": 55.85, "min": 27.9, "max": 100.5, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 52.4, "min": 26.2, "max": 94.3, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "length": {"type": "float", "default": 293.3, "min": 88.0, "max": 879.9, "step": 5.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333368 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 55.85, \"min\": 27.9, \"max\": 100.5, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 52.4, \"min\": 26.2, \"max\": 94.3, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 293.3, \"min\": 88.0, \"max\": 879.9, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.3268, p[\"sk_h\"] * -0.011).lineTo(p[\"sk_w\"] * 0.1845, p[\"sk_h\"] * 0.401).bezier([(p[\"sk_w\"] * 0.1845, p[\"sk_h\"] * 0.401), (p[\"sk_w\"] * -0.0304, p[\"sk_h\"] * 0.4305), (p[\"sk_w\"] * -0.2417, p[\"sk_h\"] * 0.3811)]).lineTo(p[\"sk_w\"] * -0.3855, p[\"sk_h\"] * -0.0989).threePointArc((p[\"sk_w\"] * -0.3416, p[\"sk_h\"] * -0.1655), (p[\"sk_w\"] * -0.2626, p[\"sk_h\"] * -0.2132)).threePointArc((p[\"sk_w\"] * -0.0403, p[\"sk_h\"] * -0.422), (p[\"sk_w\"] * 0.1854, p[\"sk_h\"] * -0.4529)).threePointArc((p[\"sk_w\"] * 0.3191, p[\"sk_h\"] * -0.2829), (p[\"sk_w\"] * 0.3268, p[\"sk_h\"] * -0.011)).close().extrude(p[\"length\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462cae7a_4806", "family": "plate", "tier": 1, "seed": 1177333370, "symmetry": "radial", "op_count": 2, "ir_hash": "5d5ce1bee5ee60e7", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 4330.0, "surface_area": 3100.0, "principal_moments": [261000.0, 941000.0, 1190000.0], "n_faces": 16, "n_edges": 42, "n_vertices": 28}, "dimensions": {"lines": ["Rectangular body, 48.94 \u00d7 27.3 \u00d7 4 mm (W\u00d7D\u00d7H).", "Six \u00d88.4 mm holes on a \u00d829.4 mm bolt circle."], "text": "Rectangular body, 48.94 \u00d7 27.3 \u00d7 4 mm (W\u00d7D\u00d7H). Six \u00d88.4 mm holes on a \u00d829.4 mm bolt circle."}, "params": {"plate_w": {"type": "float", "default": 48.94, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 27.3, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 4.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "bolt_d": {"type": "float", "default": 8.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 14.7, "min": 9.8, "max": 22.0, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 6, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333370 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 48.94, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 27.3, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 4.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 14.7, \"min\": 9.8, \"max\": 22.0, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462cae7b_4807", "family": "tapped", "tier": 1, "seed": 1177333371, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "8abc0d4af5cc90db", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 5700.0, "surface_area": 2600.0, "principal_moments": [326000.0, 366000.0, 366000.0], "n_faces": 135, "n_edges": 365, "n_vertices": 232}, "dimensions": {"lines": ["One M8x1.25 tapped hole in a cylinder."], "text": "One M8x1.25 tapped hole in a cylinder."}, "params": {"major_d": {"type": "float", "default": 8.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 1.25, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 20.7, "min": 9.6, "max": 37.3, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "body_d": {"type": "float", "default": 20.1, "min": 14.4, "max": 32.2, "step": 1.0, "group": "Body", "label": "Outer \u00d8 (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333371 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.25, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 20.7, \"min\": 9.6, \"max\": 37.3, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"body_d\": {\"type\": 'float', \"default\": 20.1, \"min\": 14.4, \"max\": 32.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer \u00d8 (mm)'},\n}\n\n\ndef build(p):\n\n    _W = _D = p[\"body_d\"]\n    _H = p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Cylinder(radius=_W / 2, height=_H)\n    _locs = [(0.0, 0.0)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462cae7c_4808", "family": "sketched", "tier": 1, "seed": 1177333372, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "57b5ee60feade2dc", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 13000.0, "surface_area": 4200.0, "principal_moments": [1160000.0, 2170000.0, 3110000.0], "n_faces": 7, "n_edges": 15, "n_vertices": 10}, "dimensions": {"lines": ["freeform sketched section (4 segments: 2 straight, 2 curves), ~54.368 \u00d7 41.189 mm, extruded 10 mm thick.", "One \u00d84.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "freeform sketched section (4 segments: 2 straight, 2 curves), ~54.368 \u00d7 41.189 mm, extruded 10 mm thick. One \u00d84.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"sk_w": {"type": "float", "default": 80, "min": 40.0, "max": 144.0, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 55.85, "min": 27.9, "max": 100.5, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "sk_t": {"type": "float", "default": 10, "min": 4.0, "max": 22.0, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "sk_hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 8.6, "step": 0.5, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333372 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 80, \"min\": 40.0, \"max\": 144.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 55.85, \"min\": 27.9, \"max\": 100.5, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"sk_t\": {\"type\": 'float', \"default\": 10, \"min\": 4.0, \"max\": 22.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"sk_hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 8.6, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.3471, p[\"sk_h\"] * 0.1977).bezier([(p[\"sk_w\"] * 0.3471, p[\"sk_h\"] * 0.1977), (p[\"sk_w\"] * 0.2701, p[\"sk_h\"] * 0.2844), (p[\"sk_w\"] * 0.176, p[\"sk_h\"] * 0.3519)]).lineTo(p[\"sk_w\"] * -0.3325, p[\"sk_h\"] * 0.199).lineTo(p[\"sk_w\"] * -0.1224, p[\"sk_h\"] * -0.3856).spline([(p[\"sk_w\"] * -0.1224, p[\"sk_h\"] * -0.3856), (p[\"sk_w\"] * 0.1788, p[\"sk_h\"] * -0.1474), (p[\"sk_w\"] * 0.3471, p[\"sk_h\"] * 0.1977)]).close().extrude(p[\"sk_t\"]))\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"sk_hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462cae7d_4809", "family": "revolved", "tier": 0, "seed": 1177333373, "symmetry": "none", "op_count": 1, "ir_hash": "9d4ccafddbdcb6f4", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 224000.0, "surface_area": 36000.0, "principal_moments": [128000000.0, 230000000.0, 230000000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d861.81 mm \u00d7 111.8 mm tall."], "text": "Revolved body, \u00d861.81 mm \u00d7 111.8 mm tall."}, "params": {"outer_d": {"type": "float", "default": 61.81, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 111.8, "min": 33.5, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333373 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 61.81, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 111.8, \"min\": 33.5, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462cae7e_4810", "family": "compound", "tier": 1, "seed": 1177333374, "symmetry": "none", "op_count": 3, "ir_hash": "df21ec80fe74d82b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 19900.0, "surface_area": 9490.0, "principal_moments": [5780000.0, 5960000.0, 6500000.0], "n_faces": 13, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Rectangular body, 45 \u00d7 49.5 \u00d7 8 mm (W\u00d7D\u00d7H).", "\u00d813.1 mm circular section attachment, 46.7 mm long, from top face with a \u00d87.5 mm bore.", "Four \u00d88.4 mm holes at the corners, 31.5 \u00d7 34.65 mm spacing."], "text": "Rectangular body, 45 \u00d7 49.5 \u00d7 8 mm (W\u00d7D\u00d7H). \u00d813.1 mm circular section attachment, 46.7 mm long, from top face with a \u00d87.5 mm bore. Four \u00d88.4 mm holes at the corners, 31.5 \u00d7 34.65 mm spacing."}, "params": {"base_w": {"type": "float", "default": 45, "min": 30.0, "max": 160.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 49.5, "min": 25.0, "max": 160.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_h": {"type": "float", "default": 8.0, "min": 3.0, "max": 30.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "col_d": {"type": "float", "default": 13.1, "min": 5.2, "max": 22.5, "step": 1.0, "group": "Column", "label": "Column diameter (mm)"}, "col_h": {"type": "float", "default": 46.7, "min": 14.0, "max": 140.1, "step": 1.0, "group": "Column", "label": "Column height (mm)"}, "col_bore": {"type": "float", "default": 7.5, "min": 2.0, "max": 9.4, "step": 0.5, "group": "Column", "label": "Column bore diameter (mm)"}, "hole_d": {"type": "float", "default": 8.4, "min": 2.0, "max": 10.1, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333374 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 45, \"min\": 30.0, \"max\": 160.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 49.5, \"min\": 25.0, \"max\": 160.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_h\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 30.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"col_d\": {\"type\": 'float', \"default\": 13.1, \"min\": 5.2, \"max\": 22.5, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column diameter (mm)'},\n    \"col_h\": {\"type\": 'float', \"default\": 46.7, \"min\": 14.0, \"max\": 140.1, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column height (mm)'},\n    \"col_bore\": {\"type\": 'float', \"default\": 7.5, \"min\": 2.0, \"max\": 9.4, \"step\": 0.5, \"group\": 'Column', \"label\": 'Column bore diameter (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 2.0, \"max\": 10.1, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_h\"])\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"col_d\"] / 2).extrude(p[\"col_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"col_bore\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"base_w\"] * 0.7, p[\"base_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462cae7f_4811", "family": "plate", "tier": 1, "seed": 1177333375, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "1d639c884d6ac6ca", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 3480.0, "surface_area": 2000.0, "principal_moments": [180000.0, 187000.0, 346000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 25 \u00d7 24.5 \u00d7 6 mm (W\u00d7D\u00d7H).", "Four \u00d83.2 mm holes at the corners, 17.5 \u00d7 17.15 mm spacing."], "text": "Rectangular body, 25 \u00d7 24.5 \u00d7 6 mm (W\u00d7D\u00d7H). Four \u00d83.2 mm holes at the corners, 17.5 \u00d7 17.15 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 25, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 24.5, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 6.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 5.5, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333375 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 25, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 24.5, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 5.5, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462cae80_4812", "family": "block", "tier": 2, "seed": 1177333376, "symmetry": "radial", "op_count": 3, "ir_hash": "a57848b6ac5513f1", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 171000.0, "surface_area": 29700.0, "principal_moments": [89300000.0, 94099999.99999999, 105000000.0], "n_faces": 17, "n_edges": 42, "n_vertices": 28}, "dimensions": {"lines": ["Rectangular body, 60.85 \u00d7 51.8 \u00d7 59.2 mm (W\u00d7D\u00d7H).", "Eight \u00d86.4 mm holes on a \u00d836.6 mm bolt circle.", "Boss \u00d89.1 mm \u00d7 6.4 mm tall on top face with a \u00d84.3 mm bore."], "text": "Rectangular body, 60.85 \u00d7 51.8 \u00d7 59.2 mm (W\u00d7D\u00d7H). Eight \u00d86.4 mm holes on a \u00d836.6 mm bolt circle. Boss \u00d89.1 mm \u00d7 6.4 mm tall on top face with a \u00d84.3 mm bore."}, "params": {"block_w": {"type": "float", "default": 60.85, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 51.8, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 59.2, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "bolt_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 18.3, "min": 12.2, "max": 27.4, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 8, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}, "boss_d": {"type": "float", "default": 9.1, "min": 4.5, "max": 18.2, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 6.4, "min": 2.6, "max": 16.0, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}, "boss_bore_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 6.4, "step": 0.1, "group": "Boss", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333376 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 60.85, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 51.8, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 59.2, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 18.3, \"min\": 12.2, \"max\": 27.4, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n    \"boss_d\": {\"type\": 'float', \"default\": 9.1, \"min\": 4.5, \"max\": 18.2, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.6, \"max\": 16.0, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n    \"boss_bore_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 6.4, \"step\": 0.1, \"group\": 'Boss', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .hole(p[\"boss_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462cae81_4813", "family": "bracket", "tier": 2, "seed": 1177333377, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "bf8443e45d1039fc", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 35900.0, "surface_area": 25600.0, "principal_moments": [31699999.999999996, 42000000.0, 57399999.99999999], "n_faces": 19, "n_edges": 51, "n_vertices": 34}, "dimensions": {"lines": ["C-channel bracket: base leg 72.04 mm, vertical leg 78.6 mm, 52.63 mm wide, 3 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg; 3.4 mm corner gusset."], "text": "C-channel bracket: base leg 72.04 mm, vertical leg 78.6 mm, 52.63 mm wide, 3 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg; 3.4 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 72.04, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 78.6, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 52.63, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 3.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 3.4, "min": 1.5, "max": 9.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333377 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 72.04, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 78.6, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 52.63, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 3.4, \"min\": 1.5, \"max\": 9.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl / 2, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bl - _bt, _bt).lineTo(_bl - _bt - _g, _bt)\n                    .lineTo(_bl - _bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462cae82_4814", "family": "lofted", "tier": 1, "seed": 1177333378, "symmetry": "none", "op_count": 2, "ir_hash": "acabe91ca79e2a52", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 17600.0, "surface_area": 5300.0, "principal_moments": [1720000.0, 2960000.0, 2970000.0], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["Lofted body through 2 sections: 6-sided polygon section, 35 mm across corners \u2192 15.5 \u00d7 15.5 mm rectangular section.", "One \u00d88.4 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 2 sections: 6-sided polygon section, 35 mm across corners \u2192 15.5 \u00d7 15.5 mm rectangular section. One \u00d88.4 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 35, "min": 17.5, "max": 56.0, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 15.5, "min": 6.2, "max": 42.0, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 40.2, "min": 16.1, "max": 80.4, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_bore_d": {"type": "float", "default": 8.4, "min": 2.0, "max": 12.4, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333378 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 35, \"min\": 17.5, \"max\": 56.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 15.5, \"min\": 6.2, \"max\": 42.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 40.2, \"min\": 16.1, \"max\": 80.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 2.0, \"max\": 12.4, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .polygon(6, p[\"loft_base\"] * 0.5 * 2)\n        .workplane(offset=p[\"loft_h\"])\n        .rect(p[\"loft_top\"], p[\"loft_top\"])\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462cae83_4815", "family": "profiled", "tier": 1, "seed": 1177333379, "symmetry": "none", "op_count": 1, "ir_hash": "db128e581b2e30d6", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 132000.0, "surface_area": 20500.0, "principal_moments": [17300000.0, 326000000.0, 326000000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["4-sided polygon section, 39.54 mm across corners, extruded 169.5 mm thick."], "text": "4-sided polygon section, 39.54 mm across corners, extruded 169.5 mm thick."}, "params": {"circ_r": {"type": "float", "default": 19.77, "min": 9.9, "max": 39.5, "step": 1.0, "group": "Profile", "label": "Circumscribed radius (mm)"}, "n_sides": {"type": "int", "default": 4, "min": 3, "max": 8, "step": 1, "group": "Profile", "label": "Sides"}, "length": {"type": "float", "default": 169.5, "min": 50.9, "max": 508.5, "step": 5.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333379 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"circ_r\": {\"type\": 'float', \"default\": 19.77, \"min\": 9.9, \"max\": 39.5, \"step\": 1.0, \"group\": 'Profile', \"label\": 'Circumscribed radius (mm)'},\n    \"n_sides\": {\"type\": 'int', \"default\": 4, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Profile', \"label\": 'Sides'},\n    \"length\": {\"type\": 'float', \"default\": 169.5, \"min\": 50.9, \"max\": 508.5, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').polygon(p[\"n_sides\"], p[\"circ_r\"] * 2).extrude(p[\"length\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462cae84_4816", "family": "plate", "tier": 3, "seed": 1177333380, "symmetry": "none", "op_count": 4, "ir_hash": "cf1f98737a5cb28b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 6860.0, "surface_area": 3380.0, "principal_moments": [451000.0, 627000.0, 980000.0], "n_faces": 19, "n_edges": 48, "n_vertices": 32}, "dimensions": {"lines": ["Rectangular body, 35 \u00d7 28.4 \u00d7 6 mm (W\u00d7D\u00d7H).", "Six \u00d83.2 mm holes in a 2\u00d73 grid, 28 \u00d7 11.4 mm pitch.", "Fillet radius 0.638 mm on vertical edges.", "Boss \u00d818.4 mm \u00d7 4.8 mm tall on top face with a \u00d83.2 mm bore."], "text": "Rectangular body, 35 \u00d7 28.4 \u00d7 6 mm (W\u00d7D\u00d7H). Six \u00d83.2 mm holes in a 2\u00d73 grid, 28 \u00d7 11.4 mm pitch. Fillet radius 0.638 mm on vertical edges. Boss \u00d818.4 mm \u00d7 4.8 mm tall on top face with a \u00d83.2 mm bore."}, "params": {"plate_w": {"type": "float", "default": 35, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 28.4, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 6.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 3.4, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 2, "min": 1, "max": 4, "step": 1, "group": "Holes", "label": "Holes across"}, "hole_ny": {"type": "int", "default": 3, "min": 1, "max": 4, "step": 1, "group": "Holes", "label": "Holes deep"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}, "boss_d": {"type": "float", "default": 18.4, "min": 9.2, "max": 36.8, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 4.8, "min": 1.9, "max": 12.0, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}, "boss_bore_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 12.9, "step": 0.1, "group": "Boss", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333380 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 35, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 28.4, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 3.4, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 2, \"min\": 1, \"max\": 4, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes across'},\n    \"hole_ny\": {\"type\": 'int', \"default\": 3, \"min\": 1, \"max\": 4, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes deep'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n    \"boss_d\": {\"type\": 'float', \"default\": 18.4, \"min\": 9.2, \"max\": 36.8, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 4.8, \"min\": 1.9, \"max\": 12.0, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n    \"boss_bore_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 12.9, \"step\": 0.1, \"group\": 'Boss', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(28.0, 11.4, p[\"hole_nx\"], p[\"hole_ny\"])\n        .hole(p[\"hole_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"plate_w\"], p[\"plate_d\"]) * 0.022457268229021825)\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .hole(p[\"boss_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462cae85_4817", "family": "plate", "tier": 1, "seed": 1177333381, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "3413386999e97e2c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 4730.0, "surface_area": 2540.0, "principal_moments": [176000.0, 632000.0, 780000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 40 \u00d7 20.5 \u00d7 6 mm (W\u00d7D\u00d7H).", "Four \u00d83.2 mm holes at the corners, 28 \u00d7 14.35 mm spacing."], "text": "Rectangular body, 40 \u00d7 20.5 \u00d7 6 mm (W\u00d7D\u00d7H). Four \u00d83.2 mm holes at the corners, 28 \u00d7 14.35 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 40, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 20.5, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 6.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 4.6, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333381 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 40, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 20.5, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 4.6, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462cae86_4818", "family": "revolved", "tier": 2, "seed": 1177333382, "symmetry": "radial", "op_count": 2, "ir_hash": "b449eee8644c7b13", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 664000.0, "surface_area": 79800.0, "principal_moments": [637000000.0, 1870000000.0, 1870000000.0], "n_faces": 5, "n_edges": 8, "n_vertices": 5}, "dimensions": {"lines": ["Revolved body, \u00d880 mm \u00d7 198.2 mm tall.", "Chamfer 0.7 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d880 mm \u00d7 198.2 mm tall. Chamfer 0.7 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 80.0, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 198.2, "min": 59.5, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "end_chamfer": {"type": "float", "default": 0.7, "min": 0.1, "max": 2.1, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333382 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 80.0, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 198.2, \"min\": 59.5, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.7, \"min\": 0.1, \"max\": 2.1, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462cae87_4819", "family": "compound", "tier": 2, "seed": 1177333383, "symmetry": "none", "op_count": 3, "ir_hash": "58b0c7ecda01870a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 31400.0, "surface_area": 7880.0, "principal_moments": [4990000.0, 5810000.0, 7030000.0], "n_faces": 9, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["Rectangular body, 33.74 \u00d7 34.5 \u00d7 26.8 mm (W\u00d7D\u00d7H).", "\u00d811.5 mm circular section attachment, 21.4 mm long, from right face with a \u00d86.9 mm bore.", "Four \u00d85.3 mm holes at the corners, 23.618 \u00d7 24.15 mm spacing."], "text": "Rectangular body, 33.74 \u00d7 34.5 \u00d7 26.8 mm (W\u00d7D\u00d7H). \u00d811.5 mm circular section attachment, 21.4 mm long, from right face with a \u00d86.9 mm bore. Four \u00d85.3 mm holes at the corners, 23.618 \u00d7 24.15 mm spacing."}, "params": {"block_w": {"type": "float", "default": 33.74, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 34.5, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 26.8, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "spig_d": {"type": "float", "default": 11.5, "min": 4.6, "max": 18.8, "step": 1.0, "group": "Spigot", "label": "Spigot diameter (mm)"}, "spig_len": {"type": "float", "default": 21.4, "min": 3.4, "max": 46.0, "step": 1.0, "group": "Spigot", "label": "Spigot length (mm)"}, "spig_bore": {"type": "float", "default": 6.9, "min": 2.0, "max": 8.3, "step": 0.5, "group": "Spigot", "label": "Bore diameter (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 7.6, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333383 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 33.74, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 34.5, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 26.8, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"spig_d\": {\"type\": 'float', \"default\": 11.5, \"min\": 4.6, \"max\": 18.8, \"step\": 1.0, \"group\": 'Spigot', \"label\": 'Spigot diameter (mm)'},\n    \"spig_len\": {\"type\": 'float', \"default\": 21.4, \"min\": 3.4, \"max\": 46.0, \"step\": 1.0, \"group\": 'Spigot', \"label\": 'Spigot length (mm)'},\n    \"spig_bore\": {\"type\": 'float', \"default\": 6.9, \"min\": 2.0, \"max\": 8.3, \"step\": 0.5, \"group\": 'Spigot', \"label\": 'Bore diameter (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 7.6, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"spig_d\"] / 2).extrude(p[\"spig_len\"])\n    )\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"spig_bore\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462cae88_4820", "family": "bracket", "tier": 1, "seed": 1177333384, "symmetry": "none", "op_count": 1, "ir_hash": "0719011efd0fcf34", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 21100.0, "surface_area": 15300.0, "principal_moments": [9160000.0, 17000000.0, 19400000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["L-bracket: base leg 60 mm, vertical leg 66.9 mm, 57.22 mm wide, 3 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."], "text": "L-bracket: base leg 60 mm, vertical leg 66.9 mm, 57.22 mm wide, 3 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 60, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 66.9, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 57.22, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 3.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333384 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 60, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 66.9, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 57.22, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462cae89_4821", "family": "revolved", "tier": 2, "seed": 1177333385, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "6502b830ba5f097f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 548.0, "surface_area": 761.0, "principal_moments": [3500.0, 21500.0, 21500.0], "n_faces": 9, "n_edges": 14, "n_vertices": 9}, "dimensions": {"lines": ["Revolved body, \u00d86.58 mm \u00d7 25.3 mm tall with 1.45 mm-wide groove 0.27 mm deep.", "Chamfer 1.3 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d86.58 mm \u00d7 25.3 mm tall with 1.45 mm-wide groove 0.27 mm deep. Chamfer 1.3 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 6.58, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 25.3, "min": 7.6, "max": 75.9, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "groove_depth": {"type": "float", "default": 0.27, "min": 0.11, "max": 0.81, "step": 0.1, "group": "Body", "label": "Groove depth (mm)"}, "groove_w": {"type": "float", "default": 1.45, "min": 0.58, "max": 4.35, "step": 0.2, "group": "Body", "label": "Groove width (mm)"}, "groove_pos": {"type": "float", "default": 16.2, "min": 3.8, "max": 21.5, "step": 1.0, "group": "Body", "label": "Groove position (mm)"}, "end_chamfer": {"type": "float", "default": 1.3, "min": 0.1, "max": 3.9, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333385 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 6.58, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 25.3, \"min\": 7.6, \"max\": 75.9, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"groove_depth\": {\"type\": 'float', \"default\": 0.27, \"min\": 0.11, \"max\": 0.81, \"step\": 0.1, \"group\": 'Body', \"label\": 'Groove depth (mm)'},\n    \"groove_w\": {\"type\": 'float', \"default\": 1.45, \"min\": 0.58, \"max\": 4.35, \"step\": 0.2, \"group\": 'Body', \"label\": 'Groove width (mm)'},\n    \"groove_pos\": {\"type\": 'float', \"default\": 16.2, \"min\": 3.8, \"max\": 21.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Groove position (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 1.3, \"min\": 0.1, \"max\": 3.9, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"groove_pos\"] - p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2 - p[\"groove_depth\"], p[\"groove_pos\"] - p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2 - p[\"groove_depth\"], p[\"groove_pos\"] + p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2, p[\"groove_pos\"] + p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462cae8b_4823", "family": "bracket", "tier": 1, "seed": 1177333387, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "7aaf920594ac0cfe", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 38200.0, "surface_area": 15000.0, "principal_moments": [13999999.999999998, 33199999.999999996, 35100000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["L-bracket: base leg 75 mm, vertical leg 58.5 mm, 50 mm wide, 6 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."], "text": "L-bracket: base leg 75 mm, vertical leg 58.5 mm, 50 mm wide, 6 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 75, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 58.5, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 50, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 6.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333387 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 75, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 58.5, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 50, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462cae8c_4824", "family": "ribbed", "tier": 2, "seed": 1177333388, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "422554da48e7033f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 48000.0, "surface_area": 16300.0, "principal_moments": [11300000.0, 30399999.999999996, 39600000.0], "n_faces": 46, "n_edges": 128, "n_vertices": 80}, "dimensions": {"lines": ["Rectangular body, 85.24 \u00d7 44.4 \u00d7 10 mm (W\u00d7D\u00d7H).", "Four ribs, 4.8 mm thick, 8.2 mm tall.", "Four \u00d84.3 mm holes at the corners, 59.668 \u00d7 31.08 mm spacing."], "text": "Rectangular body, 85.24 \u00d7 44.4 \u00d7 10 mm (W\u00d7D\u00d7H). Four ribs, 4.8 mm thick, 8.2 mm tall. Four \u00d84.3 mm holes at the corners, 59.668 \u00d7 31.08 mm spacing."}, "params": {"base_w": {"type": "float", "default": 85.24, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 44.4, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 10.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 4, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 8.2, "min": 3.3, "max": 16.4, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 4.8, "min": 1.0, "max": 12.0, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333388 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 85.24, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 44.4, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 4, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 8.2, \"min\": 3.3, \"max\": 16.4, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 4.8, \"min\": 1.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"base_w\"] * 0.7, p[\"base_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462cae8d_4825", "family": "lofted", "tier": 2, "seed": 1177333389, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "85ef4a8824de9cd6", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 63900.0, "surface_area": 11200.0, "principal_moments": [18200000.0, 19200000.0, 19200000.0], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["Lofted body through 3 sections: 50 \u00d7 50 mm rectangular section \u2192 36.2 \u00d7 36.2 mm rectangular section \u2192 6-sided polygon section, 22.5 mm across corners.", "One \u00d87.9 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 3 sections: 50 \u00d7 50 mm rectangular section \u2192 36.2 \u00d7 36.2 mm rectangular section \u2192 6-sided polygon section, 22.5 mm across corners. One \u00d87.9 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 50, "min": 25.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 22.5, "min": 9.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 49.3, "min": 19.7, "max": 98.6, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_mid": {"type": "float", "default": 36.2, "min": 11.2, "max": 60.0, "step": 1.0, "group": "Body", "label": "Mid size (mm)"}, "loft_bore_d": {"type": "float", "default": 7.9, "min": 2.0, "max": 18.0, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333389 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 50, \"min\": 25.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 22.5, \"min\": 9.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 49.3, \"min\": 19.7, \"max\": 98.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_mid\": {\"type\": 'float', \"default\": 36.2, \"min\": 11.2, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Mid size (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 7.9, \"min\": 2.0, \"max\": 18.0, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .rect(p[\"loft_base\"], p[\"loft_base\"])\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .rect(p[\"loft_mid\"], p[\"loft_mid\"])\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .polygon(6, p[\"loft_top\"] * 0.5 * 2)\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462cae8e_4826", "family": "profiled", "tier": 1, "seed": 1177333390, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "7ed2b0818adda58e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 89000.0, "surface_area": 15900.0, "principal_moments": [7600000.0, 251000000.0, 254000000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["30 \u00d7 18.71 mm slot section, extruded 183.1 mm thick."], "text": "30 \u00d7 18.71 mm slot section, extruded 183.1 mm thick."}, "params": {"slot_len": {"type": "float", "default": 30, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Profile", "label": "Slot length (mm)"}, "slot_w": {"type": "float", "default": 18.71, "min": 9.4, "max": 37.4, "step": 0.5, "group": "Profile", "label": "Slot width (mm)"}, "length": {"type": "float", "default": 183.1, "min": 54.9, "max": 549.3, "step": 5.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333390 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"slot_len\": {\"type\": 'float', \"default\": 30, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Profile', \"label\": 'Slot length (mm)'},\n    \"slot_w\": {\"type\": 'float', \"default\": 18.71, \"min\": 9.4, \"max\": 37.4, \"step\": 0.5, \"group\": 'Profile', \"label\": 'Slot width (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 183.1, \"min\": 54.9, \"max\": 549.3, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').slot2D(p[\"slot_len\"], p[\"slot_w\"]).extrude(p[\"length\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462cae8f_4827", "family": "compound", "tier": 2, "seed": 1177333391, "symmetry": "none", "op_count": 3, "ir_hash": "99323e49be37b553", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 26500.0, "surface_area": 7110.0, "principal_moments": [3710000.0, 4480000.0, 6720000.0], "n_faces": 18, "n_edges": 45, "n_vertices": 30}, "dimensions": {"lines": ["Rectangular body, 36.5 \u00d7 18.3 \u00d7 41 mm (W\u00d7D\u00d7H).", "8-sided polygon section, 6 mm across corners attachment, 5 mm long, from left face with a \u00d83.2 mm bore.", "Four \u00d83.2 mm holes at the corners, 25.55 \u00d7 12.81 mm spacing."], "text": "Rectangular body, 36.5 \u00d7 18.3 \u00d7 41 mm (W\u00d7D\u00d7H). 8-sided polygon section, 6 mm across corners attachment, 5 mm long, from left face with a \u00d83.2 mm bore. Four \u00d83.2 mm holes at the corners, 25.55 \u00d7 12.81 mm spacing."}, "params": {"block_w": {"type": "float", "default": 36.5, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 18.3, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 41.0, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "spig_sides": {"type": "int", "default": 8, "min": 3, "max": 8, "step": 1, "group": "Spigot", "label": "Spigot sides"}, "spig_r": {"type": "float", "default": 3.0, "min": 1.5, "max": 6.4, "step": 1.0, "group": "Spigot", "label": "Spigot circumradius (mm)"}, "spig_len": {"type": "float", "default": 5.0, "min": 1.7, "max": 22.2, "step": 1.0, "group": "Spigot", "label": "Spigot length (mm)"}, "spig_bore": {"type": "float", "default": 3.2, "min": 2.0, "max": 4.0, "step": 0.5, "group": "Spigot", "label": "Bore diameter (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 4.1, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333391 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 36.5, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 18.3, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 41.0, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"spig_sides\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Spigot', \"label\": 'Spigot sides'},\n    \"spig_r\": {\"type\": 'float', \"default\": 3.0, \"min\": 1.5, \"max\": 6.4, \"step\": 1.0, \"group\": 'Spigot', \"label\": 'Spigot circumradius (mm)'},\n    \"spig_len\": {\"type\": 'float', \"default\": 5.0, \"min\": 1.7, \"max\": 22.2, \"step\": 1.0, \"group\": 'Spigot', \"label\": 'Spigot length (mm)'},\n    \"spig_bore\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 4.0, \"step\": 0.5, \"group\": 'Spigot', \"label\": 'Bore diameter (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 4.1, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"spig_sides\"], p[\"spig_r\"] * 2).extrude(p[\"spig_len\"])\n    )\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"spig_bore\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462cae90_4828", "family": "profiled", "tier": 1, "seed": 1177333392, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "622ab7fda9e3a2d7", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 201000.0, "surface_area": 30400.0, "principal_moments": [28299999.999999996, 1330000000.0, 1350000000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["40 \u00d7 20 mm slot section, extruded 281.3 mm thick."], "text": "40 \u00d7 20 mm slot section, extruded 281.3 mm thick."}, "params": {"slot_len": {"type": "float", "default": 40, "min": 20.0, "max": 80.0, "step": 1.0, "group": "Profile", "label": "Slot length (mm)"}, "slot_w": {"type": "float", "default": 20, "min": 10.0, "max": 40.0, "step": 0.5, "group": "Profile", "label": "Slot width (mm)"}, "length": {"type": "float", "default": 281.3, "min": 84.4, "max": 843.9, "step": 5.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333392 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"slot_len\": {\"type\": 'float', \"default\": 40, \"min\": 20.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Profile', \"label\": 'Slot length (mm)'},\n    \"slot_w\": {\"type\": 'float', \"default\": 20, \"min\": 10.0, \"max\": 40.0, \"step\": 0.5, \"group\": 'Profile', \"label\": 'Slot width (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 281.3, \"min\": 84.4, \"max\": 843.9, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').slot2D(p[\"slot_len\"], p[\"slot_w\"]).extrude(p[\"length\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462cae91_4829", "family": "lofted", "tier": 3, "seed": 1177333393, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "41f48c6caad670d3", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 112000.0, "surface_area": 19500.0, "principal_moments": [43800000.0, 65799999.99999999, 65899999.99999999], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["Lofted body through 3 sections: 55 \u00d7 55 mm rectangular section \u2192 \u00d848 mm circular section \u2192 6-sided polygon section, 41.1 mm across corners.", "One \u00d820.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 3 sections: 55 \u00d7 55 mm rectangular section \u2192 \u00d848 mm circular section \u2192 6-sided polygon section, 41.1 mm across corners. One \u00d820.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 55, "min": 27.5, "max": 88.0, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 41.1, "min": 16.4, "max": 66.0, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 71.5, "min": 28.6, "max": 143.0, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_mid": {"type": "float", "default": 48.0, "min": 20.6, "max": 66.0, "step": 1.0, "group": "Body", "label": "Mid size (mm)"}, "loft_bore_d": {"type": "float", "default": 20.3, "min": 2.0, "max": 32.9, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333393 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 55, \"min\": 27.5, \"max\": 88.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 41.1, \"min\": 16.4, \"max\": 66.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 71.5, \"min\": 28.6, \"max\": 143.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_mid\": {\"type\": 'float', \"default\": 48.0, \"min\": 20.6, \"max\": 66.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Mid size (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 20.3, \"min\": 2.0, \"max\": 32.9, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .rect(p[\"loft_base\"], p[\"loft_base\"])\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .circle(p[\"loft_mid\"] / 2)\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .polygon(6, p[\"loft_top\"] * 0.5 * 2)\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462cae92_4830", "family": "revolved", "tier": 2, "seed": 1177333394, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "3f4ffec46cc36479", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 1320.0, "surface_area": 1260.0, "principal_moments": [20500.0, 57000.0, 57000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d810.17 mm \u00d7 24.4 mm tall."], "text": "Revolved body, \u00d810.17 mm \u00d7 24.4 mm tall."}, "params": {"outer_d": {"type": "float", "default": 10.17, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 24.4, "min": 7.3, "max": 73.2, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333394 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 10.17, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 24.4, \"min\": 7.3, \"max\": 73.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462cae93_4831", "family": "gear", "tier": 0, "seed": 1177333395, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "b8a0c6766329de55", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 2260.0, "surface_area": 1580.0, "principal_moments": [80700.0, 80700.0, 147000.0], "n_faces": 68, "n_edges": 198, "n_vertices": 132}, "dimensions": {"lines": ["Spur gear, module 2 mm, 11 teeth (pitch \u00d822 mm), face width 6.2 mm."], "text": "Spur gear, module 2 mm, 11 teeth (pitch \u00d822 mm), face width 6.2 mm."}, "params": {"module": {"type": "float", "default": 2.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 11, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 6.2, "min": 2.5, "max": 15.5, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333395 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 2.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 11, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 6.2, \"min\": 2.5, \"max\": 15.5, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462cae94_4832", "family": "profiled", "tier": 2, "seed": 1177333396, "symmetry": "none", "op_count": 1, "ir_hash": "c07fa4b6aa3617d1", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 251000.0, "surface_area": 57800.0, "principal_moments": [60299999.99999999, 1370000000.0, 1370000000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d840 mm \u00d7 300 mm tall."], "text": "Revolved body, \u00d840 mm \u00d7 300 mm tall."}, "params": {"outer_d": {"type": "float", "default": 40, "min": 20.0, "max": 80.0, "step": 1.0, "group": "Profile", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 300.0, "min": 90.0, "max": 900.0, "step": 5.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333396 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 40, \"min\": 20.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Profile', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 300.0, \"min\": 90.0, \"max\": 900.0, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462cae95_4833", "family": "bracket", "tier": 2, "seed": 1177333397, "symmetry": "none", "op_count": 1, "ir_hash": "0fe3f52e3d1ae581", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 10300.0, "surface_area": 7570.0, "principal_moments": [1950000.0, 2920000.0, 4080000.0], "n_faces": 15, "n_edges": 41, "n_vertices": 26}, "dimensions": {"lines": ["L-bracket: base leg 30.54 mm, vertical leg 33.2 mm, 55 mm wide, 3 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 3.9 mm corner gusset."], "text": "L-bracket: base leg 30.54 mm, vertical leg 33.2 mm, 55 mm wide, 3 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 3.9 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 30.54, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 33.2, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 55, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 3.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 3.9, "min": 1.5, "max": 9.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333397 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 30.54, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 33.2, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 55, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 3.9, \"min\": 1.5, \"max\": 9.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462cae96_4834", "family": "lofted", "tier": 3, "seed": 1177333398, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "96f79a09eb33d055", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 38200.0, "surface_area": 8330.0, "principal_moments": [7770000.0, 8380000.0, 8380000.0], "n_faces": 8, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["Lofted body through 3 sections: \u00d843.58 mm circular section \u2192 32.8 \u00d7 32.8 mm rectangular section \u2192 22.1 \u00d7 22.1 mm rectangular section.", "One \u00d811.2 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 3 sections: \u00d843.58 mm circular section \u2192 32.8 \u00d7 32.8 mm rectangular section \u2192 22.1 \u00d7 22.1 mm rectangular section. One \u00d811.2 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 43.58, "min": 21.8, "max": 69.7, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 22.1, "min": 8.8, "max": 52.3, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 40.2, "min": 16.1, "max": 80.4, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_mid": {"type": "float", "default": 32.8, "min": 11.1, "max": 52.3, "step": 1.0, "group": "Body", "label": "Mid size (mm)"}, "loft_bore_d": {"type": "float", "default": 11.2, "min": 2.0, "max": 17.7, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333398 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 43.58, \"min\": 21.8, \"max\": 69.7, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 22.1, \"min\": 8.8, \"max\": 52.3, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 40.2, \"min\": 16.1, \"max\": 80.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_mid\": {\"type\": 'float', \"default\": 32.8, \"min\": 11.1, \"max\": 52.3, \"step\": 1.0, \"group\": 'Body', \"label\": 'Mid size (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 11.2, \"min\": 2.0, \"max\": 17.7, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .circle(p[\"loft_base\"] / 2)\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .rect(p[\"loft_mid\"], p[\"loft_mid\"])\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .rect(p[\"loft_top\"], p[\"loft_top\"])\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462cae97_4835", "family": "flanged", "tier": 1, "seed": 1177333399, "symmetry": "none", "op_count": 2, "ir_hash": "40847a9b81dbd497", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 34300.0, "surface_area": 11000.0, "principal_moments": [8680000.0, 9160000.0, 9160000.0], "n_faces": 14, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["Revolved body, \u00d830.94 mm \u00d7 37.7 mm tall with \u00d810.7 mm bore, \u00d859.4 mm \u00d7 4.8 mm flange.", "Eight \u00d83.2 mm holes on a \u00d835.6 mm bolt circle."], "text": "Revolved body, \u00d830.94 mm \u00d7 37.7 mm tall with \u00d810.7 mm bore, \u00d859.4 mm \u00d7 4.8 mm flange. Eight \u00d83.2 mm holes on a \u00d835.6 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 30.94, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 37.7, "min": 11.3, "max": 94.2, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 10.7, "min": 2.0, "max": 21.7, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 59.4, "min": 40.2, "max": 92.8, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 4.8, "min": 1.4, "max": 15.1, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 17.8, "min": 11.9, "max": 26.7, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 8, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333399 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 30.94, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 37.7, \"min\": 11.3, \"max\": 94.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 10.7, \"min\": 2.0, \"max\": 21.7, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 59.4, \"min\": 40.2, \"max\": 92.8, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 4.8, \"min\": 1.4, \"max\": 15.1, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 17.8, \"min\": 11.9, \"max\": 26.7, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462cae98_4836", "family": "plate", "tier": 0, "seed": 1177333400, "symmetry": "none", "op_count": 1, "ir_hash": "98779da5eaaf3485", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 9560.0, "surface_area": 4770.0, "principal_moments": [708000.0, 3380000.0, 4050000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 65 \u00d7 29.4 \u00d7 5 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 65 \u00d7 29.4 \u00d7 5 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 65, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 29.4, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 5.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333400 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 65, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 29.4, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 5.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462cae99_4837", "family": "plate", "tier": 1, "seed": 1177333401, "symmetry": "none", "op_count": 2, "ir_hash": "13689f43bf4592bb", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 32700.0, "surface_area": 13200.0, "principal_moments": [7300000.0, 31299999.999999996, 38400000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 107.34 \u00d7 51.6 \u00d7 6 mm (W\u00d7D\u00d7H).", "Four \u00d85.3 mm holes at the corners, 75.138 \u00d7 36.12 mm spacing."], "text": "Rectangular body, 107.34 \u00d7 51.6 \u00d7 6 mm (W\u00d7D\u00d7H). Four \u00d85.3 mm holes at the corners, 75.138 \u00d7 36.12 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 107.34, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 51.6, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 6.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 11.6, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333401 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 107.34, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 51.6, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 11.6, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462cae9a_4838", "family": "plate", "tier": 1, "seed": 1177333402, "symmetry": "radial", "op_count": 2, "ir_hash": "ec34d2f8c3fea38d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 9390.0, "surface_area": 4440.0, "principal_moments": [820000.0, 856000.0, 1450000.0], "n_faces": 18, "n_edges": 48, "n_vertices": 32}, "dimensions": {"lines": ["Rectangular body, 30 \u00d7 29.3 \u00d7 12 mm (W\u00d7D\u00d7H).", "Twelve \u00d83.2 mm holes on a \u00d818 mm bolt circle."], "text": "Rectangular body, 30 \u00d7 29.3 \u00d7 12 mm (W\u00d7D\u00d7H). Twelve \u00d83.2 mm holes on a \u00d818 mm bolt circle."}, "params": {"plate_w": {"type": "float", "default": 30, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 29.3, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "bolt_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 9.0, "min": 6.0, "max": 13.5, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 12, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333402 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 30, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 29.3, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 9.0, \"min\": 6.0, \"max\": 13.5, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 12, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462cae9b_4839", "family": "compound", "tier": 2, "seed": 1177333403, "symmetry": "mirror_x", "op_count": 4, "ir_hash": "7f86838add79c970", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 56500.0, "surface_area": 12900.0, "principal_moments": [12299999.999999998, 16499999.999999998, 16499999.999999998], "n_faces": 17, "n_edges": 54, "n_vertices": 36}, "dimensions": {"lines": ["Rectangular body, 36.27 \u00d7 44.4 \u00d7 36.1 mm (W\u00d7D\u00d7H).", "35.7 \u00d7 28 mm rectangular section attachment, 3 mm long, from front face.", "Four \u00d85.3 mm holes at the corners, 21.42 \u00d7 16.8 mm spacing on the <Y face.", "Four \u00d83.2 mm holes at the corners, 25.389 \u00d7 31.08 mm spacing."], "text": "Rectangular body, 36.27 \u00d7 44.4 \u00d7 36.1 mm (W\u00d7D\u00d7H). 35.7 \u00d7 28 mm rectangular section attachment, 3 mm long, from front face. Four \u00d85.3 mm holes at the corners, 21.42 \u00d7 16.8 mm spacing on the <Y face. Four \u00d83.2 mm holes at the corners, 25.389 \u00d7 31.08 mm spacing."}, "params": {"block_w": {"type": "float", "default": 36.27, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 44.4, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 36.1, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "tab_a": {"type": "float", "default": 35.7, "min": 14.3, "max": 57.1, "step": 1.0, "group": "Tab", "label": "Tab width (mm)"}, "tab_b": {"type": "float", "default": 28.0, "min": 11.2, "max": 44.8, "step": 1.0, "group": "Tab", "label": "Tab height (mm)"}, "tab_t": {"type": "float", "default": 3.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Tab", "label": "Tab thickness (mm)"}, "tab_hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 6.2, "step": 0.1, "group": "Tab", "label": "Tab hole diameter (mm)"}, "block_hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 8.2, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333403 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 36.27, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 44.4, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 36.1, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"tab_a\": {\"type\": 'float', \"default\": 35.7, \"min\": 14.3, \"max\": 57.1, \"step\": 1.0, \"group\": 'Tab', \"label\": 'Tab width (mm)'},\n    \"tab_b\": {\"type\": 'float', \"default\": 28.0, \"min\": 11.2, \"max\": 44.8, \"step\": 1.0, \"group\": 'Tab', \"label\": 'Tab height (mm)'},\n    \"tab_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Tab', \"label\": 'Tab thickness (mm)'},\n    \"tab_hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 6.2, \"step\": 0.1, \"group\": 'Tab', \"label\": 'Tab hole diameter (mm)'},\n    \"block_hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 8.2, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .rect(p[\"tab_a\"], p[\"tab_b\"]).extrude(p[\"tab_t\"])\n    )\n    result = (\n        result.faces('<Y').workplane()\n        .rect(p[\"tab_a\"] * 0.6, p[\"tab_b\"] * 0.6, forConstruction=True)\n        .vertices().hole(p[\"tab_hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"block_hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462cae9c_4840", "family": "revolved", "tier": 0, "seed": 1177333404, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "8cdfb7fff715ec73", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 350000.0, "surface_area": 48600.0, "principal_moments": [269000000.0, 489000000.0, 489000000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d871.55 mm \u00d7 130.6 mm tall."], "text": "Revolved body, \u00d871.55 mm \u00d7 130.6 mm tall."}, "params": {"outer_d": {"type": "float", "default": 71.55, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 130.6, "min": 39.2, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333404 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 71.55, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 130.6, \"min\": 39.2, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462cae9e_4842", "family": "swept", "tier": 2, "seed": 1177333406, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "e6ff8351733c81a6", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 14500.0, "surface_area": 4950.0, "principal_moments": [380000.0, 15499999.999999998, 15499999.999999998], "n_faces": 3, "n_edges": 3, "n_vertices": 2}, "dimensions": {"lines": ["\u00d814.5 mm circular section swept along a curved path, ~110 mm span."], "text": "\u00d814.5 mm circular section swept along a curved path, ~110 mm span."}, "params": {"path_w": {"type": "float", "default": 35, "min": 17.5, "max": 63.0, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 110.0, "min": 55.0, "max": 198.0, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_d": {"type": "float", "default": 14.5, "min": 7.2, "max": 26.1, "step": 1.0, "group": "Section", "label": "Section diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333406 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 35, \"min\": 17.5, \"max\": 63.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 110.0, \"min\": 55.0, \"max\": 198.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_d\": {\"type\": 'float', \"default\": 14.5, \"min\": 7.2, \"max\": 26.1, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.3781, p[\"path_h\"] * 0.2921), (p[\"path_w\"] * 0.3875, p[\"path_h\"] * 0.6536), (p[\"path_w\"] * 0.5812, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').circle(p[\"sweep_d\"] / 2).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462cae9f_4843", "family": "swept", "tier": 1, "seed": 1177333407, "symmetry": "none", "op_count": 1, "ir_hash": "0bfc927c19df5c82", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 13200.0, "surface_area": 5280.0, "principal_moments": [4060000.0, 8980000.0, 12899999.999999998], "n_faces": 3, "n_edges": 3, "n_vertices": 2}, "dimensions": {"lines": ["\u00d810.5 mm circular section swept along a curved path, ~93.36 mm span."], "text": "\u00d810.5 mm circular section swept along a curved path, ~93.36 mm span."}, "params": {"path_w": {"type": "float", "default": 40, "min": 20.0, "max": 72.0, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 93.36, "min": 46.7, "max": 168.0, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_d": {"type": "float", "default": 10.5, "min": 5.2, "max": 18.9, "step": 1.0, "group": "Section", "label": "Section diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333407 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 40, \"min\": 20.0, \"max\": 72.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 93.36, \"min\": 46.7, \"max\": 168.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_d\": {\"type\": 'float', \"default\": 10.5, \"min\": 5.2, \"max\": 18.9, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.1491, p[\"path_h\"] * 0.2253), (p[\"path_w\"] * 0.4985, p[\"path_h\"] * 0.233), (p[\"path_w\"] * 0.2947, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').circle(p[\"sweep_d\"] / 2).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462caea0_4844", "family": "compound", "tier": 2, "seed": 1177333408, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "0f5ca2ccdf26b5ef", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 116000.0, "surface_area": 18200.0, "principal_moments": [46299999.99999999, 49299999.99999999, 68200000.0], "n_faces": 12, "n_edges": 27, "n_vertices": 18}, "dimensions": {"lines": ["Rectangular body, 45 \u00d7 62.5 \u00d7 38.6 mm (W\u00d7D\u00d7H).", "18.3 \u00d7 16 mm rectangular section attachment, 36.1 mm long, from left face with a \u00d87.5 mm bore.", "Four \u00d83.2 mm holes at the corners, 31.5 \u00d7 43.75 mm spacing."], "text": "Rectangular body, 45 \u00d7 62.5 \u00d7 38.6 mm (W\u00d7D\u00d7H). 18.3 \u00d7 16 mm rectangular section attachment, 36.1 mm long, from left face with a \u00d87.5 mm bore. Four \u00d83.2 mm holes at the corners, 31.5 \u00d7 43.75 mm spacing."}, "params": {"block_w": {"type": "float", "default": 45, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 62.5, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 38.6, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "spig_a": {"type": "float", "default": 18.3, "min": 9.2, "max": 27.0, "step": 1.0, "group": "Spigot", "label": "Spigot width (mm)"}, "spig_b": {"type": "float", "default": 16.0, "min": 8.0, "max": 27.0, "step": 1.0, "group": "Spigot", "label": "Spigot depth (mm)"}, "spig_len": {"type": "float", "default": 36.1, "min": 4.8, "max": 64.0, "step": 1.0, "group": "Spigot", "label": "Spigot length (mm)"}, "spig_bore": {"type": "float", "default": 7.5, "min": 2.0, "max": 11.5, "step": 0.5, "group": "Spigot", "label": "Bore diameter (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 10.1, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333408 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 45, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 62.5, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 38.6, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"spig_a\": {\"type\": 'float', \"default\": 18.3, \"min\": 9.2, \"max\": 27.0, \"step\": 1.0, \"group\": 'Spigot', \"label\": 'Spigot width (mm)'},\n    \"spig_b\": {\"type\": 'float', \"default\": 16.0, \"min\": 8.0, \"max\": 27.0, \"step\": 1.0, \"group\": 'Spigot', \"label\": 'Spigot depth (mm)'},\n    \"spig_len\": {\"type\": 'float', \"default\": 36.1, \"min\": 4.8, \"max\": 64.0, \"step\": 1.0, \"group\": 'Spigot', \"label\": 'Spigot length (mm)'},\n    \"spig_bore\": {\"type\": 'float', \"default\": 7.5, \"min\": 2.0, \"max\": 11.5, \"step\": 0.5, \"group\": 'Spigot', \"label\": 'Bore diameter (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 10.1, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .rect(p[\"spig_a\"], p[\"spig_b\"]).extrude(p[\"spig_len\"])\n    )\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"spig_bore\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462caea1_4845", "family": "plate", "tier": 1, "seed": 1177333409, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "a008347883350ab6", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 2490.0, "surface_area": 1680.0, "principal_moments": [68200.0, 186000.0, 244000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 30 \u00d7 17.7 \u00d7 5 mm (W\u00d7D\u00d7H).", "Four \u00d83.2 mm holes at the corners, 21 \u00d7 12.39 mm spacing."], "text": "Rectangular body, 30 \u00d7 17.7 \u00d7 5 mm (W\u00d7D\u00d7H). Four \u00d83.2 mm holes at the corners, 21 \u00d7 12.39 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 30, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 17.7, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 5.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 4.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333409 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 30, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 17.7, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 5.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 4.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462caea2_4846", "family": "enclosure", "tier": 1, "seed": 1177333410, "symmetry": "none", "op_count": 2, "ir_hash": "d78b2f1cd30a8fe1", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 66900.0, "surface_area": 27800.0, "principal_moments": [34200000.0, 47199999.99999999, 65299999.99999999], "n_faces": 11, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 74.03 \u00d7 29.7 \u00d7 64.6 mm (W\u00d7D\u00d7H).", "Hollowed to 5 mm wall thickness, open at top face."], "text": "Rectangular body, 74.03 \u00d7 29.7 \u00d7 64.6 mm (W\u00d7D\u00d7H). Hollowed to 5 mm wall thickness, open at top face."}, "params": {"enc_w": {"type": "float", "default": 74.03, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 29.7, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 64.6, "min": 25.8, "max": 129.2, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 5.0, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333410 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 74.03, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 29.7, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 64.6, \"min\": 25.8, \"max\": 129.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462caea3_4847", "family": "compound", "tier": 1, "seed": 1177333411, "symmetry": "none", "op_count": 2, "ir_hash": "c98b4cde52a19cb8", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 44300.0, "surface_area": 9900.0, "principal_moments": [5870000.0, 16900000.0, 16900000.0], "n_faces": 6, "n_edges": 9, "n_vertices": 6}, "dimensions": {"lines": ["\u00d832.78 mm circular section, extruded 50.3 mm thick.", "\u00d817 mm circular section attachment, 24.1 mm long, from top face with a \u00d87.9 mm bore."], "text": "\u00d832.78 mm circular section, extruded 50.3 mm thick. \u00d817 mm circular section attachment, 24.1 mm long, from top face with a \u00d87.9 mm bore."}, "params": {"shaft_d": {"type": "float", "default": 32.78, "min": 16.4, "max": 59.0, "step": 1.0, "group": "Body", "label": "Shaft diameter (mm)"}, "shaft_len": {"type": "float", "default": 50.3, "min": 20.1, "max": 100.6, "step": 1.0, "group": "Body", "label": "Shaft length (mm)"}, "step_d": {"type": "float", "default": 17.0, "min": 8.5, "max": 29.5, "step": 1.0, "group": "Step", "label": "Step diameter (mm)"}, "step_len": {"type": "float", "default": 24.1, "min": 7.2, "max": 60.2, "step": 1.0, "group": "Step", "label": "Step length (mm)"}, "axial_bore": {"type": "float", "default": 7.9, "min": 2.0, "max": 12.2, "step": 0.5, "group": "Bore", "label": "Axial bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333411 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"shaft_d\": {\"type\": 'float', \"default\": 32.78, \"min\": 16.4, \"max\": 59.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft diameter (mm)'},\n    \"shaft_len\": {\"type\": 'float', \"default\": 50.3, \"min\": 20.1, \"max\": 100.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft length (mm)'},\n    \"step_d\": {\"type\": 'float', \"default\": 17.0, \"min\": 8.5, \"max\": 29.5, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step diameter (mm)'},\n    \"step_len\": {\"type\": 'float', \"default\": 24.1, \"min\": 7.2, \"max\": 60.2, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step length (mm)'},\n    \"axial_bore\": {\"type\": 'float', \"default\": 7.9, \"min\": 2.0, \"max\": 12.2, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Axial bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').circle(p[\"shaft_d\"] / 2).extrude(p[\"shaft_len\"]))\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"step_d\"] / 2).extrude(p[\"step_len\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"axial_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462caea4_4848", "family": "sketched", "tier": 2, "seed": 1177333412, "symmetry": "none", "op_count": 1, "ir_hash": "c370293acd5faf49", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 15500.0, "surface_area": 4880.0, "principal_moments": [1530000.0, 1570000.0, 1570000.0], "n_faces": 7, "n_edges": 11, "n_vertices": 6}, "dimensions": {"lines": ["Revolved organic body from a freeform sketched section (7 segments: 5 straight, 1 arc, 1 curve), ~16.125 \u00d7 30 mm half-silhouette."], "text": "Revolved organic body from a freeform sketched section (7 segments: 5 straight, 1 arc, 1 curve), ~16.125 \u00d7 30 mm half-silhouette."}, "params": {"sk_r": {"type": "float", "default": 16.14, "min": 8.1, "max": 29.1, "step": 1.0, "group": "Sketch", "label": "Max radius (mm)"}, "sk_h": {"type": "float", "default": 30, "min": 15.0, "max": 54.0, "step": 1.0, "group": "Sketch", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333412 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_r\": {\"type\": 'float', \"default\": 16.14, \"min\": 8.1, \"max\": 29.1, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Max radius (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 30, \"min\": 15.0, \"max\": 54.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XZ').moveTo(p[\"sk_r\"] * 0.6419, p[\"sk_h\"] * 0.0).threePointArc((p[\"sk_r\"] * 0.9073, p[\"sk_h\"] * 0.3044), (p[\"sk_r\"] * 0.9991, p[\"sk_h\"] * 0.6088)).lineTo(p[\"sk_r\"] * 0.4168, p[\"sk_h\"] * 0.7181).lineTo(p[\"sk_r\"] * 0.9851, p[\"sk_h\"] * 0.853).spline([(p[\"sk_r\"] * 0.9851, p[\"sk_h\"] * 0.853), (p[\"sk_r\"] * 0.5181, p[\"sk_h\"] * 0.8602), (p[\"sk_r\"] * 0.1378, p[\"sk_h\"] * 0.8674)]).lineTo(p[\"sk_r\"] * 0.6024, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.0, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.0, p[\"sk_h\"] * 0.0).close().revolve())\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462caea5_4849", "family": "flanged", "tier": 2, "seed": 1177333413, "symmetry": "none", "op_count": 3, "ir_hash": "70ad8e3023862d7a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 252000.0, "surface_area": 43600.0, "principal_moments": [249000000.0, 249000000.0, 431000000.0], "n_faces": 56, "n_edges": 148, "n_vertices": 87}, "dimensions": {"lines": ["Revolved body, \u00d875 mm \u00d7 39.8 mm tall with \u00d827.8 mm bore, \u00d8135.9 mm \u00d7 10.5 mm flange.", "Eight \u00d88.4 mm holes on a \u00d881.6 mm bolt circle.", "Chamfer 0.7 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d875 mm \u00d7 39.8 mm tall with \u00d827.8 mm bore, \u00d8135.9 mm \u00d7 10.5 mm flange. Eight \u00d88.4 mm holes on a \u00d881.6 mm bolt circle. Chamfer 0.7 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 75, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 39.8, "min": 11.9, "max": 99.5, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 27.8, "min": 2.0, "max": 52.5, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 135.9, "min": 97.5, "max": 225.0, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 10.5, "min": 3.1, "max": 15.9, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 8.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 40.8, "min": 27.2, "max": 61.2, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 8, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}, "end_chamfer": {"type": "float", "default": 0.7, "min": 0.1, "max": 2.0, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333413 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 75, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 39.8, \"min\": 11.9, \"max\": 99.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 27.8, \"min\": 2.0, \"max\": 52.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 135.9, \"min\": 97.5, \"max\": 225.0, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 10.5, \"min\": 3.1, \"max\": 15.9, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 40.8, \"min\": 27.2, \"max\": 61.2, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.7, \"min\": 0.1, \"max\": 2.0, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462caea6_4850", "family": "tapped", "tier": 2, "seed": 1177333414, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "2c847ebbbd06ec43", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 16700.0, "surface_area": 7280.0, "principal_moments": [1490000.0, 3100000.0, 3870000.0], "n_faces": 358, "n_edges": 1268, "n_vertices": 912}, "dimensions": {"lines": ["Four M10x1.5 tapped holes in a plate."], "text": "Four M10x1.5 tapped holes in a plate."}, "params": {"major_d": {"type": "float", "default": 10.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 1.5, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 16.0, "min": 12.0, "max": 28.8, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "plate_w": {"type": "float", "default": 45.0, "min": 27.0, "max": 72.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 29.1, "min": 17.5, "max": 46.6, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333414 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 10.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.5, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 16.0, \"min\": 12.0, \"max\": 28.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"plate_w\": {\"type\": 'float', \"default\": 45.0, \"min\": 27.0, \"max\": 72.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 29.1, \"min\": 17.5, \"max\": 46.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n}\n\n\ndef build(p):\n\n    _W, _D, _H = p[\"plate_w\"], p[\"plate_d\"], p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Box(_W, _D, _H)\n    _sx, _sy = p[\"plate_w\"] * 0.6, p[\"plate_d\"] * 0.6\n    _locs = [(_xx, _yy) for _xx in (-_sx / 2, _sx / 2) for _yy in (-_sy / 2, _sy / 2)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462caea7_4851", "family": "lofted", "tier": 0, "seed": 1177333415, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "5a52a96d7c4223cd", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 128000.0, "surface_area": 15000.0, "principal_moments": [45300000.0, 62699999.99999999, 62799999.99999999], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Lofted body through 2 sections: 55 \u00d7 55 mm rectangular section \u2192 6-sided polygon section, 42.1 mm across corners."], "text": "Lofted body through 2 sections: 55 \u00d7 55 mm rectangular section \u2192 6-sided polygon section, 42.1 mm across corners."}, "params": {"loft_base": {"type": "float", "default": 55, "min": 27.5, "max": 88.0, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 42.1, "min": 16.8, "max": 66.0, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 63.2, "min": 25.3, "max": 126.4, "step": 1.0, "group": "Body", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333415 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 55, \"min\": 27.5, \"max\": 88.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 42.1, \"min\": 16.8, \"max\": 66.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 63.2, \"min\": 25.3, \"max\": 126.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .rect(p[\"loft_base\"], p[\"loft_base\"])\n        .workplane(offset=p[\"loft_h\"])\n        .polygon(6, p[\"loft_top\"] * 0.5 * 2)\n        .loft(combine=True)\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462caea8_4852", "family": "revolved", "tier": 0, "seed": 1177333416, "symmetry": "none", "op_count": 1, "ir_hash": "0ee3bfc7775159b3", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 62300.0, "surface_area": 13600.0, "principal_moments": [23699999.999999996, 23699999.999999996, 42300000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d867.27 mm \u00d7 26.3 mm tall."], "text": "Revolved body, \u00d867.27 mm \u00d7 26.3 mm tall."}, "params": {"outer_d": {"type": "float", "default": 67.27, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 26.3, "min": 7.9, "max": 78.9, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333416 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 67.27, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 26.3, \"min\": 7.9, \"max\": 78.9, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462caea9_4853", "family": "threaded", "tier": 3, "seed": 1177333417, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "3711b9880a2af7b0", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 10900.0, "surface_area": 4980.0, "principal_moments": [311000.0, 3490000.0, 3490000.0], "n_faces": 726, "n_edges": 2004, "n_vertices": 1280}, "dimensions": {"lines": ["M16x1.5 external thread, 60.8 mm long."], "text": "M16x1.5 external thread, 60.8 mm long."}, "params": {"major_d": {"type": "float", "default": 16.0, "min": 4.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Major diameter (mm)"}, "pitch": {"type": "float", "default": 1.5, "min": 0.75, "max": 3.0, "step": 0.05, "group": "Thread", "label": "Pitch (mm)"}, "thread_len": {"type": "float", "default": 60.8, "min": 24.3, "max": 121.6, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333417 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 16.0, \"min\": 4.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Major diameter (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.5, \"min\": 0.75, \"max\": 3.0, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Pitch (mm)'},\n    \"thread_len\": {\"type\": 'float', \"default\": 60.8, \"min\": 24.3, \"max\": 121.6, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.IsoThread(major_diameter=p[\"major_d\"], pitch=p[\"pitch\"], length=p[\"thread_len\"], external=True, end_finishes=(\"fade\", \"fade\"))\n    _r = _thr.min_radius if hasattr(_thr, 'min_radius') else _thr.root_radius\n    _shank = _bd.Cylinder(radius=_r, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = _shank + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462caeaa_4854", "family": "gear", "tier": 1, "seed": 1177333418, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "97f7f566788b003e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 180000.0, "surface_area": 30400.0, "principal_moments": [117000000.0, 117000000.0, 213000000.0], "n_faces": 147, "n_edges": 435, "n_vertices": 290}, "dimensions": {"lines": ["Spur gear, module 4 mm, 24 teeth (pitch \u00d896 mm), face width 25.7 mm, \u00d814 mm bore."], "text": "Spur gear, module 4 mm, 24 teeth (pitch \u00d896 mm), face width 25.7 mm, \u00d814 mm bore."}, "params": {"module": {"type": "float", "default": 4.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 24, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 25.7, "min": 10.3, "max": 64.2, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "bore_d": {"type": "float", "default": 14.0, "min": 2.0, "max": 51.6, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333418 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 4.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 24, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 25.7, \"min\": 10.3, \"max\": 64.2, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 14.0, \"min\": 2.0, \"max\": 51.6, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462caeab_4855", "family": "enclosure", "tier": 1, "seed": 1177333419, "symmetry": "none", "op_count": 2, "ir_hash": "f3d84857f75a3648", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 20200.0, "surface_area": 16600.0, "principal_moments": [5410000.0, 11200000.0, 12399999.999999998], "n_faces": 11, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 63.14 \u00d7 26.2 \u00d7 40.7 mm (W\u00d7D\u00d7H).", "Hollowed to 2.5 mm wall thickness, open at top face."], "text": "Rectangular body, 63.14 \u00d7 26.2 \u00d7 40.7 mm (W\u00d7D\u00d7H). Hollowed to 2.5 mm wall thickness, open at top face."}, "params": {"enc_w": {"type": "float", "default": 63.14, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 26.2, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 40.7, "min": 16.3, "max": 81.4, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 2.5, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333419 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 63.14, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 26.2, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 40.7, \"min\": 16.3, \"max\": 81.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 2.5, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462caeac_4856", "family": "flanged", "tier": 1, "seed": 1177333420, "symmetry": "radial", "op_count": 2, "ir_hash": "b8c6885ff75a5e81", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 493000.0, "surface_area": 74900.0, "principal_moments": [826000000.0, 826000000.0, 1350000000.0], "n_faces": 12, "n_edges": 27, "n_vertices": 18}, "dimensions": {"lines": ["Revolved body, \u00d880 mm \u00d7 58.7 mm tall with \u00d824.2 mm bore, \u00d8182 mm \u00d7 10.9 mm flange.", "Six \u00d88.4 mm holes on a \u00d8109.2 mm bolt circle."], "text": "Revolved body, \u00d880 mm \u00d7 58.7 mm tall with \u00d824.2 mm bore, \u00d8182 mm \u00d7 10.9 mm flange. Six \u00d88.4 mm holes on a \u00d8109.2 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 80, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 58.7, "min": 17.6, "max": 146.8, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 24.2, "min": 2.0, "max": 56.0, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 182.0, "min": 104.0, "max": 240.0, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 10.9, "min": 3.3, "max": 23.5, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 8.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 54.6, "min": 36.4, "max": 81.9, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 6, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333420 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 80, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 58.7, \"min\": 17.6, \"max\": 146.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 24.2, \"min\": 2.0, \"max\": 56.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 182.0, \"min\": 104.0, \"max\": 240.0, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 10.9, \"min\": 3.3, \"max\": 23.5, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 54.6, \"min\": 36.4, \"max\": 81.9, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462caead_4857", "family": "bracket", "tier": 1, "seed": 1177333421, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "ce97c4a3f21b3535", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 3830.0, "surface_area": 2620.0, "principal_moments": [203000.0, 783000.0, 827000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["L-bracket: base leg 40 mm, vertical leg 26.1 mm, 15.66 mm wide, 4 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."], "text": "L-bracket: base leg 40 mm, vertical leg 26.1 mm, 15.66 mm wide, 4 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 40, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 26.1, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 15.66, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 4.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 6.3, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333421 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 40, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 26.1, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 15.66, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 6.3, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462caeae_4858", "family": "plate", "tier": 1, "seed": 1177333422, "symmetry": "radial", "op_count": 2, "ir_hash": "f801e10ed148b59d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 11900.0, "surface_area": 4760.0, "principal_moments": [994000.0, 2590000.0, 3450000.0], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Rectangular body, 50 \u00d7 30.8 \u00d7 8 mm (W\u00d7D\u00d7H).", "Six \u00d83.2 mm holes on a \u00d830 mm bolt circle."], "text": "Rectangular body, 50 \u00d7 30.8 \u00d7 8 mm (W\u00d7D\u00d7H). Six \u00d83.2 mm holes on a \u00d830 mm bolt circle."}, "params": {"plate_w": {"type": "float", "default": 50, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 30.8, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "bolt_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 15.0, "min": 10.0, "max": 22.5, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 6, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333422 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 50, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 30.8, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 15.0, \"min\": 10.0, \"max\": 22.5, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462caeaf_4859", "family": "plate", "tier": 0, "seed": 1177333423, "symmetry": "none", "op_count": 1, "ir_hash": "0e9eebbd21650b83", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 26400.0, "surface_area": 6900.0, "principal_moments": [2200000.0, 12699999.999999998, 14199999.999999998], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 75 \u00d7 29.3 \u00d7 12 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 75 \u00d7 29.3 \u00d7 12 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 75, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 29.3, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333423 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 75, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 29.3, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462caeb0_4860", "family": "tapped", "tier": 1, "seed": 1177333424, "symmetry": "none", "op_count": 1, "ir_hash": "57f1fe29bf2abd7c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 175000.0, "surface_area": 29900.0, "principal_moments": [113000000.0, 123000000.0, 217000000.0], "n_faces": 778, "n_edges": 2224, "n_vertices": 1448}, "dimensions": {"lines": ["Four M16x2 tapped holes in a plate."], "text": "Four M16x2 tapped holes in a plate."}, "params": {"major_d": {"type": "float", "default": 16.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 2.0, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 25.6, "min": 19.2, "max": 46.1, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "plate_w": {"type": "float", "default": 88.79, "min": 53.3, "max": 142.1, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 84.7, "min": 50.8, "max": 135.5, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333424 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 16.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 2.0, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 25.6, \"min\": 19.2, \"max\": 46.1, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"plate_w\": {\"type\": 'float', \"default\": 88.79, \"min\": 53.3, \"max\": 142.1, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 84.7, \"min\": 50.8, \"max\": 135.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n}\n\n\ndef build(p):\n\n    _W, _D, _H = p[\"plate_w\"], p[\"plate_d\"], p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Box(_W, _D, _H)\n    _sx, _sy = p[\"plate_w\"] * 0.6, p[\"plate_d\"] * 0.6\n    _locs = [(_xx, _yy) for _xx in (-_sx / 2, _sx / 2) for _yy in (-_sy / 2, _sy / 2)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462caeb1_4861", "family": "sketched", "tier": 1, "seed": 1177333425, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "699a0518ebf10eea", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 21200.0, "surface_area": 5360.0, "principal_moments": [1770000.0, 3960000.0, 3960000.0], "n_faces": 9, "n_edges": 16, "n_vertices": 9}, "dimensions": {"lines": ["Revolved organic body from a freeform sketched section (8 segments: 5 straight, 1 arc, 2 curves), ~14.308 \u00d7 50.58 mm half-silhouette."], "text": "Revolved organic body from a freeform sketched section (8 segments: 5 straight, 1 arc, 2 curves), ~14.308 \u00d7 50.58 mm half-silhouette."}, "params": {"sk_r": {"type": "float", "default": 19.87, "min": 9.9, "max": 35.8, "step": 1.0, "group": "Sketch", "label": "Max radius (mm)"}, "sk_h": {"type": "float", "default": 50.58, "min": 25.3, "max": 91.0, "step": 1.0, "group": "Sketch", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333425 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_r\": {\"type\": 'float', \"default\": 19.87, \"min\": 9.9, \"max\": 35.8, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Max radius (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 50.58, \"min\": 25.3, \"max\": 91.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XZ').moveTo(p[\"sk_r\"] * 0.4441, p[\"sk_h\"] * 0.0).spline([(p[\"sk_r\"] * 0.4441, p[\"sk_h\"] * 0.0), (p[\"sk_r\"] * 0.6281, p[\"sk_h\"] * 0.1694), (p[\"sk_r\"] * 0.6486, p[\"sk_h\"] * 0.3388)]).threePointArc((p[\"sk_r\"] * 0.8011, p[\"sk_h\"] * 0.3625), (p[\"sk_r\"] * 0.8083, p[\"sk_h\"] * 0.3863)).bezier([(p[\"sk_r\"] * 0.8083, p[\"sk_h\"] * 0.3863), (p[\"sk_r\"] * 0.676, p[\"sk_h\"] * 0.4327), (p[\"sk_r\"] * 0.6922, p[\"sk_h\"] * 0.4791)]).lineTo(p[\"sk_r\"] * 0.4225, p[\"sk_h\"] * 0.5447).lineTo(p[\"sk_r\"] * 0.751, p[\"sk_h\"] * 0.6878).lineTo(p[\"sk_r\"] * 0.133, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.0882, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.0882, p[\"sk_h\"] * 0.0).close().revolve())\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462caeb2_4862", "family": "compound", "tier": 2, "seed": 1177333426, "symmetry": "mirror_x", "op_count": 5, "ir_hash": "11b3422b14140b70", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 72400.0, "surface_area": 13400.0, "principal_moments": [17500000.0, 24499999.999999996, 31299999.999999996], "n_faces": 36, "n_edges": 94, "n_vertices": 61}, "dimensions": {"lines": ["Rectangular body, 56.48 \u00d7 44.5 \u00d7 29.8 mm (W\u00d7D\u00d7H).", "6-sided polygon section, 6 mm across corners attachment, 4 mm long, from right face with a \u00d83.2 mm bore.", "6-sided polygon section, 6 mm across corners attachment, 4 mm long, from left face with a \u00d83.2 mm bore.", "6-sided polygon section, 6 mm across corners attachment, 4 mm long, from front face with a \u00d83.2 mm bore.", "Four \u00d86.4 mm holes at the corners, 39.536 \u00d7 31.15 mm spacing."], "text": "Rectangular body, 56.48 \u00d7 44.5 \u00d7 29.8 mm (W\u00d7D\u00d7H). 6-sided polygon section, 6 mm across corners attachment, 4 mm long, from right face with a \u00d83.2 mm bore. 6-sided polygon section, 6 mm across corners attachment, 4 mm long, from left face with a \u00d83.2 mm bore. 6-sided polygon section, 6 mm across corners attachment, 4 mm long, from front face with a \u00d83.2 mm bore. Four \u00d86.4 mm holes at the corners, 39.536 \u00d7 31.15 mm spacing."}, "params": {"block_w": {"type": "float", "default": 56.48, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body width (mm)"}, "block_d": {"type": "float", "default": 44.5, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body depth (mm)"}, "block_h": {"type": "float", "default": 29.8, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body height (mm)"}, "port_sides": {"type": "int", "default": 6, "min": 3, "max": 8, "step": 1, "group": "Ports", "label": "Ports sides"}, "port_r": {"type": "float", "default": 3.0, "min": 1.5, "max": 6.7, "step": 1.0, "group": "Ports", "label": "Ports circumradius (mm)"}, "port_len": {"type": "float", "default": 4.0, "min": 1.3, "max": 15.6, "step": 1.0, "group": "Ports", "label": "Port boss length (mm)"}, "port_bore": {"type": "float", "default": 3.2, "min": 2.0, "max": 3.7, "step": 0.5, "group": "Ports", "label": "Port bore diameter (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333426 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 56.48, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 44.5, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 29.8, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body height (mm)'},\n    \"port_sides\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Ports', \"label\": 'Ports sides'},\n    \"port_r\": {\"type\": 'float', \"default\": 3.0, \"min\": 1.5, \"max\": 6.7, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Ports circumradius (mm)'},\n    \"port_len\": {\"type\": 'float', \"default\": 4.0, \"min\": 1.3, \"max\": 15.6, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Port boss length (mm)'},\n    \"port_bore\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 3.7, \"step\": 0.5, \"group\": 'Ports', \"label\": 'Port bore diameter (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"port_sides\"], p[\"port_r\"] * 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"port_sides\"], p[\"port_r\"] * 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"port_sides\"], p[\"port_r\"] * 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462caeb3_4863", "family": "plate", "tier": 1, "seed": 1177333427, "symmetry": "none", "op_count": 2, "ir_hash": "5d2fca5153513863", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 11300.0, "surface_area": 4680.0, "principal_moments": [525000.0, 4070000.0, 4470000.0], "n_faces": 15, "n_edges": 39, "n_vertices": 26}, "dimensions": {"lines": ["Rectangular body, 65 \u00d7 22.2 \u00d7 8 mm (W\u00d7D\u00d7H).", "Nine \u00d82 mm holes in two staggered rows, 12.2 \u00d7 13 mm pitch."], "text": "Rectangular body, 65 \u00d7 22.2 \u00d7 8 mm (W\u00d7D\u00d7H). Nine \u00d82 mm holes in two staggered rows, 12.2 \u00d7 13 mm pitch."}, "params": {"plate_w": {"type": "float", "default": 65, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 22.2, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 2.0, "min": 2.0, "max": 2.2, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 5, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333427 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 65, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 22.2, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 2.0, \"min\": 2.0, \"max\": 2.2, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 5, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 12.2\n    _ssy = 13.0\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462caeb4_4864", "family": "compound", "tier": 1, "seed": 1177333428, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "f475d71d55d4cd6e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 10100.0, "surface_area": 2890.0, "principal_moments": [442000.0, 1470000.0, 1470000.0], "n_faces": 5, "n_edges": 6, "n_vertices": 4}, "dimensions": {"lines": ["\u00d820.37 mm circular section, extruded 22.1 mm thick.", "\u00d813.8 mm circular section attachment, 19.1 mm long, from top face."], "text": "\u00d820.37 mm circular section, extruded 22.1 mm thick. \u00d813.8 mm circular section attachment, 19.1 mm long, from top face."}, "params": {"shaft_d": {"type": "float", "default": 20.37, "min": 10.2, "max": 36.7, "step": 1.0, "group": "Body", "label": "Shaft diameter (mm)"}, "shaft_len": {"type": "float", "default": 22.1, "min": 8.8, "max": 44.2, "step": 1.0, "group": "Body", "label": "Shaft length (mm)"}, "step_d": {"type": "float", "default": 13.8, "min": 6.9, "max": 18.3, "step": 1.0, "group": "Step", "label": "Step diameter (mm)"}, "step_len": {"type": "float", "default": 19.1, "min": 5.7, "max": 47.8, "step": 1.0, "group": "Step", "label": "Step length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333428 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"shaft_d\": {\"type\": 'float', \"default\": 20.37, \"min\": 10.2, \"max\": 36.7, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft diameter (mm)'},\n    \"shaft_len\": {\"type\": 'float', \"default\": 22.1, \"min\": 8.8, \"max\": 44.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft length (mm)'},\n    \"step_d\": {\"type\": 'float', \"default\": 13.8, \"min\": 6.9, \"max\": 18.3, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step diameter (mm)'},\n    \"step_len\": {\"type\": 'float', \"default\": 19.1, \"min\": 5.7, \"max\": 47.8, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').circle(p[\"shaft_d\"] / 2).extrude(p[\"shaft_len\"]))\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"step_d\"] / 2).extrude(p[\"step_len\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462caeb5_4865", "family": "revolved", "tier": 0, "seed": 1177333429, "symmetry": "none", "op_count": 1, "ir_hash": "918f689a25db8fb6", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 34700.0, "surface_area": 9020.0, "principal_moments": [7470000.0, 7470000.0, 10500000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d845 mm \u00d7 32.7 mm tall."], "text": "Revolved body, \u00d845 mm \u00d7 32.7 mm tall."}, "params": {"outer_d": {"type": "float", "default": 45, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 32.7, "min": 9.8, "max": 98.1, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333429 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 45, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 32.7, \"min\": 9.8, \"max\": 98.1, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462caeb6_4866", "family": "plate", "tier": 0, "seed": 1177333430, "symmetry": "none", "op_count": 1, "ir_hash": "bec3e237d618f5fd", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 43900.0, "surface_area": 11800.0, "principal_moments": [6190000.0, 44600000.0, 50099999.99999999], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 110 \u00d7 39.9 \u00d7 10 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 110 \u00d7 39.9 \u00d7 10 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 110, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 39.9, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333430 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 110, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 39.9, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462caeb7_4867", "family": "ribbed", "tier": 2, "seed": 1177333431, "symmetry": "none", "op_count": 2, "ir_hash": "3a7f5a11cf24d907", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 15100.0, "surface_area": 7350.0, "principal_moments": [1440000.0, 1920000.0, 2440000.0], "n_faces": 31, "n_edges": 72, "n_vertices": 48}, "dimensions": {"lines": ["Rectangular body, 34.21 \u00d7 29.4 \u00d7 4 mm (W\u00d7D\u00d7H).", "Five ribs, 5.5 mm thick, 14.7 mm tall."], "text": "Rectangular body, 34.21 \u00d7 29.4 \u00d7 4 mm (W\u00d7D\u00d7H). Five ribs, 5.5 mm thick, 14.7 mm tall."}, "params": {"base_w": {"type": "float", "default": 34.21, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 29.4, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 4.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 5, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 14.7, "min": 5.9, "max": 29.4, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 5.5, "min": 1.0, "max": 13.8, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333431 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 34.21, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 29.4, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 5, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 14.7, \"min\": 5.9, \"max\": 29.4, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 5.5, \"min\": 1.0, \"max\": 13.8, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462caeb8_4868", "family": "bracket", "tier": 2, "seed": 1177333432, "symmetry": "none", "op_count": 1, "ir_hash": "41ba471b089e79cb", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 5290.0, "surface_area": 3090.0, "principal_moments": [224000.0, 1270000.0, 1300000.0], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Z-bracket: base leg 27.37 mm, vertical leg 25 mm, top leg 29.3 mm, 15 mm wide, 5 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 5.1 mm corner gusset."], "text": "Z-bracket: base leg 27.37 mm, vertical leg 25 mm, top leg 29.3 mm, 15 mm wide, 5 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 5.1 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 27.37, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 25.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 15.0, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 5.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 29.3, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 6.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}, "gusset_t": {"type": "float", "default": 5.1, "min": 2.5, "max": 7.5, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333432 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 27.37, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 25.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 15.0, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 29.3, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 6.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 5.1, \"min\": 2.5, \"max\": 7.5, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _tl, _vl) * 0.4 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(0, _vl - _bt).lineTo(-_g, _vl - _bt)\n                    .lineTo(0, _vl - _bt - _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462caeb9_4869", "family": "compound", "tier": 1, "seed": 1177333433, "symmetry": "none", "op_count": 2, "ir_hash": "7f753a293c89f4dd", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 16000.0, "surface_area": 5640.0, "principal_moments": [1180000.0, 3380000.0, 3380000.0], "n_faces": 6, "n_edges": 9, "n_vertices": 6}, "dimensions": {"lines": ["\u00d824.33 mm circular section, extruded 33.4 mm thick.", "\u00d811.2 mm circular section attachment, 26.9 mm long, from top face with a \u00d86.8 mm bore."], "text": "\u00d824.33 mm circular section, extruded 33.4 mm thick. \u00d811.2 mm circular section attachment, 26.9 mm long, from top face with a \u00d86.8 mm bore."}, "params": {"shaft_d": {"type": "float", "default": 24.33, "min": 12.2, "max": 43.8, "step": 1.0, "group": "Body", "label": "Shaft diameter (mm)"}, "shaft_len": {"type": "float", "default": 33.4, "min": 13.4, "max": 66.8, "step": 1.0, "group": "Body", "label": "Shaft length (mm)"}, "step_d": {"type": "float", "default": 11.2, "min": 5.6, "max": 21.9, "step": 1.0, "group": "Step", "label": "Step diameter (mm)"}, "step_len": {"type": "float", "default": 26.9, "min": 8.1, "max": 67.2, "step": 1.0, "group": "Step", "label": "Step length (mm)"}, "axial_bore": {"type": "float", "default": 6.8, "min": 2.0, "max": 8.1, "step": 0.5, "group": "Bore", "label": "Axial bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333433 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"shaft_d\": {\"type\": 'float', \"default\": 24.33, \"min\": 12.2, \"max\": 43.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft diameter (mm)'},\n    \"shaft_len\": {\"type\": 'float', \"default\": 33.4, \"min\": 13.4, \"max\": 66.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft length (mm)'},\n    \"step_d\": {\"type\": 'float', \"default\": 11.2, \"min\": 5.6, \"max\": 21.9, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step diameter (mm)'},\n    \"step_len\": {\"type\": 'float', \"default\": 26.9, \"min\": 8.1, \"max\": 67.2, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step length (mm)'},\n    \"axial_bore\": {\"type\": 'float', \"default\": 6.8, \"min\": 2.0, \"max\": 8.1, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Axial bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').circle(p[\"shaft_d\"] / 2).extrude(p[\"shaft_len\"]))\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"step_d\"] / 2).extrude(p[\"step_len\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"axial_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462caeba_4870", "family": "plate", "tier": 2, "seed": 1177333434, "symmetry": "none", "op_count": 3, "ir_hash": "487c88bd44ef3623", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 37700.0, "surface_area": 10500.0, "principal_moments": [6200000.0, 24299999.999999996, 29899999.999999996], "n_faces": 18, "n_edges": 44, "n_vertices": 28}, "dimensions": {"lines": ["Rectangular body, 87.91 \u00d7 43.5 \u00d7 10 mm (W\u00d7D\u00d7H).", "Four \u00d83.2 mm countersunk holes (82\u00b0) at the corners, 61.537 \u00d7 30.45 mm spacing.", "Chamfer 2.4 mm on vertical edges."], "text": "Rectangular body, 87.91 \u00d7 43.5 \u00d7 10 mm (W\u00d7D\u00d7H). Four \u00d83.2 mm countersunk holes (82\u00b0) at the corners, 61.537 \u00d7 30.45 mm spacing. Chamfer 2.4 mm on vertical edges."}, "params": {"plate_w": {"type": "float", "default": 87.91, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 43.5, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 9.8, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "cs_angle": {"type": "float", "default": 82.0, "min": 60.0, "max": 120.0, "step": 15.0, "group": "Holes", "label": "Countersink angle (\u00b0)"}, "chamfer_d": {"type": "float", "default": 2.4, "min": 1.5, "max": 2.5, "step": 0.5, "group": "Body", "label": "Chamfer distance (mm)"}, "chamfered": {"type": "bool", "default": true, "group": "Body", "label": "Chamfer edges"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333434 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 87.91, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 43.5, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 9.8, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"cs_angle\": {\"type\": 'float', \"default\": 82.0, \"min\": 60.0, \"max\": 120.0, \"step\": 15.0, \"group\": 'Holes', \"label\": 'Countersink angle (\u00b0)'},\n    \"chamfer_d\": {\"type\": 'float', \"default\": 2.4, \"min\": 1.5, \"max\": 2.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Chamfer distance (mm)'},\n    \"chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Chamfer edges'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().cskHole(p[\"hole_d\"], p[\"hole_d\"] * 2, p[\"cs_angle\"])\n    )\n    if p[\"chamfered\"]:\n        result = result.edges('|Z').chamfer(p[\"chamfer_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462caebb_4871", "family": "swept", "tier": 1, "seed": 1177333435, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "c60918fb3952fe83", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 5560.0, "surface_area": 2910.0, "principal_moments": [163000.0, 4780000.0, 4880000.0], "n_faces": 3, "n_edges": 3, "n_vertices": 2}, "dimensions": {"lines": ["\u00d89.1 mm circular section swept along a curved path, ~100 mm span."], "text": "\u00d89.1 mm circular section swept along a curved path, ~100 mm span."}, "params": {"path_w": {"type": "float", "default": 67.51, "min": 33.8, "max": 121.5, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 100, "min": 50.0, "max": 180.0, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_d": {"type": "float", "default": 9.1, "min": 4.5, "max": 16.4, "step": 1.0, "group": "Section", "label": "Section diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333435 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 67.51, \"min\": 33.8, \"max\": 121.5, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 100, \"min\": 50.0, \"max\": 180.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_d\": {\"type\": 'float', \"default\": 9.1, \"min\": 4.5, \"max\": 16.4, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.3165), (p[\"path_w\"] * 0.1289, p[\"path_h\"] * 0.4192), (p[\"path_w\"] * 0.1805, p[\"path_h\"] * 0.5694), (p[\"path_w\"] * 0.0887, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').circle(p[\"sweep_d\"] / 2).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462caebc_4872", "family": "gear", "tier": 3, "seed": 1177333436, "symmetry": "none", "op_count": 1, "ir_hash": "890f3eeeba55b6a9", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 252000.0, "surface_area": 61100.0, "principal_moments": [1120000000.0, 1120000000.0, 2190000000.0], "n_faces": 143, "n_edges": 423, "n_vertices": 282}, "dimensions": {"lines": ["Ring gear, module 6 mm, 28 teeth (pitch \u00d8168 mm), face width 36.8 mm."], "text": "Ring gear, module 6 mm, 28 teeth (pitch \u00d8168 mm), face width 36.8 mm."}, "params": {"module": {"type": "float", "default": 6.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 28, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 36.8, "min": 14.7, "max": 92.0, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "profile_shift": {"type": "float", "default": -0.12, "min": -0.5, "max": 0.7, "step": 0.05, "group": "Gear", "label": "Profile shift"}, "root_fillet": {"type": "float", "default": 1.62, "min": 0.0, "max": 3.0, "step": 0.05, "group": "Gear", "label": "Root fillet (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333436 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 6.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 28, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 36.8, \"min\": 14.7, \"max\": 92.0, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"profile_shift\": {\"type\": 'float', \"default\": -0.12, \"min\": -0.5, \"max\": 0.7, \"step\": 0.05, \"group\": 'Gear', \"label\": 'Profile shift'},\n    \"root_fillet\": {\"type\": 'float', \"default\": 1.62, \"min\": 0.0, \"max\": 3.0, \"step\": 0.05, \"group\": 'Gear', \"label\": 'Root fillet (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurRingGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"], profile_shift=p[\"profile_shift\"], root_fillet=p[\"root_fillet\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462caebd_4873", "family": "block", "tier": 2, "seed": 1177333437, "symmetry": "none", "op_count": 3, "ir_hash": "90ef15f1ae4b6166", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 108000.0, "surface_area": 21200.0, "principal_moments": [40300000.0, 51299999.99999999, 79900000.0], "n_faces": 42, "n_edges": 120, "n_vertices": 80}, "dimensions": {"lines": ["Rectangular body, 63.47 \u00d7 26.2 \u00d7 71 mm (W\u00d7D\u00d7H).", "Four 6.4 mm square holes at the corners, 44.429 \u00d7 18.34 mm spacing.", "Fillet radius 3.12 mm on vertical edges."], "text": "Rectangular body, 63.47 \u00d7 26.2 \u00d7 71 mm (W\u00d7D\u00d7H). Four 6.4 mm square holes at the corners, 44.429 \u00d7 18.34 mm spacing. Fillet radius 3.12 mm on vertical edges."}, "params": {"block_w": {"type": "float", "default": 63.47, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 26.2, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 71.0, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 7.7, "step": 0.5, "group": "Holes", "label": "Square hole size (mm)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333437 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 63.47, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 26.2, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 71.0, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 7.7, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Square hole size (mm)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().rect(p[\"hole_d\"], p[\"hole_d\"]).cutThruAll()\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"block_w\"], p[\"block_d\"]) * 0.11909863467449308)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462caebe_4874", "family": "block", "tier": 1, "seed": 1177333438, "symmetry": "radial", "op_count": 2, "ir_hash": "6ed45c284884f6d2", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 79300.0, "surface_area": 14500.0, "principal_moments": [22700000.0, 27399999.999999996, 38300000.0], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Rectangular body, 50 \u00d7 29.7 \u00d7 57 mm (W\u00d7D\u00d7H).", "Four \u00d86.4 mm holes on a \u00d830 mm bolt circle."], "text": "Rectangular body, 50 \u00d7 29.7 \u00d7 57 mm (W\u00d7D\u00d7H). Four \u00d86.4 mm holes on a \u00d830 mm bolt circle."}, "params": {"block_w": {"type": "float", "default": 50, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 29.7, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 57.0, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "bolt_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 15.0, "min": 10.0, "max": 22.5, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 4, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333438 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 50, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 29.7, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 57.0, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 15.0, \"min\": 10.0, \"max\": 22.5, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 4, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462caebf_4875", "family": "plate", "tier": 3, "seed": 1177333439, "symmetry": "none", "op_count": 3, "ir_hash": "64161f534cda97a5", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 8790.0, "surface_area": 5100.0, "principal_moments": [759000.0, 2610000.0, 3310000.0], "n_faces": 27, "n_edges": 72, "n_vertices": 48}, "dimensions": {"lines": ["Rectangular body, 57.43 \u00d7 30.8 \u00d7 6 mm (W\u00d7D\u00d7H).", "Four 5.2 mm square holes at the corners, 40.201 \u00d7 21.56 mm spacing.", "Pocket 27.2 \u00d7 17.2 mm, 2.5 mm deep, in top face."], "text": "Rectangular body, 57.43 \u00d7 30.8 \u00d7 6 mm (W\u00d7D\u00d7H). Four 5.2 mm square holes at the corners, 40.201 \u00d7 21.56 mm spacing. Pocket 27.2 \u00d7 17.2 mm, 2.5 mm deep, in top face."}, "params": {"plate_w": {"type": "float", "default": 57.43, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 30.8, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 6.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.2, "min": 2.0, "max": 9.0, "step": 0.5, "group": "Holes", "label": "Square hole size (mm)"}, "pocket_w": {"type": "float", "default": 27.2, "min": 13.6, "max": 45.9, "step": 1.0, "group": "Pocket", "label": "Pocket width (mm)"}, "pocket_d": {"type": "float", "default": 17.2, "min": 8.6, "max": 24.6, "step": 1.0, "group": "Pocket", "label": "Pocket depth (mm)"}, "pocket_h": {"type": "float", "default": 2.5, "min": 1.0, "max": 5.1, "step": 0.5, "group": "Pocket", "label": "Pocket height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333439 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 57.43, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 30.8, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.2, \"min\": 2.0, \"max\": 9.0, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Square hole size (mm)'},\n    \"pocket_w\": {\"type\": 'float', \"default\": 27.2, \"min\": 13.6, \"max\": 45.9, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket width (mm)'},\n    \"pocket_d\": {\"type\": 'float', \"default\": 17.2, \"min\": 8.6, \"max\": 24.6, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket depth (mm)'},\n    \"pocket_h\": {\"type\": 'float', \"default\": 2.5, \"min\": 1.0, \"max\": 5.1, \"step\": 0.5, \"group\": 'Pocket', \"label\": 'Pocket height (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().rect(p[\"hole_d\"], p[\"hole_d\"]).cutThruAll()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"pocket_w\"], p[\"pocket_d\"])\n        .cutBlind(-p[\"pocket_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462caec0_4876", "family": "gear", "tier": 0, "seed": 1177333440, "symmetry": "none", "op_count": 1, "ir_hash": "a3078020279cbfc3", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 4390.0, "surface_area": 2640.0, "principal_moments": [283000.0, 283000.0, 541000.0], "n_faces": 152, "n_edges": 450, "n_vertices": 300}, "dimensions": {"lines": ["Spur gear, module 1.25 mm, 25 teeth (pitch \u00d831.25 mm), face width 5.8 mm."], "text": "Spur gear, module 1.25 mm, 25 teeth (pitch \u00d831.25 mm), face width 5.8 mm."}, "params": {"module": {"type": "float", "default": 1.25, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 25, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 5.8, "min": 2.3, "max": 14.5, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333440 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 1.25, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 25, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 5.8, \"min\": 2.3, \"max\": 14.5, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462caec1_4877", "family": "plate", "tier": 0, "seed": 1177333441, "symmetry": "none", "op_count": 1, "ir_hash": "cd6a010201655707", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 20000.0, "surface_area": 5900.0, "principal_moments": [1760000.0, 7060000.0, 8490000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 64.38 \u00d7 31 \u00d7 10 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 64.38 \u00d7 31 \u00d7 10 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 64.38, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 31.0, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333441 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 64.38, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 31.0, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462caec2_4878", "family": "bracket", "tier": 1, "seed": 1177333442, "symmetry": "none", "op_count": 1, "ir_hash": "f53f139d6130621b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 8720.0, "surface_area": 6600.0, "principal_moments": [1520000.0, 3240000.0, 3520000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["L-bracket: base leg 39.73 mm, vertical leg 47.1 mm, 35 mm wide, 3 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."], "text": "L-bracket: base leg 39.73 mm, vertical leg 47.1 mm, 35 mm wide, 3 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 39.73, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 47.1, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 35, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 3.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333442 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 39.73, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 47.1, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 35, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462caec3_4879", "family": "block", "tier": 2, "seed": 1177333443, "symmetry": "radial", "op_count": 3, "ir_hash": "dbcdbbcbefdade7d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 390000.0, "surface_area": 46400.0, "principal_moments": [396000000.0, 400000000.0, 603000000.0], "n_faces": 19, "n_edges": 54, "n_vertices": 36}, "dimensions": {"lines": ["Rectangular body, 91.92 \u00d7 51.2 \u00d7 96.9 mm (W\u00d7D\u00d7H).", "Four \u00d84.3 mm holes on a \u00d855.2 mm bolt circle.", "Pocket 54.7 \u00d7 23.8 mm, 48.9 mm deep, in top face."], "text": "Rectangular body, 91.92 \u00d7 51.2 \u00d7 96.9 mm (W\u00d7D\u00d7H). Four \u00d84.3 mm holes on a \u00d855.2 mm bolt circle. Pocket 54.7 \u00d7 23.8 mm, 48.9 mm deep, in top face."}, "params": {"block_w": {"type": "float", "default": 91.92, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 51.2, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 96.9, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "bolt_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 27.6, "min": 18.4, "max": 41.4, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 4, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}, "pocket_w": {"type": "float", "default": 54.7, "min": 27.4, "max": 73.5, "step": 1.0, "group": "Pocket", "label": "Pocket width (mm)"}, "pocket_d": {"type": "float", "default": 23.8, "min": 11.9, "max": 41.0, "step": 1.0, "group": "Pocket", "label": "Pocket depth (mm)"}, "pocket_h": {"type": "float", "default": 48.9, "min": 19.6, "max": 82.4, "step": 0.5, "group": "Pocket", "label": "Pocket height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333443 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 91.92, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 51.2, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 96.9, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 27.6, \"min\": 18.4, \"max\": 41.4, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 4, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n    \"pocket_w\": {\"type\": 'float', \"default\": 54.7, \"min\": 27.4, \"max\": 73.5, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket width (mm)'},\n    \"pocket_d\": {\"type\": 'float', \"default\": 23.8, \"min\": 11.9, \"max\": 41.0, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket depth (mm)'},\n    \"pocket_h\": {\"type\": 'float', \"default\": 48.9, \"min\": 19.6, \"max\": 82.4, \"step\": 0.5, \"group\": 'Pocket', \"label\": 'Pocket height (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"pocket_w\"], p[\"pocket_d\"])\n        .cutBlind(-p[\"pocket_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462caec4_4880", "family": "sketched", "tier": 2, "seed": 1177333444, "symmetry": "mirror_xy", "op_count": 3, "ir_hash": "81d70ca176700eea", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 17600.0, "surface_area": 5030.0, "principal_moments": [1310000.0, 3710000.0, 4360000.0], "n_faces": 9, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["freeform sketched section (4 segments: 2 arcs, 2 curves), ~33.256 \u00d7 58.53 mm, extruded 13.36 mm thick.", "One \u00d86.4 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch.", "Boss \u00d817.3 mm \u00d7 5.1 mm tall on top face with a \u00d86.4 mm bore."], "text": "freeform sketched section (4 segments: 2 arcs, 2 curves), ~33.256 \u00d7 58.53 mm, extruded 13.36 mm thick. One \u00d86.4 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch. Boss \u00d817.3 mm \u00d7 5.1 mm tall on top face with a \u00d86.4 mm bore."}, "params": {"sk_w": {"type": "float", "default": 45.7, "min": 22.9, "max": 82.3, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 80.2, "min": 40.1, "max": 144.4, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "sk_t": {"type": "float", "default": 13.36, "min": 5.3, "max": 29.4, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "sk_hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 12.8, "step": 0.5, "group": "Holes", "label": "Hole diameter (mm)"}, "boss_d": {"type": "float", "default": 17.3, "min": 8.7, "max": 34.6, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 5.1, "min": 2.0, "max": 12.8, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}, "boss_bore_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 12.1, "step": 0.1, "group": "Boss", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333444 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 45.7, \"min\": 22.9, \"max\": 82.3, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 80.2, \"min\": 40.1, \"max\": 144.4, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"sk_t\": {\"type\": 'float', \"default\": 13.36, \"min\": 5.3, \"max\": 29.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"sk_hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 12.8, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"boss_d\": {\"type\": 'float', \"default\": 17.3, \"min\": 8.7, \"max\": 34.6, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 5.1, \"min\": 2.0, \"max\": 12.8, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n    \"boss_bore_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 12.1, \"step\": 0.1, \"group\": 'Boss', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.3272, p[\"sk_h\"] * 0.1563).threePointArc((p[\"sk_w\"] * 0.2689, p[\"sk_h\"] * 0.2495), (p[\"sk_w\"] * 0.169, p[\"sk_h\"] * 0.2913)).spline([(p[\"sk_w\"] * 0.169, p[\"sk_h\"] * 0.2913), (p[\"sk_w\"] * -0.1479, p[\"sk_h\"] * 0.1521), (p[\"sk_w\"] * -0.4005, p[\"sk_h\"] * -0.0844)]).threePointArc((p[\"sk_w\"] * -0.2049, p[\"sk_h\"] * -0.3363), (p[\"sk_w\"] * 0.1116, p[\"sk_h\"] * -0.4385)).bezier([(p[\"sk_w\"] * 0.1116, p[\"sk_h\"] * -0.4385), (p[\"sk_w\"] * 0.2845, p[\"sk_h\"] * -0.1647), (p[\"sk_w\"] * 0.3272, p[\"sk_h\"] * 0.1563)]).close().extrude(p[\"sk_t\"]))\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"sk_hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .hole(p[\"boss_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462caec5_4881", "family": "plate", "tier": 0, "seed": 1177333445, "symmetry": "none", "op_count": 1, "ir_hash": "28d07054ddfd838d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 29600.0, "surface_area": 8120.0, "principal_moments": [5350000.0, 10700000.0, 15499999.999999998], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 65 \u00d7 45.5 \u00d7 10 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 65 \u00d7 45.5 \u00d7 10 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 65, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 45.5, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333445 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 65, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 45.5, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462caec6_4882", "family": "lofted", "tier": 3, "seed": 1177333446, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "57fa2523ee272b30", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 30700.0, "surface_area": 7330.0, "principal_moments": [5530000.0, 6060000.0, 6060000.0], "n_faces": 8, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["Lofted body through 3 sections: \u00d839.72 mm circular section \u2192 \u00d834.8 mm circular section \u2192 29.8 \u00d7 29.8 mm rectangular section.", "One \u00d812.6 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 3 sections: \u00d839.72 mm circular section \u2192 \u00d834.8 mm circular section \u2192 29.8 \u00d7 29.8 mm rectangular section. One \u00d812.6 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 39.72, "min": 19.9, "max": 63.6, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 29.8, "min": 11.9, "max": 47.7, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 35.5, "min": 14.2, "max": 71.0, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_mid": {"type": "float", "default": 34.8, "min": 14.9, "max": 47.7, "step": 1.0, "group": "Body", "label": "Mid size (mm)"}, "loft_bore_d": {"type": "float", "default": 12.6, "min": 2.0, "max": 23.8, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333446 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 39.72, \"min\": 19.9, \"max\": 63.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 29.8, \"min\": 11.9, \"max\": 47.7, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 35.5, \"min\": 14.2, \"max\": 71.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_mid\": {\"type\": 'float', \"default\": 34.8, \"min\": 14.9, \"max\": 47.7, \"step\": 1.0, \"group\": 'Body', \"label\": 'Mid size (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 12.6, \"min\": 2.0, \"max\": 23.8, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .circle(p[\"loft_base\"] / 2)\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .circle(p[\"loft_mid\"] / 2)\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .rect(p[\"loft_top\"], p[\"loft_top\"])\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462caec7_4883", "family": "tapped", "tier": 1, "seed": 1177333447, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "fd47e0578193cb67", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 82000.0, "surface_area": 16800.0, "principal_moments": [34400000.0, 44900000.0, 76200000.0], "n_faces": 618, "n_edges": 1696, "n_vertices": 1080}, "dimensions": {"lines": ["Four M5x0.8 tapped holes in a plate."], "text": "Four M5x0.8 tapped holes in a plate."}, "params": {"major_d": {"type": "float", "default": 5.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 0.8, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 15.0, "min": 6.0, "max": 27.0, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "plate_w": {"type": "float", "default": 79.7, "min": 47.8, "max": 127.5, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 69.4, "min": 41.6, "max": 111.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333447 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 0.8, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 15.0, \"min\": 6.0, \"max\": 27.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"plate_w\": {\"type\": 'float', \"default\": 79.7, \"min\": 47.8, \"max\": 127.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 69.4, \"min\": 41.6, \"max\": 111.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n}\n\n\ndef build(p):\n\n    _W, _D, _H = p[\"plate_w\"], p[\"plate_d\"], p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Box(_W, _D, _H)\n    _sx, _sy = p[\"plate_w\"] * 0.6, p[\"plate_d\"] * 0.6\n    _locs = [(_xx, _yy) for _xx in (-_sx / 2, _sx / 2) for _yy in (-_sy / 2, _sy / 2)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462caec8_4884", "family": "ribbed", "tier": 2, "seed": 1177333448, "symmetry": "none", "op_count": 2, "ir_hash": "52e20bb40c132d03", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 27900.0, "surface_area": 11500.0, "principal_moments": [5030000.0, 7550000.0, 11000000.0], "n_faces": 46, "n_edges": 112, "n_vertices": 68}, "dimensions": {"lines": ["Rectangular body, 54.3 \u00d7 42.4 \u00d7 8 mm (W\u00d7D\u00d7H).", "Five ribs, 3.9 mm thick, 11.2 mm tall."], "text": "Rectangular body, 54.3 \u00d7 42.4 \u00d7 8 mm (W\u00d7D\u00d7H). Five ribs, 3.9 mm thick, 11.2 mm tall."}, "params": {"base_w": {"type": "float", "default": 54.3, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 42.4, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 8.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 5, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 11.2, "min": 4.5, "max": 22.4, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 3.9, "min": 1.0, "max": 9.8, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333448 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 54.3, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 42.4, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 5, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 11.2, \"min\": 4.5, \"max\": 22.4, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 3.9, \"min\": 1.0, \"max\": 9.8, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462caec9_4885", "family": "swept", "tier": 1, "seed": 1177333449, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "42258a0e595678c6", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 4220.0, "surface_area": 2090.0, "principal_moments": [42600.0, 1890000.0, 1900000.0], "n_faces": 3, "n_edges": 3, "n_vertices": 2}, "dimensions": {"lines": ["\u00d88.6 mm circular section swept along a curved path, ~72.68 mm span."], "text": "\u00d88.6 mm circular section swept along a curved path, ~72.68 mm span."}, "params": {"path_w": {"type": "float", "default": 35, "min": 17.5, "max": 63.0, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 72.68, "min": 36.3, "max": 130.8, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_d": {"type": "float", "default": 8.6, "min": 4.3, "max": 15.5, "step": 1.0, "group": "Section", "label": "Section diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333449 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 35, \"min\": 17.5, \"max\": 63.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 72.68, \"min\": 36.3, \"max\": 130.8, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_d\": {\"type\": 'float', \"default\": 8.6, \"min\": 4.3, \"max\": 15.5, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.2749), (p[\"path_w\"] * 0.0994, p[\"path_h\"] * 0.7244), (p[\"path_w\"] * 0.0, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').circle(p[\"sweep_d\"] / 2).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462caeca_4886", "family": "block", "tier": 1, "seed": 1177333450, "symmetry": "radial", "op_count": 2, "ir_hash": "b42ef215f9a4a7e4", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 106000.0, "surface_area": 20900.0, "principal_moments": [26099999.999999996, 65399999.99999999, 68200000.0], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Rectangular body, 40 \u00d7 36 \u00d7 78.1 mm (W\u00d7D\u00d7H).", "Six \u00d84.3 mm holes on a \u00d824 mm bolt circle."], "text": "Rectangular body, 40 \u00d7 36 \u00d7 78.1 mm (W\u00d7D\u00d7H). Six \u00d84.3 mm holes on a \u00d824 mm bolt circle."}, "params": {"block_w": {"type": "float", "default": 40, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 36.0, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 78.1, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "bolt_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 12.0, "min": 8.0, "max": 18.0, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 6, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333450 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 40, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 36.0, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 78.1, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 12.0, \"min\": 8.0, \"max\": 18.0, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462caecb_4887", "family": "block", "tier": 1, "seed": 1177333451, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "6fda46b7e8b7288c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 800000.0, "surface_area": 62400.0, "principal_moments": [1080000000.0, 1150000000.0, 1270000000.0], "n_faces": 22, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 95.46 \u00d7 85.5 \u00d7 100 mm (W\u00d7D\u00d7H).", "Four 6.4 mm square holes at the corners, 66.822 \u00d7 59.85 mm spacing."], "text": "Rectangular body, 95.46 \u00d7 85.5 \u00d7 100 mm (W\u00d7D\u00d7H). Four 6.4 mm square holes at the corners, 66.822 \u00d7 59.85 mm spacing."}, "params": {"block_w": {"type": "float", "default": 95.46, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 85.5, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 100.0, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 16.9, "step": 0.5, "group": "Holes", "label": "Square hole size (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333451 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 95.46, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 85.5, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 100.0, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 16.9, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Square hole size (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().rect(p[\"hole_d\"], p[\"hole_d\"]).cutThruAll()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462caecc_4888", "family": "block", "tier": 3, "seed": 1177333452, "symmetry": "mirror_xy", "op_count": 4, "ir_hash": "ed523cb5aa447586", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 452000.0, "surface_area": 42100.0, "principal_moments": [366000000.0, 495000000.0, 610000000.0], "n_faces": 14, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 100 \u00d7 80.7 \u00d7 57.7 mm (W\u00d7D\u00d7H).", "Four \u00d88.4 mm holes at the corners, 70 \u00d7 56.49 mm spacing.", "Fillet radius 4.816 mm on vertical edges.", "Fillet radius 9.371 mm on vertical edges (optional, off by default)."], "text": "Rectangular body, 100 \u00d7 80.7 \u00d7 57.7 mm (W\u00d7D\u00d7H). Four \u00d88.4 mm holes at the corners, 70 \u00d7 56.49 mm spacing. Fillet radius 4.816 mm on vertical edges. Fillet radius 9.371 mm on vertical edges (optional, off by default)."}, "params": {"block_w": {"type": "float", "default": 100.0, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 80.7, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 57.7, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 8.4, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}, "filleted2": {"type": "bool", "default": false, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333452 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 100.0, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 80.7, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 57.7, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n    \"filleted2\": {\"type\": 'bool', \"default\": False, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"block_w\"], p[\"block_d\"]) * 0.05967792668214402)\n    if p[\"filleted2\"]:\n        result = result.edges('|Z').fillet(min(p[\"block_w\"], p[\"block_d\"]) * 0.11612046872970719)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462caecd_4889", "family": "plate", "tier": 2, "seed": 1177333453, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "0706f0195ac625b9", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 70400.0, "surface_area": 16500.0, "principal_moments": [19500000.0, 65399999.99999999, 83200000.0], "n_faces": 14, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 105.73 \u00d7 56.8 \u00d7 12 mm (W\u00d7D\u00d7H).", "Four \u00d86.4 mm holes at the corners, 74.011 \u00d7 39.76 mm spacing.", "Fillet radius 3.953 mm on vertical edges."], "text": "Rectangular body, 105.73 \u00d7 56.8 \u00d7 12 mm (W\u00d7D\u00d7H). Four \u00d86.4 mm holes at the corners, 74.011 \u00d7 39.76 mm spacing. Fillet radius 3.953 mm on vertical edges."}, "params": {"plate_w": {"type": "float", "default": 105.73, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 56.8, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 12.8, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333453 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 105.73, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 56.8, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 12.8, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"plate_w\"], p[\"plate_d\"]) * 0.06959273825494165)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462caece_4890", "family": "lofted", "tier": 0, "seed": 1177333454, "symmetry": "none", "op_count": 1, "ir_hash": "a014e33438b6d09e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 102000.0, "surface_area": 12500.0, "principal_moments": [30799999.999999996, 40500000.0, 40600000.0], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Lofted body through 2 sections: 6-sided polygon section, 55 mm across corners \u2192 41.9 \u00d7 41.9 mm rectangular section."], "text": "Lofted body through 2 sections: 6-sided polygon section, 55 mm across corners \u2192 41.9 \u00d7 41.9 mm rectangular section."}, "params": {"loft_base": {"type": "float", "default": 55, "min": 27.5, "max": 88.0, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 41.9, "min": 16.8, "max": 66.0, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 54.5, "min": 21.8, "max": 109.0, "step": 1.0, "group": "Body", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333454 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 55, \"min\": 27.5, \"max\": 88.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 41.9, \"min\": 16.8, \"max\": 66.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 54.5, \"min\": 21.8, \"max\": 109.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .polygon(6, p[\"loft_base\"] * 0.5 * 2)\n        .workplane(offset=p[\"loft_h\"])\n        .rect(p[\"loft_top\"], p[\"loft_top\"])\n        .loft(combine=True)\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462caecf_4891", "family": "sketched", "tier": 3, "seed": 1177333455, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "2ae67e1c0beac6b1", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 40800.0, "surface_area": 12000.0, "principal_moments": [8840000.0, 8840000.0, 11100000.0], "n_faces": 7, "n_edges": 12, "n_vertices": 7}, "dimensions": {"lines": ["Revolved organic body from a freeform sketched section (6 segments: 2 straight, 4 arcs), ~22.216 \u00d7 30 mm half-silhouette."], "text": "Revolved organic body from a freeform sketched section (6 segments: 2 straight, 4 arcs), ~22.216 \u00d7 30 mm half-silhouette."}, "params": {"sk_r": {"type": "float", "default": 45.0, "min": 22.5, "max": 81.0, "step": 1.0, "group": "Sketch", "label": "Max radius (mm)"}, "sk_h": {"type": "float", "default": 30, "min": 15.0, "max": 54.0, "step": 1.0, "group": "Sketch", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333455 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_r\": {\"type\": 'float', \"default\": 45.0, \"min\": 22.5, \"max\": 81.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Max radius (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 30, \"min\": 15.0, \"max\": 54.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XZ').moveTo(p[\"sk_r\"] * 0.6281, p[\"sk_h\"] * 0.0).threePointArc((p[\"sk_r\"] * 0.5007, p[\"sk_h\"] * 0.0891), (p[\"sk_r\"] * 0.5288, p[\"sk_h\"] * 0.1783)).threePointArc((p[\"sk_r\"] * 0.521, p[\"sk_h\"] * 0.336), (p[\"sk_r\"] * 0.3134, p[\"sk_h\"] * 0.4938)).threePointArc((p[\"sk_r\"] * 0.3932, p[\"sk_h\"] * 0.6501), (p[\"sk_r\"] * 0.6175, p[\"sk_h\"] * 0.8065)).threePointArc((p[\"sk_r\"] * 0.5272, p[\"sk_h\"] * 0.9032), (p[\"sk_r\"] * 0.2477, p[\"sk_h\"] * 1.0)).lineTo(p[\"sk_r\"] * 0.1344, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.1344, p[\"sk_h\"] * 0.0).close().revolve())\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462caed0_4892", "family": "compound", "tier": 1, "seed": 1177333456, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "51ec51fd25c9b86d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 345000.0, "surface_area": 36200.0, "principal_moments": [262000000.0, 293000000.0, 348000000.0], "n_faces": 14, "n_edges": 33, "n_vertices": 21}, "dimensions": {"lines": ["Rectangular body, 80 \u00d7 58.7 \u00d7 74 mm (W\u00d7D\u00d7H).", "\u00d817.1 mm circular section attachment, 17.6 mm long, from right face with a \u00d89.1 mm bore.", "\u00d817.1 mm circular section attachment, 17.6 mm long, from front face with a \u00d89.1 mm bore."], "text": "Rectangular body, 80 \u00d7 58.7 \u00d7 74 mm (W\u00d7D\u00d7H). \u00d817.1 mm circular section attachment, 17.6 mm long, from right face with a \u00d89.1 mm bore. \u00d817.1 mm circular section attachment, 17.6 mm long, from front face with a \u00d89.1 mm bore."}, "params": {"block_w": {"type": "float", "default": 80, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body width (mm)"}, "block_d": {"type": "float", "default": 58.7, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body depth (mm)"}, "block_h": {"type": "float", "default": 74.0, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body height (mm)"}, "port_d": {"type": "float", "default": 17.1, "min": 6.8, "max": 26.4, "step": 1.0, "group": "Ports", "label": "Ports diameter (mm)"}, "port_len": {"type": "float", "default": 17.6, "min": 4.3, "max": 51.3, "step": 1.0, "group": "Ports", "label": "Port boss length (mm)"}, "port_bore": {"type": "float", "default": 9.1, "min": 2.0, "max": 12.3, "step": 0.5, "group": "Ports", "label": "Port bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333456 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 80, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 58.7, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 74.0, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body height (mm)'},\n    \"port_d\": {\"type\": 'float', \"default\": 17.1, \"min\": 6.8, \"max\": 26.4, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Ports diameter (mm)'},\n    \"port_len\": {\"type\": 'float', \"default\": 17.6, \"min\": 4.3, \"max\": 51.3, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Port boss length (mm)'},\n    \"port_bore\": {\"type\": 'float', \"default\": 9.1, \"min\": 2.0, \"max\": 12.3, \"step\": 0.5, \"group\": 'Ports', \"label\": 'Port bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462caed2_4894", "family": "block", "tier": 1, "seed": 1177333458, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "da971c1b88ddca0d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 526000.0, "surface_area": 49000.0, "principal_moments": [544000000.0, 579000000.0, 695000000.0], "n_faces": 11, "n_edges": 27, "n_vertices": 18}, "dimensions": {"lines": ["Rectangular body, 91.04 \u00d7 85.8 \u00d7 69.8 mm (W\u00d7D\u00d7H).", "Five \u00d88.4 mm holes in two staggered rows, 34.1 \u00d7 30 mm pitch."], "text": "Rectangular body, 91.04 \u00d7 85.8 \u00d7 69.8 mm (W\u00d7D\u00d7H). Five \u00d88.4 mm holes in two staggered rows, 34.1 \u00d7 30 mm pitch."}, "params": {"block_w": {"type": "float", "default": 91.04, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 85.8, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 69.8, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 8.4, "min": 2.0, "max": 8.6, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 3, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333458 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 91.04, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 85.8, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 69.8, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 2.0, \"max\": 8.6, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 3, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 34.1\n    _ssy = 30.0\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462caed3_4895", "family": "gear", "tier": 0, "seed": 1177333459, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "1cf45959ca4c7171", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 3670.0, "surface_area": 2510.0, "principal_moments": [242000.0, 242000.0, 471000.0], "n_faces": 194, "n_edges": 576, "n_vertices": 384}, "dimensions": {"lines": ["Spur gear, module 1 mm, 32 teeth (pitch \u00d832 mm), face width 4.6 mm."], "text": "Spur gear, module 1 mm, 32 teeth (pitch \u00d832 mm), face width 4.6 mm."}, "params": {"module": {"type": "float", "default": 1.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 32, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 4.6, "min": 1.8, "max": 11.5, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333459 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 1.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 32, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 4.6, \"min\": 1.8, \"max\": 11.5, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462caed4_4896", "family": "flanged", "tier": 2, "seed": 1177333460, "symmetry": "none", "op_count": 3, "ir_hash": "2aa351c9822a83d9", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 475000.0, "surface_area": 79000.0, "principal_moments": [942000000.0, 942000000.0, 1740000000.0], "n_faces": 22, "n_edges": 47, "n_vertices": 28}, "dimensions": {"lines": ["Revolved body, \u00d890 mm \u00d7 45.1 mm tall with \u00d844 mm bore, \u00d8193.5 mm \u00d7 11.2 mm flange.", "Six \u00d85.3 mm holes on a \u00d8116 mm bolt circle.", "Chamfer 0.4 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d890 mm \u00d7 45.1 mm tall with \u00d844 mm bore, \u00d8193.5 mm \u00d7 11.2 mm flange. Six \u00d85.3 mm holes on a \u00d8116 mm bolt circle. Chamfer 0.4 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 90, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 45.1, "min": 13.5, "max": 112.8, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 44.0, "min": 2.0, "max": 63.0, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 193.5, "min": 117.0, "max": 270.0, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 11.2, "min": 3.4, "max": 18.0, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 58.0, "min": 38.7, "max": 87.1, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 6, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}, "end_chamfer": {"type": "float", "default": 0.4, "min": 0.1, "max": 2.0, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333460 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 90, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 45.1, \"min\": 13.5, \"max\": 112.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 44.0, \"min\": 2.0, \"max\": 63.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 193.5, \"min\": 117.0, \"max\": 270.0, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 11.2, \"min\": 3.4, \"max\": 18.0, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 58.0, \"min\": 38.7, \"max\": 87.1, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.4, \"min\": 0.1, \"max\": 2.0, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462caed5_4897", "family": "block", "tier": 1, "seed": 1177333461, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "ab7ad8a4246ea451", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 22700.0, "surface_area": 7790.0, "principal_moments": [2080000.0, 5740000.0, 6950000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 30 \u00d7 15.4 \u00d7 52.9 mm (W\u00d7D\u00d7H).", "Four \u00d83.2 mm holes at the corners, 21 \u00d7 10.78 mm spacing."], "text": "Rectangular body, 30 \u00d7 15.4 \u00d7 52.9 mm (W\u00d7D\u00d7H). Four \u00d83.2 mm holes at the corners, 21 \u00d7 10.78 mm spacing."}, "params": {"block_w": {"type": "float", "default": 30, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 15.4, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 52.9, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 3.5, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333461 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 30, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 15.4, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 52.9, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 3.5, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462caed6_4898", "family": "compound", "tier": 1, "seed": 1177333462, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "94a0570eee839540", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 35600.0, "surface_area": 10700.0, "principal_moments": [4300000.0, 16099999.999999998, 16099999.999999998], "n_faces": 6, "n_edges": 9, "n_vertices": 6}, "dimensions": {"lines": ["\u00d830 mm circular section, extruded 51.2 mm thick.", "\u00d819.3 mm circular section attachment, 28.3 mm long, from top face with a \u00d811.9 mm bore."], "text": "\u00d830 mm circular section, extruded 51.2 mm thick. \u00d819.3 mm circular section attachment, 28.3 mm long, from top face with a \u00d811.9 mm bore."}, "params": {"shaft_d": {"type": "float", "default": 30, "min": 15.0, "max": 54.0, "step": 1.0, "group": "Body", "label": "Shaft diameter (mm)"}, "shaft_len": {"type": "float", "default": 51.2, "min": 20.5, "max": 102.4, "step": 1.0, "group": "Body", "label": "Shaft length (mm)"}, "step_d": {"type": "float", "default": 19.3, "min": 9.7, "max": 27.0, "step": 1.0, "group": "Step", "label": "Step diameter (mm)"}, "step_len": {"type": "float", "default": 28.3, "min": 8.5, "max": 70.8, "step": 1.0, "group": "Step", "label": "Step length (mm)"}, "axial_bore": {"type": "float", "default": 11.9, "min": 2.0, "max": 13.9, "step": 0.5, "group": "Bore", "label": "Axial bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333462 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"shaft_d\": {\"type\": 'float', \"default\": 30, \"min\": 15.0, \"max\": 54.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft diameter (mm)'},\n    \"shaft_len\": {\"type\": 'float', \"default\": 51.2, \"min\": 20.5, \"max\": 102.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft length (mm)'},\n    \"step_d\": {\"type\": 'float', \"default\": 19.3, \"min\": 9.7, \"max\": 27.0, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step diameter (mm)'},\n    \"step_len\": {\"type\": 'float', \"default\": 28.3, \"min\": 8.5, \"max\": 70.8, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step length (mm)'},\n    \"axial_bore\": {\"type\": 'float', \"default\": 11.9, \"min\": 2.0, \"max\": 13.9, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Axial bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').circle(p[\"shaft_d\"] / 2).extrude(p[\"shaft_len\"]))\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"step_d\"] / 2).extrude(p[\"step_len\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"axial_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462caed7_4899", "family": "swept", "tier": 2, "seed": 1177333463, "symmetry": "none", "op_count": 1, "ir_hash": "b2dc2df402880146", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 8550.0, "surface_area": 3930.0, "principal_moments": [246000.0, 6900000.0, 7050000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["10.6 \u00d7 8.2 mm rectangular section swept along a curved path, ~95 mm span."], "text": "10.6 \u00d7 8.2 mm rectangular section swept along a curved path, ~95 mm span."}, "params": {"path_w": {"type": "float", "default": 50, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 95, "min": 47.5, "max": 171.0, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_a": {"type": "float", "default": 10.6, "min": 5.3, "max": 19.1, "step": 1.0, "group": "Section", "label": "Section width (mm)"}, "sweep_b": {"type": "float", "default": 8.2, "min": 4.1, "max": 14.8, "step": 1.0, "group": "Section", "label": "Section depth (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333463 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 50, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 95, \"min\": 47.5, \"max\": 171.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_a\": {\"type\": 'float', \"default\": 10.6, \"min\": 5.3, \"max\": 19.1, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section width (mm)'},\n    \"sweep_b\": {\"type\": 'float', \"default\": 8.2, \"min\": 4.1, \"max\": 14.8, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section depth (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.1807, p[\"path_h\"] * 0.4547), (p[\"path_w\"] * 0.3212, p[\"path_h\"] * 0.7028), (p[\"path_w\"] * 0.0721, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').rect(p[\"sweep_a\"], p[\"sweep_b\"]).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462caed8_4900", "family": "threaded", "tier": 0, "seed": 1177333464, "symmetry": "none", "op_count": 1, "ir_hash": "f1a6f5bac791d72b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 207.0, "surface_area": 390.0, "principal_moments": [340.0, 7420.0, 7420.0], "n_faces": 300, "n_edges": 770, "n_vertices": 472}, "dimensions": {"lines": ["M4x0.7 external thread, 20.6 mm long."], "text": "M4x0.7 external thread, 20.6 mm long."}, "params": {"major_d": {"type": "float", "default": 4.0, "min": 4.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Major diameter (mm)"}, "pitch": {"type": "float", "default": 0.7, "min": 0.35, "max": 1.4, "step": 0.05, "group": "Thread", "label": "Pitch (mm)"}, "thread_len": {"type": "float", "default": 20.6, "min": 8.2, "max": 41.2, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333464 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 4.0, \"min\": 4.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Major diameter (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 0.7, \"min\": 0.35, \"max\": 1.4, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Pitch (mm)'},\n    \"thread_len\": {\"type\": 'float', \"default\": 20.6, \"min\": 8.2, \"max\": 41.2, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.IsoThread(major_diameter=p[\"major_d\"], pitch=p[\"pitch\"], length=p[\"thread_len\"], external=True, end_finishes=(\"fade\", \"fade\"))\n    _r = _thr.min_radius if hasattr(_thr, 'min_radius') else _thr.root_radius\n    _shank = _bd.Cylinder(radius=_r, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = _shank + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462caeda_4902", "family": "lofted", "tier": 2, "seed": 1177333466, "symmetry": "none", "op_count": 2, "ir_hash": "3faa3c83b911a3c0", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 20600.0, "surface_area": 6400.0, "principal_moments": [3300000.0, 3300000.0, 4630000.0], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["Lofted body through 3 sections: 6-sided polygon section, 45.34 mm across corners \u2192 6-sided polygon section, 40.4 mm across corners \u2192 35.4 \u00d7 35.4 mm rectangular section.", "One \u00d817.9 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 3 sections: 6-sided polygon section, 45.34 mm across corners \u2192 6-sided polygon section, 40.4 mm across corners \u2192 35.4 \u00d7 35.4 mm rectangular section. One \u00d817.9 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 45.34, "min": 22.7, "max": 72.5, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 35.4, "min": 14.2, "max": 54.4, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 23.2, "min": 9.3, "max": 46.4, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_mid": {"type": "float", "default": 40.4, "min": 17.7, "max": 54.4, "step": 1.0, "group": "Body", "label": "Mid size (mm)"}, "loft_bore_d": {"type": "float", "default": 17.9, "min": 2.0, "max": 28.3, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333466 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 45.34, \"min\": 22.7, \"max\": 72.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 35.4, \"min\": 14.2, \"max\": 54.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 23.2, \"min\": 9.3, \"max\": 46.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_mid\": {\"type\": 'float', \"default\": 40.4, \"min\": 17.7, \"max\": 54.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Mid size (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 17.9, \"min\": 2.0, \"max\": 28.3, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .polygon(6, p[\"loft_base\"] * 0.5 * 2)\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .polygon(6, p[\"loft_mid\"] * 0.5 * 2)\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .rect(p[\"loft_top\"], p[\"loft_top\"])\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462caedb_4903", "family": "bracket", "tier": 1, "seed": 1177333467, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "f3a5dfb3b737a887", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 6930.0, "surface_area": 5340.0, "principal_moments": [732000.0, 1850000.0, 2240000.0], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Z-bracket: base leg 30 mm, vertical leg 25 mm, top leg 26.5 mm, 30.97 mm wide, 3 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."], "text": "Z-bracket: base leg 30 mm, vertical leg 25 mm, top leg 26.5 mm, 30.97 mm wide, 3 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 30, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 25.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 30.97, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 3.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 26.5, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333467 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 30, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 25.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 30.97, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 26.5, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462caedc_4904", "family": "revolved", "tier": 1, "seed": 1177333468, "symmetry": "none", "op_count": 2, "ir_hash": "d5c8e8f97201fa36", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 6420.0, "surface_area": 3110.0, "principal_moments": [559000.0, 559000.0, 580000.0], "n_faces": 8, "n_edges": 14, "n_vertices": 8}, "dimensions": {"lines": ["Revolved body, \u00d823.32 mm \u00d7 22.5 mm tall with \u00d813.4 mm bore.", "Chamfer 0.4 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d823.32 mm \u00d7 22.5 mm tall with \u00d813.4 mm bore. Chamfer 0.4 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 23.32, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 22.5, "min": 6.8, "max": 67.5, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 13.4, "min": 2.0, "max": 16.3, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "end_chamfer": {"type": "float", "default": 0.4, "min": 0.1, "max": 1.2, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333468 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 23.32, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 22.5, \"min\": 6.8, \"max\": 67.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 13.4, \"min\": 2.0, \"max\": 16.3, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.4, \"min\": 0.1, \"max\": 1.2, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462caedd_4905", "family": "plate", "tier": 1, "seed": 1177333469, "symmetry": "radial", "op_count": 2, "ir_hash": "7c69e2b38908caea", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 11800.0, "surface_area": 4460.0, "principal_moments": [832000.0, 2130000.0, 2760000.0], "n_faces": 16, "n_edges": 42, "n_vertices": 28}, "dimensions": {"lines": ["Rectangular body, 45 \u00d7 27.5 \u00d7 10 mm (W\u00d7D\u00d7H).", "Eight \u00d83.2 mm holes on a \u00d827 mm bolt circle."], "text": "Rectangular body, 45 \u00d7 27.5 \u00d7 10 mm (W\u00d7D\u00d7H). Eight \u00d83.2 mm holes on a \u00d827 mm bolt circle."}, "params": {"plate_w": {"type": "float", "default": 45, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 27.5, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "bolt_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 13.5, "min": 9.0, "max": 20.2, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 8, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333469 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 45, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 27.5, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 13.5, \"min\": 9.0, \"max\": 20.2, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462caede_4906", "family": "ribbed", "tier": 2, "seed": 1177333470, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "70621ee5a772454d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 37800.0, "surface_area": 16500.0, "principal_moments": [10900000.0, 18200000.0, 28099999.999999996], "n_faces": 62, "n_edges": 168, "n_vertices": 104}, "dimensions": {"lines": ["Rectangular body, 76.86 \u00d7 55.8 \u00d7 6 mm (W\u00d7D\u00d7H).", "Six ribs, 4.9 mm thick, 7.2 mm tall.", "Four \u00d86.4 mm holes at the corners, 53.802 \u00d7 39.06 mm spacing."], "text": "Rectangular body, 76.86 \u00d7 55.8 \u00d7 6 mm (W\u00d7D\u00d7H). Six ribs, 4.9 mm thick, 7.2 mm tall. Four \u00d86.4 mm holes at the corners, 53.802 \u00d7 39.06 mm spacing."}, "params": {"base_w": {"type": "float", "default": 76.86, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 55.8, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 6.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 6, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 7.2, "min": 2.9, "max": 14.4, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 4.9, "min": 1.0, "max": 12.2, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 12.6, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333470 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 76.86, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 55.8, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 6, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 7.2, \"min\": 2.9, \"max\": 14.4, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 4.9, \"min\": 1.0, \"max\": 12.2, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 12.6, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"base_w\"] * 0.7, p[\"base_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462caedf_4907", "family": "revolved", "tier": 2, "seed": 1177333471, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "4c03284b3f4bb99c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 623000.0, "surface_area": 56600.0, "principal_moments": [516000000.0, 1430000000.0, 1430000000.0], "n_faces": 8, "n_edges": 14, "n_vertices": 8}, "dimensions": {"lines": ["Revolved body, \u00d877.16 mm \u00d7 150.5 mm tall with \u00d826 mm bore.", "Chamfer 1.2 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d877.16 mm \u00d7 150.5 mm tall with \u00d826 mm bore. Chamfer 1.2 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 77.16, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 150.5, "min": 45.1, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 26.0, "min": 2.0, "max": 54.0, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "end_chamfer": {"type": "float", "default": 1.2, "min": 0.1, "max": 3.6, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333471 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 77.16, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 150.5, \"min\": 45.1, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 26.0, \"min\": 2.0, \"max\": 54.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 1.2, \"min\": 0.1, \"max\": 3.6, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462caee0_4908", "family": "block", "tier": 1, "seed": 1177333472, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "d9b5478f8daa8052", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 67900.0, "surface_area": 12100.0, "principal_moments": [17000000.0, 19500000.0, 21800000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 46.75 \u00d7 41.6 \u00d7 36 mm (W\u00d7D\u00d7H).", "Four \u00d84.3 mm holes at the corners, 32.725 \u00d7 29.12 mm spacing."], "text": "Rectangular body, 46.75 \u00d7 41.6 \u00d7 36 mm (W\u00d7D\u00d7H). Four \u00d84.3 mm holes at the corners, 32.725 \u00d7 29.12 mm spacing."}, "params": {"block_w": {"type": "float", "default": 46.75, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 41.6, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 36.0, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 9.4, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333472 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 46.75, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 41.6, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 36.0, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 9.4, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462caee1_4909", "family": "plate", "tier": 1, "seed": 1177333473, "symmetry": "none", "op_count": 2, "ir_hash": "fafce764e058e79b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 62900.0, "surface_area": 14700.0, "principal_moments": [12799999.999999998, 63499999.99999999, 74900000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 109.62 \u00d7 48.1 \u00d7 12 mm (W\u00d7D\u00d7H).", "Four \u00d83.2 mm holes at the corners, 76.734 \u00d7 33.67 mm spacing."], "text": "Rectangular body, 109.62 \u00d7 48.1 \u00d7 12 mm (W\u00d7D\u00d7H). Four \u00d83.2 mm holes at the corners, 76.734 \u00d7 33.67 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 109.62, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 48.1, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 10.8, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333473 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 109.62, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 48.1, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 10.8, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462caee2_4910", "family": "sketched", "tier": 0, "seed": 1177333474, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "095af371c5169f1a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 65800.0, "surface_area": 10200.0, "principal_moments": [15099999.999999998, 20600000.0, 29199999.999999996], "n_faces": 11, "n_edges": 26, "n_vertices": 17}, "dimensions": {"lines": ["freeform sketched section (6 segments: 2 straight, 2 arcs, 2 curves), ~64.581 \u00d7 56.583 mm, extruded 24.48 mm thick with a 7.2\u00b0 draft."], "text": "freeform sketched section (6 segments: 2 straight, 2 arcs, 2 curves), ~64.581 \u00d7 56.583 mm, extruded 24.48 mm thick with a 7.2\u00b0 draft."}, "params": {"sk_w": {"type": "float", "default": 81.47, "min": 40.7, "max": 146.6, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 87.78, "min": 43.9, "max": 158.0, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "sk_t": {"type": "float", "default": 24.48, "min": 9.8, "max": 53.9, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "sk_draft": {"type": "float", "default": 7.2, "min": 0.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Draft angle (deg)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333474 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 81.47, \"min\": 40.7, \"max\": 146.6, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 87.78, \"min\": 43.9, \"max\": 158.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"sk_t\": {\"type\": 'float', \"default\": 24.48, \"min\": 9.8, \"max\": 53.9, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"sk_draft\": {\"type\": 'float', \"default\": 7.2, \"min\": 0.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Draft angle (deg)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.328, p[\"sk_h\"] * 0.0832).threePointArc((p[\"sk_w\"] * 0.3149, p[\"sk_h\"] * 0.1783), (p[\"sk_w\"] * 0.2605, p[\"sk_h\"] * 0.2477)).lineTo(p[\"sk_w\"] * -0.1744, p[\"sk_h\"] * 0.3138).lineTo(p[\"sk_w\"] * -0.4429, p[\"sk_h\"] * -0.0091).bezier([(p[\"sk_w\"] * -0.4429, p[\"sk_h\"] * -0.0091), (p[\"sk_w\"] * -0.332, p[\"sk_h\"] * -0.1835), (p[\"sk_w\"] * -0.1727, p[\"sk_h\"] * -0.3152)]).bezier([(p[\"sk_w\"] * -0.1727, p[\"sk_h\"] * -0.3152), (p[\"sk_w\"] * 0.0867, p[\"sk_h\"] * -0.3844), (p[\"sk_w\"] * 0.3498, p[\"sk_h\"] * -0.3308)]).threePointArc((p[\"sk_w\"] * 0.3978, p[\"sk_h\"] * -0.1467), (p[\"sk_w\"] * 0.328, p[\"sk_h\"] * 0.0832)).close().extrude(p[\"sk_t\"], taper=p[\"sk_draft\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462caee3_4911", "family": "block", "tier": 1, "seed": 1177333475, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "39ca0d6dd099f2cc", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 137000.0, "surface_area": 20400.0, "principal_moments": [44800000.0, 80400000.0, 80500000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 44.66 \u00d7 44.5 \u00d7 71.2 mm (W\u00d7D\u00d7H).", "Four \u00d84.3 mm holes at the corners, 31.262 \u00d7 31.15 mm spacing."], "text": "Rectangular body, 44.66 \u00d7 44.5 \u00d7 71.2 mm (W\u00d7D\u00d7H). Four \u00d84.3 mm holes at the corners, 31.262 \u00d7 31.15 mm spacing."}, "params": {"block_w": {"type": "float", "default": 44.66, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 44.5, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 71.2, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333475 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 44.66, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 44.5, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 71.2, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462caee4_4912", "family": "sketched", "tier": 0, "seed": 1177333476, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "18be2c39fe7abbe3", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 40200.0, "surface_area": 8280.0, "principal_moments": [8300000.0, 10800000.0, 17600000.0], "n_faces": 7, "n_edges": 15, "n_vertices": 10}, "dimensions": {"lines": ["freeform sketched section (5 segments: 3 straight, 1 arc, 1 curve), ~64.785 \u00d7 59.462 mm, extruded 15 mm thick."], "text": "freeform sketched section (5 segments: 3 straight, 1 arc, 1 curve), ~64.785 \u00d7 59.462 mm, extruded 15 mm thick."}, "params": {"sk_w": {"type": "float", "default": 75, "min": 37.5, "max": 135.0, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 65.3, "min": 32.6, "max": 117.5, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "sk_t": {"type": "float", "default": 15, "min": 6.0, "max": 33.0, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333476 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 75, \"min\": 37.5, \"max\": 135.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 65.3, \"min\": 32.6, \"max\": 117.5, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"sk_t\": {\"type\": 'float', \"default\": 15, \"min\": 6.0, \"max\": 33.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.4806, p[\"sk_h\"] * -0.0729).lineTo(p[\"sk_w\"] * 0.0515, p[\"sk_h\"] * 0.4638).bezier([(p[\"sk_w\"] * 0.0515, p[\"sk_h\"] * 0.4638), (p[\"sk_w\"] * -0.1813, p[\"sk_h\"] * 0.4266), (p[\"sk_w\"] * -0.3832, p[\"sk_h\"] * 0.305)]).lineTo(p[\"sk_w\"] * -0.3536, p[\"sk_h\"] * -0.2371).threePointArc((p[\"sk_w\"] * -0.1207, p[\"sk_h\"] * -0.4249), (p[\"sk_w\"] * 0.1553, p[\"sk_h\"] * -0.4468)).lineTo(p[\"sk_w\"] * 0.4806, p[\"sk_h\"] * -0.0729).close().extrude(p[\"sk_t\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462caee5_4913", "family": "swept", "tier": 2, "seed": 1177333477, "symmetry": "none", "op_count": 1, "ir_hash": "89f68379afa00332", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 2760.0, "surface_area": 1790.0, "principal_moments": [81700.0, 1460000.0, 1530000.0], "n_faces": 3, "n_edges": 3, "n_vertices": 2}, "dimensions": {"lines": ["\u00d86.4 mm circular section swept along a curved path, ~70 mm span."], "text": "\u00d86.4 mm circular section swept along a curved path, ~70 mm span."}, "params": {"path_w": {"type": "float", "default": 49.13, "min": 24.6, "max": 88.4, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 70, "min": 35.0, "max": 126.0, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_d": {"type": "float", "default": 6.4, "min": 3.2, "max": 11.5, "step": 1.0, "group": "Section", "label": "Section diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333477 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 49.13, \"min\": 24.6, \"max\": 88.4, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 70, \"min\": 35.0, \"max\": 126.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.2, \"max\": 11.5, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.2639), (p[\"path_w\"] * 0.1266, p[\"path_h\"] * 0.8893), (p[\"path_w\"] * 0.5409, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').circle(p[\"sweep_d\"] / 2).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462caee6_4914", "family": "gear", "tier": 1, "seed": 1177333478, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "487f6b4a9208bacf", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 20500.0, "surface_area": 7390.0, "principal_moments": [3500000.0, 3500000.0, 6600000.0], "n_faces": 153, "n_edges": 453, "n_vertices": 302}, "dimensions": {"lines": ["Spur gear, module 2 mm, 25 teeth (pitch \u00d850 mm), face width 10.8 mm, \u00d87.3 mm bore."], "text": "Spur gear, module 2 mm, 25 teeth (pitch \u00d850 mm), face width 10.8 mm, \u00d87.3 mm bore."}, "params": {"module": {"type": "float", "default": 2.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 25, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 10.8, "min": 4.3, "max": 27.0, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "bore_d": {"type": "float", "default": 7.3, "min": 2.0, "max": 27.0, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333478 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 2.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 25, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 10.8, \"min\": 4.3, \"max\": 27.0, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 7.3, \"min\": 2.0, \"max\": 27.0, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462caee7_4915", "family": "compound", "tier": 3, "seed": 1177333479, "symmetry": "none", "op_count": 5, "ir_hash": "861f101ce55d702d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 57700.0, "surface_area": 17000.0, "principal_moments": [32399999.999999996, 34800000.0, 35800000.0], "n_faces": 32, "n_edges": 72, "n_vertices": 43}, "dimensions": {"lines": ["Rectangular body, 65 \u00d7 63.1 \u00d7 12 mm (W\u00d7D\u00d7H).", "\u00d816.4 mm circular section attachment, 69.9 mm long, from top face with a \u00d88.6 mm bore.", "Four \u00d84.3 mm holes at the corners, 45.5 \u00d7 44.17 mm spacing.", "Fillet radius 5.629 mm on vertical edges.", "Chamfer 1.5 mm on the >Z or <Z edges."], "text": "Rectangular body, 65 \u00d7 63.1 \u00d7 12 mm (W\u00d7D\u00d7H). \u00d816.4 mm circular section attachment, 69.9 mm long, from top face with a \u00d88.6 mm bore. Four \u00d84.3 mm holes at the corners, 45.5 \u00d7 44.17 mm spacing. Fillet radius 5.629 mm on vertical edges. Chamfer 1.5 mm on the >Z or <Z edges."}, "params": {"base_w": {"type": "float", "default": 65, "min": 30.0, "max": 160.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 63.1, "min": 25.0, "max": 160.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_h": {"type": "float", "default": 12.0, "min": 3.0, "max": 30.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "col_d": {"type": "float", "default": 16.4, "min": 6.6, "max": 31.6, "step": 1.0, "group": "Column", "label": "Column diameter (mm)"}, "col_h": {"type": "float", "default": 69.9, "min": 21.0, "max": 209.7, "step": 1.0, "group": "Column", "label": "Column height (mm)"}, "col_bore": {"type": "float", "default": 8.6, "min": 2.0, "max": 11.8, "step": 0.5, "group": "Column", "label": "Column bore diameter (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}, "chamfer_d": {"type": "float", "default": 1.5, "min": 0.5, "max": 3.0, "step": 0.5, "group": "Body", "label": "Chamfer distance (mm)"}, "chamfered": {"type": "bool", "default": true, "group": "Body", "label": "Chamfer edges"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333479 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 65, \"min\": 30.0, \"max\": 160.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 63.1, \"min\": 25.0, \"max\": 160.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_h\": {\"type\": 'float', \"default\": 12.0, \"min\": 3.0, \"max\": 30.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"col_d\": {\"type\": 'float', \"default\": 16.4, \"min\": 6.6, \"max\": 31.6, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column diameter (mm)'},\n    \"col_h\": {\"type\": 'float', \"default\": 69.9, \"min\": 21.0, \"max\": 209.7, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column height (mm)'},\n    \"col_bore\": {\"type\": 'float', \"default\": 8.6, \"min\": 2.0, \"max\": 11.8, \"step\": 0.5, \"group\": 'Column', \"label\": 'Column bore diameter (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n    \"chamfer_d\": {\"type\": 'float', \"default\": 1.5, \"min\": 0.5, \"max\": 3.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Chamfer distance (mm)'},\n    \"chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Chamfer edges'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_h\"])\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"col_d\"] / 2).extrude(p[\"col_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"col_bore\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"base_w\"] * 0.7, p[\"base_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"base_w\"], p[\"base_d\"]) * 0.0892042384058345)\n    if p[\"chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"chamfer_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462caee8_4916", "family": "revolved", "tier": 2, "seed": 1177333480, "symmetry": "none", "op_count": 1, "ir_hash": "2512416a8c94d14b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 3130.0, "surface_area": 2010.0, "principal_moments": [56400.0, 399000.0, 399000.0], "n_faces": 4, "n_edges": 6, "n_vertices": 4}, "dimensions": {"lines": ["Revolved body, \u00d811.18 mm \u00d7 37.7 mm tall with \u00d84.4 mm bore."], "text": "Revolved body, \u00d811.18 mm \u00d7 37.7 mm tall with \u00d84.4 mm bore."}, "params": {"outer_d": {"type": "float", "default": 11.18, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 37.7, "min": 11.3, "max": 113.1, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 4.4, "min": 2.0, "max": 7.8, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333480 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 11.18, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 37.7, \"min\": 11.3, \"max\": 113.1, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 4.4, \"min\": 2.0, \"max\": 7.8, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462caee9_4917", "family": "block", "tier": 2, "seed": 1177333481, "symmetry": "none", "op_count": 3, "ir_hash": "f728ec934e58d492", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 40100.0, "surface_area": 12200.0, "principal_moments": [5950000.0, 11499999.999999998, 11599999.999999998], "n_faces": 13, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Rectangular body, 30.53 \u00d7 30 \u00d7 49.6 mm (W\u00d7D\u00d7H).", "Four \u00d85.3 mm holes at the corners, 21.371 \u00d7 21 mm spacing.", "Boss \u00d814 mm \u00d7 5.1 mm tall on top face with a \u00d86.4 mm bore."], "text": "Rectangular body, 30.53 \u00d7 30 \u00d7 49.6 mm (W\u00d7D\u00d7H). Four \u00d85.3 mm holes at the corners, 21.371 \u00d7 21 mm spacing. Boss \u00d814 mm \u00d7 5.1 mm tall on top face with a \u00d86.4 mm bore."}, "params": {"block_w": {"type": "float", "default": 30.53, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 30.0, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 49.6, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 6.7, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "boss_d": {"type": "float", "default": 14.0, "min": 7.0, "max": 28.0, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 5.1, "min": 2.0, "max": 12.8, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}, "boss_bore_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 9.8, "step": 0.1, "group": "Boss", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333481 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 30.53, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 30.0, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 49.6, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 6.7, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"boss_d\": {\"type\": 'float', \"default\": 14.0, \"min\": 7.0, \"max\": 28.0, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 5.1, \"min\": 2.0, \"max\": 12.8, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n    \"boss_bore_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 9.8, \"step\": 0.1, \"group\": 'Boss', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .hole(p[\"boss_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462caeea_4918", "family": "plate", "tier": 1, "seed": 1177333482, "symmetry": "radial", "op_count": 2, "ir_hash": "b2da96ed0d30ee92", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 2630.0, "surface_area": 1930.0, "principal_moments": [60100.0, 445000.0, 498000.0], "n_faces": 8, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["Rectangular body, 45 \u00d7 15.6 \u00d7 4 mm (W\u00d7D\u00d7H).", "Six \u00d85.3 mm holes on a \u00d827 mm bolt circle."], "text": "Rectangular body, 45 \u00d7 15.6 \u00d7 4 mm (W\u00d7D\u00d7H). Six \u00d85.3 mm holes on a \u00d827 mm bolt circle."}, "params": {"plate_w": {"type": "float", "default": 45, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 15.6, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 4.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "bolt_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 13.5, "min": 9.0, "max": 20.2, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 6, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333482 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 45, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 15.6, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 4.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 13.5, \"min\": 9.0, \"max\": 20.2, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462caeeb_4919", "family": "enclosure", "tier": 1, "seed": 1177333483, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "5d696225a7974736", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 33900.0, "surface_area": 13100.0, "principal_moments": [9510000.0, 10600000.0, 13699999.999999998], "n_faces": 11, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 45 \u00d7 28.2 \u00d7 44.9 mm (W\u00d7D\u00d7H).", "Hollowed to 5.5 mm wall thickness, open at top face."], "text": "Rectangular body, 45 \u00d7 28.2 \u00d7 44.9 mm (W\u00d7D\u00d7H). Hollowed to 5.5 mm wall thickness, open at top face."}, "params": {"enc_w": {"type": "float", "default": 45, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 28.2, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 44.9, "min": 18.0, "max": 89.8, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 5.5, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333483 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 45, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 28.2, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 44.9, \"min\": 18.0, \"max\": 89.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 5.5, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462caeec_4920", "family": "lofted", "tier": 2, "seed": 1177333484, "symmetry": "none", "op_count": 2, "ir_hash": "9e0617a0e1a9e88b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 44500.0, "surface_area": 10700.0, "principal_moments": [12299999.999999998, 12299999.999999998, 16399999.999999998], "n_faces": 9, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["Lofted body through 3 sections: 6-sided polygon section, 59.64 mm across corners \u2192 6-sided polygon section, 51.8 mm across corners \u2192 \u00d844 mm circular section.", "One \u00d824.1 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 3 sections: 6-sided polygon section, 59.64 mm across corners \u2192 6-sided polygon section, 51.8 mm across corners \u2192 \u00d844 mm circular section. One \u00d824.1 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 59.64, "min": 29.8, "max": 95.4, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 44.0, "min": 17.6, "max": 71.6, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 33.1, "min": 13.2, "max": 66.2, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_mid": {"type": "float", "default": 51.8, "min": 22.0, "max": 71.6, "step": 1.0, "group": "Body", "label": "Mid size (mm)"}, "loft_bore_d": {"type": "float", "default": 24.1, "min": 2.0, "max": 35.2, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333484 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 59.64, \"min\": 29.8, \"max\": 95.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 44.0, \"min\": 17.6, \"max\": 71.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 33.1, \"min\": 13.2, \"max\": 66.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_mid\": {\"type\": 'float', \"default\": 51.8, \"min\": 22.0, \"max\": 71.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Mid size (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 24.1, \"min\": 2.0, \"max\": 35.2, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .polygon(6, p[\"loft_base\"] * 0.5 * 2)\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .polygon(6, p[\"loft_mid\"] * 0.5 * 2)\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .circle(p[\"loft_top\"] / 2)\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462caeed_4921", "family": "bracket", "tier": 2, "seed": 1177333485, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "4a892d1d121a8503", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 9020.0, "surface_area": 6670.0, "principal_moments": [1720000.0, 2140000.0, 3100000.0], "n_faces": 14, "n_edges": 37, "n_vertices": 24}, "dimensions": {"lines": ["L-bracket: base leg 40 mm, vertical leg 30.6 mm, 42.94 mm wide, 3 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 3.8 mm corner gusset."], "text": "L-bracket: base leg 40 mm, vertical leg 30.6 mm, 42.94 mm wide, 3 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 3.8 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 40, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 30.6, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 42.94, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 3.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 3.8, "min": 1.5, "max": 9.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333485 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 40, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 30.6, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 42.94, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 3.8, \"min\": 1.5, \"max\": 9.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462caeee_4922", "family": "lofted", "tier": 0, "seed": 1177333486, "symmetry": "none", "op_count": 1, "ir_hash": "5a35308a07cbb871", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 24200.0, "surface_area": 4880.0, "principal_moments": [3290000.0, 3410000.0, 3420000.0], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Lofted body through 2 sections: 6-sided polygon section, 42.19 mm across corners \u2192 21.9 \u00d7 21.9 mm rectangular section."], "text": "Lofted body through 2 sections: 6-sided polygon section, 42.19 mm across corners \u2192 21.9 \u00d7 21.9 mm rectangular section."}, "params": {"loft_base": {"type": "float", "default": 42.19, "min": 21.1, "max": 67.5, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 21.9, "min": 8.8, "max": 50.6, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 30.4, "min": 12.2, "max": 60.8, "step": 1.0, "group": "Body", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333486 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 42.19, \"min\": 21.1, \"max\": 67.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 21.9, \"min\": 8.8, \"max\": 50.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 30.4, \"min\": 12.2, \"max\": 60.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .polygon(6, p[\"loft_base\"] * 0.5 * 2)\n        .workplane(offset=p[\"loft_h\"])\n        .rect(p[\"loft_top\"], p[\"loft_top\"])\n        .loft(combine=True)\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462caeef_4923", "family": "bracket", "tier": 3, "seed": 1177333487, "symmetry": "none", "op_count": 1, "ir_hash": "dca2250282fe0c2c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 71100.0, "surface_area": 31600.0, "principal_moments": [73200000.0, 98899999.99999999, 132000000.0], "n_faces": 19, "n_edges": 51, "n_vertices": 34}, "dimensions": {"lines": ["C-channel bracket: base leg 80 mm, vertical leg 84.9 mm, 58.36 mm wide, 5 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 4.2 mm corner gusset."], "text": "C-channel bracket: base leg 80 mm, vertical leg 84.9 mm, 58.36 mm wide, 5 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 4.2 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 80, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 84.9, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 58.36, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 5.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 4.2, "min": 2.5, "max": 15.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333487 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 80, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 84.9, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 58.36, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 4.2, \"min\": 2.5, \"max\": 15.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl / 2, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bl - _bt, _bt).lineTo(_bl - _bt - _g, _bt)\n                    .lineTo(_bl - _bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462caef0_4924", "family": "lofted", "tier": 0, "seed": 1177333488, "symmetry": "none", "op_count": 1, "ir_hash": "fd316b235cdc9654", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 14600.0, "surface_area": 3610.0, "principal_moments": [1110000.0, 2000000.0, 2000000.0], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Lofted body through 2 sections: 6-sided polygon section, 33.8 mm across corners \u2192 10.9 \u00d7 10.9 mm rectangular section."], "text": "Lofted body through 2 sections: 6-sided polygon section, 33.8 mm across corners \u2192 10.9 \u00d7 10.9 mm rectangular section."}, "params": {"loft_base": {"type": "float", "default": 33.8, "min": 16.9, "max": 54.1, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 10.9, "min": 4.4, "max": 40.6, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 37.8, "min": 15.1, "max": 75.6, "step": 1.0, "group": "Body", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333488 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 33.8, \"min\": 16.9, \"max\": 54.1, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 10.9, \"min\": 4.4, \"max\": 40.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 37.8, \"min\": 15.1, \"max\": 75.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .polygon(6, p[\"loft_base\"] * 0.5 * 2)\n        .workplane(offset=p[\"loft_h\"])\n        .rect(p[\"loft_top\"], p[\"loft_top\"])\n        .loft(combine=True)\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462caef1_4925", "family": "bracket", "tier": 1, "seed": 1177333489, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "d0bd26b7296bef03", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 10800.0, "surface_area": 8040.0, "principal_moments": [2410000.0, 2710000.0, 3370000.0], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["C-channel bracket: base leg 30 mm, vertical leg 28.3 mm, 45 mm wide, 3 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."], "text": "C-channel bracket: base leg 30 mm, vertical leg 28.3 mm, 45 mm wide, 3 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 30, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 28.3, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 45, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 3.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333489 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 30, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 28.3, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 45, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462caef2_4926", "family": "swept", "tier": 0, "seed": 1177333490, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "57aecfb449dc9576", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 12500.0, "surface_area": 4940.0, "principal_moments": [427000.0, 11100000.0, 11300000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["13.6 \u00d7 8.7 mm rectangular section swept along a curved path, ~100 mm span."], "text": "13.6 \u00d7 8.7 mm rectangular section swept along a curved path, ~100 mm span."}, "params": {"path_w": {"type": "float", "default": 33.33, "min": 16.7, "max": 60.0, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 100, "min": 50.0, "max": 180.0, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_a": {"type": "float", "default": 13.6, "min": 6.8, "max": 24.5, "step": 1.0, "group": "Section", "label": "Section width (mm)"}, "sweep_b": {"type": "float", "default": 8.7, "min": 4.3, "max": 15.7, "step": 1.0, "group": "Section", "label": "Section depth (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333490 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 33.33, \"min\": 16.7, \"max\": 60.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 100, \"min\": 50.0, \"max\": 180.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_a\": {\"type\": 'float', \"default\": 13.6, \"min\": 6.8, \"max\": 24.5, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section width (mm)'},\n    \"sweep_b\": {\"type\": 'float', \"default\": 8.7, \"min\": 4.3, \"max\": 15.7, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section depth (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.303, p[\"path_h\"] * 0.337), (p[\"path_w\"] * 0.6255, p[\"path_h\"] * 0.5516), (p[\"path_w\"] * 0.6934, p[\"path_h\"] * 0.6741), (p[\"path_w\"] * 0.5289, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').rect(p[\"sweep_a\"], p[\"sweep_b\"]).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462caef3_4927", "family": "profiled", "tier": 1, "seed": 1177333491, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "69d9cdc05c1d289a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 180000.0, "surface_area": 25500.0, "principal_moments": [21000000.0, 945000000.0, 947000000.0], "n_faces": 9, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["freeform sketched section (7 segments: 1 straight, 3 arcs, 3 curves), ~29.54 \u00d7 30.22 mm, extruded 249.5 mm thick."], "text": "freeform sketched section (7 segments: 1 straight, 3 arcs, 3 curves), ~29.54 \u00d7 30.22 mm, extruded 249.5 mm thick."}, "params": {"sk_w": {"type": "float", "default": 41.35, "min": 20.7, "max": 74.4, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 40, "min": 20.0, "max": 72.0, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "length": {"type": "float", "default": 249.5, "min": 74.8, "max": 748.5, "step": 5.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333491 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 41.35, \"min\": 20.7, \"max\": 74.4, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 40, \"min\": 20.0, \"max\": 72.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 249.5, \"min\": 74.8, \"max\": 748.5, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.3221, p[\"sk_h\"] * 0.0717).lineTo(p[\"sk_w\"] * 0.2492, p[\"sk_h\"] * 0.2125).threePointArc((p[\"sk_w\"] * 0.0637, p[\"sk_h\"] * 0.3099), (p[\"sk_w\"] * -0.1418, p[\"sk_h\"] * 0.2957)).spline([(p[\"sk_w\"] * -0.1418, p[\"sk_h\"] * 0.2957), (p[\"sk_w\"] * -0.2817, p[\"sk_h\"] * 0.2251), (p[\"sk_w\"] * -0.3778, p[\"sk_h\"] * 0.1013)]).spline([(p[\"sk_w\"] * -0.3778, p[\"sk_h\"] * 0.1013), (p[\"sk_w\"] * -0.3657, p[\"sk_h\"] * 0.009), (p[\"sk_w\"] * -0.3293, p[\"sk_h\"] * -0.0767)]).threePointArc((p[\"sk_w\"] * -0.2267, p[\"sk_h\"] * -0.3393), (p[\"sk_w\"] * -0.0223, p[\"sk_h\"] * -0.4598)).threePointArc((p[\"sk_w\"] * 0.1818, p[\"sk_h\"] * -0.4099), (p[\"sk_w\"] * 0.3366, p[\"sk_h\"] * -0.2495)).bezier([(p[\"sk_w\"] * 0.3366, p[\"sk_h\"] * -0.2495), (p[\"sk_w\"] * 0.3621, p[\"sk_h\"] * -0.0874), (p[\"sk_w\"] * 0.3221, p[\"sk_h\"] * 0.0717)]).close().extrude(p[\"length\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462caef4_4928", "family": "plate", "tier": 1, "seed": 1177333492, "symmetry": "radial", "op_count": 2, "ir_hash": "040aa50c9b9ef9d7", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 22100.0, "surface_area": 7760.0, "principal_moments": [2060000.0, 10600000.0, 12299999.999999998], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Rectangular body, 75 \u00d7 32 \u00d7 10 mm (W\u00d7D\u00d7H).", "Twelve \u00d86.4 mm holes on a \u00d845 mm bolt circle."], "text": "Rectangular body, 75 \u00d7 32 \u00d7 10 mm (W\u00d7D\u00d7H). Twelve \u00d86.4 mm holes on a \u00d845 mm bolt circle."}, "params": {"plate_w": {"type": "float", "default": 75, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 32.0, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "bolt_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 22.5, "min": 15.0, "max": 33.8, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 12, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333492 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 75, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 32.0, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 22.5, \"min\": 15.0, \"max\": 33.8, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 12, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462caef5_4929", "family": "flanged", "tier": 2, "seed": 1177333493, "symmetry": "none", "op_count": 2, "ir_hash": "37083919cc2f114f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 485000.0, "surface_area": 65300.0, "principal_moments": [731000000.0, 731000000.0, 1260000000.0], "n_faces": 12, "n_edges": 27, "n_vertices": 18}, "dimensions": {"lines": ["Revolved body, \u00d886.9 mm \u00d7 51.9 mm tall with \u00d833.9 mm bore, \u00d8163.6 mm \u00d7 15.2 mm flange.", "Six \u00d88.4 mm holes on a \u00d898.2 mm bolt circle."], "text": "Revolved body, \u00d886.9 mm \u00d7 51.9 mm tall with \u00d833.9 mm bore, \u00d8163.6 mm \u00d7 15.2 mm flange. Six \u00d88.4 mm holes on a \u00d898.2 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 86.9, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 51.9, "min": 15.6, "max": 129.8, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 33.9, "min": 2.0, "max": 60.8, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 163.6, "min": 113.0, "max": 260.7, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 15.2, "min": 4.6, "max": 20.8, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 8.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 49.1, "min": 32.7, "max": 73.6, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 6, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333493 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 86.9, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 51.9, \"min\": 15.6, \"max\": 129.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 33.9, \"min\": 2.0, \"max\": 60.8, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 163.6, \"min\": 113.0, \"max\": 260.7, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 15.2, \"min\": 4.6, \"max\": 20.8, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 49.1, \"min\": 32.7, \"max\": 73.6, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462caef6_4930", "family": "lofted", "tier": 2, "seed": 1177333494, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "b7953187676a9181", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 64900.0, "surface_area": 11800.0, "principal_moments": [20000000.0, 20100000.0, 20100000.0], "n_faces": 8, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["Lofted body through 3 sections: \u00d861.53 mm circular section \u2192 \u00d840.3 mm circular section \u2192 19.1 \u00d7 19.1 mm rectangular section.", "One \u00d811 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 3 sections: \u00d861.53 mm circular section \u2192 \u00d840.3 mm circular section \u2192 19.1 \u00d7 19.1 mm rectangular section. One \u00d811 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 61.53, "min": 30.8, "max": 98.4, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 19.1, "min": 7.6, "max": 73.8, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 49.5, "min": 19.8, "max": 99.0, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_mid": {"type": "float", "default": 40.3, "min": 9.6, "max": 73.8, "step": 1.0, "group": "Body", "label": "Mid size (mm)"}, "loft_bore_d": {"type": "float", "default": 11.0, "min": 2.0, "max": 15.3, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333494 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 61.53, \"min\": 30.8, \"max\": 98.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 19.1, \"min\": 7.6, \"max\": 73.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 49.5, \"min\": 19.8, \"max\": 99.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_mid\": {\"type\": 'float', \"default\": 40.3, \"min\": 9.6, \"max\": 73.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Mid size (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 11.0, \"min\": 2.0, \"max\": 15.3, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .circle(p[\"loft_base\"] / 2)\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .circle(p[\"loft_mid\"] / 2)\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .rect(p[\"loft_top\"], p[\"loft_top\"])\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462caef7_4931", "family": "block", "tier": 2, "seed": 1177333495, "symmetry": "radial", "op_count": 3, "ir_hash": "3aa6caf6d6bb386e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 19700.0, "surface_area": 5000.0, "principal_moments": [1700000.0, 3260000.0, 3630000.0], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Rectangular body, 40 \u00d7 20 \u00d7 25.2 mm (W\u00d7D\u00d7H).", "Four \u00d83.2 mm holes on a \u00d824 mm bolt circle.", "Fillet radius 2.104 mm on vertical edges."], "text": "Rectangular body, 40 \u00d7 20 \u00d7 25.2 mm (W\u00d7D\u00d7H). Four \u00d83.2 mm holes on a \u00d824 mm bolt circle. Fillet radius 2.104 mm on vertical edges."}, "params": {"block_w": {"type": "float", "default": 40, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 20.0, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 25.2, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "bolt_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 12.0, "min": 8.0, "max": 18.0, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 4, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333495 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 40, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 20.0, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 25.2, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 12.0, \"min\": 8.0, \"max\": 18.0, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 4, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"block_w\"], p[\"block_d\"]) * 0.10520612852729791)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462caef8_4932", "family": "lofted", "tier": 0, "seed": 1177333496, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "7bc816d766dcb76b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 74400.0, "surface_area": 10200.0, "principal_moments": [15799999.999999998, 29599999.999999996, 29599999.999999996], "n_faces": 8, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["Lofted body through 2 sections: \u00d850 mm circular section \u2192 6-sided polygon section, 29.7 mm across corners."], "text": "Lofted body through 2 sections: \u00d850 mm circular section \u2192 6-sided polygon section, 29.7 mm across corners."}, "params": {"loft_base": {"type": "float", "default": 50, "min": 25.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 29.7, "min": 11.9, "max": 60.0, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 62.0, "min": 24.8, "max": 124.0, "step": 1.0, "group": "Body", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333496 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 50, \"min\": 25.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 29.7, \"min\": 11.9, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 62.0, \"min\": 24.8, \"max\": 124.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .circle(p[\"loft_base\"] / 2)\n        .workplane(offset=p[\"loft_h\"])\n        .polygon(6, p[\"loft_top\"] * 0.5 * 2)\n        .loft(combine=True)\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462caef9_4933", "family": "bracket", "tier": 1, "seed": 1177333497, "symmetry": "none", "op_count": 1, "ir_hash": "34e95a608003f923", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 9740.0, "surface_area": 7330.0, "principal_moments": [2240000.0, 2790000.0, 3900000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["L-bracket: base leg 40 mm, vertical leg 36.6 mm, 45 mm wide, 3 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."], "text": "L-bracket: base leg 40 mm, vertical leg 36.6 mm, 45 mm wide, 3 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 40, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 36.6, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 45, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 3.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333497 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 40, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 36.6, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 45, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462caefa_4934", "family": "bracket", "tier": 1, "seed": 1177333498, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "7c79ca3f1f798721", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 28700.0, "surface_area": 12300.0, "principal_moments": [7500000.0, 46299999.99999999, 50799999.99999999], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Z-bracket: base leg 75 mm, vertical leg 82.4 mm, top leg 46.8 mm, 25 mm wide, 6 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."], "text": "Z-bracket: base leg 75 mm, vertical leg 82.4 mm, top leg 46.8 mm, 25 mm wide, 6 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 75, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 82.4, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 25, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 6.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 46.8, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333498 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 75, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 82.4, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 25, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 46.8, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462caefb_4935", "family": "block", "tier": 2, "seed": 1177333499, "symmetry": "none", "op_count": 3, "ir_hash": "c7ab162de30c755e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 7420.0, "surface_area": 2580.0, "principal_moments": [448000.0, 601000.0, 923000.0], "n_faces": 30, "n_edges": 84, "n_vertices": 56}, "dimensions": {"lines": ["Rectangular body, 25 \u00d7 10.3 \u00d7 29.5 mm (W\u00d7D\u00d7H).", "Five \u00d81.9 mm holes in two staggered rows, 9.4 \u00d7 10.9 mm pitch.", "Fillet radius 1.117 mm on vertical edges."], "text": "Rectangular body, 25 \u00d7 10.3 \u00d7 29.5 mm (W\u00d7D\u00d7H). Five \u00d81.9 mm holes in two staggered rows, 9.4 \u00d7 10.9 mm pitch. Fillet radius 1.117 mm on vertical edges."}, "params": {"block_w": {"type": "float", "default": 25, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 10.3, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 29.5, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 1.9, "min": 2.0, "max": 1.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 3, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333499 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 25, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 10.3, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 29.5, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 1.9, \"min\": 2.0, \"max\": 1.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 3, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 9.4\n    _ssy = 10.9\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"block_w\"], p[\"block_d\"]) * 0.10847984682922973)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462caefc_4936", "family": "revolved", "tier": 2, "seed": 1177333500, "symmetry": "none", "op_count": 1, "ir_hash": "776825cb959490ee", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 18300.0, "surface_area": 6730.0, "principal_moments": [1110000.0, 8840000.0, 8840000.0], "n_faces": 6, "n_edges": 9, "n_vertices": 6}, "dimensions": {"lines": ["Revolved body, \u00d818.02 mm \u00d7 69.4 mm tall with \u00d87 mm bore, \u00d825.8 mm \u00d7 12.4 mm flange."], "text": "Revolved body, \u00d818.02 mm \u00d7 69.4 mm tall with \u00d87 mm bore, \u00d825.8 mm \u00d7 12.4 mm flange."}, "params": {"outer_d": {"type": "float", "default": 18.02, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 69.4, "min": 20.8, "max": 208.2, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 7.0, "min": 2.0, "max": 12.6, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 25.8, "min": 21.6, "max": 54.1, "step": 1.0, "group": "Body", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 12.4, "min": 3.7, "max": 34.7, "step": 0.5, "group": "Body", "label": "Flange height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333500 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 18.02, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 69.4, \"min\": 20.8, \"max\": 208.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 7.0, \"min\": 2.0, \"max\": 12.6, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 25.8, \"min\": 21.6, \"max\": 54.1, \"step\": 1.0, \"group\": 'Body', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 12.4, \"min\": 3.7, \"max\": 34.7, \"step\": 0.5, \"group\": 'Body', \"label\": 'Flange height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462caefd_4937", "family": "plate", "tier": 1, "seed": 1177333501, "symmetry": "none", "op_count": 2, "ir_hash": "59ffebf8a8146a43", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 54800.0, "surface_area": 13400.0, "principal_moments": [11799999.999999998, 40600000.0, 50999999.99999999], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 93.89 \u00d7 49.6 \u00d7 12 mm (W\u00d7D\u00d7H).", "Four \u00d85.3 mm holes at the corners, 65.723 \u00d7 34.72 mm spacing."], "text": "Rectangular body, 93.89 \u00d7 49.6 \u00d7 12 mm (W\u00d7D\u00d7H). Four \u00d85.3 mm holes at the corners, 65.723 \u00d7 34.72 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 93.89, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 49.6, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 11.2, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333501 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 93.89, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 49.6, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 11.2, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462caefe_4938", "family": "plate", "tier": 1, "seed": 1177333502, "symmetry": "none", "op_count": 2, "ir_hash": "94e5fd5626c9c3f4", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 557.0, "surface_area": 660.0, "principal_moments": [4570.0, 18100.0, 21800.0], "n_faces": 22, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 20.62 \u00d7 10 \u00d7 3 mm (W\u00d7D\u00d7H).", "Four 3.4 \u00d7 1.7 mm slots in a 2\u00d72 grid, 16.5 \u00d7 8 mm pitch."], "text": "Rectangular body, 20.62 \u00d7 10 \u00d7 3 mm (W\u00d7D\u00d7H). Four 3.4 \u00d7 1.7 mm slots in a 2\u00d72 grid, 16.5 \u00d7 8 mm pitch."}, "params": {"plate_w": {"type": "float", "default": 20.62, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 10.0, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 3.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 1.7, "min": 2.0, "max": 1.2, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 2, "min": 1, "max": 4, "step": 1, "group": "Holes", "label": "Holes across"}, "hole_ny": {"type": "int", "default": 2, "min": 1, "max": 4, "step": 1, "group": "Holes", "label": "Holes deep"}, "hole_slot_len": {"type": "float", "default": 3.4, "min": 2.5, "max": 5.6, "step": 0.5, "group": "Holes", "label": "Slot length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333502 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 20.62, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 10.0, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 3.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 1.7, \"min\": 2.0, \"max\": 1.2, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 2, \"min\": 1, \"max\": 4, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes across'},\n    \"hole_ny\": {\"type\": 'int', \"default\": 2, \"min\": 1, \"max\": 4, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes deep'},\n    \"hole_slot_len\": {\"type\": 'float', \"default\": 3.4, \"min\": 2.5, \"max\": 5.6, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Slot length (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(16.5, 8.0, p[\"hole_nx\"], p[\"hole_ny\"])\n        .slot2D(p[\"hole_slot_len\"], p[\"hole_d\"]).cutThruAll()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462caf00_4940", "family": "swept", "tier": 1, "seed": 1177333504, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "062574c68f2aef01", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 3480.0, "surface_area": 2420.0, "principal_moments": [346000.0, 1250000.0, 1580000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["11.8 \u00d7 6 mm rectangular section swept along a curved path, ~65 mm span."], "text": "11.8 \u00d7 6 mm rectangular section swept along a curved path, ~65 mm span."}, "params": {"path_w": {"type": "float", "default": 55, "min": 27.5, "max": 99.0, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 65, "min": 32.5, "max": 117.0, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_a": {"type": "float", "default": 11.8, "min": 5.9, "max": 21.2, "step": 1.0, "group": "Section", "label": "Section width (mm)"}, "sweep_b": {"type": "float", "default": 6.0, "min": 3.0, "max": 10.8, "step": 1.0, "group": "Section", "label": "Section depth (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333504 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 55, \"min\": 27.5, \"max\": 99.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 65, \"min\": 32.5, \"max\": 117.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_a\": {\"type\": 'float', \"default\": 11.8, \"min\": 5.9, \"max\": 21.2, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section width (mm)'},\n    \"sweep_b\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 10.8, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section depth (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.1126, p[\"path_h\"] * 0.771), (p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.8881), (p[\"path_w\"] * 0.0, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').rect(p[\"sweep_a\"], p[\"sweep_b\"]).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462caf01_4941", "family": "gear", "tier": 2, "seed": 1177333505, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "b4ba4c964c350716", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 5470.0, "surface_area": 2870.0, "principal_moments": [310000.0, 310000.0, 527000.0], "n_faces": 131, "n_edges": 387, "n_vertices": 258}, "dimensions": {"lines": ["Helical gear, module 1.5 mm, 16 teeth (pitch \u00d824 mm), face width 10.1 mm, 23.8\u00b0 helix, \u00d85.1 mm bore."], "text": "Helical gear, module 1.5 mm, 16 teeth (pitch \u00d824 mm), face width 10.1 mm, 23.8\u00b0 helix, \u00d85.1 mm bore."}, "params": {"module": {"type": "float", "default": 1.5, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 16, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 10.1, "min": 4.0, "max": 25.2, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "helix_angle": {"type": "float", "default": 23.8, "min": 5.0, "max": 40.0, "step": 1.0, "group": "Gear", "label": "Helix angle (deg)"}, "profile_shift": {"type": "float", "default": 0.25, "min": -0.5, "max": 0.7, "step": 0.05, "group": "Gear", "label": "Profile shift"}, "root_fillet": {"type": "float", "default": 0.18, "min": 0.0, "max": 0.75, "step": 0.05, "group": "Gear", "label": "Root fillet (mm)"}, "bore_d": {"type": "float", "default": 5.1, "min": 2.0, "max": 12.2, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333505 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 1.5, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 16, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 10.1, \"min\": 4.0, \"max\": 25.2, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"helix_angle\": {\"type\": 'float', \"default\": 23.8, \"min\": 5.0, \"max\": 40.0, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Helix angle (deg)'},\n    \"profile_shift\": {\"type\": 'float', \"default\": 0.25, \"min\": -0.5, \"max\": 0.7, \"step\": 0.05, \"group\": 'Gear', \"label\": 'Profile shift'},\n    \"root_fillet\": {\"type\": 'float', \"default\": 0.18, \"min\": 0.0, \"max\": 0.75, \"step\": 0.05, \"group\": 'Gear', \"label\": 'Root fillet (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 5.1, \"min\": 2.0, \"max\": 12.2, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.HelicalGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"], helix_angle=math.radians(p[\"helix_angle\"]), herringbone=False, profile_shift=p[\"profile_shift\"], root_fillet=p[\"root_fillet\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462caf02_4942", "family": "gear", "tier": 1, "seed": 1177333506, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "099de13eff6873a9", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 2100.0, "surface_area": 1530.0, "principal_moments": [60100.0, 60100.0, 97800.0], "n_faces": 93, "n_edges": 273, "n_vertices": 182}, "dimensions": {"lines": ["Spur gear, module 1.25 mm, 15 teeth (pitch \u00d818.75 mm), face width 8 mm, \u00d83 mm bore."], "text": "Spur gear, module 1.25 mm, 15 teeth (pitch \u00d818.75 mm), face width 8 mm, \u00d83 mm bore."}, "params": {"module": {"type": "float", "default": 1.25, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 15, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 8.0, "min": 3.2, "max": 20.0, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "bore_d": {"type": "float", "default": 3.0, "min": 2.0, "max": 9.4, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333506 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 1.25, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 15, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.2, \"max\": 20.0, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 3.0, \"min\": 2.0, \"max\": 9.4, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462caf03_4943", "family": "lofted", "tier": 0, "seed": 1177333507, "symmetry": "none", "op_count": 1, "ir_hash": "4219a068148714f0", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 40400.0, "surface_area": 7380.0, "principal_moments": [8320000.0, 8840000.0, 8840000.0], "n_faces": 7, "n_edges": 15, "n_vertices": 10}, "dimensions": {"lines": ["Lofted body through 2 sections: 44.93 \u00d7 44.93 mm rectangular section \u2192 \u00d815.3 mm circular section."], "text": "Lofted body through 2 sections: 44.93 \u00d7 44.93 mm rectangular section \u2192 \u00d815.3 mm circular section."}, "params": {"loft_base": {"type": "float", "default": 44.93, "min": 22.5, "max": 71.9, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 15.3, "min": 6.1, "max": 53.9, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 43.0, "min": 17.2, "max": 86.0, "step": 1.0, "group": "Body", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333507 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 44.93, \"min\": 22.5, \"max\": 71.9, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 15.3, \"min\": 6.1, \"max\": 53.9, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 43.0, \"min\": 17.2, \"max\": 86.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .rect(p[\"loft_base\"], p[\"loft_base\"])\n        .workplane(offset=p[\"loft_h\"])\n        .circle(p[\"loft_top\"] / 2)\n        .loft(combine=True)\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462caf04_4944", "family": "gear", "tier": 0, "seed": 1177333508, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "0563ac27deed01c4", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 15300.0, "surface_area": 5640.0, "principal_moments": [1870000.0, 1870000.0, 3420000.0], "n_faces": 128, "n_edges": 378, "n_vertices": 252}, "dimensions": {"lines": ["Spur gear, module 2 mm, 21 teeth (pitch \u00d842 mm), face width 11.2 mm."], "text": "Spur gear, module 2 mm, 21 teeth (pitch \u00d842 mm), face width 11.2 mm."}, "params": {"module": {"type": "float", "default": 2.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 21, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 11.2, "min": 4.5, "max": 28.0, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333508 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 2.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 21, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 11.2, \"min\": 4.5, \"max\": 28.0, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462caf05_4945", "family": "plate", "tier": 3, "seed": 1177333509, "symmetry": "none", "op_count": 4, "ir_hash": "3c7b1284b4a8f9ee", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 68600.0, "surface_area": 16600.0, "principal_moments": [14099999.999999998, 77200000.0, 89400000.0], "n_faces": 18, "n_edges": 45, "n_vertices": 30}, "dimensions": {"lines": ["Rectangular body, 116.52 \u00d7 48.6 \u00d7 12 mm (W\u00d7D\u00d7H).", "Five \u00d83.2 mm holes in two staggered rows, 43.7 \u00d7 44 mm pitch.", "Fillet radius 2.493 mm on vertical edges.", "Boss \u00d815.8 mm \u00d7 9.5 mm tall on top face with a \u00d86.4 mm bore."], "text": "Rectangular body, 116.52 \u00d7 48.6 \u00d7 12 mm (W\u00d7D\u00d7H). Five \u00d83.2 mm holes in two staggered rows, 43.7 \u00d7 44 mm pitch. Fillet radius 2.493 mm on vertical edges. Boss \u00d815.8 mm \u00d7 9.5 mm tall on top face with a \u00d86.4 mm bore."}, "params": {"plate_w": {"type": "float", "default": 116.52, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 48.6, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 4.9, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 3, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}, "boss_d": {"type": "float", "default": 15.8, "min": 7.9, "max": 31.6, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 9.5, "min": 3.8, "max": 23.8, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}, "boss_bore_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 11.1, "step": 0.1, "group": "Boss", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333509 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 116.52, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 48.6, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 4.9, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 3, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n    \"boss_d\": {\"type\": 'float', \"default\": 15.8, \"min\": 7.9, \"max\": 31.6, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 9.5, \"min\": 3.8, \"max\": 23.8, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n    \"boss_bore_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 11.1, \"step\": 0.1, \"group\": 'Boss', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 43.7\n    _ssy = 44.0\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"plate_w\"], p[\"plate_d\"]) * 0.05129954957446183)\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .hole(p[\"boss_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462caf06_4946", "family": "swept", "tier": 1, "seed": 1177333510, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "03def7e76abec7af", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 11800.0, "surface_area": 4490.0, "principal_moments": [549000.0, 11699999.999999998, 11999999.999999998], "n_faces": 3, "n_edges": 3, "n_vertices": 2}, "dimensions": {"lines": ["\u00d812.9 mm circular section swept along a curved path, ~105 mm span."], "text": "\u00d812.9 mm circular section swept along a curved path, ~105 mm span."}, "params": {"path_w": {"type": "float", "default": 40, "min": 20.0, "max": 72.0, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 105, "min": 52.5, "max": 189.0, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_d": {"type": "float", "default": 12.9, "min": 6.5, "max": 23.2, "step": 1.0, "group": "Section", "label": "Section diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333510 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 40, \"min\": 20.0, \"max\": 72.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 105, \"min\": 52.5, \"max\": 189.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_d\": {\"type\": 'float', \"default\": 12.9, \"min\": 6.5, \"max\": 23.2, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.3635, p[\"path_h\"] * 0.2329), (p[\"path_w\"] * 0.4037, p[\"path_h\"] * 0.7047), (p[\"path_w\"] * 0.309, p[\"path_h\"] * 0.7549), (p[\"path_w\"] * 0.5107, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').circle(p[\"sweep_d\"] / 2).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462caf07_4947", "family": "bracket", "tier": 1, "seed": 1177333511, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "c495bb67a0a97937", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 29300.0, "surface_area": 16300.0, "principal_moments": [12899999.999999998, 26199999.999999996, 28999999.999999996], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["L-bracket: base leg 61.83 mm, vertical leg 72.4 mm, 56.62 mm wide, 4 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."], "text": "L-bracket: base leg 61.83 mm, vertical leg 72.4 mm, 56.62 mm wide, 4 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 61.83, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 72.4, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 56.62, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 4.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333511 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 61.83, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 72.4, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 56.62, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462caf08_4948", "family": "enclosure", "tier": 2, "seed": 1177333512, "symmetry": "mirror_x", "op_count": 4, "ir_hash": "77974e96a803e948", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 181000.0, "surface_area": 66900.0, "principal_moments": [233000000.0, 382000000.0, 398000000.0], "n_faces": 23, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 112.74 \u00d7 64.6 \u00d7 83 mm (W\u00d7D\u00d7H).", "Hollowed to 5.5 mm wall thickness, open at top face.", "Four \u00d84.3 mm holes at the corners, 78.918 \u00d7 45.22 mm spacing.", "Fillet radius 4.769 mm on vertical edges."], "text": "Rectangular body, 112.74 \u00d7 64.6 \u00d7 83 mm (W\u00d7D\u00d7H). Hollowed to 5.5 mm wall thickness, open at top face. Four \u00d84.3 mm holes at the corners, 78.918 \u00d7 45.22 mm spacing. Fillet radius 4.769 mm on vertical edges."}, "params": {"enc_w": {"type": "float", "default": 112.74, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 64.6, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 83.0, "min": 33.2, "max": 166.0, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 5.5, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333512 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 112.74, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 64.6, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 83.0, \"min\": 33.2, \"max\": 166.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 5.5, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"enc_w\"] * 0.7, p[\"enc_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"enc_w\"], p[\"enc_d\"]) * 0.07382532060972452)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462caf09_4949", "family": "compound", "tier": 1, "seed": 1177333513, "symmetry": "none", "op_count": 2, "ir_hash": "a8e416fd681d4f6d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 71000.0, "surface_area": 11300.0, "principal_moments": [18500000.0, 27599999.999999996, 27599999.999999996], "n_faces": 9, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["5-sided polygon section, 57.24 mm across corners, extruded 28.4 mm thick.", "\u00d823.4 mm circular section attachment, 36.4 mm long, from top face."], "text": "5-sided polygon section, 57.24 mm across corners, extruded 28.4 mm thick. \u00d823.4 mm circular section attachment, 36.4 mm long, from top face."}, "params": {"base_sides": {"type": "int", "default": 5, "min": 3, "max": 8, "step": 1, "group": "Base", "label": "Base sides"}, "base_r": {"type": "float", "default": 28.62, "min": 17.2, "max": 45.8, "step": 1.0, "group": "Base", "label": "Base circumradius (mm)"}, "base_h": {"type": "float", "default": 28.4, "min": 11.4, "max": 71.0, "step": 1.0, "group": "Base", "label": "Base height (mm)"}, "col_d": {"type": "float", "default": 23.4, "min": 11.7, "max": 37.0, "step": 1.0, "group": "Column", "label": "Column diameter (mm)"}, "col_h": {"type": "float", "default": 36.4, "min": 10.9, "max": 91.0, "step": 1.0, "group": "Column", "label": "Column height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333513 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_sides\": {\"type\": 'int', \"default\": 5, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Base', \"label\": 'Base sides'},\n    \"base_r\": {\"type\": 'float', \"default\": 28.62, \"min\": 17.2, \"max\": 45.8, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base circumradius (mm)'},\n    \"base_h\": {\"type\": 'float', \"default\": 28.4, \"min\": 11.4, \"max\": 71.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base height (mm)'},\n    \"col_d\": {\"type\": 'float', \"default\": 23.4, \"min\": 11.7, \"max\": 37.0, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column diameter (mm)'},\n    \"col_h\": {\"type\": 'float', \"default\": 36.4, \"min\": 10.9, \"max\": 91.0, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').polygon(p[\"base_sides\"], p[\"base_r\"] * 2).extrude(p[\"base_h\"]))\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"col_d\"] / 2).extrude(p[\"col_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462caf0a_4950", "family": "bracket", "tier": 3, "seed": 1177333514, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "9f438ae64f33c5a4", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 32500.0, "surface_area": 18000.0, "principal_moments": [13699999.999999998, 29299999.999999996, 31499999.999999996], "n_faces": 19, "n_edges": 51, "n_vertices": 34}, "dimensions": {"lines": ["C-channel bracket: base leg 67.95 mm, vertical leg 42.7 mm, 54.8 mm wide, 4 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg; 3.7 mm corner gusset."], "text": "C-channel bracket: base leg 67.95 mm, vertical leg 42.7 mm, 54.8 mm wide, 4 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg; 3.7 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 67.95, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 42.7, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 54.8, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 4.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 3.7, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333514 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 67.95, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 42.7, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 54.8, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 3.7, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl / 2, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bl - _bt, _bt).lineTo(_bl - _bt - _g, _bt)\n                    .lineTo(_bl - _bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462caf0b_4951", "family": "compound", "tier": 2, "seed": 1177333515, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "27a259edc3426958", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 22000.0, "surface_area": 5610.0, "principal_moments": [2780000.0, 3410000.0, 3410000.0], "n_faces": 14, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["Lofted body through 3 sections: \u00d840 mm circular section \u2192 \u00d828.1 mm circular section \u2192 16.3 \u00d7 16.3 mm rectangular section.", "5-sided polygon section, 9.4 mm across corners attachment, 11.9 mm long, from top face with a \u00d84.5 mm bore."], "text": "Lofted body through 3 sections: \u00d840 mm circular section \u2192 \u00d828.1 mm circular section \u2192 16.3 \u00d7 16.3 mm rectangular section. 5-sided polygon section, 9.4 mm across corners attachment, 11.9 mm long, from top face with a \u00d84.5 mm bore."}, "params": {"adapter_base": {"type": "float", "default": 40.0, "min": 24.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "adapter_top": {"type": "float", "default": 16.3, "min": 8.2, "max": 40.0, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "adapter_h": {"type": "float", "default": 33.1, "min": 13.2, "max": 66.2, "step": 1.0, "group": "Body", "label": "Transition height (mm)"}, "adapter_mid": {"type": "float", "default": 28.1, "min": 8.2, "max": 40.0, "step": 1.0, "group": "Body", "label": "Mid size (mm)"}, "neck_sides": {"type": "int", "default": 5, "min": 3, "max": 8, "step": 1, "group": "Neck", "label": "Neck sides"}, "neck_r": {"type": "float", "default": 4.7, "min": 2.4, "max": 8.2, "step": 1.0, "group": "Neck", "label": "Neck circumradius (mm)"}, "neck_l": {"type": "float", "default": 11.9, "min": 4.8, "max": 29.8, "step": 1.0, "group": "Neck", "label": "Neck length (mm)"}, "neck_bore": {"type": "float", "default": 4.5, "min": 2.0, "max": 5.5, "step": 0.5, "group": "Neck", "label": "Neck bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333515 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"adapter_base\": {\"type\": 'float', \"default\": 40.0, \"min\": 24.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"adapter_top\": {\"type\": 'float', \"default\": 16.3, \"min\": 8.2, \"max\": 40.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"adapter_h\": {\"type\": 'float', \"default\": 33.1, \"min\": 13.2, \"max\": 66.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Transition height (mm)'},\n    \"adapter_mid\": {\"type\": 'float', \"default\": 28.1, \"min\": 8.2, \"max\": 40.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Mid size (mm)'},\n    \"neck_sides\": {\"type\": 'int', \"default\": 5, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Neck', \"label\": 'Neck sides'},\n    \"neck_r\": {\"type\": 'float', \"default\": 4.7, \"min\": 2.4, \"max\": 8.2, \"step\": 1.0, \"group\": 'Neck', \"label\": 'Neck circumradius (mm)'},\n    \"neck_l\": {\"type\": 'float', \"default\": 11.9, \"min\": 4.8, \"max\": 29.8, \"step\": 1.0, \"group\": 'Neck', \"label\": 'Neck length (mm)'},\n    \"neck_bore\": {\"type\": 'float', \"default\": 4.5, \"min\": 2.0, \"max\": 5.5, \"step\": 0.5, \"group\": 'Neck', \"label\": 'Neck bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .circle(p[\"adapter_base\"] / 2)\n        .workplane(offset=p[\"adapter_h\"] * 0.5)\n        .circle(p[\"adapter_mid\"] / 2)\n        .workplane(offset=p[\"adapter_h\"] * 0.5)\n        .rect(p[\"adapter_top\"], p[\"adapter_top\"])\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"neck_sides\"], p[\"neck_r\"] * 2).extrude(p[\"neck_l\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"neck_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462caf0c_4952", "family": "compound", "tier": 1, "seed": 1177333516, "symmetry": "none", "op_count": 2, "ir_hash": "1db387fc6d8ab6f8", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 150000.0, "surface_area": 21800.0, "principal_moments": [81100000.0, 81100000.0, 89700000.0], "n_faces": 10, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["Lofted body through 2 sections: 75 \u00d7 75 mm rectangular section \u2192 \u00d843.4 mm circular section.", "\u00d833 mm circular section attachment, 21.5 mm long, from top face with a \u00d814.1 mm bore."], "text": "Lofted body through 2 sections: 75 \u00d7 75 mm rectangular section \u2192 \u00d843.4 mm circular section. \u00d833 mm circular section attachment, 21.5 mm long, from top face with a \u00d814.1 mm bore."}, "params": {"adapter_base": {"type": "float", "default": 75, "min": 45.0, "max": 112.5, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "adapter_top": {"type": "float", "default": 43.4, "min": 21.7, "max": 75, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "adapter_h": {"type": "float", "default": 42.2, "min": 16.9, "max": 84.4, "step": 1.0, "group": "Body", "label": "Transition height (mm)"}, "neck_d": {"type": "float", "default": 33.0, "min": 13.2, "max": 43.4, "step": 1.0, "group": "Neck", "label": "Neck diameter (mm)"}, "neck_l": {"type": "float", "default": 21.5, "min": 8.6, "max": 53.8, "step": 1.0, "group": "Neck", "label": "Neck length (mm)"}, "neck_bore": {"type": "float", "default": 14.1, "min": 2.0, "max": 23.8, "step": 0.5, "group": "Neck", "label": "Neck bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333516 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"adapter_base\": {\"type\": 'float', \"default\": 75, \"min\": 45.0, \"max\": 112.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"adapter_top\": {\"type\": 'float', \"default\": 43.4, \"min\": 21.7, \"max\": 75, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"adapter_h\": {\"type\": 'float', \"default\": 42.2, \"min\": 16.9, \"max\": 84.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Transition height (mm)'},\n    \"neck_d\": {\"type\": 'float', \"default\": 33.0, \"min\": 13.2, \"max\": 43.4, \"step\": 1.0, \"group\": 'Neck', \"label\": 'Neck diameter (mm)'},\n    \"neck_l\": {\"type\": 'float', \"default\": 21.5, \"min\": 8.6, \"max\": 53.8, \"step\": 1.0, \"group\": 'Neck', \"label\": 'Neck length (mm)'},\n    \"neck_bore\": {\"type\": 'float', \"default\": 14.1, \"min\": 2.0, \"max\": 23.8, \"step\": 0.5, \"group\": 'Neck', \"label\": 'Neck bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .rect(p[\"adapter_base\"], p[\"adapter_base\"])\n        .workplane(offset=p[\"adapter_h\"])\n        .circle(p[\"adapter_top\"] / 2)\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"neck_d\"] / 2).extrude(p[\"neck_l\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"neck_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462caf0d_4953", "family": "tapped", "tier": 3, "seed": 1177333517, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "7aa2255e08f4d609", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 55400.0, "surface_area": 12300.0, "principal_moments": [11100000.0, 23999999.999999996, 32199999.999999996], "n_faces": 586, "n_edges": 1608, "n_vertices": 1024}, "dimensions": {"lines": ["Four M6x1 tapped holes in a plate."], "text": "Four M6x1 tapped holes in a plate."}, "params": {"major_d": {"type": "float", "default": 6.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 1.0, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 17.8, "min": 7.2, "max": 32.0, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "plate_w": {"type": "float", "default": 70, "min": 42.0, "max": 112.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 45.8, "min": 27.5, "max": 73.3, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333517 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.0, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 17.8, \"min\": 7.2, \"max\": 32.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"plate_w\": {\"type\": 'float', \"default\": 70, \"min\": 42.0, \"max\": 112.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 45.8, \"min\": 27.5, \"max\": 73.3, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n}\n\n\ndef build(p):\n\n    _W, _D, _H = p[\"plate_w\"], p[\"plate_d\"], p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Box(_W, _D, _H)\n    _sx, _sy = p[\"plate_w\"] * 0.6, p[\"plate_d\"] * 0.6\n    _locs = [(_xx, _yy) for _xx in (-_sx / 2, _sx / 2) for _yy in (-_sy / 2, _sy / 2)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462caf0e_4954", "family": "sketched", "tier": 3, "seed": 1177333518, "symmetry": "none", "op_count": 4, "ir_hash": "6e534f07a3eae5e6", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 33600.0, "surface_area": 6800.0, "principal_moments": [5440000.0, 6000000.0, 9050000.0], "n_faces": 11, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["freeform sketched section (5 segments: 1 straight, 2 arcs, 2 curves), ~49.452 \u00d7 42.78 mm, extruded 20 mm thick.", "One \u00d84.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch.", "Boss \u00d813.7 mm \u00d7 4.3 mm tall on top face.", "Fillet radius 2.6 mm on vertical edges (optional, off by default)."], "text": "freeform sketched section (5 segments: 1 straight, 2 arcs, 2 curves), ~49.452 \u00d7 42.78 mm, extruded 20 mm thick. One \u00d84.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch. Boss \u00d813.7 mm \u00d7 4.3 mm tall on top face. Fillet radius 2.6 mm on vertical edges (optional, off by default)."}, "params": {"sk_w": {"type": "float", "default": 77.67, "min": 38.8, "max": 139.8, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 66.12, "min": 33.1, "max": 119.0, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "sk_t": {"type": "float", "default": 20, "min": 8.0, "max": 44.0, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "sk_hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 8.6, "step": 0.5, "group": "Holes", "label": "Hole diameter (mm)"}, "boss_d": {"type": "float", "default": 13.7, "min": 6.8, "max": 27.4, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 4.3, "min": 1.7, "max": 10.8, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}, "sk_fillet_r": {"type": "float", "default": 2.6, "min": 0.5, "max": 6.5, "step": 0.5, "group": "Body", "label": "Edge fillet radius (mm)"}, "sk_filleted": {"type": "bool", "default": false, "group": "Body", "label": "Fillet vertical edges"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333518 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 77.67, \"min\": 38.8, \"max\": 139.8, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 66.12, \"min\": 33.1, \"max\": 119.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"sk_t\": {\"type\": 'float', \"default\": 20, \"min\": 8.0, \"max\": 44.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"sk_hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 8.6, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"boss_d\": {\"type\": 'float', \"default\": 13.7, \"min\": 6.8, \"max\": 27.4, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 4.3, \"min\": 1.7, \"max\": 10.8, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n    \"sk_fillet_r\": {\"type\": 'float', \"default\": 2.6, \"min\": 0.5, \"max\": 6.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Edge fillet radius (mm)'},\n    \"sk_filleted\": {\"type\": 'bool', \"default\": False, \"group\": 'Body', \"label\": 'Fillet vertical edges'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.3099, p[\"sk_h\"] * -0.0911).bezier([(p[\"sk_w\"] * 0.3099, p[\"sk_h\"] * -0.0911), (p[\"sk_w\"] * 0.3099, p[\"sk_h\"] * 0.1019), (p[\"sk_w\"] * 0.2065, p[\"sk_h\"] * 0.2648)]).threePointArc((p[\"sk_w\"] * -0.0725, p[\"sk_h\"] * 0.3149), (p[\"sk_w\"] * -0.3268, p[\"sk_h\"] * 0.2179)).spline([(p[\"sk_w\"] * -0.3268, p[\"sk_h\"] * 0.2179), (p[\"sk_w\"] * -0.2946, p[\"sk_h\"] * -0.019), (p[\"sk_w\"] * -0.2121, p[\"sk_h\"] * -0.2435)]).threePointArc((p[\"sk_w\"] * -0.1397, p[\"sk_h\"] * -0.349), (p[\"sk_w\"] * -0.0368, p[\"sk_h\"] * -0.3822)).lineTo(p[\"sk_w\"] * 0.3099, p[\"sk_h\"] * -0.0911).close().extrude(p[\"sk_t\"]))\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"sk_hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    if p[\"sk_filleted\"]:\n        result = result.edges('|Z').fillet(p[\"sk_fillet_r\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462caf0f_4955", "family": "sketched", "tier": 2, "seed": 1177333519, "symmetry": "none", "op_count": 1, "ir_hash": "998ca9e5a6c62477", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 29700.0, "surface_area": 6430.0, "principal_moments": [4230000.0, 7100000.0, 7100000.0], "n_faces": 6, "n_edges": 9, "n_vertices": 5}, "dimensions": {"lines": ["Revolved organic body from a freeform sketched section (6 segments: 3 straight, 1 arc, 2 curves), ~21.407 \u00d7 47.63 mm half-silhouette."], "text": "Revolved organic body from a freeform sketched section (6 segments: 3 straight, 1 arc, 2 curves), ~21.407 \u00d7 47.63 mm half-silhouette."}, "params": {"sk_r": {"type": "float", "default": 40.11, "min": 20.1, "max": 72.2, "step": 1.0, "group": "Sketch", "label": "Max radius (mm)"}, "sk_h": {"type": "float", "default": 47.63, "min": 23.8, "max": 85.7, "step": 1.0, "group": "Sketch", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333519 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_r\": {\"type\": 'float', \"default\": 40.11, \"min\": 20.1, \"max\": 72.2, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Max radius (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 47.63, \"min\": 23.8, \"max\": 85.7, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XZ').moveTo(p[\"sk_r\"] * 0.316, p[\"sk_h\"] * 0.0).bezier([(p[\"sk_r\"] * 0.316, p[\"sk_h\"] * 0.0), (p[\"sk_r\"] * 0.5324, p[\"sk_h\"] * 0.0565), (p[\"sk_r\"] * 0.5337, p[\"sk_h\"] * 0.1129)]).lineTo(p[\"sk_r\"] * 0.1756, p[\"sk_h\"] * 0.7216).threePointArc((p[\"sk_r\"] * 0.147, p[\"sk_h\"] * 0.8184), (p[\"sk_r\"] * 0.2363, p[\"sk_h\"] * 0.9152)).spline([(p[\"sk_r\"] * 0.2363, p[\"sk_h\"] * 0.9152), (p[\"sk_r\"] * 0.3938, p[\"sk_h\"] * 0.9576), (p[\"sk_r\"] * 0.2679, p[\"sk_h\"] * 1.0)]).lineTo(p[\"sk_r\"] * 0.0, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.0, p[\"sk_h\"] * 0.0).close().revolve())\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462caf10_4956", "family": "swept", "tier": 0, "seed": 1177333520, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "56c5c754c4a82a01", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 30100.0, "surface_area": 7700.0, "principal_moments": [1570000.0, 26399999.999999996, 26499999.999999996], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["21.1 \u00d7 17.1 mm rectangular section swept along a curved path, ~96.12 mm span."], "text": "21.1 \u00d7 17.1 mm rectangular section swept along a curved path, ~96.12 mm span."}, "params": {"path_w": {"type": "float", "default": 76.4, "min": 38.2, "max": 137.5, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 96.12, "min": 48.1, "max": 173.0, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_a": {"type": "float", "default": 21.1, "min": 10.6, "max": 38.0, "step": 1.0, "group": "Section", "label": "Section width (mm)"}, "sweep_b": {"type": "float", "default": 17.1, "min": 8.6, "max": 30.8, "step": 1.0, "group": "Section", "label": "Section depth (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333520 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 76.4, \"min\": 38.2, \"max\": 137.5, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 96.12, \"min\": 48.1, \"max\": 173.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_a\": {\"type\": 'float', \"default\": 21.1, \"min\": 10.6, \"max\": 38.0, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section width (mm)'},\n    \"sweep_b\": {\"type\": 'float', \"default\": 17.1, \"min\": 8.6, \"max\": 30.8, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section depth (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.1412, p[\"path_h\"] * 0.2089), (p[\"path_w\"] * 0.348, p[\"path_h\"] * 0.8801), (p[\"path_w\"] * 0.3776, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').rect(p[\"sweep_a\"], p[\"sweep_b\"]).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462caf11_4957", "family": "swept", "tier": 1, "seed": 1177333521, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "54ff8ba651309b13", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 7180.0, "surface_area": 3390.0, "principal_moments": [358000.0, 4320000.0, 4520000.0], "n_faces": 3, "n_edges": 3, "n_vertices": 2}, "dimensions": {"lines": ["\u00d813.3 mm circular section swept along a curved path, ~65 mm span."], "text": "\u00d813.3 mm circular section swept along a curved path, ~65 mm span."}, "params": {"path_w": {"type": "float", "default": 65, "min": 32.5, "max": 117.0, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 55, "min": 27.5, "max": 99.0, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_d": {"type": "float", "default": 13.3, "min": 6.7, "max": 23.9, "step": 1.0, "group": "Section", "label": "Section diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333521 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 65, \"min\": 32.5, \"max\": 117.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 55, \"min\": 27.5, \"max\": 99.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_d\": {\"type\": 'float', \"default\": 13.3, \"min\": 6.7, \"max\": 23.9, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.182, p[\"path_h\"] * 0.416), (p[\"path_w\"] * 0.2503, p[\"path_h\"] * 0.621), (p[\"path_w\"] * 0.5527, p[\"path_h\"] * 0.7657), (p[\"path_w\"] * 0.9874, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').circle(p[\"sweep_d\"] / 2).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462caf12_4958", "family": "revolved", "tier": 2, "seed": 1177333522, "symmetry": "radial", "op_count": 2, "ir_hash": "e4f5b4a97a4960e3", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 90800.0, "surface_area": 21800.0, "principal_moments": [21100000.0, 77600000.0, 77600000.0], "n_faces": 5, "n_edges": 8, "n_vertices": 5}, "dimensions": {"lines": ["Revolved body, \u00d839.42 mm \u00d7 111.6 mm tall.", "Chamfer 0.8 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d839.42 mm \u00d7 111.6 mm tall. Chamfer 0.8 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 39.42, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 111.6, "min": 33.5, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "end_chamfer": {"type": "float", "default": 0.8, "min": 0.1, "max": 2.4, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333522 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 39.42, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 111.6, \"min\": 33.5, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.8, \"min\": 0.1, \"max\": 2.4, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462caf13_4959", "family": "revolved", "tier": 0, "seed": 1177333523, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "5144dea1b52ec742", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 29100.0, "surface_area": 8950.0, "principal_moments": [4730000.0, 6930000.0, 6930000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d832.9 mm \u00d7 51.4 mm tall."], "text": "Revolved body, \u00d832.9 mm \u00d7 51.4 mm tall."}, "params": {"outer_d": {"type": "float", "default": 32.9, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 51.4, "min": 15.4, "max": 154.2, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333523 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 32.9, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 51.4, \"min\": 15.4, \"max\": 154.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462caf14_4960", "family": "ribbed", "tier": 1, "seed": 1177333524, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "be679f118ee7f056", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 9360.0, "surface_area": 7830.0, "principal_moments": [1520000.0, 2000000.0, 3020000.0], "n_faces": 21, "n_edges": 48, "n_vertices": 32}, "dimensions": {"lines": ["Rectangular body, 45 \u00d7 42.9 \u00d7 3 mm (W\u00d7D\u00d7H).", "Three ribs, 2.2 mm thick, 15 mm tall."], "text": "Rectangular body, 45 \u00d7 42.9 \u00d7 3 mm (W\u00d7D\u00d7H). Three ribs, 2.2 mm thick, 15 mm tall."}, "params": {"base_w": {"type": "float", "default": 45, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 42.9, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 3.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 3, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 15.0, "min": 6.0, "max": 30.0, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 2.2, "min": 1.0, "max": 5.5, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333524 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 45, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 42.9, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 3, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 15.0, \"min\": 6.0, \"max\": 30.0, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 2.2, \"min\": 1.0, \"max\": 5.5, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462caf15_4961", "family": "compound", "tier": 2, "seed": 1177333525, "symmetry": "mirror_xy", "op_count": 4, "ir_hash": "04552bf5dac29f75", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 42000.0, "surface_area": 14900.0, "principal_moments": [20900000.0, 24499999.999999996, 29199999.999999996], "n_faces": 17, "n_edges": 42, "n_vertices": 28}, "dimensions": {"lines": ["Rectangular body, 73.3 \u00d7 64.7 \u00d7 8 mm (W\u00d7D\u00d7H).", "\u00d810.4 mm circular section attachment, 67.5 mm long, from top face with a \u00d84.2 mm bore.", "Four \u00d83.2 mm holes at the corners, 51.31 \u00d7 45.29 mm spacing.", "Fillet radius 7.157 mm on vertical edges."], "text": "Rectangular body, 73.3 \u00d7 64.7 \u00d7 8 mm (W\u00d7D\u00d7H). \u00d810.4 mm circular section attachment, 67.5 mm long, from top face with a \u00d84.2 mm bore. Four \u00d83.2 mm holes at the corners, 51.31 \u00d7 45.29 mm spacing. Fillet radius 7.157 mm on vertical edges."}, "params": {"base_w": {"type": "float", "default": 73.3, "min": 30.0, "max": 160.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 64.7, "min": 25.0, "max": 160.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_h": {"type": "float", "default": 8.0, "min": 3.0, "max": 30.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "col_d": {"type": "float", "default": 10.4, "min": 4.2, "max": 32.4, "step": 1.0, "group": "Column", "label": "Column diameter (mm)"}, "col_h": {"type": "float", "default": 67.5, "min": 20.2, "max": 202.5, "step": 1.0, "group": "Column", "label": "Column height (mm)"}, "col_bore": {"type": "float", "default": 4.2, "min": 2.0, "max": 7.5, "step": 0.5, "group": "Column", "label": "Column bore diameter (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333525 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 73.3, \"min\": 30.0, \"max\": 160.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 64.7, \"min\": 25.0, \"max\": 160.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_h\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 30.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"col_d\": {\"type\": 'float', \"default\": 10.4, \"min\": 4.2, \"max\": 32.4, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column diameter (mm)'},\n    \"col_h\": {\"type\": 'float', \"default\": 67.5, \"min\": 20.2, \"max\": 202.5, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column height (mm)'},\n    \"col_bore\": {\"type\": 'float', \"default\": 4.2, \"min\": 2.0, \"max\": 7.5, \"step\": 0.5, \"group\": 'Column', \"label\": 'Column bore diameter (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_h\"])\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"col_d\"] / 2).extrude(p[\"col_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"col_bore\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"base_w\"] * 0.7, p[\"base_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"base_w\"], p[\"base_d\"]) * 0.11062052644540074)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462caf16_4962", "family": "compound", "tier": 1, "seed": 1177333526, "symmetry": "none", "op_count": 3, "ir_hash": "20d78518d88bd47f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 227000.0, "surface_area": 32700.0, "principal_moments": [143000000.0, 146000000.0, 175000000.0], "n_faces": 15, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 54.87 \u00d7 65.1 \u00d7 66.9 mm (W\u00d7D\u00d7H).", "48.8 \u00d7 50.1 mm rectangular section attachment, 5 mm long, from front face.", "Four \u00d810.5 mm holes at the corners, 29.28 \u00d7 30.06 mm spacing on the <Y face."], "text": "Rectangular body, 54.87 \u00d7 65.1 \u00d7 66.9 mm (W\u00d7D\u00d7H). 48.8 \u00d7 50.1 mm rectangular section attachment, 5 mm long, from front face. Four \u00d810.5 mm holes at the corners, 29.28 \u00d7 30.06 mm spacing on the <Y face."}, "params": {"block_w": {"type": "float", "default": 54.87, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 65.1, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 66.9, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "tab_a": {"type": "float", "default": 48.8, "min": 19.5, "max": 78.1, "step": 1.0, "group": "Tab", "label": "Tab width (mm)"}, "tab_b": {"type": "float", "default": 50.1, "min": 20.0, "max": 80.2, "step": 1.0, "group": "Tab", "label": "Tab height (mm)"}, "tab_t": {"type": "float", "default": 5.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Tab", "label": "Tab thickness (mm)"}, "tab_hole_d": {"type": "float", "default": 10.5, "min": 2.0, "max": 10.7, "step": 0.1, "group": "Tab", "label": "Tab hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333526 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 54.87, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 65.1, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 66.9, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"tab_a\": {\"type\": 'float', \"default\": 48.8, \"min\": 19.5, \"max\": 78.1, \"step\": 1.0, \"group\": 'Tab', \"label\": 'Tab width (mm)'},\n    \"tab_b\": {\"type\": 'float', \"default\": 50.1, \"min\": 20.0, \"max\": 80.2, \"step\": 1.0, \"group\": 'Tab', \"label\": 'Tab height (mm)'},\n    \"tab_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Tab', \"label\": 'Tab thickness (mm)'},\n    \"tab_hole_d\": {\"type\": 'float', \"default\": 10.5, \"min\": 2.0, \"max\": 10.7, \"step\": 0.1, \"group\": 'Tab', \"label\": 'Tab hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .rect(p[\"tab_a\"], p[\"tab_b\"]).extrude(p[\"tab_t\"])\n    )\n    result = (\n        result.faces('<Y').workplane()\n        .rect(p[\"tab_a\"] * 0.6, p[\"tab_b\"] * 0.6, forConstruction=True)\n        .vertices().hole(p[\"tab_hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462caf17_4963", "family": "revolved", "tier": 1, "seed": 1177333527, "symmetry": "none", "op_count": 2, "ir_hash": "92a906942e6f5f3c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 113000.0, "surface_area": 19000.0, "principal_moments": [58799999.99999999, 58799999.99999999, 76000000.0], "n_faces": 8, "n_edges": 14, "n_vertices": 8}, "dimensions": {"lines": ["Revolved body, \u00d865 mm \u00d7 47.1 mm tall with \u00d833.8 mm bore.", "Chamfer 1.4 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d865 mm \u00d7 47.1 mm tall with \u00d833.8 mm bore. Chamfer 1.4 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 65, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 47.1, "min": 14.1, "max": 141.3, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 33.8, "min": 2.0, "max": 45.5, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "end_chamfer": {"type": "float", "default": 1.4, "min": 0.1, "max": 4.2, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333527 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 65, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 47.1, \"min\": 14.1, \"max\": 141.3, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 33.8, \"min\": 2.0, \"max\": 45.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 1.4, \"min\": 0.1, \"max\": 4.2, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462caf19_4965", "family": "plate", "tier": 2, "seed": 1177333529, "symmetry": "none", "op_count": 2, "ir_hash": "3a3290414e6bb9d2", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 29700.0, "surface_area": 10600.0, "principal_moments": [3900000.0, 24199999.999999996, 27699999.999999996], "n_faces": 22, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 100 \u00d7 39.5 \u00d7 8 mm (W\u00d7D\u00d7H).", "Four 7.7 mm square holes at the corners, 70 \u00d7 27.65 mm spacing."], "text": "Rectangular body, 100 \u00d7 39.5 \u00d7 8 mm (W\u00d7D\u00d7H). Four 7.7 mm square holes at the corners, 70 \u00d7 27.65 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 100, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 39.5, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 7.7, "min": 2.0, "max": 11.6, "step": 0.5, "group": "Holes", "label": "Square hole size (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333529 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 100, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 39.5, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 7.7, \"min\": 2.0, \"max\": 11.6, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Square hole size (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().rect(p[\"hole_d\"], p[\"hole_d\"]).cutThruAll()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462caf1a_4966", "family": "block", "tier": 1, "seed": 1177333530, "symmetry": "none", "op_count": 2, "ir_hash": "d91ac80af9a647bd", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 312000.0, "surface_area": 35100.0, "principal_moments": [191000000.0, 307000000.0, 405000000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 75 \u00d7 42.4 \u00d7 100 mm (W\u00d7D\u00d7H).", "Four \u00d84.3 mm holes at the corners, 52.5 \u00d7 29.68 mm spacing."], "text": "Rectangular body, 75 \u00d7 42.4 \u00d7 100 mm (W\u00d7D\u00d7H). Four \u00d84.3 mm holes at the corners, 52.5 \u00d7 29.68 mm spacing."}, "params": {"block_w": {"type": "float", "default": 75, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 42.4, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 100.0, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 9.5, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333530 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 75, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 42.4, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 100.0, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 9.5, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462caf1b_4967", "family": "plate", "tier": 0, "seed": 1177333531, "symmetry": "none", "op_count": 1, "ir_hash": "8405fd8655d0467a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 115000.0, "surface_area": 23800.0, "principal_moments": [90300000.0, 95599999.99999999, 183000000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 99.25 \u00d7 96.4 \u00d7 12 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 99.25 \u00d7 96.4 \u00d7 12 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 99.25, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 96.4, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333531 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 99.25, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 96.4, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462caf1c_4968", "family": "compound", "tier": 2, "seed": 1177333532, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "a2fce552e84736f1", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 61600.0, "surface_area": 11600.0, "principal_moments": [17600000.0, 18000000.0, 18000000.0], "n_faces": 15, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Lofted body through 3 sections: \u00d860 mm circular section \u2192 \u00d842.9 mm circular section \u2192 25.8 \u00d7 25.8 mm rectangular section.", "6-sided polygon section, 16.4 mm across corners attachment, 16.8 mm long, from top face with a \u00d88 mm bore."], "text": "Lofted body through 3 sections: \u00d860 mm circular section \u2192 \u00d842.9 mm circular section \u2192 25.8 \u00d7 25.8 mm rectangular section. 6-sided polygon section, 16.4 mm across corners attachment, 16.8 mm long, from top face with a \u00d88 mm bore."}, "params": {"adapter_base": {"type": "float", "default": 60, "min": 36.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "adapter_top": {"type": "float", "default": 25.8, "min": 12.9, "max": 60, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "adapter_h": {"type": "float", "default": 39.8, "min": 15.9, "max": 79.6, "step": 1.0, "group": "Body", "label": "Transition height (mm)"}, "adapter_mid": {"type": "float", "default": 42.9, "min": 12.9, "max": 60, "step": 1.0, "group": "Body", "label": "Mid size (mm)"}, "neck_sides": {"type": "int", "default": 6, "min": 3, "max": 8, "step": 1, "group": "Neck", "label": "Neck sides"}, "neck_r": {"type": "float", "default": 8.2, "min": 4.1, "max": 12.9, "step": 1.0, "group": "Neck", "label": "Neck circumradius (mm)"}, "neck_l": {"type": "float", "default": 16.8, "min": 6.7, "max": 42.0, "step": 1.0, "group": "Neck", "label": "Neck length (mm)"}, "neck_bore": {"type": "float", "default": 8.0, "min": 2.0, "max": 10.2, "step": 0.5, "group": "Neck", "label": "Neck bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333532 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"adapter_base\": {\"type\": 'float', \"default\": 60, \"min\": 36.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"adapter_top\": {\"type\": 'float', \"default\": 25.8, \"min\": 12.9, \"max\": 60, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"adapter_h\": {\"type\": 'float', \"default\": 39.8, \"min\": 15.9, \"max\": 79.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Transition height (mm)'},\n    \"adapter_mid\": {\"type\": 'float', \"default\": 42.9, \"min\": 12.9, \"max\": 60, \"step\": 1.0, \"group\": 'Body', \"label\": 'Mid size (mm)'},\n    \"neck_sides\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Neck', \"label\": 'Neck sides'},\n    \"neck_r\": {\"type\": 'float', \"default\": 8.2, \"min\": 4.1, \"max\": 12.9, \"step\": 1.0, \"group\": 'Neck', \"label\": 'Neck circumradius (mm)'},\n    \"neck_l\": {\"type\": 'float', \"default\": 16.8, \"min\": 6.7, \"max\": 42.0, \"step\": 1.0, \"group\": 'Neck', \"label\": 'Neck length (mm)'},\n    \"neck_bore\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 10.2, \"step\": 0.5, \"group\": 'Neck', \"label\": 'Neck bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .circle(p[\"adapter_base\"] / 2)\n        .workplane(offset=p[\"adapter_h\"] * 0.5)\n        .circle(p[\"adapter_mid\"] / 2)\n        .workplane(offset=p[\"adapter_h\"] * 0.5)\n        .rect(p[\"adapter_top\"], p[\"adapter_top\"])\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"neck_sides\"], p[\"neck_r\"] * 2).extrude(p[\"neck_l\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"neck_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462caf1d_4969", "family": "flanged", "tier": 1, "seed": 1177333533, "symmetry": "none", "op_count": 2, "ir_hash": "77d75cf73f8cb239", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 179000.0, "surface_area": 34900.0, "principal_moments": [148000000.0, 148000000.0, 254000000.0], "n_faces": 12, "n_edges": 27, "n_vertices": 18}, "dimensions": {"lines": ["Revolved body, \u00d864.74 mm \u00d7 38.6 mm tall with \u00d832.4 mm bore, \u00d8118.9 mm \u00d7 10.8 mm flange.", "Six \u00d84.3 mm holes on a \u00d871.4 mm bolt circle."], "text": "Revolved body, \u00d864.74 mm \u00d7 38.6 mm tall with \u00d832.4 mm bore, \u00d8118.9 mm \u00d7 10.8 mm flange. Six \u00d84.3 mm holes on a \u00d871.4 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 64.74, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 38.6, "min": 11.6, "max": 96.5, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 32.4, "min": 2.0, "max": 45.3, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 118.9, "min": 84.2, "max": 194.2, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 10.8, "min": 3.2, "max": 15.4, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 35.7, "min": 23.8, "max": 53.5, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 6, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333533 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 64.74, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 38.6, \"min\": 11.6, \"max\": 96.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 32.4, \"min\": 2.0, \"max\": 45.3, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 118.9, \"min\": 84.2, \"max\": 194.2, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 10.8, \"min\": 3.2, \"max\": 15.4, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 35.7, \"min\": 23.8, \"max\": 53.5, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462caf1e_4970", "family": "compound", "tier": 1, "seed": 1177333534, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "9a075de7a499696b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 82800.0, "surface_area": 14200.0, "principal_moments": [30199999.999999996, 30199999.999999996, 30799999.999999996], "n_faces": 10, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["Lofted body through 2 sections: 60 \u00d7 60 mm rectangular section \u2192 \u00d824.7 mm circular section.", "\u00d816.8 mm circular section attachment, 16.1 mm long, from top face with a \u00d88 mm bore."], "text": "Lofted body through 2 sections: 60 \u00d7 60 mm rectangular section \u2192 \u00d824.7 mm circular section. \u00d816.8 mm circular section attachment, 16.1 mm long, from top face with a \u00d88 mm bore."}, "params": {"adapter_base": {"type": "float", "default": 60, "min": 36.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "adapter_top": {"type": "float", "default": 24.7, "min": 12.3, "max": 60, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "adapter_h": {"type": "float", "default": 45.6, "min": 18.2, "max": 91.2, "step": 1.0, "group": "Body", "label": "Transition height (mm)"}, "neck_d": {"type": "float", "default": 16.8, "min": 6.7, "max": 24.7, "step": 1.0, "group": "Neck", "label": "Neck diameter (mm)"}, "neck_l": {"type": "float", "default": 16.1, "min": 6.4, "max": 40.2, "step": 1.0, "group": "Neck", "label": "Neck length (mm)"}, "neck_bore": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.1, "step": 0.5, "group": "Neck", "label": "Neck bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333534 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"adapter_base\": {\"type\": 'float', \"default\": 60, \"min\": 36.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"adapter_top\": {\"type\": 'float', \"default\": 24.7, \"min\": 12.3, \"max\": 60, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"adapter_h\": {\"type\": 'float', \"default\": 45.6, \"min\": 18.2, \"max\": 91.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Transition height (mm)'},\n    \"neck_d\": {\"type\": 'float', \"default\": 16.8, \"min\": 6.7, \"max\": 24.7, \"step\": 1.0, \"group\": 'Neck', \"label\": 'Neck diameter (mm)'},\n    \"neck_l\": {\"type\": 'float', \"default\": 16.1, \"min\": 6.4, \"max\": 40.2, \"step\": 1.0, \"group\": 'Neck', \"label\": 'Neck length (mm)'},\n    \"neck_bore\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.1, \"step\": 0.5, \"group\": 'Neck', \"label\": 'Neck bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .rect(p[\"adapter_base\"], p[\"adapter_base\"])\n        .workplane(offset=p[\"adapter_h\"])\n        .circle(p[\"adapter_top\"] / 2)\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"neck_d\"] / 2).extrude(p[\"neck_l\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"neck_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462caf1f_4971", "family": "flanged", "tier": 1, "seed": 1177333535, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "05d5c7b95d12a129", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 1070000.0, "surface_area": 101000.0, "principal_moments": [2010000000.0, 3050000000.0, 3050000000.0], "n_faces": 21, "n_edges": 78, "n_vertices": 52}, "dimensions": {"lines": ["Revolved body, \u00d895 mm \u00d7 139.2 mm tall with \u00d832.8 mm bore, \u00d8162.7 mm \u00d7 15.1 mm flange.", "Eight \u00d84.3 mm holes on a \u00d897.6 mm bolt circle."], "text": "Revolved body, \u00d895 mm \u00d7 139.2 mm tall with \u00d832.8 mm bore, \u00d8162.7 mm \u00d7 15.1 mm flange. Eight \u00d84.3 mm holes on a \u00d897.6 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 95, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 139.2, "min": 41.8, "max": 348.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 32.8, "min": 2.0, "max": 66.5, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 162.7, "min": 123.5, "max": 285.0, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 15.1, "min": 4.5, "max": 55.7, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 48.8, "min": 32.5, "max": 73.2, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 8, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333535 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 95, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 139.2, \"min\": 41.8, \"max\": 348.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 32.8, \"min\": 2.0, \"max\": 66.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 162.7, \"min\": 123.5, \"max\": 285.0, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 15.1, \"min\": 4.5, \"max\": 55.7, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 48.8, \"min\": 32.5, \"max\": 73.2, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462caf20_4972", "family": "bracket", "tier": 1, "seed": 1177333536, "symmetry": "none", "op_count": 1, "ir_hash": "a77fb661f72ab45b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 7270.0, "surface_area": 5590.0, "principal_moments": [1100000.0, 1580000.0, 1730000.0], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["C-channel bracket: base leg 31.29 mm, vertical leg 25.6 mm, 31.98 mm wide, 3 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."], "text": "C-channel bracket: base leg 31.29 mm, vertical leg 25.6 mm, 31.98 mm wide, 3 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 31.29, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 25.6, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 31.98, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 3.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333536 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 31.29, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 25.6, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 31.98, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462caf21_4973", "family": "swept", "tier": 1, "seed": 1177333537, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "f04526c469bf40a6", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 12000.0, "surface_area": 4300.0, "principal_moments": [594000.0, 8990000.0, 9330000.0], "n_faces": 3, "n_edges": 3, "n_vertices": 2}, "dimensions": {"lines": ["\u00d813.2 mm circular section swept along a curved path, ~85 mm span."], "text": "\u00d813.2 mm circular section swept along a curved path, ~85 mm span."}, "params": {"path_w": {"type": "float", "default": 50.09, "min": 25.0, "max": 90.2, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 85, "min": 42.5, "max": 153.0, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_d": {"type": "float", "default": 13.2, "min": 6.6, "max": 23.8, "step": 1.0, "group": "Section", "label": "Section diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333537 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 50.09, \"min\": 25.0, \"max\": 90.2, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 85, \"min\": 42.5, \"max\": 153.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_d\": {\"type\": 'float', \"default\": 13.2, \"min\": 6.6, \"max\": 23.8, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.3345), (p[\"path_w\"] * 0.0705, p[\"path_h\"] * 0.3708), (p[\"path_w\"] * 0.5184, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').circle(p[\"sweep_d\"] / 2).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462caf22_4974", "family": "block", "tier": 1, "seed": 1177333538, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "e8f80d62085c395a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 401000.0, "surface_area": 43200.0, "principal_moments": [283000000.0, 450000000.0, 502000000.0], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["Rectangular body, 70.54 \u00d7 58.3 \u00d7 100 mm (W\u00d7D\u00d7H).", "Seven \u00d84.3 mm holes in two staggered rows, 17.6 \u00d7 14.7 mm pitch."], "text": "Rectangular body, 70.54 \u00d7 58.3 \u00d7 100 mm (W\u00d7D\u00d7H). Seven \u00d84.3 mm holes in two staggered rows, 17.6 \u00d7 14.7 mm pitch."}, "params": {"block_w": {"type": "float", "default": 70.54, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 58.3, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 100.0, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 5.8, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 4, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333538 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 70.54, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 58.3, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 100.0, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 5.8, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 4, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 17.6\n    _ssy = 14.7\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462caf23_4975", "family": "lofted", "tier": 1, "seed": 1177333539, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "1e7356506a96499e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 14900.0, "surface_area": 4600.0, "principal_moments": [1310000.0, 2130000.0, 2140000.0], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["Lofted body through 2 sections: 6-sided polygon section, 33.78 mm across corners \u2192 14.3 \u00d7 14.3 mm rectangular section.", "One \u00d87.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 2 sections: 6-sided polygon section, 33.78 mm across corners \u2192 14.3 \u00d7 14.3 mm rectangular section. One \u00d87.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 33.78, "min": 16.9, "max": 54.0, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 14.3, "min": 5.7, "max": 40.5, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 36.8, "min": 14.7, "max": 73.6, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_bore_d": {"type": "float", "default": 7.3, "min": 2.0, "max": 11.4, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333539 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 33.78, \"min\": 16.9, \"max\": 54.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 14.3, \"min\": 5.7, \"max\": 40.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 36.8, \"min\": 14.7, \"max\": 73.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 7.3, \"min\": 2.0, \"max\": 11.4, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .polygon(6, p[\"loft_base\"] * 0.5 * 2)\n        .workplane(offset=p[\"loft_h\"])\n        .rect(p[\"loft_top\"], p[\"loft_top\"])\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462caf24_4976", "family": "flanged", "tier": 3, "seed": 1177333540, "symmetry": "radial", "op_count": 3, "ir_hash": "e80671bd4908a88e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 707000.0, "surface_area": 102000.0, "principal_moments": [1720000000.0, 1720000000.0, 2450000000.0], "n_faces": 18, "n_edges": 37, "n_vertices": 22}, "dimensions": {"lines": ["Revolved body, \u00d887.44 mm \u00d7 87.9 mm tall with \u00d846.5 mm bore, \u00d8201.8 mm \u00d7 12.7 mm flange.", "Four \u00d86.4 mm holes on a \u00d8121 mm bolt circle.", "Chamfer 0.6 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d887.44 mm \u00d7 87.9 mm tall with \u00d846.5 mm bore, \u00d8201.8 mm \u00d7 12.7 mm flange. Four \u00d86.4 mm holes on a \u00d8121 mm bolt circle. Chamfer 0.6 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 87.44, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 87.9, "min": 26.4, "max": 219.8, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 46.5, "min": 2.0, "max": 61.2, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 201.8, "min": 113.7, "max": 262.3, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 12.7, "min": 3.8, "max": 35.2, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 60.5, "min": 40.4, "max": 90.8, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 4, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}, "end_chamfer": {"type": "float", "default": 0.6, "min": 0.1, "max": 2.0, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333540 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 87.44, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 87.9, \"min\": 26.4, \"max\": 219.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 46.5, \"min\": 2.0, \"max\": 61.2, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 201.8, \"min\": 113.7, \"max\": 262.3, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 12.7, \"min\": 3.8, \"max\": 35.2, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 60.5, \"min\": 40.4, \"max\": 90.8, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 4, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.6, \"min\": 0.1, \"max\": 2.0, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462caf25_4977", "family": "lofted", "tier": 0, "seed": 1177333541, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "3619f817a939d78b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 19900.0, "surface_area": 4370.0, "principal_moments": [2010000.0, 2950000.0, 2950000.0], "n_faces": 7, "n_edges": 15, "n_vertices": 10}, "dimensions": {"lines": ["Lofted body through 2 sections: 30 \u00d7 30 mm rectangular section \u2192 \u00d818.4 mm circular section."], "text": "Lofted body through 2 sections: 30 \u00d7 30 mm rectangular section \u2192 \u00d818.4 mm circular section."}, "params": {"loft_base": {"type": "float", "default": 30.0, "min": 15.0, "max": 48.0, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 18.4, "min": 7.4, "max": 36.0, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 35.9, "min": 14.4, "max": 71.8, "step": 1.0, "group": "Body", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333541 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 30.0, \"min\": 15.0, \"max\": 48.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 18.4, \"min\": 7.4, \"max\": 36.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 35.9, \"min\": 14.4, \"max\": 71.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .rect(p[\"loft_base\"], p[\"loft_base\"])\n        .workplane(offset=p[\"loft_h\"])\n        .circle(p[\"loft_top\"] / 2)\n        .loft(combine=True)\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462caf26_4978", "family": "plate", "tier": 1, "seed": 1177333542, "symmetry": "none", "op_count": 2, "ir_hash": "3b2c69973d2070f2", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 3860.0, "surface_area": 1930.0, "principal_moments": [104000.0, 242000.0, 254000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 25 \u00d7 13.6 \u00d7 12 mm (W\u00d7D\u00d7H).", "Four \u00d82.4 mm holes at the corners, 17.5 \u00d7 9.52 mm spacing."], "text": "Rectangular body, 25 \u00d7 13.6 \u00d7 12 mm (W\u00d7D\u00d7H). Four \u00d82.4 mm holes at the corners, 17.5 \u00d7 9.52 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 25, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 13.6, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 2.4, "min": 2.0, "max": 3.1, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333542 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 25, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 13.6, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 2.4, \"min\": 2.0, \"max\": 3.1, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462caf27_4979", "family": "bracket", "tier": 1, "seed": 1177333543, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "39fbea9868dd26e5", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 57400.0, "surface_area": 31300.0, "principal_moments": [65299999.99999999, 75000000.0, 107000000.0], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["C-channel bracket: base leg 75 mm, vertical leg 89.6 mm, 58.47 mm wide, 4 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."], "text": "C-channel bracket: base leg 75 mm, vertical leg 89.6 mm, 58.47 mm wide, 4 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 75, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 89.6, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 58.47, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 4.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333543 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 75, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 89.6, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 58.47, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462caf28_4980", "family": "plate", "tier": 0, "seed": 1177333544, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "bbd52510b8ccfcf9", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 35600.0, "surface_area": 8750.0, "principal_moments": [4510000.0, 19400000.0, 23099999.999999996], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 80 \u00d7 37.1 \u00d7 12 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 80 \u00d7 37.1 \u00d7 12 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 80, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 37.1, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333544 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 80, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 37.1, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462caf29_4981", "family": "gear", "tier": 2, "seed": 1177333545, "symmetry": "none", "op_count": 1, "ir_hash": "d7446f5e612aa17b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 216000.0, "surface_area": 34300.0, "principal_moments": [202000000.0, 202000000.0, 389000000.0], "n_faces": 373, "n_edges": 928, "n_vertices": 557}, "dimensions": {"lines": ["Helical gear, module 3 mm, 37 teeth (pitch \u00d8111 mm), face width 20.6 mm, 16.1\u00b0 helix (herringbone), \u00d822.9 mm bore."], "text": "Helical gear, module 3 mm, 37 teeth (pitch \u00d8111 mm), face width 20.6 mm, 16.1\u00b0 helix (herringbone), \u00d822.9 mm bore."}, "params": {"module": {"type": "float", "default": 3.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 37, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 20.6, "min": 8.2, "max": 51.5, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "helix_angle": {"type": "float", "default": 16.1, "min": 5.0, "max": 40.0, "step": 1.0, "group": "Gear", "label": "Helix angle (deg)"}, "profile_shift": {"type": "float", "default": 0.19, "min": -0.5, "max": 0.7, "step": 0.05, "group": "Gear", "label": "Profile shift"}, "root_fillet": {"type": "float", "default": 0.86, "min": 0.0, "max": 1.5, "step": 0.05, "group": "Gear", "label": "Root fillet (mm)"}, "bore_d": {"type": "float", "default": 22.9, "min": 2.0, "max": 62.1, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333545 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 3.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 37, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 20.6, \"min\": 8.2, \"max\": 51.5, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"helix_angle\": {\"type\": 'float', \"default\": 16.1, \"min\": 5.0, \"max\": 40.0, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Helix angle (deg)'},\n    \"profile_shift\": {\"type\": 'float', \"default\": 0.19, \"min\": -0.5, \"max\": 0.7, \"step\": 0.05, \"group\": 'Gear', \"label\": 'Profile shift'},\n    \"root_fillet\": {\"type\": 'float', \"default\": 0.86, \"min\": 0.0, \"max\": 1.5, \"step\": 0.05, \"group\": 'Gear', \"label\": 'Root fillet (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 22.9, \"min\": 2.0, \"max\": 62.1, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.HelicalGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"], helix_angle=math.radians(p[\"helix_angle\"]), herringbone=True, profile_shift=p[\"profile_shift\"], root_fillet=p[\"root_fillet\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462caf2a_4982", "family": "gear", "tier": 0, "seed": 1177333546, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "7601eb0517a51ee6", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 39200.0, "surface_area": 13100.0, "principal_moments": [14399999.999999998, 14399999.999999998, 28299999.999999996], "n_faces": 230, "n_edges": 684, "n_vertices": 456}, "dimensions": {"lines": ["Spur gear, module 2 mm, 38 teeth (pitch \u00d876 mm), face width 8.7 mm."], "text": "Spur gear, module 2 mm, 38 teeth (pitch \u00d876 mm), face width 8.7 mm."}, "params": {"module": {"type": "float", "default": 2.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 38, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 8.7, "min": 3.5, "max": 21.8, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333546 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 2.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 38, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 8.7, \"min\": 3.5, \"max\": 21.8, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462caf2b_4983", "family": "threaded", "tier": 1, "seed": 1177333547, "symmetry": "none", "op_count": 1, "ir_hash": "61e79d9841ac1e86", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 2800.0, "surface_area": 2120.0, "principal_moments": [91000.0, 169000.0, 169000.0], "n_faces": 151, "n_edges": 409, "n_vertices": 260}, "dimensions": {"lines": ["M8x1.25 internal thread, 23.1 mm long."], "text": "M8x1.25 internal thread, 23.1 mm long."}, "params": {"major_d": {"type": "float", "default": 8.0, "min": 4.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Major diameter (mm)"}, "pitch": {"type": "float", "default": 1.25, "min": 0.62, "max": 2.5, "step": 0.05, "group": "Thread", "label": "Pitch (mm)"}, "thread_len": {"type": "float", "default": 23.1, "min": 9.2, "max": 46.2, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333547 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 8.0, \"min\": 4.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Major diameter (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.25, \"min\": 0.62, \"max\": 2.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Pitch (mm)'},\n    \"thread_len\": {\"type\": 'float', \"default\": 23.1, \"min\": 9.2, \"max\": 46.2, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.IsoThread(major_diameter=p[\"major_d\"], pitch=p[\"pitch\"], length=p[\"thread_len\"], external=False, end_finishes=(\"fade\", \"fade\"))\n    _body = _bd.Cylinder(radius=(p[\"major_d\"]) * 0.9, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _bore = _bd.Cylinder(radius=(p[\"major_d\"]) / 2, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = (_body - _bore) + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462caf2c_4984", "family": "bracket", "tier": 3, "seed": 1177333548, "symmetry": "none", "op_count": 1, "ir_hash": "3c1d831e04c70934", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 35100.0, "surface_area": 19700.0, "principal_moments": [11999999.999999998, 67900000.0, 71200000.0], "n_faces": 22, "n_edges": 70, "n_vertices": 44}, "dimensions": {"lines": ["Z-bracket: base leg 75 mm, vertical leg 82.6 mm, top leg 62.7 mm, 39.51 mm wide, 4 mm thick; 2 \u00d7 \u00d86.4 mm holes per leg; 4.7 mm corner gusset."], "text": "Z-bracket: base leg 75 mm, vertical leg 82.6 mm, top leg 62.7 mm, 39.51 mm wide, 4 mm thick; 2 \u00d7 \u00d86.4 mm holes per leg; 4.7 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 75, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 82.6, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 39.51, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 4.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 62.7, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 2, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}, "gusset_t": {"type": "float", "default": 4.7, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333548 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 75, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 82.6, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 39.51, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 62.7, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 2, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 4.7, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _tl, _vl) * 0.4 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(0, _vl - _bt).lineTo(-_g, _vl - _bt)\n                    .lineTo(0, _vl - _bt - _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462caf2d_4985", "family": "swept", "tier": 2, "seed": 1177333549, "symmetry": "none", "op_count": 1, "ir_hash": "c177abf6c51dfaa8", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 4940.0, "surface_area": 3340.0, "principal_moments": [1260000.0, 2690000.0, 3910000.0], "n_faces": 3, "n_edges": 3, "n_vertices": 2}, "dimensions": {"lines": ["\u00d88.3 mm circular section swept along a curved path, ~85 mm span."], "text": "\u00d88.3 mm circular section swept along a curved path, ~85 mm span."}, "params": {"path_w": {"type": "float", "default": 70, "min": 35.0, "max": 126.0, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 85, "min": 42.5, "max": 153.0, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_d": {"type": "float", "default": 8.3, "min": 4.2, "max": 14.9, "step": 1.0, "group": "Section", "label": "Section diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333549 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 70, \"min\": 35.0, \"max\": 126.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 85, \"min\": 42.5, \"max\": 153.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_d\": {\"type\": 'float', \"default\": 8.3, \"min\": 4.2, \"max\": 14.9, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.4343, p[\"path_h\"] * 0.6855), (p[\"path_w\"] * 0.2199, p[\"path_h\"] * 0.7154), (p[\"path_w\"] * 0.241, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').circle(p[\"sweep_d\"] / 2).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462caf2e_4986", "family": "swept", "tier": 1, "seed": 1177333550, "symmetry": "none", "op_count": 1, "ir_hash": "68f0d9ddf452e00a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 1470.0, "surface_area": 1740.0, "principal_moments": [76200.0, 771000.0, 840000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["10.5 \u00d7 5.3 mm rectangular section swept along a curved path, ~76.98 mm span."], "text": "10.5 \u00d7 5.3 mm rectangular section swept along a curved path, ~76.98 mm span."}, "params": {"path_w": {"type": "float", "default": 76.98, "min": 38.5, "max": 138.6, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 71.17, "min": 35.6, "max": 128.1, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_a": {"type": "float", "default": 10.5, "min": 5.2, "max": 18.9, "step": 1.0, "group": "Section", "label": "Section width (mm)"}, "sweep_b": {"type": "float", "default": 5.3, "min": 2.6, "max": 9.5, "step": 1.0, "group": "Section", "label": "Section depth (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333550 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 76.98, \"min\": 38.5, \"max\": 138.6, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 71.17, \"min\": 35.6, \"max\": 128.1, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_a\": {\"type\": 'float', \"default\": 10.5, \"min\": 5.2, \"max\": 18.9, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section width (mm)'},\n    \"sweep_b\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.6, \"max\": 9.5, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section depth (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.2718, p[\"path_h\"] * 0.5104), (p[\"path_w\"] * 0.1503, p[\"path_h\"] * 0.793), (p[\"path_w\"] * 0.3554, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').rect(p[\"sweep_a\"], p[\"sweep_b\"]).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462caf2f_4987", "family": "plate", "tier": 1, "seed": 1177333551, "symmetry": "none", "op_count": 2, "ir_hash": "5b26eede1a9c1a3c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 2910.0, "surface_area": 2130.0, "principal_moments": [52500.0, 222000.0, 226000.0], "n_faces": 38, "n_edges": 108, "n_vertices": 72}, "dimensions": {"lines": ["Rectangular body, 28.72 \u00d7 11.6 \u00d7 10 mm (W\u00d7D\u00d7H).", "Eight 3.8 \u00d7 1.5 mm slots in a 4\u00d72 grid, 7.7 \u00d7 9.3 mm pitch."], "text": "Rectangular body, 28.72 \u00d7 11.6 \u00d7 10 mm (W\u00d7D\u00d7H). Eight 3.8 \u00d7 1.5 mm slots in a 4\u00d72 grid, 7.7 \u00d7 9.3 mm pitch."}, "params": {"plate_w": {"type": "float", "default": 28.72, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 11.6, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 1.5, "min": 2.0, "max": 1.4, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 4, "min": 1, "max": 4, "step": 1, "group": "Holes", "label": "Holes across"}, "hole_ny": {"type": "int", "default": 2, "min": 1, "max": 4, "step": 1, "group": "Holes", "label": "Holes deep"}, "hole_slot_len": {"type": "float", "default": 3.8, "min": 2.2, "max": 5.4, "step": 0.5, "group": "Holes", "label": "Slot length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333551 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 28.72, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 11.6, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 1.5, \"min\": 2.0, \"max\": 1.4, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 4, \"min\": 1, \"max\": 4, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes across'},\n    \"hole_ny\": {\"type\": 'int', \"default\": 2, \"min\": 1, \"max\": 4, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes deep'},\n    \"hole_slot_len\": {\"type\": 'float', \"default\": 3.8, \"min\": 2.2, \"max\": 5.4, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Slot length (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(7.7, 9.3, p[\"hole_nx\"], p[\"hole_ny\"])\n        .slot2D(p[\"hole_slot_len\"], p[\"hole_d\"]).cutThruAll()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462caf30_4988", "family": "block", "tier": 2, "seed": 1177333552, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "93e671144749edad", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 454000.0, "surface_area": 51400.0, "principal_moments": [466000000.0, 489000000.0, 723000000.0], "n_faces": 27, "n_edges": 72, "n_vertices": 48}, "dimensions": {"lines": ["Rectangular body, 95.25 \u00d7 53.9 \u00d7 100 mm (W\u00d7D\u00d7H).", "Four 3.8 mm square holes at the corners, 66.675 \u00d7 37.73 mm spacing.", "Pocket 44.4 \u00d7 36.9 mm, 33 mm deep, in top face."], "text": "Rectangular body, 95.25 \u00d7 53.9 \u00d7 100 mm (W\u00d7D\u00d7H). Four 3.8 mm square holes at the corners, 66.675 \u00d7 37.73 mm spacing. Pocket 44.4 \u00d7 36.9 mm, 33 mm deep, in top face."}, "params": {"block_w": {"type": "float", "default": 95.25, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 53.9, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 100.0, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 3.8, "min": 2.0, "max": 15.8, "step": 0.5, "group": "Holes", "label": "Square hole size (mm)"}, "pocket_w": {"type": "float", "default": 44.4, "min": 22.2, "max": 76.2, "step": 1.0, "group": "Pocket", "label": "Pocket width (mm)"}, "pocket_d": {"type": "float", "default": 36.9, "min": 18.4, "max": 43.1, "step": 1.0, "group": "Pocket", "label": "Pocket depth (mm)"}, "pocket_h": {"type": "float", "default": 33.0, "min": 13.2, "max": 85.0, "step": 0.5, "group": "Pocket", "label": "Pocket height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333552 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 95.25, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 53.9, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 100.0, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.8, \"min\": 2.0, \"max\": 15.8, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Square hole size (mm)'},\n    \"pocket_w\": {\"type\": 'float', \"default\": 44.4, \"min\": 22.2, \"max\": 76.2, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket width (mm)'},\n    \"pocket_d\": {\"type\": 'float', \"default\": 36.9, \"min\": 18.4, \"max\": 43.1, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket depth (mm)'},\n    \"pocket_h\": {\"type\": 'float', \"default\": 33.0, \"min\": 13.2, \"max\": 85.0, \"step\": 0.5, \"group\": 'Pocket', \"label\": 'Pocket height (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().rect(p[\"hole_d\"], p[\"hole_d\"]).cutThruAll()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"pocket_w\"], p[\"pocket_d\"])\n        .cutBlind(-p[\"pocket_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462caf31_4989", "family": "bracket", "tier": 2, "seed": 1177333553, "symmetry": "none", "op_count": 1, "ir_hash": "7b48107b0d6930d2", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 22900.0, "surface_area": 9420.0, "principal_moments": [5950000.0, 6560000.0, 7250000.0], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["C-channel bracket: base leg 35 mm, vertical leg 34.7 mm, 41.58 mm wide, 6 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 6.5 mm corner gusset."], "text": "C-channel bracket: base leg 35 mm, vertical leg 34.7 mm, 41.58 mm wide, 6 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 6.5 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 35, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 34.7, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 41.58, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 6.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 6.5, "min": 3.0, "max": 18.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333553 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 35, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 34.7, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 41.58, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 6.5, \"min\": 3.0, \"max\": 18.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl / 2, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bl - _bt, _bt).lineTo(_bl - _bt - _g, _bt)\n                    .lineTo(_bl - _bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462caf33_4991", "family": "compound", "tier": 3, "seed": 1177333555, "symmetry": "none", "op_count": 4, "ir_hash": "d1c90208e82b1787", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 98200.0, "surface_area": 14000.0, "principal_moments": [16199999.999999998, 93699999.99999999, 93699999.99999999], "n_faces": 15, "n_edges": 32, "n_vertices": 21}, "dimensions": {"lines": ["\u00d840 mm circular section, extruded 56.2 mm thick.", "\u00d826 mm circular section attachment, 39.7 mm long, from top face.", "8-sided polygon section, 22 mm across corners attachment, 19.1 mm long, from top face.", "Chamfer 1.1 mm on bottom edges."], "text": "\u00d840 mm circular section, extruded 56.2 mm thick. \u00d826 mm circular section attachment, 39.7 mm long, from top face. 8-sided polygon section, 22 mm across corners attachment, 19.1 mm long, from top face. Chamfer 1.1 mm on bottom edges."}, "params": {"shaft_d": {"type": "float", "default": 40, "min": 20.0, "max": 72.0, "step": 1.0, "group": "Body", "label": "Shaft diameter (mm)"}, "shaft_len": {"type": "float", "default": 56.2, "min": 22.5, "max": 112.4, "step": 1.0, "group": "Body", "label": "Shaft length (mm)"}, "step_d": {"type": "float", "default": 26.0, "min": 13.0, "max": 36.0, "step": 1.0, "group": "Step", "label": "Step diameter (mm)"}, "step_len": {"type": "float", "default": 39.7, "min": 11.9, "max": 99.2, "step": 1.0, "group": "Step", "label": "Step length (mm)"}, "head_sides": {"type": "int", "default": 8, "min": 3, "max": 8, "step": 1, "group": "Head", "label": "Drive head sides"}, "head_r": {"type": "float", "default": 11.0, "min": 6.6, "max": 12.5, "step": 1.0, "group": "Head", "label": "Drive head circumradius (mm)"}, "head_len": {"type": "float", "default": 19.1, "min": 5.7, "max": 38.2, "step": 1.0, "group": "Head", "label": "Drive head length (mm)"}, "chamfer_d": {"type": "float", "default": 1.1, "min": 0.5, "max": 3.0, "step": 0.5, "group": "Body", "label": "Chamfer distance (mm)"}, "chamfered": {"type": "bool", "default": true, "group": "Body", "label": "Chamfer edges"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333555 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"shaft_d\": {\"type\": 'float', \"default\": 40, \"min\": 20.0, \"max\": 72.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft diameter (mm)'},\n    \"shaft_len\": {\"type\": 'float', \"default\": 56.2, \"min\": 22.5, \"max\": 112.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft length (mm)'},\n    \"step_d\": {\"type\": 'float', \"default\": 26.0, \"min\": 13.0, \"max\": 36.0, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step diameter (mm)'},\n    \"step_len\": {\"type\": 'float', \"default\": 39.7, \"min\": 11.9, \"max\": 99.2, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step length (mm)'},\n    \"head_sides\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Head', \"label\": 'Drive head sides'},\n    \"head_r\": {\"type\": 'float', \"default\": 11.0, \"min\": 6.6, \"max\": 12.5, \"step\": 1.0, \"group\": 'Head', \"label\": 'Drive head circumradius (mm)'},\n    \"head_len\": {\"type\": 'float', \"default\": 19.1, \"min\": 5.7, \"max\": 38.2, \"step\": 1.0, \"group\": 'Head', \"label\": 'Drive head length (mm)'},\n    \"chamfer_d\": {\"type\": 'float', \"default\": 1.1, \"min\": 0.5, \"max\": 3.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Chamfer distance (mm)'},\n    \"chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Chamfer edges'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').circle(p[\"shaft_d\"] / 2).extrude(p[\"shaft_len\"]))\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"step_d\"] / 2).extrude(p[\"step_len\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"head_sides\"], p[\"head_r\"] * 2).extrude(p[\"head_len\"])\n    )\n    if p[\"chamfered\"]:\n        result = result.edges('<Z').chamfer(p[\"chamfer_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462caf34_4992", "family": "swept", "tier": 0, "seed": 1177333556, "symmetry": "none", "op_count": 1, "ir_hash": "4887685c7ae3af04", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 2170.0, "surface_area": 1670.0, "principal_moments": [39200.0, 1300000.0, 1320000.0], "n_faces": 3, "n_edges": 3, "n_vertices": 2}, "dimensions": {"lines": ["\u00d86.6 mm circular section swept along a curved path, ~81.91 mm span."], "text": "\u00d86.6 mm circular section swept along a curved path, ~81.91 mm span."}, "params": {"path_w": {"type": "float", "default": 68.82, "min": 34.4, "max": 123.9, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 81.91, "min": 41.0, "max": 147.4, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_d": {"type": "float", "default": 6.6, "min": 3.3, "max": 11.9, "step": 1.0, "group": "Section", "label": "Section diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333556 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 68.82, \"min\": 34.4, \"max\": 123.9, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 81.91, \"min\": 41.0, \"max\": 147.4, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_d\": {\"type\": 'float', \"default\": 6.6, \"min\": 3.3, \"max\": 11.9, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.6315), (p[\"path_w\"] * 0.0359, p[\"path_h\"] * 0.699), (p[\"path_w\"] * 0.0, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').circle(p[\"sweep_d\"] / 2).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462caf35_4993", "family": "plate", "tier": 1, "seed": 1177333557, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "73f5fe62e2e02514", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 6980.0, "surface_area": 3140.0, "principal_moments": [235000.0, 1390000.0, 1550000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 48.62 \u00d7 18.6 \u00d7 8 mm (W\u00d7D\u00d7H).", "Four \u00d83.2 mm holes at the corners, 34.034 \u00d7 13.02 mm spacing."], "text": "Rectangular body, 48.62 \u00d7 18.6 \u00d7 8 mm (W\u00d7D\u00d7H). Four \u00d83.2 mm holes at the corners, 34.034 \u00d7 13.02 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 48.62, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 18.6, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 4.2, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333557 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 48.62, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 18.6, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 4.2, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462caf36_4994", "family": "plate", "tier": 0, "seed": 1177333558, "symmetry": "radial", "op_count": 1, "ir_hash": "9425f01832687194", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 15100.0, "surface_area": 5230.0, "principal_moments": [1330000.0, 4540000.0, 5710000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 59.6 \u00d7 31.6 \u00d7 8 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 59.6 \u00d7 31.6 \u00d7 8 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 59.6, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 31.6, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333558 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 59.6, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 31.6, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462caf37_4995", "family": "compound", "tier": 2, "seed": 1177333559, "symmetry": "mirror_xy", "op_count": 3, "ir_hash": "f387ed1ed6f489eb", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 23600.0, "surface_area": 6370.0, "principal_moments": [2800000.0, 3670000.0, 4070000.0], "n_faces": 13, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Rectangular body, 25 \u00d7 33.7 \u00d7 28.6 mm (W\u00d7D\u00d7H).", "\u00d811.3 mm circular section attachment, 10.3 mm long, from front face with a \u00d84.7 mm bore.", "Four \u00d84.3 mm holes at the corners, 17.5 \u00d7 23.59 mm spacing."], "text": "Rectangular body, 25 \u00d7 33.7 \u00d7 28.6 mm (W\u00d7D\u00d7H). \u00d811.3 mm circular section attachment, 10.3 mm long, from front face with a \u00d84.7 mm bore. Four \u00d84.3 mm holes at the corners, 17.5 \u00d7 23.59 mm spacing."}, "params": {"block_w": {"type": "float", "default": 25, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 33.7, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 28.6, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "spig_d": {"type": "float", "default": 11.3, "min": 4.5, "max": 17.5, "step": 1.0, "group": "Spigot", "label": "Spigot diameter (mm)"}, "spig_len": {"type": "float", "default": 10.3, "min": 3.4, "max": 45.2, "step": 1.0, "group": "Spigot", "label": "Spigot length (mm)"}, "spig_bore": {"type": "float", "default": 4.7, "min": 2.0, "max": 8.1, "step": 0.5, "group": "Spigot", "label": "Bore diameter (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 5.6, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333559 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 25, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 33.7, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 28.6, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"spig_d\": {\"type\": 'float', \"default\": 11.3, \"min\": 4.5, \"max\": 17.5, \"step\": 1.0, \"group\": 'Spigot', \"label\": 'Spigot diameter (mm)'},\n    \"spig_len\": {\"type\": 'float', \"default\": 10.3, \"min\": 3.4, \"max\": 45.2, \"step\": 1.0, \"group\": 'Spigot', \"label\": 'Spigot length (mm)'},\n    \"spig_bore\": {\"type\": 'float', \"default\": 4.7, \"min\": 2.0, \"max\": 8.1, \"step\": 0.5, \"group\": 'Spigot', \"label\": 'Bore diameter (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 5.6, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"spig_d\"] / 2).extrude(p[\"spig_len\"])\n    )\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"spig_bore\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462caf38_4996", "family": "plate", "tier": 2, "seed": 1177333560, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "6e79eb9c5b980367", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 30000.0, "surface_area": 9320.0, "principal_moments": [3230000.0, 19700000.0, 22500000.0], "n_faces": 18, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 89.19 \u00d7 34.9 \u00d7 10 mm (W\u00d7D\u00d7H).", "Four \u00d84.3 mm counterbored holes (\u00d88.6 mm \u00d7 3.4 mm counterbore) at the corners, 62.433 \u00d7 24.43 mm spacing."], "text": "Rectangular body, 89.19 \u00d7 34.9 \u00d7 10 mm (W\u00d7D\u00d7H). Four \u00d84.3 mm counterbored holes (\u00d88.6 mm \u00d7 3.4 mm counterbore) at the corners, 62.433 \u00d7 24.43 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 89.19, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 34.9, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 7.9, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "cb_d": {"type": "float", "default": 8.6, "min": 6.4, "max": 12.9, "step": 0.5, "group": "Holes", "label": "Counterbore diameter (mm)"}, "cb_depth": {"type": "float", "default": 3.4, "min": 1.7, "max": 6.8, "step": 0.5, "group": "Holes", "label": "Counterbore depth (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333560 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 89.19, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 34.9, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 7.9, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"cb_d\": {\"type\": 'float', \"default\": 8.6, \"min\": 6.4, \"max\": 12.9, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Counterbore diameter (mm)'},\n    \"cb_depth\": {\"type\": 'float', \"default\": 3.4, \"min\": 1.7, \"max\": 6.8, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Counterbore depth (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().cboreHole(p[\"hole_d\"], p[\"cb_d\"], p[\"cb_depth\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462caf39_4997", "family": "compound", "tier": 1, "seed": 1177333561, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "87e3c67288420545", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 39000.0, "surface_area": 11000.0, "principal_moments": [4340000.0, 22300000.0, 22300000.0], "n_faces": 6, "n_edges": 9, "n_vertices": 6}, "dimensions": {"lines": ["\u00d830 mm circular section, extruded 46.6 mm thick.", "\u00d821 mm circular section attachment, 38.8 mm long, from top face with a \u00d810.5 mm bore."], "text": "\u00d830 mm circular section, extruded 46.6 mm thick. \u00d821 mm circular section attachment, 38.8 mm long, from top face with a \u00d810.5 mm bore."}, "params": {"shaft_d": {"type": "float", "default": 30, "min": 15.0, "max": 54.0, "step": 1.0, "group": "Body", "label": "Shaft diameter (mm)"}, "shaft_len": {"type": "float", "default": 46.6, "min": 18.6, "max": 93.2, "step": 1.0, "group": "Body", "label": "Shaft length (mm)"}, "step_d": {"type": "float", "default": 21.0, "min": 10.5, "max": 27.0, "step": 1.0, "group": "Step", "label": "Step diameter (mm)"}, "step_len": {"type": "float", "default": 38.8, "min": 11.6, "max": 97.0, "step": 1.0, "group": "Step", "label": "Step length (mm)"}, "axial_bore": {"type": "float", "default": 10.5, "min": 2.0, "max": 15.1, "step": 0.5, "group": "Bore", "label": "Axial bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333561 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"shaft_d\": {\"type\": 'float', \"default\": 30, \"min\": 15.0, \"max\": 54.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft diameter (mm)'},\n    \"shaft_len\": {\"type\": 'float', \"default\": 46.6, \"min\": 18.6, \"max\": 93.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft length (mm)'},\n    \"step_d\": {\"type\": 'float', \"default\": 21.0, \"min\": 10.5, \"max\": 27.0, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step diameter (mm)'},\n    \"step_len\": {\"type\": 'float', \"default\": 38.8, \"min\": 11.6, \"max\": 97.0, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step length (mm)'},\n    \"axial_bore\": {\"type\": 'float', \"default\": 10.5, \"min\": 2.0, \"max\": 15.1, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Axial bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').circle(p[\"shaft_d\"] / 2).extrude(p[\"shaft_len\"]))\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"step_d\"] / 2).extrude(p[\"step_len\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"axial_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462caf3a_4998", "family": "revolved", "tier": 2, "seed": 1177333562, "symmetry": "none", "op_count": 1, "ir_hash": "c620fd95cf818bed", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 1800.0, "surface_area": 1480.0, "principal_moments": [31600.0, 122000.0, 122000.0], "n_faces": 8, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Revolved body, \u00d810.79 mm \u00d7 26.2 mm tall with \u00d85.1 mm bore, 2.68 mm-wide groove 0.73 mm deep."], "text": "Revolved body, \u00d810.79 mm \u00d7 26.2 mm tall with \u00d85.1 mm bore, 2.68 mm-wide groove 0.73 mm deep."}, "params": {"outer_d": {"type": "float", "default": 10.79, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 26.2, "min": 7.9, "max": 78.6, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 5.1, "min": 2.0, "max": 7.6, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "groove_depth": {"type": "float", "default": 0.73, "min": 0.29, "max": 2.19, "step": 0.1, "group": "Body", "label": "Groove depth (mm)"}, "groove_w": {"type": "float", "default": 2.68, "min": 1.07, "max": 8.04, "step": 0.2, "group": "Body", "label": "Groove width (mm)"}, "groove_pos": {"type": "float", "default": 11.0, "min": 3.9, "max": 22.3, "step": 1.0, "group": "Body", "label": "Groove position (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333562 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 10.79, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 26.2, \"min\": 7.9, \"max\": 78.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 5.1, \"min\": 2.0, \"max\": 7.6, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"groove_depth\": {\"type\": 'float', \"default\": 0.73, \"min\": 0.29, \"max\": 2.19, \"step\": 0.1, \"group\": 'Body', \"label\": 'Groove depth (mm)'},\n    \"groove_w\": {\"type\": 'float', \"default\": 2.68, \"min\": 1.07, \"max\": 8.04, \"step\": 0.2, \"group\": 'Body', \"label\": 'Groove width (mm)'},\n    \"groove_pos\": {\"type\": 'float', \"default\": 11.0, \"min\": 3.9, \"max\": 22.3, \"step\": 1.0, \"group\": 'Body', \"label\": 'Groove position (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"groove_pos\"] - p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2 - p[\"groove_depth\"], p[\"groove_pos\"] - p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2 - p[\"groove_depth\"], p[\"groove_pos\"] + p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2, p[\"groove_pos\"] + p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462caf3b_4999", "family": "ribbed", "tier": 3, "seed": 1177333563, "symmetry": "mirror_xy", "op_count": 3, "ir_hash": "4a01ba14003825c7", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 25300.0, "surface_area": 15400.0, "principal_moments": [6240000.0, 12099999.999999998, 17800000.0], "n_faces": 62, "n_edges": 168, "n_vertices": 104}, "dimensions": {"lines": ["Rectangular body, 78.36 \u00d7 49.6 \u00d7 5 mm (W\u00d7D\u00d7H).", "Six ribs, 2.9 mm thick, 7.5 mm tall.", "Four \u00d810.5 mm holes at the corners, 54.852 \u00d7 34.72 mm spacing."], "text": "Rectangular body, 78.36 \u00d7 49.6 \u00d7 5 mm (W\u00d7D\u00d7H). Six ribs, 2.9 mm thick, 7.5 mm tall. Four \u00d810.5 mm holes at the corners, 54.852 \u00d7 34.72 mm spacing."}, "params": {"base_w": {"type": "float", "default": 78.36, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 49.6, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 5.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 6, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 7.5, "min": 3.0, "max": 15.0, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 2.9, "min": 1.0, "max": 7.2, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}, "hole_d": {"type": "float", "default": 10.5, "min": 2.0, "max": 11.2, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333563 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 78.36, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 49.6, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 6, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 7.5, \"min\": 3.0, \"max\": 15.0, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 2.9, \"min\": 1.0, \"max\": 7.2, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 10.5, \"min\": 2.0, \"max\": 11.2, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"base_w\"] * 0.7, p[\"base_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462caf3d_5001", "family": "plate", "tier": 2, "seed": 1177333565, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "93bf539150e59e97", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 116000.0, "surface_area": 24800.0, "principal_moments": [93999999.99999999, 97299999.99999999, 188000000.0], "n_faces": 14, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 100 \u00d7 98.3 \u00d7 12 mm (W\u00d7D\u00d7H).", "Four \u00d85.3 mm holes at the corners, 70 \u00d7 68.81 mm spacing.", "Chamfer 4.5 mm on vertical edges."], "text": "Rectangular body, 100 \u00d7 98.3 \u00d7 12 mm (W\u00d7D\u00d7H). Four \u00d85.3 mm holes at the corners, 70 \u00d7 68.81 mm spacing. Chamfer 4.5 mm on vertical edges."}, "params": {"plate_w": {"type": "float", "default": 100, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 98.3, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "chamfer_d": {"type": "float", "default": 4.5, "min": 3.9, "max": 9.1, "step": 0.5, "group": "Body", "label": "Chamfer distance (mm)"}, "chamfered": {"type": "bool", "default": true, "group": "Body", "label": "Chamfer edges"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333565 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 100, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 98.3, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"chamfer_d\": {\"type\": 'float', \"default\": 4.5, \"min\": 3.9, \"max\": 9.1, \"step\": 0.5, \"group\": 'Body', \"label\": 'Chamfer distance (mm)'},\n    \"chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Chamfer edges'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"chamfered\"]:\n        result = result.edges('|Z').chamfer(p[\"chamfer_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462caf3e_5002", "family": "sketched", "tier": 2, "seed": 1177333566, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "20a0399c0c2c7159", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 113000.0, "surface_area": 21400.0, "principal_moments": [49199999.99999999, 49199999.99999999, 55899999.99999999], "n_faces": 8, "n_edges": 14, "n_vertices": 8}, "dimensions": {"lines": ["Revolved organic body from a freeform sketched section (7 segments: 4 straight, 1 arc, 2 curves), ~23.56 \u00d7 55 mm half-silhouette."], "text": "Revolved organic body from a freeform sketched section (7 segments: 4 straight, 1 arc, 2 curves), ~23.56 \u00d7 55 mm half-silhouette."}, "params": {"sk_r": {"type": "float", "default": 40, "min": 20.0, "max": 72.0, "step": 1.0, "group": "Sketch", "label": "Max radius (mm)"}, "sk_h": {"type": "float", "default": 55, "min": 27.5, "max": 99.0, "step": 1.0, "group": "Sketch", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333566 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_r\": {\"type\": 'float', \"default\": 40, \"min\": 20.0, \"max\": 72.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Max radius (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 55, \"min\": 27.5, \"max\": 99.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XZ').moveTo(p[\"sk_r\"] * 0.7984, p[\"sk_h\"] * 0.0).spline([(p[\"sk_r\"] * 0.7984, p[\"sk_h\"] * 0.0), (p[\"sk_r\"] * 0.8946, p[\"sk_h\"] * 0.1097), (p[\"sk_r\"] * 0.6672, p[\"sk_h\"] * 0.2194)]).bezier([(p[\"sk_r\"] * 0.6672, p[\"sk_h\"] * 0.2194), (p[\"sk_r\"] * 0.6974, p[\"sk_h\"] * 0.3527), (p[\"sk_r\"] * 0.6831, p[\"sk_h\"] * 0.4861)]).threePointArc((p[\"sk_r\"] * 0.7604, p[\"sk_h\"] * 0.4942), (p[\"sk_r\"] * 0.6331, p[\"sk_h\"] * 0.5023)).lineTo(p[\"sk_r\"] * 0.3646, p[\"sk_h\"] * 0.9349).lineTo(p[\"sk_r\"] * 0.3814, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.2094, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.2094, p[\"sk_h\"] * 0.0).close().revolve())\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462caf3f_5003", "family": "tapped", "tier": 2, "seed": 1177333567, "symmetry": "none", "op_count": 1, "ir_hash": "b937c5548b91fc99", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 36400.0, "surface_area": 15000.0, "principal_moments": [7310000.0, 8540000.0, 11899999.999999998], "n_faces": 778, "n_edges": 2224, "n_vertices": 1448}, "dimensions": {"lines": ["Four M16x2 tapped holes in a plate."], "text": "Four M16x2 tapped holes in a plate."}, "params": {"major_d": {"type": "float", "default": 16.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 2.0, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 25.6, "min": 19.2, "max": 46.1, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "plate_w": {"type": "float", "default": 48.36, "min": 29.0, "max": 77.4, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 43.8, "min": 26.3, "max": 70.1, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333567 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 16.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 2.0, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 25.6, \"min\": 19.2, \"max\": 46.1, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"plate_w\": {\"type\": 'float', \"default\": 48.36, \"min\": 29.0, \"max\": 77.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 43.8, \"min\": 26.3, \"max\": 70.1, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n}\n\n\ndef build(p):\n\n    _W, _D, _H = p[\"plate_w\"], p[\"plate_d\"], p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Box(_W, _D, _H)\n    _sx, _sy = p[\"plate_w\"] * 0.6, p[\"plate_d\"] * 0.6\n    _locs = [(_xx, _yy) for _xx in (-_sx / 2, _sx / 2) for _yy in (-_sy / 2, _sy / 2)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462caf40_5004", "family": "gear", "tier": 1, "seed": 1177333568, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "a11306f3d2cf6c73", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 57000.0, "surface_area": 17900.0, "principal_moments": [29899999.999999996, 29899999.999999996, 58899999.99999999], "n_faces": 183, "n_edges": 543, "n_vertices": 362}, "dimensions": {"lines": ["Spur gear, module 3 mm, 30 teeth (pitch \u00d890 mm), face width 9.2 mm, \u00d811.6 mm bore."], "text": "Spur gear, module 3 mm, 30 teeth (pitch \u00d890 mm), face width 9.2 mm, \u00d811.6 mm bore."}, "params": {"module": {"type": "float", "default": 3.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 30, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 9.2, "min": 3.7, "max": 23.0, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "bore_d": {"type": "float", "default": 11.6, "min": 2.0, "max": 49.5, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333568 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 3.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 30, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 9.2, \"min\": 3.7, \"max\": 23.0, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 11.6, \"min\": 2.0, \"max\": 49.5, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462caf41_5005", "family": "block", "tier": 2, "seed": 1177333569, "symmetry": "mirror_xy", "op_count": 3, "ir_hash": "d558b5c5264a4e94", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 6510.0, "surface_area": 3410.0, "principal_moments": [407000.0, 491000.0, 775000.0], "n_faces": 16, "n_edges": 39, "n_vertices": 26}, "dimensions": {"lines": ["Rectangular body, 24.33 \u00d7 10.4 \u00d7 29 mm (W\u00d7D\u00d7H).", "Five \u00d81.2 mm holes in two staggered rows, 9.1 \u00d7 8.2 mm pitch.", "Pocket 13.1 \u00d7 5.2 mm, 9.8 mm deep, in top face."], "text": "Rectangular body, 24.33 \u00d7 10.4 \u00d7 29 mm (W\u00d7D\u00d7H). Five \u00d81.2 mm holes in two staggered rows, 9.1 \u00d7 8.2 mm pitch. Pocket 13.1 \u00d7 5.2 mm, 9.8 mm deep, in top face."}, "params": {"block_w": {"type": "float", "default": 24.33, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 10.4, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 29.0, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 1.2, "min": 2.0, "max": 1.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 3, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}, "pocket_w": {"type": "float", "default": 13.1, "min": 6.5, "max": 19.5, "step": 1.0, "group": "Pocket", "label": "Pocket width (mm)"}, "pocket_d": {"type": "float", "default": 5.2, "min": 2.6, "max": 8.3, "step": 1.0, "group": "Pocket", "label": "Pocket depth (mm)"}, "pocket_h": {"type": "float", "default": 9.8, "min": 3.9, "max": 24.6, "step": 0.5, "group": "Pocket", "label": "Pocket height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333569 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 24.33, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 10.4, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 29.0, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 1.2, \"min\": 2.0, \"max\": 1.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 3, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n    \"pocket_w\": {\"type\": 'float', \"default\": 13.1, \"min\": 6.5, \"max\": 19.5, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket width (mm)'},\n    \"pocket_d\": {\"type\": 'float', \"default\": 5.2, \"min\": 2.6, \"max\": 8.3, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket depth (mm)'},\n    \"pocket_h\": {\"type\": 'float', \"default\": 9.8, \"min\": 3.9, \"max\": 24.6, \"step\": 0.5, \"group\": 'Pocket', \"label\": 'Pocket height (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 9.1\n    _ssy = 8.2\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"pocket_w\"], p[\"pocket_d\"])\n        .cutBlind(-p[\"pocket_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462caf42_5006", "family": "swept", "tier": 1, "seed": 1177333570, "symmetry": "none", "op_count": 1, "ir_hash": "f6d8bbf35f247120", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 7690.0, "surface_area": 2850.0, "principal_moments": [275000.0, 2420000.0, 2550000.0], "n_faces": 3, "n_edges": 3, "n_vertices": 2}, "dimensions": {"lines": ["\u00d812.2 mm circular section swept along a curved path, ~57.87 mm span."], "text": "\u00d812.2 mm circular section swept along a curved path, ~57.87 mm span."}, "params": {"path_w": {"type": "float", "default": 45, "min": 22.5, "max": 81.0, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 57.87, "min": 28.9, "max": 104.2, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_d": {"type": "float", "default": 12.2, "min": 6.1, "max": 22.0, "step": 1.0, "group": "Section", "label": "Section diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333570 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 45, \"min\": 22.5, \"max\": 81.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 57.87, \"min\": 28.9, \"max\": 104.2, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_d\": {\"type\": 'float', \"default\": 12.2, \"min\": 6.1, \"max\": 22.0, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.4317), (p[\"path_w\"] * 0.1614, p[\"path_h\"] * 0.7469), (p[\"path_w\"] * 0.3056, p[\"path_h\"] * 0.7607), (p[\"path_w\"] * 0.3737, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').circle(p[\"sweep_d\"] / 2).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462caf43_5007", "family": "ribbed", "tier": 2, "seed": 1177333571, "symmetry": "none", "op_count": 3, "ir_hash": "47a479c64a9c735a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 55000.0, "surface_area": 18800.0, "principal_moments": [19500000.0, 33399999.999999996, 51299999.99999999], "n_faces": 54, "n_edges": 148, "n_vertices": 92}, "dimensions": {"lines": ["Rectangular body, 85 \u00d7 62.8 \u00d7 8 mm (W\u00d7D\u00d7H).", "Five ribs, 5.5 mm thick, 7 mm tall.", "Four \u00d85.3 mm holes at the corners, 59.5 \u00d7 43.96 mm spacing."], "text": "Rectangular body, 85 \u00d7 62.8 \u00d7 8 mm (W\u00d7D\u00d7H). Five ribs, 5.5 mm thick, 7 mm tall. Four \u00d85.3 mm holes at the corners, 59.5 \u00d7 43.96 mm spacing."}, "params": {"base_w": {"type": "float", "default": 85, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 62.8, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 8.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 5, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 7.0, "min": 2.8, "max": 14.0, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 5.5, "min": 1.0, "max": 13.8, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333571 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 85, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 62.8, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 5, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 7.0, \"min\": 2.8, \"max\": 14.0, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 5.5, \"min\": 1.0, \"max\": 13.8, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"base_w\"] * 0.7, p[\"base_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462caf44_5008", "family": "compound", "tier": 1, "seed": 1177333572, "symmetry": "none", "op_count": 3, "ir_hash": "576e480e440436e1", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 41000.0, "surface_area": 15200.0, "principal_moments": [25599999.999999996, 26299999.999999996, 33099999.999999996], "n_faces": 17, "n_edges": 42, "n_vertices": 28}, "dimensions": {"lines": ["Rectangular body, 81.04 \u00d7 61.5 \u00d7 6 mm (W\u00d7D\u00d7H).", "6-sided polygon section, 15.8 mm across corners attachment, 70.5 mm long, from top face.", "Four \u00d84.3 mm holes at the corners, 56.728 \u00d7 43.05 mm spacing."], "text": "Rectangular body, 81.04 \u00d7 61.5 \u00d7 6 mm (W\u00d7D\u00d7H). 6-sided polygon section, 15.8 mm across corners attachment, 70.5 mm long, from top face. Four \u00d84.3 mm holes at the corners, 56.728 \u00d7 43.05 mm spacing."}, "params": {"base_w": {"type": "float", "default": 81.04, "min": 30.0, "max": 160.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 61.5, "min": 25.0, "max": 160.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_h": {"type": "float", "default": 6.0, "min": 3.0, "max": 30.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "col_sides": {"type": "int", "default": 6, "min": 3, "max": 8, "step": 1, "group": "Column", "label": "Column sides"}, "col_r": {"type": "float", "default": 7.9, "min": 4.0, "max": 15.4, "step": 1.0, "group": "Column", "label": "Column circumradius (mm)"}, "col_h": {"type": "float", "default": 70.5, "min": 21.1, "max": 211.5, "step": 1.0, "group": "Column", "label": "Column height (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333572 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 81.04, \"min\": 30.0, \"max\": 160.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 61.5, \"min\": 25.0, \"max\": 160.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_h\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 30.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"col_sides\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Column', \"label\": 'Column sides'},\n    \"col_r\": {\"type\": 'float', \"default\": 7.9, \"min\": 4.0, \"max\": 15.4, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column circumradius (mm)'},\n    \"col_h\": {\"type\": 'float', \"default\": 70.5, \"min\": 21.1, \"max\": 211.5, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_h\"])\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"col_sides\"], p[\"col_r\"] * 2).extrude(p[\"col_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"base_w\"] * 0.7, p[\"base_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462caf45_5009", "family": "block", "tier": 1, "seed": 1177333573, "symmetry": "none", "op_count": 2, "ir_hash": "1753cc50fc8c822c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 377000.0, "surface_area": 35400.0, "principal_moments": [333000000.0, 347000000.0, 573000000.0], "n_faces": 16, "n_edges": 42, "n_vertices": 28}, "dimensions": {"lines": ["Rectangular body, 96.66 \u00d7 41.6 \u00d7 94.3 mm (W\u00d7D\u00d7H).", "Five \u00d83.2 mm holes in two staggered rows, 36.2 \u00d7 40.7 mm pitch."], "text": "Rectangular body, 96.66 \u00d7 41.6 \u00d7 94.3 mm (W\u00d7D\u00d7H). Five \u00d83.2 mm holes in two staggered rows, 36.2 \u00d7 40.7 mm pitch."}, "params": {"block_w": {"type": "float", "default": 96.66, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 41.6, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 94.3, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 4.2, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 3, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333573 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 96.66, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 41.6, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 94.3, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 4.2, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 3, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 36.2\n    _ssy = 40.7\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462caf46_5010", "family": "bracket", "tier": 1, "seed": 1177333574, "symmetry": "none", "op_count": 1, "ir_hash": "ae5d6fb4935a76b0", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 8690.0, "surface_area": 6600.0, "principal_moments": [1380000.0, 2260000.0, 3210000.0], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Z-bracket: base leg 30 mm, vertical leg 25 mm, top leg 25.5 mm, 39.74 mm wide, 3 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."], "text": "Z-bracket: base leg 30 mm, vertical leg 25 mm, top leg 25.5 mm, 39.74 mm wide, 3 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 30, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 25.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 39.74, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 3.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 25.5, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333574 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 30, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 25.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 39.74, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 25.5, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462caf47_5011", "family": "sketched", "tier": 2, "seed": 1177333575, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "eba179b6d83908a1", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 92900.0, "surface_area": 18000.0, "principal_moments": [33600000.0, 33600000.0, 54499999.99999999], "n_faces": 6, "n_edges": 9, "n_vertices": 5}, "dimensions": {"lines": ["Revolved organic body from a freeform sketched section (6 segments: 5 straight, 1 arc), ~44.442 \u00d7 30 mm half-silhouette."], "text": "Revolved organic body from a freeform sketched section (6 segments: 5 straight, 1 arc), ~44.442 \u00d7 30 mm half-silhouette."}, "params": {"sk_r": {"type": "float", "default": 45.0, "min": 22.5, "max": 81.0, "step": 1.0, "group": "Sketch", "label": "Max radius (mm)"}, "sk_h": {"type": "float", "default": 30, "min": 15.0, "max": 54.0, "step": 1.0, "group": "Sketch", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333575 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_r\": {\"type\": 'float', \"default\": 45.0, \"min\": 22.5, \"max\": 81.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Max radius (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 30, \"min\": 15.0, \"max\": 54.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XZ').moveTo(p[\"sk_r\"] * 0.5395, p[\"sk_h\"] * 0.0).lineTo(p[\"sk_r\"] * 0.9876, p[\"sk_h\"] * 0.1542).lineTo(p[\"sk_r\"] * 0.4988, p[\"sk_h\"] * 0.5844).lineTo(p[\"sk_r\"] * 0.7603, p[\"sk_h\"] * 0.8814).threePointArc((p[\"sk_r\"] * 0.4617, p[\"sk_h\"] * 0.9407), (p[\"sk_r\"] * 0.1697, p[\"sk_h\"] * 1.0)).lineTo(p[\"sk_r\"] * 0.0, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.0, p[\"sk_h\"] * 0.0).close().revolve())\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462caf48_5012", "family": "sketched", "tier": 1, "seed": 1177333576, "symmetry": "none", "op_count": 2, "ir_hash": "b3520631c6ac2ae9", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 35700.0, "surface_area": 7530.0, "principal_moments": [5970000.0, 8080000.0, 11699999.999999998], "n_faces": 7, "n_edges": 15, "n_vertices": 10}, "dimensions": {"lines": ["freeform sketched section (4 segments: 2 straight, 1 arc, 1 curve), ~62.025 \u00d7 55.474 mm, extruded 20 mm thick.", "One \u00d88.4 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "freeform sketched section (4 segments: 2 straight, 1 arc, 1 curve), ~62.025 \u00d7 55.474 mm, extruded 20 mm thick. One \u00d88.4 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"sk_w": {"type": "float", "default": 72.51, "min": 36.3, "max": 130.5, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 81.99, "min": 41.0, "max": 147.6, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "sk_t": {"type": "float", "default": 20, "min": 8.0, "max": 44.0, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "sk_hole_d": {"type": "float", "default": 8.4, "min": 2.0, "max": 16.8, "step": 0.5, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333576 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 72.51, \"min\": 36.3, \"max\": 130.5, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 81.99, \"min\": 41.0, \"max\": 147.6, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"sk_t\": {\"type\": 'float', \"default\": 20, \"min\": 8.0, \"max\": 44.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"sk_hole_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 2.0, \"max\": 16.8, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.421, p[\"sk_h\"] * 0.0661).threePointArc((p[\"sk_w\"] * 0.1309, p[\"sk_h\"] * 0.2596), (p[\"sk_w\"] * -0.2306, p[\"sk_h\"] * 0.4017)).bezier([(p[\"sk_w\"] * -0.2306, p[\"sk_h\"] * 0.4017), (p[\"sk_w\"] * -0.3644, p[\"sk_h\"] * 0.3146), (p[\"sk_w\"] * -0.4344, p[\"sk_h\"] * 0.171)]).lineTo(p[\"sk_w\"] * -0.1659, p[\"sk_h\"] * -0.2749).lineTo(p[\"sk_w\"] * 0.421, p[\"sk_h\"] * 0.0661).close().extrude(p[\"sk_t\"]))\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"sk_hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462caf49_5013", "family": "plate", "tier": 1, "seed": 1177333577, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "30d7ba97f45e67ff", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 3670.0, "surface_area": 2290.0, "principal_moments": [93200.0, 625000.0, 703000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 45.38 \u00d7 16.9 \u00d7 5 mm (W\u00d7D\u00d7H).", "Four \u00d83.2 mm holes at the corners, 31.766 \u00d7 11.83 mm spacing."], "text": "Rectangular body, 45.38 \u00d7 16.9 \u00d7 5 mm (W\u00d7D\u00d7H). Four \u00d83.2 mm holes at the corners, 31.766 \u00d7 11.83 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 45.38, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 16.9, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 5.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 3.8, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333577 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 45.38, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 16.9, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 5.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 3.8, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462caf4a_5014", "family": "profiled", "tier": 1, "seed": 1177333578, "symmetry": "none", "op_count": 1, "ir_hash": "408a355a0b83a348", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 131000.0, "surface_area": 18000.0, "principal_moments": [20100000.0, 215000000.0, 215000000.0], "n_faces": 7, "n_edges": 15, "n_vertices": 10}, "dimensions": {"lines": ["5-sided polygon section, 40 mm across corners, extruded 137.3 mm thick."], "text": "5-sided polygon section, 40 mm across corners, extruded 137.3 mm thick."}, "params": {"circ_r": {"type": "float", "default": 20, "min": 10.0, "max": 40.0, "step": 1.0, "group": "Profile", "label": "Circumscribed radius (mm)"}, "n_sides": {"type": "int", "default": 5, "min": 3, "max": 8, "step": 1, "group": "Profile", "label": "Sides"}, "length": {"type": "float", "default": 137.3, "min": 41.2, "max": 411.9, "step": 5.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333578 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"circ_r\": {\"type\": 'float', \"default\": 20, \"min\": 10.0, \"max\": 40.0, \"step\": 1.0, \"group\": 'Profile', \"label\": 'Circumscribed radius (mm)'},\n    \"n_sides\": {\"type\": 'int', \"default\": 5, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Profile', \"label\": 'Sides'},\n    \"length\": {\"type\": 'float', \"default\": 137.3, \"min\": 41.2, \"max\": 411.9, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').polygon(p[\"n_sides\"], p[\"circ_r\"] * 2).extrude(p[\"length\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462caf4b_5015", "family": "bracket", "tier": 1, "seed": 1177333579, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "00a05918d43e9fda", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 6970.0, "surface_area": 5310.0, "principal_moments": [815000.0, 1640000.0, 2120000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["L-bracket: base leg 25 mm, vertical leg 25 mm, 50.07 mm wide, 3 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."], "text": "L-bracket: base leg 25 mm, vertical leg 25 mm, 50.07 mm wide, 3 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 25.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 25.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 50.07, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 3.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333579 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 25.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 25.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 50.07, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462caf4c_5016", "family": "block", "tier": 2, "seed": 1177333580, "symmetry": "none", "op_count": 3, "ir_hash": "6063e5025c3c1914", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 7980.0, "surface_area": 5540.0, "principal_moments": [504000.0, 1120000.0, 1480000.0], "n_faces": 27, "n_edges": 72, "n_vertices": 48}, "dimensions": {"lines": ["Rectangular body, 25 \u00d7 10.1 \u00d7 40.2 mm (W\u00d7D\u00d7H).", "Four 2.6 mm square holes at the corners, 17.5 \u00d7 7.07 mm spacing.", "Pocket 10.8 \u00d7 5.4 mm, 18.5 mm deep, in top face."], "text": "Rectangular body, 25 \u00d7 10.1 \u00d7 40.2 mm (W\u00d7D\u00d7H). Four 2.6 mm square holes at the corners, 17.5 \u00d7 7.07 mm spacing. Pocket 10.8 \u00d7 5.4 mm, 18.5 mm deep, in top face."}, "params": {"block_w": {"type": "float", "default": 25, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 10.1, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 40.2, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 2.6, "min": 2.0, "max": 3.0, "step": 0.5, "group": "Holes", "label": "Square hole size (mm)"}, "pocket_w": {"type": "float", "default": 10.8, "min": 5.4, "max": 20.0, "step": 1.0, "group": "Pocket", "label": "Pocket width (mm)"}, "pocket_d": {"type": "float", "default": 5.4, "min": 2.7, "max": 8.1, "step": 1.0, "group": "Pocket", "label": "Pocket depth (mm)"}, "pocket_h": {"type": "float", "default": 18.5, "min": 7.4, "max": 34.2, "step": 0.5, "group": "Pocket", "label": "Pocket height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333580 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 25, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 10.1, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 40.2, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 2.6, \"min\": 2.0, \"max\": 3.0, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Square hole size (mm)'},\n    \"pocket_w\": {\"type\": 'float', \"default\": 10.8, \"min\": 5.4, \"max\": 20.0, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket width (mm)'},\n    \"pocket_d\": {\"type\": 'float', \"default\": 5.4, \"min\": 2.7, \"max\": 8.1, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket depth (mm)'},\n    \"pocket_h\": {\"type\": 'float', \"default\": 18.5, \"min\": 7.4, \"max\": 34.2, \"step\": 0.5, \"group\": 'Pocket', \"label\": 'Pocket height (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().rect(p[\"hole_d\"], p[\"hole_d\"]).cutThruAll()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"pocket_w\"], p[\"pocket_d\"])\n        .cutBlind(-p[\"pocket_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462caf4d_5017", "family": "swept", "tier": 0, "seed": 1177333581, "symmetry": "none", "op_count": 1, "ir_hash": "6d2ac91b925c8f76", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 11100.0, "surface_area": 3680.0, "principal_moments": [464000.0, 4930000.0, 5150000.0], "n_faces": 3, "n_edges": 3, "n_vertices": 2}, "dimensions": {"lines": ["\u00d813.2 mm circular section swept along a curved path, ~65 mm span."], "text": "\u00d813.2 mm circular section swept along a curved path, ~65 mm span."}, "params": {"path_w": {"type": "float", "default": 65, "min": 32.5, "max": 117.0, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 65, "min": 32.5, "max": 117.0, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_d": {"type": "float", "default": 13.2, "min": 6.6, "max": 23.8, "step": 1.0, "group": "Section", "label": "Section diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333581 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 65, \"min\": 32.5, \"max\": 117.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 65, \"min\": 32.5, \"max\": 117.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_d\": {\"type\": 'float', \"default\": 13.2, \"min\": 6.6, \"max\": 23.8, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.0432, p[\"path_h\"] * 0.4132), (p[\"path_w\"] * 0.1326, p[\"path_h\"] * 0.6587), (p[\"path_w\"] * 0.4401, p[\"path_h\"] * 0.8064), (p[\"path_w\"] * 0.3557, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').circle(p[\"sweep_d\"] / 2).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462caf4e_5018", "family": "compound", "tier": 1, "seed": 1177333582, "symmetry": "none", "op_count": 3, "ir_hash": "7a493fe60f60cc9f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 503000.0, "surface_area": 44200.0, "principal_moments": [482000000.0, 540000000.0, 729000000.0], "n_faces": 14, "n_edges": 33, "n_vertices": 21}, "dimensions": {"lines": ["Rectangular body, 88.93 \u00d7 96.4 \u00d7 59 mm (W\u00d7D\u00d7H).", "\u00d814.3 mm circular section attachment, 12.3 mm long, from left face with a \u00d86.7 mm bore.", "\u00d814.3 mm circular section attachment, 12.3 mm long, from back face with a \u00d86.7 mm bore."], "text": "Rectangular body, 88.93 \u00d7 96.4 \u00d7 59 mm (W\u00d7D\u00d7H). \u00d814.3 mm circular section attachment, 12.3 mm long, from left face with a \u00d86.7 mm bore. \u00d814.3 mm circular section attachment, 12.3 mm long, from back face with a \u00d86.7 mm bore."}, "params": {"block_w": {"type": "float", "default": 88.93, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body width (mm)"}, "block_d": {"type": "float", "default": 96.4, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body depth (mm)"}, "block_h": {"type": "float", "default": 59.0, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body height (mm)"}, "port_d": {"type": "float", "default": 14.3, "min": 5.7, "max": 26.6, "step": 1.0, "group": "Ports", "label": "Ports diameter (mm)"}, "port_len": {"type": "float", "default": 12.3, "min": 3.6, "max": 42.9, "step": 1.0, "group": "Ports", "label": "Port boss length (mm)"}, "port_bore": {"type": "float", "default": 6.7, "min": 2.0, "max": 10.3, "step": 0.5, "group": "Ports", "label": "Port bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333582 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 88.93, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 96.4, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 59.0, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body height (mm)'},\n    \"port_d\": {\"type\": 'float', \"default\": 14.3, \"min\": 5.7, \"max\": 26.6, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Ports diameter (mm)'},\n    \"port_len\": {\"type\": 'float', \"default\": 12.3, \"min\": 3.6, \"max\": 42.9, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Port boss length (mm)'},\n    \"port_bore\": {\"type\": 'float', \"default\": 6.7, \"min\": 2.0, \"max\": 10.3, \"step\": 0.5, \"group\": 'Ports', \"label\": 'Port bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462caf4f_5019", "family": "gear", "tier": 2, "seed": 1177333583, "symmetry": "none", "op_count": 1, "ir_hash": "46c6cacbcdb24fd3", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 127000.0, "surface_area": 23500.0, "principal_moments": [63499999.99999999, 63499999.99999999, 114000000.0], "n_faces": 139, "n_edges": 479, "n_vertices": 308}, "dimensions": {"lines": ["Spur gear, module 5 mm, 17 teeth (pitch \u00d885 mm), face width 24.7 mm, \u00d811.9 mm bore."], "text": "Spur gear, module 5 mm, 17 teeth (pitch \u00d885 mm), face width 24.7 mm, \u00d811.9 mm bore."}, "params": {"module": {"type": "float", "default": 5.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 17, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 24.7, "min": 9.9, "max": 61.8, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "profile_shift": {"type": "float", "default": -0.27, "min": -0.5, "max": 0.7, "step": 0.05, "group": "Gear", "label": "Profile shift"}, "root_fillet": {"type": "float", "default": 1.02, "min": 0.0, "max": 2.5, "step": 0.05, "group": "Gear", "label": "Root fillet (mm)"}, "bore_d": {"type": "float", "default": 11.9, "min": 2.0, "max": 43.5, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333583 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 5.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 17, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 24.7, \"min\": 9.9, \"max\": 61.8, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"profile_shift\": {\"type\": 'float', \"default\": -0.27, \"min\": -0.5, \"max\": 0.7, \"step\": 0.05, \"group\": 'Gear', \"label\": 'Profile shift'},\n    \"root_fillet\": {\"type\": 'float', \"default\": 1.02, \"min\": 0.0, \"max\": 2.5, \"step\": 0.05, \"group\": 'Gear', \"label\": 'Root fillet (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 11.9, \"min\": 2.0, \"max\": 43.5, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"], profile_shift=p[\"profile_shift\"], root_fillet=p[\"root_fillet\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462caf50_5020", "family": "flanged", "tier": 1, "seed": 1177333584, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "5456558143edeb77", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 8520.0, "surface_area": 4990.0, "principal_moments": [1030000.0, 1070000.0, 1070000.0], "n_faces": 13, "n_edges": 42, "n_vertices": 28}, "dimensions": {"lines": ["Revolved body, \u00d820 mm \u00d7 25.5 mm tall with \u00d810.1 mm bore, \u00d840 mm \u00d7 2.9 mm flange.", "Four \u00d84.3 mm holes on a \u00d824 mm bolt circle."], "text": "Revolved body, \u00d820 mm \u00d7 25.5 mm tall with \u00d810.1 mm bore, \u00d840 mm \u00d7 2.9 mm flange. Four \u00d84.3 mm holes on a \u00d824 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 20.0, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 25.5, "min": 7.6, "max": 63.8, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 10.1, "min": 2.0, "max": 14.0, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 40.0, "min": 26.0, "max": 60.0, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 2.9, "min": 0.9, "max": 10.2, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 12.0, "min": 8.0, "max": 18.0, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 4, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333584 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 20.0, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 25.5, \"min\": 7.6, \"max\": 63.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 10.1, \"min\": 2.0, \"max\": 14.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 40.0, \"min\": 26.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 2.9, \"min\": 0.9, \"max\": 10.2, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 12.0, \"min\": 8.0, \"max\": 18.0, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 4, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462caf51_5021", "family": "revolved", "tier": 2, "seed": 1177333585, "symmetry": "none", "op_count": 2, "ir_hash": "c8f7ec756a280eb3", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 78400.0, "surface_area": 14900.0, "principal_moments": [13299999.999999998, 61399999.99999999, 61399999.99999999], "n_faces": 8, "n_edges": 14, "n_vertices": 8}, "dimensions": {"lines": ["Revolved body, \u00d835 mm \u00d7 91.8 mm tall with \u00d811.6 mm bore.", "Chamfer 1.2 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d835 mm \u00d7 91.8 mm tall with \u00d811.6 mm bore. Chamfer 1.2 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 35, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 91.8, "min": 27.5, "max": 275.4, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 11.6, "min": 2.0, "max": 24.5, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "end_chamfer": {"type": "float", "default": 1.2, "min": 0.1, "max": 3.6, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333585 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 35, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 91.8, \"min\": 27.5, \"max\": 275.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 11.6, \"min\": 2.0, \"max\": 24.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 1.2, \"min\": 0.1, \"max\": 3.6, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462caf52_5022", "family": "bracket", "tier": 1, "seed": 1177333586, "symmetry": "none", "op_count": 1, "ir_hash": "370b0bd6f7dca8b4", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 35600.0, "surface_area": 13100.0, "principal_moments": [10300000.0, 76300000.0, 84200000.0], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Z-bracket: base leg 83.36 mm, vertical leg 87 mm, top leg 71.3 mm, 20 mm wide, 8 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."], "text": "Z-bracket: base leg 83.36 mm, vertical leg 87 mm, top leg 71.3 mm, 20 mm wide, 8 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 83.36, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 87.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 20, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 8.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 71.3, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 8.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333586 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 83.36, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 87.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 20, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 71.3, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 8.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462caf53_5023", "family": "bracket", "tier": 1, "seed": 1177333587, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "23ffa52b144952f1", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 25600.0, "surface_area": 11500.0, "principal_moments": [5550000.0, 51699999.99999999, 55499999.99999999], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Z-bracket: base leg 85 mm, vertical leg 65.7 mm, top leg 75.8 mm, 20 mm wide, 6 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."], "text": "Z-bracket: base leg 85 mm, vertical leg 65.7 mm, top leg 75.8 mm, 20 mm wide, 6 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 85, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 65.7, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 20, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 6.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 75.8, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 8.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333587 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 85, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 65.7, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 20, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 75.8, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 8.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462caf54_5024", "family": "bracket", "tier": 2, "seed": 1177333588, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "a0cf2555615c0a02", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 19100.0, "surface_area": 14000.0, "principal_moments": [4160000.0, 21900000.0, 22700000.0], "n_faces": 18, "n_edges": 48, "n_vertices": 32}, "dimensions": {"lines": ["Z-bracket: base leg 65 mm, vertical leg 43.1 mm, top leg 53.8 mm, 40 mm wide, 3 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg; 2.4 mm corner gusset."], "text": "Z-bracket: base leg 65 mm, vertical leg 43.1 mm, top leg 53.8 mm, 40 mm wide, 3 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg; 2.4 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 65, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 43.1, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 40, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 3.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 53.8, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}, "gusset_t": {"type": "float", "default": 2.4, "min": 1.5, "max": 9.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333588 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 65, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 43.1, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 40, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 53.8, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 2.4, \"min\": 1.5, \"max\": 9.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _tl, _vl) * 0.4 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(0, _vl - _bt).lineTo(-_g, _vl - _bt)\n                    .lineTo(0, _vl - _bt - _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462caf55_5025", "family": "compound", "tier": 1, "seed": 1177333589, "symmetry": "mirror_xy", "op_count": 3, "ir_hash": "83f020ec699b9742", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 247000.0, "surface_area": 27400.0, "principal_moments": [148000000.0, 163000000.0, 229000000.0], "n_faces": 15, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 69.58 \u00d7 77.1 \u00d7 44.8 mm (W\u00d7D\u00d7H).", "76.5 \u00d7 38.3 mm rectangular section attachment, 3 mm long, from right face.", "Four \u00d83.2 mm holes at the corners, 45.9 \u00d7 22.98 mm spacing on the >X face."], "text": "Rectangular body, 69.58 \u00d7 77.1 \u00d7 44.8 mm (W\u00d7D\u00d7H). 76.5 \u00d7 38.3 mm rectangular section attachment, 3 mm long, from right face. Four \u00d83.2 mm holes at the corners, 45.9 \u00d7 22.98 mm spacing on the >X face."}, "params": {"block_w": {"type": "float", "default": 69.58, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 77.1, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 44.8, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "tab_a": {"type": "float", "default": 76.5, "min": 30.6, "max": 122.4, "step": 1.0, "group": "Tab", "label": "Tab width (mm)"}, "tab_b": {"type": "float", "default": 38.3, "min": 15.3, "max": 61.3, "step": 1.0, "group": "Tab", "label": "Tab height (mm)"}, "tab_t": {"type": "float", "default": 3.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Tab", "label": "Tab thickness (mm)"}, "tab_hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 8.4, "step": 0.1, "group": "Tab", "label": "Tab hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333589 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 69.58, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 77.1, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 44.8, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"tab_a\": {\"type\": 'float', \"default\": 76.5, \"min\": 30.6, \"max\": 122.4, \"step\": 1.0, \"group\": 'Tab', \"label\": 'Tab width (mm)'},\n    \"tab_b\": {\"type\": 'float', \"default\": 38.3, \"min\": 15.3, \"max\": 61.3, \"step\": 1.0, \"group\": 'Tab', \"label\": 'Tab height (mm)'},\n    \"tab_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Tab', \"label\": 'Tab thickness (mm)'},\n    \"tab_hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 8.4, \"step\": 0.1, \"group\": 'Tab', \"label\": 'Tab hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .rect(p[\"tab_a\"], p[\"tab_b\"]).extrude(p[\"tab_t\"])\n    )\n    result = (\n        result.faces('>X').workplane()\n        .rect(p[\"tab_a\"] * 0.6, p[\"tab_b\"] * 0.6, forConstruction=True)\n        .vertices().hole(p[\"tab_hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462caf56_5026", "family": "bracket", "tier": 1, "seed": 1177333590, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "676be8f30103e714", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 9670.0, "surface_area": 7450.0, "principal_moments": [2100000.0, 6470000.0, 7340000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["L-bracket: base leg 60 mm, vertical leg 63.1 mm, 27.37 mm wide, 3 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."], "text": "L-bracket: base leg 60 mm, vertical leg 63.1 mm, 27.37 mm wide, 3 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 60, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 63.1, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 27.37, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 3.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333590 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 60, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 63.1, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 27.37, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462caf57_5027", "family": "swept", "tier": 2, "seed": 1177333591, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "0fdf6f79c57cf53f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 24500.0, "surface_area": 7660.0, "principal_moments": [2330000.0, 26199999.999999996, 27299999.999999996], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["19.4 \u00d7 17.3 mm rectangular section swept along a curved path, ~105.38 mm span."], "text": "19.4 \u00d7 17.3 mm rectangular section swept along a curved path, ~105.38 mm span."}, "params": {"path_w": {"type": "float", "default": 66.35, "min": 33.2, "max": 119.4, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 105.38, "min": 52.7, "max": 189.7, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_a": {"type": "float", "default": 19.4, "min": 9.7, "max": 34.9, "step": 1.0, "group": "Section", "label": "Section width (mm)"}, "sweep_b": {"type": "float", "default": 17.3, "min": 8.7, "max": 31.1, "step": 1.0, "group": "Section", "label": "Section depth (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333591 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 66.35, \"min\": 33.2, \"max\": 119.4, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 105.38, \"min\": 52.7, \"max\": 189.7, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_a\": {\"type\": 'float', \"default\": 19.4, \"min\": 9.7, \"max\": 34.9, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section width (mm)'},\n    \"sweep_b\": {\"type\": 'float', \"default\": 17.3, \"min\": 8.7, \"max\": 31.1, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section depth (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.3657, p[\"path_h\"] * 0.7366), (p[\"path_w\"] * 0.2641, p[\"path_h\"] * 0.8761), (p[\"path_w\"] * 0.1387, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').rect(p[\"sweep_a\"], p[\"sweep_b\"]).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462caf58_5028", "family": "plate", "tier": 2, "seed": 1177333592, "symmetry": "none", "op_count": 2, "ir_hash": "86a8995e930b8f60", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 55100.0, "surface_area": 14500.0, "principal_moments": [8260000.0, 62299999.99999999, 69200000.0], "n_faces": 22, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 117.3 \u00d7 41.2 \u00d7 12 mm (W\u00d7D\u00d7H).", "Four 12.4 \u00d7 5.3 mm slots at the corners, 82.11 \u00d7 28.84 mm spacing."], "text": "Rectangular body, 117.3 \u00d7 41.2 \u00d7 12 mm (W\u00d7D\u00d7H). Four 12.4 \u00d7 5.3 mm slots at the corners, 82.11 \u00d7 28.84 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 117.3, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 41.2, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 9.3, "step": 0.5, "group": "Holes", "label": "Slot width (mm)"}, "hole_slot_len": {"type": "float", "default": 12.4, "min": 7.9, "max": 12.4, "step": 0.5, "group": "Holes", "label": "Slot length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333592 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 117.3, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 41.2, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 9.3, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Slot width (mm)'},\n    \"hole_slot_len\": {\"type\": 'float', \"default\": 12.4, \"min\": 7.9, \"max\": 12.4, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Slot length (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().slot2D(p[\"hole_slot_len\"], p[\"hole_d\"]).cutThruAll()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462caf59_5029", "family": "compound", "tier": 1, "seed": 1177333593, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "aa7d25d6ac487575", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 47200.0, "surface_area": 11100.0, "principal_moments": [11399999.999999998, 13699999.999999998, 13699999.999999998], "n_faces": 6, "n_edges": 9, "n_vertices": 6}, "dimensions": {"lines": ["\u00d842.02 mm circular section, extruded 35.2 mm thick.", "\u00d828.7 mm circular section attachment, 15.6 mm long, from top face with a \u00d817.1 mm bore."], "text": "\u00d842.02 mm circular section, extruded 35.2 mm thick. \u00d828.7 mm circular section attachment, 15.6 mm long, from top face with a \u00d817.1 mm bore."}, "params": {"shaft_d": {"type": "float", "default": 42.02, "min": 21.0, "max": 75.6, "step": 1.0, "group": "Body", "label": "Shaft diameter (mm)"}, "shaft_len": {"type": "float", "default": 35.2, "min": 14.1, "max": 70.4, "step": 1.0, "group": "Body", "label": "Shaft length (mm)"}, "step_d": {"type": "float", "default": 28.7, "min": 14.3, "max": 37.8, "step": 1.0, "group": "Step", "label": "Step diameter (mm)"}, "step_len": {"type": "float", "default": 15.6, "min": 4.7, "max": 39.0, "step": 1.0, "group": "Step", "label": "Step length (mm)"}, "axial_bore": {"type": "float", "default": 17.1, "min": 2.0, "max": 20.7, "step": 0.5, "group": "Bore", "label": "Axial bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333593 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"shaft_d\": {\"type\": 'float', \"default\": 42.02, \"min\": 21.0, \"max\": 75.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft diameter (mm)'},\n    \"shaft_len\": {\"type\": 'float', \"default\": 35.2, \"min\": 14.1, \"max\": 70.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft length (mm)'},\n    \"step_d\": {\"type\": 'float', \"default\": 28.7, \"min\": 14.3, \"max\": 37.8, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step diameter (mm)'},\n    \"step_len\": {\"type\": 'float', \"default\": 15.6, \"min\": 4.7, \"max\": 39.0, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step length (mm)'},\n    \"axial_bore\": {\"type\": 'float', \"default\": 17.1, \"min\": 2.0, \"max\": 20.7, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Axial bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').circle(p[\"shaft_d\"] / 2).extrude(p[\"shaft_len\"]))\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"step_d\"] / 2).extrude(p[\"step_len\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"axial_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462caf5a_5030", "family": "enclosure", "tier": 2, "seed": 1177333594, "symmetry": "none", "op_count": 4, "ir_hash": "1d5469886d783979", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 140000.0, "surface_area": 81800.0, "principal_moments": [228000000.0, 347000000.0, 380000000.0], "n_faces": 23, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 120 \u00d7 67.2 \u00d7 95.7 mm (W\u00d7D\u00d7H).", "Hollowed to 3.4 mm wall thickness, open at top face.", "Four \u00d86.4 mm holes at the corners, 84 \u00d7 47.04 mm spacing.", "Fillet radius 6.789 mm on vertical edges."], "text": "Rectangular body, 120 \u00d7 67.2 \u00d7 95.7 mm (W\u00d7D\u00d7H). Hollowed to 3.4 mm wall thickness, open at top face. Four \u00d86.4 mm holes at the corners, 84 \u00d7 47.04 mm spacing. Fillet radius 6.789 mm on vertical edges."}, "params": {"enc_w": {"type": "float", "default": 120.0, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 67.2, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 95.7, "min": 38.3, "max": 191.4, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 3.4, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333594 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 120.0, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 67.2, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 95.7, \"min\": 38.3, \"max\": 191.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 3.4, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"enc_w\"] * 0.7, p[\"enc_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"enc_w\"], p[\"enc_d\"]) * 0.10102305442852876)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462caf5b_5031", "family": "plate", "tier": 2, "seed": 1177333595, "symmetry": "none", "op_count": 3, "ir_hash": "97985eb92888c763", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 73200.0, "surface_area": 19500.0, "principal_moments": [26399999.999999996, 80500000.0, 106000000.0], "n_faces": 26, "n_edges": 72, "n_vertices": 48}, "dimensions": {"lines": ["Rectangular body, 115.69 \u00d7 65.8 \u00d7 10 mm (W\u00d7D\u00d7H).", "Four 12.5 \u00d7 6.4 mm slots at the corners, 80.983 \u00d7 46.06 mm spacing.", "Chamfer 2.3 mm on vertical edges."], "text": "Rectangular body, 115.69 \u00d7 65.8 \u00d7 10 mm (W\u00d7D\u00d7H). Four 12.5 \u00d7 6.4 mm slots at the corners, 80.983 \u00d7 46.06 mm spacing. Chamfer 2.3 mm on vertical edges."}, "params": {"plate_w": {"type": "float", "default": 115.69, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 65.8, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 13.0, "step": 0.5, "group": "Holes", "label": "Slot width (mm)"}, "hole_slot_len": {"type": "float", "default": 12.5, "min": 9.6, "max": 19.7, "step": 0.5, "group": "Holes", "label": "Slot length (mm)"}, "chamfer_d": {"type": "float", "default": 2.3, "min": 1.6, "max": 2.7, "step": 0.5, "group": "Body", "label": "Chamfer distance (mm)"}, "chamfered": {"type": "bool", "default": true, "group": "Body", "label": "Chamfer edges"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333595 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 115.69, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 65.8, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 13.0, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Slot width (mm)'},\n    \"hole_slot_len\": {\"type\": 'float', \"default\": 12.5, \"min\": 9.6, \"max\": 19.7, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Slot length (mm)'},\n    \"chamfer_d\": {\"type\": 'float', \"default\": 2.3, \"min\": 1.6, \"max\": 2.7, \"step\": 0.5, \"group\": 'Body', \"label\": 'Chamfer distance (mm)'},\n    \"chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Chamfer edges'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().slot2D(p[\"hole_slot_len\"], p[\"hole_d\"]).cutThruAll()\n    )\n    if p[\"chamfered\"]:\n        result = result.edges('|Z').chamfer(p[\"chamfer_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462caf5c_5032", "family": "bracket", "tier": 2, "seed": 1177333596, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "d3cc0bb9dfc17b80", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 44300.0, "surface_area": 13400.0, "principal_moments": [14799999.999999998, 21800000.0, 27699999.999999996], "n_faces": 14, "n_edges": 37, "n_vertices": 24}, "dimensions": {"lines": ["L-bracket: base leg 50 mm, vertical leg 56.1 mm, 54.07 mm wide, 8 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 10.5 mm corner gusset."], "text": "L-bracket: base leg 50 mm, vertical leg 56.1 mm, 54.07 mm wide, 8 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 10.5 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 50, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 56.1, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 54.07, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 8.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 10.5, "min": 4.0, "max": 24.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333596 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 50, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 56.1, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 54.07, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 10.5, \"min\": 4.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462caf5d_5033", "family": "threaded", "tier": 2, "seed": 1177333597, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "d701d12925bfa860", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 18900.0, "surface_area": 5890.0, "principal_moments": [1560000.0, 2920000.0, 2920000.0], "n_faces": 80, "n_edges": 198, "n_vertices": 120}, "dimensions": {"lines": ["Tr 28x5 external thread, 37.5 mm long."], "text": "Tr 28x5 external thread, 37.5 mm long."}, "params": {"thread_size": {"type": "enum", "default": "28x5", "choices": ["8x1.5", "10x2", "12x3", "14x3", "16x4", "18x4", "20x4", "24x5", "28x5", "30x6", "36x6", "40x7"], "group": "Thread", "label": "Size designation"}, "thread_len": {"type": "float", "default": 37.5, "min": 15.0, "max": 75.0, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333597 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"thread_size\": {\"type\": 'enum', \"default\": '28x5', \"choices\": ['8x1.5', '10x2', '12x3', '14x3', '16x4', '18x4', '20x4', '24x5', '28x5', '30x6', '36x6', '40x7'], \"group\": 'Thread', \"label\": 'Size designation'},\n    \"thread_len\": {\"type\": 'float', \"default\": 37.5, \"min\": 15.0, \"max\": 75.0, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.MetricTrapezoidalThread(size=p[\"thread_size\"], length=p[\"thread_len\"], external=True, end_finishes=(\"fade\", \"fade\"))\n    _r = _thr.min_radius if hasattr(_thr, 'min_radius') else _thr.root_radius\n    _shank = _bd.Cylinder(radius=_r, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = _shank + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462caf5e_5034", "family": "sketched", "tier": 1, "seed": 1177333598, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "3beacef676608364", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 41500.0, "surface_area": 7480.0, "principal_moments": [7260000.0, 8530000.0, 10900000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["freeform sketched section (7 segments: 1 straight, 3 arcs, 3 curves), ~43.511 \u00d7 46.2 mm, extruded 26.49 mm thick.", "One \u00d86.4 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "freeform sketched section (7 segments: 1 straight, 3 arcs, 3 curves), ~43.511 \u00d7 46.2 mm, extruded 26.49 mm thick. One \u00d86.4 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"sk_w": {"type": "float", "default": 45, "min": 22.5, "max": 81.0, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 60, "min": 30.0, "max": 108.0, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "sk_t": {"type": "float", "default": 26.49, "min": 10.6, "max": 58.3, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "sk_hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 12.8, "step": 0.5, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333598 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 45, \"min\": 22.5, \"max\": 81.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 60, \"min\": 30.0, \"max\": 108.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"sk_t\": {\"type\": 'float', \"default\": 26.49, \"min\": 10.6, \"max\": 58.3, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"sk_hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 12.8, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.4967, p[\"sk_h\"] * -0.0127).spline([(p[\"sk_w\"] * 0.4967, p[\"sk_h\"] * -0.0127), (p[\"sk_w\"] * 0.3722, p[\"sk_h\"] * 0.2006), (p[\"sk_w\"] * 0.1927, p[\"sk_h\"] * 0.3702)]).spline([(p[\"sk_w\"] * 0.1927, p[\"sk_h\"] * 0.3702), (p[\"sk_w\"] * 0.0081, p[\"sk_h\"] * 0.4334), (p[\"sk_w\"] * -0.1823, p[\"sk_h\"] * 0.3905)]).threePointArc((p[\"sk_w\"] * -0.3618, p[\"sk_h\"] * 0.2737), (p[\"sk_w\"] * -0.4702, p[\"sk_h\"] * 0.0904)).threePointArc((p[\"sk_w\"] * -0.4694, p[\"sk_h\"] * -0.0633), (p[\"sk_w\"] * -0.4282, p[\"sk_h\"] * -0.212)).spline([(p[\"sk_w\"] * -0.4282, p[\"sk_h\"] * -0.212), (p[\"sk_w\"] * -0.3077, p[\"sk_h\"] * -0.2869), (p[\"sk_w\"] * -0.1732, p[\"sk_h\"] * -0.3323)]).lineTo(p[\"sk_w\"] * 0.1723, p[\"sk_h\"] * -0.3795).threePointArc((p[\"sk_w\"] * 0.3985, p[\"sk_h\"] * -0.2262), (p[\"sk_w\"] * 0.4967, p[\"sk_h\"] * -0.0127)).close().extrude(p[\"sk_t\"]))\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"sk_hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462caf5f_5035", "family": "profiled", "tier": 1, "seed": 1177333599, "symmetry": "none", "op_count": 1, "ir_hash": "8b74e5c925e7865f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 115000.0, "surface_area": 17700.0, "principal_moments": [13399999.999999998, 257000000.0, 259000000.0], "n_faces": 8, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["freeform sketched section (6 segments: 5 straight, 1 arc), ~29.322 \u00d7 31.391 mm, extruded 161.8 mm thick."], "text": "freeform sketched section (6 segments: 5 straight, 1 arc), ~29.322 \u00d7 31.391 mm, extruded 161.8 mm thick."}, "params": {"sk_w": {"type": "float", "default": 38.4, "min": 19.2, "max": 69.1, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 35.53, "min": 17.8, "max": 64.0, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "length": {"type": "float", "default": 161.8, "min": 48.5, "max": 485.4, "step": 5.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333599 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 38.4, \"min\": 19.2, \"max\": 69.1, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 35.53, \"min\": 17.8, \"max\": 64.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 161.8, \"min\": 48.5, \"max\": 485.4, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.382, p[\"sk_h\"] * 0.0268).lineTo(p[\"sk_w\"] * 0.2401, p[\"sk_h\"] * 0.4203).lineTo(p[\"sk_w\"] * -0.3098, p[\"sk_h\"] * 0.3771).threePointArc((p[\"sk_w\"] * -0.3596, p[\"sk_h\"] * 0.2611), (p[\"sk_w\"] * -0.3816, p[\"sk_h\"] * 0.1244)).lineTo(p[\"sk_w\"] * -0.2532, p[\"sk_h\"] * -0.409).lineTo(p[\"sk_w\"] * 0.1707, p[\"sk_h\"] * -0.4632).lineTo(p[\"sk_w\"] * 0.382, p[\"sk_h\"] * 0.0268).close().extrude(p[\"length\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462caf60_5036", "family": "gear", "tier": 0, "seed": 1177333600, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "fe7a47a687fe8c2a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 50300.0, "surface_area": 14600.0, "principal_moments": [19600000.0, 19600000.0, 38300000.0], "n_faces": 236, "n_edges": 702, "n_vertices": 468}, "dimensions": {"lines": ["Spur gear, module 2 mm, 39 teeth (pitch \u00d878 mm), face width 10.6 mm."], "text": "Spur gear, module 2 mm, 39 teeth (pitch \u00d878 mm), face width 10.6 mm."}, "params": {"module": {"type": "float", "default": 2.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 39, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 10.6, "min": 4.2, "max": 26.5, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333600 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 2.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 39, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 10.6, \"min\": 4.2, \"max\": 26.5, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462caf62_5038", "family": "swept", "tier": 1, "seed": 1177333602, "symmetry": "none", "op_count": 1, "ir_hash": "beb9c842eeafe265", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 22800.0, "surface_area": 6300.0, "principal_moments": [1350000.0, 14499999.999999998, 15099999.999999998], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["17.8 \u00d7 14.2 mm rectangular section swept along a curved path, ~82.59 mm span."], "text": "17.8 \u00d7 14.2 mm rectangular section swept along a curved path, ~82.59 mm span."}, "params": {"path_w": {"type": "float", "default": 63.98, "min": 32.0, "max": 115.2, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 82.59, "min": 41.3, "max": 148.7, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_a": {"type": "float", "default": 17.8, "min": 8.9, "max": 32.0, "step": 1.0, "group": "Section", "label": "Section width (mm)"}, "sweep_b": {"type": "float", "default": 14.2, "min": 7.1, "max": 25.6, "step": 1.0, "group": "Section", "label": "Section depth (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333602 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 63.98, \"min\": 32.0, \"max\": 115.2, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 82.59, \"min\": 41.3, \"max\": 148.7, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_a\": {\"type\": 'float', \"default\": 17.8, \"min\": 8.9, \"max\": 32.0, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section width (mm)'},\n    \"sweep_b\": {\"type\": 'float', \"default\": 14.2, \"min\": 7.1, \"max\": 25.6, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section depth (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.1822, p[\"path_h\"] * 0.406), (p[\"path_w\"] * 0.2597, p[\"path_h\"] * 0.501), (p[\"path_w\"] * 0.1789, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').rect(p[\"sweep_a\"], p[\"sweep_b\"]).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462caf63_5039", "family": "plate", "tier": 0, "seed": 1177333603, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "3c18b98bbc3a32c8", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 9650.0, "surface_area": 4740.0, "principal_moments": [1500000.0, 1650000.0, 3110000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 45 \u00d7 42.9 \u00d7 5 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 45 \u00d7 42.9 \u00d7 5 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 45, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 42.9, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 5.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333603 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 45, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 42.9, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 5.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462caf64_5040", "family": "revolved", "tier": 1, "seed": 1177333604, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "c21f46687d1d3439", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 1770.0, "surface_area": 1240.0, "principal_moments": [76100.0, 76100.0, 134000.0], "n_faces": 8, "n_edges": 14, "n_vertices": 8}, "dimensions": {"lines": ["Revolved body, \u00d821.07 mm \u00d7 8 mm tall with \u00d812.6 mm bore.", "Chamfer 0.4 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d821.07 mm \u00d7 8 mm tall with \u00d812.6 mm bore. Chamfer 0.4 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 21.07, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 8.0, "min": 2.4, "max": 24.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 12.6, "min": 2.0, "max": 14.7, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "end_chamfer": {"type": "float", "default": 0.4, "min": 0.1, "max": 1.2, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333604 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 21.07, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.4, \"max\": 24.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 12.6, \"min\": 2.0, \"max\": 14.7, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.4, \"min\": 0.1, \"max\": 1.2, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462caf65_5041", "family": "gear", "tier": 1, "seed": 1177333605, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "7de2c75683e62074", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 5680.0, "surface_area": 3800.0, "principal_moments": [644000.0, 644000.0, 1270000.0], "n_faces": 201, "n_edges": 597, "n_vertices": 398}, "dimensions": {"lines": ["Spur gear, module 1.25 mm, 33 teeth (pitch \u00d841.25 mm), face width 4.5 mm, \u00d89 mm bore."], "text": "Spur gear, module 1.25 mm, 33 teeth (pitch \u00d841.25 mm), face width 4.5 mm, \u00d89 mm bore."}, "params": {"module": {"type": "float", "default": 1.25, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 33, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 4.5, "min": 1.8, "max": 11.2, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "bore_d": {"type": "float", "default": 9.0, "min": 2.0, "max": 22.9, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333605 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 1.25, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 33, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 4.5, \"min\": 1.8, \"max\": 11.2, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 9.0, \"min\": 2.0, \"max\": 22.9, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462caf66_5042", "family": "plate", "tier": 0, "seed": 1177333606, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "f95cae22c876e77d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 80500.0, "surface_area": 17600.0, "principal_moments": [21900000.0, 97599999.99999999, 118000000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 120 \u00d7 55.9 \u00d7 12 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 120 \u00d7 55.9 \u00d7 12 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 120.0, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 55.9, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333606 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 120.0, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 55.9, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462caf67_5043", "family": "plate", "tier": 2, "seed": 1177333607, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "a9ab6567318b17e7", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 4280.0, "surface_area": 2960.0, "principal_moments": [293000.0, 554000.0, 836000.0], "n_faces": 14, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 40 \u00d7 29 \u00d7 4 mm (W\u00d7D\u00d7H).", "Four \u00d85.3 mm holes at the corners, 28 \u00d7 20.3 mm spacing.", "Fillet radius 0.796 mm on vertical edges."], "text": "Rectangular body, 40 \u00d7 29 \u00d7 4 mm (W\u00d7D\u00d7H). Four \u00d85.3 mm holes at the corners, 28 \u00d7 20.3 mm spacing. Fillet radius 0.796 mm on vertical edges."}, "params": {"plate_w": {"type": "float", "default": 40, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 29.0, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 4.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 6.5, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333607 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 40, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 29.0, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 4.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 6.5, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"plate_w\"], p[\"plate_d\"]) * 0.02743369705328978)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462caf68_5044", "family": "flanged", "tier": 2, "seed": 1177333608, "symmetry": "none", "op_count": 2, "ir_hash": "2722b34b962b3b37", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 40500.0, "surface_area": 13800.0, "principal_moments": [11699999.999999998, 11699999.999999998, 13699999.999999998], "n_faces": 17, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Revolved body, \u00d840 mm \u00d7 34.9 mm tall with \u00d818.2 mm bore, \u00d867.2 mm \u00d7 3.5 mm flange.", "Six \u00d85.3 mm holes on a \u00d840.4 mm bolt circle."], "text": "Revolved body, \u00d840 mm \u00d7 34.9 mm tall with \u00d818.2 mm bore, \u00d867.2 mm \u00d7 3.5 mm flange. Six \u00d85.3 mm holes on a \u00d840.4 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 40, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 34.9, "min": 10.5, "max": 87.2, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 18.2, "min": 2.0, "max": 28.0, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 67.2, "min": 52.0, "max": 120.0, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 3.5, "min": 1.1, "max": 14.0, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 20.2, "min": 13.4, "max": 30.2, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 6, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333608 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 40, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 34.9, \"min\": 10.5, \"max\": 87.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 18.2, \"min\": 2.0, \"max\": 28.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 67.2, \"min\": 52.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 3.5, \"min\": 1.1, \"max\": 14.0, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 20.2, \"min\": 13.4, \"max\": 30.2, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462caf69_5045", "family": "tapped", "tier": 0, "seed": 1177333609, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "f73a6712c31ecac5", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 979.0, "surface_area": 810.0, "principal_moments": [14800.0, 21400.0, 21400.0], "n_faces": 155, "n_edges": 421, "n_vertices": 268}, "dimensions": {"lines": ["One M4x0.7 tapped hole in a cylinder."], "text": "One M4x0.7 tapped hole in a cylinder."}, "params": {"major_d": {"type": "float", "default": 4.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 0.7, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 13.1, "min": 4.8, "max": 23.6, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "body_d": {"type": "float", "default": 10.4, "min": 7.2, "max": 16.6, "step": 1.0, "group": "Body", "label": "Outer \u00d8 (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333609 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 4.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 0.7, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 13.1, \"min\": 4.8, \"max\": 23.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"body_d\": {\"type\": 'float', \"default\": 10.4, \"min\": 7.2, \"max\": 16.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer \u00d8 (mm)'},\n}\n\n\ndef build(p):\n\n    _W = _D = p[\"body_d\"]\n    _H = p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Cylinder(radius=_W / 2, height=_H)\n    _locs = [(0.0, 0.0)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462caf6a_5046", "family": "ribbed", "tier": 1, "seed": 1177333610, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "176e5f4e7b166de0", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 71700.0, "surface_area": 20700.0, "principal_moments": [29099999.999999996, 60499999.99999999, 82900000.0], "n_faces": 22, "n_edges": 52, "n_vertices": 32}, "dimensions": {"lines": ["Rectangular body, 90 \u00d7 64 \u00d7 10 mm (W\u00d7D\u00d7H).", "Two ribs, 5.1 mm thick, 19.2 mm tall."], "text": "Rectangular body, 90 \u00d7 64 \u00d7 10 mm (W\u00d7D\u00d7H). Two ribs, 5.1 mm thick, 19.2 mm tall."}, "params": {"base_w": {"type": "float", "default": 90, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 64.0, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 10.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 2, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 19.2, "min": 7.7, "max": 38.4, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 5.1, "min": 1.0, "max": 12.8, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333610 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 90, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 64.0, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 2, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 19.2, \"min\": 7.7, \"max\": 38.4, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 5.1, \"min\": 1.0, \"max\": 12.8, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462caf6b_5047", "family": "threaded", "tier": 1, "seed": 1177333611, "symmetry": "none", "op_count": 1, "ir_hash": "8400c78741315ba3", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 23400.0, "surface_area": 9010.0, "principal_moments": [3070000.0, 6210000.0, 6210000.0], "n_faces": 383, "n_edges": 1093, "n_vertices": 712}, "dimensions": {"lines": ["M16x2 internal thread, 49 mm long."], "text": "M16x2 internal thread, 49 mm long."}, "params": {"major_d": {"type": "float", "default": 16.0, "min": 4.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Major diameter (mm)"}, "pitch": {"type": "float", "default": 2.0, "min": 1.0, "max": 4.0, "step": 0.05, "group": "Thread", "label": "Pitch (mm)"}, "thread_len": {"type": "float", "default": 49.0, "min": 19.6, "max": 98.0, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333611 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 16.0, \"min\": 4.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Major diameter (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 2.0, \"min\": 1.0, \"max\": 4.0, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Pitch (mm)'},\n    \"thread_len\": {\"type\": 'float', \"default\": 49.0, \"min\": 19.6, \"max\": 98.0, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.IsoThread(major_diameter=p[\"major_d\"], pitch=p[\"pitch\"], length=p[\"thread_len\"], external=False, end_finishes=(\"fade\", \"fade\"))\n    _body = _bd.Cylinder(radius=(p[\"major_d\"]) * 0.9, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _bore = _bd.Cylinder(radius=(p[\"major_d\"]) / 2, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = (_body - _bore) + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462caf6d_5049", "family": "compound", "tier": 3, "seed": 1177333613, "symmetry": "mirror_xy", "op_count": 3, "ir_hash": "33ac45bed400a883", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 35800.0, "surface_area": 6930.0, "principal_moments": [5180000.0, 8970000.0, 8970000.0], "n_faces": 16, "n_edges": 39, "n_vertices": 26}, "dimensions": {"lines": ["6-sided polygon section, 41.46 mm across corners, extruded 23 mm thick.", "\u00d821.7 mm circular section attachment, 27.4 mm long, from top face.", "Fillet radius 2.174 mm on vertical edges."], "text": "6-sided polygon section, 41.46 mm across corners, extruded 23 mm thick. \u00d821.7 mm circular section attachment, 27.4 mm long, from top face. Fillet radius 2.174 mm on vertical edges."}, "params": {"base_sides": {"type": "int", "default": 6, "min": 3, "max": 8, "step": 1, "group": "Base", "label": "Base sides"}, "base_r": {"type": "float", "default": 20.73, "min": 12.4, "max": 33.2, "step": 1.0, "group": "Base", "label": "Base circumradius (mm)"}, "base_h": {"type": "float", "default": 23.0, "min": 9.2, "max": 57.5, "step": 1.0, "group": "Base", "label": "Base height (mm)"}, "col_d": {"type": "float", "default": 21.7, "min": 10.8, "max": 28.7, "step": 1.0, "group": "Column", "label": "Column diameter (mm)"}, "col_h": {"type": "float", "default": 27.4, "min": 8.2, "max": 68.5, "step": 1.0, "group": "Column", "label": "Column height (mm)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333613 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_sides\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Base', \"label\": 'Base sides'},\n    \"base_r\": {\"type\": 'float', \"default\": 20.73, \"min\": 12.4, \"max\": 33.2, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base circumradius (mm)'},\n    \"base_h\": {\"type\": 'float', \"default\": 23.0, \"min\": 9.2, \"max\": 57.5, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base height (mm)'},\n    \"col_d\": {\"type\": 'float', \"default\": 21.7, \"min\": 10.8, \"max\": 28.7, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column diameter (mm)'},\n    \"col_h\": {\"type\": 'float', \"default\": 27.4, \"min\": 8.2, \"max\": 68.5, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column height (mm)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').polygon(p[\"base_sides\"], p[\"base_r\"] * 2).extrude(p[\"base_h\"]))\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"col_d\"] / 2).extrude(p[\"col_h\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"base_r\"], p[\"base_r\"]) * 0.10488659127984631)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462caf6e_5050", "family": "profiled", "tier": 0, "seed": 1177333614, "symmetry": "none", "op_count": 1, "ir_hash": "9ac9a1ab8a430ec8", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 175000.0, "surface_area": 31600.0, "principal_moments": [42700000.0, 837000000.0, 874000000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["55 \u00d7 14.13 mm slot section, extruded 238.9 mm thick."], "text": "55 \u00d7 14.13 mm slot section, extruded 238.9 mm thick."}, "params": {"slot_len": {"type": "float", "default": 55, "min": 27.5, "max": 110.0, "step": 1.0, "group": "Profile", "label": "Slot length (mm)"}, "slot_w": {"type": "float", "default": 14.13, "min": 7.1, "max": 28.3, "step": 0.5, "group": "Profile", "label": "Slot width (mm)"}, "length": {"type": "float", "default": 238.9, "min": 71.7, "max": 716.7, "step": 5.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333614 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"slot_len\": {\"type\": 'float', \"default\": 55, \"min\": 27.5, \"max\": 110.0, \"step\": 1.0, \"group\": 'Profile', \"label\": 'Slot length (mm)'},\n    \"slot_w\": {\"type\": 'float', \"default\": 14.13, \"min\": 7.1, \"max\": 28.3, \"step\": 0.5, \"group\": 'Profile', \"label\": 'Slot width (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 238.9, \"min\": 71.7, \"max\": 716.7, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').slot2D(p[\"slot_len\"], p[\"slot_w\"]).extrude(p[\"length\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462caf6f_5051", "family": "bracket", "tier": 1, "seed": 1177333615, "symmetry": "none", "op_count": 1, "ir_hash": "55126e6981a98653", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 26600.0, "surface_area": 9250.0, "principal_moments": [5990000.0, 19600000.0, 22400000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["L-bracket: base leg 61.89 mm, vertical leg 72.1 mm, 26.51 mm wide, 8 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."], "text": "L-bracket: base leg 61.89 mm, vertical leg 72.1 mm, 26.51 mm wide, 8 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 61.89, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 72.1, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 26.51, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 8.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333615 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 61.89, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 72.1, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 26.51, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462caf70_5052", "family": "bracket", "tier": 2, "seed": 1177333616, "symmetry": "none", "op_count": 1, "ir_hash": "3ec83e0c3d61033a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 12800.0, "surface_area": 7420.0, "principal_moments": [2070000.0, 5240000.0, 5680000.0], "n_faces": 14, "n_edges": 37, "n_vertices": 24}, "dimensions": {"lines": ["L-bracket: base leg 55 mm, vertical leg 37 mm, 35 mm wide, 4 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg; 5.3 mm corner gusset."], "text": "L-bracket: base leg 55 mm, vertical leg 37 mm, 35 mm wide, 4 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg; 5.3 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 55, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 37.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 35, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 4.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 5.3, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333616 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 55, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 37.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 35, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462caf71_5053", "family": "tapped", "tier": 0, "seed": 1177333617, "symmetry": "none", "op_count": 1, "ir_hash": "2737021ca1535467", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 14400.0, "surface_area": 4400.0, "principal_moments": [1460000.0, 1460000.0, 1850000.0], "n_faces": 143, "n_edges": 389, "n_vertices": 248}, "dimensions": {"lines": ["One M8x1.25 tapped hole in a plate."], "text": "One M8x1.25 tapped hole in a plate."}, "params": {"major_d": {"type": "float", "default": 8.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 1.25, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 21.0, "min": 9.6, "max": 37.8, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "plate_w": {"type": "float", "default": 27.0, "min": 16.2, "max": 43.2, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 27.0, "min": 16.2, "max": 43.2, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333617 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.25, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 21.0, \"min\": 9.6, \"max\": 37.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"plate_w\": {\"type\": 'float', \"default\": 27.0, \"min\": 16.2, \"max\": 43.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 27.0, \"min\": 16.2, \"max\": 43.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n}\n\n\ndef build(p):\n\n    _W, _D, _H = p[\"plate_w\"], p[\"plate_d\"], p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Box(_W, _D, _H)\n    _locs = [(0.0, 0.0)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462caf72_5054", "family": "tapped", "tier": 1, "seed": 1177333618, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "9b26239b7a19da83", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 107000.0, "surface_area": 18600.0, "principal_moments": [47999999.99999999, 59499999.99999999, 101000000.0], "n_faces": 778, "n_edges": 2136, "n_vertices": 1360}, "dimensions": {"lines": ["Four M5x0.8 tapped holes in a plate."], "text": "Four M5x0.8 tapped holes in a plate."}, "params": {"major_d": {"type": "float", "default": 5.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 0.8, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 19.2, "min": 6.0, "max": 34.6, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "plate_w": {"type": "float", "default": 79.45, "min": 47.7, "max": 127.1, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 70.9, "min": 42.5, "max": 113.4, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333618 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 0.8, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 19.2, \"min\": 6.0, \"max\": 34.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"plate_w\": {\"type\": 'float', \"default\": 79.45, \"min\": 47.7, \"max\": 127.1, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 70.9, \"min\": 42.5, \"max\": 113.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n}\n\n\ndef build(p):\n\n    _W, _D, _H = p[\"plate_w\"], p[\"plate_d\"], p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Box(_W, _D, _H)\n    _sx, _sy = p[\"plate_w\"] * 0.6, p[\"plate_d\"] * 0.6\n    _locs = [(_xx, _yy) for _xx in (-_sx / 2, _sx / 2) for _yy in (-_sy / 2, _sy / 2)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462caf73_5055", "family": "block", "tier": 1, "seed": 1177333619, "symmetry": "none", "op_count": 2, "ir_hash": "eb49609f2329b8ee", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 234000.0, "surface_area": 32800.0, "principal_moments": [126000000.0, 171000000.0, 227000000.0], "n_faces": 22, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 85 \u00d7 43 \u00d7 68.4 mm (W\u00d7D\u00d7H).", "Four 7.7 mm square holes at the corners, 59.5 \u00d7 30.1 mm spacing."], "text": "Rectangular body, 85 \u00d7 43 \u00d7 68.4 mm (W\u00d7D\u00d7H). Four 7.7 mm square holes at the corners, 59.5 \u00d7 30.1 mm spacing."}, "params": {"block_w": {"type": "float", "default": 85, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 43.0, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 68.4, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 7.7, "min": 2.0, "max": 12.6, "step": 0.5, "group": "Holes", "label": "Square hole size (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333619 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 85, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 43.0, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 68.4, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 7.7, \"min\": 2.0, \"max\": 12.6, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Square hole size (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().rect(p[\"hole_d\"], p[\"hole_d\"]).cutThruAll()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462caf74_5056", "family": "bracket", "tier": 1, "seed": 1177333620, "symmetry": "none", "op_count": 1, "ir_hash": "5f673655bfb4cc44", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 25900.0, "surface_area": 18700.0, "principal_moments": [13199999.999999998, 35700000.0, 36600000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["L-bracket: base leg 90 mm, vertical leg 76.8 mm, 53.07 mm wide, 3 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."], "text": "L-bracket: base leg 90 mm, vertical leg 76.8 mm, 53.07 mm wide, 3 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 90.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 76.8, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 53.07, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 3.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333620 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 90.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 76.8, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 53.07, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462caf75_5057", "family": "profiled", "tier": 1, "seed": 1177333621, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "233aac4f618b6053", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 296000.0, "surface_area": 44100.0, "principal_moments": [61199999.99999999, 3040000000.0, 3080000000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["50 \u00d7 18.36 mm slot section, extruded 350.3 mm thick."], "text": "50 \u00d7 18.36 mm slot section, extruded 350.3 mm thick."}, "params": {"slot_len": {"type": "float", "default": 50, "min": 25.0, "max": 100.0, "step": 1.0, "group": "Profile", "label": "Slot length (mm)"}, "slot_w": {"type": "float", "default": 18.36, "min": 9.2, "max": 36.7, "step": 0.5, "group": "Profile", "label": "Slot width (mm)"}, "length": {"type": "float", "default": 350.3, "min": 105.1, "max": 1050.9, "step": 5.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333621 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"slot_len\": {\"type\": 'float', \"default\": 50, \"min\": 25.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Profile', \"label\": 'Slot length (mm)'},\n    \"slot_w\": {\"type\": 'float', \"default\": 18.36, \"min\": 9.2, \"max\": 36.7, \"step\": 0.5, \"group\": 'Profile', \"label\": 'Slot width (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 350.3, \"min\": 105.1, \"max\": 1050.9, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').slot2D(p[\"slot_len\"], p[\"slot_w\"]).extrude(p[\"length\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462caf76_5058", "family": "compound", "tier": 1, "seed": 1177333622, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "f4e82503dcb7fc8e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 65700.0, "surface_area": 11100.0, "principal_moments": [15399999.999999998, 18800000.0, 23099999.999999996], "n_faces": 24, "n_edges": 63, "n_vertices": 41}, "dimensions": {"lines": ["Rectangular body, 48.94 \u00d7 42.2 \u00d7 31.9 mm (W\u00d7D\u00d7H).", "6-sided polygon section, 6.8 mm across corners attachment, 7.1 mm long, from front face with a \u00d82.8 mm bore.", "6-sided polygon section, 6.8 mm across corners attachment, 7.1 mm long, from left face with a \u00d82.8 mm bore."], "text": "Rectangular body, 48.94 \u00d7 42.2 \u00d7 31.9 mm (W\u00d7D\u00d7H). 6-sided polygon section, 6.8 mm across corners attachment, 7.1 mm long, from front face with a \u00d82.8 mm bore. 6-sided polygon section, 6.8 mm across corners attachment, 7.1 mm long, from left face with a \u00d82.8 mm bore."}, "params": {"block_w": {"type": "float", "default": 48.94, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body width (mm)"}, "block_d": {"type": "float", "default": 42.2, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body depth (mm)"}, "block_h": {"type": "float", "default": 31.9, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body height (mm)"}, "port_sides": {"type": "int", "default": 6, "min": 3, "max": 8, "step": 1, "group": "Ports", "label": "Ports sides"}, "port_r": {"type": "float", "default": 3.4, "min": 1.7, "max": 7.2, "step": 1.0, "group": "Ports", "label": "Ports circumradius (mm)"}, "port_len": {"type": "float", "default": 7.1, "min": 1.5, "max": 17.7, "step": 1.0, "group": "Ports", "label": "Port boss length (mm)"}, "port_bore": {"type": "float", "default": 2.8, "min": 2.0, "max": 4.2, "step": 0.5, "group": "Ports", "label": "Port bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333622 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 48.94, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 42.2, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 31.9, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body height (mm)'},\n    \"port_sides\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Ports', \"label\": 'Ports sides'},\n    \"port_r\": {\"type\": 'float', \"default\": 3.4, \"min\": 1.7, \"max\": 7.2, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Ports circumradius (mm)'},\n    \"port_len\": {\"type\": 'float', \"default\": 7.1, \"min\": 1.5, \"max\": 17.7, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Port boss length (mm)'},\n    \"port_bore\": {\"type\": 'float', \"default\": 2.8, \"min\": 2.0, \"max\": 4.2, \"step\": 0.5, \"group\": 'Ports', \"label\": 'Port bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"port_sides\"], p[\"port_r\"] * 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"port_sides\"], p[\"port_r\"] * 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462caf77_5059", "family": "tapped", "tier": 1, "seed": 1177333623, "symmetry": "none", "op_count": 1, "ir_hash": "d3f930b33840080d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 85800.0, "surface_area": 18400.0, "principal_moments": [38100000.0, 46099999.99999999, 80500000.0], "n_faces": 358, "n_edges": 1268, "n_vertices": 912}, "dimensions": {"lines": ["Four M10x1.5 tapped holes in a plate."], "text": "Four M10x1.5 tapped holes in a plate."}, "params": {"major_d": {"type": "float", "default": 10.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 1.5, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 16.0, "min": 12.0, "max": 28.8, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "plate_w": {"type": "float", "default": 78.82, "min": 47.3, "max": 126.1, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 71.4, "min": 42.8, "max": 114.2, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333623 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 10.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.5, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 16.0, \"min\": 12.0, \"max\": 28.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"plate_w\": {\"type\": 'float', \"default\": 78.82, \"min\": 47.3, \"max\": 126.1, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 71.4, \"min\": 42.8, \"max\": 114.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n}\n\n\ndef build(p):\n\n    _W, _D, _H = p[\"plate_w\"], p[\"plate_d\"], p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Box(_W, _D, _H)\n    _sx, _sy = p[\"plate_w\"] * 0.6, p[\"plate_d\"] * 0.6\n    _locs = [(_xx, _yy) for _xx in (-_sx / 2, _sx / 2) for _yy in (-_sy / 2, _sy / 2)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462caf78_5060", "family": "bracket", "tier": 1, "seed": 1177333624, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "b3ed131c2f996861", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 6300.0, "surface_area": 5040.0, "principal_moments": [950000.0, 3250000.0, 3770000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["L-bracket: base leg 50.87 mm, vertical leg 58.6 mm, 20 mm wide, 3 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."], "text": "L-bracket: base leg 50.87 mm, vertical leg 58.6 mm, 20 mm wide, 3 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 50.87, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 58.6, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 20, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 3.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 8.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333624 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 50.87, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 58.6, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 20, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 8.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462caf79_5061", "family": "revolved", "tier": 2, "seed": 1177333625, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "c91d3b9c18a77e79", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 1450.0, "surface_area": 1300.0, "principal_moments": [57200.0, 57200.0, 110000.0], "n_faces": 9, "n_edges": 14, "n_vertices": 9}, "dimensions": {"lines": ["Revolved body, \u00d822.88 mm \u00d7 5.6 mm tall with 0.56 mm-wide groove 0.92 mm deep.", "Chamfer 0.9 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d822.88 mm \u00d7 5.6 mm tall with 0.56 mm-wide groove 0.92 mm deep. Chamfer 0.9 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 22.88, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 5.6, "min": 1.7, "max": 16.8, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "groove_depth": {"type": "float", "default": 0.92, "min": 0.37, "max": 2.76, "step": 0.1, "group": "Body", "label": "Groove depth (mm)"}, "groove_w": {"type": "float", "default": 0.56, "min": 0.22, "max": 1.68, "step": 0.2, "group": "Body", "label": "Groove width (mm)"}, "groove_pos": {"type": "float", "default": 3.1, "min": 0.8, "max": 4.8, "step": 1.0, "group": "Body", "label": "Groove position (mm)"}, "end_chamfer": {"type": "float", "default": 0.9, "min": 0.1, "max": 2.7, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333625 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 22.88, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 5.6, \"min\": 1.7, \"max\": 16.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"groove_depth\": {\"type\": 'float', \"default\": 0.92, \"min\": 0.37, \"max\": 2.76, \"step\": 0.1, \"group\": 'Body', \"label\": 'Groove depth (mm)'},\n    \"groove_w\": {\"type\": 'float', \"default\": 0.56, \"min\": 0.22, \"max\": 1.68, \"step\": 0.2, \"group\": 'Body', \"label\": 'Groove width (mm)'},\n    \"groove_pos\": {\"type\": 'float', \"default\": 3.1, \"min\": 0.8, \"max\": 4.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Groove position (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.9, \"min\": 0.1, \"max\": 2.7, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"groove_pos\"] - p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2 - p[\"groove_depth\"], p[\"groove_pos\"] - p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2 - p[\"groove_depth\"], p[\"groove_pos\"] + p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2, p[\"groove_pos\"] + p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462caf7a_5062", "family": "plate", "tier": 3, "seed": 1177333626, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "1f181a457fa7064d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 4090.0, "surface_area": 4420.0, "principal_moments": [543000.0, 921000.0, 1460000.0], "n_faces": 27, "n_edges": 72, "n_vertices": 48}, "dimensions": {"lines": ["Rectangular body, 50.74 \u00d7 38.2 \u00d7 3 mm (W\u00d7D\u00d7H).", "Four 11.5 \u00d7 6.4 mm slots at the corners, 35.518 \u00d7 26.74 mm spacing.", "Pocket 31.2 \u00d7 17.9 mm, 1.7 mm deep, in top face."], "text": "Rectangular body, 50.74 \u00d7 38.2 \u00d7 3 mm (W\u00d7D\u00d7H). Four 11.5 \u00d7 6.4 mm slots at the corners, 35.518 \u00d7 26.74 mm spacing. Pocket 31.2 \u00d7 17.9 mm, 1.7 mm deep, in top face."}, "params": {"plate_w": {"type": "float", "default": 50.74, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 38.2, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 3.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 8.6, "step": 0.5, "group": "Holes", "label": "Slot width (mm)"}, "hole_slot_len": {"type": "float", "default": 11.5, "min": 9.6, "max": 11.5, "step": 0.5, "group": "Holes", "label": "Slot length (mm)"}, "pocket_w": {"type": "float", "default": 31.2, "min": 15.6, "max": 40.6, "step": 1.0, "group": "Pocket", "label": "Pocket width (mm)"}, "pocket_d": {"type": "float", "default": 17.9, "min": 8.9, "max": 30.6, "step": 1.0, "group": "Pocket", "label": "Pocket depth (mm)"}, "pocket_h": {"type": "float", "default": 1.7, "min": 0.7, "max": 2.5, "step": 0.5, "group": "Pocket", "label": "Pocket height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333626 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 50.74, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 38.2, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 3.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 8.6, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Slot width (mm)'},\n    \"hole_slot_len\": {\"type\": 'float', \"default\": 11.5, \"min\": 9.6, \"max\": 11.5, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Slot length (mm)'},\n    \"pocket_w\": {\"type\": 'float', \"default\": 31.2, \"min\": 15.6, \"max\": 40.6, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket width (mm)'},\n    \"pocket_d\": {\"type\": 'float', \"default\": 17.9, \"min\": 8.9, \"max\": 30.6, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket depth (mm)'},\n    \"pocket_h\": {\"type\": 'float', \"default\": 1.7, \"min\": 0.7, \"max\": 2.5, \"step\": 0.5, \"group\": 'Pocket', \"label\": 'Pocket height (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().slot2D(p[\"hole_slot_len\"], p[\"hole_d\"]).cutThruAll()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"pocket_w\"], p[\"pocket_d\"])\n        .cutBlind(-p[\"pocket_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462caf7b_5063", "family": "sketched", "tier": 2, "seed": 1177333627, "symmetry": "mirror_xy", "op_count": 3, "ir_hash": "28cfb69158b347b9", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 27900.0, "surface_area": 6790.0, "principal_moments": [2980000.0, 7300000.0, 8500000.0], "n_faces": 10, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["freeform sketched section (4 segments: 1 straight, 1 arc, 2 curves), ~71.576 \u00d7 41.138 mm, extruded 15 mm thick.", "One \u00d86.4 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch.", "Boss \u00d822.2 mm \u00d7 8.6 mm tall on top face."], "text": "freeform sketched section (4 segments: 1 straight, 1 arc, 2 curves), ~71.576 \u00d7 41.138 mm, extruded 15 mm thick. One \u00d86.4 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch. Boss \u00d822.2 mm \u00d7 8.6 mm tall on top face."}, "params": {"sk_w": {"type": "float", "default": 80, "min": 40.0, "max": 144.0, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 61.19, "min": 30.6, "max": 110.1, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "sk_t": {"type": "float", "default": 15, "min": 6.0, "max": 33.0, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "sk_hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 12.8, "step": 0.5, "group": "Holes", "label": "Hole diameter (mm)"}, "boss_d": {"type": "float", "default": 22.2, "min": 11.1, "max": 44.4, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 8.6, "min": 3.4, "max": 21.5, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333627 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 80, \"min\": 40.0, \"max\": 144.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 61.19, \"min\": 30.6, \"max\": 110.1, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"sk_t\": {\"type\": 'float', \"default\": 15, \"min\": 6.0, \"max\": 33.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"sk_hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 12.8, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"boss_d\": {\"type\": 'float', \"default\": 22.2, \"min\": 11.1, \"max\": 44.4, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 8.6, \"min\": 3.4, \"max\": 21.5, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.4888, p[\"sk_h\"] * -0.0129).spline([(p[\"sk_w\"] * 0.4888, p[\"sk_h\"] * -0.0129), (p[\"sk_w\"] * 0.1743, p[\"sk_h\"] * 0.1714), (p[\"sk_w\"] * -0.1724, p[\"sk_h\"] * 0.2836)]).threePointArc((p[\"sk_w\"] * -0.315, p[\"sk_h\"] * 0.2178), (p[\"sk_w\"] * -0.4059, p[\"sk_h\"] * 0.1106)).lineTo(p[\"sk_w\"] * -0.0753, p[\"sk_h\"] * -0.3887).bezier([(p[\"sk_w\"] * -0.0753, p[\"sk_h\"] * -0.3887), (p[\"sk_w\"] * 0.2589, p[\"sk_h\"] * -0.2792), (p[\"sk_w\"] * 0.4888, p[\"sk_h\"] * -0.0129)]).close().extrude(p[\"sk_t\"]))\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"sk_hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462caf7c_5064", "family": "revolved", "tier": 0, "seed": 1177333628, "symmetry": "none", "op_count": 1, "ir_hash": "af9fe593436a658b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 95800.0, "surface_area": 23700.0, "principal_moments": [21100000.0, 98899999.99999999, 98899999.99999999], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d838.32 mm \u00d7 124.6 mm tall."], "text": "Revolved body, \u00d838.32 mm \u00d7 124.6 mm tall."}, "params": {"outer_d": {"type": "float", "default": 38.32, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 124.6, "min": 37.4, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333628 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 38.32, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 124.6, \"min\": 37.4, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462caf7d_5065", "family": "flanged", "tier": 1, "seed": 1177333629, "symmetry": "none", "op_count": 2, "ir_hash": "88cb0a6b0c5e3285", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 70800.0, "surface_area": 20600.0, "principal_moments": [33800000.0, 33800000.0, 55799999.99999999], "n_faces": 14, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["Revolved body, \u00d844.24 mm \u00d7 31.7 mm tall with \u00d821.9 mm bore, \u00d891.1 mm \u00d7 7.2 mm flange.", "Eight \u00d86.4 mm holes on a \u00d854.6 mm bolt circle."], "text": "Revolved body, \u00d844.24 mm \u00d7 31.7 mm tall with \u00d821.9 mm bore, \u00d891.1 mm \u00d7 7.2 mm flange. Eight \u00d86.4 mm holes on a \u00d854.6 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 44.24, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 31.7, "min": 9.5, "max": 79.2, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 21.9, "min": 2.0, "max": 31.0, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 91.1, "min": 57.5, "max": 132.7, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 7.2, "min": 2.2, "max": 12.7, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 27.3, "min": 18.2, "max": 41.0, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 8, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333629 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 44.24, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 31.7, \"min\": 9.5, \"max\": 79.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 21.9, \"min\": 2.0, \"max\": 31.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 91.1, \"min\": 57.5, \"max\": 132.7, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 7.2, \"min\": 2.2, \"max\": 12.7, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 27.3, \"min\": 18.2, \"max\": 41.0, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462caf7f_5067", "family": "profiled", "tier": 0, "seed": 1177333631, "symmetry": "none", "op_count": 1, "ir_hash": "94588ce5c9fb5445", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 56600.0, "surface_area": 19000.0, "principal_moments": [5550000.0, 116000000.0, 116000000.0], "n_faces": 4, "n_edges": 6, "n_vertices": 4}, "dimensions": {"lines": ["Revolved body, \u00d825 mm \u00d7 154.6 mm tall with \u00d812.6 mm bore."], "text": "Revolved body, \u00d825 mm \u00d7 154.6 mm tall with \u00d812.6 mm bore."}, "params": {"outer_d": {"type": "float", "default": 25, "min": 12.5, "max": 50.0, "step": 1.0, "group": "Profile", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 154.6, "min": 46.4, "max": 463.8, "step": 5.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 12.6, "min": 2.0, "max": 20.0, "step": 0.5, "group": "Profile", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333631 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 25, \"min\": 12.5, \"max\": 50.0, \"step\": 1.0, \"group\": 'Profile', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 154.6, \"min\": 46.4, \"max\": 463.8, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 12.6, \"min\": 2.0, \"max\": 20.0, \"step\": 0.5, \"group\": 'Profile', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462caf80_5068", "family": "block", "tier": 1, "seed": 1177333632, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "15760fae5e39370e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 284000.0, "surface_area": 36400.0, "principal_moments": [189000000.0, 217000000.0, 315000000.0], "n_faces": 22, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 78.71 \u00d7 44.4 \u00d7 85.2 mm (W\u00d7D\u00d7H).", "Four 6.4 mm square holes at the corners, 55.097 \u00d7 31.08 mm spacing."], "text": "Rectangular body, 78.71 \u00d7 44.4 \u00d7 85.2 mm (W\u00d7D\u00d7H). Four 6.4 mm square holes at the corners, 55.097 \u00d7 31.08 mm spacing."}, "params": {"block_w": {"type": "float", "default": 78.71, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 44.4, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 85.2, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 13.0, "step": 0.5, "group": "Holes", "label": "Square hole size (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333632 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 78.71, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 44.4, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 85.2, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 13.0, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Square hole size (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().rect(p[\"hole_d\"], p[\"hole_d\"]).cutThruAll()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462caf81_5069", "family": "compound", "tier": 1, "seed": 1177333633, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "f7604152912aad1d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 34300.0, "surface_area": 8300.0, "principal_moments": [6100000.0, 7260000.0, 7260000.0], "n_faces": 6, "n_edges": 9, "n_vertices": 6}, "dimensions": {"lines": ["\u00d837.07 mm circular section, extruded 32.3 mm thick.", "\u00d819.1 mm circular section attachment, 14.9 mm long, from top face with a \u00d811.4 mm bore."], "text": "\u00d837.07 mm circular section, extruded 32.3 mm thick. \u00d819.1 mm circular section attachment, 14.9 mm long, from top face with a \u00d811.4 mm bore."}, "params": {"shaft_d": {"type": "float", "default": 37.07, "min": 18.5, "max": 66.7, "step": 1.0, "group": "Body", "label": "Shaft diameter (mm)"}, "shaft_len": {"type": "float", "default": 32.3, "min": 12.9, "max": 64.6, "step": 1.0, "group": "Body", "label": "Shaft length (mm)"}, "step_d": {"type": "float", "default": 19.1, "min": 9.6, "max": 33.4, "step": 1.0, "group": "Step", "label": "Step diameter (mm)"}, "step_len": {"type": "float", "default": 14.9, "min": 4.5, "max": 37.2, "step": 1.0, "group": "Step", "label": "Step length (mm)"}, "axial_bore": {"type": "float", "default": 11.4, "min": 2.0, "max": 13.8, "step": 0.5, "group": "Bore", "label": "Axial bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333633 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"shaft_d\": {\"type\": 'float', \"default\": 37.07, \"min\": 18.5, \"max\": 66.7, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft diameter (mm)'},\n    \"shaft_len\": {\"type\": 'float', \"default\": 32.3, \"min\": 12.9, \"max\": 64.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft length (mm)'},\n    \"step_d\": {\"type\": 'float', \"default\": 19.1, \"min\": 9.6, \"max\": 33.4, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step diameter (mm)'},\n    \"step_len\": {\"type\": 'float', \"default\": 14.9, \"min\": 4.5, \"max\": 37.2, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step length (mm)'},\n    \"axial_bore\": {\"type\": 'float', \"default\": 11.4, \"min\": 2.0, \"max\": 13.8, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Axial bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').circle(p[\"shaft_d\"] / 2).extrude(p[\"shaft_len\"]))\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"step_d\"] / 2).extrude(p[\"step_len\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"axial_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462caf82_5070", "family": "bracket", "tier": 2, "seed": 1177333634, "symmetry": "none", "op_count": 1, "ir_hash": "28360e7daf91296a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 15600.0, "surface_area": 7000.0, "principal_moments": [2910000.0, 6330000.0, 7990000.0], "n_faces": 19, "n_edges": 51, "n_vertices": 34}, "dimensions": {"lines": ["C-channel bracket: base leg 50 mm, vertical leg 39.3 mm, 22.02 mm wide, 6 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 5.6 mm corner gusset."], "text": "C-channel bracket: base leg 50 mm, vertical leg 39.3 mm, 22.02 mm wide, 6 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 5.6 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 50, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 39.3, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 22.02, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 6.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 8.8, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 5.6, "min": 3.0, "max": 11.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333634 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 50, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 39.3, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 22.02, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 8.8, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 5.6, \"min\": 3.0, \"max\": 11.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl / 2, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bl - _bt, _bt).lineTo(_bl - _bt - _g, _bt)\n                    .lineTo(_bl - _bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462caf83_5071", "family": "gear", "tier": 1, "seed": 1177333635, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "3d6bed0618b1c056", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 24300.0, "surface_area": 8280.0, "principal_moments": [4570000.0, 4570000.0, 8570000.0], "n_faces": 159, "n_edges": 471, "n_vertices": 314}, "dimensions": {"lines": ["Spur gear, module 2 mm, 26 teeth (pitch \u00d852 mm), face width 12 mm, \u00d89.8 mm bore."], "text": "Spur gear, module 2 mm, 26 teeth (pitch \u00d852 mm), face width 12 mm, \u00d89.8 mm bore."}, "params": {"module": {"type": "float", "default": 2.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 26, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 12.0, "min": 4.8, "max": 30.0, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "bore_d": {"type": "float", "default": 9.8, "min": 2.0, "max": 28.2, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333635 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 2.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 26, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 12.0, \"min\": 4.8, \"max\": 30.0, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 9.8, \"min\": 2.0, \"max\": 28.2, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462caf84_5072", "family": "bracket", "tier": 2, "seed": 1177333636, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "8dfda02b5cb0e142", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 19700.0, "surface_area": 14300.0, "principal_moments": [5470000.0, 40300000.0, 44000000.0], "n_faces": 18, "n_edges": 48, "n_vertices": 32}, "dimensions": {"lines": ["Z-bracket: base leg 79.92 mm, vertical leg 79.3 mm, top leg 76.5 mm, 24.66 mm wide, 3 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 3.6 mm corner gusset."], "text": "Z-bracket: base leg 79.92 mm, vertical leg 79.3 mm, top leg 76.5 mm, 24.66 mm wide, 3 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 3.6 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 79.92, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 79.3, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 24.66, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 3.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 76.5, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 9.9, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}, "gusset_t": {"type": "float", "default": 3.6, "min": 1.5, "max": 9.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333636 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 79.92, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 79.3, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 24.66, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 76.5, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 9.9, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 3.6, \"min\": 1.5, \"max\": 9.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _tl, _vl) * 0.4 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(0, _vl - _bt).lineTo(-_g, _vl - _bt)\n                    .lineTo(0, _vl - _bt - _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462caf85_5073", "family": "compound", "tier": 1, "seed": 1177333637, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "46c9ed6f8e9afb6b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 214000.0, "surface_area": 27100.0, "principal_moments": [107000000.0, 156000000.0, 192000000.0], "n_faces": 9, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["Rectangular body, 79.35 \u00d7 44 \u00d7 62.6 mm (W\u00d7D\u00d7H).", "\u00d820.1 mm circular section attachment, 20.2 mm long, from left face with a \u00d811.7 mm bore."], "text": "Rectangular body, 79.35 \u00d7 44 \u00d7 62.6 mm (W\u00d7D\u00d7H). \u00d820.1 mm circular section attachment, 20.2 mm long, from left face with a \u00d811.7 mm bore."}, "params": {"block_w": {"type": "float", "default": 79.35, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 44.0, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 62.6, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "spig_d": {"type": "float", "default": 20.1, "min": 8.0, "max": 30.8, "step": 1.0, "group": "Spigot", "label": "Spigot diameter (mm)"}, "spig_len": {"type": "float", "default": 20.2, "min": 6.0, "max": 80.4, "step": 1.0, "group": "Spigot", "label": "Spigot length (mm)"}, "spig_bore": {"type": "float", "default": 11.7, "min": 2.0, "max": 14.5, "step": 0.5, "group": "Spigot", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333637 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 79.35, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 44.0, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 62.6, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"spig_d\": {\"type\": 'float', \"default\": 20.1, \"min\": 8.0, \"max\": 30.8, \"step\": 1.0, \"group\": 'Spigot', \"label\": 'Spigot diameter (mm)'},\n    \"spig_len\": {\"type\": 'float', \"default\": 20.2, \"min\": 6.0, \"max\": 80.4, \"step\": 1.0, \"group\": 'Spigot', \"label\": 'Spigot length (mm)'},\n    \"spig_bore\": {\"type\": 'float', \"default\": 11.7, \"min\": 2.0, \"max\": 14.5, \"step\": 0.5, \"group\": 'Spigot', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"spig_d\"] / 2).extrude(p[\"spig_len\"])\n    )\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"spig_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462caf86_5074", "family": "sketched", "tier": 0, "seed": 1177333638, "symmetry": "none", "op_count": 1, "ir_hash": "17801fefdc88627d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 127000.0, "surface_area": 19000.0, "principal_moments": [46299999.99999999, 64499999.99999999, 64499999.99999999], "n_faces": 8, "n_edges": 13, "n_vertices": 7}, "dimensions": {"lines": ["Revolved organic body from a freeform sketched section (8 segments: 3 straight, 2 arcs, 3 curves), ~31.195 \u00d7 63.15 mm half-silhouette."], "text": "Revolved organic body from a freeform sketched section (8 segments: 3 straight, 2 arcs, 3 curves), ~31.195 \u00d7 63.15 mm half-silhouette."}, "params": {"sk_r": {"type": "float", "default": 36.58, "min": 18.3, "max": 65.8, "step": 1.0, "group": "Sketch", "label": "Max radius (mm)"}, "sk_h": {"type": "float", "default": 63.15, "min": 31.6, "max": 113.7, "step": 1.0, "group": "Sketch", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333638 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_r\": {\"type\": 'float', \"default\": 36.58, \"min\": 18.3, \"max\": 65.8, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Max radius (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 63.15, \"min\": 31.6, \"max\": 113.7, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XZ').moveTo(p[\"sk_r\"] * 0.6675, p[\"sk_h\"] * 0.0).bezier([(p[\"sk_r\"] * 0.6675, p[\"sk_h\"] * 0.0), (p[\"sk_r\"] * 0.7287, p[\"sk_h\"] * 0.2864), (p[\"sk_r\"] * 0.8528, p[\"sk_h\"] * 0.5729)]).spline([(p[\"sk_r\"] * 0.8528, p[\"sk_h\"] * 0.5729), (p[\"sk_r\"] * 0.6844, p[\"sk_h\"] * 0.5793), (p[\"sk_r\"] * 0.2416, p[\"sk_h\"] * 0.5856)]).lineTo(p[\"sk_r\"] * 0.1472, p[\"sk_h\"] * 0.6807).threePointArc((p[\"sk_r\"] * 0.3338, p[\"sk_h\"] * 0.6959), (p[\"sk_r\"] * 0.6354, p[\"sk_h\"] * 0.7111)).bezier([(p[\"sk_r\"] * 0.6354, p[\"sk_h\"] * 0.7111), (p[\"sk_r\"] * 0.7389, p[\"sk_h\"] * 0.7336), (p[\"sk_r\"] * 0.7929, p[\"sk_h\"] * 0.7561)]).threePointArc((p[\"sk_r\"] * 0.6672, p[\"sk_h\"] * 0.8781), (p[\"sk_r\"] * 0.723, p[\"sk_h\"] * 1.0)).lineTo(p[\"sk_r\"] * 0.0, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.0, p[\"sk_h\"] * 0.0).close().revolve())\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462caf87_5075", "family": "bracket", "tier": 1, "seed": 1177333639, "symmetry": "none", "op_count": 1, "ir_hash": "51b7cd70d47feb9a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 7950.0, "surface_area": 4080.0, "principal_moments": [680000.0, 3290000.0, 3660000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["L-bracket: base leg 58.88 mm, vertical leg 37.4 mm, 15 mm wide, 6 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."], "text": "L-bracket: base leg 58.88 mm, vertical leg 37.4 mm, 15 mm wide, 6 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 58.88, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 37.4, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 15.0, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 6.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 6.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333639 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 58.88, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 37.4, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 15.0, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 6.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462caf88_5076", "family": "flanged", "tier": 3, "seed": 1177333640, "symmetry": "radial", "op_count": 3, "ir_hash": "25793371b6cd493b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 49800.0, "surface_area": 13700.0, "principal_moments": [14299999.999999998, 16099999.999999998, 16099999.999999998], "n_faces": 32, "n_edges": 80, "n_vertices": 47}, "dimensions": {"lines": ["Revolved body, \u00d837.93 mm \u00d7 42.7 mm tall with \u00d813.4 mm bore, \u00d865.4 mm \u00d7 3.9 mm flange.", "Four \u00d84.3 mm holes on a \u00d839.2 mm bolt circle.", "Chamfer 0.9 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d837.93 mm \u00d7 42.7 mm tall with \u00d813.4 mm bore, \u00d865.4 mm \u00d7 3.9 mm flange. Four \u00d84.3 mm holes on a \u00d839.2 mm bolt circle. Chamfer 0.9 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 37.93, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 42.7, "min": 12.8, "max": 106.8, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 13.4, "min": 2.0, "max": 26.6, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 65.4, "min": 49.3, "max": 113.8, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 3.9, "min": 1.2, "max": 17.1, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 19.6, "min": 13.1, "max": 29.4, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 4, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}, "end_chamfer": {"type": "float", "default": 0.9, "min": 0.1, "max": 2.0, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333640 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 37.93, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 42.7, \"min\": 12.8, \"max\": 106.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 13.4, \"min\": 2.0, \"max\": 26.6, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 65.4, \"min\": 49.3, \"max\": 113.8, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 3.9, \"min\": 1.2, \"max\": 17.1, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 19.6, \"min\": 13.1, \"max\": 29.4, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 4, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.9, \"min\": 0.1, \"max\": 2.0, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462caf89_5077", "family": "gear", "tier": 2, "seed": 1177333641, "symmetry": "none", "op_count": 1, "ir_hash": "c8d19a0701984bae", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 10300.0, "surface_area": 5320.0, "principal_moments": [1520000.0, 1520000.0, 2980000.0], "n_faces": 243, "n_edges": 783, "n_vertices": 542}, "dimensions": {"lines": ["Helical gear, module 1.5 mm, 30 teeth (pitch \u00d845 mm), face width 6.2 mm, 20.1\u00b0 helix, \u00d89.6 mm bore."], "text": "Helical gear, module 1.5 mm, 30 teeth (pitch \u00d845 mm), face width 6.2 mm, 20.1\u00b0 helix, \u00d89.6 mm bore."}, "params": {"module": {"type": "float", "default": 1.5, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 30, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 6.2, "min": 2.5, "max": 15.5, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "helix_angle": {"type": "float", "default": 20.1, "min": 5.0, "max": 40.0, "step": 1.0, "group": "Gear", "label": "Helix angle (deg)"}, "profile_shift": {"type": "float", "default": -0.27, "min": -0.5, "max": 0.7, "step": 0.05, "group": "Gear", "label": "Profile shift"}, "root_fillet": {"type": "float", "default": 0.42, "min": 0.0, "max": 0.75, "step": 0.05, "group": "Gear", "label": "Root fillet (mm)"}, "bore_d": {"type": "float", "default": 9.6, "min": 2.0, "max": 24.8, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333641 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 1.5, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 30, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 6.2, \"min\": 2.5, \"max\": 15.5, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"helix_angle\": {\"type\": 'float', \"default\": 20.1, \"min\": 5.0, \"max\": 40.0, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Helix angle (deg)'},\n    \"profile_shift\": {\"type\": 'float', \"default\": -0.27, \"min\": -0.5, \"max\": 0.7, \"step\": 0.05, \"group\": 'Gear', \"label\": 'Profile shift'},\n    \"root_fillet\": {\"type\": 'float', \"default\": 0.42, \"min\": 0.0, \"max\": 0.75, \"step\": 0.05, \"group\": 'Gear', \"label\": 'Root fillet (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 9.6, \"min\": 2.0, \"max\": 24.8, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.HelicalGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"], helix_angle=math.radians(p[\"helix_angle\"]), herringbone=False, profile_shift=p[\"profile_shift\"], root_fillet=p[\"root_fillet\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462caf8a_5078", "family": "profiled", "tier": 1, "seed": 1177333642, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "2a08727d2c7ecadb", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 33000.0, "surface_area": 6510.0, "principal_moments": [2860000.0, 11899999.999999998, 11899999.999999998], "n_faces": 7, "n_edges": 15, "n_vertices": 10}, "dimensions": {"lines": ["5-sided polygon section, 30 mm across corners, extruded 61.7 mm thick."], "text": "5-sided polygon section, 30 mm across corners, extruded 61.7 mm thick."}, "params": {"circ_r": {"type": "float", "default": 15, "min": 7.5, "max": 30.0, "step": 1.0, "group": "Profile", "label": "Circumscribed radius (mm)"}, "n_sides": {"type": "int", "default": 5, "min": 3, "max": 8, "step": 1, "group": "Profile", "label": "Sides"}, "length": {"type": "float", "default": 61.7, "min": 18.5, "max": 185.1, "step": 5.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333642 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"circ_r\": {\"type\": 'float', \"default\": 15, \"min\": 7.5, \"max\": 30.0, \"step\": 1.0, \"group\": 'Profile', \"label\": 'Circumscribed radius (mm)'},\n    \"n_sides\": {\"type\": 'int', \"default\": 5, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Profile', \"label\": 'Sides'},\n    \"length\": {\"type\": 'float', \"default\": 61.7, \"min\": 18.5, \"max\": 185.1, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').polygon(p[\"n_sides\"], p[\"circ_r\"] * 2).extrude(p[\"length\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462caf8b_5079", "family": "revolved", "tier": 1, "seed": 1177333643, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "3e243505155aed47", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 8910.0, "surface_area": 3320.0, "principal_moments": [873000.0, 873000.0, 1380000.0], "n_faces": 8, "n_edges": 14, "n_vertices": 8}, "dimensions": {"lines": ["Revolved body, \u00d831.39 mm \u00d7 16 mm tall with \u00d816.1 mm bore.", "Chamfer 1.2 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d831.39 mm \u00d7 16 mm tall with \u00d816.1 mm bore. Chamfer 1.2 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 31.39, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 16.0, "min": 4.8, "max": 48.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 16.1, "min": 2.0, "max": 22.0, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "end_chamfer": {"type": "float", "default": 1.2, "min": 0.1, "max": 3.6, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333643 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 31.39, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 16.0, \"min\": 4.8, \"max\": 48.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 16.1, \"min\": 2.0, \"max\": 22.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 1.2, \"min\": 0.1, \"max\": 3.6, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462caf8c_5080", "family": "gear", "tier": 1, "seed": 1177333644, "symmetry": "none", "op_count": 1, "ir_hash": "f7c0dc06fc99ac0f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 78400.0, "surface_area": 17400.0, "principal_moments": [25899999.999999996, 25899999.999999996, 43000000.0], "n_faces": 99, "n_edges": 291, "n_vertices": 194}, "dimensions": {"lines": ["Spur gear, module 4 mm, 16 teeth (pitch \u00d864 mm), face width 26 mm, \u00d812.7 mm bore."], "text": "Spur gear, module 4 mm, 16 teeth (pitch \u00d864 mm), face width 26 mm, \u00d812.7 mm bore."}, "params": {"module": {"type": "float", "default": 4.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 16, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 26.0, "min": 10.4, "max": 65.0, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "bore_d": {"type": "float", "default": 12.7, "min": 2.0, "max": 32.4, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333644 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 4.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 16, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 26.0, \"min\": 10.4, \"max\": 65.0, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 12.7, \"min\": 2.0, \"max\": 32.4, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462caf8d_5081", "family": "compound", "tier": 1, "seed": 1177333645, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "a061f31bd84d5fc2", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 62300.0, "surface_area": 11600.0, "principal_moments": [14399999.999999998, 17200000.0, 19300000.0], "n_faces": 15, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 40 \u00d7 43.7 \u00d7 34.8 mm (W\u00d7D\u00d7H).", "33.1 \u00d7 22.7 mm rectangular section attachment, 4 mm long, from back face.", "Four \u00d83.2 mm holes at the corners, 19.86 \u00d7 13.62 mm spacing on the >Y face."], "text": "Rectangular body, 40 \u00d7 43.7 \u00d7 34.8 mm (W\u00d7D\u00d7H). 33.1 \u00d7 22.7 mm rectangular section attachment, 4 mm long, from back face. Four \u00d83.2 mm holes at the corners, 19.86 \u00d7 13.62 mm spacing on the >Y face."}, "params": {"block_w": {"type": "float", "default": 40, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 43.7, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 34.8, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "tab_a": {"type": "float", "default": 33.1, "min": 13.2, "max": 53.0, "step": 1.0, "group": "Tab", "label": "Tab width (mm)"}, "tab_b": {"type": "float", "default": 22.7, "min": 9.1, "max": 36.3, "step": 1.0, "group": "Tab", "label": "Tab height (mm)"}, "tab_t": {"type": "float", "default": 4.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Tab", "label": "Tab thickness (mm)"}, "tab_hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 5.0, "step": 0.1, "group": "Tab", "label": "Tab hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333645 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 40, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 43.7, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 34.8, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"tab_a\": {\"type\": 'float', \"default\": 33.1, \"min\": 13.2, \"max\": 53.0, \"step\": 1.0, \"group\": 'Tab', \"label\": 'Tab width (mm)'},\n    \"tab_b\": {\"type\": 'float', \"default\": 22.7, \"min\": 9.1, \"max\": 36.3, \"step\": 1.0, \"group\": 'Tab', \"label\": 'Tab height (mm)'},\n    \"tab_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Tab', \"label\": 'Tab thickness (mm)'},\n    \"tab_hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 5.0, \"step\": 0.1, \"group\": 'Tab', \"label\": 'Tab hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .rect(p[\"tab_a\"], p[\"tab_b\"]).extrude(p[\"tab_t\"])\n    )\n    result = (\n        result.faces('>Y').workplane()\n        .rect(p[\"tab_a\"] * 0.6, p[\"tab_b\"] * 0.6, forConstruction=True)\n        .vertices().hole(p[\"tab_hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462caf8e_5082", "family": "tapped", "tier": 2, "seed": 1177333646, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "722657699c2d00fb", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 9870.0, "surface_area": 3630.0, "principal_moments": [845000.0, 845000.0, 924000.0], "n_faces": 119, "n_edges": 425, "n_vertices": 308}, "dimensions": {"lines": ["One M10x1.5 tapped hole in a cylinder."], "text": "One M10x1.5 tapped hole in a cylinder."}, "params": {"major_d": {"type": "float", "default": 10.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 1.5, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 21.6, "min": 12.0, "max": 38.9, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "body_d": {"type": "float", "default": 25.8, "min": 18.0, "max": 41.3, "step": 1.0, "group": "Body", "label": "Outer \u00d8 (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333646 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 10.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.5, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 21.6, \"min\": 12.0, \"max\": 38.9, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"body_d\": {\"type\": 'float', \"default\": 25.8, \"min\": 18.0, \"max\": 41.3, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer \u00d8 (mm)'},\n}\n\n\ndef build(p):\n\n    _W = _D = p[\"body_d\"]\n    _H = p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Cylinder(radius=_W / 2, height=_H)\n    _locs = [(0.0, 0.0)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462caf8f_5083", "family": "revolved", "tier": 2, "seed": 1177333647, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "7815d15228efd61e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 410000.0, "surface_area": 74100.0, "principal_moments": [599000000.0, 599000000.0, 843000000.0], "n_faces": 11, "n_edges": 17, "n_vertices": 11}, "dimensions": {"lines": ["Revolved body, \u00d879.19 mm \u00d7 83.2 mm tall with \u00d8165 mm \u00d7 8.6 mm flange, 4.34 mm-wide groove 4.63 mm deep.", "Chamfer 0.4 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d879.19 mm \u00d7 83.2 mm tall with \u00d8165 mm \u00d7 8.6 mm flange, 4.34 mm-wide groove 4.63 mm deep. Chamfer 0.4 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 79.19, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 83.2, "min": 25.0, "max": 249.6, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "flange_d": {"type": "float", "default": 165.0, "min": 95.0, "max": 237.6, "step": 1.0, "group": "Body", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 8.6, "min": 2.6, "max": 41.6, "step": 0.5, "group": "Body", "label": "Flange height (mm)"}, "groove_depth": {"type": "float", "default": 4.63, "min": 1.85, "max": 13.89, "step": 0.1, "group": "Body", "label": "Groove depth (mm)"}, "groove_w": {"type": "float", "default": 4.34, "min": 1.74, "max": 13.02, "step": 0.2, "group": "Body", "label": "Groove width (mm)"}, "groove_pos": {"type": "float", "default": 45.9, "min": 12.5, "max": 70.7, "step": 1.0, "group": "Body", "label": "Groove position (mm)"}, "end_chamfer": {"type": "float", "default": 0.4, "min": 0.1, "max": 1.2, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333647 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 79.19, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 83.2, \"min\": 25.0, \"max\": 249.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 165.0, \"min\": 95.0, \"max\": 237.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 8.6, \"min\": 2.6, \"max\": 41.6, \"step\": 0.5, \"group\": 'Body', \"label\": 'Flange height (mm)'},\n    \"groove_depth\": {\"type\": 'float', \"default\": 4.63, \"min\": 1.85, \"max\": 13.89, \"step\": 0.1, \"group\": 'Body', \"label\": 'Groove depth (mm)'},\n    \"groove_w\": {\"type\": 'float', \"default\": 4.34, \"min\": 1.74, \"max\": 13.02, \"step\": 0.2, \"group\": 'Body', \"label\": 'Groove width (mm)'},\n    \"groove_pos\": {\"type\": 'float', \"default\": 45.9, \"min\": 12.5, \"max\": 70.7, \"step\": 1.0, \"group\": 'Body', \"label\": 'Groove position (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.4, \"min\": 0.1, \"max\": 1.2, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"groove_pos\"] - p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2 - p[\"groove_depth\"], p[\"groove_pos\"] - p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2 - p[\"groove_depth\"], p[\"groove_pos\"] + p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2, p[\"groove_pos\"] + p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462caf90_5084", "family": "profiled", "tier": 1, "seed": 1177333648, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "aa962f22d0549881", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 154000.0, "surface_area": 24200.0, "principal_moments": [14099999.999999998, 954000000.0, 955000000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["28.47 \u00d7 24.5 mm slot section, extruded 271.4 mm thick."], "text": "28.47 \u00d7 24.5 mm slot section, extruded 271.4 mm thick."}, "params": {"slot_len": {"type": "float", "default": 28.47, "min": 14.2, "max": 56.9, "step": 1.0, "group": "Profile", "label": "Slot length (mm)"}, "slot_w": {"type": "float", "default": 24.5, "min": 12.2, "max": 49.0, "step": 0.5, "group": "Profile", "label": "Slot width (mm)"}, "length": {"type": "float", "default": 271.4, "min": 81.4, "max": 814.2, "step": 5.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333648 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"slot_len\": {\"type\": 'float', \"default\": 28.47, \"min\": 14.2, \"max\": 56.9, \"step\": 1.0, \"group\": 'Profile', \"label\": 'Slot length (mm)'},\n    \"slot_w\": {\"type\": 'float', \"default\": 24.5, \"min\": 12.2, \"max\": 49.0, \"step\": 0.5, \"group\": 'Profile', \"label\": 'Slot width (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 271.4, \"min\": 81.4, \"max\": 814.2, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').slot2D(p[\"slot_len\"], p[\"slot_w\"]).extrude(p[\"length\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462caf91_5085", "family": "profiled", "tier": 1, "seed": 1177333649, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "2ac43673e0b30545", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 370000.0, "surface_area": 41000.0, "principal_moments": [74600000.0, 2800000000.0, 2820000000.0], "n_faces": 8, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["freeform sketched section (6 segments: 3 straight, 1 arc, 2 curves), ~46.112 \u00d7 34.52 mm, extruded 300 mm thick."], "text": "freeform sketched section (6 segments: 3 straight, 1 arc, 2 curves), ~46.112 \u00d7 34.52 mm, extruded 300 mm thick."}, "params": {"sk_w": {"type": "float", "default": 55, "min": 27.5, "max": 99.0, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 45, "min": 22.5, "max": 81.0, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "length": {"type": "float", "default": 300.0, "min": 90.0, "max": 900.0, "step": 5.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333649 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 55, \"min\": 27.5, \"max\": 99.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 45, \"min\": 22.5, \"max\": 81.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 300.0, \"min\": 90.0, \"max\": 900.0, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.4705, p[\"sk_h\"] * -0.1004).lineTo(p[\"sk_w\"] * 0.207, p[\"sk_h\"] * 0.3348).spline([(p[\"sk_w\"] * 0.207, p[\"sk_h\"] * 0.3348), (p[\"sk_w\"] * -0.0212, p[\"sk_h\"] * 0.3662), (p[\"sk_w\"] * -0.2392, p[\"sk_h\"] * 0.2921)]).lineTo(p[\"sk_w\"] * -0.3679, p[\"sk_h\"] * 0.0309).threePointArc((p[\"sk_w\"] * -0.3099, p[\"sk_h\"] * -0.2325), (p[\"sk_w\"] * -0.0892, p[\"sk_h\"] * -0.4086)).lineTo(p[\"sk_w\"] * 0.2322, p[\"sk_h\"] * -0.4323).bezier([(p[\"sk_w\"] * 0.2322, p[\"sk_h\"] * -0.4323), (p[\"sk_w\"] * 0.3885, p[\"sk_h\"] * -0.293), (p[\"sk_w\"] * 0.4705, p[\"sk_h\"] * -0.1004)]).close().extrude(p[\"length\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462caf92_5086", "family": "sketched", "tier": 1, "seed": 1177333650, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "674f099b3ac6a04b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 30000.0, "surface_area": 6850.0, "principal_moments": [4170000.0, 7590000.0, 10600000.0], "n_faces": 8, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["freeform sketched section (5 segments: 2 straight, 2 arcs, 1 curve), ~57.045 \u00d7 45.37 mm, extruded 15 mm thick.", "One \u00d86.4 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "freeform sketched section (5 segments: 2 straight, 2 arcs, 1 curve), ~57.045 \u00d7 45.37 mm, extruded 15 mm thick. One \u00d86.4 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"sk_w": {"type": "float", "default": 75, "min": 37.5, "max": 135.0, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 65, "min": 32.5, "max": 117.0, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "sk_t": {"type": "float", "default": 15, "min": 6.0, "max": 33.0, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "sk_hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 12.8, "step": 0.5, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333650 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 75, \"min\": 37.5, \"max\": 135.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 65, \"min\": 32.5, \"max\": 117.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"sk_t\": {\"type\": 'float', \"default\": 15, \"min\": 6.0, \"max\": 33.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"sk_hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 12.8, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.4054, p[\"sk_h\"] * -0.1175).threePointArc((p[\"sk_w\"] * 0.4003, p[\"sk_h\"] * 0.1404), (p[\"sk_w\"] * 0.2673, p[\"sk_h\"] * 0.3276)).spline([(p[\"sk_w\"] * 0.2673, p[\"sk_h\"] * 0.3276), (p[\"sk_w\"] * -0.0562, p[\"sk_h\"] * 0.2374), (p[\"sk_w\"] * -0.3552, p[\"sk_h\"] * 0.0843)]).lineTo(p[\"sk_w\"] * -0.353, p[\"sk_h\"] * -0.2014).threePointArc((p[\"sk_w\"] * -0.0632, p[\"sk_h\"] * -0.3411), (p[\"sk_w\"] * 0.2691, p[\"sk_h\"] * -0.3704)).lineTo(p[\"sk_w\"] * 0.4054, p[\"sk_h\"] * -0.1175).close().extrude(p[\"sk_t\"]))\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"sk_hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462caf93_5087", "family": "compound", "tier": 1, "seed": 1177333651, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "897f62a44eca4e93", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 179000.0, "surface_area": 24200.0, "principal_moments": [112000000.0, 112000000.0, 112000000.0], "n_faces": 10, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["Lofted body through 2 sections: 77.32 \u00d7 77.32 mm rectangular section \u2192 \u00d837.7 mm circular section.", "\u00d830.1 mm circular section attachment, 20.6 mm long, from top face with a \u00d813 mm bore."], "text": "Lofted body through 2 sections: 77.32 \u00d7 77.32 mm rectangular section \u2192 \u00d837.7 mm circular section. \u00d830.1 mm circular section attachment, 20.6 mm long, from top face with a \u00d813 mm bore."}, "params": {"adapter_base": {"type": "float", "default": 77.32, "min": 46.4, "max": 116.0, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "adapter_top": {"type": "float", "default": 37.7, "min": 18.9, "max": 77.3, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "adapter_h": {"type": "float", "default": 53.8, "min": 21.5, "max": 107.6, "step": 1.0, "group": "Body", "label": "Transition height (mm)"}, "neck_d": {"type": "float", "default": 30.1, "min": 12.0, "max": 37.7, "step": 1.0, "group": "Neck", "label": "Neck diameter (mm)"}, "neck_l": {"type": "float", "default": 20.6, "min": 8.2, "max": 51.5, "step": 1.0, "group": "Neck", "label": "Neck length (mm)"}, "neck_bore": {"type": "float", "default": 13.0, "min": 2.0, "max": 21.7, "step": 0.5, "group": "Neck", "label": "Neck bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333651 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"adapter_base\": {\"type\": 'float', \"default\": 77.32, \"min\": 46.4, \"max\": 116.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"adapter_top\": {\"type\": 'float', \"default\": 37.7, \"min\": 18.9, \"max\": 77.3, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"adapter_h\": {\"type\": 'float', \"default\": 53.8, \"min\": 21.5, \"max\": 107.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Transition height (mm)'},\n    \"neck_d\": {\"type\": 'float', \"default\": 30.1, \"min\": 12.0, \"max\": 37.7, \"step\": 1.0, \"group\": 'Neck', \"label\": 'Neck diameter (mm)'},\n    \"neck_l\": {\"type\": 'float', \"default\": 20.6, \"min\": 8.2, \"max\": 51.5, \"step\": 1.0, \"group\": 'Neck', \"label\": 'Neck length (mm)'},\n    \"neck_bore\": {\"type\": 'float', \"default\": 13.0, \"min\": 2.0, \"max\": 21.7, \"step\": 0.5, \"group\": 'Neck', \"label\": 'Neck bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .rect(p[\"adapter_base\"], p[\"adapter_base\"])\n        .workplane(offset=p[\"adapter_h\"])\n        .circle(p[\"adapter_top\"] / 2)\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"neck_d\"] / 2).extrude(p[\"neck_l\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"neck_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462caf94_5088", "family": "revolved", "tier": 2, "seed": 1177333652, "symmetry": "radial", "op_count": 1, "ir_hash": "de465d80446555e1", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 599000.0, "surface_area": 78600.0, "principal_moments": [476000000.0, 1900000000.0, 1900000000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d872.8 mm \u00d7 215.9 mm tall."], "text": "Revolved body, \u00d872.8 mm \u00d7 215.9 mm tall."}, "params": {"outer_d": {"type": "float", "default": 72.8, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 215.9, "min": 64.8, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333652 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 72.8, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 215.9, \"min\": 64.8, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462caf95_5089", "family": "compound", "tier": 3, "seed": 1177333653, "symmetry": "none", "op_count": 7, "ir_hash": "facef3935dd03606", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 19100.0, "surface_area": 5600.0, "principal_moments": [2130000.0, 2260000.0, 3130000.0], "n_faces": 49, "n_edges": 128, "n_vertices": 83}, "dimensions": {"lines": ["Rectangular body, 30.49 \u00d7 31.7 \u00d7 20 mm (W\u00d7D\u00d7H).", "6-sided polygon section, 6 mm across corners attachment, 4.8 mm long, from right face with a \u00d82.2 mm bore.", "6-sided polygon section, 6 mm across corners attachment, 4.8 mm long, from left face with a \u00d82.2 mm bore.", "6-sided polygon section, 6 mm across corners attachment, 4.8 mm long, from back face with a \u00d82.2 mm bore.", "6-sided polygon section, 6 mm across corners attachment, 4.8 mm long, from front face with a \u00d82.2 mm bore.", "Four \u00d83.2 mm holes at the corners, 21.343 \u00d7 22.19 mm spacing.", "Fillet radius 1.737 mm on vertical edges."], "text": "Rectangular body, 30.49 \u00d7 31.7 \u00d7 20 mm (W\u00d7D\u00d7H). 6-sided polygon section, 6 mm across corners attachment, 4.8 mm long, from right face with a \u00d82.2 mm bore. 6-sided polygon section, 6 mm across corners attachment, 4.8 mm long, from left face with a \u00d82.2 mm bore. 6-sided polygon section, 6 mm across corners attachment, 4.8 mm long, from back face with a \u00d82.2 mm bore. 6-sided polygon section, 6 mm across corners attachment, 4.8 mm long, from front face with a \u00d82.2 mm bore. Four \u00d83.2 mm holes at the corners, 21.343 \u00d7 22.19 mm spacing. Fillet radius 1.737 mm on vertical edges."}, "params": {"block_w": {"type": "float", "default": 30.49, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body width (mm)"}, "block_d": {"type": "float", "default": 31.7, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body depth (mm)"}, "block_h": {"type": "float", "default": 20.0, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body height (mm)"}, "port_sides": {"type": "int", "default": 6, "min": 3, "max": 8, "step": 1, "group": "Ports", "label": "Ports sides"}, "port_r": {"type": "float", "default": 3.0, "min": 1.5, "max": 4.5, "step": 1.0, "group": "Ports", "label": "Ports circumradius (mm)"}, "port_len": {"type": "float", "default": 4.8, "min": 1.3, "max": 15.6, "step": 1.0, "group": "Ports", "label": "Port boss length (mm)"}, "port_bore": {"type": "float", "default": 2.2, "min": 2.0, "max": 3.7, "step": 0.5, "group": "Ports", "label": "Port bore diameter (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 6.9, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333653 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 30.49, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 31.7, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 20.0, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body height (mm)'},\n    \"port_sides\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Ports', \"label\": 'Ports sides'},\n    \"port_r\": {\"type\": 'float', \"default\": 3.0, \"min\": 1.5, \"max\": 4.5, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Ports circumradius (mm)'},\n    \"port_len\": {\"type\": 'float', \"default\": 4.8, \"min\": 1.3, \"max\": 15.6, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Port boss length (mm)'},\n    \"port_bore\": {\"type\": 'float', \"default\": 2.2, \"min\": 2.0, \"max\": 3.7, \"step\": 0.5, \"group\": 'Ports', \"label\": 'Port bore diameter (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 6.9, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"port_sides\"], p[\"port_r\"] * 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"port_sides\"], p[\"port_r\"] * 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"port_sides\"], p[\"port_r\"] * 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"port_sides\"], p[\"port_r\"] * 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"block_w\"], p[\"block_d\"]) * 0.05697004729427556)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462caf96_5090", "family": "revolved", "tier": 1, "seed": 1177333654, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "d302797e43c04bba", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 85900.0, "surface_area": 15600.0, "principal_moments": [25399999.999999996, 43000000.0, 43000000.0], "n_faces": 4, "n_edges": 6, "n_vertices": 4}, "dimensions": {"lines": ["Revolved body, \u00d845 mm \u00d7 65 mm tall with \u00d818.5 mm bore."], "text": "Revolved body, \u00d845 mm \u00d7 65 mm tall with \u00d818.5 mm bore."}, "params": {"outer_d": {"type": "float", "default": 45, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 65.0, "min": 19.5, "max": 195.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 18.5, "min": 2.0, "max": 31.5, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333654 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 45, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 65.0, \"min\": 19.5, \"max\": 195.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 18.5, \"min\": 2.0, \"max\": 31.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462caf97_5091", "family": "revolved", "tier": 0, "seed": 1177333655, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "0032f87231c368e9", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 367000.0, "surface_area": 61100.0, "principal_moments": [175000000.0, 1140000000.0, 1140000000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d856.45 mm \u00d7 219.8 mm tall."], "text": "Revolved body, \u00d856.45 mm \u00d7 219.8 mm tall."}, "params": {"outer_d": {"type": "float", "default": 56.45, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 219.8, "min": 65.9, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333655 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 56.45, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 219.8, \"min\": 65.9, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462caf98_5092", "family": "compound", "tier": 1, "seed": 1177333656, "symmetry": "mirror_xy", "op_count": 3, "ir_hash": "6b2c42f9e3cc0314", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 25500.0, "surface_area": 6110.0, "principal_moments": [3630000.0, 3720000.0, 4080000.0], "n_faces": 28, "n_edges": 75, "n_vertices": 49}, "dimensions": {"lines": ["Rectangular body, 31.02 \u00d7 30.4 \u00d7 27.5 mm (W\u00d7D\u00d7H).", "8-sided polygon section, 6.4 mm across corners attachment, 4.2 mm long, from front face with a \u00d83.5 mm bore.", "8-sided polygon section, 6.4 mm across corners attachment, 4.2 mm long, from left face with a \u00d83.5 mm bore."], "text": "Rectangular body, 31.02 \u00d7 30.4 \u00d7 27.5 mm (W\u00d7D\u00d7H). 8-sided polygon section, 6.4 mm across corners attachment, 4.2 mm long, from front face with a \u00d83.5 mm bore. 8-sided polygon section, 6.4 mm across corners attachment, 4.2 mm long, from left face with a \u00d83.5 mm bore."}, "params": {"block_w": {"type": "float", "default": 31.02, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body width (mm)"}, "block_d": {"type": "float", "default": 30.4, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body depth (mm)"}, "block_h": {"type": "float", "default": 27.5, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body height (mm)"}, "port_sides": {"type": "int", "default": 8, "min": 3, "max": 8, "step": 1, "group": "Ports", "label": "Ports sides"}, "port_r": {"type": "float", "default": 3.2, "min": 1.6, "max": 6.2, "step": 1.0, "group": "Ports", "label": "Ports circumradius (mm)"}, "port_len": {"type": "float", "default": 4.2, "min": 1.5, "max": 17.7, "step": 1.0, "group": "Ports", "label": "Port boss length (mm)"}, "port_bore": {"type": "float", "default": 3.5, "min": 2.0, "max": 4.3, "step": 0.5, "group": "Ports", "label": "Port bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333656 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 31.02, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 30.4, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 27.5, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body height (mm)'},\n    \"port_sides\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Ports', \"label\": 'Ports sides'},\n    \"port_r\": {\"type\": 'float', \"default\": 3.2, \"min\": 1.6, \"max\": 6.2, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Ports circumradius (mm)'},\n    \"port_len\": {\"type\": 'float', \"default\": 4.2, \"min\": 1.5, \"max\": 17.7, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Port boss length (mm)'},\n    \"port_bore\": {\"type\": 'float', \"default\": 3.5, \"min\": 2.0, \"max\": 4.3, \"step\": 0.5, \"group\": 'Ports', \"label\": 'Port bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"port_sides\"], p[\"port_r\"] * 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"port_sides\"], p[\"port_r\"] * 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462caf99_5093", "family": "bracket", "tier": 2, "seed": 1177333657, "symmetry": "none", "op_count": 1, "ir_hash": "d455af4c335f01e7", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 15600.0, "surface_area": 7650.0, "principal_moments": [4800000.0, 12199999.999999998, 16399999.999999998], "n_faces": 19, "n_edges": 51, "n_vertices": 34}, "dimensions": {"lines": ["C-channel bracket: base leg 70 mm, vertical leg 54.8 mm, 15 mm wide, 6 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg; 5.4 mm corner gusset."], "text": "C-channel bracket: base leg 70 mm, vertical leg 54.8 mm, 15 mm wide, 6 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg; 5.4 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 70, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 54.8, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 15.0, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 6.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 6.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 5.4, "min": 3.0, "max": 7.5, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333657 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 70, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 54.8, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 15.0, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 6.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 5.4, \"min\": 3.0, \"max\": 7.5, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl / 2, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bl - _bt, _bt).lineTo(_bl - _bt - _g, _bt)\n                    .lineTo(_bl - _bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462caf9a_5094", "family": "gear", "tier": 0, "seed": 1177333658, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "5531eff5789f2efc", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 10700.0, "surface_area": 5310.0, "principal_moments": [1550000.0, 1550000.0, 3030000.0], "n_faces": 230, "n_edges": 684, "n_vertices": 456}, "dimensions": {"lines": ["Spur gear, module 1.25 mm, 38 teeth (pitch \u00d847.5 mm), face width 6.1 mm."], "text": "Spur gear, module 1.25 mm, 38 teeth (pitch \u00d847.5 mm), face width 6.1 mm."}, "params": {"module": {"type": "float", "default": 1.25, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 38, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 6.1, "min": 2.4, "max": 15.2, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333658 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 1.25, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 38, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 6.1, \"min\": 2.4, \"max\": 15.2, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462caf9c_5096", "family": "revolved", "tier": 2, "seed": 1177333660, "symmetry": "none", "op_count": 1, "ir_hash": "7ada37fdf19e0f4b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 168000.0, "surface_area": 31400.0, "principal_moments": [72500000.0, 324000000.0, 324000000.0], "n_faces": 10, "n_edges": 15, "n_vertices": 10}, "dimensions": {"lines": ["Revolved body, \u00d835 mm \u00d7 132.2 mm tall with \u00d813.6 mm bore, \u00d875.9 mm \u00d7 17.4 mm flange, 14.79 mm-wide groove 1.5 mm deep."], "text": "Revolved body, \u00d835 mm \u00d7 132.2 mm tall with \u00d813.6 mm bore, \u00d875.9 mm \u00d7 17.4 mm flange, 14.79 mm-wide groove 1.5 mm deep."}, "params": {"outer_d": {"type": "float", "default": 35, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 132.2, "min": 39.7, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 13.6, "min": 2.0, "max": 24.5, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 75.9, "min": 42.0, "max": 105.0, "step": 1.0, "group": "Body", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 17.4, "min": 5.2, "max": 66.1, "step": 0.5, "group": "Body", "label": "Flange height (mm)"}, "groove_depth": {"type": "float", "default": 1.5, "min": 0.6, "max": 4.5, "step": 0.1, "group": "Body", "label": "Groove depth (mm)"}, "groove_w": {"type": "float", "default": 14.79, "min": 5.92, "max": 44.37, "step": 0.2, "group": "Body", "label": "Groove width (mm)"}, "groove_pos": {"type": "float", "default": 64.6, "min": 19.8, "max": 112.4, "step": 1.0, "group": "Body", "label": "Groove position (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333660 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 35, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 132.2, \"min\": 39.7, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 13.6, \"min\": 2.0, \"max\": 24.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 75.9, \"min\": 42.0, \"max\": 105.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 17.4, \"min\": 5.2, \"max\": 66.1, \"step\": 0.5, \"group\": 'Body', \"label\": 'Flange height (mm)'},\n    \"groove_depth\": {\"type\": 'float', \"default\": 1.5, \"min\": 0.6, \"max\": 4.5, \"step\": 0.1, \"group\": 'Body', \"label\": 'Groove depth (mm)'},\n    \"groove_w\": {\"type\": 'float', \"default\": 14.79, \"min\": 5.92, \"max\": 44.37, \"step\": 0.2, \"group\": 'Body', \"label\": 'Groove width (mm)'},\n    \"groove_pos\": {\"type\": 'float', \"default\": 64.6, \"min\": 19.8, \"max\": 112.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Groove position (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"groove_pos\"] - p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2 - p[\"groove_depth\"], p[\"groove_pos\"] - p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2 - p[\"groove_depth\"], p[\"groove_pos\"] + p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2, p[\"groove_pos\"] + p[\"groove_w\"] / 2)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462caf9d_5097", "family": "plate", "tier": 3, "seed": 1177333661, "symmetry": "mirror_x", "op_count": 4, "ir_hash": "695f75a01ca694ea", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 44800.0, "surface_area": 12300.0, "principal_moments": [7600000.0, 36800000.0, 43600000.0], "n_faces": 20, "n_edges": 47, "n_vertices": 30}, "dimensions": {"lines": ["Rectangular body, 100 \u00d7 44.4 \u00d7 10 mm (W\u00d7D\u00d7H).", "Four \u00d83.2 mm countersunk holes (82\u00b0) at the corners, 70 \u00d7 31.08 mm spacing.", "Fillet radius 2.199 mm on vertical edges.", "Boss \u00d815 mm \u00d7 4.6 mm tall on top face."], "text": "Rectangular body, 100 \u00d7 44.4 \u00d7 10 mm (W\u00d7D\u00d7H). Four \u00d83.2 mm countersunk holes (82\u00b0) at the corners, 70 \u00d7 31.08 mm spacing. Fillet radius 2.199 mm on vertical edges. Boss \u00d815 mm \u00d7 4.6 mm tall on top face."}, "params": {"plate_w": {"type": "float", "default": 100, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 44.4, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "cs_angle": {"type": "float", "default": 82.0, "min": 60.0, "max": 120.0, "step": 15.0, "group": "Holes", "label": "Countersink angle (\u00b0)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}, "boss_d": {"type": "float", "default": 15.0, "min": 7.5, "max": 30.0, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 4.6, "min": 1.8, "max": 11.5, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333661 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 100, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 44.4, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"cs_angle\": {\"type\": 'float', \"default\": 82.0, \"min\": 60.0, \"max\": 120.0, \"step\": 15.0, \"group\": 'Holes', \"label\": 'Countersink angle (\u00b0)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n    \"boss_d\": {\"type\": 'float', \"default\": 15.0, \"min\": 7.5, \"max\": 30.0, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 4.6, \"min\": 1.8, \"max\": 11.5, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().cskHole(p[\"hole_d\"], p[\"hole_d\"] * 2, p[\"cs_angle\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"plate_w\"], p[\"plate_d\"]) * 0.04952975860001664)\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462caf9f_5099", "family": "profiled", "tier": 2, "seed": 1177333663, "symmetry": "none", "op_count": 1, "ir_hash": "9254e95b3ead418c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 36700.0, "surface_area": 8670.0, "principal_moments": [3320000.0, 20400000.0, 20400000.0], "n_faces": 5, "n_edges": 9, "n_vertices": 6}, "dimensions": {"lines": ["3-sided polygon section, 38.04 mm across corners, extruded 78.2 mm thick."], "text": "3-sided polygon section, 38.04 mm across corners, extruded 78.2 mm thick."}, "params": {"circ_r": {"type": "float", "default": 19.02, "min": 9.5, "max": 38.0, "step": 1.0, "group": "Profile", "label": "Circumscribed radius (mm)"}, "n_sides": {"type": "int", "default": 3, "min": 3, "max": 8, "step": 1, "group": "Profile", "label": "Sides"}, "length": {"type": "float", "default": 78.2, "min": 23.5, "max": 234.6, "step": 5.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333663 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"circ_r\": {\"type\": 'float', \"default\": 19.02, \"min\": 9.5, \"max\": 38.0, \"step\": 1.0, \"group\": 'Profile', \"label\": 'Circumscribed radius (mm)'},\n    \"n_sides\": {\"type\": 'int', \"default\": 3, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Profile', \"label\": 'Sides'},\n    \"length\": {\"type\": 'float', \"default\": 78.2, \"min\": 23.5, \"max\": 234.6, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').polygon(p[\"n_sides\"], p[\"circ_r\"] * 2).extrude(p[\"length\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462cafa0_5100", "family": "ribbed", "tier": 1, "seed": 1177333664, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "df2c96375b185ad2", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 9350.0, "surface_area": 7220.0, "principal_moments": [1370000.0, 4170000.0, 5200000.0], "n_faces": 22, "n_edges": 52, "n_vertices": 32}, "dimensions": {"lines": ["Rectangular body, 61.96 \u00d7 31.9 \u00d7 3 mm (W\u00d7D\u00d7H).", "Two ribs, 2.9 mm thick, 11.9 mm tall."], "text": "Rectangular body, 61.96 \u00d7 31.9 \u00d7 3 mm (W\u00d7D\u00d7H). Two ribs, 2.9 mm thick, 11.9 mm tall."}, "params": {"base_w": {"type": "float", "default": 61.96, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 31.9, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 3.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 2, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 11.9, "min": 4.8, "max": 23.8, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 2.9, "min": 1.0, "max": 7.2, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333664 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 61.96, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 31.9, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 2, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 11.9, \"min\": 4.8, \"max\": 23.8, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 2.9, \"min\": 1.0, \"max\": 7.2, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462cafa1_5101", "family": "plate", "tier": 0, "seed": 1177333665, "symmetry": "none", "op_count": 1, "ir_hash": "0c0a8776c0aafd8d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 55100.0, "surface_area": 14300.0, "principal_moments": [11000000.0, 61199999.99999999, 71200000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 115 \u00d7 47.9 \u00d7 10 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 115 \u00d7 47.9 \u00d7 10 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 115, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 47.9, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333665 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 115, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 47.9, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462cafa2_5102", "family": "revolved", "tier": 1, "seed": 1177333666, "symmetry": "radial", "op_count": 1, "ir_hash": "4a2a54ec8abce8ee", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 189.0, "surface_area": 311.0, "principal_moments": [1080.0, 1560.0, 1560.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d86.17 mm \u00d7 9.5 mm tall."], "text": "Revolved body, \u00d86.17 mm \u00d7 9.5 mm tall."}, "params": {"outer_d": {"type": "float", "default": 6.17, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 9.5, "min": 2.9, "max": 28.5, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333666 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 6.17, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 9.5, \"min\": 2.9, \"max\": 28.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462cafa3_5103", "family": "lofted", "tier": 0, "seed": 1177333667, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "47bfdec34b51ddff", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 22100.0, "surface_area": 4780.0, "principal_moments": [2890000.0, 2900000.0, 3250000.0], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Lofted body through 2 sections: 36.54 \u00d7 36.54 mm rectangular section \u2192 6-sided polygon section, 23.4 mm across corners."], "text": "Lofted body through 2 sections: 36.54 \u00d7 36.54 mm rectangular section \u2192 6-sided polygon section, 23.4 mm across corners."}, "params": {"loft_base": {"type": "float", "default": 36.54, "min": 18.3, "max": 58.5, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 23.4, "min": 9.4, "max": 43.8, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 27.7, "min": 11.1, "max": 55.4, "step": 1.0, "group": "Body", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333667 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 36.54, \"min\": 18.3, \"max\": 58.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 23.4, \"min\": 9.4, \"max\": 43.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 27.7, \"min\": 11.1, \"max\": 55.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .rect(p[\"loft_base\"], p[\"loft_base\"])\n        .workplane(offset=p[\"loft_h\"])\n        .polygon(6, p[\"loft_top\"] * 0.5 * 2)\n        .loft(combine=True)\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462cafa4_5104", "family": "revolved", "tier": 0, "seed": 1177333668, "symmetry": "radial", "op_count": 1, "ir_hash": "46b5e7c8a583c429", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 184000.0, "surface_area": 36000.0, "principal_moments": [65599999.99999999, 273000000.0, 273000000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d848.72 mm \u00d7 148.2 mm tall."], "text": "Revolved body, \u00d848.72 mm \u00d7 148.2 mm tall."}, "params": {"outer_d": {"type": "float", "default": 48.72, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 148.2, "min": 44.5, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333668 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 48.72, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 148.2, \"min\": 44.5, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462cafa5_5105", "family": "tapped", "tier": 0, "seed": 1177333669, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "a479058827d70780", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 15700.0, "surface_area": 4750.0, "principal_moments": [1800000.0, 1800000.0, 2930000.0], "n_faces": 94, "n_edges": 326, "n_vertices": 234}, "dimensions": {"lines": ["One M10x1.5 tapped hole in a plate."], "text": "One M10x1.5 tapped hole in a plate."}, "params": {"major_d": {"type": "float", "default": 10.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 1.5, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 16.0, "min": 12.0, "max": 28.8, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "plate_w": {"type": "float", "default": 32.4, "min": 19.4, "max": 51.8, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 32.4, "min": 19.4, "max": 51.8, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333669 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 10.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.5, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 16.0, \"min\": 12.0, \"max\": 28.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"plate_w\": {\"type\": 'float', \"default\": 32.4, \"min\": 19.4, \"max\": 51.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 32.4, \"min\": 19.4, \"max\": 51.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n}\n\n\ndef build(p):\n\n    _W, _D, _H = p[\"plate_w\"], p[\"plate_d\"], p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Box(_W, _D, _H)\n    _locs = [(0.0, 0.0)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462cafa6_5106", "family": "flanged", "tier": 1, "seed": 1177333670, "symmetry": "none", "op_count": 2, "ir_hash": "7022dcd58ef69f32", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 977000.0, "surface_area": 101000.0, "principal_moments": [2000000000.0, 2640000000.0, 2640000000.0], "n_faces": 12, "n_edges": 27, "n_vertices": 18}, "dimensions": {"lines": ["Revolved body, \u00d892.33 mm \u00d7 129.6 mm tall with \u00d834 mm bore, \u00d8173 mm \u00d7 13.6 mm flange.", "Six \u00d84.3 mm holes on a \u00d8103.8 mm bolt circle."], "text": "Revolved body, \u00d892.33 mm \u00d7 129.6 mm tall with \u00d834 mm bore, \u00d8173 mm \u00d7 13.6 mm flange. Six \u00d84.3 mm holes on a \u00d8103.8 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 92.33, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 129.6, "min": 38.9, "max": 324.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 34.0, "min": 2.0, "max": 64.6, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 173.0, "min": 120.0, "max": 277.0, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 13.6, "min": 4.1, "max": 51.8, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 51.9, "min": 34.6, "max": 77.9, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 6, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333670 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 92.33, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 129.6, \"min\": 38.9, \"max\": 324.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 34.0, \"min\": 2.0, \"max\": 64.6, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 173.0, \"min\": 120.0, \"max\": 277.0, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 13.6, \"min\": 4.1, \"max\": 51.8, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 51.9, \"min\": 34.6, \"max\": 77.9, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "enclosure_462cafa7_5107", "family": "enclosure", "tier": 2, "seed": 1177333671, "symmetry": "none", "op_count": 3, "ir_hash": "7ffe8ad47d6c6c73", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 74400.0, "surface_area": 51900.0, "principal_moments": [63499999.99999999, 132000000.0, 142000000.0], "n_faces": 19, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 110 \u00d7 47.9 \u00d7 69.8 mm (W\u00d7D\u00d7H).", "Hollowed to 3 mm wall thickness, open at top face.", "Four \u00d810.5 mm holes at the corners, 77 \u00d7 33.53 mm spacing."], "text": "Rectangular body, 110 \u00d7 47.9 \u00d7 69.8 mm (W\u00d7D\u00d7H). Hollowed to 3 mm wall thickness, open at top face. Four \u00d810.5 mm holes at the corners, 77 \u00d7 33.53 mm spacing."}, "params": {"enc_w": {"type": "float", "default": 110, "min": 30.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure width (mm)"}, "enc_d": {"type": "float", "default": 47.9, "min": 12.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Enclosure depth (mm)"}, "enc_h": {"type": "float", "default": 69.8, "min": 27.9, "max": 139.6, "step": 1.0, "group": "Body", "label": "Enclosure height (mm)"}, "wall_t": {"type": "float", "default": 3.0, "min": 2.0, "max": 6.0, "step": 0.5, "group": "Body", "label": "Wall thickness (mm)"}, "hole_d": {"type": "float", "default": 10.5, "min": 2.0, "max": 10.8, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333671 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"enc_w\": {\"type\": 'float', \"default\": 110, \"min\": 30.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure width (mm)'},\n    \"enc_d\": {\"type\": 'float', \"default\": 47.9, \"min\": 12.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure depth (mm)'},\n    \"enc_h\": {\"type\": 'float', \"default\": 69.8, \"min\": 27.9, \"max\": 139.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Enclosure height (mm)'},\n    \"wall_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 2.0, \"max\": 6.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Wall thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 10.5, \"min\": 2.0, \"max\": 10.8, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"enc_w\"], p[\"enc_d\"], p[\"enc_h\"])\n    result = result.faces('>Z').shell(-p[\"wall_t\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"enc_w\"] * 0.7, p[\"enc_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462cafa8_5108", "family": "plate", "tier": 0, "seed": 1177333672, "symmetry": "radial", "op_count": 1, "ir_hash": "4cc9536b6588d53f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 48800.0, "surface_area": 12600.0, "principal_moments": [13799999.999999998, 29799999.999999996, 42800000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 85 \u00d7 57.4 \u00d7 10 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 85 \u00d7 57.4 \u00d7 10 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 85, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 57.4, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333672 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 85, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 57.4, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462cafa9_5109", "family": "block", "tier": 2, "seed": 1177333673, "symmetry": "none", "op_count": 3, "ir_hash": "aadce7d6b1849f4f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 110000.0, "surface_area": 29300.0, "principal_moments": [37300000.0, 92899999.99999999, 119000000.0], "n_faces": 15, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 56.63 \u00d7 24.2 \u00d7 100 mm (W\u00d7D\u00d7H).", "Four \u00d85.3 mm holes at the corners, 39.641 \u00d7 16.94 mm spacing.", "Pocket 32.6 \u00d7 12.8 mm, 43.2 mm deep, in top face."], "text": "Rectangular body, 56.63 \u00d7 24.2 \u00d7 100 mm (W\u00d7D\u00d7H). Four \u00d85.3 mm holes at the corners, 39.641 \u00d7 16.94 mm spacing. Pocket 32.6 \u00d7 12.8 mm, 43.2 mm deep, in top face."}, "params": {"block_w": {"type": "float", "default": 56.63, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 24.2, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 100.0, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 5.4, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "pocket_w": {"type": "float", "default": 32.6, "min": 16.3, "max": 45.3, "step": 1.0, "group": "Pocket", "label": "Pocket width (mm)"}, "pocket_d": {"type": "float", "default": 12.8, "min": 6.4, "max": 19.4, "step": 1.0, "group": "Pocket", "label": "Pocket depth (mm)"}, "pocket_h": {"type": "float", "default": 43.2, "min": 17.3, "max": 85.0, "step": 0.5, "group": "Pocket", "label": "Pocket height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333673 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 56.63, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 24.2, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 100.0, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 5.4, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"pocket_w\": {\"type\": 'float', \"default\": 32.6, \"min\": 16.3, \"max\": 45.3, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket width (mm)'},\n    \"pocket_d\": {\"type\": 'float', \"default\": 12.8, \"min\": 6.4, \"max\": 19.4, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket depth (mm)'},\n    \"pocket_h\": {\"type\": 'float', \"default\": 43.2, \"min\": 17.3, \"max\": 85.0, \"step\": 0.5, \"group\": 'Pocket', \"label\": 'Pocket height (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"pocket_w\"], p[\"pocket_d\"])\n        .cutBlind(-p[\"pocket_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462cafaa_5110", "family": "profiled", "tier": 1, "seed": 1177333674, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "b438ed086122427b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 75000.0, "surface_area": 27500.0, "principal_moments": [7030000.0, 238000000.0, 238000000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d825 mm \u00d7 229.3 mm tall."], "text": "Revolved body, \u00d825 mm \u00d7 229.3 mm tall."}, "params": {"outer_d": {"type": "float", "default": 25, "min": 12.5, "max": 50.0, "step": 1.0, "group": "Profile", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 229.3, "min": 68.8, "max": 687.9, "step": 5.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333674 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 25, \"min\": 12.5, \"max\": 50.0, \"step\": 1.0, \"group\": 'Profile', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 229.3, \"min\": 68.8, \"max\": 687.9, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462cafac_5112", "family": "compound", "tier": 1, "seed": 1177333676, "symmetry": "none", "op_count": 2, "ir_hash": "3e3d7a3f4b403abc", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 7060.0, "surface_area": 3490.0, "principal_moments": [585000.0, 682000.0, 682000.0], "n_faces": 11, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["6-sided polygon section, 30.26 mm across corners, extruded 9.1 mm thick.", "\u00d814.4 mm circular section attachment, 19 mm long, from top face with a \u00d88.1 mm bore."], "text": "6-sided polygon section, 30.26 mm across corners, extruded 9.1 mm thick. \u00d814.4 mm circular section attachment, 19 mm long, from top face with a \u00d88.1 mm bore."}, "params": {"base_sides": {"type": "int", "default": 6, "min": 3, "max": 8, "step": 1, "group": "Base", "label": "Base sides"}, "base_r": {"type": "float", "default": 15.13, "min": 9.1, "max": 24.2, "step": 1.0, "group": "Base", "label": "Base circumradius (mm)"}, "base_h": {"type": "float", "default": 9.1, "min": 3.6, "max": 22.8, "step": 1.0, "group": "Base", "label": "Base height (mm)"}, "col_d": {"type": "float", "default": 14.4, "min": 7.2, "max": 21.0, "step": 1.0, "group": "Column", "label": "Column diameter (mm)"}, "col_h": {"type": "float", "default": 19.0, "min": 5.7, "max": 47.5, "step": 1.0, "group": "Column", "label": "Column height (mm)"}, "col_bore": {"type": "float", "default": 8.1, "min": 2.0, "max": 10.4, "step": 0.5, "group": "Column", "label": "Column bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333676 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_sides\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Base', \"label\": 'Base sides'},\n    \"base_r\": {\"type\": 'float', \"default\": 15.13, \"min\": 9.1, \"max\": 24.2, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base circumradius (mm)'},\n    \"base_h\": {\"type\": 'float', \"default\": 9.1, \"min\": 3.6, \"max\": 22.8, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base height (mm)'},\n    \"col_d\": {\"type\": 'float', \"default\": 14.4, \"min\": 7.2, \"max\": 21.0, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column diameter (mm)'},\n    \"col_h\": {\"type\": 'float', \"default\": 19.0, \"min\": 5.7, \"max\": 47.5, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column height (mm)'},\n    \"col_bore\": {\"type\": 'float', \"default\": 8.1, \"min\": 2.0, \"max\": 10.4, \"step\": 0.5, \"group\": 'Column', \"label\": 'Column bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').polygon(p[\"base_sides\"], p[\"base_r\"] * 2).extrude(p[\"base_h\"]))\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"col_d\"] / 2).extrude(p[\"col_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"col_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462cafad_5113", "family": "revolved", "tier": 0, "seed": 1177333677, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "b49f2ac98e703326", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 12300.0, "surface_area": 5870.0, "principal_moments": [738000.0, 2880000.0, 2880000.0], "n_faces": 3, "n_edges": 4, "n_vertices": 3}, "dimensions": {"lines": ["Revolved body, \u00d820 mm \u00d7 58.7 mm tall."], "text": "Revolved body, \u00d820 mm \u00d7 58.7 mm tall."}, "params": {"outer_d": {"type": "float", "default": 20, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 58.7, "min": 17.6, "max": 176.1, "step": 1.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333677 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 20, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 58.7, \"min\": 17.6, \"max\": 176.1, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462cafae_5114", "family": "sketched", "tier": 1, "seed": 1177333678, "symmetry": "none", "op_count": 1, "ir_hash": "81c1900888bb1782", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 57000.0, "surface_area": 8760.0, "principal_moments": [12799999.999999998, 18300000.0, 18300000.0], "n_faces": 7, "n_edges": 11, "n_vertices": 6}, "dimensions": {"lines": ["Revolved organic body from a freeform sketched section (7 segments: 3 straight, 2 arcs, 2 curves), ~23.135 \u00d7 70 mm half-silhouette."], "text": "Revolved organic body from a freeform sketched section (7 segments: 3 straight, 2 arcs, 2 curves), ~23.135 \u00d7 70 mm half-silhouette."}, "params": {"sk_r": {"type": "float", "default": 25, "min": 12.5, "max": 45.0, "step": 1.0, "group": "Sketch", "label": "Max radius (mm)"}, "sk_h": {"type": "float", "default": 70.0, "min": 35.0, "max": 126.0, "step": 1.0, "group": "Sketch", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333678 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_r\": {\"type\": 'float', \"default\": 25, \"min\": 12.5, \"max\": 45.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Max radius (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 70.0, \"min\": 35.0, \"max\": 126.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XZ').moveTo(p[\"sk_r\"] * 0.3548, p[\"sk_h\"] * 0.0).bezier([(p[\"sk_r\"] * 0.3548, p[\"sk_h\"] * 0.0), (p[\"sk_r\"] * 0.2632, p[\"sk_h\"] * 0.1557), (p[\"sk_r\"] * 0.1849, p[\"sk_h\"] * 0.3114)]).lineTo(p[\"sk_r\"] * 0.9254, p[\"sk_h\"] * 0.7161).threePointArc((p[\"sk_r\"] * 1.0049, p[\"sk_h\"] * 0.8054), (p[\"sk_r\"] * 0.8901, p[\"sk_h\"] * 0.8947)).bezier([(p[\"sk_r\"] * 0.8901, p[\"sk_h\"] * 0.8947), (p[\"sk_r\"] * 0.817, p[\"sk_h\"] * 0.9012), (p[\"sk_r\"] * 0.9043, p[\"sk_h\"] * 0.9076)]).threePointArc((p[\"sk_r\"] * 0.8668, p[\"sk_h\"] * 0.9538), (p[\"sk_r\"] * 0.804, p[\"sk_h\"] * 1.0)).lineTo(p[\"sk_r\"] * 0.0, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.0, p[\"sk_h\"] * 0.0).close().revolve())\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462cafaf_5115", "family": "compound", "tier": 1, "seed": 1177333679, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "31d9970af8a4f49e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 25500.0, "surface_area": 6310.0, "principal_moments": [3480000.0, 3630000.0, 4990000.0], "n_faces": 14, "n_edges": 34, "n_vertices": 22}, "dimensions": {"lines": ["Rectangular body, 33.18 \u00d7 34.2 \u00d7 22.4 mm (W\u00d7D\u00d7H).", "\u00d86.8 mm circular section attachment, 8.1 mm long, from front face with a \u00d82.8 mm bore.", "\u00d86.8 mm circular section attachment, 8.1 mm long, from right face with a \u00d82.8 mm bore."], "text": "Rectangular body, 33.18 \u00d7 34.2 \u00d7 22.4 mm (W\u00d7D\u00d7H). \u00d86.8 mm circular section attachment, 8.1 mm long, from front face with a \u00d82.8 mm bore. \u00d86.8 mm circular section attachment, 8.1 mm long, from right face with a \u00d82.8 mm bore."}, "params": {"block_w": {"type": "float", "default": 33.18, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body width (mm)"}, "block_d": {"type": "float", "default": 34.2, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body depth (mm)"}, "block_h": {"type": "float", "default": 22.4, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body height (mm)"}, "port_d": {"type": "float", "default": 6.8, "min": 2.7, "max": 10.1, "step": 1.0, "group": "Ports", "label": "Ports diameter (mm)"}, "port_len": {"type": "float", "default": 8.1, "min": 1.7, "max": 20.4, "step": 1.0, "group": "Ports", "label": "Port boss length (mm)"}, "port_bore": {"type": "float", "default": 2.8, "min": 2.0, "max": 4.9, "step": 0.5, "group": "Ports", "label": "Port bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333679 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 33.18, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 34.2, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 22.4, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body height (mm)'},\n    \"port_d\": {\"type\": 'float', \"default\": 6.8, \"min\": 2.7, \"max\": 10.1, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Ports diameter (mm)'},\n    \"port_len\": {\"type\": 'float', \"default\": 8.1, \"min\": 1.7, \"max\": 20.4, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Port boss length (mm)'},\n    \"port_bore\": {\"type\": 'float', \"default\": 2.8, \"min\": 2.0, \"max\": 4.9, \"step\": 0.5, \"group\": 'Ports', \"label\": 'Port bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462cafb0_5116", "family": "bracket", "tier": 1, "seed": 1177333680, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "b46cb193b31e6b80", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 50400.0, "surface_area": 17000.0, "principal_moments": [32299999.999999996, 55099999.99999999, 79700000.0], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["C-channel bracket: base leg 80 mm, vertical leg 74.7 mm, 30 mm wide, 8 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."], "text": "C-channel bracket: base leg 80 mm, vertical leg 74.7 mm, 30 mm wide, 8 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 80, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 74.7, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 30, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 8.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333680 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 80, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 74.7, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 30, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462cafb1_5117", "family": "compound", "tier": 1, "seed": 1177333681, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "222fa4efd7642d0c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 44400.0, "surface_area": 10300.0, "principal_moments": [9880000.0, 12099999.999999998, 12099999.999999998], "n_faces": 11, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["6-sided polygon section, 47.9 mm across corners, extruded 25.4 mm thick.", "\u00d824.7 mm circular section attachment, 25.6 mm long, from top face with a \u00d812 mm bore."], "text": "6-sided polygon section, 47.9 mm across corners, extruded 25.4 mm thick. \u00d824.7 mm circular section attachment, 25.6 mm long, from top face with a \u00d812 mm bore."}, "params": {"base_sides": {"type": "int", "default": 6, "min": 3, "max": 8, "step": 1, "group": "Base", "label": "Base sides"}, "base_r": {"type": "float", "default": 23.95, "min": 14.4, "max": 38.3, "step": 1.0, "group": "Base", "label": "Base circumradius (mm)"}, "base_h": {"type": "float", "default": 25.4, "min": 10.2, "max": 63.5, "step": 1.0, "group": "Base", "label": "Base height (mm)"}, "col_d": {"type": "float", "default": 24.7, "min": 12.3, "max": 33.2, "step": 1.0, "group": "Column", "label": "Column diameter (mm)"}, "col_h": {"type": "float", "default": 25.6, "min": 7.7, "max": 64.0, "step": 1.0, "group": "Column", "label": "Column height (mm)"}, "col_bore": {"type": "float", "default": 12.0, "min": 2.0, "max": 17.8, "step": 0.5, "group": "Column", "label": "Column bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333681 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_sides\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Base', \"label\": 'Base sides'},\n    \"base_r\": {\"type\": 'float', \"default\": 23.95, \"min\": 14.4, \"max\": 38.3, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base circumradius (mm)'},\n    \"base_h\": {\"type\": 'float', \"default\": 25.4, \"min\": 10.2, \"max\": 63.5, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base height (mm)'},\n    \"col_d\": {\"type\": 'float', \"default\": 24.7, \"min\": 12.3, \"max\": 33.2, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column diameter (mm)'},\n    \"col_h\": {\"type\": 'float', \"default\": 25.6, \"min\": 7.7, \"max\": 64.0, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column height (mm)'},\n    \"col_bore\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 17.8, \"step\": 0.5, \"group\": 'Column', \"label\": 'Column bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').polygon(p[\"base_sides\"], p[\"base_r\"] * 2).extrude(p[\"base_h\"]))\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"col_d\"] / 2).extrude(p[\"col_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"col_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462cafb2_5118", "family": "plate", "tier": 3, "seed": 1177333682, "symmetry": "none", "op_count": 3, "ir_hash": "b9c32dce0bf1b93c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 87300.0, "surface_area": 26200.0, "principal_moments": [44300000.0, 97499999.99999999, 140000000.0], "n_faces": 58, "n_edges": 167, "n_vertices": 110}, "dimensions": {"lines": ["Rectangular body, 118.48 \u00d7 80.6 \u00d7 10 mm (W\u00d7D\u00d7H).", "Twelve 10.1 mm square holes in a 4\u00d73 grid, 31.6 \u00d7 32.2 mm pitch.", "Boss \u00d824.5 mm \u00d7 8.5 mm tall on top face."], "text": "Rectangular body, 118.48 \u00d7 80.6 \u00d7 10 mm (W\u00d7D\u00d7H). Twelve 10.1 mm square holes in a 4\u00d73 grid, 31.6 \u00d7 32.2 mm pitch. Boss \u00d824.5 mm \u00d7 8.5 mm tall on top face."}, "params": {"plate_w": {"type": "float", "default": 118.48, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 80.6, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 10.1, "min": 2.0, "max": 12.6, "step": 0.1, "group": "Holes", "label": "Square hole size (mm)"}, "hole_nx": {"type": "int", "default": 4, "min": 1, "max": 4, "step": 1, "group": "Holes", "label": "Holes across"}, "hole_ny": {"type": "int", "default": 3, "min": 1, "max": 4, "step": 1, "group": "Holes", "label": "Holes deep"}, "boss_d": {"type": "float", "default": 24.5, "min": 12.2, "max": 49.0, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 8.5, "min": 3.4, "max": 21.2, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333682 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 118.48, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 80.6, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 10.1, \"min\": 2.0, \"max\": 12.6, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Square hole size (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 4, \"min\": 1, \"max\": 4, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes across'},\n    \"hole_ny\": {\"type\": 'int', \"default\": 3, \"min\": 1, \"max\": 4, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes deep'},\n    \"boss_d\": {\"type\": 'float', \"default\": 24.5, \"min\": 12.2, \"max\": 49.0, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 8.5, \"min\": 3.4, \"max\": 21.2, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(31.6, 32.2, p[\"hole_nx\"], p[\"hole_ny\"])\n        .rect(p[\"hole_d\"], p[\"hole_d\"]).cutThruAll()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462cafb3_5119", "family": "tapped", "tier": 0, "seed": 1177333683, "symmetry": "none", "op_count": 1, "ir_hash": "bb04cef0c9c96536", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 4310.0, "surface_area": 1860.0, "principal_moments": [188000.0, 188000.0, 238000.0], "n_faces": 167, "n_edges": 455, "n_vertices": 290}, "dimensions": {"lines": ["One M4x0.7 tapped hole in a plate."], "text": "One M4x0.7 tapped hole in a plate."}, "params": {"major_d": {"type": "float", "default": 4.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 0.7, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 13.9, "min": 4.8, "max": 25.0, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "plate_w": {"type": "float", "default": 17.9, "min": 10.7, "max": 28.6, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 17.9, "min": 10.7, "max": 28.6, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333683 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 4.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 0.7, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 13.9, \"min\": 4.8, \"max\": 25.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"plate_w\": {\"type\": 'float', \"default\": 17.9, \"min\": 10.7, \"max\": 28.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 17.9, \"min\": 10.7, \"max\": 28.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n}\n\n\ndef build(p):\n\n    _W, _D, _H = p[\"plate_w\"], p[\"plate_d\"], p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Box(_W, _D, _H)\n    _locs = [(0.0, 0.0)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462cafb4_5120", "family": "threaded", "tier": 1, "seed": 1177333684, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "ecae2c1a4893140b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 1270.0, "surface_area": 1260.0, "principal_moments": [23100.0, 47400.0, 47400.0], "n_faces": 151, "n_edges": 409, "n_vertices": 260}, "dimensions": {"lines": ["M6x1 internal thread, 18.5 mm long."], "text": "M6x1 internal thread, 18.5 mm long."}, "params": {"major_d": {"type": "float", "default": 6.0, "min": 4.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Major diameter (mm)"}, "pitch": {"type": "float", "default": 1.0, "min": 0.5, "max": 2.0, "step": 0.05, "group": "Thread", "label": "Pitch (mm)"}, "thread_len": {"type": "float", "default": 18.5, "min": 7.4, "max": 37.0, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333684 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 6.0, \"min\": 4.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Major diameter (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.0, \"min\": 0.5, \"max\": 2.0, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Pitch (mm)'},\n    \"thread_len\": {\"type\": 'float', \"default\": 18.5, \"min\": 7.4, \"max\": 37.0, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.IsoThread(major_diameter=p[\"major_d\"], pitch=p[\"pitch\"], length=p[\"thread_len\"], external=False, end_finishes=(\"fade\", \"fade\"))\n    _body = _bd.Cylinder(radius=(p[\"major_d\"]) * 0.9, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _bore = _bd.Cylinder(radius=(p[\"major_d\"]) / 2, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = (_body - _bore) + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462cafb5_5121", "family": "plate", "tier": 2, "seed": 1177333685, "symmetry": "none", "op_count": 2, "ir_hash": "e89b56ba5fae1466", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 366.0, "surface_area": 557.0, "principal_moments": [3150.0, 11600.0, 14500.0], "n_faces": 22, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 20 \u00d7 10.3 \u00d7 2 mm (W\u00d7D\u00d7H).", "Four 3.1 \u00d7 2.2 mm slots at the corners, 14 \u00d7 7.21 mm spacing."], "text": "Rectangular body, 20 \u00d7 10.3 \u00d7 2 mm (W\u00d7D\u00d7H). Four 3.1 \u00d7 2.2 mm slots at the corners, 14 \u00d7 7.21 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 20.0, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 10.3, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 2.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 2.2, "min": 2.0, "max": 2.3, "step": 0.5, "group": "Holes", "label": "Slot width (mm)"}, "hole_slot_len": {"type": "float", "default": 3.1, "min": 3.3, "max": 3.1, "step": 0.5, "group": "Holes", "label": "Slot length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333685 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 20.0, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 10.3, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 2.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 2.2, \"min\": 2.0, \"max\": 2.3, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Slot width (mm)'},\n    \"hole_slot_len\": {\"type\": 'float', \"default\": 3.1, \"min\": 3.3, \"max\": 3.1, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Slot length (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().slot2D(p[\"hole_slot_len\"], p[\"hole_d\"]).cutThruAll()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462cafb6_5122", "family": "bracket", "tier": 1, "seed": 1177333686, "symmetry": "none", "op_count": 1, "ir_hash": "fc91e1a529d83813", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 26100.0, "surface_area": 11300.0, "principal_moments": [9260000.0, 32199999.999999996, 38400000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["L-bracket: base leg 83.09 mm, vertical leg 90 mm, 26.42 mm wide, 6 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."], "text": "L-bracket: base leg 83.09 mm, vertical leg 90 mm, 26.42 mm wide, 6 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 83.09, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 90.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 26.42, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 6.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333686 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 83.09, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 90.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 26.42, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462cafb7_5123", "family": "compound", "tier": 1, "seed": 1177333687, "symmetry": "none", "op_count": 3, "ir_hash": "1c877b0f72a826c2", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 65800.0, "surface_area": 19300.0, "principal_moments": [38600000.0, 47399999.99999999, 57499999.99999999], "n_faces": 17, "n_edges": 42, "n_vertices": 28}, "dimensions": {"lines": ["Rectangular body, 75 \u00d7 87.5 \u00d7 8 mm (W\u00d7D\u00d7H).", "6-sided polygon section, 20 mm across corners attachment, 53.9 mm long, from top face.", "Four \u00d85.3 mm holes at the corners, 52.5 \u00d7 61.25 mm spacing."], "text": "Rectangular body, 75 \u00d7 87.5 \u00d7 8 mm (W\u00d7D\u00d7H). 6-sided polygon section, 20 mm across corners attachment, 53.9 mm long, from top face. Four \u00d85.3 mm holes at the corners, 52.5 \u00d7 61.25 mm spacing."}, "params": {"base_w": {"type": "float", "default": 75, "min": 30.0, "max": 160.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 87.5, "min": 25.0, "max": 160.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_h": {"type": "float", "default": 8.0, "min": 3.0, "max": 30.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "col_sides": {"type": "int", "default": 6, "min": 3, "max": 8, "step": 1, "group": "Column", "label": "Column sides"}, "col_r": {"type": "float", "default": 10.0, "min": 5.0, "max": 18.8, "step": 1.0, "group": "Column", "label": "Column circumradius (mm)"}, "col_h": {"type": "float", "default": 53.9, "min": 16.2, "max": 161.7, "step": 1.0, "group": "Column", "label": "Column height (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333687 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 75, \"min\": 30.0, \"max\": 160.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 87.5, \"min\": 25.0, \"max\": 160.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_h\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 30.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"col_sides\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Column', \"label\": 'Column sides'},\n    \"col_r\": {\"type\": 'float', \"default\": 10.0, \"min\": 5.0, \"max\": 18.8, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column circumradius (mm)'},\n    \"col_h\": {\"type\": 'float', \"default\": 53.9, \"min\": 16.2, \"max\": 161.7, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_h\"])\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"col_sides\"], p[\"col_r\"] * 2).extrude(p[\"col_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"base_w\"] * 0.7, p[\"base_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462cafb8_5124", "family": "bracket", "tier": 1, "seed": 1177333688, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "d026e704d00641c6", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 21600.0, "surface_area": 10200.0, "principal_moments": [6090000.0, 7820000.0, 11399999.999999998], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["L-bracket: base leg 39.28 mm, vertical leg 38.6 mm, 60 mm wide, 5 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."], "text": "L-bracket: base leg 39.28 mm, vertical leg 38.6 mm, 60 mm wide, 5 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 39.28, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 38.6, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 60.0, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 5.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333688 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 39.28, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 38.6, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 60.0, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462cafb9_5125", "family": "revolved", "tier": 2, "seed": 1177333689, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "4d849f7ddbc1a161", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 35000.0, "surface_area": 10600.0, "principal_moments": [7870000.0, 7870000.0, 11300000.0], "n_faces": 10, "n_edges": 17, "n_vertices": 10}, "dimensions": {"lines": ["Revolved body, \u00d839.02 mm \u00d7 25.7 mm tall with \u00d813.2 mm bore, \u00d864.7 mm \u00d7 3.8 mm flange.", "Chamfer 1 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d839.02 mm \u00d7 25.7 mm tall with \u00d813.2 mm bore, \u00d864.7 mm \u00d7 3.8 mm flange. Chamfer 1 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 39.02, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 25.7, "min": 7.7, "max": 77.1, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 13.2, "min": 2.0, "max": 27.3, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 64.7, "min": 46.8, "max": 117.1, "step": 1.0, "group": "Body", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 3.8, "min": 1.1, "max": 12.8, "step": 0.5, "group": "Body", "label": "Flange height (mm)"}, "end_chamfer": {"type": "float", "default": 1.0, "min": 0.1, "max": 3.0, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333689 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 39.02, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 25.7, \"min\": 7.7, \"max\": 77.1, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 13.2, \"min\": 2.0, \"max\": 27.3, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 64.7, \"min\": 46.8, \"max\": 117.1, \"step\": 1.0, \"group\": 'Body', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 3.8, \"min\": 1.1, \"max\": 12.8, \"step\": 0.5, \"group\": 'Body', \"label\": 'Flange height (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 1.0, \"min\": 0.1, \"max\": 3.0, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462cafba_5126", "family": "plate", "tier": 3, "seed": 1177333690, "symmetry": "none", "op_count": 3, "ir_hash": "2feaf7e580ff3dac", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 6220.0, "surface_area": 3370.0, "principal_moments": [266000.0, 771000.0, 939000.0], "n_faces": 27, "n_edges": 72, "n_vertices": 48}, "dimensions": {"lines": ["Rectangular body, 37.36 \u00d7 20.5 \u00d7 10 mm (W\u00d7D\u00d7H).", "Four 6.1 \u00d7 4.3 mm slots at the corners, 26.152 \u00d7 14.35 mm spacing.", "Pocket 17.9 \u00d7 9.5 mm, 3.2 mm deep, in top face."], "text": "Rectangular body, 37.36 \u00d7 20.5 \u00d7 10 mm (W\u00d7D\u00d7H). Four 6.1 \u00d7 4.3 mm slots at the corners, 26.152 \u00d7 14.35 mm spacing. Pocket 17.9 \u00d7 9.5 mm, 3.2 mm deep, in top face."}, "params": {"plate_w": {"type": "float", "default": 37.36, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 20.5, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 4.6, "step": 0.5, "group": "Holes", "label": "Slot width (mm)"}, "hole_slot_len": {"type": "float", "default": 6.1, "min": 6.4, "max": 6.1, "step": 0.5, "group": "Holes", "label": "Slot length (mm)"}, "pocket_w": {"type": "float", "default": 17.9, "min": 8.9, "max": 29.9, "step": 1.0, "group": "Pocket", "label": "Pocket width (mm)"}, "pocket_d": {"type": "float", "default": 9.5, "min": 4.8, "max": 16.4, "step": 1.0, "group": "Pocket", "label": "Pocket depth (mm)"}, "pocket_h": {"type": "float", "default": 3.2, "min": 1.3, "max": 8.5, "step": 0.5, "group": "Pocket", "label": "Pocket height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333690 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 37.36, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 20.5, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 4.6, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Slot width (mm)'},\n    \"hole_slot_len\": {\"type\": 'float', \"default\": 6.1, \"min\": 6.4, \"max\": 6.1, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Slot length (mm)'},\n    \"pocket_w\": {\"type\": 'float', \"default\": 17.9, \"min\": 8.9, \"max\": 29.9, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket width (mm)'},\n    \"pocket_d\": {\"type\": 'float', \"default\": 9.5, \"min\": 4.8, \"max\": 16.4, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket depth (mm)'},\n    \"pocket_h\": {\"type\": 'float', \"default\": 3.2, \"min\": 1.3, \"max\": 8.5, \"step\": 0.5, \"group\": 'Pocket', \"label\": 'Pocket height (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().slot2D(p[\"hole_slot_len\"], p[\"hole_d\"]).cutThruAll()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"pocket_w\"], p[\"pocket_d\"])\n        .cutBlind(-p[\"pocket_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462cafbb_5127", "family": "plate", "tier": 3, "seed": 1177333691, "symmetry": "mirror_xy", "op_count": 4, "ir_hash": "11475e2bd2f5f858", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 64100.0, "surface_area": 19500.0, "principal_moments": [33199999.999999996, 56399999.99999999, 88600000.0], "n_faces": 31, "n_edges": 84, "n_vertices": 56}, "dimensions": {"lines": ["Rectangular body, 98.39 \u00d7 75 \u00d7 10 mm (W\u00d7D\u00d7H).", "Four 8.9 \u00d7 3.2 mm slots at the corners, 68.873 \u00d7 52.5 mm spacing.", "Fillet radius 5.077 mm on vertical edges.", "Pocket 51.6 \u00d7 35.3 mm, 4.6 mm deep, in top face."], "text": "Rectangular body, 98.39 \u00d7 75 \u00d7 10 mm (W\u00d7D\u00d7H). Four 8.9 \u00d7 3.2 mm slots at the corners, 68.873 \u00d7 52.5 mm spacing. Fillet radius 5.077 mm on vertical edges. Pocket 51.6 \u00d7 35.3 mm, 4.6 mm deep, in top face."}, "params": {"plate_w": {"type": "float", "default": 98.39, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 75.0, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 10.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 13.0, "step": 0.5, "group": "Holes", "label": "Slot width (mm)"}, "hole_slot_len": {"type": "float", "default": 8.9, "min": 4.8, "max": 22.5, "step": 0.5, "group": "Holes", "label": "Slot length (mm)"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}, "pocket_w": {"type": "float", "default": 51.6, "min": 25.8, "max": 78.7, "step": 1.0, "group": "Pocket", "label": "Pocket width (mm)"}, "pocket_d": {"type": "float", "default": 35.3, "min": 17.6, "max": 60.0, "step": 1.0, "group": "Pocket", "label": "Pocket depth (mm)"}, "pocket_h": {"type": "float", "default": 4.6, "min": 1.8, "max": 8.5, "step": 0.5, "group": "Pocket", "label": "Pocket height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333691 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 98.39, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 75.0, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 13.0, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Slot width (mm)'},\n    \"hole_slot_len\": {\"type\": 'float', \"default\": 8.9, \"min\": 4.8, \"max\": 22.5, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Slot length (mm)'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n    \"pocket_w\": {\"type\": 'float', \"default\": 51.6, \"min\": 25.8, \"max\": 78.7, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket width (mm)'},\n    \"pocket_d\": {\"type\": 'float', \"default\": 35.3, \"min\": 17.6, \"max\": 60.0, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket depth (mm)'},\n    \"pocket_h\": {\"type\": 'float', \"default\": 4.6, \"min\": 1.8, \"max\": 8.5, \"step\": 0.5, \"group\": 'Pocket', \"label\": 'Pocket height (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().slot2D(p[\"hole_slot_len\"], p[\"hole_d\"]).cutThruAll()\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"plate_w\"], p[\"plate_d\"]) * 0.06769865187185506)\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"pocket_w\"], p[\"pocket_d\"])\n        .cutBlind(-p[\"pocket_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462cafbd_5129", "family": "block", "tier": 1, "seed": 1177333693, "symmetry": "none", "op_count": 2, "ir_hash": "fead0b6aa5593c17", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 143000.0, "surface_area": 19800.0, "principal_moments": [58099999.99999999, 67800000.0, 82000000.0], "n_faces": 11, "n_edges": 27, "n_vertices": 18}, "dimensions": {"lines": ["Rectangular body, 55 \u00d7 42.7 \u00d7 62 mm (W\u00d7D\u00d7H).", "Five \u00d83.2 mm holes in two staggered rows, 20.6 \u00d7 17.6 mm pitch."], "text": "Rectangular body, 55 \u00d7 42.7 \u00d7 62 mm (W\u00d7D\u00d7H). Five \u00d83.2 mm holes in two staggered rows, 20.6 \u00d7 17.6 mm pitch."}, "params": {"block_w": {"type": "float", "default": 55, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 42.7, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 62.0, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 4.3, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 3, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333693 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 55, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 42.7, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 62.0, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 4.3, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 3, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 20.6\n    _ssy = 17.6\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462cafbe_5130", "family": "sketched", "tier": 1, "seed": 1177333694, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "d45de0642f4d3b79", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 20100.0, "surface_area": 5690.0, "principal_moments": [2630000.0, 2630000.0, 3910000.0], "n_faces": 7, "n_edges": 12, "n_vertices": 7}, "dimensions": {"lines": ["Revolved organic body from a freeform sketched section (6 segments: 3 straight, 1 arc, 2 curves), ~20.308 \u00d7 30 mm half-silhouette."], "text": "Revolved organic body from a freeform sketched section (6 segments: 3 straight, 1 arc, 2 curves), ~20.308 \u00d7 30 mm half-silhouette."}, "params": {"sk_r": {"type": "float", "default": 25, "min": 12.5, "max": 45.0, "step": 1.0, "group": "Sketch", "label": "Max radius (mm)"}, "sk_h": {"type": "float", "default": 30, "min": 15.0, "max": 54.0, "step": 1.0, "group": "Sketch", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333694 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_r\": {\"type\": 'float', \"default\": 25, \"min\": 12.5, \"max\": 45.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Max radius (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 30, \"min\": 15.0, \"max\": 54.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XZ').moveTo(p[\"sk_r\"] * 0.8425, p[\"sk_h\"] * 0.0).bezier([(p[\"sk_r\"] * 0.8425, p[\"sk_h\"] * 0.0), (p[\"sk_r\"] * 0.9163, p[\"sk_h\"] * 0.0968), (p[\"sk_r\"] * 0.9162, p[\"sk_h\"] * 0.1936)]).lineTo(p[\"sk_r\"] * 0.2915, p[\"sk_h\"] * 0.612).threePointArc((p[\"sk_r\"] * 0.349, p[\"sk_h\"] * 0.6149), (p[\"sk_r\"] * 0.3139, p[\"sk_h\"] * 0.6178)).bezier([(p[\"sk_r\"] * 0.3139, p[\"sk_h\"] * 0.6178), (p[\"sk_r\"] * 0.2138, p[\"sk_h\"] * 0.8089), (p[\"sk_r\"] * 0.187, p[\"sk_h\"] * 1.0)]).lineTo(p[\"sk_r\"] * 0.1039, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.1039, p[\"sk_h\"] * 0.0).close().revolve())\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462cafbf_5131", "family": "lofted", "tier": 1, "seed": 1177333695, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "418616135eb48fbc", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 39600.0, "surface_area": 8950.0, "principal_moments": [8620000.0, 8640000.0, 11699999.999999998], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["Lofted body through 2 sections: 50 \u00d7 50 mm rectangular section \u2192 6-sided polygon section, 27.7 mm across corners.", "One \u00d813.5 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 2 sections: 50 \u00d7 50 mm rectangular section \u2192 6-sided polygon section, 27.7 mm across corners. One \u00d813.5 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 50, "min": 25.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 27.7, "min": 11.1, "max": 60.0, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 32.1, "min": 12.8, "max": 64.2, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_bore_d": {"type": "float", "default": 13.5, "min": 2.0, "max": 22.2, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333695 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 50, \"min\": 25.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 27.7, \"min\": 11.1, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 32.1, \"min\": 12.8, \"max\": 64.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 13.5, \"min\": 2.0, \"max\": 22.2, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .rect(p[\"loft_base\"], p[\"loft_base\"])\n        .workplane(offset=p[\"loft_h\"])\n        .polygon(6, p[\"loft_top\"] * 0.5 * 2)\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462cafc0_5132", "family": "compound", "tier": 3, "seed": 1177333696, "symmetry": "mirror_xy", "op_count": 4, "ir_hash": "c8d7cd735a239c4d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 34200.0, "surface_area": 7010.0, "principal_moments": [2820000.0, 16800000.0, 16800000.0], "n_faces": 13, "n_edges": 26, "n_vertices": 17}, "dimensions": {"lines": ["\u00d827.82 mm circular section, extruded 46.5 mm thick.", "\u00d814.2 mm circular section attachment, 33.9 mm long, from top face.", "6-sided polygon section, 11.2 mm across corners attachment, 11.1 mm long, from top face.", "Chamfer 2.9 mm on bottom edges."], "text": "\u00d827.82 mm circular section, extruded 46.5 mm thick. \u00d814.2 mm circular section attachment, 33.9 mm long, from top face. 6-sided polygon section, 11.2 mm across corners attachment, 11.1 mm long, from top face. Chamfer 2.9 mm on bottom edges."}, "params": {"shaft_d": {"type": "float", "default": 27.82, "min": 13.9, "max": 50.1, "step": 1.0, "group": "Body", "label": "Shaft diameter (mm)"}, "shaft_len": {"type": "float", "default": 46.5, "min": 18.6, "max": 93.0, "step": 1.0, "group": "Body", "label": "Shaft length (mm)"}, "step_d": {"type": "float", "default": 14.2, "min": 7.1, "max": 25.0, "step": 1.0, "group": "Step", "label": "Step diameter (mm)"}, "step_len": {"type": "float", "default": 33.9, "min": 10.2, "max": 84.8, "step": 1.0, "group": "Step", "label": "Step length (mm)"}, "head_sides": {"type": "int", "default": 6, "min": 3, "max": 8, "step": 1, "group": "Head", "label": "Drive head sides"}, "head_r": {"type": "float", "default": 5.6, "min": 3.4, "max": 6.8, "step": 1.0, "group": "Head", "label": "Drive head circumradius (mm)"}, "head_len": {"type": "float", "default": 11.1, "min": 3.3, "max": 22.2, "step": 1.0, "group": "Head", "label": "Drive head length (mm)"}, "chamfer_d": {"type": "float", "default": 2.9, "min": 0.5, "max": 3.0, "step": 0.5, "group": "Body", "label": "Chamfer distance (mm)"}, "chamfered": {"type": "bool", "default": true, "group": "Body", "label": "Chamfer edges"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333696 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"shaft_d\": {\"type\": 'float', \"default\": 27.82, \"min\": 13.9, \"max\": 50.1, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft diameter (mm)'},\n    \"shaft_len\": {\"type\": 'float', \"default\": 46.5, \"min\": 18.6, \"max\": 93.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft length (mm)'},\n    \"step_d\": {\"type\": 'float', \"default\": 14.2, \"min\": 7.1, \"max\": 25.0, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step diameter (mm)'},\n    \"step_len\": {\"type\": 'float', \"default\": 33.9, \"min\": 10.2, \"max\": 84.8, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step length (mm)'},\n    \"head_sides\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Head', \"label\": 'Drive head sides'},\n    \"head_r\": {\"type\": 'float', \"default\": 5.6, \"min\": 3.4, \"max\": 6.8, \"step\": 1.0, \"group\": 'Head', \"label\": 'Drive head circumradius (mm)'},\n    \"head_len\": {\"type\": 'float', \"default\": 11.1, \"min\": 3.3, \"max\": 22.2, \"step\": 1.0, \"group\": 'Head', \"label\": 'Drive head length (mm)'},\n    \"chamfer_d\": {\"type\": 'float', \"default\": 2.9, \"min\": 0.5, \"max\": 3.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Chamfer distance (mm)'},\n    \"chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Chamfer edges'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').circle(p[\"shaft_d\"] / 2).extrude(p[\"shaft_len\"]))\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"step_d\"] / 2).extrude(p[\"step_len\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"head_sides\"], p[\"head_r\"] * 2).extrude(p[\"head_len\"])\n    )\n    if p[\"chamfered\"]:\n        result = result.edges('<Z').chamfer(p[\"chamfer_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462cafc1_5133", "family": "plate", "tier": 3, "seed": 1177333697, "symmetry": "mirror_xy", "op_count": 3, "ir_hash": "9a8b59154cc552b5", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 55000.0, "surface_area": 13600.0, "principal_moments": [10100000.0, 40500000.0, 48699999.99999999], "n_faces": 16, "n_edges": 35, "n_vertices": 22}, "dimensions": {"lines": ["Rectangular body, 96.78 \u00d7 46.3 \u00d7 12 mm (W\u00d7D\u00d7H).", "Four \u00d86.4 mm countersunk holes (82\u00b0) at the corners, 67.746 \u00d7 32.41 mm spacing.", "Boss \u00d822.3 mm \u00d7 8.7 mm tall on top face."], "text": "Rectangular body, 96.78 \u00d7 46.3 \u00d7 12 mm (W\u00d7D\u00d7H). Four \u00d86.4 mm countersunk holes (82\u00b0) at the corners, 67.746 \u00d7 32.41 mm spacing. Boss \u00d822.3 mm \u00d7 8.7 mm tall on top face."}, "params": {"plate_w": {"type": "float", "default": 96.78, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 46.3, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 10.4, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "cs_angle": {"type": "float", "default": 82.0, "min": 60.0, "max": 120.0, "step": 15.0, "group": "Holes", "label": "Countersink angle (\u00b0)"}, "boss_d": {"type": "float", "default": 22.3, "min": 11.2, "max": 44.6, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 8.7, "min": 3.5, "max": 21.8, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333697 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 96.78, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 46.3, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 10.4, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"cs_angle\": {\"type\": 'float', \"default\": 82.0, \"min\": 60.0, \"max\": 120.0, \"step\": 15.0, \"group\": 'Holes', \"label\": 'Countersink angle (\u00b0)'},\n    \"boss_d\": {\"type\": 'float', \"default\": 22.3, \"min\": 11.2, \"max\": 44.6, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 8.7, \"min\": 3.5, \"max\": 21.8, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().cskHole(p[\"hole_d\"], p[\"hole_d\"] * 2, p[\"cs_angle\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462cafc2_5134", "family": "compound", "tier": 1, "seed": 1177333698, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "c8005593173aa67d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 47100.0, "surface_area": 9660.0, "principal_moments": [8350000.0, 14199999.999999998, 14199999.999999998], "n_faces": 14, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["Lofted body through 2 sections: \u00d845 mm circular section \u2192 22.2 \u00d7 22.2 mm rectangular section.", "5-sided polygon section, 17.8 mm across corners attachment, 13.5 mm long, from top face with a \u00d87.6 mm bore."], "text": "Lofted body through 2 sections: \u00d845 mm circular section \u2192 22.2 \u00d7 22.2 mm rectangular section. 5-sided polygon section, 17.8 mm across corners attachment, 13.5 mm long, from top face with a \u00d87.6 mm bore."}, "params": {"adapter_base": {"type": "float", "default": 45, "min": 27.0, "max": 67.5, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "adapter_top": {"type": "float", "default": 22.2, "min": 11.1, "max": 45, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "adapter_h": {"type": "float", "default": 47.6, "min": 19.0, "max": 95.2, "step": 1.0, "group": "Body", "label": "Transition height (mm)"}, "neck_sides": {"type": "int", "default": 5, "min": 3, "max": 8, "step": 1, "group": "Neck", "label": "Neck sides"}, "neck_r": {"type": "float", "default": 8.9, "min": 4.5, "max": 11.1, "step": 1.0, "group": "Neck", "label": "Neck circumradius (mm)"}, "neck_l": {"type": "float", "default": 13.5, "min": 5.4, "max": 33.8, "step": 1.0, "group": "Neck", "label": "Neck length (mm)"}, "neck_bore": {"type": "float", "default": 7.6, "min": 2.0, "max": 10.4, "step": 0.5, "group": "Neck", "label": "Neck bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333698 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"adapter_base\": {\"type\": 'float', \"default\": 45, \"min\": 27.0, \"max\": 67.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"adapter_top\": {\"type\": 'float', \"default\": 22.2, \"min\": 11.1, \"max\": 45, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"adapter_h\": {\"type\": 'float', \"default\": 47.6, \"min\": 19.0, \"max\": 95.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Transition height (mm)'},\n    \"neck_sides\": {\"type\": 'int', \"default\": 5, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Neck', \"label\": 'Neck sides'},\n    \"neck_r\": {\"type\": 'float', \"default\": 8.9, \"min\": 4.5, \"max\": 11.1, \"step\": 1.0, \"group\": 'Neck', \"label\": 'Neck circumradius (mm)'},\n    \"neck_l\": {\"type\": 'float', \"default\": 13.5, \"min\": 5.4, \"max\": 33.8, \"step\": 1.0, \"group\": 'Neck', \"label\": 'Neck length (mm)'},\n    \"neck_bore\": {\"type\": 'float', \"default\": 7.6, \"min\": 2.0, \"max\": 10.4, \"step\": 0.5, \"group\": 'Neck', \"label\": 'Neck bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .circle(p[\"adapter_base\"] / 2)\n        .workplane(offset=p[\"adapter_h\"])\n        .rect(p[\"adapter_top\"], p[\"adapter_top\"])\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"neck_sides\"], p[\"neck_r\"] * 2).extrude(p[\"neck_l\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"neck_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462cafc3_5135", "family": "sketched", "tier": 1, "seed": 1177333699, "symmetry": "none", "op_count": 1, "ir_hash": "d75a35271010952f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 12300.0, "surface_area": 5610.0, "principal_moments": [1280000.0, 1280000.0, 1360000.0], "n_faces": 8, "n_edges": 14, "n_vertices": 8}, "dimensions": {"lines": ["Revolved organic body from a freeform sketched section (7 segments: 5 straight, 1 arc, 1 curve), ~17.395 \u00d7 25 mm half-silhouette."], "text": "Revolved organic body from a freeform sketched section (7 segments: 5 straight, 1 arc, 1 curve), ~17.395 \u00d7 25 mm half-silhouette."}, "params": {"sk_r": {"type": "float", "default": 18.92, "min": 9.5, "max": 34.1, "step": 1.0, "group": "Sketch", "label": "Max radius (mm)"}, "sk_h": {"type": "float", "default": 25, "min": 12.5, "max": 45.0, "step": 1.0, "group": "Sketch", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333699 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_r\": {\"type\": 'float', \"default\": 18.92, \"min\": 9.5, \"max\": 34.1, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Max radius (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 25, \"min\": 12.5, \"max\": 45.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XZ').moveTo(p[\"sk_r\"] * 0.7405, p[\"sk_h\"] * 0.0).bezier([(p[\"sk_r\"] * 0.7405, p[\"sk_h\"] * 0.0), (p[\"sk_r\"] * 0.5552, p[\"sk_h\"] * 0.134), (p[\"sk_r\"] * 0.4111, p[\"sk_h\"] * 0.268)]).lineTo(p[\"sk_r\"] * 0.988, p[\"sk_h\"] * 0.4123).lineTo(p[\"sk_r\"] * 0.9093, p[\"sk_h\"] * 0.5552).threePointArc((p[\"sk_r\"] * 0.6412, p[\"sk_h\"] * 0.6016), (p[\"sk_r\"] * 0.1781, p[\"sk_h\"] * 0.6479)).lineTo(p[\"sk_r\"] * 0.8791, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.0686, p[\"sk_h\"] * 1.0).lineTo(p[\"sk_r\"] * 0.0686, p[\"sk_h\"] * 0.0).close().revolve())\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462cafc4_5136", "family": "compound", "tier": 1, "seed": 1177333700, "symmetry": "none", "op_count": 3, "ir_hash": "25225493ad88b961", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 62300.0, "surface_area": 14200.0, "principal_moments": [22000000.0, 22600000.0, 29199999.999999996], "n_faces": 13, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Rectangular body, 54.25 \u00d7 55.3 \u00d7 20 mm (W\u00d7D\u00d7H).", "\u00d810.7 mm circular section attachment, 53.6 mm long, from top face with a \u00d84.9 mm bore.", "Four \u00d84.3 mm holes at the corners, 37.975 \u00d7 38.71 mm spacing."], "text": "Rectangular body, 54.25 \u00d7 55.3 \u00d7 20 mm (W\u00d7D\u00d7H). \u00d810.7 mm circular section attachment, 53.6 mm long, from top face with a \u00d84.9 mm bore. Four \u00d84.3 mm holes at the corners, 37.975 \u00d7 38.71 mm spacing."}, "params": {"base_w": {"type": "float", "default": 54.25, "min": 30.0, "max": 160.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 55.3, "min": 25.0, "max": 160.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_h": {"type": "float", "default": 20.0, "min": 3.0, "max": 30.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "col_d": {"type": "float", "default": 10.7, "min": 4.3, "max": 27.1, "step": 1.0, "group": "Column", "label": "Column diameter (mm)"}, "col_h": {"type": "float", "default": 53.6, "min": 16.1, "max": 160.8, "step": 1.0, "group": "Column", "label": "Column height (mm)"}, "col_bore": {"type": "float", "default": 4.9, "min": 2.0, "max": 7.7, "step": 0.5, "group": "Column", "label": "Column bore diameter (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 12.2, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333700 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 54.25, \"min\": 30.0, \"max\": 160.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 55.3, \"min\": 25.0, \"max\": 160.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_h\": {\"type\": 'float', \"default\": 20.0, \"min\": 3.0, \"max\": 30.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"col_d\": {\"type\": 'float', \"default\": 10.7, \"min\": 4.3, \"max\": 27.1, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column diameter (mm)'},\n    \"col_h\": {\"type\": 'float', \"default\": 53.6, \"min\": 16.1, \"max\": 160.8, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column height (mm)'},\n    \"col_bore\": {\"type\": 'float', \"default\": 4.9, \"min\": 2.0, \"max\": 7.7, \"step\": 0.5, \"group\": 'Column', \"label\": 'Column bore diameter (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 12.2, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_h\"])\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"col_d\"] / 2).extrude(p[\"col_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"col_bore\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"base_w\"] * 0.7, p[\"base_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462cafc5_5137", "family": "compound", "tier": 2, "seed": 1177333701, "symmetry": "none", "op_count": 5, "ir_hash": "13ee63092cdb017d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 84000.0, "surface_area": 14100.0, "principal_moments": [24599999.999999996, 26999999.999999996, 32999999.999999996], "n_faces": 21, "n_edges": 49, "n_vertices": 31}, "dimensions": {"lines": ["Rectangular body, 50 \u00d7 36.3 \u00d7 46.7 mm (W\u00d7D\u00d7H).", "\u00d87.9 mm circular section attachment, 6.3 mm long, from right face with a \u00d83.4 mm bore.", "\u00d87.9 mm circular section attachment, 6.3 mm long, from left face with a \u00d83.4 mm bore.", "\u00d87.9 mm circular section attachment, 6.3 mm long, from front face with a \u00d83.4 mm bore.", "Four \u00d83.2 mm holes at the corners, 35 \u00d7 25.41 mm spacing."], "text": "Rectangular body, 50 \u00d7 36.3 \u00d7 46.7 mm (W\u00d7D\u00d7H). \u00d87.9 mm circular section attachment, 6.3 mm long, from right face with a \u00d83.4 mm bore. \u00d87.9 mm circular section attachment, 6.3 mm long, from left face with a \u00d83.4 mm bore. \u00d87.9 mm circular section attachment, 6.3 mm long, from front face with a \u00d83.4 mm bore. Four \u00d83.2 mm holes at the corners, 35 \u00d7 25.41 mm spacing."}, "params": {"block_w": {"type": "float", "default": 50, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body width (mm)"}, "block_d": {"type": "float", "default": 36.3, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body depth (mm)"}, "block_h": {"type": "float", "default": 46.7, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body height (mm)"}, "port_d": {"type": "float", "default": 7.9, "min": 3.2, "max": 16.3, "step": 1.0, "group": "Ports", "label": "Ports diameter (mm)"}, "port_len": {"type": "float", "default": 6.3, "min": 2.0, "max": 23.7, "step": 1.0, "group": "Ports", "label": "Port boss length (mm)"}, "port_bore": {"type": "float", "default": 3.4, "min": 2.0, "max": 5.7, "step": 0.5, "group": "Ports", "label": "Port bore diameter (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 8.2, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333701 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 50, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 36.3, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 46.7, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body height (mm)'},\n    \"port_d\": {\"type\": 'float', \"default\": 7.9, \"min\": 3.2, \"max\": 16.3, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Ports diameter (mm)'},\n    \"port_len\": {\"type\": 'float', \"default\": 6.3, \"min\": 2.0, \"max\": 23.7, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Port boss length (mm)'},\n    \"port_bore\": {\"type\": 'float', \"default\": 3.4, \"min\": 2.0, \"max\": 5.7, \"step\": 0.5, \"group\": 'Ports', \"label\": 'Port bore diameter (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 8.2, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462cafc6_5138", "family": "tapped", "tier": 1, "seed": 1177333702, "symmetry": "none", "op_count": 1, "ir_hash": "c18e4b129e761360", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 87400.0, "surface_area": 18600.0, "principal_moments": [35500000.0, 41400000.0, 71500000.0], "n_faces": 506, "n_edges": 1424, "n_vertices": 920}, "dimensions": {"lines": ["Four M12x1.75 tapped holes in a plate."], "text": "Four M12x1.75 tapped holes in a plate."}, "params": {"major_d": {"type": "float", "default": 12.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 1.75, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 19.2, "min": 14.4, "max": 34.6, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "plate_w": {"type": "float", "default": 73.2, "min": 43.9, "max": 117.1, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 67.4, "min": 40.4, "max": 107.8, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333702 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 12.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.75, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 19.2, \"min\": 14.4, \"max\": 34.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"plate_w\": {\"type\": 'float', \"default\": 73.2, \"min\": 43.9, \"max\": 117.1, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 67.4, \"min\": 40.4, \"max\": 107.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n}\n\n\ndef build(p):\n\n    _W, _D, _H = p[\"plate_w\"], p[\"plate_d\"], p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Box(_W, _D, _H)\n    _sx, _sy = p[\"plate_w\"] * 0.6, p[\"plate_d\"] * 0.6\n    _locs = [(_xx, _yy) for _xx in (-_sx / 2, _sx / 2) for _yy in (-_sy / 2, _sy / 2)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462cafc7_5139", "family": "compound", "tier": 1, "seed": 1177333703, "symmetry": "mirror_xy", "op_count": 3, "ir_hash": "c923462e698a68aa", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 50700.0, "surface_area": 9320.0, "principal_moments": [8680000.0, 14699999.999999998, 15099999.999999998], "n_faces": 22, "n_edges": 57, "n_vertices": 37}, "dimensions": {"lines": ["Rectangular body, 49.79 \u00d7 32.6 \u00d7 31.3 mm (W\u00d7D\u00d7H).", "5-sided polygon section, 6 mm across corners attachment, 6.7 mm long, from right face with a \u00d82.4 mm bore.", "5-sided polygon section, 6 mm across corners attachment, 6.7 mm long, from front face with a \u00d82.4 mm bore."], "text": "Rectangular body, 49.79 \u00d7 32.6 \u00d7 31.3 mm (W\u00d7D\u00d7H). 5-sided polygon section, 6 mm across corners attachment, 6.7 mm long, from right face with a \u00d82.4 mm bore. 5-sided polygon section, 6 mm across corners attachment, 6.7 mm long, from front face with a \u00d82.4 mm bore."}, "params": {"block_w": {"type": "float", "default": 49.79, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body width (mm)"}, "block_d": {"type": "float", "default": 32.6, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body depth (mm)"}, "block_h": {"type": "float", "default": 31.3, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body height (mm)"}, "port_sides": {"type": "int", "default": 5, "min": 3, "max": 8, "step": 1, "group": "Ports", "label": "Ports sides"}, "port_r": {"type": "float", "default": 3.0, "min": 1.5, "max": 7.0, "step": 1.0, "group": "Ports", "label": "Ports circumradius (mm)"}, "port_len": {"type": "float", "default": 6.7, "min": 1.2, "max": 14.6, "step": 1.0, "group": "Ports", "label": "Port boss length (mm)"}, "port_bore": {"type": "float", "default": 2.4, "min": 2.0, "max": 3.5, "step": 0.5, "group": "Ports", "label": "Port bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333703 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 49.79, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 32.6, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 31.3, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body height (mm)'},\n    \"port_sides\": {\"type\": 'int', \"default\": 5, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Ports', \"label\": 'Ports sides'},\n    \"port_r\": {\"type\": 'float', \"default\": 3.0, \"min\": 1.5, \"max\": 7.0, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Ports circumradius (mm)'},\n    \"port_len\": {\"type\": 'float', \"default\": 6.7, \"min\": 1.2, \"max\": 14.6, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Port boss length (mm)'},\n    \"port_bore\": {\"type\": 'float', \"default\": 2.4, \"min\": 2.0, \"max\": 3.5, \"step\": 0.5, \"group\": 'Ports', \"label\": 'Port bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"port_sides\"], p[\"port_r\"] * 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"port_sides\"], p[\"port_r\"] * 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462cafc8_5140", "family": "compound", "tier": 1, "seed": 1177333704, "symmetry": "none", "op_count": 2, "ir_hash": "2793e8e330b75b4d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 61000.0, "surface_area": 11800.0, "principal_moments": [18400000.0, 18400000.0, 19200000.0], "n_faces": 10, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["Lofted body through 2 sections: 55 \u00d7 55 mm rectangular section \u2192 \u00d829.5 mm circular section.", "\u00d819.5 mm circular section attachment, 19.2 mm long, from top face with a \u00d88.2 mm bore."], "text": "Lofted body through 2 sections: 55 \u00d7 55 mm rectangular section \u2192 \u00d829.5 mm circular section. \u00d819.5 mm circular section attachment, 19.2 mm long, from top face with a \u00d88.2 mm bore."}, "params": {"adapter_base": {"type": "float", "default": 55, "min": 33.0, "max": 82.5, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "adapter_top": {"type": "float", "default": 29.5, "min": 14.8, "max": 55, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "adapter_h": {"type": "float", "default": 33.7, "min": 13.5, "max": 67.4, "step": 1.0, "group": "Body", "label": "Transition height (mm)"}, "neck_d": {"type": "float", "default": 19.5, "min": 7.8, "max": 29.5, "step": 1.0, "group": "Neck", "label": "Neck diameter (mm)"}, "neck_l": {"type": "float", "default": 19.2, "min": 7.7, "max": 48.0, "step": 1.0, "group": "Neck", "label": "Neck length (mm)"}, "neck_bore": {"type": "float", "default": 8.2, "min": 2.0, "max": 14.0, "step": 0.5, "group": "Neck", "label": "Neck bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333704 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"adapter_base\": {\"type\": 'float', \"default\": 55, \"min\": 33.0, \"max\": 82.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"adapter_top\": {\"type\": 'float', \"default\": 29.5, \"min\": 14.8, \"max\": 55, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"adapter_h\": {\"type\": 'float', \"default\": 33.7, \"min\": 13.5, \"max\": 67.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Transition height (mm)'},\n    \"neck_d\": {\"type\": 'float', \"default\": 19.5, \"min\": 7.8, \"max\": 29.5, \"step\": 1.0, \"group\": 'Neck', \"label\": 'Neck diameter (mm)'},\n    \"neck_l\": {\"type\": 'float', \"default\": 19.2, \"min\": 7.7, \"max\": 48.0, \"step\": 1.0, \"group\": 'Neck', \"label\": 'Neck length (mm)'},\n    \"neck_bore\": {\"type\": 'float', \"default\": 8.2, \"min\": 2.0, \"max\": 14.0, \"step\": 0.5, \"group\": 'Neck', \"label\": 'Neck bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .rect(p[\"adapter_base\"], p[\"adapter_base\"])\n        .workplane(offset=p[\"adapter_h\"])\n        .circle(p[\"adapter_top\"] / 2)\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"neck_d\"] / 2).extrude(p[\"neck_l\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"neck_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462cafc9_5141", "family": "bracket", "tier": 2, "seed": 1177333705, "symmetry": "none", "op_count": 1, "ir_hash": "bf62ef6d0f0f9ae4", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 48800.0, "surface_area": 14900.0, "principal_moments": [15499999.999999998, 38500000.0, 39200000.0], "n_faces": 15, "n_edges": 41, "n_vertices": 26}, "dimensions": {"lines": ["L-bracket: base leg 67.15 mm, vertical leg 68.7 mm, 44.2 mm wide, 8 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 9 mm corner gusset."], "text": "L-bracket: base leg 67.15 mm, vertical leg 68.7 mm, 44.2 mm wide, 8 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 9 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 67.15, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 68.7, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 44.2, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 8.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 9.0, "min": 4.0, "max": 22.1, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333705 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 67.15, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 68.7, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 44.2, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 9.0, \"min\": 4.0, \"max\": 22.1, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462cafca_5142", "family": "revolved", "tier": 1, "seed": 1177333706, "symmetry": "none", "op_count": 2, "ir_hash": "43092f4776e5db68", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 10100.0, "surface_area": 4050.0, "principal_moments": [946000.0, 1050000.0, 1050000.0], "n_faces": 5, "n_edges": 8, "n_vertices": 5}, "dimensions": {"lines": ["Revolved body, \u00d825 mm \u00d7 31.2 mm tall.", "Chamfer 1.2 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d825 mm \u00d7 31.2 mm tall. Chamfer 1.2 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 25, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 31.2, "min": 9.4, "max": 93.6, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "end_chamfer": {"type": "float", "default": 1.2, "min": 0.1, "max": 3.6, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333706 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 25, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 31.2, \"min\": 9.4, \"max\": 93.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 1.2, \"min\": 0.1, \"max\": 3.6, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462cafcb_5143", "family": "revolved", "tier": 1, "seed": 1177333707, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "586ae0dc9e73a170", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 74600.0, "surface_area": 17000.0, "principal_moments": [16099999.999999998, 79000000.0, 79000000.0], "n_faces": 6, "n_edges": 9, "n_vertices": 6}, "dimensions": {"lines": ["Revolved body, \u00d827.63 mm \u00d7 98.2 mm tall with \u00d89.2 mm bore, \u00d854.9 mm \u00d7 12.6 mm flange."], "text": "Revolved body, \u00d827.63 mm \u00d7 98.2 mm tall with \u00d89.2 mm bore, \u00d854.9 mm \u00d7 12.6 mm flange."}, "params": {"outer_d": {"type": "float", "default": 27.63, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 98.2, "min": 29.5, "max": 294.6, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 9.2, "min": 2.0, "max": 19.3, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 54.9, "min": 33.2, "max": 82.9, "step": 1.0, "group": "Body", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 12.6, "min": 3.8, "max": 49.1, "step": 0.5, "group": "Body", "label": "Flange height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333707 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 27.63, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 98.2, \"min\": 29.5, \"max\": 294.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 9.2, \"min\": 2.0, \"max\": 19.3, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 54.9, \"min\": 33.2, \"max\": 82.9, \"step\": 1.0, \"group\": 'Body', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 12.6, \"min\": 3.8, \"max\": 49.1, \"step\": 0.5, \"group\": 'Body', \"label\": 'Flange height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462cafcc_5144", "family": "revolved", "tier": 1, "seed": 1177333708, "symmetry": "radial", "op_count": 1, "ir_hash": "d0cbe01f9fd9eca5", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 162000.0, "surface_area": 26900.0, "principal_moments": [42100000.0, 259000000.0, 259000000.0], "n_faces": 4, "n_edges": 6, "n_vertices": 4}, "dimensions": {"lines": ["Revolved body, \u00d842.63 mm \u00d7 132.5 mm tall with \u00d816 mm bore."], "text": "Revolved body, \u00d842.63 mm \u00d7 132.5 mm tall with \u00d816 mm bore."}, "params": {"outer_d": {"type": "float", "default": 42.63, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 132.5, "min": 39.8, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 16.0, "min": 2.0, "max": 29.8, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333708 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 42.63, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 132.5, \"min\": 39.8, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 16.0, \"min\": 2.0, \"max\": 29.8, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462cafcd_5145", "family": "ribbed", "tier": 1, "seed": 1177333709, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "8516f8615f63bc29", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 10300.0, "surface_area": 5260.0, "principal_moments": [1160000.0, 2500000.0, 2760000.0], "n_faces": 22, "n_edges": 52, "n_vertices": 32}, "dimensions": {"lines": ["Rectangular body, 40 \u00d7 24.6 \u00d7 5 mm (W\u00d7D\u00d7H).", "Two ribs, 5 mm thick, 16.9 mm tall."], "text": "Rectangular body, 40 \u00d7 24.6 \u00d7 5 mm (W\u00d7D\u00d7H). Two ribs, 5 mm thick, 16.9 mm tall."}, "params": {"base_w": {"type": "float", "default": 40, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 24.6, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 5.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 2, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 16.9, "min": 6.8, "max": 33.8, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 5.0, "min": 1.0, "max": 12.5, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333709 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 40, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 24.6, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 2, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 16.9, \"min\": 6.8, \"max\": 33.8, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 1.0, \"max\": 12.5, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462cafce_5146", "family": "gear", "tier": 1, "seed": 1177333710, "symmetry": "none", "op_count": 1, "ir_hash": "7900e455b81e2c6b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 218000.0, "surface_area": 40600.0, "principal_moments": [248000000.0, 248000000.0, 485000000.0], "n_faces": 159, "n_edges": 471, "n_vertices": 314}, "dimensions": {"lines": ["Spur gear, module 5 mm, 26 teeth (pitch \u00d8130 mm), face width 17.4 mm, \u00d826.9 mm bore."], "text": "Spur gear, module 5 mm, 26 teeth (pitch \u00d8130 mm), face width 17.4 mm, \u00d826.9 mm bore."}, "params": {"module": {"type": "float", "default": 5.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 26, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 17.4, "min": 7.0, "max": 43.5, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "bore_d": {"type": "float", "default": 26.9, "min": 2.0, "max": 70.5, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333710 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 5.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 26, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 17.4, \"min\": 7.0, \"max\": 43.5, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 26.9, \"min\": 2.0, \"max\": 70.5, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462cafcf_5147", "family": "plate", "tier": 1, "seed": 1177333711, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "aa76fdeeebf4f7d0", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 16200.0, "surface_area": 8010.0, "principal_moments": [1830000.0, 10800000.0, 12599999.999999998], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 89.78 \u00d7 36.7 \u00d7 5 mm (W\u00d7D\u00d7H).", "Four \u00d84.3 mm holes at the corners, 62.846 \u00d7 25.69 mm spacing."], "text": "Rectangular body, 89.78 \u00d7 36.7 \u00d7 5 mm (W\u00d7D\u00d7H). Four \u00d84.3 mm holes at the corners, 62.846 \u00d7 25.69 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 89.78, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 36.7, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 5.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 8.3, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333711 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 89.78, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 36.7, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 5.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 8.3, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462cafd0_5148", "family": "compound", "tier": 2, "seed": 1177333712, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "1d6e71a80134507d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 52800.0, "surface_area": 11700.0, "principal_moments": [12399999.999999998, 18400000.0, 18400000.0], "n_faces": 11, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["6-sided polygon section, 50 mm across corners, extruded 27.7 mm thick.", "\u00d821.5 mm circular section attachment, 36.2 mm long, from top face with a \u00d810.3 mm bore."], "text": "6-sided polygon section, 50 mm across corners, extruded 27.7 mm thick. \u00d821.5 mm circular section attachment, 36.2 mm long, from top face with a \u00d810.3 mm bore."}, "params": {"base_sides": {"type": "int", "default": 6, "min": 3, "max": 8, "step": 1, "group": "Base", "label": "Base sides"}, "base_r": {"type": "float", "default": 25, "min": 15.0, "max": 40.0, "step": 1.0, "group": "Base", "label": "Base circumradius (mm)"}, "base_h": {"type": "float", "default": 27.7, "min": 11.1, "max": 69.2, "step": 1.0, "group": "Base", "label": "Base height (mm)"}, "col_d": {"type": "float", "default": 21.5, "min": 10.8, "max": 34.6, "step": 1.0, "group": "Column", "label": "Column diameter (mm)"}, "col_h": {"type": "float", "default": 36.2, "min": 10.9, "max": 90.5, "step": 1.0, "group": "Column", "label": "Column height (mm)"}, "col_bore": {"type": "float", "default": 10.3, "min": 2.0, "max": 15.5, "step": 0.5, "group": "Column", "label": "Column bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333712 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_sides\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Base', \"label\": 'Base sides'},\n    \"base_r\": {\"type\": 'float', \"default\": 25, \"min\": 15.0, \"max\": 40.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base circumradius (mm)'},\n    \"base_h\": {\"type\": 'float', \"default\": 27.7, \"min\": 11.1, \"max\": 69.2, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base height (mm)'},\n    \"col_d\": {\"type\": 'float', \"default\": 21.5, \"min\": 10.8, \"max\": 34.6, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column diameter (mm)'},\n    \"col_h\": {\"type\": 'float', \"default\": 36.2, \"min\": 10.9, \"max\": 90.5, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column height (mm)'},\n    \"col_bore\": {\"type\": 'float', \"default\": 10.3, \"min\": 2.0, \"max\": 15.5, \"step\": 0.5, \"group\": 'Column', \"label\": 'Column bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').polygon(p[\"base_sides\"], p[\"base_r\"] * 2).extrude(p[\"base_h\"]))\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"col_d\"] / 2).extrude(p[\"col_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"col_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462cafd1_5149", "family": "plate", "tier": 2, "seed": 1177333713, "symmetry": "none", "op_count": 3, "ir_hash": "f8dd082b4e90becd", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 9160.0, "surface_area": 3540.0, "principal_moments": [397000.0, 2250000.0, 2550000.0], "n_faces": 30, "n_edges": 84, "n_vertices": 56}, "dimensions": {"lines": ["Rectangular body, 53.72 \u00d7 21.6 \u00d7 8 mm (W\u00d7D\u00d7H).", "Five \u00d82.1 mm holes in two staggered rows, 20.1 \u00d7 20.7 mm pitch.", "Fillet radius 0.922 mm on vertical edges."], "text": "Rectangular body, 53.72 \u00d7 21.6 \u00d7 8 mm (W\u00d7D\u00d7H). Five \u00d82.1 mm holes in two staggered rows, 20.1 \u00d7 20.7 mm pitch. Fillet radius 0.922 mm on vertical edges."}, "params": {"plate_w": {"type": "float", "default": 53.72, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 21.6, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 2.1, "min": 2.0, "max": 2.2, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 3, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333713 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 53.72, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 21.6, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 2.1, \"min\": 2.0, \"max\": 2.2, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 3, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 20.1\n    _ssy = 20.7\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"plate_w\"], p[\"plate_d\"]) * 0.04269903612727402)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462cafd2_5150", "family": "tapped", "tier": 2, "seed": 1177333714, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "eb50dbe64a610ec5", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 53800.0, "surface_area": 11400.0, "principal_moments": [11300000.0, 17900000.0, 25599999.999999996], "n_faces": 810, "n_edges": 2224, "n_vertices": 1416}, "dimensions": {"lines": ["Four M5x0.8 tapped holes in a plate."], "text": "Four M5x0.8 tapped holes in a plate."}, "params": {"major_d": {"type": "float", "default": 5.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 0.8, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 19.9, "min": 6.0, "max": 35.8, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "plate_w": {"type": "float", "default": 60, "min": 36.0, "max": 96.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 46.1, "min": 27.7, "max": 73.8, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333714 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 0.8, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 19.9, \"min\": 6.0, \"max\": 35.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"plate_w\": {\"type\": 'float', \"default\": 60, \"min\": 36.0, \"max\": 96.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 46.1, \"min\": 27.7, \"max\": 73.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n}\n\n\ndef build(p):\n\n    _W, _D, _H = p[\"plate_w\"], p[\"plate_d\"], p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Box(_W, _D, _H)\n    _sx, _sy = p[\"plate_w\"] * 0.6, p[\"plate_d\"] * 0.6\n    _locs = [(_xx, _yy) for _xx in (-_sx / 2, _sx / 2) for _yy in (-_sy / 2, _sy / 2)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462cafd3_5151", "family": "bracket", "tier": 1, "seed": 1177333715, "symmetry": "none", "op_count": 1, "ir_hash": "f79f3ad746e4f883", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 13600.0, "surface_area": 6820.0, "principal_moments": [1920000.0, 6500000.0, 6650000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["L-bracket: base leg 60 mm, vertical leg 37 mm, 30 mm wide, 5 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."], "text": "L-bracket: base leg 60 mm, vertical leg 37 mm, 30 mm wide, 5 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 60, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 37.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 30, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 5.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333715 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 60, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 37.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 30, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462cafd4_5152", "family": "flanged", "tier": 2, "seed": 1177333716, "symmetry": "none", "op_count": 2, "ir_hash": "57e8e84127d56007", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 309000.0, "surface_area": 56200.0, "principal_moments": [401000000.0, 401000000.0, 609000000.0], "n_faces": 14, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["Revolved body, \u00d865 mm \u00d7 60 mm tall with \u00d829 mm bore, \u00d8151.3 mm \u00d7 10.3 mm flange.", "Eight \u00d85.3 mm holes on a \u00d890.8 mm bolt circle."], "text": "Revolved body, \u00d865 mm \u00d7 60 mm tall with \u00d829 mm bore, \u00d8151.3 mm \u00d7 10.3 mm flange. Eight \u00d85.3 mm holes on a \u00d890.8 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 65, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 60.0, "min": 18.0, "max": 150.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 29.0, "min": 2.0, "max": 45.5, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 151.3, "min": 84.5, "max": 195.0, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 10.3, "min": 3.1, "max": 24.0, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 45.4, "min": 30.3, "max": 68.1, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 8, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333716 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 65, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 60.0, \"min\": 18.0, \"max\": 150.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 29.0, \"min\": 2.0, \"max\": 45.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 151.3, \"min\": 84.5, \"max\": 195.0, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 10.3, \"min\": 3.1, \"max\": 24.0, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 45.4, \"min\": 30.3, \"max\": 68.1, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462cafd5_5153", "family": "plate", "tier": 0, "seed": 1177333717, "symmetry": "none", "op_count": 1, "ir_hash": "f8298bcba905147f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 28800.0, "surface_area": 11300.0, "principal_moments": [6490000.0, 20700000.0, 26999999.999999996], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 92.71 \u00d7 51.7 \u00d7 6 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 92.71 \u00d7 51.7 \u00d7 6 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 92.71, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 51.7, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 6.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333717 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 92.71, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 51.7, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462cafd6_5154", "family": "revolved", "tier": 1, "seed": 1177333718, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "cde41632da96dade", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 180000.0, "surface_area": 25200.0, "principal_moments": [62599999.99999999, 191000000.0, 191000000.0], "n_faces": 4, "n_edges": 6, "n_vertices": 4}, "dimensions": {"lines": ["Revolved body, \u00d850 mm \u00d7 103.3 mm tall with \u00d816.9 mm bore."], "text": "Revolved body, \u00d850 mm \u00d7 103.3 mm tall with \u00d816.9 mm bore."}, "params": {"outer_d": {"type": "float", "default": 50, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 103.3, "min": 31.0, "max": 309.9, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 16.9, "min": 2.0, "max": 35.0, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333718 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 50, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 103.3, \"min\": 31.0, \"max\": 309.9, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 16.9, \"min\": 2.0, \"max\": 35.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462cafd7_5155", "family": "compound", "tier": 3, "seed": 1177333719, "symmetry": "none", "op_count": 3, "ir_hash": "cf506b3e73ed8b46", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 142000.0, "surface_area": 17100.0, "principal_moments": [31899999.999999996, 142000000.0, 142000000.0], "n_faces": 6, "n_edges": 8, "n_vertices": 5}, "dimensions": {"lines": ["\u00d845 mm circular section, extruded 75.2 mm thick.", "\u00d825.9 mm circular section attachment, 43.2 mm long, from top face.", "Chamfer 2.9 mm on bottom edges."], "text": "\u00d845 mm circular section, extruded 75.2 mm thick. \u00d825.9 mm circular section attachment, 43.2 mm long, from top face. Chamfer 2.9 mm on bottom edges."}, "params": {"shaft_d": {"type": "float", "default": 45, "min": 22.5, "max": 81.0, "step": 1.0, "group": "Body", "label": "Shaft diameter (mm)"}, "shaft_len": {"type": "float", "default": 75.2, "min": 30.1, "max": 150.4, "step": 1.0, "group": "Body", "label": "Shaft length (mm)"}, "step_d": {"type": "float", "default": 25.9, "min": 12.9, "max": 40.5, "step": 1.0, "group": "Step", "label": "Step diameter (mm)"}, "step_len": {"type": "float", "default": 43.2, "min": 13.0, "max": 108.0, "step": 1.0, "group": "Step", "label": "Step length (mm)"}, "chamfer_d": {"type": "float", "default": 2.9, "min": 0.5, "max": 3.0, "step": 0.5, "group": "Body", "label": "Chamfer distance (mm)"}, "chamfered": {"type": "bool", "default": true, "group": "Body", "label": "Chamfer edges"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333719 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"shaft_d\": {\"type\": 'float', \"default\": 45, \"min\": 22.5, \"max\": 81.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft diameter (mm)'},\n    \"shaft_len\": {\"type\": 'float', \"default\": 75.2, \"min\": 30.1, \"max\": 150.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft length (mm)'},\n    \"step_d\": {\"type\": 'float', \"default\": 25.9, \"min\": 12.9, \"max\": 40.5, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step diameter (mm)'},\n    \"step_len\": {\"type\": 'float', \"default\": 43.2, \"min\": 13.0, \"max\": 108.0, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step length (mm)'},\n    \"chamfer_d\": {\"type\": 'float', \"default\": 2.9, \"min\": 0.5, \"max\": 3.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Chamfer distance (mm)'},\n    \"chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Chamfer edges'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').circle(p[\"shaft_d\"] / 2).extrude(p[\"shaft_len\"]))\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"step_d\"] / 2).extrude(p[\"step_len\"])\n    )\n    if p[\"chamfered\"]:\n        result = result.edges('<Z').chamfer(p[\"chamfer_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462cafd8_5156", "family": "tapped", "tier": 1, "seed": 1177333720, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "2ad44e95b6a9553e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 62800.0, "surface_area": 15300.0, "principal_moments": [14499999.999999998, 28699999.999999996, 39400000.0], "n_faces": 506, "n_edges": 1424, "n_vertices": 920}, "dimensions": {"lines": ["Four M12x1.75 tapped holes in a plate."], "text": "Four M12x1.75 tapped holes in a plate."}, "params": {"major_d": {"type": "float", "default": 12.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 1.75, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 19.2, "min": 14.4, "max": 34.6, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "plate_w": {"type": "float", "default": 72.94, "min": 43.8, "max": 116.7, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 50.1, "min": 30.1, "max": 80.2, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333720 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 12.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.75, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 19.2, \"min\": 14.4, \"max\": 34.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"plate_w\": {\"type\": 'float', \"default\": 72.94, \"min\": 43.8, \"max\": 116.7, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 50.1, \"min\": 30.1, \"max\": 80.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n}\n\n\ndef build(p):\n\n    _W, _D, _H = p[\"plate_w\"], p[\"plate_d\"], p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Box(_W, _D, _H)\n    _nx, _ny = max(1, int(2)), max(1, int(2))\n    _sx, _sy = p[\"plate_w\"] * 0.66, p[\"plate_d\"] * 0.66\n    _locs = [(_sx * (_i - (_nx - 1) / 2), _sy * (_j - (_ny - 1) / 2))\n             for _i in range(_nx) for _j in range(_ny)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462cafd9_5157", "family": "block", "tier": 2, "seed": 1177333721, "symmetry": "none", "op_count": 3, "ir_hash": "f7e23b79e9ce092e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 112000.0, "surface_area": 23000.0, "principal_moments": [42200000.0, 61699999.99999999, 85000000.0], "n_faces": 18, "n_edges": 45, "n_vertices": 30}, "dimensions": {"lines": ["Rectangular body, 70.87 \u00d7 30.5 \u00d7 60.9 mm (W\u00d7D\u00d7H).", "Seven \u00d82.7 mm holes in two staggered rows, 17.7 \u00d7 21.2 mm pitch.", "Pocket 38.9 \u00d7 17.5 mm, 24.6 mm deep, in top face."], "text": "Rectangular body, 70.87 \u00d7 30.5 \u00d7 60.9 mm (W\u00d7D\u00d7H). Seven \u00d82.7 mm holes in two staggered rows, 17.7 \u00d7 21.2 mm pitch. Pocket 38.9 \u00d7 17.5 mm, 24.6 mm deep, in top face."}, "params": {"block_w": {"type": "float", "default": 70.87, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 30.5, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 60.9, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 2.7, "min": 2.0, "max": 3.1, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 4, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}, "pocket_w": {"type": "float", "default": 38.9, "min": 19.4, "max": 56.7, "step": 1.0, "group": "Pocket", "label": "Pocket width (mm)"}, "pocket_d": {"type": "float", "default": 17.5, "min": 8.8, "max": 24.4, "step": 1.0, "group": "Pocket", "label": "Pocket depth (mm)"}, "pocket_h": {"type": "float", "default": 24.6, "min": 9.8, "max": 51.8, "step": 0.5, "group": "Pocket", "label": "Pocket height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333721 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 70.87, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 30.5, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 60.9, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 2.7, \"min\": 2.0, \"max\": 3.1, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 4, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n    \"pocket_w\": {\"type\": 'float', \"default\": 38.9, \"min\": 19.4, \"max\": 56.7, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket width (mm)'},\n    \"pocket_d\": {\"type\": 'float', \"default\": 17.5, \"min\": 8.8, \"max\": 24.4, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket depth (mm)'},\n    \"pocket_h\": {\"type\": 'float', \"default\": 24.6, \"min\": 9.8, \"max\": 51.8, \"step\": 0.5, \"group\": 'Pocket', \"label\": 'Pocket height (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 17.7\n    _ssy = 21.2\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"pocket_w\"], p[\"pocket_d\"])\n        .cutBlind(-p[\"pocket_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462cafda_5158", "family": "bracket", "tier": 2, "seed": 1177333722, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "c6e231b5c1ad3d23", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 9840.0, "surface_area": 6070.0, "principal_moments": [977000.0, 5920000.0, 6260000.0], "n_faces": 18, "n_edges": 48, "n_vertices": 32}, "dimensions": {"lines": ["Z-bracket: base leg 49.61 mm, vertical leg 40.8 mm, top leg 36.6 mm, 20 mm wide, 4 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg; 5.1 mm corner gusset."], "text": "Z-bracket: base leg 49.61 mm, vertical leg 40.8 mm, top leg 36.6 mm, 20 mm wide, 4 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg; 5.1 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 49.61, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 40.8, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 20, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 4.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 36.6, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 8.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}, "gusset_t": {"type": "float", "default": 5.1, "min": 2.0, "max": 10.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333722 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 49.61, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 40.8, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 20, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 36.6, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 8.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 5.1, \"min\": 2.0, \"max\": 10.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _tl, _vl) * 0.4 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(0, _vl - _bt).lineTo(-_g, _vl - _bt)\n                    .lineTo(0, _vl - _bt - _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462cafdb_5159", "family": "plate", "tier": 2, "seed": 1177333723, "symmetry": "none", "op_count": 3, "ir_hash": "3005ca0a995bb572", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 22500.0, "surface_area": 6560.0, "principal_moments": [1650000.0, 9320000.0, 10400000.0], "n_faces": 14, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 70 \u00d7 27.3 \u00d7 12 mm (W\u00d7D\u00d7H).", "Four \u00d83.2 mm holes in a 2\u00d72 grid, 56 \u00d7 21.8 mm pitch.", "Fillet radius 0.75 mm on vertical edges."], "text": "Rectangular body, 70 \u00d7 27.3 \u00d7 12 mm (W\u00d7D\u00d7H). Four \u00d83.2 mm holes in a 2\u00d72 grid, 56 \u00d7 21.8 mm pitch. Fillet radius 0.75 mm on vertical edges."}, "params": {"plate_w": {"type": "float", "default": 70, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 27.3, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 3.3, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 2, "min": 1, "max": 4, "step": 1, "group": "Holes", "label": "Holes across"}, "hole_ny": {"type": "int", "default": 2, "min": 1, "max": 4, "step": 1, "group": "Holes", "label": "Holes deep"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333723 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 70, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 27.3, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 3.3, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 2, \"min\": 1, \"max\": 4, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes across'},\n    \"hole_ny\": {\"type\": 'int', \"default\": 2, \"min\": 1, \"max\": 4, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes deep'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(56.0, 21.8, p[\"hole_nx\"], p[\"hole_ny\"])\n        .hole(p[\"hole_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"plate_w\"], p[\"plate_d\"]) * 0.02747826627431283)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462cafdc_5160", "family": "flanged", "tier": 1, "seed": 1177333724, "symmetry": "radial", "op_count": 2, "ir_hash": "32805f1080db3bc2", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 18600.0, "surface_area": 8240.0, "principal_moments": [3540000.0, 3540000.0, 5510000.0], "n_faces": 17, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Revolved body, \u00d827.84 mm \u00d7 22 mm tall with \u00d811.6 mm bore, \u00d857.3 mm \u00d7 4.8 mm flange.", "Six \u00d88.4 mm holes on a \u00d834.4 mm bolt circle."], "text": "Revolved body, \u00d827.84 mm \u00d7 22 mm tall with \u00d811.6 mm bore, \u00d857.3 mm \u00d7 4.8 mm flange. Six \u00d88.4 mm holes on a \u00d834.4 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 27.84, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 22.0, "min": 6.6, "max": 55.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 11.6, "min": 2.0, "max": 19.5, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 57.3, "min": 36.2, "max": 83.5, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 4.8, "min": 1.4, "max": 8.8, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 8.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 17.2, "min": 11.5, "max": 25.8, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 6, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333724 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 27.84, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 22.0, \"min\": 6.6, \"max\": 55.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 11.6, \"min\": 2.0, \"max\": 19.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 57.3, \"min\": 36.2, \"max\": 83.5, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 4.8, \"min\": 1.4, \"max\": 8.8, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 17.2, \"min\": 11.5, \"max\": 25.8, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462cafdd_5161", "family": "revolved", "tier": 1, "seed": 1177333725, "symmetry": "none", "op_count": 2, "ir_hash": "4512e49f74e58d7d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 8170.0, "surface_area": 3940.0, "principal_moments": [490000.0, 983000.0, 983000.0], "n_faces": 5, "n_edges": 8, "n_vertices": 5}, "dimensions": {"lines": ["Revolved body, \u00d820 mm \u00d7 39.1 mm tall.", "Chamfer 0.7 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d820 mm \u00d7 39.1 mm tall. Chamfer 0.7 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 20, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 39.1, "min": 11.7, "max": 117.3, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "end_chamfer": {"type": "float", "default": 0.7, "min": 0.1, "max": 2.1, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333725 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 20, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 39.1, \"min\": 11.7, \"max\": 117.3, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 0.7, \"min\": 0.1, \"max\": 2.1, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(0, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462cafde_5162", "family": "gear", "tier": 1, "seed": 1177333726, "symmetry": "none", "op_count": 1, "ir_hash": "68e02a50336d397e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 9350.0, "surface_area": 4140.0, "principal_moments": [772000.0, 772000.0, 1320000.0], "n_faces": 81, "n_edges": 237, "n_vertices": 158}, "dimensions": {"lines": ["Spur gear, module 2.5 mm, 13 teeth (pitch \u00d832.5 mm), face width 11.9 mm, \u00d84.7 mm bore."], "text": "Spur gear, module 2.5 mm, 13 teeth (pitch \u00d832.5 mm), face width 11.9 mm, \u00d84.7 mm bore."}, "params": {"module": {"type": "float", "default": 2.5, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 13, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 11.9, "min": 4.8, "max": 29.8, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "bore_d": {"type": "float", "default": 4.7, "min": 2.0, "max": 15.8, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333726 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 2.5, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 13, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 11.9, \"min\": 4.8, \"max\": 29.8, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 4.7, \"min\": 2.0, \"max\": 15.8, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462cafdf_5163", "family": "bracket", "tier": 1, "seed": 1177333727, "symmetry": "none", "op_count": 1, "ir_hash": "7c7aff9f35e38f27", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 17100.0, "surface_area": 7370.0, "principal_moments": [2110000.0, 7360000.0, 7840000.0], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Z-bracket: base leg 35 mm, vertical leg 38.5 mm, top leg 34.4 mm, 30 mm wide, 6 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."], "text": "Z-bracket: base leg 35 mm, vertical leg 38.5 mm, top leg 34.4 mm, 30 mm wide, 6 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 35, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 38.5, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 30, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 6.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 34.4, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333727 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 35, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 38.5, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 30, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 34.4, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462cafe0_5164", "family": "bracket", "tier": 2, "seed": 1177333728, "symmetry": "none", "op_count": 1, "ir_hash": "4afccf00ef18d3db", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 17100.0, "surface_area": 8180.0, "principal_moments": [4030000.0, 4350000.0, 6710000.0], "n_faces": 15, "n_edges": 41, "n_vertices": 26}, "dimensions": {"lines": ["L-bracket: base leg 37.24 mm, vertical leg 35.2 mm, 50 mm wide, 5 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg; 4.5 mm corner gusset."], "text": "L-bracket: base leg 37.24 mm, vertical leg 35.2 mm, 50 mm wide, 5 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg; 4.5 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 37.24, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 35.2, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 50, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 5.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 4.5, "min": 2.5, "max": 15.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333728 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 37.24, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 35.2, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 50, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 4.5, \"min\": 2.5, \"max\": 15.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462cafe1_5165", "family": "compound", "tier": 2, "seed": 1177333729, "symmetry": "mirror_xy", "op_count": 5, "ir_hash": "311f78873e23b131", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 20100.0, "surface_area": 6130.0, "principal_moments": [2280000.0, 2800000.0, 2940000.0], "n_faces": 22, "n_edges": 53, "n_vertices": 34}, "dimensions": {"lines": ["Rectangular body, 31.62 \u00d7 24.1 \u00d7 26.8 mm (W\u00d7D\u00d7H).", "\u00d86.8 mm circular section attachment, 9.3 mm long, from left face with a \u00d84.2 mm bore.", "\u00d86.8 mm circular section attachment, 9.3 mm long, from back face with a \u00d84.2 mm bore.", "\u00d86.8 mm circular section attachment, 9.3 mm long, from front face with a \u00d84.2 mm bore.", "Four \u00d84.3 mm holes at the corners, 22.134 \u00d7 16.87 mm spacing."], "text": "Rectangular body, 31.62 \u00d7 24.1 \u00d7 26.8 mm (W\u00d7D\u00d7H). \u00d86.8 mm circular section attachment, 9.3 mm long, from left face with a \u00d84.2 mm bore. \u00d86.8 mm circular section attachment, 9.3 mm long, from back face with a \u00d84.2 mm bore. \u00d86.8 mm circular section attachment, 9.3 mm long, from front face with a \u00d84.2 mm bore. Four \u00d84.3 mm holes at the corners, 22.134 \u00d7 16.87 mm spacing."}, "params": {"block_w": {"type": "float", "default": 31.62, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body width (mm)"}, "block_d": {"type": "float", "default": 24.1, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body depth (mm)"}, "block_h": {"type": "float", "default": 26.8, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Body height (mm)"}, "port_d": {"type": "float", "default": 6.8, "min": 2.7, "max": 10.8, "step": 1.0, "group": "Ports", "label": "Ports diameter (mm)"}, "port_len": {"type": "float", "default": 9.3, "min": 1.7, "max": 20.4, "step": 1.0, "group": "Ports", "label": "Port boss length (mm)"}, "port_bore": {"type": "float", "default": 4.2, "min": 2.0, "max": 4.9, "step": 0.5, "group": "Ports", "label": "Port bore diameter (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 5.4, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333729 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 31.62, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 24.1, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 26.8, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Body height (mm)'},\n    \"port_d\": {\"type\": 'float', \"default\": 6.8, \"min\": 2.7, \"max\": 10.8, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Ports diameter (mm)'},\n    \"port_len\": {\"type\": 'float', \"default\": 9.3, \"min\": 1.7, \"max\": 20.4, \"step\": 1.0, \"group\": 'Ports', \"label\": 'Port boss length (mm)'},\n    \"port_bore\": {\"type\": 'float', \"default\": 4.2, \"min\": 2.0, \"max\": 4.9, \"step\": 0.5, \"group\": 'Ports', \"label\": 'Port bore diameter (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 5.4, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('>Y').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"port_d\"] / 2).extrude(p[\"port_len\"])\n    )\n    result = (\n        result.faces('<Y').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"port_bore\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462cafe2_5166", "family": "profiled", "tier": 1, "seed": 1177333730, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "e390bf85a9c6fe58", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 138000.0, "surface_area": 25000.0, "principal_moments": [15699999.999999998, 719000000.0, 728000000.0], "n_faces": 7, "n_edges": 15, "n_vertices": 10}, "dimensions": {"lines": ["freeform sketched section (5 segments: 2 straight, 2 arcs, 1 curve), ~20.174 \u00d7 38.391 mm, extruded 249.6 mm thick."], "text": "freeform sketched section (5 segments: 2 straight, 2 arcs, 1 curve), ~20.174 \u00d7 38.391 mm, extruded 249.6 mm thick."}, "params": {"sk_w": {"type": "float", "default": 31.65, "min": 15.8, "max": 57.0, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 56.49, "min": 28.2, "max": 101.7, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "length": {"type": "float", "default": 249.6, "min": 74.9, "max": 748.8, "step": 5.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333730 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 31.65, \"min\": 15.8, \"max\": 57.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 56.49, \"min\": 28.2, \"max\": 101.7, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 249.6, \"min\": 74.9, \"max\": 748.8, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.3631, p[\"sk_h\"] * 0.0235).bezier([(p[\"sk_w\"] * 0.3631, p[\"sk_h\"] * 0.0235), (p[\"sk_w\"] * 0.2381, p[\"sk_h\"] * 0.2414), (p[\"sk_w\"] * 0.0581, p[\"sk_h\"] * 0.4169)]).threePointArc((p[\"sk_w\"] * -0.1195, p[\"sk_h\"] * 0.3245), (p[\"sk_w\"] * -0.2743, p[\"sk_h\"] * 0.1855)).lineTo(p[\"sk_w\"] * -0.1918, p[\"sk_h\"] * -0.2562).threePointArc((p[\"sk_w\"] * -0.0043, p[\"sk_h\"] * -0.2841), (p[\"sk_w\"] * 0.1885, p[\"sk_h\"] * -0.2627)).lineTo(p[\"sk_w\"] * 0.3631, p[\"sk_h\"] * 0.0235).close().extrude(p[\"length\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462cafe3_5167", "family": "ribbed", "tier": 2, "seed": 1177333731, "symmetry": "none", "op_count": 3, "ir_hash": "dc99efb1c6517e7b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 24400.0, "surface_area": 8490.0, "principal_moments": [4620000.0, 5520000.0, 9320000.0], "n_faces": 24, "n_edges": 72, "n_vertices": 48}, "dimensions": {"lines": ["Rectangular body, 48.22 \u00d7 46.7 \u00d7 10 mm (W\u00d7D\u00d7H).", "Two ribs, 3.5 mm thick, 9.6 mm tall.", "Four \u00d84.3 mm holes at the corners, 33.754 \u00d7 32.69 mm spacing."], "text": "Rectangular body, 48.22 \u00d7 46.7 \u00d7 10 mm (W\u00d7D\u00d7H). Two ribs, 3.5 mm thick, 9.6 mm tall. Four \u00d84.3 mm holes at the corners, 33.754 \u00d7 32.69 mm spacing."}, "params": {"base_w": {"type": "float", "default": 48.22, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 46.7, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 10.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 2, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 9.6, "min": 3.8, "max": 19.2, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 3.5, "min": 1.0, "max": 8.8, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 10.5, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333731 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 48.22, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 46.7, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 2, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 9.6, \"min\": 3.8, \"max\": 19.2, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 3.5, \"min\": 1.0, \"max\": 8.8, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 10.5, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"base_w\"] * 0.7, p[\"base_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "swept_462cafe4_5168", "family": "swept", "tier": 1, "seed": 1177333732, "symmetry": "none", "op_count": 1, "ir_hash": "73615a4de4a926e8", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 8740.0, "surface_area": 4410.0, "principal_moments": [1200000.0, 7570000.0, 8640000.0], "n_faces": 3, "n_edges": 3, "n_vertices": 2}, "dimensions": {"lines": ["\u00d811 mm circular section swept along a curved path, ~100 mm span."], "text": "\u00d811 mm circular section swept along a curved path, ~100 mm span."}, "params": {"path_w": {"type": "float", "default": 80.0, "min": 40.0, "max": 144.0, "step": 1.0, "group": "Path", "label": "Path width (mm)"}, "path_h": {"type": "float", "default": 100, "min": 50.0, "max": 180.0, "step": 1.0, "group": "Path", "label": "Path length (mm)"}, "sweep_d": {"type": "float", "default": 11.0, "min": 5.5, "max": 19.8, "step": 1.0, "group": "Section", "label": "Section diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333732 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"path_w\": {\"type\": 'float', \"default\": 80.0, \"min\": 40.0, \"max\": 144.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path width (mm)'},\n    \"path_h\": {\"type\": 'float', \"default\": 100, \"min\": 50.0, \"max\": 180.0, \"step\": 1.0, \"group\": 'Path', \"label\": 'Path length (mm)'},\n    \"sweep_d\": {\"type\": 'float', \"default\": 11.0, \"min\": 5.5, \"max\": 19.8, \"step\": 1.0, \"group\": 'Section', \"label\": 'Section diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _path = cq.Workplane('XZ').spline([(p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.0), (p[\"path_w\"] * 0.1633, p[\"path_h\"] * 0.5262), (p[\"path_w\"] * 0.0, p[\"path_h\"] * 0.5819), (p[\"path_w\"] * 0.2694, p[\"path_h\"] * 1.0)])\n    result = (cq.Workplane('XY').circle(p[\"sweep_d\"] / 2).sweep(_path))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462cafe6_5170", "family": "bracket", "tier": 1, "seed": 1177333734, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "0dd52f4597f4890b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 18300.0, "surface_area": 7780.0, "principal_moments": [2740000.0, 6820000.0, 7870000.0], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Z-bracket: base leg 35.35 mm, vertical leg 40 mm, top leg 25 mm, 35 mm wide, 6 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."], "text": "Z-bracket: base leg 35.35 mm, vertical leg 40 mm, top leg 25 mm, 35 mm wide, 6 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 35.35, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 40.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 35, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 6.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 25.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333734 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 35.35, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 40.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 35, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 25.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462cafe7_5171", "family": "ribbed", "tier": 2, "seed": 1177333735, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "f9abd9ec8b8cdc34", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 8650.0, "surface_area": 5570.0, "principal_moments": [611000.0, 949000.0, 1330000.0], "n_faces": 54, "n_edges": 132, "n_vertices": 80}, "dimensions": {"lines": ["Rectangular body, 35 \u00d7 22.6 \u00d7 4 mm (W\u00d7D\u00d7H).", "Six ribs, 3.8 mm thick, 8.6 mm tall."], "text": "Rectangular body, 35 \u00d7 22.6 \u00d7 4 mm (W\u00d7D\u00d7H). Six ribs, 3.8 mm thick, 8.6 mm tall."}, "params": {"base_w": {"type": "float", "default": 35, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 22.6, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 4.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 6, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 8.6, "min": 3.4, "max": 17.2, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 3.8, "min": 1.0, "max": 9.5, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333735 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 35, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 22.6, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 6, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 8.6, \"min\": 3.4, \"max\": 17.2, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 3.8, \"min\": 1.0, \"max\": 9.5, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462cafe8_5172", "family": "revolved", "tier": 2, "seed": 1177333736, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "c91951497dcfe003", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 837000.0, "surface_area": 71700.0, "principal_moments": [655000000.0, 3280000000.0, 3280000000.0], "n_faces": 8, "n_edges": 14, "n_vertices": 8}, "dimensions": {"lines": ["Revolved body, \u00d875.64 mm \u00d7 205.7 mm tall with \u00d823.2 mm bore.", "Chamfer 1 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d875.64 mm \u00d7 205.7 mm tall with \u00d823.2 mm bore. Chamfer 1 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 75.64, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 205.7, "min": 61.7, "max": 320.0, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 23.2, "min": 2.0, "max": 52.9, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "end_chamfer": {"type": "float", "default": 1.0, "min": 0.1, "max": 3.0, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333736 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 75.64, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 205.7, \"min\": 61.7, \"max\": 320.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 23.2, \"min\": 2.0, \"max\": 52.9, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 1.0, \"min\": 0.1, \"max\": 3.0, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462cafe9_5173", "family": "block", "tier": 2, "seed": 1177333737, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "2425002ad3055147", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 73100.0, "surface_area": 13600.0, "principal_moments": [21200000.0, 22000000.0, 35400000.0], "n_faces": 12, "n_edges": 27, "n_vertices": 18}, "dimensions": {"lines": ["Rectangular body, 55 \u00d7 25.6 \u00d7 52.7 mm (W\u00d7D\u00d7H).", "Four \u00d83.2 mm holes at the corners, 38.5 \u00d7 17.92 mm spacing.", "Boss \u00d89 mm \u00d7 9 mm tall on top face."], "text": "Rectangular body, 55 \u00d7 25.6 \u00d7 52.7 mm (W\u00d7D\u00d7H). Four \u00d83.2 mm holes at the corners, 38.5 \u00d7 17.92 mm spacing. Boss \u00d89 mm \u00d7 9 mm tall on top face."}, "params": {"block_w": {"type": "float", "default": 55, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 25.6, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 52.7, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 5.8, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "boss_d": {"type": "float", "default": 9.0, "min": 4.5, "max": 18.0, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 9.0, "min": 3.6, "max": 22.5, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333737 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 55, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 25.6, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 52.7, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 5.8, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"boss_d\": {\"type\": 'float', \"default\": 9.0, \"min\": 4.5, \"max\": 18.0, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 9.0, \"min\": 3.6, \"max\": 22.5, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462cafea_5174", "family": "bracket", "tier": 1, "seed": 1177333738, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "748c63ec39acde2c", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 14400.0, "surface_area": 11300.0, "principal_moments": [4620000.0, 37000000.0, 40700000.0], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Z-bracket: base leg 80 mm, vertical leg 88 mm, top leg 85.1 mm, 19.61 mm wide, 3 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."], "text": "Z-bracket: base leg 80 mm, vertical leg 88 mm, top leg 85.1 mm, 19.61 mm wide, 3 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 80, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 88.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 19.61, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 3.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 85.1, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 7.8, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333738 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 80, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 88.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 19.61, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 85.1, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 7.8, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462cafeb_5175", "family": "compound", "tier": 1, "seed": 1177333739, "symmetry": "none", "op_count": 3, "ir_hash": "41bbc90c14545fe8", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 21100.0, "surface_area": 7620.0, "principal_moments": [4200000.0, 5230000.0, 5400000.0], "n_faces": 13, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Rectangular body, 45 \u00d7 37.1 \u00d7 12 mm (W\u00d7D\u00d7H).", "\u00d88 mm circular section attachment, 46.2 mm long, from top face with a \u00d83.5 mm bore.", "Four \u00d84.3 mm holes at the corners, 31.5 \u00d7 25.97 mm spacing."], "text": "Rectangular body, 45 \u00d7 37.1 \u00d7 12 mm (W\u00d7D\u00d7H). \u00d88 mm circular section attachment, 46.2 mm long, from top face with a \u00d83.5 mm bore. Four \u00d84.3 mm holes at the corners, 31.5 \u00d7 25.97 mm spacing."}, "params": {"base_w": {"type": "float", "default": 45, "min": 30.0, "max": 160.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 37.1, "min": 25.0, "max": 160.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_h": {"type": "float", "default": 12.0, "min": 3.0, "max": 30.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "col_d": {"type": "float", "default": 8.0, "min": 3.2, "max": 18.6, "step": 1.0, "group": "Column", "label": "Column diameter (mm)"}, "col_h": {"type": "float", "default": 46.2, "min": 13.9, "max": 138.6, "step": 1.0, "group": "Column", "label": "Column height (mm)"}, "col_bore": {"type": "float", "default": 3.5, "min": 2.0, "max": 5.8, "step": 0.5, "group": "Column", "label": "Column bore diameter (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 8.3, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333739 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 45, \"min\": 30.0, \"max\": 160.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 37.1, \"min\": 25.0, \"max\": 160.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_h\": {\"type\": 'float', \"default\": 12.0, \"min\": 3.0, \"max\": 30.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"col_d\": {\"type\": 'float', \"default\": 8.0, \"min\": 3.2, \"max\": 18.6, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column diameter (mm)'},\n    \"col_h\": {\"type\": 'float', \"default\": 46.2, \"min\": 13.9, \"max\": 138.6, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column height (mm)'},\n    \"col_bore\": {\"type\": 'float', \"default\": 3.5, \"min\": 2.0, \"max\": 5.8, \"step\": 0.5, \"group\": 'Column', \"label\": 'Column bore diameter (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 8.3, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_h\"])\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"col_d\"] / 2).extrude(p[\"col_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"col_bore\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"base_w\"] * 0.7, p[\"base_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462cafec_5176", "family": "revolved", "tier": 2, "seed": 1177333740, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "e6f1fcfe8def6db3", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 91900.0, "surface_area": 14400.0, "principal_moments": [27299999.999999996, 41400000.0, 41400000.0], "n_faces": 8, "n_edges": 14, "n_vertices": 8}, "dimensions": {"lines": ["Revolved body, \u00d846.5 mm \u00d7 60.3 mm tall with \u00d814.7 mm bore.", "Chamfer 1.1 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d846.5 mm \u00d7 60.3 mm tall with \u00d814.7 mm bore. Chamfer 1.1 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 46.5, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 60.3, "min": 18.1, "max": 180.9, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 14.7, "min": 2.0, "max": 32.5, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "end_chamfer": {"type": "float", "default": 1.1, "min": 0.1, "max": 3.3, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333740 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 46.5, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 60.3, \"min\": 18.1, \"max\": 180.9, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 14.7, \"min\": 2.0, \"max\": 32.5, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 1.1, \"min\": 0.1, \"max\": 3.3, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462cafed_5177", "family": "bracket", "tier": 2, "seed": 1177333741, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "ce79c9c156e1f64a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 21300.0, "surface_area": 12100.0, "principal_moments": [6090000.0, 12399999.999999998, 13399999.999999998], "n_faces": 19, "n_edges": 51, "n_vertices": 34}, "dimensions": {"lines": ["C-channel bracket: base leg 55 mm, vertical leg 35.1 mm, 45 mm wide, 4 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg; 3.2 mm corner gusset."], "text": "C-channel bracket: base leg 55 mm, vertical leg 35.1 mm, 45 mm wide, 4 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg; 3.2 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 55, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 35.1, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 45, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 4.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 3.2, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333741 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 55, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 35.1, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 45, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl / 2, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bl - _bt, _bt).lineTo(_bl - _bt - _g, _bt)\n                    .lineTo(_bl - _bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462cafee_5178", "family": "plate", "tier": 2, "seed": 1177333742, "symmetry": "mirror_xy", "op_count": 3, "ir_hash": "bf5bd2cc37dbe0e0", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 83000.0, "surface_area": 19600.0, "principal_moments": [28099999.999999996, 89300000.0, 115000000.0], "n_faces": 14, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 114.56 \u00d7 63.5 \u00d7 12 mm (W\u00d7D\u00d7H).", "Four \u00d810.5 mm holes at the corners, 80.192 \u00d7 44.45 mm spacing.", "Chamfer 2.4 mm on vertical edges."], "text": "Rectangular body, 114.56 \u00d7 63.5 \u00d7 12 mm (W\u00d7D\u00d7H). Four \u00d810.5 mm holes at the corners, 80.192 \u00d7 44.45 mm spacing. Chamfer 2.4 mm on vertical edges."}, "params": {"plate_w": {"type": "float", "default": 114.56, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 63.5, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 10.5, "min": 2.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "chamfer_d": {"type": "float", "default": 2.4, "min": 1.9, "max": 3.2, "step": 0.5, "group": "Body", "label": "Chamfer distance (mm)"}, "chamfered": {"type": "bool", "default": true, "group": "Body", "label": "Chamfer edges"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333742 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 114.56, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 63.5, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 10.5, \"min\": 2.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"chamfer_d\": {\"type\": 'float', \"default\": 2.4, \"min\": 1.9, \"max\": 3.2, \"step\": 0.5, \"group\": 'Body', \"label\": 'Chamfer distance (mm)'},\n    \"chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Chamfer edges'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"chamfered\"]:\n        result = result.edges('|Z').chamfer(p[\"chamfer_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462cafef_5179", "family": "revolved", "tier": 1, "seed": 1177333743, "symmetry": "none", "op_count": 2, "ir_hash": "63d9becf0d156fe3", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 33800.0, "surface_area": 11000.0, "principal_moments": [4970000.0, 15999999.999999998, 15999999.999999998], "n_faces": 8, "n_edges": 14, "n_vertices": 8}, "dimensions": {"lines": ["Revolved body, \u00d830 mm \u00d7 69.5 mm tall with \u00d816.7 mm bore.", "Chamfer 1 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d830 mm \u00d7 69.5 mm tall with \u00d816.7 mm bore. Chamfer 1 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 30, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 69.5, "min": 20.8, "max": 208.5, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 16.7, "min": 2.0, "max": 21.0, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "end_chamfer": {"type": "float", "default": 1.0, "min": 0.1, "max": 3.0, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333743 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 30, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 69.5, \"min\": 20.8, \"max\": 208.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 16.7, \"min\": 2.0, \"max\": 21.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 1.0, \"min\": 0.1, \"max\": 3.0, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "sketched_462caff0_5180", "family": "sketched", "tier": 1, "seed": 1177333744, "symmetry": "none", "op_count": 2, "ir_hash": "7fcc501608f3e8a3", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 48800.0, "surface_area": 8480.0, "principal_moments": [7030000.0, 15899999.999999998, 17400000.0], "n_faces": 9, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["freeform sketched section (6 segments: 1 straight, 2 arcs, 3 curves), ~37.427 \u00d7 62.43 mm, extruded 26.05 mm thick.", "One \u00d84.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "freeform sketched section (6 segments: 1 straight, 2 arcs, 3 curves), ~37.427 \u00d7 62.43 mm, extruded 26.05 mm thick. One \u00d84.3 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"sk_w": {"type": "float", "default": 50.9, "min": 25.4, "max": 91.6, "step": 1.0, "group": "Sketch", "label": "Sketch width (mm)"}, "sk_h": {"type": "float", "default": 75, "min": 37.5, "max": 135.0, "step": 1.0, "group": "Sketch", "label": "Sketch height (mm)"}, "sk_t": {"type": "float", "default": 26.05, "min": 10.4, "max": 57.3, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "sk_hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 8.6, "step": 0.5, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333744 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"sk_w\": {\"type\": 'float', \"default\": 50.9, \"min\": 25.4, \"max\": 91.6, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch width (mm)'},\n    \"sk_h\": {\"type\": 'float', \"default\": 75, \"min\": 37.5, \"max\": 135.0, \"step\": 1.0, \"group\": 'Sketch', \"label\": 'Sketch height (mm)'},\n    \"sk_t\": {\"type\": 'float', \"default\": 26.05, \"min\": 10.4, \"max\": 57.3, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"sk_hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 8.6, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').moveTo(p[\"sk_w\"] * 0.3702, p[\"sk_h\"] * -0.0543).bezier([(p[\"sk_w\"] * 0.3702, p[\"sk_h\"] * -0.0543), (p[\"sk_w\"] * 0.3923, p[\"sk_h\"] * 0.1598), (p[\"sk_w\"] * 0.3206, p[\"sk_h\"] * 0.3627)]).bezier([(p[\"sk_w\"] * 0.3206, p[\"sk_h\"] * 0.3627), (p[\"sk_w\"] * 0.119, p[\"sk_h\"] * 0.4502), (p[\"sk_w\"] * -0.0999, p[\"sk_h\"] * 0.4694)]).threePointArc((p[\"sk_w\"] * -0.2657, p[\"sk_h\"] * 0.2507), (p[\"sk_w\"] * -0.3651, p[\"sk_h\"] * -0.0151)).lineTo(p[\"sk_w\"] * -0.1293, p[\"sk_h\"] * -0.3332).spline([(p[\"sk_w\"] * -0.1293, p[\"sk_h\"] * -0.3332), (p[\"sk_w\"] * 0.104, p[\"sk_h\"] * -0.3806), (p[\"sk_w\"] * 0.3413, p[\"sk_h\"] * -0.363)]).threePointArc((p[\"sk_w\"] * 0.3723, p[\"sk_h\"] * -0.2215), (p[\"sk_w\"] * 0.3702, p[\"sk_h\"] * -0.0543)).close().extrude(p[\"sk_t\"]))\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"sk_hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462caff1_5181", "family": "bracket", "tier": 2, "seed": 1177333745, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "2af966972ade4f38", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 57300.0, "surface_area": 25500.0, "principal_moments": [43900000.0, 62099999.99999999, 76600000.0], "n_faces": 19, "n_edges": 51, "n_vertices": 34}, "dimensions": {"lines": ["C-channel bracket: base leg 70 mm, vertical leg 70.4 mm, 56 mm wide, 5 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg; 6.7 mm corner gusset."], "text": "C-channel bracket: base leg 70 mm, vertical leg 70.4 mm, 56 mm wide, 5 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg; 6.7 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 70, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 70.4, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 56.0, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 5.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 6.7, "min": 2.5, "max": 15.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333745 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 70, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 70.4, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 56.0, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 6.7, \"min\": 2.5, \"max\": 15.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl / 2, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bl - _bt, _bt).lineTo(_bl - _bt - _g, _bt)\n                    .lineTo(_bl - _bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462caff2_5182", "family": "block", "tier": 3, "seed": 1177333746, "symmetry": "none", "op_count": 5, "ir_hash": "8a0976ebf36d16af", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 228000.0, "surface_area": 41300.0, "principal_moments": [159000000.0, 206000000.0, 309000000.0], "n_faces": 19, "n_edges": 45, "n_vertices": 30}, "dimensions": {"lines": ["Rectangular body, 77.59 \u00d7 36.3 \u00d7 96.5 mm (W\u00d7D\u00d7H).", "Four \u00d84.3 mm holes at the corners, 54.313 \u00d7 25.41 mm spacing.", "Pocket 41.6 \u00d7 16.7 mm, 56.7 mm deep, in top face.", "Fillet radius 3.284 mm on vertical edges (optional, off by default).", "\u00d812.5 mm circular section attachment, 23.8 mm long, from left face with a \u00d86.3 mm bore."], "text": "Rectangular body, 77.59 \u00d7 36.3 \u00d7 96.5 mm (W\u00d7D\u00d7H). Four \u00d84.3 mm holes at the corners, 54.313 \u00d7 25.41 mm spacing. Pocket 41.6 \u00d7 16.7 mm, 56.7 mm deep, in top face. Fillet radius 3.284 mm on vertical edges (optional, off by default). \u00d812.5 mm circular section attachment, 23.8 mm long, from left face with a \u00d86.3 mm bore."}, "params": {"block_w": {"type": "float", "default": 77.59, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 36.3, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 96.5, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 8.2, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "pocket_w": {"type": "float", "default": 41.6, "min": 20.8, "max": 62.1, "step": 1.0, "group": "Pocket", "label": "Pocket width (mm)"}, "pocket_d": {"type": "float", "default": 16.7, "min": 8.3, "max": 29.0, "step": 1.0, "group": "Pocket", "label": "Pocket depth (mm)"}, "pocket_h": {"type": "float", "default": 56.7, "min": 22.7, "max": 82.0, "step": 0.5, "group": "Pocket", "label": "Pocket height (mm)"}, "filleted2": {"type": "bool", "default": false, "group": "Body", "label": "Fillet corners"}, "side_tube_d": {"type": "float", "default": 12.5, "min": 5.0, "max": 18.1, "step": 1.0, "group": "Side Tube", "label": "Side tube diameter (mm)"}, "side_tube_len": {"type": "float", "default": 23.8, "min": 7.1, "max": 37.5, "step": 1.0, "group": "Side Tube", "label": "Side tube length (mm)"}, "side_bore_d": {"type": "float", "default": 6.3, "min": 2.0, "max": 9.4, "step": 0.5, "group": "Side Tube", "label": "Side bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333746 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 77.59, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 36.3, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 96.5, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 8.2, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"pocket_w\": {\"type\": 'float', \"default\": 41.6, \"min\": 20.8, \"max\": 62.1, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket width (mm)'},\n    \"pocket_d\": {\"type\": 'float', \"default\": 16.7, \"min\": 8.3, \"max\": 29.0, \"step\": 1.0, \"group\": 'Pocket', \"label\": 'Pocket depth (mm)'},\n    \"pocket_h\": {\"type\": 'float', \"default\": 56.7, \"min\": 22.7, \"max\": 82.0, \"step\": 0.5, \"group\": 'Pocket', \"label\": 'Pocket height (mm)'},\n    \"filleted2\": {\"type\": 'bool', \"default\": False, \"group\": 'Body', \"label\": 'Fillet corners'},\n    \"side_tube_d\": {\"type\": 'float', \"default\": 12.5, \"min\": 5.0, \"max\": 18.1, \"step\": 1.0, \"group\": 'Side Tube', \"label\": 'Side tube diameter (mm)'},\n    \"side_tube_len\": {\"type\": 'float', \"default\": 23.8, \"min\": 7.1, \"max\": 37.5, \"step\": 1.0, \"group\": 'Side Tube', \"label\": 'Side tube length (mm)'},\n    \"side_bore_d\": {\"type\": 'float', \"default\": 6.3, \"min\": 2.0, \"max\": 9.4, \"step\": 0.5, \"group\": 'Side Tube', \"label\": 'Side bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"pocket_w\"], p[\"pocket_d\"])\n        .cutBlind(-p[\"pocket_h\"])\n    )\n    if p[\"filleted2\"]:\n        result = result.edges('|Z').fillet(min(p[\"block_w\"], p[\"block_d\"]) * 0.09048203116698764)\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"side_tube_d\"] / 2).extrude(p[\"side_tube_len\"])\n    )\n    result = (\n        result.faces('<X').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"side_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462caff3_5183", "family": "flanged", "tier": 3, "seed": 1177333747, "symmetry": "none", "op_count": 2, "ir_hash": "0c27f479ae5f576b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 138000.0, "surface_area": 27900.0, "principal_moments": [72800000.0, 102000000.0, 102000000.0], "n_faces": 17, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Revolved body, \u00d848.83 mm \u00d7 69.1 mm tall with \u00d817.6 mm bore, \u00d890.1 mm \u00d7 6.1 mm flange.", "Six \u00d86.4 mm holes on a \u00d854 mm bolt circle."], "text": "Revolved body, \u00d848.83 mm \u00d7 69.1 mm tall with \u00d817.6 mm bore, \u00d890.1 mm \u00d7 6.1 mm flange. Six \u00d86.4 mm holes on a \u00d854 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 48.83, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 69.1, "min": 20.7, "max": 172.8, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 17.6, "min": 2.0, "max": 34.2, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 90.1, "min": 63.5, "max": 146.5, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 6.1, "min": 1.8, "max": 27.6, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 27.0, "min": 18.0, "max": 40.5, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 6, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333747 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 48.83, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 69.1, \"min\": 20.7, \"max\": 172.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 17.6, \"min\": 2.0, \"max\": 34.2, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 90.1, \"min\": 63.5, \"max\": 146.5, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 6.1, \"min\": 1.8, \"max\": 27.6, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 27.0, \"min\": 18.0, \"max\": 40.5, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462caff5_5185", "family": "block", "tier": 1, "seed": 1177333749, "symmetry": "none", "op_count": 2, "ir_hash": "41a62257b175cdcc", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 314000.0, "surface_area": 41100.0, "principal_moments": [217000000.0, 301000000.0, 438000000.0], "n_faces": 22, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 83.35 \u00d7 39.6 \u00d7 100 mm (W\u00d7D\u00d7H).", "Four 6.4 mm square holes at the corners, 58.345 \u00d7 27.72 mm spacing."], "text": "Rectangular body, 83.35 \u00d7 39.6 \u00d7 100 mm (W\u00d7D\u00d7H). Four 6.4 mm square holes at the corners, 58.345 \u00d7 27.72 mm spacing."}, "params": {"block_w": {"type": "float", "default": 83.35, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 39.6, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 100.0, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 11.6, "step": 0.5, "group": "Holes", "label": "Square hole size (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333749 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 83.35, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 39.6, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 100.0, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 11.6, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Square hole size (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().rect(p[\"hole_d\"], p[\"hole_d\"]).cutThruAll()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462caff6_5186", "family": "bracket", "tier": 2, "seed": 1177333750, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "6b2e07f49b3e8d55", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 34300.0, "surface_area": 18600.0, "principal_moments": [14499999.999999998, 37200000.0, 38400000.0], "n_faces": 15, "n_edges": 41, "n_vertices": 26}, "dimensions": {"lines": ["L-bracket: base leg 80 mm, vertical leg 77.1 mm, 50.59 mm wide, 4 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg; 4.8 mm corner gusset."], "text": "L-bracket: base leg 80 mm, vertical leg 77.1 mm, 50.59 mm wide, 4 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg; 4.8 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 80, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 77.1, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 50.59, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 4.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 4.8, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333750 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 80, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 77.1, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 50.59, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 4.8, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                   .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                   .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462caff7_5187", "family": "plate", "tier": 2, "seed": 1177333751, "symmetry": "none", "op_count": 2, "ir_hash": "7f04525fd92df913", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 33200.0, "surface_area": 9830.0, "principal_moments": [3900000.0, 17800000.0, 20900000.0], "n_faces": 30, "n_edges": 84, "n_vertices": 56}, "dimensions": {"lines": ["Rectangular body, 80 \u00d7 36.6 \u00d7 12 mm (W\u00d7D\u00d7H).", "Six 5.2 mm square holes in a 3\u00d72 grid, 32 \u00d7 29.3 mm pitch."], "text": "Rectangular body, 80 \u00d7 36.6 \u00d7 12 mm (W\u00d7D\u00d7H). Six 5.2 mm square holes in a 3\u00d72 grid, 32 \u00d7 29.3 mm pitch."}, "params": {"plate_w": {"type": "float", "default": 80, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 36.6, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 5.2, "min": 2.0, "max": 5.7, "step": 0.1, "group": "Holes", "label": "Square hole size (mm)"}, "hole_nx": {"type": "int", "default": 3, "min": 1, "max": 4, "step": 1, "group": "Holes", "label": "Holes across"}, "hole_ny": {"type": "int", "default": 2, "min": 1, "max": 4, "step": 1, "group": "Holes", "label": "Holes deep"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333751 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 80, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 36.6, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.2, \"min\": 2.0, \"max\": 5.7, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Square hole size (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 3, \"min\": 1, \"max\": 4, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes across'},\n    \"hole_ny\": {\"type\": 'int', \"default\": 2, \"min\": 1, \"max\": 4, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes deep'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(32.0, 29.3, p[\"hole_nx\"], p[\"hole_ny\"])\n        .rect(p[\"hole_d\"], p[\"hole_d\"]).cutThruAll()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462caff8_5188", "family": "bracket", "tier": 1, "seed": 1177333752, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "8315f56b2c2cd999", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 16600.0, "surface_area": 7990.0, "principal_moments": [3380000.0, 4230000.0, 6770000.0], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Z-bracket: base leg 32.23 mm, vertical leg 25.9 mm, top leg 25 mm, 45.95 mm wide, 5 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."], "text": "Z-bracket: base leg 32.23 mm, vertical leg 25.9 mm, top leg 25 mm, 45.95 mm wide, 5 mm thick; 1 \u00d7 \u00d85.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 32.23, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 25.9, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 45.95, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 5.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 25.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333752 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 32.23, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 25.9, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 45.95, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 25.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462caff9_5189", "family": "plate", "tier": 1, "seed": 1177333753, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "5b03ccfd8e0f6405", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 19500.0, "surface_area": 5990.0, "principal_moments": [1590000.0, 5590000.0, 6710000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 57.89 \u00d7 29.1 \u00d7 12 mm (W\u00d7D\u00d7H).", "Four \u00d84.3 mm holes at the corners, 40.523 \u00d7 20.37 mm spacing."], "text": "Rectangular body, 57.89 \u00d7 29.1 \u00d7 12 mm (W\u00d7D\u00d7H). Four \u00d84.3 mm holes at the corners, 40.523 \u00d7 20.37 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 57.89, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 29.1, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 6.5, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333753 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 57.89, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 29.1, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 6.5, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462caffa_5190", "family": "tapped", "tier": 0, "seed": 1177333754, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "31971c6a6b778ac6", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 30300.0, "surface_area": 7330.0, "principal_moments": [5780000.0, 5780000.0, 10300000.0], "n_faces": 94, "n_edges": 326, "n_vertices": 234}, "dimensions": {"lines": ["One M10x1.5 tapped hole in a plate."], "text": "One M10x1.5 tapped hole in a plate."}, "params": {"major_d": {"type": "float", "default": 10.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 1.5, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 16.0, "min": 12.0, "max": 28.8, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "plate_w": {"type": "float", "default": 44.3, "min": 26.6, "max": 70.9, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 44.3, "min": 26.6, "max": 70.9, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333754 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 10.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.5, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 16.0, \"min\": 12.0, \"max\": 28.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"plate_w\": {\"type\": 'float', \"default\": 44.3, \"min\": 26.6, \"max\": 70.9, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 44.3, \"min\": 26.6, \"max\": 70.9, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n}\n\n\ndef build(p):\n\n    _W, _D, _H = p[\"plate_w\"], p[\"plate_d\"], p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Box(_W, _D, _H)\n    _locs = [(0.0, 0.0)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462caffb_5191", "family": "gear", "tier": 0, "seed": 1177333755, "symmetry": "none", "op_count": 1, "ir_hash": "7bd882a73c683876", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 1060.0, "surface_area": 928.0, "principal_moments": [20000.0, 20000.0, 34900.0], "n_faces": 98, "n_edges": 288, "n_vertices": 192}, "dimensions": {"lines": ["Spur gear, module 1 mm, 16 teeth (pitch \u00d816 mm), face width 5.4 mm."], "text": "Spur gear, module 1 mm, 16 teeth (pitch \u00d816 mm), face width 5.4 mm."}, "params": {"module": {"type": "float", "default": 1.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 16, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 5.4, "min": 2.2, "max": 13.5, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333755 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 1.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 16, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 5.4, \"min\": 2.2, \"max\": 13.5, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462caffc_5192", "family": "plate", "tier": 0, "seed": 1177333756, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "76e46a7bfe7238e6", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 47900.0, "surface_area": 11300.0, "principal_moments": [6930000.0, 40500000.0, 46299999.99999999], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 100 \u00d7 39.9 \u00d7 12 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 100 \u00d7 39.9 \u00d7 12 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 100, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 39.9, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333756 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 100, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 39.9, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462caffd_5193", "family": "compound", "tier": 1, "seed": 1177333757, "symmetry": "none", "op_count": 2, "ir_hash": "55cb089e9293229a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 11600.0, "surface_area": 3040.0, "principal_moments": [725000.0, 1230000.0, 1230000.0], "n_faces": 5, "n_edges": 6, "n_vertices": 4}, "dimensions": {"lines": ["\u00d823.8 mm circular section, extruded 20.8 mm thick.", "\u00d815.5 mm circular section attachment, 12.3 mm long, from top face."], "text": "\u00d823.8 mm circular section, extruded 20.8 mm thick. \u00d815.5 mm circular section attachment, 12.3 mm long, from top face."}, "params": {"shaft_d": {"type": "float", "default": 23.8, "min": 11.9, "max": 42.8, "step": 1.0, "group": "Body", "label": "Shaft diameter (mm)"}, "shaft_len": {"type": "float", "default": 20.8, "min": 8.3, "max": 41.6, "step": 1.0, "group": "Body", "label": "Shaft length (mm)"}, "step_d": {"type": "float", "default": 15.5, "min": 7.8, "max": 21.4, "step": 1.0, "group": "Step", "label": "Step diameter (mm)"}, "step_len": {"type": "float", "default": 12.3, "min": 3.7, "max": 30.8, "step": 1.0, "group": "Step", "label": "Step length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333757 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"shaft_d\": {\"type\": 'float', \"default\": 23.8, \"min\": 11.9, \"max\": 42.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft diameter (mm)'},\n    \"shaft_len\": {\"type\": 'float', \"default\": 20.8, \"min\": 8.3, \"max\": 41.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft length (mm)'},\n    \"step_d\": {\"type\": 'float', \"default\": 15.5, \"min\": 7.8, \"max\": 21.4, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step diameter (mm)'},\n    \"step_len\": {\"type\": 'float', \"default\": 12.3, \"min\": 3.7, \"max\": 30.8, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').circle(p[\"shaft_d\"] / 2).extrude(p[\"shaft_len\"]))\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"step_d\"] / 2).extrude(p[\"step_len\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462caffe_5194", "family": "plate", "tier": 0, "seed": 1177333758, "symmetry": "radial", "op_count": 1, "ir_hash": "0ea84377c5fc4c7d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 11400.0, "surface_area": 4070.0, "principal_moments": [1150000.0, 1750000.0, 2780000.0], "n_faces": 6, "n_edges": 12, "n_vertices": 8}, "dimensions": {"lines": ["Rectangular body, 42.17 \u00d7 33.8 \u00d7 8 mm (W\u00d7D\u00d7H)."], "text": "Rectangular body, 42.17 \u00d7 33.8 \u00d7 8 mm (W\u00d7D\u00d7H)."}, "params": {"plate_w": {"type": "float", "default": 42.17, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 33.8, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 8.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333758 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 42.17, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 33.8, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462cafff_5195", "family": "revolved", "tier": 1, "seed": 1177333759, "symmetry": "none", "op_count": 1, "ir_hash": "0047507fe2f1f02a", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 13200.0, "surface_area": 5520.0, "principal_moments": [753000.0, 3950000.0, 3950000.0], "n_faces": 4, "n_edges": 6, "n_vertices": 4}, "dimensions": {"lines": ["Revolved body, \u00d819.38 mm \u00d7 56.9 mm tall with \u00d88.9 mm bore."], "text": "Revolved body, \u00d819.38 mm \u00d7 56.9 mm tall with \u00d88.9 mm bore."}, "params": {"outer_d": {"type": "float", "default": 19.38, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 56.9, "min": 17.1, "max": 170.7, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 8.9, "min": 2.0, "max": 13.6, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333759 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 19.38, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 56.9, \"min\": 17.1, \"max\": 170.7, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 8.9, \"min\": 2.0, \"max\": 13.6, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462cb000_5196", "family": "ribbed", "tier": 2, "seed": 1177333760, "symmetry": "mirror_x", "op_count": 3, "ir_hash": "1a6a51caaf8f6a13", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 31200.0, "surface_area": 16800.0, "principal_moments": [9400000.0, 19500000.0, 27999999.999999996], "n_faces": 42, "n_edges": 104, "n_vertices": 64}, "dimensions": {"lines": ["Rectangular body, 85 \u00d7 55.5 \u00d7 5 mm (W\u00d7D\u00d7H).", "Four ribs, 2.9 mm thick, 9.8 mm tall.", "Four \u00d83.2 mm holes at the corners, 59.5 \u00d7 38.85 mm spacing."], "text": "Rectangular body, 85 \u00d7 55.5 \u00d7 5 mm (W\u00d7D\u00d7H). Four ribs, 2.9 mm thick, 9.8 mm tall. Four \u00d83.2 mm holes at the corners, 59.5 \u00d7 38.85 mm spacing."}, "params": {"base_w": {"type": "float", "default": 85, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 55.5, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 5.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 4, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 9.8, "min": 3.9, "max": 19.6, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 2.9, "min": 1.0, "max": 7.2, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 2.0, "max": 12.5, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333760 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 85, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 55.5, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 4, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 9.8, \"min\": 3.9, \"max\": 19.6, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 2.9, \"min\": 1.0, \"max\": 7.2, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 2.0, \"max\": 12.5, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"base_w\"] * 0.7, p[\"base_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462cb001_5197", "family": "compound", "tier": 3, "seed": 1177333761, "symmetry": "mirror_x", "op_count": 4, "ir_hash": "ce0b2721f5d2bf39", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 57100.0, "surface_area": 14600.0, "principal_moments": [20500000.0, 24599999.999999996, 27399999.999999996], "n_faces": 24, "n_edges": 52, "n_vertices": 31}, "dimensions": {"lines": ["Rectangular body, 52.78 \u00d7 61.4 \u00d7 16 mm (W\u00d7D\u00d7H).", "\u00d816 mm circular section attachment, 47.3 mm long, from top face with a \u00d87.5 mm bore.", "Four \u00d85.3 mm holes at the corners, 36.946 \u00d7 42.98 mm spacing.", "Chamfer 0.7 mm on the >Z or <Z edges."], "text": "Rectangular body, 52.78 \u00d7 61.4 \u00d7 16 mm (W\u00d7D\u00d7H). \u00d816 mm circular section attachment, 47.3 mm long, from top face with a \u00d87.5 mm bore. Four \u00d85.3 mm holes at the corners, 36.946 \u00d7 42.98 mm spacing. Chamfer 0.7 mm on the >Z or <Z edges."}, "params": {"base_w": {"type": "float", "default": 52.78, "min": 30.0, "max": 160.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 61.4, "min": 25.0, "max": 160.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_h": {"type": "float", "default": 16.0, "min": 3.0, "max": 30.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "col_d": {"type": "float", "default": 16.0, "min": 6.4, "max": 26.4, "step": 1.0, "group": "Column", "label": "Column diameter (mm)"}, "col_h": {"type": "float", "default": 47.3, "min": 14.2, "max": 141.9, "step": 1.0, "group": "Column", "label": "Column height (mm)"}, "col_bore": {"type": "float", "default": 7.5, "min": 2.0, "max": 11.5, "step": 0.5, "group": "Column", "label": "Column bore diameter (mm)"}, "hole_d": {"type": "float", "default": 5.3, "min": 2.0, "max": 11.9, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "chamfer_d": {"type": "float", "default": 0.7, "min": 0.5, "max": 3.0, "step": 0.5, "group": "Body", "label": "Chamfer distance (mm)"}, "chamfered": {"type": "bool", "default": true, "group": "Body", "label": "Chamfer edges"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333761 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 52.78, \"min\": 30.0, \"max\": 160.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 61.4, \"min\": 25.0, \"max\": 160.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_h\": {\"type\": 'float', \"default\": 16.0, \"min\": 3.0, \"max\": 30.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"col_d\": {\"type\": 'float', \"default\": 16.0, \"min\": 6.4, \"max\": 26.4, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column diameter (mm)'},\n    \"col_h\": {\"type\": 'float', \"default\": 47.3, \"min\": 14.2, \"max\": 141.9, \"step\": 1.0, \"group\": 'Column', \"label\": 'Column height (mm)'},\n    \"col_bore\": {\"type\": 'float', \"default\": 7.5, \"min\": 2.0, \"max\": 11.5, \"step\": 0.5, \"group\": 'Column', \"label\": 'Column bore diameter (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.0, \"max\": 11.9, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"chamfer_d\": {\"type\": 'float', \"default\": 0.7, \"min\": 0.5, \"max\": 3.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Chamfer distance (mm)'},\n    \"chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Chamfer edges'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_h\"])\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"col_d\"] / 2).extrude(p[\"col_h\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"col_bore\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"base_w\"] * 0.7, p[\"base_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    if p[\"chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"chamfer_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "flanged_462cb002_5198", "family": "flanged", "tier": 1, "seed": 1177333762, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "ec3faa90f57dab93", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 24600.0, "surface_area": 12500.0, "principal_moments": [5770000.0, 7990000.0, 7990000.0], "n_faces": 29, "n_edges": 114, "n_vertices": 76}, "dimensions": {"lines": ["Revolved body, \u00d831.51 mm \u00d7 45.4 mm tall with \u00d816.2 mm bore, \u00d858.6 mm \u00d7 3.5 mm flange.", "Twelve \u00d88.4 mm holes on a \u00d835.2 mm bolt circle."], "text": "Revolved body, \u00d831.51 mm \u00d7 45.4 mm tall with \u00d816.2 mm bore, \u00d858.6 mm \u00d7 3.5 mm flange. Twelve \u00d88.4 mm holes on a \u00d835.2 mm bolt circle."}, "params": {"outer_d": {"type": "float", "default": 31.51, "min": 20.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 45.4, "min": 13.6, "max": 113.5, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 16.2, "min": 2.0, "max": 22.1, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "flange_d": {"type": "float", "default": 58.6, "min": 41.0, "max": 94.5, "step": 1.0, "group": "Flange", "label": "Flange diameter (mm)"}, "flange_h": {"type": "float", "default": 3.5, "min": 1.1, "max": 18.2, "step": 0.5, "group": "Flange", "label": "Flange height (mm)"}, "bolt_d": {"type": "float", "default": 8.4, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 17.6, "min": 11.7, "max": 26.4, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 12, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333762 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 31.51, \"min\": 20.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 45.4, \"min\": 13.6, \"max\": 113.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 16.2, \"min\": 2.0, \"max\": 22.1, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"flange_d\": {\"type\": 'float', \"default\": 58.6, \"min\": 41.0, \"max\": 94.5, \"step\": 1.0, \"group\": 'Flange', \"label\": 'Flange diameter (mm)'},\n    \"flange_h\": {\"type\": 'float', \"default\": 3.5, \"min\": 1.1, \"max\": 18.2, \"step\": 0.5, \"group\": 'Flange', \"label\": 'Flange height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 8.4, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 17.6, \"min\": 11.7, \"max\": 26.4, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 12, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, 0)\n        .lineTo(p[\"flange_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"flange_h\"])\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462cb003_5199", "family": "block", "tier": 2, "seed": 1177333763, "symmetry": "mirror_xy", "op_count": 3, "ir_hash": "de0e679af1b8271d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 882000.0, "surface_area": 68200.0, "principal_moments": [1340000000.0, 1380000000.0, 1430000000.0], "n_faces": 17, "n_edges": 45, "n_vertices": 30}, "dimensions": {"lines": ["Rectangular body, 97.43 \u00d7 93.7 \u00d7 100 mm (W\u00d7D\u00d7H).", "Seven \u00d86.4 mm holes in two staggered rows, 24.4 \u00d7 26.7 mm pitch.", "Fillet radius 9.944 mm on vertical edges."], "text": "Rectangular body, 97.43 \u00d7 93.7 \u00d7 100 mm (W\u00d7D\u00d7H). Seven \u00d86.4 mm holes in two staggered rows, 24.4 \u00d7 26.7 mm pitch. Fillet radius 9.944 mm on vertical edges."}, "params": {"block_w": {"type": "float", "default": 97.43, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 93.7, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 100.0, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 9.4, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 4, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}, "filleted": {"type": "bool", "default": true, "group": "Body", "label": "Fillet corners"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333763 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 97.43, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 93.7, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 100.0, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 9.4, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 4, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n    \"filleted\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Fillet corners'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 24.4\n    _ssy = 26.7\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    if p[\"filleted\"]:\n        result = result.edges('|Z').fillet(min(p[\"block_w\"], p[\"block_d\"]) * 0.10612362176979559)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462cb004_5200", "family": "lofted", "tier": 1, "seed": 1177333764, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "3e39e9a45132262e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 27200.0, "surface_area": 6460.0, "principal_moments": [4360000.0, 4360000.0, 5450000.0], "n_faces": 9, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["Lofted body through 2 sections: \u00d850 mm circular section \u2192 6-sided polygon section, 15.3 mm across corners.", "One \u00d87.1 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 2 sections: \u00d850 mm circular section \u2192 6-sided polygon section, 15.3 mm across corners. One \u00d87.1 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 50, "min": 25.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 15.3, "min": 6.1, "max": 60.0, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 32.1, "min": 12.8, "max": 64.2, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_bore_d": {"type": "float", "default": 7.1, "min": 2.0, "max": 12.2, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333764 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 50, \"min\": 25.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 15.3, \"min\": 6.1, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 32.1, \"min\": 12.8, \"max\": 64.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 7.1, \"min\": 2.0, \"max\": 12.2, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .circle(p[\"loft_base\"] / 2)\n        .workplane(offset=p[\"loft_h\"])\n        .polygon(6, p[\"loft_top\"] * 0.5 * 2)\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462cb005_5201", "family": "gear", "tier": 1, "seed": 1177333765, "symmetry": "none", "op_count": 1, "ir_hash": "02b55bb41aeea3fa", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 4200.0, "surface_area": 2830.0, "principal_moments": [319000.0, 319000.0, 621000.0], "n_faces": 165, "n_edges": 489, "n_vertices": 326}, "dimensions": {"lines": ["Spur gear, module 1.25 mm, 27 teeth (pitch \u00d833.75 mm), face width 4.9 mm, \u00d85.9 mm bore."], "text": "Spur gear, module 1.25 mm, 27 teeth (pitch \u00d833.75 mm), face width 4.9 mm, \u00d85.9 mm bore."}, "params": {"module": {"type": "float", "default": 1.25, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 27, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 4.9, "min": 2.0, "max": 12.2, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "bore_d": {"type": "float", "default": 5.9, "min": 2.0, "max": 18.4, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333765 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 1.25, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 27, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 4.9, \"min\": 2.0, \"max\": 12.2, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 5.9, \"min\": 2.0, \"max\": 18.4, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462cb006_5202", "family": "bracket", "tier": 3, "seed": 1177333766, "symmetry": "none", "op_count": 1, "ir_hash": "d57a8363fd954910", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 14800.0, "surface_area": 9040.0, "principal_moments": [2490000.0, 17400000.0, 19000000.0], "n_faces": 18, "n_edges": 48, "n_vertices": 32}, "dimensions": {"lines": ["Z-bracket: base leg 58.08 mm, vertical leg 63.8 mm, top leg 57.3 mm, 20 mm wide, 4 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg; 3.8 mm corner gusset."], "text": "Z-bracket: base leg 58.08 mm, vertical leg 63.8 mm, top leg 57.3 mm, 20 mm wide, 4 mm thick; 1 \u00d7 \u00d86.4 mm hole per leg; 3.8 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 58.08, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 63.8, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 20, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 4.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 57.3, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 3.0, "max": 8.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}, "gusset_t": {"type": "float", "default": 3.8, "min": 2.0, "max": 10.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333766 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 58.08, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 63.8, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 20, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 57.3, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 3.0, \"max\": 8.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 3.8, \"min\": 2.0, \"max\": 10.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl, _tl, _vl) * 0.4 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(0, _vl - _bt).lineTo(-_g, _vl - _bt)\n                    .lineTo(0, _vl - _bt - _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462cb007_5203", "family": "lofted", "tier": 2, "seed": 1177333767, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "0a9a0a006b24a266", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 81300.0, "surface_area": 15600.0, "principal_moments": [29599999.999999996, 34300000.0, 34300000.0], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["Lofted body through 3 sections: 6-sided polygon section, 59.49 mm across corners \u2192 6-sided polygon section, 52.3 mm across corners \u2192 45.2 \u00d7 45.2 mm rectangular section.", "One \u00d820.8 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 3 sections: 6-sided polygon section, 59.49 mm across corners \u2192 6-sided polygon section, 52.3 mm across corners \u2192 45.2 \u00d7 45.2 mm rectangular section. One \u00d820.8 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 59.49, "min": 29.7, "max": 95.2, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 45.2, "min": 18.1, "max": 71.4, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 51.9, "min": 20.8, "max": 103.8, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_mid": {"type": "float", "default": 52.3, "min": 22.6, "max": 71.4, "step": 1.0, "group": "Body", "label": "Mid size (mm)"}, "loft_bore_d": {"type": "float", "default": 20.8, "min": 2.0, "max": 36.2, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333767 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 59.49, \"min\": 29.7, \"max\": 95.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 45.2, \"min\": 18.1, \"max\": 71.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 51.9, \"min\": 20.8, \"max\": 103.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_mid\": {\"type\": 'float', \"default\": 52.3, \"min\": 22.6, \"max\": 71.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Mid size (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 20.8, \"min\": 2.0, \"max\": 36.2, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .polygon(6, p[\"loft_base\"] * 0.5 * 2)\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .polygon(6, p[\"loft_mid\"] * 0.5 * 2)\n        .workplane(offset=p[\"loft_h\"] * 0.5)\n        .rect(p[\"loft_top\"], p[\"loft_top\"])\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "revolved_462cb009_5205", "family": "revolved", "tier": 1, "seed": 1177333769, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "cae57878f95da55b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 5090.0, "surface_area": 2780.0, "principal_moments": [238000.0, 513000.0, 513000.0], "n_faces": 8, "n_edges": 14, "n_vertices": 8}, "dimensions": {"lines": ["Revolved body, \u00d817.14 mm \u00d7 31.4 mm tall with \u00d89 mm bore.", "Chamfer 1.4 mm on the >Z or <Z edges."], "text": "Revolved body, \u00d817.14 mm \u00d7 31.4 mm tall with \u00d89 mm bore. Chamfer 1.4 mm on the >Z or <Z edges."}, "params": {"outer_d": {"type": "float", "default": 17.14, "min": 6.0, "max": 80.0, "step": 1.0, "group": "Body", "label": "Outer diameter (mm)"}, "length": {"type": "float", "default": 31.4, "min": 9.4, "max": 94.2, "step": 1.0, "group": "Body", "label": "Length (mm)"}, "inner_d": {"type": "float", "default": 9.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Bore diameter (mm)"}, "end_chamfer": {"type": "float", "default": 1.4, "min": 0.1, "max": 4.2, "step": 0.1, "group": "Body", "label": "End chamfer (mm)"}, "end_chamfered": {"type": "bool", "default": true, "group": "Body", "label": "End chamfers"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333769 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"outer_d\": {\"type\": 'float', \"default\": 17.14, \"min\": 6.0, \"max\": 80.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer diameter (mm)'},\n    \"length\": {\"type\": 'float', \"default\": 31.4, \"min\": 9.4, \"max\": 94.2, \"step\": 1.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n    \"inner_d\": {\"type\": 'float', \"default\": 9.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Bore diameter (mm)'},\n    \"end_chamfer\": {\"type\": 'float', \"default\": 1.4, \"min\": 0.1, \"max\": 4.2, \"step\": 0.1, \"group\": 'Body', \"label\": 'End chamfer (mm)'},\n    \"end_chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'End chamfers'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XZ')\n        .moveTo(p[\"inner_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, 0)\n        .lineTo(p[\"outer_d\"] / 2, p[\"length\"])\n        .lineTo(p[\"inner_d\"] / 2, p[\"length\"])\n        .close()\n        .revolve()\n    )\n    if p[\"end_chamfered\"]:\n        result = result.edges('>Z or <Z').chamfer(p[\"end_chamfer\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462cb00a_5206", "family": "bracket", "tier": 1, "seed": 1177333770, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "01d1de5dfb540939", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 57700.0, "surface_area": 22300.0, "principal_moments": [22899999.999999996, 104000000.0, 105000000.0], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Z-bracket: base leg 85 mm, vertical leg 68.7 mm, top leg 54.2 mm, 49.21 mm wide, 6 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."], "text": "Z-bracket: base leg 85 mm, vertical leg 68.7 mm, top leg 54.2 mm, 49.21 mm wide, 6 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 85, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 68.7, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 49.21, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 6.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 54.2, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333770 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 85, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 68.7, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 49.21, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 54.2, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462cb00c_5208", "family": "tapped", "tier": 0, "seed": 1177333772, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "c3164a7f8bbfea1b", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 3050.0, "surface_area": 1560.0, "principal_moments": [112000.0, 112000.0, 135000.0], "n_faces": 111, "n_edges": 299, "n_vertices": 190}, "dimensions": {"lines": ["One M6x1 tapped hole in a cylinder."], "text": "One M6x1 tapped hole in a cylinder."}, "params": {"major_d": {"type": "float", "default": 6.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 1.0, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 13.2, "min": 7.2, "max": 23.8, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "body_d": {"type": "float", "default": 18.0, "min": 10.8, "max": 28.8, "step": 1.0, "group": "Body", "label": "Outer \u00d8 (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333772 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.0, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 13.2, \"min\": 7.2, \"max\": 23.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"body_d\": {\"type\": 'float', \"default\": 18.0, \"min\": 10.8, \"max\": 28.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Outer \u00d8 (mm)'},\n}\n\n\ndef build(p):\n\n    _W = _D = p[\"body_d\"]\n    _H = p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Cylinder(radius=_W / 2, height=_H)\n    _locs = [(0.0, 0.0)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462cb00d_5209", "family": "block", "tier": 2, "seed": 1177333773, "symmetry": "mirror_xy", "op_count": 3, "ir_hash": "914c4746a2b42a3d", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 6150.0, "surface_area": 2960.0, "principal_moments": [316000.0, 373000.0, 515000.0], "n_faces": 12, "n_edges": 27, "n_vertices": 18}, "dimensions": {"lines": ["Rectangular body, 25 \u00d7 13.7 \u00d7 18.3 mm (W\u00d7D\u00d7H).", "Four \u00d83.1 mm holes at the corners, 17.5 \u00d7 9.59 mm spacing.", "Boss \u00d88.6 mm \u00d7 7.5 mm tall on top face."], "text": "Rectangular body, 25 \u00d7 13.7 \u00d7 18.3 mm (W\u00d7D\u00d7H). Four \u00d83.1 mm holes at the corners, 17.5 \u00d7 9.59 mm spacing. Boss \u00d88.6 mm \u00d7 7.5 mm tall on top face."}, "params": {"block_w": {"type": "float", "default": 25, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 13.7, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 18.3, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 3.1, "min": 2.0, "max": 3.1, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "boss_d": {"type": "float", "default": 8.6, "min": 4.3, "max": 17.2, "step": 1.0, "group": "Boss", "label": "Boss diameter (mm)"}, "boss_h": {"type": "float", "default": 7.5, "min": 3.0, "max": 18.8, "step": 1.0, "group": "Boss", "label": "Boss height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333773 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 25, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 13.7, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 18.3, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.1, \"min\": 2.0, \"max\": 3.1, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"boss_d\": {\"type\": 'float', \"default\": 8.6, \"min\": 4.3, \"max\": 17.2, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss diameter (mm)'},\n    \"boss_h\": {\"type\": 'float', \"default\": 7.5, \"min\": 3.0, \"max\": 18.8, \"step\": 1.0, \"group\": 'Boss', \"label\": 'Boss height (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .circle(p[\"boss_d\"] / 2).extrude(p[\"boss_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462cb00e_5210", "family": "block", "tier": 1, "seed": 1177333774, "symmetry": "radial", "op_count": 2, "ir_hash": "487702b9c1ce5843", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 46300.0, "surface_area": 9970.0, "principal_moments": [9420000.0, 11599999.999999998, 17200000.0], "n_faces": 16, "n_edges": 42, "n_vertices": 28}, "dimensions": {"lines": ["Rectangular body, 50 \u00d7 22 \u00d7 44.1 mm (W\u00d7D\u00d7H).", "Six \u00d85.3 mm holes on a \u00d830 mm bolt circle."], "text": "Rectangular body, 50 \u00d7 22 \u00d7 44.1 mm (W\u00d7D\u00d7H). Six \u00d85.3 mm holes on a \u00d830 mm bolt circle."}, "params": {"block_w": {"type": "float", "default": 50, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 22.0, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 44.1, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "bolt_d": {"type": "float", "default": 5.3, "min": 3.0, "max": 13.0, "step": 0.1, "group": "Holes", "label": "Bolt hole diameter (mm)"}, "bolt_r": {"type": "float", "default": 15.0, "min": 10.0, "max": 22.5, "step": 1.0, "group": "Holes", "label": "Bolt circle radius (mm)"}, "n_bolts": {"type": "int", "default": 6, "min": 3, "max": 12, "step": 1, "group": "Holes", "label": "Number of bolts"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333774 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 50, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 22.0, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 44.1, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"bolt_d\": {\"type\": 'float', \"default\": 5.3, \"min\": 3.0, \"max\": 13.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Bolt hole diameter (mm)'},\n    \"bolt_r\": {\"type\": 'float', \"default\": 15.0, \"min\": 10.0, \"max\": 22.5, \"step\": 1.0, \"group\": 'Holes', \"label\": 'Bolt circle radius (mm)'},\n    \"n_bolts\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 12, \"step\": 1, \"group\": 'Holes', \"label\": 'Number of bolts'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .polarArray(p[\"bolt_r\"], 0, 360, p[\"n_bolts\"])\n        .hole(p[\"bolt_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462cb00f_5211", "family": "bracket", "tier": 1, "seed": 1177333775, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "b71d40a13a4b0491", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 14800.0, "surface_area": 8910.0, "principal_moments": [4110000.0, 14899999.999999998, 17400000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["L-bracket: base leg 70 mm, vertical leg 83.3 mm, 25 mm wide, 4 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."], "text": "L-bracket: base leg 70 mm, vertical leg 83.3 mm, 25 mm wide, 4 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 70, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 83.3, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 25, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 4.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333775 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 70, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 83.3, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 25, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 4.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462cb010_5212", "family": "bracket", "tier": 1, "seed": 1177333776, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "be31a6b1857e0c70", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 64300.0, "surface_area": 24800.0, "principal_moments": [27299999.999999996, 144000000.0, 146000000.0], "n_faces": 12, "n_edges": 30, "n_vertices": 20}, "dimensions": {"lines": ["Z-bracket: base leg 75 mm, vertical leg 78.4 mm, top leg 79.6 mm, 48.65 mm wide, 6 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."], "text": "Z-bracket: base leg 75 mm, vertical leg 78.4 mm, top leg 79.6 mm, 48.65 mm wide, 6 mm thick; 1 \u00d7 \u00d84.3 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 75, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 78.4, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 48.65, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 6.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "top_len": {"type": "float", "default": 79.6, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Top flange length (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per flange"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333776 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 75, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 78.4, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 48.65, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"top_len\": {\"type\": 'float', \"default\": 79.6, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top flange length (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per flange'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _tl = p[\"top_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    web = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    top = (cq.Workplane('XY').box(_tl, _bw, _bt, centered=(False, True, False))\n           .translate((_bt - _tl, 0, _vl - _bt)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_t = _tl - _bt - 2 * _m\n        if _span_t > 0:\n            _txc = (_bt - _tl) + _tl / 2\n            _xt = ([(_bt - _tl) + _m + _span_t * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt - _tl) / 2])\n            top = (top.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                   .pushPoints([(x - _txc, 0) for x in _xt]).hole(_hd))\n    result = base.union(web).union(top)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462cb011_5213", "family": "lofted", "tier": 0, "seed": 1177333777, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "6b4ea9835968ef2f", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 166000.0, "surface_area": 17100.0, "principal_moments": [65599999.99999999, 97699999.99999999, 97699999.99999999], "n_faces": 8, "n_edges": 18, "n_vertices": 12}, "dimensions": {"lines": ["Lofted body through 2 sections: \u00d865 mm circular section \u2192 6-sided polygon section, 48.6 mm across corners."], "text": "Lofted body through 2 sections: \u00d865 mm circular section \u2192 6-sided polygon section, 48.6 mm across corners."}, "params": {"loft_base": {"type": "float", "default": 65, "min": 32.5, "max": 104.0, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 48.6, "min": 19.4, "max": 78.0, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 69.9, "min": 28.0, "max": 139.8, "step": 1.0, "group": "Body", "label": "Height (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333777 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 65, \"min\": 32.5, \"max\": 104.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 48.6, \"min\": 19.4, \"max\": 78.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 69.9, \"min\": 28.0, \"max\": 139.8, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .circle(p[\"loft_base\"] / 2)\n        .workplane(offset=p[\"loft_h\"])\n        .polygon(6, p[\"loft_top\"] * 0.5 * 2)\n        .loft(combine=True)\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462cb012_5214", "family": "bracket", "tier": 1, "seed": 1177333778, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "d6702c3772bc7a88", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 6380.0, "surface_area": 5070.0, "principal_moments": [838000.0, 3590000.0, 4000000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["L-bracket: base leg 65.48 mm, vertical leg 44.6 mm, 20 mm wide, 3 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."], "text": "L-bracket: base leg 65.48 mm, vertical leg 44.6 mm, 20 mm wide, 3 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 65.48, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 44.6, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 20, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 3.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 8.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333778 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 65.48, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 44.6, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 20, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 3.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 8.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _bl) / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert = (vert.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462cb013_5215", "family": "gear", "tier": 1, "seed": 1177333779, "symmetry": "none", "op_count": 1, "ir_hash": "0f53c23ee9cc51a9", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 8600.0, "surface_area": 5170.0, "principal_moments": [1340000.0, 1340000.0, 2640000.0], "n_faces": 237, "n_edges": 705, "n_vertices": 470}, "dimensions": {"lines": ["Spur gear, module 1.25 mm, 39 teeth (pitch \u00d848.75 mm), face width 4.8 mm, \u00d88.8 mm bore."], "text": "Spur gear, module 1.25 mm, 39 teeth (pitch \u00d848.75 mm), face width 4.8 mm, \u00d88.8 mm bore."}, "params": {"module": {"type": "float", "default": 1.25, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 39, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 4.8, "min": 1.9, "max": 12.0, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "bore_d": {"type": "float", "default": 8.8, "min": 2.0, "max": 27.4, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333779 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 1.25, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 39, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 4.8, \"min\": 1.9, \"max\": 12.0, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 8.8, \"min\": 2.0, \"max\": 27.4, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "threaded_462cb014_5216", "family": "threaded", "tier": 1, "seed": 1177333780, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "d7c62de7f3e993bc", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 36500.0, "surface_area": 11500.0, "principal_moments": [7470000.0, 10900000.0, 10900000.0], "n_faces": 303, "n_edges": 863, "n_vertices": 562}, "dimensions": {"lines": ["M20x2.5 internal thread, 48.8 mm long."], "text": "M20x2.5 internal thread, 48.8 mm long."}, "params": {"major_d": {"type": "float", "default": 20.0, "min": 4.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Major diameter (mm)"}, "pitch": {"type": "float", "default": 2.5, "min": 1.25, "max": 5.0, "step": 0.05, "group": "Thread", "label": "Pitch (mm)"}, "thread_len": {"type": "float", "default": 48.8, "min": 19.5, "max": 97.6, "step": 1.0, "group": "Thread", "label": "Thread length (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333780 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 20.0, \"min\": 4.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Major diameter (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 2.5, \"min\": 1.25, \"max\": 5.0, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Pitch (mm)'},\n    \"thread_len\": {\"type\": 'float', \"default\": 48.8, \"min\": 19.5, \"max\": 97.6, \"step\": 1.0, \"group\": 'Thread', \"label\": 'Thread length (mm)'},\n}\n\n\ndef build(p):\n\n    _thr = _bdt.IsoThread(major_diameter=p[\"major_d\"], pitch=p[\"pitch\"], length=p[\"thread_len\"], external=False, end_finishes=(\"fade\", \"fade\"))\n    _body = _bd.Cylinder(radius=(p[\"major_d\"]) * 0.9, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _bore = _bd.Cylinder(radius=(p[\"major_d\"]) / 2, height=p[\"thread_len\"], align=(_bd.Align.CENTER, _bd.Align.CENTER, _bd.Align.MIN))\n    _part = (_body - _bore) + _thr\n    result = cq.Workplane('XY').add(cq.Solid(_part.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462cb015_5217", "family": "compound", "tier": 1, "seed": 1177333781, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "5f35f53ce4a19f51", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 35700.0, "surface_area": 8390.0, "principal_moments": [6300000.0, 8280000.0, 8280000.0], "n_faces": 14, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["Lofted body through 2 sections: \u00d845 mm circular section \u2192 23.6 \u00d7 23.6 mm rectangular section.", "5-sided polygon section, 19.2 mm across corners attachment, 18.1 mm long, from top face with a \u00d88.2 mm bore."], "text": "Lofted body through 2 sections: \u00d845 mm circular section \u2192 23.6 \u00d7 23.6 mm rectangular section. 5-sided polygon section, 19.2 mm across corners attachment, 18.1 mm long, from top face with a \u00d88.2 mm bore."}, "params": {"adapter_base": {"type": "float", "default": 45, "min": 27.0, "max": 67.5, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "adapter_top": {"type": "float", "default": 23.6, "min": 11.8, "max": 45, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "adapter_h": {"type": "float", "default": 33.3, "min": 13.3, "max": 66.6, "step": 1.0, "group": "Body", "label": "Transition height (mm)"}, "neck_sides": {"type": "int", "default": 5, "min": 3, "max": 8, "step": 1, "group": "Neck", "label": "Neck sides"}, "neck_r": {"type": "float", "default": 9.6, "min": 4.8, "max": 11.8, "step": 1.0, "group": "Neck", "label": "Neck circumradius (mm)"}, "neck_l": {"type": "float", "default": 18.1, "min": 7.2, "max": 45.2, "step": 1.0, "group": "Neck", "label": "Neck length (mm)"}, "neck_bore": {"type": "float", "default": 8.2, "min": 2.0, "max": 11.2, "step": 0.5, "group": "Neck", "label": "Neck bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333781 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"adapter_base\": {\"type\": 'float', \"default\": 45, \"min\": 27.0, \"max\": 67.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"adapter_top\": {\"type\": 'float', \"default\": 23.6, \"min\": 11.8, \"max\": 45, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"adapter_h\": {\"type\": 'float', \"default\": 33.3, \"min\": 13.3, \"max\": 66.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Transition height (mm)'},\n    \"neck_sides\": {\"type\": 'int', \"default\": 5, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Neck', \"label\": 'Neck sides'},\n    \"neck_r\": {\"type\": 'float', \"default\": 9.6, \"min\": 4.8, \"max\": 11.8, \"step\": 1.0, \"group\": 'Neck', \"label\": 'Neck circumradius (mm)'},\n    \"neck_l\": {\"type\": 'float', \"default\": 18.1, \"min\": 7.2, \"max\": 45.2, \"step\": 1.0, \"group\": 'Neck', \"label\": 'Neck length (mm)'},\n    \"neck_bore\": {\"type\": 'float', \"default\": 8.2, \"min\": 2.0, \"max\": 11.2, \"step\": 0.5, \"group\": 'Neck', \"label\": 'Neck bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .circle(p[\"adapter_base\"] / 2)\n        .workplane(offset=p[\"adapter_h\"])\n        .rect(p[\"adapter_top\"], p[\"adapter_top\"])\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"neck_sides\"], p[\"neck_r\"] * 2).extrude(p[\"neck_l\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .hole(p[\"neck_bore\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "block_462cb016_5218", "family": "block", "tier": 1, "seed": 1177333782, "symmetry": "none", "op_count": 2, "ir_hash": "9616602cf11ba953", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 95800.0, "surface_area": 17600.0, "principal_moments": [25699999.999999996, 46499999.99999999, 59899999.99999999], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 50 \u00d7 28.1 \u00d7 71.1 mm (W\u00d7D\u00d7H).", "Four \u00d84.3 mm holes at the corners, 35 \u00d7 19.67 mm spacing."], "text": "Rectangular body, 50 \u00d7 28.1 \u00d7 71.1 mm (W\u00d7D\u00d7H). Four \u00d84.3 mm holes at the corners, 35 \u00d7 19.67 mm spacing."}, "params": {"block_w": {"type": "float", "default": 50, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 28.1, "min": 6.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 71.1, "min": 4.5, "max": 200.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 6.3, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333782 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 50, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 28.1, \"min\": 6.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 71.1, \"min\": 4.5, \"max\": 200.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 6.3, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"block_w\"] * 0.7, p[\"block_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "lofted_462cb017_5219", "family": "lofted", "tier": 1, "seed": 1177333783, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "da656a9c23edec25", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 71300.0, "surface_area": 14400.0, "principal_moments": [22200000.0, 29899999.999999996, 29899999.999999996], "n_faces": 9, "n_edges": 21, "n_vertices": 14}, "dimensions": {"lines": ["Lofted body through 2 sections: \u00d852.21 mm circular section \u2192 6-sided polygon section, 39.6 mm across corners.", "One \u00d820.1 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."], "text": "Lofted body through 2 sections: \u00d852.21 mm circular section \u2192 6-sided polygon section, 39.6 mm across corners. One \u00d820.1 mm hole in a 1\u00d71 grid, 10 \u00d7 10 mm pitch."}, "params": {"loft_base": {"type": "float", "default": 52.21, "min": 26.1, "max": 83.5, "step": 1.0, "group": "Body", "label": "Base size (mm)"}, "loft_top": {"type": "float", "default": 39.6, "min": 15.8, "max": 62.7, "step": 1.0, "group": "Body", "label": "Top size (mm)"}, "loft_h": {"type": "float", "default": 58.0, "min": 23.2, "max": 116.0, "step": 1.0, "group": "Body", "label": "Height (mm)"}, "loft_bore_d": {"type": "float", "default": 20.1, "min": 2.0, "max": 31.7, "step": 0.5, "group": "Holes", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333783 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"loft_base\": {\"type\": 'float', \"default\": 52.21, \"min\": 26.1, \"max\": 83.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base size (mm)'},\n    \"loft_top\": {\"type\": 'float', \"default\": 39.6, \"min\": 15.8, \"max\": 62.7, \"step\": 1.0, \"group\": 'Body', \"label\": 'Top size (mm)'},\n    \"loft_h\": {\"type\": 'float', \"default\": 58.0, \"min\": 23.2, \"max\": 116.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Height (mm)'},\n    \"loft_bore_d\": {\"type\": 'float', \"default\": 20.1, \"min\": 2.0, \"max\": 31.7, \"step\": 0.5, \"group\": 'Holes', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = (\n        cq.Workplane('XY')\n        .circle(p[\"loft_base\"] / 2)\n        .workplane(offset=p[\"loft_h\"])\n        .polygon(6, p[\"loft_top\"] * 0.5 * 2)\n        .loft(combine=True)\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(10.0, 10.0, 1, 1)\n        .hole(p[\"loft_bore_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462cb018_5220", "family": "bracket", "tier": 1, "seed": 1177333784, "symmetry": "none", "op_count": 1, "ir_hash": "afb9a616dfedd5da", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 74900.0, "surface_area": 28500.0, "principal_moments": [61799999.99999999, 119000000.0, 143000000.0], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["C-channel bracket: base leg 90 mm, vertical leg 74.7 mm, 55 mm wide, 6 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."], "text": "C-channel bracket: base leg 90 mm, vertical leg 74.7 mm, 55 mm wide, 6 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg."}, "params": {"base_len": {"type": "float", "default": 90.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 74.7, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 55, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 6.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333784 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 90.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 74.7, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 55, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 6.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462cb019_5221", "family": "compound", "tier": 1, "seed": 1177333785, "symmetry": "mirror_xy", "op_count": 3, "ir_hash": "7249b48e8bf7915e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 159000.0, "surface_area": 22800.0, "principal_moments": [58499999.99999999, 98799999.99999999, 106000000.0], "n_faces": 15, "n_edges": 36, "n_vertices": 24}, "dimensions": {"lines": ["Rectangular body, 70 \u00d7 44.1 \u00d7 50.3 mm (W\u00d7D\u00d7H).", "30.4 \u00d7 34.8 mm rectangular section attachment, 8 mm long, from right face.", "Four \u00d84.3 mm holes at the corners, 18.24 \u00d7 20.88 mm spacing on the >X face."], "text": "Rectangular body, 70 \u00d7 44.1 \u00d7 50.3 mm (W\u00d7D\u00d7H). 30.4 \u00d7 34.8 mm rectangular section attachment, 8 mm long, from right face. Four \u00d84.3 mm holes at the corners, 18.24 \u00d7 20.88 mm spacing on the >X face."}, "params": {"block_w": {"type": "float", "default": 70, "min": 15.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block width (mm)"}, "block_d": {"type": "float", "default": 44.1, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block depth (mm)"}, "block_h": {"type": "float", "default": 50.3, "min": 10.0, "max": 100.0, "step": 1.0, "group": "Body", "label": "Block height (mm)"}, "tab_a": {"type": "float", "default": 30.4, "min": 12.2, "max": 48.6, "step": 1.0, "group": "Tab", "label": "Tab width (mm)"}, "tab_b": {"type": "float", "default": 34.8, "min": 13.9, "max": 55.7, "step": 1.0, "group": "Tab", "label": "Tab height (mm)"}, "tab_t": {"type": "float", "default": 8.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Tab", "label": "Tab thickness (mm)"}, "tab_hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 6.7, "step": 0.1, "group": "Tab", "label": "Tab hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333785 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"block_w\": {\"type\": 'float', \"default\": 70, \"min\": 15.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block width (mm)'},\n    \"block_d\": {\"type\": 'float', \"default\": 44.1, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block depth (mm)'},\n    \"block_h\": {\"type\": 'float', \"default\": 50.3, \"min\": 10.0, \"max\": 100.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Block height (mm)'},\n    \"tab_a\": {\"type\": 'float', \"default\": 30.4, \"min\": 12.2, \"max\": 48.6, \"step\": 1.0, \"group\": 'Tab', \"label\": 'Tab width (mm)'},\n    \"tab_b\": {\"type\": 'float', \"default\": 34.8, \"min\": 13.9, \"max\": 55.7, \"step\": 1.0, \"group\": 'Tab', \"label\": 'Tab height (mm)'},\n    \"tab_t\": {\"type\": 'float', \"default\": 8.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Tab', \"label\": 'Tab thickness (mm)'},\n    \"tab_hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 6.7, \"step\": 0.1, \"group\": 'Tab', \"label\": 'Tab hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"block_w\"], p[\"block_d\"], p[\"block_h\"])\n    result = (\n        result.faces('>X').workplane(centerOption='CenterOfBoundBox')\n        .rect(p[\"tab_a\"], p[\"tab_b\"]).extrude(p[\"tab_t\"])\n    )\n    result = (\n        result.faces('>X').workplane()\n        .rect(p[\"tab_a\"] * 0.6, p[\"tab_b\"] * 0.6, forConstruction=True)\n        .vertices().hole(p[\"tab_hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462cb01a_5222", "family": "ribbed", "tier": 1, "seed": 1177333786, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "294fe5bbe591c873", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 45600.0, "surface_area": 23200.0, "principal_moments": [25599999.999999996, 34800000.0, 58799999.99999999], "n_faces": 21, "n_edges": 48, "n_vertices": 32}, "dimensions": {"lines": ["Rectangular body, 92.52 \u00d7 82.1 \u00d7 5 mm (W\u00d7D\u00d7H).", "Three ribs, 2.5 mm thick, 13.7 mm tall."], "text": "Rectangular body, 92.52 \u00d7 82.1 \u00d7 5 mm (W\u00d7D\u00d7H). Three ribs, 2.5 mm thick, 13.7 mm tall."}, "params": {"base_w": {"type": "float", "default": 92.52, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 82.1, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 5.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 3, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 13.7, "min": 5.5, "max": 27.4, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 2.5, "min": 1.0, "max": 6.2, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333786 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 92.52, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 82.1, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 3, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 13.7, \"min\": 5.5, \"max\": 27.4, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 2.5, \"min\": 1.0, \"max\": 6.2, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "profiled_462cb01b_5223", "family": "profiled", "tier": 0, "seed": 1177333787, "symmetry": "none", "op_count": 1, "ir_hash": "288505004d2dc8b6", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 254000.0, "surface_area": 28500.0, "principal_moments": [51399999.99999999, 872000000.0, 872000000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["8-sided polygon section, 42.36 mm across corners, extruded 200 mm thick."], "text": "8-sided polygon section, 42.36 mm across corners, extruded 200 mm thick."}, "params": {"circ_r": {"type": "float", "default": 21.18, "min": 10.6, "max": 42.4, "step": 1.0, "group": "Profile", "label": "Circumscribed radius (mm)"}, "n_sides": {"type": "int", "default": 8, "min": 3, "max": 8, "step": 1, "group": "Profile", "label": "Sides"}, "length": {"type": "float", "default": 200.0, "min": 60.0, "max": 600.0, "step": 5.0, "group": "Body", "label": "Length (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333787 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"circ_r\": {\"type\": 'float', \"default\": 21.18, \"min\": 10.6, \"max\": 42.4, \"step\": 1.0, \"group\": 'Profile', \"label\": 'Circumscribed radius (mm)'},\n    \"n_sides\": {\"type\": 'int', \"default\": 8, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Profile', \"label\": 'Sides'},\n    \"length\": {\"type\": 'float', \"default\": 200.0, \"min\": 60.0, \"max\": 600.0, \"step\": 5.0, \"group\": 'Body', \"label\": 'Length (mm)'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').polygon(p[\"n_sides\"], p[\"circ_r\"] * 2).extrude(p[\"length\"]))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462cb01c_5224", "family": "ribbed", "tier": 1, "seed": 1177333788, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "a4111c19731393fd", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 14700.0, "surface_area": 8060.0, "principal_moments": [3000000.0, 3200000.0, 6010000.0], "n_faces": 26, "n_edges": 60, "n_vertices": 40}, "dimensions": {"lines": ["Rectangular body, 50 \u00d7 50 \u00d7 5 mm (W\u00d7D\u00d7H).", "Four ribs, 2.3 mm thick, 6.1 mm tall."], "text": "Rectangular body, 50 \u00d7 50 \u00d7 5 mm (W\u00d7D\u00d7H). Four ribs, 2.3 mm thick, 6.1 mm tall."}, "params": {"base_w": {"type": "float", "default": 50, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 50.0, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 5.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 4, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 6.1, "min": 2.4, "max": 12.2, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 2.3, "min": 1.0, "max": 5.8, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333788 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 50, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 50.0, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 4, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 6.1, \"min\": 2.4, \"max\": 12.2, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 2.3, \"min\": 1.0, \"max\": 5.8, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462cb01d_5225", "family": "gear", "tier": 1, "seed": 1177333789, "symmetry": "none", "op_count": 1, "ir_hash": "13b9e9fa5702a360", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 208000.0, "surface_area": 37400.0, "principal_moments": [203000000.0, 203000000.0, 392000000.0], "n_faces": 183, "n_edges": 543, "n_vertices": 362}, "dimensions": {"lines": ["Spur gear, module 4 mm, 30 teeth (pitch \u00d8120 mm), face width 19.4 mm, \u00d824.1 mm bore."], "text": "Spur gear, module 4 mm, 30 teeth (pitch \u00d8120 mm), face width 19.4 mm, \u00d824.1 mm bore."}, "params": {"module": {"type": "float", "default": 4.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 30, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 19.4, "min": 7.8, "max": 48.5, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "bore_d": {"type": "float", "default": 24.1, "min": 2.0, "max": 66.0, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333789 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 4.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 30, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 19.4, \"min\": 7.8, \"max\": 48.5, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 24.1, \"min\": 2.0, \"max\": 66.0, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "gear_462cb01e_5226", "family": "gear", "tier": 1, "seed": 1177333790, "symmetry": "mirror_x", "op_count": 1, "ir_hash": "5279595421fec086", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 118000.0, "surface_area": 23800.0, "principal_moments": [62999999.99999999, 62999999.99999999, 117000000.0], "n_faces": 177, "n_edges": 525, "n_vertices": 350}, "dimensions": {"lines": ["Spur gear, module 3 mm, 29 teeth (pitch \u00d887 mm), face width 21 mm, \u00d818 mm bore."], "text": "Spur gear, module 3 mm, 29 teeth (pitch \u00d887 mm), face width 21 mm, \u00d818 mm bore."}, "params": {"module": {"type": "float", "default": 3.0, "min": 1.0, "max": 6.0, "step": 0.25, "group": "Gear", "label": "Module (mm)"}, "teeth": {"type": "int", "default": 29, "min": 10, "max": 40, "step": 1, "group": "Gear", "label": "Number of teeth"}, "gear_w": {"type": "float", "default": 21.0, "min": 8.4, "max": 52.5, "step": 1.0, "group": "Gear", "label": "Face width (mm)"}, "bore_d": {"type": "float", "default": 18.0, "min": 2.0, "max": 47.7, "step": 0.5, "group": "Bore", "label": "Bore diameter (mm)"}}, "source": "import cadquery as cq\nimport math\nimport py_gearworks as _gw\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333790 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"module\": {\"type\": 'float', \"default\": 3.0, \"min\": 1.0, \"max\": 6.0, \"step\": 0.25, \"group\": 'Gear', \"label\": 'Module (mm)'},\n    \"teeth\": {\"type\": 'int', \"default\": 29, \"min\": 10, \"max\": 40, \"step\": 1, \"group\": 'Gear', \"label\": 'Number of teeth'},\n    \"gear_w\": {\"type\": 'float', \"default\": 21.0, \"min\": 8.4, \"max\": 52.5, \"step\": 1.0, \"group\": 'Gear', \"label\": 'Face width (mm)'},\n    \"bore_d\": {\"type\": 'float', \"default\": 18.0, \"min\": 2.0, \"max\": 47.7, \"step\": 0.5, \"group\": 'Bore', \"label\": 'Bore diameter (mm)'},\n}\n\n\ndef build(p):\n\n    _gear = _gw.SpurGear(number_of_teeth=int(p[\"teeth\"]), height=p[\"gear_w\"], module=p[\"module\"])\n    _gpart = _gear.build_part()\n    result = cq.Workplane('XY').add(cq.Solid(_gpart.wrapped))\n    result = result.faces('>Z').workplane().hole(p[\"bore_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "tapped_462cb01f_5227", "family": "tapped", "tier": 1, "seed": 1177333791, "symmetry": "none", "op_count": 1, "ir_hash": "6ce0b9dc919b8df8", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 106000.0, "surface_area": 20800.0, "principal_moments": [37800000.0, 66199999.99999999, 95999999.99999999], "n_faces": 582, "n_edges": 1636, "n_vertices": 1056}, "dimensions": {"lines": ["Four M12x1.75 tapped holes in a plate."], "text": "Four M12x1.75 tapped holes in a plate."}, "params": {"major_d": {"type": "float", "default": 12.0, "min": 3.0, "max": 24.0, "step": 0.5, "group": "Thread", "label": "Thread major \u00d8 (mm)"}, "pitch": {"type": "float", "default": 1.75, "min": 0.35, "max": 3.5, "step": 0.05, "group": "Thread", "label": "Thread pitch (mm)"}, "height": {"type": "float", "default": 21.4, "min": 14.4, "max": 38.5, "step": 1.0, "group": "Body", "label": "Thickness (mm)"}, "plate_w": {"type": "float", "default": 85, "min": 51.0, "max": 136.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 62.7, "min": 37.6, "max": 100.3, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}}, "source": "import cadquery as cq\nfrom bd_warehouse import thread as _bdt\nimport build123d as _bd\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333791 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"major_d\": {\"type\": 'float', \"default\": 12.0, \"min\": 3.0, \"max\": 24.0, \"step\": 0.5, \"group\": 'Thread', \"label\": 'Thread major \u00d8 (mm)'},\n    \"pitch\": {\"type\": 'float', \"default\": 1.75, \"min\": 0.35, \"max\": 3.5, \"step\": 0.05, \"group\": 'Thread', \"label\": 'Thread pitch (mm)'},\n    \"height\": {\"type\": 'float', \"default\": 21.4, \"min\": 14.4, \"max\": 38.5, \"step\": 1.0, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"plate_w\": {\"type\": 'float', \"default\": 85, \"min\": 51.0, \"max\": 136.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 62.7, \"min\": 37.6, \"max\": 100.3, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n}\n\n\ndef build(p):\n\n    _W, _D, _H = p[\"plate_w\"], p[\"plate_d\"], p[\"height\"]\n    _major, _pitch = p[\"major_d\"], p[\"pitch\"]\n    _body = _bd.Box(_W, _D, _H)\n    _nx, _ny = max(1, int(2)), max(1, int(2))\n    _sx, _sy = p[\"plate_w\"] * 0.66, p[\"plate_d\"] * 0.66\n    _locs = [(_sx * (_i - (_nx - 1) / 2), _sy * (_j - (_ny - 1) / 2))\n             for _i in range(_nx) for _j in range(_ny)]\n    for _x, _y in _locs:\n        _body = _body - (_bd.Pos(_x, _y, 0) * _bd.Cylinder(radius=_major / 2, height=_H))\n        _thr = _bdt.IsoThread(major_diameter=_major, pitch=_pitch, length=_H, external=False, end_finishes=('fade', 'fade'))\n        _body = _body + (_bd.Location((_x, _y, -_H / 2)) * _thr)\n    result = cq.Workplane('XY').add(cq.Solid(_body.wrapped))\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "bracket_462cb020_5228", "family": "bracket", "tier": 2, "seed": 1177333792, "symmetry": "mirror_xy", "op_count": 1, "ir_hash": "d252f1a0d4e186e6", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 61700.0, "surface_area": 27700.0, "principal_moments": [63599999.99999999, 82000000.0, 122000000.0], "n_faces": 19, "n_edges": 51, "n_vertices": 34}, "dimensions": {"lines": ["C-channel bracket: base leg 80.69 mm, vertical leg 90 mm, 48.04 mm wide, 5 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 5.3 mm corner gusset."], "text": "C-channel bracket: base leg 80.69 mm, vertical leg 90 mm, 48.04 mm wide, 5 mm thick; 1 \u00d7 \u00d83.2 mm hole per leg; 5.3 mm corner gusset."}, "params": {"base_len": {"type": "float", "default": 80.69, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Base leg length (mm)"}, "vert_len": {"type": "float", "default": 90.0, "min": 25.0, "max": 90.0, "step": 1.0, "group": "Body", "label": "Vertical leg length (mm)"}, "bracket_w": {"type": "float", "default": 48.04, "min": 15.0, "max": 60.0, "step": 1.0, "group": "Body", "label": "Width (mm)"}, "bracket_t": {"type": "float", "default": 5.0, "min": 3.0, "max": 8.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 3.2, "min": 3.0, "max": 10.0, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "n_holes": {"type": "int", "default": 1, "min": 1, "max": 3, "step": 1, "group": "Holes", "label": "Holes per leg"}, "gusset_t": {"type": "float", "default": 5.3, "min": 2.5, "max": 15.0, "step": 0.5, "group": "Gusset", "label": "Gusset thickness (mm)"}, "gusset": {"type": "bool", "default": true, "group": "Gusset", "label": "Corner gusset"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333792 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_len\": {\"type\": 'float', \"default\": 80.69, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Base leg length (mm)'},\n    \"vert_len\": {\"type\": 'float', \"default\": 90.0, \"min\": 25.0, \"max\": 90.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Vertical leg length (mm)'},\n    \"bracket_w\": {\"type\": 'float', \"default\": 48.04, \"min\": 15.0, \"max\": 60.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Width (mm)'},\n    \"bracket_t\": {\"type\": 'float', \"default\": 5.0, \"min\": 3.0, \"max\": 8.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 3.2, \"min\": 3.0, \"max\": 10.0, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"n_holes\": {\"type\": 'int', \"default\": 1, \"min\": 1, \"max\": 3, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per leg'},\n    \"gusset_t\": {\"type\": 'float', \"default\": 5.3, \"min\": 2.5, \"max\": 15.0, \"step\": 0.5, \"group\": 'Gusset', \"label\": 'Gusset thickness (mm)'},\n    \"gusset\": {\"type\": 'bool', \"default\": True, \"group\": 'Gusset', \"label\": 'Corner gusset'},\n}\n\n\ndef build(p):\n\n    _bl = p[\"base_len\"]\n    _vl = p[\"vert_len\"]\n    _bw = p[\"bracket_w\"]\n    _bt = p[\"bracket_t\"]\n    base = cq.Workplane('XY').box(_bl, _bw, _bt, centered=(False, True, False))\n    vert1 = cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n    vert2 = (cq.Workplane('XY').box(_bt, _bw, _vl, centered=(False, True, False))\n             .translate((_bl - _bt, 0, 0)))\n    _hd = p[\"hole_d\"]\n    _nh = max(1, int(p[\"n_holes\"]))\n    if _hd > 0:\n        _m = max(_hd, _bt) * 1.2\n        _span_b = _bl - 2 * _bt - 2 * _m\n        if _span_b > 0:\n            _xs = ([_bt + _m + _span_b * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [_bl / 2])\n            base = (base.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n                    .pushPoints([(x - _bl / 2, 0) for x in _xs]).hole(_hd))\n        _span_v = _vl - _bt - 2 * _m\n        if _span_v > 0:\n            _zs = ([_bt + _m + _span_v * i / max(_nh - 1, 1) for i in range(_nh)]                   if _nh > 1 else [(_bt + _vl) / 2])\n            vert1 = (vert1.faces('<X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n            vert2 = (vert2.faces('>X').workplane(centerOption='CenterOfBoundBox')\n                     .pushPoints([(0, z - _vl / 2) for z in _zs]).hole(_hd))\n    result = base.union(vert1).union(vert2)\n    if p[\"gusset\"]:\n        _gt = p[\"gusset_t\"]\n        _g = min(_bl / 2, _vl) * 0.55 - _bt\n        if _g > _bt and _gt < _bw:\n            gus1 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bt, _bt).lineTo(_bt + _g, _bt)\n                    .lineTo(_bt, _bt + _g).close().extrude(-_gt))\n            gus2 = (cq.Workplane('XZ').workplane(offset=_gt / 2)\n                    .moveTo(_bl - _bt, _bt).lineTo(_bl - _bt - _g, _bt)\n                    .lineTo(_bl - _bt, _bt + _g).close().extrude(-_gt))\n            result = result.union(gus1).union(gus2)\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462cb021_5229", "family": "plate", "tier": 1, "seed": 1177333793, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "291a6310576ce365", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 50700.0, "surface_area": 12400.0, "principal_moments": [10100000.0, 34600000.0, 43500000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 90 \u00d7 47.6 \u00d7 12 mm (W\u00d7D\u00d7H).", "Four \u00d84.3 mm holes at the corners, 63 \u00d7 33.32 mm spacing."], "text": "Rectangular body, 90 \u00d7 47.6 \u00d7 12 mm (W\u00d7D\u00d7H). Four \u00d84.3 mm holes at the corners, 63 \u00d7 33.32 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 90, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 47.6, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 12.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 4.3, "min": 2.0, "max": 10.7, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333793 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 90, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 47.6, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 12.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 4.3, \"min\": 2.0, \"max\": 10.7, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "compound_462cb022_5230", "family": "compound", "tier": 3, "seed": 1177333794, "symmetry": "none", "op_count": 4, "ir_hash": "0e9d21f016be48a4", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 13800.0, "surface_area": 3530.0, "principal_moments": [799000.0, 2180000.0, 2180000.0], "n_faces": 13, "n_edges": 26, "n_vertices": 17}, "dimensions": {"lines": ["\u00d822.58 mm circular section, extruded 30.7 mm thick.", "\u00d810.8 mm circular section attachment, 13.9 mm long, from top face.", "6-sided polygon section, 9.6 mm across corners attachment, 4.7 mm long, from top face.", "Chamfer 1.2 mm on bottom edges."], "text": "\u00d822.58 mm circular section, extruded 30.7 mm thick. \u00d810.8 mm circular section attachment, 13.9 mm long, from top face. 6-sided polygon section, 9.6 mm across corners attachment, 4.7 mm long, from top face. Chamfer 1.2 mm on bottom edges."}, "params": {"shaft_d": {"type": "float", "default": 22.58, "min": 11.3, "max": 40.6, "step": 1.0, "group": "Body", "label": "Shaft diameter (mm)"}, "shaft_len": {"type": "float", "default": 30.7, "min": 12.3, "max": 61.4, "step": 1.0, "group": "Body", "label": "Shaft length (mm)"}, "step_d": {"type": "float", "default": 10.8, "min": 5.4, "max": 20.3, "step": 1.0, "group": "Step", "label": "Step diameter (mm)"}, "step_len": {"type": "float", "default": 13.9, "min": 4.2, "max": 34.8, "step": 1.0, "group": "Step", "label": "Step length (mm)"}, "head_sides": {"type": "int", "default": 6, "min": 3, "max": 8, "step": 1, "group": "Head", "label": "Drive head sides"}, "head_r": {"type": "float", "default": 4.8, "min": 2.9, "max": 5.2, "step": 1.0, "group": "Head", "label": "Drive head circumradius (mm)"}, "head_len": {"type": "float", "default": 4.7, "min": 1.4, "max": 9.4, "step": 1.0, "group": "Head", "label": "Drive head length (mm)"}, "chamfer_d": {"type": "float", "default": 1.2, "min": 0.5, "max": 3.0, "step": 0.5, "group": "Body", "label": "Chamfer distance (mm)"}, "chamfered": {"type": "bool", "default": true, "group": "Body", "label": "Chamfer edges"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333794 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"shaft_d\": {\"type\": 'float', \"default\": 22.58, \"min\": 11.3, \"max\": 40.6, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft diameter (mm)'},\n    \"shaft_len\": {\"type\": 'float', \"default\": 30.7, \"min\": 12.3, \"max\": 61.4, \"step\": 1.0, \"group\": 'Body', \"label\": 'Shaft length (mm)'},\n    \"step_d\": {\"type\": 'float', \"default\": 10.8, \"min\": 5.4, \"max\": 20.3, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step diameter (mm)'},\n    \"step_len\": {\"type\": 'float', \"default\": 13.9, \"min\": 4.2, \"max\": 34.8, \"step\": 1.0, \"group\": 'Step', \"label\": 'Step length (mm)'},\n    \"head_sides\": {\"type\": 'int', \"default\": 6, \"min\": 3, \"max\": 8, \"step\": 1, \"group\": 'Head', \"label\": 'Drive head sides'},\n    \"head_r\": {\"type\": 'float', \"default\": 4.8, \"min\": 2.9, \"max\": 5.2, \"step\": 1.0, \"group\": 'Head', \"label\": 'Drive head circumradius (mm)'},\n    \"head_len\": {\"type\": 'float', \"default\": 4.7, \"min\": 1.4, \"max\": 9.4, \"step\": 1.0, \"group\": 'Head', \"label\": 'Drive head length (mm)'},\n    \"chamfer_d\": {\"type\": 'float', \"default\": 1.2, \"min\": 0.5, \"max\": 3.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Chamfer distance (mm)'},\n    \"chamfered\": {\"type\": 'bool', \"default\": True, \"group\": 'Body', \"label\": 'Chamfer edges'},\n}\n\n\ndef build(p):\n\n    result = (cq.Workplane('XY').circle(p[\"shaft_d\"] / 2).extrude(p[\"shaft_len\"]))\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .circle(p[\"step_d\"] / 2).extrude(p[\"step_len\"])\n    )\n    result = (\n        result.faces('>Z').workplane(centerOption='CenterOfBoundBox')\n        .polygon(p[\"head_sides\"], p[\"head_r\"] * 2).extrude(p[\"head_len\"])\n    )\n    if p[\"chamfered\"]:\n        result = result.edges('<Z').chamfer(p[\"chamfer_d\"])\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462cb023_5231", "family": "plate", "tier": 1, "seed": 1177333795, "symmetry": "none", "op_count": 2, "ir_hash": "7ce801119957bd2e", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 3470.0, "surface_area": 2220.0, "principal_moments": [77900.0, 597000.0, 661000.0], "n_faces": 13, "n_edges": 33, "n_vertices": 22}, "dimensions": {"lines": ["Rectangular body, 45 \u00d7 15.9 \u00d7 5 mm (W\u00d7D\u00d7H).", "Seven \u00d82 mm holes in two staggered rows, 11.2 \u00d7 13 mm pitch."], "text": "Rectangular body, 45 \u00d7 15.9 \u00d7 5 mm (W\u00d7D\u00d7H). Seven \u00d82 mm holes in two staggered rows, 11.2 \u00d7 13 mm pitch."}, "params": {"plate_w": {"type": "float", "default": 45, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 15.9, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 5.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 2.0, "min": 2.0, "max": 1.6, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}, "hole_nx": {"type": "int", "default": 4, "min": 2, "max": 5, "step": 1, "group": "Holes", "label": "Holes per row"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333795 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 45, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 15.9, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 5.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 2.0, \"min\": 2.0, \"max\": 1.6, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n    \"hole_nx\": {\"type\": 'int', \"default\": 4, \"min\": 2, \"max\": 5, \"step\": 1, \"group\": 'Holes', \"label\": 'Holes per row'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    _snx = max(2, int(p[\"hole_nx\"]))\n    _ssx = 11.2\n    _ssy = 13.0\n    _spts = (\n        [(-_ssx * (_snx - 1) / 2 + _ssx * _i, -_ssy / 2) for _i in range(_snx)]\n        + [(-_ssx * (_snx - 2) / 2 + _ssx * _i, _ssy / 2) for _i in range(_snx - 1)]\n    )\n    result = (\n        result.faces('>Z').workplane()\n        .pushPoints(_spts)\n        .hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "plate_462cb024_5232", "family": "plate", "tier": 1, "seed": 1177333796, "symmetry": "mirror_x", "op_count": 2, "ir_hash": "d5a1bae70d4a18a9", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 23500.0, "surface_area": 9860.0, "principal_moments": [5130000.0, 11999999.999999998, 17000000.0], "n_faces": 10, "n_edges": 24, "n_vertices": 16}, "dimensions": {"lines": ["Rectangular body, 78.71 \u00d7 51.3 \u00d7 6 mm (W\u00d7D\u00d7H).", "Four \u00d86.4 mm holes at the corners, 55.097 \u00d7 35.91 mm spacing."], "text": "Rectangular body, 78.71 \u00d7 51.3 \u00d7 6 mm (W\u00d7D\u00d7H). Four \u00d86.4 mm holes at the corners, 55.097 \u00d7 35.91 mm spacing."}, "params": {"plate_w": {"type": "float", "default": 78.71, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate width (mm)"}, "plate_d": {"type": "float", "default": 51.3, "min": 8.0, "max": 120.0, "step": 1.0, "group": "Body", "label": "Plate depth (mm)"}, "thickness": {"type": "float", "default": 6.0, "min": 2.0, "max": 12.0, "step": 0.5, "group": "Body", "label": "Thickness (mm)"}, "hole_d": {"type": "float", "default": 6.4, "min": 2.0, "max": 11.5, "step": 0.1, "group": "Holes", "label": "Hole diameter (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333796 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"plate_w\": {\"type\": 'float', \"default\": 78.71, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate width (mm)'},\n    \"plate_d\": {\"type\": 'float', \"default\": 51.3, \"min\": 8.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Body', \"label\": 'Plate depth (mm)'},\n    \"thickness\": {\"type\": 'float', \"default\": 6.0, \"min\": 2.0, \"max\": 12.0, \"step\": 0.5, \"group\": 'Body', \"label\": 'Thickness (mm)'},\n    \"hole_d\": {\"type\": 'float', \"default\": 6.4, \"min\": 2.0, \"max\": 11.5, \"step\": 0.1, \"group\": 'Holes', \"label\": 'Hole diameter (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"plate_w\"], p[\"plate_d\"], p[\"thickness\"])\n    result = (\n        result.faces('>Z').workplane()\n        .rect(p[\"plate_w\"] * 0.7, p[\"plate_d\"] * 0.7, forConstruction=True)\n        .vertices().hole(p[\"hole_d\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
{"part_id": "ribbed_462cb025_5233", "family": "ribbed", "tier": 1, "seed": 1177333797, "symmetry": "mirror_xy", "op_count": 2, "ir_hash": "f22e5120d24218d7", "generator_version": "0.6.0", "license": "CC0-1.0", "geometry_signature": {"version": 2, "volume": 33000.0, "surface_area": 11100.0, "principal_moments": [6770000.0, 16499999.999999998, 18900000.0], "n_faces": 22, "n_edges": 52, "n_vertices": 32}, "dimensions": {"lines": ["Rectangular body, 62.87 \u00d7 34.6 \u00d7 10 mm (W\u00d7D\u00d7H).", "Two ribs, 5.6 mm thick, 20 mm tall."], "text": "Rectangular body, 62.87 \u00d7 34.6 \u00d7 10 mm (W\u00d7D\u00d7H). Two ribs, 5.6 mm thick, 20 mm tall."}, "params": {"base_w": {"type": "float", "default": 62.87, "min": 20.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base width (mm)"}, "base_d": {"type": "float", "default": 34.6, "min": 15.0, "max": 120.0, "step": 1.0, "group": "Base", "label": "Base depth (mm)"}, "base_t": {"type": "float", "default": 10.0, "min": 2.0, "max": 15.0, "step": 0.5, "group": "Base", "label": "Base thickness (mm)"}, "rib_count": {"type": "int", "default": 2, "min": 2, "max": 8, "step": 1, "group": "Ribs", "label": "Rib count"}, "rib_h": {"type": "float", "default": 20.0, "min": 8.0, "max": 40.0, "step": 1.0, "group": "Ribs", "label": "Rib height (mm)"}, "rib_t": {"type": "float", "default": 5.6, "min": 1.0, "max": 14.0, "step": 0.5, "group": "Ribs", "label": "Rib thickness (mm)"}}, "source": "import cadquery as cq\n\n# Generated by CadQuarry v0.6.0 \u2014 seed 1177333797 \u2014 CC0-1.0\n# https://github.com/jacobjennings/CadQuarry\n\nPARAMS = {\n    \"base_w\": {\"type\": 'float', \"default\": 62.87, \"min\": 20.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base width (mm)'},\n    \"base_d\": {\"type\": 'float', \"default\": 34.6, \"min\": 15.0, \"max\": 120.0, \"step\": 1.0, \"group\": 'Base', \"label\": 'Base depth (mm)'},\n    \"base_t\": {\"type\": 'float', \"default\": 10.0, \"min\": 2.0, \"max\": 15.0, \"step\": 0.5, \"group\": 'Base', \"label\": 'Base thickness (mm)'},\n    \"rib_count\": {\"type\": 'int', \"default\": 2, \"min\": 2, \"max\": 8, \"step\": 1, \"group\": 'Ribs', \"label\": 'Rib count'},\n    \"rib_h\": {\"type\": 'float', \"default\": 20.0, \"min\": 8.0, \"max\": 40.0, \"step\": 1.0, \"group\": 'Ribs', \"label\": 'Rib height (mm)'},\n    \"rib_t\": {\"type\": 'float', \"default\": 5.6, \"min\": 1.0, \"max\": 14.0, \"step\": 0.5, \"group\": 'Ribs', \"label\": 'Rib thickness (mm)'},\n}\n\n\ndef build(p):\n\n    result = cq.Workplane('XY').box(p[\"base_w\"], p[\"base_d\"], p[\"base_t\"])\n    _rib_spacing = (p[\"base_w\"] * 0.8 / (p[\"rib_count\"] - 1)) if p[\"rib_count\"] > 1 else 0\n    result = (\n        result.faces('>Z').workplane()\n        .rarray(_rib_spacing, 1, p[\"rib_count\"], 1)\n        .rect(p[\"rib_t\"], p[\"base_w\"] * 0.8).extrude(p[\"rib_h\"])\n    )\n    return result\n\n\nresult = build({k: v[\"default\"] for k, v in PARAMS.items()})\n"}
